/*
Theme Name: Matthew Sachs, MD
Theme URI: https://matthewsachsmd.com/
Author: Marc
Description: The matthewsachsmd.com design, built so the practice can change every sentence and photograph from Edit Website without touching the layout. Blog posts and extra pages use the normal WordPress editor.
Version: 3.1.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: matthewsachs
*/

:root{
  /* Brand colours sampled from the practice logo */
  --cyan:#03AED1;          /* logo cyan        */
  --brand:#67429E;         /* logo deep purple */
  --brand-deep:#4B2F76;    /* darker, for text and hovers */
  --brand-lite:#A083C6;    /* logo light purple */
  --accent:#BE03BB;        /* logo magenta - used sparingly */
  --accent-deep:#96038F;
  --accent-soft:#FBE9FA;
  --cyan-deep:#0280A0;     /* readable cyan for text */

  /* Neutrals, biased violet so they sit under the brand */
  --ink:#1A1430;
  --ink-deep:#120C22;   /* footer, so it reads as its own band under the dark CTA */
  --ink-soft:#3D3357;
  --muted:#6B6382;
  --line:#DCE4EA;
  --line-soft:#EDF2F6;
  --paper:#FDFEFF;
  --wash:#E9F2F7;        /* band tint, pulled down from the logo cyan rather than a stock blue */
  --wash-violet:#F4F0FA;

  --amber:#9A6414;         /* semantic: notices only */
  --amber-bg:#FBF3E4;

  /* Type - Archivo echoes the squared Bank Gothic logo,
     Michroma is the direct logo callback at label sizes,
     body runs on Segoe UI so it matches his letterhead on Windows */
  --display:"Archivo","Segoe UI",system-ui,-apple-system,sans-serif;
  --body:"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --label:"Archivo","Segoe UI",system-ui,sans-serif;
  --logo:"Michroma","Archivo","Segoe UI",sans-serif;

  --gut:clamp(20px,5vw,40px);
  --max:1200px;
  --narrow:760px;

  color-scheme:light;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--body);font-size:17px;line-height:1.65;
  font-weight:400;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit}
:focus-visible{outline:2px solid var(--brand-lite);outline-offset:3px;border-radius:2px}
::selection{background:var(--wash);color:var(--ink)}

/* ---------- Type scale ---------- */
h1,h2,h3,h4{font-family:var(--display);font-weight:700;margin:0;text-wrap:balance;letter-spacing:-.025em}
h1{font-size:clamp(2.2rem,4.9vw,3.7rem);line-height:1.06}
h2{font-size:clamp(1.75rem,3.4vw,2.6rem);line-height:1.12}
h3{font-size:clamp(1.18rem,2vw,1.5rem);line-height:1.25;letter-spacing:-.015em}
h4{font-size:1.08rem;line-height:1.3}
p{margin:0 0 1.1em}
.lede{font-size:clamp(1.12rem,1.8vw,1.38rem);line-height:1.55;color:var(--ink-soft);max-width:60ch}
.measure{max-width:64ch}
.small{font-size:.92rem;color:var(--muted)}
.tiny{font-size:.8rem;color:var(--muted);line-height:1.55}
strong{font-weight:600}
.num{font-variant-numeric:tabular-nums}

/* Section label. A chip rather than a rule-and-caps line: it reads as a
   deliberate marker at any alignment, and it centres on its own because the
   box hugs the text instead of spanning the column. */
.eyebrow{
  font-family:var(--logo);font-size:.82rem;font-weight:400;
  letter-spacing:.1em;text-transform:uppercase;color:var(--brand);
  display:inline-flex;align-items:center;gap:.8em;margin:0 0 1.25rem;line-height:1;
  padding:11px 26px 10px;border-radius:999px;
  background:rgba(103,66,158,.075);border:1px solid rgba(103,66,158,.17);
}

/* ---------- Layout ---------- */
.container{max-width:var(--max);margin-inline:auto;padding-inline:var(--gut)}
.section{padding-block:clamp(64px,8.5vw,118px)}
.section--tight{padding-block:clamp(48px,6vw,80px)}
.section--wash{background:var(--wash)}
.section--wash .card{background:#FFFDFA;border-color:#E6DFD0}
.section--wash .tag{background:#FFFDFA}
.section--ink{background:var(--ink);color:#EFEAF7}
.section--ink h1,.section--ink h2,.section--ink h3{color:#fff}
.section--ink .lede,.section--ink p{color:#CFC6E2}
.section--ink .eyebrow{color:#DDD0F3;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.22)}
.hr{height:1px;background:var(--line);border:0;margin:0}
/* One alignment rule for the whole site, as agreed:
   body copy is never justified (justification hurts reading speed, and
   this site is read by people with attention difficulties); interior
   page heads are centred; everything else is flush left. */
/* nothing on this site is justified; text simply follows its container */

.grid{display:grid;gap:clamp(18px,2.4vw,28px)}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.split{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(32px,5vw,76px);align-items:center}
.split--rev>*:first-child{order:2}
.split--top{align-items:start}
.stack-sm{display:flex;flex-direction:column;gap:12px}
.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* ---------- Buttons ---------- */
.btn{
  --bg:var(--ink);--fg:#fff;--bd:var(--ink);
  display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  padding:14px 22px;border:1px solid var(--bd);background:var(--bg);color:var(--fg);
  font-family:var(--body);font-size:.95rem;font-weight:600;letter-spacing:.01em;
  text-decoration:none;border-radius:2px;cursor:pointer;position:relative;overflow:hidden;
  transition:transform .32s cubic-bezier(.2,.7,.3,1),box-shadow .32s ease,background .25s ease,color .25s ease,border-color .25s ease;
}
.btn span{position:relative;z-index:1}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 26px -14px rgba(26,20,48,.6)}
.btn:active{transform:translateY(0)}
.btn--brand{--bg:var(--brand);--bd:var(--brand)}
.btn--brand:hover{--bg:var(--brand-deep);--bd:var(--brand-deep)}
.btn--ghost{--bg:transparent;--fg:var(--ink);--bd:var(--line)}
.btn--ghost:hover{--bd:var(--ink);--bg:transparent}
.btn--light{--bg:#fff;--fg:var(--ink);--bd:#fff}
.btn--sm{padding:12px 20px;font-size:.9rem}
/* a secondary call to action that still reads as a button, set at body size */
.btn--outline{--bg:transparent;--fg:var(--brand);--bd:var(--brand-lite)}
.btn--outline:hover{--bg:var(--brand);--fg:#fff;--bd:var(--brand)}
.btn--lg{padding:15px 30px;font-size:clamp(1.02rem,1.3vw,1.16rem)}
/* A third call to action, deliberately subordinate to the two primary
   buttons. Padding keeps it at a 44px touch target despite the smaller type. */
.btn--tert{padding:14px 22px;font-size:.95rem;border-width:2px;--bg:transparent;--fg:var(--ink);--bd:var(--ink-soft)}
.btn--tert:hover{--bg:var(--ink);--fg:#fff;--bd:var(--ink)}
/* Two primary buttons plus a quieter third. Below 620px they stack full width
   so the hierarchy survives instead of three buttons fighting over one line. */
.row--cta{gap:12px}
@media (max-width:620px){
  .row--cta{flex-direction:column;align-items:stretch}
  .row--cta .btn,.row--cta .txtline{width:100%}
}
.btn .arw{transition:transform .32s cubic-bezier(.2,.7,.3,1)}
.btn:hover .arw{transform:translateX(4px)}

.textlink{
  display:inline-flex;align-items:center;gap:.45em;font-weight:600;font-size:.95rem;
  text-decoration:none;color:var(--brand);padding-bottom:2px;
  background-image:linear-gradient(var(--brand),var(--brand));
  background-size:0% 1px;background-repeat:no-repeat;background-position:0 100%;
  transition:background-size .4s cubic-bezier(.2,.7,.3,1);
}
.textlink:hover{background-size:100% 1px}
.textlink .arw{transition:transform .3s ease}
.textlink:hover .arw{transform:translateX(3px)}

/* ---------- Top bar + header ---------- */
.progress{position:fixed;top:0;left:0;height:2px;width:100%;transform:scaleX(0);transform-origin:0 50%;background:var(--brand-lite);z-index:60}
.announce{background:var(--ink);color:#C6BBDF;font-family:var(--label);font-size:.8rem;letter-spacing:.09em;text-transform:uppercase;text-align:center;padding:9px var(--gut)}
.announce b{color:#fff;font-weight:500}

.header{position:sticky;top:0;z-index:50;background:rgba(252,253,253,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid transparent;transition:border-color .3s ease,box-shadow .3s ease}
.header.is-stuck{border-bottom-color:var(--line);box-shadow:0 6px 24px -20px rgba(26,20,48,.6)}
.header__in{display:flex;align-items:center;justify-content:space-between;gap:20px;height:124px;transition:height .32s ease}
.header.is-stuck .header__in{height:84px}
.header__right{display:flex;align-items:center;gap:18px}
.hdr-phone{text-decoration:none;text-align:right;line-height:1.15;display:block}
.hdr-phone span{display:block;font-family:var(--label);font-size:.76rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--brand)}
.hdr-phone b{font-family:var(--display);font-size:1.04rem;font-weight:700;color:var(--ink);letter-spacing:-.01em}
.hdr-phone:hover b{color:var(--brand)}
.header__navbar{border-top:1px solid var(--line);background:rgba(255,253,250,.7)}
.header.is-stuck .header__navbar{background:transparent}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex:none}
.brand__logo{height:96px!important;width:auto!important;max-width:min(70vw,540px);transition:height .32s ease}
.header.is-stuck .brand__logo{height:68px!important}
@media (max-width:1240px){.brand__logo{height:80px!important}.nav{gap:22px}.nav a{font-size:.88rem}}
.footer__logo{height:52px!important;width:auto!important;max-width:300px;margin-bottom:16px}

.nav{display:flex;align-items:center;justify-content:center;gap:34px;height:52px;transition:height .32s ease}
.header.is-stuck .nav{height:46px}
.nav a{
  text-decoration:none;font-size:.92rem;font-weight:500;color:var(--ink-soft);position:relative;padding:4px 0;white-space:nowrap;
  transition:color .25s ease;
}
.nav a::after{content:"";position:absolute;left:0;bottom:0;height:1px;width:100%;background:var(--brand);transform:scaleX(0);transform-origin:100% 50%;transition:transform .38s cubic-bezier(.2,.7,.3,1)}
.nav a:hover{color:var(--ink)}
.nav a:hover::after,.nav a[aria-current="page"]::after{transform:scaleX(1);transform-origin:0 50%}
.nav a[aria-current="page"]{color:var(--ink)}

.hide-sm{display:inline-flex}
.burger{display:none;width:44px;height:44px;border:1px solid var(--line);background:#fff;border-radius:2px;cursor:pointer;position:relative}
.burger i{position:absolute;left:12px;right:12px;height:1.5px;background:var(--ink);transition:transform .35s cubic-bezier(.2,.7,.3,1),opacity .2s ease}
.burger i:nth-child(1){top:16px}.burger i:nth-child(2){top:21px}.burger i:nth-child(3){top:26px}
.burger.is-open i:nth-child(1){transform:translateY(5px) rotate(45deg)}
.burger.is-open i:nth-child(2){opacity:0}
.burger.is-open i:nth-child(3){transform:translateY(-5px) rotate(-45deg)}

.drawer{position:fixed;inset:0 0 0 auto;width:min(80vw,360px);background:var(--paper);border-left:1px solid var(--line);z-index:55;transform:translateX(100%);transition:transform .45s cubic-bezier(.3,.8,.25,1);padding:124px var(--gut) 40px;display:flex;flex-direction:column;gap:6px;overflow-y:auto}
.drawer.is-open{transform:translateX(0)}
/* The burger lives inside the header, whose z-index traps it below the open
   drawer - so it could not be tapped to close. Lift the header over the
   drawer while it is open; the drawer's top padding leaves room for it.
   Browsers without :has() still close on scrim tap, link tap or Escape. */
body:has(.drawer.is-open) .header{z-index:56}
.drawer a{text-decoration:none;font-family:var(--display);font-weight:600;font-size:1.45rem;padding:14px 0;border-bottom:1px solid var(--line-soft);opacity:0;transform:translateX(18px);transition:opacity .4s ease,transform .4s ease}
.drawer.is-open a{opacity:1;transform:none}
/* The button in the drawer is an <a>, so .drawer a was overriding .btn and
   rendering it at 1.45rem - which wrapped the label and left-aligned it. */
.drawer a.btn{font-size:1rem;padding:17px 22px;border-bottom:0;margin-top:16px;justify-content:center;text-align:center}
.drawer.is-open a:nth-child(1){transition-delay:.08s}
.drawer.is-open a:nth-child(2){transition-delay:.14s}
.drawer.is-open a:nth-child(3){transition-delay:.20s}
.drawer.is-open a:nth-child(4){transition-delay:.26s}
.drawer.is-open a:nth-child(5){transition-delay:.32s}
.drawer .btn{margin-top:20px;opacity:1;transform:none;border-bottom:0}
.scrim{position:fixed;inset:0;background:rgba(26,20,48,.42);opacity:0;pointer-events:none;transition:opacity .4s ease;z-index:54}
.scrim.is-on{opacity:1;pointer-events:auto}

/* ---------- Hero ---------- */
.hero{position:relative;padding-block:clamp(52px,7vw,96px) clamp(40px,5vw,64px);overflow:hidden}
.hero::after{content:"";position:absolute;right:-14%;top:-22%;width:62vw;height:62vw;max-width:820px;max-height:820px;border-radius:50%;background:radial-gradient(circle at 35% 35%,rgba(138,99,196,.13),rgba(138,99,196,0) 62%);pointer-events:none}
.hero__grid{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);gap:clamp(30px,5vw,68px);align-items:center;position:relative;z-index:1}
.hero h1{margin-bottom:20px;max-width:14ch}
.hero h1 .ln{display:block;overflow:hidden;padding-bottom:.09em;margin-bottom:-.09em}
.hero h1 .ln>span{display:block;transform:translateY(102%);animation:riseIn .95s cubic-bezier(.2,.75,.25,1) forwards}
.hero h1 .ln:nth-child(2)>span{animation-delay:.1s}
.hero h1 .ln:nth-child(3)>span{animation-delay:.2s}
.hero h1 em{font-style:normal;color:var(--brand)}
@keyframes riseIn{to{transform:translateY(0)}}
.fade-up{opacity:0;animation:fadeUp .8s cubic-bezier(.2,.7,.3,1) forwards}
.d1{animation-delay:.3s}.d2{animation-delay:.42s}.d3{animation-delay:.54s}.d4{animation-delay:.66s}
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

.hero__media{position:relative}
.hero__frame{position:relative;border-radius:3px;overflow:hidden;background:var(--wash);aspect-ratio:4/5;box-shadow:0 40px 80px -56px rgba(26,20,48,.6)}
.hero__frame img{width:100%;height:100%;object-fit:cover;object-position:center 18%}
.hero__frame::after{content:"";position:absolute;inset:0;background:linear-gradient(190deg,rgba(26,20,48,0) 52%,rgba(26,20,48,.30));pointer-events:none}
.hero__badge{position:absolute;left:-22px;bottom:34px;background:#fff;border:1px solid var(--line);border-radius:2px;padding:16px 20px;box-shadow:0 22px 48px -30px rgba(26,20,48,.55);max-width:250px}
.hero__badge b{display:block;font-family:var(--display);font-weight:700;font-size:.98rem;line-height:1.3}
.hero__badge span{font-family:var(--label);font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--brand)}

/* placeholder art when no photo uploaded yet */
.ph{display:grid;place-content:center;text-align:center;height:100%;padding:26px;background:
  linear-gradient(135deg,var(--wash),#E9E1F6);color:var(--muted);font-family:var(--label);font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;line-height:2}

/* ---------- Hero facts ----------
   The five figures that answer a first-time visitor's questions, carried
   inside the hero rather than banded underneath it. Each sits under its
   own hairline, so the row wraps at any width without border surgery. */
.herofacts{list-style:none;margin:clamp(34px,4.4vw,58px) 0 0;padding:0;
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(18px,2.1vw,30px)}
.herofacts>li{position:relative;padding-top:17px;border-top:1px solid var(--line)}
.herofacts b{display:block;font-family:var(--display);font-size:clamp(1.02rem,1.45vw,1.28rem);
  font-weight:700;line-height:1.18;margin-bottom:7px;letter-spacing:-.015em;font-variant-numeric:tabular-nums}
.herofacts span{display:block;font-size:.8rem;color:var(--muted);line-height:1.52}
.herofacts em{font-style:normal;font-weight:600;color:var(--brand)}
@media (max-width:1000px){.herofacts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:620px){.herofacts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:400px){.herofacts{grid-template-columns:1fr}}

/* ---------- Cards ---------- */
.card{background:#fff;border:1px solid var(--line);border-radius:3px;padding:clamp(24px,2.6vw,34px);position:relative;transition:transform .45s cubic-bezier(.2,.7,.3,1),box-shadow .45s ease,border-color .45s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 26px 54px -38px rgba(26,20,48,.5);border-color:#D6CDE8}
.card h3{margin-bottom:10px}
.card p:last-child{margin-bottom:0}
.card__ico{width:40px;height:40px;margin-bottom:18px;color:var(--brand)}
.card--feature{border-color:var(--brand);border-width:2px;box-shadow:0 26px 60px -40px rgba(103,66,158,.6)}
.card--feature::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(103,66,158,.045),rgba(103,66,158,0) 60%);pointer-events:none;border-radius:inherit}
.card--feature>*{position:relative;z-index:1}

/* the fragmented route, deliberately dimmed */
.card--dim{background:#EFF2F4;border-color:#DDE4E9;color:#63707A}
.card--dim::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:repeating-linear-gradient(135deg,rgba(120,114,104,.07) 0 2px,rgba(120,114,104,0) 2px 11px)}
.card--dim>*{position:relative;z-index:1}
.card--dim h3{color:#48545C}
.card--dim .tag{background:#E0E7EC;color:#63707A}
.card--dim .path li::before{border-color:#C8D2D9;color:#7D8A93}
.card--dim:hover{transform:none;box-shadow:none;border-color:#DDE4E9}
.card--dim::after{display:none}
.section--wash .card--dim{background:#E4EDF2}

/* the time / cost / provider comparison rows */
.cmp{margin:22px 0 0;padding-top:16px;border-top:1px solid var(--line);display:grid;gap:11px}
.cmp>div{display:block;padding:9px 0;border-bottom:1px solid var(--line-soft)}
.cmp>div:last-child{border-bottom:0;padding-bottom:0}
.cmp dt{font-family:var(--label);font-size:.76rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:0 0 5px;white-space:nowrap}
.cmp dd{margin:0;font-family:var(--display);font-weight:700;font-size:1.02rem;line-height:1.3;letter-spacing:-.015em}
/* the ongoing figure, carried under the headline one without competing with it */
.cmp__note{display:block;font-family:var(--body);font-weight:400;font-size:.86rem;
  letter-spacing:0;line-height:1.4;color:var(--muted);margin-top:3px}
.card--dim .cmp{border-top-color:#D7E0E6}
.card--dim .cmp>div{border-bottom-color:#E2E9ED}
.card--dim .cmp dd{color:#56636B;font-weight:600}
.card--feature .cmp dd{color:var(--brand-deep)}
.card--flat{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:24px 0 0}
.card--flat:hover{transform:none;box-shadow:none}

.tag{display:inline-block;font-family:var(--label);font-size:.73rem;letter-spacing:.14em;text-transform:uppercase;color:var(--brand);background:var(--wash);border-radius:2px;padding:5px 9px;margin-bottom:14px}
.tag--ink{background:var(--ink);color:#fff}

/* ---------- Comparison path ---------- */
.path{list-style:none;margin:20px 0 0;padding:0;counter-reset:s}
.path li{display:flex;gap:14px;padding:13px 0;border-bottom:1px solid var(--line-soft);font-size:.97rem;align-items:flex-start}
.path li:last-child{border-bottom:0}
.path li::before{
  counter-increment:s;content:counter(s);flex:none;width:23px;height:23px;border-radius:50%;
  border:1px solid var(--line);display:grid;place-items:center;font-family:var(--label);font-size:.7rem;color:var(--muted);margin-top:1px;
}
.path--ours li::before{border-color:var(--brand);background:var(--brand);color:#fff}
/* the same numbered list used as a standalone block, not inside a card */
.path--block li{padding:16px 0;font-size:1.02rem;align-items:flex-start}
.path--block b{color:var(--ink)}

.price-lg{font-family:var(--display);font-size:clamp(2.6rem,5vw,3.6rem);font-weight:700;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.price-lg sup{font-size:.46em;top:-.58em;position:relative;margin-right:.04em}

/* ---------- Fee table ---------- */
.fees{border-top:1px solid var(--ink)}
.fee{display:grid;grid-template-columns:minmax(0,1fr) clamp(9rem,14vw,11.5rem);gap:20px;align-items:start;padding:30px 0;border-bottom:1px solid var(--line)}
.fee h3{margin-bottom:6px}
.fee .amt{text-align:right;font-family:var(--display);font-size:clamp(1.9rem,3.4vw,2.6rem);font-weight:700;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.fee .mins{font-family:var(--label);font-size:.78rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);display:block;text-align:right;margin-top:8px}

/* ---------- Credentials list ---------- */
.creds{list-style:none;margin:0;padding:0;display:grid;gap:0}
.creds li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;padding:10px 0;border-bottom:1px solid var(--line-soft);align-items:baseline}
.creds b{line-height:1.3}
.creds span.sub{line-height:1.35}
.creds .yr{font-family:var(--label);font-size:.76rem;color:var(--brand);letter-spacing:.06em;font-variant-numeric:tabular-nums}
.creds b{font-weight:600;display:block}
.creds span.sub{color:var(--muted);font-size:.92rem}

/* ---------- Video blog ----------
   Cards that are entirely links out to YouTube. The thumbnail comes from
   YouTube itself, so adding a video needs no image work and no upload. */
.vgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.4vw,30px)}
@media (max-width:1000px){.vgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.vgrid{grid-template-columns:1fr}}

.vcard{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--line);
  border-radius:3px;overflow:hidden;transition:transform .45s cubic-bezier(.2,.7,.3,1),box-shadow .45s ease,border-color .45s ease}
.vcard:hover{transform:translateY(-4px);box-shadow:0 26px 54px -38px rgba(26,20,48,.5);border-color:#D6CDE8}
.vcard__thumb{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--wash)}
.vcard__thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.vcard:hover .vcard__thumb img{transform:scale(1.04)}
.vcard__play{position:absolute;inset:0;margin:auto;width:54px;height:54px;border-radius:50%;
  background:rgba(26,20,48,.78);transition:background .3s ease}
.vcard__play::after{content:"";position:absolute;top:50%;left:54%;transform:translate(-50%,-50%);
  border-style:solid;border-width:9px 0 9px 15px;border-color:transparent transparent transparent #fff}
.vcard:hover .vcard__play{background:var(--brand)}
.vcard__body{display:block;padding:20px 22px 24px}
.vcard__meta{display:block;font-family:var(--label);font-size:.66rem;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:var(--brand);margin-bottom:8px}
.vcard b{display:block;font-family:var(--display);font-size:1.08rem;line-height:1.3;letter-spacing:-.015em}
.vcard__sub{display:block;font-size:.9rem;color:var(--muted);line-height:1.5;margin-top:7px}

/* the state before the first video goes up - deliberate, not broken */
.vsoon{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:3px;
  padding:clamp(34px,4.6vw,62px);text-align:center}
.vsoon svg{width:40px;height:40px;color:var(--brand);margin-bottom:18px}
.vsoon h3{margin-bottom:12px}
.vsoon .measure{margin-inline:auto;color:var(--muted)}

/* ---------- CV panel ----------
   A quiet full-width band under the credentials: the detail sits on the
   left, the one action on the right, and it stacks below 760px. */
.cv{margin-top:clamp(40px,4.6vw,62px);padding:clamp(26px,3vw,38px);
  background:#fff;border:1px solid var(--line);border-radius:3px;
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(22px,3vw,44px);align-items:center}
.cv h3{margin:0}
.cv p{margin-bottom:0}
.cv__action{text-align:center}
.section--wash .cv{background:var(--paper)}
@media (max-width:760px){
  .cv{grid-template-columns:1fr;text-align:left}
  .cv__action{text-align:left}
  .cv__action .btn{width:100%}
}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--ink)}
.faq__item{border-bottom:1px solid var(--line)}
.faq__q{
  width:100%;display:flex;gap:18px;align-items:flex-start;justify-content:space-between;
  background:none;border:0;padding:24px 0;cursor:pointer;text-align:left;
  font-family:var(--display);font-size:clamp(1.05rem,1.6vw,1.26rem);font-weight:600;color:var(--ink);line-height:1.35;
}
.faq__q .pm{flex:none;width:22px;height:22px;position:relative;margin-top:5px}
.faq__q .pm::before,.faq__q .pm::after{content:"";position:absolute;background:var(--brand);transition:transform .38s cubic-bezier(.2,.7,.3,1),opacity .3s ease}
.faq__q .pm::before{left:0;right:0;top:10.5px;height:1.5px}
.faq__q .pm::after{top:0;bottom:0;left:10.5px;width:1.5px}
.faq__item.is-open .pm::after{transform:rotate(90deg);opacity:0}
.faq__a{overflow:hidden;height:0;transition:height .42s cubic-bezier(.3,.8,.25,1)}
.faq__a>div{padding:0 0 26px;max-width:66ch;color:var(--ink-soft)}
.faq__a p:last-child{margin-bottom:0}

/* ---------- Notice bands ---------- */
.notice{border:1px solid var(--line);border-left:3px solid var(--amber);background:var(--amber-bg);padding:20px 24px;border-radius:2px}
.notice b{color:var(--amber)}
.notice p:last-child{margin-bottom:0}
.notice--calm{background:var(--wash);border-left-color:var(--brand)}
.notice--calm b{color:var(--brand-deep)}

/* ---------- Form ---------- */
.form{display:grid;gap:18px}
.field{display:grid;gap:7px}
.field label{font-family:var(--label);font-size:.7rem;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-soft)}
.field .req{color:var(--brand)}
.input,select,textarea{
  font-family:var(--body);font-size:1rem;color:var(--ink);background:#fff;
  border:1px solid var(--line);border-radius:2px;padding:14px 15px;width:100%;
  transition:border-color .25s ease,box-shadow .25s ease;
}
.input:focus,select:focus,textarea:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px rgba(138,99,196,.13)}
textarea{min-height:130px;resize:vertical}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.consent{display:flex;gap:11px;align-items:flex-start;font-size:.92rem;color:var(--ink-soft)}
.consent input{margin-top:5px;accent-color:var(--brand);width:16px;height:16px;flex:none}
.formnote{font-size:.84rem;color:var(--muted)}
.formmsg{display:none;padding:16px 18px;border-radius:2px;font-size:.94rem}
.formmsg.ok{display:block;background:var(--wash);border:1px solid #D3C4EC;color:var(--brand-deep)}
.formmsg.err{display:block;background:#FBEEEA;border:1px solid #E7C6BC;color:#8A3B22}

/* ---------- Contact rail ---------- */
.rail{display:grid;gap:22px}
.rail .item{border-top:1px solid var(--line);padding-top:16px}
.rail .item span{font-family:var(--label);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:5px}
.rail .item b{font-family:var(--display);font-size:1.2rem;font-weight:500}
.rail .item a{text-decoration:none}
.rail .item a:hover{color:var(--brand)}

/* ---------- Footer ---------- */
.footer{background:var(--ink-deep);color:#B5ACCB;padding-block:clamp(52px,6vw,78px) 30px;font-size:.92rem;
  border-top:1px solid rgba(255,255,255,.12)}
.footer a{color:#E3DCF2;text-decoration:none;transition:color .25s ease}
.footer a:hover{color:#fff}
.footer h4{color:#fff;font-family:var(--logo);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:400;margin-bottom:16px}
.footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:36px}
.footer__brand b{font-family:var(--display);color:#fff;font-size:1.3rem;font-weight:700;display:block;letter-spacing:-.015em}
.footer__brand span{font-family:var(--logo);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:#B9A3DC}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.footer__bot{border-top:1px solid rgba(255,255,255,.14);margin-top:44px;padding-top:22px;display:flex;flex-wrap:wrap;gap:14px 26px;justify-content:space-between;font-size:.8rem;color:#8E85A8}

/* ---------- Mobile sticky CTA ---------- */
.mbar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:45;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);background:#fff;padding-bottom:env(safe-area-inset-bottom,0px);box-shadow:0 -6px 24px -18px rgba(26,20,48,.7)}
.mbar a{padding:16px 8px;text-align:center;text-decoration:none;font-size:.88rem;font-weight:600;letter-spacing:.01em}
.mbar a:first-child{background:var(--ink);color:#fff}
.mbar a:last-child{color:var(--ink)}

/* ---------- Scroll reveal ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .85s cubic-bezier(.2,.7,.3,1),transform .85s cubic-bezier(.2,.7,.3,1)}
.reveal.is-in{opacity:1;transform:none}
.reveal[data-d="1"]{transition-delay:.09s}
.reveal[data-d="2"]{transition-delay:.18s}
.reveal[data-d="3"]{transition-delay:.27s}
.reveal[data-d="4"]{transition-delay:.36s}
.draw path,.draw circle,.draw line,.draw rect,.draw polyline{
  stroke-dasharray:var(--len,120);stroke-dashoffset:var(--len,120);
  transition:stroke-dashoffset 1.1s cubic-bezier(.3,.8,.25,1) .15s;
}
.is-in .draw path,.is-in .draw circle,.is-in .draw line,.is-in .draw rect,.is-in .draw polyline{stroke-dashoffset:0}

/* ---------- Page head (interior) ---------- */
.phead{padding-block:clamp(48px,6vw,86px) clamp(32px,4vw,52px);border-bottom:1px solid var(--line);position:relative;overflow:hidden}
.phead::after{content:"";position:absolute;right:-10%;top:-40%;width:46vw;height:46vw;max-width:560px;max-height:560px;border-radius:50%;background:radial-gradient(circle at 40% 40%,rgba(138,99,196,.1),rgba(138,99,196,0) 65%)}
.phead .container{text-align:center}
.phead .eyebrow{justify-content:center}
.phead h1{margin-inline:auto;max-width:22ch;text-wrap:balance}
.phead .lede{margin-inline:auto;max-width:58ch;text-wrap:pretty}
.crumb{font-family:var(--label);font-size:.76rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);margin-bottom:18px}
/* a page head carrying only the breadcrumb needs far less room than one
   carrying a headline, and its last margin would otherwise hang */
.phead--bare{padding-block:clamp(26px,3vw,40px) 0;border-bottom:0}
.phead--bare .crumb{margin-bottom:0}
/* read by search engines and screen readers, seen by nobody - the page has
   no visible headline by request, but every page still needs one h1 */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.crumb a{text-decoration:none;color:var(--muted)}
.crumb a:hover{color:var(--brand)}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .nav,.header__navbar{display:none}
  .hide-sm{display:none}
  .header__in{height:84px}
  .header.is-stuck .header__in{height:84px}
  .brand__logo{height:56px!important;max-width:58vw}
  .header.is-stuck .brand__logo{height:48px!important}
  .hdr-phone{display:none}
  .burger{display:block}
  .hero__grid,.split{grid-template-columns:1fr}
  .split--rev>*:first-child{order:0}
  .hero__media{max-width:440px;margin-inline:auto;width:100%}
  .hero__badge{left:0}
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  body{font-size:16px;padding-bottom:58px}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .mbar{display:grid}
  .hero::after{display:none}
  .fee{grid-template-columns:1fr;gap:10px}
  .fee .amt{font-size:2rem}
  .fee .mins{text-align:left}
  .footer__grid{grid-template-columns:1fr;gap:30px}
  .hero__badge{position:static;margin-top:16px;max-width:none;box-shadow:none}
}
@media (max-width:440px){
  .grid-4{grid-template-columns:1fr}
  .btn{width:100%}
  .row .btn{width:auto;flex:1 1 auto}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
  .hero h1 .ln>span{transform:none}
  .fade-up{opacity:1}
}

@media print{
  .header,.mbar,.drawer,.scrim,.progress,.announce{display:none!important}
  body{font-size:11pt}
}

/* ============================================================
   MOTION & POLISH LAYER
   Slow, continuous ambience in the hero; short, purposeful
   responses on hover. Everything here is disabled wholesale by
   the reduced-motion block at the end of this file.
   ============================================================ */

/* ---- hero ambience: two blobs drifting at different speeds ---- */
.hero::before{
  content:"";position:absolute;left:-20%;bottom:-34%;width:54vw;height:54vw;
  max-width:700px;max-height:700px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle at 50% 50%,rgba(3,174,209,.15),rgba(3,174,209,0) 64%);
  animation:drift 26s ease-in-out infinite alternate;
}
.hero::after{animation:drift2 21s ease-in-out infinite alternate}
@keyframes drift{from{transform:translate(0,0) scale(1)}to{transform:translate(70px,-46px) scale(1.14)}}
@keyframes drift2{from{transform:translate(0,0) scale(1)}to{transform:translate(-56px,52px) scale(1.09)}}

/* ---- portrait: wipe in, then a very slow ken-burns ---- */
.hero .hero__frame{clip-path:inset(0 0 100% 0);animation:wipeUp 1.15s .3s cubic-bezier(.3,.85,.25,1) forwards}
@keyframes wipeUp{to{clip-path:inset(0 0 0 0)}}
.hero .hero__frame img{animation:kenburns 24s ease-in-out infinite alternate;will-change:transform}
@keyframes kenburns{from{transform:scale(1) translate(0,0)}to{transform:scale(1.08) translate(-1.5%,-1%)}}
.hero__media{transition:transform .6s cubic-bezier(.2,.7,.3,1)}

/* ---- award badge: lands, then floats ---- */
.hero__badge{
  border-top:2px solid var(--accent);
  animation:badgeIn .95s .9s cubic-bezier(.2,.8,.25,1) both,
            floatY 7s 2s ease-in-out infinite;
}
.hero__badge span{color:var(--accent)}
.hero__badge .star{width:13px;height:13px;vertical-align:-1px;margin-right:6px;color:var(--accent)}
@keyframes badgeIn{from{opacity:0;transform:translateY(22px) scale(.95)}to{opacity:1;transform:none}}
@keyframes floatY{0%,100%{transform:translateY(0)}50%{transform:translateY(-11px)}}

/* ---- stat strip: hairlines draw themselves in sequence ---- */
.herofacts>li::before{
  content:"";position:absolute;top:-1px;left:0;height:2px;width:0;background:var(--brand);
  animation:lineGrow .85s cubic-bezier(.2,.7,.3,1) forwards;
}
.herofacts>li:nth-child(1)::before{animation-delay:.75s}
.herofacts>li:nth-child(2)::before{animation-delay:.86s}
.herofacts>li:nth-child(3)::before{animation-delay:.97s}
.herofacts>li:nth-child(4)::before{animation-delay:1.08s}
.herofacts>li:nth-child(5)::before{animation-delay:1.19s}
@keyframes lineGrow{to{width:100%}}
/* the two money figures take the accent, so the eye lands on cost */
.herofacts>li:nth-child(3)::before,.herofacts>li:nth-child(4)::before{background:var(--accent)}

/* ---- buttons: light sweep, and ghost fills from the base up ---- */
.btn::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.3) 50%,transparent 68%);
  transform:translateX(-130%);transition:transform .75s cubic-bezier(.3,.8,.25,1);
}
.btn:hover::before{transform:translateX(130%)}
.btn--ghost::before{background:linear-gradient(115deg,transparent 32%,rgba(103,66,158,.14) 50%,transparent 68%)}
.btn--ghost::after{
  content:"";position:absolute;inset:0;z-index:0;background:var(--ink);
  transform:scaleY(0);transform-origin:50% 100%;
  transition:transform .45s cubic-bezier(.3,.85,.25,1);
}
.btn--ghost:hover{--fg:#fff;--bd:var(--ink)}
.btn--ghost:hover::after{transform:scaleY(1)}
.btn--light:hover{--bg:var(--accent-soft);--bd:var(--accent-soft)}

/* ---- cards: an accent hairline draws across the top ---- */
.card::after{
  content:"";position:absolute;left:0;top:-1px;height:2px;width:0;background:var(--brand);
  transition:width .6s cubic-bezier(.2,.7,.3,1);
}
.card:hover::after{width:100%}
.card--feature::after{background:var(--accent)}
.card__ico{transition:transform .55s cubic-bezier(.2,.75,.25,1),color .4s ease}
.card:hover .card__ico{transform:translateY(-4px) scale(1.07);color:var(--brand-lite)}

/* ---- numbered steps light up on hover ---- */
.path li{transition:padding-left .4s cubic-bezier(.2,.7,.3,1)}
.path li::before{transition:background .35s ease,color .35s ease,border-color .35s ease,transform .35s ease}
.card:hover .path li:hover{padding-left:6px}
.path li:hover::before{transform:scale(1.12)}

/* ---- fee rows ---- */
.fee{transition:background .4s ease,padding-left .4s cubic-bezier(.2,.7,.3,1)}
.fee:hover{background:linear-gradient(90deg,rgba(138,99,196,.045),transparent);padding-left:14px}

/* ---- credential rows ---- */
.creds li{transition:border-color .35s ease,transform .45s cubic-bezier(.2,.7,.3,1)}
.creds li:hover{border-bottom-color:var(--brand);transform:translateX(4px)}


/* ---- FAQ rows tint as you move down them ---- */
.faq__q{transition:color .3s ease,padding-left .4s cubic-bezier(.2,.7,.3,1)}
.faq__q:hover{color:var(--brand-deep)}
.faq__item.is-open .faq__q{color:var(--brand-deep)}

/* ---- mobile action bar rises once you start reading ---- */
.mbar{transform:translateY(105%);transition:transform .5s cubic-bezier(.3,.85,.25,1)}
.mbar.is-on{transform:none}

/* ---- portraits elsewhere wipe in on scroll ---- */
.reveal .hero__frame,.hero__frame.reveal{overflow:hidden}
.hero__frame.reveal{opacity:1;transform:none}
.hero__frame.reveal img{clip-path:inset(0 0 100% 0);transition:clip-path 1.1s cubic-bezier(.3,.85,.25,1)}
.hero__frame.reveal.is-in img{clip-path:inset(0 0 0 0)}

/* ---- section tint bands fade their edge ---- */
.section--wash{position:relative}
.section--wash::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(103,66,158,.28),transparent)}

@media (prefers-reduced-motion:reduce){
  .hero::before,.hero::after,.hero .hero__frame,.hero .hero__frame img,.hero__badge,.herofacts>li::before{animation:none!important}
  .hero .hero__frame{clip-path:none!important}
  .hero__frame.reveal img{clip-path:none!important}
  .herofacts>li::before{width:100%}
  .mbar{transform:none}
}


/* ---- How it works: the four-step journey ---- */
.steps-grid{list-style:none;margin:44px 0 0;padding:0;display:grid;gap:clamp(18px,2.2vw,26px);
  grid-template-columns:repeat(4,minmax(0,1fr));counter-reset:step}
.step{background:#FFFDFA;border:1px solid #E6DFD0;border-radius:3px;padding:clamp(22px,2.4vw,30px);
  position:relative;transition:transform .45s cubic-bezier(.2,.7,.3,1),box-shadow .45s ease,border-color .45s ease}
.step:hover{transform:translateY(-4px);box-shadow:0 26px 54px -38px rgba(26,20,48,.45);border-color:#D8CFE8}
.step::after{content:"";position:absolute;left:0;top:-1px;height:2px;width:0;background:var(--brand);
  transition:width .6s cubic-bezier(.2,.7,.3,1)}
.step:hover::after{width:100%}
.step__n{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;
  background:var(--brand);color:#fff;font-family:var(--display);font-weight:700;font-size:1.1rem;
  margin-bottom:18px;transition:transform .5s cubic-bezier(.2,.75,.25,1)}
.step:hover .step__n{transform:scale(1.08)}
.step:nth-child(4) .step__n{background:var(--accent)}
.step h3{margin-bottom:9px;font-size:clamp(1.05rem,1.5vw,1.2rem)}
.step p{margin:0;font-size:.94rem;color:var(--ink-soft)}
@media (max-width:1000px){.steps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.steps-grid{grid-template-columns:1fr}}


/* step meta line - the figure that matters, under each step heading */
.step__meta{font-family:var(--label);font-size:.74rem;font-weight:700;letter-spacing:.045em;
  text-transform:uppercase;color:var(--brand);margin:0 0 9px!important}
.step:nth-child(4) .step__meta{color:var(--accent-deep)}


/* ---- Section headings -------------------------------------------------
   One rule, tied to layout rather than taste: a heading that introduces a
   whole section is centred above it; a heading that sits beside content
   in a two-column block stays flush left with the column it belongs to. */
/* The difference: the copy reads across one comfortable measure under the
   heading, justified so both edges run straight, with the two comparison
   cards side by side beneath it at the full width they need to stay short.
   No hyphenation - a broken word mid-sentence reads as a typo. */
.diff-copy{max-width:84ch;margin:clamp(26px,3.2vw,40px) auto 0}
.diff-copy p{font-size:clamp(1.06rem,1.4vw,1.22rem);line-height:1.62;color:var(--ink-soft);
  max-width:none;text-align:justify;text-justify:inter-word;hyphens:none}
.diff-copy p:last-of-type{margin-bottom:0}
.diff-copy__link{text-align:center!important;margin-top:clamp(16px,2vw,26px)}
.diff-cards{margin-top:clamp(34px,4.2vw,56px);align-items:stretch}
.diff-cards>.card{display:flex;flex-direction:column}
.diff-cards .cmp{margin-top:auto}
@media (max-width:860px){
  .diff-copy p{text-align:left}
}

.sec-intro{max-width:900px;margin-inline:auto;text-align:center}
.sec-intro .eyebrow{justify-content:center}
.sec-intro .lede,.sec-intro p{margin-inline:auto}

/* A heading that introduces a whole section carries more weight than one
   sitting beside content in a column, so it is set a step larger. Column
   headings inside .split stay at the base h2 size - that difference is
   the hierarchy, not an inconsistency. */
.sec-intro h2,.section--ink .container>h2{
  font-size:clamp(2rem,3.9vw,2.95rem);margin-inline:auto;max-width:20ch;text-wrap:balance}




/* a card that spans the row, so a grid never ends on an orphan */
.card--wide{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center}
.card--wide .card__ico{margin-bottom:12px}
.card--wide h3{margin-bottom:7px}
.card--wide p{margin:0;max-width:64ch;margin-inline:auto}


/* ---- larger "next step" label on the closing CTAs ---- */
.eyebrow--lg{font-size:1.08rem;letter-spacing:.11em;padding:13px 32px 12px}

/* ---- section head with the label on the same line ---- */
.head-inline{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:10px 18px}
.head-inline .eyebrow{margin:0}
.head-inline h2{margin:0}

/* a portrait slot with no photograph yet removes itself and lets the
   text take the full width, rather than leaving a void beside it */
.is-empty{display:none!important}
.split.is-solo,.hero__grid.is-solo{grid-template-columns:minmax(0,1fr)}
.split.is-solo .measure,.split.is-solo p{max-width:72ch}
.hero__grid.is-solo{max-width:var(--narrow)}

/* ---- the two real booking routes ---- */
.route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,22px)}
.route{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;
  text-decoration:none;background:#FFFDFA;border:1.5px solid var(--brand);border-radius:3px;
  padding:clamp(20px,2.2vw,26px);transition:transform .4s cubic-bezier(.2,.7,.3,1),box-shadow .4s ease,background .3s ease}
.route:hover{transform:translateY(-3px);box-shadow:0 24px 50px -36px rgba(103,66,158,.55);background:#FFF}
.route__n{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--brand);
  color:#fff;font-family:var(--display);font-weight:700;font-size:1rem}
.route b{display:block;font-family:var(--display);font-size:1.08rem;font-weight:700;letter-spacing:-.015em;margin-bottom:3px}
.route em{font-style:normal;font-size:.92rem;color:var(--ink-soft)}
.route .arw{color:var(--brand);font-size:1.2rem;transition:transform .35s ease}
.route:hover .arw{transform:translateX(4px)}
.route--alt{border-color:var(--accent)}
.route--alt .route__n{background:var(--accent)}
.route--alt .arw{color:var(--accent-deep)}
@media (max-width:760px){.route-grid{grid-template-columns:1fr}}


/* =====================================================================
   RESPONSIVE PASS — phones, tablets, and the awkward gap between them.
   Appended last so it settles anything declared earlier in the file.
   ===================================================================== */

/* Nothing may push the page sideways. clip rather than hidden, so the
   sticky header keeps sticking. */
html,body{overflow-x:clip}

/* ---- The logo -------------------------------------------------------
   Sized by WIDTH with height:auto, never the other way round. Setting a
   height and capping the width squashes the artwork: at 900x103 the
   wordmark needs 8.7x its height in room, and the old rules were
   compressing it to about two thirds of its proper width. Driving it
   from width keeps the proportions exact at every size and means it can
   never be wider than the screen it is on. */
.brand__logo{height:auto!important;width:min(50vw,700px)!important;max-width:none!important}
.header.is-stuck .brand__logo{width:min(40vw,520px)!important}
.footer__logo{height:auto!important;width:clamp(200px,88%,330px)!important;max-width:none!important}

@media (max-width:1240px){
  .brand__logo{width:min(50vw,600px)!important}
  .header.is-stuck .brand__logo{width:min(42vw,470px)!important}
}
@media (max-width:1100px){
  .brand__logo{width:min(50vw,520px)!important}
}

/* ---- Tablet: the nav has collapsed, so columns need to as well ---- */
@media (max-width:1100px){
  /* type floor — extends past 1000px so iPad Pro portrait is covered */
  .footer h4{font-size:.8rem;letter-spacing:.08em}
  .footer__brand span{font-size:.72rem}
  .footer__bot{font-size:.86rem}
  .crumb{font-size:.78rem}
  .tiny{font-size:.82rem}
  .small{font-size:.9rem}
  .fee .mins{font-size:.84rem}
  .tag{font-size:.78rem}
  .hero__badge span{font-size:.74rem}
  .vcard__meta{font-size:.72rem}
  .cmp dt{font-size:.78rem}
  .ph{font-size:.8rem}
}

@media (max-width:1000px){
  .brand__logo{width:min(50vw,360px)!important}
  .header.is-stuck .brand__logo{width:min(44vw,320px)!important}
  .header__in,.header.is-stuck .header__in{height:76px}

  /* three or four across is too tight once the page is this narrow */
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .herofacts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .diff-cards{grid-template-columns:1fr}
  .cv{grid-template-columns:1fr}
  .cv__action{text-align:left}
  .cv__action .btn{width:100%}

}

/* ---- Phone ---- */
@media (max-width:760px){
  .brand__logo{width:min(66vw,290px)!important}
  .header.is-stuck .brand__logo{width:min(60vw,260px)!important}
  .header__in,.header.is-stuck .header__in{height:66px}
  .announce{font-size:.8rem;padding-block:10px;line-height:1.5}
  .herofacts{gap:16px 18px}
  .cv{padding:22px}
}

@media (max-width:420px){
  .brand__logo{width:min(70vw,250px)!important}
  .header.is-stuck .brand__logo{width:min(64vw,225px)!important}
}

/* ---- Touch targets: a link a finger has to find needs room around it.
        Scoped so the desktop layout is untouched. ---- */
@media (hover:none),(max-width:1100px){
  .brand{min-height:46px}
  .nav a{padding-block:10px}
  .hdr-phone{padding-block:7px}
  .small a{padding-block:5px;display:inline-block}
  .footer ul{gap:2px}
  .footer ul a{display:inline-block;padding-block:8px}
  .footer__bot a{display:inline-block;padding-block:6px}
  .crumb a{display:inline-block;padding-block:9px}
  .textlink{padding-block:7px}
  .drawer a:not(.btn){min-height:48px;display:flex;align-items:center}
  .mbar a{min-height:52px;display:flex;align-items:center;justify-content:center}
}


/* =====================================================================
   CAREER TIMELINE (About page)
   A Gantt built from his own "Animated C.V." slide: label, a bar placed
   and sized by year, and the dates. Positions come from the markup as
   percentages, so there is no JavaScript doing layout - the bars simply
   grow when the section scrolls into view.
   ===================================================================== */
.tl{--tl-edu:var(--cyan-deep);--tl-pro:var(--brand);--tl-aca:var(--accent);
  margin-top:clamp(34px,4vw,54px)}

.tl__legend{display:flex;flex-wrap:wrap;gap:10px 26px;margin-bottom:clamp(20px,2.4vw,30px)}
.tl__key{display:inline-flex;align-items:center;gap:9px;font-family:var(--label);
  font-size:.78rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.tl__key::before{content:"";width:13px;height:13px;border-radius:3px;flex:none}
.tl__key--edu::before{background:var(--tl-edu)}
.tl__key--pro::before{background:var(--tl-pro)}
.tl__key--aca::before{background:var(--tl-aca)}

.tl__chart{border-top:1px solid var(--line)}

/* the year scale, drawn once and echoed as gridlines down every row */
.tl__axis{position:relative;height:30px;margin-left:var(--tl-gap,0)}
.tl__axis span{position:absolute;left:calc(var(--p)*1%);transform:translateX(-50%);
  top:8px;font-family:var(--label);font-size:.72rem;font-weight:700;letter-spacing:.06em;color:var(--muted)}
.tl__axis span:first-child{transform:none}
.tl__axis span:last-child{transform:translateX(-100%)}

.tl__rows{list-style:none;margin:0;padding:0}
.tl__row{display:grid;grid-template-columns:minmax(0,18.5rem) minmax(0,1fr) auto;
  gap:clamp(14px,1.8vw,26px);align-items:center;padding:11px 0;border-bottom:1px solid var(--line-soft)}
.tl__row:last-child{border-bottom:0}

.tl__label b{display:block;font-weight:600;font-size:.97rem;line-height:1.35}
.tl__sub{display:block;font-size:.85rem;color:var(--muted);line-height:1.4;margin-top:2px}

.tl__track{position:relative;height:16px;
  background:repeating-linear-gradient(90deg,var(--line) 0 1px,transparent 1px var(--tl-step,17.241%))}
.tl__bar{position:absolute;top:3px;bottom:3px;left:calc(var(--s)*1%);width:calc(var(--w)*1%);
  min-width:7px;border-radius:999px;background:var(--bar,var(--brand));
  transform:scaleX(0);transform-origin:left center;
  transition:transform .85s cubic-bezier(.2,.7,.3,1)}
.tl__row--edu .tl__bar{--bar:var(--tl-edu)}
.tl__row--pro .tl__bar{--bar:var(--tl-pro)}
.tl__row--aca .tl__bar{--bar:var(--tl-aca)}
.tl.is-in .tl__bar{transform:scaleX(1);transition-delay:calc(var(--i)*55ms + .15s)}

.tl__when{font-family:var(--label);font-size:.8rem;font-weight:700;letter-spacing:.03em;
  color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}

/* Tablet: the labels need the room more than the chart does */
@media (max-width:1000px){
  .tl__row{grid-template-columns:minmax(0,14rem) minmax(0,1fr) auto}
  .tl__label b{font-size:.93rem}
}

/* Phone: a 29-year Gantt cannot work at this width, so the chart folds
   into a list - colour-coded stripe, title, dates. Same information,
   read down instead of across. */
@media (max-width:760px){
  .tl__axis{display:none}
  .tl__chart{border-top:0}
  .tl__row{grid-template-columns:1fr auto;gap:4px 14px;align-items:baseline;
    padding:14px 0 14px 16px;position:relative}
  .tl__track{display:none}
  .tl__row::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:4px;
    border-radius:999px;background:var(--bar,var(--brand));
    transform:scaleY(0);transform-origin:top;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
  .tl__row--edu{--bar:var(--tl-edu)} .tl__row--pro{--bar:var(--tl-pro)} .tl__row--aca{--bar:var(--tl-aca)}
  .tl.is-in .tl__row::before{transform:scaleY(1);transition-delay:calc(var(--i)*45ms)}
  .tl__when{grid-column:2;grid-row:1}
  .tl__label{grid-column:1;grid-row:1}
  .tl__sub{grid-column:1/-1}
}

@media (prefers-reduced-motion:reduce){
  .tl__bar{transform:scaleX(1)!important}
  .tl__row::before{transform:scaleY(1)!important}
}


/* =====================================================================
   COMPARISON CARDS v2 — from his mockup. Numbered step, icon, title and
   sub-line, with a week marker on the "usual route" side, then the
   totals row, then a verdict summary. Both cards stay the same height.
   ===================================================================== */
.cmp2{display:flex;flex-direction:column}
.cmp2__head{margin-bottom:18px}
.cmp2__head h3{margin:12px 0 0;font-size:clamp(1.3rem,2vw,1.62rem)}
.tag--pick{background:#E7F6EE;color:#1B6B45;border:1px solid #BFE6D2;margin-left:8px}

.cmp2__steps{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.cmp2__steps li{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;
  gap:13px;align-items:center;background:var(--paper);border-radius:10px;padding:13px 15px}
.card--dim .cmp2__steps li{background:rgba(255,255,255,.62)}

.cmp2__n{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;flex:none;
  font-family:var(--label);font-size:.78rem;font-weight:700;
  background:var(--brand);color:#fff}
.card--dim .cmp2__n{background:#DDE4E9;color:#5E6B73}

.cmp2__ico{width:21px;height:21px;flex:none;color:var(--brand)}
.card--dim .cmp2__ico{color:#8A96A0}

.cmp2__txt b{display:block;font-weight:600;font-size:.97rem;line-height:1.32}
.cmp2__txt span{display:block;font-size:.86rem;color:var(--muted);line-height:1.42;margin-top:2px}
.cmp2__txt u{text-decoration:underline;text-underline-offset:3px}

.cmp2__when{font-family:var(--label);font-size:.73rem;font-weight:700;letter-spacing:.03em;
  color:#6B7880;background:#E6ECF0;border-radius:999px;padding:6px 11px;white-space:nowrap}

/* the totals row sits above the verdict, and the verdict pins to the
   bottom so both cards line up however long the steps run */
.cmp2 .cmp{margin-top:22px}
.verdict{list-style:none;margin:20px 0 0;padding:17px 18px 17px 50px;border-radius:10px;
  display:grid;gap:7px;position:relative;font-size:.9rem;line-height:1.45}
.verdict::before{content:"";position:absolute;left:17px;top:18px;width:22px;height:22px;
  border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:12px}
.verdict li{position:relative;padding-left:13px}
.verdict li::before{content:"";position:absolute;left:0;top:.6em;width:4px;height:4px;border-radius:50%}

.verdict--no{background:#FBECEA;color:#8A3B2E}
.verdict--no::before{background-color:#C0442F;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")}
.verdict--no li::before{background:#C0442F}

.verdict--yes{background:#E7F6EE;color:#1B6B45}
.verdict--yes::before{background-color:#1E8A54;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5L19 7'/%3E%3C/svg%3E")}
.verdict--yes li::before{background:#1E8A54}

.cmp2 .verdict{margin-top:auto}

/* his mockup puts the three totals side by side with rules between them,
   which also saves a lot of height */
.cmp2 .cmp{margin-top:22px;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding-top:18px}
.cmp2 .cmp>div{padding:0 16px;border-bottom:0;border-left:1px solid var(--line);text-align:center}
.cmp2 .cmp>div:first-child{border-left:0;padding-left:0}
.cmp2 .cmp>div:last-child{padding-right:0}
.card--dim .cmp2 .cmp>div,.cmp2.card--dim .cmp>div{border-left-color:#D7E0E6}
.cmp2 .cmp dt{white-space:normal}
.cmp2 .cmp dd{font-size:1.12rem;line-height:1.25}
.cmp2 .cmp .cmp__note{margin-top:5px;font-size:.8rem}
@media (max-width:620px){
  .cmp2 .cmp{grid-template-columns:1fr;gap:12px;padding-top:14px}
  .cmp2 .cmp>div{border-left:0;padding:0;text-align:left;
    border-bottom:1px solid var(--line-soft);padding-bottom:12px}
  .cmp2 .cmp>div:last-child{border-bottom:0;padding-bottom:0}
}

@media (max-width:620px){
  .cmp2__steps li{grid-template-columns:auto minmax(0,1fr);gap:10px 12px;padding:12px 13px}
  .cmp2__ico{display:none}
  .cmp2__when{grid-column:2;justify-self:start;margin-top:2px}
  .verdict{padding:16px 15px 16px 44px}
  .verdict::before{left:14px}
}


/* =====================================================================
   ROUND-7 EDITS — from his printed mark-up.
   Centring in the hero, bigger contact line, and a lot of dead vertical
   space removed. He wrote "shrink this" or "too much space" six times
   across the eight pages, so the spacing changes are deliberate and
   systematic rather than cosmetic.
   ===================================================================== */

/* ---- Hero: left column centred, contact line enlarged and split ---- */
.hero__copy{text-align:center}
.hero__copy .eyebrow{justify-content:center}
.hero__copy h1{margin-inline:auto}
.hero__copy .lede{margin-inline:auto}
.hero__copy .row{justify-content:center}

.herometa{font-size:clamp(1rem,1.25vw,1.1rem);color:var(--ink-soft);line-height:1.5;margin:0}
.herometa:first-of-type{margin-top:24px}
.herometa--tel{margin-top:6px;font-weight:600}
.herometa--tel a{color:var(--brand);font-weight:700;text-decoration:none;
  font-size:clamp(1.08rem,1.4vw,1.24rem);letter-spacing:-.01em}
.herometa--tel a:hover{color:var(--brand-deep)}

/* ---- "or" between the header number and the button ---- */
.hdr-or{font-family:var(--label);font-size:.76rem;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted);padding:0 2px}

/* ---- The space he kept circling -------------------------------------
   The hero sat in a deep well below the nav, and every band below it
   carried the same generous padding. Tightened throughout. */
.hero{padding-block:clamp(26px,3vw,46px) clamp(26px,3.2vw,44px)}
.herofacts{margin-top:clamp(24px,2.8vw,38px);gap:clamp(14px,1.7vw,22px)}
.herofacts>li{padding-top:13px}
.herofacts b{margin-bottom:4px}
.herofacts span{font-size:.78rem;line-height:1.45}
.section{padding-block:clamp(44px,5.2vw,78px)}
.section--tightpad{padding-block:clamp(36px,4.2vw,62px)}
.section--ink{padding-block:clamp(40px,4.4vw,64px)}
.sec-intro .lede{margin-top:14px}
.steps-grid{margin-top:clamp(26px,3vw,38px)}

/* ---- The difference: headline on one line, copy in two columns ---- */
.sec-intro h2,.section--ink .container>h2{max-width:28ch}
.diff-copy{max-width:none;margin-top:clamp(20px,2.4vw,30px);
  columns:2;column-gap:clamp(30px,4vw,60px)}
.diff-copy p{font-size:clamp(1rem,1.2vw,1.1rem);line-height:1.6;break-inside:avoid;
  text-align:justify;hyphens:none}
.diff-copy p:last-of-type{margin-bottom:0}
@media (max-width:860px){
  .diff-copy{columns:1}
  .diff-copy p{text-align:left}
}

/* he asked for this headline on one line, so it needs the full width and
   a slightly smaller cap than the other section headings */
.sec-intro--wide{max-width:none}
.sec-intro--wide h2{max-width:none;font-size:clamp(1.6rem,3.1vw,2.42rem);text-wrap:nowrap}
@media (max-width:1000px){.sec-intro--wide h2{text-wrap:balance;max-width:22ch}}

/* the single call to action under the comparison */
.diff-cta{text-align:center;margin:clamp(28px,3.4vw,44px) 0 0}

/* ---- Condition cards: smaller, and everything centred ---- */
.cards--mid .card{padding:clamp(20px,2vw,26px);text-align:center}
.cards--mid .card__ico{margin:0 auto 12px}
.cards--mid .card h3{margin-bottom:7px;font-size:clamp(1.08rem,1.5vw,1.26rem)}
.cards--mid .card p{font-size:.9rem;line-height:1.5;margin-bottom:0}
.cards--mid .card--wide{text-align:center}

/* ---- CV panel centred, paragraph justified ---- */
.cv--centred{text-align:center}
.cv--centred .eyebrow{justify-content:center}
.cv--centred .cv__text .measure{margin-inline:auto;text-align:justify;hyphens:none}
.cv--centred .cv__action{text-align:center}
@media (max-width:760px){
  .cv--centred .cv__text .measure{text-align:left}
}

/* ---- Footer: the dead space taken out, body text justified ---- */
.footer{padding-block:clamp(38px,4.2vw,56px) 22px}
.footer__grid{gap:clamp(22px,2.6vw,34px)}
.footer__bot{margin-top:30px;padding-top:18px}
.footer__legal p{text-align:justify;hyphens:none}
@media (max-width:760px){.footer__legal p{text-align:left}}


/* ---------- Google rating strip (hero) -------------------------------
   The aggregate only: the score, the count, and a link through to the
   live listing. No review text is reproduced on this site, so no patient
   is identified and no authorization is needed. The link opens Google's
   reviews tab directly (the !9m1!1b1 fragment). */
.rating{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:7px 12px;margin:18px 0 0;font-size:.95rem;line-height:1.4}
.rating__stars{position:relative;display:inline-block;width:104px;height:20px;flex:none}
.rating__base,.rating__gold{position:absolute;left:0;top:0;width:104px;height:20px;display:block}
.rating__base{fill:#CBD5DC}
.rating__gold{fill:#D79A28}
.rating__fillwrap{position:absolute;left:0;top:0;height:20px;width:var(--pct,0%);overflow:hidden}
.rating__score{font-family:var(--display);font-size:1.12rem;font-weight:700;color:var(--ink);letter-spacing:-.01em}
.rating__count{color:var(--muted)}
.rating__count::before{content:"·";margin-right:12px;color:var(--line)}
.rating__link{color:var(--brand);font-weight:600;text-decoration:none;white-space:nowrap}
.rating__link::before{content:"·";margin-right:12px;color:var(--line);font-weight:400}
.rating__link:hover{color:var(--brand-deep)}
.rating__link .arw{display:inline-block;transition:transform .3s ease}
.rating__link:hover .arw{transform:translateX(3px)}
@media (max-width:560px){
  .rating{gap:6px 10px}
  .rating__count::before,.rating__link::before{display:none}
  .rating__link{flex-basis:100%;margin-top:2px}
}


/* ---------- The text line, in place of the old Secure Text button ----------
   On a computer an sms: link has nowhere to go: Dr. Sachs found it opened an
   app chooser and then did nothing, which reads as a broken button. So on a
   pointer device this renders as a plain bordered line of information and
   cannot be clicked. On a phone it stays a real link that opens the
   messaging app, which is the easiest thing a nervous patient can do. */
.txtline{
  --tl-fg:var(--ink);--tl-ac:var(--brand);--tl-bd:var(--line);
  display:inline-flex;align-items:center;justify-content:center;gap:.45em;
  padding:14px 22px;border:1px solid var(--tl-bd);border-radius:2px;
  font-family:var(--body);font-size:.95rem;font-weight:600;line-height:1.3;
  color:var(--tl-fg);background:transparent;text-decoration:none;
}
.txtline b{font-weight:700;color:var(--tl-ac);white-space:nowrap}
.txtline--lg{padding:16px 26px;font-size:clamp(1rem,1.2vw,1.08rem)}

@media (hover:hover) and (pointer:fine){
  /* every sms: destination on the site, made inert on a desktop */
  .txtline,.hdr-phone,.footer-tel{pointer-events:none;cursor:default}
}

/* ---------- A larger primary button for the top of a page ---------- */
.btn--xl{padding:19px 42px;font-size:clamp(1.1rem,1.55vw,1.32rem)}
.phead-cta{margin-top:28px;margin-bottom:0;text-align:center}
.phead-cta .btn{max-width:100%}
.phead-cta + .phead-note{margin:14px 0 0;text-align:center}

/* ---------- Calls to action stacked, each on its own line ---------- */
.row--stack{flex-direction:column;align-items:center}
.row--stack>*{width:auto}
@media (max-width:620px){ .row--stack>*{width:100%} }

/* ---------- An eyebrow that reads as a label, not a button ----------
   "NEXT STEP" above a heading was being mistaken for something clickable. */
.eyebrow--label{background:none;border:0;padding:0;letter-spacing:.14em}
.section--ink .eyebrow--label{background:none;border:0}


/* ---------- Round 8, 15 Nov 2026 ---------- */

/* The three credential lines carry more weight than anything else on the
   About page, so they are set larger than the timeline above them. */
.creds li{padding:14px 0}
.creds .yr{font-size:.86rem}
.creds b{font-size:clamp(1.04rem,1.35vw,1.2rem)}
.creds span.sub{font-size:.98rem}

/* A narrow column that sits in the middle of the page instead of hugging
   the left edge. The measure cap stays — long lines are hard to read — but
   the capped block is centred, and the headings centre with it. */
.narrow-centre{text-align:center}
.narrow-centre .eyebrow{justify-content:center}
/* Centred prose, with a shorter line length — centred text only reads
   well in short lines, so the measure is tightened to suit. */
.narrow-centre .measure{margin-inline:auto;max-width:60ch;text-align:center}
.narrow-centre .callout{margin-inline:auto;max-width:62ch;text-align:center}
/* A numbered list stays left-aligned; centring one is unreadable. */
.narrow-centre .path{text-align:left}
.narrow-centre .fine,.narrow-centre .small{margin-inline:auto}

/* About: give the text column the room the white space was wasting. */
.split--lean{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,4vw,54px)}
.split--lean .measure{max-width:none}
.split--lean p{font-size:clamp(1.04rem,1.2vw,1.15rem);line-height:1.62}
.split--lean .hero__frame{max-width:none}
/* The heading is sized to sit on a single line in its column. */
.split--lean h2{font-size:clamp(1.45rem,2.12vw,2.05rem);line-height:1.18;text-wrap:nowrap}
@media (max-width:860px){ .split--lean h2{font-size:clamp(1.5rem,5.4vw,2rem);text-wrap:balance} }
@media (max-width:860px){ .split--lean{grid-template-columns:1fr} }

/* The fee table's lead-in label. */
.fees-lead{font-family:var(--label);font-size:.8rem;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--muted);margin:0 0 14px}

/* A plain list inside an FAQ answer. */
.faq__a ul{margin:10px 0 0;padding-left:0;list-style:none}
.faq__a ul li{position:relative;padding-left:18px;margin-bottom:7px;line-height:1.5}
.faq__a ul li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;
  border-radius:50%;background:var(--brand)}
.faq__a ul li:last-child{margin-bottom:0}


/* ---------- Patient testimonials ----------
   Published with written authorization from each patient. No names, no
   clinical detail, nothing that identifies anyone. Do not add review
   structured data here: self-serving review markup on a business's own
   site is against Google's guidelines and can cost the rich result. */
.quotes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(18px,2.2vw,26px);margin-top:clamp(28px,3.4vw,44px)}
.quote{position:relative;margin:0;display:flex;flex-direction:column;
  padding:clamp(24px,2.5vw,34px);background:var(--paper);
  border:1px solid var(--line);border-radius:3px;overflow:hidden;
  transition:border-color .4s ease,transform .5s cubic-bezier(.2,.7,.3,1),box-shadow .4s ease}
.quote:hover{border-color:var(--brand-lite);transform:translateY(-3px);
  box-shadow:0 18px 38px -28px rgba(26,20,48,.45)}
/* a quiet quotation mark, set behind the text */
.quote::before{content:"\201C";position:absolute;top:-.26em;right:.1em;
  font-family:var(--display);font-size:7.5rem;line-height:1;
  color:var(--brand);opacity:.07;pointer-events:none}
.quote__stars{display:block;width:92px;height:17.7px;flex:none;margin-bottom:16px}
.quote__stars path{fill:#D79A28}
.quote blockquote{margin:0;position:relative;z-index:1;
  font-size:clamp(.96rem,.95vw,1.02rem);line-height:1.62;color:var(--ink)}
.quote figcaption{margin-top:auto;padding-top:20px;display:flex;
  flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.quote figcaption b{font-family:var(--body);font-size:.98rem;font-weight:700;
  color:var(--ink);letter-spacing:0;text-transform:none}
.quote figcaption span{font-family:var(--label);font-size:.68rem;font-weight:700;
  letter-spacing:.11em;text-transform:uppercase;color:var(--muted)}
.quotes-more{text-align:center;margin:clamp(26px,3vw,36px) 0 0}
@media (max-width:1080px){ .quotes{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:760px){ .quotes{grid-template-columns:1fr} }

/* ---------- WordPress-only additions ----------
   Nothing above this line was changed. These rules exist for the parts of a
   WordPress site the static build never had: blog cards, post bodies, the
   pagination, and the editor's own classes. */

.ms-prose > *:first-child{margin-top:0}
.ms-prose p{margin:0 0 1.1em}
.ms-prose h2{margin:1.8em 0 .5em;font-size:clamp(1.4rem,2vw,1.9rem)}
.ms-prose h3{margin:1.5em 0 .4em}
.ms-prose ul,.ms-prose ol{margin:0 0 1.1em;padding-left:1.25em}
.ms-prose li{margin:.35em 0}
.ms-prose img,.ms-prose .wp-block-image img{max-width:100%;height:auto;border-radius:3px}
.ms-prose blockquote{margin:1.4em 0;padding-left:18px;border-left:3px solid var(--brand);
  font-size:1.06rem;color:var(--ink)}
.ms-prose a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.ms-prose figure{margin:1.4em 0}
.ms-prose figcaption{margin-top:8px;font-size:.86rem;color:var(--muted)}

.card__media{display:block;margin:-1px -1px 18px;overflow:hidden;border-radius:3px 3px 0 0}
.card__media img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.card h3 a{color:inherit;text-decoration:none}
.card h3 a:hover{color:var(--brand)}

.ms-hero-img{margin:0 auto clamp(26px,3vw,40px);max-width:900px}
.ms-hero-img img{display:block;width:100%;height:auto;border-radius:3px}

.ms-pagination{margin-top:clamp(28px,3.4vw,44px);text-align:center}
.ms-pagination .page-numbers{display:inline-block;min-width:40px;padding:9px 12px;margin:0 3px;
  border:1px solid var(--line);border-radius:2px;font-family:var(--label);font-size:.82rem;
  font-weight:700;color:var(--ink);text-decoration:none}
.ms-pagination .page-numbers.current{background:var(--ink);border-color:var(--ink);color:#fff}
.ms-pagination .page-numbers:hover{border-color:var(--ink-soft)}

.wp-block-image{margin:1.4em 0}
.alignwide{max-width:min(100%,1100px);margin-inline:auto}
.alignfull{max-width:none}
.aligncenter{margin-inline:auto;text-align:center}
