/* ==========================================================================
   Dr. Abhishek Kayal · Paediatric Orthopaedics
   White base · warm charcoal ink · deep orange brand (readable on white) · bright orange for "look here".
   ========================================================================== */

/* Fonts are served from this site (Latin subset from Google Fonts, SIL Open Font License),
   so pages don't wait on a connection to a second server. */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --mist: #FFF7F9;
  --mist-2: #FBE9EF;
  --sand: #FDF2F5;
  --ink: #1C1917;
  --ink-2: #44403C;
  --ink-3: #6F665F;
  --line: #F1E2E7;
  --line-2: #E4CCD5;
  --brand: #8B1E3F;          /* maroon: text, links, buttons, big surfaces with white text: 8.9:1 */
  --brand-bright: #C2185B;   /* deep rose: italic heading words: 5.9:1 */
  --pop: #D6336C;            /* rose: rings, lines, marks and small chips with white text: 4.6:1 */
  --pop-2: #EC7FA3;
  --brand-deep: #6B1530;
  --brand-soft: #FBEAF0;
  --hot: #D6336C;            /* marks, rings, lines and shapes */
  --hot-soft: #FCEBF1;
  --hot-ink: #8B1E3F;
  --ok: #128A4E;
  /* clinic colours, in the maroon family: maroon, rose, dusty mauve (labels always name the clinic too).
     c1 carries white text; c2 and c3 are light, so text on them is ink */
  --c1: #8B1E3F; --c2: #E85D8C; --c3: #C9A0AE;

  /* Type scale: 1.25 (major third) steps from a 17px body, fluid between phone and desktop */
  --fs-label-sm: .84rem;                                   /* labels inside cards */
  --fs-label: clamp(.94rem, .86rem + .26vw, 1.08rem);      /* section labels (eyebrows) */
  --fs-h5: clamp(1.12rem, 1.06rem + .2vw, 1.25rem);        /* list-item titles */
  --fs-h4: clamp(1.32rem, 1.2rem + .4vw, 1.56rem);         /* small card titles */
  --fs-h3: clamp(1.6rem, 1.38rem + .75vw, 1.95rem);        /* card and panel titles */
  --fs-h2: clamp(2.35rem, 1.7rem + 2.3vw, 3.8rem);         /* every section heading */
  --fs-h1: clamp(3rem, 2.05rem + 4.1vw, 6rem);             /* page titles */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --soft: "opsz" 96, "SOFT" 100;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --r1: 14px; --r2: 22px; --r3: 32px;
  --hdr: 78px;
  --wrap: 1260px;
  --gut: clamp(16px, 4vw, 44px);
  --shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 12px 32px -14px rgba(90, 20, 40, .24);
  --shadow-lg: 0 2px 6px rgba(28, 25, 23, .05), 0 30px 70px -28px rgba(90, 20, 40, .38);
  --z-header: 50; --z-tip: 40; --z-loader: 90;
  /* the background motif: growth-chart percentile curves fanning out over a faint grid */
  --curves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='420' viewBox='0 0 640 420'%3E%3Cg fill='none' stroke='%238B1E3F' stroke-width='1.3'%3E%3Cpath stroke-opacity='.12' d='M0 410C140 330 300 250 640 190'/%3E%3Cpath stroke-opacity='.14' d='M0 400C140 305 300 215 640 150'/%3E%3Cpath stroke-opacity='.17' d='M0 390C140 280 300 182 640 112'/%3E%3Cpath stroke-opacity='.26' stroke-width='1.8' d='M0 380C140 255 300 150 640 76'/%3E%3Cpath stroke-opacity='.17' d='M0 370C140 230 300 118 640 42'/%3E%3Cpath stroke-opacity='.14' d='M0 360C140 205 300 88 640 10'/%3E%3C/g%3E%3C/svg%3E");
  --grid: linear-gradient(rgba(139, 30, 63, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 30, 63, .045) 1px, transparent 1px);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r1); font-weight: 700; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-label); font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--brand); }
/* the marigold dash before every label is a tiny height mark */
.eyebrow::before { content: ""; width: 30px; height: 10px; flex: none; background: linear-gradient(var(--hot), var(--hot)) 0 50% / 100% 2.5px no-repeat, linear-gradient(var(--hot), var(--hot)) 0 0 / 2.5px 100% no-repeat; border-radius: 2px; }
.h2 { font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 600; font-variation-settings: var(--soft); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; margin-top: 14px; }
.hl-c { color: var(--brand-bright); font-style: italic; }
.ptitle { font-family: var(--f-display); font-size: var(--fs-h1); font-weight: 600; font-variation-settings: var(--soft); line-height: .98; letter-spacing: -.035em; margin: 16px 0 22px; text-wrap: balance; max-width: 16ch; }
.lede { font-size: clamp(1.04rem, 1.3vw, 1.16rem); color: var(--ink-2); max-width: 58ch; text-wrap: pretty; margin-top: 16px; }
.note { margin-top: 18px; font-size: .92rem; color: var(--ink-3); max-width: 72ch; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); transition: color .2s ease; }
.tlink .i { transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tlink:hover { color: var(--brand-deep); }
  .tlink:hover .i { transform: translateX(4px); }
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .i { transition: transform .2s var(--ease-out); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 12px 28px -10px rgba(214, 51, 108, .85), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--line { border: 1.5px solid var(--line-2); color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--brand-deep); }
.btn--line-light { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.btn--wa { background: #1FAF5A; color: #fff; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .9rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--brand:hover { background: var(--brand-deep); box-shadow: 0 14px 28px -12px rgba(90, 20, 40, .85); }
  .btn--line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
  .btn--light:hover { background: var(--ink); color: #fff; }
  .btn--line-light:hover { background: #fff; color: var(--brand-deep); border-color: #fff; }
  .btn--wa:hover { background: #178C48; }
  .btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
}

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: var(--z-header); transition: background-color .25s ease, transform .3s var(--ease-out), box-shadow .25s ease; view-transition-name: site-header; }
.hdr.is-solid { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.hdr.is-up { transform: translateY(-100%); }
.hdr.is-open { background: #fff; transform: none; box-shadow: 0 1px 0 var(--line); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.mark { width: 46px; height: 46px; overflow: visible; }
.mark__ground { fill: none; stroke: var(--hot); stroke-width: 3.2; stroke-linecap: round; }
.mark__sole { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linejoin: round; }
.mark__toe { fill: var(--ink); }
.mark__fill { fill: var(--brand); }
.mark__step { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .35s var(--ease-spring); }
.mark--lg { width: 46px; height: 46px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo__txt b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; }
.logo__txt small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
@media (hover: hover) and (pointer: fine) { .logo:hover .mark__step { transform: translateY(-6%) rotate(-6deg); } }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 8px 13px; font-size: .96rem; font-weight: 600; color: var(--ink-2); border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--hot); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); background: var(--mist); } }
.burger { display: none; width: 46px; height: 46px; margin-left: auto; border-radius: 50%; background: var(--mist); position: relative; transition: background-color .2s ease; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease-out), top .25s var(--ease-out); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.is-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.is-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
.menu { background: #fff; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease-out), transform .25s var(--ease-out); box-shadow: 0 30px 40px -30px rgba(28, 25, 23, .35); }
.is-open .menu { opacity: 1; transform: none; }
.menu__in { display: grid; gap: 2px; padding-block: 8px 28px; }
.menu__in > a:not(.btn) { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.menu__in > a[aria-current="page"] { color: var(--brand); }
.menu__cta { margin-top: 20px; justify-self: start; }

/* ---------- Entrance + reveal ---------- */
.hero-in { opacity: 0; transform: translateY(14px); animation: inUp .7s var(--ease-out) forwards; animation-delay: calc(.1s + var(--d, 0s)); }
@keyframes inUp { to { opacity: 1; transform: none; } }
.js [data-reveal], .js [data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in, .js [data-reveal-group].is-in > * { opacity: 1; transform: none; }

/* Moving between pages: the header stays put while the page underneath slides up into place
   (browsers without cross-document view transitions simply load the next page). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .22s var(--ease-out) both; }
::view-transition-new(root) { animation: vtIn .42s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(22px); } }

/* ---------- Loading screen (first page of a visit; markup and timing in build.js `loader` and `intro`) ----------
   A turned-in baby foot is drawn, then swings straight (as weekly casts turn a clubfoot), the second footprint
   lands beside it, and the pair flies into the header logo while the white screen lifts. */
.loader { display: none; }
.intro .loader { position: fixed; inset: 0; z-index: var(--z-loader); display: grid; place-items: center; transition: opacity .3s ease; }
.loader.is-fading { opacity: 0; }
.loader__bg { position: absolute; inset: 0; background: var(--bg); clip-path: inset(0); }
.loader__bg::before { content: ""; position: absolute; inset: 0; background-image: var(--curves), var(--grid); background-size: 640px 420px, 32px 32px, 32px 32px; background-position: center; -webkit-mask-image: radial-gradient(70vmin 70vmin at 50% 46%, #000, transparent); mask-image: radial-gradient(70vmin 70vmin at 50% 46%, #000, transparent); }
.loader__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(48vmin 48vmin at 50% 42%, rgba(139, 30, 63, .1), rgba(139, 30, 63, 0)); }
.loader__in { position: relative; display: grid; justify-items: center; gap: 22px; padding: var(--gut); text-align: center; }
.loader__mark { width: clamp(100px, 26vw, 132px); height: auto; overflow: visible; transform-origin: 0 0; }
.loader__ground { fill: none; stroke: var(--hot); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1 1.05; stroke-dashoffset: 1.02; animation: draw .4s var(--ease-out) .05s forwards; }
.loader__sole { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linejoin: round; stroke-dasharray: 1 1.05; stroke-dashoffset: 1.02; animation: draw .6s var(--ease-out) .15s forwards; }
.loader__toe { fill: var(--ink); transform-box: fill-box; transform-origin: center; transform: scale(0); animation: bloom .3s var(--ease-spring) .55s forwards; }
.loader__toe:nth-of-type(2) { animation-delay: .6s; } .loader__toe:nth-of-type(3) { animation-delay: .65s; }
.loader__toe:nth-of-type(4) { animation-delay: .7s; } .loader__toe:nth-of-type(5) { animation-delay: .75s; }
/* the drawn foot starts turned in towards the other foot, then swings round its heel until it points ahead */
.loader__turn { transform: rotate(40deg); animation: straighten .62s var(--ease-spring) .86s forwards; }
@keyframes straighten { to { transform: rotate(0deg); } }
.loader__fill { fill: var(--brand); }
.loader__land { transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(-14%) scale(0); opacity: 0; animation: land .48s var(--ease-spring) 1.3s forwards; }
@keyframes land { 40% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes bloom { to { transform: scale(1); } }
.loader__txt { display: grid; gap: 6px; transition: opacity .25s ease, transform .25s var(--ease-out); }
.loader__txt b { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.05; }
.loader__txt small { font-size: var(--fs-label-sm); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.loader__txt > * { opacity: 0; transform: translateY(10px); animation: inUp .6s var(--ease-out) .4s forwards; }
.loader__txt small { animation-delay: .55s; }
.intro--out .loader__txt { opacity: 0; transform: translateY(-8px); }
.intro--out .loader__bg { clip-path: inset(0 0 100% 0); transition: clip-path .76s var(--ease-in-out); }
/* the page's own entrance waits for the screen to lift */
.intro:not(.intro--out) .hero-in, .intro:not(.intro--out) .hl path { animation-play-state: paused; }

/* ---------- Sections ---------- */
/* section rhythm (round 7, user: some gaps were too big): about 104 + 112 px between sections on a laptop */
.sec { padding: clamp(64px, 8vw, 104px) 0 clamp(72px, 8.5vw, 112px); }
/* shades of the maroon family for whole sections (round 7, user: too white, too empty); white sections get a soft
   maroon glow in two corners */
:root { --s-blush: #FCEDF2; --s-rose: #F9E2EA; --s-mauve: #F4E6EC; }
:where(.sec):not(:where(.sec--mist, .sec--sand, .sec--blush, .sec--mauve)) { background: radial-gradient(36% 42% at 88% 42%, rgba(214, 51, 108, .085), transparent), radial-gradient(30% 36% at 8% 64%, rgba(139, 30, 63, .06), transparent); }
.sec--mist { background: var(--s-blush); }
.sec--sand { background: var(--s-rose); }
.sec--mauve { background: var(--s-mauve); }
.sec--tight { padding-block: clamp(48px, 6vw, 80px); }
.sec--flush { padding-bottom: 0; }
.sec--flush-top { padding-top: 0; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 56px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec__head > .lede { max-width: 46ch; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }
.split .tlink { margin-top: 26px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.dots { display: grid; gap: 9px; }
.dots li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: .98rem; line-height: 1.45; }
.dots li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--brand); }
.dots--lg { gap: 14px; }
.dots--lg li { font-size: inherit; }
.alert { margin-top: 28px; padding: 16px 20px; border-radius: var(--r2); background: var(--hot-soft); border-left: 4px solid var(--hot); color: var(--ink-2); max-width: 80ch; }
.alert b { color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { padding: 10px 17px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); color: var(--ink-2); font-weight: 700; font-size: .92rem; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease-out); }
.seg button:active { transform: scale(.97); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (hover: hover) and (pointer: fine) { .seg button:hover:not([aria-selected="true"]):not([aria-pressed="true"]) { border-color: var(--ink); color: var(--ink); } }
.pill { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-3); background: #fff; }
.pill--now { color: var(--ok); border-color: rgba(18, 138, 78, .35); background: #E7F6EE; }
.pill--now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: blink 1.6s infinite; }
.pill--later { color: var(--brand); border-color: rgba(139, 30, 63, .3); background: var(--brand-soft); }
@keyframes blink { 50% { opacity: .3; } }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); position: relative; flex: none; }
.dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid currentColor; color: var(--brand); animation: ping 2.2s var(--ease-out) infinite; }
.dot.is-live { background: var(--ok); }
.dot.is-live::after { color: var(--ok); }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   HOME · hero: the real photo in an arch, a vivid orange arch outline behind it, a turning text badge
   ========================================================================== */
.hero { position: relative; isolation: isolate; padding: calc(var(--hdr) + clamp(28px, 4.5vw, 60px)) 0 clamp(56px, 6vw, 88px); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 74vw; height: 74vw; right: -22vw; top: -24vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 51, 108, .2), rgba(214, 51, 108, 0)); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: var(--grid); background-size: 44px 44px; -webkit-mask-image: radial-gradient(60% 70% at 78% 40%, #000, transparent 70%); mask-image: radial-gradient(60% 70% at 78% 40%, #000, transparent 70%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__name { margin-top: 18px; font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 700; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.05; color: var(--ink); }
.hero__name span { color: var(--brand-bright); font-style: italic; }
.hero__title { font-family: var(--f-display); font-size: clamp(3rem, 6.4vw, 5.8rem); font-weight: 600; font-variation-settings: var(--soft); line-height: 1; letter-spacing: -.035em; margin: 12px 0 22px; text-wrap: balance; }
.hl { position: relative; isolation: isolate; color: var(--brand-bright); font-style: italic; white-space: nowrap; }
.hl svg { position: absolute; z-index: -1; left: -2%; right: 0; bottom: .02em; width: 104%; height: .3em; overflow: visible; }
.hl path { fill: none; stroke: rgba(214, 51, 108, .4); stroke-width: 15; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1s var(--ease-out) .7s forwards; }
.hero__who { font-size: 1.02rem; font-weight: 700; letter-spacing: .01em; color: var(--ink-2); }
.hero__lede { margin-top: 10px; font-size: 1.06rem; color: var(--ink-2); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; max-width: 660px; border-top: 1.5px solid var(--line-2); }
.hero__stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 16px 16px 0 0; }
.hero__stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero__stats dt { font-size: .84rem; color: var(--ink-3); line-height: 1.3; margin-top: 4px; }
.hero__stats dd { font-family: var(--f-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.03em; line-height: 1; }
.hero__stats dd small { font-size: .5em; letter-spacing: 0; color: var(--brand-bright); margin-left: 2px; }
.hero__visual { position: relative; justify-self: center; width: min(100%, 500px); aspect-ratio: 500 / 640; }
.hero__frame { position: absolute; left: 4%; right: 8%; top: 0; bottom: 3%; margin: 0; border-radius: 999px 999px var(--r3) var(--r3); overflow: hidden; background: var(--mist-2); box-shadow: var(--shadow-lg), 0 0 0 10px #fff; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(214, 51, 108, 0) 62%, rgba(107, 21, 48, .32)); pointer-events: none; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 42% 16%; }
/* the same arch, drawn in vivid orange and set off behind the photo */
.hero__ring { position: absolute; left: 14%; right: 0; top: 5%; bottom: 0; border-radius: 999px 999px var(--r3) var(--r3); border: 3px solid var(--pop); background: linear-gradient(180deg, rgba(214, 51, 108, .14), rgba(214, 51, 108, .02)); }
.hero__badge { position: absolute; right: -3%; top: 11%; width: 124px; height: 124px; border-radius: 50%; background: var(--brand); box-shadow: 0 18px 36px -16px rgba(139, 30, 63, .8); display: grid; place-items: center; }
.hero__badge svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero__badge text { font-family: var(--f); font-size: 9.6px; font-weight: 800; letter-spacing: .17em; fill: #fff; }
.hero__badge .mark { width: 46px; height: 46px; }
.hero__badge .mark__sole { stroke: #fff; }
.hero__badge .mark__fill, .hero__badge .mark__toe { fill: #fff; }
.hero__badge .mark__ground { stroke: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__chip { position: absolute; left: -4%; bottom: 12%; display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px 14px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease-out); }
.hero__chip b { display: block; font-size: .98rem; font-weight: 800; }
.hero__chip small { display: block; font-size: .84rem; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .hero__chip:hover { transform: translateY(-3px); } }

/* ---------- Ticker: two rows moving in opposite directions ---------- */
.ticker { background: linear-gradient(90deg, var(--brand), #A51F4D 50%, var(--brand)); color: #fff; overflow: hidden; padding: 16px 0; display: grid; gap: 10px; }
.ticker__track { display: flex; width: max-content; animation: tick 52s linear infinite; }
.ticker__track--rev { animation-direction: reverse; animation-duration: 60s; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; font-family: var(--f-display); font-size: clamp(1.2rem, 2.1vw, 1.7rem); font-weight: 500; font-variation-settings: var(--soft); letter-spacing: -.01em; white-space: nowrap; }
.ticker li::after { content: ""; width: 9px; height: 9px; margin: 0 26px; border-radius: 50%; background: #fff; flex: none; }
.ticker__track--rev li { color: #FBD3E0; font-style: italic; }
.ticker__track--rev li::after { width: 6px; height: 6px; background: #FBD3E0; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (hover: hover) { .ticker:hover .ticker__track { animation-play-state: paused; } }

/* ---------- Today card ---------- */
.today { background: #fff; border: 1px solid var(--line); border-radius: var(--r3); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.today__fallback { color: var(--ink-2); }
.today__fallback a { color: var(--brand); text-decoration: underline; }
.today__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.today__k { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.today__h { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.025em; line-height: 1.05; margin-top: 6px; }
.today__clock { text-align: right; }
.today__clock b { display: block; white-space: nowrap; font-family: var(--mono); font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.today__clock span { font-size: .78rem; color: var(--ink-3); }
.today__list { display: grid; }
.today__list li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.today__dot { width: 11px; height: 11px; margin-top: 7px; border-radius: 50%; background: var(--c); }
.today__list b { display: block; font-size: 1.08rem; font-weight: 800; }
.today__list div > span { display: block; font-size: .9rem; color: var(--ink-3); margin-bottom: 8px; }
.today__time { font-family: var(--mono); font-size: .92rem; font-weight: 600; white-space: nowrap; padding-top: 3px; }
.today__list li.is-done { opacity: .62; }
.today__none { color: var(--ink-3); display: block !important; }
.today__next { padding: 16px 0 0; font-weight: 600; }
.today__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: .92rem; color: var(--ink-3); }

/* ==========================================================================
   Scroll scenes (shared by the five scenes; behaviour in scene-kit.js)
   A tall section; its stage sticks to the screen while the story plays as you scroll.
   ========================================================================== */
.scene { position: relative; background: linear-gradient(180deg, #FFFFFF 0%, var(--mist) 20%, var(--mist) 100%); }
.js .scene { height: var(--scene-h, 520vh); }
@media (max-width: 759px) { .js .scene { height: var(--scene-h-phone, 430vh); } }
/* The stage is sized to the large viewport so it never resizes while a phone's address bar slides in or out;
   the steps and progress bar follow the visible bottom edge (dvh) instead. */
.scene__sticky { position: relative; height: 100vh; height: 100lvh; min-height: 600px; overflow: hidden; }
.js .scene__sticky { position: sticky; top: 0; }
.scene__sticky::before { content: ""; position: absolute; inset: 0; background-image: var(--curves), var(--grid); background-size: max(100%, 900px) auto, 56px 56px, 56px 56px; background-position: 0 100%, 0 0, 0 0; background-repeat: no-repeat, repeat, repeat; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); opacity: .8; }
.scene__art, .scene__fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scene__labels { position: absolute; inset: 0; pointer-events: none; }
.slabel { position: absolute; left: 0; top: 0; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 8px 18px -10px rgba(90, 20, 40, .4); font-size: .84rem; font-weight: 700; line-height: 1.2; white-space: nowrap; color: var(--ink); opacity: 0; transition: opacity .25s ease; }
.slabel.is-on { opacity: 1; }
.slabel small { display: block; font-size: .74rem; font-weight: 600; color: var(--ink-3); }
.scene__ui { position: relative; height: 100%; height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; gap: 24px; padding-top: calc(var(--hdr) + 4px); padding-bottom: 46px; pointer-events: none; }
.scene__ui > * { pointer-events: auto; }
.scene__head { align-self: start; max-width: 720px; }
.scene__title { font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.03em; line-height: 1; margin-top: 10px; }
.scene__sub { color: var(--ink-3); margin-top: 8px; font-weight: 600; }
.scene__steps { grid-column: 2; grid-row: 1 / 3; align-self: center; display: grid; gap: 6px; counter-reset: st; width: 300px; }
.scene__steps li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; padding: 11px 16px 11px 12px; border-radius: 16px; background: rgba(255, 255, 255, .72); border: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease, opacity .25s ease; opacity: .55; }
.scene__steps li::before { content: counter(st, decimal-leading-zero); grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .76rem; font-weight: 600; background: var(--mist-2); color: var(--ink-3); transition: background-color .25s ease, color .25s ease; }
.scene__steps b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.01em; line-height: 1.15; }
.scene__steps span { font-size: .84rem; color: var(--ink-3); line-height: 1.3; }
.scene__steps li.is-done { opacity: .8; }
.scene__steps li.is-done::before { background: var(--brand-soft); color: var(--brand); }
.scene__steps li.is-on { opacity: 1; background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.scene__steps li.is-on::before { background: var(--hot); color: var(--ink); }
.scene__steps li.is-on span { color: var(--ink-2); font-weight: 600; }
.scene__steps { transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.scene__steps.is-out { opacity: 0; transform: translateX(16px); pointer-events: none; }
.scene__end { position: absolute; right: var(--gut); top: 50%; margin-top: -120px; max-width: 360px; padding: 22px 24px; border-radius: var(--r3); background: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); pointer-events: none; }
.scene__end.is-in { opacity: 1; transform: none; pointer-events: auto; }
.scene__end p { color: var(--ink-2); margin-bottom: 16px; }
.scene__payoff { font-family: var(--f-display); font-size: 3rem; font-weight: 600; font-style: italic; font-variation-settings: var(--soft); letter-spacing: -.03em; line-height: 1; color: var(--brand) !important; margin-bottom: 8px !important; }
.scene__meter { position: absolute; left: var(--gut); bottom: calc(100% - 100dvh + 30px); display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: .9rem; }
.scene__meter b { font-family: var(--mono); font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--brand); }
.scene__bar { position: absolute; left: 0; right: 0; bottom: 0; bottom: calc(100% - 100dvh); height: 4px; background: var(--mist-2); }
.scene__bar span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--hot)); transform-origin: left; transform: scaleX(0); }
/* each scene's own length: the signature scene is the longest */
.scene--clubfoot { --scene-h: 560vh; --scene-h-phone: 450vh; }
.scene--growth { --scene-h: 440vh; --scene-h-phone: 380vh; }
.scene--legs { --scene-h: 440vh; --scene-h-phone: 400vh; }
.scene--remodel { --scene-h: 420vh; --scene-h-phone: 360vh; }

/* drawing style inside the scene SVGs (the house clinical-illustration language) */
.art-ink { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-ink--soft { stroke: rgba(28, 25, 23, .3); stroke-width: 1.4; }
.art-skin { fill: rgba(139, 30, 63, .09); stroke: rgba(28, 25, 23, .9); stroke-width: 2; stroke-linejoin: round; }
.art-bone { fill: rgba(139, 30, 63, .16); stroke: rgba(28, 25, 23, .9); stroke-width: 1.8; stroke-linejoin: round; }
.art-cast { fill: rgba(255, 255, 255, .86); stroke: rgba(28, 25, 23, .35); stroke-width: 1.5; }
.art-hatch { fill: none; stroke: rgba(28, 25, 23, .14); stroke-width: 1.2; }
.art-brand { fill: var(--brand); }
.art-brand-line { fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; }
.art-hot { fill: var(--hot); }
.art-hot-line { fill: none; stroke: var(--hot); stroke-width: 2.4; stroke-linecap: round; }
.art-leader { fill: none; stroke: rgba(28, 25, 23, .55); stroke-width: 1.2; }
.art-ring { fill: none; stroke: var(--hot); stroke-width: 2; }
.art-ring--faint { stroke-opacity: .4; }
.art-dot { fill: var(--hot); stroke: #fff; stroke-width: 2; }
.art-text { font-family: var(--mono); font-size: 12px; fill: var(--ink-3); }

/* ---------- Home: which part needs care (bento of six real X-ray close-ups) ---------- */
.parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 19vw, 260px); gap: 14px; }
.part { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r3); background: radial-gradient(70% 70% at 50% 40%, #FFFFFF, var(--mist) 60%, var(--mist-2)); border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .25s ease, transform .16s var(--ease-out); }
.part:active { transform: scale(.985); }
.part--big { grid-column: span 2; grid-row: span 2; }
.part--tall { grid-row: span 2; }
.part--wide { grid-column: span 2; }
.part img { position: absolute; z-index: -1; left: 50%; top: 6%; height: 66%; width: auto; max-width: 92%; object-fit: contain; transform: translateX(-50%); transition: transform .9s var(--ease-out); }
.part--big img { height: 70%; }
.part--tall img { height: 76%; top: 4%; }
.part--wide img { height: 76%; top: 2%; }
/* an X-ray scan line runs down the picture on hover */
.part::before { content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: -20%; height: 18%; background: linear-gradient(180deg, rgba(236, 127, 163, 0), rgba(255, 236, 242, .75) 50%, rgba(236, 127, 163, 0)); mix-blend-mode: screen; opacity: 0; pointer-events: none; }
.part__n { position: absolute; top: 16px; left: 18px; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.part__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; display: grid; gap: 2px; background: linear-gradient(to top, rgba(255, 255, 255, .97) 48%, rgba(255, 255, 255, 0)); }
.part__body b { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.05; transition: color .2s ease; }
.part--big .part__body b { font-size: var(--fs-h3); }
.part__body span { font-size: .9rem; color: var(--ink-2); }
.part::after { content: ""; position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 16 16 8M10 8h6v6'/%3E%3C/svg%3E") center / 18px no-repeat; transform: scale(.85); opacity: 0; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
@keyframes scanDown { from { top: -20%; } to { top: 100%; } }
@media (hover: hover) and (pointer: fine) {
  .part:hover { border-color: rgba(214, 51, 108, .55); box-shadow: var(--shadow); }
  .part:hover img { transform: translateX(-50%) scale(1.08); }
  .part:hover::before { opacity: 1; animation: scanDown 1.6s var(--ease-in-out) infinite; }
  .part:hover .part__body b { color: var(--brand); }
  .part:hover::after { opacity: 1; transform: none; }
}
.part:focus-visible::after { opacity: 1; transform: none; }
.plusline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; padding: 18px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--r2); color: var(--ink-2); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.why__photo { position: relative; border-radius: var(--r3); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.why__photo figcaption { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px; background: #fff; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow); }
.why__list { display: grid; gap: 4px; margin: 30px 0 28px; }
.why__list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.why__n { font-family: var(--mono); font-size: .86rem; font-weight: 600; color: var(--hot-ink); padding-top: 4px; }
.why__list b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.01em; }
.why__list p { color: var(--ink-2); margin-top: 2px; }
.why__links { display: flex; flex-wrap: wrap; gap: 14px 30px; }

/* ---------- Booking ---------- */
.steps3 { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.steps3::before { content: ""; position: absolute; left: 6px; right: 0; top: 6px; height: 1.5px; background: var(--line-2); }
.steps3 li { position: relative; padding-top: 34px; }
.steps3 i { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--sand); border: 2.5px solid var(--brand); }
.steps3__n { font-family: var(--mono); font-size: .86rem; font-weight: 600; color: var(--hot-ink); }
.steps3 b { display: block; font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; margin: 4px 0 6px; }
.steps3 p { color: var(--ink-2); }
.steps3 a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.callgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.callcard { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 16px; padding: 24px 26px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .25s ease, transform .16s var(--ease-out); }
.callcard:active { transform: scale(.985); }
.callcard__k { grid-column: 1; display: flex; align-items: center; gap: 10px; font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.callcard__k i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.callcard__l { grid-column: 1; margin-top: 12px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.callcard__n { grid-column: 1; font-family: var(--f-display); font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.callcard__b { grid-column: 2; grid-row: 1 / 4; align-self: center; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; transition: background-color .2s ease, transform .2s var(--ease-out), color .2s ease; }
.callcard__b .i { width: 22px; height: 22px; }
.callcard.is-today { border-color: rgba(18, 138, 78, .45); }
.callcard.is-today .callcard__k::after { content: "Today"; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: #E7F6EE; color: var(--ok); letter-spacing: .04em; }
@media (hover: hover) and (pointer: fine) { .callcard:hover { border-color: rgba(139, 30, 63, .45); box-shadow: var(--shadow); } .callcard:hover .callcard__b { background: var(--hot); color: var(--ink); transform: rotate(-12deg); } }
.book__more { margin-top: 18px; color: var(--ink-2); }
.book__more a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Photo strip ---------- */
.film { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); padding: 0 var(--gut) 30px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; cursor: grab; }
.film.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.film figure { flex: none; scroll-snap-align: start; position: relative; height: clamp(260px, 30vw, 380px); border-radius: var(--r2); overflow: hidden; background: var(--mist); }
.film img { height: 100%; width: auto; max-width: none; object-fit: cover; pointer-events: none; transition: transform .6s var(--ease-out); }
.film figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: #fff; font-size: .84rem; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .film figure:hover img { transform: scale(1.04); } }

/* ---------- Home: Dr. Kayal's tips as flip cards ---------- */
.tips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.flip { height: 300px; perspective: 1100px; text-align: left; border-radius: var(--r3); }
.flip__in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s var(--ease-in-out); }
.flip[aria-pressed="true"] .flip__in { transform: rotateY(180deg); }
.flip__f, .flip__b { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r3); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip__f { background: #fff; border: 1.5px solid var(--line-2); font-family: var(--f-display); font-size: 1.42rem; font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.015em; line-height: 1.16; transition: border-color .2s ease; }
.flip__f::before { content: "“"; display: block; height: .5em; font-size: 3.2rem; line-height: .9; color: var(--hot); }
.flip__b { background: var(--brand); color: #fff; transform: rotateY(180deg); font-size: 1rem; font-weight: 500; line-height: 1.5; }
.flip small { font-family: var(--f); font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hot-ink); }
.flip__b small { color: #FFD1DF; }
.flip__f::after { content: "Tap to read why"; margin-top: auto; font-family: var(--f); font-size: .84rem; font-weight: 700; letter-spacing: 0; color: var(--brand); }
.flip__b a { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .flip:hover .flip__f { border-color: var(--brand); } }

/* ---------- Tip card ---------- */
.tip { position: fixed; right: 18px; bottom: 18px; z-index: var(--z-tip); width: min(340px, calc(100% - 36px)); padding: 18px 20px; border-radius: var(--r2); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; }
.tip.is-in { opacity: 1; transform: none; }
.tip__k { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hot-ink); }
.tip__q { margin-top: 6px; font-weight: 700; line-height: 1.35; }
.tip__row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.tip__x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); transition: background-color .2s ease, color .2s ease; }
@media (hover: hover) and (pointer: fine) { .tip__x:hover { background: var(--mist); color: var(--ink); } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.phero { position: relative; isolation: isolate; overflow: clip; padding: calc(var(--hdr) + clamp(48px, 7vw, 96px)) 0 clamp(36px, 5vw, 64px); }
.phero--tight { padding-bottom: clamp(28px, 3vw, 44px); }
.phero::before { content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 30, 63, .09), transparent); }
.phero::after { content: ""; position: absolute; z-index: -1; right: 0; top: 0; width: min(60vw, 760px); height: 100%; background: var(--curves) 100% 100% / 760px 500px no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); opacity: .7; }
.ptitle { view-transition-name: page-title; }




.srcnote { margin-top: 18px; font-size: var(--fs-label-sm); color: var(--ink-3); }
.srcnote a { color: var(--brand); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .srcnote a:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* ---------- Conditions: accordion beside a child figure that lights up the part ---------- */
.atlas { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.atlas__fig { position: sticky; top: calc(var(--hdr) + 16px); display: grid; justify-items: center; gap: 12px; }
.atlas__plate { position: relative; width: min(100%, 330px, calc((100svh - 150px) * 300 / 560)); aspect-ratio: 300 / 560; }
.atlas__plate::before { content: ""; position: absolute; inset: -4% -20%; border-radius: var(--r3); background: radial-gradient(60% 50% at 50% 45%, var(--brand-soft), transparent 72%); }
.child { position: relative; width: 100%; height: 100%; overflow: visible; }
.child .ch-b { fill: rgba(139, 30, 63, .1); stroke: rgba(28, 25, 23, .75); stroke-width: 1.8; stroke-linejoin: round; transition: fill .3s ease, stroke .3s ease; }
.child .ch-l { fill: none; stroke: rgba(28, 25, 23, .3); stroke-width: 1.4; stroke-linecap: round; }
.child .ch-z { fill: transparent; stroke: none; transition: fill .3s ease; }
.child .ch-z.is-hot { fill: rgba(214, 51, 108, .55); }
.child .ch-ring { fill: none; stroke: var(--hot); stroke-width: 2; opacity: 0; transition: opacity .3s ease; }
.child .ch-ring.is-hot { opacity: 1; animation: ringPulse 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ringPulse { 50% { transform: scale(1.12); } }
.atlas__cap { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); }
.acc { display: grid; gap: 10px; }
.acc__item { border-radius: var(--r2); background: #fff; border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .25s ease; scroll-margin-top: calc(var(--hdr) + 16px); }
.acc__item.is-open { border-color: rgba(139, 30, 63, .35); box-shadow: var(--shadow); }
.acc__btn { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 20px; text-align: left; }
.acc__n { font-family: var(--mono); font-size: .8rem; color: var(--hot-ink); }
.acc__t { display: grid; gap: 2px; }
.acc__t b { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.1; }
.acc__t span { font-size: .9rem; color: var(--ink-3); }
.acc__ico { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); transition: background-color .2s ease, transform .3s var(--ease-out); }
.acc__ico::before, .acc__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--brand); transition: transform .3s var(--ease-out), background-color .2s ease; }
.acc__ico::after { transform: rotate(90deg); }
.acc__item.is-open .acc__ico { background: var(--brand); transform: rotate(180deg); }
.acc__item.is-open .acc__ico::before, .acc__item.is-open .acc__ico::after { background: #fff; }
.acc__item.is-open .acc__ico::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; min-height: 0; }
.acc__body { display: grid; gap: 14px; padding: 0 20px 22px; color: var(--ink-2); }
.acc__body h3 { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.acc__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.acc__cols ul { display: grid; gap: 8px; margin-top: 10px; }
.acc__cols li { position: relative; padding-left: 20px; font-size: .97rem; line-height: 1.45; }
.acc__cols li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--brand); }
.acc__body .tlink { justify-self: start; }
html:not(.js) .acc__panel { grid-template-rows: 1fr; }

.txcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.txcard { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r3); background: #fff; border: 1px solid var(--line); }
.txcard__k { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hot-ink); }
.txcard h3 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.08; }
.txlist { display: grid; gap: 2px; }
.txlist li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.txlist b { font-weight: 800; }
.txlist span { color: var(--ink-2); font-size: .97rem; }
.txlist a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Clinics: the week per clinic, and the next seven days ---------- */
.cweeks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cweek { position: relative; display: grid; gap: 14px; align-content: start; padding: 26px 24px 24px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--c); scroll-margin-top: calc(var(--hdr) + 20px); transition: box-shadow .25s ease; }
.cweek:target { box-shadow: 0 0 0 3px var(--brand); }
@media (hover: hover) and (pointer: fine) { .cweek:hover { box-shadow: var(--shadow); } }
.cweek h3 { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.12; }
.cweek__area { font-size: .88rem; color: var(--ink-3); margin-top: 3px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.days li { display: grid; place-items: center; height: 38px; border-radius: 10px; background: var(--mist); color: var(--ink-3); font-size: .8rem; font-weight: 800; }
.days li.is-on { background: var(--c); color: #fff; }
.days li.is-some { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 30%, #fff) 0 5px, #fff 5px 9px); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--c); }
.days li.is-today { outline: 2.5px solid var(--hot); outline-offset: 2px; }
.cweek__when { font-size: 1.02rem; color: var(--ink-2); }
.cweek__when b { color: var(--ink); font-weight: 800; }
.cweek__addr { font-size: .92rem; color: var(--ink-3); line-height: 1.5; }
.cweek__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px; }
.cweek.is-today::after { content: "Today"; position: absolute; top: 20px; right: 20px; font-family: var(--f); font-size: .7rem; font-weight: 800; letter-spacing: .06em; color: var(--ok); background: #E7F6EE; padding: 3px 9px; border-radius: 999px; }
.upnext { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.upnext > li { display: grid; gap: 8px; align-content: start; padding: 14px 12px; border-radius: var(--r2); background: #fff; border: 1px solid var(--line); min-height: 150px; }
.upnext > li.is-today { border-color: var(--hot); box-shadow: 0 0 0 3px var(--hot-soft); }
.upnext__d { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.upnext__d b { font-weight: 800; }
.upnext__d span { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); }
.upnext__d em { font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hot-ink); }
.upnext__s { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, #fff); border-left: 3px solid var(--c); font-size: .82rem; line-height: 1.3; }
.upnext__s b { font-weight: 800; }
.upnext__none { font-size: .84rem; color: var(--ink-3); }

/* ---------- Clinics: pick a clinic, one big call button ---------- */
.picker { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; align-items: stretch; }
.picker__tabs { display: grid; gap: 8px; align-content: start; }
.picker__tabs button { display: grid; grid-template-columns: 12px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: var(--r2); background: #fff; border: 1.5px solid var(--line); transition: border-color .2s ease, box-shadow .25s ease, transform .16s var(--ease-out); }
.picker__tabs button:active { transform: scale(.985); }
.picker__tabs i { grid-row: 1 / 3; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.picker__tabs b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.01em; }
.picker__tabs span { font-size: .88rem; color: var(--ink-3); }
.picker__tabs button[aria-selected="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
@media (hover: hover) and (pointer: fine) { .picker__tabs button:hover:not([aria-selected="true"]) { border-color: var(--ink-3); } }
.picker__panel { display: grid; gap: 16px; align-content: center; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r3); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 5px solid var(--c); animation: inUp .3s var(--ease-out); }
.picker__panel h3 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.05; }
.picker__when { color: var(--ink-2); font-size: 1.04rem; }
.picker__when b { color: var(--ink); }
.picker__call { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--r2); background: var(--brand); color: #fff; transition: background-color .2s ease, transform .16s var(--ease-out); }
.picker__call:active { transform: scale(.985); }
.picker__ico { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.picker__ico .i { width: 24px; height: 24px; }
.picker__call small { display: block; font-size: var(--fs-label-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.picker__call b { display: block; font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.01em; line-height: 1.05; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .picker__call:hover { background: var(--brand-deep); } }
.picker__nocall { padding: 16px 18px; border-radius: var(--r2); background: var(--mist); color: var(--ink-2); }
.picker__addr { color: var(--ink-3); font-size: .95rem; }
.picker__links { display: flex; flex-wrap: wrap; gap: 10px 20px; }

/* ---------- Clinics: right now (status, clinic tabs, live map) ---------- */
.live { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); border-radius: var(--r3); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); --c: var(--c1); }
.live__side { display: grid; gap: 18px; align-content: start; padding: clamp(22px, 3vw, 36px); background: radial-gradient(120% 70% at 0% 0%, var(--hot-soft), #fff 60%); }
.live__title { font-size: var(--fs-label); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.live__status { display: grid; gap: 4px; min-height: 150px; }
.live__k { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.live.is-live .live__k { color: var(--ok); }
.live__h { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.05; margin-top: 6px; }
.live__sub { color: var(--ink-2); font-weight: 600; }
.live__count { justify-self: start; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--pop); color: #fff; font-family: var(--mono); font-size: .84rem; font-weight: 600; }
.live__clock { margin-top: 6px; font-size: .88rem; color: var(--ink-3); }
.live__clock b { font-family: var(--mono); color: var(--ink); }
.live__tabs { display: grid; gap: 8px; }
.live__tabs button { display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center; text-align: left; padding: 12px 14px; border-radius: var(--r2); background: #fff; border: 1.5px solid var(--line); transition: border-color .2s ease, box-shadow .25s ease, transform .16s var(--ease-out); }
.live__tabs button:active { transform: scale(.985); }
.live__tabs i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.live__tabs b { display: block; font-weight: 800; }
.live__tabs small { display: block; font-size: .84rem; color: var(--ink-3); }
.live__tabs em { font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.live__tabs em:empty { display: none; }
.live__tabs em.is-now { background: #E7F6EE; color: var(--ok); }
.live__tabs em.is-next { background: var(--brand-soft); color: var(--brand); }
.live__tabs button[aria-selected="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
@media (hover: hover) and (pointer: fine) { .live__tabs button:hover:not([aria-selected="true"]) { border-color: var(--ink-3); } }
.live__fine { font-size: .82rem; color: var(--ink-3); }
.live__map { position: relative; min-height: 520px; background: var(--mist-2); }
.live__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* a beacon over the map's centre, where the clinic is */
.live__ping { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.live__ping i { position: absolute; left: -40px; top: -58px; width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--c); opacity: 0; animation: beacon 2.4s var(--ease-out) infinite; }
.live__ping i:nth-child(2) { animation-delay: .8s; } .live__ping i:nth-child(3) { animation-delay: 1.6s; }
@keyframes beacon { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.live__btns { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.live__btns .btn--line { background: rgba(255, 255, 255, .95); }

/* ---------- Clinics: the week hour by hour (Gantt) ---------- */
.gantt-wrap { background: #fff; border-radius: var(--r3); padding: clamp(16px, 2.4vw, 28px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gantt__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.gantt__legend li { display: inline-flex; align-items: center; gap: 8px; }
.gantt__legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.gantt__legend-some i { background: repeating-linear-gradient(135deg, var(--c3) 0 3px, #fff 3px 6px); box-shadow: inset 0 0 0 1.5px var(--c3); }
.gantt__legend-now i { width: 3px; height: 16px; border-radius: 2px; background: var(--pop); }
.gantt__scroll { overflow-x: auto; overscroll-behavior-x: contain; padding: 26px 0 4px; }
.gantt__grid { min-width: 720px; display: grid; gap: 8px; --daycol: 136px; }
.gantt__axis { display: grid; grid-template-columns: var(--daycol) 1fr; height: 20px; }
.gantt__ticks { position: relative; }
.gantt__tick { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--mono); font-size: .74rem; color: var(--ink-3); white-space: nowrap; }
.gantt__tick:first-child { transform: none; }
.gantt__tick:last-child { transform: translateX(-100%); }
.gantt__row { display: grid; grid-template-columns: var(--daycol) 1fr; }
.gantt__day { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 0 14px; font-weight: 800; border-radius: 14px 0 0 14px; }
.gantt__day em { font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.gantt__track { position: relative; height: calc(var(--lanes, 1) * 46px + 12px); border-radius: 0 14px 14px 0; background-color: var(--mist); background-image: linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: calc(100% / 8) 100%; }
.gantt__none { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: .84rem; color: var(--ink-3); }
.gantt__row.is-today .gantt__day { background: var(--hot-soft); }
.gantt__row.is-today .gantt__track { background-color: #FFF3F6; }
.gantt__block { position: absolute; top: calc(6px + var(--lane, 0) * 46px); height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 10px; background: var(--c); color: #fff; font-size: .84rem; line-height: 1; white-space: nowrap; box-shadow: 0 0 0 2px #fff; transition: filter .2s ease, transform .16s var(--ease-out), clip-path .6s var(--ease-out); }
.gantt__block b { font-weight: 800; }
.gantt__block span { font-weight: 600; overflow: hidden; text-overflow: ellipsis; min-width: 0; opacity: .92; }
/* open-ended: no fixed closing time, so the block fades out */
.gantt__block--open { -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); }
.gantt__block--some { background: repeating-linear-gradient(135deg, var(--c) 0 6px, color-mix(in srgb, var(--c) 78%, #fff) 6px 12px); }
.gantt__block::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 8px); padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .15s var(--ease-out), transform .15s var(--ease-out); z-index: 3; }
@media (hover: hover) and (pointer: fine) { .gantt__block:hover { filter: brightness(1.06) saturate(1.1); z-index: 2; transform: translateY(-1px); } .gantt__block:hover::after { opacity: 1; transform: none; } }
.gantt__block:focus-visible::after { opacity: 1; transform: none; }
.js .gantt .gantt__block { clip-path: inset(0 100% 0 0 round 10px); }
.js .gantt.is-in .gantt__block { clip-path: inset(-60px -400px -6px -10px round 10px); }
.gantt__row:nth-child(3) .gantt__block { transition-delay: .05s; } .gantt__row:nth-child(4) .gantt__block { transition-delay: .1s; }
.gantt__row:nth-child(5) .gantt__block { transition-delay: .15s; } .gantt__row:nth-child(6) .gantt__block { transition-delay: .2s; }
.gantt__row:nth-child(7) .gantt__block { transition-delay: .25s; } .gantt__row:nth-child(8) .gantt__block { transition-delay: .3s; }
.gantt__now { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--pop); box-shadow: 0 0 0 3px rgba(214, 51, 108, .2); z-index: 2; pointer-events: none; }
.gantt__now span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 6px; background: var(--pop); color: #fff; font-family: var(--mono); font-size: .68rem; font-weight: 600; white-space: nowrap; }
.glist { display: none; }

/* ---------- About ---------- */






/* a statement whose words go from faint to full ink as you read down the page */
.words { font-family: var(--f-display); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.3rem); font-weight: 500; font-variation-settings: var(--soft); line-height: 1.18; letter-spacing: -.02em; max-width: 26ch; text-wrap: pretty; }
.words .w { color: var(--ink); transition: color .25s ease; }
.js .words .w { color: rgba(28, 25, 23, .16); }
.js .words .w.is-on { color: var(--ink); }
.js .words .w.is-on.w--hl { color: var(--brand); font-style: italic; }
.words__sig { margin-top: 26px; font-weight: 700; color: var(--ink-3); }
/* the training journey: a pinned section whose track slides sideways as you scroll down */
.trail { position: relative; }
.js .trail { height: 320vh; }
.trail__sticky { padding: clamp(72px, 9vw, 120px) 0; }
.js .trail__sticky { position: sticky; top: 0; height: 100dvh; min-height: 560px; display: flex; align-items: center; padding: 0; overflow: hidden; }
.trail__sticky > .wrap { width: 100%; }
.trail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.trail__count { font-family: var(--mono); font-size: .95rem; color: var(--ink-3); white-space: nowrap; }
.trail__count b { font-size: 2.2rem; font-weight: 600; color: var(--brand); letter-spacing: -.02em; }
.trail__viewport { margin-top: clamp(32px, 6vh, 64px); overflow: hidden; padding: 6px 0 10px; }
.trail__track { position: relative; display: flex; gap: 18px; width: max-content; will-change: transform; }
.trail__road { position: absolute; left: 30px; right: 30px; top: 22px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 16px); }
.trail__road i { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--hot)); transform-origin: left; transform: scaleX(var(--p, 1)); }
.stop { position: relative; width: min(78vw, 360px); display: grid; gap: 8px; align-content: start; padding: 64px 24px 24px; border-radius: var(--r3); background: var(--mist); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), background-color .35s ease; }
.js .trail .stop { opacity: .4; transform: translateY(10px); }
.js .trail .stop.is-on { opacity: 1; transform: none; background: #fff; box-shadow: var(--shadow); }
.stop__pin { position: absolute; top: 8px; left: 22px; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #fff; border: 2.5px solid var(--line-2); transition: background-color .3s ease, border-color .3s ease; }
.stop.is-on .stop__pin, html:not(.js) .stop__pin { background: var(--brand); border-color: var(--brand); }
.stop--now.is-on .stop__pin { background: var(--hot); border-color: var(--hot); }
.stop small { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hot-ink); }
.stop b { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.15; }
.stop span { color: var(--ink-2); font-size: .98rem; }
.confs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.conf { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: center; padding: 14px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); }
.conf img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--r2); }
.conf__when { font-family: var(--mono); font-size: .78rem; color: var(--hot-ink); }
.conf h3 { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.12; margin: 4px 0 8px; }
.conf div > p:last-child { color: var(--ink-2); font-size: .97rem; }
.conf--award { border-color: rgba(214, 51, 108, .6); box-shadow: 0 0 0 4px var(--hot-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.chips li b { font-family: var(--mono); font-size: .76rem; font-weight: 600; color: var(--brand); padding: 3px 8px; border-radius: 999px; background: var(--brand-soft); }
.gallery { columns: 3 300px; column-gap: 14px; }
.g { break-inside: avoid; margin: 0 0 16px; }
.g button { display: block; width: 100%; border-radius: var(--r2); overflow: hidden; background: var(--mist); cursor: zoom-in; }
.g img { width: 100%; transition: transform .6s var(--ease-out); }
.g figcaption { display: grid; padding: 10px 2px 0; }
.g figcaption b { font-weight: 800; }
.g figcaption span { font-size: .88rem; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .g button:hover img { transform: scale(1.04); } }
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(252, 237, 242, .97); color: var(--ink); }
.lb[open] { display: grid; place-items: center; animation: lbIn .25s var(--ease-out); }
.lb::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } }
.lb__fig { display: grid; gap: 12px; justify-items: center; max-width: min(1200px, 88vw); }
.lb__fig img { max-height: 78vh; width: auto; border-radius: var(--r2); box-shadow: var(--shadow-lg); }
.lb__fig figcaption { display: grid; text-align: center; }
.lb__fig figcaption span { color: var(--ink-3); font-size: .92rem; }
.lb__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out); }
.lb__btn:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .lb__btn:hover { background: var(--brand); color: #fff; } }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 18px; top: 50%; margin-top: -26px; }
.lb__prev .i { transform: rotate(180deg); }
.lb__next { right: 18px; top: 50%; margin-top: -26px; }
.lb__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--ink-3); }

/* ---------- Parents' corner: myth or fact, one card at a time ---------- */
.myths { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 880px; }
.myth { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r3); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.myth__side { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3.4vw, 40px); }
.myth__side small { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.myth__q small { color: #B4432B; }
.myth__q p { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.12; text-decoration: line-through; text-decoration-color: rgba(180, 67, 43, .55); text-decoration-thickness: 2px; }
.myth__a { background: var(--brand); color: #fff; clip-path: inset(0 0 0 100%); transition: clip-path .55s var(--ease-in-out); }
.myth__a small { color: #FFD1DF; }
.myth__a p { font-size: 1.05rem; line-height: 1.55; }
.myths.is-shown .myth__a, html:not(.js) .myth__a { clip-path: inset(0); }
.myths__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.myths__pos { font-family: var(--mono); font-size: .84rem; color: var(--ink-3); margin-left: auto; }
.myths__arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.myths__arrow--prev .i { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .myths__arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
.js .myth:not(.is-on) { display: none; }
.myth.is-on { animation: inUp .35s var(--ease-out); }

.flags { display: grid; gap: 26px; }
.flags__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; counter-reset: fl; }
.flags__list li { counter-increment: fl; display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r2); background: #fff; border: 1px solid var(--line); font-weight: 600; line-height: 1.4; }
.flags__list li::before { content: counter(fl, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; color: var(--hot-ink); padding-top: 2px; }

.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 3vw, 34px); border-radius: var(--r3); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tool__k { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hot-ink); }
.tool h3 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.08; }
.tool__fine { font-size: .84rem; color: var(--ink-3); }
.tool__q { display: grid; gap: 8px; }
.tool__q > p { font-weight: 700; }
.qs { display: grid; gap: 10px; counter-reset: q; }
.qs li { counter-increment: q; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; padding: 14px 16px; border-radius: var(--r2); background: var(--mist); }
.qs p { color: var(--ink-2); font-size: .97rem; }
.qs p::before { content: counter(q) ". "; font-weight: 800; color: var(--brand); }
.yn { display: inline-flex; padding: 3px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }
.yn button { padding: 7px 14px; border-radius: 999px; font-weight: 800; font-size: .88rem; color: var(--ink-2); transition: background-color .2s ease, color .2s ease; }
.yn button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .yn button:hover:not([aria-pressed="true"]) { color: var(--ink); background: var(--mist); } }
.verdict { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r2); background: var(--mist); border-left: 5px solid var(--line-2); transition: background-color .25s ease, border-color .25s ease; }
.verdict b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.01em; }
.verdict span { color: var(--ink-2); font-size: .95rem; }
.verdict.is-ok { background: #E7F6EE; border-color: var(--ok); }
.verdict.is-ok b { color: var(--ok); }
.verdict.is-warn { background: var(--hot-soft); border-color: var(--hot); }
.verdict.is-warn b { color: var(--hot-ink); }
.verdict.is-bad { background: #FDEBE6; border-color: #C8442A; }
.verdict.is-bad b { color: #A8361F; }

/* ---------- Special care: contents, brace schedule, cast care ---------- */
.toc { position: sticky; top: calc(var(--hdr) + 10px); z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 10px; margin: 0 calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.toc::-webkit-scrollbar { display: none; }
.toc a { flex: none; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: .92rem; color: var(--ink-2); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.toc a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .toc a:hover:not(.is-on) { border-color: var(--ink); color: var(--ink); } }
.hdr.is-up ~ main .toc { top: 10px; }
.tracker { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field small { color: var(--ink-3); font-size: .86rem; }
.field input { height: 50px; padding: 0 14px; border-radius: var(--r1); border: 1.5px solid var(--line-2); background: #fff; font-variant-numeric: tabular-nums; }
.field input:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.tracker__out { display: grid; gap: 14px; align-content: start; }
.brace { display: grid; gap: 8px; }
.brace__bar { position: relative; height: 14px; border-radius: 7px; background: var(--mist-2); overflow: hidden; }
.brace__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--hot)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .5s var(--ease-out); }
.brace__legend { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; color: var(--ink-3); }
.castcare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.castcare > div { padding: clamp(22px, 3vw, 32px); border-radius: var(--r3); background: #fff; border: 1px solid var(--line); }
.castcare h3 { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); margin-bottom: 14px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); line-height: 1.45; }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B1E3F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks--warn li::before { background: var(--hot-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A63C08' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.5v.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Guides: hip (sticky drawing, steps scroll past) ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.story__fig { position: sticky; top: calc(var(--hdr) + 24px); height: calc(100vh - var(--hdr) - 48px); max-height: 640px; display: grid; place-items: center; border-radius: var(--r3); background: radial-gradient(80% 80% at 50% 40%, #fff, var(--mist) 62%, var(--mist-2)); border: 1px solid var(--line); overflow: hidden; }
.story__fig::before { content: ""; position: absolute; inset: 0; background-image: var(--grid); background-size: 28px 28px; }
.story__fig svg { position: relative; width: 90%; height: auto; max-height: 90%; overflow: visible; }
.story__tag { position: absolute; left: 16px; top: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: var(--ink-2); box-shadow: 0 1px 0 var(--line); }
.story__steps { display: grid; }
.story__step { min-height: 72vh; display: grid; align-content: center; gap: 12px; padding: 24px 0; opacity: .35; transition: opacity .35s var(--ease-out); }
.story__step.is-on, html:not(.js) .story__step { opacity: 1; }
.story__step small { font-family: var(--mono); font-size: .8rem; color: var(--hot-ink); }
.story__step h3 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.08; }
.story__step p { color: var(--ink-2); max-width: 46ch; }
/* states of the hip drawing (hip.js sets data-state on the svg) */
.hip [data-show] { opacity: 0; transition: opacity .45s ease; }
.hip .hip__ball { transition: transform .8s var(--ease-in-out); }
.hip .hip__cup { transition: d .8s var(--ease-in-out); }

/* ---------- Guides ---------- */
.prose { display: grid; gap: 16px; max-width: 64ch; color: var(--ink-2); }
.prose h3 { margin-top: 12px; font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.prose b { color: var(--ink); }
.prose a, .faq__a a, .acc__body p a, .alert a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.guides { margin-top: clamp(28px, 4vw, 44px); }
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: ph; }
.phases li { counter-increment: ph; display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r3); background: var(--mist); }
.phases__bar { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--brand) var(--fill, 25%), #fff 0); margin-bottom: 10px; }
.phases li:nth-child(1) .phases__bar { --fill: 25%; } .phases li:nth-child(2) .phases__bar { --fill: 50%; }
.phases li:nth-child(3) .phases__bar { --fill: 75%; } .phases li:nth-child(4) .phases__bar { --fill: 100%; }
.phases b { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; }
.phases b::before { content: counter(ph, decimal-leading-zero) "  "; color: var(--hot-ink); font-family: var(--mono); font-size: .8rem; vertical-align: .35em; }
.phases span { color: var(--ink-2); font-size: .97rem; }

/* ---------- FAQs ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr) + 24px); }
.faq__list { display: grid; gap: 10px; }
.faq__item { border-radius: var(--r2); background: #fff; border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .25s ease; }
.faq__item[open] { border-color: rgba(139, 30, 63, .35); box-shadow: var(--shadow); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.01em; line-height: 1.25; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); transition: background-color .2s ease, transform .3s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--brand); transition: transform .3s var(--ease-out), background-color .2s ease; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--brand); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 20px 20px; color: var(--ink-2); }
.faq__item[open] .faq__a { animation: inUp .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .faq__item:not([open]):hover { border-color: var(--line-2); } .faq__item summary:hover .faq__icon { background: var(--mist-2); } }

/* ---------- Sources ---------- */
.srcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.src { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 24px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); }
.src__n { font-family: var(--mono); font-size: .8rem; color: var(--hot-ink); padding-top: 4px; }
.src > div { display: grid; gap: 8px; align-content: start; }
.src b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.01em; line-height: 1.25; }
.src p { color: var(--ink-2); font-size: .97rem; }
.src a { justify-self: start; font-weight: 700; color: var(--brand); }
.src a .i { display: inline-block; width: 15px; height: 15px; margin-left: 5px; vertical-align: -.12em; }
@media (hover: hover) and (pointer: fine) { .src a:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* ---------- 404 ---------- */
.phero--404 { min-height: 88vh; display: flex; align-items: center; }
.lost__feet { width: min(340px, 78vw); margin-bottom: 24px; overflow: visible; }
.lost__feet path { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 1.6; stroke-linejoin: round; }
.lost__feet circle { fill: var(--brand); }
.lost__feet .lost__wob { transform-box: fill-box; transform-origin: 50% 100%; animation: wob 2.8s ease-in-out infinite; }
.lost__feet .lost__wob path { fill: var(--hot-soft); stroke: var(--hot-ink); }
.lost__feet .lost__wob circle { fill: var(--hot); }
@keyframes wob { 50% { transform: rotate(14deg) translate(4px, -2px); } }
.lost .row { margin-top: 28px; }

/* ---------- Footer ---------- */
.ftr { background: var(--s-mauve); padding: clamp(56px, 7vw, 96px) 0 30px; overflow: hidden; }
.ftr__cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 52px); border-radius: var(--r3); background: linear-gradient(130deg, #A51F4D 0%, var(--brand) 45%, #5E1229 100%); color: #fff; position: relative; overflow: hidden; }
.ftr__cta::before { content: ""; position: absolute; inset: 0; background: var(--curves) 100% 100% / 700px 460px no-repeat; filter: brightness(0) invert(1); opacity: .35; }
.ftr__cta::after { content: ""; position: absolute; right: -40px; top: -130px; width: 230px; height: 230px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .55); }
.ftr__big { position: relative; z-index: 1; font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.03em; line-height: .98; }
.ftr__cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; padding: 56px 0 24px; }
.ftr__brand p { margin-top: 16px; color: var(--ink-3); font-size: .95rem; max-width: 40ch; }
.ftr__social { display: flex; gap: 10px; margin-top: 22px; }
.ftr__social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #1FAF5A; color: #fff; transition: background-color .2s ease, transform .16s var(--ease-out); }
.ftr__social a:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .ftr__social a:hover { background: #178C48; transform: translateY(-2px); } }
.ftr__col { display: grid; gap: 11px; align-content: start; }
.ftr__col h3 { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.ftr__col > a { color: var(--ink-2); font-weight: 600; width: fit-content; word-break: break-word; transition: color .2s ease; }
.ftr__wa { display: inline-flex; align-items: center; gap: 8px; }
.ftr__wa .i { color: #1FAF5A; }
.ftr__opd { display: grid; gap: 4px; }
.ftr__opd a { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; transition: background-color .2s ease; }
.ftr__opd i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.ftr__opd span { font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.ftr__opd small { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); white-space: nowrap; }
.ftr__hint { font-size: .88rem; color: var(--ink-3); margin-top: 6px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px dashed var(--line-2); }
@media (hover: hover) and (pointer: fine) { .ftr__col > a:hover { color: var(--brand); } .ftr__opd a:hover { background: #fff; } }
.ftr__word { font-family: var(--f-display); font-size: clamp(3rem, 17vw, 17rem); font-weight: 600; font-style: italic; font-variation-settings: var(--soft); letter-spacing: -.04em; line-height: .95; text-align: center; white-space: nowrap; margin: 18px 0 8px; padding-bottom: .06em; background: linear-gradient(180deg, rgba(139, 30, 63, .42), rgba(194, 24, 91, .1) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.ftr__base { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: .86rem; color: var(--ink-3); }
.ftr__top { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: background-color .2s ease, color .2s ease; }
@media (hover: hover) and (pointer: fine) { .ftr__top:hover { background: var(--ink); color: #fff; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .tips, .castcare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cweeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .upnext { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .scene__ui { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .scene__steps { grid-column: 1; grid-row: 3; align-self: end; width: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .scene__steps li { grid-template-columns: 1fr; padding: 10px; text-align: center; justify-items: center; }
  .scene__steps li::before { grid-row: auto; margin-bottom: 4px; }
  .scene__steps span { display: none; }
  .scene__steps b { font-size: .98rem; }
  /* the closing card takes the heading's place */
  .scene__end { top: calc(var(--hdr) + 4px); margin-top: 0; left: var(--gut); right: auto; max-width: 480px; }
  .scene__head { transition: opacity .3s var(--ease-out); }
  .scene__ui:has(.scene__end.is-in) .scene__head { opacity: 0; }
  .scene__meter { bottom: calc(100% - 100dvh + 140px); }
  .confs { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --hdr: 68px; }
  /* phones: headline and name first, then the photo, then the details */
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { display: contents; }
  .hero__copy > .eyebrow { order: 1; }
  .hero__title { order: 2; margin: 10px 0 14px; }
  .hero__who { order: 3; }
  .hero__visual { order: 4; width: min(100%, 420px); margin: 26px auto 8px; justify-self: center; }
  .hero__lede { order: 5; margin-top: 18px; }
  .hero__actions { order: 6; margin-top: 22px; }
  .hero__stats { order: 7; margin-top: 32px; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .hero__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 14px; }
  .hero__name { order: 2; margin-top: 16px; }
  .split, .why, .atlas, .ahero, .picker, .live, .tracker, .story, .myth { grid-template-columns: 1fr; }
  .live__map { min-height: 360px; }
  .live__status { min-height: 0; }
  .atlas__fig { position: static; grid-template-columns: auto 1fr; align-items: center; justify-items: start; }
  .atlas__plate { width: 120px; }
  .picker__tabs { grid-auto-flow: column; grid-auto-columns: minmax(230px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .picker__tabs::-webkit-scrollbar { display: none; }
  .picker__tabs button { scroll-snap-align: start; }
  .gantt__scroll, .gantt__legend { display: none; }
  .glist { display: grid; gap: 14px; }
  .glist__day > p { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.02rem; margin-bottom: 6px; }
  .glist__day > p em { font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
  .glist__day > ul { display: grid; gap: 6px; }
  .glist__day > ul:empty::before { content: "No OPD"; color: var(--ink-3); font-size: .92rem; }
  .glist__day a { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; gap: 2px 10px; padding: 11px 14px; border-radius: 12px; background: var(--mist); border-left: 4px solid var(--c); }
  .glist__day.is-today a { background: #FFF3F6; }
  .glist__day b { grid-column: 1; grid-row: 1 / 3; align-self: center; font-weight: 800; font-size: .95rem; }
  .glist__day a > span:last-child { grid-column: 2; grid-row: 2; font-size: .86rem; color: var(--ink-2); }
  .glist__bar { grid-column: 2; grid-row: 1; position: relative; height: 6px; margin-top: 5px; border-radius: 3px; background: #fff; }
  .glist__bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--c); }
  .glist__bar i.is-open { -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent); mask-image: linear-gradient(90deg, #000 50%, transparent); }

  .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .part--big { grid-column: span 2; grid-row: span 1; }
  .part--wide { grid-column: span 2; }
  .callgrid { grid-template-columns: 1fr; }
  .steps3 { grid-template-columns: 1fr; gap: 20px; }
  .steps3::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1.5px; height: auto; }
  .steps3 li { padding: 0 0 0 34px; }
  .ahero__photo { max-width: 420px; justify-self: center; width: 100%; }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flags__list, .tools, .txcards, .srcs { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .story__fig { position: sticky; top: calc(var(--hdr) + 8px); height: 42vh; z-index: 1; }
  .story__step { min-height: 60vh; }
  .myth__a { clip-path: inset(100% 0 0 0); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo__txt small { display: none; }
  .hero__chip { left: 0; bottom: 6%; padding: 11px 14px; }
  .hero__badge { width: 96px; height: 96px; right: -1%; top: 6%; }
  .hero__badge .mark { width: 34px; height: 34px; }
  .logo__txt b { font-size: 1.36rem; }
  .mark { width: 40px; height: 40px; }
  .cweeks, .facts, .tips, .castcare { grid-template-columns: 1fr; }
  .flip { height: 196px; }
  .upnext { grid-template-columns: 1fr; }
  .upnext > li { min-height: 0; grid-template-columns: 110px 1fr; align-items: center; }
  .upnext > li > div:last-child { display: grid; gap: 6px; }
  .acc__cols { grid-template-columns: 1fr; }
  .parts { grid-auto-rows: 230px; gap: 10px; }
  .part:not(.part--big) svg { height: 54%; }
  .part:not(.part--big) .part__body { padding: 32px 14px 14px; background: linear-gradient(to top, #fff 62%, rgba(255, 255, 255, 0)); }
  .part__body span { font-size: .84rem; }
  .ftr__cta::after { right: -120px; top: -175px; }
  .qs li { grid-template-columns: 1fr; }
  .yn { justify-self: start; }
  .ftr__grid { grid-template-columns: 1fr; }
  .callcard { padding: 20px; }
  .callcard__k { display: block; line-height: 1.6; }
  .callcard__k i { display: inline-block; margin-right: 10px; vertical-align: 1px; }
  .callcard.is-today .callcard__k::after { display: inline-block; line-height: 1.4; }
  .callcard__b { width: 50px; height: 50px; }
  .today__time { font-size: .82rem; }
  .scene__steps { gap: 4px; }
  .scene__steps li { padding: 8px 2px; background: transparent; border: 0; box-shadow: none !important; }
  .scene__steps li.is-on { background: #fff; }
  .scene__steps b { font-size: .76rem; }
  .scene__steps li::before { width: 28px; height: 28px; }
  .scene__end { right: var(--gut); max-width: none; padding: 18px 20px; }
  .scene__payoff { font-size: var(--fs-h2); }
  .scene__meter { bottom: calc(100% - 100dvh + 116px); font-size: .82rem; }
  .slabel { font-size: .76rem; padding: 5px 10px; }
  .lb__prev, .lb__next { top: auto; bottom: 14px; margin-top: 0; }
  .tip { right: 12px; bottom: 12px; }
  .picker__call { padding: 14px 16px; gap: 14px; }
  .picker__ico { width: 46px; height: 46px; }
}

/* A phone held sideways: scene stages fit the screen and keep only the heading, the drawing and the closing
   card's button. Laptops keep everything, however short the window. */
@media (max-height: 500px) and (max-width: 950px) {
  .scene__sticky { min-height: 0; }
  .scene__sub, .scene__steps, .scene__end p:not(.scene__payoff), .scene__meter { display: none; }
  .scene__ui { padding-bottom: 16px; }
  .story__fig { height: 70vh; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  .hero-in { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hl path { animation: none; stroke-dashoffset: 0; }
  .hero__badge svg:first-child { animation: none; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; transition: none; }
  .js .scene { height: auto; }
  .js .scene__sticky { position: relative; }
  .js .trail { height: auto; }
  .js .trail__sticky { position: relative; height: auto; padding: 80px 0; }
  .js .trail .stop { opacity: 1; transform: none; }
  .trail__track { width: auto; flex-wrap: wrap; transform: none !important; }
  .js .words .w { color: var(--ink); }
  .ticker__track, .dot::after, .pill--now::before, .child .ch-ring.is-hot, .lost__feet .lost__wob, .live__ping i { animation: none; }
  .js .gantt .gantt__block { clip-path: none; transition: none; }
  .flip__in, .myth__a, .acc__panel, .part img { transition: none; }
  .tip { transition: opacity .2s ease; transform: none; }
  .story__step { min-height: 0; padding: 32px 0; opacity: 1; }
  /* the loading screen shows the finished logo and fades, with no drawing, turning, landing or lift */
  .loader__ground, .loader__sole, .loader__toe, .loader__turn, .loader__land, .loader__txt > * { animation: none; stroke-dashoffset: 0; transform: none; opacity: 1; }
  .intro--out .loader__bg { clip-path: none; }
}

/* ---------- Scene markers and the clubfoot scene's parts ---------- */
.mk__ring { transform-box: fill-box; transform-origin: center; animation: mkPulse 1.6s ease-in-out infinite; }
.mk__outer { transform-box: fill-box; transform-origin: center; animation: mkPulse 1.6s ease-in-out .3s infinite; }
@keyframes mkPulse { 50% { transform: scale(1.3); } }
.cf-bar { fill: none; stroke: var(--brand); stroke-width: 9; stroke-linecap: round; }
.cf-boot { fill: #fff; stroke: var(--brand); stroke-width: 2.4; stroke-linejoin: round; }
.cf-strap { fill: none; stroke: var(--brand); stroke-width: 10; stroke-linecap: round; opacity: .85; }
.cf-lens__bg { fill: #fff; filter: drop-shadow(0 10px 18px rgba(90, 20, 40, .18)); }
.cf-lens__rim { fill: none; stroke: var(--line-2); stroke-width: 2; }
.cf-tendon { fill: none; stroke: #B4432B; stroke-width: 4; stroke-linecap: round; opacity: .75; }
.cf-snip { stroke-width: 3.2; }
.cf-print { fill: var(--brand); transform-box: fill-box; }
.cf-print:nth-child(even) { fill: rgba(139, 30, 63, .55); }
@media (prefers-reduced-motion: reduce) { .mk__ring, .mk__outer { animation: none; } }
.cf-lens { transform-box: fill-box; transform-origin: center; }

/* ---------- Guided growth, leg chart and fracture scenes ---------- */
.gg-plate { fill: var(--brand); stroke: #fff; stroke-width: 1; }
.gg-screw { fill: #fff; stroke: var(--brand-deep); stroke-width: 2.4; }
.gg-grow { fill: none; stroke: var(--hot); stroke-width: 2.6; stroke-linecap: round; }
.gg-phys { stroke-width: 2.6; }
.lc-panel { fill: rgba(255, 255, 255, .82); stroke: var(--line); }
.lc-bow { fill: rgba(139, 30, 63, .06); }
.lc-knock { fill: rgba(214, 51, 108, .08); }
.lc-grid { stroke: rgba(28, 25, 23, .07); stroke-width: 1; }
.lc-zero { stroke: rgba(28, 25, 23, .4); stroke-width: 1.4; stroke-dasharray: 5 5; }
.lc-axis { font-family: var(--f); font-size: 13px; font-weight: 700; fill: var(--ink-2); }
.lc-curve { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.lc-guide { stroke: var(--hot); stroke-width: 1.4; stroke-dasharray: 3 4; }
.lc-nappy { fill: #fff; stroke: rgba(28, 25, 23, .5); stroke-width: 1.8; }
.rm-vessel { fill: none; stroke: rgba(180, 67, 43, .35); stroke-width: 5; stroke-linecap: round; }
.rm-callus { fill: rgba(139, 30, 63, .2); stroke: rgba(139, 30, 63, .5); stroke-width: 1.5; stroke-dasharray: 4 4; }
.rm-crack { fill: none; stroke: #B4432B; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rm-canvas { pointer-events: none; }
.scene__note { margin-top: 14px; font-size: .86rem; color: var(--ink-3); max-width: 70ch; }
.child .ch-zl path { fill: none; stroke: transparent; stroke-width: 5; stroke-linecap: round; transition: stroke .3s ease; }
.child .ch-zl.is-hot path { stroke: var(--hot); }
.hip__leg { transition: transform .8s var(--ease-in-out); transform-box: view-box; transform-origin: 250px 196px; }
.hip .hip__fan { fill: rgba(139, 30, 63, .14); stroke: rgba(139, 30, 63, .4); stroke-dasharray: 4 4; }
.hip .hip__probe { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.hip .hip__strap { fill: none; stroke: var(--brand); stroke-width: 9; stroke-linecap: round; opacity: .85; }
.hip .hip__cup { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.hip .hip__cup--deep { stroke: var(--brand); stroke-width: 4.5; }
.hip .hip__ring { fill: none; stroke: var(--hot); stroke-width: 2.4; }
.hip .hip__lbl { font-family: var(--mono); font-size: 12px; fill: var(--ink-3); }
.hip .hip__print { fill: var(--brand); }
@media (prefers-reduced-motion: reduce) { .hip__leg, .hip [data-show] { transition: none; } }
.myth__a a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tracker .tool__q { align-content: start; gap: 14px; }
.tracker + .castcare { margin-top: 14px; }
.words { margin-top: 22px; }
.h2--gap { margin-bottom: 28px; }
.acc__body .tlink + .tlink { margin-top: -6px; }
.gg-frame { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
@media (max-width: 640px) { .slabel small { display: none; } }

/* ---------- Home: the see-through 3D child (holo.js + holohome.js) ---------- */
.scene--holo { --scene-h: 760vh; --scene-h-phone: 640vh; background: #fff; }
.scene--holo .scene__sticky { background: radial-gradient(50% 58% at 50% 60%, #F9DDE6 0%, #FDF1F4 42%, #FFFFFF 76%); cursor: grab; }
.scene--holo .scene__sticky.is-drag { cursor: grabbing; }
.scene--holo .scene__sticky::before { opacity: .26; }
.scene__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.scene__still { display: none; }
.no-gl .scene__gl, .no-gl .scene__hint { display: none; }
.no-gl .scene__still { display: block; position: absolute; left: 50%; top: calc(var(--hdr) + 8px); height: calc(100% - var(--hdr) - 150px); width: auto; transform: translateX(-50%); }
/* camera brackets that close in on the part being looked at */
.holo__hud { position: absolute; left: 50%; top: 52%; width: min(340px, 64vw); height: min(340px, 64vw); transform: translate(-50%, -50%) scale(1.3); opacity: 0; transition: transform .7s var(--ease-out), opacity .4s ease; pointer-events: none; }
.holo__hud.is-lock { opacity: .85; transform: translate(-50%, -50%) scale(1); }
.holo__hud i { position: absolute; width: 30px; height: 30px; border: 0 solid var(--pop); }
.holo__hud i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; border-top-left-radius: 12px; }
.holo__hud i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; border-top-right-radius: 12px; }
.holo__hud i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: 12px; }
.holo__hud i:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: 12px; }
.scene__hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 1px 0 var(--line); font-size: var(--fs-label-sm); font-weight: 700; color: var(--ink-2); }
.scene__hint svg { width: 18px; height: 18px; fill: none; stroke: var(--pop); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: none) { .scene__hint .is-mouse { display: none; } }
@media (hover: hover) { .scene__hint .is-touch { display: none; } }
.scene__credit { position: absolute; z-index: 2; right: var(--gut); bottom: calc(100% - 100dvh + 12px); margin: 0; font-size: .66rem; color: var(--ink-3); opacity: .75; text-align: right; }
/* steps along the bottom on every screen, so the child can stand in the middle */
.scene--holo .scene__ui { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
.scene--holo .scene__steps { grid-column: 1; grid-row: 3; align-self: end; width: auto; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 6px; border-radius: var(--r3); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(90, 20, 40, .45); }
.scene--holo .scene__steps li { background: transparent; }
.scene--holo .scene__steps li.is-on { background: #fff; }
.scene--holo .scene__head { position: relative; max-width: 430px; }
.scene--holo .scene__head::before { content: ""; position: absolute; z-index: -1; inset: -50px -90px -50px -70px; background: radial-gradient(closest-side, rgba(255, 255, 255, .94), rgba(255, 255, 255, .7) 55%, rgba(255, 255, 255, 0)); pointer-events: none; }
.scene--holo .scene__meter { left: auto; right: var(--gut); bottom: auto; top: calc(var(--hdr) + 12px); font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.scene--holo .scene__end { z-index: 2; }
@media (max-width: 1120px) { .scene--holo .scene__steps { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .scene--holo .scene__head::before { display: none; }
  .scene--holo .scene__meter { display: none; }
  .scene--holo .scene__head { transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
  .scene--holo.is-close .scene__head { opacity: 0; transform: translateY(-10px); pointer-events: none; }
  .scene__credit { left: var(--gut); text-align: left; bottom: calc(100% - 100dvh + 8px); font-size: .6rem; }
}
@media (max-height: 500px) and (max-width: 950px) { .scene--holo .scene__steps, .scene__credit { display: none; } }
.ftr__cta .btn--line-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
@media (hover: hover) and (pointer: fine) { .ftr__cta .btn--line-light:hover { background: #fff; border-color: #fff; color: var(--brand); } }

/* text on the light clinic orange (Apollo) is ink, not white */
.gantt__block[style*="--c2"], [style*="--c2"] .days li.is-on, .gantt__block[style*="--c3"], [style*="--c3"] .days li.is-on { color: var(--ink); }

/* ---------- Advice: the hip figure and the leg-shape scene ---------- */
.advice__fig { position: relative; margin: 0; display: grid; gap: 12px; justify-items: center; padding: 18px; border-radius: var(--r3); background: radial-gradient(70% 70% at 50% 45%, #FCEFF3, #FFFFFF 70%); border: 1px solid var(--line); }
.advice__fig img { width: min(100%, 420px); height: auto; }
.advice__fig figcaption { font-size: .9rem; color: var(--ink-3); text-align: center; max-width: 44ch; }
.scene--legs { --scene-h: 520vh; --scene-h-phone: 440vh; background: radial-gradient(60% 60% at 30% 60%, #FCEFF3 0%, #FFFFFF 70%); }
.scene--legs .scene__art { z-index: 1; }

/* ---------- Conditions: body-part cards that stack as you scroll (main.js sets --sink and --zoom) ---------- */
.stack { display: grid; gap: 28px; padding-bottom: 6vh; }
.scard { position: sticky; top: calc(var(--hdr) + 14px + var(--i) * 12px); display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: min(660px, calc(100vh - var(--hdr) - 90px)); border-radius: var(--r3); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 -18px 50px -30px rgba(90, 20, 40, .5), var(--shadow); transform-origin: 50% 0; transform: scale(calc(1 - var(--sink, 0) * .05)); filter: brightness(calc(1 - var(--sink, 0) * .07)); scroll-margin-top: calc(var(--hdr) + 14px); }
.scard__fig { position: relative; margin: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(70% 70% at 50% 45%, #FAE1E9, #FEF5F7 55%, #FFFFFF); }
.scard__fig::before { content: ""; position: absolute; inset: 0; background-image: var(--grid); background-size: 30px 30px; opacity: .8; }
.scard__pic { position: relative; display: block; height: 84%; max-height: 560px; transform: scale(calc(1 + var(--zoom, 0) * .12)); transform-origin: 50% 55%; }
.scard__pic img { display: block; height: 100%; width: auto; max-width: none; }
.scard__spots { position: absolute; inset: 0; pointer-events: none; }
.scard__spots i { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--pop), 0 0 22px 6px rgba(214, 51, 108, .55); animation: spot 2s var(--ease-out) infinite; }
.scard__spots i:nth-child(2) { animation-delay: .7s; }
.scard__spots i::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--pop); }
@keyframes spot { 0%, 100% { transform: scale(.75); opacity: 1; } 60% { transform: scale(1.2); opacity: .55; } }
.scard__scan { position: absolute; left: 0; right: 0; top: -20%; height: 20%; background: linear-gradient(180deg, rgba(236, 127, 163, 0), rgba(255, 236, 242, .75) 50%, rgba(236, 127, 163, 0)); mix-blend-mode: screen; animation: scanDown 3.4s var(--ease-in-out) infinite; pointer-events: none; }
.scard__body { display: grid; gap: 14px; align-content: center; padding: clamp(26px, 3.6vw, 52px); }
.scard__n { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--brand); }
.scard__t { font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.03em; line-height: 1; }
.scard__sub { font-weight: 700; color: var(--brand); margin-top: -4px; }
.scard__intro { color: var(--ink-2); max-width: 62ch; }
.scard__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.scard__cols > div { padding: 16px 18px; border-radius: var(--r2); background: var(--mist); }
.scard__cols > div:first-child { background: var(--hot-soft); box-shadow: inset 0 0 0 1px rgba(214, 51, 108, .25); }
.scard__cols h3 { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.scard__cols ul { display: grid; gap: 7px; }
.scard__cols li { position: relative; padding-left: 18px; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.scard__cols li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--brand); }
.scard__cols > div:first-child li::before { background: var(--pop); border-color: var(--pop); }
.scard__cols a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.scard__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.toc--inline { position: static; margin: 24px 0 0; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; flex-wrap: wrap; overflow: visible; }
.acc--wide { max-width: none; }
/* full width (round 7, user): an opened card reads in two columns on wide screens */
@media (min-width: 1000px) {
  .acc--wide .acc__body.prose { display: block; columns: 2; column-gap: clamp(36px, 4vw, 64px); }
  .acc--wide .acc__body.prose > * { break-inside: avoid; }
  .acc--wide .acc__body.prose > * + * { margin-top: 14px; }
  .acc--wide .acc__body.prose > h3 { break-after: avoid; }
}
.acc__item--urgent { border-color: rgba(214, 51, 108, .55); }
.acc__item--urgent .acc__n { color: #fff; background: var(--brand); padding: 3px 8px; border-radius: 999px; }
.acc__body.prose { max-width: none; }
@media (max-width: 900px) {
  .scard { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; transform: none; filter: none; }
  .scard__fig { height: 320px; }
  .scard__pic { height: 92%; }
  .scard__cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .scard { transform: none; filter: none; } .scard__pic { transform: none; } .scard__spots i, .scard__scan { animation: none; } }

.acc__body.prose h3 { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; text-transform: none; color: var(--ink); margin-top: 8px; }

/* ---------- About: scroll-to-expand opening (main.js sets --p from 0 to 1) ---------- */
.reveal-hero { position: relative; --p: 0; }
.js .reveal-hero { height: 230vh; }
.reveal-hero__sticky { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; }
.js .reveal-hero__sticky { position: sticky; top: 0; }
.reveal-hero__sticky::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 55%, rgba(214, 51, 108, .16), transparent 70%), var(--grid); background-size: auto, 48px 48px; }
.reveal-hero__photo { position: absolute; z-index: 1; left: 4vw; right: 4vw; top: calc(var(--hdr) + 12px); bottom: 3vh; margin: 0; overflow: hidden; border-radius: var(--r3);
  clip-path: inset(calc((1 - var(--p)) * 14%) calc((1 - var(--p)) * 36%) calc((1 - var(--p)) * 10%) calc((1 - var(--p)) * 36%) round calc(var(--r3) + (1 - var(--p)) * 220px));
  box-shadow: var(--shadow-lg); }
.reveal-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform-origin: 30% 25%; transform: translateX(calc((1 - var(--p)) * 19%)) scale(calc(1.2 - var(--p) * .2)); }
.reveal-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 25, 23, 0) 55%, rgba(28, 25, 23, .45)); opacity: var(--p); }
.reveal-hero__photo figcaption { position: absolute; left: 24px; bottom: 22px; z-index: 1; padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: .9rem; opacity: calc(var(--p) * 2 - 1); }
.reveal-hero__name { position: absolute; z-index: 2; left: 0; right: 0; top: calc(52% - .55em); display: grid; grid-template-columns: 1fr 31vw 1fr; align-items: center; padding-inline: var(--gut); font-family: var(--f-display); font-size: var(--fs-h1); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.04em; line-height: 1.1; white-space: nowrap; pointer-events: none; }
.reveal-hero__name [data-split="l"] { grid-column: 1; justify-self: end; }
.reveal-hero__name [data-split="r"] { grid-column: 3; justify-self: start; }
.reveal-hero__name span { display: inline-block; transform: translateX(calc(var(--p) * var(--dir) * 40vw)); opacity: calc(1 - var(--p) * 1.4); }
.reveal-hero__name [data-split="l"] { --dir: -1; }
.reveal-hero__name [data-split="r"] { --dir: 1; color: var(--brand-bright); font-style: italic; }
.reveal-hero__eyebrow { position: absolute; z-index: 2; top: calc(var(--hdr) + 26px); left: 50%; transform: translateX(-50%); opacity: calc(1 - var(--p) * 2); }
.reveal-hero__who { position: absolute; z-index: 2; bottom: 9vh; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - var(--gut) * 2); text-align: center; font-weight: 700; color: var(--ink-2); opacity: calc(1 - var(--p) * 2); }
.reveal-hero__hint { position: absolute; z-index: 2; bottom: 3.5vh; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); opacity: calc(1 - var(--p) * 3); }
.reveal-hero__hint::after { content: ""; display: block; width: 2px; height: 26px; margin: 8px auto 0; background: linear-gradient(var(--pop), transparent); animation: hintDrop 1.6s var(--ease-in-out) infinite; }
@keyframes hintDrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
html:not(.js) .reveal-hero__photo { clip-path: none; }
.bio { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.bio__text { display: grid; gap: 16px; color: var(--ink-2); font-size: 1.06rem; }
.counts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 5vw, 64px); }
.counts > div { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: var(--r2); background: var(--mist); border-top: 4px solid var(--pop); }
.counts dd { font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.counts dd small { font-size: .5em; color: var(--brand-bright); margin-left: 2px; }
.counts dt { font-size: .9rem; color: var(--ink-3); line-height: 1.35; }
/* talks: a fanned deck that deals out into a row */
.fan { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fan__card { position: relative; display: grid; align-content: start; gap: 0; padding: 10px 10px 18px; border-radius: var(--r2); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform-origin: 50% 90%; will-change: transform; }
.fan__card img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: 14px; }
.fan__card > div { padding: 14px 6px 0; }
.fan__when { font-family: var(--mono); font-size: .76rem; color: var(--brand); }
.fan__card h3 { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.01em; line-height: 1.15; margin: 4px 0 6px; }
.fan__card p:last-child { color: var(--ink-2); font-size: .94rem; }
@media (max-width: 1120px) { .counts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .bio { grid-template-columns: 1fr; }
  .fan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reveal-hero__photo { left: var(--gut); right: var(--gut); clip-path: inset(calc((1 - var(--p)) * 18%) calc((1 - var(--p)) * 20%) calc((1 - var(--p)) * 14%) calc((1 - var(--p)) * 20%) round calc(var(--r3) + (1 - var(--p)) * 140px)); }
  /* phones: the name sits above the window, the window starts lower */
  .reveal-hero__name { top: calc(var(--hdr) + 18px); grid-template-columns: 1fr; justify-items: center; font-size: var(--fs-h2); }
  .reveal-hero__name [data-split] { grid-column: 1; justify-self: center; }
  .reveal-hero__eyebrow { display: none; }
  .reveal-hero__photo { clip-path: inset(calc((1 - var(--p)) * 24%) calc((1 - var(--p)) * 16%) calc((1 - var(--p)) * 14%) calc((1 - var(--p)) * 16%) round calc(var(--r3) + (1 - var(--p)) * 140px)); }
}
@media (max-width: 640px) { .counts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fan { grid-template-columns: 1fr; } .counts > div:last-child { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .js .reveal-hero { height: auto; } .js .reveal-hero__sticky { position: relative; } .reveal-hero__hint::after { animation: none; } }
@media (max-width: 900px) { .reveal-hero__photo img { object-position: 30% 0; transform-origin: 50% 0; transform: translateX(calc((1 - var(--p)) * 25%)) translateY(calc((1 - var(--p)) * 18%)) scale(calc(1.1 - var(--p) * .1)); } }
/* ---------- Guides: the clubfoot cast scene ---------- */
.scene--cast { --scene-h: 430vh; --scene-h-phone: 380vh; background: radial-gradient(60% 60% at 55% 62%, #FBE6ED 0%, #FFFFFF 72%); }
.story__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.story__fig { background: radial-gradient(70% 70% at 50% 55%, #FCEFF3, #FFFFFF 75%); }

/* ---------- Fractures guide: the healing time-lapse you scrub (fracture.js) ---------- */
.heal { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border-radius: var(--r3); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.heal__stage { position: relative; min-height: 520px; background: radial-gradient(70% 70% at 50% 50%, #FBE6ED, #FFFFFF 75%); }
.heal__stage::before { content: ""; position: absolute; inset: 0; background-image: var(--grid); background-size: 30px 30px; }
.heal__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.heal__tag { position: absolute; left: 18px; top: 16px; padding: 6px 12px; border-radius: 999px; background: var(--pop); color: #fff; font-family: var(--mono); font-size: .82rem; font-weight: 600; }
.heal__ctrl { display: grid; gap: 16px; align-content: center; padding: clamp(24px, 3vw, 40px); }
.heal__label { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.heal__ctrl input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--brand), var(--pop)) 0 0 / var(--v, 0%) 100% no-repeat, var(--mist-2); cursor: pointer; }
.heal__ctrl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--pop); box-shadow: var(--shadow); }
.heal__ctrl input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--pop); box-shadow: var(--shadow); }
.heal__marks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-top: -6px; }
.heal__marks li { font-size: .78rem; font-weight: 700; color: var(--ink-3); cursor: pointer; text-align: center; padding-top: 8px; border-top: 2px solid var(--line-2); transition: color .2s ease, border-color .2s ease; }
.heal__marks li:first-child { text-align: left; } .heal__marks li:last-child { text-align: right; }
.heal__marks li.is-on { color: var(--brand); border-color: var(--pop); }
.heal__text { display: grid; gap: 6px; min-height: 150px; padding: 18px 20px; border-radius: var(--r2); background: var(--hot-soft); }
.heal__text b { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; }
.heal__text span { color: var(--ink-2); }
.heal__ctrl .btn { justify-self: start; }
.no-gl .heal__gl { display: none; }
@media (max-width: 900px) { .heal { grid-template-columns: 1fr; } .heal__stage { min-height: 360px; } }

/* ---------- Knock knees guide: measure the knee angle (kneeangle.js) ---------- */
.knee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r3); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.knee__stage { position: relative; min-height: 580px; background: radial-gradient(70% 70% at 50% 55%, #FBE6ED, #FFFFFF 75%); }
.knee__stage::before { content: ""; position: absolute; inset: 0; background-image: var(--grid); background-size: 30px 30px; }
.knee__gl, .knee__fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.knee__axis { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 8 6; }
.knee__arc { fill: rgba(214, 51, 108, .18); stroke: var(--pop); stroke-width: 3; }
.knee__dot { fill: #fff; stroke: var(--pop); stroke-width: 3; }
.knee__deg { font-family: var(--f-display); font-size: 30px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 6px; }
.knee__ctrl { display: grid; gap: 16px; align-content: center; padding: clamp(24px, 3vw, 40px); }
.knee__presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.knee__presets button { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: var(--r2); background: #fff; border: 1.5px solid var(--line); transition: border-color .2s ease, box-shadow .25s ease, transform .16s var(--ease-out); }
.knee__presets button:active { transform: scale(.98); }
.knee__presets b { font-weight: 800; }
.knee__presets span { font-size: .86rem; color: var(--ink-3); }
.knee__presets button[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
@media (hover: hover) and (pointer: fine) { .knee__presets button:hover:not([aria-pressed="true"]) { border-color: var(--ink-3); } }
.knee__ctrl input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--brand), var(--mist-2) 50%, var(--pop)); cursor: pointer; }
.knee__ctrl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--pop); box-shadow: var(--shadow); }
.knee__ctrl input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--pop); }
.knee__read { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r2); background: var(--hot-soft); }
.knee__read b { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); }
.knee__read span { color: var(--ink-2); }
.knee .tool__fine a { color: var(--brand); font-weight: 700; text-decoration: underline; }
.no-gl .knee__gl, .no-gl .knee__fx { display: none; }
@media (max-width: 900px) { .knee { grid-template-columns: 1fr; } .knee__stage { min-height: 420px; } }
@media (max-width: 640px) { .knee__presets { grid-template-columns: 1fr; } }


/* ==========================================================================
   Components taken from the blueprint site (round 4: the user asked for its layouts), recoloured
   ========================================================================== */

/* ---------- Treatments: body map, regions, the four "without surgery" cells ---------- */
.bmap { padding-bottom: clamp(80px, 9vw, 120px); }
.bmap__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.bmap__figure { position: sticky; top: calc(var(--hdr) + 16px); }
.bmap__plate { position: relative; width: min(100%, 360px, calc((100svh - 140px) * 320 / 700)); aspect-ratio: 320 / 700; margin-inline: auto; }
.bmap__plate::before { content: ""; position: absolute; inset: -4% -22%; border-radius: var(--r3); background: radial-gradient(60% 50% at 50% 45%, var(--brand-soft), transparent 72%); }
.skeleton { position: relative; width: 100%; height: 100%; overflow: visible; }
.skeleton .sk-b { fill: #E6BFCB; transition: fill .3s ease; }
.skeleton .sk-l { fill: none; stroke: #E6BFCB; stroke-linecap: round; transition: stroke .3s ease; }
.skeleton .sk-d { fill: #fff; opacity: .9; }
.skeleton .is-hot.sk-b { fill: var(--hot); }
.skeleton .is-hot.sk-l { stroke: var(--hot); }
.skeleton .sk-scan { fill: rgba(139, 30, 63, .45); height: 1.5px; animation: scanY 5s linear infinite; }
@keyframes scanY { from { transform: translateY(0); } to { transform: translateY(760px); } }
.hotspot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; z-index: 2; }
.hotspot::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid var(--brand); background: rgba(255, 255, 255, .7); transition: transform .2s var(--ease-out), border-color .2s ease; }
.hotspot::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--brand); transition: background-color .2s ease; }
.hotspot span { position: absolute; left: 50%; bottom: calc(100% + 2px); transform: translate(-50%, 4px); padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s var(--ease-out), transform .15s var(--ease-out); }
.hotspot.is-on::before { transform: scale(1.35); border-color: var(--hot); }
.hotspot.is-on::after { background: var(--hot); }
.hotspot.is-on span, .hotspot:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) { .hotspot:hover span { opacity: 1; transform: translate(-50%, 0); } .hotspot:hover::before { transform: scale(1.25); } }
.bmap__tag { position: absolute; left: -10%; top: -2%; color: var(--ink-3); }
.bmap__side { display: grid; gap: 22px; justify-items: start; }
.regions { width: 100%; }
.region { padding: clamp(22px, 3vw, 36px); border-radius: var(--r3); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); animation: inUp .35s var(--ease-out); }
.region__title { font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.region__intro { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.region__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.region h3 { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.region ul { display: grid; gap: 9px; }
.region li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: .98rem; line-height: 1.45; }
.region li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--brand); }

.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.quad__cell { padding: 26px 24px 28px; border-radius: var(--r3); background: var(--mist); display: grid; gap: 12px; align-content: start; }
.quad__n { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hot); }
.quad__cell h3 { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.1; }

.scope-mini { display: grid; justify-items: center; gap: 10px; }

/* ---------- Clinics: one card per clinic (book at a clinic) ---------- */
.clinics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.clinic { position: relative; display: grid; gap: 12px; align-content: start; padding: 26px 24px 24px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); scroll-margin-top: calc(var(--hdr) + 20px); transition: box-shadow .25s ease; }
.clinic--dashed { border-top-style: dashed; }
.clinic:target { box-shadow: 0 0 0 3px var(--brand); }
@media (hover: hover) and (pointer: fine) { .clinic:hover { box-shadow: var(--shadow); } }
.clinic__head { display: flex; gap: 12px; align-items: flex-start; }
.clinic__dot { width: 12px; height: 12px; margin-top: 8px; border-radius: 50%; background: var(--c); flex: none; }
.clinic__head h3 { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.12; }
.clinic__head p { font-size: .88rem; color: var(--ink-3); margin-top: 3px; }
.clinic__when { font-size: 1.02rem; color: var(--ink-2); }
.clinic__when b { color: var(--ink); font-weight: 800; margin-right: 6px; }
.clinic__addr { font-size: .92rem; color: var(--ink-3); line-height: 1.5; }
.clinic__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 6px; }
.clinic.is-today::after { content: "Today"; font-family: var(--f); font-size: .7rem; font-weight: 800; letter-spacing: .06em; color: var(--ok); background: #E8F6F0; padding: 3px 9px; border-radius: 999px; }
.clinic.is-today::after { position: absolute; top: 20px; right: 20px; }
.clinic.is-today .clinic__head { padding-right: 64px; }

/* ---------- Contact: queries list ---------- */
.contact__book { margin-top: 20px; }
.dots--lg { gap: 14px; }
.dots--lg li { font-size: inherit; }
.qlist { display: grid; }
.qlist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.qlist span { color: var(--ink-3); }
.qlist a, .qlist b { font-weight: 700; }
.qlist a { color: var(--brand); transition: color .2s ease; }

/* ---------- Advice: topic filter and note cards ---------- */
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.topics button { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 11px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); font-weight: 700; font-size: .94rem; color: var(--ink-2); transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease-out); }
.topics button:active { transform: scale(.97); }
.topics svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topics span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: .74rem; background: var(--mist); color: var(--ink-3); }
.topics button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.topics button[aria-pressed="true"] span { background: var(--hot); color: #fff; }
@media (hover: hover) and (pointer: fine) { .topics button:hover:not([aria-pressed="true"]) { border-color: var(--ink); color: var(--ink); } }

.acards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.acard { position: relative; display: grid; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); overflow: hidden; scroll-margin-top: calc(var(--hdr) + 16px); transition: box-shadow .25s ease, transform .25s var(--ease-out), border-color .2s ease; }
.acard--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.acard.is-open { box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--t) 40%, var(--line)); }
@media (hover: hover) and (pointer: fine) { .acard:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.acard__art { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: color-mix(in srgb, var(--t) 9%, #fff); overflow: hidden; }
.acard__art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--t) 22%, transparent) 1px, transparent 1.5px); background-size: 14px 14px; opacity: .7; }
.acard__art svg { position: relative; width: 62%; height: auto; fill: none; stroke: var(--t); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-out); }
.acard__art svg .hot { stroke: var(--hot); fill: none; }
.acard__art svg circle.hot { fill: var(--hot); stroke: none; }
.acard__art svg .soft { stroke: color-mix(in srgb, var(--t) 45%, #fff); stroke-dasharray: 6 6; }
.acard__art svg .soft-fill { fill: color-mix(in srgb, var(--t) 45%, #fff); stroke: none; }
@media (hover: hover) and (pointer: fine) { .acard:hover .acard__art svg { transform: scale(1.06) rotate(-2deg); } }
.acard__art--stat { aspect-ratio: auto; min-height: 100%; padding: clamp(24px, 3vw, 40px); align-content: center; justify-items: start; gap: 8px; background: linear-gradient(140deg, var(--brand), var(--brand-deep)); color: #fff; }
.acard__art--stat::before { background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.5px); }
.acard__art--stat b { position: relative; font-family: var(--f-display); font-size: clamp(4.6rem, 10vw, 8rem); font-weight: 800; letter-spacing: -.06em; line-height: .85; }
.acard__art--stat span { position: relative; font-weight: 700; max-width: 22ch; opacity: .92; }
.acard__body { display: grid; gap: 10px; padding: clamp(20px, 2.4vw, 30px); align-content: start; }
.acard__meta { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t); }
.acard__meta span:last-child { color: var(--ink-3); letter-spacing: .04em; }
.acard h2 { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.acard--wide h2 { font-size: var(--fs-h3); }
.acard__short { color: var(--ink-2); font-size: 1.02rem; }
.acard__more { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 9px 16px 9px 14px; border-radius: 999px; font-weight: 800; font-size: .9rem; color: var(--ink); background: color-mix(in srgb, var(--t) 12%, #fff); transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out); }
.acard__more::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--t) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .3s var(--ease-out); }
.acard.is-open .acard__more::before { transform: rotate(45deg); }
.acard__more:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .acard__more:hover { background: var(--t); color: #fff; } }
.acard__full { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.acard.is-open .acard__full { grid-template-rows: 1fr; }
.acard__full > div { overflow: hidden; display: grid; gap: 12px; color: var(--ink-2); min-height: 0; }
.acard.is-open .acard__full > div { padding-top: 8px; }
.acard__take { padding: 12px 14px; border-radius: var(--r1); background: color-mix(in srgb, var(--t) 10%, #fff); border-left: 4px solid var(--t); color: var(--ink); }
.acard__src { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); }
.acard__quote { padding-left: 14px; border-left: 4px solid var(--hot); color: var(--ink); font-weight: 700; line-height: 1.45; }

/* ---------- Advice: numbers ---------- */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.nums li { display: grid; gap: 8px; padding: 24px; border-radius: var(--r3); background: var(--mist); }
.nums b { font-family: var(--f-display); font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: .85; color: var(--brand); }
.nums b small { font-size: .3em; margin-left: 4px; letter-spacing: 0; color: var(--hot); }
.nums span { color: var(--ink-2); font-weight: 600; }

/* ---------- About: photo + facts, the path (a standing spine of vertebrae that fills as you scroll) ---------- */
.ahero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: calc(var(--hdr) + clamp(32px, 5vw, 64px)) var(--gut) clamp(48px, 6vw, 80px); max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; }
.ahero__photo { position: relative; border-radius: 999px 999px var(--r3) var(--r3); overflow: hidden; aspect-ratio: 3 / 3.9; box-shadow: var(--shadow-lg); }
.ahero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 25%; }
.ahero__photo figcaption { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; white-space: nowrap; }
.ahero__body { display: flex; flex-direction: column; gap: 4px; }
.ahero__text { display: grid; gap: 14px; margin-top: 18px; color: var(--ink-2); max-width: 62ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.facts > div { padding: 16px 18px; border-radius: var(--r2); background: var(--mist); }
.facts dt { font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.facts dd { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }
/* The path: a vertical spine. The heading stays put on the left while the stops go by; each vertebra lights up as it
   passes the middle of the screen and the rail fills down to it (main.js) */
.path__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.path__head { position: sticky; top: calc(var(--hdr) + 32px); display: grid; gap: 22px; }
.path__count { font-family: var(--mono); font-size: .95rem; color: var(--ink-3); }
.path__count b { font-size: 2.2rem; font-weight: 600; color: var(--brand); letter-spacing: -.02em; }
.path__track { position: relative; }
.path__rail { position: absolute; left: 33px; top: 36px; bottom: 36px; width: 3px; border-radius: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 10px, transparent 10px 16px); }
.path__rail i { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, var(--brand), var(--hot)); transform-origin: top; transform: scaleY(var(--p, 1)); }
.vspine { position: relative; display: grid; gap: 14px; }
.vspine li { position: relative; display: grid; gap: 6px; padding: 22px 26px 24px 86px; border-radius: var(--r2); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.vspine li:nth-child(4n+1) { background: var(--t-rose); } .vspine li:nth-child(4n+2) { background: var(--t-mauve); }
.vspine li:nth-child(4n+3) { background: var(--t-cream); } .vspine li:nth-child(4n) { background: var(--t-blush); }
.vspine li.is-now { background: linear-gradient(120deg, var(--t-rose), #F7D3DF); }
.js .path .vspine li { opacity: .38; transform: translateX(10px); }
.js .path .vspine li.is-on { opacity: 1; transform: none; }
.vspine__v { position: absolute; top: 26px; left: 18px; width: 32px; height: 20px; border-radius: 7px 7px 9px 9px; background: #fff; border: 2px solid var(--line-2); transition: background-color .3s ease, border-color .3s ease, transform .3s var(--ease-out); }
.vspine__v::before, .vspine__v::after { content: ""; position: absolute; top: 5px; width: 8px; height: 5px; border-radius: 2px; border: 2px solid var(--line-2); background: #fff; transition: background-color .3s ease, border-color .3s ease; }
.vspine__v::before { left: -10px; } .vspine__v::after { right: -10px; }
.vspine li.is-on .vspine__v, .vspine li.is-on .vspine__v::before, .vspine li.is-on .vspine__v::after { background: var(--brand); border-color: var(--brand); }
.vspine li.is-on .vspine__v { transform: scale(1.12); }
.vspine li.is-now.is-on .vspine__v, .vspine li.is-now.is-on .vspine__v::before, .vspine li.is-now.is-on .vspine__v::after { background: var(--hot); border-color: var(--hot); }
html:not(.js) .vspine__v, html:not(.js) .vspine__v::before, html:not(.js) .vspine__v::after { background: var(--brand); border-color: var(--brand); }
.vspine small { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-bright); }
.vspine b { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.15; }
.vspine span { color: var(--ink-2); font-size: .98rem; }

/* ---------- Treatments: "and more" lines ---------- */
.region li.more { color: var(--ink-3); font-style: italic; }
.region li.more::before { border-color: var(--line-2); }

@media (max-width: 1120px) { .quad, .nums, .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .clinics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .bmap__grid, .ahero { grid-template-columns: 1fr; }
  .bmap__figure { position: static; }
  .path__grid { grid-template-columns: 1fr; gap: 28px; }
  .path__head { position: static; grid-auto-flow: column; justify-content: space-between; align-items: end; }
  .vspine li { padding: 18px 18px 20px 74px; }
  .vspine__v { left: 14px; top: 22px; }
  .path__rail { left: 29px; }
  .acard--wide { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .clinics, .quad, .nums, .region__cols, .facts, .acards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .js .path .vspine li { opacity: 1; transform: none; } }
.readbar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.readbar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--hot)); transform-origin: left; transform: scaleX(0); }
.gallery__note { margin: -18px 0 22px; }

/* ---------- Treatments: procedure explorer (blueprint) ---------- */
.scope-mini { display: grid; justify-items: center; gap: 10px; }
.scope-mini svg { width: 168px; filter: drop-shadow(0 18px 30px rgba(16, 40, 110, .25)); }
.scope-mini .mono { color: var(--ink-3); }
.scope-mini__drift { animation: drift 12s ease-in-out infinite alternate; transform-origin: 100px 100px; }
@keyframes drift { from { transform: rotate(-3deg) translate(-3px, 2px); } to { transform: rotate(4deg) translate(4px, -3px); } }
.scope-mini__probe { animation: probe 6s ease-in-out infinite; }
@keyframes probe { 50% { transform: translate(-12px, 5px); } }

.px { display: grid; gap: 22px; }
.px__groups { display: flex; gap: 6px; }
.px__groups button { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); color: var(--ink-2); font-weight: 700; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease-out); }
.px__groups button:active { transform: scale(.97); }
.px__groups button span { margin-left: 6px; font-family: var(--mono); font-size: .78rem; opacity: .7; }
.px__groups button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (hover: hover) and (pointer: fine) { .px__groups button:hover:not([aria-selected="true"]) { border-color: var(--ink); color: var(--ink); } }
.px__body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.px__list { display: grid; gap: 4px; }
.px__list button { width: 100%; display: grid; gap: 1px; text-align: left; padding: 11px 18px; border-radius: var(--r2); background: transparent; font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 600; letter-spacing: -.02em; color: var(--ink-2); border-left: 3px solid transparent; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.px__joint { font-family: var(--f); font-size: var(--fs-label-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.px__list button[aria-pressed="true"] { background: #fff; color: var(--ink); border-left-color: var(--hot); box-shadow: var(--shadow); }
@media (hover: hover) and (pointer: fine) { .px__list button:hover:not([aria-pressed="true"]) { background: rgba(255, 255, 255, .7); color: var(--ink); } }
.px__panes { position: sticky; top: calc(var(--hdr) + 16px); }
.px__pane { padding: clamp(24px, 3vw, 40px); border-radius: var(--r3); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 14px; animation: inUp .3s var(--ease-out); }
.px__pane h3 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1; }
.px__pane p { color: var(--ink-2); }
.px__for { padding-top: 14px; border-top: 1px solid var(--line); }
.px__for b { color: var(--hot); margin-right: 6px; }
/* ---------- Treatments: preparing for surgery, a guided walk (blueprint) ---------- */
.journey { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); border-radius: var(--r3); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.journey__nav { display: grid; align-content: start; gap: 6px; padding: 18px; background: var(--mist); border-right: 1px solid var(--line); }
.journey__nav button { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px; border-radius: var(--r2); text-align: left; transition: background-color .2s ease, box-shadow .2s ease; }
.journey__nav button[aria-selected="true"] { background: #fff; box-shadow: var(--shadow); }
.journey__n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .78rem; font-weight: 600; background: var(--mist-2); color: var(--ink-3); transition: background-color .2s ease, color .2s ease; }
.journey__nav button[aria-selected="true"] .journey__n { background: var(--hot); color: #fff; }
.journey__t { display: grid; line-height: 1.25; }
.journey__t b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 700; letter-spacing: -.02em; }
.journey__t small { font-size: var(--fs-label-sm); color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .journey__nav button[aria-selected="false"]:hover { background: rgba(255, 255, 255, .6); } }
.journey__main { display: grid; gap: 26px; align-content: start; padding: clamp(20px, 3vw, 34px); }
.journey.is-ready .journey__pane:not(.is-on) { display: none; }
/* the numbered steps of the current stage, joined by a line that fills as you go */
.jdots { position: relative; display: flex; margin-bottom: 26px; }
.jdots::before, .jdots::after { content: ""; position: absolute; top: 16px; left: calc(50% / var(--n, 4)); right: calc(50% / var(--n, 4)); height: 2px; border-radius: 1px; background: var(--line); }
.jdots::after { background: var(--brand); transform-origin: left; transform: scaleX(var(--fill, 0)); transition: transform .4s var(--ease-out); }
.jdots button { position: relative; z-index: 1; flex: 1; min-width: 0; display: grid; justify-items: center; gap: 7px; padding: 0 2px; }
.jdots button span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line-2); font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--ink-3); transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.jdots button small { font-size: .8rem; font-weight: 700; line-height: 1.2; text-align: center; color: var(--ink-3); }
.jdots button.is-done span { border-color: var(--brand); color: var(--brand); }
.jdots button[aria-current="step"] span { background: var(--hot); border-color: var(--hot); color: #fff; box-shadow: 0 0 0 5px var(--hot-soft); }
.jdots button[aria-current="step"] small { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .jdots button:not([aria-current="step"]):hover span { border-color: var(--brand); color: var(--brand); } }
.jsteps { display: grid; gap: 28px; }
.journey.is-ready .jstep:not(.is-on) { display: none; }
.journey.is-ready .jsteps { touch-action: pan-y; }
.jstep { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 38px); align-items: center; }
.journey.is-ready .jstep.is-on { animation: inUp .35s var(--ease-out); }
.jstep__art { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r2); display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--brand) 7%, #fff); }
.jstep__art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--brand) 20%, transparent) 1px, transparent 1.5px); background-size: 14px 14px; opacity: .7; }
.jstep__art svg { position: relative; width: 70%; height: auto; fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.jstep__art svg .hot { stroke: var(--hot); }
.jstep__art svg .soft { stroke: color-mix(in srgb, var(--brand) 45%, #fff); stroke-dasharray: 6 6; }
.jstep__art svg .dot { fill: var(--hot); stroke: none; }
.journey.is-ready .jstep.is-on .jstep__art svg { animation: jpop .55s var(--ease-out); }
@keyframes jpop { from { opacity: 0; transform: scale(.88) rotate(-3deg); } }
.jstep__when { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--hot-soft); color: var(--brand); font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .02em; }
.jstep__txt h3 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.08; margin: 12px 0 10px; }
.jstep__txt > p:last-child { color: var(--ink-2); }
.journey__ctrl { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.journey__prev { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease; }
.journey__prev .i { transform: rotate(180deg); }
.journey__prev:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .journey__prev:not(:disabled):hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
.journey__pos { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); }
.journey:not(.is-ready) { grid-template-columns: 1fr; }
.journey:not(.is-ready) .journey__nav, .journey:not(.is-ready) .journey__ctrl { display: none; }
#prepare .alert { max-width: none; }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; }
  .journey__nav { grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .journey__nav::-webkit-scrollbar { display: none; }
  .journey__nav button { scroll-snap-align: start; }
  .jstep { grid-template-columns: 1fr; gap: 18px; }
  .jstep__art { aspect-ratio: 16 / 9; }
  .jstep__art svg { width: auto; height: 82%; }
}
@media (max-width: 640px) {
  /* the three stages as one row of equal tabs */
  .journey__nav { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; gap: 4px; padding: 8px; }
  .journey__nav button { grid-template-columns: 1fr; padding: 10px 6px; text-align: center; }
  .journey__n, .journey__t small { display: none; }
  .journey__t b { font-size: .95rem; }
  .journey__nav button[aria-selected="true"] .journey__t b { color: var(--hot); }
  .jdots button small { display: none; }
  .jdots { margin-bottom: 18px; }
  .journey__main { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { .journey.is-ready .jstep.is-on, .journey.is-ready .jstep.is-on .jstep__art svg { animation: none; } }
@media (max-width: 900px) {
  .px__body { grid-template-columns: 1fr; }
  .px__panes { position: static; }
  .px__panes:empty { display: none; }
  .px__list li > .px__pane { margin: 6px 0 12px; box-shadow: none; animation: inUp .3s var(--ease-out); }
  .px__list button { position: relative; padding-right: 46px; }
  .px__list button::after { content: ""; position: absolute; right: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%231F48E5%27 stroke-width=%272.4%27 stroke-linecap=%27round%27%3E%3Cpath d=%27M12 6v12M6 12h12%27/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease-out); }
  .px__list button[aria-expanded="true"]::after { transform: rotate(45deg); }
}

/* ---------- Treatments: the turning 3D child beside the regions (turntable.js) ---------- */
.turn { position: relative; width: 100%; height: min(78vh, 720px); min-height: 460px; border-radius: var(--r3); overflow: hidden; background: radial-gradient(60% 55% at 50% 58%, #F9DDE6 0%, #FDF1F4 45%, #FFFFFF 78%); border: 1px solid var(--line); cursor: grab; touch-action: pan-y; }
.turn.is-drag { cursor: grabbing; }
.turn::before { content: ""; position: absolute; inset: 0; background-image: var(--grid); background-size: 32px 32px; opacity: .7; }
/* While the 3D child downloads (holo.js): a small ring in the middle of its stage fills with the download */
.holo-wait { position: absolute; z-index: 1; left: 50%; top: 50%; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line-2); box-shadow: 0 8px 24px -14px rgba(139, 30, 63, .45); font-family: var(--mono); font-size: var(--fs-label-sm); font-weight: 600; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; pointer-events: none; transform: translate(-50%, -50%); animation: holo-in .35s var(--ease-out) both; transition: opacity .4s ease; }
.holo-wait i { width: 22px; height: 22px; flex: none; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--p, 0) * 1turn), var(--line-2) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); }
.holo-wait b { min-width: 3.2ch; font-weight: 600; color: var(--brand); text-align: right; }
.holo-wait b:empty { display: none; }
.holo-wait.is-spin i { animation: holo-spin 1s linear infinite; }
.holo-wait.is-done { opacity: 0; }
@keyframes holo-in { from { opacity: 0; transform: translate(-50%, calc(-50% + 8px)); } }
@keyframes holo-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .holo-wait, .holo-wait.is-spin i { animation: none; } }
.turn__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.turn__still { display: none; }
.no-gl .turn__still { display: block; position: absolute; left: 50%; top: 4%; height: 92%; width: auto; transform: translateX(-50%); }
.no-gl .turn__gl, .no-gl .turn__hint { display: none; }
.turn__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 1px 0 var(--line); font-size: var(--fs-label-sm); font-weight: 700; color: var(--ink-2); pointer-events: none; }
.turn__hint svg { width: 18px; height: 18px; fill: none; stroke: var(--pop); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bmap__side .seg { gap: 6px; }
.region__cols a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .turn { height: 62vh; min-height: 380px; } }
/* a phone held sideways: the whole child fits between the header and the bottom of the screen */
@media (max-height: 500px) and (max-width: 950px) { .turn { height: calc(100svh - var(--hdr) - 24px); min-height: 240px; } }

.clinic__fine { font-size: .88rem; color: var(--ink-3); }
.clinic__fine a { color: var(--brand); font-weight: 700; }
.gantt__day i { font-style: normal; font-weight: 600; font-size: .8rem; color: var(--ink-3); margin-left: 4px; }
.gantt__day small { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.glist__day > p i { font-style: normal; font-weight: 600; font-size: .86rem; color: var(--ink-3); }
.gantt__grid { --daycol: 150px; }

/* ---------- Home: Dr. Kayal's take. Cards arrive one by one on the left; the picture on the right follows them ---------- */
.take { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.take__cards { display: grid; gap: 16px; }
.take__cards .flip { height: 210px; }
.js .take__cards .flip { opacity: 0; transform: translateX(-28px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .take__cards .flip.is-in { opacity: 1; transform: none; }
.take__side { position: sticky; top: calc(var(--hdr) + 24px); }
.take__frame { position: relative; aspect-ratio: 4 / 4.6; border-radius: 999px 999px var(--r3) var(--r3); overflow: hidden; background: radial-gradient(70% 60% at 50% 55%, #F9DDE6, #FDF1F4 55%, #FFFFFF); box-shadow: var(--shadow-lg); }
.take__pic { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); }
.take__pic.is-on { opacity: 1; transform: none; }
.take__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.take__pic--3d img { object-fit: contain; padding: 8% 10%; }
.take__pic figcaption { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: .9rem; white-space: nowrap; box-shadow: var(--shadow); }
.take__dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 6px; }
.take__dots li { width: 22px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(139, 30, 63, .25); transition: background-color .3s ease; }
.take__dots li.is-on { background: var(--brand); }
@media (max-width: 900px) {
  .take { grid-template-columns: 1fr; }
  .take__side { position: relative; top: auto; order: -1; max-width: 420px; width: 100%; justify-self: center; }
  .take__frame { aspect-ratio: 4 / 3.6; }
}
@media (prefers-reduced-motion: reduce) { .js .take__cards .flip { opacity: 1; transform: none; } .take__pic { transition: none; } }
/* "How he helps": the pictures a little smaller */
.part img { height: 56%; top: 8%; }
.part--big img { height: 60%; }
.part--tall img { height: 64%; top: 6%; }
.part--wide img { height: 64%; top: 4%; }
.acard__art--stat b { line-height: .9; margin-bottom: 10px; }

/* ---------- Home round 5: "How he helps", six cards of one size ---------- */
.parts { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 21vw, 290px); }
.part, .part--big, .part--tall, .part--wide { grid-column: auto; grid-row: auto; }
.part img { top: 9%; height: 58%; max-width: 86%; }
.part__body b { font-size: var(--fs-h4); }
@media (max-width: 900px) { .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; } }
/* ---------- Home round 5: Dr. Kayal's take, one at a time, sliding in from the right every few seconds ---------- */
.takes { position: relative; border-radius: var(--r3); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.takes__track { position: relative; min-height: 340px; }
.takes__slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; opacity: 0; transform: translateX(14%); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); pointer-events: none; }
.takes__slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.takes__slide.is-out { opacity: 0; transform: translateX(-14%); }
.takes__text { display: grid; gap: 14px; align-content: center; padding: clamp(26px, 4vw, 56px); }
.takes__text small { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--t); }
.takes__text h3 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.1; }
.takes__text p { color: var(--ink-2); font-size: 1.04rem; max-width: 44ch; }
.takes__art { position: relative; display: grid; place-items: center; background: color-mix(in srgb, var(--t) 9%, #fff); }
.takes__art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--t) 24%, transparent) 1.2px, transparent 1.4px); background-size: 16px 16px; }
.takes__art svg { position: relative; width: 62%; height: auto; fill: none; stroke: var(--t); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.takes__art svg .hot { stroke: var(--pop); }
.takes__art svg .soft { stroke: color-mix(in srgb, var(--t) 40%, #fff); stroke-dasharray: 5 7; }
.takes__slide.is-on .takes__art svg { animation: jpop .7s var(--ease-out); }
@keyframes jpop { from { opacity: 0; transform: translateX(24px) scale(.94); } }
.takes__nav { position: absolute; left: clamp(26px, 4vw, 56px); bottom: 22px; display: flex; gap: 8px; }
.takes__nav button { width: 34px; height: 18px; display: grid; place-items: center; }
.takes__nav i { display: block; width: 100%; height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; position: relative; }
.takes__nav button[aria-current="true"] i { background: var(--brand-soft); }
.takes__nav button[aria-current="true"] i::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: left; animation: takeBar var(--take-ms, 3800ms) linear forwards; }
.takes.is-paused .takes__nav button[aria-current="true"] i::after { animation-play-state: paused; }
@keyframes takeBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 640px) { .takes__track { min-height: 470px; } .takes__slide { grid-template-columns: 1fr; grid-template-rows: auto 170px; } .takes__text { padding-bottom: 8px; } .takes__nav { bottom: auto; top: 18px; left: auto; right: 18px; } }
@media (prefers-reduced-motion: reduce) { .takes__slide, .takes__slide.is-out { transition: none; transform: none; } .takes__nav button[aria-current="true"] i::after { animation: none; transform: none; } }
/* the run scene: the heading steps aside during the close-ups on every screen */
.scene--run .scene__head { transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.scene--run.is-close .scene__head { opacity: 0; transform: translateY(-10px); pointer-events: none; }

/* the hint sits under the turning child, so it never covers the feet */
.turn__hint { position: static; transform: none; display: flex; width: max-content; margin: 12px auto 0; }

/* ---------- Advice: myths, all shown together; a tap turns a box to its fact ---------- */
.mboxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mbox { position: relative; display: grid; min-height: 200px; text-align: left; border-radius: var(--r3); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mbox > span { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; padding: clamp(20px, 2.6vw, 30px); transition: clip-path .5s var(--ease-in-out), opacity .3s ease; }
.mbox small { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mbox__q small { color: #B4232E; }
.mbox__q b { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: var(--soft); letter-spacing: -.02em; line-height: 1.15; text-decoration: line-through; text-decoration-color: rgba(180, 35, 46, .5); text-decoration-thickness: 2px; }
.mbox__q em { margin-top: auto; font-style: normal; font-size: .86rem; font-weight: 700; color: var(--brand); }
.mbox__a { background: var(--brand); color: #fff; clip-path: inset(0 0 0 100%); }
.mbox__a small { color: #FFD1DF; }
.mbox__a > span { font-size: 1.02rem; line-height: 1.55; }
.mbox[aria-pressed="true"] .mbox__a { clip-path: inset(0); }
.mbox:nth-child(2) { background: var(--hot-soft); } .mbox:nth-child(3) { background: var(--sand); } .mbox:nth-child(4) { background: var(--mist-2); }
@media (hover: hover) and (pointer: fine) { .mbox:hover { border-color: rgba(139, 30, 63, .4); } }
@media (max-width: 640px) { .mboxes { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mbox > span { transition: none; } }
/* the leg chart's drawing never sits on top of its buttons */
.scene__art { pointer-events: none; }
.scene--legs .scene__ui { z-index: 2; }

/* ---------- Footer: one small line of sources for the whole site ---------- */
.ftr__src { margin: 0 0 18px; font-size: .72rem; line-height: 1.7; color: var(--ink-3); max-width: 120ch; }
.ftr__src b { color: var(--ink-2); font-weight: 700; }
.ftr__src > b:first-child { color: var(--brand); text-transform: uppercase; letter-spacing: .1em; margin-right: 6px; }
.ftr__src span { margin: 0 4px; color: var(--line-2); }
.ftr__src a { color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .ftr__src a:hover { color: var(--brand); } }

/* ==========================================================================
   Round 5: shades that tell boxes apart (user). Maroon stays the one colour; boxes take tints of it (rose, mauve,
   blush) and one warm cream, in turn, each with a matching edge.
   ========================================================================== */
:root { --t-rose: #FCE8EF; --t-mauve: #F3E5EC; --t-cream: #FFF5EA; --t-blush: #FFF1F4; --e-rose: #E85D8C; --e-mauve: #A8758A; --e-cream: #D9A86C; --e-blush: #C2185B; }
.sec--blush { background: linear-gradient(180deg, var(--s-blush), var(--s-rose)); }
/* home: how he helps */
.parts > .part:nth-child(4n+1) { background: radial-gradient(70% 70% at 50% 40%, #fff, var(--t-rose)); border-top: 4px solid var(--e-rose); }
.parts > .part:nth-child(4n+2) { background: radial-gradient(70% 70% at 50% 40%, #fff, var(--t-mauve)); border-top: 4px solid var(--e-mauve); }
.parts > .part:nth-child(4n+3) { background: radial-gradient(70% 70% at 50% 40%, #fff, var(--t-cream)); border-top: 4px solid var(--e-cream); }
.parts > .part:nth-child(4n) { background: radial-gradient(70% 70% at 50% 40%, #fff, var(--t-blush)); border-top: 4px solid var(--e-blush); }
.part__body { background: linear-gradient(to top, rgba(255, 255, 255, .95) 48%, rgba(255, 255, 255, 0)); }
/* home: why, booking steps, call cards */
.why__list li:nth-child(1) .why__n { color: var(--e-rose); } .why__list li:nth-child(2) .why__n { color: var(--e-mauve); }
.why__list li:nth-child(3) .why__n { color: var(--e-cream); } .why__list li:nth-child(4) .why__n { color: var(--e-blush); }
.steps3 li { padding: 34px 20px 22px; border-radius: var(--r2); }
.steps3 li:nth-child(1) { background: var(--t-rose); } .steps3 li:nth-child(2) { background: var(--t-cream); } .steps3 li:nth-child(3) { background: var(--t-mauve); }
.steps3 i { left: 20px; top: 14px; }
.steps3::before { display: none; }
.callcard { background: color-mix(in srgb, var(--c) 7%, #fff); border-top: 4px solid var(--c); }
.today { border-top: 4px solid var(--brand); }
/* treatments */
.quad__cell:nth-child(1) { background: var(--t-rose); border-top: 4px solid var(--e-rose); }
.quad__cell:nth-child(2) { background: var(--t-cream); border-top: 4px solid var(--e-cream); }
.quad__cell:nth-child(3) { background: var(--t-mauve); border-top: 4px solid var(--e-mauve); }
.quad__cell:nth-child(4) { background: var(--t-blush); border-top: 4px solid var(--e-blush); }
.region { border-top: 4px solid var(--brand); }
.region__cols > div:first-child { padding: 14px 16px; border-radius: var(--r1); background: var(--t-rose); }
.region__cols > div:last-child { padding: 14px 16px; border-radius: var(--r1); background: var(--t-cream); }
.phases li:nth-child(1) { background: var(--t-rose); } .phases li:nth-child(2) { background: var(--t-cream); }
.phases li:nth-child(3) { background: var(--t-mauve); } .phases li:nth-child(4) { background: var(--t-blush); }
.acc--wide .acc__item:nth-child(2) { background: var(--t-blush); } .acc--wide .acc__item:nth-child(3) { background: var(--t-cream); }
/* clinics */
.clinic { background: color-mix(in srgb, var(--c) 6%, #fff); }
/* advice */
.tools > .tool:nth-child(1) { background: linear-gradient(180deg, var(--t-rose), #fff 40%); border-top: 4px solid var(--e-rose); }
.tools > .tool:nth-child(2) { background: linear-gradient(180deg, var(--t-cream), #fff 40%); border-top: 4px solid var(--e-cream); }
.flags__list li:nth-child(4n+1) { background: var(--t-rose); } .flags__list li:nth-child(4n+2) { background: var(--t-cream); }
.flags__list li:nth-child(4n+3) { background: var(--t-mauve); } .flags__list li:nth-child(4n) { background: var(--t-blush); }
.nums li:nth-child(1) { background: var(--t-rose); } .nums li:nth-child(2) { background: var(--t-cream); }
.nums li:nth-child(3) { background: var(--t-mauve); } .nums li:nth-child(4) { background: #fff; }
/* about and contact */
.facts > div:nth-child(1) { background: var(--t-rose); } .facts > div:nth-child(2) { background: var(--t-cream); } .facts > div:nth-child(3) { background: var(--t-mauve); }
.confs > .conf:nth-child(2) { background: var(--t-blush); } .confs > .conf:nth-child(3) { background: var(--t-cream); } .confs > .conf:nth-child(4) { background: var(--t-mauve); }
.chips li:nth-child(2) { background: var(--t-rose); } .chips li:nth-child(3) { background: var(--t-cream); } .chips li:nth-child(4) { background: var(--t-mauve); } .chips li:nth-child(5) { background: var(--t-blush); }
.qlist li:nth-child(odd) { background: var(--t-blush); }
.qlist li { padding-inline: 14px; border-radius: 10px; }
.faq__item:nth-child(even) { background: #FFFAFB; }

/* the take carousel: arrows either side of the bars, a button to the full note in Advice */
.takes__nav { align-items: center; gap: 12px; }
.takes__dots { display: flex; gap: 8px; }
.takes__nav .takes__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.takes__arrow--prev .i { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .takes__nav .takes__arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; } }
.takes__more { justify-self: start; margin-top: 6px; }
.takes__text { padding-bottom: 86px; }
@media (max-width: 640px) { .takes__nav { top: auto; bottom: 16px; left: 18px; right: auto; } .takes__track { min-height: 560px; } .takes__slide { grid-template-rows: auto 220px; } .takes__text { padding-bottom: 20px; } .takes__art { margin-bottom: 70px; } }

/* the clubfoot scene's heading sits higher, so the feet have the room */
.scene--cast .scene__ui { transition: padding-top .3s var(--ease-out); }
@media (min-width: 901px) { .hdr.is-up ~ main .scene--cast .scene__ui { padding-top: calc(var(--hdr) * .35); } }
.qlist a[href^="mailto:"] { overflow-wrap: anywhere; }
.ftr__social a.ftr__mail { background: var(--brand); }
@media (hover: hover) and (pointer: fine) { .ftr__social a.ftr__mail:hover { background: var(--brand-bright); } }
