/* =====================================================================
   Samara Aerospace — Concept 2 «EVOLVED / HUMMINGBIRD»
   Editorial · cinematic · mint-green light on deep black.
   ===================================================================== */

:root {
  /* base / surfaces */
  --bg:        #000000;
  --bg-raise:  #060606;
  --card:      #0b0b0c;
  --card-2:    #101012;
  --card-3:    #16161a;

  /* text */
  --text:      #ffffff;
  --text-soft: #cecece;
  --muted:     #656771;
  --muted-2:   #8a8c95;

  /* accents & glows */
  --mint:      #8cffa0;
  --mint-2:    #28e047;
  --blue:      #0099ff;
  --gold:      rgba(243,178,12,0.15);
  --gold-line: rgba(243,178,12,0.28);

  /* borders */
  --border:      #1a1a1c;
  --border-soft: rgba(255,255,255,0.06);
  --border-mint: rgba(140,255,160,0.22);

  /* glow recipes */
  --glow-mint:      radial-gradient(circle, rgba(140,255,160,0.16) 0%, rgba(140,255,160,0) 70%);
  --glow-mint-soft: radial-gradient(ellipse, rgba(140,255,160,0.08) 0%, transparent 72%);
  --glow-blue:      radial-gradient(ellipse at bottom, rgba(0,153,255,0.10) 0%, transparent 65%);
  --text-glow:      0 0 28px rgba(140,255,160,0.18);

  /* layout */
  --maxw: 1280px;
  --pad: clamp(20px, 6vw, 120px);
  --sec-pad: clamp(120px, 16vh, 220px);

  --ease: cubic-bezier(.16,1,.3,1);

  font-family: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 800; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- layout helpers ---------- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  width: 100%;
}

.section { padding-block: var(--sec-pad); position: relative; }

/* ---------- separators ---------- */
.gold-sep {
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--gold);
}
.gold-hair {
  display: block; height: 1px; width: 100%;
  background: var(--gold); margin-block: clamp(36px, 5vw, 64px);
}

/* =====================================================================
   TYPOGRAPHY
   ===================================================================== */
.kicker {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--mint);
  display: flex; align-items: center; gap: 0.7em;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.tick { color: var(--gold-line); font-weight: 400; }

.h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.94);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.h2 strong { font-weight: 800; }
.h2-soft { font-weight: 300; font-size: clamp(2rem, 4vw, 3.4rem); }

.h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

.lede {
  max-width: 56ch;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.body-lg {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.65;
  color: var(--text-soft);
}
.body { font-size: 1rem; line-height: 1.7; color: var(--text-soft); }

/* =====================================================================
   AMBIENT BACKGROUND
   ===================================================================== */
.starfield {
  position: fixed; inset: 0; z-index: -3;
  pointer-events: none;
}
.star-layer {
  position: absolute; inset: -50%;
  background-repeat: repeat;
  will-change: transform;
}
.star-layer[data-stars="1"] {
  opacity: 0.10;
  background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent),
                    radial-gradient(1px 1px at 70% 60%, #fff, transparent),
                    radial-gradient(1px 1px at 40% 80%, #fff, transparent),
                    radial-gradient(1px 1px at 90% 20%, #fff, transparent),
                    radial-gradient(1px 1px at 55% 45%, #fff, transparent);
  background-size: 260px 260px;
}
.star-layer[data-stars="2"] {
  opacity: 0.07;
  background-image: radial-gradient(1.4px 1.4px at 15% 55%, #fff, transparent),
                    radial-gradient(1.4px 1.4px at 65% 25%, #fff, transparent),
                    radial-gradient(1.4px 1.4px at 85% 75%, #fff, transparent),
                    radial-gradient(1.4px 1.4px at 35% 15%, #fff, transparent);
  background-size: 420px 420px;
}
.star-layer[data-stars="3"] {
  opacity: 0.04;
  background-image: radial-gradient(2px 2px at 25% 65%, #cfe9ff, transparent),
                    radial-gradient(2px 2px at 75% 35%, #fff, transparent),
                    radial-gradient(2px 2px at 50% 90%, #fff, transparent);
  background-size: 640px 640px;
}

.glow-blob {
  position: fixed; z-index: -2;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  border-radius: 50%;
  filter: blur(120px); opacity: 0.10;
  pointer-events: none; will-change: transform;
}
.glow-mint {
  top: -20vh; right: -15vw;
  background: var(--mint);
}
.glow-blue {
  bottom: -20vh; left: -15vw;
  background: var(--blue);
}

/* cursor dot (desktop only, toggled in JS) */
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--mint); mix-blend-mode: screen;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); opacity: 0;
  transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease;
  filter: blur(1px);
}

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 76px; display: flex; align-items: center;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-soft);
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--pad); width: 100%;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 32px; height: 32px; border-radius: 50%; transition: filter 0.3s ease; }
.brand:hover .brand-mark { filter: drop-shadow(0 0 10px rgba(140,255,160,0.6)); }
.brand-word { height: 16px; width: auto; }

.nav-links {
  list-style: none; display: flex; gap: clamp(18px, 2.5vw, 38px);
  margin-left: auto;
}
.nav-links a {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  position: relative; padding-bottom: 4px;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--mint);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; }

/* ghost button */
.btn-ghost {
  display: inline-block;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mint);
  border: 1px solid var(--border-mint);
  background: transparent; border-radius: 2px;
  padding: 11px 22px; cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn-ghost:hover {
  border-color: var(--mint);
  background: var(--glow-mint-soft);
  box-shadow: 0 0 24px rgba(140,255,160,0.15);
}
.btn-lg { padding: 15px 30px; font-size: 0.82rem; }

/* hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.nav-toggle span {
  width: 24px; height: 1.5px; background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: 50%; right: 8%; transform: translateY(-50%);
  width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: var(--glow-mint); pointer-events: none; z-index: 0;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr;
  align-items: center; gap: clamp(30px, 5vw, 70px);
  position: relative; z-index: 1;
}
.hero-h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(3.4rem, 8.5vw, 8.5rem);
  line-height: 0.98; letter-spacing: -0.03em;
  margin: clamp(14px,2vw,26px) 0 clamp(26px,3vw,40px);
}
.hero-h1 .line { display: block; }
.hero-h1 .line:first-child { font-weight: 300; color: rgba(255,255,255,0.92); }
.hero-h1 .accent {
  font-weight: 800; font-style: italic; color: var(--mint);
  text-shadow: var(--text-glow);
  animation: breathe 4s ease-in-out infinite;
}
.hero-sub { max-width: 48ch; }
.hero-cta {
  display: flex; align-items: center; gap: clamp(20px,3vw,34px);
  flex-wrap: wrap; margin-top: clamp(36px,5vw,52px);
}
.text-link {
  font-family: 'Inter', sans-serif; font-weight: 500;
  color: var(--text); font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.text-link .arrow { color: var(--mint); transition: transform 0.3s var(--ease); }
.text-link:hover .arrow { transform: translateX(6px); }

.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-sat {
  width: 100%; max-width: 760px;
  filter: drop-shadow(0 30px 80px rgba(0,153,255,0.12));
  will-change: transform;
}

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 2;
}
.scroll-line {
  position: relative; width: 1px; height: 40px;
  background: var(--border); overflow: hidden;
}
.scroll-dot {
  position: absolute; top: 0; left: -1.5px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: scrollDown 2.2s ease-in-out infinite;
}
.scroll-label {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.25em; color: var(--muted);
}

/* =====================================================================
   PROBLEM
   ===================================================================== */
.problem { background: var(--bg-raise); }

.hair-grid {
  display: grid; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 2px; overflow: hidden;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.cell {
  background: var(--card); padding: 48px 40px;
  position: relative;
  border-top: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.cell::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: var(--border-mint); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.cell:hover { background: var(--card-2); }
.cell:hover::before { transform: scaleX(1); }
.cell-index {
  font-family: 'Fragment Mono', monospace;
  font-size: 1.3rem; color: var(--muted);
  display: block; margin-bottom: 28px;
  transition: color 0.3s ease;
}
.cell:hover .cell-index { color: var(--text); }
.cell .h3 { margin-bottom: 16px; }

/* =====================================================================
   SOLUTION
   ===================================================================== */
.solution { background: var(--bg); }
.sol-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.sol-sticky { position: sticky; top: 120px; }
.sol-row {
  display: grid; grid-template-columns: 1fr 280px;
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.sol-row-text .kicker { margin-bottom: 18px; }
.sol-row-text .h3 { margin-bottom: 16px; }
.sol-fig {
  position: relative; border: 1px solid var(--border-soft);
  border-radius: 2px; overflow: hidden; background: var(--card);
}
.sol-fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fig-tick {
  position: absolute; top: 10px; right: 10px;
  width: 10px; height: 10px;
  border-top: 1px solid var(--mint); border-right: 1px solid var(--mint);
  opacity: 0.8;
}

/* =====================================================================
   PRODUCT
   ===================================================================== */
.product { background: var(--bg); }

.bleed-band {
  position: relative; width: 100vw;
  left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
  height: 70vh; min-height: 420px; overflow: hidden;
  margin-block: clamp(60px, 8vw, 110px);
}
.bleed-img {
  position: absolute; inset: 0; width: 100%; height: 120%;
  object-fit: cover; top: -10%; will-change: transform;
}
.bleed-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, #000 0%, transparent 22%, transparent 70%, #000 100%),
    radial-gradient(ellipse at 60% 50%, rgba(140,255,160,0.10), transparent 55%);
}
.bleed-caption {
  position: absolute; bottom: clamp(28px,5vw,56px); left: 50%; transform: translateX(-50%);
  font-family: 'Nunito Sans', sans-serif; font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92); text-align: center; white-space: nowrap;
}

/* panel scaling interactive */
.panel-scale { margin-bottom: clamp(60px, 8vw, 100px); }
.panel-nodes {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 2px; overflow: hidden;
}
.panel-node {
  background: var(--card); padding: 40px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  transition: background 0.5s ease;
  position: relative;
}
.panel-node.lit { background: var(--card-2); }
.panel-node.lit::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--border-mint), 0 0 40px rgba(140,255,160,0.25);
  animation: pulseGlow 0.6s var(--ease);
}
.node-num {
  font-family: 'Fragment Mono', monospace; font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--muted); transition: color 0.5s ease, text-shadow 0.5s ease;
}
.panel-node.lit .node-num { color: var(--mint); text-shadow: 0 0 18px rgba(140,255,160,0.4); }

/* wings svg (first node) */
.wings { width: 100%; max-width: 120px; height: auto; }
.wings .bus { fill: var(--muted-2); }
.wings .wing {
  fill: var(--mint); opacity: 0; transform-origin: 60px 30px;
  transform: scaleX(0);
}
.panel-node[data-step="1"].lit .wing { animation: wingOpen 0.5s var(--ease) forwards; }
.panel-node[data-step="1"].lit .wL1, .panel-node[data-step="1"].lit .wR1 { animation-delay: 0s; }
.panel-node[data-step="1"].lit .wL2, .panel-node[data-step="1"].lit .wR2 { animation-delay: 0.12s; }
.panel-node[data-step="1"].lit .wL3, .panel-node[data-step="1"].lit .wR3 { animation-delay: 0.24s; }

.panel-caption {
  font-family: 'Fragment Mono', monospace; font-size: 0.85rem;
  letter-spacing: 0.04em; color: var(--muted-2);
  text-align: center; margin-top: 26px;
  transition: opacity 0.4s ease;
}

/* spec table */
.spec { max-width: 880px; margin-inline: auto; }
.spec-head {
  display: flex; align-items: baseline; gap: 14px;
  background: var(--card-3); padding: 18px 22px;
  border-radius: 2px 2px 0 0;
}
.spec-head-label {
  font-family: 'Nunito Sans', sans-serif; font-weight: 800;
  font-size: 1.1rem; color: var(--text);
}
.spec-head-meta {
  font-family: 'Fragment Mono', monospace; font-size: 0.8rem;
  color: var(--muted); letter-spacing: 0.04em;
}
.spec-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 22px 22px;
  border-top: 1px solid var(--gold);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.spec-row:hover { background: rgba(140,255,160,0.03); border-top-color: var(--border-mint); }
.spec-label {
  font-family: 'Fragment Mono', monospace; font-size: 0.82rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.spec-value {
  font-family: 'Fragment Mono', monospace;
  font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--text);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  white-space: nowrap;
}
.spec-value em {
  font-style: normal; font-size: 0.85rem; color: var(--muted-2);
  letter-spacing: 0.04em; margin-left: 4px;
}
.spec-row:hover .spec-value { color: var(--mint); text-shadow: 0 0 18px rgba(140,255,160,0.3); }
.chip {
  font-family: 'Fragment Mono', monospace; font-size: 0.66rem;
  letter-spacing: 0.06em; color: var(--mint); text-transform: none;
  border: 1px solid var(--border-mint); border-radius: 2px;
  padding: 3px 8px;
}

/* =====================================================================
   VISION
   ===================================================================== */
.vision { background: var(--bg); position: relative; overflow: hidden; }
.vision-blue {
  position: absolute; bottom: 0; left: 0; right: 0; height: 40vh;
  background: var(--glow-blue); pointer-events: none; z-index: 0;
}
.vision .container { position: relative; z-index: 1; }

.vtile {
  background: var(--card); padding: 40px 32px;
  min-height: clamp(240px, 32vh, 340px);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: background 0.4s ease;
}
.vtile:hover { background: var(--card-2); }
.vtile .cell-index { font-size: 2.2rem; opacity: 0.45; margin: 0; }
.vtile-body { position: relative; z-index: 1; transition: transform 0.4s var(--ease); }
.vtile-body .h3 { margin-bottom: 12px; }
.vtile:hover .vtile-body { transform: translateY(-6px); }
.vtile-glow {
  position: absolute; left: 0; right: 0; bottom: -40%; height: 80%;
  background: var(--glow-mint-soft); opacity: 0;
  transition: opacity 0.5s ease; z-index: 0;
}
.vtile:hover .vtile-glow { opacity: 1; }

.pull-quote {
  font-family: 'Nunito Sans', sans-serif; font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.2;
  letter-spacing: -0.02em; text-align: center;
  color: rgba(255,255,255,0.9);
  max-width: 22ch; margin: clamp(80px,10vw,140px) auto 0;
}
.pull-quote strong {
  color: var(--mint); font-weight: 800;
  text-shadow: var(--text-glow);
  animation: breathe 4s ease-in-out infinite;
}

/* =====================================================================
   INVESTORS
   ===================================================================== */
.investors { background: var(--bg-raise); }
.inv-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-soft); border-radius: 2px;
}
.inv-cell {
  min-height: 140px; padding: 36px 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center;
  border-right: 1px solid var(--border-soft);
  opacity: 0.7; transition: opacity 0.4s ease;
}
.inv-cell:last-child { border-right: none; }
.inv-cell:hover { opacity: 1; }

.inv-techstars {
  height: 24px; width: auto;
  filter: invert(1) brightness(2);
}
.inv-nasa {
  height: 46px; width: auto;
  filter: grayscale(1) brightness(1.1); transition: filter 0.4s ease;
}
.inv-cell:hover .inv-nasa { filter: grayscale(0); }
.inv-label {
  font-family: 'Fragment Mono', monospace; font-size: 0.72rem;
  letter-spacing: 0.08em; color: var(--muted);
}
.inv-chip {
  border: 1px solid var(--border); border-radius: 2px;
  padding: 18px 26px; display: flex; flex-direction: column; gap: 6px;
  transition: border-color 0.4s ease;
}
.inv-cell:hover .inv-chip { border-color: var(--border-mint); }
.chip-name {
  font-family: 'Nunito Sans', sans-serif; font-weight: 800;
  font-size: 1.25rem; color: var(--text); letter-spacing: 0.02em;
}
.chip-name.chip-light { font-weight: 300; letter-spacing: 0.04em; }
.chip-sub {
  font-family: 'Fragment Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.06em; color: var(--muted);
}
.inv-meta {
  font-family: 'Fragment Mono', monospace; font-size: 0.78rem;
  letter-spacing: 0.06em; color: var(--muted);
  text-align: center; margin-top: clamp(40px,6vw,64px);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--bg); position: relative; padding-top: clamp(80px,10vw,130px); padding-bottom: 40px; }
.footer-inner {
  display: grid; grid-template-columns: 1.3fr 1.7fr;
  gap: clamp(40px,6vw,80px); padding-bottom: clamp(60px,8vw,90px);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.footer-slogan {
  font-family: 'Nunito Sans', sans-serif; font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.25;
  letter-spacing: -0.01em; color: rgba(255,255,255,0.9); max-width: 18ch;
}
.footer-slogan strong { color: var(--mint); font-weight: 800; text-shadow: var(--text-glow); }

.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px,4vw,48px);
}
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-title {
  font-family: 'Fragment Mono', monospace; font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.92rem; color: var(--text-soft);
  transition: color 0.25s ease; width: fit-content;
}
.footer-col a:hover { color: var(--text); }
.footer-col a.link-mint { color: var(--mint); }
.footer-col a.link-mint:hover { text-shadow: 0 0 14px rgba(140,255,160,0.4); }

.footer-bar {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--border-soft);
  font-family: 'Fragment Mono', monospace; font-size: 0.74rem;
  letter-spacing: 0.04em; color: var(--muted);
}

/* =====================================================================
   ANIMATION KEYFRAMES
   ===================================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float { animation: float 7s ease-in-out infinite; }

@keyframes breathe {
  0%, 100% { text-shadow: 0 0 22px rgba(140,255,160,0.12); }
  50%      { text-shadow: 0 0 34px rgba(140,255,160,0.22); }
}
@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(36px); opacity: 0; }
}
@keyframes pulseGlow {
  0%   { opacity: 0; }
  40%  { opacity: 1; }
  100% { opacity: 0.4; }
}
@keyframes wingOpen {
  to { opacity: 1; transform: scaleX(1); }
}

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
[data-reveal] {
  opacity: 0; transform: translateY(28px); filter: blur(4px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* hero entrance (driven by .loaded on body) */
[data-hero] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
body.loaded [data-hero] { opacity: 1; transform: none; }
body.loaded [data-hero="1"] { transition-delay: 0.10s; }
body.loaded [data-hero="2"] { transition-delay: 0.22s; }
body.loaded [data-hero="3"] { transition-delay: 0.34s; }
body.loaded [data-hero="4"] { transition-delay: 0.46s; }
body.loaded [data-hero="5"] { transition-delay: 0.58s; }
[data-hero="6"] {
  transform: scale(1.04);
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
}
body.loaded [data-hero="6"] { transition-delay: 0.20s; transform: scale(1); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1099px) {
  .sol-grid { grid-template-columns: 1fr; }
  .sol-sticky { position: static; }
  .sol-row { grid-template-columns: 1fr; gap: 28px; }
  .sol-row .sol-fig { max-width: 380px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .inv-grid { grid-template-columns: repeat(2, 1fr); }
  .inv-cell:nth-child(2) { border-right: none; }
  .inv-cell:nth-child(1), .inv-cell:nth-child(2) { border-bottom: 1px solid var(--border-soft); }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; margin-top: 40px; }
  .hero-sat { max-width: 92vw; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --sec-pad: clamp(80px, 12vh, 120px); }

  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(0,0,0,0.92); backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--border-mint);
    border-bottom: 1px solid var(--border-soft);
    padding: 10px 0; margin: 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px var(--pad); width: 100%; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .inv-grid { grid-template-columns: 1fr; }
  .inv-cell { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .inv-cell:last-child { border-bottom: none; }

  .bleed-band { height: 46vh; }
  .bleed-caption { white-space: normal; width: 88%; }
  .panel-nodes { grid-template-columns: repeat(2, 1fr); }

  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .spec-value { font-size: 1.5rem; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal], [data-hero] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .wings .wing { opacity: 1; transform: scaleX(1); }
  .cursor-dot { display: none; }
}
