/* Theyral — static showcase. No framework, no tracking, no remote dependency. */
:root {
  --ink: #050a09;
  --ink-2: #07110f;
  --ink-3: #0b1714;
  --paper: #f0eee6;
  --muted: #9ea6a0;
  --line: rgba(235, 238, 227, .14);
  --moss: #6f8e5c;
  --jade: #a9d0b1;
  --pollen: #e6c677;
  --ember: #ef7252;
  --electric: #8ad9d3;
  --shell: min(1240px, calc(100vw - 64px));
  --display: "Arial Narrow", "Aptos Display", "Segoe UI", sans-serif;
  --body: "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 25%, rgba(64, 103, 87, .1), transparent 32rem),
    var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
::selection { color: var(--ink); background: var(--pollen); }

:focus-visible {
  outline: 2px solid var(--pollen);
  outline-offset: 5px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(110px, 13vw, 200px);
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--pollen), var(--jade), var(--ember));
  transform: scaleX(0);
  transform-origin: left;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 150;
  opacity: .045;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 17% 32%, transparent 0 1px, #fff 1px 1.7px, transparent 1.7px 4px),
    repeating-radial-gradient(circle at 71% 62%, transparent 0 1px, #fff 1px 1.5px, transparent 1.5px 5px);
  background-size: 93px 71px, 121px 103px;
  mix-blend-mode: soft-light;
}

.cursor-light {
  position: fixed;
  z-index: 149;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(190, 220, 194, .08), transparent 68%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity .5s ease;
}

@media (pointer: fine) {
  body:hover .cursor-light { opacity: 1; }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
  padding-inline: max(32px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid transparent;
  transition: min-height .35s ease, background .35s ease, border-color .35s ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  border-color: var(--line);
  background: rgba(5, 10, 9, .78);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .18em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  overflow: visible;
}

.brand-mark path:first-child {
  fill: rgba(230, 198, 119, .07);
  stroke: var(--pollen);
  stroke-width: 1.7;
}

.brand-mark path:nth-child(2) {
  fill: none;
  stroke: var(--pollen);
  stroke-width: 1.2;
  opacity: .75;
}

.brand-mark circle { fill: var(--pollen); }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  color: rgba(240, 238, 230, .72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--pollen);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease-out);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding-inline: 18px;
  border: 1px solid rgba(240, 238, 230, .28);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.header-cta:hover { color: var(--ink); border-color: var(--paper); background: var(--paper); }

.menu-toggle, .mobile-nav { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: max(720px, 100svh);
  overflow: hidden;
  background: #06100e;
}

.hero-bg,
.hero-shade,
.hero-rings { position: absolute; inset: 0; }

.hero-bg {
  z-index: -4;
  inset: -5%;
  background-image: url("assets/hero-theyral.webp");
  background-position: center 52%;
  background-size: cover;
  transform: scale(1.06);
  will-change: transform;
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 9, 9, .98) 0%, rgba(4, 9, 9, .78) 30%, rgba(4, 9, 9, .1) 65%, rgba(4, 9, 9, .18) 100%),
    linear-gradient(0deg, rgba(5, 10, 9, 1) 0%, transparent 38%, rgba(2, 7, 8, .3) 100%);
}

.hero-rings { z-index: -2; pointer-events: none; }

.ring {
  position: absolute;
  top: 55%;
  left: 63%;
  border: 1px solid rgba(215, 231, 210, .15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: breathe 6s ease-in-out infinite;
}

.ring::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 18px var(--jade);
}

.ring-one { width: min(38vw, 550px); aspect-ratio: 1; }
.ring-two { width: min(52vw, 760px); aspect-ratio: 1; animation-delay: -2s; }
.ring-three { width: min(66vw, 980px); aspect-ratio: 1; animation-delay: -4s; }

@keyframes breathe {
  0%, 100% { opacity: .35; transform: translate(-50%, -50%) scale(.98); }
  50% { opacity: .8; transform: translate(-50%, -50%) scale(1.02); }
}

.hero-content {
  position: relative;
  align-self: center;
  z-index: 2;
  padding-block: 150px 180px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--pollen);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section-intro h2,
.game-copy h2,
.media-heading h2,
.world-note h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(60px, 8.25vw, 126px);
  font-weight: 650;
  line-height: .84;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

h1 em, h2 em {
  color: transparent;
  font-style: normal;
  font-weight: 350;
  -webkit-text-stroke: 1px rgba(240, 238, 230, .72);
}

.hero-lead {
  max-width: 520px;
  margin: 34px 0 0;
  color: rgba(240, 238, 230, .7);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
}

.hero-actions,
.game-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 210px;
  min-height: 58px;
  padding-inline: 24px 17px;
  overflow: hidden;
  border: 1px solid rgba(240, 238, 230, .25);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .35s ease, border-color .35s ease, transform .35s var(--ease-out);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  transform: translateX(-101%);
  transition: transform .45s var(--ease-out);
}

.button i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  font-style: normal;
  transition: transform .35s var(--ease-out);
}

.button:hover { color: var(--ink); border-color: var(--paper); transform: translateY(-2px); }
.button:hover::before { transform: translateX(0); }
.button:hover i { transform: rotate(-8deg) translate(2px, 2px); }

.button-primary { color: var(--ink); border-color: var(--pollen); background: var(--pollen); }
.button-primary i { background: rgba(5, 10, 9, .14); }
.button-primary::before { background: var(--paper); }

.button-ghost { background: rgba(5, 10, 9, .1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.hero-meta {
  position: absolute;
  right: 0;
  bottom: 40px;
  left: 0;
  display: flex;
  justify-content: flex-end;
  gap: clamp(30px, 5vw, 76px);
  padding-right: 4px;
}

.hero-meta div { display: grid; gap: 5px; }
.hero-meta span { color: var(--pollen); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.hero-meta b { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(240, 238, 230, .55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: left bottom;
}

.scroll-cue i { position: relative; width: 58px; height: 1px; overflow: hidden; background: rgba(240,238,230,.2); }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--paper); animation: scan 2.2s ease-in-out infinite; }

@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(110%); } }

.signal-strip {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #09110f;
  white-space: nowrap;
}

.signal-strip > div {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.signal-strip span {
  padding: 20px 38px;
  color: rgba(240, 238, 230, .38);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
}

.signal-strip i { color: var(--pollen); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.world {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 90%, rgba(99, 133, 104, .14), transparent 35rem),
    var(--ink);
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr minmax(260px, .48fr);
  align-items: end;
  gap: 80px;
}

.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro h2,
.game-copy h2,
.world-note h2,
.contact h2 { font-size: clamp(52px, 7vw, 102px); }

.section-copy,
.game-lead,
.world-note-copy p {
  margin: 0;
  color: rgba(240, 238, 230, .64);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
}

.game-gateway {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: clamp(62px, 8vw, 110px);
}

.gateway-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 610px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1412;
  transition: border-color .4s ease, transform .5s var(--ease-out);
}

.gateway-card::before,
.gateway-card::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.gateway-card::before { inset: 0; opacity: .55; transition: transform .7s var(--ease-out), opacity .5s ease; }
.gateway-card::after { inset: auto 0 0; height: 55%; background: linear-gradient(transparent, rgba(3, 8, 7, .93)); }
.gateway-tribes::before { background: radial-gradient(circle at 55% 35%, rgba(181, 200, 125, .27), transparent 42%), linear-gradient(145deg, #15241b, #07100e 70%); }
.gateway-race::before { background: radial-gradient(circle at 47% 36%, rgba(239, 114, 82, .22), transparent 38%), linear-gradient(145deg, #1d1714, #080e0d 70%); }
.gateway-card:hover { border-color: rgba(240, 238, 230, .35); transform: translateY(-8px); }
.gateway-card:hover::before { opacity: .85; transform: scale(1.04); }

.gateway-number { color: rgba(240, 238, 230, .45); font-size: 11px; font-weight: 800; letter-spacing: .15em; }

.gateway-symbol {
  position: absolute;
  top: 82px;
  left: 50%;
  width: min(46%, 230px);
  color: var(--pollen);
  filter: drop-shadow(0 0 45px rgba(230, 198, 119, .2));
  transform: translateX(-50%);
  transition: transform .6s var(--ease-out);
}

.gateway-card:hover .gateway-symbol { transform: translateX(-50%) scale(1.06) rotate(2deg); }
.gateway-symbol svg { overflow: visible; }
.gateway-symbol path:first-child { fill: rgba(230, 198, 119, .05); stroke: currentColor; stroke-width: 1.3; }
.gateway-symbol path:nth-child(2) { fill: none; stroke: currentColor; stroke-width: .8; opacity: .75; }
.gateway-symbol circle { fill: currentColor; }
.race-symbol { color: var(--ember); }
.race-symbol circle { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 5 4; }
.race-symbol path { fill: none !important; stroke: currentColor !important; stroke-width: 1.5 !important; }

.gateway-copy { position: relative; z-index: 2; margin-top: auto; }
.gateway-copy p { margin: 0 0 8px; color: var(--pollen); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.gateway-race .gateway-copy p { color: var(--ember); }
.gateway-copy h3 { margin: 0; font-family: var(--display); font-size: clamp(58px, 6vw, 92px); line-height: .9; letter-spacing: -.06em; }
.gateway-copy ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.gateway-copy li { padding: 8px 11px; border: 1px solid rgba(240, 238, 230, .15); border-radius: 100px; color: rgba(240, 238, 230, .58); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gateway-arrow { position: absolute; right: 30px; bottom: 30px; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 50%; font-size: 22px; transition: color .3s ease, background .3s ease, transform .3s ease; }
.gateway-card:hover .gateway-arrow { color: var(--ink); background: var(--paper); transform: rotate(-8deg); }
.gateway-copy { padding-right: 74px; }

.tribes-section {
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 0;
  background: #0b0d09;
}

.tribes-aura {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -15%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(144, 115, 49, .2), transparent 65%);
  filter: blur(20px);
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, .7fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
}

.game-copy h2 em { -webkit-text-stroke-color: rgba(230, 198, 119, .8); }
.game-lead { max-width: 650px; margin-top: 34px; }

.game-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 52px 0 0;
  padding-block: 24px;
  border-block: 1px solid rgba(230, 198, 119, .18);
}

.game-stats div { display: grid; gap: 3px; padding-inline: 22px; border-right: 1px solid rgba(230, 198, 119, .16); }
.game-stats div:first-child { padding-left: 0; }
.game-stats div:last-child { border-right: 0; }
.game-stats dt { color: var(--pollen); font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1; }
.game-stats dd { margin: 0; color: rgba(240, 238, 230, .52); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

.button-warm { color: #20180c; border-color: var(--pollen); background: var(--pollen); }
.button-warm::before { background: #f3e4b5; }
.button-warm i { background: rgba(32, 24, 12, .14); }
.platform-note { display: flex; align-items: center; gap: 10px; color: rgba(240, 238, 230, .48); font-size: 11px; letter-spacing: .03em; }
.platform-note i { width: 6px; height: 6px; border-radius: 50%; background: #94bd68; box-shadow: 0 0 10px #94bd68; }

.phone-showcase {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  padding-block: 55px;
  perspective: 1200px;
}

.phone-halo { position: absolute; top: 18%; left: 50%; width: 135%; aspect-ratio: 1; border: 1px solid rgba(230, 198, 119, .15); border-radius: 50%; transform: translateX(-50%); }
.phone-halo::before, .phone-halo::after { content: ""; position: absolute; inset: 9%; border: inherit; border-radius: inherit; }
.phone-halo::after { inset: 20%; }

.phone-frame {
  position: relative;
  z-index: 2;
  margin-inline: auto;
  width: min(82%, 330px);
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(240, 238, 230, .35);
  border-radius: 44px;
  background: #050706;
  box-shadow: 0 36px 80px rgba(0, 0, 0, .52), inset 0 0 0 2px #161a18;
  transform: rotateY(-7deg) rotateX(2deg);
}

.phone-frame img { width: 100%; border-radius: 35px; }
.phone-speaker { position: absolute; z-index: 3; top: 16px; left: 50%; width: 30%; height: 18px; border-radius: 0 0 13px 13px; background: #050706; transform: translateX(-50%); }

.floating-card {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 3px;
  min-width: 122px;
  padding: 15px;
  border: 1px solid rgba(230, 198, 119, .26);
  background: rgba(14, 14, 9, .78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 35px rgba(0,0,0,.28);
}

.floating-card span { color: var(--pollen); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.floating-card b { font-size: 18px; font-weight: 600; }
.floating-card-top { top: 20%; right: -7%; }
.floating-card-bottom { bottom: 14%; left: -15%; }

.feature-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(90px, 11vw, 160px);
  border-top: 1px solid rgba(230, 198, 119, .16);
}

.feature-line article { padding: 36px 36px 0 0; border-right: 1px solid rgba(230, 198, 119, .16); }
.feature-line article + article { padding-left: 36px; }
.feature-line article:last-child { border-right: 0; }
.feature-line span { color: var(--pollen); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.feature-line h3 { margin: 30px 0 12px; font-family: var(--display); font-size: 27px; text-transform: uppercase; }
.feature-line p { max-width: 300px; margin: 0; color: rgba(240, 238, 230, .5); font-size: 14px; line-height: 1.65; }

.media-lab { padding-block: clamp(130px, 14vw, 210px); }
.media-heading { display: grid; grid-template-columns: 1fr minmax(250px, .42fr); align-items: end; gap: 70px; }
.media-heading h2 { font-size: clamp(48px, 6vw, 88px); }
.media-heading h2 em { -webkit-text-stroke-color: rgba(230, 198, 119, .8); }
.media-heading > p { margin: 0 0 8px; color: rgba(240, 238, 230, .52); line-height: 1.7; }

.media-tabs { display: flex; gap: 8px; margin-top: 55px; overflow-x: auto; scrollbar-width: none; }
.media-tabs::-webkit-scrollbar { display: none; }
.media-tabs button { flex: 0 0 auto; padding: 14px 18px; border: 1px solid rgba(240, 238, 230, .13); border-radius: 100px; color: rgba(240, 238, 230, .48); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.media-tabs button span { margin-right: 8px; color: var(--pollen); }
.media-tabs button:hover, .media-tabs button[aria-selected="true"] { color: var(--paper); border-color: rgba(230, 198, 119, .38); background: rgba(230, 198, 119, .08); }

.media-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(72vw, 760px);
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(230, 198, 119, .18);
  background:
    radial-gradient(circle at center, rgba(161, 126, 50, .18), transparent 31%),
    linear-gradient(145deg, #10140e, #080b09);
}

.media-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(230,198,119,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(230,198,119,.14) 1px, transparent 1px); background-size: 54px 54px; -webkit-mask-image: radial-gradient(circle, #000, transparent 72%); mask-image: radial-gradient(circle, #000, transparent 72%); }
.media-grid::before { content: ""; position: absolute; top: 50%; left: 50%; width: min(48vw, 590px); aspect-ratio: 1; border: 1px solid rgba(230,198,119,.35); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 70px rgba(230,198,119,.035), 0 0 0 140px rgba(230,198,119,.025); }

.media-content { position: relative; z-index: 2; display: grid; place-items: center; width: 100%; min-height: inherit; padding: 50px 50px 88px; }
.stage-device { width: min(32vw, 310px); padding: 7px; border: 1px solid rgba(240,238,230,.35); border-radius: 34px; background: #050706; box-shadow: 0 30px 70px rgba(0,0,0,.54); }
.stage-device img { width: 100%; border-radius: 27px; }
.media-placeholder { display: grid; place-items: center; gap: 18px; text-align: center; }
.media-placeholder .play-icon { display: grid; place-items: center; width: 92px; aspect-ratio: 1; border: 1px solid rgba(230,198,119,.5); border-radius: 50%; color: var(--pollen); font-size: 24px; box-shadow: 0 0 60px rgba(230,198,119,.12); }
.media-placeholder strong { font-family: var(--display); font-size: 28px; letter-spacing: .04em; text-transform: uppercase; }
.media-placeholder small { color: rgba(240,238,230,.42); letter-spacing: .1em; text-transform: uppercase; }

.media-caption { position: absolute; z-index: 4; right: 24px; bottom: 20px; left: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; border-top: 1px solid rgba(240,238,230,.13); color: rgba(240,238,230,.48); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.media-caption button { display: flex; gap: 9px; padding: 0; border: 0; color: var(--paper); background: none; cursor: pointer; font-size: 10px; font-weight: 700; text-transform: uppercase; }

.world-note {
  background:
    linear-gradient(90deg, rgba(4,8,7,.92), rgba(4,8,7,.6)),
    radial-gradient(circle at 80% 50%, rgba(100, 138, 117, .18), transparent 34rem),
    #07100e;
}

.world-note::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 100%; background: var(--line); }
.world-note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 10vw, 160px); }
.world-note h2 { font-size: clamp(52px, 6vw, 86px); }
.world-note-copy { align-self: end; }
.world-coordinate { display: inline-block; margin-top: 50px; color: var(--jade); font-size: 9px; font-weight: 800; letter-spacing: .22em; }

.race-section {
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5,10,9,.1), rgba(5,10,9,.6)),
    radial-gradient(circle at 22% 52%, rgba(239, 114, 82, .13), transparent 30rem),
    #090c0b;
}

.race-beam { position: absolute; z-index: -1; top: -20%; bottom: -20%; width: 1px; background: linear-gradient(transparent, rgba(239,114,82,.25), transparent); transform: rotate(28deg); }
.race-beam-one { left: 23%; }
.race-beam-two { left: 77%; }

.race-layout { display: grid; grid-template-columns: minmax(420px, 1fr) minmax(0, .82fr); align-items: center; gap: clamp(70px, 9vw, 150px); }

.race-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  max-width: 650px;
}

.race-visual::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle, rgba(239,114,82,.15), transparent 61%); filter: blur(12px); }

.race-orbit { position: absolute; border: 1px solid rgba(239,114,82,.22); border-radius: 50%; }
.race-orbit::before { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 18px var(--ember); }
.orbit-a { inset: 17%; animation: race-spin 13s linear infinite; }
.orbit-b { inset: 28%; border-style: dashed; animation: race-spin 9s linear infinite reverse; }
.orbit-c { inset: 38%; border-color: rgba(138,217,211,.25); animation: race-spin 6s linear infinite; }
@keyframes race-spin { to { transform: rotate(360deg); } }

.race-core { position: relative; display: grid; place-items: center; width: 18%; aspect-ratio: 1; border: 1px solid rgba(240,238,230,.3); border-radius: 50%; background: rgba(239,114,82,.05); box-shadow: 0 0 90px rgba(239,114,82,.23); }
.race-core span { width: 28%; height: 2px; background: var(--paper); box-shadow: 0 -9px 0 var(--ember), 0 9px 0 var(--electric); transform: rotate(-35deg); }

.race-telemetry { position: absolute; display: grid; gap: 3px; min-width: 130px; padding: 14px; border-left: 1px solid rgba(239,114,82,.5); background: rgba(5,10,9,.52); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.race-telemetry span { color: rgba(240,238,230,.36); font-size: 8px; font-weight: 800; letter-spacing: .2em; }
.race-telemetry b { font-size: 13px; letter-spacing: .05em; }
.telemetry-top { top: 20%; right: 3%; }
.telemetry-bottom { bottom: 22%; left: 0; }
.race-reveal-label { position: absolute; right: 7%; bottom: 5%; display: grid; gap: 2px; text-align: right; }
.race-reveal-label span { color: var(--ember); font-family: var(--display); font-size: clamp(40px, 5vw, 74px); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.race-reveal-label b { color: rgba(240,238,230,.45); font-size: 8px; letter-spacing: .2em; text-transform: uppercase; }

.race-copy .eyebrow { color: var(--ember); }
.race-copy h2 em { -webkit-text-stroke-color: rgba(239, 114, 82, .75); }
.race-status { display: flex; align-items: center; gap: 15px; margin-block: 42px; padding: 18px; border: 1px solid rgba(239,114,82,.2); background: rgba(239,114,82,.045); }
.race-status > div { display: grid; gap: 2px; }
.race-status small { color: rgba(240,238,230,.4); font-size: 8px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.race-status strong { font-size: 13px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(239,114,82,.5); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 11px rgba(239,114,82,0); } 100% { box-shadow: 0 0 0 0 rgba(239,114,82,0); } }
.button-race { border-color: var(--ember); background: rgba(239,114,82,.08); }
.button-race::before { background: var(--ember); }

.contact {
  isolation: isolate;
  min-height: 780px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background: #07100e;
}

.contact-glow { position: absolute; z-index: -1; top: 50%; left: 50%; width: min(80vw, 900px); aspect-ratio: 1; border: 1px solid rgba(169,208,177,.1); border-radius: 50%; background: radial-gradient(circle, rgba(111,142,92,.16), transparent 55%); transform: translate(-50%,-50%); }
.contact-glow::before, .contact-glow::after { content: ""; position: absolute; inset: 12%; border: inherit; border-radius: inherit; }
.contact-glow::after { inset: 27%; }
.contact-inner { display: grid; justify-items: center; }
.contact .eyebrow::before { display: none; }
.contact h2 { font-size: clamp(60px, 8vw, 118px); }
.contact h2 em { -webkit-text-stroke-color: rgba(169,208,177,.72); }
.contact-inner > p:not(.eyebrow) { max-width: 540px; margin: 35px 0; color: rgba(240,238,230,.55); font-size: 17px; }
.contact-link { display: inline-flex; align-items: center; gap: 45px; padding: 16px 0; border-bottom: 1px solid var(--jade); color: var(--jade); font-family: var(--display); font-size: clamp(20px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.contact-link i { font-style: normal; transition: transform .3s var(--ease-out); }
.contact-link:hover i { transform: translate(5px,-5px); }
.contact-meta { display: flex; gap: 24px; margin-top: 70px; color: rgba(240,238,230,.26); font-size: 8px; font-weight: 800; letter-spacing: .22em; }

.site-footer { padding-block: 34px; border-top: 1px solid var(--line); background: #040807; }
.site-footer .shell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.footer-brand { font-size: 13px; }
.footer-brand .brand-mark { width: 28px; height: 28px; }
.site-footer p { margin: 0; color: rgba(240,238,230,.34); font-size: 11px; }
.site-footer .shell > div { justify-self: end; display: flex; gap: 24px; color: rgba(240,238,230,.32); font-size: 10px; }
.site-footer a:hover { color: var(--paper); }

.media-dialog {
  width: min(92vw, 1100px);
  max-height: 92vh;
  padding: 54px 24px 24px;
  overflow: hidden;
  border: 1px solid rgba(240,238,230,.2);
  color: var(--paper);
  background: #080d0b;
  box-shadow: 0 40px 140px #000;
}
.media-dialog::backdrop { background: rgba(0,0,0,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.media-dialog > button { position: absolute; top: 16px; right: 18px; padding: 6px 0; border: 0; color: rgba(240,238,230,.6); background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.media-dialog > button span { margin-left: 8px; color: var(--paper); font-size: 20px; vertical-align: -2px; }
.media-dialog [data-dialog-content] { display: grid; place-items: center; max-height: calc(92vh - 80px); }
.media-dialog img { max-height: calc(92vh - 80px); width: auto; }
.media-dialog video { display: block; width: 100%; max-height: calc(92vh - 80px); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s ease, transform .85s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 40px, 780px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 76px; padding-inline: 20px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { justify-self: end; display: grid; gap: 7px; width: 44px; height: 44px; padding: 13px 9px; border: 1px solid var(--line); border-radius: 50%; background: rgba(5,10,9,.3); cursor: pointer; }
  .menu-toggle span { display: block; width: 100%; height: 1px; background: var(--paper); transition: transform .3s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 100px 32px 40px; background: rgba(5,10,9,.97); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { display: flex; align-items: baseline; gap: 20px; padding-block: 12px; font-family: var(--display); font-size: clamp(34px, 10vw, 60px); font-weight: 650; letter-spacing: -.04em; text-transform: uppercase; }
  .mobile-nav a span { color: var(--pollen); font-family: var(--body); font-size: 9px; letter-spacing: .16em; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,9,9,.94), rgba(4,9,9,.28)), linear-gradient(0deg, #050a09 0%, transparent 52%, rgba(2,7,8,.25) 100%); }
  .hero-content { padding-block: 130px 180px; }
  .hero-meta { justify-content: flex-start; padding-left: 85px; }
  .hero-meta div:last-child { display: none; }
  .ring { left: 70%; }
  .section-intro, .media-heading { grid-template-columns: 1fr; gap: 35px; }
  .game-gateway { grid-template-columns: 1fr; }
  .gateway-card { min-height: 560px; }
  .game-layout { grid-template-columns: 1fr; }
  .phone-showcase { margin-top: 20px; }
  .feature-line { grid-template-columns: 1fr; }
  .feature-line article, .feature-line article + article { padding: 30px 0; border-right: 0; border-bottom: 1px solid rgba(230,198,119,.14); }
  .feature-line article:last-child { border-bottom: 0; }
  .feature-line h3 { margin-top: 16px; }
  .media-stage { min-height: 700px; }
  .stage-device { width: min(55vw, 300px); }
  .world-note::before { display: none; }
  .world-note-grid { grid-template-columns: 1fr; gap: 60px; }
  .race-layout { grid-template-columns: 1fr; }
  .race-visual { justify-self: center; order: 2; max-width: 600px; }
  .race-copy { order: 1; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100vw - 32px); }
  .section { padding-block: 100px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 31px; height: 31px; }
  .hero { min-height: 820px; }
  .hero-bg { inset: 0; background-position: 59% center; transform: none !important; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,9,9,.93), rgba(4,9,9,.2)), linear-gradient(0deg, #050a09 0%, rgba(4,9,9,.42) 42%, rgba(2,7,8,.2) 100%); }
  .hero-content { align-self: end; padding-block: 120px 190px; }
  .hero h1 { font-size: clamp(49px, 15vw, 74px); line-height: .88; }
  .hero-lead { margin-top: 27px; font-size: 16px; line-height: 1.55; }
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; margin-top: 28px; }
  .button { width: 100%; }
  .hero-meta { bottom: 43px; gap: 34px; padding-left: 66px; }
  .hero-meta b { font-size: 8px; }
  .scroll-cue { bottom: 36px; left: 21px; }
  .ring { left: 70%; top: 35%; }
  .ring-one { width: 65vw; }
  .ring-two { width: 88vw; }
  .ring-three { width: 112vw; }
  .signal-strip span { padding: 17px 25px; }
  .section-intro h2, .game-copy h2, .world-note h2, .contact h2 { font-size: clamp(43px, 13vw, 68px); line-height: .89; }
  .game-gateway { margin-top: 55px; }
  .gateway-card { min-height: 475px; padding: 22px; }
  .gateway-symbol { top: 64px; width: 44%; }
  .gateway-copy h3 { font-size: 58px; }
  .gateway-arrow { right: 22px; bottom: 22px; width: 46px; height: 46px; }
  .gateway-copy { padding-right: 56px; }
  .gateway-copy li { font-size: 8px; }
  .game-layout { gap: 55px; }
  .game-stats { margin-top: 38px; }
  .game-stats div { padding-inline: 10px; }
  .game-stats dt { font-size: 24px; }
  .game-stats dd { font-size: 8px; }
  .game-actions { align-items: stretch; flex-direction: column; }
  .phone-showcase { width: 92%; padding-block: 35px; }
  .phone-frame { width: 78%; }
  .floating-card-top { right: -4%; }
  .floating-card-bottom { left: -4%; }
  .media-heading h2 { font-size: 46px; }
  .media-lab { padding-block: 110px; }
  .media-tabs { margin-right: -16px; }
  .media-stage { min-height: 590px; }
  .media-content { padding: 36px 20px 84px; }
  .stage-device { width: min(66vw, 260px); }
  .media-caption { right: 16px; bottom: 16px; left: 16px; }
  .media-caption button span { display: none; }
  .world-note-grid { gap: 45px; }
  .world-coordinate { margin-top: 35px; }
  .race-visual { margin-top: 40px; }
  .race-telemetry { min-width: 108px; padding: 10px; }
  .race-telemetry b { font-size: 11px; }
  .race-reveal-label { right: 2%; }
  .contact { min-height: 700px; }
  .contact-meta { gap: 12px; }
  .contact-link { gap: 20px; }
  .site-footer .shell { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
  .site-footer .shell > div span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-bg { transform: none !important; }
  .cursor-light { display: none; }
}

@media (prefers-contrast: more) {
  :root { --muted: #d2d7d2; --line: rgba(255,255,255,.35); }
  .hero-shade { background: linear-gradient(90deg, #020504 0 42%, rgba(2,5,4,.35)), linear-gradient(0deg, #020504, transparent 50%); }
}
