:root {
  --bg: #050807;
  --panel: #0a1210;
  --panel-2: #101817;
  --ink: #f2f7f2;
  --muted: #9aa8a3;
  --line: rgba(205, 224, 216, 0.15);
  --green: #00d084;
  --green-deep: #004a37;
  --steel: #a9b7b7;
  --shadow: rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 7%, rgba(0, 208, 132, 0.18), transparent 28rem),
    radial-gradient(circle at 5% 45%, rgba(169, 183, 183, 0.1), transparent 24rem),
    linear-gradient(180deg, #030504 0%, #07110e 50%, #030504 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(3, 5, 4, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.6rem;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: #02110b;
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(0, 208, 132, 0.3);
}

.nav-links {
  gap: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--ink);
}

.poster-hero {
  width: min(100%, 1600px);
  margin: 1rem auto 0;
  padding: 0 1rem;
}

.poster-hero img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px var(--shadow);
}

.command-deck {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) minmax(18rem, 26rem);
  gap: 1px;
  width: min(100% - 2rem, 1240px);
  margin: 1rem auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.side-rail,
.hero-copy,
.character-stage {
  background: linear-gradient(145deg, rgba(16, 24, 23, 0.95), rgba(5, 8, 7, 0.95));
}

.side-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 30rem;
  padding: 1.25rem;
  color: var(--muted);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.side-rail strong {
  color: var(--green);
  font-size: 1.2rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 30rem;
  padding: 3rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: 5.2rem;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 42rem;
  color: #dbe8e2;
  font-size: 1.15rem;
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.button:hover,
.copy-button:hover {
  border-color: rgba(0, 208, 132, 0.58);
  transform: translateY(-1px);
}

.button.primary {
  color: #03120c;
  background: linear-gradient(135deg, var(--green), #e8fff7);
}

.character-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 30rem;
  padding: 1.2rem;
}

.character-stage img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  object-position: center 36%;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.character-stage figcaption {
  padding: 1rem 0.25rem 0;
  color: var(--steel);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.ticker-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100% - 2rem, 1240px);
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #020403;
}

.ticker-strip span {
  min-height: 4.25rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  font-weight: 850;
  text-transform: uppercase;
}

.ticker-strip span:first-child {
  color: var(--green);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  width: min(100% - 2rem, 1240px);
  margin: 5rem auto;
}

.story-copy {
  align-self: center;
}

.story-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.signal-board {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.signal-board div {
  display: grid;
  grid-template-columns: 4rem minmax(7rem, 0.4fr) 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem;
  background: rgba(10, 18, 16, 0.92);
}

.signal-board span {
  color: var(--green);
  font-weight: 900;
}

.signal-board strong {
  font-size: 1.12rem;
  text-transform: uppercase;
}

.signal-board p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.contract-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 1240px);
  margin: 0 auto 4rem;
  padding: 1.3rem;
  border: 1px solid rgba(0, 208, 132, 0.32);
  background:
    linear-gradient(90deg, rgba(0, 208, 132, 0.16), transparent),
    rgba(3, 5, 4, 0.82);
}

.contract-band h2 {
  margin: 0;
  font-size: 2rem;
}

.contract-band .section-kicker {
  margin-bottom: 0.35rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 920px) {
  .command-deck,
  .story-section {
    grid-template-columns: 1fr;
  }

  .side-rail {
    min-height: auto;
    flex-direction: row;
    writing-mode: initial;
    transform: none;
  }

  .hero-copy,
  .character-stage {
    min-height: auto;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .ticker-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .poster-hero {
    padding: 0;
  }

  .poster-hero img {
    aspect-ratio: 16 / 9;
  }

  .hero-copy {
    padding: 2rem 1.2rem;
  }

  h1 {
    font-size: 3rem;
  }

  .lead {
    font-size: 1rem;
  }

  .ticker-strip {
    grid-template-columns: 1fr;
  }

  .signal-board div {
    grid-template-columns: 1fr;
  }

  .contract-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
