/* ============================================================================
   Levitas Metabolic & Performance Clinic — design system
   Physician-led, grounded, evidence-based. Shared across the whole public site.
   Brand tokens: forest / brass / ivory / sage.
   ============================================================================ */

/* ── Self-hosted fonts (CSP: no external font CDNs) ─────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2');
}

:root {
  /* Brand palette */
  --ivory:       #F6F3EB;
  --forest:      #173B35;
  --moss:        #294D40;
  --brass:       #B59A65;
  --brass-deep:  #9E8453;
  --brass-soft:  rgba(181,154,101,0.13);
  --copper:      #B66D43;
  --charcoal:    #252B29;
  --sage:        #DCE5DC;

  /* Semantic tokens */
  --bg:          #F6F3EB;
  --bg-sage:     #EEF2EE;
  --surface:     #FFFFFF;
  --surface-2:   #FAF9F5;
  --border:      #D9D4CA;
  --border-dark: rgba(246,243,235,0.15);

  --text:        #2C3330;
  --text-2:      #5C6360;
  --text-3:      #83878F;
  --heading:     var(--forest);
  --on-forest:   rgba(246,243,235,0.86);
  --on-forest-dim: rgba(246,243,235,0.55);

  --radius:      4px;
  --radius-lg:   8px;
  --radius-pill: 999px;
  --shadow-sm:   0 1px 3px rgba(23,59,53,0.05);
  --shadow:      0 2px 16px rgba(23,59,53,0.07);
  --shadow-lg:   0 18px 48px rgba(23,59,53,0.12);

  --container:   1120px;
  --prose:       40rem;
  --header-h:    64px;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Type scale */
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base: 1rem;
  --text-lg:  1.125rem;
  --text-xl:  1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --leading-tight:  1.1;
  --leading-snug:   1.25;
  --leading-normal: 1.6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brass-soft); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brass-deep);
}
.navy .eyebrow, .hero .eyebrow, .callout .eyebrow, .cta-band .eyebrow,
.section--dark .eyebrow { color: var(--brass); }
.muted { color: var(--text-2); }
.center { text-align: center; }
.lead { font-size: 19px; color: var(--text-2); line-height: 1.6; }

/* ── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--forest); color: var(--ivory); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Header / nav ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(23,59,53,0.94);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 0.5px solid rgba(246,243,235,0.12);
}
.nav { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(150deg, var(--moss), var(--forest));
  border: 0.5px solid rgba(181,154,101,0.5);
  display: flex; align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; color: var(--ivory); letter-spacing: 0.5px;
}
.brand-tag {
  font-family: var(--font-body);
  font-size: 9.5px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: var(--brass);
}

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > a, .nav-trigger {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--on-forest);
  background: none; border: none; cursor: pointer; padding: 9px 13px; border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 6px; transition: color .15s, background .15s;
}
.nav-menu > a:hover, .nav-trigger:hover { color: var(--ivory); background: rgba(246,243,235,0.07); }
.nav-trigger::after { content: "▾"; font-size: 10px; opacity: 0.7; }

.nav-item { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px;
  background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown a {
  display: block; padding: 9px 12px; border-radius: var(--radius); font-size: 14px; color: var(--text);
  line-height: 1.35; transition: background .12s;
}
.nav-dropdown a small { display: block; font-size: 12px; color: var(--text-3); margin-top: 1px; }
.nav-dropdown a:hover { background: var(--surface-2); }
.nav-dropdown .dd-all { color: var(--brass-deep); font-weight: 700; }
.nav-dropdown-h { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); padding: 10px 12px 4px; font-weight: 700; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 9px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ivory); margin: 4px 0; border-radius: 2px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body);
  font-size: 15px; font-weight: 600; padding: 12px 22px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; transition: transform .08s, filter .15s, background .15s, color .15s, border-color .15s;
  white-space: nowrap; line-height: 1.2;
}
.btn-gold, .btn--primary { background: var(--brass); color: var(--forest); }
.btn-gold:hover, .btn--primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-navy, .btn--forest { background: var(--forest); color: var(--ivory); }
.btn-navy:hover, .btn--forest:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-outline, .btn--outline { border-color: var(--border); color: var(--forest); background: transparent; }
.btn-outline:hover, .btn--outline:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.btn--hero-outline { border-color: rgba(246,243,235,0.4); color: var(--ivory); background: transparent; }
.btn--hero-outline:hover { background: rgba(246,243,235,0.1); border-color: rgba(246,243,235,0.6); }
.btn-ghost-light { color: var(--ivory); border-color: rgba(246,243,235,0.3); background: transparent; }
.btn-ghost-light:hover { background: rgba(246,243,235,0.08); }
.btn-lg { font-size: 16px; padding: 15px 28px; }
.nav-menu .btn { padding: 10px 18px; font-size: 14px; }
.nav-menu > a.btn-gold { background: var(--brass); color: var(--forest); font-weight: 600; border-radius: var(--radius); }
.nav-menu > a.btn-gold:hover { background: var(--brass); color: var(--forest); filter: brightness(1.06); }

/* ── Sub-page hero ────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: var(--ivory); isolation: isolate;
  background: linear-gradient(170deg, var(--moss) 0%, var(--forest) 100%);
  padding: 92px 0 100px;
}
.hero-sm { padding: 64px 0 56px; }
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--font-display);
  color: var(--ivory); font-weight: 600; letter-spacing: -0.5px;
}
.hero p { color: var(--on-forest); }
.constellation { display: none; }

/* ── Homepage: Living Canopy hero ────────────────────────── */
.hero-fixed {
  position: fixed; top: 0; left: 0; right: 0; height: 100svh; z-index: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hero-overlay {
  position: relative; z-index: 2; text-align: center;
  max-width: 740px; padding: 0 24px;
}
.hero-star { width: 48px; height: 48px; color: var(--brass); margin: 0 auto 1.5rem; opacity: 0.85; }
.hero-logo-text {
  font-family: var(--font-display); font-size: var(--text-xl);
  font-weight: 600; letter-spacing: 0.25em; color: var(--ivory);
}
.hero-logo-sub {
  font-family: var(--font-body); font-size: var(--text-xs);
  font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(246,243,235,0.65); margin-top: 0.25rem;
}
.hero-announce {
  display: inline-block; margin-top: 2rem;
  padding: 0.4rem 1.1rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(181,154,101,0.5); background: rgba(23,59,53,0.5);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brass);
}
.hero-overlay h1 {
  font-family: var(--font-display); font-size: var(--text-6xl);
  font-weight: 500; line-height: var(--leading-tight);
  color: var(--ivory); margin-top: 2rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}
.hero-subtitle {
  max-width: 560px; margin: 1.25rem auto 0;
  font-size: var(--text-lg); color: rgba(246,243,235,0.75);
  line-height: var(--leading-normal);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2.5rem; }
.hero-phone {
  margin-top: 1rem; text-align: center; font-size: var(--text-lg); font-weight: 600; letter-spacing: 0.3px;
}
.hero-phone span { color: rgba(246,243,235,0.5); }
.hero-phone a { color: var(--ivory); transition: color .15s; }
.hero-phone a:hover { color: var(--brass); }
.hero-spacer { height: 100svh; position: relative; z-index: -1; }

/* Homepage header: transparent → solid on scroll */
body.home .site-header {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
body.home .site-header.scrolled {
  background: rgba(23,59,53,0.92);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(246,243,235,0.12);
}

/* ── Transition zone (homepage) ─────────────────────────── */
.transition-zone {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, var(--forest) 0%, var(--bg) 100%);
  padding: 6rem 0 4rem; text-align: center;
}
.venation-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.transition-text { position: relative; z-index: 1; }
.transition-text p {
  font-family: var(--font-body); font-size: var(--text-sm);
  color: rgba(246,243,235,0.45); letter-spacing: 0.06em; text-transform: uppercase;
}
.full-bleed { width: 100%; }
.content-main { position: relative; z-index: 1; background: var(--surface); }

/* Brand mark glow */
.brand-mark svg { filter: drop-shadow(0 0 4px rgba(181,154,101,0.45)); }

@media (prefers-reduced-motion: reduce) {
  .brand-mark svg { filter: none; }
}

/* ── Headings & sections ───────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 50px); font-weight: 600; letter-spacing: -0.5px; line-height: 1.07; color: var(--forest);
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 33px); font-weight: 600; letter-spacing: -0.3px; line-height: 1.15; color: var(--forest);
}
h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; letter-spacing: -0.2px; color: var(--forest);
}
section { padding: 76px 0; }
.section { padding: 5rem 0; }
.section-sm { padding: 52px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--text-2); }
.section-title {
  font-family: var(--font-display); font-size: var(--text-4xl);
  font-weight: 600; line-height: var(--leading-snug); color: var(--heading);
}
.section-subtitle {
  font-size: var(--text-base); color: var(--text-2); line-height: var(--leading-normal);
  max-width: 600px; margin-top: 1rem;
}

/* Dark (forest) sections */
.navy, .section--dark { background: var(--forest); color: var(--ivory); }
.navy h2, .navy h3, .section--dark h2, .section--dark h3 { color: var(--ivory); }
.navy p, .section--dark p { color: var(--on-forest); }
.surface { background: var(--surface); }
.alt { background: var(--surface-2); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb { font-size: 13px; color: var(--text-3); padding: 18px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--border); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a:hover { color: var(--brass-deep); }
.breadcrumb [aria-current] { color: var(--text-2); }

/* ── Cards & grids ─────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex; flex-direction: column;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(181,154,101,0.5); }
.card h3 { margin-bottom: 8px; color: var(--forest); }
.card p { font-size: 15px; color: var(--text-2); line-height: 1.55; }
.card .more { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--brass-deep); }
.card .more::after { content: " →"; }
.card-icon {
  width: 42px; height: 42px; border-radius: var(--radius); background: var(--brass-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

/* Question card */
.q-card {
  background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex; flex-direction: column;
}
.q-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(181,154,101,0.5); }
.q-card .q {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 600; color: var(--forest); letter-spacing: -0.3px; line-height: 1.2;
}
.q-card .q::before { content: "\201C"; color: var(--brass); font-weight: 700; margin-right: 1px; }
.q-card .q::after { content: "\201D"; color: var(--brass); font-weight: 700; }
.q-card p { font-size: 14.5px; color: var(--text-2); margin-top: 10px; line-height: 1.55; }
.q-card .more { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; color: var(--brass-deep); }
.q-card .more::after { content: " →"; }

/* Homepage question cards (from approved design) */
.questions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.questions-cta { text-align: center; margin-top: 2rem; }
.questions-cta a { color: var(--brass); font-weight: 500; font-size: var(--text-sm); }
.questions-cta a:hover { text-decoration: underline; }

/* Pillars / value props */
.pillar-num { font-size: 13px; font-weight: 700; color: var(--brass-deep); letter-spacing: 0.5px; }
.pillar h3 { margin: 10px 0 8px; }
.pillar p { font-size: 15px; color: var(--text-2); }

/* ── Prose (article / service body) ────────────────────────── */
.prose { max-width: var(--prose); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2em; font-size: 26px; }
.prose h3 { margin-top: 1.6em; font-size: 20px; }
.prose p, .prose li { font-size: 17.5px; color: var(--text); line-height: 1.72; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose strong { color: var(--forest); }
.prose a { color: var(--brass-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--forest); }
.prose .lead { font-size: 20px; color: var(--text-2); }
.article-wrap { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 56px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); }

/* Callout — "How Levitas approaches this differently" */
.callout {
  background: var(--forest); color: var(--ivory); border-radius: var(--radius-lg);
  padding: 30px 32px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.callout::before {
  content: ""; position: absolute; top: 0; right: 0; width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(181,154,101,0.15), transparent 70%);
}
.callout .eyebrow { color: var(--brass); }
.callout h3 { color: var(--ivory); margin: 10px 0 10px; font-size: 22px; }
.callout p { color: var(--on-forest); font-size: 16px; }
.callout p + p { margin-top: 12px; }

/* Definition / quick-facts list */
.facts { border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 18px; border-top: 0.5px solid var(--border); font-size: 15px; }
.facts div:first-child { border-top: none; }
.facts dt, .facts .k { font-weight: 700; color: var(--forest); }
.facts dd, .facts .v { color: var(--text-2); }

/* ── FAQ accordion ─────────────────────────────────────────── */
.faq { border-top: 0.5px solid var(--border); }
.faq details { border-bottom: 0.5px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 4px; font-size: 18px; font-weight: 600; color: var(--forest);
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass-deep); font-size: 24px; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 4px 22px; font-size: 16.5px; color: var(--text); line-height: 1.7; }

/* ── Related links ─────────────────────────────────────────── */
.related a {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius);
  border: 0.5px solid var(--border); background: var(--surface); transition: border-color .15s, transform .15s;
}
.related a:hover { border-color: rgba(181,154,101,0.6); transform: translateY(-2px); }
.related .rk { font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
.related .rt { font-weight: 700; color: var(--forest); }
.related .rt::after { content: " →"; color: var(--brass-deep); }

/* ── Chips / badges ────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-pill);
  background: var(--surface); border: 0.5px solid var(--border); font-size: 14.5px; font-weight: 600; color: var(--forest); box-shadow: var(--shadow-sm);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: #4CAF8A; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--radius-pill);
  background: var(--brass-soft); color: var(--brass-deep); font-size: 12.5px; font-weight: 700; letter-spacing: 0.3px;
}

/* ── Method section (homepage) ─────────────────────────────── */
.method-section { position: relative; overflow: hidden; }
.method-bg { position: absolute; inset: 0; opacity: 0.035; pointer-events: none; }
.method-header { text-align: center; max-width: 660px; margin-inline: auto; margin-bottom: 4rem; }
.method-header .section-subtitle { margin-inline: auto; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.method-grid::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 1px; background: linear-gradient(to right, transparent, var(--brass), var(--brass), transparent); opacity: 0.3; }
.method-step { text-align: center; padding: 0 1.25rem; position: relative; }
.method-icon { width: 88px; height: 88px; margin: 0 auto 1.5rem; position: relative; z-index: 1; }
.method-icon svg { width: 100%; height: 100%; }
.method-step h3 { font-size: var(--text-2xl); margin-bottom: 0.75rem; }
.method-step p { font-size: var(--text-sm); color: var(--text-2); line-height: var(--leading-normal); }

/* ── Testing section (homepage) ────────────────────────────── */
.testing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.test-card { border-top: 2px solid var(--brass); padding-top: 1.5rem; }
.test-card .test-label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 0.75rem; }
.test-card h3 { font-size: var(--text-2xl); margin-bottom: 0.75rem; }
.test-card p { font-size: var(--text-sm); color: var(--text-2); line-height: var(--leading-normal); margin-bottom: 1.25rem; }
.test-card a { font-size: var(--text-sm); font-weight: 500; color: var(--brass); }
.test-card a:hover { text-decoration: underline; }

/* ── Learning Center cards (homepage) ──────────────────────── */
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.learn-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; transition: border-color 0.2s; }
.learn-card:hover { border-color: var(--brass); }
.learn-card h3 { font-size: var(--text-xl); color: var(--forest); }
.learn-card p { font-size: var(--text-sm); color: var(--text-2); flex: 1; }
.learn-card .learn-link { font-size: var(--text-sm); color: var(--brass); font-weight: 500; margin-top: 0.5rem; }

/* ── Physician intro ───────────────────────────────────────── */
.physician-intro {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; margin-bottom: 48px;
}
.physician-portrait {
  border-radius: var(--radius); overflow: hidden; position: relative;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
}
.physician-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.physician-bio .eyebrow { margin-bottom: 12px; }
.physician-bio h2 { margin-bottom: 16px; }
.physician-bio p { font-size: 17px; color: var(--text-2); line-height: 1.65; }
.physician-bio p + p { margin-top: 12px; }

/* Homepage physician layout */
.physician-layout { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; align-items: start; margin-top: 2.5rem; }
img.physician-portrait { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 15%; border-radius: var(--radius); border: 1px solid var(--border); }
.cred-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 0.5rem; }
.cred-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.cred-check { width: 20px; height: 20px; flex-shrink: 0; color: var(--brass); margin-top: 2px; }
.cred-item strong { display: block; font-weight: 500; color: var(--heading); margin-bottom: 0.15rem; }
.cred-item span { font-size: var(--text-sm); color: var(--text-2); }

/* ── Location section (dark, homepage) ─────────────────────── */
.location-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.loc-details h3 { font-size: var(--text-2xl); font-weight: 600; margin-bottom: 1.5rem; }
.loc-details address { font-style: normal; color: rgba(246,243,235,0.6); line-height: 1.8; margin-bottom: 1.5rem; }
.loc-details address a { color: var(--ivory); }
.loc-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.loc-right { display: flex; flex-direction: column; gap: 1.5rem; }
.loc-building-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); opacity: 0.85; }
.loc-right p { color: rgba(246,243,235,0.55); line-height: var(--leading-normal); }

/* Clinic location (sub-pages) */
.clinic-location { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.clinic-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.clinic-photo img { width: 100%; height: auto; display: block; }
.clinic-details { padding-top: 8px; }
.clinic-details h3 { font-size: 22px; margin-bottom: 18px; }
.clinic-details address { font-style: normal; font-size: 16px; color: var(--text-2); line-height: 1.65; }
.clinic-details address p { margin-bottom: 6px; }
.clinic-details address a { color: var(--brass-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.clinic-details address a:hover { color: var(--forest); }
.clinic-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.clinic-actions .btn { justify-content: center; }

/* Trust row */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust {
  display: flex; gap: 13px; align-items: flex-start; padding: 18px 20px;
  background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius);
}
.trust .ic { color: var(--brass-deep); flex-shrink: 0; font-size: 17px; line-height: 1.3; }
.trust b { display: block; color: var(--forest); font-size: 15.5px; }
.trust span { font-size: 13.5px; color: var(--text-2); }

/* ── CTA band ──────────────────────────────────────────────── */
.cta-band {
  text-align: center; color: var(--ivory); position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--moss), var(--forest));
}
.cta-band h2 { color: var(--ivory); }
.cta-band p { color: var(--on-forest); max-width: 560px; margin: 14px auto 0; font-size: 18px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ── Footer (mega) ─────────────────────────────────────────── */
.site-footer { background: #0F1F1B; color: var(--on-forest-dim); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 300px; }
.footer-col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brass); margin-bottom: 15px; }
.footer-col a { display: block; font-size: 14px; color: var(--on-forest); margin-bottom: 10px; transition: color .14s; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 0.5px solid rgba(246,243,235,0.1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12.5px;
}
.footer-bottom .powered { color: var(--brass); font-weight: 600; }
.footer-note { font-size: 11.5px; color: rgba(246,243,235,0.68); margin-top: 14px; max-width: 760px; line-height: 1.6; }

/* Homepage footer variant */
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .logo-name { color: var(--ivory); }
.footer-brand .logo-sub { color: var(--on-forest-dim); }
.footer-brand > p { margin-top: 1.25rem; font-size: var(--text-sm); line-height: var(--leading-normal); max-width: 280px; }
.footer-brand address { font-style: normal; margin-top: 1.25rem; font-size: var(--text-sm); line-height: 1.8; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.4rem; list-style: none; }
.footer-bottom span { display: inline; }
.footer-disclaimer { font-size: 0.7rem; opacity: 0.5; max-width: 800px; line-height: 1.6; margin-top: 1.5rem; }

/* ── Homepage mobile overlay ───────────────────────────────── */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 200; background: var(--bg); padding: 1rem 24px; padding-top: calc(env(safe-area-inset-top, 0px) + 1rem); overflow-y: auto; flex-direction: column; }
.mobile-menu.is-open { display: flex; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-close { background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--heading); }
.mobile-close svg { width: 24px; height: 24px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu .mm-section { border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; margin-bottom: 0.75rem; }
.mobile-menu .mm-heading { font-size: var(--text-sm); font-weight: 600; color: var(--heading); padding: 0.5rem 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: none; border: none; width: 100%; text-align: left; }
.mobile-menu .mm-links { display: none; flex-direction: column; gap: 0.15rem; padding-left: 0.75rem; padding-bottom: 0.5rem; }
.mobile-menu .mm-links.is-open { display: flex; }
.mobile-menu .mm-links a { font-size: var(--text-sm); color: var(--text-2); padding: 0.35rem 0; }
.mobile-menu .mm-cta { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* ── Homepage logo ─────────────────────────────────────────── */
.logo { display: flex; align-items: center; gap: 0.65rem; }
.logo-star { width: 28px; height: 28px; color: var(--brass); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: 0.3px; }
.logo-sub { font-family: var(--font-body); font-size: 9px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }

/* Venation accent decorations */
.venation-accent { position: absolute; opacity: 0.04; pointer-events: none; }

/* ── Reveal animation ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Utilities ─────────────────────────────────────────────── */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 14px; }
.mt-2 { margin-top: 28px; }
.mt-3 { margin-top: 44px; }
.maxw-prose { max-width: var(--prose); }
.flex-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Scheduling CTAs, notes, accessibility helpers ─────────── */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.cta-note { margin-top: 16px; max-width: 560px; font-size: 14px; line-height: 1.55; color: var(--on-forest); }
.cta-note-light { max-width: none; color: var(--text-2); }

/* ── Hero phone number (sub-page) ────────────────────────── */
.hero .hero-phone a { color: var(--ivory); }
.hero .hero-phone a:hover { color: var(--brass); }

/* ── Homepage hero announcement pill (sub-pages) ─────────── */
.prelaunch-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 13px; border-radius: var(--radius-pill); color: var(--ivory);
  border: 1px solid rgba(181,154,101,0.55); background: rgba(23,59,53,0.48);
  font-size: 12px; font-weight: 700; letter-spacing: 0.45px; text-transform: uppercase;
}

/* ── Footer details ─────────────────────────────────────── */
.footer-status { margin-top: 18px; color: var(--on-forest); line-height: 1.7; }
.footer-detail { display: block; color: var(--on-forest); font-size: 14px; line-height: 1.5; margin-bottom: 10px; }

/* ── Planned-future-service banner ────────────────────────── */
.planned-future-banner {
  margin-top: 26px; padding: 16px 22px; border-radius: var(--radius);
  background: rgba(181,154,101,0.12); border: 1px solid rgba(181,154,101,0.4);
  color: var(--ivory); font-size: 15px; line-height: 1.55;
}
.planned-future-banner strong { color: var(--brass); }
.surface .planned-future-banner {
  background: var(--brass-soft); color: var(--forest);
}
.surface .planned-future-banner strong { color: var(--brass-deep); }

/* ── Insurance table ──────────────────────────────────────── */
.insurance-table { margin-top: 20px; }
.ins-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--surface-2); border: 0.5px solid var(--border);
}
.ins-carrier { font-size: 17px; }
.ins-status { font-size: 15px; color: var(--brass-deep); font-weight: 600; }
.ins-note { margin-top: 10px; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.ins-row + .ins-row { margin-top: 8px; }
.ins-row.ins-pending .ins-status { color: var(--text-2); font-weight: 500; }

/* ── Pricing table ────────────────────────────────────────── */
.pricing-table {
  width: 100%; border-collapse: collapse; margin-top: 20px;
  border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.pricing-table th {
  text-align: left; padding: 14px 20px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase; color: var(--ivory);
  background: var(--forest); border-bottom: 1px solid rgba(246,243,235,0.15);
}
.pricing-table th:last-child { text-align: right; }
.pricing-table td {
  padding: 14px 20px; font-size: 16px; border-top: 0.5px solid var(--border);
  background: var(--surface);
}
.pricing-table td:last-child { text-align: right; font-weight: 700; color: var(--forest); white-space: nowrap; }
.pricing-table tbody tr:hover td { background: var(--surface-2); }

/* Inline "contact our office" links */
.cta-band p a, .cta-note a, .footer-note a { color: var(--brass); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cta-note-light a { color: var(--forest); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .physician-layout, .location-layout { gap: 2.5rem; }
}
@media (max-width: 940px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .article-wrap { grid-template-columns: 1fr; gap: 0; }
  .article-aside { position: static; margin-top: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .questions-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .method-grid::before { display: none; }
  .testing-grid { grid-template-columns: 1fr; }
  .learn-grid { grid-template-columns: 1fr 1fr; }
  .physician-layout { grid-template-columns: 1fr; gap: 2rem; }
  img.physician-portrait { max-width: 260px; }
  .cred-list { grid-template-columns: 1fr; }
  .location-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .loc-right { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--forest); padding: 14px 16px 22px; border-bottom: 0.5px solid rgba(246,243,235,0.12);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > a, .nav-trigger { width: 100%; justify-content: space-between; padding: 12px 10px; }
  .nav-item { width: 100%; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; border: none; padding: 0 0 6px 10px; min-width: 0;
    display: none;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-dropdown a { color: var(--on-forest); }
  .nav-dropdown a:hover { background: rgba(246,243,235,0.06); }
  .nav-dropdown a small { color: var(--on-forest-dim); }
  .nav-menu .btn { margin-top: 10px; justify-content: center; }
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 3px; }
  .physician-intro { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .physician-portrait { max-width: 260px; margin: 0 auto; }
  .clinic-location { grid-template-columns: 1fr; gap: 24px; }
  .clinic-details { text-align: center; }
  .clinic-actions { align-items: stretch; }
  .ins-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pricing-table th, .pricing-table td { padding: 12px 14px; font-size: 15px; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .hero-overlay h1 { font-size: var(--text-4xl); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .flex-cta, .cta-actions { flex-direction: column; align-items: stretch; }
  .flex-cta .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .prelaunch-badge { justify-content: center; text-align: center; line-height: 1.4; border-radius: 18px; }
}
@media (max-width: 480px) {
  .questions-grid, .method-grid, .learn-grid { grid-template-columns: 1fr; }
  .method-step { padding: 0; }
}
/* Tablet nav tightening */
@media (min-width: 761px) and (max-width: 900px) {
  .nav { gap: 8px; }
  .nav-menu { gap: 0; }
  .nav-menu > a, .nav-trigger { padding: 9px 8px; font-size: 13.5px; }
  .nav-menu > a.btn-gold { padding: 9px 12px; font-size: 13px; margin-left: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
