/* ==========================================================================
   IVAN SUMMER — "The Fade"
   Tokens are law. Cool palette. Radius 0. See DESIGN.md.
   ========================================================================== */

@font-face { font-family: "Big Shoulders"; src: url(fonts/bigshoulders.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JB Mono"; src: url(fonts/jbmono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  /* palette */
  --cape: #E3E6E3;
  --cape-2: #D5DAD7;
  --paper: #EEF0EE;
  --ink: #101312;
  --ink-2: #1B201E;
  --steel: #515956;
  --steel-lit: #9AA39F;
  --barbicide: #0A6792;
  --barbicide-lit: #45C2EE;
  --rule: rgba(16, 19, 18, 0.18);
  --rule-strong: rgba(16, 19, 18, 0.85);
  --rule-inv: rgba(227, 230, 227, 0.2);

  /* type */
  --f-display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --f-text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JB Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* space */
  --g: clamp(20px, 4vw, 64px);
  --sec: clamp(104px, 13vw, 200px);
  --nav-h: 64px;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t-mid: 520ms;
  --t-slow: 900ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--cape);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 96;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ol, ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--barbicide-lit); }
:focus-visible { outline: 2px solid var(--barbicide); outline-offset: 3px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cape); padding: 10px 14px; }
.skip:focus { top: 12px; }

.mono { font-family: var(--f-mono); font-size: 12.5px; line-height: 1.5; letter-spacing: 0.02em; }
.tag { text-transform: uppercase; color: var(--steel); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.tag::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* placeholders: unmistakable */
.ph {
  font-family: var(--f-mono);
  font-size: 0.86em;
  color: var(--barbicide);
  background: #D4DFE2;
  border-bottom: 1px dashed currentColor;
  padding: 0 0.25em;
  white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--ink);
  font-family: var(--f-text); font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color var(--t-mid) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn::after { /* the clipper pass: a fill that sweeps up from the bottom */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--barbicide);
  transform: translateY(101%);
  transition: transform var(--t-mid) var(--ease-out);
}
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: scale(0.98); }
.btn--ink { --bg: var(--ink); --fg: var(--cape); }
.btn--ink:hover { color: var(--paper); }
.btn--line:hover { color: var(--paper); border-color: var(--barbicide); }
.btn--xl { min-height: 60px; padding: 0 30px; font-size: 17px; }
.linkish { background: none; border: 0; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: var(--steel); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 32px;
  padding: 0 var(--g);
  background: var(--cape);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-100%);
  animation: nav-in var(--t-slow) var(--ease-out) 0.15s forwards;
}
@keyframes nav-in { to { transform: none; } }
.nav__mark {
  font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: 0.02em; text-decoration: none; line-height: 1;
}
.nav__mark span { font-weight: 200; }
.nav__meta { margin: 0; color: var(--steel); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-weight: 500; font-size: 15px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t-mid) var(--ease-out); padding: 6px 0; }
.nav__links a:hover { background-size: 100% 1px; }
.nav__cta { min-height: 42px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { padding-top: var(--nav-h); min-height: 100svh; display: flex; flex-direction: column; }
.hero__field {
  position: relative;
  flex: 1 1 auto;
  min-height: 440px;
  touch-action: pan-y;
  cursor: none;
  overflow: hidden;
  background: var(--cape);
}
#hair { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: circle(0% at 50% 40%); transition: clip-path 1.6s var(--ease-out); }
.hero__field.is-grown #hair { clip-path: circle(120% at 50% 40%); }

.guard { position: absolute; top: 0; bottom: 0; right: var(--g); width: 120px; pointer-events: none; }
.guard__t { position: absolute; right: 0; display: flex; align-items: center; gap: 8px; transform: translateY(-50%); font-family: var(--f-mono); font-size: 11px; color: var(--ink); opacity: 0; transition: opacity 600ms var(--ease-out); }
.guard__t::after { content: ""; width: 14px; height: 1px; background: currentColor; }
.guard__t b { background: var(--cape); padding: 1px 5px; font-weight: 500; }
.guard__t.is-on b { background: var(--ink); color: var(--barbicide-lit); }
.guard.is-in .guard__t { opacity: 1; }

.clipper {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none;
  opacity: 0; transition: opacity 200ms var(--ease-out);
  will-change: transform;
}
.clipper.is-on { opacity: 1; }
.clipper__head {
  display: block; width: 64px; height: 18px; margin: -9px 0 0 -32px;
  background:
    repeating-linear-gradient(90deg, var(--paper) 0 2px, transparent 2px 4px) 0 100% / 100% 5px no-repeat,
    var(--ink);
  border-top: 3px solid var(--barbicide-lit);
}
.clipper.is-flip .clipper__read { left: auto; right: 44px; }
.clipper__read {
  position: absolute; left: 44px; top: -12px;
  background: var(--ink); color: var(--barbicide-lit);
  padding: 3px 8px; white-space: nowrap; font-size: 11.5px;
}

.hero__hint {
  position: absolute; left: var(--g); bottom: 22px; z-index: 2; margin: 0;
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--cape); padding: 6px 12px 6px 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out);
}
.hero__hint.is-on { opacity: 1; transform: none; }
.hint__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--barbicide-lit); animation: pulse 1.6s var(--ease-in-out) infinite; }
.hint__touch { display: none; }
@media (hover: none) { .hint__desk { display: none; } .hint__touch { display: inline; } }
@keyframes pulse { 50% { opacity: 0.25; } }
.hero__regrow {
  position: absolute; left: var(--g); top: 18px; z-index: 2;
  background: var(--cape); border: 1px solid var(--ink); padding: 8px 12px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity var(--t-mid) var(--ease-out), background var(--t-fast);
}
.hero__regrow.is-on { opacity: 1; pointer-events: auto; }
.hero__regrow:hover { background: var(--ink); color: var(--cape); }

.hero__band {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 40px;
  align-items: end;
  padding: 28px var(--g) 36px;
  border-top: 1px solid var(--rule-strong);
}
.hero__h1 {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(40px, 4.4vw, 72px); line-height: 0.9; font-weight: 800; letter-spacing: 0.005em;
}
.hero__h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__h1 .line > span { display: block; transform: translateY(105%); animation: line-up 1.1s var(--ease-out) forwards; }
.hero__h1 .line:nth-child(1) > span { animation-delay: 0.35s; font-weight: 250; }
.hero__h1 .line:nth-child(2) > span { animation-delay: 0.47s; }
.hero__h1 em { font-style: normal; color: var(--barbicide); }
@keyframes line-up { to { transform: none; } }
.hero__copy { max-width: 46ch; opacity: 0; animation: fade 1s var(--ease-out) 0.6s forwards; }
.hero__copy p:first-child { font-size: 17px; }
.hero__kicker { color: var(--steel); margin: 0; }
.hero__ctas { display: flex; flex-direction: column; align-items: stretch; gap: 10px; opacity: 0; animation: fade 1s var(--ease-out) 0.75s forwards; }
@keyframes fade { to { opacity: 1; } }

/* ---------- display headings (weight fade) ---------- */
.display {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(60px, 8.6vw, 148px);
  line-height: 0.86; font-weight: 800; letter-spacing: 0.004em;
  text-wrap: balance;
}
.display b { font-weight: 900; }
.fadehead .ln { display: block; }
.fadehead .ch {
  display: inline-block;
  font-weight: 100;
  transition: font-weight 1100ms var(--ease-out), color 1100ms var(--ease-out);
  transition-delay: calc(var(--i) * 18ms);
  color: var(--steel);
}
.fadehead.is-in .ch { font-weight: var(--w); color: var(--ink); }
.fadehead .ln.punch .ch { color: var(--steel); }
.fadehead.is-in .ln.punch .ch { color: var(--barbicide); }

/* ---------- reveal vocab ---------- */
[data-rv] { transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), clip-path 1.2s var(--ease-out); }
[data-rv="left"] { opacity: 0; transform: translateX(-18px); }
[data-rv="mask"] { clip-path: inset(0 0 100% 0); }
[data-rv="rise"] { opacity: 0; transform: translateY(14px); }
[data-rv].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* ---------- honest ---------- */
.honest {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px);
  padding: var(--sec) var(--g);
}
.honest__head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.honest__head .display { font-size: clamp(60px, 7.4vw, 128px); }
.honest__body { padding-top: 56px; }
.lede { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; font-weight: 450; letter-spacing: -0.005em; max-width: 30ch; margin-bottom: 28px; }
.honest__body > p:not(.lede) { max-width: 52ch; color: var(--steel); }

.slots { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 20px; margin-top: 64px; }
.slot { margin: 0; }
.slot--tall { grid-row: span 2; }
.slot__frame {
  position: relative;
  background:
    repeating-linear-gradient(-58deg, rgba(16,19,18,0.07) 0 1px, transparent 1px 9px),
    var(--cape-2);
  overflow: hidden;
}
.slot--tall .slot__frame { aspect-ratio: 4 / 5; }
.slot--wide .slot__frame { aspect-ratio: 3 / 2; }
.slot--sq .slot__frame { aspect-ratio: 1 / 1; width: 72%; }
.slot__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot__crop, .slot__frame::before, .slot__frame::after { position: absolute; width: 22px; height: 22px; border: 0 solid var(--ink); }
.slot__frame::before { content: ""; left: 12px; top: 12px; border-width: 1px 0 0 1px; }
.slot__frame::after { content: ""; right: 12px; bottom: 12px; border-width: 0 1px 1px 0; }
.slot__crop { right: 12px; top: 12px; border-width: 1px 1px 0 0; }
.slot__id { position: absolute; left: 18px; bottom: 6px; font-family: var(--f-display); font-weight: 100; font-size: clamp(64px, 8vw, 132px); line-height: 1; color: var(--ink); opacity: 0.55; }
.slot__ratio { position: absolute; right: 16px; bottom: 16px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; color: var(--steel); }
.slot__frame:has(img) .slot__id, .slot__frame:has(img) .slot__ratio { display: none; }
.slot figcaption { margin-top: 12px; color: var(--steel); max-width: 44ch; font-size: 11.5px; }
.slot figcaption b { color: var(--ink); font-weight: 500; }
.slot figcaption i { font-style: normal; color: var(--barbicide); }

/* ---------- sec head ---------- */
.sec-head { display: grid; grid-template-columns: 8fr 4fr; align-items: end; gap: 40px; margin-bottom: 72px; }
.sec-head .tag { grid-column: 1 / -1; margin-bottom: 0; }
.sec-head__aside { color: var(--steel); max-width: 34ch; margin: 0; }

/* ---------- formats: ruled rows ---------- */
.formats { padding: 0 var(--g) var(--sec); }
.rows { border-top: 1px solid var(--rule-strong); counter-reset: none; }
.row { border-bottom: 1px solid var(--rule-strong); }
.row__top {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 220px 1fr minmax(220px, 300px) 48px; align-items: center; gap: 24px;
  padding: 22px 0 18px;
  transition: padding var(--t-mid) var(--ease-out);
}
.row__tag { color: var(--steel); text-transform: uppercase; }
.row__title {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(52px, 7.2vw, 124px); line-height: 0.86; font-weight: 800;
  transition: font-weight 700ms var(--ease-out), letter-spacing 700ms var(--ease-out), color 400ms;
}
.row__sum { color: var(--steel); font-size: 16px; line-height: 1.4; }
.row__x { position: relative; width: 48px; height: 48px; border: 1px solid var(--ink); transition: background var(--t-fast), transform var(--t-mid) var(--ease-out); }
.row__x::before, .row__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.row__x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--t-mid) var(--ease-out); }
@media (hover: hover) {
  .row__top:hover .row__title { font-weight: 150; letter-spacing: 0.02em; }
  .row__top:hover .row__x { background: var(--ink); color: var(--cape); }
}
.row.is-open .row__title { font-weight: 150; color: var(--barbicide); letter-spacing: 0.02em; }
.row.is-open .row__x { background: var(--ink); color: var(--cape); }
.row.is-open .row__x::after { transform: translate(-50%, -50%) rotate(0deg); }
.row__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 700ms var(--ease-out); }
.row.is-open .row__panel { grid-template-rows: 1fr; }
.row__inner { overflow: hidden; display: grid; grid-template-columns: 220px minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.row__inner > p { grid-column: 2; max-width: 46ch; margin: 8px 0 36px; font-size: 18px; }
.row__inner .specs { grid-column: 3; margin: 8px 0 36px; }
.row__inner .btn { grid-column: 4; margin: 8px 0 36px; }
.specs { display: grid; gap: 0; }
.specs div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); }
.specs dt { color: var(--steel); text-transform: uppercase; }
.specs dd { margin: 0; }

/* ---------- origin band ---------- */
.origin { background: var(--ink); color: var(--cape); padding: var(--sec) var(--g); position: relative; overflow: hidden; }
.origin__route { position: absolute; left: var(--g); right: var(--g); top: calc(var(--sec) + clamp(26px, 3vw, 44px)); height: 40px; }
.origin__line { width: 100%; height: 40px; }
.origin__line path { fill: none; stroke: var(--barbicide-lit); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - var(--p, 0) * 1000); }
.origin__stops { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.origin__stops li { display: flex; flex-direction: column; gap: 60px; }
.origin__stops li::before { content: ""; order: 1; width: 13px; height: 13px; background: var(--ink); border: 2px solid var(--barbicide-lit); margin-top: -46px; }
.origin__stops .mono { order: 0; color: var(--steel-lit); text-transform: uppercase; }
.origin__stops b {
  order: 2; font-family: var(--f-display); text-transform: uppercase; line-height: 0.84;
  font-size: clamp(64px, 11.5vw, 200px); letter-spacing: 0.005em; margin-top: -30px;
}
.origin__stops li:nth-child(1) b { font-weight: 200; }
.origin__stops li:nth-child(2) b { font-weight: 500; }
.origin__stops li:nth-child(3) b { font-weight: 900; color: var(--barbicide-lit); }
.origin__copy { margin: 72px 0 0 auto; max-width: 44ch; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.4; color: var(--cape); }

/* ---------- academy ---------- */
.academy { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); padding: var(--sec) var(--g); }
.academy__side { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.academy__side > p { color: var(--steel); max-width: 40ch; margin-top: 32px; }
.ladder { border-top: 1px solid var(--rule-strong); margin-top: 8px; }
.ladder li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 32px 0 36px; border-bottom: 1px solid var(--rule-strong); }
.ladder__g { position: relative; font-size: 20px; font-weight: 500; display: flex; flex-direction: column; gap: 6px; }
.ladder__g small { font-size: 11.5px; color: var(--steel); text-transform: uppercase; }
.ladder__g::after { /* strand length ∝ guard */
  content: ""; width: 3px; height: calc(8px + var(--len, 0) * 3px); background: var(--ink); margin-top: 8px;
  transform-origin: top; transform: scaleY(0); transition: transform 1s var(--ease-out) 0.2s;
}
.ladder li.is-in .ladder__g::after { transform: scaleY(1); }
.ladder h3 { font-family: var(--f-display); text-transform: uppercase; font-weight: 700; font-size: clamp(36px, 3.6vw, 56px); line-height: 0.9; margin-bottom: 12px; }
.ladder p { margin: 0; color: var(--steel); max-width: 48ch; }

.wait { margin-top: 44px; max-width: 460px; }
.wait fieldset { border: 0; padding: 24px; margin: 0; background: var(--paper); border-top: 3px solid var(--ink); }
.wait legend { float: left; width: 100%; padding: 0; margin-bottom: 16px; text-transform: uppercase; }
.wait .btn { width: 100%; margin-top: 8px; }
.wait__done { margin: 16px 0 0; color: var(--barbicide); }

/* ---------- form atoms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--cape); border: 1px solid var(--rule-strong); border-radius: 0;
  font-size: 16px; appearance: none; -webkit-appearance: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--barbicide); box-shadow: inset 0 -3px 0 var(--barbicide); }
.field.is-bad input { border-color: #A12A1E; box-shadow: inset 0 -3px 0 #A12A1E; }
.err { color: #A12A1E; margin: 0; min-height: 0; }
.err:empty { display: none; }
.note { color: var(--steel); margin: 12px 0 0; }

.seg { display: flex; margin: 0 0 14px; border: 1px solid var(--ink); }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 10px; font-weight: 600; font-size: 14px; border-left: 1px solid var(--ink); transition: background var(--t-fast), color var(--t-fast); }
.seg label:first-child span { border-left: 0; }
.seg input:checked + span { background: var(--ink); color: var(--cape); }
.seg input:focus-visible + span { outline: 2px solid var(--barbicide); outline-offset: -4px; }
.seg--wide { margin-top: 20px; }

/* ---------- guest rider ---------- */
.guest { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); padding: 0 var(--g) var(--sec); align-items: start; }
.guest .display { font-size: clamp(56px, 6.2vw, 108px); }
.guest__intro > p { color: var(--steel); max-width: 40ch; margin: 32px 0 32px; }
.rider {
  background: var(--paper);
  padding: clamp(24px, 3vw, 48px);
  transform: rotate(-1.2deg);
  box-shadow: 0 1px 0 var(--rule), 0 30px 60px -30px rgba(16, 19, 18, 0.35);
  transition: transform 1.2s var(--ease-out);
}
.rider.is-in { transform: rotate(-0.6deg); }
.rider__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; text-transform: uppercase; padding-bottom: 16px; border-bottom: 3px solid var(--ink); }
.rider__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.rider__list li > .mono { color: var(--barbicide); padding-top: 4px; }
.rider__list h3 { font-weight: 700; font-size: 19px; margin-bottom: 4px; }
.rider__list p { margin: 0; color: var(--steel); }
.rider__foot { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 24px; text-transform: uppercase; color: var(--steel); }
.rider__sig { font-family: var(--f-display); text-transform: none; font-weight: 200; font-size: 44px; color: var(--ink); transform: skewX(-14deg); letter-spacing: -0.01em; line-height: 1; border-bottom: 1px solid var(--ink); padding: 0 12px 4px; }

/* ---------- book ---------- */
.book { padding: var(--sec) var(--g); background: var(--cape-2); }
.book__head { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.book__head .tag { grid-column: 1 / -1; margin-bottom: 0; }
.book__head > p:last-child { color: var(--steel); max-width: 34ch; margin: 0; }
.book__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: start; }

.bk { background: var(--paper); padding: clamp(20px, 3vw, 44px); border-top: 3px solid var(--ink); }
.bk__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 36px; text-transform: uppercase; }
.bk__steps li { padding-top: 10px; border-top: 3px solid var(--rule); color: var(--steel); transition: border-color var(--t-mid), color var(--t-mid); }
.bk__steps li.is-on { border-color: var(--ink); color: var(--ink); }
.bk__steps li.is-done { border-color: var(--barbicide); color: var(--barbicide); }
.bk__step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.bk__step.is-on { display: block; animation: step-in 600ms var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }
.bk__legend { font-family: var(--f-display); text-transform: uppercase; font-weight: 700; font-size: clamp(36px, 3.4vw, 52px); line-height: 0.9; margin-bottom: 24px; padding: 0; }

.pick { display: grid; border-top: 1px solid var(--rule-strong); }
.pick label { position: relative; display: block; border-bottom: 1px solid var(--rule-strong); cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 14px 12px; transition: background var(--t-fast), color var(--t-fast), padding var(--t-mid) var(--ease-out); }
.pick b { font-family: var(--f-display); text-transform: uppercase; font-weight: 700; font-size: 32px; line-height: 1; }
.pick i { font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--steel); text-transform: uppercase; }
.pick label:hover span { padding-left: 22px; }
.pick input:checked + span { background: var(--ink); color: var(--cape); padding-left: 22px; }
.pick input:checked + span i { color: var(--barbicide-lit); }
.pick input:focus-visible + span { outline: 2px solid var(--barbicide); outline-offset: -3px; }

.cal { border: 1px solid var(--rule-strong); }
.cal__bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule-strong); }
.cal__nav { width: 52px; height: 48px; background: none; border: 0; cursor: pointer; font-size: 18px; }
.cal__nav:hover:not(:disabled) { background: var(--ink); color: var(--cape); }
.cal__nav:disabled { opacity: 0.25; cursor: default; }
.cal__month { margin: 0; text-transform: uppercase; font-size: 13px; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__dow span { text-align: center; padding: 8px 0; color: var(--steel); font-size: 11px; }
.cal__grid button {
  aspect-ratio: 1.25; min-height: 44px; background: none; border: 0; border-top: 1px solid var(--rule); cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: 22px; position: relative;
  transition: background var(--t-fast), color var(--t-fast);
}
.cal__grid button:hover:not(:disabled) { background: var(--cape-2); }
.cal__grid button:disabled { color: rgba(16, 19, 18, 0.25); cursor: default; }
.cal__grid button.is-today::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; background: var(--barbicide); transform: translateX(-50%); }
.cal__grid button[aria-pressed="true"] { background: var(--ink); color: var(--cape); }
.cal__grid .pad { border-top: 1px solid var(--rule); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field--full { grid-column: 1 / -1; }
.bk__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }
.bk__nav #bkNext { margin-left: auto; }

[data-only][hidden] { display: none !important; }

/* ticket */
.ticket-wrap { position: sticky; top: calc(var(--nav-h) + 32px); }
.slotline { height: 12px; background: var(--ink); position: relative; z-index: 2; }
.ticket-wrap .ticket { margin: 0 14px; }
.ticket {
  position: relative; background: var(--paper); padding: 28px 24px 40px;
  clip-path: inset(0 0 0 0);
  box-shadow: 0 30px 50px -34px rgba(16, 19, 18, 0.5);
}
.ticket.is-printing { animation: print 1.4s steps(14, end); }
@keyframes print { from { transform: translateY(-100%); } }
.ticket__top { display: flex; justify-content: space-between; gap: 12px; text-transform: uppercase; color: var(--steel); padding-bottom: 14px; border-bottom: 1px dashed var(--rule-strong); }
.ticket__fmt { font-family: var(--f-display); text-transform: uppercase; font-weight: 800; font-size: clamp(48px, 5vw, 76px); line-height: 0.88; margin: 22px 0 18px; overflow-wrap: anywhere; }
.ticket__rows div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule); }
.ticket__rows dt { color: var(--steel); text-transform: uppercase; }
.ticket__rows dd { margin: 0; overflow-wrap: anywhere; }
.ticket__status { margin-top: 18px; padding: 10px 12px; border: 1px dashed var(--rule-strong); text-transform: uppercase; }
.ticket.is-done .ticket__status { background: var(--ink); color: var(--barbicide-lit); border-style: solid; border-color: var(--ink); }
.ticket__teeth { position: absolute; left: 0; right: 0; bottom: -1px; height: 12px; background: radial-gradient(circle at 8px 12px, var(--cape-2) 6px, transparent 6.5px) 0 0 / 16px 12px repeat-x; }
.ticket__actions { display: flex; flex-direction: column; gap: 10px; margin: 24px 14px 0; }
.ticket__msg { color: var(--barbicide); margin: 0 0 4px; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); padding: var(--sec) var(--g); }
.faq .display { font-size: clamp(56px, 6.4vw, 110px); }
.faq__list { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; transition: padding var(--t-mid) var(--ease-out); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 22px; transition: transform var(--t-mid) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { padding-left: 10px; }
.faq details p { color: var(--steel); max-width: 56ch; padding-bottom: 24px; margin: 0; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--cape); padding: clamp(80px, 10vw, 150px) var(--g) 40px; overflow: hidden; }
.foot__cta { margin: 0 0 32px; }
.foot__cta a { font-family: var(--f-text); font-size: clamp(26px, 3.4vw, 48px); font-weight: 300; text-decoration: none; color: var(--barbicide-lit); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size var(--t-mid) var(--ease-out), font-weight var(--t-mid) var(--ease-out); }
.foot__cta a:hover { background-size: 100% 2px; font-weight: 600; }
.foot__word { display: flex; justify-content: space-between; margin: 0 -0.02em; font-family: var(--f-display); font-size: 29.5vw; line-height: 0.78; letter-spacing: 0; }
.foot__word span:nth-child(1) { font-weight: 900; }
.foot__word span:nth-child(2) { font-weight: 740; }
.foot__word span:nth-child(3) { font-weight: 580; }
.foot__word span:nth-child(4) { font-weight: 420; }
.foot__word span:nth-child(5) { font-weight: 260; }
.foot__word span:nth-child(6) { font-weight: 100; }
.foot__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule-inv); color: var(--steel-lit); }
.foot__meta p { margin: 0; }
.foot .ph { color: var(--barbicide-lit); background: #16282F; }

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

/* ==========================================================================
   TABLET
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__meta { display: none; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__links { justify-content: flex-end; }
  .hero__band { grid-template-columns: 1fr 1fr; }
  .hero__ctas { grid-column: 1 / -1; flex-direction: row; }
  .row__top { grid-template-columns: 170px 1fr 48px; }
  .row__sum { display: none; }
  .row__inner { grid-template-columns: 170px 1fr; }
  .row__inner > p, .row__inner .specs, .row__inner .btn { grid-column: 2; margin-bottom: 0; }
  .row__inner .btn { justify-self: start; margin-bottom: 32px; }
}

/* ==========================================================================
   PHONE — designed, not collapsed
   ========================================================================== */
@media (max-width: 760px) {
  :root { --nav-h: 56px; --sec: 96px; }
  body { font-size: 16px; }
  .nav { grid-template-columns: 1fr auto; gap: 12px; }
  .nav__links { display: none; }
  .nav__cta { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .nav__mark { font-size: 22px; }

  .hero { min-height: 0; }
  .hero__field { flex: none; height: 66svh; min-height: 400px; }
  .guard { width: 80px; right: 12px; }
  .guard__t { font-size: 10px; }
  .guard__t:nth-child(even) { display: none; }
  .hero__band { grid-template-columns: 1fr; gap: 20px; padding: 22px var(--g) 32px; }
  .hero__h1 { font-size: 44px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn--line { display: none; }
  .hero__hint { left: 12px; bottom: 12px; }
  .hero__regrow { left: 12px; top: 12px; }

  .honest { grid-template-columns: 1fr; gap: 0; }
  .honest__head { position: static; }
  .honest__head .display { font-size: clamp(56px, 17vw, 84px); }
  .honest__body { padding-top: 36px; }
  .slots { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 44px calc(-1 * var(--g)) 0; padding: 0 var(--g) 8px; scrollbar-width: none; }
  .slots::-webkit-scrollbar { display: none; }
  .slot { flex: 0 0 78%; scroll-snap-align: start; }
  .slot--sq .slot__frame { width: 100%; }
  .slot--tall .slot__frame, .slot--wide .slot__frame, .slot--sq .slot__frame { aspect-ratio: 4 / 5; }

  .display { font-size: clamp(54px, 16vw, 84px); }
  .sec-head, .book__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }

  .row__top { grid-template-columns: 1fr 44px; grid-template-areas: "tag x" "title title" "sum sum"; gap: 8px 12px; padding: 18px 0 20px; }
  .row__tag { grid-area: tag; }
  .row__title { grid-area: title; font-size: clamp(50px, 15vw, 76px); }
  .row__sum { grid-area: sum; display: block; font-size: 15px; }
  .row__x { grid-area: x; width: 44px; height: 44px; justify-self: end; }
  .row__inner { grid-template-columns: 1fr; gap: 16px; }
  .row__inner > p, .row__inner .specs, .row__inner .btn { grid-column: 1; margin: 0; }
  .row__inner .btn { justify-self: stretch; margin-bottom: 28px; }

  .origin__route { display: none; }
  .origin__stops { grid-template-columns: 1fr; gap: 28px; border-left: 2px solid var(--barbicide-lit); padding-left: 18px; }
  .origin__stops li { gap: 4px; }
  .origin__stops li::before { display: none; }
  .origin__stops b { margin: 0; font-size: 22vw; }
  .origin__copy { margin-top: 48px; }

  .academy, .guest, .faq { grid-template-columns: 1fr; gap: 48px; }
  .academy__side { position: static; }
  .ladder li { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .ladder__g { flex-direction: row; align-items: baseline; gap: 12px; }
  .ladder__g::after { display: none; }
  .wait fieldset { padding: 18px; }

  .rider { transform: rotate(-0.8deg); margin: 0 -6px; }
  .rider.is-in { transform: rotate(-0.4deg); }
  .rider__sig { font-size: 34px; }

  .book__grid { grid-template-columns: 1fr; }
  .bk { margin: 0 calc(-1 * var(--g)); padding: 22px var(--g) 28px; }
  .fields { grid-template-columns: 1fr; }
  .pick b { font-size: 28px; }
  .cal__grid button { font-size: 20px; aspect-ratio: auto; height: 46px; }
  .bk__nav { position: sticky; bottom: 0; background: var(--paper); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin-top: 24px; border-top: 1px solid var(--rule); z-index: 3; }
  .bk__nav #bkNext { flex: 1; }
  .ticket-wrap { position: static; }
  .ticket__fmt { font-size: 56px; }

  .faq summary { font-size: 18px; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .foot__meta { grid-template-columns: 1fr; }

  .dock {
    display: grid; grid-template-columns: auto 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--cape); border-top: 1px solid var(--rule-strong);
    transform: translateY(110%); transition: transform var(--t-mid) var(--ease-out);
  }
  .dock.is-on { transform: none; }
  .dock__alt { display: flex; align-items: center; padding: 0 16px; font-weight: 600; text-decoration: none; border: 1px solid var(--ink); min-height: 50px; }
  .dock__main { min-height: 50px; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
  .hint__dot { animation: none; }
}
