/* ─────────────────────────────────────────────────────────────
   FORGE — site kit (v2).

   The identity in one line: the night of the race, and the paper of the training log.
   · Ink (#07090B) is FORGE Ride: the game, the evening ride, the effort.
   · Paper (#F3F6F2, the app's own page colour) is the app: the plan, the food, the progress.
   · Two products, told apart by their ground: FORGE Ride lives on ink with the Ride gradient
     (pink → orange); the app lives on paper with the app's own solid pink (--lime, kept as a name).
   · The motif is the SKEW: the game's HUD is built from slanted bands, so the highlighter, chips,
     underlines and rails on this site lean the same way (-12°).
   · Type: Archivo, tight and semi-condensed, for titles, with the payoff line in Instrument Serif
     italic; Geist Mono for labels and any number that is data.
   Every page shares this kit (header, hero, section head, reveals, footer); each page adds one scene.
   ───────────────────────────────────────────────────────────── */
:root {
  --ink: #07090b; --ink-2: #0d1116; --ink-3: #151b22;
  --paper: #f3f6f2; --paper-2: #e3e9e2; --white: #ffffff;
  --on-ink: #f3f1ea; --on-ink-2: rgba(243, 241, 234, .68); --on-ink-3: rgba(243, 241, 234, .44); --ink-line: rgba(243, 241, 234, .13);
  --on-paper: #0b120e; --on-paper-2: rgba(11, 18, 14, .66); --on-paper-3: rgba(11, 18, 14, .46); --paper-line: rgba(11, 18, 14, .12);
  --pink: #ff2e78; --orange: #ff5a3c; --ride: linear-gradient(100deg, #ff2e78, #ff5a3c);
  --pink-ink: #d4145c;
  --lime: #ff2e78; --lime-ink: #d4145c; /* the app's own pink (--volt in the app); the name stays so the pages need no edit */
  --gold: #f5b722;
  --display: "Archivo", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1440px; --gutter: clamp(20px, 3.4vw, 48px);
  --pad: clamp(88px, 13vh, 150px); --r: 22px; --r-lg: 28px;
  --skew: -12deg;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ink); color: var(--on-ink); font-family: var(--display); font-size: 17px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; font-variation-settings: "wdth" 96; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, h5 { text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 999; background: var(--on-ink); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── surfaces ─────────────────────────────────────────── */
.s-ink { background: var(--ink); color: var(--on-ink); }
.s-ink-2 { background: var(--ink-2); color: var(--on-ink); }
.s-paper { background: var(--paper); color: var(--on-paper); color-scheme: light; }
.s-white { background: var(--white); color: var(--on-paper); color-scheme: light; }
.s-ride { background: var(--ride); color: #fff; }
.s-lime { background: var(--lime); color: #fff; }
.s-paper, .s-white, .s-lime { --line: var(--paper-line); --mute: var(--on-paper-2); --faint: var(--on-paper-3); --accent-ink: var(--lime-ink); }
.s-ink, .s-ink-2, .s-ride { --line: var(--ink-line); --mute: var(--on-ink-2); --faint: var(--on-ink-3); --accent-ink: var(--lime); }
.s-lime, .s-ride { --mute: rgba(255, 255, 255, .84); --faint: rgba(255, 255, 255, .64); --line: rgba(255, 255, 255, .28); }
body { --line: var(--ink-line); --mute: var(--on-ink-2); --faint: var(--on-ink-3); }

/* ── layout ───────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { position: relative; overflow: clip; }
.sec > .wrap { position: relative; z-index: 1; padding-top: var(--pad); padding-bottom: var(--pad); }
.sec--tight > .wrap { padding-top: 8vh; padding-bottom: 8vh; }
.sec-head { display: grid; gap: 26px; align-items: end; margin-bottom: clamp(44px, 8vh, 92px); }
@media (min-width: 1000px) { .sec-head { grid-template-columns: minmax(0, 1fr) 420px; gap: 60px; } }
.sec-head__main { display: grid; gap: 24px; }
.sec-head__aside { display: grid; gap: 22px; justify-items: start; }
.sec-head__aside p { color: var(--mute); }
.grid-2 { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.stack { display: grid; gap: 22px; justify-items: start; align-content: start; }

/* ── type ─────────────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.eyebrow::before { content: ""; width: 40px; height: 2px; background: currentColor; transform-origin: left; transform: skewX(var(--skew)) scaleX(var(--rule, 1)); transition: transform 1.2s var(--ease) .1s; }
.eyebrow--ride::before { background: var(--ride); }
.eyebrow--app::before { background: var(--lime); }
.s-paper .eyebrow--app::before, .s-white .eyebrow--app::before { background: var(--lime-ink); }
.js .eyebrow[data-reveal]:not(.is-in) { --rule: 0; }
.h-hero, .h-1, .h-2, .h-3 { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 86; }
.h-hero { font-size: clamp(48px, min(8vw, 13.5vh), 150px); letter-spacing: -.05em; line-height: .92; }
.h-1 { font-size: clamp(42px, 5.8vw, 100px); letter-spacing: -.047em; line-height: .94; }
.h-2 { font-size: clamp(34px, 3.8vw, 64px); letter-spacing: -.042em; line-height: .98; }
.h-3 { font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -.025em; line-height: 1.12; }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; font-size: 1.08em; font-variation-settings: normal; }
/* The highlighter: a slanted band swept in behind the payoff word (the game's HUD shape). */
.mark { position: relative; display: inline-block; z-index: 0; padding: 0 .12em; margin: 0 -.04em; }
.mark::before { content: ""; position: absolute; left: 0; right: 0; top: .16em; bottom: .04em; background: var(--ride); transform: skewX(var(--skew)) scaleX(var(--sweep, 1)); transform-origin: left; z-index: -1; transition: transform .9s var(--ease) .5s; border-radius: 4px; }
.mark--app::before { background: var(--lime); }
.mark--app { color: #fff; }
/* White text sits on the band: it reaches below the baseline so descenders (y, g, p) stay on pink. */
.mark--app::before, .mark--ride::before { top: .04em; bottom: -.1em; }
.mark--ride { color: #fff; }
.js [data-reveal] .mark, .js .mark[data-reveal] { --sweep: 0; }
.js .is-in .mark, .js .mark.is-in { --sweep: 1; }
.lead { font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.6; color: var(--mute); max-width: 560px; }
.mute { color: var(--mute); } .faint { color: var(--faint); }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.num { font-family: var(--display); font-weight: 700; letter-spacing: -.05em; font-variant-numeric: tabular-nums; line-height: .9; font-variation-settings: "wdth" 86; }
.idx { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; color: var(--faint); transition: color .5s var(--ease); }
.is-active .idx, .idx.is-on { color: var(--pink); }
.s-paper .is-active .idx, .s-white .is-active .idx { color: var(--lime-ink); }
.grad { background: var(--ride); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Line-mask reveal: each .ln is a line whose inner span rises into place. */
.ln { display: block; overflow: hidden; padding: .08em 0 .16em; margin: -.08em 0 -.16em; }
.ln > span { display: inline-block; }
.js [data-reveal].lines .ln > span { transform: translateY(118%); transition: transform 1.15s var(--ease); }
.js [data-reveal].lines.is-in .ln > span { transform: none; }
.js .lines.is-in .ln:nth-child(2) > span { transition-delay: .08s; }
.js .lines.is-in .ln:nth-child(3) > span { transition-delay: .16s; }
.js .lines.is-in .ln:nth-child(4) > span { transition-delay: .24s; }
/* First-paint titles (heroes) animate on load without waiting for scroll. */
.fp .ln > span { animation: fp-rise 1.2s var(--ease) both .1s; }
.fp .ln:nth-child(2) > span { animation-delay: .18s; } .fp .ln:nth-child(3) > span { animation-delay: .26s; } .fp .ln:nth-child(4) > span { animation-delay: .34s; }
@keyframes fp-rise { from { transform: translateY(118%); } to { transform: none; } }
.fp .mark::before { animation: fp-sweep .9s var(--ease) both .75s; }
@keyframes fp-sweep { from { transform: skewX(var(--skew)) scaleX(0); } to { transform: skewX(var(--skew)) scaleX(1); } }
.fp-in { animation: fp-fade 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms + 450ms); }
@keyframes fp-fade { from { opacity: .001; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Rise (blocks) */
.js [data-reveal].rise { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].rise.is-in { opacity: 1; transform: none; }
/* Image clip reveal that keeps its radius */
.clip { border-radius: var(--r-lg); overflow: hidden; }
.js [data-reveal].clip { clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.3s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].clip.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js [data-reveal].clip img { transform: scale(1.2); transition: transform 1.9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].clip.is-in img { transform: scale(1); }

/* ── buttons ──────────────────────────────────────────── */
.btn { --h: 56px; position: relative; display: inline-flex; align-items: center; gap: 14px; height: var(--h); padding: 0 8px 0 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn__l { position: relative; display: block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.btn__l > span { display: block; transition: transform .6s var(--ease); }
.btn__l > span + span { position: absolute; top: 100%; left: 0; }
.btn:hover .btn__l > span { transform: translateY(-100%); }
.knob { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .6s var(--ease); }
.knob svg { width: 17px; height: 17px; }
.btn:hover .knob { transform: rotate(-45deg); }
.btn--ride { background: var(--ride); color: #fff; box-shadow: 0 18px 44px -18px rgba(255, 46, 120, .75); }
.btn--ride .knob { background: #fff; color: var(--pink); }
.btn--app { background: var(--lime); color: #fff; box-shadow: 0 18px 40px -18px rgba(255, 46, 120, .7); }
.btn--app .knob { background: #fff; color: var(--lime); }
.btn--dark { background: var(--on-paper); color: var(--paper); }
.btn--dark .knob { background: var(--lime); color: #fff; }
.btn--light { background: #fff; color: var(--on-paper); }
.btn--light .knob { background: var(--ink); color: #fff; }
.btn--line { border: 1px solid var(--line); color: inherit; padding: 0 26px; background: transparent; }
.btn--line:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.btn--sm { --h: 46px; font-size: 14.5px; padding-left: 20px; }
.btn--sm.btn--line { padding: 0 20px; }
.btn--sm .knob { width: 32px; height: 32px; }
.tlink { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding: 4px 0; }
.tlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* skew chip (the HUD tag) */
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; position: relative; z-index: 0; color: #fff; white-space: nowrap; }
.chip::before { content: ""; position: absolute; inset: 0; background: var(--ride); transform: skewX(var(--skew)); z-index: -1; border-radius: 4px; }
.chip--app { color: #fff; } .chip--app::before { background: var(--lime); }
.chip--line { color: inherit; } .chip--line::before { background: transparent; border: 1px solid var(--line); }
.chip--glass { color: var(--on-ink); } .chip--glass::before { background: rgba(7, 9, 11, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--ink-line); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(255, 46, 120, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(255, 46, 120, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 120, 0); } }

/* ── header ───────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 80; transition: background-color .45s var(--ease), border-color .45s, padding .45s var(--ease), transform .6s var(--ease), color .45s; border-bottom: 1px solid transparent; padding: 18px 0; color: var(--on-ink); }
.hdr.is-solid { background: rgba(7, 9, 11, .8); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--ink-line); padding: 10px 0; }
body[data-hero="light"] .hdr:not(.is-solid) { color: var(--on-paper); }
.hdr.is-hidden { transform: translateY(-110%); }
.menu-open .hdr { transform: none; background: transparent; border-color: transparent; color: var(--on-ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr__in { display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.04em; font-variation-settings: "wdth" 112; position: relative; z-index: 2; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand .brand__logo { width: auto; height: 24px; }
.ftr .brand .brand__logo { height: 34px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; font-size: 14.5px; font-weight: 500; opacity: .74; transition: opacity .3s; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ride); transform: skewX(var(--skew)) scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: skewX(var(--skew)) scaleX(1); }
.hdr__tools { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; font-family: var(--mono); font-size: 11px; border-color: color-mix(in srgb, currentColor 22%, transparent); }
.lang button { padding: 6px 10px; border-radius: 999px; opacity: .6; letter-spacing: .08em; transition: opacity .3s, background-color .3s, color .3s; }
.lang button[aria-pressed="true"] { background: var(--on-ink); color: var(--ink); opacity: 1; }
body[data-hero="light"] .hdr:not(.is-solid) .lang button[aria-pressed="true"] { background: var(--on-paper); color: var(--paper); }
.menu-open .lang button[aria-pressed="true"] { background: var(--on-ink) !important; color: var(--ink) !important; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger i:nth-child(1) { top: 18px; } .burger i:nth-child(2) { top: 26px; }
.menu-open .burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 70; background: var(--ink); color: var(--on-ink); padding: 104px var(--gutter) 32px; display: flex; flex-direction: column; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s; overflow-y: auto; }
.menu-open .drawer { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease); }
.drawer a.dl { display: flex; align-items: baseline; gap: 16px; font-size: clamp(34px, 9vw, 48px); font-weight: 700; letter-spacing: -.045em; font-variation-settings: "wdth" 86; padding: 12px 0; border-bottom: 1px solid var(--ink-line); transform: translateY(20px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.menu-open .drawer a.dl { transform: none; opacity: 1; }
.drawer a.dl .idx { font-size: 22px; min-width: 32px; }
.drawer .btn { margin-top: 30px; align-self: flex-start; }
@media (max-width: 1100px) { .nav { display: none; } .burger { display: block; } .hdr__tools { margin-left: auto; } .hdr__tools .btn { display: none; } }

/* ── home hero ────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-on { opacity: 1; }
.hero__slide.is-on img { animation: breathe 9s linear both; }
@keyframes breathe { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 9, 11, .9) 0%, rgba(7, 9, 11, .5) 48%, rgba(7, 9, 11, .05) 100%), linear-gradient(180deg, rgba(7, 9, 11, .6) 0%, transparent 24%, transparent 62%, var(--ink) 100%); }
@media (max-width: 800px) { .hero::before { background: linear-gradient(180deg, rgba(7, 9, 11, .55), rgba(7, 9, 11, .45) 35%, rgba(7, 9, 11, .88) 70%, var(--ink)); } }
.hero__in { width: 100%; padding-top: 150px; padding-bottom: clamp(36px, 7vh, 84px); display: grid; gap: 40px; }
@media (min-width: 1100px) { .hero__in { grid-template-columns: minmax(0, 1fr) 380px; align-items: end; } }
.hero__copy { display: grid; gap: 28px; justify-items: start; max-width: 920px; }
.hero__note { font-size: 13.5px; color: var(--on-ink-3); }
.glass { position: relative; border-radius: var(--r); background: rgba(7, 9, 11, .45); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid var(--ink-line); overflow: hidden; }
.glass::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--ride); transform-origin: left; animation: rule-in 1.6s var(--ease) 1s both; }
@keyframes rule-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.stats > div { padding: 22px 22px 20px; border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.stats > div:nth-child(2n) { border-right: 0; }
.stats > div:nth-last-child(-n+2) { border-bottom: 0; }
.stats dd { margin: 0; font-size: 40px; }
.stats dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-3); line-height: 1.4; }
.hero__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--ink-line); padding-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-3); }
@media (min-width: 1100px) { .hero__foot { grid-column: 1 / -1; } }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 30px; height: 3px; background: var(--ink-line); border-radius: 3px; position: relative; overflow: hidden; }
.hero__dots button i { position: absolute; inset: 0; background: var(--on-ink); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-on i { animation: dot-fill 6s linear forwards; }
@keyframes dot-fill { to { transform: scaleX(1); } }
.hero__place { display: flex; align-items: center; gap: 10px; }
.hero__place::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }

/* ── inner page hero (same skeleton on every page) ─────── */
.phero { position: relative; isolation: isolate; overflow: hidden; }
.phero > .wrap { position: relative; z-index: 1; padding-top: calc(130px + 5vh); padding-bottom: clamp(56px, 10vh, 110px); display: grid; gap: 30px; }
.phero__grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 1000px) { .phero__grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 60px; } }
.phero--img { min-height: 88svh; display: flex; align-items: flex-end; }
.phero--img > .wrap { width: 100%; }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; animation: breathe 10s var(--ease) both; }
.phero--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 9, 11, .9), rgba(7, 9, 11, .4) 60%, rgba(7, 9, 11, .1)), linear-gradient(180deg, rgba(7, 9, 11, .55), transparent 30%, transparent 60%, var(--ink)); }
@media (max-width: 800px) { .phero--img::before { background: linear-gradient(180deg, rgba(7, 9, 11, .55), rgba(7, 9, 11, .5) 40%, var(--ink)); } }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.crumbs a:hover { color: inherit; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ── scroll scene (sticky storytelling) ───────────────── */
.scene { position: relative; }
.scene__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.scene__bg { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.scene__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease), transform 6s linear; transform: scale(1.08); }
.scene__bg img.is-on { opacity: 1; transform: scale(1.01); }
.scene__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 9, 11, .88), rgba(7, 9, 11, .35) 58%, rgba(7, 9, 11, .1)), linear-gradient(180deg, rgba(7, 9, 11, .6), transparent 28%, transparent 66%, rgba(7, 9, 11, .88)); }
@media (max-width: 800px) { .scene__shade { background: linear-gradient(180deg, rgba(7, 9, 11, .7), rgba(7, 9, 11, .35) 40%, rgba(7, 9, 11, .9)); } }
.scene__grid { position: relative; height: 100%; max-width: var(--max); margin: 0 auto; padding: 100px var(--gutter) 40px; display: grid; grid-template-rows: auto 1fr auto; gap: 20px; }
.scene__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.scene__main { display: grid; align-content: center; gap: 24px; max-width: 660px; }
.scene__big { font-size: clamp(88px, 16vw, 250px); display: flex; align-items: flex-start; }
.scene__big sup { font-size: .24em; letter-spacing: -.02em; margin: .3em 0 0 .12em; font-weight: 600; color: var(--on-ink-2); }
.scene__stage { display: grid; }
.scene__stage > * { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s .55s; }
.scene__stage > .is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease) .1s, transform .8s var(--ease) .1s; }
.scene__stage p { color: var(--on-ink-2); max-width: 48ch; }
.scene__rail { position: absolute; right: calc(var(--gutter) + 6px); top: 24%; bottom: 24%; width: 2px; background: var(--ink-line); }
.scene__rail > i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--ride); transform-origin: top; transform: scaleY(var(--p, 0)); }
.scene__tick { position: absolute; right: 1px; transform: translate(50%, -50%); display: flex; align-items: center; gap: 14px; flex-direction: row-reverse; }
.scene__tick b { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(243, 241, 234, .35); transition: border-color .4s, background-color .4s, box-shadow .4s; flex: none; }
.scene__tick span { font-family: var(--mono); font-size: 11px; color: var(--on-ink-3); white-space: nowrap; letter-spacing: .08em; transition: color .4s; }
.scene__tick.is-on b { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 6px rgba(255, 46, 120, .2); }
.scene__tick.is-on span { color: var(--on-ink); }
.scene__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--ink-line); padding-top: 18px; }
.scene__meter { display: flex; gap: clamp(20px, 4vw, 56px); }
.scene__meter div { display: grid; gap: 4px; }
.scene__meter b { font-family: var(--mono); font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; font-variant-numeric: tabular-nums; }
.scene__gradient { height: 40px; flex: 1; max-width: 420px; }
@media (max-width: 800px) { .scene__rail { right: 18px; } .scene__tick span { display: none; } .scene__main { padding-right: 36px; } .scene__gradient { display: none; } }

/* sticky phone story */
.story { display: grid; gap: 40px; }
@media (min-width: 1000px) { .story { grid-template-columns: 1fr 1fr; gap: 80px; } }
.story__phone { position: sticky; top: 11vh; height: 80vh; display: grid; place-items: center; }
.story__steps { display: grid; }
.story__step { min-height: 70vh; display: grid; align-content: center; gap: 18px; padding: 40px 0; opacity: .28; transition: opacity .6s var(--ease); }
.story__step.is-active { opacity: 1; }
.story__step ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.story__step li { display: flex; gap: 12px; color: var(--mute); }
.story__step li::before { content: ""; width: 14px; height: 2px; margin-top: .8em; background: var(--lime-ink); transform: skewX(var(--skew)); flex: none; }
.story__mini { display: none; }
@media (max-width: 999px) {
  .story__phone { display: none; }
  .story__step { min-height: 0; opacity: 1; padding: 30px 0; border-top: 1px solid var(--line); }
  .story__mini { display: block; margin-top: 8px; }
}

/* phone frame (real screenshots) */
.phone { position: relative; width: min(330px, 76vw); aspect-ratio: 390 / 844; border-radius: 52px; padding: 10px; background: linear-gradient(150deg, #313943, #0b0e12 60%); box-shadow: 0 70px 110px -50px rgba(7, 9, 11, .6), 0 30px 40px -30px rgba(7, 9, 11, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .1); flex: none; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--paper); }
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__screen[data-screens] img { opacity: 0; transform: translateY(14px) scale(1.02); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.phone__screen[data-screens] img.is-on { opacity: 1; transform: none; }
.phone__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .18) 50%, transparent 60%); background-size: 260% 100%; animation: glare 9s ease-in-out infinite; pointer-events: none; }
@keyframes glare { 0%, 100% { background-position: 130% 0; } 50% { background-position: -30% 0; } }
.phone--sm { width: min(250px, 58vw); border-radius: 40px; padding: 8px; } .phone--sm .phone__screen { border-radius: 32px; }
.phone--xs { width: min(200px, 44vw); border-radius: 32px; padding: 7px; } .phone--xs .phone__screen { border-radius: 26px; }
.phone-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: #fff; color: var(--on-paper); box-shadow: 0 30px 60px -24px rgba(7, 9, 11, .45); font-size: 14px; font-weight: 600; line-height: 1.25; animation: bob 6s ease-in-out infinite; }
.phone-float small { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-paper-3); }
.phone-float i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--lime); color: #fff; flex: none; }
.phone-float--ride i { background: var(--ride); color: #fff; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* triptych: panels widen on hover */
.trip { display: flex; gap: 14px; height: clamp(480px, 74vh, 720px); }
.trip__p { position: relative; flex: 1; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; transition: flex-grow .9s var(--ease); min-width: 0; color: var(--on-ink); }
.trip__p:hover, .trip__p:focus-within { flex-grow: 2.1; }
.trip__p > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.trip__p:hover > img { transform: scale(1.05); }
.trip__p::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 9, 11, .15) 30%, rgba(7, 9, 11, .94)); }
.trip__top { position: absolute; top: 22px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; }
.trip__in { position: absolute; inset: auto 0 0; padding: 28px; display: grid; gap: 12px; }
.trip__in p { color: var(--on-ink-2); max-width: 38ch; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.trip__p:hover .trip__in p, .trip__p:focus-within .trip__in p { opacity: 1; transform: none; }
@media (max-width: 900px) { .trip { flex-direction: column; height: auto; } .trip__p { min-height: 420px; } .trip__in p { opacity: 1; transform: none; } }

/* horizontal worlds (pinned on desktop, swipe on phones) */
.hs { position: relative; }
.hs__sticky { overflow: hidden; }
.hs.is-pinned .hs__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px); }
.hs__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.hs__prog { width: 160px; height: 2px; background: var(--line); position: relative; flex: none; }
.hs__prog i { position: absolute; inset: 0; background: var(--ride); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hs__track { display: flex; gap: 18px; padding: 0 var(--gutter); width: max-content; }
.world { position: relative; flex: none; width: clamp(280px, 30vw, 440px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--on-ink); }
.world > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.world:hover > img { transform: scale(1.06); }
.world::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 9, 11, .3), transparent 30%, transparent 50%, rgba(7, 9, 11, .94)); }
.world__top { position: absolute; top: 20px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; }
.world__top .idx { font-size: 30px; color: rgba(255, 255, 255, .7); }
.world__in { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 10px; }
.world__in h3 { font-size: clamp(26px, 2.3vw, 36px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variation-settings: "wdth" 86; }
.world__in p { color: var(--on-ink-2); font-size: 15px; }
.world__nums { display: flex; gap: 22px; font-family: var(--mono); font-size: 12px; color: var(--on-ink-2); border-top: 1px solid var(--ink-line); padding-top: 12px; }
.world__nums b { color: var(--on-ink); font-weight: 500; font-size: 15px; }
.world--end { background: var(--ride); display: grid; align-content: end; padding: 30px; gap: 20px; }
.world--end::after { display: none; }
@media (max-width: 760px) { .hs__scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; } .world { scroll-snap-align: center; width: 80vw; } .hs__prog { display: none; } }

/* rail steps (fills on scroll) */
.rail { position: relative; display: grid; }
@media (min-width: 900px) { .rail { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.rail__line { position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--line); }
.rail__line > i { position: absolute; inset: 0; background: var(--ride); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 899px) { .rail__line { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } .rail__line > i { transform-origin: top; transform: scaleY(var(--p, 0)); } }
.rail__step { position: relative; padding: 0 28px 34px 0; display: grid; gap: 14px; align-content: start; }
@media (max-width: 899px) { .rail__step { padding: 0 0 38px 60px; } }
.rail__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--faint); transition: all .5s var(--ease); position: relative; z-index: 1; }
.s-paper .rail__dot { background: var(--paper); } .s-white .rail__dot { background: var(--white); } .s-ink-2 .rail__dot { background: var(--ink-2); }
@media (max-width: 899px) { .rail__dot { position: absolute; left: 0; top: 0; } }
.rail__step.is-on .rail__dot { border-color: var(--pink); background: var(--pink); color: #fff; box-shadow: 0 0 0 7px rgba(255, 46, 120, .16); }
.rail__step p { color: var(--mute); font-size: 15.5px; }

/* cards */
.card { position: relative; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.s-paper .card { background: var(--white); }
.s-white .card { background: var(--paper); }
.s-ink .card, .s-ink-2 .card { background: rgba(255, 255, 255, .03); }
.cards-3 { display: grid; gap: 18px; }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.cards-2 { display: grid; gap: 18px; }
@media (min-width: 800px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } }
.cards-4 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feat { padding: clamp(24px, 2.4vw, 34px); display: grid; gap: 14px; align-content: start; transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease); }
.feat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--pink) 45%, transparent); box-shadow: 0 30px 60px -40px rgba(7, 9, 11, .5); }
.feat p { color: var(--mute); font-size: 15.5px; }
.feat__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.feat__img { margin: calc(clamp(24px, 2.4vw, 34px) * -1) calc(clamp(24px, 2.4vw, 34px) * -1) 8px; aspect-ratio: 16 / 10; overflow: hidden; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat:hover .feat__img img { transform: scale(1.05); }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--pink) 14%, transparent); color: var(--pink); }
.ico svg { width: 22px; height: 22px; }
.s-paper .ico, .s-white .ico, .ico--app { background: color-mix(in srgb, var(--lime) 40%, transparent); color: var(--lime-ink); }

/* tabs */
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); position: relative; overflow-x: auto; scrollbar-width: none; }
.tabs button { padding: 14px 0; font-weight: 600; font-size: 15px; opacity: .5; transition: opacity .3s; white-space: nowrap; }
.tabs button:hover { opacity: .8; }
.tabs button[aria-selected="true"] { opacity: 1; }
.tabs__bar { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--ride); transition: transform .5s var(--ease), width .5s var(--ease); }
.s-paper .tabs__bar, .s-white .tabs__bar { background: var(--on-paper); }
[role="tabpanel"][hidden] { display: none; }
[role="tabpanel"] { animation: fp-fade .7s var(--ease) both; }

/* marquee */
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.mq__t { display: flex; width: max-content; animation: mq 46s linear infinite; }
.mq--rev .mq__t { animation-direction: reverse; animation-duration: 54s; }
.mq:hover .mq__t { animation-play-state: paused; }
.mq__i { flex: none; display: flex; align-items: center; gap: 14px; height: 92px; padding: 0 40px; font-weight: 700; font-size: 25px; letter-spacing: -.03em; opacity: .45; transition: opacity .3s, color .3s; font-variation-settings: "wdth" 90; }
.mq__i::after { content: ""; width: 10px; height: 10px; margin-left: 40px; background: currentColor; transform: skewX(var(--skew)); opacity: .5; }
.mq__i:hover { opacity: 1; }
@keyframes mq { to { transform: translateX(-50%); } }
/* Brand logos in a marquee: one colour, like the text items, full colour on hover. */
.mq__logo img { height: 26px; width: auto; max-width: none; filter: brightness(0) invert(1); }
.s-paper .mq__logo img, .s-white .mq__logo img { filter: brightness(0); }
.mq__logo--thinkrider img { height: 40px; } .mq__logo--magene img, .mq__logo--thinkrider img { filter: none; } .mq__logo--tacx img { height: 30px; } .mq__logo--jetblack img { height: 20px; } .mq__logo--stages img { height: 22px; } .mq__logo--elite img { height: 20px; } .mq__logo--vanrysel img { height: 19px; } .mq__logo--keiser img { height: 22px; } .mq__logo--kinetic img { height: 22px; }
.mq-row { display: flex; align-items: center; gap: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mq-row .label { flex: none; padding-left: var(--gutter); max-width: 200px; line-height: 1.5; }
@media (max-width: 700px) { .mq-row { flex-direction: column; align-items: stretch; gap: 0; padding-top: 18px; } .mq-row .label { max-width: none; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .55s var(--ease), content-visibility .55s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--pink-ink); }
.s-ink .faq summary:hover, .s-ink-2 .faq summary:hover { color: var(--pink); }
.faq summary i { position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: background-color .4s, transform .5s var(--ease), border-color .4s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(180deg); border-color: currentColor; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .a { padding: 0 60px 28px 0; color: var(--mute); max-width: 76ch; display: grid; gap: 12px; }
.faq .a a { text-decoration: underline; text-underline-offset: 3px; }

/* closing band (one saturated colour, then the footer) */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band > .wrap { position: relative; z-index: 1; padding-top: clamp(90px, 14vh, 170px); padding-bottom: clamp(90px, 14vh, 170px); display: grid; gap: 30px; justify-items: start; }
.band__art { position: absolute; right: -2%; bottom: 0; top: 0; width: min(760px, 56vw); z-index: 0; display: flex; align-items: center; justify-content: center; }
.band__art img { width: 100%; }
.band__word { position: absolute; right: -2vw; bottom: -4vw; font-weight: 800; font-size: 26vw; letter-spacing: -.07em; line-height: .8; color: rgba(255, 255, 255, .1); pointer-events: none; font-variation-settings: "wdth" 86; z-index: 0; }
@media (max-width: 800px) { .band__art { opacity: .3; } }
.s-ride .btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.s-ride .eyebrow { color: #fff; } .s-ride .eyebrow::before { background: #fff; }

/* footer */
.ftr { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; --line: var(--ink-line); }
.ftr::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ride); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.ftr.is-in::before { transform: scaleX(1); }
.ftr > .wrap { padding-top: clamp(70px, 11vh, 130px); padding-bottom: 28px; }
.ftr__top { display: grid; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--ink-line); }
@media (min-width: 1000px) { .ftr__top { grid-template-columns: 1.2fr 2fr; gap: 80px; } }
.ftr__cols { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ftr__cols h5 { display: flex; gap: 10px; align-items: baseline; margin: 0 0 18px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-3); }
.ftr__cols h5 em { font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--pink); }
.ftr__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ftr__cols a { color: var(--on-ink-2); transition: color .25s; font-size: 15.5px; } .ftr__cols a:hover { color: var(--on-ink); }
.ftr__word { display: block; width: 100%; margin: 34px 0 18px; }
.ftr__word text { font-family: var(--display); font-weight: 800; letter-spacing: -.055em; font-variation-settings: "wdth" 86; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--on-ink-3); border-top: 1px solid var(--ink-line); padding-top: 22px; }
.ftr__base a:hover { color: var(--on-ink); }

/* grain layer (fixed, above everything, never catches clicks) */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.grain::after { content: ""; position: absolute; inset: -50%; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 7s steps(5) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -3%); } 75% { transform: translate(-2%, -4%); } }
/* topographic lines: the FORGE background motif (contours of a climb) */
.topo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; color: inherit; opacity: .08; }
.s-paper .topo, .s-white .topo { opacity: .1; }
.topo path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }

/* reading progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--ride); transform-origin: left; transform: scaleX(0); }

/* ── the ladder: seven tiers climbing, real rewards ───── */
.ladder { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; }
.ladder__t { position: relative; display: grid; gap: 12px; justify-items: center; align-content: start; text-align: center; padding: 22px 12px 20px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: transform .6s var(--ease), border-color .4s, background-color .4s; }
.ladder__t:nth-child(2) { margin-bottom: 28px; } .ladder__t:nth-child(3) { margin-bottom: 56px; } .ladder__t:nth-child(4) { margin-bottom: 84px; } .ladder__t:nth-child(5) { margin-bottom: 112px; } .ladder__t:nth-child(6) { margin-bottom: 140px; } .ladder__t:nth-child(7) { margin-bottom: 168px; }
.ladder__t:hover { transform: translateY(-8px); border-color: rgba(255, 46, 120, .5); background: rgba(255, 46, 120, .07); }
.ladder__t img { width: min(104px, 100%); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .5)); transition: transform .8s var(--ease); }
.ladder__t:hover img { transform: scale(1.08) rotate(-4deg); }
.ladder__t h4 { font-size: 18px; letter-spacing: -.02em; }
.ladder__lv { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.ladder__gift { font-size: 13.5px; font-weight: 600; line-height: 1.35; border-top: 1px solid var(--line); padding-top: 12px; width: 100%; }
.ladder__gift small { display: block; font-weight: 400; color: var(--faint); font-size: 12px; margin-top: 4px; }
@media (max-width: 1100px) {
  .ladder { grid-template-columns: 1fr; gap: 10px; }
  .ladder__t { margin: 0 !important; grid-template-columns: 64px 1fr; justify-items: start; text-align: left; padding: 14px 18px; gap: 2px 18px; }
  .ladder__t img { grid-row: 1 / span 3; width: 64px; align-self: center; }
  .ladder__gift { border: 0; padding: 0; }
}

/* ── calculator ─────────────────────────────────────── */
.calc { display: grid; gap: 18px; }
@media (min-width: 1000px) { .calc { grid-template-columns: 1.1fr .9fr; } }
.calc__in { padding: clamp(24px, 3vw, 44px); display: grid; gap: 30px; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--paper-line); }
.calc__row { display: grid; gap: 10px; }
.calc__row header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 600; }
.calc__row output { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--pink-ink); white-space: nowrap; }
.calc__row small { color: var(--faint); font-size: 13px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --v: 50%; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--pink) 0 var(--v), var(--paper-2) var(--v)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--pink) 0 var(--v), var(--paper-2) var(--v)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 2px solid var(--pink); box-shadow: 0 6px 16px -4px rgba(255, 46, 120, .6); transition: transform .3s var(--ease); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--pink); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc__out { background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 44px); display: grid; gap: 26px; align-content: space-between; position: relative; overflow: hidden; isolation: isolate; --line: var(--ink-line); }
.calc__out::before { content: ""; position: absolute; width: 560px; height: 560px; right: -220px; top: -240px; background: radial-gradient(closest-side, rgba(255, 46, 120, .38), transparent); z-index: -1; }
.calc__big { font-size: clamp(64px, 7vw, 110px); display: flex; align-items: baseline; gap: .15em; flex-wrap: wrap; }
.calc__big small { font-size: .26em; letter-spacing: -.01em; color: var(--on-ink-2); font-weight: 600; }
.calc__list { display: grid; border-top: 1px solid var(--ink-line); }
.calc__list div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ink-line); font-size: 15px; color: var(--on-ink-2); }
.calc__list b { color: var(--on-ink); font-family: var(--mono); font-weight: 500; text-align: right; }
.calc__next { display: flex; gap: 16px; align-items: center; }
.calc__next img { width: 64px; height: 64px; object-fit: contain; }
.calc__note { font-size: 12.5px; color: var(--on-ink-3); }

/* ── two worlds split ───────────────────────────────── */
.duo { display: grid; gap: 18px; }
@media (min-width: 1000px) { .duo { grid-template-columns: 1.12fr 1fr; } }
.duo__card { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; min-height: 660px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(26px, 3vw, 44px); gap: 30px; }
.duo__card--ride { color: var(--on-ink); background: var(--ink); --line: rgba(255, 255, 255, .3); }
.duo__card--ride > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.duo__card--ride:hover > img { transform: scale(1.05); }
.duo__card--ride::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 9, 11, .6), transparent 42%, rgba(7, 9, 11, .94)); }
.duo__card--app { background: var(--white); color: var(--on-paper); padding-bottom: 0; --line: rgba(11, 18, 14, .3); }
.duo__phones { display: flex; justify-content: center; align-items: flex-end; margin-bottom: -120px; }
.duo__phones .phone:first-child { transform: rotate(-8deg) translate(40px, 36px); }
.duo__phones .phone:last-child { transform: rotate(7deg) translate(-40px, 44px); }
.duo__phones .phone:nth-child(2) { z-index: 2; }
.duo__card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.duo__card li { font-size: 13.5px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); }
.duo__head { display: grid; gap: 18px; justify-items: start; max-width: 540px; }
.duo__head p { opacity: .8; }
@media (max-width: 600px) { .duo__card { min-height: 0; } .duo__phones .phone:first-child, .duo__phones .phone:last-child { display: none; } .duo__phones { margin-bottom: -170px; } .duo__card--ride { min-height: 560px; } }

/* ── big figures row ───────────────────────────────── */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 1px solid var(--line); }
.figs > div { padding: 34px 24px 6px; display: grid; gap: 12px; align-content: start; border-left: 1px solid var(--line); }
.figs > div:first-child { border-left: 0; padding-left: 0; }
.figs b { font-size: clamp(54px, 5.4vw, 88px); }
.figs span { color: var(--mute); font-size: 15px; max-width: 28ch; }
@media (max-width: 700px) { .figs > div { border-left: 0; border-bottom: 1px solid var(--line); padding: 26px 0; } }

/* honesty note */
.note { font-size: 14px; color: var(--mute); border-left: 2px solid var(--pink); padding: 2px 0 2px 16px; max-width: 72ch; }
.s-paper .note, .s-white .note { border-color: var(--lime-ink); }

/* framed media with a caption chip */
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption { position: absolute; left: 18px; bottom: 18px; z-index: 1; }
.frame--wide { aspect-ratio: 16 / 8; }
.frame--tall { aspect-ratio: 4 / 5; }
@media (max-width: 700px) { .frame--wide { aspect-ratio: 4 / 5; } }
[data-parallax] { will-change: transform; }

/* prose (legal pages) */
.prose { max-width: 76ch; display: grid; gap: 14px; color: var(--mute); }
.prose h2 { font-size: 26px; letter-spacing: -.025em; margin-top: 30px; color: var(--on-paper); }
.prose h3 { font-size: 19px; margin-top: 16px; color: var(--on-paper); }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--on-paper); }

/* forms */
.field { display: grid; gap: 8px; }
.field > span { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.input { width: 100%; border: 1px solid var(--line); background: transparent; color: inherit; border-radius: 14px; padding: 16px 18px; font: inherit; transition: border-color .3s, box-shadow .3s; }
.input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 46, 120, .14); }
textarea.input { min-height: 150px; resize: vertical; }

/* reduced motion: everything readable, nothing moves */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal] .ln > span, .js [data-reveal].clip img { transform: none !important; }
  .mq__t { flex-wrap: wrap; width: auto; justify-content: center; }
  .grain::after { animation: none; }
}

/* ── Screens: the real game UI, shown on a monitor ──────────────────────
   <figure class="screen"><img src="assets/img/ui/ride_hud.webp" data-en-src="assets/img/ui/en/ride_hud.webp" alt=""></figure>
   Add .screen--tilt for a slight 3D lean; .screen--bleed lets it run off the right edge on wide screens. */
.screen { position: relative; margin: 0; padding: clamp(6px, .7vw, 12px); border-radius: clamp(14px, 1.4vw, 22px); background: linear-gradient(160deg, #3a414b, #0b0e12 55%); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .75), 0 24px 40px -24px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.screen img { display: block; width: 100%; height: auto; border-radius: clamp(9px, .9vw, 14px); }
.screen::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 22%; height: 14px; transform: translateX(-50%); background: linear-gradient(#20252c, #0b0e12); border-radius: 0 0 10px 10px; }
.screen--tilt { transform: perspective(1800px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; transition: transform 1.2s var(--ease); }
.screen--tilt:hover { transform: perspective(1800px) rotateY(-4deg) rotateX(1deg); }
@media (min-width: 1100px) { .screen--bleed { margin-right: calc(-1 * var(--gutter) - 6vw); } }
@media (max-width: 700px) { .screen--tilt { transform: none; } .screen::after { display: none; } }
/* Real photo tiles instead of icon tiles: <span class="thumb"><img src="…" alt=""></span> at the top of a card. */
.thumb { display: block; aspect-ratio: 16 / 10; border-radius: calc(var(--r) - 6px); overflow: hidden; margin: -6px -6px 6px; background: var(--ink-3); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .thumb img, .feat:hover .thumb img { transform: scale(1.05); }
.thumb--phone { aspect-ratio: 4 / 3; background: linear-gradient(160deg, #1b2027, #0b0e12); display: grid; place-items: end center; padding-top: 16px; }
.thumb--phone img { width: 58%; height: auto; object-fit: contain; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .35); }

/* ── Consent banner (Google Analytics loads only after "Accepter") ── */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 720px;
  display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; padding: 16px 18px; border-radius: 18px;
  background: #0b0b0d; color: #f3f1ea; box-shadow: 0 18px 50px rgba(0,0,0,.35); font-size: 14px; line-height: 1.45; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; }
.consent a { color: #ff5c93; text-decoration: underline; }
.consent__b { display: flex; gap: 10px; margin-left: auto; }
.consent button { font: inherit; font-weight: 600; border-radius: 999px; padding: 10px 18px; cursor: pointer; border: 1px solid rgba(243,241,234,.35); }
.consent__no { background: transparent; color: #f3f1ea; }
.consent__yes { background: #ff2e78; border-color: #ff2e78; color: #fff; }
@media (max-width: 520px) { .consent__b { width: 100%; } .consent button { flex: 1; } }
