/* finesse · register=brand · palette=paper+olive · type=serif+sans · layout=scroll-story · engine=WebGL · material=clay+scan · scope=motion-polish */
/* KINORA — a range-of-motion study in paper, olive ink and bronze. */
:root {
  /* Cream paper with dark ink, olive and bronze accents throughout the story. */
  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --paper-hi: #ffffff;
  --ink: #1d1d1b;
  --ink-2: #4a4a40;
  --olive: #66702f;
  --olive-ink: #4f5a24;
  --olive-deep: #3c4519;
  --bronze: #a8743c;
  --bronze-ink: #7a5226;
  --rule: rgba(29,29,27,.16);
  --story-logo-filter: none;
  --pad: clamp(20px, 4.4vw, 64px);
  /* margins a quarter narrower than a strict 1200px column: 1260 at 1440, 1380 at 1920 */
  --content: min(calc(1200px + (100vw - 1200px) * .25), calc(100vw - 2 * var(--pad)));
  --head: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --f: "Hanken Grotesk", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --serif: "Libre Caslon Text", "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (max-width: 819px) { :root { --head: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); scrollbar-color: var(--olive) var(--paper); scrollbar-width: thin; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
body.has-sheet { overflow: hidden; }
::selection { background: var(--olive-deep); color: var(--paper-hi); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--bronze-ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }


/* Chinese: no negative tracking, roomier leading, never italic */
:lang(zh-Hans) body, body:lang(zh-Hans) { line-height: 1.75; }
:lang(zh-Hans) em, :lang(zh-Hans) i { font-style: normal; }

/* ---------- buttons: goniometer arms with a rivet ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; gap: 12px; min-height: var(--h);
  padding: 0 24px 0 16px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-weight: 500; font-size: 1rem; letter-spacing: .005em;
  transition: transform .5s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none;
  border: 2px solid var(--bronze); background: var(--paper-hi);
  transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:hover::before { transform: scale(1.15); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary { background: var(--olive-deep); color: var(--paper-hi); }
.btn-primary:hover { background: #2e3513; }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: rgba(29, 29, 27, .05); }
.text-link { color: var(--olive-ink); text-underline-offset: 4px; text-decoration-thickness: 1px; font-weight: 500; }
.text-link:hover { color: var(--ink); }

/* ---------- header: brand | four sections | language + booking ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--head);
  display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; column-gap: 24px;
  padding: 0 var(--pad);
}
.top::before { /* frosted glass once you scroll: what passes underneath blurs instead of being cut off */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--paper); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  opacity: 0; transition: opacity .35s;
}
.top.is-scrolled::before { opacity: 1; }
.brand { justify-self: start; display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-mark { height: 34px; width: auto; }
.brand-word { height: 15px; width: auto; margin-top: 4px; }
.brand-sub { display: none; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-left: 12px; margin-left: 4px; border-left: 1px solid var(--rule); margin-top: 3px; }
:lang(zh-Hans) .brand-sub { letter-spacing: .12em; font-size: .8125rem; }
@media (min-width: 1700px) { .brand-sub { display: block; } }

.nav { display: none; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: rgba(29, 29, 27, .05); }
.nav-link[aria-current="true"] { color: var(--ink); }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 1.5px; background: var(--bronze); transform: scaleX(0); transition: transform .45s var(--ease); }
.nav-link[aria-current="true"]::after { transform: scaleX(1); }
.chev { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% + 12px); left: 0; width: 400px; padding: 8px; display: grid; gap: 2px;
  background: var(--paper-hi); border: 1px solid var(--rule); border-radius: 18px;
  box-shadow: 0 24px 48px -24px rgba(29, 29, 27, .35), 0 2px 6px rgba(29, 29, 27, .06);
  animation: build .35s var(--ease) both;
}
.nav-panel[hidden] { display: none; }
.np-item { display: grid; grid-template-columns: 12px 1fr; column-gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.np-item::before { content: ""; grid-row: 1 / span 2; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; border: 1.5px solid var(--bronze); }
.np-item:hover, .np-item:focus-visible { background: rgba(102, 112, 47, .08); }
.np-item:hover::before { background: var(--bronze); }
.np-h { font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.np-p { margin-top: 2px; font-size: .8125rem; line-height: 1.45; color: var(--ink-2); }

.top-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.lang { min-width: 48px; min-height: 44px; padding: 0 10px; border-radius: 999px; font-size: .9375rem; font-weight: 500; border: 1px solid var(--rule); }
.lang:hover { border-color: var(--ink); }
.lang-seg { display: inline-flex; align-items: center; gap: 2px; padding: 4px; }
.lang-opt { padding: 7px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; line-height: 1; color: var(--ink-2); transition: background-color .25s, color .25s; }
.lang-opt.is-on { background: var(--ink); color: var(--paper-hi); }
.menu-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); font-weight: 500; font-size: .9375rem; }
.menu-btn:hover { border-color: var(--ink); }
/* the bar keeps its exact layout in both languages: four equal slots, a fixed-width booking button */
.top-book { width: 15rem; justify-content: center; }
.menu-btn { width: 5rem; text-align: center; padding: 0; }
@media (min-width: 1280px) { .nav { display: grid; grid-template-columns: repeat(4, 8.5rem); justify-items: center; } .menu-btn { display: none; } }
@media (max-width: 1279px) { .top { grid-template-columns: 1fr auto; } }
@media (max-width: 819px) {
  .top { padding: 0 20px; grid-template-columns: 1fr; }
  .top-actions { display: none; }
  .brand-mark { height: 30px; }
  .brand-word { height: 13px; }
}

/* ---------- stage ---------- */
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#stage-band { display: none; }
#overlay { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.readout {
  position: absolute; left: 0; top: 0; translate: -50% -50%; opacity: 0;
  display: flex; align-items: baseline; gap: 1px; padding: 5px 11px 6px;
  background: var(--paper-hi); border: 1px solid rgba(79, 90, 36, .35); border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: var(--olive-ink); white-space: nowrap; will-change: transform;
}
.readout-deg { color: var(--bronze-ink); }
.leaders i { position: absolute; left: 0; top: 0; width: 1px; height: 1px; background: var(--olive); transform-origin: 0 50%; opacity: 0; will-change: transform; }
.leaders i.on { background: var(--bronze); height: 2px; margin-top: -.5px; }
.fallback-figure { display: none; }
.nw { white-space: nowrap; }
.inspect-shield { display: none; }
body:not(.inspecting) .inspect-close { display: none; }
.done-note { margin-top: 8px; font-size: .875rem; color: var(--olive-ink); }
:lang(zh-Hans) .lede, :lang(zh-Hans) .ro-detail, :lang(zh-Hans) .ro-label, :lang(zh-Hans) .sec-h, :lang(zh-Hans) .svc-h, :lang(zh-Hans) .step-h,
:lang(zh-Hans) .close-title, :lang(zh-Hans) .spec-name, :lang(zh-Hans) .choice-h, :lang(zh-Hans) .done-h, :lang(zh-Hans) .hero-title { word-break: keep-all; overflow-wrap: anywhere; }
.no-webgl #stage, .no-webgl #overlay { display: none; }

main { position: relative; z-index: 2; }
section { position: relative; }
.sec-h { font-size: clamp(2rem, 3.3vw, 3.25rem); line-height: 1.04; font-weight: 500; letter-spacing: -.028em; text-wrap: balance; }
:lang(zh-Hans) .sec-h { letter-spacing: .02em; line-height: 1.25; font-weight: 600; }

/* measuring rule: hairline with ticks */
.ruled { position: relative; }
.ruled::before, .svc::before, .spec-panel::before, .contact-grid::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px;
  background:
    linear-gradient(var(--rule), var(--rule)) top / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(102, 112, 47, .55) 0 1px, transparent 1px 12px) top / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, rgba(102, 112, 47, .8) 0 1px, transparent 1px 60px) top / 100% 9px no-repeat;
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 44%) 1fr clamp(220px, 17vw, 270px);
  gap: 0 32px; padding: calc(var(--head) + 24px) var(--pad) clamp(28px, 5vh, 56px);
  align-items: end;
}
.hero-copy { grid-column: 1; align-self: center; padding-top: 4vh; }
.hero-title { font-size: clamp(2.6rem, min(5.3vw, 9.4vh), 5.6rem); line-height: .98; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; max-width: 13ch; }
:lang(zh-Hans) .hero-title { font-size: clamp(2.4rem, min(4.6vw, 8.6vh), 5rem); letter-spacing: .02em; line-height: 1.2; font-weight: 600; max-width: none; }
.lede { margin-top: clamp(18px, 3vh, 30px); font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
:lang(zh-Hans) .lede { line-height: 1.85; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 4vh, 40px); }

.readouts { grid-column: 3; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-top: 2vh; }
.readouts-h { font-size: .875rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); padding-bottom: 12px; }
.readout-list { display: flex; flex-direction: column; }
.ro { padding: clamp(10px, 1.6vh, 16px) 0; border-top: 1px solid var(--rule); position: relative; }
.ro::after { content: ""; position: absolute; left: 0; top: -1px; width: 28px; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) calc(var(--row) * .12s + .4s); }
.is-rolled .ro::after { transform: scaleX(1); }
.ro-num { font-size: clamp(2rem, 5.6vh, 3.3rem); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.ro-digits { display: inline-flex; align-items: flex-start; }
.wheel { display: inline-block; height: 1.04em; overflow: hidden; }
.wheel-strip { display: flex; flex-direction: column; transform: translateY(0); transition: transform calc(1.7s + var(--i) * .14s) var(--ease) calc(var(--row) * .12s); will-change: transform; }
.wheel-strip span { display: block; height: 1.04em; line-height: 1.04em; }
.is-rolled .wheel-strip { transform: translateY(calc((10 + var(--d)) * -1.04em)); }
.sep { display: inline-block; line-height: 1.04em; }
.plus { color: var(--bronze-ink); margin-left: .04em; }
.ro-label { margin-top: 6px; font-size: .9375rem; font-weight: 500; line-height: 1.3; }
.ro-detail { margin-top: 3px; font-size: .8125rem; line-height: 1.4; color: var(--ink-2); }
.tag { display: inline-block; vertical-align: 1px; margin-left: 4px; padding: 0 6px; font-size: .6875rem; font-weight: 600; letter-spacing: .04em; color: var(--bronze-ink); border: 1px solid rgba(122, 82, 38, .45); border-radius: 999px; line-height: 1.5; }

.no-webgl .fallback-figure { display: block; grid-column: 2; grid-row: 1; align-self: center; justify-self: center; width: min(100%, 360px); }

/* ---------- why ---------- */
.why { padding: 12vh var(--pad) 0; }
.why-dots { display: none; }
.why-head { position: relative; z-index: 3; padding: 26px 0 22px; width: min(44%, 560px); border-bottom: 1px solid var(--rule); } /* a plain heading: the steps below hold themselves */
.why-head .sec-h { font-size: clamp(1.125rem, 1.4vw, 1.375rem); letter-spacing: 0; font-weight: 600; color: var(--olive-ink); }
.steps { margin-top: 0; }
.step { min-height: 92vh; display: flex; align-items: center; width: min(44%, 560px); }
.step-in { padding: 8vh 0; }
@media (min-width: 820px) {
  .step { min-height: 72vh; align-items: flex-start; }
  .step-in { position: sticky; top: calc(var(--head) + 12vh); padding: 4vh 0; }
}
.step-tick { display: block; width: 72px; height: 9px; margin-bottom: 22px;
  background: repeating-linear-gradient(90deg, var(--olive) 0 1px, transparent 1px 8px) bottom / 100% 5px no-repeat, linear-gradient(var(--bronze), var(--bronze)) left bottom / 1.5px 9px no-repeat; }
.step-h { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.02; font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
:lang(zh-Hans) .step-h { letter-spacing: .02em; line-height: 1.25; font-weight: 600; }
.step-p { margin-top: 18px; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--ink-2); max-width: 36ch; }
:lang(zh-Hans) .step-p { max-width: 22em; }
.step .btn { margin-top: 28px; }

/* ---------- services ---------- */
.services { padding: 14vh var(--pad) 10vh; }
.services .panel { max-width: min(640px, 40vw); } /* clear of the centre column the figure glides into */
.svc-list { margin-top: 36px; }
.svc { position: relative; padding: 34px 0 30px; }
.svc-h { font-size: clamp(1.6rem, 2.3vw, 2.25rem); line-height: 1.08; font-weight: 500; letter-spacing: -.022em; }
:lang(zh-Hans) .svc-h { letter-spacing: .02em; font-weight: 600; }
.svc-desc { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.more { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; padding-right: 8px; font-weight: 600; font-size: .9375rem; color: var(--olive-ink); }
.more:hover { color: var(--ink); }
.more-ico { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.more-ico::before, .more-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform .4s var(--ease); }
.more-ico::after { transform: rotate(90deg); }
[aria-expanded="true"] > .more-ico::after { transform: rotate(0deg); }
.svc-detail { padding-top: 8px; animation: build .6s var(--ease) both; }
.svc-label { font-size: .8125rem; font-weight: 600; color: var(--ink-2); margin: 14px 0 6px; letter-spacing: .02em; }
.svc-items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.svc-item { width: 100%; text-align: left; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--rule); display: flex; align-items: center; gap: 10px; font-size: .9875rem; transition: color .2s; }
.svc-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--olive); flex: none; transition: background-color .2s, border-color .2s, transform .4s var(--ease); }
button.svc-item:hover, .svc-item.is-on { color: var(--ink); }
button.svc-item:hover::before, .svc-item.is-on::before { background: var(--bronze); border-color: var(--bronze); transform: scale(1.3); }
.pkgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pkgs li { padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: .9375rem; }
@keyframes build { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- specialties ---------- */
.specialties { min-height: 100vh; padding: calc(var(--head) + 4vh) var(--pad) 8vh; }
.spec-head { text-align: left; }
.spec-stage { display: none; }
.spec-panel { margin-top: 3vh; }
.spec-panel::before { display: none; }
.spec-list { display: grid; grid-template-columns: 1fr minmax(320px, 30vw) 1fr; grid-auto-flow: dense; row-gap: clamp(18px, 4vh, 44px); }
.spec-l { grid-column: 1; text-align: right; }
.spec-r { grid-column: 3; }
.spec-btn { display: flex; align-items: center; gap: 12px; min-height: 44px; width: 100%; font-size: clamp(1.125rem, 1.45vw, 1.375rem); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; text-align: inherit; }
.spec-l .spec-btn { flex-direction: row-reverse; }
.spec-btn .more-ico { display: none; }
.spec-name { flex: 1; text-wrap: balance; }
.spec-pin { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--olive-ink); background: var(--paper); flex: none; transition: background-color .2s, transform .4s var(--ease), border-color .2s; }
.spec.is-on .spec-pin, button.spec-btn:hover .spec-pin { background: var(--bronze); border-color: var(--bronze); transform: scale(1.25); }
.spec-d { margin-top: 6px; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.spec-l .spec-d { padding-right: 23px; margin-left: auto; }
.spec-r .spec-d { padding-left: 23px; }
.spec-d p { max-width: 46ch; text-wrap: balance; }
.spec-sub { max-width: 34ch; }
@media (min-width: 820px) { .spec-d .ph { white-space: nowrap; } }
.spec-l .spec-d p, .spec-l .spec-sub { margin-left: auto; }
.spec-sub { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.spec-l .spec-sub { justify-content: flex-end; }
.spec-note { margin-top: 5vh; color: var(--ink-2); max-width: 30ch; }


/* ---------- provider ---------- */
.provider { padding: 16vh var(--pad); }
.prov-grid { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 620px); gap: clamp(32px, 6vw, 96px); justify-content: center; align-items: center; }
.portrait-frame { aspect-ratio: 4 / 5; border: 1px solid var(--rule); border-radius: 22px; background: var(--paper-2); display: grid; place-items: center; align-content: center; gap: 18px; padding: 24px; position: relative; overflow: hidden; }
.portrait-frame::before { content: ""; position: absolute; inset: 14px; border-radius: 14px; border: 1px dashed rgba(102, 112, 47, .45); }
.portrait-frame svg { width: 56px; height: auto; }
.portrait-frame figcaption { font-size: .875rem; color: var(--ink-2); text-align: center; max-width: 22ch; }
.prov-role { margin-top: 10px; font-size: 1.125rem; font-weight: 500; color: var(--olive-ink); }
.prov-bio { margin-top: 22px; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); max-width: 54ch; }
.prov-profile { margin-top: 28px; }
.cred-h { margin-top: 36px; font-size: .875rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
.creds { margin-top: 10px; }
.creds li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--rule); font-weight: 500; }
.creds li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--bronze); flex: none; transform: translateY(-1px); }

/* ---------- closing ---------- */
.closing { min-height: 100vh; display: flex; align-items: center; padding: 12vh var(--pad); }
.close-panel { width: min(46%, 640px); }
.close-title { font-size: clamp(2.4rem, 4.6vw, 4.75rem); line-height: 1; font-weight: 500; letter-spacing: -.034em; }
:lang(zh-Hans) .close-title { letter-spacing: .02em; line-height: 1.22; font-weight: 600; }
.close-lede { margin-top: 20px; color: var(--ink-2); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); max-width: 46ch; }
.closing .chooser { margin-top: 34px; }

/* chooser (inline + sheet) */
.choose-h { font-size: .875rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); margin-bottom: 10px; }
.choose-list { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: grid; grid-template-columns: 18px 1fr 24px; gap: 16px; align-items: center; width: 100%; text-align: left;
  min-height: 76px; padding: 16px 20px; border: 1px solid var(--rule); border-radius: 18px; background: var(--paper-hi);
  transition: border-color .2s, background-color .2s, transform .5s var(--ease);
}
.choice:hover { border-color: var(--olive-ink); transform: translateY(-1px); }
.choice-rivet { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--bronze); background: var(--paper); transition: background-color .2s; }
.choice:hover .choice-rivet { background: var(--bronze); }
.choice-txt { display: flex; flex-direction: column; gap: 3px; }
.choice-h { font-size: 1.125rem; font-weight: 600; }
.choice-p { font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.choice-note { font-size: .8125rem; color: var(--olive-ink); line-height: 1.45; margin-top: 4px; }
.choice-arrow { width: 22px; color: var(--olive-ink); transition: transform .5s var(--ease); }
.choice:hover .choice-arrow { transform: translateX(3px); }
.choose-done { padding: 22px 22px 24px; border: 1px solid var(--rule); border-radius: 18px; background: var(--paper-hi); animation: build .6s var(--ease) both; }
.done-pick { font-size: .875rem; font-weight: 600; color: var(--olive-ink); }
.done-h { margin-top: 6px; font-size: 1.375rem; font-weight: 600; line-height: 1.25; }
.done-p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
.choose-done .btn { margin-top: 18px; --h: 48px; }

/* ---------- contact ---------- */
.contact { padding: 10vh var(--pad) 0; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; padding-top: 48px; position: relative; }
.contact-lede { margin-top: 16px; color: var(--ink-2); max-width: 44ch; }
.contact-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.contact-dl div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact-dl dt { font-size: .8125rem; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.contact-dl dd { margin-top: 2px; font-weight: 500; color: var(--ink); }
.foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 72px 0 40px; margin-top: 64px; border-top: 1px solid var(--rule); }
.foot img { width: 150px; height: auto; }
.foot p { font-size: .875rem; color: var(--ink-2); }

/* ---------- dock (mobile) ---------- */
.dock { display: none; }

/* ---------- sheets ---------- */
.sheet { border: 0; padding: 0; background: transparent; max-width: 560px; width: calc(100% - 32px); max-height: calc(100% - 32px); color: var(--ink); overflow: visible; }
.sheet::backdrop { background: rgba(29, 29, 27, .32); }
.sheet[open] .sheet-inner { animation: sheet-in .55s var(--ease) both; }
.sheet[open]::backdrop { animation: fade .3s ease both; }
.sheet-inner { background: var(--paper); border-radius: 26px; padding: 26px 26px 28px; box-shadow: 0 24px 60px -20px rgba(29, 29, 27, .35), 0 2px 8px rgba(29, 29, 27, .08); max-height: calc(100svh - 32px); overflow: auto; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sheet-h { font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule); flex: none; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; }
.menu-nav { display: flex; flex-direction: column; margin-bottom: 22px; }
.menu-nav a { text-decoration: none; font-size: 1.25rem; font-weight: 500; padding: 12px 0; min-height: 44px; border-top: 1px solid var(--rule); }
.menu-nav a:hover { color: var(--olive-ink); }
.menu-sheet .btn { width: 100%; justify-content: center; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }

/* =================== mobile: its own design =================== */
@media (max-width: 819px) {
  body { font-size: 1rem; }
  main { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .panel, .hero-copy, .readouts, .step-in { background: var(--paper); }

  .hero { display: block; padding: 0; min-height: 0; }
  .hero-copy { padding: 58svh 20px 0; background: linear-gradient(to bottom, transparent 58svh, var(--paper) 58svh); }
  .hero-title { font-size: clamp(2.15rem, 9.6vw, 2.8rem); line-height: 1.02; max-width: 14ch; }
  :lang(zh-Hans) .hero-title { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  .lede { font-size: 1rem; }
  .actions .btn-primary { display: none; }
  .readouts { padding: 36px 20px 8px; }
  .readout-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; }
  .ro:last-child { grid-column: 1 / -1; }
  .ro-num { font-size: 2.6rem; }

  .why { padding: 0; }
  .why-head { position: relative; top: 0; width: auto; padding: 28px 20px 0; border: 0; }
  .steps { margin: 0; padding: 40svh 20px 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .steps::-webkit-scrollbar { display: none; }
  .step { min-height: 0; width: auto; flex: 0 0 calc(100% - 28px); display: block; scroll-snap-align: start; }
  .step-in { padding: 22px 20px 24px; border: 1px solid var(--rule); border-radius: 22px; background: var(--paper-hi); height: 100%; }
  .step-tick { margin-bottom: 14px; }
  .step-h { font-size: clamp(1.625rem, 7vw, 2rem); }
  .step-p { margin-top: 10px; font-size: 1rem; }
  .step-book { display: none; }
  .why-dots { display: flex; gap: 6px; padding: 14px 20px 24px; }
  .why-dots i { width: 22px; height: 3px; border-radius: 2px; background: var(--rule); transition: background-color .3s; }
  .why-dots i.on { background: var(--bronze); }

  .services { padding: 50svh 0 0; }
  .services .panel { margin: 0; padding: 40px 20px 24px; max-width: none; }
  .svc-items { grid-template-columns: 1fr; }

  .specialties { min-height: 0; padding: 0; }
  .spec-head { text-align: left; padding: 20px 20px 0; background: var(--paper); }
  .spec-stage { display: block; height: 46svh; }
  .spec-panel { margin: 0; padding: 8px 20px 32px; }
  .spec-list { display: block; }
  .spec { text-align: left; border-bottom: 1px solid var(--rule); }
  .spec-l .spec-btn { flex-direction: row; }
  .spec-btn { min-height: 60px; font-size: 1.0625rem; }
  .spec-btn .more-ico { display: block; color: var(--olive-ink); }
  .spec-d { padding: 0 0 18px 23px !important; margin: 0 !important; }
  .js .spec-d { display: none; }
  .spec.is-on .spec-d { display: block; animation: build .5s var(--ease) both; }
  .spec-l .spec-d p, .spec-l .spec-sub { margin-left: 0; }
  .spec-l .spec-sub { justify-content: flex-start; }
  .spec-note { text-align: left; margin-top: 24px; }

  .provider { padding: 0; }
  .prov-grid { grid-template-columns: 1fr; padding: 64px 20px 40px; gap: 28px; }
  .portrait-frame { aspect-ratio: 16 / 11; }

  .closing { min-height: 0; display: block; padding: 40px 0 0; }
  .close-panel { width: auto; padding: 40px 20px 32px; }
  .close-title { font-size: clamp(2.2rem, 9.6vw, 2.8rem); }

  .contact { padding: 48px 20px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .contact-dl { grid-template-columns: 1fr; }
  .foot { flex-direction: column; align-items: flex-start; padding: 40px 0 24px; margin-top: 40px; }

  .dock {
    display: flex; gap: 8px; align-items: center; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule);
  }
  .dock-btn { min-height: 48px; min-width: 64px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule); font-weight: 600; font-size: .9375rem; }
  .dock-book { flex: 1; justify-content: center; --h: 48px; }

  .sheet { width: 100%; max-width: none; margin: auto 0 0; max-height: 92svh; }
  .sheet-inner { border-radius: 26px 26px 0 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); max-height: 92svh; }
  .choice { min-height: 72px; padding: 14px 16px; gap: 14px; }

  .no-webgl .hero-copy { padding-top: 20px; background: var(--paper); }
  .no-webgl .steps { padding-top: 24px; }
  .no-webgl .services, .no-webgl .closing { padding-top: 0; }
  .no-webgl .spec-stage { display: none; }
  body.inspecting #stage { z-index: 26; }
  body.inspecting #overlay { z-index: 27; }
  body.inspecting::after { content: ""; position: fixed; left: 0; right: 0; top: 56%; height: 1px; background: var(--rule); z-index: 27; pointer-events: none; }
  body.inspecting .inspect-shield { display: block; position: fixed; left: 0; right: 0; top: 0; height: 56%; z-index: 27; }
  body.inspecting .inspect-close { display: grid; position: fixed; z-index: 28; right: 14px; top: calc(var(--head) + 10px); background: var(--paper-hi); }
  .no-webgl .hero { display: flex; flex-direction: column; }
  .no-webgl .fallback-figure { order: -1; width: 200px; margin: 0 auto; padding-top: calc(var(--head) + 12px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

/* ---------- KINORA type system: Newsreader display + Hanken Grotesk text; Noto Serif SC / Noto Sans SC for Chinese ---------- */
.hero-title, .sec-h, .step-h, .svc-h, .close-title, .ro-num, .sheet-h, .done-h, .menu-nav a, .readout-val, .readout-deg { font-family: var(--serif); }
.hero-title { font-weight: 400; letter-spacing: -.02em; line-height: 1.02; }
.sec-h, .step-h { font-weight: 400; letter-spacing: -.018em; line-height: 1.06; }
.svc-h { font-weight: 400; letter-spacing: -.01em; }
.close-title { font-weight: 400; letter-spacing: -.02em; }
.ro-num { font-weight: 400; letter-spacing: -.01em; }
.sheet-h, .done-h, .menu-nav a { font-weight: 400; letter-spacing: -.005em; }
.why-head .sec-h { font-family: var(--f); font-weight: 600; letter-spacing: 0; }
:lang(zh-Hans) .hero-title, :lang(zh-Hans) .sec-h, :lang(zh-Hans) .step-h, :lang(zh-Hans) .svc-h, :lang(zh-Hans) .close-title { font-weight: 400; letter-spacing: .02em; }

/* ---------- opening: words wait for the figure, then build in top to bottom ---------- */
.intro .hero-title, .intro .lede, .intro .actions, .intro .readouts, .intro .spin-hint { opacity: 0; transform: translate3d(0, 16px, 0); }
.intro.intro-go .hero-title, .intro.intro-go .lede, .intro.intro-go .actions, .intro.intro-go .readouts, .intro.intro-go .spin-hint { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.intro.intro-go .lede { transition-delay: .14s; }
.intro.intro-go .actions { transition-delay: .28s; }
.intro.intro-go .readouts { transition-delay: .42s; }
.intro.intro-go .spin-hint { transition-delay: .6s; }

/* ---------- drag to spin ---------- */
[data-scene] { touch-action: pan-y; }
.steps { touch-action: pan-x pan-y; }
html.can-spin, html.can-spin body * { cursor: grab; }
html.spinning, html.spinning body * { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.hero { position: relative; }
.spin-hint { position: absolute; right: var(--pad); bottom: 26px; margin: 0; padding: 7px 13px; border-radius: 999px; background: var(--paper-hi); border: 1px solid var(--rule); font-size: .8125rem; line-height: 1; pointer-events: none; z-index: 2; }
html.has-spun .spin-hint { opacity: 0; transition: opacity .3s ease; }
.no-webgl .spin-hint { display: none; }
@media (max-width: 819px) { .spin-hint { right: auto; left: 16px; bottom: auto; top: calc(58svh - 42px); } }

/* ---------- section transitions (after the reference recording): masked word rise, a stone panel, a curtain footer ---------- */
.rw > span { display: inline-block; }
.js .rw > span { opacity: 0; transition: opacity 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .is-risen .rw > span { opacity: 1; }
#tones { position: absolute; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none; }
#tones i { position: absolute; left: 0; right: 0; background: var(--paper-2); }
.provider .portrait-frame { background: var(--paper); }
.contact-grid { z-index: 1; background: var(--paper); padding-bottom: 72px; }
.foot { position: sticky; bottom: 0; z-index: 0; margin: 0 calc(-1 * var(--pad)); padding: 72px var(--pad) 40px; background: var(--paper-2); border-top: 0; }
.contact-grid::after { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * var(--pad)); background: var(--paper); }

/* ---------- section labels: Why, Services and Specialties share one small olive label that holds under the nav ---------- */
.sec-label .sec-h { font-family: var(--f); font-size: clamp(1.125rem, 1.4vw, 1.375rem); line-height: 1.25; letter-spacing: 0; font-weight: 600; color: var(--olive-ink); }
@media (min-width: 820px) {
  .sec-label { position: sticky; top: var(--head); z-index: 3; padding: 26px 0 22px; width: min(44%, 560px); border-bottom: 1px solid var(--rule); background: var(--paper); }
  .services .sec-label { width: 100%; margin-bottom: 8px; }
}

/* ---------- specialties: the six sit in the vertical middle beside the figure; the "not sure" note drops to the bottom-left corner ---------- */
@media (min-width: 820px) {
  .spec-hold { display: flex; flex-direction: column; min-height: calc(100vh - var(--head) - 12vh); }
  .spec-panel { flex: 1; display: flex; flex-direction: column; position: relative; margin-top: 0; padding-bottom: 7rem; }
  .spec-list { margin-block: auto; }
  .spec-note { position: absolute; left: 0; bottom: 0; margin: 0; }
}

/* ---------- why: steps already read stack as one-line rows under the label ---------- */
.why-trail { display: none; }
@media (min-width: 820px) {
  .why-trail { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); }
  .trail-row { height: 0; overflow: hidden; opacity: 0; padding-top: 12px; box-sizing: border-box; }
  .trail-row .step-tick { margin-bottom: 8px; }
  .trail-h { display: block; font-family: var(--serif); font-size: 1.125rem; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .step-in { top: calc(var(--head) + var(--wh, 78px) + var(--trail, 0px) + 3vh); }
}

/* ---------- specialties as a held stage: the figure rises to the centre as the hero leaves,
   and the specialties fade in where they stand as soon as the stage settles ---------- */
@media (min-width: 820px) {
  .services { padding-bottom: 2vh; }
  .specialties { height: 146vh; min-height: 0; padding: 0 var(--pad) 16vh; scroll-margin-top: calc(-12vh - var(--head) - 12px); } /* 16vh of paper under the stage: the floor ring clears the next section */
  .spec-hold { position: sticky; top: 0; height: 100vh; min-height: 0; padding: calc(var(--head) + 4vh) 0 8vh; }
  .specialties .sec-label { position: relative; top: auto; }
  .js .specialties .spec-head, .js #spec-list > .spec, .js .specialties .spec-note {
    opacity: 0;
    transition: opacity .7s var(--ease); transition-delay: calc(var(--d, 0) * 60ms);
  }
  .specialties.is-shown .spec-head, .specialties.is-shown #spec-list > .spec, .specialties.is-shown .spec-note { opacity: 1; filter: none; }
}

/* ---------- why holds over services: the label and its folded steps stay while the services rise beneath them; the
   services are set compact so the label, the three steps and all three services read as one screen ---------- */
@media (min-width: 820px) {
  .sec-label { padding: 22px 0 18px; }
  .trail-row { padding-top: 8px; }
  .trail-row .step-tick { margin-bottom: 5px; }
  .services .sec-label { position: relative; top: auto; padding: 18px 0 12px; margin-bottom: 0; }
  .svc-list { margin-top: 0; }
  .svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center;
    padding: clamp(14px, 2.4vh, 26px) 0 clamp(12px, 2vh, 22px); }
  .svc-h { grid-column: 1; font-size: clamp(1.375rem, 2vw, 2rem); }
  .svc .more { grid-column: 2; grid-row: 1; margin: -6px 0; }
  .svc-desc { grid-column: 1 / -1; margin-top: 6px; }
  .svc-detail { grid-column: 1 / -1; }
}
@media (min-width: 820px) and (max-height: 820px) {
  .services .sec-label { padding: 14px 0 10px; }
  .svc { padding: 10px 0 9px; }
  .svc-h { font-size: clamp(1.25rem, 1.7vw, 1.625rem); }
  .svc-desc { margin-top: 4px; font-size: .9375rem; }
}

/* ---------- why + services hold as one screen: the services panel pins under the why label for --svc-hold, and the why
   section reaches (invisibly) over the services by the same amount so its label lets go at the same moment ---------- */
@media (min-width: 820px) {
  .why { margin-bottom: calc(-1 * var(--why-tail, 0px)); }
  .why::after { content: ""; display: block; height: var(--why-tail, 0px); }
  .services { padding-top: 0; }
  .services::after { content: ""; display: block; height: var(--svc-hold, 0px); }
  .services .panel { position: sticky; top: var(--svc-top, 142px); padding-top: var(--trail-max, 138px); }
}


/* ---------- section labels: one olive label with its rule close beneath, as wide as the services column ---------- */
.services .sec-h, .specialties .sec-h { text-transform: uppercase; letter-spacing: .08em; }
@media (min-width: 820px) {
  .sec-label { width: min(640px, 40vw); padding: 20px 0 8px; }
  .why-trail { top: calc(100% + 1px); } /* starts below the label's rule instead of over it */
  /* SERVICES pins under the why steps. When an opened service makes the list taller than the screen, the list slides
     up under it; the wrapper reaches over the list by that slide, so the label lets go with the why label, not after */
  .services .sec-label { position: sticky; top: var(--svc-label-top, 280px); z-index: 2; padding: 16px 0 8px; }
  .svc-head { margin-bottom: calc(-1 * var(--svc-slide, 0px)); }
  .svc-head::after { content: ""; display: block; height: var(--svc-slide, 0px); pointer-events: none; }
}

.js .svc:not(.is-open) .svc-detail { display:none; }
/* Service lists: always open on desktop in the story; phones keep the expand button. */
@media(min-width:820px) { .scroll-story .js-more { display:none; } .scroll-story .svc:not(.is-open) .svc-detail { display:block; } }
@media(min-width:820px) { .scroll-story .specialties { height:210vh; } }
/* Find the Care: the figure is gone by here, so the section uses the full width. */
@media(min-width:820px) {
  .scroll-story .close-panel { width:100%; }
  .scroll-story .close-title { font-size:clamp(3rem,6.6vw,7rem); }
  .scroll-story .close-lede { max-width:60ch; font-size:clamp(1.125rem,1.5vw,1.375rem); margin-top:clamp(20px,3vh,32px); }
  .scroll-story .closing .chooser { margin-top:clamp(44px,8vh,88px); }
  .scroll-story .care-showcase { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(28px,4.5vw,72px); }
  .scroll-story .care-showcase h3 { font-size:clamp(1.375rem,2vw,2rem); }
  .scroll-story .care-showcase p { font-size:clamp(1.0625rem,1.35vw,1.25rem); }
}
/* Scroll story: text keeps its reading column while the camera uses the right. */
.scroll-story .hero { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:26px; padding-top:calc(var(--head) + 45px); padding-bottom:40px; }
.scroll-story .hero-copy { width:44%; padding-top:0; align-self:flex-start; }
.scroll-story .readouts { width:44%; padding-top:0; }
.scroll-story .readout-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.scroll-story .ro-num { font-size:2rem; }
.scroll-story .ro-detail { font-size:.75rem; }
.scroll-story .spin-hint { display:none; }
.scroll-story .step { min-height:90svh; }
.scroll-story .why::after { display:none; }
.scroll-story .services { min-height:0; padding-top:12vh; }
.scroll-story .services .panel { position:relative; top:auto; transform:none; padding-top:0; }
.scroll-story .services .sec-label { top:var(--head); }
.scroll-story .svc-head { margin-bottom:0; }
.scroll-story .svc-head::after { display:none; }
.scroll-story .svc { display:block; min-height:100svh; padding-top:12vh; padding-bottom:12vh; }
.scroll-story .svc-in { position:sticky; top:calc(var(--head) + 12vh); display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px 20px; }
@media(max-width:819px) {
  /* sized by the small viewport (address bar showing), like the 54svh text offsets: when the bar collapses the figure
     neither rescales nor slips over the text below it */
  .scroll-story #stage { height:100svh; bottom:auto; clip-path:inset(0 0 46% 0); z-index:4; }
  .scroll-story #overlay { z-index:5; }
  .scroll-story #stage-band { display:block; position:fixed; left:0; right:0; top:0; height:54svh; z-index:3; opacity:0; pointer-events:none;
    background:linear-gradient(to bottom, var(--paper) calc(100% - 16px), transparent); }
  .scroll-story .hero { display:block; padding:0; }
  .scroll-story .hero-copy { width:auto; padding:58svh 20px 0; }
  .scroll-story .readouts { width:auto; padding:30px 20px; background:var(--paper); }
  .scroll-story .readout-list { gap:14px; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .scroll-story .ro:last-child { grid-column:auto; }
  .scroll-story .ro-detail { display:none; }
  .scroll-story .steps { display:block; overflow:visible; padding:0 20px; }
  .scroll-story .step { min-height:140svh; padding-top:54svh; padding-bottom:5vh; }
  .scroll-story .step-in { height:auto; position:sticky; top:54svh; }
  .scroll-story .why-dots { display:none; }
  .scroll-story .services { padding:0; }
  .scroll-story .services .panel { background:transparent; padding:0 20px; }
  .scroll-story .svc { min-height:140svh; padding-top:54svh; padding-bottom:40px; }
  .scroll-story .svc-in { position:sticky; top:54svh; display:block; background:transparent; }
  .scroll-story .svc::before { top:calc(54svh - 20px); }
  .scroll-story .svc-in > * { position:relative; background:transparent; }
  .scroll-story .svc-detail { padding-top:2px; padding-bottom:0; }
  .scroll-story .svc-h { font-size:1.5rem; }
  .scroll-story .svc-desc { margin-top:4px; font-size:.875rem; line-height:1.35; }
  .scroll-story .svc-label { margin:8px 0 2px; font-size:.75rem; }
  .scroll-story .svc-items { grid-template-columns:1fr 1fr; column-gap:14px; }
  .scroll-story .svc-item { min-height:0; padding:5px 0; gap:6px; font-size:.8125rem; line-height:1.25; }
  .scroll-story .pkgs { gap:5px; margin-top:4px; }
  .scroll-story .pkgs li { padding:3px 10px; font-size:.75rem; }
  .scroll-story .svc-head { padding:24px 0 0; background:var(--paper); }
}

img[src$="logo-lockup.svg"], img[src$="mark.svg"] { filter: var(--story-logo-filter, none); }

/* Shared light surfaces and static care showcase. */
.btn-primary { color:var(--paper-hi); }
.brand img, .foot img { filter:var(--story-logo-filter,none); }
.care-showcase { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px; }
.care-showcase article { padding:24px 0;border-top:1px solid var(--rule); }
.care-showcase h3 { font-size:1.15rem; }
.care-showcase p { margin-top:12px;color:var(--ink-2); }
@media(max-width:819px){.care-showcase{grid-template-columns:1fr;gap:8px;}}

.brand-mark,.brand-word { filter:var(--story-logo-filter,none); }

.leaders { pointer-events:none; }
.leaders i { background:var(--bronze); }
.leaders .anchor-ring { position:absolute;left:0;top:0;width:9px;height:9px;margin:-5px;border:1px solid var(--bronze);border-radius:50%;opacity:0;will-change:transform; }

.point-names{position:fixed;inset:0;pointer-events:none;z-index:3;color:var(--bronze-ink);font-family:var(--serif,serif);font-size:15px;line-height:18px}.point-names span{position:absolute;left:0;top:0;opacity:0;white-space:nowrap;will-change:transform,opacity}

/* Preview-only transition controls: remove before launch. */

/* ---------- why KINORA as one held stage after Services: the three points sit beside the centred figure, read in a
   zigzag (left, right, left) like the Specialties stage ---------- */
.scroll-story .why-trail, .scroll-story .why-dots { display: none; }
.scroll-story .why .sec-label { position: relative; top: auto; }
.scroll-story .why .sec-h { text-transform: uppercase; letter-spacing: .08em; }
.scroll-story .why .steps { display: grid; grid-template-columns: 1fr minmax(320px, 30vw) 1fr; grid-template-rows: repeat(3, auto); align-content: center; row-gap: clamp(4px, 1.4vh, 18px); margin: 0; padding: 0; overflow: visible; }
.scroll-story .why .step { min-height: 0; width: auto; display: block; padding: 0; }
.scroll-story .why .step[data-step="0"] { grid-column: 1; grid-row: 1; }
.scroll-story .why .step[data-step="1"] { grid-column: 3; grid-row: 2; }
.scroll-story .why .step[data-step="2"] { grid-column: 1; grid-row: 3; }
.scroll-story .why .step-in { position: static; top: auto; padding: 0; border: 0; background: transparent; }
.scroll-story .why .step:not([data-step="1"]) .step-in { text-align: right; }
.scroll-story .why .step:not([data-step="1"]) :is(.step-tick, .step-p) { margin-left: auto; }
.scroll-story .why .step-tick { margin-bottom: 16px; }
.scroll-story .why .step-h { font-size: clamp(1.75rem, 2.4vw, 2.5rem); }
.scroll-story .why .step-p { margin-top: 12px; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); max-width: 36ch; text-wrap: balance; }
@media (min-width: 820px) {
  .scroll-story .why { height: 170vh; padding: 0 var(--pad); }
  .scroll-story .why-hold { position: sticky; top: 0; height: 100vh; padding: calc(var(--head) + 4vh) 0 8vh; display: flex; flex-direction: column; }
  .scroll-story .why .steps { flex: 1; }
  .scroll-story .why .why-head, .scroll-story .why .step {
    opacity: 0;
    transition: opacity .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms);
  }
  .scroll-story .why.is-shown .why-head, .scroll-story .why.is-shown .step { opacity: 1; filter: none; }
}
@media (max-width: 819px) {
  .scroll-story .why { padding: 36px 20px 48px; }
  .scroll-story .why .why-head { width: auto; padding: 0 0 12px; border-bottom: 1px solid var(--rule); background: transparent; }
  .scroll-story .why .steps { display: block; }
  .scroll-story .why .step { padding: 26px 0 0; }
  .scroll-story .why .step-in, .scroll-story .why .step:not([data-step="1"]) .step-in { text-align: left; }
  .scroll-story .why .step:not([data-step="1"]) :is(.step-tick, .step-p) { margin-left: 0; }
  .scroll-story .why .step-h { font-size: 1.75rem; }
}
/* The last service holds its shoulder view before the audience tour and booking exit. */
@media (min-width: 820px) { .scroll-story #svc-list > .svc:last-child { min-height: 160svh; } }

/* ---------- nav as a floating capsule: icon + label per section, the current one lit in bronze ---------- */
.nav-ico { display: none; }
@media (min-width: 1280px) {
  .top::before { border-bottom-color: transparent; }
  .nav { display: flex; grid-template-columns: none; gap: 2px; padding: 5px; border-radius: 999px;
    background: rgba(255, 255, 255, .94); border: 1px solid rgba(29, 29, 27, .16);
    box-shadow: 0 18px 40px -18px rgba(29, 29, 27, .18), 0 2px 6px rgba(29, 29, 27, .06), inset 0 1px 0 rgba(255, 255, 255, .7);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .nav-link { min-height: 42px; gap: 9px; padding: 0 18px 0 14px; color: var(--ink-2); }
  .nav-link::after { display: none; }
  .nav-ico { display: block; width: 18px; height: 18px; flex: none; color: var(--ink-2); opacity: .7; transition: color .25s, opacity .25s; }
  .nav-ico .ico-soft { opacity: .55; }
  .nav-ico .ico-accent { fill: currentColor; }
  .nav-link:hover .nav-ico, .nav-link[aria-expanded="true"] .nav-ico { opacity: 1; color: var(--ink); }
  .nav-link[aria-current="true"] { color: var(--ink); background: rgba(29, 29, 27, .07); }
  .nav-link[aria-current="true"] .nav-ico { opacity: 1; color: var(--ink); }
  .nav-link[aria-current="true"] .nav-ico .ico-accent { fill: var(--bronze); }
  .nav-link .chev { margin-left: -2px; opacity: .7; }
  .nav-panel { top: calc(100% + 14px); left: -5px; }
}
/* a shorter Specialties hold: the lines draw on a timer now, so the stage no longer needs scroll room for them */
@media (min-width: 820px) { .scroll-story .specialties { height: 145vh; padding-bottom: 0; } }

/* ---------- map: the clinic on a light map under the contact details, with a directions link ---------- */
.map-card { grid-column: 1 / -1; position: relative; margin: 8px 0 0; height: clamp(300px, 40vh, 440px); border-radius: 22px; overflow: hidden; border: 1px solid var(--rule); background: var(--paper-hi); }
.map-frame { display: block; width: 100%; height: 100%; border: 0; filter: none; }
.map-cap { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .96); border: 1px solid rgba(29, 29, 27, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px -16px rgba(29, 29, 27, .2); font-size: .875rem; color: var(--ink); }
.map-pin { width: 10px; height: 10px; border-radius: 50%; background: var(--bronze); box-shadow: 0 0 0 4px rgba(168, 116, 60, .18); flex: none; }
.map-go { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(29, 29, 27, .05); color: var(--bronze-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.map-go:hover { background: rgba(29, 29, 27, .09); }
@media (max-width: 819px) { /* phone: the address and directions sit under the map instead of covering it */
  .map-card { height: auto; border-radius: 18px; margin-top: 0; }
  .map-frame { height: 280px; }
  .map-cap { position: static; max-width: none; border-radius: 0; border: 0; border-top: 1px solid var(--rule); background: var(--paper-hi); box-shadow: none; padding: 14px 14px 14px 16px; }
  .map-addr { flex: 1 1 0; min-width: 0; }
}
/* Libre Caslon Text runs wider than Newsreader: a touch smaller and a wider column keep the hero headline on four lines */
@media (min-width: 820px) {
  .scroll-story .hero-copy { width: 48%; }
  .hero-title { font-size: clamp(2.6rem, min(5vw, 8.8vh), 5.3rem); max-width: 16ch; }
}

/* ---------- services: the SERVICES label holds under the nav for the whole section; each service slides up beneath it ---------- */
@media (min-width: 820px) {
  .scroll-story .services .svc-head { position: sticky; top: var(--head); z-index: 3; background: var(--paper); }
  .scroll-story .services .sec-label { position: relative; top: auto; }
}

/* ---------- contact: the details and a smaller map share the right column; the address already sits in the details,
   so the map only carries a directions button ---------- */
.map-cap { padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.map-go { background: rgba(255, 255, 255, .98); border: 1px solid rgba(29, 29, 27, .16); box-shadow: 0 10px 26px -12px rgba(29, 29, 27, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.map-go:hover { background: rgba(244, 244, 242, .98); }
@media (min-width: 820px) {
  .contact-grid { row-gap: 28px; }
  .contact-grid > div:first-child { grid-row: 1 / span 2; }
  .map-card { grid-column: 2; height: 280px; margin: 0; }
}
@media (max-width: 819px) {
  .map-frame { height: 220px; }
  .map-cap { padding: 12px; border-top: 1px solid var(--rule); background: var(--paper-hi); }
  .map-go { box-shadow: none; }
}
@media (min-width: 820px) { .map-cap { left: auto; right: 12px; top: 12px; bottom: auto; } } /* top-right is the corner Google leaves free */

/* ---------- brand: the clinic line always sits beside the logo, larger; it folds to two lines where the header is busy ---------- */
.brand-sub { display: block; font-size: .875rem; line-height: 1.3; letter-spacing: .12em; padding-left: 14px; margin-left: 6px; margin-top: 2px; max-width: 18em; text-wrap: balance; }
:lang(zh-Hans) .brand-sub { font-size: .9375rem; letter-spacing: .14em; max-width: none; }
@media (min-width: 1800px) { .brand-sub { font-size: .9375rem; letter-spacing: .14em; max-width: none; } }
@media (max-width: 819px) { .brand-sub { font-size: .625rem; letter-spacing: .1em; padding-left: 10px; margin-left: 2px; } }
/* header fit with the clinic line shown: tighter gaps, a Book button sized to its words, a smaller line on laptops,
   and the nav icons only from 1366px up */
@media (min-width: 820px) and (max-width: 1599px) {
  .top { column-gap: 16px; }
  .top-book { width: auto; padding-inline: 22px; }
  .brand-sub { font-size: .75rem; letter-spacing: .11em; }
}
@media (min-width: 1280px) and (max-width: 1599px) { .nav-link { padding: 0 14px 0 12px; } }
@media (min-width: 1280px) and (max-width: 1365px) { .nav-ico { display: none; } .nav-link { padding: 0 14px; } }
@media (min-width: 820px) and (max-width: 899px) { .brand-sub { display: none; } }

/* ---------- header: no solid bar. A cream veil with a blur that dissolves downward, so text scrolling up fades away
   under the logo and nav instead of being cut by a hard edge ---------- */
.top::before {
  inset: 0 0 auto 0; height: calc(100% + 40px); pointer-events: none; border-bottom: 0;
  background: linear-gradient(to bottom, rgba(255,255,255, .96) 0%, rgba(255,255,255, .92) 55%, rgba(255,255,255, 0) 100%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}

/* ---------- specialties: the selected one keeps its dot filled; the others step back ---------- */
.spec.is-sel .spec-pin { background: var(--bronze); border-color: var(--bronze); transform: scale(1.25); }
@media (min-width: 820px) {
  #spec-list > .spec > * { transition: opacity .35s var(--ease); }
  #spec-list.has-sel > .spec:not(.is-sel) > * { opacity: .85; }
}

/* ---------- a slimmer header row: the nav capsule, language toggle and Book button share one 44–46px height,
   and the header is a little taller so they sit with room above them ---------- */
@media (min-width: 820px) {
  :root { --head: 84px; }
  .top .btn { --h: 44px; }
  .top .lang { min-height: 44px; }
}
@media (min-width: 1280px) {
  .nav { padding: 4px; }
  .nav-link { min-height: 36px; font-size: .90625rem; }
}

/* ---------- footer: brand/address, page links and services; a bottom bar with the legal pages and a
   general-information note ---------- */
.foot { display: block; padding: 64px var(--pad) 28px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.foot-brand img { width: 150px; height: auto; }
.foot-h { font-family: var(--f); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-ink); margin: 0 0 16px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; transition: color .2s; }
.foot-col a:hover { color: var(--ink); }
.foot-addr { font-style: normal; color: var(--ink); font-size: .9375rem; line-height: 1.5; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: .8125rem; color: var(--ink-2); }
.foot-bottom p { font-size: inherit; margin: 0; }
.foot-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 0; }
.foot-note { flex-basis: 100%; opacity: .75; }
.foot .foot-note { color: var(--ink); }
@media (max-width: 819px) {
  .foot { padding: 40px 20px 28px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-brand, .foot-top > .foot-col:last-child { grid-column: 1 / -1; }
  .foot-bottom { margin-top: 32px; }
}

/* ---------- services as stacked cards: the SERVICES label and its ruler hold still under the nav; each service is a
   card that sticks beneath them, and the next card slides up from below and covers it ---------- */
@media (min-width: 820px) {
  .scroll-story .services { --svc-stick: calc(var(--head) + 88px); }
  .scroll-story .services .svc-head { padding-bottom: 20px; }
  .scroll-story .services .svc-head::after { content: ""; display: block; height: 9px; pointer-events: none;
    background:
      linear-gradient(var(--rule), var(--rule)) top / 100% 1px no-repeat,
      repeating-linear-gradient(90deg, rgba(102, 112, 47, .4) 0 1px, transparent 1px 12px) top / 100% 6px no-repeat,
      repeating-linear-gradient(90deg, rgba(102, 112, 47, .6) 0 1px, transparent 1px 60px) top / 100% 9px no-repeat; }
  .scroll-story #svc-list > .svc { position: sticky; top: var(--svc-stick); min-height: calc(100svh - var(--svc-stick) + 30vh); padding: 3vh 0 0; background: var(--paper); }
  .scroll-story #svc-list > .svc:last-child { min-height: calc(160svh - var(--svc-stick)); }
  .scroll-story #svc-list > .svc::before { display: none; }
  .scroll-story .svc-in { position: static; }
  .story-measuring #svc-list > .svc { position: static !important; }
}
@media (min-width: 820px) {
  /* the last card has nothing after it in the list, so the list itself holds it in place before the section leaves */
  .scroll-story #svc-list::after { content: ""; display: block; height: 70vh; } /* in-flow room: sticky cards ignore the list's padding */
  .scroll-story #svc-list > .svc:last-child { min-height: calc(100svh - var(--svc-stick)); }
  .scroll-story #svc-list > .svc + .svc { border-top: 1px solid var(--rule); }
}
@media (min-width: 820px) {
  /* every card the same height so the stack leaves as one, with the label (ui.js svcExit) — nothing slides up past it */
  .scroll-story #svc-list > .svc:last-child { min-height: calc(100svh - var(--svc-stick) + 30vh); }
  .scroll-story #svc-list::after { height: 40vh; }
  .scroll-story .services .svc-head { will-change: transform; }
}
@media (min-width: 820px) {
  /* no solid card or label backgrounds over the figure: a covered card is clipped at the incoming card's edge instead (ui.js svcExit) */
  .scroll-story #svc-list > .svc, .scroll-story .services .svc-head { background: transparent; }
}

/* ---------- landing: raised signage and sunlit plaster share one slow camera move ---------- */
.hero, .scroll-story .hero {
  /* The height cap keeps the complete sign below the header at final zoom. */
  --hero-sign-width: min(calc(var(--content) * .92), calc((100svh - var(--head) - 48px) * 72 / 49));
  isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(24px, 1fr) auto auto auto auto minmax(24px, 1fr);
  grid-template-areas: "." "title" "lede" "stats" "actions" ".";
  align-content: stretch; align-items: start; justify-items: center; gap: 0;
  min-height: 100svh;
  padding: var(--head) var(--pad) 0;
  text-align: center;
}
.hero-wall {
  /* Subgrid lets the decoration follow the copy without measuring it in JS. */
  grid-column: 1; grid-row: 1 / -1; align-self: stretch; justify-self: center;
  position: relative; width: 100vw; display: grid; grid-template-rows: subgrid;
  z-index: -1; overflow: hidden; pointer-events: none;
}
.hero-wall-scene {
  grid-column: 1; grid-row: 1 / -1; display: grid; grid-template-rows: subgrid;
  position: relative; transform-origin: 50% 50%;
  animation: wall-arrive 8s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes wall-arrive {
  from { transform: scale(.92); }
  to { transform: scale(1); }
}
.hero-wall-surface {
  /* Overfill prevents exposed edges throughout the shared wall/sign zoom. */
  position: absolute; inset: -10%;
  background:
    linear-gradient(128deg, transparent 7%, rgba(249, 240, 218, .28) 27%, rgba(255, 253, 245, .55) 42%, transparent 65%),
    linear-gradient(128deg, rgba(215, 208, 192, .12), #fff 49%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 66%, transparent 91.5%);
  mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 66%, transparent 91.5%);
}
.hero-wall-surface::after {
  content: ""; position: absolute; inset: 0; opacity: .035;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nLjgyJyBudW1PY3RhdmVzPSczJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHBhdGggZmlsbD0nIzNjMzIyMycgZmlsdGVyPSd1cmwoI24pJyBkPSdNMCAwaDE2MHYxNjBIMHonLz48L3N2Zz4=") repeat;
}
.hero-shadows {
  position: absolute; inset: -3% auto auto -2%; width: 104%; height: 106%; max-width: none;
  transform-origin: 0 25%; animation: wall-sway 12s ease-in-out infinite alternate;
}
@keyframes wall-sway {
  from { transform: translate3d(-3px, -2px, 0) rotate(-.45deg); }
  to { transform: translate3d(5px, 4px, 0) rotate(.45deg); }
}
.hero-sign {
  grid-column: 1; grid-row: 1 / -1;
  position: absolute; top: 50%; left: 50%;
  width: var(--hero-sign-width); height: auto; aspect-ratio: 720 / 490;
  max-width: none; overflow: visible; transform: translate(-50%, -50%); opacity: .22;
}
.hero-sign text { font-family: var(--f); font-weight: 500; fill: #3d3d37; }
.hero-sign-sub { font-size: 22px; letter-spacing: 7px; }
.hero-sign-rule { fill: none; stroke: #8e7651; stroke-width: 2.5; }
.hero-sign-motto { font-size: 19px; letter-spacing: 3px; }
.hero .hero-copy, .scroll-story .hero-copy { display: contents; width: auto; padding: 0; background: none; }
.hero .hero-title {
  grid-area: title; width: 100%; max-width: 1040px; margin-inline: auto;
  font-size: clamp(2.125rem, min(3.5vw, 5.5svh), 3.125rem); line-height: 1.08; text-wrap: balance;
}
:lang(zh-Hans) .hero .hero-title { max-width: 22em; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.25; }
.hero .lede {
  grid-area: lede; width: 100%; max-width: 760px; margin: 22px auto 0;
  font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.55; text-wrap: pretty;
}
:lang(zh-Hans) .hero .lede { max-width: 38em; line-height: 1.75; }
.hero .readouts, .scroll-story .hero .readouts {
  grid-area: stats; width: min(100%, 620px); max-width: none; margin: 28px auto 0; padding: 0;
  align-self: start; background: none;
}
/* Keep secondary copy comfortably above AA over the sign and leaf shadows. */
.hero .lede, .hero .ro-detail { color: #414139; }
.hero .readout-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hero .ro { padding: 12px 0 0; }
.hero .ro:last-child { grid-column: auto; }
.hero .ro::after { left: calc(50% - 14px); transform-origin: 50% 50%; }
.hero .ro-num { font-size: 2rem; }
.hero .actions {
  grid-area: actions; justify-content: center; align-self: start; margin: 26px auto 0;
}
.hero .actions .btn-primary { display: inline-flex; }
.scroll-story .hero .fallback-figure { display: none; }
@media (max-width: 819px) {
  .hero, .scroll-story .hero {
    --hero-sign-width: min(96vw, calc((100svh - var(--head) - 48px) * 72 / 49));
    padding-inline: 20px; padding-bottom: 0;
  }
  /* At phone proportions the whole sign fits behind the headline and lede. */
  .hero-sign { grid-row: 2 / 4; }
  .hero .hero-title { max-width: 680px; font-size: clamp(2rem, 5.5vw, 2.8rem); }
  :lang(zh-Hans) .hero .hero-title { font-size: clamp(2rem, 5.2vw, 2.6rem); }
  .hero .lede { max-width: 580px; margin-top: 18px; }
  .hero .readout-list { gap: 14px; }
  .hero-shadows { width: 150%; left: -12%; }
}
@media (max-width: 599px) {
  .hero .hero-title { font-size: clamp(1.75rem, 7.6vw, 2rem); }
  :lang(zh-Hans) .hero .hero-title { font-size: clamp(1.75rem, 7.6vw, 2rem); }
  .hero .lede { margin-top: 16px; }
  .hero .actions { gap: 10px; }
  .hero-shadows { width: 190%; left: -18%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wall-scene { animation: none; transform: none; }
  .hero-shadows { animation: none; transform: none; }
}

/* ---------- our provider, tighter: photo + text sit in the middle 8 columns of the 12-column grid (864px, centred),
   with 88px above and below instead of 16vh ---------- */
@media (min-width: 820px) {
  .scroll-story .provider { padding: 88px var(--pad); }
  .scroll-story .prov-grid { grid-template-columns: minmax(0, 304px) minmax(0, 496px); gap: 0 64px; }
  .scroll-story .portrait-frame { padding: 20px; gap: 14px; }
  .scroll-story .portrait-frame svg { width: 44px; }
}
@media (max-width: 819px) {
  .scroll-story .prov-grid { padding: 48px 20px 32px; }
}

/* ---------- services menu: hovering a service shows its list on the right, bulleted like the service sections ---------- */
.np-sub[hidden] { display: none; }
@media (min-width: 1280px) {
  .nav-panel { width: 900px; grid-template-columns: 372px minmax(0, 1fr); gap: 8px; padding: 10px; }
  .np-list { display: grid; gap: 2px; align-content: start; }
  .np-item.is-on { background: rgba(29, 29, 27, .04); }
  .np-item.is-on::before { background: var(--bronze); }
  .np-detail { border-left: 1px solid var(--rule); padding: 12px 18px 14px 24px; }
  .np-label { margin: 0 0 4px; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
  .np-items + .np-label { margin-top: 16px; }
  .np-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 20px; } /* the right column carries the longest names */
  .np-items li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: .875rem; line-height: 1.3; color: var(--ink); }
  .np-items li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--olive-ink); flex: none; }
}

/* ---------- footer: an ordinary block at the end of the page, not a sticky reveal ---------- */
.foot { position: relative; bottom: auto; }
@media (min-width: 820px) {
  /* the last service ends at its content: no empty card below Wellness before Find the Care (the list's 40vh spacer still holds it) */
  .scroll-story #svc-list > .svc:last-child { min-height: 0; padding-bottom: 0; }
}
@media (min-width: 820px) { .scroll-story #svc-list::after { height: max(40vh, var(--svc-tail, 0px)); } }

/* ---------- brand: one wordmark/subtitle stack, with a matching-height clinic block ---------- */
.brand {
  --brand-stack-height: 32px;
  display: grid; grid-template-columns: auto auto auto; grid-template-rows: auto;
  column-gap: 12px; row-gap: 0; align-items: center; align-content: center; min-width: 0;
}
.brand-lockup { display: flex; flex-direction: column; gap: 5px; }
.brand .brand-mark { height: 40px; grid-row: auto; }
.brand .brand-word { height: 19px; width: auto; max-width: none; margin: 0; align-self: start; }
.brand .brand-sub {
  display: block; margin: 0; padding: 0; border: 0; max-width: none; white-space: nowrap;
  font-size: .5rem; line-height: 1; letter-spacing: .3em;
}
.brand .brand-sub-sep { display: none; }
.brand .brand-sub-more {
  display: flex; flex-direction: column; justify-content: space-between; align-self: center;
  height: var(--brand-stack-height);
  margin: 0; padding-left: 12px; border-left: 1px solid rgba(61, 61, 55, .35);
  font-size: .59375rem; line-height: 1; letter-spacing: .08em;
  text-transform: uppercase; white-space: nowrap; color: #3d3d37;
}
.brand-sub-more > span { display: block; }
@media (min-width: 1280px) {
  /* Unequal outer tracks let the wider brand use available space without displacing actions. */
  .top { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 20px; }
}
@media (min-width: 1280px) and (max-width: 1365px) {
  .top { column-gap: 16px; }
  .nav { grid-template-columns: repeat(4, 7rem); }
}
@media (max-width: 819px) {
  .brand { --brand-stack-height: 27px; column-gap: 8px; }
  .brand-lockup { gap: 4px; }
  .brand .brand-mark { height: 34px; }
  .brand .brand-word { height: 16px; }
  .brand .brand-sub { font-size: .4375rem; letter-spacing: .28em; }
  .brand .brand-sub-more { padding-left: 8px; font-size: .5rem; letter-spacing: .06em; }
}
@media (max-width: 359px) {
  .brand { --brand-stack-height: 24px; column-gap: 7px; }
  .brand .brand-mark { height: 28px; }
  .brand .brand-word { height: 14px; }
  .brand .brand-sub { font-size: .375rem; }
  .brand .brand-sub-more { padding-left: 7px; font-size: .46875rem; letter-spacing: .04em; }
}

/* Specialties words arrive quickly, with the figure, while the stage is still rising into place */
@media (min-width: 820px) {
  .js .specialties .spec-head, .js #spec-list > .spec, .js .specialties .spec-note { transition-duration: .45s; transition-delay: calc(var(--d, 0) * 35ms); }
}


/* Phone specialties: native snap cards below the fixed, fully visible figure. */
.spec-pager { display: none; }
@media (max-width: 819px) {
  .scroll-story .specialties { min-height: 162svh; scroll-margin-top: -22svh; } /* a nav jump lands past the reveal, with the cards showing */
  .scroll-story .spec-hold { position: sticky; top: 0; display: flex; flex-direction: column; padding-bottom: 32px; }
  .scroll-story .spec-stage { display: block; order: -1; height: 54svh; flex: none; }
  .scroll-story .spec-head { padding: 10px 20px 12px; background: transparent; }
  .scroll-story .spec-panel { min-width: 0; padding: 0; }
  .scroll-story .spec-list {
    display: flex; gap: 4vw; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 8vw;
    padding: 8px 8vw 12px; scrollbar-width: none;
  }
  .scroll-story .spec-list::-webkit-scrollbar { display: none; }
  .scroll-story .spec-list > .spec {
    position: relative; flex: 0 0 84vw; min-width: 0; min-height: 0;
    scroll-snap-align: center; padding: 20px 22px 18px;
    border: 1px solid var(--rule); border-radius: 16px; background: var(--paper-hi); text-align: left;
  }
  .scroll-story .spec-list > .spec:focus-visible { outline-offset: 3px; }
  .scroll-story .spec-list .spec-pin { position: absolute; top: 8px; left: calc(50% - 5.5px); transition: transform .24s; }
  .scroll-story .spec-list .spec-name { display: block; font-size: 1.1875rem; line-height: 1.2; font-weight: 500; }
  .scroll-story .spec-list .spec-d { display: block; padding: 0 !important; margin: 12px 0 0 !important; animation: none; font-size: .9375rem; }
  .scroll-story .spec-list .spec-d p { text-wrap: pretty; }
  .scroll-story .spec-list .spec-sub { justify-content: flex-start; gap: 6px 14px; }
  .scroll-story .spec-pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding-inline: 16px; }
  .scroll-story .spec-dots { display: flex; }
  .scroll-story .spec-dot { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; }
  .scroll-story .spec-dot span { width: 6px; height: 6px; border-radius: 50%; background: var(--rule); transition: transform .24s, opacity .24s; opacity: .65; }
  .scroll-story .spec-dot[aria-current="true"] span { background: var(--bronze); transform: scale(1.5); opacity: 1; }
  .scroll-story .spec-count { flex: none; font-size: .8125rem; color: var(--ink-2); }
  .scroll-story .spec-note { max-width: 38ch; padding: 0 20px; margin: 12px 0 0; font-size: .875rem; }
  .scroll-story.no-webgl .spec-stage { display: none; }
  .scroll-story.no-webgl .specialties { min-height: 0; }
}
@media (max-width: 360px) {
  .scroll-story .spec-pager { flex-wrap: wrap; gap: 0; }
  .scroll-story .spec-count { flex-basis: 100%; text-align: center; }
}
@media (max-width: 819px) and (prefers-reduced-motion: reduce) {
  .scroll-story .spec-list { scroll-behavior: auto; }
  .scroll-story .spec-list .spec-pin, .scroll-story .spec-dot span { transition: none; }
}
/* phones: no connection lines; the swiped card still lights its point and region on the figure */
@media (max-width: 819px) {
  .leaders i { display: none; }
  #spec-list > .spec .spec-pin { visibility: hidden; }
}
/* phones: the footer bleeds by the section's own 20px gutter (4.4vw overshot on wider phones and scrolled sideways) */
@media (max-width: 819px) { .foot { margin-inline: -20px; padding-inline: 20px; } }
/* wide phones and small tablets (600–819px): the phone layout, using the extra width */
@media (min-width: 600px) and (max-width: 819px) {
  /* cards keep a card's proportions; neighbours show on both sides */
  .scroll-story .spec-list { padding-inline: calc(50vw - 220px); scroll-padding-inline: calc(50vw - 220px); gap: 16px; }
  .scroll-story .spec-list > .spec { flex-basis: 440px; }
}
/* phones: Why KINORA slides up over the figure as a cream sheet, instead of being held below it; the figure
   changes pose behind the sheet and is revealed again as Services arrive */
@media (max-width: 819px) {
  .scroll-story main { z-index: auto; } /* lets the Why sheet stack above the fixed figure canvas */
  .scroll-story .why { position: relative; z-index: 6; padding-top: 72px; padding-bottom: 96px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.98) 72px, rgba(255,255,255,.98) calc(100% - 96px), rgba(255,255,255,0)); }
}
/* phones: the figure arrives alone; the heading, cards, pager and note follow after a short scroll buffer */
@media (max-width: 819px) {
  .scroll-story:not(.no-webgl) .specialties :is(.spec-head, .spec-panel) {
    opacity: var(--spec-in, 0); transform: translate3d(0, calc((1 - var(--spec-in, 0)) * 28px), 0); will-change: opacity, transform;
  }
  .scroll-story:not(.no-webgl) .specialties:not(.spec-live):not(:focus-within) .spec-panel { pointer-events: none; }
}
/* phones: from the close-up poses on, each service shows its list and packages open, as on desktop */
@media (max-width: 819px) {
  .scroll-story .js-more { display: none; }
  .scroll-story .svc:not(.is-open) .svc-detail { display: block; animation: none; }
}

.foot-brand img { width: 190px; }

/* Clinic sign palette: olive leaves, taupe dot, green-black lettering. */
#k-mark { fill: #3e4733; }
#k-word { stroke: #293020; }
.brand .brand-sub { color: #3d3d37; }
.top-book.js-call::before { display: none; }
.call-icon { width: 18px; height: 18px; flex: none; }

/* Audience guidance shares the ruled cards of Services; its white surface clears the phone stage. */
.who { position: relative; z-index: 6; background: #fff; padding: clamp(56px, 9vh, 104px) var(--pad); scroll-margin-top: calc(var(--head) + 24px); }
.who .sec-h { font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
.who-intro { margin-top: 18px; max-width: 62ch; font-size: 1rem; color: var(--ink-2); }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; margin-top: 36px; }
.who-card { min-width: 0; padding: 24px 0 0; border-top: 1px solid var(--rule); }
.who-figure { aspect-ratio: 4 / 3; margin: 0 0 22px; overflow: hidden; border-radius: 8px; background: #fff; }
.who-figure img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .who-card:hover .who-figure img { transform: scale(1.03); } }
.who-card h3 { font-size: 1.1875rem; font-weight: 500; line-height: 1.35; text-wrap: balance; }
.who-areas { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 16px 0; }
.who-areas li { padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--olive-ink); font-size: .75rem; line-height: 1.4; }
.who-focus { color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.who-care-label { margin-top: 20px; color: var(--ink-2); font-size: .75rem; font-weight: 600; }
.who-services { padding-left: 18px; margin: 8px 0 0; font-size: .875rem; line-height: 1.6; }
.who-services li + li { margin-top: 4px; }
@media (min-width: 820px) and (max-width: 1099px) { .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 819px) {
  .who { padding: 48px 20px; }
  .who-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
}

/* Booking now reads as a compact section, including in the scroll-story layout. */
.closing { position: relative; z-index: 6; background: #fff; }
.closing .close-title, .scroll-story .closing .close-title { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.15; }
.closing .close-lede, .scroll-story .closing .close-lede { font-size: 1rem; margin-top: 18px; }
.closing .chooser, .scroll-story .closing .chooser { margin-top: 32px; }
.closing .care-showcase h3, .scroll-story .closing .care-showcase h3 { font-size: 1.0625rem; }
.closing .care-showcase p, .scroll-story .closing .care-showcase p { font-size: .9375rem; line-height: 1.5; }

/* ---------- hero light, matched to the sign photo: one diagonal sunbeam from the upper left crosses the sign;
   the rest of the wall (top right especially) sits in warm shade. The shade and leaf shadows fall over the sign too. ---------- */
.hero-wall-surface { background: #fff; }
.hero-wall-shade {
  position: absolute; inset: -10%; pointer-events: none; mix-blend-mode: multiply;
  background:
    linear-gradient(to right, rgba(150, 140, 124, .30), rgba(150, 140, 124, .30) 2.5%, rgba(150, 140, 124, 0) 6%),
    linear-gradient(var(--beam-angle, 26deg),
      rgba(178, 169, 153, .34) 0%, rgba(178, 169, 153, .26) var(--beam-a, 30%),
      rgba(255, 252, 244, 0) var(--beam-b, 40%), rgba(255, 252, 244, 0) var(--beam-c, 56%),
      rgba(178, 169, 153, .30) var(--beam-d, 68%), rgba(160, 151, 136, .42) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 66%, transparent 91.5%);
  mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 66%, transparent 91.5%);
}
/* The beam's two edges are drawn as soft-edged shade shapes placed against the sign, as in the photo:
   the upper edge runs ~29deg down to the right, just over the K's leaf tip; the lower edge is shallower. */
.hero-wall-shade { background: linear-gradient(to right, rgba(150, 140, 124, .32), rgba(150, 140, 124, .32) 2.5%, rgba(150, 140, 124, 0) 6%); }
.hero-beam { position: absolute; inset: 8.333%; filter: blur(var(--beam-soft, 34px)); }
.hero-beam i { position: absolute; inset: 0; }
.hero-beam-hi {
  background: linear-gradient(200deg, rgba(160, 151, 135, .5), rgba(182, 173, 158, .3) 70%);
  clip-path: polygon(-20% -40%, 120% -40%, 120% var(--u2, 56%), var(--u1x, 43%) var(--u1y, -3%), -20% -40%);
}
.hero-beam-lo {
  background: rgba(182, 173, 158, .22);
  clip-path: polygon(var(--l1x, 21%) 104%, 120% var(--l2, 58%), 120% 140%, -20% 140%);
}
@media (max-width: 819px) {
  .hero-wall-shade { --u1x: 33%; --u1y: -1.5%; --u2: 19%; --l1x: 0%; --l2: 66%; --beam-soft: 20px; }
}

/* language switch: a smaller pill; the tap area stays 44px tall through an invisible halo */
.top .lang-seg { position: relative; min-height: 34px; min-width: 0; padding: 3px; gap: 1px; }
.top .lang-seg::before { content: ""; position: absolute; inset: -5px -2px; }
.top .lang-seg .lang-opt { padding: 5px 8px; font-size: .6875rem; }

/* Review fixes: shared heading levels and a secondary directions control. */
:root {
  --hero-heading-size: clamp(2.125rem, min(3.5vw, 5.5svh), 3.125rem);
  --section-heading-size: min(clamp(1.625rem, 2.6vw, 2.5rem), calc(var(--hero-heading-size) * .9));
  --content-heading-size: min(clamp(1.375rem, 2vw, 1.8rem), calc(var(--section-heading-size) * .9));
}
@media (max-width: 819px) { :root { --hero-heading-size: clamp(2rem, 5.5vw, 2.8rem); } }
@media (max-width: 599px) { :root { --hero-heading-size: clamp(1.75rem, 7.6vw, 2rem); } }
/* Small olive section labels keep their approved scale. */
.provider .sec-h, .contact .sec-h, .who .sec-h,
.closing .close-title, .scroll-story .closing .close-title { font-size: var(--section-heading-size); }
.scroll-story .why .step-h, .step-h, .scroll-story .svc-h, .svc-h,
.who-card h3, .scroll-story .spec-list h3.spec-name,
.closing .care-showcase h3, .scroll-story .closing .care-showcase h3 { font-size: var(--content-heading-size); }
.foot .foot-h { font-size: .75rem; color: var(--olive-ink); }
.map-go {
  --h: 44px; min-height: var(--h); padding: 0 24px 0 16px;
  background: transparent; border: 1.5px solid var(--ink); color: var(--ink);
  font-size: 1rem; font-weight: 500; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.map-go:hover { background: rgba(29, 29, 27, .05); }
.map-cap { background: var(--paper-hi); border-radius: 999px; }
@media (max-width: 819px) {
  .map-cap { border-radius: 0; }
  .who-services a.text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .who-services li + li { margin-top: 0; }
  #overlay .point-names { display: none; }
}
/* A focused control must also reveal every ancestor that could conceal its ring. */
.spec-btn:focus-visible, #spec-list > .spec:focus-visible, .spec-dot:focus-visible {
  outline: 2px solid var(--olive-ink); outline-offset: 3px;
}
html.js.scroll-story:not(.no-webgl) .specialties:focus-within :is(.spec-head, .spec-panel, .spec-note),
.js .specialties:focus-within :is(.spec-head, .spec-panel, .spec-note),
.js #spec-list:focus-within > .spec {
  opacity: 1; transform: none; transition: none; pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  html.js.scroll-story:not(.no-webgl) .specialties :is(.spec-head, .spec-panel, .spec-note),
  html.js.scroll-story:not(.no-webgl) .specialties:not(.spec-live) .spec-panel,
  .js .rw > span, .js .specialties :is(.spec-head, .spec-panel, .spec-note),
  .js #spec-list > .spec, .scroll-story .why :is(.why-head, .step) {
    opacity: 1; transform: none; transition: none; pointer-events: auto;
  }
}

/* phones: footer links are full 44px tap rows */
@media (max-width: 819px) {
  .foot-col ul { gap: 0; }
  .foot-col a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* nothing may push the page sideways (clip, not hidden: sticky sections keep working) */
html, body { overflow-x: clip; }

/* The same six semantic cards become a held camera tour only after WebGL boots. */
.who-progress { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .who-tour:not(.no-webgl) .who { height: 640svh; padding: 0 var(--pad); background: transparent; }
  .who-tour:not(.no-webgl) .who-hold {
    position: sticky; top: 0; height: 100svh; padding-top: calc(var(--head) + 5svh);
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    width: 44%; max-width: 620px; background: transparent;
  }
  .who-tour:not(.no-webgl) .who-intro { max-width: 40ch; }
  .who-tour:not(.no-webgl) .who-grid { display: grid; grid-template-columns: minmax(0,1fr); width: 100%; gap: 0; margin-top: 32px; }
  .who-tour:not(.no-webgl) .who-card {
    grid-area: 1 / 1; align-self: start; padding-top: 24px;
    will-change: transform, opacity; transition: none; opacity: 0;
  }
  .who-tour:not(.no-webgl) .who-card:first-child { opacity: 1; }
  .who-tour:not(.no-webgl) .who-figure { display: none; }
  .who-tour:not(.no-webgl) .who-progress { display: flex; align-items: center; gap: 20px; margin-top: 26px; color: var(--ink-2); font-size: .75rem; font-variant-numeric: tabular-nums; }
  .who-dots { display: flex; align-items: center; gap: 10px; }
  .who-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--rule); }
  .who-dots i.on { background: var(--bronze); transform: scale(1.4); }
  @media (max-width: 819px) {
    .who-tour:not(.no-webgl) .who { padding: 0 20px; }
    .who-tour:not(.no-webgl) .who-hold {
      width: 100%; max-width: none; padding-top: 54svh; padding-bottom: calc(80px + env(safe-area-inset-bottom));
      justify-content: flex-start;
    }
    .who-tour:not(.no-webgl) .who .sec-h { flex: none; padding-top: 10px; font-size: 1rem; line-height: 1.3; }
    .who-tour:not(.no-webgl) .who-intro { display: none; }
    .who-tour:not(.no-webgl) .who-grid {
      margin-top: 8px; min-height: 0; overflow-y: auto; overscroll-behavior-y: auto;
      scrollbar-width: thin; padding: 3px 4px; margin-left: -4px; width: calc(100% + 8px);
    }
    .who-tour:not(.no-webgl) .who-card { padding-top: 10px; }
    .who-tour:not(.no-webgl) .who-card h3 { font-size: 1.125rem; line-height: 1.3; }
    .who-tour:not(.no-webgl) .who-areas { margin: 8px 0; gap: 4px; }
    .who-tour:not(.no-webgl) .who-areas li { padding: 2px 8px; }
    .who-tour:not(.no-webgl) .who-focus { font-size: .875rem; line-height: 1.4; }
    .who-tour:not(.no-webgl) .who-care-label { margin-top: 10px; }
    .who-tour:not(.no-webgl) .who-services { margin-top: 2px; font-size: .8125rem; }
    .who-tour:not(.no-webgl) .who-progress { flex: none; margin-top: 8px; }
  }
}

/* The footer follows main, so it owns its full-width gutters. */
.foot { margin-inline: 0; }
.foot-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.5fr); gap: 28px; }
.foot-top > * { min-width: 0; }
.foot-col .foot-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; color: var(--ink-2); font-size: .9375rem; line-height: 1.4; }
.foot-cities li { overflow-wrap: anywhere; }
@media (min-width: 820px) and (max-width: 1199px) {
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 819px) {
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .foot-brand, .foot-area { grid-column: 1 / -1; }
}
/* Desktop cards follow the figure on the same reversible scroll channel. */
@media (min-width: 820px) {
  .scroll-story:not(.no-webgl) .specialties :is(.spec-head, .spec-panel) {
    opacity: var(--spec-in, 0); transform: translate3d(0, calc((1 - var(--spec-in, 0)) * 20px), 0); transition: none;
  }
  .scroll-story:not(.no-webgl) #spec-list > .spec, .scroll-story:not(.no-webgl) .specialties .spec-note { opacity: 1; transition: none; }
  .scroll-story:not(.no-webgl) .specialties:not(.spec-live):not(:focus-within) .spec-panel { pointer-events: none; }
}
@media (min-width: 820px) and (prefers-reduced-motion: reduce) {
  .scroll-story:not(.no-webgl) .specialties :is(.spec-head, .spec-panel) { opacity: 1; transform: none; pointer-events: auto; }
}
.scroll-story:not(.no-webgl) .specialties:focus-within :is(.spec-head, .spec-panel) { opacity: 1; transform: none; pointer-events: auto; }

/* phones: Call stays at the top right as a round 44px button beside the brand */
@media (max-width: 819px) {
  .top { grid-template-columns: 1fr auto; }
  .top-actions { display: flex; }
  .top-actions > :not(.js-call) { display: none; }
  .top-actions .top-book { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; justify-content: center; gap: 0; }
  .top-actions .top-book > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .top-actions .top-book .call-icon { width: 20px; height: 20px; }
}
@media (max-width: 359px) {
  .brand .brand-sub-more { font-size: .4rem; letter-spacing: .14em; }
}

/* "HEALTH & RECOVERY" is set to exactly KINORA's width at every size: same viewBox width as the wordmark */
.brand-lockup { display: inline-grid; grid-template-columns: max-content; justify-items: stretch; }
.brand .brand-sub.brand-sub-svg { display: block; width: 0; min-width: 100%; height: auto; padding: 0; margin: 0; overflow: visible; font-size: inherit; letter-spacing: 0; }
.brand-sub-svg text { font-family: var(--f); font-size: 40px; font-weight: 500; letter-spacing: 0; fill: #3d3d37; }

/* the mark never gives up its width; on the narrowest phones the clinic block takes the squeeze */
.brand .brand-mark { flex-shrink: 0; min-width: max-content; }
@media (max-width: 359px) { .brand .brand-mark { height: var(--brand-stack-height); } .brand { column-gap: 6px; } .brand .brand-sub-more { padding-left: 6px; letter-spacing: .02em; } }

/* Native same-origin document navigation; unsupported browsers ignore this rule. */
@view-transition { navigation: auto; }
#top-bar { view-transition-name: site-header; }
/* Each real provider portrait receives its unique slug name from provider-cards.js. */
#stage, #overlay, #stage-band { view-transition-name: none; }
.page-leaving :is(#stage, #overlay, #stage-band) { opacity: 0 !important; }
::view-transition-group(*) { animation: none; }
::view-transition-old(root) { animation: page-out .45s ease-out both; }
::view-transition-new(root) { animation: page-in .45s ease-out both; }
::view-transition-group(site-header) { animation: none; z-index: 2; }
::view-transition-image-pair(site-header) { isolation: auto; }
::view-transition-old(site-header) { display: none; }
::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }

@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* the K mark is exactly as tall as the KINORA + HEALTH & RECOVERY stack and shares its centre line, at every width */
.top .brand { align-items: center; }
.top .brand .brand-mark { height: var(--brand-stack-height); align-self: center; }

/* Care team: same provider rhythm, compact catalogue cards. */
.care-team-strip { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; max-width: 1200px; margin-inline: auto; }
.care-team-copy .profile-eyebrow { color: var(--olive-ink); font-size: .875rem; font-weight: 600; margin-bottom: 16px; }
.care-team-heading { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.75rem); font-weight: 400; line-height: 1.18; letter-spacing: -.025em; }
.care-team-line { margin-top: 20px; color: var(--ink-2); max-width: 38ch; }
.care-team-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.provider-card, .provider-card-link, .provider-card-copy { min-width: 0; }
.provider-card-link { display: block; color: inherit; text-decoration: none; border-radius: 22px; }
.provider-card-link:focus-visible { outline: 2px solid var(--olive-ink); outline-offset: 6px; }
.provider-card .portrait-frame { aspect-ratio: 4 / 5; background: var(--paper); }
.portrait-frame .provider-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.provider-card-copy { padding-top: 18px; }
.provider-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; overflow-wrap: anywhere; }
.provider-card-role { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
.provider-sample { display: inline-block; color: var(--ink-2); font-size: .75rem; margin-top: 12px; padding: 3px 8px; border: 1px solid var(--rule); border-radius: 4px; }
.provider-view { display: inline-block; margin-top: 22px; color: var(--olive-ink); font-size: .9375rem; text-decoration: underline; text-underline-offset: 5px; }
.provider-card-compact h3 { font-size: 1.125rem; }
.provider-card-compact .provider-card-role { font-size: .75rem; line-height: 1.5; }
.provider-card-compact .portrait-frame { border-radius: 14px; padding: 14px; }
.provider-card-compact .portrait-frame::before { inset: 8px; border-radius: 8px; }
.portrait-frame .portrait-mark { width: 56px; height: auto; }
.provider-card-compact .portrait-frame .portrait-mark { width: 32px; }
.provider-card-compact .provider-card-copy { padding-top: 12px; }
:lang(zh-Hans) .care-team-heading { letter-spacing: 0; line-height: 1.4; }
@media (max-width: 1050px) { .care-team-strip { grid-template-columns: minmax(0, 1fr); } .care-team-copy { max-width: 640px; } }
@media (max-width: 819px) {
  .scroll-story .provider, .provider { padding: 48px 20px 32px; }
  .care-team-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .provider-card-compact > .provider-card-link, .provider-card-compact.is-sample { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center; }
  .provider-card-compact .provider-card-copy { padding-top: 0; }
  .provider-card-compact h3 { font-size: 1.25rem; }
  .care-team-copy .prov-profile { margin-top: 24px; }
}

/* home: one general "Meet the Team" section — words on the left, a team photo frame on the right */
.care-team-heading { font-size: clamp(2rem, 3.2vw, 3rem); }
.care-team-line { max-width: 44ch; }
.team-photo { margin: 0; }
.team-photo-frame { aspect-ratio: 4 / 3; border: 1px solid var(--rule); border-radius: 22px; background: var(--paper-2); display: grid; place-items: center; align-content: center; gap: 18px; padding: 24px; position: relative; overflow: hidden; }
.team-photo-frame::before { content: ""; position: absolute; inset: 14px; border-radius: 14px; border: 1px dashed rgba(102, 112, 47, .45); }
.team-photo-frame svg { width: 56px; height: auto; }
.team-photo-frame figcaption { font-size: .875rem; color: var(--ink-2); text-align: center; }
@media (max-width: 819px) { .team-photo-frame { aspect-ratio: 3 / 2; } }

.provider .care-team-strip { background: transparent; box-shadow: none; border: 0; }

/* One centred content column; full-bleed backgrounds and the fixed canvas stay viewport-wide.
   Only horizontal geometry changes here; phone rules retain their existing gutters. */
@media (min-width: 820px) {
  .hero, .scroll-story .hero,
  .specialties, .scroll-story .specialties,
  .why, .scroll-story .why,
  .services, .scroll-story .services,
  .who, .who-tour:not(.no-webgl) .who,
  .closing, .scroll-story .closing,
  .provider, .scroll-story .provider,
  .contact, .foot {
    padding-inline: calc((100% - var(--content)) / 2);
  }
  .contact-grid::after { inset-inline: calc((var(--content) - 100vw) / 2); }
  .spec-list, .scroll-story .why .steps {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 36%) minmax(0, 1fr);
  }
  .specialties .sec-label, .scroll-story .why .why-head {
    width: calc((100% - max(320px, 36%)) / 2);
  }
  .services .panel { width: 44%; max-width: none; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .care-team-strip { max-width: none; column-gap: 32px; }
  .closing .close-panel { width: 100%; }
  .scroll-story .care-showcase { column-gap: 32px; }
}
@media (min-width: 1280px) {
  .top { padding-inline: calc((100% - var(--content)) / 2); }
}

/* optical fit: the K mark's painted shape (not its box) spans the KINORA cap top to the HEALTH & RECOVERY baseline */
.top .brand .brand-mark { height: calc(var(--brand-stack-height) * .98); transform: translateY(-7.5%); }
@media (max-width: 359px) { .top .brand .brand-mark { transform: translateY(-4%); } }

/* Tablet story: one copy lane and one figure lane throughout the hand-offs.
   Desktop keeps its centred Specialties/Why composition; phones keep their band. */
@media (min-width: 820px) and (max-width: 1279px) {
  .scroll-story .specialties :is(.spec-head, .spec-panel) { width: 52%; }
  .scroll-story .specialties .spec-head { width: 52%; background: transparent; }
  .scroll-story .spec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: clamp(14px, 3vh, 30px); }
  .scroll-story .spec-l { grid-column: 1; }
  .scroll-story .spec-r { grid-column: 2; }
  .scroll-story .spec { text-align: left; }
  .scroll-story .spec-l .spec-btn { flex-direction: row; }
  .scroll-story .spec-d { padding-left: 23px; padding-right: 0; }
  .scroll-story .spec-l :is(.spec-d, .spec-d p, .spec-sub) { margin-left: 0; }
  .scroll-story .spec-l .spec-sub { justify-content: flex-start; }
  .scroll-story .spec-d .ph { white-space: normal; }
  .scroll-story .leaders { clip-path: inset(0 0 0 calc(50vw + var(--content) * .02 + 12px)); }
  .scroll-story .why .why-head, .scroll-story .why .steps { width: 44%; }
  .scroll-story .why .steps { grid-template-columns: minmax(0, 1fr); }
  .scroll-story .why .step[data-step] { grid-column: 1; grid-row: auto; }
  .scroll-story .why .step .step-in { text-align: left; }
  .scroll-story .why .step :is(.step-tick, .step-p) { margin-left: 0; }
  .scroll-story .services .svc-head { background: transparent; }
}

/* A late font or cached language update must not re-anchor a saved pixel offset. */
html.scroll-story { overflow-anchor: none; }

/* Compact phone lockup: scale every painted component and its spacing together.
   The SVG textLength and the optical-fit transform above remain unchanged. */
@media (max-width: 819px) {
  .top .brand { --brand-stack-height: 19.71px; column-gap: 5.84px; }
  .top .brand-lockup { gap: 2.92px; }
  .top .brand .brand-word { height: 11.68px; }
  .top .brand .brand-sub-more { padding-left: 5.84px; font-size: .365rem; letter-spacing: .06em; }
}
@media (max-width: 359px) {
  .top .brand { --brand-stack-height: 17.52px; column-gap: 4.38px; }
  .top .brand .brand-word { height: 10.22px; }
  .top .brand .brand-sub-more { padding-left: 4.38px; font-size: .292rem; letter-spacing: .02em; }
}
