/* IVAN SUMMER — from noise to line */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 98%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --bg: oklch(0.975 0.004 60);
  --bg-2: oklch(0.94 0.006 60);
  --bg-dark: oklch(0.17 0.008 45);
  --bg-dark-2: oklch(0.22 0.009 45);
  --text: oklch(0.17 0.01 45);
  --text-2: oklch(0.42 0.012 45);
  --text-on-dark: oklch(0.95 0.005 60);
  --text-on-dark-2: oklch(0.74 0.008 60);
  --accent: oklch(0.64 0.2 38);
  --accent-ink: oklch(0.47 0.17 36);
  --accent-hover: oklch(0.42 0.16 36);
  --accent-pressed: oklch(0.38 0.15 36);
  --accent-on-dark: oklch(0.76 0.14 48);
  --tint: color-mix(in oklch, var(--accent) 8%, var(--bg));
  --line: color-mix(in oklch, var(--text) 12%, transparent);
  --line-2: color-mix(in oklch, var(--text) 22%, transparent);
  --line-dark: color-mix(in oklch, var(--text-on-dark) 14%, transparent);
  --err: oklch(0.52 0.19 28);

  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);

  --pad: clamp(20px, 4.4vw, 64px);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px; --s7: 168px;
  --sec: clamp(88px, 12vw, 168px);
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px;

  --font: "Archivo", "Archivo Fallback", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
h1, h2, h3, legend, dt { text-wrap: balance; }
p, dd { text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--bg-dark); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: var(--r-sm); text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
.scroll-sentinel { position: absolute; top: 0; height: 40px; width: 1px; }

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 2px; }

/* ---------- placeholders ---------- */
.ph {
  text-decoration: underline dashed var(--accent) 1.5px;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.ph--dark { text-decoration-color: var(--accent-on-dark); }

/* ---------- fade glyph (brand mark) ---------- */
.fg { display: inline-flex; align-items: flex-end; gap: 2px; height: 1em; vertical-align: -0.1em; }
.fg i { display: block; width: 2px; background: currentColor; transform-origin: bottom; transition: transform .5s var(--ease); }
.fg--wide { gap: clamp(3px, .8vw, 10px); }
.fg--wide i { width: clamp(2px, .25vw, 4px); }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  font-stretch: 105%;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--primary { background: var(--accent-ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:active { background: var(--accent-pressed); }
.btn--primary:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--text); }
.btn--light { background: var(--text-on-dark); color: var(--bg-dark); }
.btn--light:hover { background: var(--accent-on-dark); }
.btn--light:focus-visible { outline-color: var(--accent-on-dark); }
.btn--text { background: none; padding: 0 8px; color: var(--text-2); font-weight: 500; }
.btn--text:hover { color: var(--text); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: var(--s4);
  height: 76px; padding-inline: var(--pad);
  border-bottom: 1px solid transparent;
  transition: height .24s var(--ease), background-color .24s var(--ease), border-color .24s var(--ease);
}
.hdr[data-scrolled="true"] {
  height: 60px;
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.hdr.is-dark { color: var(--text-on-dark); }
.hdr.is-dark[data-scrolled="true"] { background: color-mix(in oklch, var(--bg-dark) 80%, transparent); border-bottom-color: var(--line-dark); }
.hdr.is-dark .hdr__nav a { color: var(--text-on-dark-2); }
.hdr.is-dark .hdr__nav a:hover { color: var(--text-on-dark); }
.hdr.is-dark :focus-visible { outline-color: var(--accent-on-dark); }
.hdr__logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-stretch: 125%; font-size: 15px; letter-spacing: .06em; min-height: 44px; }
.hdr__logo .fg { color: var(--accent); height: 18px; }
.hdr__nav { display: flex; gap: 4px; margin-left: auto; }
.hdr__nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 14px; color: var(--text-2); transition: color .18s var(--ease); }
.hdr__nav a:hover { color: var(--text); }
.hdr__cta { --h: 42px; }
.hdr__burger { display: none; }

.drawer { position: fixed; inset: 0; z-index: 49; background: var(--bg-dark); color: var(--text-on-dark); padding: 96px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.drawer[hidden] { display: none; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a { text-decoration: none; font-weight: 800; font-stretch: 62%; font-size: clamp(56px, 17vw, 96px); line-height: .98; text-transform: uppercase; padding: 4px 0; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(18px); animation: drawIn .6s var(--ease) forwards; }
.drawer__nav a:nth-child(2) { animation-delay: .04s } .drawer__nav a:nth-child(3) { animation-delay: .08s }
.drawer__nav a:nth-child(4) { animation-delay: .12s } .drawer__nav a:nth-child(5) { animation-delay: .16s; color: var(--accent-on-dark); }
.drawer__foot { color: var(--text-on-dark-2); font-size: 14px; }
@keyframes drawIn { to { opacity: 1; transform: none; } }
body.menu-open .hdr { background: transparent; border-color: transparent; color: var(--text-on-dark); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open { overflow: hidden; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 250vh; background: var(--bg); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero__meta {
  position: absolute; left: var(--pad); top: 96px;
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: 13px; font-weight: 600; font-stretch: 112%; letter-spacing: .04em; color: var(--text-2);
}
.hero__meta span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 18px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.hero__guard {
  position: absolute; right: var(--pad); top: 0;
  display: flex; align-items: baseline; gap: 8px;
  transform: translateY(var(--gy, 60vh)); will-change: transform;
  opacity: var(--go, 1); transition: opacity .3s var(--ease);
  pointer-events: none;
}
.hero__guard-num { font-weight: 800; font-stretch: 62%; font-size: 44px; line-height: 1; color: var(--accent-ink); }
.hero__guard-lbl { font-size: 12px; font-weight: 600; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.hero__hint { position: absolute; right: var(--pad); top: 98px; font-size: 13px; font-weight: 500; color: var(--text-2); transition: opacity .4s var(--ease); }
.hint-touch { display: none; }
.hero__done {
  position: absolute; right: var(--pad); top: 21vh; text-align: right;
  font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(56px, 7vw, 112px); line-height: .88;
  clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease-io);
  pointer-events: none;
}
.hero__done span { color: var(--accent-ink); }
.hero.is-done .hero__done { clip-path: inset(-10% 0 -10% 0); }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }
.hero.is-cutting .hero__hint { opacity: 0; }
.hero__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(24px, 5vh, 56px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4);
}
.hero__lede { max-width: 46ch; font-size: clamp(16px, 1.25vw, 19px); color: var(--text-2); }
.hero__lede::first-line { color: var(--text); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- headings ---------- */
.h2 { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(48px, 7.2vw, 116px); line-height: .9; letter-spacing: -.005em; }
.h3 { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(42px, 5vw, 76px); line-height: .92; }

/* clipper-sweep reveal: text is revealed bottom→top behind a moving guard line */
.cut-in { position: relative; }
.js .cut-in { clip-path: inset(100% 0 0 0); }
.js .cut-in::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: translateY(0); opacity: 0;
}
.js .cut-in.is-in { animation: cutClip .95s var(--ease-io) forwards; }
.js .cut-in.is-in::after { animation: cutLine .95s var(--ease-io) forwards; }
@keyframes cutClip { from { clip-path: inset(100% 0 -4px 0); } to { clip-path: inset(-10% 0 -4px 0); } }
@keyframes cutLine {
  0% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(calc(-1 * var(--hh, 100px))); }
}

.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- EARLY ---------- */
.early { background: var(--bg-dark); color: var(--text-on-dark); padding: var(--sec) var(--pad) var(--s6); position: relative; z-index: 1; }
.early__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s5); align-items: start; max-width: 1440px; margin: 0 auto; }
.early__title { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(52px, 7.6vw, 124px); line-height: .88; }
.early__title::after { background: var(--accent-on-dark) !important; }
.early__body { display: grid; gap: var(--s3); font-size: clamp(17px, 1.35vw, 20px); color: var(--text-on-dark-2); padding-top: 10px; max-width: 58ch; }
.early__body strong { color: var(--text-on-dark); font-weight: 600; }
.early__line { max-width: 1440px; margin: var(--s6) auto 0; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(32px, 5vw, 72px); line-height: .8; color: var(--text-on-dark-2); }
.early__line span:last-child { color: var(--accent-on-dark); }
.early__line .fg { flex: 1; height: clamp(40px, 6vw, 88px); justify-content: space-between; color: var(--text-on-dark); }

/* ---------- WAYS ---------- */
.ways { padding: var(--sec) var(--pad); max-width: 1568px; margin: 0 auto; }
.ways__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s4); align-items: end; margin-bottom: var(--s5); }
.ways__sub { color: var(--text-2); max-width: 40ch; font-size: 18px; }
.ways__list { border-top: 1px solid var(--text); }
.way { position: relative; display: flex; align-items: stretch; border-bottom: 1px solid var(--line-2); }
.way__link {
  flex: 1; display: grid; grid-template-columns: 72px minmax(0, 1.25fr) minmax(0, 1fr) 90px; align-items: center; gap: var(--s3);
  padding: clamp(14px, 1.6vw, 24px) 0; text-decoration: none; min-width: 0;
}
.way__g { font-weight: 700; font-stretch: 62%; font-size: 22px; color: var(--accent-ink); }
.way__name { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(44px, 6.4vw, 104px); line-height: .9; transition: transform .5s var(--ease), color .3s var(--ease); transform-origin: left; }
.way__desc { color: var(--text-2); font-size: 16px; max-width: 34ch; transition: color .3s var(--ease); }
.way__fg { height: 40px; color: var(--accent); justify-self: end; }
.way__fg i { transform: scaleY(.18); }
.way__book {
  display: flex; align-items: center; justify-content: center; min-width: 108px; margin-left: var(--s3);
  font-weight: 700; font-stretch: 112%; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border-left: 1px solid var(--line); color: var(--accent-ink); transition: background-color .2s var(--ease), color .2s var(--ease);
}
.way__book:hover { background: var(--accent-ink); color: var(--bg); }
@media (hover: hover) {
  .way__link:hover .way__name { transform: translateX(14px); color: var(--accent-ink); }
  .way__link:hover .way__desc { color: var(--text); }
  .way__link:hover .way__fg i { transform: scaleY(1); }
}

/* ---------- CHAIRS ---------- */
.chairs { display: grid; grid-template-columns: 1fr 1fr; }
.chair { padding: var(--s6) var(--pad); display: grid; gap: var(--s4); align-content: start; }
.chair--studio { background: var(--bg-2); }
.chair--house { background: var(--tint); }
.chair--house .slot { order: 2; }
.chair__text { display: grid; gap: var(--s3); align-content: start; justify-items: start; }
.chair__lede { font-size: 18px; color: var(--text-2); max-width: 44ch; }
.spec { width: 100%; border-top: 1px solid var(--text); }
.spec > div { display: grid; grid-template-columns: 9.5em 1fr; gap: var(--s2); padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.spec dt { font-weight: 600; font-stretch: 112%; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.spec dd { color: var(--text); }
.chair .slot { width: min(100%, 400px); }
.chair--studio .slot { justify-self: end; }

/* ---------- photo slots ---------- */
.slot { width: 100%; }
.slot__frame {
  --c: var(--text); --cm: color-mix(in oklch, var(--text) 30%, transparent);
  position: relative; aspect-ratio: var(--ar, 4 / 5); width: 100%;
  background:
    linear-gradient(var(--cm), var(--cm)) 0 0 / 22px 1px no-repeat,
    linear-gradient(var(--cm), var(--cm)) 0 0 / 1px 22px no-repeat,
    linear-gradient(var(--cm), var(--cm)) 100% 0 / 22px 1px no-repeat,
    linear-gradient(var(--cm), var(--cm)) 100% 0 / 1px 22px no-repeat,
    linear-gradient(var(--cm), var(--cm)) 0 100% / 22px 1px no-repeat,
    linear-gradient(var(--cm), var(--cm)) 0 100% / 1px 22px no-repeat,
    linear-gradient(var(--cm), var(--cm)) 100% 100% / 22px 1px no-repeat,
    linear-gradient(var(--cm), var(--cm)) 100% 100% / 1px 22px no-repeat,
    color-mix(in oklch, var(--text) 5%, transparent);
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px;
  overflow: hidden;
}
.slot__frame::before, .slot__frame::after { content: ""; position: absolute; background: color-mix(in oklch, var(--text) 9%, transparent); }
.slot__frame::before { left: 33.333%; right: 33.333%; top: 0; bottom: 0; border-left: 1px dashed var(--cm); border-right: 1px dashed var(--cm); background: none; opacity: .5; }
.slot__frame::after { top: 33.333%; bottom: 33.333%; left: 0; right: 0; border-top: 1px dashed var(--cm); border-bottom: 1px dashed var(--cm); background: none; opacity: .5; }
.slot__tag { position: relative; z-index: 1; align-self: flex-start; font-size: 12px; font-weight: 700; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); padding: 4px 8px; border: 1px solid currentColor; border-radius: var(--r-xs); }
.slot__spec { position: relative; z-index: 1; font-size: 14px; color: var(--text-2); max-width: 28ch; }
.slot--dark .slot__frame { --cm: color-mix(in oklch, var(--text-on-dark) 32%, transparent); background-color: color-mix(in oklch, var(--text-on-dark) 4%, transparent); }
.slot--dark .slot__tag { color: var(--accent-on-dark); }
.slot--dark .slot__spec { color: var(--text-on-dark-2); }

/* ---------- EVENTS ---------- */
.events { background: var(--bg-dark); color: var(--text-on-dark); padding: var(--sec) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.events__intro { position: sticky; top: 100px; display: grid; gap: var(--s3); justify-items: start; }
.events__intro .h2::after { background: var(--accent-on-dark); }
.events__intro p { color: var(--text-on-dark-2); font-size: 18px; max-width: 44ch; }
.events__intro p.events__price { color: var(--text-on-dark); font-weight: 500; }
.events__cap { font-size: 13px; font-weight: 600; font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; color: var(--text-on-dark-2); margin-bottom: var(--s3); }
.ros { position: relative; padding-left: 28px; }
.ros::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line-dark); }
.ros::after { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 3px; background: var(--accent-on-dark); transform-origin: top; transform: scaleY(var(--p, 0)); }
.ros__row { position: relative; display: grid; grid-template-columns: 8.5em 1fr; gap: var(--s3); padding: 22px 0 26px; border-bottom: 1px solid var(--line-dark); }
.ros__row::before { content: ""; position: absolute; left: -33px; top: 30px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-dark); border: 1px solid var(--text-on-dark-2); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.ros__row.is-lit::before { background: var(--accent-on-dark); border-color: var(--accent-on-dark); }
.ros__t { font-weight: 800; font-stretch: 62%; font-size: 30px; line-height: 1; text-transform: uppercase; white-space: nowrap; color: var(--text-on-dark-2); transition: color .3s var(--ease); }
.ros__row.is-lit .ros__t { color: var(--text-on-dark); }
.ros__d { color: var(--text-on-dark-2); }
.ros__d strong { color: var(--text-on-dark); font-weight: 600; }

/* ---------- ACADEMY ---------- */
.academy { padding: var(--sec) var(--pad); max-width: 1568px; margin: 0 auto; }
.academy__top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: end; margin-bottom: var(--s5); }
.academy__body { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s5); align-items: start; }
.academy__lede { font-size: 18px; color: var(--text-2); }
.table-wrap { overflow-x: auto; }
.courses { width: 100%; border-collapse: collapse; }
.courses th, .courses td { text-align: left; padding: 18px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.courses thead th { font-size: 12px; font-weight: 600; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); border-bottom: 1px solid var(--text); padding-block: 10px; }
.courses tbody th { font-weight: 700; font-stretch: 88%; font-size: 21px; line-height: 1.15; }
.courses tbody th span { display: block; font-weight: 400; font-stretch: 100%; font-size: 14px; color: var(--text-2); margin-top: 4px; }
.courses td:last-child { text-align: right; }
.tlink { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); text-decoration: underline; text-decoration-color: color-mix(in oklch, var(--accent) 50%, transparent); text-underline-offset: 5px; }
.tlink:hover { text-decoration-color: var(--accent-ink); }
.waitlist { grid-column: 2; margin-top: var(--s4); display: grid; gap: 12px; }
.waitlist label { font-weight: 600; }
.waitlist__row { display: flex; gap: 8px; }
.waitlist__row input { flex: 1; min-width: 0; }

/* ---------- inputs ---------- */
input[type="text"], input[type="email"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 16px; transition: border-color .18s var(--ease);
}
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: color-mix(in oklch, var(--text) 45%, transparent); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 0; border-color: transparent; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.field { display: grid; gap: 6px; }
.field label, .lbl { font-weight: 600; font-size: 14px; }
.field-msg { font-size: 14px; color: var(--err); min-height: 0; }
.field-msg:empty { display: none; }
.field-msg.ok { color: var(--text); }
.opt-tag { font-weight: 400; color: var(--text-2); }

/* ---------- RIDER ---------- */
.rider { background: var(--bg-2); padding: var(--sec) var(--pad); display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s6); align-items: center; }
.rider__intro { display: grid; gap: var(--s3); justify-items: start; max-width: 560px; }
.rider__intro p { font-size: 18px; color: var(--text-2); }
.doc {
  background: var(--bg); padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px color-mix(in oklch, var(--text) 30%, transparent);
  transform: rotate(-1.2deg); transition: transform .8s var(--ease);
}
.doc:hover { transform: rotate(0deg); }
.doc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); border-bottom: 3px solid var(--text); padding-bottom: var(--s2); margin-bottom: 8px; }
.doc__title { font-weight: 800; font-stretch: 62%; font-size: clamp(56px, 6vw, 92px); line-height: .8; text-transform: uppercase; }
.doc__who { text-align: right; font-size: 13px; font-weight: 600; font-stretch: 112%; letter-spacing: .04em; }
.doc__terms > div { display: grid; grid-template-columns: 7em 1fr; gap: var(--s2); padding: 11px 0; border-bottom: 1px solid var(--line); }
.doc__terms dt { font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.doc__terms dd { font-size: 16px; }
.doc__sign { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px; margin-top: var(--s4); font-size: 13px; color: var(--text-2); }
.doc__line { width: 100%; height: 36px; border-bottom: 1px solid var(--text); }
.doc__line path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.6s var(--ease-io) .3s; }
.doc.is-in .doc__line path { stroke-dashoffset: 0; }

/* ---------- SHOTS ---------- */
.shots { background: var(--bg-dark); color: var(--text-on-dark); padding: var(--sec) var(--pad); }
.shots__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s4); align-items: end; margin-bottom: var(--s5); }
.shots__head .h2::after { background: var(--accent-on-dark); }
.shots__head p { color: var(--text-on-dark-2); font-size: 18px; max-width: 42ch; }
.sheet { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.sheet .slot:nth-child(2) { margin-top: 64px; } .sheet .slot:nth-child(4) { margin-top: 32px; } .sheet .slot:nth-child(5) { margin-top: 88px; }
.shots__foot { margin-top: var(--s5); color: var(--text-on-dark-2); }

/* ---------- BOOK ---------- */
.book { background: var(--tint); padding: var(--sec) var(--pad); display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--s6); align-items: start; }
.book__side { position: sticky; top: 100px; display: grid; gap: var(--s3); }
.book__side > p { font-size: 18px; color: var(--text-2); max-width: 40ch; }
.book__steps { display: flex; gap: 6px; margin-top: var(--s2); }
.book__steps li { flex: 1; padding-top: 12px; border-top: 3px solid var(--line-2); font-size: 13px; font-weight: 600; font-stretch: 112%; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); transition: border-color .3s var(--ease), color .3s var(--ease); }
.book__steps li.is-on { border-color: var(--accent-ink); color: var(--text); }
.bk { background: var(--bg); border-radius: var(--r-md); padding: clamp(22px, 3.4vw, 48px); box-shadow: 0 0 0 1px var(--line); min-height: 520px; }
.bk__step { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s3); min-width: 0; }
.bk__step[hidden], .bk__done[hidden], .grp[hidden], .field[hidden] { display: none; }
.bk__legend { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(34px, 3.4vw, 48px); line-height: .95; padding: 0; margin-bottom: var(--s3); }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opt { position: relative; display: grid; gap: 2px; padding: 18px 18px 18px 20px; border: 1px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; transition: border-color .18s var(--ease), background-color .18s var(--ease); }
.opt:last-child { grid-column: 1 / -1; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__n { font-weight: 700; font-size: 19px; }
.opt__d { font-size: 14px; color: var(--text-2); }
.opt:hover { border-color: var(--text); }
.opt:has(input:checked) { border-color: var(--accent-ink); background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent-ink); }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.opt::after { content: ""; position: absolute; right: 16px; top: 18px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-2); }
.opt:has(input:checked)::after { border: 5px solid var(--accent-ink); }
.grp { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: 0 0 64px; scroll-snap-align: start; display: grid; justify-items: center; gap: 0; padding: 10px 0; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; transition: border-color .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease); }
.day:hover { border-color: var(--text); }
.day__w { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.day__d { font-weight: 800; font-stretch: 62%; font-size: 30px; line-height: 1.05; }
.day__m { font-size: 12px; color: var(--text-2); }
.day[aria-checked="true"] { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--bg); }
.day[aria-checked="true"] .day__w, .day[aria-checked="true"] .day__m { color: var(--bg); }
.day:focus-visible { outline-color: var(--text); }
.seg { display: flex; gap: 0; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg label + label { border-left: 1px solid var(--line-2); }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 10px; font-weight: 600; font-size: 15px; text-align: center; transition: background-color .18s var(--ease), color .18s var(--ease); }
.seg label:hover span { background: var(--bg-2); }
.seg input:checked + span { background: var(--text); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: -4px; }
.seg--stack { flex-direction: column; }
.seg--stack label + label { border-left: 0; border-top: 1px solid var(--line-2); }
.seg--stack span { justify-content: flex-start; padding: 0 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; min-height: 44px; padding-top: 4px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent-ink); flex: none; }
.bk__nav { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); }
.bk__done { display: grid; gap: var(--s3); outline: none; }
.bk__ref { font-weight: 600; font-stretch: 112%; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.bk__done-title { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(38px, 4vw, 60px); line-height: .92; }
.bk__done-sub { color: var(--text-2); }
.bk__summary { border-top: 1px solid var(--text); }
.bk__summary > div { display: grid; grid-template-columns: 9em 1fr; gap: var(--s2); padding: 10px 0; border-bottom: 1px solid var(--line); }
.bk__summary dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); padding-top: 2px; }
.bk__summary dd { overflow-wrap: anywhere; }
.bk__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bk__note { font-size: 13px; color: var(--text-2); }
.bk__step.is-enter, .bk__done.is-enter { animation: stepIn .5s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) var(--pad); max-width: 1568px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: var(--s5); }
.faq__list > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s4); padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.faq__list > div:first-child { border-top: 1px solid var(--text); }
.faq__list dt { font-weight: 700; font-size: 19px; line-height: 1.3; }
.faq__list dd { color: var(--text-2); }

/* ---------- FOOTER ---------- */
.ftr { background: var(--bg-dark); color: var(--text-on-dark); padding: var(--s6) var(--pad) 28px; overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); max-width: 1100px; }
.ftr__col { display: grid; align-content: start; gap: 0; }
.ftr__h { font-size: 12px; font-weight: 600; font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-dark-2); margin-bottom: 10px; }
.ftr__col a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 17px; justify-self: start; }
.ftr__col a:not(.ph):hover { color: var(--accent-on-dark); }
.ftr__col p:not(.ftr__h) { color: var(--text-on-dark-2); padding-top: 11px; }
.ftr__mark { font-weight: 900; font-stretch: 62%; font-size: var(--fit, 17vw); line-height: .78; letter-spacing: -.01em; margin: var(--s6) 0 var(--s3); white-space: nowrap; color: var(--text-on-dark); }
.ftr__legal { font-size: 13px; color: var(--text-on-dark-2); }
.ftr :focus-visible { outline-color: var(--accent-on-dark); }

/* ---------- mobile dock ---------- */
.dock { display: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .way__link { grid-template-columns: 56px 1fr 60px; }
  .way__desc { grid-column: 2; grid-row: 2; }
  .way__fg { grid-row: 1 / span 2; grid-column: 3; }
  .sheet { grid-template-columns: repeat(3, 1fr); }
  .sheet .slot { margin-top: 0 !important; }
  .sheet .slot:nth-child(3n+2) { transform: translateY(40px); }
  .academy__body { grid-template-columns: 1fr; }
  .waitlist { grid-column: 1; max-width: 560px; }
}

@media (max-width: 960px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__burger { display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; margin-left: auto; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; z-index: 2; }
  .hdr__burger span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .hdr__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .hdr__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .early__grid, .ways__head, .academy__top, .shots__head, .rider, .book, .events, .faq { grid-template-columns: 1fr; }
  .events__intro, .book__side { position: static; }
  .chairs { grid-template-columns: 1fr; }
  .chair { grid-template-columns: 1fr 1fr; align-items: end; }
  .chair--house .slot { order: 0; }
  .rider { gap: var(--s5); }
  .doc { transform: rotate(-.8deg); }
  .faq { gap: var(--s3); }

  .dock {
    display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    padding: 8px; border-radius: var(--r-md);
    background: color-mix(in oklch, var(--bg-dark) 88%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock .btn { flex: 1; }
  .dock .btn--primary { flex: 2; }
  .dock .btn--ghost { color: var(--text-on-dark); border-color: var(--line-dark); }
  .dock .btn--primary:focus-visible, .dock .btn--ghost:focus-visible { outline-color: var(--text-on-dark); }
  .ftr { padding-bottom: 100px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .hdr { height: 64px; }
  .hdr[data-scrolled="true"] { height: 56px; }
  .hero { height: 210vh; }
  .hero__meta { top: 76px; font-size: 12px; gap: 4px 12px; max-width: 70%; }
  .hero__meta span + span::before { display: none; }
  .hero__meta span:not(:last-child)::after { content: "/"; margin-left: 10px; color: var(--accent); }
  .hero__hint { top: auto; bottom: 214px; left: var(--pad); right: auto; }
  .hero.is-cutting .hero__hint { opacity: 0; }
  .hero__done { top: auto; bottom: 222px; left: var(--pad); right: auto; text-align: left; font-size: clamp(40px, 12vw, 60px); }
  .hero__done br { display: none; }
  .hero__foot { flex-direction: column; align-items: stretch; gap: 18px; bottom: calc(20px + env(safe-area-inset-bottom)); }
  .hero__lede { font-size: 16px; }
  .hero__ctas { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .hero__ctas .btn--ghost { display: none; }
  .hero__guard-num { font-size: 34px; }

  .h2 { font-size: clamp(46px, 13.5vw, 72px); }
  .early__title { font-size: clamp(52px, 15vw, 80px); }
  .early__grid { gap: var(--s4); }
  .early__line { margin-top: var(--s5); }

  .ways__head { margin-bottom: var(--s4); }
  .way { flex-direction: column; }
  .way__link { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 18px 0 8px; }
  .way__g { grid-column: 1; grid-row: 1; font-size: 16px; }
  .way__name { grid-column: 1 / -1; grid-row: 2; font-size: clamp(50px, 15.5vw, 76px); }
  .way__desc { grid-column: 1 / -1; grid-row: 3; font-size: 15px; }
  .way__fg { grid-column: 2; grid-row: 1; height: 22px; }
  .way__fg i { transform: scaleY(1); }
  .way__book { justify-content: flex-start; margin: 0 0 16px; border: 0; min-height: 44px; min-width: 0; align-self: flex-start; padding: 0; text-decoration: underline; text-underline-offset: 5px; }
  .way__book:hover { background: none; color: var(--accent-hover); }
  .way__book::after { content: " →"; white-space: pre; }

  .chair { grid-template-columns: 1fr; padding-block: var(--s5); }
  .chair .slot { width: 100%; }
  .chair--studio .slot { order: 2; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }

  .ros { padding-left: 22px; }
  .ros__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0 20px; }
  .ros__row::before { left: -27px; top: 22px; }
  .ros__t { font-size: 26px; }

  .academy__top { gap: var(--s4); }
  .courses thead { display: none; }
  .courses, .courses tbody, .courses tr { display: block; }
  .courses tr { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--line-2); padding: 16px 0; }
  .courses tr:first-child { border-top: 1px solid var(--text); }
  .courses th, .courses td { border: 0; padding: 4px 0; }
  .courses tbody th { grid-column: 1 / -1; padding-bottom: 10px; }
  .courses td::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
  .courses td:last-child { grid-column: 1 / -1; text-align: left; }
  .courses td:last-child::before { display: none; }
  .waitlist__row { flex-direction: column; }

  .doc { transform: none; padding: 24px 20px; margin-inline: calc(var(--pad) * -.5); }
  .doc:hover { transform: none; }
  .doc__terms > div { grid-template-columns: 1fr; gap: 2px; }
  .doc__who { font-size: 11px; }

  .sheet { grid-template-columns: repeat(6, 72%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); padding-bottom: 8px; scrollbar-width: none; }
  .sheet::-webkit-scrollbar { display: none; }
  .sheet .slot { scroll-snap-align: start; transform: none !important; }

  .book { gap: var(--s4); padding-inline: 12px; }
  .book__side { padding-inline: calc(var(--pad) - 12px); }
  .bk { padding: 22px 18px; }
  .opts { grid-template-columns: 1fr; }
  .opt { padding: 14px 16px; }
  .opt:last-child { grid-column: auto; }
  .row2 { grid-template-columns: 1fr; }
  .bk__nav .btn--primary { flex: 1; margin-left: 12px; }
  .bk__summary > div { grid-template-columns: 1fr; gap: 0; }
  .bk__actions .btn { flex: 1 1 100%; }

  .faq__list > div { grid-template-columns: 1fr; gap: 6px; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .ftr__col:nth-child(2) { grid-row: 2; grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .cut-in { clip-path: none; }
  .rv { opacity: 1; transform: none; }
  .hero { height: 100vh; height: 100svh; }
}
