/* Variant C2 — light editorial. Keeps C's structure (big editorial headline, index rail beside the card stack)
   but cream/white surfaces lead; wine is the ink and the one closing block. Display face: Anuphan. */
@font-face{font-family:Kanit;src:url('assets/kanit-300.ttf') format('truetype');font-weight:300;font-display:swap}
@font-face{font-family:Kanit;src:url('assets/kanit-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Kanit;src:url('assets/kanit-500.ttf') format('truetype');font-weight:500;font-display:swap}
.is-home{--display:Kanit,'Noto Thai',sans-serif;--cream:#faf6f0;--sand:#f2e9de;--ink:#2e2024;--wine:#4b0617;--wine-2:#6b1328;--gold:#b08a57;--gold-text:#8a6436;--soft-text:#5f504d;--ledger-line:rgb(75 6 23 / .13);--ledger-title:#4b0617;--link-color:#4b0617;--hero-bg:#faf6f0;--stack-top:40px;--stack-step:0px;background:var(--cream);color:var(--ink)}
.is-home ::selection{background:#4b0617;color:#faf6f0}
.is-home h1,.is-home h2,.is-home .stack-copy h3,.is-home .physician-copy h3,.is-home .clinic-contact h2,.is-home .ledger-title,.is-home .step-number,.is-home .stack-index button{font-family:var(--display)}
.is-home h1,.is-home h2{font-weight:400}
.is-home :focus-visible{outline:3px solid #4b0617;outline-offset:3px}
.is-home .site-header{background:var(--cream);border-bottom:1px solid rgb(75 6 23 / .08)}

/* ---------- Hero: full-width photo band, headline panel overlapping its lower edge ---------- */
.is-home .lifestyle-hero{background:var(--cream);overflow:visible}
.is-home .hero-photo{height:clamp(400px,52vh,540px)}
.is-home .hero-photo img{object-position:60% 40%}
.is-home .hero-photo figcaption{bottom:auto;top:16px;right:16px}
.is-home .hero-copy{position:relative;z-index:2;max-width:1440px;margin:-150px auto 0;padding:0 var(--gutter) 64px;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:64px;align-items:start}
.is-home .hero-copy h1{grid-column:1;grid-row:1;align-self:start;background:var(--cream);margin:0 0 0 calc(-1 * var(--gutter));padding:44px 48px 0 var(--gutter);border-radius:0 20px 0 0;font-size:clamp(46px,5vw,76px);line-height:1.28;color:var(--wine);font-weight:400}
.is-home .hero-lede{grid-column:2;grid-row:1;padding-top:178px;margin:0 0 24px;color:var(--soft-text)}
.is-home .hero-actions{grid-column:2;grid-row:2;max-width:none}
.is-home .hero-actions .button{border-radius:999px;background:var(--wine);border-color:var(--wine);color:#fff;padding-inline:26px}
.is-home .hero-actions .button:hover{background:var(--wine-2);border-color:var(--wine-2)}
.is-home .hero-actions .button.secondary{background:transparent;color:var(--wine);border-color:rgb(75 6 23 / .45)}
.is-home .hero-actions .button.secondary:hover{background:var(--wine);color:#fff;border-color:var(--wine)}
.is-home .hero-assurance{grid-column:1;grid-row:2;align-self:start;margin-top:36px;max-width:560px;padding-top:20px;border-top:1px solid var(--ledger-line);color:var(--ink)}
.is-home .hero-assurance span::before{width:16px;height:1px;transform:none;background:var(--gold)}

/* ---------- Card stack with index rail ---------- */
.stack-section{background:var(--cream);padding-top:96px}
.stack-head h2{color:var(--wine)}
.stack-head>p{color:var(--soft-text)}
.stack-card{height:min(calc(100svh - 80px),760px);grid-template-rows:minmax(0,54%) auto;background:#fff;border:1px solid rgb(75 6 23 / .08);border-radius:20px;box-shadow:0 1px 2px rgb(75 6 23 / .05),0 34px 64px -36px rgb(75 6 23 / .38)}
.stack-card::after{background:#4b0617;border-radius:20px}
.stack-copy{justify-content:flex-start;padding:clamp(24px,3vw,44px);color:var(--ink)}
.stack-copy h3{font-size:clamp(36px,3.4vw,54px);font-weight:400;color:var(--wine)}
.stack-meta{color:var(--gold-text);font-weight:600}
.stack-text{color:var(--soft-text);margin-bottom:24px}
.stack-actions{flex-direction:row;flex-wrap:wrap;max-width:none}
.stack-actions .stack-link{flex:1 1 240px;border-radius:999px}
.stack-primary{background:var(--wine);border-color:var(--wine);color:#fff}
.stack-primary:hover{background:var(--wine-2);border-color:var(--wine-2)}
.stack-link:not(.stack-primary){color:var(--wine);border-color:rgb(75 6 23 / .4)}
.stack-link:not(.stack-primary):hover{background:var(--wine);color:#fff;border-color:var(--wine)}
@supports (animation-timeline: view()){
 @media (prefers-reduced-motion:no-preference){
  .stack-card:not(:last-child)::after{animation-name:stack-dim-light}
 }
}
@keyframes stack-dim-light{0%,55%{opacity:0}to{opacity:.22}}
@media(min-width:1100px){
 .stack-layout{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(40px,5vw,88px)}
 .stack-head{position:sticky;top:48px;align-self:start;padding-top:8px}
 .stack-index{display:block;border-top:1px solid var(--ledger-line)}
 .stack-index li{border-bottom:1px solid var(--ledger-line)}
 .stack-index button{width:100%;font-size:24px;min-height:66px;color:#7d6a68;opacity:1}
 .stack-index button::before{content:"";width:0;height:1px;background:var(--gold);transition:width 220ms var(--ease-out)}
 .stack-index button[aria-current]{color:var(--wine)}
 .stack-index button[aria-current]::before{width:28px}
 .stack-index button:focus-visible{outline:2px solid var(--wine)}
 .stack{margin-top:0}
}

/* ---------- Services ---------- */
.clinic-section{background:#fff}
.clinic-intro h2{color:var(--wine)}
.clinic-intro p{color:var(--soft-text)}
.service-ledger .ledger-title{font-size:23px}
.service-ledger a:hover{background:linear-gradient(90deg,rgb(242 233 222 / .7),rgb(242 233 222 / 0))}

/* ---------- Physician ---------- */
.is-home .physician-section{background:var(--sand);color:var(--ink)}
.is-home .physician-copy h2{font-family:var(--display)!important;font-weight:400;font-size:clamp(30px,3vw,42px)!important;line-height:1.4;color:var(--wine);margin:0 0 22px!important}
.is-home .physician-copy h3{font-size:clamp(30px,2.6vw,38px);font-weight:500;color:var(--ink);margin:0 0 4px}
.is-home .physician-copy .specialty{font-size:18px;color:var(--ink)}
.is-home .physician-photo{position:relative;isolation:isolate}
.is-home .physician-photo::before{content:"";position:absolute;z-index:-1;left:50%;top:0;width:min(100%,460px);aspect-ratio:1;transform:translateX(-50%) scale(1.1);border-radius:50%;background:var(--cream)}
.is-home .physician-photo img{border-radius:50%;box-shadow:0 0 0 1px rgb(176 138 87 / .6)}
.is-home .physician-links a{color:var(--wine);border-color:rgb(75 6 23 / .4);border-radius:999px}
.is-home .physician-links a:hover{background:var(--wine);color:#fff;border-color:var(--wine)}

/* ---------- Process / FAQ ---------- */
.is-home .process-section{background:var(--cream);color:var(--ink)}
.is-home .process-section h2,.is-home .process-sequence h3{color:var(--wine)}
.is-home .process-sequence p{color:var(--soft-text)}
.is-home .step-number{font-size:56px;font-weight:300;color:#9a7444;border-bottom-color:var(--ledger-line)}
.is-home .faq-section{background:#fff;max-width:none;padding-inline:max(var(--gutter),calc((100vw - 1440px)/2 + var(--gutter)))}
.is-home .faq-section h2,.is-home .faq-list summary{color:var(--wine)}
.is-home .faq-section>div>p,.is-home .faq-list .detail-body{color:var(--soft-text)}

/* ---------- Closing wine block ---------- */
.is-home .clinic-contact{background:var(--wine);color:#f6ede2}
.is-home .clinic-contact h2,.is-home .clinic-contact h3{color:#fbf2e6}
.is-home .clinic-contact address,.is-home .clinic-contact p{color:#ecdcd5}
.is-home .clinic-contact .reading-link,.is-home .contact-care-links a{color:#e8cfa8}
.is-home .clinic-contact :focus-visible{outline-color:#e8cfa8}
.is-home .site-footer{background:#3a0412;color:#e3d0c9;max-width:none;border:0;padding-inline:max(var(--gutter),calc((100vw - 1440px)/2 + var(--gutter)))}
.is-home .site-footer a{color:#e8cfa8}

@media(max-width:1099px){
 .is-home .hero-copy{grid-template-columns:1fr}
 .is-home .hero-copy h1,.is-home .hero-lede,.is-home .hero-actions,.is-home .hero-assurance{grid-column:1;grid-row:auto;align-self:auto}
 .is-home .hero-lede{padding-top:20px}
 .is-home .hero-actions{max-width:440px}
}
@media(max-width:699px){
 .is-home .site-header.menu-open .care-navigation{background:var(--cream)}
 .is-home .hero-photo{height:260px}
 .is-home .hero-photo img{object-position:70% 40%}
 .is-home .hero-photo figcaption{top:10px;right:10px}
 .is-home .hero-copy{margin-top:-44px;padding-bottom:40px}
 .is-home .hero-copy h1{font-size:36px;line-height:1.36;margin-right:calc(-1 * var(--gutter));padding:22px 20px 0;border-radius:16px 16px 0 0}
 .is-home .hero-lede{padding-top:12px;margin-bottom:20px}
 .is-home .hero-assurance{margin-top:22px;padding-top:14px}
 .stack-section{padding-top:48px}
 .stack-card{--stack-top:12px;height:auto;grid-template-rows:220px auto;border-radius:16px}
 .stack-card::after{border-radius:16px}
 .stack-copy{padding:20px 18px 22px}
 .stack-copy h3{font-size:32px}
 .stack-actions{flex-direction:column}
 .stack-actions .stack-link{flex:none}
 .service-ledger .ledger-title{font-size:21px}
 .is-home .physician-photo::before{width:260px}
 .is-home .step-number{font-size:44px}
}


/* =====================================================================
   Inner pages (hubs, topic/service pages, request steps) — same C2 world:
   cream page, sand hero panel, Kanit headings, wine ink, pill actions.
   ===================================================================== */
body:not(.is-home){--display:Kanit,'Noto Thai',sans-serif;--cream:#faf6f0;--sand:#f2e9de;--ink:#2e2024;--wine:#4b0617;--wine-2:#6b1328;--gold:#b08a57;--gold-text:#8a6436;--soft-text:#5f504d;--hair:rgb(75 6 23 / .13);--ease-out:cubic-bezier(.16,1,.3,1);background:var(--cream);color:var(--ink);overflow-x:clip}
body:not(.is-home) ::selection{background:#4b0617;color:#faf6f0}
body:not(.is-home) .site-header{background:var(--cream);border-bottom:1px solid rgb(75 6 23 / .08)}
body main:focus,body main:focus-visible,body:not(.is-home) main:focus-visible{outline:none}
body:not(.is-home) main{max-width:1280px;padding:28px var(--gutter) 104px}
body:not(.is-home) :is(h1,h2,h3,.consult-title,.choice-title){font-family:var(--display);letter-spacing:0}
body:not(.is-home) h1{font-weight:400;color:var(--wine);font-size:clamp(40px,4.4vw,66px);line-height:1.28;margin:20px 0 14px}
body:not(.is-home) h2{font-weight:400;color:var(--wine);font-size:clamp(26px,2.4vw,34px);line-height:1.45;margin:0 0 14px}
body:not(.is-home) h3{font-weight:500;color:var(--ink)}
body:not(.is-home) a{color:var(--wine)}
body:not(.is-home) :focus-visible{outline:3px solid #4b0617;outline-offset:3px}

/* actions */
body:not(.is-home) main :is(.button,button){display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:12px 26px;border-radius:999px;border:1px solid var(--wine);background:var(--wine);color:#fff;font-weight:600;font-size:16px;text-decoration:none;transition:background-color 160ms,color 160ms,border-color 160ms}
body:not(.is-home) main :is(.button,button):hover{background:var(--wine-2);border-color:var(--wine-2);color:#fff}
body:not(.is-home) main :is(.button,button).secondary{background:transparent;color:var(--wine);border-color:rgb(75 6 23 / .4)}
body:not(.is-home) main :is(.button,button).secondary:hover{background:var(--wine);color:#fff;border-color:var(--wine)}
body:not(.is-home) main button:disabled{opacity:.55;cursor:not-allowed}

/* breadcrumb as quiet pills */
body:not(.is-home) .breadcrumb{border:0;padding:0;gap:8px;font-size:14px}
body:not(.is-home) .breadcrumb a{display:inline-flex;align-items:center;min-height:36px;padding:4px 14px;border-radius:999px;background:rgb(255 255 255 / .7);border:1px solid var(--hair);color:var(--soft-text);text-decoration:none}
body:not(.is-home) .breadcrumb a:hover{color:var(--wine);border-color:rgb(75 6 23 / .35)}

/* notices */
body:not(.is-home) .notice{background:#fff;border:1px solid var(--hair);border-radius:16px;padding:14px 20px;font-size:15px;line-height:1.75;color:var(--soft-text);margin:20px 0}
body:not(.is-home) .notice strong{color:var(--ink)}
body:not(.is-home) .service-gap{background:var(--sand);border:0}
body:not(.is-home) .service-gap h3{font-size:19px;margin:0 0 8px;color:var(--wine)}
body:not(.is-home) .service-gap p{margin:6px 0}

/* ---------- page hero panel ---------- */
.page-hero{display:grid;grid-template-columns:1fr;align-items:stretch;background:var(--sand);border-radius:28px;overflow:hidden;margin:0 0 8px}
.page-hero.has-media{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.page-hero-copy{padding:clamp(28px,4vw,56px);display:flex;flex-direction:column;justify-content:center}
.page-hero-copy h1{margin-top:28px}
.page-hero .lead,.page-lede{font-size:18px;line-height:1.8;color:var(--soft-text);margin:0;max-width:46ch}
.page-lede{color:var(--gold-text);font-weight:600;font-size:16px}
.page-hero-media{margin:0;position:relative;min-height:340px}
.page-hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.page-hero-media figcaption{position:absolute;right:12px;bottom:12px;font-size:12px;line-height:1.5;padding:3px 9px;border-radius:4px;background:rgb(0 0 0 / .45);color:#f6ede2}
body:not(.is-home) .reading-jumps{flex-direction:row;flex-wrap:wrap;gap:10px;margin:28px 0 0}
body:not(.is-home) .reading-jumps button{min-height:44px;padding:8px 18px;font-size:15px;background:rgb(255 255 255 / .75)}
body:not(.is-home) .reading-jumps button:hover{background:var(--wine)}

/* ---------- hubs ---------- */
.choice-list.choice-cards,.choice-list.choice-ledger{border:0;background:none;margin:40px 0 0;padding:0}
.choice-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.choice-cards li{border:0}
.choice-cards a{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;min-height:0;padding:0;height:100%;background:#fff;border:1px solid var(--hair);border-radius:22px;overflow:hidden;color:inherit;transition:box-shadow 200ms var(--ease-out),border-color 200ms}
.choice-cards a:hover{border-color:rgb(75 6 23 / .3);box-shadow:0 26px 50px -32px rgb(75 6 23 / .45)}
.choice-cards .page-hero-media{min-height:0;aspect-ratio:4/3}
.choice-cards .choice-title{font-size:30px;font-weight:400;color:var(--wine);padding:22px 24px 4px}
.choice-cards .choice-action{padding:0 24px 24px;color:var(--gold-text);font-weight:600}
.choice-cards .choice-action::after,.choice-ledger .choice-action::after{content:" →"}
.choice-ledger{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}
.choice-ledger li{border-top:1px solid var(--hair)}
.choice-ledger a{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;min-height:96px;padding:20px 4px;text-decoration:none;color:inherit}
.choice-ledger a:hover{background:linear-gradient(90deg,rgb(242 233 222 / .8),rgb(242 233 222 / 0))}
.choice-ledger .choice-title{font-size:24px;font-weight:400;color:var(--wine)}
.choice-ledger .choice-action{font-size:15px;color:var(--gold-text);font-weight:600;white-space:nowrap}

/* ---------- topic / service reading page ---------- */
.page-body{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:clamp(32px,5vw,80px);align-items:start;margin-top:36px}
body:not(.is-home) .reading{max-width:740px}
body:not(.is-home) .article-section{margin:0 0 40px}
body:not(.is-home) .legacy-block{font-size:17px;line-height:1.95;color:var(--ink);max-width:68ch}
body:not(.is-home) .accordions{border:0;margin:8px 0 44px;border-bottom:1px solid var(--hair)}
body:not(.is-home) details{background:transparent;border-top:1px solid var(--hair)}
body:not(.is-home) summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;padding:22px 2px;min-height:76px;font-family:var(--display);font-weight:400;font-size:21px;color:var(--wine)}
body:not(.is-home) summary::after{content:"";flex:none;width:14px;height:14px;background:linear-gradient(currentColor,currentColor) center/14px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 14px no-repeat;transition:transform 220ms var(--ease-out)}
body:not(.is-home) details[open]>summary::after{transform:rotate(45deg)}
body:not(.is-home) .detail-body{padding:0 2px 26px}
body:not(.is-home) .next-step{border:0;margin:48px 0 0;padding:clamp(28px,4vw,48px);background:var(--wine);color:#f3e8e2;border-radius:24px}
body:not(.is-home) .next-step h2{color:#fbf2e6}
body:not(.is-home) .next-step p{color:#ecdcd5}
body:not(.is-home) .next-step .service-gap{background:rgb(255 255 255 / .07);color:#ecdcd5}
body:not(.is-home) .next-step .service-gap h3{color:#e8cfa8}
body:not(.is-home) .next-step .button{background:#faf6f0;border-color:#faf6f0;color:var(--wine)}
body:not(.is-home) .next-step .button:hover{background:#fff;color:var(--wine)}
body:not(.is-home) .next-step .button.secondary{background:transparent;color:#faf6f0;border-color:rgb(250 246 240 / .6)}
body:not(.is-home) .next-step .button.secondary:hover{background:#faf6f0;color:var(--wine)}
body:not(.is-home) .next-step :focus-visible{outline-color:#e8cfa8}
body:not(.is-home) .next-step .fee{color:#e8cfa8}
body:not(.is-home) .provenance{margin-top:36px;border-top:0}
body:not(.is-home) .provenance summary{font-family:inherit;font-size:15px;min-height:52px;color:var(--soft-text)}
.consult-card{position:sticky;top:28px;background:#fff;border:1px solid var(--hair);border-radius:22px;padding:28px;box-shadow:0 30px 60px -40px rgb(75 6 23 / .45)}
.consult-title{font-size:24px;line-height:1.45;color:var(--wine);margin:0 0 10px}
.consult-note{font-size:15px;line-height:1.75;color:var(--soft-text);margin:0 0 20px}
.consult-actions{display:flex;flex-direction:column;gap:10px}
.consult-actions .button{width:100%;font-size:15px}

/* ---------- request steps ---------- */
body[data-view=request] main{max-width:920px}
body[data-view=request] .page-hero-copy{padding:clamp(24px,3.5vw,44px)}
body[data-view=request] .page-hero-copy h1{font-size:clamp(32px,3.2vw,46px);margin:22px 0 0}
body:not(.is-home) .steps{list-style:none;counter-reset:step;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0;margin:28px 0}
body:not(.is-home) .steps li{counter-increment:step;padding-top:12px;border-top:3px solid var(--hair);color:var(--soft-text);font-size:15px}
body:not(.is-home) .steps li::before{content:counter(step) " · "}
body:not(.is-home) .steps li[aria-current]{border-color:var(--wine);color:var(--wine);font-weight:600}
body:not(.is-home) .context{background:#fff;border:1px solid var(--hair);border-radius:18px;padding:20px 24px}
body:not(.is-home) .context p{margin:4px 0}
body:not(.is-home) form{max-width:none;background:#fff;border:1px solid var(--hair);border-radius:22px;padding:clamp(22px,3.5vw,40px);margin-top:20px}
body:not(.is-home) .field{margin:0 0 24px}
body:not(.is-home) .field label{font-weight:600;color:var(--ink)}
body:not(.is-home) input:not([type=checkbox]),body:not(.is-home) select{border:1px solid rgb(75 6 23 / .25);border-radius:12px;background:var(--cream);min-height:52px;margin-top:8px}
body:not(.is-home) input:not([type=checkbox]):focus,body:not(.is-home) select:focus{border-color:var(--wine);background:#fff}
body:not(.is-home) .hint{font-size:14px;color:var(--soft-text)}
body:not(.is-home) .error{color:#982637}
body:not(.is-home) .review-list{background:#fff;border:1px solid var(--hair);border-radius:18px;padding:8px 24px;max-width:none}
body:not(.is-home) .review-list div{border-color:var(--hair)}

body:not(.is-home) .site-footer{border-top:1px solid var(--hair)}

@media(max-width:1099px){
 .page-body{grid-template-columns:1fr}
 .consult-card{position:static;order:-1}
 .choice-cards{grid-template-columns:1fr 1fr}
}
@media(max-width:899px){
 .page-hero.has-media{grid-template-columns:1fr}
 .page-hero.has-media .page-hero-media{order:-1;min-height:0;aspect-ratio:16/9}
 .choice-ledger{grid-template-columns:1fr}
}
@media(max-width:699px){
 body:not(.is-home) main{padding:16px var(--gutter) 72px}
 body:not(.is-home) h1{font-size:34px;line-height:1.36}
 .page-hero{border-radius:20px}
 .page-hero-copy{padding:22px 20px 26px}
 .page-hero-copy h1{margin-top:18px}
 .page-hero .lead{font-size:16px}
 .choice-cards{grid-template-columns:1fr;gap:16px}
 .choice-cards .choice-title{font-size:26px;padding:18px 20px 2px}
 .choice-cards .choice-action{padding:0 20px 20px}
 .choice-ledger a{min-height:76px}
 .choice-ledger .choice-title{font-size:21px}
 body:not(.is-home) summary{font-size:19px;min-height:68px}
 body:not(.is-home) .legacy-block{font-size:16px}
 body:not(.is-home) .actions{flex-direction:column}
 body:not(.is-home) .actions :is(.button,button){width:100%}
 .consult-card{padding:22px;border-radius:18px}
 body:not(.is-home) .next-step{border-radius:20px}
 body:not(.is-home) .steps li{font-size:13px}
}
@media(prefers-reduced-motion:reduce){body:not(.is-home) summary::after{transition:none}}
/* mobile refinements after first render pass */
@media(max-width:1099px){.consult-card{display:none}}
@media(max-width:699px){
 body:not(.is-home) .reading-jumps{flex-direction:row;flex-wrap:wrap;gap:8px;margin-top:20px}
 body:not(.is-home) main .reading-jumps.actions button{width:auto;min-height:44px;padding:6px 14px;font-size:14px}
 .choice-ledger a{flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:16px 4px}
 .choice-ledger .choice-action{font-size:14px}
 .choice-cards .page-hero-media{aspect-ratio:16/10}
}

/* ===================== C3 — Function-style light editorial =====================
   Wine stays the brand (logo, headings, closing block); terracotta becomes the action
   colour (buttons, numbers, emphasis). Big warm AI illustrations, two path cards up top. */
.is-home,body:not(.is-home){--accent:#b4532f;--accent-2:#97432a;--accent-soft:#f3e0d4;--gold-text:#9a4a2a}
body{background:#fcf7f0}

/* ---------- Hero: intro + two big path cards ---------- */
.is-home .lifestyle-hero{background:var(--cream);overflow:visible;padding:0 var(--gutter);max-width:1440px;margin:0 auto;min-height:0}
.is-home .hero-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;padding:44px 0 30px}
.is-home .hero-intro h1{font-size:clamp(40px,4.4vw,66px);line-height:1.26;color:var(--wine);font-weight:400;margin:0}
.is-home .hero-intro h1 .em{color:var(--accent);font-weight:300}
.is-home .hero-lede{max-width:48ch;margin:14px 0 0;color:var(--soft-text);font-size:18px;line-height:1.8;padding:0}
.is-home .hero-assurance{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px;margin:0;padding:0;border:0;max-width:none;color:var(--soft-text);font-size:15px;text-align:right}
.is-home .hero-assurance span:first-child{font-family:var(--display);font-weight:500;color:var(--wine);font-size:17px}
.is-home .hero-assurance span::before{display:none}
.is-home .hero-paths{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-bottom:12px}
.is-home .hero-path{position:relative;display:block;margin:0;padding:0;min-height:0;border:0;border-radius:26px;overflow:hidden;aspect-ratio:4/3;background:#2b2321;color:#fff;text-align:left;isolation:isolate}
.is-home .hero-path:hover{background:#2b2321;color:#fff}
.is-home .hero-path .hero-photo{position:absolute;inset:0;margin:0;height:auto;z-index:-2}
.is-home .hero-path .hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 45%;transition:transform 900ms var(--ease-out)}
.is-home .hero-path:hover .hero-photo img{transform:scale(1.035)}
.is-home .hero-path::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgb(24 12 8/0) 40%,rgb(24 12 8/.74))}
.is-home .hero-path figcaption{position:absolute;top:16px;right:16px;bottom:auto;left:auto;font-size:12px;line-height:1.5;padding:3px 10px;border-radius:999px;background:rgb(0 0 0/.4);color:#f6ede2}
.is-home .path-body{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:30px 32px}
.is-home .path-text{display:flex;flex-direction:column;gap:12px}
.is-home .path-title{font-family:var(--display);font-weight:400;font-size:clamp(28px,2.7vw,42px);line-height:1.25;color:#fff}
.is-home .path-chips{display:flex;flex-wrap:wrap;gap:8px}
.is-home .path-chips span{font-size:14px;font-weight:500;padding:3px 13px;border-radius:999px;background:rgb(255 255 255/.15);border:1px solid rgb(255 255 255/.3);backdrop-filter:blur(6px)}
.is-home .path-go{flex:none;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;transition:transform 300ms var(--ease-out),background-color 160ms}
.is-home .path-go .care-arrow{margin:0}
.is-home .hero-path:hover .path-go{transform:translateX(4px);background:var(--accent-2)}
.is-home .hero-path:focus-visible{outline:3px solid var(--accent);outline-offset:4px}

/* ---------- Accent swaps on the rest of the home ---------- */
.stack-section{padding-top:110px}
.stack-meta{color:var(--gold-text)}
.stack-primary{background:var(--accent);border-color:var(--accent)}
.stack-primary:hover{background:var(--accent-2);border-color:var(--accent-2)}
@media(min-width:1100px){.stack-index button::before{background:var(--accent)}}
.is-home .reading-link{color:var(--accent)}
.service-ledger .care-arrow{color:var(--accent)}
.clinic-figure{margin:36px 0 0;position:relative;border-radius:20px;overflow:hidden;aspect-ratio:4/3}
.clinic-figure img{width:100%;height:100%;object-fit:cover;display:block}
.clinic-figure figcaption{position:absolute;right:12px;bottom:12px;font-size:12px;padding:3px 10px;border-radius:999px;background:rgb(0 0 0/.42);color:#f6ede2}
.is-home .physician-links a:hover{background:var(--accent);border-color:var(--accent)}

/* ---------- Process: full-bleed river statement + illustrated steps ---------- */
.is-home .process-section{padding:0 0 104px;background:var(--cream)}
.statement{position:relative;min-height:clamp(480px,46vw,660px);display:flex;align-items:center;isolation:isolate;overflow:hidden;margin-bottom:96px}
.statement>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.statement::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgb(24 12 8/0) 40%,rgb(24 12 8/.4))}
.statement-cap{position:absolute;left:16px;bottom:16px;font-size:12px;padding:3px 10px;border-radius:999px;background:rgb(0 0 0/.42);color:#f6ede2}
.statement-box{margin-left:auto;margin-right:max(var(--gutter),calc((100vw - 1440px)/2 + var(--gutter)));max-width:620px;color:#fff}
.statement-title{font-family:var(--display);font-weight:400;font-size:clamp(34px,3.6vw,54px);line-height:1.28;margin:0;text-shadow:0 2px 30px rgb(0 0 0/.25)}
.statement-text{margin:18px 0 28px;font-size:18px;color:#fbf2e8}
.statement-link{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:10px 26px;border-radius:999px;background:var(--accent);color:#fff;font-weight:600;text-decoration:none;transition:background-color 160ms}
.statement-link:hover{background:var(--accent-2);color:#fff}
.statement-link:focus-visible{outline:3px solid #fff;outline-offset:3px}
.is-home .process-section h2{text-align:center;color:var(--wine);font-size:clamp(32px,3.2vw,48px)}
.is-home .process-sequence{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:48px;border:0;padding:0}
.is-home .process-sequence li{display:flex;flex-direction:column;align-items:center;text-align:center;background:var(--sand);border:0;border-radius:22px;padding:38px 28px 30px;min-height:430px}
.is-home .step-number{font-size:20px;font-weight:500;color:var(--accent);border:0;padding:0;margin:0 0 6px}
.is-home .process-sequence h3{font-family:var(--display);font-weight:400;font-size:26px;line-height:1.4;margin:0 0 8px}
.is-home .process-sequence p{font-size:15.5px;margin:0}
.step-vig{margin-top:auto;padding-top:28px;width:100%;display:flex;justify-content:center}
.vig-list{display:flex;flex-direction:column;gap:10px;width:min(260px,100%)}
.vig-list span{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--ledger-line);border-radius:12px;padding:10px 14px;text-align:left;font-size:15px}
.vig-list i{width:30px;height:30px;border-radius:8px;background:var(--accent-soft);color:var(--accent);flex:none;display:grid;place-items:center;font-style:normal;font-weight:600}
.vig-list span.on{border-color:var(--accent);box-shadow:0 10px 22px -16px var(--accent)}
.vig-days{display:flex;gap:8px}
.vig-days span{width:56px;padding:8px 0;border-radius:12px;background:#fff;border:1px solid var(--ledger-line);font-size:13px;color:var(--soft-text);line-height:1.3}
.vig-days b{display:block;font-family:var(--display);font-weight:400;font-size:24px;color:var(--ink)}
.vig-days span.on{background:var(--accent);border-color:var(--accent);color:#fff}
.vig-days span.on b{color:#fff}
.vig-photo{width:100%;aspect-ratio:16/10;border-radius:14px;overflow:hidden}
.vig-photo img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- Inner pages: terracotta actions ---------- */
body:not(.is-home) main :is(.button,button){background:var(--accent);border-color:var(--accent)}
body:not(.is-home) main :is(.button,button):hover{background:var(--accent-2);border-color:var(--accent-2)}
body:not(.is-home) main :is(.button,button).secondary{background:transparent;color:var(--accent);border-color:color-mix(in srgb,var(--accent) 50%,transparent)}
body:not(.is-home) main :is(.button,button).secondary:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
body:not(.is-home) main .reading-jumps button{background:rgb(255 255 255/.75);color:var(--accent)}
body:not(.is-home) main .reading-jumps button:hover{background:var(--accent);color:#fff}
body:not(.is-home) .page-lede,.choice-cards .choice-action,.choice-ledger .choice-action{color:var(--accent)}
body:not(.is-home) .steps li[aria-current]{border-color:var(--accent);color:var(--accent)}
.page-hero{background:#f5ebe0}
.page-hero.has-media .page-hero-media{min-height:400px}
body:not(.is-home) .next-step .button{background:#faf6f0;border-color:#faf6f0;color:var(--wine)}
body:not(.is-home) .next-step .button.secondary{background:transparent;color:#faf6f0;border-color:rgb(250 246 240/.6)}

@media(max-width:1099px){
 .is-home .process-sequence{grid-template-columns:1fr;max-width:560px;margin-inline:auto}
 .is-home .process-sequence li{min-height:0}
}
@media(max-width:899px){
 .is-home .hero-intro{flex-direction:column;align-items:flex-start;gap:16px;padding:26px 0 22px}
 .is-home .hero-assurance{display:none}
 .is-home .hero-paths{grid-template-columns:1fr;gap:16px}
 .is-home .hero-path{aspect-ratio:4/3.5}
 .statement{align-items:flex-end;min-height:520px}
 .statement::before{background:linear-gradient(180deg,rgb(24 12 8/0) 25%,rgb(24 12 8/.65))}
 .statement-box{margin:0;padding:0 var(--gutter) 48px}
 .page-hero.has-media .page-hero-media{min-height:0}
}
@media(max-width:699px){
 .is-home .hero-intro h1{font-size:34px;line-height:1.36}
 .is-home .hero-lede{font-size:16px}
 .is-home .hero-path{border-radius:20px}
 .is-home .path-body{padding:20px}
 .is-home .path-title{font-size:26px}
 .is-home .path-chips span{font-size:13px;padding:2px 11px}
 .is-home .path-go{width:48px;height:48px}
 .stack-section{padding-top:64px}
 .statement{margin-bottom:56px}
 .statement-title{font-size:30px}
 .statement-text{font-size:16px}
 .is-home .process-section{padding-bottom:64px}
}
@media(prefers-reduced-motion:reduce){.is-home .hero-path .hero-photo img,.is-home .path-go{transition:none}}

/* ===================== Motion (soft, slow) =====================
   Base styles = final still state (no-JS / reduced motion). Animations only run under
   html.motion, which JS sets after checking prefers-reduced-motion. */
.vig-list{position:relative}
.vig-cursor{position:absolute;right:22px;top:14px;width:22px;height:22px;border-radius:50%;background:rgb(180 83 47/.28);border:2px solid var(--accent);opacity:0;pointer-events:none;z-index:2}
.vig-cal{display:flex;flex-direction:column;align-items:center;gap:14px}
.vig-period{font-size:14px;font-weight:600;padding:4px 16px;border-radius:999px;background:#fff;border:1px solid var(--accent);color:var(--accent)}
.vig-photo{position:relative}
.vig-toast{position:absolute;left:12px;right:12px;top:12px;display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;background:rgb(255 255 255/.94);box-shadow:0 14px 30px -18px rgb(43 35 33/.6);font-size:13.5px;font-weight:600;color:var(--ink);text-align:left;z-index:2}
.vig-toast b{flex:none;width:10px;height:10px;border-radius:50%;background:var(--accent)}

.motion .rv{opacity:0;transform:translateY(32px);transition:opacity 1.2s var(--ease-out),transform 1.2s var(--ease-out)}
.motion .rv.in{opacity:1;transform:none}
.motion :is(.service-ledger li,.process-sequence li,.faq-list details,.contact-spread>*):nth-child(2){transition-delay:.12s}
.motion :is(.service-ledger li,.process-sequence li,.faq-list details,.contact-spread>*):nth-child(3){transition-delay:.24s}
.motion :is(.service-ledger li,.faq-list details):nth-child(4){transition-delay:.36s}
.motion .service-ledger li:nth-child(5){transition-delay:.12s}
.motion .service-ledger li:nth-child(6){transition-delay:.24s}
.motion .service-ledger li:nth-child(7){transition-delay:.36s}
.motion .service-ledger li:nth-child(8){transition-delay:.48s}
.motion .physician-copy.rv,.motion .statement-box.rv{transition-delay:.18s}

/* step vignettes: one 11s loop, 01 → 02 → 03 */
.motion .is-playing .vig-cursor{animation:vg-cursor 11s var(--ease-out) infinite}
.motion .is-playing .vig-list span.on{animation:vg-pick 11s ease infinite}
.motion .is-playing .vig-days{animation:vg-slide 11s var(--ease-out) infinite}
.motion .is-playing .vig-days span.on{animation:vg-day 11s ease infinite}
.motion .is-playing .vig-days span.on b{animation:vg-day-b 11s ease infinite}
.motion .is-playing .vig-period{animation:vg-period 11s var(--ease-out) infinite}
.motion .is-playing .vig-toast{animation:vg-toast 11s var(--ease-out) infinite}
.motion .is-playing .vig-photo img{animation:vg-zoom 11s ease-in-out infinite}
@keyframes vg-cursor{0%{opacity:0;transform:translateY(120px)}6%{opacity:1}20%{transform:translateY(0)}23%{transform:scale(.7)}27%{transform:scale(1)}85%{opacity:1;transform:none}93%,100%{opacity:0;transform:none}}
@keyframes vg-pick{0%,22%{border-color:var(--ledger-line);box-shadow:none}27%,90%{border-color:var(--accent);box-shadow:0 10px 22px -16px var(--accent)}97%,100%{border-color:var(--ledger-line);box-shadow:none}}
@keyframes vg-slide{0%,24%{opacity:0;transform:translateX(36px)}36%,92%{opacity:1;transform:none}99%,100%{opacity:0;transform:none}}
@keyframes vg-day{0%,42%{background:#fff;border-color:var(--ledger-line);color:var(--soft-text)}48%,92%{background:var(--accent);border-color:var(--accent);color:#fff}100%{background:#fff;border-color:var(--ledger-line);color:var(--soft-text)}}
@keyframes vg-day-b{0%,42%{color:var(--ink)}48%,92%{color:#fff}100%{color:var(--ink)}}
@keyframes vg-period{0%,50%{opacity:0;transform:translateY(10px)}58%,92%{opacity:1;transform:none}99%,100%{opacity:0}}
@keyframes vg-toast{0%,62%{opacity:0;transform:translateY(-24px)}70%,93%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-8px)}}
@keyframes vg-zoom{0%{transform:scale(1)}100%{transform:scale(1.08)}}

/* slow camera drift on the two path photos */
.motion .is-home .hero-path .hero-photo img{animation:kb-drift 24s ease-in-out infinite alternate}
.motion .is-home .hero-path:nth-child(2) .hero-photo img{animation-delay:-9s}
@keyframes kb-drift{from{transform:scale(1.01)}to{transform:scale(1.08) translate(-1.2%,-1%)}}

/* parallax on the river statement (scroll-driven, no listeners) */
@supports (animation-timeline: view()){
 @media (prefers-reduced-motion:no-preference){
  .statement{overflow:clip}
  .statement>img{inset:-12% 0 auto;height:124%;animation:plx linear both;animation-timeline:view()}
  @keyframes plx{from{transform:translateY(-7%)}to{transform:translateY(7%)}}
 }
}
/* inner pages: hero photo settles in */
@media (prefers-reduced-motion:no-preference){
 body:not(.is-home) .page-hero-media img{animation:settle 1.6s var(--ease-out) both}
 body:not(.is-home) .page-hero-copy{animation:rise 1.1s var(--ease-out) both}
 body:not(.is-home) .choice-cards li{animation:rise 1.1s var(--ease-out) both}
 body:not(.is-home) .choice-cards li:nth-child(2){animation-delay:.12s}
 body:not(.is-home) .choice-cards li:nth-child(3){animation-delay:.24s}
}
@keyframes settle{from{transform:scale(1.06);opacity:.4}to{transform:none;opacity:1}}
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}

/* ===================== More motion (round 2) ===================== */
/* hero: headline, lede and cards rise in on load */
@media (prefers-reduced-motion:no-preference){
 .is-home .hero-intro h1{animation:rise 1.3s var(--ease-out) both}
 .is-home .hero-lede{animation:rise 1.3s .15s var(--ease-out) both}
 .is-home .hero-assurance{animation:fade 1.6s .4s ease both}
 .is-home .hero-path{animation:rise-card 1.5s var(--ease-out) both}
 .is-home .hero-path:nth-child(1){animation-delay:.3s}
 .is-home .hero-path:nth-child(2){animation-delay:.45s}
 .is-home .hero-intro h1 .em{display:inline-block;animation:em-warm 2.4s .6s ease both}
}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes rise-card{from{opacity:0;transform:translateY(48px) scale(.98)}to{opacity:1;transform:none}}
@keyframes em-warm{from{color:var(--wine)}to{color:var(--accent)}}

/* path cards: arrow pulse ring, chips lift on hover */
.is-home .path-go{position:relative}
.is-home .path-go::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:1px solid rgb(255 255 255/.55);opacity:0}
.motion .is-home .path-go::after{animation:ring 3.2s ease-out infinite}
.motion .is-home .hero-path:nth-child(2) .path-go::after{animation-delay:1.6s}
@keyframes ring{0%{opacity:.8;transform:scale(.85)}70%,100%{opacity:0;transform:scale(1.35)}}
.is-home .path-chips span{transition:transform .5s var(--ease-out),background-color .3s}
.is-home .hero-path:hover .path-chips span{transform:translateY(-3px);background:rgb(255 255 255/.24)}
.is-home .hero-path:hover .path-chips span:nth-child(2){transition-delay:.05s}
.is-home .hero-path:hover .path-chips span:nth-child(3){transition-delay:.1s}

/* header: thin terracotta reading progress (scroll-driven) */
@supports (animation-timeline: scroll()){
 @media (prefers-reduced-motion:no-preference){
  .site-header{position:sticky;top:0}
  .site-header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--accent);transform-origin:left;transform:scaleX(0);animation:progress linear both;animation-timeline:scroll(root)}
  @keyframes progress{to{transform:scaleX(1)}}
 }
}

/* stack cards: photo slowly zooms out as the card arrives; copy fades up */
@supports (animation-timeline: view()){
 @media (prefers-reduced-motion:no-preference){
  .stack-media{overflow:clip}
  .stack-media img{animation:stack-zoom linear both;animation-timeline:view();animation-range:entry 0% cover 55%}
  @keyframes stack-zoom{from{transform:scale(1.18)}to{transform:scale(1)}}
  .clinic-figure img{animation:stack-zoom linear both;animation-timeline:view();animation-range:entry 0% cover 60%}
  .vig-photo{overflow:clip}
 }
}

/* marquee band of topics */
.marquee{overflow:clip;border-block:1px solid var(--ledger-line);padding:22px 0;margin-bottom:72px;background:var(--cream)}
.marquee-track{display:flex;width:max-content;gap:0}
.marquee-track span{font-family:var(--display);font-weight:300;font-size:clamp(26px,2.6vw,40px);color:var(--wine);white-space:nowrap;padding:0 34px;display:inline-flex;align-items:center;gap:68px}
.marquee-track span::after{content:"";width:9px;height:9px;border-radius:50%;background:var(--accent);margin-right:-34px}
@media (prefers-reduced-motion:no-preference){.marquee-track{animation:marquee 60s linear infinite}.marquee:hover .marquee-track{animation-play-state:paused}}
@keyframes marquee{to{transform:translateX(-50%)}}
.clinic-section{padding-top:0!important}

/* services: arrow glides and title warms on hover */
.service-ledger a .care-arrow{transition:transform .5s var(--ease-out)}
.service-ledger a:hover .care-arrow{transform:translateX(6px)}
.service-ledger .ledger-title{transition:color .4s}
.service-ledger a:hover .ledger-title{color:var(--accent)}

/* physician: slow rotating gold ring */
.is-home .physician-photo::after{content:"";position:absolute;z-index:-1;left:50%;top:0;width:min(100%,460px);aspect-ratio:1;transform:translateX(-50%) scale(1.18);border-radius:50%;border:1px dashed rgb(176 138 87/.55);pointer-events:none}
@media (prefers-reduced-motion:no-preference){.is-home .physician-photo::after{animation:spin 80s linear infinite}}
@keyframes spin{to{transform:translateX(-50%) scale(1.18) rotate(360deg)}}

/* statement: words drift up as it scrolls through */
@supports (animation-timeline: view()){
 @media (prefers-reduced-motion:no-preference){
  .statement-box{animation:drift linear both;animation-timeline:view()}
  @keyframes drift{from{transform:translateY(60px)}to{transform:translateY(-60px)}}
 }
}

/* FAQ: smooth open/close where supported */
@supports (interpolate-size: allow-keywords){
 :root{interpolate-size:allow-keywords}
 details::details-content{height:0;overflow:clip;transition:height .6s var(--ease-out),content-visibility .6s allow-discrete}
 details[open]::details-content{height:auto}
}

/* contact block: slow warm sheen */
.is-home .clinic-contact{position:relative;isolation:isolate;overflow:clip}
.is-home .clinic-contact::before{content:"";position:absolute;inset:-40%;z-index:-1;background:radial-gradient(closest-side,rgb(180 83 47/.28),transparent 70%);pointer-events:none}
@media (prefers-reduced-motion:no-preference){.is-home .clinic-contact::before{animation:sheen 26s ease-in-out infinite alternate}}
@keyframes sheen{from{transform:translate(-30%,-10%)}to{transform:translate(35%,15%)}}

/* buttons: arrow nudge everywhere */
:is(.button,.stack-link,.statement-link,.reading-link) .care-arrow{transition:transform .45s var(--ease-out)}
:is(.button,.stack-link,.statement-link,.reading-link):hover .care-arrow{transform:translateX(5px)}

/* inner pages: consult card floats in, accordions, next-step glow */
@media (prefers-reduced-motion:no-preference){
 .consult-card{animation:rise 1.2s .35s var(--ease-out) both}
 body:not(.is-home) .page-hero .breadcrumb{animation:fade 1s .2s ease both}
 body:not(.is-home) .reading-jumps button{animation:rise .9s var(--ease-out) both}
 body:not(.is-home) .reading-jumps button:nth-child(2){animation-delay:.1s}
 body:not(.is-home) .reading-jumps button:nth-child(3){animation-delay:.2s}
}
@supports (animation-timeline: view()){
 @media (prefers-reduced-motion:no-preference){
  body:not(.is-home) :is(.article-section,.accordions details,.next-step,.choice-ledger li){animation:rise linear both;animation-timeline:view();animation-range:entry 0% entry 60%}
 }
}
@media(max-width:699px){.marquee{margin-bottom:44px;padding:16px 0}.marquee-track span{padding:0 22px;gap:44px}.marquee-track span::after{margin-right:-22px}}
body.is-home,.is-home .physician-section,.clinic-section{overflow-x:clip}

/* typewriter word in hero headline */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.type-word{position:relative;display:inline-block;min-width:min(8.6em,100%);color:var(--accent);font-weight:300;white-space:nowrap;padding-bottom:4px}
.type-word::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:2px;background:var(--accent);opacity:.85;transform-origin:left}
.type-caret{display:inline-block;width:2px;height:.95em;margin-left:4px;vertical-align:-.08em;background:var(--accent)}
@media (prefers-reduced-motion:no-preference){
 .type-caret{animation:caret 1.1s steps(1) infinite}
 .is-home .hero-intro h1 .type-word::after{animation:underline 1.4s .5s var(--ease-out) both}
}
@media (prefers-reduced-motion:reduce){.type-caret{display:none}}
@keyframes caret{50%{opacity:0}}
@keyframes underline{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* ===================== Sticky-header aware layout ===================== */
html{scroll-padding-top:calc(var(--hdr,92px) + 16px)}
.is-home .stack-section .stack-card{top:calc(var(--hdr,92px) + 20px);height:min(calc(100svh - var(--hdr,92px) - 44px),720px)}
@media(min-width:1100px){.is-home .stack-head{top:calc(var(--hdr,92px) + 28px)}}
.consult-card{top:calc(var(--hdr,92px) + 24px)}
@media(min-width:900px){
 .is-home .hero-intro{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:56px;align-items:end;padding:30px 0 26px}
 .is-home .hero-intro>div{display:contents}
 .is-home .hero-intro h1{grid-column:1;grid-row:1 / span 2;font-size:clamp(38px,3.7vw,58px);line-height:1.24}
 .is-home .hero-assurance{grid-column:2;grid-row:1;align-self:start;justify-self:end}
 .is-home .hero-lede{grid-column:2;grid-row:2;margin:0;font-size:17px;justify-self:end;max-width:40ch}
 .is-home .hero-path{aspect-ratio:auto;height:clamp(300px,calc(100svh - var(--hdr,92px) - var(--intro-h,210px) - 24px),660px)}
}
@media(max-width:699px){.is-home .stack-section .stack-card{top:calc(var(--hdr,64px) + 10px);height:auto}}

/* ===================== Quick-pick row + LINE strip (Maximus-style) ===================== */
.quick-row{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.quick-card{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;height:100%;min-height:172px;padding:24px 14px 24px 26px;border-radius:22px;background:#f3ebe1;color:var(--wine);text-decoration:none;overflow:hidden;isolation:isolate;transition:background-color .4s,box-shadow .5s var(--ease-out)}
.quick-card:hover{background:#efe3d6;box-shadow:0 24px 44px -30px rgb(75 6 23/.45)}
.quick-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.quick-text{position:relative;z-index:1;display:flex;flex-direction:column;gap:6px;min-width:0}
.quick-meta{font-size:12.5px;font-weight:600;color:var(--accent)}
.quick-title{font-family:var(--display);font-weight:400;font-size:clamp(22px,1.75vw,28px);line-height:1.25}
.quick-card img{flex:none;width:44%;max-width:120px;aspect-ratio:1;object-fit:cover;border-radius:14px;mix-blend-mode:multiply;transition:transform .7s var(--ease-out)}
.quick-card:hover img{transform:translateY(-6px) scale(1.04)}
.quick-go{position:absolute;right:14px;bottom:12px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;opacity:0;transform:translateX(-8px);transition:opacity .4s,transform .5s var(--ease-out)}
.quick-go .care-arrow{margin:0;width:16px;height:16px}
.quick-card:hover .quick-go,.quick-card:focus-visible .quick-go{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
 .quick-row li{animation:rise 1.2s var(--ease-out) both}
 .quick-row li:nth-child(1){animation-delay:.6s}.quick-row li:nth-child(2){animation-delay:.7s}.quick-row li:nth-child(3){animation-delay:.8s}.quick-row li:nth-child(4){animation-delay:.9s}.quick-row li:nth-child(5){animation-delay:1s}
}
.line-strip{display:flex;align-items:center;gap:32px;margin:18px 0 8px;padding:22px 30px;border-radius:22px;background:linear-gradient(100deg,#f5e5da,#f3ebe1 60%);position:relative;overflow:hidden}
.line-strip::after{content:"";position:absolute;right:-60px;top:-80px;width:280px;height:280px;border-radius:50%;border:1px solid rgb(180 83 47/.25);pointer-events:none}
.line-title{margin:0;font-family:var(--display);font-weight:400;font-size:clamp(24px,2vw,30px);color:var(--wine);white-space:nowrap}
.line-box{margin:0;flex:1;padding:12px 20px;border:1px solid rgb(180 83 47/.45);border-radius:14px;font-size:16px;color:var(--ink);line-height:1.7}
.line-box b{color:var(--wine)}
.is-home .line-link{display:inline-flex;align-items:center;gap:6px;min-height:0;padding:0;margin-left:6px;border:0;border-radius:0;background:none;color:var(--accent);font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.is-home .line-link:hover{background:none;color:var(--accent-2)}
.is-home .line-link .care-arrow{width:16px;height:16px}
@media(min-width:900px){.is-home .hero-path{height:clamp(300px,calc(100svh - var(--hdr,92px) - var(--intro-h,210px) - 24px),620px)}}
@media(max-width:1099px){.quick-row{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(210px,1fr);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none}.quick-row li{scroll-snap-align:start}.quick-row::-webkit-scrollbar{display:none}}
@media(max-width:699px){
 .quick-row{grid-auto-columns:72%;gap:12px;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);scroll-padding-inline:var(--gutter)}
 .quick-card{min-height:136px;padding:18px 12px 18px 20px}
 .quick-go{opacity:1;transform:none;width:30px;height:30px}
 .line-strip{flex-direction:column;align-items:flex-start;gap:12px;padding:20px}
 .line-box{font-size:15px}
}
.is-home .quick-card img{width:clamp(76px,7vw,112px);height:clamp(76px,7vw,112px);max-width:none;aspect-ratio:1;align-self:center}
.quick-card{min-height:156px}
@media(max-width:699px){.is-home .quick-card img{width:92px;height:92px}.quick-card{min-height:132px}}
.quick-meta{white-space:nowrap}

/* ===================== Feature panel: foreign-substance correction ===================== */
.feature-panel{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);max-width:calc(1440px - 2 * var(--gutter));margin:24px auto 104px;width:calc(100% - 2 * var(--gutter));border-radius:30px;overflow:hidden;background:linear-gradient(160deg,#f6e7dc,#efe0d2 70%,#ead6c6)}
.feature-media{margin:0;position:relative;min-height:520px;overflow:clip}
.feature-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.feature-copy{padding:clamp(32px,4.5vw,72px);display:flex;flex-direction:column;justify-content:center}
.feature-eyebrow{margin:0 0 14px;font-size:14px;font-weight:600;color:var(--accent);letter-spacing:.02em}
.feature-copy h2{margin:0;font-family:var(--display);font-weight:400;color:var(--wine);font-size:clamp(34px,3.5vw,54px);line-height:1.28}
.feature-copy h2 .em{color:var(--accent);font-weight:300}
.feature-text{margin:20px 0 0;color:var(--soft-text);font-size:17px;line-height:1.85;max-width:44ch}
.feature-stat{display:flex;align-items:center;gap:16px;margin:26px 0 0;padding-top:20px;border-top:1px solid rgb(180 83 47/.25)}
.feature-stat b{font-family:var(--display);font-weight:400;font-size:clamp(40px,3.6vw,56px);line-height:1;color:var(--wine)}
.feature-stat span{font-size:14.5px;color:var(--soft-text);max-width:22ch;line-height:1.6}
.feature-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.is-home .feature-link{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:10px 26px;border-radius:999px;border:1px solid var(--accent);background:var(--accent);color:#fff;font:inherit;font-weight:600;font-size:16px;text-decoration:none;cursor:pointer;transition:background-color .16s,color .16s}
.is-home .feature-link:hover{background:var(--accent-2);border-color:var(--accent-2);color:#fff}
.is-home .feature-link.ghost{background:transparent;color:var(--accent)}
.is-home .feature-link.ghost:hover{background:var(--accent);color:#fff}
.feature-link .care-arrow{transition:transform .45s var(--ease-out)}
.feature-link:hover .care-arrow{transform:translateX(5px)}
@supports (animation-timeline: view()){@media (prefers-reduced-motion:no-preference){.feature-media img{animation:stack-zoom linear both;animation-timeline:view();animation-range:entry 0% cover 60%}}}
@media(min-width:900px){.quick-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:899px){.feature-panel{grid-template-columns:1fr;margin-bottom:64px;border-radius:22px}.feature-media{min-height:0;aspect-ratio:4/3}.feature-copy{padding:26px 22px 30px}.feature-actions{flex-direction:column}.is-home .feature-link{justify-content:center}}

/* Medication gallery: the brief's wine, diagonal daylight and floating forms. */
.rx-section{margin:48px 0 24px;min-width:0;max-width:100%;color:#4b0617}
.rx-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1.1fr;min-height:440px;border-radius:28px;overflow:clip;background:linear-gradient(120deg,#330b12,#442014 60%,#bc926e)}
.rx-hero-copy{position:relative;z-index:2;padding:clamp(28px,4vw,60px);display:flex;flex-direction:column;justify-content:center}
.rx-section .rx-hero h2{font-family:Kanit,sans-serif;font-size:clamp(34px,3.3vw,50px);font-weight:300;line-height:1.32;margin:0;color:#fcf7f0}
.rx-section .rx-hero h2 span{color:#e3a07a}
.rx-hero-copy p{color:#f3e0d4;font-size:16px;line-height:1.85;margin:22px 0 0}
.rx-hero-art{position:relative;min-width:0;min-height:100%;overflow:clip;margin-left:-16%}
.rx-hero-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#3a1314,transparent 45%);pointer-events:none}
.rx-hero-art img{width:100%;height:112%;position:absolute;inset:-6% 0;object-fit:cover;object-position:center;transform:scale(1.03)}
.rx-gallery-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:36px 0 10px}
.rx-section .rx-gallery-head h2{font-family:Kanit,sans-serif;font-size:clamp(25px,2.2vw,32px);font-weight:400;line-height:1.5;margin:0;color:#4b0617}
.rx-gallery-head>span{font-size:14px;color:#754c3a;white-space:nowrap}
.rx-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 54px)/4);gap:18px;list-style:none;padding:14px 2px 22px;margin:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b4532f #eadfd3;scroll-padding:2px}
.rx-track li{min-width:0;scroll-snap-align:start}
.rx-card{display:flex;flex-direction:column;height:100%;background:#f2e5d6;border-radius:20px;overflow:clip;text-decoration:none;color:#4b0617;transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s}
.rx-card:hover{transform:translateY(-7px);box-shadow:0 18px 25px -20px #4b061766;color:#4b0617}
.rx-card:focus-visible{outline:3px solid #97432a;outline-offset:3px}
.rx-stage{position:relative;display:block;aspect-ratio:1.15;background:radial-gradient(ellipse at 50% 36%,#f0e2d0,#e2c9ad);overflow:clip}
.rx-stage img{position:absolute;width:100%;height:100%;object-fit:contain;inset:4% 0 auto;z-index:1}
.rx-shadow{position:absolute;bottom:16%;left:34%;width:32%;height:4%;border-radius:50%;background:#67412c;filter:blur(7px);opacity:.27;transform:scaleX(1)}
.rx-card-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:20px 20px 22px}
.rx-topic{font-size:14px;color:#754c3a;margin-bottom:7px}
.rx-section .rx-card h3{font-family:Kanit,sans-serif;font-weight:400;font-size:23px;line-height:1.35;margin:0 0 5px;color:#4b0617;overflow-wrap:anywhere}
.rx-form{font-size:15px;color:#674c42;line-height:1.6;margin-bottom:24px}
.rx-action{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font-size:14px;color:#97432a;margin-top:auto;min-height:44px;border-top:1px solid #d9c3ad;padding-top:12px}
.rx-action .care-arrow{flex:none;width:19px;height:19px}
.rx-disclaimer{font-size:15px;line-height:1.9;margin:18px 0 0;color:#674c42;max-width:90ch}
body:not(.is-home) main>.rx-section{margin:64px 0}
body:not(.is-home) .reading-spread .rx-section{grid-column:1/-1}
body:not(.is-home) [data-rx-gallery]:not([data-rx-gallery="all"]) .rx-hero{display:none}
body:not(.is-home) [data-rx-gallery]:not([data-rx-gallery="all"]) .rx-track{grid-auto-columns:minmax(240px,calc((100% - 18px)/2))}
@media(prefers-reduced-motion:no-preference){
 .rx-stage img{animation:rx-float 8s ease-in-out infinite;animation-play-state:paused}
 .rx-shadow{animation:rx-shadow 8s ease-in-out infinite;animation-play-state:paused}
 .rx-hero-art img{animation:rx-hero-float 10s ease-in-out infinite;animation-play-state:paused}
 .rx-playing :is(img,.rx-shadow){animation-play-state:running}
 .rx-paused .rx-section :is(img,.rx-shadow){animation-play-state:paused}
 .rx-track li:nth-child(even) :is(img,.rx-shadow){animation-delay:-3s}
 @keyframes rx-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-13px) rotate(1deg)}}
 @keyframes rx-shadow{0%,100%{transform:scaleX(1);opacity:.3}50%{transform:scaleX(.74);opacity:.18}}
 @keyframes rx-hero-float{0%,100%{transform:scale(1.04) translateY(5px)}50%{transform:scale(1.04) translateY(-7px)}}
 @supports(animation-timeline:view()){
  .rx-hero-art{animation:rx-parallax linear both;animation-timeline:view()}
  @keyframes rx-parallax{from{transform:translateY(-15px)}to{transform:translateY(15px)}}
 }
}
@media(max-width:1099px){.rx-track{grid-auto-columns:calc((100% - 36px)/3)}}
@media(max-width:699px){
 .rx-section{margin-top:32px}
 .rx-hero{grid-template-columns:1fr;min-height:0;border-radius:22px}
 .rx-hero-copy{padding:30px 24px 10px}
 .rx-section .rx-hero h2{font-size:34px;line-height:1.32}
 .rx-hero-copy p{font-size:15px;margin-top:16px}
 .rx-hero-art{height:250px;min-height:0;margin-left:0}
 .rx-hero-art::after{background:linear-gradient(180deg,#3a1314,transparent 35%)}
 .rx-hero-art img{object-position:50% 55%}
 .rx-gallery-head{margin-top:26px;display:block}
 .rx-gallery-head>span{display:block;margin-top:5px}
 .rx-track{grid-auto-columns:82%;gap:14px;padding-top:12px}
 .rx-stage{aspect-ratio:1.3}
 .rx-section .rx-card h3{font-size:23px}
 .rx-card-copy{padding:18px 20px}
 .rx-disclaimer{font-size:14px}
 body:not(.is-home) [data-rx-gallery]:not([data-rx-gallery="all"]) .rx-track{grid-auto-columns:86%}
}
@media(prefers-reduced-motion:reduce){.rx-card{transition:none}.rx-card:hover{transform:none}.rx-section :is(img,.rx-shadow,.rx-hero-art){animation:none!important;transform:none}}


/* ===================== Trust cards (replaces quick topic cards; topics live in the stacked cards) ===================== */
.trust-head{margin:56px 0 0;font-family:var(--display);font-weight:400;color:var(--wine);font-size:clamp(26px,2.4vw,36px);line-height:1.3}
.trust-row{margin-top:18px}
.trust-card{cursor:default;align-items:center}
.trust-card:hover{background:#f3ebe1;box-shadow:none}
.trust-card:hover img{transform:none}
.quick-sub{font-size:14.5px;line-height:1.55;color:var(--soft-text);font-weight:400}
.trust-card .quick-title{font-size:clamp(20px,1.55vw,25px)}
button.quick-card.is-action{width:100%;border:0;font:inherit;text-align:left;color:inherit;cursor:pointer}
.trust-card.is-action:hover{background:#efe3d6;box-shadow:0 24px 44px -30px rgb(75 6 23/.45)}
.trust-card.is-action:hover img{transform:translateY(-6px) scale(1.04)}
.trust-card.is-action .quick-sub{color:var(--accent);font-weight:600}
@media(max-width:699px){.trust-head{margin-top:40px}}

/* ===================== Physician: compact + name + chips + motion ===================== */
.is-home .physician-section{padding-block:clamp(56px,6vw,84px)}
.is-home .physician-panel{grid-template-columns:minmax(0,4fr) minmax(0,6fr);gap:clamp(32px,4.5vw,72px);max-width:1080px}
.is-home .physician-photo img{max-width:340px}
.is-home .physician-photo::before,.is-home .physician-photo::after{width:min(100%,340px)}
.is-home .physician-copy h2{font-size:clamp(24px,2.2vw,32px)!important;margin:0 0 14px!important}
.is-home .physician-copy h3{font-size:clamp(26px,2.3vw,34px);font-weight:500;line-height:1.35;margin:0}
.physician-nick{margin:2px 0 10px;font-family:var(--display);font-weight:300;font-size:20px;color:var(--accent)}
.is-home .physician-copy .specialty{font-size:16px;line-height:1.7;margin:0}
.is-home .physician-copy .specialty span{font-size:14.5px;color:var(--soft-text)}
.physician-chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;padding:0}
.physician-chips li{padding:7px 14px;border-radius:999px;background:rgb(255 255 255/.6);border:1px solid rgb(180 83 47/.22);font-size:14px;color:var(--ink)}
.is-home .physician-context{font-size:15.5px;line-height:1.8;margin:18px 0 0;max-width:46ch}
.is-home .physician-links{margin-top:22px}
.is-home .physician-links a{min-height:46px;padding:8px 22px;font-size:15px}
@media (prefers-reduced-motion:no-preference){
 .motion .physician-photo.rv img{transform:scale(.94);transition:transform 1.6s var(--ease-out)}
 .motion .physician-photo.rv.in img{transform:none}
 .motion .physician-copy.rv .physician-chips li{opacity:0;transform:translateY(10px);transition:opacity .9s var(--ease-out),transform .9s var(--ease-out)}
 .motion .physician-copy.rv.in .physician-chips li{opacity:1;transform:none}
 .motion .physician-copy.rv.in .physician-chips li:nth-child(1){transition-delay:.55s}
 .motion .physician-copy.rv.in .physician-chips li:nth-child(2){transition-delay:.7s}
 .motion .physician-copy.rv.in .physician-chips li:nth-child(3){transition-delay:.85s}
}
@media(max-width:899px){.is-home .physician-photo img{max-width:240px}.is-home .physician-photo::before,.is-home .physician-photo::after{width:240px}.physician-chips li{font-size:13px}}
.is-home .physician-copy .physician-context{margin-top:22px!important}
@media(max-width:899px){.is-home .physician-panel{grid-template-columns:1fr;gap:36px;justify-items:center}.is-home .physician-copy{justify-self:stretch}.is-home .physician-photo{width:100%;max-width:300px;margin:12px auto 0}.is-home .physician-copy h3{font-size:26px}}
/* final patient content */
body:not(.is-home) .final-reading p,body:not(.is-home) .final-doc p{font-size:17px;line-height:1.95;color:var(--ink);max-width:68ch}
.final-list{padding-left:22px;margin:8px 0 18px;max-width:68ch}.final-list li{margin:6px 0;line-height:1.85;font-size:17px}
.final-risks,.final-contra,.final-redflag{background:#fff;border:1px solid var(--hair,var(--line));border-radius:16px;padding:18px 22px}
.final-redflag{border-color:#c9a27a}.final-redflag h2{color:#8a3b1f}
.final-note{color:var(--soft-text,var(--muted));font-size:15px}
.final-steps{padding-left:24px;max-width:68ch}.final-steps li{margin:10px 0;line-height:1.85;font-size:17px}
.final-doc h2{margin-top:32px}.final-doc{max-width:780px}
.final-contact{font-style:normal;line-height:1.9;font-size:17px}.final-refs{padding-left:22px;font-size:15px}.final-refs li{margin:6px 0;overflow-wrap:anywhere}
.choice-summary{display:block;font-size:15px;color:var(--soft-text,var(--muted));font-weight:400;margin-top:6px;line-height:1.7;max-width:60ch}
.site-footer a{color:inherit}.footer-links{margin-top:8px;font-size:14px}

/* ===================== Physician D2: doctor pops out of a wine card (owner choice 2026-11-02) ===================== */
.is-home .physician-section.doc-pop{background:transparent;padding-block:clamp(110px,11vw,150px) clamp(56px,6vw,90px)}
.doc-card{position:relative;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:center;max-width:1180px;margin:0 auto;min-height:440px;border-radius:30px;background:linear-gradient(160deg,#5a0b1e 0%,#4b0617 55%,#3a0411 100%);color:#f6ece4;box-shadow:0 40px 80px -50px rgb(75 6 23/.6)}
.is-home .doc-pop .physician-photo{position:relative;margin:0;height:100%;min-height:440px;align-self:stretch}
.is-home .doc-pop .physician-photo::before,.is-home .doc-pop .physician-photo::after{display:none}
.is-home .doc-pop .physician-photo img{position:absolute;bottom:0;left:0;right:0;margin-inline:auto;height:calc(100% + 130px);width:auto;max-width:none;border-radius:0;box-shadow:none;filter:drop-shadow(0 14px 14px rgb(30 0 8/.25));aspect-ratio:auto}
.doc-copy{padding:52px 56px 52px 12px}
.doc-tag{margin:0 0 12px;font-size:13px;font-weight:600;letter-spacing:.06em;color:#ec9f80}
.is-home .doc-pop .doc-name{margin:0!important;font-family:var(--display)!important;font-weight:400;font-size:clamp(34px,3.4vw,46px)!important;line-height:1.25;color:#fff}
.is-home .doc-pop .physician-nick{margin:4px 0 8px;color:#ec9f80;font-size:22px}
.doc-sp{margin:0;font-size:16px;color:#d9c7bd}
.doc-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:28px 0;border-top:1px solid rgb(255 255 255/.16)}
.doc-stats div{padding:16px 14px 0 0}.doc-stats div+div{padding-left:16px;border-left:1px solid rgb(255 255 255/.16)}
.doc-stats b{display:block;font-family:var(--display);font-weight:400;font-size:clamp(24px,2.3vw,32px);line-height:1.15;color:#fff}
.doc-stats span{display:block;margin-top:6px;font-size:13.5px;line-height:1.5;color:#d9c7bd}
.is-home .doc-pop .doc-links{margin-top:0;display:flex;flex-wrap:wrap;gap:12px}
.is-home .doc-pop .doc-links a{min-height:48px;padding:8px 22px;border-radius:999px;font-size:15px;color:#f6ece4;border:1px solid rgb(255 255 255/.4);background:transparent}
.is-home .doc-pop .doc-links a.doc-primary{background:var(--accent);border-color:var(--accent);color:#fff}
.is-home .doc-pop .doc-links a:hover{background:#fff;border-color:#fff;color:var(--wine)}
@media (prefers-reduced-motion:no-preference){
 .motion .doc-pop .physician-photo.rv img{opacity:0;transform:translateY(46px);transition:opacity 1.2s var(--ease-out),transform 1.6s var(--ease-out)}
 .motion .doc-pop .physician-photo.rv.in img{opacity:1;transform:none}
 .motion .doc-pop .doc-stats div{opacity:0;transform:translateY(12px);transition:opacity .9s var(--ease-out),transform .9s var(--ease-out)}
 .motion .doc-pop .physician-copy.in .doc-stats div{opacity:1;transform:none}
 .motion .doc-pop .physician-copy.in .doc-stats div:nth-child(1){transition-delay:.5s}.motion .doc-pop .physician-copy.in .doc-stats div:nth-child(2){transition-delay:.65s}.motion .doc-pop .physician-copy.in .doc-stats div:nth-child(3){transition-delay:.8s}
}
@media(max-width:899px){
 .is-home .physician-section.doc-pop{padding-top:96px}
 .doc-card{grid-template-columns:1fr;min-height:0;border-radius:24px}
 .is-home .doc-pop .physician-photo{height:340px;min-height:0}
 .is-home .doc-pop .physician-photo img{height:calc(100% + 96px)}
 .doc-copy{padding:10px 22px 30px}
 .doc-stats b{font-size:22px}.doc-stats span{font-size:12.5px}
}

/* ===================== Physician v2: compact, sand default (D1), wine via html.doc-wine (D2) ===================== */
.is-home .physician-section.doc-pop{padding-block:clamp(84px,8vw,108px) clamp(36px,4vw,56px)}
.doc-card{max-width:1080px;min-height:360px;grid-template-columns:minmax(0,4fr) minmax(0,6fr);background:linear-gradient(165deg,#f4e6da 0%,#ecd3c2 60%,#e2bca6 100%);color:var(--ink);box-shadow:0 30px 60px -46px rgb(75 6 23/.45)}
.is-home .doc-pop .physician-photo{min-height:360px}
.is-home .doc-pop .physician-photo img{height:calc(100% + 96px)}
.doc-copy{padding:36px 48px 36px 8px}
.doc-tag{color:var(--accent);margin-bottom:8px}
.is-home .doc-pop .doc-name{font-size:clamp(30px,2.9vw,40px)!important;color:var(--wine);white-space:nowrap}
.doc-br{display:none}
.is-home .doc-pop .physician-nick{margin:2px 0 4px;font-size:20px;color:var(--accent)}
.doc-sp{color:var(--soft-text,#6b5d57);font-size:15.5px}
.doc-stats{margin:20px 0 22px;border-top-color:rgb(75 6 23/.14)}
.doc-stats div{padding-top:14px}.doc-stats div+div{border-left-color:rgb(75 6 23/.14)}
.doc-stats b{color:var(--wine);font-size:clamp(22px,2vw,28px)}
.doc-stats span{color:var(--soft-text,#6b5d57);font-size:13px}
.is-home .doc-pop .doc-links a{color:var(--wine);border-color:rgb(75 6 23/.35);min-height:44px}
.is-home .doc-pop .doc-links a:hover{background:var(--wine);border-color:var(--wine);color:#fff}
.is-home .doc-pop .doc-links a.doc-primary{color:#fff}
.is-home .doc-pop .doc-links a.doc-primary:hover{background:var(--accent-2,#97432a);border-color:var(--accent-2,#97432a)}
/* wine variant */
html.doc-wine .doc-card{background:linear-gradient(160deg,#5a0b1e 0%,#4b0617 55%,#3a0411 100%);color:#f6ece4;box-shadow:0 40px 80px -50px rgb(75 6 23/.6)}
html.doc-wine .doc-tag,html.doc-wine .is-home .doc-pop .physician-nick,html.doc-wine .doc-pop .physician-nick{color:#ec9f80}
html.doc-wine .is-home .doc-pop .doc-name,html.doc-wine .doc-pop .doc-name{color:#fff}
html.doc-wine .doc-sp,html.doc-wine .doc-stats span{color:#d9c7bd}
html.doc-wine .doc-stats b{color:#fff}
html.doc-wine .doc-stats,html.doc-wine .doc-stats div+div{border-color:rgb(255 255 255/.16)}
html.doc-wine .is-home .doc-pop .doc-links a:not(.doc-primary),html.doc-wine .doc-pop .doc-links a:not(.doc-primary){color:#f6ece4;border-color:rgb(255 255 255/.4)}
html.doc-wine .doc-pop .doc-links a:not(.doc-primary):hover{background:#fff;color:var(--wine)}
@media(max-width:1099px){.is-home .doc-pop .doc-name{white-space:normal}.doc-br{display:block}}
@media(max-width:899px){.doc-card{grid-template-columns:1fr}.is-home .physician-section.doc-pop{padding-top:84px}.is-home .doc-pop .physician-photo{height:300px;min-height:0}.is-home .doc-pop .physician-photo img{height:calc(100% + 80px)}.doc-copy{padding:8px 22px 26px}}

/* ===================== Topic page visuals (photos + icon/step diagrams) ===================== */
.mx{margin:22px 0 26px;max-width:860px}
.mx-hero .mx{margin:8px 0 28px;max-width:none}
.mx-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:22px;background:#efe3d8}
.mx-hero .mx-photo img{aspect-ratio:21/9;border-radius:26px}
.mx-photo figcaption{margin-top:10px;font-size:14px;color:var(--soft-text,#6b5d57)}
.mx-title{font-family:var(--display);font-weight:500;font-size:18px;color:var(--wine);margin:0 0 14px}
.mx-icons ul,.mx-steps ol{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.mx-icons ul{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.mx-icons li,.mx-steps li{position:relative;background:#fff;border:1px solid rgb(75 6 23/.1);border-radius:18px;padding:18px 16px 16px;display:flex;flex-direction:column;gap:4px}
.mx-ic{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#f3e0d4;margin-bottom:8px}
.mx-ic img{width:26px;height:26px}
.mx b{font-family:var(--display);font-weight:500;font-size:16.5px;line-height:1.35;color:var(--ink)}
.mx li>span:not(.mx-ic){font-size:14px;line-height:1.55;color:var(--soft-text,#6b5d57)}
.mx-steps ol{grid-template-columns:repeat(4,minmax(0,1fr))}.mx-n3 ol{grid-template-columns:repeat(3,minmax(0,1fr))}.mx-n5 ol{grid-template-columns:repeat(5,minmax(0,1fr))}
.mx-steps em{position:absolute;top:14px;right:16px;font:400 13px var(--display);font-style:normal;color:var(--accent)}
.mx-steps li:not(:last-child)::after{content:"";position:absolute;top:42px;right:-12px;width:12px;height:2px;background:var(--accent);opacity:.5}
.mx-note{margin:12px 0 0!important;font-size:14.5px!important;color:var(--accent-2,#97432a)!important}
.mx-section{padding-top:8px}
@media(max-width:760px){
 .mx-steps ol{grid-template-columns:1fr}
 .mx-steps li{flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:14px;padding:14px 16px}
 .mx-steps li .mx-ic{margin:0}
 .mx-steps li>span:not(.mx-ic){flex-basis:100%;padding-left:62px;margin-top:-6px}
 .mx-ic{flex:0 0 48px}
 .mx-steps li:not(:last-child)::after{top:auto;bottom:-12px;right:auto;left:39px;width:2px;height:12px}
 .mx-icons ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mx-hero .mx-photo img{aspect-ratio:4/3}
}
@media (prefers-reduced-motion:no-preference){
 .mx.mx-seen{opacity:0;transform:translateY(18px);transition:opacity .9s var(--ease-out,ease),transform 1.1s var(--ease-out,ease)}
 .mx.mx-seen.mx-in{opacity:1;transform:none}
 .mx-seen li{opacity:0;transform:translateY(10px);transition:opacity .7s ease,transform .8s ease}
 .mx-in li{opacity:1;transform:none}
 .mx-in li:nth-child(2){transition-delay:.12s}.mx-in li:nth-child(3){transition-delay:.24s}.mx-in li:nth-child(4){transition-delay:.36s}.mx-in li:nth-child(5){transition-delay:.48s}.mx-in li:nth-child(6){transition-delay:.6s}
}

/* explainer diagrams (pre-rendered, never cropped) */
.mx-diagram{max-width:960px}
.mx-diagram img{display:block;width:100%;height:auto;border-radius:22px;border:1px solid rgb(75 6 23/.08)}
.mx-diagram figcaption{margin-top:10px;font-size:14px;color:var(--soft-text,#6b5d57)}
@media(max-width:760px){.mx-diagram img{border-radius:18px}}

/* ===================== Topic CTA — "gc" (final.js nextStep + care-cta.js) =====================
   Off (default, live today): one wine card = contact block (LINE / phone / clinic 800 link).
   On (/api/care/config on:true or ?care_preview=1): wine online card (steps, chips, one primary) +
   the contact block drops to a quiet white card. Same language in the hero strip and desktop side card. */
body:not(.is-home) .next-step.gc{background:none;padding:0;border-radius:0;color:var(--ink);margin:56px 0 0;display:grid;gap:14px}
body:not(.is-home) .gc :is(h2,h3){font-family:var(--display);font-weight:500;letter-spacing:0;margin:0;text-wrap:balance}
body:not(.is-home) .gc p{margin:0}
body:not(.is-home) .gc [hidden]{display:none!important}
body:not(.is-home) .gc-eyebrow{font-size:14px;line-height:1.5;color:#e8cfa8;margin:0 0 6px!important;font-weight:500}
body:not(.is-home) /* online card */
.gc-online{position:relative;isolation:isolate;overflow:hidden;background:var(--wine);color:#f3e8e2;border-radius:24px;padding:30px 22px 22px}
body:not(.is-home) .gc-online::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(90% 70% at 100% 0,rgb(180 83 47/.32),transparent 62%),radial-gradient(60% 50% at 0 100%,rgb(176 138 87/.12),transparent 70%)}
body:not(.is-home) .gc-online h2{color:#fbf2e6;font-size:32px;line-height:1.3}
body:not(.is-home) .gc-steps{list-style:none;margin:22px 0 0;padding:0;display:grid}
body:not(.is-home) .gc-steps li{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;align-items:center;padding:9px 0}
body:not(.is-home) .gc-steps li:not(:last-child)::after{content:"";position:absolute;left:22.5px;top:calc(50% + 27px);height:calc(100% - 54px);border-left:1px dashed rgb(232 207 168/.4)}
body:not(.is-home) .gc-ic{position:relative;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgb(250 246 240/.07);border:1px solid rgb(232 207 168/.32);color:#e8cfa8}
body:not(.is-home) .gc-ic em{position:absolute;top:-5px;right:-7px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;display:grid;place-items:center;background:var(--accent);color:#fff;font:600 12px/1 Figtree,sans-serif;font-style:normal;box-shadow:0 0 0 2px var(--wine)}
body:not(.is-home) .gc-st b{display:block;color:#fbf2e6;font-weight:600;font-size:17px;line-height:1.45}
body:not(.is-home) .gc-st small{display:block;color:#d8c2ba;font-size:14px;line-height:1.5}
body:not(.is-home) .gc-go{margin-top:20px;padding-top:20px;border-top:1px solid rgb(250 246 240/.14)}
body:not(.is-home) .gc-chips{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
body:not(.is-home) .gc-chips li{display:inline-flex;align-items:center;gap:6px;padding:5px 12px 5px 9px;border-radius:999px;background:rgb(250 246 240/.1);color:#f6e6cf;font-size:14px;line-height:1.4;white-space:nowrap}
body:not(.is-home) .gc-chips svg{color:#e8cfa8;flex:none}
body:not(.is-home) .gc-primary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 26px;border-radius:999px;background:#faf6f0;color:var(--wine);font-weight:600;font-size:17px;line-height:1.3;text-decoration:none;box-shadow:0 14px 28px -16px rgb(0 0 0/.6);transition:background-color .2s,transform .2s var(--ease-out)}
body:not(.is-home) .gc-primary:hover{background:#fff;color:var(--wine)}
body:not(.is-home) .gc-primary:active{transform:scale(.985)}
body:not(.is-home) .gc-primary svg{transition:transform .35s var(--ease-out)}
body:not(.is-home) .gc-primary:hover svg,body:not(.is-home) .gc-link:hover svg{transform:translateX(4px)}
body:not(.is-home) /* contact block — default (switch off) = the main wine card */
.gc-alt{background:var(--wine);color:#f3e8e2;border-radius:24px;padding:30px 22px 14px}
body:not(.is-home) .gc-alt h2{color:#fbf2e6;font-size:28px;line-height:1.35}
body:not(.is-home) .gc .gc-sub{color:#e6d4cc;font-size:16px;line-height:1.7;margin-top:10px}
body:not(.is-home) .gc-duo{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}
body:not(.is-home) .gc-btn{display:flex;align-items:center;gap:9px;min-width:0;min-height:62px;padding:9px 12px;border-radius:16px;text-decoration:none;border:1px solid rgb(250 246 240/.3);color:#faf6f0;background:rgb(250 246 240/.04);transition:background-color .2s,border-color .2s}
body:not(.is-home) .gc-btn svg{flex:none;width:21px;height:21px}
body:not(.is-home) .gc-btn span{min-width:0}
body:not(.is-home) .gc-btn b{display:block;font-weight:600;font-size:15px;line-height:1.35}
body:not(.is-home) .gc-btn small{display:block;font-size:12.5px;line-height:1.35;opacity:.82;white-space:nowrap;font-variant-numeric:tabular-nums}
body:not(.is-home) .gc-btn:hover{background:rgb(250 246 240/.1);color:#fff}
body:not(.is-home) .gc-alt .gc-line{background:#faf6f0;border-color:#faf6f0;color:var(--wine)}
body:not(.is-home) .gc-alt .gc-line:hover{background:#fff;color:var(--wine)}
body:not(.is-home) .gc-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;margin-top:14px;padding:0 2px;border-top:1px solid rgb(250 246 240/.14);color:#e8cfa8;text-decoration:none;font-weight:500;font-size:15px;line-height:1.45}
body:not(.is-home) .gc-link:hover{color:#fbf2e6}
body:not(.is-home) .gc-link svg{flex:none;transition:transform .35s var(--ease-out)}
body:not(.is-home) .gc .gc-credit{font-size:13px;line-height:1.6;color:#d8c2ba;margin:-4px 2px 10px}
body:not(.is-home) .gc .gc-disc{font-size:13px;line-height:1.6;color:var(--soft-text);text-align:center;margin-top:4px}
body:not(.is-home) /* switch on: contact block becomes the quiet secondary card */
.gc.is-on .gc-alt{background:#fff;border:1px solid var(--hair);color:var(--ink);padding:22px 20px 10px;border-radius:20px}
body:not(.is-home) .gc.is-on .gc-alt h3{color:var(--wine);font-size:19px;line-height:1.45}
body:not(.is-home) .gc.is-on .gc-duo{margin-top:14px}
body:not(.is-home) .gc.is-on .gc-btn,body:not(.is-home) .gc.is-on .gc-alt .gc-line{background:var(--cream);border-color:var(--hair);color:var(--wine)}
body:not(.is-home) .gc.is-on .gc-btn:hover{background:var(--accent-soft);color:var(--wine)}
body:not(.is-home) .gc.is-on .gc-link{color:var(--accent-2);border-top-color:var(--hair)}
body:not(.is-home) .gc.is-on .gc-link:hover{color:var(--wine)}
body:not(.is-home) .gc.is-on .gc-alt :focus-visible{outline-color:var(--focus)}
body:not(.is-home) /* hero strip (online on) */
.care-cta-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:22px 0 2px}
body:not(.is-home) .gc-primary-sm{min-height:50px;font-size:16px;padding:0 22px}
body:not(.is-home) .care-cta-top .gc-primary,body:not(.is-home) .consult-card .gc-primary{background:var(--accent);color:#fff;box-shadow:0 12px 24px -16px rgb(151 67 42/.9)}
body:not(.is-home) .care-cta-top .gc-primary:hover,body:not(.is-home) .consult-card .gc-primary:hover{background:var(--accent-2);color:#fff}
body:not(.is-home) .gc-mini{margin:0;font-size:14px;line-height:1.5;color:var(--soft-text)}
body:not(.is-home) /* desktop side card */
.consult-card .consult-note{margin-bottom:6px}
body:not(.is-home) .gc-aside-online{padding-bottom:18px;margin:4px 0 16px;border-bottom:1px solid var(--hair)}
body:not(.is-home) .gc-aside-label{margin:0 0 10px;font-weight:600;font-size:15px;color:var(--wine)}
body:not(.is-home) .gc-chips-sm{margin-bottom:14px;gap:6px}
body:not(.is-home) .gc-chips-sm li{background:var(--accent-soft);color:var(--accent-2);font-size:13px;padding:4px 10px 4px 7px}
body:not(.is-home) .gc-chips-sm svg{color:var(--accent);width:14px;height:14px}
body:not(.is-home) .consult-card .gc-primary{width:100%}
body:not(.is-home) .consult-card .gc-duo{grid-template-columns:1fr;gap:8px;margin-top:12px}
body:not(.is-home) .consult-card .gc-btn{min-height:54px;color:var(--wine);border-color:var(--hair);background:var(--cream)}
body:not(.is-home) .consult-card .gc-btn:hover{background:var(--accent-soft);color:var(--wine)}
body:not(.is-home) .consult-card:not(.is-on) .gc-line{background:var(--wine);border-color:var(--wine);color:#fff}
body:not(.is-home) .consult-card:not(.is-on) .gc-line:hover{background:var(--wine-2);color:#fff}
body:not(.is-home) .consult-card .gc-btn span{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex:1}
body:not(.is-home) .consult-card .gc-btn small{font-size:13px}
body:not(.is-home) .consult-card .gc-link{color:var(--accent-2);border-top-color:var(--hair);font-size:14px;margin-top:10px;min-height:48px}
body:not(.is-home) .consult-card .gc-credit{font-size:12.5px;line-height:1.6;color:var(--soft-text);margin:2px 0 0}
body:not(.is-home) .consult-card [hidden]{display:none!important}
@media(min-width:900px){
 body:not(.is-home) .next-step.gc{margin-top:72px;gap:16px}
 body:not(.is-home) .gc-online{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);grid-template-areas:"head steps" "go steps";column-gap:64px;padding:48px 52px}
 body:not(.is-home) .gc-on-head{grid-area:head}
 body:not(.is-home) .gc-online h2{font-size:42px;line-height:1.25}
 body:not(.is-home) .gc-steps{grid-area:steps;margin:0;align-self:center;padding:8px 0 8px 40px;border-left:1px solid rgb(250 246 240/.12)}
 body:not(.is-home) .gc-steps li{grid-template-columns:52px minmax(0,1fr);gap:18px;padding:12px 0}
 body:not(.is-home) .gc-ic{width:52px;height:52px}
 body:not(.is-home) .gc-steps li:not(:last-child)::after{left:25.5px;top:calc(50% + 30px);height:calc(100% - 60px)}
 body:not(.is-home) .gc-st b{font-size:18px}
 body:not(.is-home) .gc-go{grid-area:go;align-self:end;border-top:0;padding-top:0;margin-top:28px}
 body:not(.is-home) .gc-online .gc-primary{display:inline-flex;min-width:320px}
 body:not(.is-home) .gc-alt{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);grid-template-areas:"head duo" "head link" "head credit";column-gap:56px;align-items:center;padding:44px 52px 30px}
 body:not(.is-home) .gc-alt-head{grid-area:head;align-self:center}
 body:not(.is-home) .gc-duo{grid-area:duo;margin-top:0}
 body:not(.is-home) .gc-link{grid-area:link}
 body:not(.is-home) .gc .gc-credit{grid-area:credit;margin:0 2px 8px}
 body:not(.is-home) .gc-alt h2{font-size:34px}
 body:not(.is-home) .gc.is-on .gc-alt{padding:26px 32px 14px;grid-template-areas:"head duo" "head link";align-items:center}
 body:not(.is-home) .gc.is-on .gc-duo{margin-top:0}
}
@media(prefers-reduced-motion:reduce){body:not(.is-home) .gc-primary,body:not(.is-home) .gc-primary svg,body:not(.is-home) .gc-link svg{transition:none}}
@media(max-width:519px){
 body:not(.is-home) .gc-online .gc-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 body:not(.is-home) .gc-online .gc-chips li{flex-direction:column;justify-content:flex-start;text-align:center;white-space:normal;border-radius:14px;padding:10px 6px 9px;gap:3px;font-size:13px;line-height:1.35;text-wrap:balance}
}
@media(max-width:519px){
 body:not(.is-home) .gc-online .gc-chips{gap:0}
 body:not(.is-home) .gc-online .gc-chips li{background:none;border-radius:0;padding:4px 6px;font-size:13.5px;color:#f6e6cf}
 body:not(.is-home) .gc-online .gc-chips li+li{border-left:1px solid rgb(250 246 240/.16)}
 body:not(.is-home) .gc-online .gc-chips svg{width:18px;height:18px;padding:3px;border-radius:50%;background:rgb(232 207 168/.16);box-sizing:content-box}
}

body:not(.is-home) .gc .gc-sub2{font-size:14px;line-height:1.6;color:var(--soft-text);margin-top:4px}
body:not(.is-home) .gc .gc-lede{display:none}
@media(min-width:900px){
 body:not(.is-home) .gc .gc-lede{display:block;margin-top:14px;max-width:30ch;font-size:17px;line-height:1.7;color:#e6d4cc}
 body:not(.is-home) .gc-online{row-gap:0}
}
body:not(.is-home) .consult-card .gc-chips-sm{display:grid;gap:6px;margin:0 0 16px}
body:not(.is-home) .consult-card .gc-chips-sm li{background:none;padding:0;color:var(--ink);font-size:14.5px;gap:8px}
body:not(.is-home) .consult-card .gc-chips-sm svg{width:16px;height:16px;padding:3px;border-radius:50%;background:var(--accent-soft);color:var(--accent-2);box-sizing:content-box}
@media(max-width:519px){body:not(.is-home) .care-cta-top .gc-primary{width:100%}body:not(.is-home) .care-cta-top{gap:10px}}
body:not(.is-home) .gc :is(.gc-sub,.gc-credit,.gc-sub2,.gc-lede){text-wrap:pretty}
@media(min-width:900px){body:not(.is-home) .gc .gc-sub{max-width:34ch}}
