/* =============================================================
   LSP: Last Shelter Protocol — styles.css
   Design: post-apocalyptic, toxic-green fog, amber shelter glow
   Architecture: mobile-first, custom properties, BEM-ish
   ============================================================= */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  /* Palette */
  --clr-bg:          #080d08;
  --clr-bg-2:        #0d140d;
  --clr-surface:     rgba(15, 24, 15, 0.72);
  --clr-surface-2:   rgba(20, 32, 20, 0.85);
  --clr-border:      rgba(80, 180, 80, 0.18);
  --clr-border-2:    rgba(80, 180, 80, 0.32);

  /* Toxic green spectrum */
  --clr-green:       #4dff7c;
  --clr-green-mid:   #2dde58;
  --clr-green-dim:   rgba(77, 255, 124, 0.55);
  --clr-green-fog:   rgba(30, 100, 40, 0.28);

  /* Amber / shelter glow */
  --clr-amber:       #ffb347;
  --clr-amber-dim:   rgba(255, 179, 71, 0.45);
  --clr-amber-glow:  rgba(255, 179, 71, 0.12);

  /* Text */
  --clr-text:        #d4e8d4;
  --clr-text-muted:  #7a9c7a;
  --clr-text-bright: #f0fff0;
  --clr-white:       #ffffff;

  /* Typography */
  --ff-heading: 'Courier New', 'Lucida Console', monospace;
  --ff-body:    system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Scale */
  --sz-nav:    64px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --dur-fast:   150ms;
  --dur-normal: 280ms;
  --dur-slow:   480ms;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sz-nav) + 8px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--ff-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--clr-green);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

a:hover { color: var(--clr-green-mid); }

ul { list-style: none; }

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  #particleCanvas { display: none; }
}

/* ─── CONTAINER ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

/* ─── NOISE & SCANLINE OVERLAYS ──────────────────────────────── */
.overlay-noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.overlay-scanlines {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.07) 3px,
    rgba(0, 0, 0, 0.07) 4px
  );
}

/* ─── PARTICLE CANVAS ────────────────────────────────────────── */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ─── GLOBAL SECTION ─────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding-block: clamp(64px, 10vw, 120px);
}

.section-label {
  font-family: var(--ff-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--clr-green-mid);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.8;
}

.section-heading {
  font-family: var(--ff-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--clr-text-bright);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: clamp(40px, 6vw, 72px);
  position: relative;
  display: inline-block;
}

/* Accent line under heading */
.section-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--clr-green-mid);
  margin-top: 14px;
}

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--ff-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition:
    background var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}

.btn:focus-visible {
  outline: 2px solid var(--clr-amber);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--clr-green-mid);
  color: #020802;
  box-shadow: 0 0 20px rgba(45, 222, 88, 0.4);
}

.btn-primary:hover {
  background: var(--clr-green);
  color: #020802;
  box-shadow: 0 0 32px rgba(77, 255, 124, 0.55);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border-2);
  box-shadow: inset 0 0 12px rgba(77, 255, 124, 0.05);
}

.btn-secondary:hover {
  color: var(--clr-green);
  border-color: var(--clr-green-dim);
  box-shadow: 0 0 16px rgba(77, 255, 124, 0.15);
  transform: translateY(-1px);
}

.btn-large {
  font-size: 15px;
  padding: 18px 40px;
  min-height: 58px;
}

.btn-nav {
  background: transparent;
  border: 1px solid var(--clr-green-mid);
  color: var(--clr-green-mid);
  padding: 9px 20px;
  font-size: 12px;
  min-height: 38px;
}

.btn-nav:hover {
  background: rgba(45, 222, 88, 0.1);
  color: var(--clr-green);
  border-color: var(--clr-green);
}

/* ─── TOP NAVIGATION ─────────────────────────────────────────── */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--sz-nav);
  background: rgba(8, 13, 8, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--dur-normal) var(--ease);
}

.nav-header.scrolled {
  background: rgba(8, 13, 8, 0.97);
  border-bottom-color: var(--clr-border-2);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(77, 255, 124, 0.3);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--ff-heading);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--clr-green);
  text-shadow: 0 0 18px rgba(77, 255, 124, 0.55);
  line-height: 1;
}

.logo-sub {
  font-family: var(--ff-heading);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-text);
  transition: transform var(--dur-normal) var(--ease),
              opacity var(--dur-normal) var(--ease);
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-hamburger:focus-visible {
  outline: 2px solid var(--clr-amber);
  outline-offset: 2px;
}

/* Nav menu */
.nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--sz-nav);
  left: 0;
  right: 0;
  background: rgba(8, 13, 8, 0.98);
  border-bottom: 1px solid var(--clr-border);
  padding: 16px 24px 24px;
  gap: 4px;
}

.nav-menu.open {
  display: flex;
}

.nav-link {
  font-family: var(--ff-heading);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--clr-green);
}

.nav-link:focus-visible {
  outline: 2px solid var(--clr-amber);
  outline-offset: 2px;
  color: var(--clr-green);
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav-hamburger { display: none; }

  .nav-menu {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    align-items: center;
    gap: 4px;
    margin-left: auto;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 11px;
    min-height: auto;
  }
}

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--sz-nav);
  overflow: hidden;
  z-index: 1;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-featured {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
}

.hero-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 70%;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(255, 179, 71, 0.14) 0%,
    rgba(255, 140, 0, 0.06) 30%,
    transparent 70%
  );
  animation: breathe 6s ease-in-out infinite alternate;
}

.hero-fog {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(30, 80, 30, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(20, 70, 20, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%,  rgba(0, 0, 0, 0.6) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8,13,8,0.5) 0%, rgba(8,13,8,0.1) 40%, rgba(8,13,8,0.4) 100%);
}

@keyframes breathe {
  from { opacity: 0.7; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: clamp(80px, 15vw, 140px) clamp(80px, 10vw, 100px);
}

.hero-badge {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--clr-amber);
  border: 1px solid rgba(255, 179, 71, 0.35);
  padding: 6px 14px;
  margin-bottom: 24px;
  border-radius: 2px;
}

.hero-headline {
  font-family: var(--ff-heading);
  font-size: clamp(32px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--clr-text-bright);
  text-shadow: 0 0 60px rgba(77, 255, 124, 0.2);
  margin-bottom: 24px;
}

.headline-light {
  color: var(--clr-amber);
  text-shadow: 0 0 60px rgba(255, 179, 71, 0.4);
}

.hero-subhead {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--clr-text-muted);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

/* Platform badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-surface);
  color: var(--clr-text);
  text-decoration: none;
  transition:
    border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
  min-height: 52px;
}

.platform-badge:hover {
  border-color: var(--clr-border-2);
  background: var(--clr-surface-2);
  color: var(--clr-text-bright);
}

.platform-badge--soon {
  opacity: 0.55;
  cursor: default;
}

.platform-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 14px;
  font-weight: 600;
}

.platform-badge span small {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  font-weight: 400;
}

/* Tactical UI lines */
.hero-ui-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.ui-line--h {
  position: absolute;
  bottom: 20%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(77, 255, 124, 0.15) 20%,
    rgba(77, 255, 124, 0.15) 80%,
    transparent 100%
  );
}

.ui-line--corner {
  position: absolute;
  width: 20px;
  height: 20px;
}

.ui-line--corner.tl { top: 16px; left: 16px; border-top: 1px solid rgba(77,255,124,0.3); border-left: 1px solid rgba(77,255,124,0.3); }
.ui-line--corner.tr { top: 16px; right: 16px; border-top: 1px solid rgba(77,255,124,0.3); border-right: 1px solid rgba(77,255,124,0.3); }
.ui-line--corner.bl { bottom: 16px; left: 16px; border-bottom: 1px solid rgba(77,255,124,0.3); border-left: 1px solid rgba(77,255,124,0.3); }
.ui-line--corner.br { bottom: 16px; right: 16px; border-bottom: 1px solid rgba(77,255,124,0.3); border-right: 1px solid rgba(77,255,124,0.3); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 3;
  opacity: 0.5;
}

.scroll-indicator span {
  font-family: var(--ff-heading);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 1.5px solid var(--clr-text-muted);
  border-bottom: 1.5px solid var(--clr-text-muted);
  transform: rotate(45deg) translateY(-4px);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(-4px); opacity: 1; }
  50%       { transform: rotate(45deg) translateY(2px);  opacity: 0.4; }
}

/* ─── STORY ───────────────────────────────────────────────────── */
.story {
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.story-grid {
  display: grid;
  gap: 32px;
}

.story-block {
  position: relative;
  padding: 32px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: border-color var(--dur-normal) var(--ease);
}

.story-block:hover {
  border-color: var(--clr-border-2);
}

.story-block__num {
  font-family: var(--ff-heading);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--clr-green-mid);
  margin-bottom: 10px;
}

.story-block__title {
  font-family: var(--ff-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-text-bright);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.story-block p {
  color: var(--clr-text-muted);
  font-size: 14px;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── FEATURES ────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.feature-card {
  padding: 28px 24px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition:
    border-color var(--dur-normal) var(--ease),
    transform var(--dur-normal) var(--ease),
    box-shadow var(--dur-normal) var(--ease);
  position: relative;
  overflow: hidden;
}

/* Top accent line */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--clr-green-dim) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease);
}

.feature-card:hover {
  border-color: var(--clr-border-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 24px rgba(77,255,124,0.07);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  color: var(--clr-green-mid);
  margin-bottom: 16px;
  display: flex;
}

.feature-card__title {
  font-family: var(--ff-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-text-bright);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

@media (min-width: 480px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── GAMEPLAY LOOP (STEPPER) ─────────────────────────────────── */
.loop {
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

/* Mobile: vertical timeline */
.stepper {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.step {
  display: flex;
  gap: 24px;
  position: relative;
}

.step__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-green-mid);
  background: rgba(45, 222, 88, 0.1);
  color: var(--clr-green-mid);
  font-family: var(--ff-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 16px rgba(45, 222, 88, 0.2);
}

.step--last .step__num {
  border-color: var(--clr-amber);
  background: rgba(255, 179, 71, 0.12);
  color: var(--clr-amber);
  box-shadow: 0 0 20px rgba(255, 179, 71, 0.3);
}

.step__connector {
  flex: 1;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--clr-green-dim), rgba(77,255,124,0.1));
  margin-block: 4px;
  min-height: 40px;
}

.step__content {
  padding-bottom: 40px;
  padding-top: 8px;
  flex: 1;
}

.step--last .step__content {
  padding-bottom: 0;
}

.step__tag {
  font-family: var(--ff-heading);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--clr-green-mid);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step__tag--final {
  color: var(--clr-amber);
}

.step__title {
  font-family: var(--ff-heading);
  font-size: clamp(17px, 3vw, 22px);
  font-weight: 700;
  color: var(--clr-text-bright);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.step__desc {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.75;
  max-width: 520px;
}

/* Desktop: horizontal stepper */
@media (min-width: 900px) {
  .stepper {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-inline: 12px;
  }

  .step__marker {
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .step:not(.step--last) .step__marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% + 26px);
    right: calc(-50% + 26px);
    height: 1.5px;
    background: linear-gradient(to right, var(--clr-green-dim), rgba(77,255,124,0.1));
    transform: translateY(-50%);
  }

  .step__connector { display: none; }

  .step__content {
    padding-bottom: 0;
    padding-top: 0;
  }

  .step__desc {
    font-size: 13px;
    max-width: 180px;
    margin-inline: auto;
  }
}

/* ─── GALLERY ─────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  transition: border-color var(--dur-normal) var(--ease);
  padding: 0;
}

.gallery-item:hover {
  border-color: var(--clr-green-dim);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--clr-amber);
  outline-offset: 2px;
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--clr-bg-2);
  transition: transform var(--dur-slow) var(--ease);
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.04);
}

/* Placeholder shown when image file doesn't exist */
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15,24,15,0.9) 0%, rgba(8,13,8,0.95) 100%);
  color: var(--clr-text-muted);
  gap: 4px;
}

.gallery-placeholder span {
  font-family: var(--ff-heading);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  color: rgba(77, 255, 124, 0.15);
  line-height: 1;
}

.gallery-placeholder small {
  font-family: var(--ff-heading);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  opacity: 0.7;
}

/* Hover overlay */
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 8, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-green-mid);
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease);
}

.gallery-item:hover .gallery-item__overlay,
.gallery-item:focus-visible .gallery-item__overlay {
  opacity: 1;
}

@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
  .gallery-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--clr-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--clr-surface);
  text-align: left;
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  transition:
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
  min-height: 60px;
}

.faq-question:hover {
  background: var(--clr-surface-2);
  color: var(--clr-text-bright);
}

.faq-question[aria-expanded="true"] {
  color: var(--clr-green);
  background: rgba(45, 222, 88, 0.06);
}

.faq-question:focus-visible {
  outline: 2px solid var(--clr-amber);
  outline-offset: -2px;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--clr-text-muted);
  transition: transform var(--dur-normal) var(--ease), color var(--dur-fast) var(--ease);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--clr-green-mid);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-slow) var(--ease);
}

/* JS will remove hidden and set max-height dynamically */
.faq-answer:not([hidden]) {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--clr-border);
  padding-top: 16px;
  background: rgba(8, 13, 8, 0.6);
}

/* ─── DOWNLOAD / PRE-REGISTER ─────────────────────────────────── */
.download {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.download-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(255,179,71,0.07) 0%, transparent 70%);
  animation: breathe 7s ease-in-out infinite alternate;
}

.download-lead {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--clr-text-muted);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 40px;
  line-height: 1.65;
}

/* Notify form */
.notify-form-wrap {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  margin-inline: auto;
}

.notify-disclaimer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--clr-text-muted);
  opacity: 0.7;
}

.notify-form {
  width: 100%;
}

.notify-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 10px;
  font-family: var(--ff-heading);
}

.notify-input-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.notify-input {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
  min-height: 48px;
}

.notify-input:focus {
  border-color: var(--clr-green-dim);
  box-shadow: 0 0 0 3px rgba(77, 255, 124, 0.1);
}

.notify-input::placeholder {
  color: var(--clr-text-muted);
  opacity: 0.5;
}

.notify-submit {
  flex-shrink: 0;
}

.notify-success {
  color: var(--clr-green);
  font-size: 13px;
  font-family: var(--ff-heading);
  letter-spacing: 0.06em;
}

/* Social links */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-surface);
  color: var(--clr-text-muted);
  font-size: 13px;
  font-family: var(--ff-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
  min-height: 48px;
  text-decoration: none;
}

.social-link:hover {
  border-color: var(--clr-green-dim);
  color: var(--clr-green);
  background: rgba(45, 222, 88, 0.06);
}

.social-link:focus-visible {
  outline: 2px solid var(--clr-amber);
  outline-offset: 2px;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: rgba(5, 8, 5, 0.95);
  border-top: 1px solid var(--clr-border);
  padding-block: 40px 32px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 14px rgba(77, 255, 124, 0.25);
}

.footer-tagline {
  font-family: var(--ff-heading);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--clr-text-muted);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
}

.footer-link {
  font-size: 12px;
  color: var(--clr-text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--dur-fast) var(--ease);
  min-height: 32px;
  display: flex;
  align-items: center;
}

.footer-link:hover {
  color: var(--clr-green);
}

.footer-link:focus-visible {
  outline: 2px solid var(--clr-amber);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-copy {
  font-size: 11px;
  color: var(--clr-text-muted);
  opacity: 0.6;
  line-height: 1.6;
}

/* ─── MODALS ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease);
}

.modal-overlay:not([hidden]) {
  opacity: 1;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 860px;
  overflow: hidden;
  animation: modalIn var(--dur-normal) var(--ease) both;
}

@keyframes modalIn {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 13, 8, 0.8);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  color: var(--clr-text);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.modal-close:hover {
  color: var(--clr-green);
  border-color: var(--clr-green-dim);
}

.modal-close:focus-visible {
  outline: 2px solid var(--clr-amber);
  outline-offset: 3px;
}

/* Trailer modal */
.modal-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}

.modal-video-wrap iframe,
.modal-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal-caption {
  padding: 12px 20px;
  font-size: 11px;
  font-family: var(--ff-heading);
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
  text-align: center;
  opacity: 0.7;
}

/* Lightbox modal */
.modal-panel--lightbox {
  max-width: 96vw;
  max-height: 90svh;
  background: rgba(4, 7, 4, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  position: relative;
  width: 100%;
  max-height: 75svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg);
  aspect-ratio: 16/9;
  overflow: hidden;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,24,15,0.95), rgba(8,13,8,1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 80px;
  font-weight: 900;
  color: rgba(77, 255, 124, 0.08);
  letter-spacing: -0.02em;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 13, 8, 0.75);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  color: var(--clr-text);
  z-index: 10;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-nav:hover {
  color: var(--clr-green);
  border-color: var(--clr-green-dim);
}

.lightbox-nav:focus-visible {
  outline: 2px solid var(--clr-amber);
  outline-offset: 3px;
}

.lightbox-caption {
  padding: 14px 64px;
  font-size: 12px;
  font-family: var(--ff-heading);
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  text-align: center;
  width: 100%;
}

/* ─── SCROLL REVEAL ANIMATION ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── SKIP LINK (accessibility) ───────────────────────────────── */
.skip-link {
  position: absolute;
  top: -999px;
  left: 8px;
  z-index: 9999;
  background: var(--clr-green-mid);
  color: #020802;
  padding: 8px 16px;
  font-family: var(--ff-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}
