@font-face {
  font-family: "Questrial";
  src: url("../fonts/questrial-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal-950: #0c242b;
  --teal-900: #113641;
  --teal-800: #174855;
  --teal-700: #1d5a6b;
  --teal-600: #2a7185;
  --teal-500: #3d8ba0;
  --teal-200: #bcd8de;
  --teal-100: #dcebee;
  --teal-50: #eef5f6;
  --ink: #13272c;
  --ink-soft: #3f5459;
  --muted: #536a70;
  --line: #e0e8e9;
  --line-strong: #c9d6d8;
  --paper: #ffffff;
  --wash: #f4f8f8;
  --clay: #a94e36;
  --clay-dark: #8d3f2b;
  --focus: #0b5d74;

  --font-display: "Questrial", "Times New Roman", serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: 1.4375rem;
  --step-3: 1.75rem;
  --step-4: 2.125rem;
  --step-5: clamp(2.25rem, 4.6vw, 3.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(12, 36, 43, 0.06), 0 8px 24px rgba(12, 36, 43, 0.05);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 0;
}

body.drawer-open { overflow: hidden; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--teal-900);
  margin: 0 0 var(--space-3);
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-700); text-underline-offset: 2px; }
a:hover { color: var(--teal-900); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  z-index: 100;
  background: var(--teal-900);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-3); color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Utility bar ---------- */

.utility {
  background: var(--teal-950);
  color: #d8e7ea;
  font-size: var(--step--1);
}
.utility-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding-block: 0.35rem;
}
.utility-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  align-items: center;
}
.utility a { color: #ffffff; text-decoration: none; }
.utility a:hover { text-decoration: underline; color: #ffffff; }
.utility-item { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- Header ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}
.masthead.is-scrolled { box-shadow: 0 6px 18px rgba(12, 36, 43, 0.07); }

.masthead-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; flex: none; }
.brand img { width: 150px; height: auto; display: block; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--teal-900);
  line-height: 1.1;
}

.primary-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-link:hover,
.nav-toggle:hover { background: var(--teal-50); color: var(--teal-900); }
.nav-link[aria-current="page"],
.nav-toggle[aria-current="true"] { color: var(--teal-700); font-weight: 600; }

.nav-toggle .chev { transition: transform 180ms var(--ease); }
.nav-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.masthead-cta { flex: none; display: flex; align-items: center; gap: var(--space-3); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--teal-800);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}
.btn:hover { background: var(--teal-950); color: #ffffff; }
.btn:active { background: var(--teal-950); }
.btn[disabled], .btn[aria-disabled="true"] { background: #9fb4b8; border-color: #9fb4b8; cursor: not-allowed; }
.btn-secondary {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-200);
}
.btn-secondary:hover { background: var(--teal-50); color: var(--teal-900); border-color: var(--teal-500); }
.btn-ghost {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--wash); color: var(--teal-950); }
.btn-small { min-height: 40px; padding: 0.45rem 0.85rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.nav-toggle-mobile {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  font: inherit;
  min-height: 44px;
  cursor: pointer;
}

/* Mega menu */

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding-block: var(--space-6);
  display: none;
}
.mega[data-open="true"] { display: block; }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6) var(--space-6);
}
.mega-col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-3);
}
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.mega-col a {
  display: block;
  padding: 0.42rem 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.mega-col a:hover { color: var(--teal-700); }
.mega-foot {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  justify-content: space-between;
  font-size: var(--step--1);
  color: var(--muted);
}

/* ---------- Mobile drawer ---------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}
.drawer[data-open="true"] { display: block; }
.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(9, 28, 33, 0.55);
  border: 0;
  padding: 0;
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 400px);
  background: #fff;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: var(--space-5);
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.drawer-head img { width: 150px; }
.drawer-close {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius);
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.drawer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-nav a,
.drawer-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  padding: 0.95rem 0.15rem;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1.02rem;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.drawer-sub { list-style: none; margin: 0 0 0.6rem; padding: 0 0 0 0.9rem; display: none; border-left: 1px solid var(--line); }
.drawer-sub[data-open="true"] { display: grid; gap: 0.1rem; }
.drawer-sub a { font-size: 0.95rem; padding: 0.5rem 0; color: var(--ink-soft); }
.drawer-actions { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.drawer-meta { margin-top: var(--space-5); font-size: var(--step--1); color: var(--muted); }

/* ---------- Breadcrumbs ---------- */

.crumbs {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: var(--step--1);
}
.crumbs-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding-block: 0.85rem;
  color: var(--muted);
  list-style: none;
  margin: 0;
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--teal-700); text-decoration: underline; }
.crumbs .sep { color: var(--line-strong); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-compact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-bottom: 0;
  background: var(--teal-950);
  color: #ffffff;
}
.hero-compact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(12, 36, 43, 0.97) 0%, rgba(12, 36, 43, 0.93) 40%, rgba(12, 36, 43, 0.74) 72%, rgba(12, 36, 43, 0.48) 100%),
    linear-gradient(180deg, rgba(12, 36, 43, 0.2) 0%, rgba(12, 36, 43, 0.48) 100%);
}
.hero-compact .container { position: relative; z-index: 2; }
.hero-compact .hero-media img { object-position: var(--hero-position, 50% 42%); }
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.hero h1 { margin-bottom: var(--space-4); max-width: 20ch; }
.hero-lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 58ch; margin-bottom: var(--space-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-note { margin-top: var(--space-4); font-size: var(--step--1); color: var(--muted); }

.clinic-card {
  background: var(--teal-900);
  color: #ffffff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.clinic-card h2 { color: #ffffff; font-size: var(--step-2); margin-bottom: var(--space-4); }
.clinic-card dl { margin: 0; display: grid; gap: var(--space-4); }
.clinic-card dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #a9cbd2; margin-bottom: 0.2rem; }
.clinic-card dd { margin: 0; font-size: 1rem; }
.clinic-card a { color: #ffffff; }
.clinic-card .btn { background: #ffffff; color: var(--teal-900); margin-top: var(--space-5); }
.clinic-card .btn:hover { background: var(--teal-100); color: var(--teal-950); }

.hero-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 0;
  background: var(--teal-950);
  color: #ffffff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-media picture,
.hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 48%; }
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(12, 36, 43, 0.98) 0%, rgba(12, 36, 43, 0.94) 34%, rgba(12, 36, 43, 0.72) 64%, rgba(12, 36, 43, 0.38) 100%),
    linear-gradient(180deg, rgba(12, 36, 43, 0.45) 0%, transparent 34%, rgba(12, 36, 43, 0.56) 100%);
}
.hero-home .hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}
.hero-home .eyebrow {
  color: #b9d8de;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  letter-spacing: 0.11em;
}
.hero-home h1 { color: #ffffff; max-width: 18ch; }
.hero-home .hero-lede { color: #d9e7ea; max-width: 54ch; }
.hero-home .hero-note { color: #b6cbd0; }
.hero-home .btn { background: #ffffff; border-color: #ffffff; color: var(--teal-950); }
.hero-home .btn:hover { background: var(--teal-100); border-color: var(--teal-100); color: var(--teal-950); }
.hero-home .btn-secondary { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
.hero-home .btn-secondary:hover { background: rgba(255, 255, 255, 0.18); border-color: #ffffff; color: #ffffff; }
.hero-home :focus-visible { outline-color: #ffffff; }
.hero-home .clinic-card {
  background: rgba(9, 29, 35, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero-home .clinic-card h2 { font-size: var(--step-2); }

.hero-compact .eyebrow { color: #b9d8de; }
.hero-compact .eyebrow a { color: inherit; text-decoration-color: rgba(255, 255, 255, 0.5); }
.hero-compact h1 { color: #ffffff; }
.hero-compact .hero-lede { color: #d9e7ea; }
.hero-compact .hero-note { color: #b6cbd0; }
.hero-compact .article-meta { color: #b6cbd0; }
.hero-compact .article-meta .dot { color: rgba(255, 255, 255, 0.45); }
.hero-compact .btn { background: #ffffff; border-color: #ffffff; color: var(--teal-950); }
.hero-compact .btn:hover { background: var(--teal-100); border-color: var(--teal-100); color: var(--teal-950); }
.hero-compact .btn-secondary { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
.hero-compact .btn-secondary:hover { background: rgba(255, 255, 255, 0.18); border-color: #ffffff; color: #ffffff; }
.hero-compact :focus-visible { outline-color: #ffffff; }
.hero-compact .clinic-card {
  background: rgba(9, 29, 35, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero-compact .profile-photo {
  justify-self: end;
  width: 100%;
  max-width: 300px;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

/* ---------- Sections ---------- */

.section-film {
  position: relative;
  overflow: hidden;
  background: var(--teal-950);
  color: #ffffff;
}
.section-film::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 20%, rgba(61, 139, 160, 0.28), transparent 42%),
    linear-gradient(120deg, rgba(17, 54, 65, 0.5), transparent 55%);
}
.section-film .container { position: relative; z-index: 1; }
.film-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.film-copy .eyebrow { color: #9cc7d0; }
.film-copy h2 { color: #ffffff; }
.film-copy p { color: #c7dade; }
.film-copy .film-note { font-size: var(--step--1); color: #9fb6bb; letter-spacing: 0.02em; }
.film-copy .btn-secondary { background: transparent; border-color: rgba(255, 255, 255, 0.42); color: #ffffff; }
.film-copy .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: #ffffff; color: #ffffff; }
.film-copy :focus-visible { outline-color: #ffffff; }
.film-figure { margin: 0; }
.film-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}
.film-figure figcaption { margin-top: var(--space-3); font-size: var(--step--1); color: #9fb6bb; }

.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-wash { background: var(--wash); border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: var(--space-6); }
.section-head h2 { margin-bottom: var(--space-3); }
.section-head p { color: var(--ink-soft); }
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.section-head-row .section-head { margin-bottom: 0; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--space-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}
a.card:hover { border-color: var(--teal-200); box-shadow: var(--shadow); }
.card .card-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.card h3 { font-size: var(--step-2); margin: 0; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.card .card-link { margin-top: auto; padding-top: var(--space-3); font-size: 0.9rem; font-weight: 600; color: var(--teal-700); }
a.card:hover .card-link { color: var(--teal-900); }
.card-index { color: var(--teal-500); font-family: var(--font-display); font-size: 0.95rem; }

.card.service-card {
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.service-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--teal-100);
}
.service-card-media picture,
.service-card-media img { display: block; width: 100%; height: 100%; }
.service-card-media img {
  object-fit: cover;
  transition: transform 380ms var(--ease);
}
a.service-card:hover .service-card-media img { transform: scale(1.035); }
.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--space-5);
}

/* Team cards */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}
.team-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.team-card:hover { border-color: var(--teal-200); box-shadow: var(--shadow); }
.team-card img { width: 100%; height: auto; display: block; background: var(--wash); }
.team-card body { display: block; }
.team-card-text { padding: var(--space-4); display: grid; gap: 0.15rem; }
.team-card h3 { font-size: var(--step-1); margin: 0; }
.team-card .role { font-size: 0.85rem; color: var(--muted); }

/* ---------- Prose ---------- */

.prose { max-width: 72ch; }
.prose > * { max-width: 68ch; }
.prose h2 { margin-top: var(--space-7); margin-bottom: var(--space-3); }
.prose h3 { margin-top: var(--space-5); margin-bottom: var(--space-2); font-size: var(--step-2); }
.prose ul, .prose ol { margin: 0 0 var(--space-4); padding-left: 1.35rem; }
.prose li { margin-bottom: 0.45rem; }
.prose img { border-radius: var(--radius); }
.prose blockquote {
  margin: var(--space-5) 0;
  padding: var(--space-5);
  border-left: 3px solid var(--teal-500);
  background: var(--teal-50);
  color: var(--teal-900);
}
.prose table { width: 100%; border-collapse: collapse; margin: var(--space-5) 0; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--wash); font-weight: 600; }
.prose .lede { font-size: var(--step-1); color: var(--ink-soft); }

/* ---------- Article layout ---------- */

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: var(--wash);
  font-size: 0.92rem;
}
.toc h2 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-3);
}
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover, .toc a[aria-current="true"] { color: var(--teal-800); text-decoration: underline; }
.toc .toc-sub { font-size: 0.88rem; padding-left: 0.4rem; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  align-items: center;
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: var(--space-4);
}
.article-meta .dot { color: var(--line-strong); }

/* ---------- Callouts, stats, FAQ ---------- */

.callout {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius);
  padding: var(--space-5);
  margin: var(--space-5) 0;
}
.callout h2, .callout h3 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.callout p:last-child { margin-bottom: 0; }
.callout-warning { background: #fbf3ef; border-color: #eed6cc; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-5);
}
.stat { display: grid; gap: 0.2rem; }
.stat strong { font-family: var(--font-display); font-size: var(--step-3); color: var(--teal-800); font-weight: 400; }
.stat span { font-size: 0.85rem; color: var(--muted); }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  color: var(--teal-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.2rem; color: var(--teal-600); }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding-bottom: var(--space-4); color: var(--ink-soft); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.field { display: grid; gap: 0.35rem; margin-bottom: var(--space-4); }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--teal-600); }
.field .error {
  display: none;
  font-size: 0.86rem;
  color: var(--clay-dark);
  font-weight: 600;
}
.field.is-invalid .error { display: block; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--clay); }
.form-status { margin-top: var(--space-4); font-size: 0.95rem; }
.form-status[data-state="sending"] { color: var(--teal-700); }
.form-status[data-state="error"] { color: var(--clay-dark); font-weight: 600; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: var(--space-3); }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.data-table caption { text-align: left; font-weight: 600; padding-bottom: var(--space-2); }
.data-table th, .data-table td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { background: var(--wash); font-weight: 600; }

/* ---------- Contact/location ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.fact-list { display: grid; gap: var(--space-4); margin: 0; }
.fact-list div { display: grid; gap: 0.15rem; }
.fact-list dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fact-list dd { margin: 0; }
.fact-list a { text-decoration: none; }
.fact-list a:hover { text-decoration: underline; }
.map-link { display: inline-flex; gap: 0.4rem; align-items: center; font-weight: 600; }

/* ---------- Booking ---------- */

.booking-frame {
  width: 100%;
  min-height: 900px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--teal-950);
  color: #cfe1e5;
  padding-block: var(--space-7) var(--space-6);
  font-size: 0.95rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
}
.footer-brand { display: grid; gap: var(--space-4); align-content: start; }
.footer-logo-plate {
  display: inline-flex;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.6rem 0.8rem;
  width: fit-content;
}
.footer-logo-plate img { width: 160px; height: auto; display: block; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9dc0c8;
  margin-bottom: var(--space-3);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: #e8f2f4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  justify-content: space-between;
  font-size: 0.85rem;
  color: #a9c6cd;
}
.footer-disclaimer { margin-top: var(--space-5); font-size: 0.83rem; color: #a9c6cd; max-width: 85ch; }

/* ---------- Mobile action bar ---------- */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 56px;
  background: #fff;
  color: var(--teal-900);
  font-weight: 600;
  text-decoration: none;
}
.mobile-bar a.is-primary { background: var(--teal-800); color: #fff; }

/* ---------- Misc ---------- */

.notice-band {
  background: var(--teal-50);
  border-block: 1px solid var(--teal-100);
  padding-block: var(--space-4);
  font-size: 0.95rem;
}
.notice-band p { margin: 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.pill-list li {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  color: var(--teal-900);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
}
.icon { width: 1em; height: 1em; flex: none; }
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-item { display: grid; gap: 0.3rem; padding-block: var(--space-5); border-bottom: 1px solid var(--line); }
.post-item h3 { margin: 0; font-size: var(--step-2); }
.post-item h3 a { text-decoration: none; color: var(--teal-900); }
.post-item h3 a:hover { text-decoration: underline; }
.post-item p { margin: 0; color: var(--ink-soft); }
.post-item .post-meta { font-size: 0.85rem; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.pagination a, .pagination span {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
}
.pagination [aria-current="page"] { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }

.review-note { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: var(--space-4); margin-top: var(--space-7); }

.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-6); }
.link-card {
  display: grid;
  gap: 0.15rem;
  padding: var(--space-4) var(--space-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}
.link-card:hover { border-color: var(--teal-200); box-shadow: var(--shadow); }
.link-card strong { color: var(--teal-900); }
.link-card span { font-size: 0.9rem; color: var(--muted); }

.prose-center { max-width: 60ch; margin-inline: auto; text-align: center; }
.prose-center .btn { margin-top: var(--space-4); }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 0.9;
  color: var(--teal-500);
  margin: 0 0 var(--space-3);
}
.profile-photo {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .primary-nav { display: none; }
  .nav-toggle-mobile { display: inline-flex; }
  .masthead-cta .btn { display: none; }
  .brand img { width: 140px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: none; }
  .hero-home { padding-block: clamp(3rem, 9vw, 5rem); }
  .hero-home .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-home .clinic-card { max-width: 560px; }
  .hero-home::before {
    background:
      linear-gradient(180deg, rgba(12, 36, 43, 0.86) 0%, rgba(12, 36, 43, 0.82) 55%, rgba(12, 36, 43, 0.9) 100%),
      radial-gradient(circle at 70% 30%, transparent 0%, rgba(12, 36, 43, 0.2) 70%);
  }
  .hero-compact::before {
    background:
      linear-gradient(180deg, rgba(12, 36, 43, 0.88) 0%, rgba(12, 36, 43, 0.84) 58%, rgba(12, 36, 43, 0.92) 100%),
      radial-gradient(circle at 70% 30%, transparent 0%, rgba(12, 36, 43, 0.2) 70%);
  }
  .hero-compact .profile-photo { justify-self: start; max-width: 260px; height: 320px; }
  .film-grid { grid-template-columns: minmax(0, 1fr); }
  .film-figure { order: -1; }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; order: -1; }
  .card-grid, .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .mobile-bar { display: grid; }
  body { padding-bottom: 58px; }
  .site-footer { padding-bottom: calc(var(--space-6) + 58px); }
}

@media (max-width: 720px) {
  :root { --step-5: clamp(2rem, 9vw, 2.6rem); --step-4: 1.75rem; }
  .utility-inner { justify-content: flex-start; }
  .utility .utility-address { display: none; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid, .card-grid-2, .card-grid-4 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .mega-grid { grid-template-columns: minmax(0, 1fr); }
  .article-grid { gap: var(--space-5); }
  .booking-frame { min-height: 720px; }
  .stat-strip { grid-template-columns: minmax(0, 1fr); }
  .link-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-compact .profile-photo { max-width: 220px; height: 280px; }
}

@media (max-width: 420px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .brand img { width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .utility, .masthead, .mobile-bar, .site-footer, .crumbs, .toc, .hero-actions, .form-card, .booking-frame, .hero-media, .film-video { display: none !important; }
  body { color: #000; font-size: 11pt; padding-bottom: 0; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .section, .hero, .hero-home, .hero-compact { padding-block: 1rem; }
  .hero-home, .hero-compact, .section-film { color: #000; background: #fff; }
  .hero-home::before, .hero-compact::before, .section-film::before { display: none; }
  .hero-home h1, .hero-home .hero-lede, .hero-home .hero-note, .hero-home .eyebrow,
  .hero-compact h1, .hero-compact .hero-lede, .hero-compact .hero-note, .hero-compact .eyebrow,
  .hero-compact .article-meta,
  .film-copy h2, .film-copy p, .film-copy .film-note, .film-copy .eyebrow, .film-figure figcaption { color: #000; }
  .hero-home .clinic-card, .hero-compact .clinic-card { background: #fff; border-color: #ccc; color: #000; box-shadow: none; }
  .hero-home .clinic-card h2, .hero-home .clinic-card a, .hero-home .clinic-card dt, .hero-home .clinic-card dd,
  .hero-compact .clinic-card h2, .hero-compact .clinic-card a, .hero-compact .clinic-card dt, .hero-compact .clinic-card dd { color: #000; }
  .hero-compact .profile-photo { border-color: #ccc; box-shadow: none; }
  .article-grid { display: block; }
  .prose { max-width: none; }
  h1, h2, h3 { color: #000; break-after: avoid; }
}





