/* ==========================================================================
   Dr. Mandar Deb · Orthopaedics, Arthroscopy & Sports Medicine
   White clinical base · deep navy ink · cobalt brand · coral for "where it hurts".
   ========================================================================== */

/* 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: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --mist: #F4F7FC;
  --mist-2: #EAF0FA;
  --sand: #F7F5F1;
  --ink: #0A1A33;
  --ink-2: #3D4B63;
  --ink-3: #6B788E;
  --line: #E3E8F1;
  --line-2: #CFD8E6;
  --brand: #1F48E5;
  --brand-deep: #1534B3;
  --brand-soft: #E8EEFF;
  --hot: #FF5B35;
  --hot-soft: #FFEDE7;
  --ok: #0F8A5F;
  --ig: linear-gradient(45deg, #FEDA75 0%, #FA7E1E 25%, #D62976 52%, #962FBF 76%, #4F5BD5 100%);
  /* clinic colours, validated for a light surface (dataviz validator, labels carry identity too) */
  --c1: #2A78D6; --c2: #EB6834; --c3: #1BAF7A; --c4: #EDA100; --c5: #E87BA4; --c6: #6250D6;

  /* 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: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --r1: 10px; --r2: 16px; --r3: 26px;
  --hdr: 78px;
  --wrap: 1260px;
  --gut: clamp(16px, 4vw, 44px);
  --shadow: 0 1px 2px rgba(10, 26, 51, .05), 0 12px 32px -14px rgba(16, 40, 110, .22);
  --shadow-lg: 0 2px 6px rgba(10, 26, 51, .05), 0 30px 70px -28px rgba(16, 40, 110, .35);
  --z-header: 50; --z-tip: 40;
  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 { font: inherit; color: inherit; 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: 700; }
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); }
.eyebrow::before { content: ""; width: 32px; height: 2.5px; border-radius: 2px; background: var(--hot); }
.h2 { font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 700; font-variation-settings: "opsz" 96; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; margin-top: 14px; }
.hl-c { color: var(--brand); }
.ptitle { font-family: var(--f-display); font-size: var(--fs-h1); font-weight: 700; font-variation-settings: "opsz" 96; line-height: .96; letter-spacing: -.045em; 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 10px 24px -12px rgba(31, 72, 229, .7); }
.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--sm { --h: 42px; padding: 0 18px; font-size: .9rem; }
.btn--icon { width: var(--h); padding: 0; }
@media (hover: hover) and (pointer: fine) {
  .btn--brand:hover { background: var(--brand-deep); box-shadow: 0 14px 28px -12px rgba(21, 52, 179, .8); }
  .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: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; }
.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: 42px; height: 42px; overflow: visible; }
.mark path { fill: none; stroke-linecap: round; }
.mark__stake { stroke: var(--ink-3); stroke-width: 3.4; }
.mark__trunk { stroke: var(--ink); stroke-width: 5.6; }
.mark__tie { stroke: var(--hot); stroke-width: 3.4; }
.mark__crown { fill: var(--brand); transform-origin: 38px 24px; transition: transform .35s var(--ease-out); }
.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.32rem; font-weight: 700; letter-spacing: -.03em; }
.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__crown { transform: rotate(-6deg) scale(1.05); } }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 8px 13px; font-size: .97rem; 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(10, 26, 51, .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: 700; letter-spacing: -.03em; 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; }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 10vw, 136px) 0 clamp(88px, 11vw, 146px); }
.sec--mist { background: var(--mist); }
.sec--sand { background: var(--sand); }
.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); }
.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); } }
.seg--sm button { padding: 8px 14px; font-size: .88rem; }
.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(15, 138, 95, .35); background: #E8F6F0; }
.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(31, 72, 229, .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; } }

/* ==========================================================================
   HOME · hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; padding: calc(var(--hdr) + clamp(32px, 5vw, 64px)) 0 clamp(56px, 6vw, 88px); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -24vw; top: -26vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 72, 229, .1), rgba(31, 72, 229, 0)); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__title { font-family: var(--f-display); font-size: clamp(3rem, 6.8vw, 6rem); font-weight: 700; font-variation-settings: "opsz" 96; line-height: .98; letter-spacing: -.05em; margin: 22px 0 24px; text-wrap: balance; }
.hl { position: relative; color: var(--brand); white-space: nowrap; }
.hl svg { position: absolute; left: 0; right: 0; bottom: -.1em; width: 100%; height: .28em; overflow: visible; }
.hl path { fill: none; stroke: var(--hot); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1s var(--ease-out) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__who { font-size: 1.06rem; color: var(--ink-2); }
.hero__who b { color: var(--ink); font-weight: 800; }
.hero__lede { margin-top: 10px; font-size: 1.06rem; color: var(--ink-2); max-width: 50ch; }
.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; border-top: 1px solid var(--line); max-width: 640px; }
.hero__stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 18px 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: 700; letter-spacing: -.04em; line-height: 1; }
.hero__visual { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 520 / 640; }
.hero__arch { position: absolute; left: 6%; right: 6%; top: 16%; bottom: 0; border-radius: 999px 999px 32px 32px; background: linear-gradient(180deg, var(--brand-soft), #DCE5FF); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(31, 72, 229, .1); background-image: linear-gradient(rgba(31, 72, 229, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 72, 229, .07) 1px, transparent 1px), linear-gradient(180deg, var(--brand-soft), #DCE5FF); background-size: 32px 32px, 32px 32px, auto; }
.hero__knee { position: absolute; left: 50%; top: 4%; height: 92%; width: auto; transform: translateX(-50%); opacity: .55; }
.hero__knee path { fill: none; stroke: var(--brand); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__knee .hero__knee-x { stroke: var(--hot); stroke-width: 3; }
.hero__photo { position: absolute; left: 50%; bottom: 0; width: 92%; height: auto; transform: translateX(-50%); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 88%, transparent 100%); }
.hero__badge { position: absolute; right: -2%; top: 20%; width: 118px; height: 118px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); 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.4px; font-weight: 800; letter-spacing: .18em; fill: var(--ink); }
.hero__badge .mark { width: 50px; height: 50px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__chip { position: absolute; left: -4%; bottom: 13%; 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 ---------- */
.ticker { background: var(--brand); color: #fff; overflow: hidden; padding: 20px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; font-family: var(--f-display); font-size: clamp(1.25rem, 2.2vw, 1.8rem); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.ticker li::after { content: ""; width: 10px; height: 10px; margin: 0 28px; border-radius: 50%; background: var(--hot); flex: none; }
@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: 700; letter-spacing: -.035em; 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); }

/* ==========================================================================
   HOME · Sprint. Plant. Strike.
   ========================================================================== */
.kick { position: relative; background: linear-gradient(180deg, #FFFFFF 0%, var(--mist) 22%, var(--mist) 100%); }
.js .kick { height: 620vh; }
/* phones (same breakpoint as the script's phone layout): a shorter sprint, so less scrolling before the kick */
@media (max-width: 759px) { .js .kick { height: 480vh; } }
/* 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. */
.kick__sticky { position: relative; height: 100vh; height: 100lvh; min-height: 600px; overflow: hidden; }
.js .kick__sticky { position: sticky; top: 0; }
.kick__sticky::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(31, 72, 229, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 72, 229, .06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.kick__canvas, .kick__tissue, .kick__fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.kick__tissue--css { filter: blur(14px); }
.kick__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; }
.kick__ui > * { pointer-events: auto; }
.kick__title { font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-top: 10px; }
.kick__sub { color: var(--ink-3); margin-top: 8px; font-weight: 600; }
.kick__head { align-self: start; }
.kick__steps { grid-column: 2; grid-row: 1 / 3; align-self: center; display: grid; gap: 6px; counter-reset: st; }
.kick__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: 14px; background: rgba(255, 255, 255, .7); border: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease, opacity .25s ease; opacity: .55; }
.kick__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; }
.kick__steps b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.kick__steps span { font-size: .84rem; color: var(--ink-3); line-height: 1.3; }
.kick__steps li.is-done { opacity: .8; }
.kick__steps li.is-done::before { background: var(--brand-soft); color: var(--brand); }
.kick__steps li.is-on { opacity: 1; background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.kick__steps li.is-on::before { background: var(--hot); color: #fff; }
.kick__steps li.is-on span { color: var(--hot); font-weight: 700; }
.kick__steps { transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.kick__steps.is-out { opacity: 0; transform: translateX(16px); pointer-events: none; }
.kick__end { position: absolute; right: var(--gut); top: 50%; margin-top: -110px; 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; }
.kick__end.is-in { opacity: 1; transform: none; pointer-events: auto; }
.kick__end p { color: var(--ink-2); margin-bottom: 16px; }
.kick__goal { font-family: var(--f-display); font-size: 3rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--hot) !important; margin-bottom: 8px !important; }
.kick__bar { position: absolute; left: 0; right: 0; bottom: 0; bottom: calc(100% - 100dvh); height: 4px; background: var(--mist-2); }
.kick__bar span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--hot)); transform-origin: left; transform: scaleX(0); }

/* ---------- X-ray cards ---------- */
.xcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(210px, 19vw, 260px); gap: 14px; }
.xcard { position: relative; overflow: hidden; border-radius: var(--r3); background: radial-gradient(80% 80% 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); }
.xcard:active { transform: scale(.985); }
.xcard canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.xcard--knee { grid-column: span 2; grid-row: span 2; }
.xcard--wide { grid-column: span 4; }
.xcard__n { position: absolute; top: 16px; left: 18px; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.xcard__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, .96) 45%, rgba(255, 255, 255, 0)); }
.xcard__body b { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; transition: color .2s ease; }
.xcard--knee .xcard__body b { font-size: var(--fs-h3); }
.xcard__body span { font-size: .9rem; color: var(--ink-2); }
.xcard::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); }
@media (hover: hover) and (pointer: fine) {
  .xcard:hover { border-color: rgba(31, 72, 229, .45); box-shadow: var(--shadow); }
  .xcard:hover .xcard__body b { color: var(--brand); }
  .xcard:hover::after { opacity: 1; transform: none; }
}
.xcard: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: 30% 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); padding-top: 4px; }
.why__list b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 700; letter-spacing: -.025em; }
.why__list p { color: var(--ink-2); margin-top: 2px; }

/* ---------- Counts ---------- */
.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.counts li { padding: 26px 24px; border-radius: var(--r3); background: var(--mist); display: grid; gap: 6px; }
.counts b { font-family: var(--f-display); font-size: clamp(3rem, 5.4vw, 4.6rem); font-weight: 700; letter-spacing: -.06em; line-height: .9; color: var(--brand); }
.counts b small { font-size: .32em; letter-spacing: 0; margin-left: 4px; color: var(--hot); }
.counts li > span { color: var(--ink-2); font-weight: 600; }

/* ---------- 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); }
.steps3 b { display: block; font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.03em; 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; letter-spacing: -.035em; 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); }
.callcard__b .i { width: 22px; height: 22px; }
.callcard.is-today { border-color: rgba(15, 138, 95, .45); }
.callcard.is-today .callcard__k::after { content: "Today"; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: #E8F6F0; color: var(--ok); letter-spacing: .04em; }
@media (hover: hover) and (pointer: fine) { .callcard:hover { border-color: rgba(31, 72, 229, .45); box-shadow: var(--shadow); } .callcard:hover .callcard__b { background: var(--hot); transform: rotate(-12deg); } }
.online { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 22px; color: var(--ink-2); font-weight: 600; }
.online a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .online a:hover { color: var(--brand-deep); 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); }
/* crop wide shots so the surgeon and the patient sit near the centre */
.film figure.film__crop { aspect-ratio: 5 / 4; }
.film figure.film__crop img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 35%; }
.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); } }

/* ---------- Take ---------- */
.take { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.take__text { display: grid; gap: 20px; justify-items: start; }
.take__quote { font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; min-height: 2.1em; }
.take__quote::before { content: "“"; color: var(--hot); }
.take__quote::after { content: "”"; color: var(--hot); }
.take__note { font-size: 1.1rem; color: var(--ink-2); max-width: 54ch; min-height: 3.3em; }
.take__nav { display: flex; align-items: center; gap: 10px; }
.take__arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; transition: background-color .2s ease, transform .16s var(--ease-out); }
.take__arrow:active { transform: scale(.94); }
.take__arrow--prev { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
.take__arrow--prev .i { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .take__arrow:hover { background: var(--brand-deep); } .take__arrow--prev:hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
.take__dots { display: flex; gap: 8px; width: min(100%, 320px); }
.take__dots button { flex: 1; padding: 10px 0; }
.take__dots i { display: block; position: relative; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.take__dots i::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(var(--fill, 0)); }
/* tip change: text slides out and back in, the art crossfades in its own canvas */
.take__quote, .take__note, .take__cap { transition: opacity .22s ease, transform .22s var(--ease-out), filter .22s ease; }
.take.is-out .take__quote, .take.is-out .take__note { opacity: 0; transform: translateX(-28px); filter: blur(3px); }
.take.is-out[data-dir="back"] .take__quote, .take.is-out[data-dir="back"] .take__note { transform: translateX(28px); }
.take.is-in .take__quote, .take.is-in .take__note { animation: takeIn .38s var(--ease-out); }
.take.is-in[data-dir="back"] .take__quote, .take.is-in[data-dir="back"] .take__note { animation-name: takeInBack; }
.take.is-out .take__cap { opacity: 0; transform: translateY(-6px); }
@keyframes takeIn { from { opacity: 0; transform: translateX(28px); filter: blur(3px); } }
@keyframes takeInBack { from { opacity: 0; transform: translateX(-28px); filter: blur(3px); } }
.take__art { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r3); overflow: hidden; background: radial-gradient(80% 80% at 50% 40%, #FFFFFF, var(--mist) 60%, var(--mist-2)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.take__art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(31, 72, 229, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 72, 229, .05) 1px, transparent 1px); background-size: 32px 32px; }
.take__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.take__cap { 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); }

/* ---------- Instagram ---------- */
/* Instagram's own brand gradient, used only for the icon tile, the button and a faint wash */
.ig { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r3); background: #fff; border: 1px solid var(--line); transition: box-shadow .25s ease, transform .2s var(--ease-out); }
.ig::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ig); opacity: .09; }
.ig::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -80px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 41, 118, .22), transparent); }
.ig__icon { width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; background: var(--ig); color: #fff; box-shadow: 0 14px 28px -14px rgba(214, 41, 118, .8); flex: none; }
.ig__icon .i { width: 32px; height: 32px; stroke-width: 2; }
.ig__txt { flex: 1; min-width: 240px; display: grid; gap: 2px; }
.ig__txt small { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #C1306B; }
.ig__txt b { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.035em; }
.ig__txt span { color: var(--ink-2); }
.ig .btn--ig { background: var(--ig); color: #fff; box-shadow: 0 12px 24px -12px rgba(214, 41, 118, .8); }
@media (hover: hover) and (pointer: fine) { .ig:hover { box-shadow: var(--shadow); transform: translateY(-2px); } .ig:hover .btn--ig { filter: saturate(1.2) brightness(1.04); } }

/* ---------- Timetable (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-now i { width: 2px; height: 16px; border-radius: 1px; background: var(--hot); }
.gantt__scroll { overflow-x: auto; overscroll-behavior-x: contain; padding: 24px 0 4px; }
@media (min-width: 901px) { .gantt__scroll { overflow: visible; } }
.gantt__short { display: none; }
.gantt__grid { min-width: 760px; display: grid; gap: 8px; --daycol: 150px; }
.gantt__axis { display: grid; grid-template-columns: var(--daycol) 1fr; height: 22px; }
.gantt__ticks { position: relative; }
.gantt__tick { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--mono); font-size: .76rem; color: var(--ink-3); font-variant-numeric: tabular-nums; 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; align-items: flex-start; gap: 4px; padding: 0 16px; font-weight: 800; font-size: 1rem; border-radius: 14px 0 0 14px; }
.gantt__day em { font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hot); }
.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) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }
.gantt__row.is-today .gantt__day { background: var(--hot-soft); color: var(--ink); }
.gantt__row.is-today .gantt__track { background-color: #FFF6F2; }
.gantt__block { position: absolute; top: calc(6px + var(--lane, 0) * 46px); height: 40px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 10px; border-radius: 10px; background: var(--c); color: #0A1A33; 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); }
.gantt__block b { font-weight: 800; }
.gantt__block span { font-weight: 600; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gantt__block--light { color: #fff; }
.gantt__block--open { -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent); mask-image: linear-gradient(90deg, #000 62%, transparent); justify-content: flex-start; }
.gantt__block--dash { background: #fff; border: 1.5px dashed var(--c); color: var(--ink-2); box-shadow: none; justify-content: flex-start; }
.gantt__block:active { transform: scale(.98); }
.gantt__block::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; opacity: 0; 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: translate(-50%, 0); } }
.gantt__block:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.gantt__now { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--hot); z-index: 2; pointer-events: none; }
.gantt__now span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .7rem; font-weight: 600; color: var(--hot); white-space: nowrap; }
.js .gantt-wrap .gantt__block { clip-path: inset(0 100% 0 0 round 10px); transition: clip-path .55s var(--ease-out), filter .2s ease, transform .16s var(--ease-out); }
.js .gantt-wrap.is-in .gantt__block, .js .gantt-wrap.hero-in .gantt__block { clip-path: inset(-60px -400px -6px -400px round 10px); }
.glist { display: none; }

/* ---------- 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); }
.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(31, 72, 229, .09), transparent); }

/* ---------- Treatments: body map ---------- */
.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: #9FB3E6; transition: fill .3s ease; }
.skeleton .sk-l { fill: none; stroke: #9FB3E6; 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(31, 72, 229, .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: 700; letter-spacing: -.03em; line-height: 1.1; }

.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: 700; letter-spacing: -.04em; 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; }

.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: 700; letter-spacing: -.03em; }
.phases b::before { content: counter(ph, decimal-leading-zero) "  "; color: var(--hot); font-family: var(--mono); font-size: .8rem; vertical-align: .35em; }
.phases span { color: var(--ink-2); font-size: .97rem; }

.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); padding-top: 2px; }

/* ---------- Clinics ---------- */
.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: 700; letter-spacing: -.03em; 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; }

/* ---------- Clinics: location map ---------- */
.cmap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; align-items: stretch; }
.cmap__list { display: grid; gap: 8px; align-content: start; }
.cmap__list button { display: grid; grid-template-columns: 12px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 14px 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); }
.cmap__list button:active { transform: scale(.985); }
.cmap__list i { grid-row: 1 / 3; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.cmap__list b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 700; letter-spacing: -.02em; }
.cmap__list span { font-size: .88rem; color: var(--ink-3); }
.cmap__list button[aria-selected="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
@media (hover: hover) and (pointer: fine) { .cmap__list button:hover:not([aria-selected="true"]) { border-color: var(--ink-3); } }
/* phones: the section holds still while the clinic list slides sideways (main.js sets the pin and its length) */
.sec.is-pinned > .wrap { position: sticky; top: var(--pin-top); }
.sec.is-pinned .cmap__list { scroll-snap-type: none; }
.cmap__map { position: relative; min-height: 440px; border-radius: var(--r3); overflow: hidden; background: var(--mist-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cmap__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cmap__pending { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: rgba(244, 247, 252, .94); font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; z-index: 1; }
.cmap__open { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: .92rem; box-shadow: 0 10px 22px -10px rgba(31, 72, 229, .8); transition: background-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .cmap__open:hover { background: var(--brand-deep); } }

/* ---------- Contact ---------- */
.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; }
@media (hover: hover) and (pointer: fine) { .qlist a:hover { color: var(--brand-deep); text-decoration: underline; } }

/* ---------- Advice ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a { padding: 9px 15px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); color: var(--ink-2); font-size: .92rem; font-weight: 700; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .chips a:hover { background: var(--brand); border-color: var(--brand); color: #fff; } }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.note { display: grid; gap: 14px; padding: clamp(24px, 3vw, 38px); border-radius: var(--r3); background: #fff; border: 1px solid var(--line); color: var(--ink-2); scroll-margin-top: calc(var(--hdr) + 16px); margin-top: 0; max-width: none; font-size: 1rem; }
.note:target { box-shadow: 0 0 0 3px var(--brand); }
.note--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.note__visual--stat { display: grid; gap: 10px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r2); background: linear-gradient(140deg, var(--brand), var(--brand-deep)); color: #fff; align-content: center; min-height: 260px; }
.note__big { font-family: var(--f-display); font-size: clamp(5rem, 11vw, 8.5rem); font-weight: 800; letter-spacing: -.06em; line-height: .85; }
.note__visual--stat > span:last-child { font-weight: 700; max-width: 22ch; opacity: .9; }
.note__body { display: grid; gap: 14px; }
.note__tag { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hot); }
.note h2 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; color: var(--ink); text-wrap: balance; }
.note b { color: var(--ink); }
.note__take { padding: 14px 16px; border-radius: var(--r1); background: var(--brand-soft); border-left: 4px solid var(--brand); color: var(--ink); }
.note__src { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); }
.note__quote { padding-left: 16px; border-left: 4px solid var(--hot); color: var(--ink); font-weight: 700; font-size: 1.08rem; line-height: 1.45; }
.rules { display: grid; gap: 10px; counter-reset: ru; }
.rules li { counter-increment: ru; position: relative; padding-left: 38px; line-height: 1.45; }
.rules li::before { content: counter(ru); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 800; color: #fff; background: var(--brand); }
.myths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.myth { height: 250px; perspective: 1100px; text-align: left; border-radius: var(--r3); }
.myth__in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s var(--ease-in-out); }
.myth[aria-pressed="true"] .myth__in { transform: rotateY(180deg); }
.myth__f, .myth__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; font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.myth__f { background: #fff; border: 1.5px solid var(--line-2); transition: border-color .2s ease; }
.myth__b { background: var(--brand); color: #fff; transform: rotateY(180deg); font-family: var(--f); font-size: 1.04rem; font-weight: 600; letter-spacing: 0; line-height: 1.45; }
.myth small { font-family: var(--f); font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hot); }
.myth__b small { color: #FFD3C6; }
.myth__f::after { content: "Tap to flip"; margin-top: auto; font-family: var(--f); font-size: .82rem; font-weight: 700; letter-spacing: 0; color: var(--brand); }
@media (hover: hover) and (pointer: fine) { .myth:hover .myth__f { border-color: var(--brand); } }
.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: 700; letter-spacing: -.06em; 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; }

/* ---------- Advice: topics, note cards, tools ---------- */
.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; }
.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); }

.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
/* the two checks sit side by side at equal height, their source lines level at the bottom */
.tool[data-check] { display: flex; flex-direction: column; }
.tool[data-check] .tool__fine { margin-top: auto; }
.tool { display: grid; gap: 16px; 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); }
.tool h3 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.tool__fine { font-size: .84rem; color: var(--ink-3); }
.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: 700; letter-spacing: -.02em; }
.verdict span { color: var(--ink-2); font-size: .95rem; }
.verdict.is-ok { background: #E8F6F0; border-color: var(--ok); }
.verdict.is-ok b { color: var(--ok); }
.verdict.is-mid { background: #FFF6DD; border-color: #EDA100; }
.verdict.is-mid b { color: #9A6A00; }
.verdict.is-bad { background: var(--hot-soft); border-color: var(--hot); }
.verdict.is-bad b { color: #C2410C; }
.nums--white li { background: #fff; }

/* ---------- About ---------- */
.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 pinned section; the rail fills and each vertebra lights up as you scroll */
.path { position: relative; }
.js .path { height: 260vh; }
.path__sticky { padding: clamp(72px, 9vw, 120px) 0; }
.js .path__sticky { position: sticky; top: 0; height: 100dvh; min-height: 560px; display: flex; align-items: center; padding: 0; overflow: hidden; }
.path__sticky > .wrap { width: 100%; }
.path__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.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__viewport { margin-top: clamp(36px, 6vh, 64px); overflow: hidden; padding: 6px 0 10px; margin-inline: -6px; padding-inline: 6px; }
.path__track { position: relative; will-change: transform; }
.path__rail { position: absolute; left: 26px; right: calc(25% - 26px); top: 9px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 16px); }
.path__rail i { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--hot)); transform-origin: left; transform: scaleX(var(--p, 1)); }
.hspine { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hspine li { position: relative; display: grid; gap: 6px; padding-top: 44px; align-content: start; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.js .path .hspine li { opacity: .32; transform: translateY(8px); }
.js .path .hspine li.is-on { opacity: 1; transform: none; }
.hspine__v { position: absolute; top: 0; left: 10px; 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); }
.hspine__v::before, .hspine__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; }
.hspine__v::before { left: -10px; } .hspine__v::after { right: -10px; }
.hspine li.is-on .hspine__v, .hspine li.is-on .hspine__v::before, .hspine li.is-on .hspine__v::after { background: var(--brand); border-color: var(--brand); }
.hspine li.is-on .hspine__v { transform: scale(1.12); }
.hspine li.is-now.is-on .hspine__v, .hspine li.is-now.is-on .hspine__v::before, .hspine li.is-now.is-on .hspine__v::after { background: var(--hot); border-color: var(--hot); }
html:not(.js) .hspine__v, html:not(.js) .hspine__v::before, html:not(.js) .hspine__v::after { background: var(--brand); border-color: var(--brand); }
.hspine small { font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hot); }
.hspine b { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.hspine span { color: var(--ink-2); font-size: .98rem; }
.confs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.conf { display: grid; gap: 16px; align-content: start; padding: 14px 14px 22px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); }
.conf img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r2); }
.conf > div { padding: 0 8px; }
.conf__when { font-family: var(--mono); font-size: .78rem; color: var(--hot); }
.conf h3 { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; margin: 4px 0 8px; }
.conf div > p:last-child { color: var(--ink-2); font-size: .97rem; }
.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(244, 247, 252, .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); }

/* ---------- 404 ---------- */
.phero--404 { min-height: 88vh; display: flex; align-items: center; }
.lost__x { width: min(360px, 80vw); margin-bottom: 24px; }
.lost__bone { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; }
.lost__bone--b { stroke: var(--hot); fill: var(--hot-soft); transform-origin: 250px 100px; animation: wob 3.4s ease-in-out infinite; }
@keyframes wob { 50% { transform: rotate(5deg) translate(6px, 2px); } }
.lost .row { margin-top: 28px; }

/* ---------- Footer ---------- */
.ftr { background: var(--mist); padding: clamp(56px, 7vw, 96px) 0 30px; }
.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, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; position: relative; overflow: hidden; }
.ftr__cta::after { content: ""; position: absolute; right: -40px; top: -130px; width: 230px; height: 230px; border-radius: 50%; border: 30px solid rgba(255, 91, 53, .85); }
.ftr__big { position: relative; z-index: 1; font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.05em; line-height: .95; }
.ftr__cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.ftr { overflow: hidden; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .7fr) 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: #fff; color: var(--ink); border: 1px solid var(--line); transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out), border-color .2s ease; }
.ftr__social a:active { transform: scale(.94); }
.ftr__social .ftr__ig { background: var(--ig); color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { .ftr__social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); } .ftr__social .ftr__ig:hover { background: var(--ig); filter: saturate(1.15); } }
.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__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: .74rem; 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, 16vw, 16rem); font-weight: 800; letter-spacing: -.065em; line-height: .9; text-align: center; white-space: nowrap; margin: 18px 0 8px; padding-bottom: .04em; background: linear-gradient(180deg, rgba(31, 72, 229, .2), rgba(31, 72, 229, .03) 80%); -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; }
  .quad, .myths, .nums, .counts, .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clinics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kick__ui { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .kick__steps { grid-column: 1; grid-row: 3; align-self: end; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .kick__steps li { grid-template-columns: 1fr; padding: 10px; text-align: center; justify-items: center; }
  .kick__steps li::before { grid-row: auto; margin-bottom: 4px; }
  .kick__steps span { display: none; }
  .kick__steps b { font-size: .98rem; }
  /* the closing card takes the heading's place; by then the figure is lying on the ground below it */
  .kick__end { top: calc(var(--hdr) + 4px); margin-top: 0; left: var(--gut); right: auto; max-width: 480px; }
  .kick__head { transition: opacity .3s var(--ease-out); }
  .kick__ui:has(.kick__end.is-in) .kick__head { opacity: 0; }
}
@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: 16px 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; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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; }
  .split, .why, .bmap__grid, .px__body, .note--wide, .ahero, .take, .cmap { grid-template-columns: 1fr; }
  .cmap__map { min-height: 340px; }
  .cmap__list { 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; }
  .cmap__list::-webkit-scrollbar { display: none; }
  .cmap__list button { scroll-snap-align: start; }
  .xcards { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .xcard--knee { grid-column: span 2; grid-row: span 1; }
  .xcard--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; }
  .bmap__figure, .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); }
  .scope-mini { width: 100%; justify-items: center; }
  .sec__head:has(.scope-mini) { justify-content: center; }
  .sec__head:has(.scope-mini) > div:first-child { width: 100%; }
  .bmap__plate { width: min(64vw, 280px); }
  .ahero__photo { max-width: 420px; justify-self: center; width: 100%; }
  /* phones: the four cards sit on one horizontal track that slides as you scroll */
  .path__track { width: max-content; }
  .hspine { grid-template-columns: repeat(4, min(76vw, 340px)); gap: 18px; }
  .path__rail { right: calc(min(76vw, 340px) - 26px); }
  .hspine li { padding: 44px 18px 20px; border-radius: var(--r2); background: var(--mist); }
  .hspine__v { top: 0; left: 28px; }
  .confs { grid-template-columns: 1fr; }
  .conf { grid-template-columns: 130px 1fr; align-items: center; }
  .conf img { aspect-ratio: 1; }
  .conf > div { padding: 0; }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flags__list, .notes, .tools { grid-template-columns: 1fr; }
  .acard--wide { grid-template-columns: 1fr; }
  .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: 92px; height: 92px; right: 0; }
  .hero__badge .mark { width: 32px; height: 32px; }
  .clinics, .quad, .myths, .nums, .region__cols, .facts, .acards { grid-template-columns: 1fr; }
  .counts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .counts li { padding: 20px 18px; }
  .counts b { font-size: 3rem; }
  .counts li > span { font-size: .9rem; }
  .xcards { grid-auto-rows: 236px; gap: 10px; }
  .xcard:not(.xcard--knee) canvas { inset: 0 0 38% 0; height: 62%; }
  .xcard:not(.xcard--knee) .xcard__body { padding: 32px 14px 14px; background: linear-gradient(to top, #fff 62%, rgba(255, 255, 255, 0)); }
  .xcard__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; }
  .myth { height: 200px; }
  .callcard { padding: 20px; }
  /* the label wraps like a line of text, so the dot stays with the name and "Today" follows it */
  .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; }
  .kick__steps { gap: 4px; }
  .kick__steps li { padding: 8px 2px; background: transparent; border: 0; box-shadow: none !important; }
  .kick__steps li.is-on { background: #fff; }
  .kick__steps b { font-size: .78rem; }
  .kick__steps li::before { width: 28px; height: 28px; }
  .kick__end { right: var(--gut); max-width: none; padding: 18px 20px; }
  .kick__goal { font-size: var(--fs-h2); }
  .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.05rem; margin-bottom: 6px; }
  .glist__day > p em { font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hot); }
  .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: 70px 1fr; grid-template-rows: auto auto; gap: 2px 10px; padding: 11px 14px; border-radius: 12px; background: var(--mist); border-left: 4px solid var(--c); transition: background-color .2s ease; }
  .glist__day.is-today a { background: #FFF6F2; }
  .glist__day a:active { background: var(--mist-2); }
  .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: .88rem; 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-dash { background: repeating-linear-gradient(90deg, var(--c) 0 6px, transparent 6px 10px); }
  .lb__prev, .lb__next { top: auto; bottom: 14px; margin-top: 0; }
  .tip { right: 12px; bottom: 12px; }
}

/* A phone held sideways: the kick stage fits the screen and keeps only the heading, the figure and the
   closing card's button. Laptops keep everything, however short the window. */
@media (max-height: 500px) and (max-width: 950px) {
  .kick__sticky { min-height: 0; }
  .kick__sub, .kick__steps, .kick__end p:not(.kick__goal) { display: none; }
  .kick__ui { padding-bottom: 16px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hl path { animation: none; stroke-dashoffset: 0; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; transition: none; }
  .js .kick { height: auto; }
  .js .path { height: auto; }
  .js .path__sticky { position: relative; height: auto; padding: 80px 0; }
  .js .path .hspine li { opacity: 1; transform: none; }
  .js .kick__sticky { position: relative; }
  .ticker__track, .hero__badge svg:first-child, .dot::after, .pill--now::before { animation: none; }
  .take__quote, .take__note, .take__cap { transition: none; animation: none !important; }
  .skeleton .sk-scan, .scope-mini__drift, .scope-mini__probe, .lost__bone--b { animation: none; }
  .myth__in { transition: none; }
  .js .gantt-wrap .gantt__block { clip-path: none; transition: none; }
  .tip { transition: opacity .2s ease; transform: none; }
}

/* ---------- Google review prompt + thank-you ---------- */
.review-cta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: center; margin-top: 30px; padding: 18px 20px; border-radius: var(--r2); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 520px; }
.review-cta__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #FFF4D6; color: #E0A100; }
.review-cta__icon .i { width: 24px; height: 24px; fill: currentColor; stroke: currentColor; stroke-width: 1.2; }
.review-cta__txt { display: grid; gap: 2px; }
.review-cta__txt b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 700; letter-spacing: -.02em; }
.review-cta__txt span { font-size: var(--fs-label-sm); color: var(--ink-3); line-height: 1.45; }
.review-cta .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 1121px) { .review-cta { grid-template-columns: auto minmax(0, 1fr) auto; } .review-cta .btn { grid-column: auto; } }
.ftr__col > a[data-review] { display: inline-flex; align-items: center; gap: 8px; }
.ftr__col > a[data-review] .i { width: 16px; height: 16px; fill: #E0A100; stroke: #E0A100; }
.thanks { width: min(440px, calc(100% - 32px)); padding: 34px 30px 28px; border: 0; border-radius: var(--r3); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); text-align: center; }
.thanks[open] { animation: thanksIn .32s var(--ease-out); }
.thanks::backdrop { background: rgba(10, 26, 51, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes thanksIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.thanks__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #FFF4D6; animation: pop .5s var(--ease-out) .1s both; }
.thanks__icon svg { width: 32px; height: 32px; fill: #E0A100; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.12); } }
.thanks h2 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.thanks p { margin-top: 10px; color: var(--ink-2); }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.thanks__x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; 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) { .thanks__x:hover { background: var(--mist); color: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .thanks[open], .thanks__icon { animation: none; } }

/* ---------- Advice: sport warm-up builder ---------- */
/* full width under the two checks: the animation on the left, the five moves beside it */
.tool--warm { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: clamp(20px, 3vw, 40px); }
.tool--warm > * { grid-column: 1 / -1; }
.tool--warm > .warm__stage { grid-column: 1; }
.tool--warm > .warm__list { grid-column: 2; align-self: center; }
.tool--warm .seg { margin-top: -2px; }
.warm__stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r2); overflow: hidden; background: radial-gradient(80% 80% at 50% 40%, #fff, var(--mist) 62%, var(--mist-2)); border: 1px solid var(--line); }
.warm__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(31, 72, 229, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 72, 229, .05) 1px, transparent 1px); background-size: 28px 28px; }
.warm__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.warm__step { position: absolute; top: 12px; left: 14px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink-3); box-shadow: 0 1px 0 var(--line); }
.warm__cue { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-weight: 700; font-size: var(--fs-label-sm); color: var(--ink); }
.warm__cue::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); }
.tool--warm.is-swap .warm__cue { animation: inUp .35s var(--ease-out); }
.warm__list { display: grid; gap: 6px; }
.warm__list button { position: relative; width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 12px; background: var(--mist); overflow: hidden; transition: background-color .2s ease, box-shadow .2s ease; }
.warm__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: var(--fs-label-sm); font-weight: 600; background: #fff; color: var(--ink-3); }
.warm__txt { display: grid; gap: 1px; }
.warm__txt b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 700; letter-spacing: -.02em; }
.warm__txt small { font-size: var(--fs-label-sm); color: var(--ink-3); }
.warm__list button i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--hot)); transform-origin: left; transform: scaleX(0); }
.warm__list button[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 1.5px var(--brand); }
.warm__list button[aria-pressed="true"] .warm__n { background: var(--brand); color: #fff; }
.warm__list button[aria-pressed="true"] i { transform: scaleX(var(--fill, 0)); }
@media (hover: hover) and (pointer: fine) { .warm__list button:hover:not([aria-pressed="true"]) { background: var(--mist-2); } }

/* ---------- 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(31, 72, 229, .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: 700; letter-spacing: -.02em; 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); } }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } }
@media (prefers-reduced-motion: reduce) { .faq__item[open] .faq__a { animation: none; } }
@media (max-width: 900px) { .tool--warm > .warm__stage, .tool--warm > .warm__list { grid-column: 1 / -1; } }
@media (max-width: 640px) { .warm__stage { aspect-ratio: 4 / 3.4; } }
