/* T02 — the "Hero - test 02" design carried through the whole home page.
   Loaded after styles.css. Two voices only: Libre Caslon for display, Hanken Grotesk for everything else.

   Type scale (matches the Figma text styles T02/…):
     Display 48  Caslon 48/50, -2%      hero and section headlines
     Number 44   Caslon 44/48, -1%      stat numbers
     Title 28    Caslon 28/34, -1%      item titles
     Title 22    Caslon 22/28, -1%      specialty names
     Body 16     Hanken 16/26           paragraphs, list items
     Small 13    Hanken Medium 13/20    details, captions, legal
     Label 12    Hanken Medium 12/18, +.12em, caps   nav, eyebrows, field labels, text links */

:root {
  --t-label: 500 .75rem/1.5 var(--f);
  --t-label-track: .12em;
  --t-nav: 500 .9375rem/1.5 var(--f);       /* desktop header: nav links, language switch, call button */
  --t-nav-track: .1em;
  --t-body: 400 1rem/1.625 var(--f);
  --t-small: 500 .8125rem/1.54 var(--f);
  --display: clamp(2rem, 1.2rem + 3.2vw, 3rem);
  --title: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem);
  --hair: rgba(29, 29, 27, .2);
}
@media (min-width: 820px) {
  /* one content column for header, hero and every section: 64px margins at 1440, centred at 1312px beyond that */
  :root { --head: 90px; --content: min(1312px, calc(100vw - 2 * var(--pad))); --inset: calc((100vw - var(--content)) / 2); }
}

/* ---------- shared pieces ---------- */
/* label: small tracked capitals */
:root .sec-label .sec-h, :root .hero-eyebrow, :root .profile-eyebrow, :root .svc-label, :root .who-care-label,
:root .contact-dl dt, :root .foot-h, :root .ro-label, :root .who-areas li {
  font: var(--t-label); letter-spacing: var(--t-label-track); text-transform: uppercase; color: var(--ink-2);
}
:lang(zh-Hans) .sec-label .sec-h, :lang(zh-Hans) .hero-eyebrow, :lang(zh-Hans) .profile-eyebrow, :lang(zh-Hans) .svc-label,
:lang(zh-Hans) .who-care-label, :lang(zh-Hans) .contact-dl dt, :lang(zh-Hans) .foot-h, :lang(zh-Hans) .ro-label { letter-spacing: .08em; font-size: .8125rem; }
/* the bronze ring that opens a section label */
:root .sec-label .sec-h::before, :root .hero-eyebrow::before, :root .profile-eyebrow::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--bronze);
  margin-right: 9px; vertical-align: .06em; box-sizing: border-box;
}
/* text link: an underlined label instead of a pill button */
:root .hero .actions .btn, :root .provider .prov-profile {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin: -13px 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  font: var(--t-label); letter-spacing: var(--t-label-track); text-transform: uppercase; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transform: none;
}
:root .hero .actions .btn::before, :root .provider .prov-profile::before { display: none; }
:root .hero .actions .btn:hover, :root .provider .prov-profile:hover { background: none; color: var(--olive-ink); transform: none; }
:root .hero .actions .btn-ghost { color: var(--ink-2); }
:lang(zh-Hans) .hero .actions .btn, :lang(zh-Hans) .provider .prov-profile { letter-spacing: .08em; font-size: .8125rem; }

/* ---------- header: brand · text nav · language · call ---------- */
:root .brand-sub-more > span { white-space: nowrap; }
@media (min-width: 820px) {
  :root .top { column-gap: 32px; padding: 0 clamp(20px, 2.2vw, 32px); }   /* the bar runs wider than the content column: 32px from each screen edge (it was 64px at 1440, on the column) */
  :root .brand { gap: 10px; column-gap: 10px; }
  :root .top .brand > * { transition: opacity .25s var(--ease); }
  /* Width is written out (height x the drawing's own proportions) for both logo parts: some phone browsers lay out
     an SVG that has only a height as 300px wide, which pushed the wordmark over the header buttons. */
  :root .top .brand-mark { height: 36px; width: calc(36px * 300 / 280); transform: none; }   /* no optical lift: the mark centres on the wordmark, as in the frame */
  :root .top .brand-lockup { display: block; }
  :root .top .brand-word { display: block; height: 16px; width: calc(16px * 654 / 92); margin: 0; }
  :root .top .brand .brand-sub.brand-sub-svg { display: none; }
  :root .top .brand .brand-sub-more {
    display: block; height: auto; margin: 0; padding: 0 0 0 11px; border-left: 1px solid var(--hair); max-width: none;   /* height: auto — the old fixed 32px box left the two lines sitting high */
    font: 500 .6875rem/1.3 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);   /* 11px: the smallest size used for text */
  }
  :root .top .top-book {
    --h: 44px; width: auto; min-height: 44px; padding: 0 20px; gap: 8px; border-radius: 6px;
    background: rgba(29, 29, 27, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink);
    font: var(--t-nav); letter-spacing: var(--t-nav-track); text-transform: uppercase;
    transition: background-color .25s var(--ease), color .25s var(--ease);
  }
  :root .top .top-book:hover { transform: none; }
  :root .top .top-book .call-icon { width: 18px; height: 18px; stroke-width: 1.75; }
  :root .top .lang-seg { min-width: 0; min-height: 44px; padding: 0; gap: 5px; border: 0; border-radius: 0; background: none; }
  :root .top .lang-opt { padding: 0; border-radius: 0; background: none; font: var(--t-nav); letter-spacing: var(--t-nav-track); color: var(--ink-2); }
  :root .top .lang-opt.is-on { background: none; color: var(--ink); }
  :root .top .lang-opt:first-child::after { content: "/"; margin-left: 5px; color: var(--ink-2); }
  :root .top .lang-opt[lang] { letter-spacing: .04em; }
  :root .top .menu-btn { width: auto; min-height: 44px; padding: 0; border: 0; border-radius: 0; font: var(--t-nav); letter-spacing: var(--t-nav-track); text-transform: uppercase; }
  :root .top-actions { gap: 24px; }
}
@media (min-width: 1280px) {
  :root .top-actions { grid-column: 3; gap: 35px; }   /* language switch, then the call button on the right margin */
  /* six links: 18px apart at 1280, 24px at 1440, 36px from 1760. Under 1440 the row has no room at the page centre, so it moves left (47px at 1280), which centres it between the logo and the language switch. */
  :root .nav { position: absolute; left: calc(50% - clamp(0px, (1440px - 100vw) * .3, 47px)); top: 50%; transform: translate(-50%, -50%); display: flex; gap: clamp(18px, 3.75vw - 30px, 36px); padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  :root .nav-link { min-height: 44px; padding: 0; gap: 0; border-radius: 0; background: none; font: var(--t-nav); letter-spacing: var(--t-nav-track); text-transform: uppercase; color: var(--ink); }
  :root .nav-link:hover, :root .nav-link[aria-expanded="true"], :root .nav-link[aria-current="true"] { background: none; color: var(--ink); }
  :root .nav-ico, :root .nav-link .chev { display: none; }
  :root .nav-link::after { display: block; left: 0; right: 0; bottom: 8px; height: 1.5px; transform-origin: left center; transition: transform .3s var(--ease); }
  :root .nav-panel { left: -24px; }
}
/* hover, desktop pointers only (a tap on a tablet would leave one stuck): the bronze line draws in under a nav link,
   the call button fills with ink, the other language darkens, the logo eases back */
@media (hover: hover) and (min-width: 820px) {
  :root .nav-link:hover::after, :root .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
  :root .top .top-book:hover { background: var(--ink); color: #fff; }
  :root .top .lang-seg:hover .lang-opt:not(.is-on) { color: var(--ink); }
  :root .top .menu-btn:hover { opacity: .6; }
  :root .top .brand:hover > * { opacity: .62; }   /* on the parts: the landing animation holds the link's own opacity */
}
@media (min-width: 820px) {
  :root .nav-link:focus-visible::after { transform: scaleX(1); }
  :root .top .lang-opt, :root .top .menu-btn { transition: color .25s var(--ease), opacity .25s var(--ease); }
}
.top-booknow, .menu-lang { display: none; }
@media (max-width: 819px) {
  /* phone header, as in the mobile frame: mark + wordmark, a glass "Book Now" button and a two-line menu button.
     The bottom bar is gone on this page; its language switch moves into the menu. */
  :root { --head: 68px; }
  :root .top { padding: 0 10px 0 20px; column-gap: 0; }
  :root .top .brand { gap: 7.7px; column-gap: 7.7px; }
  :root .top .brand .brand-mark { height: 26.3px; width: calc(26.3px * 300 / 280); transform: none; }
  :root .top .brand-lockup { display: block; }
  :root .top .brand .brand-word { display: block; height: 11.6px; width: calc(11.6px * 654 / 92); margin: 0; }
  :root .top .brand .brand-sub.brand-sub-svg, :root .top .brand .brand-sub-more, :root .top .brand .brand-sub-sep { display: none; }
  :root .top-actions { gap: 11px; }
  :root .top-actions > .js-call, :root .top-actions > .js-lang { display: none; }
  :root .top-actions > .top-booknow {
    display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 0; border-radius: 6px;
    background: rgba(29, 29, 27, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink);
    font: var(--t-label); letter-spacing: var(--t-label-track); text-transform: uppercase; white-space: nowrap;
  }
  :lang(zh-Hans) .top-actions > .top-booknow { letter-spacing: .08em; font-size: .8125rem; }
  :root .top-actions > .menu-btn { display: block; position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; }
  :root .top-actions > .menu-btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  :root .top-actions > .menu-btn::before, :root .top-actions > .menu-btn::after { content: ""; position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink); }
  :root .top-actions > .menu-btn::before { top: 17px; }
  :root .top-actions > .menu-btn::after { top: 25.5px; }
  :root .dock { display: none; }
  :root main { padding-bottom: 0; }
  :root .menu-nav { margin-bottom: 0; }
  :root .menu-lang {
    display: flex; align-items: center; width: 100%; min-height: 48px; margin: 0 0 22px; padding: 0; border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
    border-radius: 0; background: none; font: var(--t-label); letter-spacing: .08em; color: var(--ink-2); text-align: left;
  }
}

/* ---------- hero: Figma "final - 1" ----------
   The reception photo fills the hero and the copy sits on it in one centred column: headline on the wall,
   then the location line, the lede, three stats and two buttons. Colours are the Light · Stone set, kept to the hero and
   to the header while it sits on the hero.
   Rows: the gaps are shares of the free height (221 : 89 : 47 : 47 : 34.6, the frame's own gaps at 900px),
   so the copy keeps its place on the photo as the window gets taller or shorter. Each gap's floor is the same
   share (about 45%), which lets the whole stack tighten evenly down to a window about 665px tall. */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--paper); }
.hero-photo { position: absolute; inset: 0; background: url("assets/hero-reception-hi.jpg") 50% 50% / cover no-repeat; }   /* 3172 x 1984, from the uncompressed original */
@media (min-width: 820px) {
  /* Wide, short windows crop the photo top and bottom. Instead of centring that crop, the photo is placed so the oak
     counter (57.9% down the photo) stays behind the location line, whose centre sits at .7068 × hero height − 111px. */
  .hero-photo {
    --H: max(100svh, 664px); --P: max(var(--H), 62.547vw);   /* hero height; photo height when it covers the hero (992 / 1586 of the width) */
    inset: auto 0 auto 0; height: var(--P);
    /* the oak counter's lower edge (60.5% down the photo) is kept just above the tagline, whose top sits at .7615 x hero height - 136.6px */
    top: clamp(var(--H) - var(--P), .7615 * var(--H) - 142.6px - .605 * var(--P), 0px);
  }
}
/* No wash over the photo and no fade at its foot: the picture shows as it is and ends on a clean edge. */
.hero-bg::after { content: none; }
:root .hero::after { content: none; }
:root .hero { --paper: #f3f3f2; --ink: #1b1c1e; --ink-2: #4c4f54; --bronze: #ad7f4e; --hair: rgba(27, 28, 30, .16); color: var(--ink); }
:root .top:not(.is-scrolled) { --ink: #1b1c1e; --ink-2: #4c4f54; --hair: rgba(27, 28, 30, .16); color: var(--ink); }
:root .top { --story-logo-filter: none; }   /* the header logo shows its own colours: green with the gold point */
:root .hero, :root.scroll-story .hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: none;
  /* the copy sits higher than in the frame. The headline moves up most (60 of the first gap's 221 shares, about 60px on a
     900px-tall window); the location line, tagline, stats and buttons move up 36, which is as far as they can go before
     the tagline runs onto the oak counter. The shares taken from the top sit below the buttons instead. */
  grid-template-rows: minmax(76px, 161fr) auto 20px auto minmax(60px, 173fr) auto minmax(21px, 47fr) auto minmax(16px, 34.6fr) auto minmax(0px, 23fr);   /* the location line sits 20px under the headline, on the plain wall, at every window size; the flexible gap is between it and the tagline, which starts below the oak counter */
  gap: 0; align-items: start; align-content: stretch; justify-items: center;
  min-height: 100svh; padding: var(--head) var(--inset, var(--pad)) 29px; text-align: center;
}
:root .hero .hero-copy, :root.scroll-story .hero .hero-copy { display: contents; }
:root .hero .fallback-figure, :root .hero .spin-hint { display: none; }
:root .hero .hero-title, :root:lang(zh-Hans) .hero .hero-title {
  grid-area: 2 / 1; width: auto; max-width: none; margin: 0;
  font: italic 400 var(--display)/1.2083 var(--serif); letter-spacing: -.04em; text-wrap: initial; text-align: center;   /* -.04em in the browser sets the lines to the frame's width (591px at 48px) */
}
:root:lang(zh-Hans) .hero .hero-title { font-style: normal; line-height: 1.3; letter-spacing: .02em; }
:root .hero .hero-eyebrow { grid-area: 4 / 1; margin: 0; }
:root .hero .lede, :root:lang(zh-Hans) .hero .lede {
  grid-area: 6 / 1; width: auto; max-width: 719px; margin: 0; font: 400 1.125rem/1.55 var(--f); color: var(--ink); text-wrap: initial;
}
:root .hero .readouts, :root.scroll-story .hero .readouts {
  grid-area: 8 / 1; display: block; align-self: start; width: min(100%, 620px); max-width: none; margin: 0; padding: 0; background: none;
}
:root .hero .readout-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
:root .hero .ro { display: block; padding: 14.6px 0 0; border-top: 0; text-align: center; }
:root .hero .ro::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); }   /* the rule above each stat */
:root .hero .ro::after { display: none; }
:root .hero .ro-num { margin: 0; font: 400 2rem/1 var(--serif); letter-spacing: -.01em; }
:root .hero .ro-label { margin: 5px 0 0; font: 500 .9375rem/1.3 var(--f); letter-spacing: 0; text-transform: none; color: var(--ink); }
:root .hero .ro-detail { margin: 3px auto 0; font: 400 .75rem/1.4 var(--f); color: var(--ink); text-align: center; }
:root .hero .ro:not(:last-child) .ro-detail { max-width: 11em; }   /* two short lines, as in the frame */
:root .hero .actions { grid-area: 10 / 1; align-self: start; justify-content: center; gap: 16px 62px; margin: 0; }
@media (min-width: 820px) {
  /* desktop: the two actions are 200 × 44 buttons, as in "final - 1 - desktop": white for booking, glass for the services link.
     (Phones keep the single underlined link of the mobile frame.) Hover states are not in the frame: booking inverts to ink, glass darkens like Call Now. */
  :root .hero .actions { gap: 16px; }
  :root .hero .actions .btn, :root .hero .actions .btn:hover {
    justify-content: center; width: 200px; height: 44px; min-height: 44px; margin: 0; padding: 0; border-radius: 6px; color: var(--ink); text-decoration: none;
    transition: background-color .2s, color .2s;
  }
  :root .hero .actions .btn-primary { background: #fff; }
  :root .hero .actions .btn-primary:hover { background: var(--ink); color: #fff; }
  :root .hero .actions .btn-ghost { background: rgba(27, 28, 30, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  :root .hero .actions .btn-ghost:hover { background: rgba(27, 28, 30, .14); }
}
@media (max-width: 819px) {
  /* phone, from the mobile frame (390 × 844): headline, lede and then the location line on the wall near the top; the desk shows in
     the middle; the three stats sit on a soft-blur strip at the foot with one link under them. The two flexible gaps keep
     the frame's 90 : 325 split, so the text blocks stay at the top and the foot on any phone height. */
  :root .hero, :root.scroll-story .hero {
    grid-template-rows: minmax(24px, 90fr) auto 7px auto 14px auto minmax(32px, 325fr) auto 12px auto;
    min-height: 100svh; padding: var(--head) 20px calc(2px + env(safe-area-inset-bottom, 0px));
  }
  :root .hero .hero-eyebrow { grid-area: 6 / 1; font-size: .6875rem; line-height: 18px; letter-spacing: .109em; text-wrap: balance; }   /* 11px at every width; wraps to two lines on the narrowest phones */
  :root .hero .hero-title { grid-area: 2 / 1; font-size: clamp(1.5rem, 7.9vw, 2.125rem); line-height: 1.176; text-wrap: balance; }   /* sized so "Oriental, Rehabilitation," fits one line: four lines in all on a phone */
  :root:lang(zh-Hans) .hero .hero-title { grid-area: 2 / 1; font-size: clamp(1.6875rem, 8.72vw, 2.125rem); line-height: 1.176; text-wrap: balance; }
  :root:lang(zh-Hans) .hero .hero-title { line-height: 1.3; }
  :root .hero .hero-title br, :root .hero .lede br { display: none; }
  :root:lang(zh-Hans) .hero .hero-title br, :root:lang(zh-Hans) .hero .lede br { display: inline; }
  :root .hero .lede { grid-area: 4 / 1; max-width: 350px; font: 200 1rem/1.5 var(--f); }
  :root:lang(zh-Hans) .hero .lede { grid-area: 4 / 1; max-width: 350px; font: 400 1rem/1.6 var(--f); }
  :root .hero .readouts, :root.scroll-story .hero .readouts {
    width: 100%; max-width: 350px; padding: 14px 4px; border-radius: 6px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  :root .hero .readout-list { gap: 0; }
  :root .hero .ro { padding: 0 6px; border-top: 0; }
  :root .hero .ro::before { display: none; }
  :root .hero .ro + .ro { border-left: 1px solid rgba(27, 28, 30, .12); }
  :root .hero .ro-num { font: italic 400 1.875rem/34px var(--serif); letter-spacing: -.02em; }
  :root .hero .ro-digits { position: relative; top: 1.5px; }   /* sits the rolling digits where the frame's 34px line puts them */
  :root .hero .ro-label { margin: 2px 0 0; font: 500 .75rem/16px var(--f); color: var(--ink-2); }
  :root .hero .ro-detail { display: none; }
  :root .hero .actions { gap: 0; }
  :root .hero .actions .btn { margin: 0; }
  :root .hero .actions .btn-primary { display: none; }   /* booking is the Book Now button in the header */
  .hero-photo { background-position: 64.5% 50%; }
}

/* ---------- hero landing animation ----------
   Plays once when the page lands (classes hero-anim / hero-go on <html>, set in index.html and ui.js), then the classes
   are removed. About 3 seconds: the photo settles, the header drops in, the headline comes into focus, the bronze point
   appears and sends one ripple while the location line wipes out from it, the lede rises, the stat rules draw from their
   centres as the numbers roll, and the links arrive last. Uses the separate translate / scale properties so it never
   overrides an element's own transform. Every end state equals the resting style, so removing the classes changes nothing. */
@media (prefers-reduced-motion: no-preference) {
  .hero-anim:not(.hero-go) :is(.top > *, .hero-title, .hero-eyebrow, .hero .lede, .hero .readouts, .hero .actions) { opacity: 0; }
  .hero-anim:not(.hero-go) .hero-photo { scale: 1.07; }

  .hero-go .hero-photo { animation: hero-settle 3.2s var(--ease) both; }
  .hero-go .top > * { animation: hero-drop .9s var(--ease) both; }
  .hero-go .top > .brand { animation-delay: .15s; }
  .hero-go .top > .nav { animation-delay: .25s; }
  .hero-go .top > .top-actions { animation-delay: .35s; }
  .hero-go .hero-title { animation: hero-focus 1.3s var(--ease) .35s both; }
  .hero-go .hero-eyebrow { animation: hero-wipe 1s var(--ease) 1.15s both; }
  .hero-go .hero-eyebrow::before { animation: hero-point .6s cubic-bezier(.34, 1.56, .64, 1) 1s both, hero-ripple 1.2s ease-out 1.3s both; }
  .hero-go .hero .lede { animation: hero-rise .9s var(--ease) 1.2s both; }
  .hero-go .hero .readouts { animation: hero-show .6s ease 1.35s both; }
  .hero-go .hero .ro::before { animation: hero-rule 1s var(--ease) calc(1.4s + var(--row, 0) * .12s) both; }
  .hero-go .hero .ro > * { animation: hero-rise .8s var(--ease) calc(1.55s + var(--row, 0) * .12s) both; }
  .hero-go .hero .actions { animation: hero-rise .8s var(--ease) 1.95s both; }

  @keyframes hero-settle { from { scale: 1.07; } to { scale: 1; } }
  @keyframes hero-show { from { opacity: 0; } to { opacity: 1; } }
  @keyframes hero-drop { from { opacity: 0; translate: 0 -10px; } to { opacity: 1; translate: 0 0; } }
  @keyframes hero-rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
  @keyframes hero-focus { from { opacity: 0; translate: 0 22px; filter: blur(10px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
  @keyframes hero-wipe { from { clip-path: inset(-20px calc(100% - 12px) -20px -20px); } to { clip-path: inset(-20px); } }
  @keyframes hero-point { from { scale: 0; } to { scale: 1; } }
  @keyframes hero-ripple { from { box-shadow: 0 0 0 0 rgba(173, 127, 78, .55); } to { box-shadow: 0 0 0 16px rgba(173, 127, 78, 0); } }
  @keyframes hero-rule { from { scale: 0 1; } to { scale: 1 1; } }
}

/* ---------- section labels and headlines ---------- */
:root .sec-label .sec-h { text-wrap: initial; }
:root .who .sec-h, :root .contact .sec-h, :root .closing .close-title, :root.scroll-story .closing .close-title, :root .provider .care-team-heading, :root:lang(zh-Hans) .who .sec-h, :root:lang(zh-Hans) .contact .sec-h {
  font: 400 var(--display)/1.0417 var(--serif); letter-spacing: -.02em; text-transform: none; color: var(--ink);
}
:root:lang(zh-Hans) .who .sec-h, :root:lang(zh-Hans) .contact .sec-h, :root:lang(zh-Hans) .closing .close-title, :root:lang(zh-Hans).scroll-story .closing .close-title, :root:lang(zh-Hans) .provider .care-team-heading { line-height: 1.25; letter-spacing: .02em; }
/* Services, Specialties and Why KINORA: the section name is a headline in the display serif, like every other section,
   in place of the small capital label with its ring */
:root .sec-label .sec-h, :root:lang(zh-Hans) .sec-label .sec-h {
  font: 400 var(--display)/1.0417 var(--serif); letter-spacing: -.02em; text-transform: none; color: var(--ink);
}
:root:lang(zh-Hans) .sec-label .sec-h { line-height: 1.25; letter-spacing: .02em; }
:root .sec-label .sec-h::before { content: none; }
@media (min-width: 820px) {
  :root.scroll-story .services { --svc-stick: calc(var(--head) + 120px); }   /* the pinned Services headline is taller than the old label */
}
:root .step-h, :root .svc-h, :root .who-card h3, :root .care-showcase h3 { font: 400 var(--title)/1.214 var(--serif); letter-spacing: -.01em; color: var(--ink); }
:root:lang(zh-Hans) .step-h, :root:lang(zh-Hans) .svc-h, :root:lang(zh-Hans) .who-card h3, :root:lang(zh-Hans) .care-showcase h3 { line-height: 1.35; letter-spacing: .02em; }
:root .spec-name { font: 400 1.375rem/1.273 var(--serif); letter-spacing: -.01em; }
:root:lang(zh-Hans) .spec-name { letter-spacing: .02em; }

/* ---------- body, small ---------- */
:root .spec-d p, :root .spec-sub li, :root .spec-note, :root .step-p, :root .svc-desc, :root .svc-item, :root .pkgs li,
:root .who-intro, :root .who-focus, :root .close-lede, :root .care-showcase p, :root .care-team-line, :root .contact-lede,
:root .contact-dl dd, :root .foot-addr, :root .foot-col li a, :root .foot-cities li { font: var(--t-body); }
:root .contact-dl dd { color: var(--ink); }
:root .spec-note .text-link { font-weight: 400; }
:root .who-services .text-link, :root .who-progress, :root .team-photo-frame figcaption, :root .foot-bottom, :root .foot-bottom p, :root .foot-legal li { font: var(--t-small); }
:root .who-services .text-link { color: var(--ink); }
:root .who-areas li { letter-spacing: .08em; }
:root .profile-eyebrow { margin-bottom: 12px; }
:root .care-team-heading { margin: 0; }
:root .care-team-line { margin-top: 20px; color: var(--ink-2); }
:root .provider .prov-profile { margin-top: 19px; }
:root .map-go { font: var(--t-label); letter-spacing: var(--t-label-track); text-transform: uppercase; }

/* the rolling digits sit in equal-width slots; a "1" gets a narrower slot so "16" doesn't read as "1 6" */
:root .hero .wheel-strip { align-items: center; }
:root .hero .wheel[style*="--d:1;"] { width: .4em; }

:root .foot-addr { white-space: pre-line; }

/* the site's shared heading variables follow the T02 scale */
:root { --hero-heading-size: var(--display); --section-heading-size: var(--display); --content-heading-size: var(--title); }

/* ---------- services on phone: the SERVICES label and its ruler hold still under the figure for the whole section;
   each service rises, stops just beneath them, and leaves behind them. One ruler, on the band, replaces the one that
   used to travel with every service. The band's bottom margin is the last service's height (ui.js sets --svc-last),
   so the band and the last service leave together; the list's negative margin puts the services back where they were,
   which keeps the figure's timing unchanged.
   Services sits higher than the other sections: its label pins at 44% of the screen height (--svc-fig), not 54%, so
   the cards have more room. The figure's window ends at the label while Services holds the screen: story-scene.js
   sets --stage-cut, which the canvas and its cover follow, and --stage-lift, which carries the figure away with the
   label when Services ends. ---------- */
@media (max-width: 819px) {
  :root.scroll-story .services { --svc-fig: 44svh; --svc-band: 62px; }
  :root.scroll-story #stage { clip-path: inset(0 0 calc(100% - var(--stage-cut, 54svh)) 0); }
  :root.scroll-story #stage-band { height: var(--stage-cut, 54svh); }
  /* when Services ends, the figure, its cover and its point names scroll away with the Services label */
  :root.scroll-story :is(#stage, #stage-band, #overlay) { translate: 0 calc(-1 * var(--stage-lift, 0px)); }
  :root.scroll-story .services .svc { padding-top: var(--svc-fig); }
  :root.scroll-story .services .panel { display: flow-root; }
  :root.scroll-story .services .svc-head {
    position: sticky; top: var(--svc-fig); z-index: 2; box-sizing: border-box; height: var(--svc-band);
    margin: var(--svc-fig) 0 calc(var(--svc-last, 0px) + 50px); padding: 4px 0 0; background: var(--paper);
  }
  /* the figure's cover fades out over its last 16px; this fills that strip so a leaving service cannot show through above the band */
  :root.scroll-story .services .svc-head::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 16px; background: var(--paper); pointer-events: none; }
  :root.scroll-story .services .svc-head .sec-label { position: static; width: auto; margin: 0; padding: 0; border: 0; background: none; }
  :root.scroll-story .services .svc-head .sec-h, :root:lang(zh-Hans).scroll-story .services .svc-head .sec-h { margin: 0; line-height: 36px; }
  :root.scroll-story .services .svc-head::after {
    content: ""; display: block; height: 9px; margin-top: 0; pointer-events: none;
    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;
  }
  :root.scroll-story .services .svc-list { margin-top: calc(16px - var(--svc-fig) - var(--svc-last, 0px) - 50px); }
  :root.scroll-story .services .svc::before { display: none; }
  :root.scroll-story .services .svc-in { top: var(--svc-stop); }
  /* The service card. Its parts have more room between them, and the room grows with the screen height (--svc-air:
     nothing on a 660px-tall screen, 12px from 780px), so a short phone still shows as much of the card as before.
     The description is lighter and a little smaller than the items, so the name, the description and the list read as
     three levels. In the two-column list every bullet sits on the first line of its item, and both items of a row are
     the same height, so the bullets and the rules under them line up across the columns. */
  :root.scroll-story .services { --svc-air: clamp(0px, (100svh - 660px) * .1, 12px); --svc-stop: calc(var(--svc-fig) + var(--svc-band) + 10px + var(--svc-air) * .5); }
  :root.scroll-story .services .svc-desc { margin-top: calc(4px + var(--svc-air) * .5); font: 300 .9375rem/1.6 var(--f); color: var(--ink-2); }
  :root.scroll-story .services .svc-detail { padding-top: 0; }
  :root.scroll-story .services .svc-label { margin: calc(10px + var(--svc-air)) 0 calc(2px + var(--svc-air) * .4); }
  :root.scroll-story .services .svc-items { column-gap: 20px; }
  :root.scroll-story .services .svc-items > li { display: flex; }
  :root.scroll-story .services .svc-item { flex: 1; align-items: flex-start; gap: 8px; padding: calc(6px + var(--svc-air) * .3) 0; font: 400 .9375rem/22px var(--f); }
  :root.scroll-story .services .svc-item::before { margin-top: 7px; }   /* sits the 10px ring on the middle of the first line's letters */
  :root.scroll-story .services .pkgs { gap: 8px; margin-top: calc(4px + var(--svc-air) * .3); }
  :root.scroll-story .services .pkgs li { padding: 4px 12px; font: 400 .875rem/22px var(--f); }
}

/* ---------- who we help: a strip of image cards ----------
   Each group is one tall rounded card. Its figure fills the top of the card and melts into the card's own colour,
   which is tinted by an enlarged, blurred copy of the same picture; the words sit centred underneath: areas (small
   caps), name, focus line, and one pill. The pill ("Services to consider") swaps the figure for that group's service
   links. The six cards run in one row that carries on past the page edge, drifts sideways on its own and loops
   (ui.js, whoRow). It has no buttons: it can be swiped or scrolled sideways, and holds still under the pointer. */
:root .who { padding-block: clamp(64px, 8.4vw, 120px); overflow-x: clip; }
:root .who .who-progress { display: none; }
:root .who-grid {
  display: flex; grid-template-columns: none; gap: 20px;
  margin: clamp(32px, 3.4vw, 48px) calc(-1 * var(--inset, 20px)) 0; padding: 0 var(--inset, 20px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: none; scroll-padding-inline: var(--inset, 20px);
  scrollbar-width: none;
}
:root .who-grid::-webkit-scrollbar { display: none; }
:root .who-card {
  --fig: 272px;
  position: relative; isolation: isolate; flex: 0 0 344px; display: flex; flex-direction: column; min-width: 0; padding: 0;
  border: 0; border-radius: 24px; overflow: hidden; background: #f3f1ed; text-align: center; scroll-snap-align: start; opacity: 1;
}
:root .who-card::before {   /* the card's atmosphere: its own picture, enlarged and blurred, so each card is tinted where its figure is highlighted */
  content: ""; position: absolute; z-index: -1; inset: -12%; background: var(--who-img) 50% 38% / 300% auto no-repeat;
  filter: blur(46px) saturate(1.9) brightness(1.08); mix-blend-mode: multiply; opacity: .7;
}
:root .who-card::after { content: none; }
:root .who-card .who-figure {
  flex: none; width: 100%; height: var(--fig); margin: 0; aspect-ratio: auto; border-radius: 0; background: none; overflow: hidden;
  mix-blend-mode: multiply; transition: opacity .35s;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 98%); mask-image: linear-gradient(to bottom, #000 58%, transparent 98%);
}
:root .who-card .who-figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; mix-blend-mode: normal; transform: none; }
:root .who-body { flex: 1; display: flex; flex-direction: column; align-items: center; margin-top: -10px; padding: 0 28px 28px; }
:root .who-areas { display: block; margin: 0; padding: 0; list-style: none; line-height: 18px; }
:root .who-areas li { display: inline; padding: 0; border: 0; border-radius: 0; font-size: .6875rem; letter-spacing: .12em; }
:root .who-areas li + li::before { content: "·"; margin: 0 .5em; }
:root .who-card h3 { margin: 12px 0 0; font: 400 1.625rem/1.19 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
:root:lang(zh-Hans) .who-card h3 { letter-spacing: .02em; line-height: 1.35; }
:root:lang(zh-Hans) .who-areas li { letter-spacing: .08em; font-size: .75rem; }
:root .who-focus { margin: 12px 0 0; font: 400 .9375rem/1.55 var(--f); color: var(--ink-2); text-wrap: pretty; }
:root .who-care { margin-top: auto; padding-top: 22px; }
:root .who-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; list-style: none; cursor: pointer;
  background: rgba(27, 28, 30, .07); color: var(--ink); font: var(--t-small); transition: background-color .2s;
}
:root .who-pill::-webkit-details-marker { display: none; }
:root .who-pill::after { content: "+"; font: 400 1rem/1 var(--f); transition: rotate .3s var(--ease); }
:root .who-pill:hover { background: rgba(27, 28, 30, .12); }
:root .who-pill:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
:root .who-care[open] > .who-pill { background: var(--ink); color: #fff; }
:root .who-care[open] > .who-pill::after { rotate: 45deg; }
/* open: the service links take the figure's place at the top of the card */
:root .who-care > .who-services {
  position: absolute; left: 28px; right: 28px; top: 0; height: var(--fig); margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
:root .who-care[open] > .who-services { animation: who-links .4s var(--ease) both; }
@keyframes who-links { from { opacity: 0; translate: 0 10px; } }
:root .who-services li { margin: 0; }
:root .who-services .text-link { display: inline-flex; align-items: center; min-height: 40px; font: 500 .9375rem/1.3 var(--f); color: var(--ink); }
:root .who-card:has(.who-care[open]) .who-figure { opacity: .08; }
@media (min-width: 1100px) {
  :root .who .who-hold { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  :root .who .who-hold > .sec-h { grid-column: 1 / span 7; margin: 0; }
  :root .who .who-hold > .who-intro { grid-column: 9 / span 4; margin: 0; max-width: none; }
  :root .who .who-hold > .who-grid { grid-column: 1 / -1; }
}
@media (max-width: 819px) {
  /* phone: the same cards, one and a bit in view, drifting and swiped sideways */
  :root .who-grid { gap: 12px; margin-top: 28px; }
  :root .who-card { flex-basis: min(82vw, 344px); }
}
@media (prefers-reduced-motion: reduce) {   /* nothing drifts; the row is swiped or scrolled by hand and snaps to cards */
  :root .who-grid { scroll-snap-type: x proximity; }
}

/* ---------- your care starts here: the booking section ----------
   The three ways to book are the actions. Each is one large button on the stone tone: name, what happens next, and an
   ink arrow disc in the corner. Pressing one opens the booking sheet on that path (ui.js, .js-path). */
:root .closing .chooser, :root.scroll-story .closing .chooser { margin-top: clamp(28px, 3.4vw, 48px); }
:root .care-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
:root .care-action {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 212px; padding: 28px 28px 24px;
  border: 0; border-radius: 16px; background: #f3f1ed; color: var(--ink); text-align: left; cursor: pointer;
  transition: background-color .25s var(--ease);
}
:root .care-action-h { font: 400 var(--title)/1.214 var(--serif); letter-spacing: -.01em; }
:root:lang(zh-Hans) .care-action-h { line-height: 1.35; letter-spacing: .02em; }
:root .care-action-p { margin-top: 10px; max-width: 34ch; font: 400 .9375rem/1.55 var(--f); color: var(--ink-2); text-wrap: pretty; }
:root .care-action-go {
  display: grid; place-items: center; width: 44px; height: 44px; margin-top: auto; align-self: flex-end; border-radius: 50%;
  background: var(--ink); color: #fff; transition: translate .35s var(--ease), background-color .25s;
}
:root .care-action-go svg { width: 20px; height: 20px; }
:root .care-action:hover { background: #eae7e0; }
:root .care-action:hover .care-action-go { translate: 4px 0; }
:root .care-action:active .care-action-go { translate: 6px 0; }
:root .care-action:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
@media (max-width: 819px) {
  /* phone: the three actions stacked, the arrow at the right of each */
  :root .care-actions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  :root .care-action { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; min-height: 0; padding: 20px 16px 20px 20px; border-radius: 14px; }
  :root .care-action-h { grid-column: 1; font-size: 1.375rem; }
  :root .care-action-p { grid-column: 1; margin-top: 6px; }
  :root .care-action-go { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: center; }
}
@media (prefers-reduced-motion: reduce) { :root .care-action-go { transition: none; } }
@media (min-width: 820px) {
  /* less padding below: the Contact section that follows is the same white and brings its own space above its ruler */
  :root .closing, :root.scroll-story .closing { min-height: 0; display: block; padding-block: clamp(64px, 8.4vw, 120px) clamp(24px, 2.8vw, 40px); }
}

/* ---------- our team: copy and photo in the middle ten columns, as in the frame ---------- */
@media (min-width: 1051px) {
  :root .provider { padding-block: 88px; }
  :root .provider .care-team-strip { max-width: 1088px; grid-template-columns: minmax(0, 464px) minmax(0, 528px); justify-content: space-between; column-gap: 32px; }
}
:root .map-go::before { display: none; }

/* ---------- colour: deep green and metallic gold ----------
   Gold comes from the figure's own meridian lines and is treated as metal, not as a flat yellow: every gold line and
   mark is a gradient that runs shadow, body, highlight, body, shadow, so it reads as a polished edge catching light.
   It is kept to fine lines, marks and display type; reading text stays dark ink on white, or cream on deep green.
   Deep green replaces the olive, and carries the two dark surfaces (booking and footer) where the gold shows best.
   Contrast: ink on white 16.6, cream on green-800 11.6, gold-lt on green-800 7.7, gold-ink on white 6.4.
   Plain gold (--gold) on white is 2.6 and is never used for text. */
:root {
  --gold-hi: #fdf1c4; --gold-lt: #f2d06b; --gold: #dfae35; --gold-dk: #a87f1f; --gold-ink: #7a5a14;   /* brightened; gold-ink stays dark because it is the one gold used for small marks on white */
  --gold-metal: linear-gradient(100deg, var(--gold-dk) 0%, var(--gold) 16%, var(--gold-hi) 40%, var(--gold-lt) 56%, var(--gold) 76%, var(--gold-dk) 100%);
  --green-900: #0b241c; --green-800: #10352a; --green-700: #164a3a; --green-600: #1f5e4a;
  --cream: #f4eedd;   /* text on the green surfaces only; the page itself stays white */
  --ink: #16211d; --ink-2: #47524c;
  --olive: var(--green-600); --olive-ink: var(--green-700); --olive-deep: var(--green-800);
  --bronze: var(--gold); --bronze-ink: var(--gold-ink);
  --rule: rgba(22, 33, 29, .16); --hair: rgba(22, 33, 29, .2);
  /* the measuring rule, in gold: a metal baseline with fine and long ticks */
  --ruler: var(--gold-metal) top / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(223, 174, 53, .9) 0 1px, transparent 1px 12px) top / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, rgba(168, 127, 31, 1) 0 1px, transparent 1px 60px) top / 100% 9px no-repeat;
}
:root .hero { --bronze: var(--gold); }

/* gold lines: rulers, the line under a section headline, the rule above each hero stat, the nav underline */
:root .ruled::before, :root .svc::before, :root .spec-panel::before, :root .contact-grid::before,
:root.scroll-story .services .svc-head::after { background: var(--ruler); }
:root .sec-label { border-bottom-color: transparent; background-image: var(--gold-metal); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 100%; }
:root .services .sec-label { background-image: none; }   /* Services has the ruler beneath it instead */
:root .hero .ro::before { background: var(--gold-metal); }
:root .nav-link::after { background: var(--gold); }   /* one flat gold, no gradient */
:root .btn-primary:hover { background: var(--green-700); }

/* booking: a deep green band; the headline in gold, cream text, gold arrow discs */
:root .closing, :root.scroll-story .closing {
  --ink: var(--cream); --ink-2: rgba(244, 238, 221, .76); --rule: rgba(224, 193, 112, .3);
  background: var(--green-800); color: var(--ink);
}
:root .closing .close-panel, :root.scroll-story .closing .close-panel { background: transparent; }   /* on phone the panel painted its own page colour over the band */
:root .closing .close-title, :root.scroll-story .closing .close-title, :root:lang(zh-Hans) .closing .close-title, :root:lang(zh-Hans).scroll-story .closing .close-title { color: var(--gold-lt); }
:root .closing .care-action { background: var(--green-700); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(224, 193, 112, .22); }
:root .closing .care-action:hover { background: var(--green-600); }
:root .closing .care-action-go { background: var(--gold-metal); color: var(--green-900); }
:root .closing .care-action:focus-visible { outline-color: var(--gold-lt); }
@media (min-width: 820px) {
  :root .closing, :root.scroll-story .closing { padding-block: clamp(64px, 8.4vw, 120px); }
}
@media (max-width: 819px) {
  :root .closing, :root.scroll-story .closing { padding-bottom: 48px; }
}

/* footer: the deepest green; headings and the closing line in gold */
:root .foot {
  --ink: var(--cream); --ink-2: rgba(244, 238, 221, .74); --olive-ink: var(--gold-lt); --rule: rgba(224, 193, 112, .3);
  background: var(--green-900); color: var(--ink);
}
:root .foot .foot-h { color: var(--gold-lt); }
:root .foot-bottom { border-top-color: transparent; background: var(--gold-metal) top / 100% 1px no-repeat; }
:root .foot .foot-brand img { filter: none; }   /* its own light file: cream mark and wordmark with the gold point */

/* ---------- type outside the hero: Bodoni Moda ----------
   Every headline, title and numeral below the hero is set in Bodoni Moda; the hero keeps Libre Caslon. Bodoni's strong
   thick-and-thin stroke is the Latin counterpart of the Song-style Chinese serif already used here (Noto Serif SC), so
   the two languages share one texture, and its hairlines sit well with the fine gold rules. It is loaded at its
   sturdiest optical size only (index.html asks for opsz 11): the display cuts thin the hairlines until they break up
   on ordinary-resolution screens. Body text stays Hanken Grotesk. */
:root {
  --serif-hero: "Libre Caslon Text", "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --serif: "Bodoni Moda", "Noto Serif SC", "Songti SC", Didot, Georgia, "Times New Roman", serif;
}
:root .hero { --serif: var(--serif-hero); }

/* ---------- buttons: deep green at rest, black on hover ----------
   Every filled button shares one look: Call Now, Book Now, the hero buttons on desktop, Get directions, the booking
   sheet's buttons and the "Services to consider" pills. The booking tiles are already green and also turn black. */
:root .btn-primary, :root .btn-ghost, :root .top .top-book, :root .top-actions > .top-booknow, :root .who-pill {
  background: var(--green-800); color: #fff; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
}
:root .btn-primary:hover, :root .btn-ghost:hover, :root .top .top-book:hover, :root .top-actions > .top-booknow:hover,
:root .who-pill:hover, :root .who-care[open] > .who-pill, :root .closing .care-action:hover { background: #0e100f; color: #fff; }
:root .who-pill:focus-visible { outline-color: var(--green-600); }
@media (min-width: 820px) {
  :root .hero .actions .btn-primary, :root .hero .actions .btn-ghost { background: var(--green-800); color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  :root .hero .actions .btn-primary:hover, :root .hero .actions .btn-ghost:hover { background: #0e100f; color: #fff; }
}
@media (max-width: 819px) {
  /* on phone the hero's "Explore our services" stays the underlined text link it was */
  :root .hero .actions .btn, :root .hero .actions .btn:hover { background: none; color: var(--ink); }
}

/* ---------- nav links on hover: bold green text over a flat gold line ----------
   ui.js (navReserve) gives each link the width of its bold form, so the row does not shift when one turns bold. */
@media (min-width: 1280px) {
  :root .nav-link { justify-content: center; transition: color .2s var(--ease); }
}
@media (hover: hover) and (min-width: 820px) {
  :root .nav-link:hover, :root .nav-link[aria-expanded="true"] { color: var(--green-700); font-weight: 700; }
}
@media (min-width: 820px) {
  :root .nav-link:focus-visible { color: var(--green-700); font-weight: 700; }
}

/* ---------- nav underline motion: a one-way pass ----------
   The line always travels left to right. It grows in from the link's left edge when the pointer arrives, and when the
   pointer leaves its left end follows through and runs out at the right edge; it never retracts the way it came.
   Arriving is slow and soft (.7s, easing out, most of it done in the first quarter second); leaving takes .3s. Only the line moves.
   The marker for the section you are in arrives and leaves the same way as the page scrolls. */
@media (min-width: 1280px) {
  :root .nav-link::after { transform-origin: right center; transition: transform .3s cubic-bezier(.35, .55, .4, 1); }
  :root .nav-link[aria-current="true"]::after, :root .nav-link:focus-visible::after { transform-origin: left center; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
}
@media (hover: hover) and (min-width: 1280px) {
  :root .nav-link:hover::after, :root .nav-link[aria-expanded="true"]::after { transform-origin: left center; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
}
@media (prefers-reduced-motion: reduce) {
  :root .nav-link::after, :root .nav-link:hover::after, :root .nav-link[aria-current="true"]::after, :root .nav-link:focus-visible::after, :root .nav-link[aria-expanded="true"]::after { transition: none; }
}

/* ---------- section titles: an engraved scale plate ----------
   Services, Specialties and Why KINORA. The title is a deep green plate, the width of its column, with the title set in
   light gold. Two things on the plate come from the rest of the site, so the block is more than a filled box:
   - the measuring rule is engraved along its lower edge in gold (the same 12px and 60px ticks as the rulers), so the
     plate reads as the scale of an instrument, and no separate line or ruler sits under the title;
   - its right end is cut on the slant of the reception desk in the hero photo, wider at the foot.
   A small gold point ring, the site's marker for a point on the body, sits near the cut end. */
:root .sec-label { padding-bottom: 0; border-bottom: 0; background-image: none; }
:root .sec-label .sec-h, :root:lang(zh-Hans) .sec-label .sec-h {
  position: relative; display: block; width: auto; max-width: none; margin: 0; padding: 14px 64px 24px 22px;
  color: var(--gold-lt);
  background:
    repeating-linear-gradient(90deg, rgba(242, 208, 107, 1) 0 1px, transparent 1px 60px) 0 100% / 100% 11px no-repeat,
    repeating-linear-gradient(90deg, rgba(242, 208, 107, .66) 0 1px, transparent 1px 12px) 0 100% / 100% 6px no-repeat,
    linear-gradient(rgba(242, 208, 107, .55), rgba(242, 208, 107, .55)) 0 6px / 100% 1px no-repeat,   /* a fine line inside the top edge */
    var(--green-800);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 100%, 0 100%);
}
:root .sec-label .sec-h::after {
  content: ""; position: absolute; right: 46px; top: calc(50% - 10px); width: 9px; height: 9px; box-sizing: border-box;
  border: 1.5px solid var(--gold-lt); border-radius: 50%;
}
:root.scroll-story .services .svc-head::after { display: none; }   /* the ruler now lives on the plate */
:root.scroll-story .why .why-head { padding-bottom: 0; border-bottom: 0; background: none; }
@media (min-width: 820px) {
  :root.scroll-story .services .svc-head { padding-bottom: 0; }
}
@media (max-width: 819px) {
  :root .sec-label .sec-h, :root:lang(zh-Hans) .sec-label .sec-h,
  :root.scroll-story .services .svc-head .sec-h, :root:lang(zh-Hans).scroll-story .services .svc-head .sec-h {
    padding: 6px 48px 16px 14px; line-height: 36px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%);
    background-size: 100% 9px, 100% 5px, 100% 1px, auto; background-position: 0 100%, 0 100%, 0 4px, 0 0;
  }
  :root .sec-label .sec-h::after { right: 34px; top: calc(50% - 9px); }
}

/* ---------- specialties: a clearly different selected state ----------
   When one specialty is pointed at or focused, the others fall well back and the chosen one changes in three ways:
   its name turns green, its text goes to full ink, and its point becomes the figure's glowing gold point. */
:root #spec-list > .spec > * { transition: opacity .35s var(--ease), color .25s var(--ease); }
:root #spec-list.has-sel > .spec:not(.is-sel) > * { opacity: .34; }
:root #spec-list > .spec.is-sel .spec-name { color: var(--green-700); }
:root #spec-list > .spec.is-sel .spec-d, :root #spec-list > .spec.is-sel .spec-d p, :root #spec-list > .spec.is-sel .spec-sub li { color: var(--ink); }
:root .spec .spec-pin { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s; }
:root .spec.is-sel .spec-pin, :root .spec.is-on .spec-pin, :root button.spec-btn:hover .spec-pin {
  background: radial-gradient(circle at 42% 38%, #f7d680, #dca832 58%, #c38e22); border-color: transparent; transform: scale(1.55);
  box-shadow: 0 0 0 4px rgba(227, 170, 50, .2), 0 0 12px 3px rgba(227, 170, 50, .45);
}
@media (prefers-reduced-motion: reduce) {
  :root #spec-list > .spec > *, :root .spec .spec-pin { transition: none; }
}

/* ---------- language switch: in a box ----------
   An outlined box the height and corner of the Call Now button; it fills black on hover like the buttons. */
@media (min-width: 820px) {
  :root .top .lang-seg { height: 44px; padding: 0 14px; border: 1px solid var(--green-800); border-radius: 6px; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
  :root .top-actions { gap: 16px; }
}
@media (min-width: 1280px) {
  :root .top-actions { gap: 16px; }
}

/* ---------- the title plate is the only thing that may cover the figure ----------
   The label's own box was painted in the page colour, so a white rectangle hid the figure beside and above the plate.
   On desktop it is clear now; only the green plate covers. (On phone the band keeps its fill: it hides the service
   text leaving beneath it, and the figure sits above it, not behind.) */
@media (min-width: 820px) {
  :root .sec-label, :root.scroll-story .why .why-head, :root.scroll-story .services .svc-head { background-color: transparent; }
}

/* ---------- motion: every detail arrives, and answers the pointer ----------
   One vocabulary, slow and soft: things RISE (fade up 12 to 14px), lines DRAW left to right, points POP and then
   BREATHE. ui.js marks an element .m-in the first time it comes into view; html.m-ready turns the hidden starting states
   on, so without the script, or with reduced motion, everything is simply shown. Headings keep their word-by-word fade. */
:root.m-ready :is(.svc-desc, .who-intro, .close-lede, .contact-lede, .map-card) { opacity: 0; translate: 0 28px; transition: opacity 1s var(--ease), translate 1.1s var(--ease); }
:root.m-ready :is(.svc-desc, .who-intro, .close-lede, .contact-lede, .map-card).m-in { opacity: 1; translate: none; }
/* groups: the children follow one another */
:root.m-ready :is(.svc-detail .svc-label, .svc-detail .svc-items > li, .svc-detail .pkgs > li, .care-actions > .care-action, .review-list > li, .contact-dl > div, .foot-top > *, .foot-bottom > *) {
  opacity: 0; translate: 0 24px;
  transition: opacity .9s var(--ease), translate 1s var(--ease), background-color .25s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), 0s;
}
:root.m-ready .m-in:is(.svc-detail, .care-actions, .contact-dl, .foot-top, .foot-bottom) :is(.svc-label, .svc-items > li, .pkgs > li),
:root.m-ready .care-actions.m-in > .care-action, :root.m-ready.m-ready .review-list.m-in > li, :root.m-ready .contact-dl.m-in > div,
:root.m-ready.m-ready :is(.foot-top, .foot-bottom).m-in > * { opacity: 1; translate: none; }   /* .m-ready twice: the hiding rule above carries the weight of its longest selector */
:root.m-ready :is(.svc-items, .pkgs, .care-actions, .review-list, .contact-dl, .foot-top, .foot-bottom) > :nth-child(2) { --d: 1; }
:root.m-ready :is(.svc-items, .pkgs, .care-actions, .review-list, .contact-dl, .foot-top, .foot-bottom) > :nth-child(3) { --d: 2; }
:root.m-ready :is(.svc-items, .pkgs, .care-actions, .contact-dl, .foot-top, .foot-bottom) > :nth-child(4) { --d: 3; }
:root.m-ready :is(.svc-items, .pkgs, .contact-dl) > :nth-child(5) { --d: 4; }
:root.m-ready :is(.svc-items, .pkgs) > :nth-child(6) { --d: 5; }
:root.m-ready :is(.svc-items, .pkgs) > :nth-child(7) { --d: 6; }
:root.m-ready :is(.svc-items, .pkgs) > :nth-child(n + 8) { --d: 7; }
:root.m-ready .svc-detail .svc-label ~ .svc-label { --d: 3; }
/* the title plate wipes open from the left, its ticks drawing with it; then its point pops */
:root.m-ready .sec-label .sec-h:not(.m-in) { visibility: hidden; }
:root.m-ready .sec-label .sec-h.m-in { animation: plate-in 1.15s var(--ease) both; }
:root.m-ready .sec-label .sec-h.m-in::after { animation: point-pop .7s cubic-bezier(.34, 1.56, .64, 1) .7s both; }
@keyframes plate-in { from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); } }
@keyframes point-pop { from { scale: 0; opacity: 0; } }
/* rulers and the footer's gold line draw left to right */
:root.m-ready .contact-grid::before { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease); }
:root.m-ready .contact-grid:not(.m-in)::before { clip-path: inset(0 100% 0 0); }
:root.m-ready .foot-bottom { transition: background-size 1.4s var(--ease); }
:root.m-ready .foot-bottom:not(.m-in) { background-size: 0 1px; }

@media (prefers-reduced-motion: no-preference) {
  /* gold points breathe: the logo's point, and the point of the specialty being looked at */
  /* (the logo's point is animated inside its drawing in index.html: styles do not reach a reused drawing) */
  :root .spec.is-sel .spec-pin, :root .spec.is-on .spec-pin { animation: pin-breathe 2.6s ease-in-out infinite; }
  @keyframes pin-breathe {
    0%, 100% { box-shadow: 0 0 0 3px rgba(227, 170, 50, .18), 0 0 9px 2px rgba(227, 170, 50, .38); }
    50% { box-shadow: 0 0 0 6px rgba(227, 170, 50, .12), 0 0 16px 5px rgba(227, 170, 50, .5); }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* cards lift a little and their picture eases closer */
  :root .who-card { transition: translate .6s var(--ease); }
  :root .who-card:hover { translate: 0 -5px; }
  :root .who-card .who-figure img { transition: scale 1.2s var(--ease); }
  :root .who-card:hover .who-figure img { scale: 1.045; }
  :root .who-pill:hover::after { rotate: 90deg; }
  :root .who-care[open] > .who-pill:hover::after { rotate: 135deg; }
  /* the phone on Call Now gives one short ring */
  :root .top .top-book:hover .call-icon { animation: phone-ring .6s var(--ease); transform-origin: 50% 60%; }
  @keyframes phone-ring { 0% { rotate: 0deg; } 25% { rotate: -14deg; } 50% { rotate: 11deg; } 75% { rotate: -6deg; } 100% { rotate: 0deg; } }
  /* footer links: the same one-way line as the nav, in from the left and out to the right */
  :root .foot-col a { background: linear-gradient(var(--gold-lt), var(--gold-lt)) 100% 100% / 0 1px no-repeat; transition: color .2s, background-size .3s cubic-bezier(.35, .55, .4, 1); padding-bottom: 2px; }
  :root .foot-col a:hover { background-position: 0 100%; background-size: 100% 1px; transition: color .2s, background-size .7s cubic-bezier(.16, 1, .3, 1); }
  /* text links: the arrow of Get directions and the plus of a pill already move; text links shift their underline */
  :root .text-link { transition: color .2s, text-underline-offset .3s var(--ease); }
  :root .text-link:hover { text-underline-offset: 7px; }
}
:root.m-ready.m-ready .foot-bottom.m-in > .foot-note { opacity: .75; }   /* its own resting strength */

/* ---------- logo tagline: HEALTH & RECOVERY under KINORA ----------
   Set to exactly the wordmark's width, as in the full logo, and drawn at 11px so it can be read. It is a drawing with a
   fixed text length, so the fit is the same in every browser. On phones the logo takes the desktop size so the line
   stays 11px; phones narrower than 390px keep the smaller logo without the line, because it would crowd Book Now. */
:root .top .brand-lockup { display: grid; grid-template-columns: max-content; row-gap: 5px; }
:root .top .brand-tag { display: block; overflow: visible; width: calc(16px * 654 / 92); height: calc(16px * 54 / 92); }
:root .top .brand-tag text { font: 500 64px var(--f); letter-spacing: 0; fill: var(--logo-word, #10352a); }
@media (max-width: 819px) {
  :root .top .brand .brand-mark { height: 36px; width: calc(36px * 300 / 280); }
  :root .top .brand .brand-word { height: 16px; width: calc(16px * 654 / 92); }
}
@media (max-width: 389px) {
  :root .top .brand .brand-mark { height: 26.3px; width: calc(26.3px * 300 / 280); }
  :root .top .brand .brand-word { height: 11.6px; width: calc(11.6px * 654 / 92); }
  :root .top .brand-tag { display: none; }
}

/* ---------- language box: the slash is the switch ----------
   The box is split by the "/" itself: a slanted edge through the middle. The side of the language in use is filled
   green up to that slanted edge, and when the language changes the fill sweeps across, keeping the slant. So the slash
   is no longer a character between the two letters; it is the shape of the selection. On hover the fill and the border
   go black, like the buttons, and the other language darkens to show it can be picked. */
@media (min-width: 820px) {
  :root .top .lang-seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; height: 44px; padding: 3px; }
  :root .top .lang-seg::after {
    content: ""; position: absolute; inset: 3px; border-radius: 4px; background: var(--green-800);
    clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%);   /* left side, ending on the slash */
    transition: clip-path .8s cubic-bezier(.45, 0, .2, 1), background-color .25s var(--ease);   /* an even sweep: .55s felt quick, 1.1s too slow */
  }
  :root:lang(zh-Hans) .top .lang-seg::after { clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%); }   /* right side, starting on the slash */
  :root .top .lang-seg .lang-opt { position: relative; z-index: 1; display: grid; place-items: center; min-width: 38px; padding: 0 4px; transition: color .5s cubic-bezier(.45, 0, .2, 1); }
  :root .top .lang-seg .lang-opt:first-child { padding-right: 8px; }
  :root .top .lang-seg .lang-opt:last-child { padding-left: 8px; }
  :root .top .lang-seg .lang-opt.is-on { color: #fff; }
  :root .top .lang-opt:first-child::after { content: none; }
}
@media (hover: hover) and (min-width: 820px) {
  :root .top .lang-seg:hover { border-color: #0e100f; }
  :root .top .lang-seg:hover::after { background: #0e100f; }
  :root .top .lang-seg:hover .lang-opt:not(.is-on) { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  :root .top .lang-seg::after, :root .top .lang-seg .lang-opt { transition: none; }
}

/* ---------- the header keeps its spacing in both languages ----------
   Call Now is narrower in Chinese than in English, which moved the language box sideways on every switch. The button
   now has one width for both, so the box stays exactly where it is. */
@media (min-width: 820px) {
  :root .top .top-book { min-width: 156px; justify-content: center; }
  :root .top .menu-btn { min-width: 48px; text-align: right; }   /* MENU and its Chinese label are different widths too */
}

/* ---------- booking options under Contact & Booking ----------
   The three ways to book sit in the left column, under the heading and its line: three green rows, each with its name,
   what happens next and a gold arrow disc. Green at rest and black on hover, like every button. Pressing one opens the
   booking sheet on that path. */
:root .contact .contact-book { margin-top: 28px; scroll-margin-top: calc(var(--head) + 24px); }
:root .contact .care-actions { grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 520px; }
:root .contact .care-action {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; min-height: 0;
  padding: 18px 18px 18px 22px; border-radius: 12px; background: var(--green-800); color: #fff;
}
:root .contact .care-action-h { grid-column: 1; }
:root .contact .care-action-p { grid-column: 1; margin-top: 4px; max-width: 42ch; color: rgba(255, 255, 255, .78); }
:root .contact .care-action-go { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: center; background: var(--gold-metal); color: var(--green-900); }
:root .contact .care-action:hover { background: #0e100f; }
:root .contact .care-action:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; }
@media (max-width: 819px) { :root .contact .care-actions { max-width: none; } }

/* ---------- customer reviews: the green band ----------
   Three cards, one per format a review can take: text only, text with a photo, text with a video. Every card has the
   same parts in the same order, so a real review drops into the matching card: a row of five stars, the customer's
   words, their name set like a signature in the hero's italic serif, and the services they received as small tags.
   The text-only card gives the words more room and a large gold quotation mark; the other two open with the picture
   or the video. Nothing here is a real review: every part says it is waiting for the clinic's own, the stars are empty
   outlines, and the picture and video areas are dashed frames.
   On phone the cards sit in one row that is swiped sideways, each a little narrower than the screen so the next shows. */
:root .review-list { list-style: none; margin: clamp(28px, 3.4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
:root .review-card { display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 16px; background: var(--green-700); box-shadow: inset 0 0 0 1px rgba(242, 208, 107, .2); color: var(--cream); }
:root .review-stars { display: block; width: 124px; height: 20px; fill: none; stroke: var(--gold-lt); stroke-width: 1.3; stroke-linejoin: round; }
:root .review-quote { margin: 0; }
:root .review-quote p { margin: 0; font: var(--t-body); color: rgba(244, 238, 221, .82); }
:root .review-mark { display: block; height: 34px; margin-bottom: 6px; font: 400 5rem/1 var(--serif); color: var(--gold-lt); }
:root .review-text .review-quote p { font: 400 var(--title)/1.3 var(--serif); letter-spacing: -.01em; color: var(--cream); }
:root:lang(zh-Hans) .review-text .review-quote p { letter-spacing: .02em; line-height: 1.45; }
:root .review-name { margin: auto 0 0; padding-top: 6px; font: italic 400 1.375rem/1.2 var(--serif-hero); color: var(--gold-lt); }
:root:lang(zh-Hans) .review-name { font-style: normal; }
:root .review-svc { padding-top: 16px; border-top: 1px solid rgba(242, 208, 107, .22); }
:root .review-svc-h { margin: 0 0 10px; font: var(--t-label); letter-spacing: var(--t-label-track); text-transform: uppercase; color: rgba(244, 238, 221, .7); }
:root:lang(zh-Hans) .review-svc-h { letter-spacing: .08em; }
:root .review-svc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
:root .review-svc li { padding: 5px 12px; border: 1px solid rgba(244, 238, 221, .34); border-radius: 999px; font: var(--t-small); color: var(--cream); }
:root .review-media { display: grid; place-items: center; align-content: center; gap: 12px; aspect-ratio: 16 / 10; margin: -8px -8px 2px; padding: 18px; border: 1px dashed rgba(242, 208, 107, .5); border-radius: 10px; background: var(--green-800); text-align: center; }
:root .review-media figcaption { max-width: 22ch; font: var(--t-small); color: rgba(244, 238, 221, .78); }
:root .review-glyph { width: 44px; height: 44px; fill: none; stroke: var(--gold-lt); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:root .review-play { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold-metal); color: var(--green-900); }
:root .review-play svg { width: 24px; height: 24px; fill: currentColor; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :root.m-ready.m-ready .review-list.m-in > .review-card { transition: opacity .9s var(--ease), translate .5s var(--ease), box-shadow .3s var(--ease); }
  :root.m-ready.m-ready .review-list.m-in > .review-card:hover { translate: 0 -6px; transition-delay: 0s; box-shadow: inset 0 0 0 1px rgba(242, 208, 107, .6); }
  :root .review-card:hover .review-play { scale: 1.1; }
}
/* The cards run in one row that carries on past the page edge, drifts sideways on its own and loops (ui.js, reviewRow),
   like the Who we help row: it can be swiped or scrolled sideways, holds still under the pointer, and has no buttons.
   The row has room above and below its cards, so a card that lifts on hover or rises in is not cut off. */
:root .reviews { overflow-x: clip; }
:root .review-list {
  display: flex; grid-template-columns: none; gap: 20px; align-items: stretch;
  margin: calc(clamp(28px, 3.4vw, 48px) - 10px) calc(-1 * var(--inset, 20px)) -20px; padding: 10px var(--inset, 20px) 30px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: none; scroll-padding-inline: var(--inset, 20px); scrollbar-width: none;
}
:root .review-list::-webkit-scrollbar { display: none; }
:root .review-card { flex: 0 0 380px; min-width: 0; scroll-snap-align: start; }
:root.m-ready .review-list > :nth-child(6n+1) { --d: 0; }
:root.m-ready .review-list > :nth-child(6n+2) { --d: 1; }
:root.m-ready .review-list > :nth-child(6n+3) { --d: 2; }
:root.m-ready .review-list > :nth-child(6n+4) { --d: 3; }
:root.m-ready .review-list > :nth-child(6n+5) { --d: 4; }
:root.m-ready .review-list > :nth-child(6n) { --d: 5; }
@media (max-width: 819px) {
  :root .review-list { gap: 12px; }
  :root .review-card { flex-basis: min(84vw, 340px); padding: 22px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {   /* nothing drifts; the row is swiped or scrolled by hand and snaps to cards */
  :root .review-list { scroll-snap-type: x proximity; }
}

/* ---------- hero location line: the same text size as the tagline ----------
   18px on desktop and 16px on phone, like the tagline beneath or above it. It keeps its capitals and its gold ring; the
   letter-spacing is eased from the small-label value, which is too wide at this size, and the ring grows with the text.
   On phone the line now takes two lines. */
:root .hero .hero-eyebrow, :root:lang(zh-Hans) .hero .hero-eyebrow { font-size: 1.125rem; line-height: 1.55; letter-spacing: .06em; text-wrap: balance; }
:root .hero .hero-eyebrow::before { width: 9px; height: 9px; margin-right: 11px; vertical-align: .08em; }
@media (max-width: 819px) {
  :root .hero .hero-eyebrow, :root:lang(zh-Hans) .hero .hero-eyebrow { font-size: 1rem; line-height: 1.5; letter-spacing: .05em; }
}

/* ---------- hero stats: larger labels and details ----------
   The label under each number is the tagline's size (18px) and the line of detail under it is 15px (they were 15px and
   12px). The row is wider so the longest detail still fits its column. On phone the labels go from 12px to 14px. */
@media (min-width: 820px) {
  :root .hero .readouts, :root.scroll-story .hero .readouts { width: min(100%, 800px); }
  :root .hero .ro-label { font: 500 1.125rem/1.3 var(--f); margin-top: 6px; }
  :root .hero .ro-detail { font: 400 .9375rem/1.4 var(--f); margin-top: 4px; }
  :root .hero .ro:not(:last-child) .ro-detail { max-width: 12em; }
}
@media (max-width: 819px) {
  :root .hero .ro-label { font: 500 .875rem/18px var(--f); }
}

/* ---------- Contact & Booking: the same title plate as the other sections ----------
   The heading is the green plate with gold ticks. The separate gold ruler that ran above the section is removed, since
   the plate carries the ruler. The plate is as wide as the booking rows beneath it, and it does not pin while scrolling. */
:root .contact .contact-label { position: relative; top: auto; width: auto; max-width: 520px; padding: 0; }
:root .contact .contact-grid::before { display: none; }
:root .contact .contact-lede { margin-top: 20px; }
@media (max-width: 819px) { :root .contact .contact-label { max-width: none; } }

/* ---------- gold text on buttons and on the selected language ----------
   Every green button's label is the light gold, at rest and on its black hover (9.0 to 1 on the green, 13 to 1 on black).
   In the language box the letter on the green fill is gold too. The booking rows' names are gold; their line of
   description stays light so two golds do not stack. */
:root .btn-primary, :root .btn-ghost, :root .top .top-book, :root .top-actions > .top-booknow, :root .who-pill,
:root .btn-primary:hover, :root .btn-ghost:hover, :root .top .top-book:hover, :root .top-actions > .top-booknow:hover,
:root .who-pill:hover, :root .who-care[open] > .who-pill { color: var(--gold-lt); }
:root .contact .care-action-h { color: var(--gold-lt); }
@media (min-width: 820px) {
  :root .hero .actions .btn-primary, :root .hero .actions .btn-ghost,
  :root .hero .actions .btn-primary:hover, :root .hero .actions .btn-ghost:hover { color: var(--gold-lt); }
  :root .top .lang-seg .lang-opt.is-on, :root .top .lang-seg:hover .lang-opt.is-on { color: var(--gold-lt); }
}
@media (max-width: 819px) {
  :root .hero .actions .btn, :root .hero .actions .btn:hover { color: var(--ink); }   /* the phone hero's text link stays ink */
}

/* ---------- footer: social icons ----------
   Seven marks in a row under the address, in the light gold. Each sits in a 40px target. A mark that has an address is
   a link and brightens on hover; one that is still waiting for its address is shown but does not respond.
   The drawings are from the open Simple Icons set (CC0). */
:root .foot-social { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 0 -10px; padding: 0; }
:root .foot-social .social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; color: var(--gold-lt); transition: color .2s var(--ease), background-color .2s var(--ease), translate .3s var(--ease); }
:root .foot-social svg { width: 20px; height: 20px; fill: currentColor; }
:root .foot-social a.social:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 2px; }

/* footer legal links (plain text until the legal pages existed) */
:root .foot-legal a { color: inherit; text-decoration: none; }
:root .foot-legal a:hover, :root .foot-legal a:focus-visible { color: var(--gold-lt); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- phone: its own hero photo, Call Now in the header, both hero buttons, no blur ----------
   Phones get a portrait photo of the reception (wall above, desk below), so the text sits on the wall and nothing is
   cropped from a wide picture. The header shows Call Now, as on desktop, in place of Book Now; booking is the first of
   the two buttons at the foot of the hero. The stats sit straight on the photo, without the blurred panel. */
@media (max-width: 819px) {
  /* The phone photo (941 x 1672) shows the whole desk. It is sized and placed from the desk, not centred:
     --ph-h  the picture's drawn height: tall enough to cover the screen, and otherwise sized so the desk spans the
             screen width less 24px each side (the desk is 0.4516 of the picture's height wide);
     --ph-b  how far above the foot of the hero the bottom of the desk's fluted front sits: 130px, which puts the stats
             on the front with 10px under them, or higher on a tall screen where the picture has no room to move down.
     The desk is centred sideways (its centre is 0.3083 of the picture's height from the picture's left edge), but never
     so far left that the picture's right edge comes inside the screen (the picture is 0.5628 of its height wide). */
  :root .hero {
    --ph-h: max(100svh, calc((100vw - 48px) * 2.2146));
    --ph-b: max(calc(130px + env(safe-area-inset-bottom, 0px)), calc(100svh - var(--ph-h) * .7602));
  }
  .hero-photo {
    background-image: url("assets/hero-reception-phone.webp"); background-size: auto var(--ph-h);
    background-position: left max(calc(100vw - var(--ph-h) * .5627), calc(50vw - var(--ph-h) * .3083)) bottom calc(var(--ph-b) - var(--ph-h) * .2398);
  }
  /* On a very small phone the hero grows taller than the screen. The picture then measures the hero itself, not the
     screen, so it still covers the top. */
  @supports (container-type: size) {
    .hero-bg { container-type: size; }
    .hero-photo {
      --ph-h: max(100cqh, calc((100cqw - 48px) * 2.2146));
      --ph-b: max(calc(130px + env(safe-area-inset-bottom, 0px)), calc(100cqh - var(--ph-h) * .7602));
      background-position: left max(calc(100cqw - var(--ph-h) * .5627), calc(50cqw - var(--ph-h) * .3083)) bottom calc(var(--ph-b) - var(--ph-h) * .2398);
    }
  }
  /* The stats' row is as tall as the desk from its top down to 10px above the foot of its front, and the stats sit at
     the bottom of that row. So the row starts at the top of the desk in both languages, and the gap above it is the
     clear wall between the tagline and the desk. */
  :root .hero .readouts, :root.scroll-story .hero .readouts { align-self: end; margin-top: 0; padding: var(--ro-gap) 0 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* The gold rule above each stat, as on desktop: three short lines, clear of the dividers between the stats. It sits
     10px above the numbers, or closer where the desk is drawn smaller, so it stays on the fluted front under the oak
     counter (the counter ends 0.0431 of the picture's height below the top of the desk). */
  :root .hero { --ro-gap: clamp(6px, calc(var(--ph-h) * .1262 - 86px), 10px); }
  :root .hero .ro::before { display: block; left: 10px; right: 10px; top: calc(-1 * var(--ro-gap)); height: 1.5px; }
  /* Under the headline the order is the same as on desktop: the location line, then the tagline. The headline keeps its
     place on the wall (60 shares of the free height above it); the other 40 shares sit between it and the location
     line, so the two lines rest low on the wall, just above the desk. The gap between the stats and the buttons is
     what keeps the stats on the desk front: 18px, or more on a tall screen. */
  :root .hero .hero-eyebrow, :root:lang(zh-Hans) .hero .hero-eyebrow { grid-area: 4 / 1; }
  :root .hero .lede, :root:lang(zh-Hans) .hero .lede { grid-area: 6 / 1; }
  :root .hero, :root.scroll-story .hero { grid-template-rows: minmax(24px, 60fr) auto minmax(clamp(10px, 1.9svh, 18px), 40fr) auto clamp(12px, 2.2svh, 22px) auto clamp(14px, 2.3svh, 20px) calc(var(--ph-h) * .1693 - 10px) calc(var(--ph-b) - 112px - env(safe-area-inset-bottom, 0px)) auto; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  :root .hero .actions { display: grid; justify-items: center; gap: 10px; width: 100%; }
  :root .hero .actions .btn, :root .hero .actions .btn:hover {
    display: inline-flex; justify-content: center; align-items: center; width: min(100%, 300px); height: 46px; min-height: 46px; margin: 0; padding: 0 16px;
    border: 0; border-radius: 6px; background: var(--green-800); color: var(--gold-lt); text-decoration: none;
    font: var(--t-label); letter-spacing: var(--t-label-track); text-transform: uppercase;
  }
  :root .hero .actions .btn:active { background: #0e100f; }
  :root .top-actions > .top-booknow { display: none; }
  :root .top-actions > .js-call {
    display: inline-flex; align-items: center; --h: 44px; width: auto; min-width: 0; height: 44px; min-height: 44px; padding: 0 14px; gap: 6px;
    border-radius: 6px; background: var(--green-800); color: var(--gold-lt); -webkit-backdrop-filter: none; backdrop-filter: none;
    font: var(--t-label); letter-spacing: var(--t-label-track); text-transform: uppercase; white-space: nowrap;
  }
  :root .top-actions > .js-call > span { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; }
  :root .top-actions > .js-call .call-icon { width: 16px; height: 16px; }
  :lang(zh-Hans) .top-actions > .js-call { letter-spacing: .08em; font-size: .8125rem; }
}
/* The narrowest phones (under 360px): tighter header padding and gaps, so the logo keeps its full width beside Call Now. */
/* Under 375px the desk is too small for a rule between the counter and the numbers, so the stats go without it. */
@media (max-width: 374px) and (orientation: portrait) {
  :root .hero { --ro-gap: 0px; }
  :root .hero .ro::before { display: none; }
}
@media (max-width: 359px) {
  :root .top { padding: 0 6px 0 14px; }
  :root .top .brand { flex: none; }
  :root .top-actions { gap: 4px; }
  :root .top-actions > .js-call { padding: 0 10px; }
}

/* ---------- logo: the K mark keeps the width written for it, in every browser ----------
   styles.css gives the mark "min-width: max-content". Chrome reads that as the width set here, but Safari (every
   browser on iPhone) reads it as an SVG's default drawing width, 300px: the K then sits in the middle of a 300px box
   and the wordmark is pushed behind Call Now and off the screen. The mark's width is always written out, so it needs no
   minimum. */
:root .brand .brand-mark { min-width: 0; flex-shrink: 0; }

/* ---------- gold line under the logo ----------
   One fine gold line under the header logo, on phone and desktop. It runs in from the left edge of the screen and ends
   where the wordmark ends. It hangs from the wordmark block, so it follows the logo at every size. The metal gradient
   is laid over the last 220px, which is the part on screen. */
:root .top .brand-lockup { position: relative; }
:root .top .brand-lockup::after {
  content: ""; position: absolute; right: 0; top: calc(100% + 5px); width: 100vw; height: 1.5px; pointer-events: none;
  background: var(--gold-dk) linear-gradient(90deg, var(--gold-dk), var(--gold) 20%, var(--gold-hi) 52%, var(--gold-lt) 72%, var(--gold)) right / 220px 100% no-repeat;
}

/* ---------- social icons: hover is the inverse colours ----------
   At rest an icon is gold on the green footer. On hover the two swap: the square fills with the gold and the icon turns
   the footer's green. Nothing lifts, grows or glows. */
:root .foot-social .social { transition: color .25s var(--ease), background-color .25s var(--ease); }
@media (hover: hover) {
  :root .foot-social .social:hover { color: var(--green-900); background: var(--gold-lt); }
}
:root .foot-social .social:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 2px; }

/* ---------- gold discs: the same animation as when the booking cards were in the green band ----------
   Exactly as it was there: the disc shows the left part of the gold gradient, enlarged to 240%, and on hover the gradient
   slides across over .9s while the disc moves 4px forward and the row turns black; it slides back when the pointer
   leaves. (A separate band of light was tried in its place and removed.) These rules sit after the rows' own background
   rule, which had been cancelling them since the rows moved under Contact & Booking. The play disc on the video review
   keeps the same slide. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :root .contact .care-action-go { background-size: 240% 100%; background-position: 0 0; transition: translate .35s var(--ease), background-position .9s var(--ease); }
  :root .contact .care-action:hover .care-action-go { background-position: 100% 0; }
  :root .review-play { background-size: 240% 100%; background-position: 0 0; transition: background-position .9s var(--ease), scale .4s var(--ease); }
  :root .review-card:hover .review-play { background-position: 100% 0; }
}

/* ---------- phone held sideways (landscape) ----------
   A phone on its side is wide and very short (about 360 to 430px tall), so it gets its own rules, whichever of the two
   width layouts it falls in (phones on their side are 667 to 956px wide, on both sides of the 820px line).
   Header: 56px tall, with 40px controls. Hero: the whole hero fits the one screen, on the wide reception photo:
   headline on two lines, tagline, location line, the three stats in one row, and the two buttons side by side (they are
   stacked when the phone is upright). Section title plates are smaller so they do not use up the short screen. */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --head: 56px; }
  :root .top .top-book, :root .top-actions > .js-call { height: 40px; min-height: 40px; --h: 40px; }
  :root .top .lang-seg { height: 40px; }
  :root .top-actions > .menu-btn { height: 40px; min-height: 40px; }

  /* hero: one screen */
  /* the photo is enlarged and held at its top edge, so the wall fills the screen behind the text and the stats, and the desk only shows along the foot, behind the buttons */
  .hero-photo { inset: 0; top: 0; height: auto; background-image: url("assets/hero-reception-hi.jpg"); background-size: auto max(172%, 62.6vw); background-position: 50% 0; }
  :root .hero, :root.scroll-story .hero {
    grid-template-rows: minmax(14px, 40fr) auto 6px auto 4px auto minmax(12px, 60fr) auto 14px auto;   /* the headline starts clear of the ceiling vent in the photo */
    min-height: 100svh; padding: var(--head) max(20px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  }
  :root .hero .hero-title, :root:lang(zh-Hans) .hero .hero-title { grid-area: 2 / 1; font-size: clamp(1.5rem, 3.55vw, 1.875rem); line-height: 1.16; text-wrap: balance; }
  :root:lang(zh-Hans) .hero .hero-title { line-height: 1.25; }
  :root .hero .hero-title br, :root:lang(zh-Hans) .hero .hero-title br { display: inline; }
  :root .hero .lede br, :root:lang(zh-Hans) .hero .lede br { display: none; }
  :root .hero .lede, :root:lang(zh-Hans) .hero .lede { grid-area: 6 / 1; max-width: none; font: 400 .9375rem/1.45 var(--f); text-wrap: balance; }
  :root .hero .hero-eyebrow, :root:lang(zh-Hans) .hero .hero-eyebrow { grid-area: 4 / 1; font-size: .8125rem; line-height: 18px; letter-spacing: .08em; }
  :root .hero .hero-eyebrow::before { width: 7px; height: 7px; margin-right: 8px; }
  :root .hero .readouts, :root.scroll-story .hero .readouts { grid-area: 8 / 1; align-self: start; width: min(100%, 520px); max-width: none; margin-top: 0; padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  :root .hero .readout-list { gap: 0; }
  :root .hero .ro { padding: 0 8px; }
  :root .hero .ro::before { display: none; }
  :root .hero .ro + .ro { border-left: 1px solid rgba(27, 28, 30, .16); }
  :root .hero .ro-num { font: italic 400 1.625rem/28px var(--serif); letter-spacing: -.02em; }
  :root .hero .ro-label { margin: 1px 0 0; font: 500 .8125rem/16px var(--f); color: var(--ink); }
  :root .hero .ro-detail { display: none; }
  :root .hero .actions { grid-area: 10 / 1; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; gap: 12px; width: 100%; }
  :root .hero .actions .btn, :root .hero .actions .btn:hover, :root .hero .actions .btn-primary, :root .hero .actions .btn-ghost {
    display: inline-flex; justify-content: center; align-items: center; flex: 0 1 220px; width: auto; height: 40px; min-height: 40px; margin: 0; padding: 0 14px;
    border: 0; border-radius: 6px; background: var(--green-800); color: var(--gold-lt); text-decoration: none; white-space: nowrap;
    -webkit-backdrop-filter: none; backdrop-filter: none; font: var(--t-label); letter-spacing: var(--t-label-track); text-transform: uppercase;
  }
  :root .hero .actions .btn:active { background: #0e100f; }

  /* title plates: smaller */
  :root .sec-label .sec-h, :root:lang(zh-Hans) .sec-label .sec-h,
  :root.scroll-story .services .svc-head .sec-h, :root:lang(zh-Hans).scroll-story .services .svc-head .sec-h {
    font-size: 1.625rem; line-height: 30px; padding: 6px 48px 15px 14px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 0 100%);
    background-size: 100% 9px, 100% 5px, 100% 1px, auto; background-position: 0 100%, 0 100%, 0 4px, 0 0;
  }
  :root .sec-label .sec-h::after { right: 32px; top: calc(50% - 9px); }
}

/* ---------- phone held sideways: the sections under the hero ----------
   (index.html gives every phone on its side a page at least 844px wide, so these rules sit on the wide layout: copy in
   the left lane, the figure in the right lane.) On a tall screen Specialties and Why KINORA are held in place for a
   stretch of scroll, and each service is a card pinned under the Services title. A screen this short cannot hold a
   whole stage, and whatever is pinned below its foot can never be reached. So here nothing is pinned: the sections are
   as tall as their content and scroll past the figure, which stays in its lane. */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 820px) {
  :root.scroll-story .specialties { height: auto; min-height: 0; padding-bottom: 32px; scroll-margin-top: 0; }
  :root.scroll-story .spec-hold { position: relative; top: auto; height: auto; min-height: 100svh; padding: calc(var(--head) + 14px) 0 20px; }
  :root.scroll-story .spec-panel { padding-bottom: 4.5rem; }
  :root.scroll-story .spec-list { margin-block: 18px 0; row-gap: 18px; }
  :root.scroll-story .why { height: auto; }
  :root.scroll-story .why-hold { position: relative; top: auto; height: auto; min-height: 100svh; padding: calc(var(--head) + 14px) 0 28px; }
  :root.scroll-story .why .steps { flex: none; margin-top: 18px; row-gap: 20px; align-content: start; }
  :root.scroll-story .why .step-h { font-size: 1.375rem; }
  :root.scroll-story .why .step-tick { margin-bottom: 10px; }
  :root.scroll-story .why .step-p { margin-top: 6px; }
  /* all three points read from the left edge of the copy lane */
  :root.scroll-story .why .step[data-step] .step-in { text-align: left; }
  :root.scroll-story .why .step[data-step] :is(.step-tick, .step-p) { margin-left: 0; }
  :root.scroll-story .services { padding-top: 24px; }
  :root.scroll-story .services .svc-head { position: relative; top: auto; }
  :root.scroll-story #svc-list > .svc, :root.scroll-story #svc-list > .svc:last-child { position: static; min-height: 0; padding: 18px 0 20px; }
  :root.scroll-story #svc-list::after { height: 24px; }
  :root .who { padding-block: 44px; }
}

/* ---------- Contact & Booking: the right side starts level with the lede ----------
   The address, phone, email, hours and the map used to start level with the top of the title plate. They now start
   level with the line under it ("Book a self-pay appointment..."): the plate has the first row to itself, and the right
   side begins in the lede's row. The left column's wrapper is taken out of the layout (display: contents) so the plate,
   the lede and the booking rows can be placed in the same grid as the right side. The last row is flexible, so the tall
   right side adds its height there and does not push the booking rows away from the lede. */
:root .contact .contact-side { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 24px; min-width: 0; }
:root .contact .contact-side .map-card { grid-column: 1; }
@media (min-width: 820px) {
  :root .contact .contact-grid { grid-template-rows: auto auto auto 1fr; row-gap: 0; align-items: start; }
  :root .contact .contact-grid > div:first-child { display: contents; }
  :root .contact .contact-label { grid-column: 1; grid-row: 1; }
  :root .contact .contact-lede { grid-column: 1; grid-row: 2; }
  :root .contact .contact-book { grid-column: 1; grid-row: 3 / span 2; }
  :root .contact .contact-side { grid-column: 2; grid-row: 2 / span 3; row-gap: 28px; margin-top: 23px; }   /* the lede's own 20px, plus 3px so the capitals of ADDRESS start level with the capital of "Book" */
  :root .contact .contact-dl > div:nth-child(-n+2) { padding-top: 0; }
}
