/* X SIMRACE ARENA — landing page styles (mobile-first) */

@font-face { font-family: "Chakra Petch"; src: url("/welcome-assets/fonts/chakra-petch-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("/welcome-assets/fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("/welcome-assets/fonts/chakra-petch-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/welcome-assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/welcome-assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/welcome-assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Brand palette (brief) */
  --navy: #151F32;
  --anthracite: #242937;
  --orange: #E46830;
  --white: #FFFFFF;

  /* Semantic tokens */
  --bg: var(--navy);
  --bg-deep: #0F1727;
  --surface: var(--anthracite);
  --text: var(--white);
  --text-muted: rgba(255, 255, 255, .74);
  --text-faint: rgba(255, 255, 255, .6);
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .24);
  --accent: var(--orange);
  --accent-text: #F07A44; /* orange for small text on anthracite surfaces (AA contrast) */
  --on-accent: var(--navy);
  --error: #FF8A73;

  --font-display: "Chakra Petch", "Barlow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --maxw: 1200px;
  --header-h: 64px;
  --radius: 2px;

  --ease-out: cubic-bezier(.2, .75, .2, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 700ms;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  touch-action: manipulation;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--navy); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 10px 16px; font-weight: 600;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --cut: 10px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 18px;
  font-family: var(--font-display); font-weight: 600; font-size: .8125rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--text); background: transparent;
  border: 1px solid var(--line-strong); border-radius: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { border-color: var(--accent); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: .75rem; letter-spacing: .1em; }
.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--primary:hover { background: #F07A44; border-color: #F07A44; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon { transform: translateY(3px); }
.site-header .btn--sm { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color var(--dur) var(--ease-out), backdrop-filter var(--dur);
}
.site-header.is-solid { background: rgba(15, 23, 39, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header__inner {
  height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: env(safe-area-inset-top, 0);
}
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
.sector-nav { display: none; }
.sector-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px;
}
.sector-bar i { display: block; background: rgba(255, 255, 255, .1); transform-origin: left; position: relative; overflow: hidden; }
.sector-bar i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- Typography ---------- */
.kicker, .eyebrow, .module__idx, .exp__idx, .tour__label, .hero__hud {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; font-size: .75rem;
}
.kicker { color: var(--accent); margin-bottom: 14px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--text-muted); margin-bottom: 18px; }
.eyebrow__num { color: var(--accent); font-weight: 600; }
.eyebrow__num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--accent); vertical-align: middle; margin-left: 12px; }

.h2 {
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: clamp(2rem, 8.4vw, 3.75rem); line-height: .98; letter-spacing: -.005em;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--accent); display: block; }
.h2--xl { font-size: clamp(2.15rem, 9.4vw, 4.75rem); }
.lead { margin-top: 20px; color: var(--text-muted); font-size: 1.125rem; line-height: 1.6; max-width: 34em; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: 88px; }
.section-head { max-width: 760px; margin-bottom: 48px; }

/* ---------- 01 Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: 96px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 58%;
  perspective: 420px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 92%); mask-image: linear-gradient(to top, #000 10%, transparent 92%);
}
.hero__grid-inner {
  position: absolute; inset: -100% 0 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: rotateX(64deg); transform-origin: 50% 100%;
}
.hero__glow {
  position: absolute; right: -30%; bottom: -25%; width: 120vw; height: 120vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(closest-side, rgba(228, 104, 48, .32), rgba(228, 104, 48, 0));
}
.hero__mark {
  position: absolute; width: 150vw; max-width: none; right: -62vw; top: 9%;
  opacity: .1; transform: rotate(-4deg);
}
.hero__line {
  position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: 34%; color: var(--accent); opacity: .9;
  clip-path: inset(0 0 0 0);
}
.hero__content { position: relative; }
.hero__title {
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: clamp(2.3rem, 10.2vw, 7.6rem); line-height: .94; letter-spacing: -.01em;
}
.hero__title > span { display: block; }
.hero__line2 { color: var(--accent); }
.hero__lead { margin: 22px 0 32px; font-size: 1.1875rem; line-height: 1.55; color: var(--text-muted); max-width: 30em; }
.hero__hud {
  position: absolute; left: 0; right: 0; bottom: 24px;
  display: flex; justify-content: space-between; align-items: center; color: var(--text-faint);
}
.hero__scroll { width: 1px; height: 40px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i { position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--accent); }

/* Start lights */
.lights { display: flex; gap: 10px; margin-bottom: 26px; }
.lights__bulb {
  width: 16px; height: 16px; border-radius: 50%;
  background: #2C3344; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08);
  transition: background-color 90ms linear, box-shadow 90ms linear;
}
.lights__bulb.is-on { background: var(--accent); box-shadow: 0 0 0 2px rgba(228, 104, 48, .25), 0 0 18px rgba(228, 104, 48, .8); }

/* ---------- 02 Ecosystem ---------- */
.split { display: grid; gap: 48px; align-items: center; }
.eco-map { margin: 0; }
.eco-map svg { width: 100%; height: auto; overflow: visible; }
.eco-links path { animation: dash-flow 1.6s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -20; } }

/* ---------- 03 Platform ---------- */
.platform { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%); }
.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.module {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 18px 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.module::before, .module::after {
  content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--accent); border-style: solid; opacity: .9;
}
.module::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.module::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.module:hover { border-color: rgba(228, 104, 48, .55); transform: translateY(-3px); }
.module__idx { color: var(--text-faint); font-size: .75rem; }
.module__art { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.module__title {
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: 1.0625rem; line-height: 1.1; letter-spacing: .01em; margin-top: auto;
}

/* ---------- 04 Experience ---------- */
.experience { overflow: hidden; isolation: isolate; background: var(--bg-deep); padding-bottom: 72px; }
.experience__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 85% 8%, rgba(228, 104, 48, .26), transparent 70%),
    radial-gradient(50% 35% at 0% 70%, rgba(228, 104, 48, .12), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px);
}
.section-head--wide { max-width: 900px; }
.experience__lead { margin-top: 24px; color: var(--text-muted); font-size: 1.125rem; line-height: 1.6; max-width: 36em; }

.exp-grid { display: grid; gap: 12px; }
.exp {
  position: relative; overflow: hidden;
  min-height: 236px; padding: 22px 22px 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, rgba(36, 41, 55, .95), rgba(21, 31, 50, .95));
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease-out);
}
.exp::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--accent); transform: scaleX(.12); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.exp:hover { border-color: rgba(228, 104, 48, .5); }
.exp:hover::after, .exp.is-in::after { transform: scaleX(1); }
.exp__art { position: absolute; top: 16px; right: 8px; width: 74%; max-width: 340px; height: auto; opacity: .95; }
.exp__idx { color: var(--accent-text); margin-bottom: 8px; }
.exp__title {
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: clamp(1.5rem, 6.4vw, 2.25rem); line-height: 1; max-width: 12ch;
}

.tour {
  position: relative; margin-top: 64px; padding: 88px 0 8px; text-align: center;
}
.tour__label { position: relative; color: var(--accent); margin-bottom: 10px; }
.tour__title {
  position: relative;
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: clamp(2.4rem, 12vw, 7rem); line-height: 1; letter-spacing: .01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85);
}

/* ---------- 05 Waitlist ---------- */
.waitlist { background: radial-gradient(70% 50% at 50% 100%, rgba(228, 104, 48, .14), transparent 70%), var(--bg); }
.split--form { align-items: start; }
.entry {
  position: relative; padding: 28px 20px 24px;
  background: var(--surface); border: 1px solid var(--line);
}
.entry__corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--accent); }
.entry__corner--tl { top: -1px; left: -1px; border-width: 3px 0 0 3px; }
.entry__corner--br { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-display); font-weight: 600; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
}
.field input[type="text"], .field input[type="email"] {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 0;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  -webkit-appearance: none; appearance: none;
}
.field input:hover { border-color: rgba(255, 255, 255, .4); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(228, 104, 48, .3); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: .9375rem; line-height: 1.4; min-height: 0; }
.field__error:empty { display: none; }
.field__error::before { content: "! "; font-weight: 700; }

.field--check { grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 6px; align-items: start; }
.field--check input {
  width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer;
}
.field--check label {
  font-family: var(--font-body); font-weight: 400; font-size: .9375rem; letter-spacing: 0; text-transform: none;
  color: var(--text-muted); line-height: 1.5; cursor: pointer;
}
.field--check label a { color: var(--text); text-underline-offset: 3px; }
.field--check .field__error { grid-column: 2; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__captcha:empty { display: none; }
.form__note { color: var(--text-faint); font-size: .875rem; line-height: 1.5; }
.form__note--warn { color: var(--error); }
.form__summary {
  padding: 12px 14px; border-left: 3px solid var(--error); background: rgba(255, 138, 115, .08);
  color: var(--text); font-size: .9375rem; line-height: 1.5;
}
.form__summary:focus { outline: none; }

.btn__spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(21, 31, 50, .3); border-top-color: var(--navy);
  animation: spin .7s linear infinite;
}
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.result { text-align: left; padding: 8px 0; }
.result:focus { outline: none; }
.result__icon { width: 56px; height: 56px; color: var(--accent); margin-bottom: 20px; }
.result__icon path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .6s var(--ease-out) .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.result__title {
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: clamp(1.75rem, 7vw, 2.5rem); line-height: 1;
}
.result__text { margin-top: 14px; color: var(--text-muted); font-size: 1.0625rem; }
.result__ig {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; min-height: 44px;
  font-family: var(--font-display); font-weight: 600; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
}
.result__ig:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 calc(32px + env(safe-area-inset-bottom, 0)); background: var(--bg-deep); }
.site-footer__inner { display: grid; gap: 28px; }
.site-footer__brand img { width: 168px; height: auto; }
.site-footer__brand p { margin-top: 10px; color: var(--text-faint); font-size: .875rem; letter-spacing: .04em; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.site-footer__links a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--font-display); font-weight: 600; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
}
.site-footer__links a:hover { color: var(--accent); }
.site-footer__legal { color: var(--text-faint); font-size: .8125rem; line-height: 1.6; max-width: 60em; }

/* ---------- Reveal motion (enabled only when JS runs) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.art-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .art-draw { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) .25s; }
.js .is-in .art-draw { stroke-dashoffset: 0; }
.js .art-bar { transform: scaleY(.2); transform-box: fill-box; transform-origin: bottom; transition: transform .9s var(--ease-out); }
.js .is-in .art-bar { transform: none; }
.js .module:nth-child(3) .art-bar:nth-of-type(2) { transition-delay: .1s; }
.js .module:nth-child(3) .art-bar:nth-of-type(3) { transition-delay: .2s; }
.art-chevrons path { transition: transform var(--dur) var(--ease-out); }
.module:hover .art-chevrons path:nth-child(3) { transform: translateX(6px); }
.exp__spark { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
.exp__rays { animation: rays 3s ease-in-out infinite; }
@keyframes rays { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

/* hero intro */
.js .hero__line { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-out); }
.js .hero.is-go .hero__line { clip-path: inset(0 0 0 0); }
.hero__grid-inner { animation: grid-run 1.4s linear infinite; }
@keyframes grid-run { from { transform: rotateX(64deg) translateY(0); } to { transform: rotateX(64deg) translateY(56px); } }
.hero__scroll i { animation: scroll-cue 2s var(--ease-out) infinite; }
@keyframes scroll-cue { 0% { transform: translateY(-14px); } 100% { transform: translateY(40px); } }


/* =========================================================
   v2 — cinematic layer
   ========================================================= */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* Film grain for a premium, printed-livery texture */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hero: speed streaks, lights-out flash, kinetic headline */
.hero__streaks { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__flash {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(70% 55% at 22% 38%, rgba(228, 104, 48, .42), transparent 70%);
}
.hero.is-go .hero__flash { animation: flash 1s var(--ease-out); }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
.hero__mark, .hero__glow, .bignum { will-change: transform; }

.lights {
  display: inline-flex; gap: 10px; padding: 9px 12px; margin-bottom: 24px;
  background: rgba(10, 16, 28, .8); border: 1px solid var(--line);
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .04);
}
.lights__bulb { width: 18px; height: 18px; }
.lights.is-out { animation: lights-out .5s var(--ease-out); }
@keyframes lights-out { 0% { transform: translateY(0); } 30% { transform: translateY(-2px); } 100% { transform: translateY(0); } }

.hero__title .w { display: inline-block; }
.js .hero__title .w {
  opacity: 0; transform: translateX(-.45em) skewX(-16deg); filter: blur(8px);
  animation: word-in .75s var(--ease-out) forwards;
  animation-delay: calc(.12s + var(--d) * 90ms);
}
@keyframes word-in { 60% { filter: blur(0); } to { opacity: 1; transform: none; filter: blur(0); } }
.js .hero__fade { opacity: 0; transform: translateY(14px); animation: fade-up .7s var(--ease-out) forwards; animation-delay: calc(.2s + var(--d) * 80ms); }
@keyframes fade-up { to { opacity: 1; transform: none; } }
.hero__line2 .w { background: linear-gradient(100deg, var(--accent) 0 42%, #FFA675 50%, var(--accent) 58% 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero.is-go .hero__line2 .w { animation: sheen 1.6s var(--ease-out) .1s both; }
.js .hero.is-go .hero__line2 .w { opacity: 1; transform: none; filter: none; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Primary buttons: periodic light sweep */
.btn--primary { overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); animation: shine 4.5s var(--ease-out) 2.6s infinite; pointer-events: none;
}
@keyframes shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }

/* Ticker bands */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--bg-deep); border-block: 1px solid var(--line); padding: 14px 0; }
.ticker--tilt { transform: rotate(-2.2deg) scale(1.06); margin: -10px 0 0; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
/* The tilted band is wider than the screen on purpose: clip it so the page never scrolls sideways. */
main { overflow-x: hidden; }
@supports (overflow-x: clip) { main { overflow-x: clip; } }
.ticker--orange { background: var(--accent); border: 0; padding: 12px 0; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.ticker__track--rev { animation-direction: reverse; animation-duration: 46s; }
.ticker span {
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(1.5rem, 5vw, 2.75rem); line-height: 1; letter-spacing: .01em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .7);
}
.ticker span.o { color: var(--accent); -webkit-text-stroke: 0; }
.ticker img { width: 54px; height: auto; opacity: .9; }
.ticker--orange span { color: var(--navy); -webkit-text-stroke: 0; font-size: clamp(1.1rem, 3.6vw, 1.75rem); }
.ticker .dot { width: 10px; height: 10px; background: var(--navy); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Ecosystem: neon track, pulsing communities */
.eco-pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; animation: node-pulse 3.3s var(--ease-out) infinite; animation-delay: var(--d); }
@keyframes node-pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.eco-node { transition: transform var(--dur) var(--ease-out); transform-box: fill-box; transform-origin: center; }
.eco-map svg { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }
@media (max-width: 767px) { .eco-map { margin-inline: calc(var(--gutter) * -1 + 4px); } }

/* Cards: pointer spotlight + glowing edge */
.module, .exp { --mx: 50%; --my: 50%; }
.spot {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--dur) var(--ease-out);
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(228, 104, 48, .2), transparent 62%);
}
.module:hover .spot, .exp:hover .spot { opacity: 1; }
.module:hover, .exp:hover { box-shadow: 0 24px 60px -20px rgba(228, 104, 48, .35); }
.module > *:not(.spot), .exp > *:not(.spot) { position: relative; }
.exp > .exp__art { position: absolute; }
.js .module.is-in .module__art { animation: scan-in .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + .1s); }
@keyframes scan-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Experience: giant numeral + kinetic trio */
.bignum {
  position: absolute; right: -4vw; top: 40px; z-index: -1; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-style: italic; line-height: .8;
  font-size: clamp(11rem, 42vw, 30rem); color: transparent; -webkit-text-stroke: 1.5px rgba(228, 104, 48, .22);
}
.trio { margin-top: 28px; display: grid; gap: 2px; }
.trio span {
  display: block; width: max-content; max-width: 100%;
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: clamp(1.6rem, 7.2vw, 3.1rem); line-height: 1.04;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55);
  background: linear-gradient(90deg, var(--white) 50%, transparent 50%); background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  transition: background-position 1s var(--ease-out); transition-delay: calc(.2s + var(--d) * 220ms);
}
.trio span:nth-child(2) { background-image: linear-gradient(90deg, var(--accent) 50%, transparent 50%); -webkit-text-stroke-color: rgba(228, 104, 48, .7); }
.trio.is-in span, html:not(.js) .trio span { background-position: 0 0; }
.experience__lead { margin-top: 22px; }

/* APEXLANE TOUR: endless road to the horizon */
.tour__road { position: absolute; left: 50%; bottom: 0; width: min(1000px, 130%); height: 190px; transform: translateX(-50%); perspective: 220px; perspective-origin: 50% 0; overflow: hidden; }
.tour__plane { position: absolute; left: 6%; right: 6%; bottom: -10%; height: 480%; transform: rotateX(78deg); transform-origin: 50% 100%;
  border-inline: 2px solid rgba(255, 255, 255, .35); background: linear-gradient(90deg, rgba(228, 104, 48, .12), transparent 30%, transparent 70%, rgba(228, 104, 48, .12)); }
.tour__lane { position: absolute; left: 50%; top: -100%; bottom: 0; width: 6px; margin-left: -3px;
  background: repeating-linear-gradient(to bottom, var(--accent) 0 40px, transparent 40px 90px); animation: lane 0.9s linear infinite; }
@keyframes lane { to { transform: translateY(90px); } }
.tour__horizon { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(228, 104, 48, .9), transparent); box-shadow: 0 0 30px 6px rgba(228, 104, 48, .35); }
.tour { padding: 24px 0 200px; }
.tour__label, .tour__title { z-index: 1; }
.tour__title {
  background: linear-gradient(90deg, var(--white) 50%, transparent 50%); background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; transition: background-position 1.4s var(--ease-out) .3s;
  text-shadow: 0 0 40px rgba(228, 104, 48, .25);
}
.tour.is-in .tour__title, html:not(.js) .tour__title { background-position: 0 0; }

/* Waitlist: live racing-line border */
.entry::before {
  content: ""; position: absolute; inset: -1px; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 62%, rgba(228, 104, 48, .2) 70%, var(--accent) 86%, #FFB48A 90%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-run 5s linear infinite;
}
@keyframes border-run { to { --a: 360deg; } }
.entry { box-shadow: 0 40px 90px -30px rgba(228, 104, 48, .28); }

/* Checkered flag on success */
.flag { display: grid; grid-template-columns: repeat(8, 12px); grid-auto-rows: 12px; width: max-content; margin-bottom: 22px; transform: skewY(-6deg); }
.flag:empty { display: none; }
.flag i { animation: wave 1.4s ease-in-out infinite; animation-delay: calc(var(--c) * 90ms); }
.flag i.b { background: var(--white); }
.flag i.n { background: rgba(255, 255, 255, .06); }
@keyframes wave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Language switch */
.lang { display: inline-flex; border: 1px solid var(--line-strong); }
.lang a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 36px; padding: 0 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-decoration: none; color: var(--text-faint);
  transition: color var(--dur-fast), background-color var(--dur-fast);
}
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { background: var(--white); color: var(--navy); }
.lang--header { display: none; }
.lang--hero { position: absolute; right: var(--gutter); top: 0; }
.lang--hero a { min-height: 40px; }

/* ---------- Breakpoints ---------- */
.site-header .btn--sm { white-space: nowrap; }
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .brand img { height: 24px; }
  .site-header .btn--sm { padding: 8px 10px; font-size: .6875rem; letter-spacing: .06em; --cut: 7px; }
}

@media (min-width: 480px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .entry { padding: 36px 32px 30px; }
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 76px; }
  .brand img { height: 36px; }
  .lang--header { display: inline-flex; margin-left: auto; }
  .lang--hero { display: none; }
  .btn--sm { padding: 10px 18px; font-size: .8125rem; }
  .section { padding-block: 136px; }
  .hero__mark { width: 78vw; right: -18vw; top: 14%; opacity: .16; }
  .hero__line { height: 100%; top: 0; }
  .modules { gap: 16px; }
  .module { padding: 24px 22px 26px; }
  .module__title { font-size: 1.375rem; }
  .exp-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .exp { grid-column: span 2; min-height: 300px; padding: 28px; }
  .exp--wide { grid-column: span 3; }
  .exp__art { width: 62%; }
  .tour { margin-top: 96px; padding-top: 24px; padding-bottom: 240px; }
  .tour__road { height: 240px; }
}

@media (min-width: 1024px) {
  .sector-nav { display: flex; gap: 4px; }
  .sector-nav a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
    font-family: var(--font-display); font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--text-faint); text-decoration: none; transition: color var(--dur-fast);
  }
  .sector-nav a span { color: var(--text-faint); transition: color var(--dur-fast); }
  .sector-nav a:hover, .sector-nav a[aria-current="true"] { color: var(--text); }
  .sector-nav a[aria-current="true"] span { color: var(--accent); }
  .split { grid-template-columns: 5fr 6fr; gap: 72px; }
  .split--form { grid-template-columns: 1fr 1fr; gap: 88px; }
  .split--form .split__text { position: sticky; top: calc(var(--header-h) + 64px); }
  .modules { grid-template-columns: repeat(4, 1fr); }
  .module { min-height: 300px; }
  .hero__title { font-size: clamp(4rem, 8.2vw, 7.6rem); }
  .hero__lead { font-size: 1.3125rem; }
  .hero__mark { width: 62vw; right: -10vw; top: 12%; opacity: .2; }
  .lights__bulb { width: 22px; height: 22px; }
  .lights { gap: 14px; padding: 12px 16px; }
  .ticker { padding: 18px 0; }
  .ticker img { width: 72px; }
  .bignum { right: 2vw; top: 60px; }
  .tour { padding-top: 40px; }
}

@media (min-width: 1440px) {
  :root { --maxw: 1320px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__line { clip-path: inset(0 0 0 0); }
  .js .art-draw { stroke-dashoffset: 0; }
  .js .art-bar { transform: none; }
  .hero__grid-inner { animation: none; transform: rotateX(64deg); }
  .result__icon path { stroke-dashoffset: 0; }
  .js .hero__title .w, .js .hero__fade { opacity: 1; transform: none; filter: none; }
  .ticker__track { animation: none; }
  .trio span, .tour__title { background-position: 0 0; }
  .entry::before { animation: none; }
  .btn--primary::after { display: none; }
}

/* ---------- Sub-pages (privacy, confirm, unsubscribe) ---------- */
.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page__header { padding: 20px var(--gutter); max-width: var(--maxw); margin-inline: auto; width: 100%; }
.page__header img { height: 30px; width: auto; }
.page__header--lang { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page__main { flex: 1; width: 100%; max-width: 760px; margin-inline: auto; padding: 40px var(--gutter) 80px; }
.page__main--center { display: flex; flex-direction: column; justify-content: center; }
.prose h1 { font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: clamp(2rem, 7vw, 3rem); line-height: 1; margin-bottom: 12px; }
.prose h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 1.125rem; margin: 40px 0 12px; color: var(--accent); }
.prose p, .prose li { color: var(--text-muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-underline-offset: 3px; }
.prose .meta { color: var(--text-faint); font-size: .9375rem; }
.status-card { padding: 36px 28px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.status-card .btn { margin-top: 28px; }
