/* ============ LIMEN — immersive landing ============ */
:root {
  --bg: #0F0F12;
  --bg-2: #131318;
  --fg: #FAF7F1;
  --fg-dim: rgba(250, 247, 241, 0.55);
  --fg-faint: rgba(250, 247, 241, 0.32);
  --accent: #EAEAEA;      /* monochrome silver — matches the B&W hero video */
  --motion: 1;            /* motion intensity multiplier, tweakable */
  --grain-opacity: 0.07;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Archivo", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #0F0F12; }

/* ---------- film grain ---------- */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 60;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grain-shift 0.9s steps(4) infinite; }
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-40px, 30px); }
  50% { transform: translate(30px, -50px); }
  75% { transform: translate(-30px, -20px); }
  100% { transform: translate(0, 0); }
}

/* ---------- scroll progress hairline ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 70;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  z-index: 80;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.3s ease;
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor.is-active { opacity: 1; }
.cursor.is-hover {
  width: 52px; height: 52px;
  background: rgba(255, 194, 61, 0.15);
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor { display: none; }
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--fg-dim);
  mix-blend-mode: difference;
  transition: opacity 0.5s ease;
}
.topbar.topbar-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.topbar .brand {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar .brand-phrase {
  font-family: Helvetica, var(--font-body);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.brand-phrase .bp-word {
  display: inline-block;
  opacity: 1;
}
.brand-phrase .bp-acc { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .brand-phrase .bp-word {
    animation: bp-reveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: calc(0.06s * var(--wd, 0) + 0.1s);
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-phrase .bp-word { opacity: 1; transform: none; }
}
@keyframes bp-reveal {
  from { transform: translateY(0.5em); }
  to { transform: translateY(0); }
}
.logo-mark {
  height: 18px;
  width: auto;
  display: block;
  color: var(--fg);
  flex: 0 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer .logo-mark { height: 13px; color: var(--fg-dim); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: end center;
}
.hero-media {
  position: absolute;
  inset: -6%;
  z-index: 0;
  will-change: transform;
}
.hero-media .hero-blur { display: none; }
.hero-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}
.hero-media .hero-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  display: block;
  transform: scale(1.0);
  will-change: transform;
}
/* full-bleed hero video — endless seamless loop behind the content */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  display: block;
  z-index: 1;
  transition: opacity 0.6s linear;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity, transform;
}
.hero-video-b { opacity: 0; }
.hero-video-m { opacity: 0; display: none; }
@media (prefers-reduced-motion: no-preference) {
  /* forward dolly — slow push toward the logo at the vanishing point */
  .hero-frame {
    transform-origin: 50% 46%;
    animation: dolly-in 22s ease-in-out infinite alternate;
  }
  /* running cadence — a soft rhythmic bob, like footfalls, on every beat */
  .hero-media .hero-img {
    animation: hero-gait var(--gait-speed, 0.86s) ease-in-out infinite;
    animation-play-state: var(--gait-play, running);
  }
}
@keyframes dolly-in {
  0%   { transform: scale(1.0) translateY(0); }
  100% { transform: scale(1.06) translateY(-1%); }
}
@keyframes hero-gait {
  0%   { transform: scale(1.06) translate(-0.25%, 0); }
  25%  { transform: scale(1.066) translate(0, -0.7%); }
  50%  { transform: scale(1.06) translate(0.25%, 0); }
  75%  { transform: scale(1.066) translate(0, -0.7%); }
  100% { transform: scale(1.06) translate(-0.25%, 0); }
}
@keyframes ken-burns-mobile {
  0%   { transform: scale(1.0) translateY(0); }
  100% { transform: scale(1.06) translateY(-1%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(15, 15, 18, 0.45) 0%,
    rgba(15, 15, 18, 0.02) 45%,
    rgba(15, 15, 18, 0.82) 100%
  );
}
.hero-spot {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 40%),
    rgba(255, 255, 255, 0.1),
    transparent 70%
  );
}
.hero-type {
  position: relative;
  z-index: 3;
  text-align: center;
  will-change: transform;
  padding: 0 16px;
  margin-bottom: 108px;
}
.hero-logo {
  width: min(62vw, 720px);
  height: auto;
  display: block;
  margin: 0 auto 10px;
  color: var(--fg);
}
@media (max-width: 700px) {
  .hero-logo { width: 80vw; }
}
.hero-logo .theta,
.hero-logo .echo {
  transform-box: fill-box;
  transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-logo .theta {
    opacity: 0;
    transform: scale(0.9);
    animation: theta-in calc(1s / max(var(--motion), 0.25)) cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  }
  .hero-logo .echo {
    opacity: 0;
    transform: translateX(56px);
    animation: echo-in calc(0.8s / max(var(--motion), 0.25)) cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero-logo .echo-1 { animation-delay: 0.55s; }
  .hero-logo .echo-2 { animation-delay: 0.72s; }
}
@keyframes theta-in {
  to { opacity: 1; transform: scale(1); }
}
@keyframes echo-in {
  to { opacity: 1; transform: translateX(0); }
}
.hero-type h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 6.5vw, 96px);
  line-height: 1;
  letter-spacing: 0.18em;
  display: flex;
  justify-content: center;
  padding-left: 0.18em; /* optically recenter for tracking */
}
.hero-type h1 .ltr {
  display: inline-block;
  overflow: hidden;
}
.hero-type h1 .ltr i {
  display: inline-block;
  font-style: normal;
  transform: translateY(115%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-type h1 .ltr i {
    animation: letter-up calc(0.9s / max(var(--motion), 0.25)) cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.08s * var(--d, 0) + 0.2s);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-type h1 .ltr i { transform: none; }
}
@keyframes letter-up {
  to { transform: translateY(0); }
}
.hero-type h1 .outline i {
  color: transparent;
  -webkit-text-stroke: 2px var(--fg);
}
.hero-word {
  display: block;
  width: clamp(210px, 32vw, 360px);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 44px rgba(0, 0, 0, 0.65));
}
.hero-tag {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}
.hero-sub {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.78);
  text-shadow: 0 2px 18px rgba(15, 15, 18, 0.8);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-sub { animation: fade-in 1.2s ease 1s forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sub { opacity: 1; }
}
@keyframes fade-in { to { opacity: 1; } }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue .cue-chevron {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--fg);
  border-bottom: 1.5px solid var(--fg);
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue .cue-chevron { animation: cue-bounce 1.6s ease-in-out infinite; }
}
@keyframes cue-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(3px, 3px); }
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue::after { animation: cue-drop 1.8s ease-in-out infinite; }
}
@keyframes cue-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(250, 247, 241, 0.12);
  border-bottom: 1px solid rgba(250, 247, 241, 0.12);
  padding: 18px 0;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
}
.marquee-chunk {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.marquee-chunk em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg-dim);
}
.marquee-chunk .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 36px;
  flex: 0 0 auto;
}

/* ---------- manifesto ---------- */
.manifesto {
  min-height: 130vh;
  display: grid;
  align-items: center;
  padding: 18vh 8vw;
}
.manifesto-inner { max-width: 1100px; margin: 0 auto; }
.manifesto .kicker { margin-bottom: 38px; }
.manifesto-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 78px);
  line-height: 1.12;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}
.manifesto-text .w {
  color: rgba(250, 247, 241, 0.14);
  transition: color 0.35s ease;
}
.manifesto-text .w.on { color: var(--fg); }
.manifesto-text .w.accent.on { color: var(--accent); }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

/* ---------- product tease ---------- */
.product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: 16vh 8vw;
  background: var(--bg-2);
}
.product-media {
  position: relative;
  will-change: transform;
}
.product-media image-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
}
.product-media .tag {
  position: absolute;
  top: -14px;
  left: -14px;
  z-index: 2;
  background: var(--accent);
  color: #0F0F12;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 8px 14px;
}
.product-copy h2 {
  margin: 26px 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
.product-copy p {
  margin: 0;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-dim);
}
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; padding: 12vh 7vw; }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity calc(0.9s / max(var(--motion), 0.25)) ease,
    transform calc(0.9s / max(var(--motion), 0.25)) cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal { transition-delay: calc(var(--ri, 0) * 0.07s); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- waitlist ---------- */
.waitlist {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 8vh 7vw;
  text-align: left;
  overflow: hidden;
}
.wl-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #000000;
}
/* recolor the route + runner dot (overrides inline presentation attrs) */
.route-line { stroke: #FFFFFF; }
.runner-dot { fill: #FFFFFF; }
/* signup background photo */
.wl-runner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  z-index: 0;
  opacity: 0.92;
  filter: grayscale(1) brightness(0.82) contrast(1.08);
  pointer-events: none;
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .wl-runner { animation: runner-drift 18s ease-in-out infinite; }
}
@keyframes runner-drift {
  0%   { transform: scale(1.05) translateY(0); }
  50%  { transform: scale(1.09) translateY(-1.5%); }
  100% { transform: scale(1.05) translateY(0); }
}
/* animated marathon route map background */
.route-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: opacity 0.6s ease;
  background:
    radial-gradient(120% 90% at 70% 20%, rgba(255, 184, 70, 0.1) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(12,9,8,0.5) 0%, rgba(15,11,9,0.36) 50%, rgba(8,6,5,0.58) 100%);
}
.map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.route-line {
  will-change: stroke-dashoffset;
}
.runner-dot {
  opacity: 0;
}
.map-markers .mk-dot {
  fill: rgba(10, 8, 6, 0.7);
  stroke: rgba(255, 238, 222, 0.65);
  stroke-width: 3;
  transition: stroke 0.4s ease, fill 0.4s ease;
}
.map-markers .mk-label {
  font-family: 'Oswald', var(--font-display);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: 0.12em;
  fill: rgba(255, 244, 234, 0.82);
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(8, 6, 5, 0.9);
  stroke-width: 5px;
  stroke-linejoin: round;
  transition: fill 0.4s ease;
}
.map-markers .mk-start .mk-dot {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 3;
}
.map-markers .mk-start .mk-label,
.map-markers .mk-finish .mk-label {
  font-size: 31px;
  fill: #fff;
}
.map-markers .reached .mk-dot {
  fill: var(--accent);
  stroke: var(--accent);
}
.map-markers .reached .mk-label {
  fill: #fff;
}
.finish-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .route-map.arrived .finish-ring { animation: finish-pulse 1.5s ease-out infinite; }
  .km-hud .km-live { animation: km-blink 1.4s ease-in-out infinite; }
  /* footfall: a quick pulse re-triggered by JS on each running step */
  .km-hud .km-live.footfall { animation: km-step 0.26s ease-out; }
  .km-hud .km-val.bump { animation: km-bump 0.22s ease-out; }
}
@keyframes km-step {
  0% { transform: scale(1.9); box-shadow: 0 0 0 0 rgba(255, 206, 31, 0.85); }
  100% { transform: scale(1); box-shadow: 0 0 0 7px rgba(255, 206, 31, 0); }
}
@keyframes km-bump {
  0% { transform: translateY(1px) scale(1.08); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes finish-pulse {
  0% { transform: scale(0.5); opacity: 0.85; }
  100% { transform: scale(3.6); opacity: 0; }
}
@keyframes km-blink {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 194, 61, 0.55); }
  50% { opacity: 0.6; transform: scale(0.82); box-shadow: 0 0 0 5px rgba(255, 194, 61, 0); }
}
/* live distance tracker chip */
.km-hud {
  position: absolute;
  top: 7vh;
  left: 6vw;
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 9px;
  row-gap: 2px;
  padding: 12px 18px;
  background: rgba(9, 9, 11, 0.82);
  border: 2px solid rgba(190, 190, 195, 0.85);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 24px rgba(255, 255, 255, 0.16);
  color: #fff;
}
.km-hud .km-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}
.km-hud .km-cap {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.km-hud .km-read {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.km-hud .km-val {
  font-family: 'Oswald', var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  color: var(--accent);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
}
.km-hud .km-val .km-dec {
  color: #C8CCD2;            /* silver decimal */
  font-weight: 600;
  font-size: 0.6em;
  -webkit-text-fill-color: #C8CCD2;
}
.km-hud .km-unit {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
/* speed vignette — darkens & focuses the edges */
.pov-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(95% 80% at 60% 36%, transparent 46%, rgba(6,5,4,0.74) 100%);
}
/* signup side — monochrome silver to match the B&W hero video */
.waitlist { --accent: #FFFFFF; background: #000000; }
/* full-black signup — photo kept faintly visible, glows hidden, tracker kept */
.waitlist .wl-runner {
  display: block !important;
  opacity: 0.42 !important;
  filter: grayscale(1) brightness(0.95) contrast(1.05);
}
.waitlist .wl-lightspill,
.waitlist .pov-vignette { display: none !important; }
.wl-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.4) 100%);
}
.wl-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 660px;
}
.waitlist > h2,
.waitlist > .sub,
.waitlist > .wl-form,
.waitlist > .wl-done {
  position: relative;
  z-index: 1;
}
/* signup content is always visible (clarity over fade-in) */
.wl-show {
  opacity: 1;
  transform: none;
}
.waitlist h2 {
  margin: 0 0 22px;
  font-family: 'Oswald', var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 58px);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: #fff;
}
.wl-rule {
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 0 22px;
}
.wl-lede {
  margin: 0 0 28px;
  max-width: 420px;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 700;
  color: #FFFFFF;
}
.wl-eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: #FFFFFF;
}
.wl-form {
  display: block;
  flex: 1;
  min-width: 280px;
  max-width: 420px;
  margin: 0;
  transition: border-color 0.3s ease;
}
.wl-form.shake { animation: shake 0.4s ease; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}
.wl-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
}
.wl-form input {
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  outline: 0;
  color: #fff;
  font-weight: 700;
  text-align: left;
  transition: border-color 0.3s ease;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 12px 2px;
}
.wl-row input { flex: 1; min-width: 200px; }
.wl-form input[name="name"] { margin-bottom: 16px; }
.wl-form input::placeholder { color: rgba(255, 255, 255, 0.6); font-weight: 700; }
.wl-form input:focus { border-color: var(--accent); }
.wl-form input.invalid { border-color: #FF3B3B; }
.wl-btn {
  background: var(--accent);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  margin: 0;
  align-self: stretch;
  font-family: 'Oswald', var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0F0F12;
  padding: 13px 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, filter 0.2s ease;
  will-change: transform;
}
.wl-btn:hover { filter: brightness(1.08); }
.wl-fine {
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: #FFFFFF;
}
.wl-btn .arrow { transition: transform 0.25s ease; }
.wl-btn:hover .arrow { transform: translateX(6px); }
.wl-done {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.done-eyebrow {
  margin: 0 0 2px !important;
  font-family: var(--font-body);
  font-size: 12px !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase;
  font-weight: 700;
  color: #FFFFFF !important;
}
.done-pos {
  font-family: 'Oswald', var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.05;
  white-space: nowrap;
  text-transform: uppercase;
  color: #fff;
}
.done-pos .pos-num {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
.done-label {
  margin: 2px 0 14px !important;
  font-size: 12px !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase;
  font-weight: 700 !important;
  color: #FFFFFF !important;
}
.done-sub {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  max-width: 420px;
}
.done-sub .done-name { color: #fff; font-weight: 700; }
/* ---------- referral: move up the line ---------- */
.done-referral {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 440px;
}
.ref-head {
  margin: 0 0 4px;
  font-family: 'Oswald', var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.ref-sub {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
.ref-sub strong { color: var(--accent); font-weight: 600; }
.ref-linkrow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 12px;
}
.ref-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-family: 'Oswald', var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ref-link .ref-code { color: var(--accent); }
.ref-copy {
  flex: none;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ref-copy:hover { border-color: var(--accent); color: var(--accent); }
.ref-copy.copied { background: var(--accent); border-color: var(--accent); color: #fff; }
.ref-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.ref-share, .ref-card {
  flex: 1;
  min-width: 130px;
  padding: 13px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ref-share {
  border: none;
  background: var(--accent);
  color: #0F0F12;
}
.ref-share:hover { transform: translateY(-1px); }
.ref-share .arrow { transition: transform 0.2s ease; }
.ref-share:hover .arrow { transform: translateX(5px); }
.ref-card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}
.ref-card:hover { border-color: #fff; transform: translateY(-1px); }
.ref-tally {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.ref-tally .ref-count, .ref-tally .ref-gain { color: var(--accent); font-weight: 700; }
.done-pos { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .wl-done.show .done-pos { animation: clk-in 0.5s cubic-bezier(0.16,1,0.3,1) 0.08s forwards; }
}
@keyframes clk-in {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* starting-gun flash */
.gun-flash {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
.gun-flash.fire {
  animation: gun 0.5s ease-out forwards;
}
@keyframes gun {
  0% { opacity: 0; }
  8% { opacity: 0.92; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .gun-flash.fire { animation: none; }
}
.wl-done p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.waitlist.is-done .wl-form { display: none; }
.waitlist.is-done .wl-stage { display: none; }
.waitlist.is-done .wl-eyebrow { display: none; }
.waitlist.is-done .wl-lede { display: none; }
.waitlist.is-done .wl-rule { display: none; }
.waitlist.is-done .km-hud { display: grid; }
.waitlist.is-done .wl-track { display: none; }
.waitlist.is-done .wl-done { display: flex; }

/* ---------- circular running-track progress meter ---------- */
.wl-stage {
  display: flex;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
}
.wl-track {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  height: 168px;
}
.track-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.track-svg circle {
  fill: none;
}
.track-svg .lane-deco {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}
.track-svg .lane-track {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 6;
}
.track-svg .lane {
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform: rotate(-90deg);
  transform-origin: 100px 100px;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.55));
}
.track-svg .lane.filled {
  stroke-dashoffset: 0;
}
.track-svg .start-line {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
}
.track-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}
.track-center .track-count {
  font-family: 'Oswald', var(--font-display);
  font-weight: 600;
  font-size: 46px;
  line-height: 1;
  color: #fff;
  transition: color 0.3s ease;
}
.track-center .track-total {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.wl-track.complete .track-center .track-count {
  color: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .wl-track.complete .track-center .track-count {
    animation: lap-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
}
@keyframes lap-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.22); }
  100% { transform: scale(1); }
}
@media (max-width: 560px) {
  .wl-track { width: 140px; height: 140px; }
}

/* ---------- converged funnel: hero + signup on one screen ---------- */
.funnel {
  position: relative;
  height: 100svh;
  display: flex;
  flex-direction: row;
}
.funnel .hero {
  width: 50vw;
  height: 100svh;
  min-height: 0;
}
.funnel .scroll-cue {
  display: none;
}
/* the vertical seam where brand meets action */
.funnel .waitlist {
  width: 50vw;
  height: 100svh;
  min-height: 0;
  flex: none;
  justify-content: center;
  padding: 6vh 5vw;
  border-left: 1px solid rgba(210, 190, 150, 0.5);
  box-shadow: -1px 0 40px rgba(255, 180, 90, 0.14);
}
/* fit the signup comfortably in the half-width column */
.funnel .waitlist h2 {
  font-size: clamp(30px, 3.1vw, 46px);
  margin-bottom: 14px;
}
.funnel .wl-rule { margin-bottom: 16px; }
.funnel .wl-lede {
  font-size: 14px;
  margin-bottom: 18px;
  max-width: 380px;
}
.funnel .wl-eyebrow { margin-bottom: 14px; }
.funnel .wl-form { max-width: 400px; }
.funnel .wl-stage { gap: 28px; }
.funnel .wl-track {
  position: absolute;
  bottom: 8vh;
  left: 5vw;
  right: auto;
  margin-left: 0;
  width: 118px;
  height: 118px;
  z-index: 3;
}
.funnel .track-center .track-count { font-size: 36px; }
.funnel .km-hud {
  top: auto;
  bottom: 8vh;
  left: auto;
  right: 5vw;
}
.funnel .km-hud .km-val { font-size: clamp(34px, 3.2vw, 52px); }
/* converged funnel content is always on screen — show it without scroll-reveal */
.funnel .waitlist .reveal {
  opacity: 1;
  transform: none;
}
/* MOBILE: stack the funnel vertically — hero screen, then signup screen */
@media (max-width: 760px) {
  .funnel {
    flex-direction: column;
    height: auto;
  }
  .funnel .hero {
    width: 100%;
    height: 100svh;
  }
  .funnel .scroll-cue { display: flex; }
  .funnel .waitlist {
    width: 100%;
    height: auto;
    min-height: 100svh;
    padding: 13vh 8vw calc(9vh + env(safe-area-inset-bottom));
    justify-content: center;
    border-left: none;
    border-top: 1px solid rgba(255, 194, 61, 0.55);
    box-shadow: 0 -1px 36px rgba(255, 194, 61, 0.16);
  }
  /* comfortable single-column signup */
  .funnel .waitlist h2 {
    font-size: clamp(32px, 9vw, 46px);
    margin-bottom: 14px;
  }
  .funnel .wl-rule { margin-bottom: 16px; width: 56px; }
  .funnel .wl-lede {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 22px;
    max-width: 100%;
  }
  .funnel .wl-eyebrow {
    font-size: 11px;
    letter-spacing: 0.26em;
    margin-bottom: 16px;
  }
  .funnel .wl-row { flex-direction: column; gap: 14px; }
  .funnel .wl-form input { font-size: 16px; padding: 14px 2px; }
  .funnel .wl-btn {
    width: 100%;
    min-height: 52px;
    padding: 15px 24px;
    font-size: 13px;
    justify-content: center;
  }
  .funnel .wl-stage {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .funnel .wl-track {
    width: 96px;
    height: 96px;
    bottom: calc(3vh + env(safe-area-inset-bottom));
    left: 6vw;
    right: auto;
  }
  .funnel .track-center .track-count { font-size: 32px; }
  /* distance badge — bottom-right corner */
  .funnel .km-hud {
    top: auto;
    bottom: calc(3vh + env(safe-area-inset-bottom));
    right: 6vw;
    left: auto;
    padding: 10px 16px;
    border-radius: 14px;
  }
  .funnel .km-hud .km-val { font-size: 34px; }
  .funnel .km-hud .km-cap { font-size: 9px; letter-spacing: 0.2em; }
  .funnel .km-hud .km-unit { font-size: 11px; }
  /* hero */
  .funnel .hero .hero-sub { font-size: 12px; letter-spacing: 0.2em; }
  .funnel .hero .hero-type { margin-bottom: 12vh; }
  /* confirmation state */
  .funnel .done-eyebrow { font-size: 11px !important; letter-spacing: 0.24em !important; }
  .funnel .done-pos { font-size: clamp(26px, 8vw, 36px); }
  .funnel .done-label { font-size: 11px !important; letter-spacing: 0.22em !important; margin: 4px 0 14px !important; }
  .funnel .done-sub { font-size: 13px; line-height: 1.5; }
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 32px 8vw 40px;
  border-top: 1px solid rgba(250, 247, 241, 0.1);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--fg-faint);
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--accent); }
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg) !important;
  letter-spacing: 0.18em;
}
.footer-ig svg { width: 22px; height: 22px; display: block; flex: 0 0 auto; }
.footer-ig:hover { color: var(--accent) !important; }

/* ---------- mobile optimization ---------- */
@media (max-width: 640px) {
  .topbar {
    padding: calc(12px + env(safe-area-inset-top)) 18px 12px;
    align-items: flex-start;
  }
  .topbar .brand-phrase {
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.16em !important;
    line-height: 1.6;
    max-width: 74vw;
  }

  /* hero — fills the phone, full runner visible (less zoom). Video carries the
     motion; no Ken Burns transform on top — keeps compositing cheap on phones. */
  .hero-media { inset: 0; }
  .hero-media .hero-img { object-position: 50% 46%; transform: scale(1); }
  .funnel .hero-frame { animation: none; }
  .funnel .hero-media .hero-img { animation: none; }
  /* kill always-on repaints that cause jank on mobile */
  .grain { animation: none !important; }
  .wl-runner { animation: none !important; }
  .km-hud { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  /* smoother momentum scrolling on phones */
  html { -webkit-overflow-scrolling: touch; }
  body { overscroll-behavior-y: contain; }
  .hero-type { margin-bottom: 14vh; }
  .hero-sub {
    font-size: 11px;
    letter-spacing: 0.28em;
    line-height: 1.9;
    padding: 0 22px;
  }
  .scroll-cue {
    bottom: calc(16px + env(safe-area-inset-bottom));
    font-size: 9px;
    letter-spacing: 0.4em;
  }
  .scroll-cue::after { height: 28px; }

  /* signup */
  .waitlist {
    justify-content: center;
    padding: 15vh 7vw calc(8vh + env(safe-area-inset-bottom));
  }
  .wl-content { max-width: 100%; }
  .waitlist h2 {
    font-size: clamp(32px, 10vw, 44px);
    margin-bottom: 14px;
  }
  .wl-eyebrow { font-size: 10px; letter-spacing: 0.26em; margin-bottom: 12px; }
  .wl-lede {
    font-size: 14px;
    margin-bottom: 18px;
  }
  /* keep the route map as AMBIENT texture on mobile — never competing with text */
  .route-line { stroke-width: 6; }
  .road-bed { stroke-width: 16; }
  .map-markers .mk-label {
    font-size: 19px;
    stroke-width: 4px;
    opacity: 0.6;
  }
  .map-markers .mk-start .mk-label,
  .map-markers .mk-finish .mk-label { font-size: 22px; opacity: 0.7; }
  .map-markers .mk-dot { stroke-width: 3; }
  .runner-dot { r: 8; }
  /* stronger scrim so the form + headline always read over the map */
  .wl-bg-overlay {
    background:
      linear-gradient(to bottom, rgba(7,6,5,0.82) 0%, rgba(7,6,5,0.62) 30%, rgba(7,6,5,0.72) 60%, rgba(7,6,5,0.9) 100%);
  }
  /* distance tracker — bordered badge, bottom-right corner (matches desktop) */
  .km-hud {
    top: auto;
    bottom: calc(3vh + env(safe-area-inset-bottom));
    right: 5vw;
    left: auto;
    transform: none;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(12, 9, 7, 0.86);
    border: 1.5px solid rgba(255, 194, 61, 0.7);
  }
  .km-hud .km-val { font-size: clamp(30px, 9vw, 40px); }
  .km-hud .km-cap { font-size: 9px; letter-spacing: 0.2em; }
  .km-hud .km-unit { font-size: 11px; }
  .wl-form { max-width: 100%; }
  .wl-form input {
    font-size: 16px;     /* >=16px stops iOS auto-zoom */
    padding: 14px 2px;
  }
  .wl-row { flex-direction: column; gap: 16px; }
  .wl-row input { min-width: 0; }
  .wl-btn {
    justify-content: center;
    min-height: 52px;
    width: 100%;
    padding: 14px 24px;
  }
  .wl-fine { font-size: 11px; }
  .wl-stage { gap: 24px; }

  /* footer */
  .site-footer {
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 26px 7vw calc(28px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .topbar .brand-phrase { font-size: 11px !important; letter-spacing: 0.13em !important; }
  .hero-sub { font-size: 10px; letter-spacing: 0.24em; }
  .waitlist h2 { font-size: clamp(30px, 10vw, 40px); }
}

/* short / landscape phones — keep everything in frame, no clipping */
@media (max-height: 600px) and (max-width: 900px) {
  .hero { height: 100svh; }
  .hero-type { margin-bottom: 9vh; }
  .hero-sub { font-size: 10px; }
  .scroll-cue { display: none; }
  .waitlist {
    min-height: 100svh;
    padding: 12vh 7vw calc(6vh + env(safe-area-inset-bottom));
  }
  .waitlist h2 { font-size: clamp(28px, 7vw, 40px); margin-bottom: 12px; }
  .wl-rule { margin-bottom: 14px; }
  .wl-lede { margin-bottom: 16px; }
  .wl-eyebrow { margin-bottom: 12px; }
  .wl-form input[name="name"] { margin-bottom: 12px; }
}

/* ---------- signup background watermark ---------- */
.wl-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  z-index: 0;
  font-family: 'Anton', var(--font-display);
  font-weight: 400;
  font-size: clamp(140px, 16vw, 300px);
  line-height: 1;
  letter-spacing: 0.14em;
  color: rgba(255, 194, 61, 0.06);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
/* tunnel warmth spilling across the seam into the signup side */
.wl-lightspill {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(130% 90% at -10% 44%, rgba(255, 186, 96, 0.34) 0%, rgba(255, 160, 80, 0.12) 22%, transparent 48%),
    radial-gradient(60% 60% at -4% 44%, rgba(255, 206, 130, 0.20) 0%, transparent 58%);
}
/* topographic contour map behind the route */
.topo path {
  fill: none;
  stroke: rgba(255, 194, 61, 0.09);
  stroke-width: 1.6;
}
/* coastal course — faint Arabian Sea shoreline */
.coast .sea-fill {
  fill: rgba(86, 138, 168, 0.07);
  stroke: none;
}
.coast .shore {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 2;
}
.coast .shore-2 {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1.4;
}
.coast .sea-label {
  fill: rgba(255, 255, 255, 0.12);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

/* ---------- motion disabled: render everything in its visible end-state ---------- */
.bp-word,
.reveal,
.hero-type,
.hero-sub {
  opacity: 1 !important;
  transform: none !important;
}
.hero-frame,
.hero-media .hero-img,
.hero-blur,
.scroll-cue .cue-chevron,
.road-surface,
.pov-scene,
.km-hud .km-live,
.finish-ring,
.route-map.arrived .finish-ring,
.gun-flash {
  animation: none !important;
}
