/* APSI: Advanced Physio & Sports Injury
   Light clinical ground, ink type, crimson used as an accent only. */

:root {
  --paper: #f3f4f6;
  --paper-2: #e8eaee;
  --surface: #ffffff;
  --ink: #13161c;
  --ink-2: #2b3039;
  --muted: #586070;
  --line: rgba(19, 22, 28, 0.1);
  --line-2: rgba(19, 22, 28, 0.2);
  --red: #c8202f;
  --red-deep: #a01824;
  --red-tint: #f8e7e8;
  --nerve: #d9a21b;
  --bone: #e6dfd0;
  --night: #121419;
  --on-night: #f2f3f5;
  --on-night-muted: #a9afbb;

  --r-sm: 12px;
  --r: 20px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(19, 22, 28, 0.05), 0 12px 32px -14px rgba(19, 22, 28, 0.18);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --wrap: 1360px;
  --section: clamp(64px, 7.5vw, 112px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-nav: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: rgba(19, 22, 28, 0.28) var(--paper); scrollbar-width: thin; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--red); overflow-x: clip;
}
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: rgba(19, 22, 28, 0.22); border-radius: 10px; border: 2px solid var(--paper); }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 880px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill); font-weight: 600; transition: top 0.2s; }
.skip:focus { top: 16px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display, h1, h2, .h2 {
  font-stretch: 112%; font-weight: 800; text-transform: uppercase;
  line-height: 0.95; letter-spacing: -0.015em; text-wrap: balance;
}
.display em, h1 em, h2 em, .h2 em { color: var(--red); font-style: italic; }
h2, .h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-stretch: 106%; font-weight: 700; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.005em; }
.lede { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--ink-2); max-width: 66ch; }

.sec { padding-block: var(--section) 0; }
.sec:last-of-type { padding-bottom: 0; }
.sec-head { max-width: 54rem; margin-bottom: clamp(36px, 4.5vw, 64px); }
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 1.0625rem; max-width: 60ch; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center p { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 1.55rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.975rem; line-height: 1; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px -10px rgba(19, 22, 28, 0.45); }
.btn--primary:hover { background: var(--red-deep); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--red); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn .ico { transition: transform 0.3s var(--ease); }
.btn:hover .ico { transform: translate(2px, -2px); }
.link { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color 0.2s, color 0.2s; }
.link:hover { color: var(--red); border-color: var(--red); }
.linkbtn { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; padding: 0 8px; align-self: center; }
.linkbtn:hover { color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: var(--z-nav); top: 14px; left: 50%; translate: -50% 0;
  width: min(100% - 28px, var(--wrap)); height: 64px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: var(--r-pill); border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 10px 30px -18px rgba(19, 22, 28, 0.35);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand img { width: 46px; height: 33px; }
.lockup { display: grid; line-height: 1; }
.lockup__top { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.lockup__mid { font-weight: 600; font-size: 1.12rem; margin: 2px 0 3px; letter-spacing: -0.005em; }
.lockup__bot { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.36em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { padding: 10px 14px; border-radius: var(--r-pill); color: var(--muted); font-size: 0.925rem; font-weight: 500; transition: color 0.2s, background-color 0.2s; }
.nav__links a:hover { color: var(--ink); background: var(--paper-2); }
.nav__links a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); align-items: center; justify-content: center; font-size: 1.1rem; background: #fff; }

/* ---------- branded image ("post") ---------- */
.post {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r); background: var(--night); color: var(--on-night);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 420px;
}
.post > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.post::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 14, 0.62) 0%, rgba(10, 11, 14, 0.06) 34%, rgba(10, 11, 14, 0.12) 52%, rgba(10, 11, 14, 0.9) 100%); }
a.post:hover > img { transform: scale(1.04); }
.post__head { padding: 20px 22px 0; display: flex; align-items: center; gap: 12px; }
.post__head img { width: 40px; height: 29px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)); }
.post__head .lockup__bot { color: rgba(242, 243, 245, 0.72); }
.post__head .lockup__mid { font-size: 1rem; }
.post__divider { width: 1px; align-self: stretch; background: rgba(242, 243, 245, 0.45); }
.post__tags { padding: 10px 22px 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(242, 243, 245, 0.8); }
.post__tags span + span::before { content: "|"; color: var(--red); margin-right: 10px; }
.post__body { padding: 0 22px 22px; }
.post__title { font-stretch: 114%; font-weight: 800; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.01em; font-size: clamp(1.8rem, 3.2vw, 2.9rem); text-wrap: balance; }
.post__title em { color: #ff4a50; font-style: italic; display: block; }
.post__text { margin-top: 12px; color: rgba(242, 243, 245, 0.84); font-size: 0.95rem; max-width: 40ch; }
.post__foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(242, 243, 245, 0.22); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.78rem; font-weight: 500; color: rgba(242, 243, 245, 0.86); }
.post__foot span { display: inline-flex; align-items: center; gap: 6px; }
.post__cta { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid rgba(242, 243, 245, 0.7); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.post--tall { min-height: 560px; }
.post--short { min-height: 320px; }

/* ---------- home hero ---------- */
.hero {
  position: relative; isolation: isolate; min-height: 100dvh; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto; padding: 96px 0 clamp(36px, 6vh, 64px);
  background:
    radial-gradient(60% 55% at 50% 38%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #eef0f3 0%, var(--paper) 100%);
}
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__stage canvas { width: 100%; height: 100%; }
.hero__hint { position: absolute; left: var(--gutter); bottom: clamp(36px, 5.6vh, 60px); z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 1080px) { .hero__hint { display: none; } }
.hero__grid { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: 0.55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 75%); }
.hero__side { position: absolute; top: 120px; width: clamp(220px, 19vw, 290px); z-index: 1; }
.hero__side--l { left: var(--gutter); }
.hero__side--r { right: var(--gutter); top: 170px; }
.hero__side .post { min-height: clamp(320px, 42vh, 400px); box-shadow: 0 30px 60px -30px rgba(19, 22, 28, 0.5); }
.hero__side .post__title { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.hero__legend { position: absolute; right: var(--gutter); bottom: clamp(28px, 5vh, 52px); display: flex; gap: 6px; padding: 5px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: 2; }
.hero__copy { grid-row: 2; position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; }
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; z-index: 1; pointer-events: none; background: linear-gradient(0deg, var(--paper) 18%, rgba(243, 244, 246, 0.86) 48%, rgba(243, 244, 246, 0) 100%); }
.status { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 8px 15px 8px 13px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; }
.status__next { color: var(--muted); }
.status__rule { width: 18px; height: 1px; background: var(--line-2); }
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; flex: none; }
.status__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid #1f9d55; opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
.hero h1 { margin-top: 22px; font-size: clamp(2.4rem, 6.6vw, 6.2rem); line-height: 0.9; }
.hero h1 .line { display: block; overflow: hidden; padding: 0.05em 0.12em 0.05em; margin: 0 -0.12em; }
.hero h1 .line__in { display: block; }
.hero__sub { margin-top: 20px; max-width: 36rem; color: var(--ink-2); font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tip { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; padding: 8px 12px; border-radius: 10px; background: var(--night); color: var(--on-night); font-size: 0.82rem; font-weight: 500; line-height: 1.3; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); opacity: 0; transform: translate3d(-100px, -100px, 0); transition: opacity 0.15s; max-width: 260px; }
.tip.is-on { opacity: 1; }
.tip small { display: block; color: var(--on-night-muted); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.tip i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

.seg { display: inline-flex; gap: 2px; }
.seg button, .seg a { min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); font-size: 0.82rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; transition: background-color 0.2s, color 0.2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.swatch { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.swatch--muscle { background: #b8443b; }
.swatch--nerve { background: var(--nerve); }
.swatch--bone { background: #cfc5ae; }

/* ---------- inner page hero ---------- */
.phero { padding-top: 92px; }
.phero .post { min-height: clamp(460px, 72vh, 720px); border-radius: 0 0 var(--r) var(--r); }
.phero .post { justify-content: flex-end; }
.phero .post__body { text-align: center; display: grid; justify-items: center; padding-bottom: clamp(28px, 5vh, 56px); }
.phero h1 { font-size: clamp(2.4rem, 6.4vw, 5.8rem); line-height: 0.92; color: var(--on-night); }
.phero h1 em { color: #ff4a50; }
.phero .post__text { max-width: 44rem; font-size: clamp(1rem, 1.3vw, 1.18rem); text-align: center; }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(242, 243, 245, 0.75); margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* ---------- cards / grids ---------- */
.card { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(22px, 2.4vw, 32px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.split--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); }
.tag--red { border-color: transparent; background: var(--red-tint); color: var(--red-deep); }
.tag--ink { border-color: transparent; background: var(--ink); color: #fff; }
.cite { font-family: var(--mono); font-size: max(0.78em, 11px); vertical-align: 0.35em; line-height: 0; margin-left: 2px; }
.cite a { color: var(--red); padding: 2px; }
.cite a:hover { text-decoration: underline; }
.note { font-size: 0.85rem; color: var(--muted); }

/* ---------- home: intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: end; }
.intro__facts { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.intro__facts li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.intro__facts .ico { color: var(--red); width: 1.5rem; height: 1.5rem; margin-top: 2px; }
.intro__facts strong { display: block; font-weight: 700; }
.intro__facts span { color: var(--muted); font-size: 0.95rem; }

/* ---------- home: services rail ---------- */
.rail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.rail > :nth-child(1) { grid-column: span 5; grid-row: span 2; }
.rail > :nth-child(2) { grid-column: span 4; }
.rail > :nth-child(3) { grid-column: span 3; }
.rail > :nth-child(4) { grid-column: span 3; }
.rail > :nth-child(5) { grid-column: span 4; }
.rail .post { min-height: 300px; }
.rail > :nth-child(1).post { min-height: 616px; }

/* ---------- body map strip (home + conditions) ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.viewport { position: relative; min-height: min(82vh, 820px); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none;
  background: radial-gradient(70% 60% at 50% 42%, #ffffff 0%, #eef0f3 70%, #e6e9ee 100%); }
.viewport.is-dragging { cursor: grabbing; }
.viewport canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.viewport__top { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; pointer-events: none; }
.viewport__top > * { pointer-events: auto; }
.layers { padding: 4px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.86); border: 1px solid var(--line); }
.viewport__controls { position: absolute; right: 14px; bottom: 14px; display: grid; gap: 8px; }
.viewport__controls button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.9); transition: background-color 0.2s, border-color 0.2s; }
.viewport__controls button:hover { background: #fff; border-color: var(--ink); }
.viewport__hint { position: absolute; left: 18px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.85rem; pointer-events: none; transition: opacity 0.5s; }
.viewport.has-interacted .viewport__hint { opacity: 0; }
.viewport__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; transition: opacity 0.5s; pointer-events: none; }
.viewport__loading span { display: inline-flex; align-items: center; gap: 10px; }
.viewport__loading span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--red); animation: spin 0.9s linear infinite; }
.is-ready .viewport__loading, .hero.is-ready .viewport__loading { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.viewport__fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 32px; color: var(--muted); }
.viewport__fallback[hidden] { display: none; }
.viewport__credit { position: absolute; left: 18px; bottom: 18px; font-size: 0.72rem; color: var(--muted); max-width: 60%; }
.viewport.has-interacted .viewport__credit { bottom: 18px; }

.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hotspot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; pointer-events: auto; opacity: 0; transition: opacity 0.4s; }
.viewport.is-ready .hotspot { opacity: 1; }
.hotspot__ring { position: relative; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: var(--red); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); transition: transform 0.25s var(--ease); }
.hotspot__ring::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid var(--red); animation: ping 2.8s var(--ease) infinite; }
.hotspot__label { position: absolute; left: 36px; top: 50%; translate: 0 -50%; padding: 5px 11px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-2); font-size: 0.78rem; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.25); transition: background-color 0.25s, color 0.25s; }
.hotspot[data-zone="neck"] .hotspot__label { left: auto; right: 36px; }
.hotspot:hover .hotspot__ring, .hotspot.is-active .hotspot__ring { transform: scale(1.3); }
.hotspot.is-active .hotspot__label { background: var(--red); border-color: var(--red); color: #fff; }
.viewport.has-zone .hotspot:not(.is-active) { opacity: 0.35; }
.viewport .hotspot.is-behind { opacity: 0 !important; pointer-events: none; }
.viewport.has-zone .hotspot:not(.is-active) .hotspot__label { opacity: 0; }

.readout { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.zones { display: flex; flex-wrap: wrap; gap: 8px; }
.zones button { min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font-size: 0.875rem; font-weight: 500; transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.zones button:hover { border-color: var(--ink); }
.zones button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.panel { flex: 1; display: flex; }
.panel__body { display: flex; flex-direction: column; width: 100%; }
.panel__title { font-stretch: 112%; font-weight: 800; text-transform: uppercase; line-height: 0.96; font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.panel__lede { margin-top: 14px; color: var(--ink-2); max-width: 48ch; }
.panel__note { margin-top: 14px; color: var(--muted); max-width: 48ch; }
.panel__body > .btn { margin-top: auto; align-self: flex-start; }
.panel__lede + .panel__note { margin-bottom: 28px; }
.panel h4 { margin: 24px 0 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.injuries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; font-size: 0.95rem; }
.injuries li { position: relative; padding-left: 16px; line-height: 1.35; }
.injuries li::before { content: ""; position: absolute; left: 0; top: 0.48em; width: 6px; height: 6px; background: var(--red); transform: skewX(-18deg); }
.protocol { display: grid; gap: 10px; }
.protocol li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 4px 16px; font-size: 0.95rem; line-height: 1.4; }
.protocol strong { font-weight: 600; }
.protocol span { color: var(--muted); }
.window { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.window__range { font-family: var(--mono); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.02em; }
.window__extra { color: var(--muted); font-size: 0.875rem; }
.phases { display: flex; gap: 4px; margin-top: 12px; }
.phases li { min-width: 0; }
.phases li i { display: block; height: 6px; border-radius: 3px; background: var(--red); transform-origin: left; }
.phases li:nth-child(1) i { opacity: 0.3; }
.phases li:nth-child(2) i { opacity: 0.6; }
.phases li span { display: block; margin-top: 8px; font-size: 0.8rem; color: var(--muted); }
.marker { margin-top: 16px; font-size: 0.95rem; }
.marker b { font-weight: 600; }
.panel__cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.panel__cta small { color: var(--muted); font-size: 0.8rem; }
.panel__src { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.panel__src a { color: var(--red); }

/* ---------- recovery visuals ---------- */
.phase-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: ph; }
.phase-card { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.phase-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.phase-card__img img { width: 100%; height: 100%; object-fit: cover; }
.phase-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 14, 0) 45%, rgba(10, 11, 14, 0.7)); }
.phase-card__when { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fff; font-family: var(--mono); font-size: 0.85rem; }
.phase-card__body { padding: 20px 22px 24px; }
.phase-card__body h3 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; }
.phase-card__body p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.phase-card__meter { margin-top: 16px; height: 6px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.phase-card__meter i { display: block; height: 100%; background: var(--red); border-radius: 3px; transform-origin: left; }

.heal { position: relative; }
.heal svg { width: 100%; height: auto; overflow: visible; }
.heal .band { transition: opacity 0.3s; }
.heal text { font-family: var(--font); }
.heal .tick { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.heal .axis { stroke: var(--line-2); }
.heal .band-label { font-size: 13px; font-weight: 700; fill: var(--ink); }
.heal .band-sub { font-size: 11.5px; fill: var(--muted); }
.heal-legend { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.heal-legend div { padding-top: 12px; border-top: 3px solid; }
.heal-legend div:nth-child(1) { border-color: #e9a2a6; }
.heal-legend div:nth-child(2) { border-color: #d65a62; }
.heal-legend div:nth-child(3) { border-color: var(--red-deep); }
.heal-legend strong { display: block; font-weight: 700; }
.heal-legend span { font-size: 0.9rem; color: var(--muted); }

.peace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.peace__col { border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px); }
.peace__col--a { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.peace__col--b { background: var(--night); color: var(--on-night); }
.peace__col h3 { font-stretch: 116%; font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: 0.06em; line-height: 1; }
.peace__col--b h3 { color: #ff4a50; }
.peace__when { margin-top: 6px; font-size: 0.9rem; color: var(--muted); }
.peace__col--b .peace__when { color: var(--on-night-muted); }
.peace__list { margin-top: 22px; display: grid; gap: 4px; }
.peace__list button { width: 100%; text-align: left; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px 10px; border-radius: var(--r-sm); transition: background-color 0.2s; }
.peace__col--a .peace__list button:hover, .peace__col--a .peace__list button[aria-expanded="true"] { background: var(--paper); }
.peace__col--b .peace__list button:hover, .peace__col--b .peace__list button[aria-expanded="true"] { background: rgba(255, 255, 255, 0.07); }
.peace__letter { font-stretch: 118%; font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--red); }
.peace__col--b .peace__letter { color: #ff4a50; }
.peace__word { font-weight: 700; font-size: 1.05rem; display: block; padding-top: 4px; }
.peace__more { display: block; color: var(--muted); font-size: 0.92rem; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), margin 0.4s var(--ease); }
.peace__col--b .peace__more { color: var(--on-night-muted); }
.peace__list button[aria-expanded="true"] .peace__more { max-height: 8em; margin-top: 4px; }

.paths { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 56px); align-items: start; }
.paths__list button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px; text-align: left; padding: 20px 0; border-top: 1px solid var(--line-2); color: var(--muted); transition: color 0.25s; position: relative; }
.paths__list button:last-child { border-bottom: 1px solid var(--line-2); }
.paths__list .p-name { font-stretch: 110%; font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.45rem); text-transform: uppercase; line-height: 1.1; transition: transform 0.4s var(--ease); }
.paths__list .p-range { font-family: var(--mono); font-size: 0.85rem; white-space: nowrap; }
.paths__list button:hover { color: var(--ink); }
.paths__list button[aria-selected="true"] { color: var(--ink); }
.paths__list button[aria-selected="true"] .p-name { transform: translateX(18px); }
.paths__list button[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 1.3em; translate: 0 -50%; background: var(--red); transform: skewX(-18deg); }
.paths__photo { margin-top: 20px; }
.paths__stage { border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); padding: clamp(22px, 2.6vw, 40px); }
.paths__range { font-family: var(--mono); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
.paths__desc { margin-top: 10px; color: var(--muted); max-width: 56ch; min-height: 3.2em; }
.chart { width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.chart .tick { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.chart .axis { stroke: var(--line-2); stroke-width: 1; }
.chart .demand { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 6; opacity: 0.5; }
.chart .demand-label, .chart .y-label { font-size: 11px; fill: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.chart .curve { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .ms circle { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.chart .ms text { font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.paths__legal { margin-top: 14px; font-size: 0.82rem; color: var(--muted); }
.paths__legal a { color: var(--red); }

.continuum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.continuum > :nth-child(1) { margin-top: 96px; }
.continuum > :nth-child(2) { margin-top: 48px; }
.continuum__step { font-family: var(--mono); font-size: 0.85rem; color: rgba(242, 243, 245, 0.8); }

.check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.check__list { display: grid; gap: 10px; }
.check__item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.check__item:hover { border-color: var(--line-2); }
.check__item input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.check__item input:checked + .check__box { background: var(--red); border-color: var(--red); color: #fff; }
.check__item input:focus-visible + .check__box { outline: 2px solid var(--red); outline-offset: 3px; }
.check__item strong { display: block; font-weight: 700; }
.check__item span { color: var(--muted); font-size: 0.92rem; }
.gauge { position: relative; aspect-ratio: 1; max-width: 360px; margin-inline: auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: var(--paper-2); stroke-width: 14; }
.gauge__val { fill: none; stroke: var(--red); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset 0.8s var(--ease); }
.gauge__read { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge__read b { font-family: var(--mono); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.gauge__read span { margin-top: 8px; color: var(--muted); font-size: 0.9rem; max-width: 16ch; margin-inline: auto; }

.load { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.load svg { width: 100%; height: auto; overflow: visible; }
.load .bar { transition: height 0.5s var(--ease), y 0.5s var(--ease), fill 0.3s; }
.load .tick { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.load__ctrl { display: grid; gap: 16px; }
.load__ctrl input[type="range"] { width: 100%; accent-color: var(--red); }
.load__read { font-family: var(--mono); font-size: 2.2rem; letter-spacing: -0.03em; }
.load__flag { padding: 12px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 0.95rem; transition: background-color 0.3s, color 0.3s; }
.load__flag[data-state="ok"] { background: #e6f4ec; color: #17683b; }
.load__flag[data-state="warn"] { background: var(--red-tint); color: var(--red-deep); }

/* ---------- treatments ---------- */
.tx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 72px); align-items: start; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line-2); }
.tx:nth-of-type(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.tx:nth-of-type(even) .tx__media { order: 2; }
.tx__media { position: sticky; top: 100px; }
.tx__media .post { min-height: clamp(380px, 52vh, 560px); }
.tx__body h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.tx__body .lede { margin-top: 18px; }
.tx__facts { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line-2); }
.tx__facts div { padding: 14px 16px 14px 0; }
.tx__facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.tx__facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tx__facts dd { margin-top: 4px; font-weight: 600; }
.tx__h { margin: 28px 0 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tx__steps { display: grid; gap: 8px; counter-reset: s; }
.tx__steps li { counter-increment: s; display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.tx__steps li::before { content: counter(s); font-family: var(--mono); font-size: 0.85rem; color: var(--red); padding-top: 2px; }
.evidence { margin-top: 24px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.evidence p { color: var(--ink-2); font-size: 0.95rem; }
.evidence p + p { margin-top: 8px; }
.evidence .label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--ink); }
.evidence .label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.tx__canvas { position: relative; margin-top: 20px; height: 220px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); overflow: hidden; cursor: crosshair; touch-action: pan-y; }
.tx__canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tx__canvas p { position: absolute; left: 14px; bottom: 10px; font-size: 0.8rem; color: var(--muted); pointer-events: none; display: inline-flex; align-items: center; gap: 6px; }
.planned { border-radius: var(--r); background: var(--surface); border: 1px dashed var(--line-2); padding: clamp(22px, 3vw, 40px); }
.planned__grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.planned__grid article { border-top: 2px solid var(--ink); padding-top: 14px; }
.planned__grid p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.planned__grid .evidence { margin-top: 14px; }

/* ---------- conditions library ---------- */
.lib { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lib__zone { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.lib__zone img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.lib__zone > div { padding: clamp(20px, 2.2vw, 28px); }
.lib__zone h3 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; }
.lib__zone ul { margin-top: 14px; display: grid; gap: 6px; }
.lib__zone li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.lib__zone li span:last-child { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.lib__zone .link { margin-top: 16px; }

/* ---------- research ---------- */
.rs-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.rs-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-filter button { min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; font-size: 0.86rem; font-weight: 500; color: var(--ink-2); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.rs-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rs-search { position: relative; min-width: min(320px, 100%); }
.rs-search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; font: inherit; color: var(--ink); }
.rs-search input:focus { outline: none; border-color: var(--ink); }
.rs-search .ico { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--muted); }
.rs-count { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.papers { display: grid; gap: 12px; }
.paper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(16px, 3vw, 48px); padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.paper[hidden] { display: none; }
.paper__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.paper h3 { font-size: 1.12rem; line-height: 1.3; font-stretch: 100%; }
.paper__cite { margin-top: 8px; font-size: 0.88rem; color: var(--muted); }
.paper__links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.86rem; }
.paper__links a { font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 4px; }
.paper__links a:hover { text-decoration: underline; }
.paper__find dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.paper__find dd { margin: 4px 0 14px; color: var(--ink-2); font-size: 0.95rem; }
.paper__find dd:last-child { margin-bottom: 0; }
.rs-empty { padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); }
.rs-empty[hidden] { display: none; }
.method { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: m; }
.method li { counter-increment: m; border-top: 2px solid var(--ink); padding-top: 14px; }
.method li::before { content: counter(m, decimal-leading-zero); font-family: var(--mono); font-size: 0.85rem; color: var(--red); }
.method strong { display: block; margin-top: 6px; font-weight: 700; }
.method span { color: var(--muted); font-size: 0.93rem; }
.pyramid { display: grid; gap: 6px; justify-items: center; }
.pyramid div { padding: 12px 16px; border-radius: 10px; text-align: center; font-weight: 600; font-size: 0.92rem; }
.pyramid small { display: block; font-weight: 400; font-size: 0.8rem; opacity: 0.8; }

/* ---------- about ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.values .card h3 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; }
.values .card p { margin-top: 10px; color: var(--muted); }
.values .card .ico { width: 2rem; height: 2rem; color: var(--red); margin-bottom: 18px; }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--red); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--ink-2); max-width: 70ch; }
.credits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 24px; font-size: 0.86rem; color: var(--muted); }
.credits a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.credits a:hover { color: var(--red); border-color: var(--red); }

/* ---------- visit / close ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.opt { border-radius: var(--r); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.opt--now { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt__state { display: inline-flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.opt--now .opt__state { color: #c9f0d8; }
.opt h3 { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 1.6rem; font-stretch: 110%; font-weight: 800; text-transform: uppercase; }
.opt p:not(.opt__state) { margin: 12px 0 26px; color: var(--muted); max-width: 40ch; }
.opt--now p:not(.opt__state) { color: #c6cad3; }
.opt .btn { margin-top: auto; }
.close { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r); background: var(--night); color: var(--on-night); padding: clamp(40px, 7vw, 104px) clamp(24px, 5vw, 72px); text-align: center; }
.close > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.55; }
.close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 90% at 50% 100%, rgba(18, 20, 25, 0.95), rgba(18, 20, 25, 0.55)); }
.close__line { font-stretch: 116%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 8.4vw, 7.6rem); line-height: 0.9; letter-spacing: -0.015em; }
.close__line em { display: block; color: #ff4a50; font-style: italic; }
.close p { margin: 22px auto 0; max-width: 40rem; color: rgba(242, 243, 245, 0.84); }
.close .hero__cta { margin-top: 28px; }
.contact { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid rgba(242, 243, 245, 0.3); font-weight: 500; transition: border-color 0.2s, background-color 0.2s; }
.contact a:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.contact li:first-child a { font-family: var(--mono); }

.marquee { overflow: hidden; border-block: 1px solid var(--line-2); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; flex: none; }
.marquee__set span { font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 5.4vw, 4.4rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(19, 22, 28, 0.5); padding: 0 0.32em; }
.marquee__set i { width: 0.28rem; height: clamp(1.5rem, 3.6vw, 2.9rem); background: var(--red); transform: skewX(-18deg); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- footer ---------- */
.foot { margin-top: clamp(56px, 6vw, 88px); background: var(--night); color: var(--on-night-muted); padding: clamp(40px, 5vw, 64px) 0 32px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__brand { display: inline-flex; align-items: center; gap: 14px; color: var(--on-night); }
.foot__brand img { width: 62px; height: 44px; }
.foot__brand .lockup__bot { color: var(--on-night-muted); }
.foot__about { margin-top: 18px; max-width: 34ch; font-size: 0.92rem; }
.foot__h { color: var(--on-night); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.foot ul { display: grid; gap: 8px; font-size: 0.92rem; }
.foot a:hover { color: #fff; }
.foot__base { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(242, 243, 245, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 0.8rem; }
.foot__base a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- booking drawer ---------- */
.drawer { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.drawer::backdrop { background: rgba(19, 22, 28, 0); transition: background-color 0.45s; }
.drawer.is-open::backdrop { background: rgba(19, 22, 28, 0.45); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(540px, 100%); background: var(--surface); box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.4); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; transform: translateX(102%); transition: transform 0.55s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer.is-closing .drawer__panel { transition-duration: 0.32s; transition-timing-function: cubic-bezier(0.5, 0, 0.75, 0); }
.drawer__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(20px, 5vw, 32px); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.35rem; }
.drawer__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color 0.2s, border-color 0.2s, rotate 0.4s var(--ease); }
.drawer__close:hover { background: var(--paper); border-color: var(--ink); rotate: 90deg; }
.bform { padding: 8px clamp(20px, 5vw, 32px) 0; display: grid; gap: 26px; }
.bform[hidden], .done[hidden] { display: none; }
.field legend, .field > label { display: block; padding: 0; margin-bottom: 12px; font-weight: 700; font-size: 0.95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips + .chips { margin-top: 10px; }
.chip, .rcard { position: relative; cursor: pointer; }
.chip input, .rcard input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 0.9rem; font-weight: 500; transition: background-color 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }
.chip input:active + span { transform: scale(0.97); }
.chip input:focus-visible + span, .rcard input:focus-visible + .rcard__in { outline: 2px solid var(--red); outline-offset: 3px; }
.chip--day span { flex-direction: column; justify-content: center; gap: 2px; min-width: 58px; min-height: 60px; padding: 0 10px; border-radius: var(--r-sm); line-height: 1; }
.chip--day small { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.chip--day b { font-family: var(--mono); font-weight: 500; font-size: 1.05rem; }
.rcards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rcard__in { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); transition: border-color 0.2s, background-color 0.2s; height: 100%; }
.rcard__in strong { font-weight: 600; font-size: 0.95rem; }
.rcard__in small { color: var(--muted); font-size: 0.8rem; }
.rcard:hover .rcard__in { border-color: var(--ink); }
.rcard input:checked + .rcard__in { border-color: var(--red); background: var(--red-tint); }
.rcard input:checked + .rcard__in small { color: var(--red-deep); }
.field input[type="text"] { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; transition: border-color 0.2s; }
.field input[type="text"]:hover { border-color: rgba(19, 22, 28, 0.4); }
.field input[type="text"]:focus { outline: none; border-color: var(--ink); }
.field.has-error input[type="text"] { border-color: var(--red); }
.field__error { margin-top: 10px; color: var(--red-deep); font-size: 0.875rem; font-weight: 500; }
.field__error[hidden] { display: none; }
.bform__foot { position: sticky; bottom: 0; margin-inline: calc(clamp(20px, 5vw, 32px) * -1); padding: 16px clamp(20px, 5vw, 32px) max(20px, env(safe-area-inset-bottom)); background: linear-gradient(0deg, #fff 72%, rgba(255, 255, 255, 0)); }
.bform__note { margin-top: 12px; text-align: center; color: var(--muted); font-size: 0.8rem; }
.done { padding: clamp(28px, 6vw, 44px) clamp(20px, 5vw, 32px) 32px; display: flex; flex-direction: column; gap: 12px; outline: none; }
.done__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.75rem; margin-bottom: 12px; }
.done h3 { font-size: 1.9rem; text-transform: uppercase; font-weight: 800; font-stretch: 112%; }
.done__lede { color: var(--muted); }
.done__list { margin: 16px 0 20px; display: grid; gap: 14px; padding: 22px; border-radius: var(--r); background: var(--paper); }
.done__list div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; font-size: 0.95rem; }
.done__list dt { color: var(--muted); }
.done__list dd { font-weight: 600; }

/* ---------- motion defaults ---------- */
.js .hero h1 .line__in { transform: translateY(105%); }
.js .hero [data-in] { opacity: 0; transform: translateY(14px); }
.js.is-loaded .hero h1 .line__in { transform: none; transition: transform 1.1s var(--ease); }
.js.is-loaded .hero h1 .line:nth-child(2) .line__in { transition-delay: 0.08s; }
.js.is-loaded .hero [data-in] { opacity: 1; transform: none; transition: opacity 0.9s 0.3s, transform 0.9s 0.3s var(--ease); }
.js .hero__side { opacity: 0; transform: translateY(30px) rotate(var(--rot, 0deg)); }
.js.is-loaded .hero__side { opacity: 1; transform: rotate(var(--rot, 0deg)); transition: opacity 1s 0.5s, transform 1.2s 0.5s var(--ease); }
.hero__side--l { --rot: -3deg; }
.hero__side--r { --rot: 2.5deg; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero__side { width: 210px; }
  .hero__side--r { display: none; }
  .nav .lockup { display: none; }
}
@media (max-width: 1080px) {
  .explorer, .paths, .split, .split--wide, .intro, .check, .load, .tx, .tx:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .tx:nth-of-type(even) .tx__media { order: 0; }
  .tx__media { position: static; }
  .viewport { min-height: 70vh; }
  .rail > :nth-child(n) { grid-column: span 6; grid-row: auto; }
  .rail > :nth-child(1).post { min-height: 420px; }
  .lib { grid-template-columns: minmax(0, 1fr); }
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paper { grid-template-columns: minmax(0, 1fr); }
  .credits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero__side { display: none; }
  .nav { padding-left: 14px; }
  .nav__toggle { display: inline-flex; }
  .nav__links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s; }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px 16px; font-size: 1rem; }
  .grid-3, .values, .phase-strip, .continuum, .planned__grid, .heal-legend { grid-template-columns: minmax(0, 1fr); }
  .continuum > :nth-child(n) { margin-top: 0; }
  .peace { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hero { padding-top: 84px; }
  .hero__legend { right: 50%; translate: 50% 0; bottom: auto; top: 86px; }
  .hero__fade { height: 60%; }
  .hero h1 { font-size: clamp(2.1rem, 10.4vw, 3.4rem); }
  .status__rule, .status__next { display: none; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hotspot__label { display: none; }
  .hotspot.is-active .hotspot__label { display: block; }
  .viewport { min-height: 64vh; }
  .zones { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .zones::-webkit-scrollbar { display: none; }
  .zones button { flex: none; }
  .injuries, .protocol li { grid-template-columns: minmax(0, 1fr); }
  .rail > :nth-child(n) { grid-column: span 12; }
  .grid-2, .visit, .rcards { grid-template-columns: minmax(0, 1fr); }
  .lib__zone { grid-template-columns: minmax(0, 1fr); }
  .lib__zone img { min-height: 200px; max-height: 240px; }
  .tx__facts { grid-template-columns: minmax(0, 1fr); }
  .tx__facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .foot__top, .method, .credits { grid-template-columns: minmax(0, 1fr); }
  .rs-search { min-width: 100%; }
  .viewport__credit { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__set:nth-child(2) { display: none; }
  .marquee__set { flex-wrap: wrap; row-gap: 12px; }
  .js .hero h1 .line__in, .js .hero [data-in], .js .hero__side { transform: none; opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .drawer__head { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}

/* ---------- home treatment grid (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.cell { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.cell::before { content: ""; position: absolute; inset: -1px; z-index: 4; border-radius: inherit; padding: 1.5px; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--red), transparent 55%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.45s; }
.cell.is-lit::before { opacity: 1; }
.cell__copy { position: relative; z-index: 2; padding: clamp(22px, 2.2vw, 30px); display: grid; gap: 10px; justify-items: start; }
.cell__copy h3 { font-stretch: 108%; font-weight: 800; font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.1; }
.cell__copy p { color: var(--muted); font-size: 0.97rem; max-width: 44ch; }
.cell__copy .link { margin-top: 4px; font-size: 0.92rem; }
.cell__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem !important; color: var(--ink-2) !important; }
.cell__demo { position: absolute; inset: 0; z-index: 0; touch-action: pan-y; }
.cell__demo canvas { width: 100%; height: 100%; display: block; }
.cell__more { position: relative; z-index: 2; margin: 0 clamp(22px, 2.2vw, 30px) clamp(22px, 2.2vw, 30px); align-self: flex-start; font-size: 0.92rem; }

.cell--comb { grid-column: span 7; grid-row: span 2; min-height: 560px; cursor: crosshair; }
.cell--comb .cell__demo { bottom: 210px; }
.cell--comb .cell__copy { background: linear-gradient(0deg, #fff 70%, rgba(255, 255, 255, 0)); padding-top: 48px; }
.cell--rehab { grid-column: span 5; justify-content: space-between; }
.stages { display: flex; align-items: flex-end; padding: 8px clamp(22px, 2.2vw, 30px) 18px; }
.stages li { flex: 1; font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(0.95rem, 1.2vw, 1.15rem); border-top: 3px solid var(--paper-2); padding-top: 10px; color: var(--muted); }
.stages li:nth-child(2) { border-color: rgba(200, 32, 47, 0.5); color: var(--ink-2); transform: translateY(-16px); }
.stages li:nth-child(3) { border-color: var(--red); color: var(--ink); transform: translateY(-32px); }
.cell--needle { grid-column: span 5; cursor: crosshair; }
.cell--needle .cell__copy { background: linear-gradient(0deg, #fff 62%, rgba(255, 255, 255, 0)); padding-top: 40px; pointer-events: none; }
.cell--needle .cell__copy .link { pointer-events: auto; }
.cell--needle { min-height: 300px; }

.cell--cupping { grid-column: span 5; background: var(--red); border-color: var(--red); color: #fff; min-height: 300px; }
.cell--cupping::before { display: none; }
.cell--cupping .cell__copy p { color: rgba(255, 255, 255, 0.92); min-height: 3em; }
.cell--cupping h3 { font-size: 1.9rem; text-transform: uppercase; }
.seg--onred { padding: 4px; border-radius: var(--r-pill); background: rgba(0, 0, 0, 0.16); }
.seg--onred button { color: rgba(255, 255, 255, 0.85); }
.seg--onred button[aria-checked="true"] { background: #fff; color: var(--red-deep); }
.link--onred { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.link--onred:hover { color: #fff; border-color: #fff; }
.cell--cupping :focus-visible { outline-color: #fff; }
.cups { position: absolute; right: -24px; top: -28px; width: 250px; height: 250px; z-index: 1; }
.cups span { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); transition: transform 0.7s var(--ease); }
.cups span:nth-child(1) { width: 124px; height: 124px; right: 20px; top: 34px; }
.cups span:nth-child(2) { width: 82px; height: 82px; right: 146px; top: 62px; }
.cups span:nth-child(3) { width: 60px; height: 60px; right: 94px; top: 152px; }
.cups span::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); transition: inset 0.7s var(--ease); }
.cell--cupping[data-mode="hijama"] .cups span { transform: scale(1.06); }
.cell--cupping[data-mode="hijama"] .cups span::after { inset: 30%; border-color: transparent; background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 1.5px, transparent 2px) 0 0 / 9px 9px; }

.cell--facial { grid-column: span 7; min-height: 300px; background: var(--night); color: #fff; border-color: transparent; }
.cell__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cell--facial::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 13, 17, 0.88) 0%, rgba(12, 13, 17, 0.6) 46%, rgba(12, 13, 17, 0.08) 100%); }
.cell__brand { position: absolute; left: clamp(22px, 2.2vw, 30px); top: 20px; display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); z-index: 2; }
.cell__copy--on-img h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); text-transform: uppercase; max-width: 15ch; line-height: 1; }
.cell__copy--on-img h3 em { color: #ff5a60; display: block; }
.link--onimg { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.link--onimg:hover { color: #fff; border-color: #fff; }

.planned-row { margin-top: clamp(40px, 5vw, 64px); }
.planned-row__head { display: grid; gap: 8px; margin-bottom: 22px; }
.planned-row__head h3 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.planned-row__head p { color: var(--muted); max-width: 62ch; }
.cell--gait { grid-column: span 5; min-height: 340px; }
.cell__demo--top { bottom: auto; height: 170px; top: 18px; }
.cell--cryo { grid-column: span 4; min-height: 340px; justify-content: space-between; }
.cryo { padding: 0 clamp(22px, 2.2vw, 30px) clamp(22px, 2.2vw, 30px); }
.cryo__read { font-family: var(--mono); font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; }
.cryo__unit { font-size: 1.1rem; color: var(--muted); margin-left: 6px; vertical-align: top; }
.cryo__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.seg--box { padding: 3px; border-radius: var(--r-pill); background: var(--paper); }
.seg--box button { font-family: var(--mono); font-weight: 500; }
.cryo__bar { margin-top: 14px; height: 3px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.cryo__bar span { display: block; height: 100%; background: #3a8fd6; transform-origin: left; transform: scaleX(0); }
.cell--hbot { grid-column: span 3; min-height: 340px; background: radial-gradient(120% 75% at 50% 0%, rgba(200, 32, 47, 0.85), rgba(200, 32, 47, 0.2) 55%, rgba(255, 255, 255, 0) 80%), #fff; }
.tag--light { background: rgba(255, 255, 255, 0.85); border-color: transparent; color: var(--ink); }
.cell .tag { margin-bottom: 2px; }
@media (max-width: 1080px) {
  .cell--comb { grid-column: span 12; grid-row: auto; min-height: 460px; }
  .cell--rehab, .cell--needle, .cell--cupping, .cell--facial { grid-column: span 6; }
  .cell--gait { grid-column: span 12; }
  .cell--cryo { grid-column: span 7; }
  .cell--hbot { grid-column: span 5; }
}
@media (max-width: 720px) {
  .bento > .cell { grid-column: span 12 !important; }
  .cell--comb { min-height: 440px; }
  .cell--cupping { min-height: 340px; }
  .cups { transform: scale(0.8); transform-origin: top right; }
  .cell--hbot { min-height: 240px; }
}

/* ---------- booking pop-up (one question at a time) ---------- */
.quiz { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; color: var(--ink); display: none; place-items: center; overflow: hidden; }
.quiz[open] { display: grid; }
.quiz::backdrop { background: rgba(19, 22, 28, 0); transition: background-color 0.35s; }
.quiz.is-open::backdrop { background: rgba(19, 22, 28, 0.5); }
.quiz__card { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity 0.3s var(--ease), transform 0.45s var(--ease); }
.quiz.is-open .quiz__card { opacity: 1; transform: none; }
.quiz.is-closing .quiz__card { transition-duration: 0.22s; }
.quiz__head { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; padding: 14px 14px 0; background: var(--surface); }
.quiz__count { text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.quiz__back, .quiz__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background-color 0.2s, border-color 0.2s; }
.quiz__back .ico { transform: rotate(180deg); }
.quiz__back:hover, .quiz__close:hover { background: var(--paper); border-color: var(--ink); }
.quiz__back[hidden] { visibility: hidden; display: grid; }
.quiz__close { grid-column: 3; }
.quiz__bar { grid-column: 1 / -1; height: 4px; margin-top: 12px; border-radius: 2px; background: var(--paper-2); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0.25); transition: transform 0.5s var(--ease); }
.quiz__form { padding: 26px clamp(20px, 5vw, 36px) 30px; }
.quiz__form[hidden] { display: none; }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; }
.quiz__q { padding: 0; font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 4.6vw, 2.3rem); line-height: 0.98; letter-spacing: -0.01em; }
.quiz__sub { margin: 10px 0 22px; color: var(--muted); }
.quiz__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz__opts--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt-c, .opt-p, .opt-d { position: relative; cursor: pointer; }
.opt-c input, .opt-p input, .opt-d input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt-c span { display: grid; gap: 2px; padding: 14px 16px; min-height: 64px; border-radius: 14px; border: 1.5px solid var(--line-2); transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease); }
.opt-c b { font-weight: 700; }
.opt-c small { color: var(--muted); font-size: 0.85rem; }
.opt-p span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); font-weight: 600; font-size: 0.95rem; transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s var(--ease); }
.opt-d span { display: grid; place-items: center; gap: 2px; width: 60px; height: 64px; border-radius: 14px; border: 1.5px solid var(--line-2); line-height: 1; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.opt-d small { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.opt-d b { font-family: var(--mono); font-weight: 500; font-size: 1.15rem; }
.opt-c:hover span, .opt-p:hover span, .opt-d:hover span { border-color: var(--ink); }
.opt-c input:checked + span { border-color: var(--red); background: var(--red-tint); }
.opt-p input:checked + span, .opt-d input:checked + span { border-color: var(--red); background: var(--red); color: #fff; }
.opt-d input:checked + span small { color: rgba(255, 255, 255, 0.8); }
.opt-c input:active + span, .opt-p input:active + span { transform: scale(0.97); }
.opt-c input:focus-visible + span, .opt-p input:focus-visible + span, .opt-d input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.quiz__days { gap: 6px; }
.quiz__label { display: block; margin: 18px 0 8px; font-weight: 700; font-size: 0.95rem; }
.quiz__input { width: 100%; height: 56px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line-2); font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; }
.quiz__input::placeholder { color: #8a909c; }
.quiz__input:focus { outline: none; border-color: var(--ink); }
.quiz .done { padding: 26px clamp(20px, 5vw, 36px) 30px; }
@media (max-width: 480px) {
  .quiz { padding: 0; place-items: end center; }
  .quiz__card { border-radius: 24px 24px 0 0; max-height: 92dvh; }
  .opt-d span { width: 52px; }
}

/* ---------- hero backdrop: goniometer ---------- */
.hero__backdrop { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background: radial-gradient(42% 46% at 50% 44%, rgba(200, 32, 47, 0.09) 0%, rgba(200, 32, 47, 0.03) 45%, rgba(200, 32, 47, 0) 70%); }
.gonio { position: absolute; left: 50%; top: 46%; width: min(96vh, 980px, 104vw); aspect-ratio: 1; translate: -50% -50%; overflow: visible; }
.gring { fill: none; stroke: rgba(19, 22, 28, 0.16); stroke-width: 1.5; }
.gring--dash { stroke-dasharray: 2 10; stroke: rgba(19, 22, 28, 0.22); }
.gring--soft { stroke: rgba(200, 32, 47, 0.12); stroke-width: 18; }
.gt { stroke: rgba(19, 22, 28, 0.22); stroke-width: 1.5; }
.gt-l { stroke: rgba(19, 22, 28, 0.45); stroke-width: 2; }
.gl { font-family: var(--mono); font-size: 15px; fill: rgba(19, 22, 28, 0.5); }
.garc { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; }
.gdot { fill: var(--red); }
.gdot-ring { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: 0.5; }
.glabel { font-family: var(--font); font-weight: 700; font-size: 13px; letter-spacing: 0.22em; fill: var(--red); }
.gaxis { stroke: rgba(19, 22, 28, 0.08); stroke-width: 1; stroke-dasharray: 6 8; }
.gonio__dial, .gonio__arc { transform-origin: 500px 500px; transform-box: view-box; }
.hero__mark { position: absolute; right: -6vw; bottom: -10vh; width: min(52vw, 760px); height: auto; opacity: 0.05; }
@media (max-width: 720px) {
  .gonio { top: 36%; width: 150vw; }
  .hero__mark { width: 90vw; right: -20vw; bottom: auto; top: 8vh; opacity: 0.04; }
}
