:root {
  --ink: #f3efe6;
  --muted: #b9b0a2;
  --asphalt: #12151a;
  --asphalt-2: #1c222b;
  --amber: #f0b429;
  --amber-deep: #c8890f;
  --line: rgba(243, 239, 230, 0.14);
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Manrope", "Trebuchet MS", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(240, 180, 41, 0.16), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(70, 90, 120, 0.25), transparent 55%),
    var(--asphalt);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: rgba(18, 21, 26, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.top-brand {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.top-nav {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.top-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.top-cta {
  color: var(--asphalt) !important;
  background: var(--amber);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-atmosphere {
  background:
    radial-gradient(1000px 500px at 72% -8%, rgba(240, 180, 41, 0.2), transparent 55%),
    radial-gradient(680px 400px at -5% 35%, rgba(79, 195, 247, 0.14), transparent 50%),
    radial-gradient(520px 320px at 95% 75%, rgba(76, 175, 80, 0.1), transparent 50%),
    radial-gradient(420px 280px at 40% 90%, rgba(255, 112, 67, 0.08), transparent 55%),
    linear-gradient(165deg, #0e1116 0%, #161b22 45%, #0a0c10 100%);
}

.hero-grid-scan {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 239, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 230, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  animation: gridDrift 28s linear infinite;
}

.hero-pulse {
  position: absolute;
  width: 260px;
  height: 260px;
  right: 14%;
  top: 20%;
  border-radius: 50%;
  border: 1px solid rgba(240, 180, 41, 0.28);
  box-shadow: 0 0 0 36px rgba(240, 180, 41, 0.04);
  animation: pulseRing 4.5s ease-in-out infinite;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 21, 26, 0.15) 0%, rgba(18, 21, 26, 0.45) 42%, rgba(18, 21, 26, 0.92) 100%),
    linear-gradient(90deg, rgba(18, 21, 26, 0.5) 0%, transparent 55%);
}

.hero-platform .hero-veil {
  background:
    linear-gradient(180deg, transparent 0%, rgba(18, 21, 26, 0.35) 50%, rgba(18, 21, 26, 0.92) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto 12vh 1.25rem;
  padding-bottom: 1rem;
  opacity: 0;
  transform: translateY(22px);
  animation: riseIn 0.9s ease 0.15s forwards;
}

.hero-meta {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(185, 176, 162, 0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--amber);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.8vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 400;
}

.lede {
  margin: 0.9rem 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: var(--asphalt);
}

.btn-primary:hover {
  background: #ffc84a;
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(18, 21, 26, 0.45);
  color: var(--ink);
}

.band {
  padding: 5.5rem 1.25rem;
  background:
    linear-gradient(180deg, var(--asphalt) 0%, var(--asphalt-2) 100%);
  border-top: 1px solid var(--line);
}

.band-inner {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.worlds {
  padding: 4.5rem 1.25rem 5rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(240, 180, 41, 0.08), transparent 55%),
    var(--asphalt);
}

.worlds-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.worlds h2 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.05;
  font-weight: 400;
  max-width: 18ch;
}

.world-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.world-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.05rem 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(28, 34, 43, 0.65);
  border-top: 2px solid var(--w-accent, var(--amber));
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, opacity 0.5s ease;
  min-height: 100%;
  opacity: 0;
  transform: translateY(12px);
}

.world-card.in {
  opacity: 1;
  transform: none;
}

.world-card:hover {
  transform: translateY(-3px);
  background: rgba(36, 44, 56, 0.9);
  border-color: color-mix(in srgb, var(--w-accent, var(--amber)) 45%, var(--line));
}

.world-card.in:hover {
  transform: translateY(-3px);
}

.world-icon {
  color: var(--w-accent, var(--amber));
  font-size: 1.15rem;
  line-height: 1;
}

.world-card strong {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.world-card span:last-child {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.inline-code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  color: var(--amber);
}

.band h2,
.split h2,
.closer h2 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.05;
  font-weight: 400;
  max-width: 16ch;
}

.band-lede {
  margin: 0.85rem 0 0;
  max-width: 42ch;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.steps li.in {
  opacity: 1;
  transform: none;
}

.step-num {
  display: block;
  color: var(--amber);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.steps h3 {
  margin: 0;
  font-size: 1.2rem;
}

.steps p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 34ch;
}

.split {
  display: grid;
  gap: 2rem;
  padding: 5rem 1.25rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(600px 280px at 100% 0%, rgba(240, 180, 41, 0.12), transparent 60%),
    var(--asphalt);
}

.split-copy {
  width: min(520px, 100%);
}

.split-copy p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 36ch;
}

.split-panel {
  display: grid;
  place-items: center;
}

.radio-face {
  width: min(360px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, #2a313c 0%, #151a21 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.35);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.65rem;
  padding: 1.5rem;
}

.radio-label {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.radio-face strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  color: #7dffb0;
}

.radio-meter {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.radio-meter::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber));
  animation: meterPulse 2.4s ease-in-out infinite;
}

.closer {
  padding: 5.5rem 1.25rem 6rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--asphalt-2), #0d1014);
  text-align: left;
}

.closer p {
  margin: 0.85rem 0 1.4rem;
  color: var(--muted);
  max-width: 38ch;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes gridDrift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(48px);
  }
}

@keyframes pulseRing {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes meterPulse {
  0%,
  100% {
    width: 58%;
    opacity: 0.85;
  }
  50% {
    width: 78%;
    opacity: 1;
  }
}

@media (min-width: 860px) {
  .top,
  .hero-copy,
  .band,
  .worlds,
  .split,
  .closer,
  .foot {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .hero-copy {
    margin-left: 2.5rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .steps li {
    border-top: none;
    border-left: 1px solid var(--line);
    padding: 0 0 0 1.1rem;
  }

  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .top-nav a:not(.top-cta) {
    display: none;
  }

  .hero-copy {
    margin-bottom: 8vh;
  }
}
