/* Range Physiotherapy (concept). Chalk-sage + eucalyptus ink, kinesio-tape pink on CTA, tape and the chosen body region only. */
:root {
  --chalk: #E4E7DF;
  --chalk-2: #D7DCD1;
  --paper: #EDEFE9;
  --ink: #13201B;
  --ink-2: #1B2A24;
  --ink-3: #26372F;
  --mute: #4A5751;
  --mute-d: #A7B1AA;
  --line: rgba(19, 32, 27, .16);
  --line-d: rgba(228, 231, 223, .16);
  --tape: #F2588F;
  --tape-2: #E5487F;
  --wood: #D9B98F;

  --f: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --m: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.77, 0, .18, 1);
  --t1: .2s; --t2: .45s; --t3: .9s;
  --r: 4px;
  --pad: clamp(20px, 3.4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--chalk); color: var(--ink);
  font: 400 16px/1.55 var(--f); font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
.mono { font-family: var(--m); font-weight: 400; letter-spacing: 0; font-variation-settings: normal; }
::selection { background: var(--ink); color: var(--chalk); }
:focus-visible { outline: 2px solid var(--tape); outline-offset: 3px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--chalk); padding: 10px 14px; border-radius: var(--r); text-decoration: none; }
.skip:focus { top: 12px; }

.label { font-size: 12px; line-height: 1; color: var(--mute); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 22px; border-radius: 12px;
  font: 600 16px/1 var(--f); font-variation-settings: 'wdth' 92; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t1) ease, color var(--t1) ease, transform var(--t2) var(--e-out);
}
.btn .mono { font-size: 12.5px; font-weight: 500; opacity: .78; }
.btn:active { transform: scale(.97); }
/* tape: a strip of kinesio tape, faint weave + rounded ends */
.btn-tape {
  background-color: var(--tape); color: var(--ink);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 3px, rgba(255, 255, 255, .09) 3px 4px);
}
.btn-tape:hover { background-color: #F46D9C; }
.btn-ink { background: var(--chalk); color: var(--ink); }
.btn-ink:hover { background: #fff; }
.link {
  font: 500 15px/1.2 var(--f); text-decoration: none; padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--t2) var(--e-out);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad); pointer-events: none;
}
.nav > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { position: relative; width: 30px; height: 30px; border-radius: 8px; background: var(--ink); flex: none; }
.brand-mark::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; border: 2px solid var(--chalk); }
.brand-mark i { position: absolute; left: 3px; right: 3px; top: 12px; height: 6px; border-radius: 3px; background: var(--tape); transform: rotate(-38deg); }
.brand-word { display: flex; flex-direction: column; font: 750 19px/1 var(--f); font-variation-settings: 'wdth' 118; letter-spacing: -.01em; }
.brand-word small { font: 400 11px/1.3 var(--m); letter-spacing: 0; color: var(--mute); margin-top: 3px; font-variation-settings: normal; }
.nav-links { display: none; gap: 28px; }
.nav-links a { font: 500 14px/1 var(--f); text-decoration: none; padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t2) var(--e-out); }
.nav-links a:hover { background-size: 100% 1px; }
.nav-cta { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.nav-cta .lg { display: none; }
.nav { transition: background-color var(--t2) ease, box-shadow var(--t2) ease; }
.nav.solid { background: rgba(228, 231, 223, .97); box-shadow: 0 1px 0 var(--line); }
.nav.solid.dark { background: rgba(19, 32, 27, .97); box-shadow: 0 1px 0 var(--line-d); }
.nav.dark { color: var(--chalk); }
.nav.dark .brand-word small { color: var(--mute-d); }
.nav.dark .brand-mark { background: var(--chalk); }
.nav.dark .brand-mark::before { border-color: var(--ink); }

/* =========================================================
   00 HERO
   ========================================================= */
.hero { position: relative; height: 300vh; }
.hero-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.word {
  position: absolute; left: 50%; top: 80px; transform: translateX(-50%); z-index: 1;
  width: max-content; white-space: nowrap; margin: 0;
  font: 800 100px/.8 var(--f); letter-spacing: -.01em; color: var(--ink);
  overflow: hidden; padding: .04em 0 .02em; user-select: none;
}
.word span { display: inline-block; font-variation-settings: 'wdth' 62, 'wght' 800; will-change: transform; }
.hero-gl, .hero-poster { position: absolute; z-index: 2; }
.hero-gl { inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; touch-action: pan-y; }
.hero.gl-on .hero-gl { opacity: 1; }
.hero-poster { left: 50%; transform: translateX(-50%); width: auto; max-width: none; height: 60svh; top: 20svh; transition: opacity .6s ease; pointer-events: none; }
.hero.gl-on .hero-poster { opacity: 0; }

.hero-copy { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 96px; }
.hero-h { font: 640 clamp(25px, 7vw, 46px)/1.02 var(--f); font-variation-settings: 'wdth' 78; letter-spacing: -.018em; max-width: 15.5em; text-wrap: balance; }
.hero-sub { display: none; margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--mute); max-width: 34em; }
.hero-act { display: flex; align-items: center; gap: 10px 22px; margin-top: 18px; flex-wrap: wrap; }

.readout {
  position: absolute; z-index: 3; right: 14px; top: 24svh; width: 112px;
  font-family: var(--m); font-size: 11px; line-height: 1.3;
}
.gauge { width: 100%; height: auto; overflow: visible; }
.g-track, .g-fill { fill: none; stroke-width: 5; stroke-linecap: round; }
.g-track { stroke: var(--line); }
.g-fill { stroke: var(--ink); stroke-dasharray: 180; stroke-dashoffset: 138; }
.g-needle { stroke: var(--tape); stroke-width: 2.5; stroke-linecap: round; transform-box: view-box; }
.gauge circle { fill: var(--ink); }
.readout dl { margin-top: 8px; display: grid; gap: 5px; }
.readout dl div { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 5px; }
.readout dt { color: var(--mute); }
.readout dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.readout dl div:nth-child(2) { display: none; }
.hint { margin-top: 10px; color: var(--mute); }
.hint-d { display: none; }
.stages { display: none; }
.scroll-cue { display: none; }

@media (hover: hover) and (pointer: fine) {
  .hint-d { display: inline; } .hint-t { display: none; }
}

@media (min-width: 900px) {
  .nav { height: 84px; }
  .nav-links { display: flex; }
  .nav-cta .lg { display: inline; } .nav-cta .sm { display: none; }
  .word { top: 15vh; }
  .hero-copy { right: auto; bottom: 104px; width: min(30vw, 470px); }
  .hero-h { font-size: clamp(30px, 2.55vw, 42px); }
  .hero-sub { display: block; font-size: 15.5px; margin-top: 16px; }
  .hero-act { margin-top: 26px; }
  .readout { top: auto; right: var(--pad); bottom: 48px; width: 272px; font-size: 12px; }
  .readout dl { margin-top: 14px; gap: 7px; }
  .readout dl div { padding-top: 7px; }
  .readout dl div:nth-child(2) { display: flex; }
  .stages { display: grid; gap: 10px; position: absolute; z-index: 3; left: var(--pad); top: 42vh; font: 400 12px/1 var(--m); color: var(--mute); }
  .stages li { display: flex; gap: 12px; align-items: center; transition: color var(--t2) ease; }
  .stages li::before { content: ''; width: 18px; height: 2px; background: currentColor; transform-origin: left; transform: scaleX(.4); transition: transform var(--t2) var(--e-out); }
  .stages li.on { color: var(--ink); }
  .stages li.on::before { transform: scaleX(1); background: var(--tape); }
  .stages b { font-weight: 500; }
  .scroll-cue { display: block; position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); font: 400 11px/1 var(--m); color: var(--mute); margin: 0; transition: opacity var(--t2) ease; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .hero-sub { display: none; }
}
@media (max-width: 899px) {
  .readout .hint { font-size: 10px; }
  .readout dl div:first-child dt { font-size: 0; }
  .readout dl div:first-child dt::before { content: 'Shoulder'; font-size: 11px; }
}

/* static hero (reduced motion / no WebGL) */
.hero.is-static { height: auto; }
.hero.is-static .hero-stick { position: relative; min-height: 640px; }
.hero.is-static .hero-gl { display: none; }
.hero.is-static .scroll-cue { display: none; }

/* =========================================================
   01 THESIS
   ========================================================= */
.thesis {
  position: relative; z-index: 4; background: var(--chalk);
  padding: clamp(96px, 16vw, 200px) var(--pad) clamp(64px, 8vw, 110px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px;
}
.thesis .label { grid-column: 1 / -1; margin-bottom: 28px; }
.thesis-h { grid-column: 1 / -1; font: 700 clamp(38px, 6.4vw, 108px)/.94 var(--f); font-variation-settings: 'wdth' 70; letter-spacing: -.025em; text-wrap: balance; }
.thesis-body { grid-column: 1 / -1; margin-top: 40px; display: grid; gap: 16px; font-size: 17px; max-width: 34em; color: var(--ink); }
.thesis-body p + p { color: var(--mute); }
.thesis-fig { grid-column: 1 / -1; margin-top: 56px; }
.ph { overflow: hidden; border-radius: var(--r); background: var(--chalk-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.thesis-fig .ph { aspect-ratio: 4 / 3; }
.thesis-fig img { object-position: 30% 50%; }
figcaption { font-size: 11.5px; color: var(--mute); margin-top: 12px; }
@media (min-width: 900px) {
  .thesis .label { grid-column: 1 / 3; margin: 14px 0 0; }
  .thesis-h { grid-column: 3 / 12; }
  .thesis-body { grid-column: 3 / 8; margin-top: 64px; grid-template-columns: 1fr 1fr; gap: 28px; font-size: 16px; max-width: none; align-self: start; }
  .thesis-fig { grid-column: 8 / 13; margin: 64px calc(var(--pad) * -1) 0 0; }
  .thesis-fig .ph { border-radius: var(--r) 0 0 var(--r); aspect-ratio: 5 / 4; }
}

/* =========================================================
   02 THE FIRST HOUR
   ========================================================= */
.hour { background: var(--paper); padding: clamp(80px, 11vw, 150px) var(--pad); border-top: 1px solid var(--line); }
.hour-head { display: grid; gap: 20px; margin-bottom: 44px; }
.hour-head h2 { font: 700 clamp(40px, 7.4vw, 124px)/.9 var(--f); font-variation-settings: 'wdth' 64; letter-spacing: -.025em; }
.hour-grid { display: grid; gap: 28px; }
.dial-wrap {
  position: sticky; top: 68px; z-index: 5; display: flex; align-items: center; gap: 14px;
  background: var(--paper); padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0 calc(var(--pad) * -1); padding-inline: var(--pad);
}
.dial { position: relative; width: 58px; height: 58px; flex: none; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.d-track { fill: none; stroke: var(--line); stroke-width: 7; }
.d-fill { fill: none; stroke: var(--ink); stroke-width: 7; stroke-dasharray: 60; stroke-dashoffset: 60; }
.d-ticks line { stroke: var(--mute); stroke-width: 1; opacity: .45; }
.d-ticks line.maj { stroke: var(--ink); stroke-width: 2; opacity: 1; }
.d-ticks { display: none; }
.d-time { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 15px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.d-time small { font-size: 9px; color: var(--mute); margin-top: 2px; }
.d-label { font: 700 26px/1 var(--f); font-variation-settings: 'wdth' 70; letter-spacing: -.01em; }
.steps { display: grid; gap: 64px; }
.step { display: grid; gap: 12px; transition: opacity var(--t3) var(--e-out); }
.js .step:not(.now) { opacity: .42; }
.no-gsap .step, .rm .step { opacity: 1 !important; }
.step-t { font-size: 12px; color: var(--mute); }
.step h3 { font: 700 clamp(32px, 4.4vw, 64px)/.95 var(--f); font-variation-settings: 'wdth' 72; letter-spacing: -.02em; }
.step > p:not(.step-t) { font-size: 17px; max-width: 32em; }
.step-fig { margin-top: 12px; }
.step-fig .ph { aspect-ratio: 3 / 2; }
.spec { margin-top: 8px; font-size: 13px; border-top: 1px solid var(--ink); max-width: 30em; }
.spec li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec li span:last-child { color: var(--mute); }
@media (min-width: 900px) {
  .hour-head { grid-template-columns: repeat(12, 1fr); column-gap: 20px; margin-bottom: 96px; }
  .hour-head .label { grid-column: 1 / 3; margin-top: 14px; }
  .hour-head h2 { grid-column: 3 / 13; }
  .hour-grid { grid-template-columns: repeat(12, 1fr); column-gap: 20px; }
  .dial-wrap { grid-column: 1 / 6; align-self: start; position: sticky; top: 18vh; flex-direction: column; align-items: flex-start; gap: 24px; margin: 0; padding: 0; border: 0; background: none; }
  .dial { width: min(30vw, 380px); height: min(30vw, 380px); }
  .d-ticks { display: inline; }
  .d-track, .d-fill { stroke-width: 3.5; }
  .d-time { font-size: clamp(64px, 7vw, 112px); font-weight: 400; letter-spacing: -.03em; }
  .d-time small { font-size: 13px; margin-top: 8px; letter-spacing: 0; }
  .d-label { font-size: 40px; padding-left: 4px; }
  .steps { grid-column: 6 / 12; gap: 18vh; padding: 6vh 0 10vh; }
  .step { min-height: 46vh; align-content: start; }
  .step > p:not(.step-t) { font-size: 18px; }
  .step-fig .ph { aspect-ratio: 16 / 10; }
  .step:nth-child(odd) .step-fig { margin-right: -8vw; }
  .step:nth-child(even) .step-fig { width: 78%; }
}

/* =========================================================
   03 THE TOOL: body map
   ========================================================= */
.map { background: var(--ink); color: var(--chalk); padding: clamp(80px, 11vw, 150px) var(--pad) clamp(72px, 9vw, 130px); position: relative; overflow: hidden; }
.map .label { color: var(--mute-d); }
.map-head { display: grid; gap: 20px; margin-bottom: 40px; }
.map-head h2 { font: 800 clamp(64px, 15vw, 236px)/.82 var(--f); font-variation-settings: 'wdth' 62; letter-spacing: -.03em; }
.map-intro { font-size: 17px; max-width: 30em; color: var(--mute-d); }
.map-stage { display: grid; gap: 28px; }
.figure-col { position: relative; display: grid; justify-items: center; gap: 12px; }
.view-toggle { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--line-d); }
.vt { min-height: 38px; padding: 0 18px; border-radius: 7px; font: 500 14px/1 var(--f); color: var(--mute-d); transition: background-color var(--t1) ease, color var(--t1) ease; }
.vt.on { background: var(--chalk); color: var(--ink); }
.vt:not(.on):hover { color: var(--chalk); }
.body { width: min(100%, 330px); height: auto; aspect-ratio: 300 / 620; overflow: visible; -webkit-tap-highlight-color: transparent; }
.body.flip { animation: flip .55s var(--e-out); }
@keyframes flip { from { transform: perspective(900px) rotateY(-70deg); opacity: .2; } to { transform: none; opacity: 1; } }
.seg path, .seg ellipse, .seg rect { fill: var(--ink-3); stroke: rgba(228, 231, 223, .38); stroke-width: 1.2; }
.jnt circle { fill: var(--ink); stroke: rgba(228, 231, 223, .5); stroke-width: 1.2; }
.cue path, .cue circle { fill: none; stroke: rgba(228, 231, 223, .32); stroke-width: 1.2; stroke-linecap: round; }
.spot { cursor: pointer; outline: none; }
.spot > :not(.dot) { fill: rgba(228, 231, 223, 0); stroke: rgba(228, 231, 223, 0); stroke-width: 1.4; stroke-dasharray: 4 4; transition: fill var(--t1) ease, stroke var(--t1) ease; }
.spot .dot { fill: var(--chalk); transform-box: fill-box; transform-origin: center; animation: breathe 2.6s ease-in-out infinite; }
.spot:nth-child(3n+1) .dot { animation-delay: -.9s; } .spot:nth-child(3n+2) .dot { animation-delay: -1.7s; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.7); opacity: .4; } }
.spot:hover > :not(.dot), .spot:focus-visible > :not(.dot) { fill: rgba(228, 231, 223, .07); stroke: rgba(228, 231, 223, .6); }
.spot.on > :not(.dot) { fill: rgba(242, 88, 143, .16); stroke: var(--tape); stroke-dasharray: none; }
.spot.on .dot { fill: var(--tape); animation: none; opacity: 0; }
.tape { fill: none; stroke: var(--tape); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: lay .7s var(--e-out) forwards; pointer-events: none; }
.tape-weave { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1; stroke-dasharray: 100; stroke-dashoffset: 100; animation: lay .7s var(--e-out) forwards; pointer-events: none; }
@keyframes lay { to { stroke-dashoffset: 0; } }
.side-note { font-size: 11.5px; color: var(--mute-d); }

.panel { position: relative; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 6px; padding: 24px 20px 28px; min-height: 420px; scroll-margin-top: 80px; }
.pstate { display: none; }
.pstate.on { display: block; animation: pin .5s var(--e-out); }
@keyframes pin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.p-kicker { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 12px; color: var(--mute-d); margin-bottom: 18px; }
.p-not { color: var(--mute-d); opacity: .8; }
.p-empty { font: 600 clamp(26px, 3vw, 40px)/1.05 var(--f); font-variation-settings: 'wdth' 76; letter-spacing: -.015em; max-width: 16em; }
.quick { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; border-top: 1px solid var(--line-d); }
.quick button { width: 100%; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line-d); font: 500 15px/1.2 var(--f); color: var(--chalk); transition: color var(--t1) ease, padding var(--t2) var(--e-out); }
.quick button:hover { color: #fff; padding-left: 6px; }
.p-title { font: 700 clamp(40px, 5.2vw, 76px)/.92 var(--f); font-variation-settings: 'wdth' 68; letter-spacing: -.025em; outline: none; }
.p-title .mono { display: block; font-size: 12.5px; letter-spacing: 0; color: var(--mute-d); margin-top: 10px; font-weight: 400; }
.p-cols { display: grid; gap: 24px; margin-top: 28px; }
.p-cols h4 { font: 400 12px/1 var(--m); color: var(--mute-d); margin-bottom: 10px; }
.p-list li { position: relative; padding: 10px 0 10px 20px; border-top: 1px solid var(--line-d); font-size: 15.5px; line-height: 1.4; }
.p-list li::before { content: ''; position: absolute; left: 0; top: 19px; width: 9px; height: 2px; background: var(--mute-d); }
.p-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; padding: 16px 0; border-top: 1px solid var(--chalk); border-bottom: 1px solid var(--line-d); font-size: 13px; }
.p-meta dt { color: var(--mute-d); font-size: 11.5px; margin-bottom: 6px; }
.p-act { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 26px; }
.p-act .btn { white-space: normal; text-align: left; padding: 14px 20px; }
.p-flag { margin-top: 22px; font-size: 13px; line-height: 1.45; color: var(--mute-d); max-width: 40em; }

.book .p-back { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--f); color: var(--mute-d); margin-bottom: 18px; padding: 6px 0; }
.book .p-back:hover { color: var(--chalk); }
.book .p-back svg, .done-tick svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.book .p-title { font-size: clamp(32px, 3.6vw, 52px); }
.book fieldset { margin-top: 24px; }
.book legend { font-size: 12px; color: var(--mute-d); margin-bottom: 10px; padding: 0; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { display: grid; justify-items: center; gap: 3px; padding: 10px 0 9px; border-radius: 8px; border: 1px solid var(--line-d); font-size: 11px; color: var(--mute-d); transition: background-color var(--t1) ease, color var(--t1) ease, border-color var(--t1) ease; }
.day b { font: 600 20px/1 var(--f); font-variation-settings: 'wdth' 80; color: var(--chalk); }
.day small { font-size: 10px; }
.day:not(:disabled):hover { border-color: rgba(228, 231, 223, .55); }
.day.on { background: var(--chalk); border-color: var(--chalk); color: var(--ink); }
.day.on b { color: var(--ink); }
.day:disabled { opacity: .35; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.slot { min-height: 44px; border-radius: 8px; border: 1px solid var(--line-d); font: 500 14px/1 var(--m); transition: background-color var(--t1) ease, color var(--t1) ease, border-color var(--t1) ease; }
.slot:not(:disabled):hover { border-color: rgba(228, 231, 223, .55); }
.slot.on { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.slot:disabled { color: rgba(228, 231, 223, .3); text-decoration: line-through; cursor: not-allowed; border-style: dashed; }
.slots-empty { grid-column: 1 / -1; font-size: 14px; color: var(--mute-d); padding: 12px 0; }
.who { display: grid; gap: 12px; }
.who label { display: grid; gap: 6px; }
.who label span { font-size: 13px; color: var(--mute-d); }
.who input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-d); background: var(--ink); color: var(--chalk); font: 400 16px/1 var(--f); transition: border-color var(--t1) ease; }
.who input::placeholder { color: rgba(167, 177, 170, .6); }
.who input:focus { outline: none; border-color: var(--chalk); }
.b-err { min-height: 22px; margin-top: 14px; font-size: 14px; color: #FF9EC0; }
.b-go { width: 100%; margin-top: 4px; }
.b-fine { margin-top: 14px; font-size: 12.5px; color: var(--mute-d); }
.done { text-align: left; }
.done-tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--chalk); margin-bottom: 24px; }
.done-tick svg { width: 26px; height: 26px; }
.done-what { margin-top: 18px; font-size: 17px; }
.done-note { margin-top: 14px; font-size: 14px; color: var(--mute-d); max-width: 36em; }

@media (min-width: 560px) {
  .slots { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .who { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .map-head { grid-template-columns: repeat(12, 1fr); column-gap: 20px; align-items: end; margin-bottom: 64px; }
  .map-head .label { grid-column: 1 / -1; }
  .map-head h2 { grid-column: 1 / 8; }
  .map-intro { grid-column: 9 / 13; padding-bottom: 12px; }
  .map-stage { grid-template-columns: repeat(12, 1fr); column-gap: 20px; align-items: start; }
  .figure-col { grid-column: 1 / 6; position: sticky; top: 100px; }
  .body { width: min(100%, 360px); max-height: 66vh; }
  .panel { grid-column: 6 / 13; padding: 40px 44px 44px; min-height: 0; }
  .p-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .quick { grid-template-columns: 1fr 1fr 1fr; }
}

/* =========================================================
   04 HOUSE RULE
   ========================================================= */
.rule { padding: clamp(96px, 14vw, 200px) var(--pad); display: grid; gap: 40px; background: var(--chalk); overflow: hidden; }
.rule-q { --w: 100; font: 800 clamp(40px, 8.4vw, 150px)/.88 var(--f); font-variation-settings: 'wdth' var(--w); letter-spacing: -.03em; text-wrap: balance; }
.rule-q::before { content: ''; display: block; width: 64px; height: 10px; border-radius: 5px; background: var(--tape); margin-bottom: 32px; transform: rotate(-8deg); }
.rule-fig .ph { aspect-ratio: 4 / 5; }
.rule-fig img { object-position: 60% 40%; }
@media (min-width: 900px) {
  .rule { grid-template-columns: repeat(12, 1fr); column-gap: 20px; align-items: end; }
  .rule .label { grid-column: 1 / -1; }
  .rule-q { grid-column: 1 / 9; font-size: clamp(40px, 7.2vw, 128px); grid-row: 2; align-self: end; position: relative; z-index: 2; padding-bottom: 2vw; }
  .rule-fig { grid-column: 9 / 13; grid-row: 2; z-index: 1; }
  .rule-fig .ph { aspect-ratio: 3 / 4; }
}

/* =========================================================
   05 VISIT
   ========================================================= */
.visit { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(80px, 11vw, 150px) var(--pad); display: grid; gap: 56px; }
.offer h2 { font: 700 clamp(40px, 6vw, 96px)/.92 var(--f); font-variation-settings: 'wdth' 66; letter-spacing: -.025em; margin: 24px 0 36px; max-width: 9em; }
.offer-card { position: relative; border: 1.5px solid var(--ink); border-radius: 6px; padding: 26px 22px 24px; max-width: 520px; background: var(--chalk); }
.offer-card::before, .offer-card::after { content: ''; position: absolute; top: 112px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.offer-card::before { left: -10px; clip-path: inset(0 0 0 50%); }
.offer-card::after { right: -10px; clip-path: inset(0 50% 0 0); }
.o-name { font: 600 20px/1 var(--f); font-variation-settings: 'wdth' 85; }
.o-price { font: 700 92px/.9 var(--f); font-variation-settings: 'wdth' 70; letter-spacing: -.04em; margin-top: 10px; padding-bottom: 18px; border-bottom: 1.5px dashed var(--ink); }
.o-price .mono { font-size: 18px; letter-spacing: 0; vertical-align: top; position: relative; top: 10px; margin-right: 4px; }
.o-len { font-size: 12px; color: var(--mute); margin-top: 16px; }
.o-inc { margin: 14px 0 24px; }
.o-inc li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.offer-card .btn { width: 100%; }
.facts-list > div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts-list > div:last-child { border-bottom: 1px solid var(--line); }
.facts-list dt { font-size: 12px; color: var(--mute); padding-top: 4px; }
.facts-list dd { font-size: 17px; }
.facts-list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
@media (min-width: 900px) {
  .visit { grid-template-columns: repeat(12, 1fr); column-gap: 20px; align-items: end; }
  .offer { grid-column: 1 / 7; }
  .facts { grid-column: 8 / 13; }
  .facts-list > div { grid-template-columns: 140px 1fr; padding: 20px 0; }
  .facts-list dd { font-size: 19px; }
  .offer-card { padding: 32px 32px 30px; }
  .o-price { font-size: 128px; }
  .offer-card::before, .offer-card::after { top: 140px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot { background: var(--ink); color: var(--chalk); padding: clamp(72px, 10vw, 130px) var(--pad) 84px; overflow: hidden; }
.foot-line { font: 700 clamp(36px, 6vw, 92px)/.94 var(--f); font-variation-settings: 'wdth' 70; letter-spacing: -.025em; }
.foot-line a { color: var(--tape); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 96% / 100% 3px no-repeat; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-top: 56px; }
.foot-cols h3 { font-size: 12px; color: var(--mute-d); margin-bottom: 10px; }
.foot-cols p { font-size: 15px; line-height: 1.6; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-word { position: relative; margin: 56px 0 0; font: 800 23vw/.78 var(--f); letter-spacing: -.02em; white-space: nowrap; color: var(--chalk); user-select: none; }
.foot-word span { --w: 125; display: inline-block; font-variation-settings: 'wdth' var(--w); }
.foot-fine { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line-d); display: grid; gap: 8px; font-size: 12.5px; color: var(--mute-d); }
.foot-fine a { color: var(--chalk); }
@media (min-width: 900px) {
  .foot-cols { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
  .foot-fine { grid-template-columns: 1fr auto auto; gap: 32px; align-items: start; }
  .foot-fine p:first-child { max-width: 38em; }
}

/* ---------- concept badge ---------- */
.concept-badge {
  position: fixed; left: 12px; bottom: 12px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px; background: var(--ink); color: var(--chalk);
  border: 1px solid rgba(228, 231, 223, .22); font: 500 12px/1.2 var(--f); text-decoration: none;
  transition: transform var(--t2) var(--e-out);
}
.concept-badge i { width: 14px; height: 4px; border-radius: 2px; background: var(--tape); transform: rotate(-30deg); }
.concept-badge:hover { transform: translateY(-2px); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .spot .dot { animation: none; }
}
.rm .hero { height: auto; }
.rm .hero-stick { position: relative; }
