/* Spring & Strap Pilates: concept demo. Spring tension. */

:root {
  --paper: #ffffff;
  --band: #e8e2d6;
  --ink: #1b1b1a;
  --ink-2: #4a4741;
  --ink-3: #6a665e;
  --line: rgba(27, 27, 26, 0.16);
  --line-strong: rgba(27, 27, 26, 0.5);
  --leather: #3f3a36;
  --leather-hi: #5b524a;
  --on-leather: #f5f1ea;
  --on-leather-2: #cfc8bc;
  --frame: #e8e2d6;
  --y: #f2c02e;
  --b: #2c6BD8;
  --r: #e0453a;
  --g: #2e9a68;
  --focus: #1f55b8;
  --card: #ffffff;
  --card-on-band: #ffffff;
  --btn-bg: #f2c02e;
  --btn-ink: #1b1b1a;
  --shadow: 0 1px 0 rgba(27,27,26,.06), 0 14px 36px -18px rgba(27,27,26,.35);
  --hh: 72px;
  --f-display: "Darker Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --pad: clamp(20px, 4vw, 56px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141413; --band: #1e1d1b; --ink: #f3f0e9; --ink-2: #bdb8ad; --ink-3: #9a958a;
    --line: rgba(255,255,255,.16); --line-strong: rgba(255,255,255,.5);
    --leather: #2b2723; --leather-hi: #6b5f55; --on-leather: #f5f1ea; --on-leather-2: #c9c2b6;
    --frame: #2a2723; --focus: #f2c02e; --card: #1c1b19; --card-on-band: #262421;
    --shadow: 0 1px 0 rgba(255,255,255,.04), 0 14px 36px -18px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #141413; --band: #1e1d1b; --ink: #f3f0e9; --ink-2: #bdb8ad; --ink-3: #9a958a;
  --line: rgba(255,255,255,.16); --line-strong: rgba(255,255,255,.5);
  --leather: #2b2723; --leather-hi: #6b5f55; --on-leather: #f5f1ea; --on-leather-2: #c9c2b6;
  --frame: #2a2723; --focus: #f2c02e; --card: #1c1b19; --card-on-band: #262421;
  --shadow: 0 1px 0 rgba(255,255,255,.04), 0 14px 36px -18px rgba(0,0,0,.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
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(--f-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 900; line-height: .9; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.tnum { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-leather { --focus: #f2c02e; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--hh); z-index: 60;
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 44px; height: 24px; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 900; font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--ink-3); font-weight: 700; }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; align-items: center; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 999px; transition: background .2s; }
.nav a:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.nav a[aria-current="page"] { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.head-tools { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent;
  display: inline-grid; place-items: center; transition: transform .35s var(--ease-spring), background .2s;
}
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
}
.head-book { display: none; }
@media (min-width: 1020px) {
  .nav { display: block; }
  .head-book { display: inline-flex; }
  .menu-btn { display: none; }
}

.menu-panel {
  position: fixed; inset: 0; z-index: 90; background: var(--paper);
  display: none; flex-direction: column; padding: 16px var(--pad) 32px; overflow-y: auto;
}
.menu-panel.is-open { display: flex; }
.menu-panel .menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.menu-panel ul { margin-top: 24px; }
.menu-panel li { border-top: 1px solid var(--line); }
.menu-panel li a { display: flex; justify-content: space-between; align-items: center; min-height: 64px; font-family: var(--f-display); font-weight: 900; font-size: 2.6rem; letter-spacing: -0.03em; text-decoration: none; }
.menu-panel .menu-foot { margin-top: auto; padding-top: 28px; color: var(--ink-2); font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--btn-bg); --fg: var(--btn-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg); border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.1; text-align: center;
  transition: transform .45s var(--ease-spring), background .2s, box-shadow .3s;
  box-shadow: 0 4px 0 var(--ink);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px) scale(.985); box-shadow: 0 1px 0 var(--ink); }
.btn.ghost { --bg: transparent; --fg: var(--ink); box-shadow: none; border-color: var(--line-strong); }
.btn.ghost:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); box-shadow: none; }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: .95rem; box-shadow: 0 3px 0 var(--ink); }
.btn.sm:hover { box-shadow: 0 5px 0 var(--ink); }
.btn.ink { --bg: var(--ink); --fg: var(--paper); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.on-leather .btn { border-color: var(--on-leather); box-shadow: 0 4px 0 var(--on-leather); }
.on-leather .btn:hover { box-shadow: 0 6px 0 var(--on-leather); }
.on-leather .btn:active { box-shadow: 0 1px 0 var(--on-leather); }
.on-leather .btn.ghost { color: var(--on-leather); border-color: rgba(245,241,234,.5); box-shadow: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: var(--hh); display: flex; flex-direction: column; overflow: clip; background: var(--paper); }
.hero-copy { padding: clamp(14px, 3.4vh, 44px) var(--pad) 0; max-width: 1500px; width: 100%; margin-inline: auto; position: relative; z-index: 2; }
.h1 {
  font-size: clamp(4.4rem, 22vw, 6.6rem); line-height: .8; letter-spacing: -0.045em; font-weight: 900;
}
@media (min-width: 700px) { .h1 { font-size: min(12.4vw, 12.4rem); } }
.h1-wipe { display: block; padding: .06em 0 .04em; }
.js .h1-wipe { clip-path: inset(-.1em 100% -.1em -.05em); }
.h1 .dot { color: var(--y); -webkit-text-stroke: 0; transition: color .4s; }
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.45rem); max-width: 34ch; margin: clamp(14px, 2.4vh, 30px) 0 22px; color: var(--ink); line-height: 1.4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.hero-cta .fine { flex-basis: 100%; font-size: .85rem; color: var(--ink-2); margin: 2px 0 0; }
.hero-machine { position: relative; margin-top: auto; padding-top: 12px; width: 100%; max-width: 1500px; margin-inline: auto; }
.machine { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.machine * { vector-effect: non-scaling-stroke; }
.m-ground { stroke: var(--ink); stroke-opacity: .25; stroke-width: 2; }
.m-frame { fill: var(--frame); stroke: var(--ink); stroke-width: 3; }
.m-slot { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.m-ink { fill: var(--ink); stroke: var(--ink); stroke-width: 3; }
.m-rail { fill: var(--ink); }
.m-wood { fill: var(--frame); stroke: var(--ink); stroke-width: 3; }
.m-carriage { fill: var(--leather); stroke: var(--ink); stroke-width: 3; }
:root[data-theme="dark"] .m-carriage, :root[data-theme="dark"] .m-pad { stroke: #f3f0e9; }
.m-pad { fill: var(--leather-hi); stroke: var(--ink); stroke-width: 3; }
.m-stitch { fill: none; stroke: var(--on-leather); stroke-opacity: .55; stroke-width: 1.5; stroke-dasharray: 6 6; }
.m-wheel { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.m-hole { fill: var(--ink); stroke: none; }
.m-label { font-family: var(--f-body); font-weight: 600; font-size: 15px; fill: var(--ink); stroke: none; vector-effect: none; }
.m-spring { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-carriage-g { cursor: grab; }
.m-carriage-g.is-drag { cursor: grabbing; }
.m-carriage-g:focus-visible { outline: none; }
.m-carriage-g:focus-visible .m-carriage { stroke: var(--focus); stroke-width: 5; }
.pull-line { position: absolute; top: 0; width: 0; border-left: 2px dashed var(--y); pointer-events: none; opacity: 0; will-change: transform; }
.hero-hint { position: absolute; right: var(--pad); top: 6%; margin: 0; font-size: .85rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.hero-hint svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.m-hide-narrow { }
@media (max-width: 699px) { .m-label { display: none; } .hero-hint { position: static; padding: 10px var(--pad) 18px; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.band { background: var(--band); }
.leather { background: var(--leather); color: var(--on-leather); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 1000px; }
.h2 { font-size: clamp(3.1rem, 8.4vw, 7rem); line-height: .82; letter-spacing: -0.04em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 52ch; color: var(--ink-2); margin: 0; }
.leather .lede { color: var(--on-leather-2); }
.tag { font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); margin: 0; }

/* coil glyphs */
.coil { display: block; overflow: visible; flex: none; }
.coil path { fill: none; stroke: var(--c, currentColor); stroke-linecap: round; stroke-linejoin: round; }
.coil[data-coil="yellow"], .c-yellow { --c: var(--y); }
.coil[data-coil="blue"], .c-blue { --c: var(--b); }
.coil[data-coil="red"], .c-red { --c: var(--r); }
.coil[data-coil="green"], .c-green { --c: var(--g); }
.coil[data-coil="any"] { --c: var(--ink); }
.coil.outlined path { }
.sp-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.sp-chip .coil { width: 48px; height: 18px; }

/* ---------- Spring key ---------- */
.key-list { border-top: 2px solid var(--ink); }
.key-row { display: grid; grid-template-columns: 1fr; gap: 6px 32px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); align-items: center; position: relative; }
.key-row .key-coil { height: 40px; width: 100%; }
.key-row .key-coil svg { width: 100%; height: 40px; }
.key-row h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); display: flex; gap: 14px; align-items: baseline; }
.key-row h3 small { font-family: var(--f-body); font-weight: 600; font-size: .95rem; letter-spacing: 0; color: var(--ink-2); }
.key-row p { margin: 0; max-width: 56ch; color: var(--ink-2); }
.key-row .key-swatch { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--c); margin-right: 2px; vertical-align: .08em; }
@media (min-width: 900px) {
  .key-row { grid-template-columns: minmax(0, 3.3fr) minmax(0, 4.9fr) minmax(0, 4.3fr); }
  .key-row .key-coil { grid-column: auto; }
}

.finder { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 22px; }
.finder h3 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: .9; }
.finder-opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.finder-opt {
  text-align: left; min-height: 64px; padding: 14px 18px; border-radius: 18px; border: 1.5px solid var(--line-strong); background: transparent;
  font-weight: 500; line-height: 1.3; transition: transform .45s var(--ease-spring), background .2s, border-color .2s;
}
.finder-opt:hover { transform: translateY(-2px); background: var(--band); }
.finder-opt[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.finder-result { border-radius: 24px; background: var(--band); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; grid-template-columns: 1fr; align-items: center; }
.finder-result[hidden] { display: none; }
@media (min-width: 820px) { .finder-result { grid-template-columns: auto 1fr auto; gap: 28px; } }
.finder-result .fr-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: .9; letter-spacing: -0.03em; }
.finder-result p { margin: 4px 0 0; color: var(--ink-2); max-width: 54ch; }
.key-note { font-size: .88rem; color: var(--ink-2); max-width: 70ch; margin: 28px 0 0; }

/* ---------- Class rows (long coil dividers) ---------- */
.class-list { border-top: 2px solid var(--ink); }
.class-row { display: block; text-decoration: none; position: relative; border-bottom: 1px solid var(--line); padding: 26px 0 0; }
.class-row .cr-grid { display: grid; gap: 10px 36px; grid-template-columns: 1fr; padding-bottom: 20px; }
@media (min-width: 900px) { .class-row .cr-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.class-row h3 { font-size: clamp(3rem, 7vw, 6.2rem); line-height: .8; letter-spacing: -0.04em; transition: transform .5s var(--ease-spring); transform-origin: left bottom; }
.class-row:hover h3, .class-row:focus-visible h3 { transform: translateX(10px); }
.cr-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 14px; font-size: .95rem; font-weight: 600; }
.cr-meta .dur { color: var(--ink-2); font-weight: 500; }
.cr-body p { margin: 0 0 .8em; max-width: 58ch; }
.cr-body .next { color: var(--ink-2); font-size: .98rem; }
.cr-body .next b { color: var(--ink); font-weight: 600; }
.cr-body .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 4px; }
.cr-body .go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-spring); }
.class-row:hover .go svg, .class-row:focus-visible .go svg { transform: translateX(6px); }
.cr-coil-wrap { position: relative; height: 0; }
.cr-coil { position: absolute; left: 0; right: 0; bottom: -13px; height: 26px; z-index: 1; }
.cr-coil svg { width: 100%; height: 26px; display: block; }
.class-row .cr-grid { padding-bottom: 38px; }

/* ---------- Preview (this week) ---------- */
.pv-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .pv-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.pv-day h3 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.pv-day h3 small { font-family: var(--f-body); font-weight: 600; font-size: .95rem; letter-spacing: 0; color: var(--ink-2); }
.pv-list { border-top: 2px solid var(--ink); }
.pv-row { display: grid; grid-template-columns: 78px 1fr auto; gap: 4px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); position: relative; }
.pv-time { font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pv-time small { font-size: .55em; font-weight: 700; margin-left: 1px; }
.pv-main strong { font-family: var(--f-display); font-weight: 900; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1; display: block; }
.pv-main span { font-size: .92rem; color: var(--ink-2); }
.pv-row .pv-coil { display: flex; gap: 10px; align-items: center; grid-column: 2 / -1; font-size: .88rem; font-weight: 600; }
.pv-row .pv-coil .coil { width: 52px; height: 18px; }
.pv-act { text-align: right; display: grid; justify-items: end; gap: 6px; }
.pv-row.is-past { opacity: .5; }
.pv-row.is-past .pv-act .btn { display: none; }
.pv-empty { padding: 20px 0; color: var(--ink-2); }
.pv-more { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.pv-more p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* seat dots */
.seats { display: inline-flex; flex-direction: column; gap: 4px; }
.seats .dots { display: inline-flex; gap: 3px; }
.seats .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .85; display: block; }
.seats .dots i.free { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); opacity: .55; }
.seats .dots i.you { background: var(--y); box-shadow: 0 0 0 2px var(--ink); opacity: 1; }
.seats .txt { font-size: .8rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.seats .txt.low { color: #a3281d; }
:root[data-theme="dark"] .seats .txt.low { color: #ff8f85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seats .txt.low { color: #ff8f85; } }

/* ---------- Intro / pricing ---------- */
.intro-grid { display: grid; gap: clamp(36px, 5vw, 72px); grid-template-columns: 1fr; }
@media (min-width: 1020px) { .intro-grid { grid-template-columns: 5fr 6fr; align-items: start; } }
.offer-price { font-family: var(--f-display); font-weight: 900; line-height: .75; letter-spacing: -0.05em; }
.offer-price .big { display: block; font-size: clamp(7rem, 22vw, 15rem); color: var(--y); font-variant-numeric: tabular-nums; }
.offer-price .big sup { font-size: .42em; vertical-align: top; position: relative; top: .08em; margin-right: .03em; letter-spacing: 0; }
.offer-price .small { display: block; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.035em; line-height: .85; margin-bottom: .22em; }
.offer-facts { margin: 26px 0 28px; display: grid; gap: 10px; max-width: 46ch; }
.offer-facts li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--on-leather); }
.offer-facts svg { width: 22px; height: 22px; fill: none; stroke: var(--y); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.plans { display: grid; gap: 0; border-top: 2px solid var(--on-leather); }
.plan { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding: 18px 0; border-bottom: 1px solid rgba(245,241,234,.22); align-items: baseline; }
.plan h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: .9; }
.plan .price { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: .9; letter-spacing: -0.03em; text-align: right; font-variant-numeric: tabular-nums; }
.plan .price small { font-family: var(--f-body); font-weight: 500; font-size: .9rem; letter-spacing: 0; color: var(--on-leather-2); }
.plan p { margin: 0; color: var(--on-leather-2); font-size: .95rem; grid-column: 1 / -1; }
.plan .per { color: var(--y); font-weight: 600; font-variant-numeric: tabular-nums; }
.terms { margin-top: 28px; border-radius: 22px; background: rgba(245,241,234,.08); border: 1px solid rgba(245,241,234,.22); padding: clamp(20px, 3vw, 30px); }
.terms h3 { font-size: 2rem; margin-bottom: 14px; line-height: .9; }
.terms ul { display: grid; gap: 10px; }
.terms li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--on-leather); font-size: .98rem; line-height: 1.5; }
.terms svg { width: 22px; height: 22px; fill: none; stroke: var(--y); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.pay-line { margin: 18px 0 0; font-size: .9rem; color: var(--on-leather-2); }

.planner { margin-top: clamp(48px, 6vw, 80px); border-radius: 28px; background: var(--paper); color: var(--ink); padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 22px; grid-template-columns: 1fr; --focus: var(--b); }
:root[data-theme="dark"] .planner { background: #1b1a18; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .planner { background: #1b1a18; } }
@media (min-width: 900px) { .planner { grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; } }
.planner h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: .88; }
.planner label.lab { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 10px; }
.planner label.lab output { font-family: var(--f-display); font-weight: 900; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--y), var(--b), var(--r), var(--g)); }
.range::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--y), var(--b), var(--r), var(--g)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); margin-top: -12px; box-shadow: 0 3px 0 var(--ink); }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.range-ticks { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-2); padding: 0 2px; font-variant-numeric: tabular-nums; }
.plan-out { border-radius: 20px; background: var(--band); padding: 22px; display: grid; gap: 6px; }
:root[data-theme="dark"] .plan-out { background: #26231f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan-out { background: #26231f; } }
.plan-out .best { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: .9; letter-spacing: -0.03em; }
.plan-out p { margin: 0; color: var(--ink-2); }
.plan-out .nums { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 8px; font-variant-numeric: tabular-nums; font-weight: 600; }
.plan-out .nums span small { display: block; font-weight: 500; color: var(--ink-2); font-size: .8rem; }

/* ---------- Instructors ---------- */
.inst-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .inst-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .inst-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.inst { background: var(--card); border-radius: 28px; padding: 26px; display: grid; gap: 14px; align-content: start; position: relative; box-shadow: var(--shadow); transition: transform .5s var(--ease-spring); }
.inst:hover { transform: translateY(-6px) rotate(-.4deg); }
.inst-top { display: flex; align-items: center; gap: 18px; }
.ring { position: relative; width: 96px; height: 96px; flex: none; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring svg circle { fill: none; stroke: var(--c); stroke-linecap: round; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 2.3rem; letter-spacing: -0.04em; line-height: 1; }
.inst h3 { font-size: 2.3rem; line-height: .88; }
.inst .role { margin: 2px 0 0; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.inst .quote { font-size: 1.02rem; margin: 0; line-height: 1.45; }
.inst .quals { font-size: .86rem; color: var(--ink-2); margin: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.inst .teaches { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .86rem; font-weight: 600; }
.inst-note { font-size: .88rem; color: var(--ink-2); margin: 26px 0 0; max-width: 70ch; }

/* ---------- Studio ---------- */
.studio-grid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .studio-grid { grid-template-columns: 7fr 5fr; } }
.plan-svg { width: 100%; height: auto; display: block; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.plan-svg .p-wall { fill: var(--band); stroke: var(--ink); stroke-width: 4; }
.plan-svg .p-floor { fill: var(--paper); }
.plan-svg .p-win { stroke: var(--ink); stroke-width: 4; stroke-dasharray: 14 8; fill: none; }
.plan-svg .p-car { fill: var(--leather); stroke: var(--ink); stroke-width: 2.5; }
.plan-svg .p-body { fill: var(--frame); stroke: var(--ink); stroke-width: 2.5; }
.plan-svg .p-num { font-family: var(--f-display); font-weight: 900; font-size: 22px; fill: var(--on-leather); text-anchor: middle; }
.plan-svg .p-text { font-family: var(--f-body); font-weight: 600; font-size: 15px; fill: var(--ink); }
.plan-svg .p-sub { font-family: var(--f-body); font-weight: 500; font-size: 13px; fill: var(--ink-2); }
.plan-svg .p-zone { fill: var(--band); stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 5; }
.plan-svg .p-rx { cursor: default; transition: transform .45s var(--ease-spring); transform-box: fill-box; transform-origin: center; }
.plan-svg .p-rx:hover { transform: translateY(-4px); }
.facts { display: grid; gap: 0; border-top: 2px solid var(--ink); margin-top: 8px; }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.facts li b { font-family: var(--f-display); font-weight: 900; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1; }
.facts li span { color: var(--ink-2); font-size: .98rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 72px; } }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 64px; padding: 14px 0; font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.05; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: transform .5s var(--ease-spring), background .2s; }
.faq-list summary .plus svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.faq-list details[open] summary .plus { transform: rotate(135deg); background: var(--y); color: #1b1b1a; border-color: var(--y); }
.faq-list .ans { padding: 0 0 22px; max-width: 62ch; color: var(--ink-2); }
.faq-list .ans p:last-child { margin-bottom: 0; }

/* ---------- Closing + footer ---------- */
.closing { background: var(--ink); color: var(--paper); padding-block: clamp(80px, 11vw, 160px); position: relative; overflow: clip; }
.closing { --focus: #f2c02e; }
.closing .h2 { font-size: clamp(4rem, 14vw, 12rem); line-height: .78; }
.closing .h2 .dot { color: var(--y); }
.closing-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-top: clamp(36px, 5vw, 64px); align-items: end; }
@media (min-width: 900px) { .closing-grid { grid-template-columns: 1fr 1fr; } }
.closing .btn { border-color: var(--paper); box-shadow: 0 4px 0 var(--paper); }
.closing .btn.ghost { color: var(--paper); border-color: rgba(255,255,255,.5); box-shadow: none; }
.closing address { font-style: normal; display: grid; gap: 6px; font-size: 1.05rem; }
.closing address a { text-underline-offset: 4px; }
.closing .contact-label { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; opacity: .7; margin-bottom: 2px; }
:root[data-theme="dark"] .closing { background: #0c0c0b; color: #f3f0e9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .closing { background: #0c0c0b; color: #f3f0e9; } }
.closing-coil { position: absolute; left: 0; right: 0; top: 0; height: 40px; }
.closing-coil svg { width: 100%; height: 40px; display: block; }

.site-footer { background: var(--band); padding: 48px 0 40px; font-size: .95rem; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 5fr 4fr 3fr; } }
.site-footer h2 { font-family: var(--f-body); font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; line-height: 1.2; }
.site-footer p { margin: 0 0 .6em; }
.site-footer .ack { max-width: 56ch; }
.site-footer ul li a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--ink-2); font-size: .88rem; }
.foot-base a { min-height: 44px; display: inline-flex; align-items: center; }

/* back to top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--paper); border: 0; display: grid; place-items: center;
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .25s, transform .5s var(--ease-spring);
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.4);
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.to-top:focus-visible { outline-color: var(--y); }
@media print { .to-top, .site-header, .menu-panel { display: none !important; } }

/* reveal (only when JS is on) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); }
.no-motion [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ================= Timetable page ================= */
.tt-head { padding-top: calc(var(--hh) + clamp(28px, 5vw, 64px)); padding-bottom: clamp(24px, 3vw, 40px); background: var(--paper); }
.tt-head .h1 { font-size: clamp(4rem, 13vw, 11rem); line-height: .8; }
.tt-head .h1 .dot { color: var(--y); }
.tt-head .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; align-items: flex-end; margin-top: 18px; }
.tt-head .lede { margin: 0; }
.tt-note { font-size: .9rem; color: var(--ink-2); margin: 0; }
.week-nav { display: flex; align-items: center; gap: 10px; }
.week-nav output { min-width: 11ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.tt-tools { background: var(--band); padding-block: 22px; position: relative; z-index: 40; border-bottom: 1px solid var(--line); }
@media (min-width: 1100px) and (min-height: 860px) { .tt-tools { position: sticky; top: var(--hh); padding-block: 12px; } .tt-tools .tt-status { margin-top: 8px; } }
.filters { display: grid; gap: 16px 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .filters { grid-template-columns: auto auto 1fr 1fr; } }
.fgroup { display: grid; gap: 8px; align-content: start; border: 0; padding: 0; margin: 0; min-width: 0; }
.fgroup legend, .fgroup > label.fl { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; transition: transform .45s var(--ease-spring), background .2s, color .2s;
}
.chip:hover { transform: translateY(-2px); }
.chip:active { transform: scale(.96); }
.chip .coil { width: 36px; height: 14px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.select-wrap select {
  width: 100%; min-height: 44px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--paper); padding: 0 40px 0 14px; font-weight: 500;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23888' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.tt-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 16px; font-size: .92rem; }
.tt-status button.link { background: none; border: 0; padding: 0 4px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.tt-body { padding-block: 28px 80px; }
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab { flex: none; min-width: 64px; min-height: 64px; border-radius: 20px; border: 1.5px solid var(--line-strong); background: transparent; display: grid; place-items: center; align-content: center; padding: 6px 12px; transition: transform .45s var(--ease-spring), background .2s; }
.day-tab span { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.day-tab b { font-family: var(--f-display); font-weight: 900; font-size: 1.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
.day-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.day-tab[aria-selected="true"] span { color: inherit; opacity: .8; }
.day-tab.is-today:not([aria-selected="true"]) { border-color: var(--ink); box-shadow: inset 0 -4px 0 var(--y); }
.day-panel { display: none; }
.day-panel.is-active { display: block; }
.day-panel > h2 { font-size: 2.4rem; margin: 6px 0 16px; line-height: .9; }
.day-panel > h2 small { font-family: var(--f-body); font-weight: 600; letter-spacing: 0; font-size: .95rem; color: var(--ink-2); margin-left: 10px; }
.day-list { display: grid; gap: 12px; grid-template-columns: 1fr; align-content: start; }
@media (min-width: 640px) and (max-width: 1259px) { .day-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) and (max-width: 1259px) { .day-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1260px) {
  .day-tabs { display: none; }
  .tt-cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; align-items: start; }
  .day-panel { display: block !important; }
  .day-panel > h2 { font-size: 1.9rem; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 12px; }
  .day-panel > h2 small { margin: 0; font-size: .85rem; }
  .day-panel.is-today > h2 { box-shadow: 0 4px 0 -0px var(--y); }
}
.tt-cols .day-panel[hidden] { display: none !important; }

.cls {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 14px 14px 12px; display: grid; gap: 8px; position: relative;
  transition: transform .5s var(--ease-spring), box-shadow .3s, border-color .2s;
}
.cls:hover, .cls:focus-within { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ink); }
.cls .t { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.cls .t small { font-family: var(--f-body); font-weight: 500; font-size: .74rem; color: var(--ink-2); letter-spacing: 0; }
.cls .n { font-family: var(--f-display); font-weight: 900; font-size: 1.7rem; letter-spacing: -0.025em; line-height: .95; }
.cls .who { font-size: .85rem; color: var(--ink-2); margin: -4px 0 0; }
.cls .sp { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; }
.cls .sp .coil { width: 56px; height: 18px; }
.cls .seats { margin-top: 2px; }
.cls .btn { min-height: 44px; padding: 0 14px; font-size: .92rem; width: 100%; box-shadow: 0 3px 0 var(--ink); }
.cls .btn.booked { --bg: var(--ink); --fg: var(--paper); }
.cls .btn.waiting { --bg: var(--band); }
.cls .btn.join { --bg: transparent; }
.cls.is-past { opacity: .5; }
.cls.is-past:hover { transform: none; box-shadow: none; border-color: var(--line); }
.cls.is-past .btn { display: none; }
.cls .past-tag { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.cls.is-yours { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.empty-day { padding: 18px 4px; font-size: .92rem; color: var(--ink-2); }
.tt-empty { padding: 40px 0; text-align: center; }
.tt-empty h2 { font-size: 3rem; margin-bottom: 12px; }

/* priv */
.private-box { margin-top: 64px; border-radius: 32px; background: var(--band); padding: clamp(24px, 4vw, 52px); display: grid; gap: 28px; grid-template-columns: 1fr; scroll-margin-top: 100px; }
@media (min-width: 960px) { .private-box { grid-template-columns: 5fr 6fr; gap: 56px; } }
.private-box h2 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: .82; margin-bottom: 14px; }
.private-box.is-hot { outline: 3px solid var(--y); outline-offset: 4px; }

/* forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-weight: 600; font-size: .95rem; }
.field label .opt { font-weight: 500; color: var(--ink-2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--paper); padding: 10px 14px; color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.field .err { display: none; color: #a3281d; font-size: .88rem; font-weight: 600; }
:root[data-theme="dark"] .field .err { color: #ff9d94; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field .err { color: #ff9d94; } }
.field.has-error .err { display: block; }
.field .hint { font-size: .85rem; color: var(--ink-2); }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: .95rem; }
.check input { width: 24px; height: 24px; margin: 10px 0 0 0; accent-color: var(--ink); }
.check label { padding: 8px 0; line-height: 1.45; }
.check.has-error label { color: #a3281d; }
:root[data-theme="dark"] .check.has-error label { color: #ff9d94; }
.demo-note { font-size: .82rem; color: var(--ink-2); margin: 0; }
.form-success { border-radius: 20px; background: var(--card); border: 2px solid var(--ink); padding: 22px; display: none; gap: 8px; }
.form-success.is-on { display: grid; }
.form-success b { font-family: var(--f-display); font-weight: 900; font-size: 2.2rem; line-height: .9; letter-spacing: -0.03em; }
.form-success p { margin: 0; color: var(--ink-2); }

/* slide-over panel */
.scrim { position: fixed; inset: 0; z-index: 110; background: rgba(20,20,19,.55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.is-on { opacity: 1; pointer-events: auto; }
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(520px, 100vw); background: var(--paper); color: var(--ink);
  transform: translateX(104%); transition: transform .6s var(--ease-spring), visibility 0s linear .6s; display: flex; flex-direction: column; box-shadow: -24px 0 60px -20px rgba(0,0,0,.45);
  visibility: hidden;
}
.panel.is-open { transform: none; visibility: visible; transition: transform .6s var(--ease-spring), visibility 0s; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 2.6rem; line-height: .85; }
.panel-head p { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem; }
.panel-body { padding: 20px 24px 28px; overflow-y: auto; flex: 1; display: grid; gap: 22px; align-content: start; }
.panel-load { height: 36px; }
.panel-load svg { width: 100%; height: 36px; display: block; }
.panel-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font-size: .92rem; font-weight: 600; }
.panel .steps { display: flex; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.panel .steps span { padding: 4px 10px; border-radius: 99px; border: 1.5px solid var(--line); }
.panel .steps span.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pay-opts { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.pay-opts legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pay-opt .box { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line-strong); transition: border-color .2s, background .2s, transform .4s var(--ease-spring); }
.pay-opt .box strong { font-weight: 600; }
.pay-opt .box .p { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; text-align: right; }
.pay-opt .box small { grid-column: 1 / -1; color: var(--ink-2); font-size: .85rem; line-height: 1.4; }
.pay-opt input:checked + .box { border-color: var(--ink); background: var(--band); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pay-opt input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 2px; }
.pay-opt:hover .box { transform: translateX(3px); }
.pay-opt.is-off .box { opacity: .5; }
.summary { border-radius: 18px; background: var(--band); padding: 16px 18px; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; }
.summary .tot { font-weight: 700; border-top: 1px solid var(--line-strong); padding-top: 8px; margin-top: 4px; font-size: 1.1rem; }
.summary small { color: var(--ink-2); line-height: 1.4; }
.panel-foot { padding: 16px 24px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--paper); }
.panel-foot .btns { display: flex; gap: 12px; }
.panel-foot .btns .btn { flex: 1; }
.cancel-terms { font-size: .85rem; color: var(--ink-2); margin: 0; line-height: 1.45; }
.ok-mark { width: 84px; height: 84px; }
.ok-mark circle, .ok-mark path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 140; transform: translate(-50%, calc(100% + 48px)); opacity: 0; visibility: hidden; background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 999px; font-weight: 600; transition: transform .6s var(--ease-spring), opacity .3s, visibility 0s .6s; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .6s var(--ease-spring), opacity .3s, visibility 0s; }

/* accessibility page */
.prose { max-width: 70ch; padding-top: calc(var(--hh) + clamp(28px, 5vw, 64px)); padding-bottom: 96px; }
.prose h1 { font-size: clamp(3.6rem, 11vw, 8rem); line-height: .82; margin-bottom: 28px; }
.prose h2 { font-size: 2.4rem; margin: 40px 0 12px; line-height: .9; }
.prose li { margin: 0 0 8px; padding-left: 20px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 1.5px var(--ink); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .h1-wipe { clip-path: none; }
}

.js .hero [data-in] { opacity: 0; }
.fr-coil svg { width: 120px; height: 36px; }
.fr-coil { padding: 4px 0; }

/* ---------- Hero: next class card ---------- */
.hero-next { position: absolute; z-index: 3; right: calc(var(--pad) + 120px); top: calc(var(--hh) + clamp(150px, 24vh, 250px)); width: 300px; background: var(--card); border: 2px solid var(--ink); border-radius: 22px; padding: 16px 18px 18px; box-shadow: 6px 6px 0 var(--ink); }
.hero-next[hidden] { display: none; }
.hn-tag { margin: 0 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.hn-main { display: flex; align-items: baseline; gap: 12px; }
.hn-time { font-family: var(--f-display); font-weight: 900; font-size: 2.5rem; letter-spacing: -.03em; line-height: .9; font-variant-numeric: tabular-nums; }
.hn-time small { font-size: .5em; margin-left: 2px; }
.hn-main strong { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; line-height: 1; }
.hn-sub { margin: 6px 0 10px; font-size: .9rem; color: var(--ink-2); }
.hn-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hn-row .seats { flex-direction: column; align-items: flex-start; }
@media (max-width: 1099px) { .hero-next { display: none; } }

/* ---------- Photo + room ---------- */
.room-grid { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .room-grid { grid-template-columns: 6fr 5fr; } }
.room-fig { margin: 0; }
.room-ph { position: relative; border-radius: 28px; overflow: hidden; background: var(--band); box-shadow: var(--shadow); isolation: isolate; }
.room-ph img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1422; object-fit: cover; filter: saturate(.82) contrast(1.04) sepia(.14) brightness(1.02); }
.room-ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(242,192,46,.10), rgba(232,226,214,.20)); mix-blend-mode: multiply; pointer-events: none; }
.room-ph::after { content: ""; position: absolute; inset: 0; z-index: 2; opacity: .22; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .9 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }
:root[data-theme="dark"] .room-ph img { filter: saturate(.8) contrast(1.02) brightness(.82) sepia(.1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .room-ph img { filter: saturate(.8) contrast(1.02) brightness(.82) sepia(.1); } }
.room-tag { position: absolute; z-index: 3; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: .92rem; border: 2px solid var(--ink); }
.room-fig figcaption { margin-top: 12px; font-size: .8rem; color: var(--ink-3); }
.room-copy { display: grid; gap: 22px; }
.room-copy .h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.room-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.room-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.room-list li b { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.05; }
.room-list li span { color: var(--ink-2); }

/* ---------- Drawn facade ---------- */
.facade { margin-bottom: clamp(32px, 5vw, 56px); }
.facade svg { display: block; width: 100%; height: auto; border-radius: 24px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.facade .f-ground { fill: var(--ink); opacity: .85; }
.facade .f-wall { fill: #ddd3bf; stroke: var(--ink); stroke-width: 3; }
.facade .f-courses path { fill: none; stroke: var(--ink); stroke-opacity: .16; stroke-width: 2; }
.facade .f-cornice { fill: var(--frame); stroke: var(--ink); stroke-width: 3; }
.facade .f-string { fill: var(--frame); stroke: var(--ink); stroke-width: 2.5; }
.facade .f-glass { fill: #f6e9b8; stroke: var(--ink); stroke-width: 3; }
.facade .f-bar { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.facade .f-sp { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 7; }
.facade .f-door rect { fill: var(--leather); stroke: var(--ink); stroke-width: 3; }
.facade .f-door path { fill: none; stroke: #f5f1ea; stroke-opacity: .55; stroke-width: 3; stroke-linecap: round; }
.facade .f-board { fill: var(--y); stroke: var(--ink); stroke-width: 2.5; }
.facade .f-wave { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .facade .f-wall { fill: #3a352d; }
:root[data-theme="dark"] .facade .f-glass { fill: #6d5a24; }
:root[data-theme="dark"] .facade .f-ground { fill: #000; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .facade .f-wall { fill: #3a352d; }
  :root:not([data-theme="light"]) .facade .f-glass { fill: #6d5a24; }
  :root:not([data-theme="light"]) .facade .f-ground { fill: #000; }
}
.inst-grid + .inst-note { margin-top: 34px; }

/* ---------- Timetable filters toggle (mobile) ---------- */
.filters-toggle { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--card-on-band); border: 1.5px solid var(--ink); font-weight: 700; }
.filters-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.filters-toggle b { min-width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 12px; background: var(--y); color: #1b1b1a; font-size: .85rem; padding: 0 6px; }
.filters-toggle b[hidden] { display: none; }
@media (max-width: 759px) {
  .filters-toggle { display: inline-flex; }
  .filters { display: none; margin-top: 16px; }
  .filters.is-open { display: grid; }
  .tt-status { margin-top: 10px; }
}

.pv-done { font-size: .88rem; color: var(--ink-2); margin: 12px 0 0; }
@media (max-width: 699px) { .pull-line { display: none; } }
@media (max-width: 759px) {
  .day-list .cls.is-past { display: none; }
  .day-list:has(.cls.is-past):not(:has(.cls:not(.is-past)))::before { content: "All of today's classes have finished. Pick another day above."; display: block; padding: 18px 0; color: var(--ink-2); }
}
