/* ═══════════════════════════════════════════════════════════════════════════
   Universal Medical Group — "Quiet Luxury" design system  (style-v2.css)
   Near-monochrome · editorial typography · hairline detail · zero decoration.
   Display: Fraunces (optical serif).  Text: Inter.
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root{
  /* Paper & ink — warm, near-monochrome */
  --paper:#FBFAF7;        /* page background — warm white, never stark */
  --cloud:#F2F0EA;        /* alternating section tint */
  --ink:#1A1813;          /* primary text — warm near-black */
  --ink-2:#5B5750;        /* secondary text */
  --ink-3:#928D82;        /* tertiary / captions */
  --line:#E4E0D6;         /* hairline rules & borders */
  --deep:#0E2A3A;         /* dark sections — UMG navy, deepened for richness */
  --accent:#16756B;       /* the single accent — refined deep teal (UMG brand lineage) */
  --accent-soft:#E8F1EF;  /* pale teal wash for quiet fills */
  --maxw:1180px;
}

html{scroll-behavior:smooth;overflow-x:hidden;-webkit-text-size-adjust:100%;}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background:var(--paper);color:var(--ink);
  font-size:17px;line-height:1.72;font-weight:400;
  overflow-x:hidden;-webkit-font-smoothing:antialiased;
  font-feature-settings:'kern' 1,'liga' 1;
}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;height:auto;}

/* ── Typography ──────────────────────────────────────────────────────────── */
.display,h1,h2,h3{
  font-family:'Fraunces','Georgia',serif;
  font-weight:430;font-optical-sizing:auto;
  letter-spacing:-.018em;line-height:1.08;color:var(--ink);
}
h1{font-size:clamp(2.6rem,5.4vw,4.5rem);}
h2{font-size:clamp(1.9rem,3.4vw,2.9rem);line-height:1.12;}
h3{font-size:1.18rem;line-height:1.3;letter-spacing:-.01em;}
em{font-style:italic;}

/* Eyebrow — refined, restrained */
.eyebrow{
  font-family:'Inter',sans-serif;font-size:.72rem;font-weight:500;
  letter-spacing:.22em;text-transform:uppercase;color:var(--ink-3);
  margin-bottom:1.4rem;display:block;
}
.eyebrow.on-dark{color:rgba(255,255,255,.5);}

.lead{font-size:1.18rem;line-height:1.7;color:var(--ink-2);}
.measure{max-width:38rem;}

/* ── Layout primitives ───────────────────────────────────────────────────── */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 2rem;}
section{padding:7.5rem 0;}
.section-tint{background:var(--cloud);}
.section-deep{background:var(--deep);color:rgba(255,255,255,.82);}
.section-deep h1,.section-deep h2,.section-deep h3{color:#fff;}
.rule{height:1px;background:var(--line);border:0;}

/* ── Nav — solid, quiet, hairline base ───────────────────────────────────── */
nav#navbar{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:var(--paper);border-bottom:1px solid var(--line);
  transition:box-shadow .3s ease;
}
nav#navbar.scrolled{box-shadow:0 1px 24px rgba(26,24,19,.06);}
.nav-inner{
  max-width:var(--maxw);margin:0 auto;padding:0 2rem;height:78px;
  display:flex;align-items:center;justify-content:space-between;
}
.nav-logo{display:flex;align-items:center;flex-shrink:0;}
.logo-img,.nav-logo .logo-img{height:50px;width:auto;max-width:215px;object-fit:contain;}
.nav-links{display:flex;align-items:center;gap:.35rem;list-style:none;}
.nav-links a{
  font-size:.86rem;font-weight:450;color:var(--ink-2);
  padding:.5rem .7rem;letter-spacing:.005em;transition:color .2s ease;position:relative;
}
.nav-links a:hover{color:var(--ink);}
.nav-links a.active{color:var(--ink);}
.nav-links a.active::after{
  content:'';position:absolute;left:.7rem;right:.7rem;bottom:.1rem;
  height:1px;background:var(--accent);
}
.nav-login{color:var(--ink-2)!important;font-weight:450;}
.nav-book{
  margin-left:.6rem;background:var(--ink);color:var(--paper)!important;
  padding:.62rem 1.3rem!important;font-size:.84rem;font-weight:500;letter-spacing:.01em;
  border-radius:1px;transition:background .2s ease;
}
.nav-book:hover{background:var(--accent);}
.hamburger{display:none;background:none;border:0;cursor:pointer;padding:.4rem;
  flex-direction:column;gap:5px;}
.hamburger span{display:block;width:24px;height:1.5px;background:var(--ink);transition:.3s;}
.mob-menu{display:none;position:fixed;top:78px;left:0;right:0;z-index:999;
  background:var(--paper);border-bottom:1px solid var(--line);padding:1rem 2rem 1.6rem;}
.mob-menu.open{display:block;}
.mob-menu a{display:block;padding:.85rem 0;font-size:1rem;color:var(--ink-2);
  border-bottom:1px solid var(--line);}
.mob-menu a:last-child{border:0;}
.mob-book{margin-top:1rem;background:var(--ink);color:var(--paper)!important;
  text-align:center;padding:.9rem!important;border-radius:1px;font-weight:500;}
.scroll-progress{position:fixed;top:0;left:0;height:2px;background:var(--accent);
  z-index:1001;width:0;transition:width .1s linear;}

/* ── Buttons — sharp, restrained ─────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:'Inter',sans-serif;font-size:.9rem;font-weight:500;letter-spacing:.01em;
  padding:.95rem 1.7rem;border-radius:1px;border:1px solid transparent;
  cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.btn-primary{background:var(--ink);color:var(--paper);}
.btn-primary:hover{background:var(--accent);}
.btn-line{background:transparent;color:var(--ink);border-color:var(--ink);}
.btn-line:hover{background:var(--ink);color:var(--paper);}
.btn-line-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.4);}
.btn-line-light:hover{background:#fff;color:var(--deep);}
/* Text link with animated underline */
.link-arrow{
  display:inline-flex;align-items:center;gap:.4rem;font-weight:500;font-size:.92rem;
  color:var(--ink);border-bottom:1px solid var(--accent);padding-bottom:2px;
  transition:gap .2s ease;
}
.link-arrow:hover{gap:.7rem;}

/* ── Hero — editorial, light, type-forward ───────────────────────────────── */
.hero{
  padding:11rem 0 6rem;background:var(--paper);position:relative;
}
.hero-inner{max-width:var(--maxw);margin:0 auto;padding:0 2rem;
  display:grid;grid-template-columns:1.05fr .95fr;gap:5rem;align-items:center;}
.hero-kicker{
  display:inline-flex;align-items:center;gap:.6rem;font-size:.74rem;font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);margin-bottom:1.8rem;
}
.hero-kicker::before{content:'';width:1.6rem;height:1px;background:var(--accent);}
.hero h1{margin-bottom:1.6rem;}
.hero h1 em{color:var(--accent);font-weight:430;}
.hero-desc{font-size:1.16rem;line-height:1.66;color:var(--ink-2);
  margin-bottom:2rem;max-width:30rem;}
.hero-actions{display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap;}
.hero-figure{position:relative;}
.hero-figure img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:2px;
  filter:saturate(.92);}
.hero-figure figcaption{
  font-size:.78rem;color:var(--ink-3);margin-top:.85rem;letter-spacing:.01em;
  display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:.7rem;
}
.appt-disclaimer{font-size:.72rem;color:var(--ink-3);line-height:1.6;
  margin-top:1.4rem;max-width:34rem;}
.appt-disclaimer a{text-decoration:underline;}

/* ── Stat row — hairline-divided, no boxes ───────────────────────────────── */
.stat-row{
  max-width:var(--maxw);margin:5rem auto 0;padding:0 2rem;
  display:grid;grid-template-columns:repeat(5,1fr);
}
.stat{padding:1.6rem 1.2rem;border-left:1px solid var(--line);}
.stat:first-child{border-left:0;padding-left:0;}
.hstat-n,.stat-n{font-family:'Fraunces',serif;font-size:2.6rem;font-weight:400;
  line-height:1;color:var(--ink);letter-spacing:-.02em;}
.hstat-l,.stat-l{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-3);margin-top:.6rem;}

/* ── Editorial two-column block ──────────────────────────────────────────── */
.split{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;}
.split-wide{grid-template-columns:1.15fr .85fr;}
.feature-list{list-style:none;margin-top:1.8rem;border-top:1px solid var(--line);}
.feature-list li{
  padding:1.05rem 0;border-bottom:1px solid var(--line);
  display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:baseline;
}
.feature-list .fl-k{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;
  color:var(--accent);font-weight:600;}
.feature-list .fl-v{font-size:.96rem;color:var(--ink-2);}
.figure-plain img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:2px;
  filter:saturate(.92);}
.figure-plain figcaption{font-size:.78rem;color:var(--ink-3);margin-top:.8rem;
  border-top:1px solid var(--line);padding-top:.7rem;}

/* ── Index list — conditions / services as an editorial index, not cards ─── */
.index-list{border-top:1px solid var(--line);margin-top:2.6rem;}
.index-row{
  display:grid;grid-template-columns:2.2rem 1fr auto auto;gap:1.6rem;align-items:baseline;
  padding:1.7rem 0;border-bottom:1px solid var(--line);
  transition:background .2s ease;
}
a.index-row:hover{background:var(--accent-soft);}
.index-num{font-family:'Fraunces',serif;font-size:.95rem;color:var(--ink-3);}
.index-row h3{margin-bottom:.3rem;}
.index-row p{font-size:.92rem;color:var(--ink-2);max-width:46rem;line-height:1.6;}
.index-meta{font-size:.74rem;letter-spacing:.09em;text-transform:uppercase;
  color:var(--ink-3);white-space:nowrap;}
.index-row .ix-arrow{align-self:center;color:var(--ink-3);transition:transform .2s ease,color .2s ease;}
a.index-row:hover .ix-arrow{color:var(--accent);transform:translateX(4px);}

/* ── Location entries — hairline editorial ───────────────────────────────── */
.loc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 4rem;
  border-top:1px solid var(--line);margin-top:2.6rem;}
.loc{padding:2.1rem 0;border-bottom:1px solid var(--line);}
.loc h3{margin-bottom:.5rem;}
.loc-addr{font-size:.92rem;color:var(--ink-2);line-height:1.65;}
.loc-tag{font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;
  color:var(--accent);margin-top:.7rem;display:block;}

/* ── Quote / testimonial — single editorial pull-quote style ─────────────── */
.quote-block{max-width:46rem;}
.quote-block blockquote{
  font-family:'Fraunces',serif;font-size:clamp(1.5rem,2.5vw,2.1rem);
  line-height:1.32;font-weight:400;letter-spacing:-.012em;color:var(--ink);
  font-style:italic;
}
.section-deep .quote-block blockquote{color:#fff;}
.quote-cite{margin-top:1.6rem;font-size:.82rem;letter-spacing:.06em;
  text-transform:uppercase;color:var(--ink-3);}

/* ── FAQ — hairline accordion ────────────────────────────────────────────── */
.faq{border-top:1px solid var(--line);margin-top:2.4rem;}
.faq-item{border-bottom:1px solid var(--line);}
.faq-q{
  width:100%;background:none;border:0;cursor:pointer;font-family:'Inter',sans-serif;
  text-align:left;padding:1.5rem 0;display:flex;justify-content:space-between;gap:2rem;
  font-size:1.04rem;font-weight:500;color:var(--ink);
}
.faq-arrow{color:var(--accent);transition:transform .3s ease;flex-shrink:0;font-size:1.2rem;}
.faq-q.open .faq-arrow{transform:rotate(45deg);}
.faq-a{display:none;padding:0 0 1.6rem;font-size:.98rem;color:var(--ink-2);
  line-height:1.74;max-width:48rem;}
.faq-a.open{display:block;}

/* ── Footer — quiet, deep ────────────────────────────────────────────────── */
footer{background:var(--deep);color:rgba(255,255,255,.55);padding:5rem 0 2.4rem;}
.footer-inner{max-width:var(--maxw);margin:0 auto;padding:0 2rem;}
.emergency{border:1px solid rgba(255,255,255,.14);padding:.9rem 1.3rem;
  margin-bottom:3rem;font-size:.82rem;color:rgba(255,255,255,.62);text-align:center;}
.emergency a{color:#fff;text-decoration:underline;}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1.3fr;gap:3rem;
  padding-bottom:2.6rem;border-bottom:1px solid rgba(255,255,255,.12);}
.footer-brand p{font-size:.86rem;line-height:1.7;color:rgba(255,255,255,.42);
  margin-top:1rem;max-width:17rem;}
.fc h4{color:#fff;font-size:.72rem;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;margin-bottom:1.1rem;}
.fc ul{list-style:none;display:grid;gap:.6rem;}
.fc a{font-size:.88rem;color:rgba(255,255,255,.5);transition:color .2s ease;}
.fc a:hover{color:#fff;}
.footer-bottom{padding-top:1.8rem;display:flex;justify-content:space-between;
  flex-wrap:wrap;gap:.6rem;font-size:.78rem;color:rgba(255,255,255,.4);}
.footer-bottom a{color:rgba(255,255,255,.55);text-decoration:underline;}

/* ── Trust strip ─────────────────────────────────────────────────────────── */
.trust-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  background:var(--paper);}
.trust-strip .wrap{display:flex;flex-wrap:wrap;gap:2.4rem;justify-content:center;
  padding-top:1.4rem;padding-bottom:1.4rem;}
.trust-item{font-size:.8rem;letter-spacing:.04em;color:var(--ink-2);}
.trust-item strong{color:var(--ink);font-weight:600;}

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
/* Scroll-reveal is an enhancement only — without JS, .fadein content stays visible. */
.fadein{transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1);}
.js .fadein{opacity:0;transform:translateY(22px);}
.js .fadein.visible{opacity:1;transform:none;}
@media(prefers-reduced-motion:reduce){.js .fadein{opacity:1;transform:none;transition:none;}}

/* ── Maya chat — minimal restyle (keeps nav.js/maya.js hooks intact) ─────── */
.maya-btn{position:fixed;bottom:1.6rem;right:1.6rem;z-index:9000;width:54px;height:54px;
  background:var(--ink);border:0;border-radius:50%;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background .2s ease;}
.maya-btn:hover{background:var(--accent);}
.maya-btn img{width:30px;height:30px;border-radius:50%;}
.maya-dot{position:absolute;top:3px;right:3px;width:11px;height:11px;background:var(--accent);
  border-radius:50%;border:2px solid var(--paper);}
.maya-win{position:fixed;bottom:5.6rem;right:1.6rem;z-index:9000;width:368px;
  background:var(--paper);border:1px solid var(--line);border-radius:3px;
  box-shadow:0 24px 70px rgba(26,24,19,.18);display:none;flex-direction:column;
  overflow:hidden;max-height:560px;}
.maya-win.open{display:flex;}
.maya-head{background:var(--deep);padding:1rem 1.1rem;display:flex;align-items:center;gap:.7rem;}
.maya-ava{width:38px;height:38px;border-radius:50%;overflow:hidden;flex-shrink:0;}
.maya-ava img{width:100%;height:100%;object-fit:cover;}
.maya-head-name{font-size:.9rem;font-weight:600;color:#fff;}
.maya-status{font-size:.7rem;color:rgba(255,255,255,.55);display:flex;align-items:center;gap:.3rem;}
.online-dot{width:5px;height:5px;background:var(--accent);border-radius:50%;}
.maya-x{background:none;border:0;color:rgba(255,255,255,.5);cursor:pointer;
  font-size:1rem;margin-left:auto;}
.maya-msgs{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;
  gap:.7rem;min-height:160px;max-height:320px;}
.mmsg{max-width:86%;}
.mmsg.user{align-self:flex-end;}
.mmsg.bot,.mmsg.crisis{align-self:flex-start;}
.mbub{padding:.6rem .85rem;border-radius:3px;font-size:.88rem;line-height:1.55;}
.mmsg.bot .mbub{background:var(--cloud);color:var(--ink);}
.mmsg.user .mbub{background:var(--ink);color:var(--paper);}
.mmsg.crisis .mbub{background:#FBEEEC;border:1px solid #E4C4BE;color:#7A2E22;}
.mtime{font-size:.66rem;color:var(--ink-3);padding:.2rem .2rem 0;}
.mmsg.user .mtime{text-align:right;}
.maya-qr{padding:.2rem .8rem .5rem;display:flex;gap:.4rem;flex-wrap:wrap;}
.qr-btn,.intake-chip{background:none;border:1px solid var(--line);color:var(--ink-2);
  padding:.35rem .8rem;border-radius:2px;font-size:.78rem;cursor:pointer;
  font-family:inherit;transition:border-color .2s ease,color .2s ease;}
.qr-btn:hover,.intake-chip:hover{border-color:var(--accent);color:var(--accent);}
.maya-input{padding:.7rem .85rem;border-top:1px solid var(--line);display:flex;
  gap:.5rem;align-items:flex-end;}
.maya-in{flex:1;border:1px solid var(--line);border-radius:2px;padding:.55rem .7rem;
  font-size:.86rem;font-family:inherit;outline:none;resize:none;max-height:76px;background:var(--paper);}
.maya-in:focus{border-color:var(--accent);}
.maya-send{width:34px;height:34px;background:var(--ink);border:0;border-radius:2px;
  color:var(--paper);cursor:pointer;flex-shrink:0;}
.maya-typing{display:flex;gap:.25rem;padding:.6rem .85rem;background:var(--cloud);
  border-radius:3px;width:fit-content;}
.mtyp-dot{width:5px;height:5px;background:var(--ink-3);border-radius:50%;
  animation:mtyp 1.2s infinite;}
.mtyp-dot:nth-child(2){animation-delay:.2s;}
.mtyp-dot:nth-child(3){animation-delay:.4s;}
@keyframes mtyp{0%,60%,100%{transform:translateY(0);opacity:.5;}30%{transform:translateY(-4px);opacity:1;}}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media(max-width:1000px){
  .hero-inner,.split,.split-wide{grid-template-columns:1fr;gap:3rem;}
  .hero-figure{order:-1;}
  .hero-figure img{aspect-ratio:16/10;}
  .loc-grid{grid-template-columns:1fr;gap:0;}
  .footer-top{grid-template-columns:1fr 1fr;gap:2rem;}
  .nav-links{display:none;}.nav-book{display:none;}
  .hamburger{display:flex;}
}
@media(max-width:680px){
  body{font-size:16px;}
  section{padding:4.8rem 0;}
  .hero{padding:8.5rem 0 4rem;}
  .wrap,.nav-inner,.hero-inner,.stat-row,.footer-inner{padding-left:1.4rem;padding-right:1.4rem;}
  .stat-row{grid-template-columns:1fr 1fr;}
  .stat{border-left:0;border-top:1px solid var(--line);padding:1.2rem .2rem;}
  .stat:first-child{border-top:0;}
  .stat:nth-child(2){border-top:0;}
  .index-row{grid-template-columns:auto 1fr;gap:1rem;}
  .index-row .index-meta,.index-row .ix-arrow{display:none;}
  .footer-top{grid-template-columns:1fr;}
  .maya-win{width:calc(100vw - 1.2rem);right:.6rem;}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Lead capture & confirmation modal — quiet-luxury form primitives
   Extends the system: hairline borders, sharp 1px radius, the single accent.
   ═══════════════════════════════════════════════════════════════════════════ */
.lead-layout{display:grid;grid-template-columns:.92fr 1.08fr;gap:4.5rem;align-items:start;}
.lead-intro h2{margin-bottom:1.1rem;}
.lead-intro .lead-note{font-size:1.05rem;line-height:1.7;color:var(--ink-2);max-width:23rem;}
.lead-intro .lead-fine{margin-top:1.7rem;padding-top:1.4rem;border-top:1px solid var(--line);
  font-size:.84rem;line-height:1.7;color:var(--ink-3);max-width:23rem;}

.lead-card{background:var(--paper);border:1px solid var(--line);border-radius:3px;padding:2.5rem;}
.lead-form{display:grid;gap:1.3rem;}
.lead-row{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem;}
.lead-field{display:flex;flex-direction:column;gap:.5rem;}
.lead-field label{font-size:.71rem;font-weight:600;letter-spacing:.09em;
  text-transform:uppercase;color:var(--ink-2);}
.lead-field .req{color:var(--accent);}
.lead-field .opt{font-weight:400;letter-spacing:.02em;text-transform:none;color:var(--ink-3);}
.lead-field input,.lead-field select,.lead-field textarea{
  font-family:'Inter',sans-serif;font-size:.94rem;color:var(--ink);background:var(--paper);
  border:1px solid var(--line);border-radius:1px;padding:.78rem .85rem;width:100%;line-height:1.4;
  transition:border-color .2s ease;}
.lead-field input:focus,.lead-field select:focus,.lead-field textarea:focus{
  border-color:var(--accent);}
.lead-field input::placeholder,.lead-field textarea::placeholder{color:var(--ink-3);}
.lead-field.has-error input,.lead-field.has-error select,
.lead-field input.error,.lead-field select.error{border-color:#A8443A;}
.field-note{font-size:.73rem;color:var(--ink-3);line-height:1.5;}
.error-msg{display:none;color:#A8443A;font-size:.73rem;}
.lead-or{display:flex;align-items:center;gap:1rem;font-size:.69rem;letter-spacing:.18em;
  text-transform:uppercase;color:var(--ink-3);}
.lead-or::before,.lead-or::after{content:'';flex:1;height:1px;background:var(--line);}

.captcha-box{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  background:var(--cloud);border:1px solid var(--line);border-radius:2px;padding:.95rem 1.05rem;}
.captcha-math{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;}
.captcha-math p{font-size:.9rem;color:var(--ink-2);}
.captcha-math strong{color:var(--ink);font-weight:600;}
.captcha-math input{width:66px;font-family:'Inter',sans-serif;font-size:.92rem;color:var(--ink);
  background:var(--paper);border:1px solid var(--line);border-radius:1px;padding:.45rem .5rem;}
.captcha-math input:focus{border-color:var(--accent);}
.captcha-math input.error{border-color:#A8443A;}
.captcha-label{font-size:.68rem;letter-spacing:.07em;text-transform:uppercase;
  color:var(--ink-3);text-align:right;line-height:1.6;}
.captcha-label strong{display:block;color:var(--ink-2);font-weight:600;}

.lead-submit{width:100%;background:var(--ink);color:var(--paper);font-family:'Inter',sans-serif;
  font-size:.92rem;font-weight:500;letter-spacing:.01em;border:0;border-radius:1px;
  padding:1.02rem 1.4rem;cursor:pointer;transition:background .2s ease;}
.lead-submit:hover{background:var(--accent);}
.lead-legal{font-size:.71rem;color:var(--ink-3);line-height:1.65;}

.lead-success{display:none;}
.lead-success .ls-mark{width:2rem;height:1px;background:var(--accent);margin-bottom:1.4rem;}
.lead-success h3{font-size:1.5rem;margin-bottom:.7rem;}
.lead-success p{font-size:.96rem;color:var(--ink-2);line-height:1.72;}
.lead-success a{border-bottom:1px solid var(--accent);}

.confirm-backdrop{position:fixed;inset:0;z-index:9500;background:rgba(14,42,58,.55);
  display:none;align-items:center;justify-content:center;padding:1.5rem;}
.confirm-backdrop.open{display:flex;}
.confirm-modal{background:var(--paper);border:1px solid var(--line);border-radius:3px;
  width:100%;max-width:30rem;padding:2.4rem;box-shadow:0 30px 80px rgba(14,42,58,.3);}
.confirm-modal h3{font-size:1.5rem;margin-bottom:.5rem;}
.cm-sub{font-size:.9rem;color:var(--ink-2);margin-bottom:1.7rem;}
.cm-summary{border-top:1px solid var(--line);margin-bottom:1.8rem;}
.cm-row{display:flex;justify-content:space-between;gap:1.5rem;padding:.82rem 0;
  border-bottom:1px solid var(--line);}
.cm-key{font-size:.7rem;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3);flex-shrink:0;}
.cm-val{font-size:.92rem;color:var(--ink);text-align:right;}
.cm-btns{display:flex;gap:.8rem;}
.cm-cancel,.cm-confirm{flex:1;font-family:'Inter',sans-serif;font-size:.87rem;font-weight:500;
  padding:.88rem 1rem;border-radius:1px;cursor:pointer;
  transition:background .2s ease,color .2s ease,border-color .2s ease;}
.cm-cancel{background:transparent;border:1px solid var(--line);color:var(--ink-2);}
.cm-cancel:hover{border-color:var(--ink);color:var(--ink);}
.cm-confirm{background:var(--ink);border:1px solid var(--ink);color:var(--paper);}
.cm-confirm:hover{background:var(--accent);border-color:var(--accent);}

@media(max-width:1000px){
  .lead-layout{grid-template-columns:1fr;gap:2.8rem;}
  .lead-intro .lead-note,.lead-intro .lead-fine{max-width:none;}
}
@media(max-width:680px){
  .lead-card{padding:1.6rem;}
  .lead-row{grid-template-columns:1fr;}
  .captcha-box{flex-direction:column;align-items:flex-start;gap:.75rem;}
  .captcha-label{text-align:left;}
  .cm-btns{flex-direction:column;}
  .confirm-modal{padding:1.7rem;}
}

/* ── Patient voices · prose · footer wordmark — system completions ───────────── */
.voices{display:grid;grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);margin-top:2.8rem;}
.voice{padding:2.3rem 1.8rem 0;border-left:1px solid var(--line);}
.voice:first-child{border-left:0;padding-left:0;}
.voice blockquote{font-family:'Fraunces','Georgia',serif;font-size:1.16rem;
  line-height:1.46;font-style:italic;font-weight:400;color:var(--ink);letter-spacing:-.008em;}
.voice .quote-cite{margin-top:1.2rem;}

.faq-a a{color:var(--accent);border-bottom:1px solid var(--accent);}
.loc .link-arrow{margin-top:1.1rem;}

.about-entity{border-top:1px solid var(--line);margin-top:3.4rem;padding-top:2.8rem;}
.about-entity .eyebrow{margin-bottom:1rem;}
.about-entity p{font-size:.95rem;line-height:1.8;color:var(--ink-2);max-width:52rem;}
.about-entity strong{color:var(--ink);font-weight:600;}

.footer-wordmark{display:inline-block;font-family:'Fraunces','Georgia',serif;
  font-size:1.34rem;font-weight:430;color:#fff;letter-spacing:-.01em;}

@media(max-width:780px){
  .voices{grid-template-columns:1fr;}
  .voice{border-left:0;padding:2.1rem 0 0;}
  .voice:first-child{padding-top:0;}
}

/* ── Nav fit — all nine links + Book on one line, with its own breakpoint ──── */
.logo-img,.nav-logo .logo-img{height:58px;max-width:215px;}
.nav-links{gap:.06rem;}
.nav-links a{font-size:.8rem;padding:.5rem .5rem;letter-spacing:0;}
.nav-book{margin-left:.45rem;padding:.58rem 1rem!important;font-size:.8rem;}
@media(max-width:1200px){
  .nav-links,.nav-book{display:none;}
  .hamburger{display:flex;}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Award-winning polish — accessibility · focus · motion · typography
   ═══════════════════════════════════════════════════════════════════════════ */
html{color-scheme:light;}
*{-webkit-tap-highlight-color:transparent;}
body{touch-action:manipulation;}

/* Designed focus ring for keyboard users — no ring on mouse click */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,[tabindex]:focus-visible{
  outline:2px solid var(--accent);outline-offset:3px;
}
.lead-field input:focus-visible,.lead-field select:focus-visible,
.lead-field textarea:focus-visible,.captcha-math input:focus-visible{outline-offset:1px;}

/* Anchored sections clear the fixed navbar */
[id]{scroll-margin-top:6rem;}

/* Balance headings, soften paragraph rag */
h1,h2,h3{text-wrap:balance;}
.lead,.hero-desc,.index-row p,.faq-a,.measure,.lead-note{text-wrap:pretty;}

/* FAQ question hover affordance */
.faq-q:hover{color:var(--accent);}

/* Contain scroll-chaining inside the chat + modal */
.maya-msgs,.confirm-backdrop{overscroll-behavior:contain;}

/* Skip-to-content link — visible only on keyboard focus */
.skip-link{position:fixed;left:1rem;top:-4rem;z-index:2000;background:var(--ink);
  color:var(--paper);padding:.7rem 1.1rem;border-radius:1px;font-size:.85rem;
  font-weight:500;transition:top .2s ease;}
.skip-link:focus{top:1rem;}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .mtyp-dot{animation:none;}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Considered motion — the Aman / Four Seasons elevation (Phase 1)
   Slow, restrained: a staggered hero entrance and a barely-there Ken Burns
   drift on imagery. CSS-only; reduced-motion fully respected.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero — slow staggered load reveal */
@keyframes umgRise{from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:none;}}
.hero .hero-kicker,.hero h1,.hero .hero-desc,.hero .hero-actions,
.hero .appt-disclaimer,.hero .hero-figure,.hero .stat{
  animation:umgRise 1s cubic-bezier(.2,.7,.2,1) both;
}
.hero h1{animation-delay:.09s;}
.hero .hero-figure{animation-delay:.14s;}
.hero .hero-desc{animation-delay:.20s;}
.hero .hero-actions{animation-delay:.31s;}
.hero .appt-disclaimer{animation-delay:.40s;}
.hero .stat:nth-child(1){animation-delay:.46s;}
.hero .stat:nth-child(2){animation-delay:.53s;}
.hero .stat:nth-child(3){animation-delay:.60s;}
.hero .stat:nth-child(4){animation-delay:.67s;}
.hero .stat:nth-child(5){animation-delay:.74s;}

/* Ken Burns — a barely-perceptible continuous drift on framed imagery */
.kb{overflow:hidden;border-radius:2px;}
.kb img{animation:umgKenBurns 30s ease-in-out infinite alternate;}
@keyframes umgKenBurns{from{transform:scale(1.005);}to{transform:scale(1.066);}}

/* Refined interaction timing — slower, more deliberate */
.btn,.nav-book{transition:background .3s ease,color .3s ease,border-color .3s ease;}
.nav-links a{transition:color .3s ease;}
.link-arrow{transition:gap .3s cubic-bezier(.2,.7,.2,1);}
a.index-row{transition:background .35s ease;}
.index-row .ix-arrow{transition:transform .3s cubic-bezier(.2,.7,.2,1),color .3s ease;}

@media(prefers-reduced-motion:reduce){
  .hero .hero-kicker,.hero h1,.hero .hero-desc,.hero .hero-actions,
  .hero .appt-disclaimer,.hero .hero-figure,.hero .stat{animation:none;}
  .kb img{animation:none;}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Provider plate — a typographic credential card in place of a portrait.
   providers.html has no clinician headshots; a monogram set in Fraunces reads
   as a considered editorial mark rather than as filler imagery.
   ═══════════════════════════════════════════════════════════════════════════ */
.provider-plate{
  aspect-ratio:4/5;border:1px solid var(--line);background:var(--paper);
  border-radius:2px;padding:2.6rem;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
}
.pp-mono{
  font-family:'Fraunces','Georgia',serif;font-weight:400;
  font-size:clamp(3.4rem,7.5vw,5.4rem);line-height:1;
  letter-spacing:.05em;color:var(--ink);
}
.pp-rule{width:2.1rem;height:1px;background:var(--accent);margin:1.5rem 0 1.4rem;}
.pp-role{
  font-family:'Fraunces','Georgia',serif;font-size:1.1rem;font-weight:430;
  color:var(--ink);letter-spacing:-.008em;line-height:1.32;
}
.pp-cred{
  font-size:.68rem;font-weight:500;letter-spacing:.15em;text-transform:uppercase;
  color:var(--ink-3);margin-top:.7rem;line-height:1.6;
}
@media(max-width:1000px){
  .provider-plate{aspect-ratio:16/10;}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Map frame — a hairline-framed Google Map embed for the location pages.
   ═══════════════════════════════════════════════════════════════════════════ */
.map-frame{
  border:1px solid var(--line);border-radius:2px;overflow:hidden;
  aspect-ratio:4/3;background:var(--cloud);
}
.map-frame iframe{width:100%;height:100%;border:0;display:block;}
@media(max-width:1000px){
  .map-frame{aspect-ratio:16/11;}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Article — the editorial long-form layout for the clinical blog posts.
   One measured column: Fraunces headings, Inter body, hairline detail.
   ═══════════════════════════════════════════════════════════════════════════ */
.article{max-width:42rem;margin:0 auto;padding:9rem 2rem 0;}
.article-back{
  display:inline-block;font-size:.8rem;letter-spacing:.03em;color:var(--ink-3);
  margin-bottom:2.6rem;transition:color .2s ease;
}
.article-back:hover{color:var(--accent);}
.article-kicker{
  font-size:.72rem;font-weight:500;letter-spacing:.22em;text-transform:uppercase;
  color:var(--accent);display:block;margin-bottom:1.1rem;
}
.article h1{font-size:clamp(2rem,3.8vw,3rem);margin-bottom:1.4rem;}
.article-standfirst{font-size:1.2rem;line-height:1.6;color:var(--ink-2);}
.article-byline{
  display:flex;flex-wrap:wrap;gap:.35rem 1.3rem;margin-top:1.8rem;
  padding:1rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  font-size:.77rem;letter-spacing:.04em;color:var(--ink-3);
}
.article-byline .by-name{color:var(--ink);font-weight:500;}
.article-figure{margin:2.6rem 0;}
.article-figure img{width:100%;border-radius:2px;filter:saturate(.92);}
.article-figure figcaption{font-size:.77rem;color:var(--ink-3);margin-top:.7rem;}

.article-body{margin-top:2.4rem;}
.article-body > * + *{margin-top:1.35rem;}
.article-body h2{font-size:1.5rem;line-height:1.22;margin-top:2.9rem;letter-spacing:-.012em;}
.article-body h3{font-size:1.14rem;margin-top:2.1rem;}
.article-body p{color:var(--ink-2);font-size:1.05rem;line-height:1.78;}
.article-body strong{color:var(--ink);font-weight:600;}
.article-body a{color:var(--accent);border-bottom:1px solid var(--accent);}
.article-body ul,.article-body ol{padding-left:1.35rem;}
.article-body li{color:var(--ink-2);font-size:1.05rem;line-height:1.7;margin-top:.5rem;}
.article-body li::marker{color:var(--accent);}
.article-body blockquote{
  font-family:'Fraunces','Georgia',serif;font-size:1.3rem;line-height:1.4;
  font-style:italic;color:var(--ink);border-left:2px solid var(--accent);
  padding-left:1.5rem;margin:2.6rem 0;
}

/* Callout — a quiet highlighted aside within an article */
.callout{
  background:var(--cloud);border:1px solid var(--line);border-radius:2px;
  padding:1.5rem 1.7rem;margin:2.6rem 0;
}
.callout p{font-size:.97rem;line-height:1.72;color:var(--ink-2);}
.callout strong{color:var(--ink);font-weight:600;}

/* Author bio — the E-E-A-T credibility block */
.author-bio{
  display:grid;grid-template-columns:auto 1fr;gap:1.6rem;align-items:start;
  border-top:1px solid var(--line);margin-top:3.4rem;padding-top:2.4rem;
}
.author-bio .ab-mono{
  font-family:'Fraunces','Georgia',serif;font-size:1.5rem;color:var(--accent);
  width:4rem;height:4rem;flex-shrink:0;border:1px solid var(--line);border-radius:2px;
  display:flex;align-items:center;justify-content:center;letter-spacing:.04em;
}
.author-bio .ab-name{font-family:'Fraunces','Georgia',serif;font-size:1.16rem;color:var(--ink);}
.author-bio .ab-cred{font-size:.71rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--ink-3);margin-top:.4rem;display:block;}
.author-bio .ab-text{font-size:.92rem;line-height:1.72;color:var(--ink-2);margin-top:.95rem;}
.author-bio .ab-link{font-size:.82rem;color:var(--accent);
  border-bottom:1px solid var(--accent);margin-top:.95rem;display:inline-block;}
@media(max-width:680px){
  .article{padding-top:7rem;}
  .author-bio{grid-template-columns:1fr;gap:1rem;}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Line illustrations — hand-drawn neural SVG line art that sketches itself
   on as it scrolls into view (the draw-on logic lives in nav.js).
   ═══════════════════════════════════════════════════════════════════════════ */
.ill{display:block;width:100%;max-width:360px;height:auto;margin:0 auto;}
.ill-fig{margin:0;}
.ill .ac{fill:var(--accent);stroke:none;}
.ill .acs{stroke:var(--accent);fill:none;}
.section-deep .ill .ac{fill:#5FC3B6;}
.section-deep .ill .acs{stroke:#5FC3B6;}
/* synapse — a neurotransmitter crossing the cleft, once the diagram has drawn */
@keyframes umgNtDrift{
  0%{transform:translateY(0);opacity:0;}
  14%{opacity:1;}
  68%{opacity:1;}
  100%{transform:translateY(27px);opacity:0;}
}
.ill .nt-move{opacity:0;}
.ill.is-drawn .nt-move{animation:umgNtDrift 4s cubic-bezier(.4,.1,.3,1) infinite;}
@media(prefers-reduced-motion:reduce){
  .ill .nt-move{opacity:1;}
  .ill.is-drawn .nt-move{animation:none;}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Dark sections — content components made legible on the navy background.
   Many components hard-code ink colors; these scoped overrides give the
   .section-deep variant a proper light treatment (text, accents, hairlines).
   ═══════════════════════════════════════════════════════════════════════════ */
.section-deep .eyebrow{color:rgba(255,255,255,.52);}
.section-deep .lead{color:rgba(255,255,255,.84);}
.section-deep .appt-disclaimer{color:rgba(255,255,255,.5);}
.section-deep .appt-disclaimer a,
.section-deep .faq-a a{color:#5FC3B6;border-bottom-color:#5FC3B6;}
.section-deep .link-arrow{color:rgba(255,255,255,.82);}
.section-deep .stat-n,.section-deep .hstat-n{color:#fff;}
.section-deep .stat-l,.section-deep .hstat-l{color:rgba(255,255,255,.52);}
.section-deep .stat{border-color:rgba(255,255,255,.16);}
.section-deep .feature-list,
.section-deep .feature-list li{border-color:rgba(255,255,255,.16);}
.section-deep .feature-list .fl-k{color:#5FC3B6;}
.section-deep .feature-list .fl-v{color:rgba(255,255,255,.82);}
.section-deep .index-list,
.section-deep .index-row{border-color:rgba(255,255,255,.16);}
.section-deep .index-num,
.section-deep .index-meta,
.section-deep .index-row .ix-arrow{color:rgba(255,255,255,.52);}
.section-deep .index-row p{color:rgba(255,255,255,.82);}
.section-deep a.index-row:hover{background:rgba(255,255,255,.06);}
.section-deep a.index-row:hover .ix-arrow{color:#5FC3B6;}
.section-deep .loc-grid,
.section-deep .loc{border-color:rgba(255,255,255,.16);}
.section-deep .loc-addr{color:rgba(255,255,255,.82);}
.section-deep .loc-tag{color:#5FC3B6;}
.section-deep .faq,
.section-deep .faq-item{border-color:rgba(255,255,255,.16);}
.section-deep .faq-q{color:#fff;}
.section-deep .faq-q:hover{color:#5FC3B6;}
.section-deep .faq-arrow{color:#5FC3B6;}
.section-deep .faq-a{color:rgba(255,255,255,.78);}

/* ═══════════════════════════════════════════════════════════════════════════
   Top nav — animated underline on hover, matching the active-state underline.
   The default ::after is invisible (scaleX 0); hover and .active scale it to 1.
   ═══════════════════════════════════════════════════════════════════════════ */
.nav-links a::after{
  content:'';position:absolute;left:.7rem;right:.7rem;bottom:.1rem;
  height:1px;background:var(--accent);
  transform:scaleX(0);transform-origin:left center;
  transition:transform .28s cubic-bezier(.4,.2,.2,1);
}
.nav-links a:hover::after,
.nav-links a.active::after{transform:scaleX(1);}
@media(prefers-reduced-motion:reduce){.nav-links a::after{transition:none;}}
.mob-menu a.active{color:var(--accent);}

/* ═══════════════════════════════════════════════════════════════════════════
   Location sub-nav — quickly switch between the four clinics. Sits directly
   under the fixed main nav on the four location pages.
   ═══════════════════════════════════════════════════════════════════════════ */
.loc-subnav{background:var(--paper);border-bottom:1px solid var(--line);margin-top:78px;}
.loc-subnav-inner{max-width:var(--maxw);margin:0 auto;padding:.95rem 2rem;
  display:flex;gap:1.8rem;align-items:center;flex-wrap:wrap;
  font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;}
.loc-subnav a{color:var(--ink-3);transition:color .25s ease;position:relative;padding:.3rem 0;}
.loc-subnav a:hover{color:var(--ink);}
.loc-subnav a.active{color:var(--accent);}
.loc-subnav a.active::after{content:'';position:absolute;left:0;right:0;bottom:-.45rem;
  height:1px;background:var(--accent);}
.loc-subnav .loc-subnav-all{margin-left:auto;color:var(--ink-2);letter-spacing:.08em;}
.loc-subnav .loc-subnav-all:hover{color:var(--accent);}
.loc-subnav + main .hero{padding-top:4rem;}
@media(max-width:680px){
  .loc-subnav-inner{padding:.75rem 1.4rem;gap:1rem;font-size:.68rem;letter-spacing:.1em;}
  .loc-subnav .loc-subnav-all{width:100%;margin-left:0;margin-top:.3rem;}
  .loc-subnav + main .hero{padding-top:2.6rem;}
}
