/* =============================================================================
   Clarity Mind Psychiatry — Prototype stylesheet
   Brand direction: "Evolved Lotus" (refined editorial clinical warmth)
   -----------------------------------------------------------------------------
   - Works fully offline (file://). Google Fonts are loaded in the HTML <head>
     with macOS-native + web-safe serif fallbacks, so type stays graceful if the
     network (or VPN) blocks the font CDN.
   - All color/spacing decisions are tokens, so re-theming is one place.
   - WCAG 2.2 AA: the sage accent (#7C8B6F) is DECORATIVE ONLY (3.40:1) — never
     used for text or small UI. Text greens use --accent-ink (#5E6E50).
   ========================================================================== */

/* ---- Design tokens -------------------------------------------------------- */
:root {
  /* palette */
  --ink:        #2A2433;   /* primary text — 14.07:1 on paper */
  --paper:      #FAF7F4;   /* page background, warm oat */
  --surface:    #F0EAF0;   /* dusty-violet section/card tint */
  --surface-2:  #F6F1F5;   /* lighter surface for nested cards */
  --primary:    #6B4E71;   /* plum — actions, links (6.66:1 on paper) */
  --primary-dk: #553E5A;   /* hover/darker plum */
  --accent:     #7C8B6F;   /* sage — DECORATIVE ONLY (fails AA for text) */
  --accent-ink: #5E6E50;   /* sage that passes AA (~4.6:1) for text/labels */
  --muted:      #6E6577;   /* secondary text — 5.19:1 on paper */
  --line:       #E2D8E2;   /* hairline borders */
  --line-strong:#CBBBcb;

  /* type */
  --display: "Fraunces", "Hoefler Text", "Georgia", serif;
  --body:    "Newsreader", "Georgia", "Times New Roman", serif;
  --ui:      "Newsreader", "Georgia", serif; /* nav/buttons share the serif voice */

  /* scale & rhythm */
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(42,36,51,.05), 0 8px 24px -16px rgba(42,36,51,.18);
  --shadow-md: 0 4px 10px -6px rgba(42,36,51,.12), 0 28px 60px -34px rgba(42,36,51,.30);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* faint warm paper atmosphere — depth without an image */
  background-image:
    radial-gradient(1200px 600px at 85% -5%, color-mix(in srgb, var(--surface) 60%, transparent), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, color-mix(in srgb, var(--surface) 50%, transparent), transparent 55%);
  background-attachment: fixed;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* visible, on-brand focus for keyboard users (WCAG 2.4.7) */
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-family: var(--ui); transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---- Layout helpers ------------------------------------------------------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--ui); font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--primary);
}
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* =============================================================================
   Crisis bar — site-wide, always visible (mental-health table stakes)
   ========================================================================== */
.crisisbar {
  background: var(--ink); color: var(--paper);
  font-family: var(--ui); font-size: 14.5px; text-align: center;
  padding: 9px var(--gutter); letter-spacing: .005em;
}
.crisisbar a { color: #fff; font-weight: 600; text-underline-offset: 2px; }
.crisisbar strong { color: #fff; }

/* =============================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand .logomark { width: 44px; height: 44px; flex: none; }
.brand .logomark svg { width: 100%; height: 100%; }
.brand .wordmark { line-height: 1.02; }
.brand .wordmark .nm { font-family: var(--display); font-size: 23px; font-weight: 600; color: var(--ink); letter-spacing: .005em; }
.brand .wordmark .sub { display:block; font-family: var(--ui); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); font-family: var(--ui); }
/* brand lockup shown ONLY inside the open mobile menu (hidden on desktop horizontal nav) */
.menu-brand { display: none; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 16px; opacity: .82; transition: opacity .15s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a.is-current { opacity: 1; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
/* the nav CTA is a filled plum button — force white text + full opacity (it's an <a> in .nav-links) */
.nav-links a.btn { color: #fff !important; opacity: 1; }
.nav-links a.btn:hover { color: #fff !important; }

.btn {
  --btn-bg: var(--primary); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ui); font-size: 16px; font-weight: 600;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg); border-radius: var(--radius-sm);
  padding: 12px 22px; cursor: pointer; text-decoration: none;
  transition: transform .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { background: var(--primary-dk); border-color: var(--primary-dk); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--primary); border-color: var(--primary); }
.btn--ghost:hover { --btn-fg: #fff; background: var(--primary); }
/* solid sage button — white text (passes AA on #5E6E50). Forces fg even when
   combined with .btn--ghost, so we never get the purple-on-green combo. */
.btn--sage  { --btn-bg: var(--accent-ink); --btn-fg: #fff; border-color: var(--accent-ink); background: var(--accent-ink); color: #fff; }
.btn--sage:hover { background: #4f5d44; border-color: #4f5d44; --btn-fg:#fff; color:#fff; }
/* outlined sage variant (green text on paper — accent-ink passes AA) */
.btn--sage-outline { --btn-bg: transparent; --btn-fg: var(--accent-ink); border-color: var(--accent-ink); background: transparent; color: var(--accent-ink); }
.btn--sage-outline:hover { background: var(--accent-ink); color: #fff; --btn-fg:#fff; }
.btn--lg { font-size: 17px; padding: 15px 28px; }

/* hamburger (mobile) */
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line-strong); border-radius: 9px; width: 46px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

/* =============================================================================
   Hero — editorial, asymmetric
   ========================================================================== */
.hero { position: relative; padding-block: clamp(44px, 6vw, 76px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-eyebrow { margin-bottom: 18px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.04; letter-spacing: -0.015em; color: var(--ink);
  font-optical-sizing: auto;
}
.hero h1 .soft { color: var(--primary); font-style: italic; }
.hero-lede { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink); opacity: .82; max-width: 50ch; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-reassure { margin-top: 18px; font-family: var(--ui); font-size: 14.5px; color: var(--muted); }
.hero-reassure svg { width: 15px; height: 15px; vertical-align: -2px; stroke: var(--accent-ink); }

/* circular portrait — clean headshot, centered in its column */
.hero-figure { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-portrait-round {
  width: min(400px, 78%); aspect-ratio: 1/1; border-radius: 50%;
  overflow: hidden; box-shadow: var(--shadow-md);
  /* soft plum ring to seat the circle on the warm paper */
  border: 6px solid var(--paper); outline: 1px solid var(--line);
  position: relative;
}
.hero-portrait-round::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 9%, transparent); pointer-events: none;
}
.hero-portrait-round img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-name { margin-top: 20px; font-family: var(--display); font-size: 21px; color: var(--ink); text-align: center; }
.hero-name span { color: var(--muted); font-style: italic; }

/* =============================================================================
   Trust strip
   ========================================================================== */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; padding-block: 18px; font-family: var(--ui); font-size: 15px; }
.trust-row .item { color: var(--ink); }
.trust-row .item b { color: var(--primary); }
.trust-row .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* =============================================================================
   Generic section scaffolding
   ========================================================================== */
.section { padding-block: clamp(48px, 6.5vw, 80px); }
.section--surface { background: var(--surface); }
.section-head { max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-family: var(--display); font-weight: 560; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -.01em; margin-top: 12px; color: var(--ink); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink); opacity: .82; }

/* "Meet your clinician" — text-led block on the home page (photo lives in hero) */
.about-solo { max-width: 760px; }
.about-solo blockquote { font-family: var(--display); font-size: clamp(22px, 2.8vw, 32px); line-height: 1.34; color: var(--ink); font-style: italic; margin-top: 14px; }
.about-solo .byline { margin-top: 20px; font-family: var(--ui); }
.about-solo .byline b { color: var(--ink); font-size: 18px; }
.about-solo .byline span { color: var(--muted); display:block; font-size: 15px; margin-top: 2px; }
.about-solo .about-body { margin-top: 18px; color: var(--ink); opacity: .85; font-size: 17.5px; line-height: 1.65; }
.about-solo .about-links { margin-top: 24px; display:flex; gap: 14px; flex-wrap: wrap; }

/* About snippet (legacy two-col, used elsewhere) */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.about-figure { aspect-ratio: 1/1; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); margin: 0; }
.about-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.about-figure .ph-note { font-family: var(--ui); font-size: 12.5px; color: var(--muted); }
.about blockquote { font-family: var(--display); font-size: clamp(20px, 2.4vw, 27px); line-height: 1.4; color: var(--ink); font-style: italic; }
.about .byline { margin-top: 18px; font-family: var(--ui); }
.about .byline b { color: var(--ink); }
.about .byline span { color: var(--muted); display:block; font-size: 15px; }
.about .about-links { margin-top: 22px; display:flex; gap: 14px; flex-wrap: wrap; }
.about .pubs { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; font-family: var(--ui); }
.about .pubs-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); width: 100%; margin-bottom: 4px; }
.about .pubs a { font-size: 15.5px; color: var(--primary); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.about .pubs a:hover { border-color: var(--primary); }
.about .pubs .newtab { font-size: 11px; opacity: .65; }

/* Conditions grid */
.conditions { margin-top: 42px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cond {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 18px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.cond:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.cond .ic { width: 26px; height: 26px; margin-bottom: 12px; stroke: var(--primary); }
.cond h3 { font-family: var(--display); font-size: 19px; font-weight: 560; color: var(--ink); }
.cond p { font-size: 14.5px; color: var(--muted); margin-top: 5px; line-height: 1.5; }

/* =============================================================================
   Booking chooser — the centerpiece UX
   ========================================================================== */
.booking-cards { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin-inline: auto; }
.bcard {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; position: relative;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bcard.is-ins:hover  { border-color: var(--primary); }
.bcard.is-self:hover { border-color: var(--accent-ink); }
.bcard .tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.bcard.is-ins  .tag { color: var(--primary); }
.bcard.is-self .tag { color: var(--accent-ink); }
.bcard .tag .swatch { width: 11px; height: 11px; border-radius: 50%; }
.bcard.is-ins  .tag .swatch { background: var(--primary); }
.bcard.is-self .tag .swatch { background: var(--accent-ink); }
.bcard h3 { font-family: var(--display); font-size: 25px; font-weight: 560; color: var(--ink); margin: 13px 0 10px; }
.bcard p { font-size: 15.5px; color: var(--ink); opacity: .8; line-height: 1.55; flex: 1; }
.bcard .meta { margin-top: 16px; font-family: var(--ui); font-size: 13.5px; color: var(--muted); display:flex; align-items:center; gap:7px; }
.bcard .meta svg { width: 15px; height: 15px; stroke: var(--accent-ink); flex:none; }
.bcard .btn { margin-top: 20px; justify-content: center; }
/* the two CTAs differ by MORE than color (a11y): insurance is filled, self-pay is outlined-then-filled, with distinct icons + the new-tab cue */
.newtab { font-size: 12px; opacity: .7; }

.notsure { text-align: center; margin-top: 26px; font-family: var(--ui); font-size: 15.5px; color: var(--muted); }
.notsure button { background: none; border: none; color: var(--primary); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.plans-panel {
  max-width: 880px; margin: 16px auto 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px; overflow: hidden;
}
.plans-panel h4 { font-family: var(--ui); font-size: 14px; letter-spacing: .04em; color: var(--primary); text-transform: uppercase; margin-bottom: 12px; }
.plans-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 18px; }
.plans-list li { list-style: none; font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.plans-list li svg { width: 15px; height: 15px; stroke: var(--accent-ink); flex: none; }
.plans-panel .foot { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.plans-panel[hidden] { display: none; }

/* =============================================================================
   Quote band
   ========================================================================== */
.quote-band { text-align: center; padding-block: clamp(56px, 9vw, 96px); }
.quote-band .mark { width: 40px; height: 40px; margin: 0 auto 22px; opacity: .8; }
.quote-band blockquote { font-family: var(--display); font-style: italic; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.3; color: var(--ink); max-width: 20ch; margin-inline: auto; }
.quote-band cite { display:block; margin-top: 18px; font-family: var(--ui); font-style: normal; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* =============================================================================
   CTA strip + Footer
   ========================================================================== */
.cta-strip { background: var(--primary); color: #fff; border-radius: var(--radius); padding: clamp(34px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.cta-strip h2 { font-family: var(--display); font-weight: 560; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; }
.cta-strip p { margin-top: 10px; opacity: .9; font-size: 17px; }
.cta-strip .btn { --btn-bg: #fff; --btn-fg: var(--primary); border-color: #fff; }
.cta-strip .btn:hover { --btn-bg: var(--paper); background: var(--paper); }

.site-footer { margin-top: clamp(56px, 9vw, 96px); border-top: 1px solid var(--line); padding-block: 48px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid .brand { margin-bottom: 14px; }
.footer-blurb { font-size: 15.5px; color: var(--muted); max-width: 38ch; }
.footer-col h4 { font-family: var(--ui); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: 15.5px; color: var(--ink); opacity: .82; text-decoration: none; margin-bottom: 9px; }
.footer-col a:hover { opacity: 1; color: var(--primary); }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.footer-legal .crisis-reminder { color: var(--ink); }
.footer-legal .crisis-reminder b { color: var(--primary); }

/* =============================================================================
   Entrance animation — one orchestrated, staggered page-load reveal
   ========================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; animation: rise .7s var(--ease) forwards; }
.reveal.d1 { animation-delay: .05s; }
.reveal.d2 { animation-delay: .15s; }
.reveal.d3 { animation-delay: .25s; }
.reveal.d4 { animation-delay: .35s; }
.reveal.d5 { animation-delay: .45s; }

/* =============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 420px; margin-inline: auto; }
  .about { grid-template-columns: 1fr; }
  .about-figure { max-width: 360px; }
  .conditions { grid-template-columns: repeat(2, 1fr); }
  .cta-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  /* The off-screen nav panel (translateX(100%)) parks beyond the right edge and would
     otherwise extend page scroll-width, causing a horizontal-scroll jiggle. Clip it.
     Safe because the open panel is position:fixed (not affected by overflow-x on body). */
  html, body { overflow-x: hidden; max-width: 100%; }
  /* CRITICAL: the header's backdrop-filter creates a containing block that traps the
     position:fixed nav panel inside the header's box (panel can't fill the viewport, links
     spill out with no background). Drop the backdrop-filter on mobile so the fixed panel
     anchors to the viewport and renders full-height. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #FAF7F4; }
  /* When the menu is open, lift the header (and its nav-panel child) ABOVE the scrim.
     Header is z:100 (sticky = own stacking context), scrim is z:105 — without this the
     scrim's translucent dark tint paints OVER the panel, muddying it purple. */
  body.nav-open .site-header { z-index: 115; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px);
    /* SOLID opaque background (no transparency/blur) so hero content can't bleed through */
    background: #FAF7F4; border-left: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 4px; padding: 26px 28px 28px; transform: translateX(100%);
    transition: transform .3s var(--ease); box-shadow: var(--shadow-md);
    z-index: 120; /* above the scrim (105) and toggle (110) */
    overflow-y: auto; /* scroll if links exceed viewport height */
  }
  /* show the brand lockup at the top of the open menu, filling the former empty gap */
  .nav-links .menu-brand {
    display: flex; align-items: center; gap: 8px; width: 100%;
    padding: 4px 0 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
    text-decoration: none;
  }
  .nav-links .menu-brand .logomark { width: 40px; height: 40px; flex: none; }
  .nav-links .menu-brand .logomark svg { width: 100%; height: 100%; }
  .nav-links .menu-brand .wordmark .nm { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--ink); line-height: 1.05; }
  .nav-links .menu-brand .wordmark .sub { display: block; font-family: var(--ui); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
  .nav-links a { font-size: 19px; padding-block: 10px; width: 100%; }
  .nav-links .menu-brand { padding-block: 4px 16px; } /* keep brand tighter than nav links */
  .nav-links a.btn { margin-top: 8px; text-align: center; justify-content: center; }
  .nav-links.is-open { transform: none; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 130; } /* stays tappable above the open panel */
  body.nav-open { overflow: hidden; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(42,36,51,.45); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); z-index: 105; }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  .booking-cards { grid-template-columns: 1fr; }
  .plans-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* About page: disable the desktop sticky sidebar on mobile so it can't overlap the prose */
  .bio-grid { grid-template-columns: 1fr; }
  .bio-aside { position: static; top: auto; }
  .bio-photo { max-width: 360px; }
}

/* =============================================================================
   INTERIOR PAGES — shared scaffolding
   ========================================================================== */

/* page hero (compact, for interior pages) */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-family: var(--display); font-weight: 560; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.015em; color: var(--ink); max-width: 18ch; }
.page-hero .lede { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink); opacity: .82; max-width: 56ch; }
.breadcrumb { font-family: var(--ui); font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }

/* long-form prose */
.prose { max-width: 68ch; }
.prose p { font-size: 18px; line-height: 1.7; color: var(--ink); opacity: .9; margin-bottom: 20px; }
.prose h2 { font-family: var(--display); font-weight: 560; font-size: clamp(24px, 3vw, 32px); margin: 38px 0 14px; color: var(--ink); }
.prose h3 { font-family: var(--display); font-weight: 560; font-size: 21px; margin: 26px 0 10px; color: var(--ink); }
.prose ul { margin: 0 0 20px 0; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 11px; font-size: 17px; line-height: 1.6; color: var(--ink); opacity: .9; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose strong { color: var(--ink); }

/* about layout */
.bio-grid { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.bio-aside { position: sticky; top: 96px; }
/* Stack the layout AND drop the sticky sidebar together at 860px, so the aside never
   pins-and-overlaps the prose in the 720–860px range. This media query MUST come AFTER
   the base sticky rule above, or equal specificity lets sticky win on mobile. */
@media (max-width: 860px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-aside { position: static; top: auto; margin-bottom: 8px; }
  .bio-photo { max-width: 380px; }
}
.bio-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 4/5; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.bio-facts { margin-top: 20px; background: var(--surface); border-radius: var(--radius); padding: 22px; font-family: var(--ui); }
.bio-facts h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.bio-facts dl { display: grid; grid-template-columns: 1fr; gap: 12px; }
.bio-facts dt { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.bio-facts dd { font-size: 16px; color: var(--ink); margin-top: 1px; }
.pub-list { margin-top: 24px; }
.pub-list h4 { font-family: var(--ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.pub-item { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; text-decoration: none; transition: border-color .15s var(--ease), transform .15s var(--ease); }
.pub-item:hover { border-color: var(--primary); transform: translateX(2px); }
.pub-item .t { display: block; font-family: var(--display); font-size: 17px; color: var(--ink); }
.pub-item .src { display: block; font-family: var(--ui); font-size: 13px; color: var(--muted); margin-top: 3px; }
.pub-item .src .newtab { opacity: .6; }

/* services list */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
@media (max-width: 720px) { .svc-list { grid-template-columns: 1fr; } }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.svc .ic { width: 28px; height: 28px; stroke: var(--primary); margin-bottom: 12px; }
.svc h3 { font-family: var(--display); font-weight: 560; font-size: 21px; color: var(--ink); }
.svc p { font-size: 15.5px; color: var(--ink); opacity: .8; margin-top: 8px; line-height: 1.55; }

/* deepened conditions (Services page) — editorial label + description rows */
.cond-detail { border-top: 1px solid var(--line); }
.cdrow { display: grid; grid-template-columns: 230px 1fr; gap: clamp(16px, 4vw, 48px); padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cdrow h3 { font-family: var(--display); font-weight: 560; font-size: 22px; color: var(--primary); line-height: 1.2; }
.cdrow p { font-size: 16.5px; line-height: 1.62; color: var(--ink); opacity: .88; }
@media (max-width: 700px) { .cdrow { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; } }

/* fees */
.fee-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
@media (max-width: 720px) { .fee-cards { grid-template-columns: 1fr; } }
.fee-card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: var(--paper); }
.fee-card.is-feature { border-color: var(--primary); }
.fee-card h3 { font-family: var(--display); font-weight: 560; font-size: 23px; color: var(--ink); }
.fee-card .price { font-family: var(--display); font-size: 34px; color: var(--primary); margin: 10px 0 4px; }
.fee-card .price small { font-size: 15px; color: var(--muted); font-family: var(--ui); }
.fee-card p { font-size: 15.5px; color: var(--ink); opacity: .82; margin-top: 8px; line-height: 1.55; }
.fee-card ul { list-style: none; margin-top: 16px; }
.fee-card li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); margin-bottom: 9px; }
.fee-card li svg { width: 17px; height: 17px; stroke: var(--accent-ink); flex: none; margin-top: 3px; }
.fee-card .btn { margin-top: 20px; }
.gfe-note { margin-top: 30px; background: var(--surface); border-radius: var(--radius); padding: 22px 26px; font-size: 15px; color: var(--ink); opacity: .9; line-height: 1.6; }
.gfe-note strong { color: var(--primary); }

/* FAQ accordion */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--display); font-size: 20px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 24px; height: 24px; position: relative; transition: transform .2s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; }
.faq summary .pm::before { top: 11px; left: 3px; right: 3px; height: 2px; }
.faq summary .pm::after { left: 11px; top: 3px; bottom: 3px; width: 2px; transition: transform .2s var(--ease); }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq details[open] summary { color: var(--primary); }
.faq .ans { padding: 0 0 24px; font-size: 16.5px; line-height: 1.65; color: var(--ink); opacity: .88; max-width: 64ch; }
.faq .ans a { color: var(--primary); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .row svg { width: 22px; height: 22px; stroke: var(--primary); flex: none; margin-top: 2px; }
.contact-info .row b { display: block; font-family: var(--ui); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-info .row a, .contact-info .row span { font-size: 18px; color: var(--ink); text-decoration: none; }
.contact-info .row a:hover { color: var(--primary); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); }
.form-card h2 { font-family: var(--display); font-weight: 560; font-size: 26px; color: var(--ink); margin-bottom: 6px; }
.form-field { margin-top: 18px; }
.form-field label { display: block; font-family: var(--ui); font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-field label .opt { color: var(--muted); font-weight: 400; }
.form-field input, .form-field textarea {
  width: 100%; font-family: var(--body); font-size: 16.5px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .15s var(--ease);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-disclaimer { margin-top: 18px; background: color-mix(in srgb, var(--primary) 7%, var(--paper)); border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 13.8px; line-height: 1.55; color: var(--ink); }
.form-disclaimer strong { color: var(--primary); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-card .btn { margin-top: 20px; width: 100%; justify-content: center; }
.form-status { margin-top: 14px; font-size: 15px; padding: 12px 14px; border-radius: var(--radius-sm); display: none; }
.form-status.ok { display: block; background: color-mix(in srgb, var(--accent-ink) 16%, var(--paper)); color: #3f4b35; border: 1px solid var(--accent-ink); }
.form-status.err { display: block; background: #fbeaea; color: #8a3232; border: 1px solid #d99; }

/* resources */
.res-list { max-width: 720px; }
.res-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.res-item .res-name { font-family: var(--display); font-size: 19px; color: var(--ink); flex: 1; }
.res-item .res-contact { font-family: var(--ui); font-size: 16px; color: var(--primary); text-align: right; }
.res-item .res-contact a { color: var(--primary); text-decoration: none; }
.res-item .res-sub { display: block; font-size: 13px; color: var(--muted); }
