:root {
  --bg: #080d0f;
  --panel: #11191c;
  --panel-2: #172125;
  --ink: #e9edeb;
  --muted: #99a5a4;
  --line: rgba(183, 201, 198, 0.16);
  --brass: #e2b965;
  --brass-soft: #f1d89d;
  --cyan: #68dce6;
  --green: #67e49a;
  --red: #ef6967;
  --display: "Orbitron", ui-sans-serif, system-ui, sans-serif;
  --body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(55vw 48vw at 15% 8%, rgba(73, 132, 133, 0.12), transparent 62%),
    radial-gradient(45vw 40vw at 88% 35%, rgba(226, 185, 101, 0.08), transparent 65%),
    linear-gradient(180deg, #0c1214, #070b0d 65%);
}
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.055;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255, 255, 255, 0.25) 4px);
  mix-blend-mode: soft-light;
}

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  min-height: 70px;
  padding: 0.8rem clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 12, 14, 0.78);
  backdrop-filter: blur(18px);
}
.back {
  justify-self: start;
  color: var(--muted);
  font-size: 0.85rem;
}
.back:hover { color: var(--brass-soft); }
.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.wordmarkMain {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.wordmarkSub {
  margin-top: 0.3rem;
  color: var(--brass);
  font-family: var(--display);
  font-size: 0.46rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.topPlay {
  justify-self: end;
  padding: 0.52rem 1rem;
  color: #101516;
  background: var(--brass);
  border: 1px solid #f5d99b;
  border-radius: 3px;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.topPlay:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(226, 185, 101, 0.28); }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  z-index: 3;
  background: repeating-linear-gradient(135deg, var(--brass) 0 14px, #1e2628 14px 28px);
}
.heroImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.08) brightness(0.72);
  animation: drift 16s ease-in-out infinite alternate;
}
.heroScrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 12, 14, 0.98) 0%, rgba(7, 12, 14, 0.88) 38%, rgba(7, 12, 14, 0.24) 72%, rgba(7, 12, 14, 0.5) 100%),
    linear-gradient(180deg, rgba(7, 12, 14, 0.38), rgba(7, 12, 14, 0.2) 45%, #080d0f 100%);
}
.heroCopy {
  position: relative;
  z-index: 4;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 9rem clamp(1.2rem, 5vw, 4rem) clamp(4.5rem, 10vh, 7rem);
}
.eyebrow, .status {
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--brass);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow span, .status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}
.hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 8.2vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-shadow: 0 7px 45px #000;
}
.heroHook {
  margin: 0.9rem 0 0;
  color: var(--brass-soft);
  font-family: var(--display);
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  letter-spacing: 0.05em;
}
.lede {
  max-width: 670px;
  margin: 1.35rem 0 0;
  color: rgba(233, 237, 235, 0.8);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}
.actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.button {
  min-height: 48px;
  padding: 0.78rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 3px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #111617;
  background: linear-gradient(135deg, #f0cc82, var(--brass));
  border-color: #f6dca2;
  box-shadow: 0 12px 34px rgba(226, 185, 101, 0.18);
}
.button.primary:hover { box-shadow: 0 14px 40px rgba(226, 185, 101, 0.3); }
.button.secondary {
  color: var(--ink);
  border-color: rgba(233, 237, 235, 0.28);
  background: rgba(15, 24, 27, 0.65);
}
.button.secondary:hover { border-color: var(--cyan); }
.button.large { padding-inline: 1.8rem; min-height: 54px; }
.metaRow {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.metaRow span {
  padding: 0.38rem 0.62rem;
  color: rgba(233, 237, 235, 0.7);
  border: 1px solid rgba(233, 237, 235, 0.16);
  background: rgba(8, 13, 15, 0.62);
  font-family: var(--display);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro, .showcase, .factoryMode {
  width: min(1160px, calc(100% - 2.4rem));
  margin-inline: auto;
}
.intro { padding: clamp(5rem, 10vw, 8rem) 0 3.5rem; }
.sectionCode {
  margin: 0 0 1rem;
  color: var(--brass);
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.introGrid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}
.intro h2, .feature h2, .story h2, .factoryMode h2, .finalCta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.introGrid > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.process {
  width: min(1160px, calc(100% - 2.4rem));
  margin: 1rem auto clamp(5rem, 10vw, 8rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(17, 25, 28, 0.72);
}
.processStep {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.processStep + .processStep { border-left: 1px solid var(--line); }
.stepNo {
  color: var(--brass);
  font-family: var(--display);
  font-size: 0.64rem;
}
.processStep h3 {
  margin: 1.1rem 0 0.5rem;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.processStep p { margin: 0; color: var(--muted); }

.showcase {
  padding-bottom: clamp(5rem, 10vw, 9rem);
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 11vw, 9rem);
}
.feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.feature.reverse { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); }
.feature.reverse .featureCopy { order: 2; }
.feature.reverse .screen { order: 1; }
.featureCopy > p:not(.sectionCode) {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}
.featureCopy ul {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.featureCopy li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(233, 237, 235, 0.77);
}
.featureCopy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(104, 220, 230, 0.55);
}
.screen {
  position: relative;
  margin: 0;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(226, 185, 101, 0.33);
  background: #090e10;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 40px rgba(104, 220, 230, 0.06);
}
.screen::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 30px rgba(5, 10, 12, 0.36);
}
.screen img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.screen figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  padding: 0.35rem 0.55rem;
  color: var(--brass-soft);
  background: rgba(8, 13, 15, 0.82);
  border: 1px solid rgba(226, 185, 101, 0.3);
  font-family: var(--display);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 12, 14, 0.97), rgba(7, 12, 14, 0.64) 58%, rgba(7, 12, 14, 0.94)),
    url("./shots/title-screen.png") center / cover;
}
.storyNoise {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(104, 220, 230, 0.55) 50%, transparent 50.15%),
    repeating-linear-gradient(180deg, transparent 0 5px, rgba(255, 255, 255, 0.05) 6px);
}
.storyCopy {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 2.4rem));
  padding: 5rem 0;
}
.storyCopy > p:not(.sectionCode) {
  max-width: 640px;
  margin: 1.2rem 0 0;
  color: rgba(233, 237, 235, 0.72);
  font-size: 1.12rem;
}
.story blockquote {
  margin: 2rem 0 0;
  padding: 1.2rem 1.4rem;
  color: var(--brass-soft);
  border-left: 3px solid var(--brass);
  background: rgba(7, 12, 14, 0.72);
  font-family: var(--display);
  font-size: clamp(0.9rem, 1.8vw, 1.12rem);
  line-height: 1.65;
}

.factoryMode { padding-block: clamp(5rem, 10vw, 8rem); }
.factoryModeGrid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 7vw, 7rem);
}
.factoryModeGrid > div:first-child > p {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.unlockList {
  display: grid;
  border: 1px solid var(--line);
}
.unlockList div { padding: 1.25rem 1.4rem; background: rgba(17, 25, 28, 0.62); }
.unlockList div + div { border-top: 1px solid var(--line); }
.unlockList strong {
  display: block;
  color: var(--brass-soft);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.unlockList span { display: block; margin-top: 0.35rem; color: var(--muted); }

.finalCta {
  padding: clamp(5rem, 10vw, 8rem) 1.2rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 185, 101, 0.12), transparent 52%),
    #0a1012;
}
.finalCta .status { justify-content: center; }
.finalCta > p:not(.status) { margin: 1rem auto 1.8rem; color: var(--muted); }

.foot {
  padding: 1.4rem clamp(1rem, 3vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot a:hover { color: var(--brass); }

@keyframes drift {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

@media (max-width: 860px) {
  .heroScrim {
    background: linear-gradient(180deg, rgba(7, 12, 14, 0.38), rgba(7, 12, 14, 0.92) 48%, #080d0f 100%);
  }
  .heroCopy { padding-top: 8rem; }
  .introGrid, .factoryModeGrid, .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .featureCopy, .feature.reverse .screen { order: unset; }
  .process { grid-template-columns: 1fr; }
  .processStep + .processStep { border-left: 0; border-top: 1px solid var(--line); }
  .story { min-height: 520px; }
}

@media (max-width: 560px) {
  .top { grid-template-columns: auto 1fr auto; }
  .back { width: 34px; overflow: hidden; white-space: nowrap; }
  .wordmarkMain { font-size: 1rem; }
  .topPlay { padding-inline: 0.7rem; }
  .hero h1 { font-size: clamp(2.5rem, 15vw, 4rem); }
  .metaRow { display: none; }
  .button { width: 100%; }
  .foot { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .heroImage { animation: none; }
  .button, .topPlay { transition: none; }
}
