:root {
  --void: #07110c;
  --moss: #102018;
  --leaf: #1c3b28;
  --lime: #7cff4b;
  --neon: #39ff14;
  --deep: #0a3d1a;
  --hay: #e8d5a3;
  --cream: #f4ead4;
  --ink: #eef7ee;
  --mute: #9bb3a0;
  --glass: rgba(10, 24, 16, 0.72);
  --line: rgba(124, 255, 75, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(124, 255, 75, 0.08), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(232, 213, 163, 0.06), transparent 50%),
    linear-gradient(180deg, #08140e 0%, #07110c 40%, #0a1811 100%);
  color: var(--ink);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
code { font-family: "IBM Plex Mono", monospace; }

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#fieldCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.aurora {
  position: absolute;
  width: 55vw;
  height: 45vh;
  filter: blur(70px);
  opacity: 0.28;
  animation: drift 18s ease-in-out infinite;
}
.aurora-a {
  top: -8%;
  left: -8%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.55), transparent 68%);
}
.aurora-b {
  right: -10%;
  top: 18%;
  background: radial-gradient(circle, rgba(232, 213, 163, 0.28), transparent 70%);
  animation-delay: -7s;
}

.mist {
  position: absolute;
  width: 40vw;
  height: 40vh;
  background: radial-gradient(circle, rgba(28, 59, 40, 0.55), transparent 70%);
  filter: blur(40px);
}
.mist-left { bottom: 8%; left: -8%; }
.mist-right { top: 40%; right: -12%; }

.hay-dust {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(232, 213, 163, 0.18) 1px, transparent 1px);
  background-size: 140px 140px;
  animation: dust 40s linear infinite;
  opacity: 0.35;
}

.constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.constellation-draw path {
  fill: none;
  stroke: url(#chainStroke);
  stroke-width: 1.4;
  stroke-dasharray: 8 16;
  animation: crawl 22s linear infinite;
}

.chain-floater {
  position: absolute;
  width: 86px;
  height: 34px;
  border: 3px solid rgba(124, 255, 75, 0.28);
  border-radius: 40px;
  box-shadow: inset 0 0 12px rgba(124, 255, 75, 0.2), 0 0 18px rgba(57, 255, 20, 0.12);
  animation: floaty 11s ease-in-out infinite;
}
.chain-floater::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(124, 255, 75, 0.18);
  border-radius: inherit;
}
.c1 { top: 18%; left: 8%; transform: rotate(-18deg); }
.c2 { top: 62%; right: 10%; animation-delay: -4s; transform: rotate(22deg); }
.c3 { bottom: 16%; left: 28%; animation-delay: -8s; transform: rotate(-8deg); }

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
}

.cursor-glow {
  position: fixed;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 255, 75, 0.14), transparent 68%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-999px, -999px);
  transition: opacity 0.3s ease;
}

.ticker {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 20, 14, 0.78);
  white-space: nowrap;
}
.ticker-move {
  display: inline-flex;
  gap: 36px;
  padding: 8px 0;
  animation: marquee 28s linear infinite;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hay);
}
.ticker-move span { position: relative; padding-right: 36px; }
.ticker-move span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  transform: translateY(-50%);
}

.rail {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 3px;
  background: rgba(124, 255, 75, 0.08);
}
.rail-track {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2ecc40, var(--lime));
  box-shadow: 0 0 16px var(--lime);
}

.topbar {
  position: sticky;
  top: 3px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 7vw;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 12, 0.62);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-orb {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--lime);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.35);
  animation: breathe 4.4s ease-in-out infinite;
}
.brand-orb img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: "Fredoka", sans-serif; font-size: 1.25rem; }
.brand-copy small { color: var(--mute); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--cream); font-size: 0.92rem; position: relative; }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width 0.3s ease;
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-icon img { width: 16px; height: 16px; }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.nav-cta, .btn-lime {
  background: linear-gradient(180deg, #b8ff7a, #39ff14 55%, #1fbf3a);
  color: #07110c;
  font-weight: 800;
  padding: 10px 18px;
  box-shadow: 0 8px 0 #0d3b18, 0 14px 28px rgba(57, 255, 20, 0.25);
}
.nav-cta:hover, .btn:hover { transform: translateY(-2px); }
.btn img { width: 18px; height: 18px; }
.btn-ghost {
  background: rgba(124, 255, 75, 0.06);
  border-color: var(--line);
  color: var(--cream);
  padding: 10px 16px;
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.menu-btn span {
  display: block;
  height: 2px;
  margin: 6px 10px;
  background: var(--lime);
}

main { position: relative; z-index: 3; }

.hero {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  padding: 40px 7vw 80px;
}
.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.habitat {
  position: relative;
  height: 560px;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  border: 1px dashed rgba(124, 255, 75, 0.28);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}
.orbit-slow { width: 460px; height: 460px; }
.orbit-mid { width: 360px; height: 360px; animation-direction: reverse; animation-duration: 18s; }
.orbit-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px var(--lime);
  animation: spin 16s linear infinite;
}
.n1 { top: 18%; left: 22%; }
.n2 { bottom: 16%; right: 18%; animation-duration: 21s; }
.n3 { top: 28%; right: 24%; animation-duration: 13s; }

.portrait {
  position: relative;
  width: min(360px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(232, 213, 163, 0.28);
  box-shadow: var(--shadow), 0 0 60px rgba(57, 255, 20, 0.18);
  animation: bob 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.portrait figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hay);
  text-shadow: 0 2px 8px #000;
}
.habitat-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 255, 75, 0.2), transparent 70%);
  filter: blur(10px);
  animation: breathe 5s ease-in-out infinite;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hay);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.6);
  animation: ping 2s infinite;
}

.wordmark {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(4.4rem, 10vw, 8.4rem);
  line-height: 0.86;
  margin: 10px 0 8px;
  letter-spacing: -0.03em;
}
.wordmark span {
  display: inline-block;
  background: linear-gradient(180deg, #f3ffe2 0%, #b8ff7a 28%, #39ff14 58%, #149a2a 86%, #0a3d1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter:
    drop-shadow(0 1px 0 #d8ffb0)
    drop-shadow(0 6px 0 #0d3b18)
    drop-shadow(0 16px 22px rgba(57, 255, 20, 0.28));
  animation: lift 5s ease-in-out infinite;
}
.wordmark span:nth-child(2) { animation-delay: 0.08s; }
.wordmark span:nth-child(3) { animation-delay: 0.16s; }
.wordmark span:nth-child(4) { animation-delay: 0.24s; }
.wordmark span:nth-child(5) { animation-delay: 0.32s; }

.symbol-line {
  color: var(--mute);
  font-family: "IBM Plex Mono", monospace;
  margin-bottom: 18px;
}
.symbol-line em { color: var(--lime); font-style: normal; }
.lead {
  max-width: 560px;
  color: #d7e6d8;
  line-height: 1.7;
  font-size: 1.05rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 480px;
}
.stats div {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}
.stats dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.stats dd { font-family: "Fredoka", sans-serif; color: var(--hay); margin-top: 4px; }

.film-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.film-rail figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a1610;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.film-rail figure:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(57, 255, 20, 0.16);
}
.film-rail img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.film-rail figcaption {
  padding: 10px 12px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hay);
}

section { padding: 90px 7vw; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  color: var(--lime);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 10px;
}
h2 {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--cream);
}
.section-lead { margin-top: 12px; color: var(--mute); line-height: 1.7; }

.story-stage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}
.story-phone {
  background:
    linear-gradient(180deg, rgba(16, 32, 24, 0.95), rgba(7, 17, 12, 0.92));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.story-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.story-bars i {
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.story-bars i em {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
}
.story-bars i.active em { width: 100%; animation: fillbar 7s linear; }
.story-bars i.done em { width: 100%; }
.story-who { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.story-who img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.story-who strong { display: block; font-size: 0.92rem; }
.story-who span { color: var(--mute); font-size: 0.75rem; }
.story-open {
  margin-left: auto;
  color: var(--lime);
  text-decoration: none;
  font-size: 0.82rem;
}
.story-slide {
  flex: 1;
  border-radius: 20px;
  padding: 0 0 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 255, 75, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(28, 59, 40, 0.5), rgba(7, 17, 12, 0.2));
  border: 1px solid rgba(232, 213, 163, 0.12);
}
.story-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}
.story-slide .story-label,
.story-slide h3,
.story-slide p { padding: 0 22px; }
.story-label { font-family: "IBM Plex Mono", monospace; color: var(--hay); font-size: 0.75rem; margin-bottom: 12px; }
.story-slide h3 { font-family: "Fredoka", sans-serif; font-size: 2rem; margin-bottom: 14px; }
.story-slide p { color: #d8e7d9; line-height: 1.7; }
.story-nav { display: flex; gap: 10px; margin-top: 16px; }
.story-nav button {
  flex: 1;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: 999px;
  padding: 10px;
}

.insta-panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.insta-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 12px;
}
.insta-frame {
  min-height: 430px;
  border-radius: 18px;
  overflow: auto;
  background: #0a1610;
}
.insta-frame iframe {
  display: none;
  width: 100%;
  min-height: 540px;
  border: 0;
  background: #0a1610;
}
.insta-frame:not(:has(.instagram-media-rendered)) iframe {
  display: block;
}
.instagram-media {
  background: #07110c !important;
  border: 0 !important;
  margin: 16px auto 0 !important;
  max-width: 540px !important;
  width: 100% !important;
}
.insta-note { margin-top: 12px; color: var(--mute); font-size: 0.82rem; word-break: break-all; }
.insta-note a { color: var(--lime); }

.lore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.plaque {
  background: linear-gradient(180deg, rgba(232, 213, 163, 0.08), rgba(7, 17, 12, 0.4));
  border: 1px solid rgba(232, 213, 163, 0.18);
  border-radius: 20px;
  padding: 0 0 24px;
  overflow: hidden;
}
.plaque img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  margin-bottom: 16px;
}
.plaque h3,
.plaque p { padding: 0 24px; }
.plaque h3 { font-family: "Fredoka", sans-serif; color: var(--hay); margin-bottom: 10px; }
.plaque p { color: var(--mute); line-height: 1.65; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0 0 22px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.step img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 16px;
}
.step .step-index,
.step h3,
.step p,
.step .btn {
  margin-left: 22px;
  margin-right: 22px;
}
.step::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 120px;
  background: radial-gradient(circle, rgba(124, 255, 75, 0.12), transparent 70%);
}
.step-index {
  font-family: "Fredoka", sans-serif;
  font-size: 2rem;
  color: var(--lime);
}
.step h3 { margin: 10px 0; }
.step p { color: var(--mute); line-height: 1.6; margin-bottom: 16px; }

.ca-bar {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 32, 24, 0.7);
}
.ca-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
#caValue { color: var(--lime); font-size: 0.92rem; word-break: break-all; }

.monitor {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #06110c;
  box-shadow: var(--shadow);
}
.monitor-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--mute);
  border-bottom: 1px solid var(--line);
}
.monitor-bar a { color: var(--lime); text-decoration: none; }
.monitor iframe {
  width: 100%;
  height: 680px;
  border: 0;
  background: #0b1110;
}

.billboard {
  aspect-ratio: 3 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 40px rgba(57, 255, 20, 0.12);
}
.billboard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.join-stills {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.join-stills img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.dock {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dock-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  text-decoration: none;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.dock-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 255, 75, 0.5);
}
.dock-card img { width: 28px; height: 28px; }
.dock-card strong { display: block; }
.dock-card span { color: var(--mute); font-size: 0.8rem; }

.footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 7vw 48px;
  border-top: 1px solid var(--line);
  color: var(--mute);
}
.footer-brand { display: flex; gap: 12px; align-items: center; max-width: 520px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.footer-brand strong { color: var(--cream); display: block; }
.footer-links { display: flex; gap: 18px; align-items: center; }
.footer-links a { text-decoration: none; color: var(--hay); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s ease forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.32s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, 20px, 0) scale(1.08); }
}
@keyframes dust { to { transform: translateY(-140px); } }
@keyframes crawl { to { stroke-dashoffset: -240; } }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 18px rgba(57, 255, 20, 0.28); }
  50% { box-shadow: 0 0 32px rgba(57, 255, 20, 0.5); }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(57, 255, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
}
@keyframes lift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes fillbar { from { width: 0; } to { width: 100%; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .hero-grid, .story-stage, .lore-grid, .steps, .dock, .film-rail, .join-stills { grid-template-columns: 1fr 1fr; }
  .hero-grid, .story-stage { grid-template-columns: 1fr; }
  .habitat { height: 420px; }
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    right: 7vw;
    left: 7vw;
    flex-direction: column;
    padding: 18px;
    background: rgba(7, 17, 12, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .nav.open { display: flex; }
  .stats { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .monitor iframe { height: 520px; }
  .ca-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .lore-grid, .steps, .dock, .film-rail, .join-stills { grid-template-columns: 1fr; }
}
