/* ═══════════════════════════════════════════════════════════════════
   London Nervous System v3 Clean Minimal
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --white: #F6F4F0;
  --bg: #EDEAE4;
  --text: #0A0A0A;
  --text-2: #555;
  --text-3: #999;
  --border: #E5E5E5;
  --accent: #D6382D;
  --dark: #111;
  --dark-2: #1A1A1A;
  --dark-muted: #888;
  --font: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  background-image: radial-gradient(circle, rgba(10,10,10,0.035) 1px, transparent 1px);
  background-size: 26px 26px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
}

/* ── Typography ─────────────────────────────────────────────────── */
h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.9rem 0;
  transition: all 0.3s;
}

header.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(90deg, var(--text) 0%, var(--text) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0s;
}

@media (hover: hover) {
  .wordmark:hover {
    background: linear-gradient(90deg, var(--text) 0%, var(--accent) 40%, var(--text) 80%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: neural-sweep 0.8s ease forwards;
  }
}

@keyframes neural-sweep {
  from { background-position: 100% 0; }
  to   { background-position: -100% 0; }
}


nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

nav a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s;
}
nav a:hover { color: var(--text); }

.nav-cta {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text) !important;
  transition: all 0.15s;
}
.nav-cta:hover { border-color: var(--text-3); background: var(--bg); }

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 10rem 0 5rem;
  overflow: visible;
}

/* ── London Skyline ────────────────────────────────────────────── */
.skyline-wrap {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0.14;
  color: var(--text);
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 93%, transparent 100%);
}

.eye-boost {
  transform-origin: 220px 243px;
}

@keyframes eye-boost-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (hover: hover) {
  .london-eye { pointer-events: auto; cursor: pointer; }
  .london-eye:hover .eye-boost {
    animation: eye-boost-spin 12s linear infinite;
  }
}

.skyline-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Skyline Animations ───────────────────────────────────────── */
.bird {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: flap 0.7s ease-in-out infinite alternate;
}
.b-d1 { animation-delay: 0.15s; }
.b-d2 { animation-delay: 0.3s; }
.b-d3 { animation-delay: 0.1s; }
.b-d4 { animation-delay: 0.25s; }

@keyframes flap {
  0%   { transform: scaleY(1); }
  100% { transform: scaleY(-0.4); }
}

.blink-light {
  fill: #D6382D;
  animation: beacon 3s ease-in-out infinite;
}
.blink-delay {
  animation-delay: 1.5s;
}

@keyframes beacon {
  0%, 65%, 100% { opacity: 0; }
  70%, 90%      { opacity: 0.85; }
}

.hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 1.5rem;
}

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

.live-dot--green { background: #22C55E; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 { margin-bottom: 1.5rem; max-width: 680px; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; gap: 0.65rem; }

.btn-solid {
  padding: 0.85rem 1.75rem;
  background: var(--text);
  color: var(--white);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-solid:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-ghost {
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--text-3); transform: translateY(-1px); }

/* ── Hero Panel ─────────────────────────────────────────────────── */
.hero-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.panel-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.panel-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(214,56,45,0.2);
  border-radius: 4px;
  background: rgba(214,56,45,0.05);
}

.signal {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.signal:last-of-type { border-bottom: none; }

.signal-domain {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.3rem;
}

.signal-domain--energy    { color: #854D0E; background: #FEF9C3; }
.signal-domain--env       { color: #065F46; background: #D1FAE5; }
.signal-domain--ecology   { color: #166534; background: #DCFCE7; }
.signal-domain--transport { color: #1E40AF; background: #DBEAFE; }
.signal-domain--socio     { color: #5B21B6; background: #EDE9FE; }
.signal-domain--social    { color: #9F1239; background: #FFE4E6; }

.signal p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}
.signal p strong { color: var(--text); }

.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.panel-stats div {
  text-align: center;
}

.panel-stats strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.panel-stats span {
  font-size: 0.7rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════════════════
   SOURCES WALL
   ══════════════════════════════════════════════════════════════════ */
.sources-wall {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
}

.sources-wall h2 {
  margin-bottom: 2rem;
}

.source-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.source-cloud span {
  font-size: 0.72rem;
  font-weight: 500;
  color: #777;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.source-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.source-logos span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 80px;
  height: 80px;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.55rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
}

.source-logos span img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.source-cloud {
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.source-more {
  text-align: center;
  color: var(--text-3);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}



/* ══════════════════════════════════════════════════════════════════
   FINDINGS
   ══════════════════════════════════════════════════════════════════ */
.findings {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.findings > .wrap > h2 { margin-bottom: 0.5rem; }

.findings-intro {
  color: var(--text-2);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 3rem;
}

.findings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.finding-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) {
  .finding-card:hover {
    transform: translateY(-4px) rotate3d(1, -1, 0, 2deg);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  }
}

.finding-domain {
  display: inline-block;
  width: fit-content;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.finding-domain--energy    { color: #854D0E; background: #FEF9C3; transition: box-shadow 0.25s; }
.finding-domain--env       { color: #065F46; background: #D1FAE5; transition: box-shadow 0.25s; }
.finding-domain--ecology   { color: #166534; background: #DCFCE7; transition: box-shadow 0.25s; }
.finding-domain--transport { color: #1E40AF; background: #DBEAFE; transition: box-shadow 0.25s; }
.finding-domain--socio     { color: #5B21B6; background: #EDE9FE; transition: box-shadow 0.25s; }
.finding-domain--social    { color: #9F1239; background: #FFE4E6; transition: box-shadow 0.25s; }

@media (hover: hover) {
  .finding-card:hover .finding-domain--energy    { box-shadow: 0 0 12px rgba(234,179,8,0.4); }
  .finding-card:hover .finding-domain--env       { box-shadow: 0 0 12px rgba(16,185,129,0.4); }
  .finding-card:hover .finding-domain--ecology   { box-shadow: 0 0 12px rgba(34,197,94,0.4); }
  .finding-card:hover .finding-domain--transport { box-shadow: 0 0 12px rgba(59,130,246,0.4); }
  .finding-card:hover .finding-domain--socio     { box-shadow: 0 0 12px rgba(139,92,246,0.4); }
  .finding-card:hover .finding-domain--social    { box-shadow: 0 0 12px rgba(225,29,72,0.4); }
}

.finding-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.finding-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.finding-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.finding-metric {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════════════════════════════
   NERVOUS SYSTEM (How It Works)
   ══════════════════════════════════════════════════════════════════ */
.nervous-system {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
  background: var(--dark);
  color: var(--white);
  border-top: 1px solid var(--border);
}

.nervous-system .label { color: var(--accent); }

.nervous-system h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.ns-intro {
  color: var(--dark-muted);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.ns-diagram {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.ns-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* SVG text styles */
.ns-src-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px;
  fill: rgba(255,255,255,0.35);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ns-zone-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px;
  fill: rgba(255,255,255,0.22);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ns-out-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px;
  fill: rgba(255,255,255,0.4);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ns-node-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 8px;
  fill: rgba(255,255,255,0.28);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Source cluster breathing */
.source-cluster {
  opacity: 0.55;
  animation: ns-breathe 5s ease-in-out infinite;
}
.sc-2 { animation-delay: 0.7s; }
.sc-3 { animation-delay: 1.4s; }
.sc-4 { animation-delay: 2.1s; }
.sc-5 { animation-delay: 0.35s; }
.sc-6 { animation-delay: 1.75s; }
.sc-7 { animation-delay: 2.5s; }

@keyframes ns-breathe {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.75; }
}

/* Retina block */
.retina-block {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

.retina-grid {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(7, 14px);
  gap: 3px;
}

.rc {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: rgba(255,255,255,0.04);
}

.rc-p { background: rgba(245,158,11,0.2); }
.rc-f { background: rgba(239,68,68,0.4); }

.retina-legend {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.retina-key {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.retina-swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.retina-swatch--f   { background: rgba(239,68,68,0.5); }
.retina-swatch--p   { background: rgba(245,158,11,0.3); }
.retina-swatch--per { background: rgba(255,255,255,0.06); }

.retina-text h3 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.retina-text p {
  color: var(--dark-muted);
  font-size: 0.84rem;
  line-height: 1.6;
  max-width: 440px;
}

/* Retina divider */
.retina-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* Stats (inside retina block) */
.ns-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex: 1;
}

.ns-stats div { text-align: center; }

.ns-stats strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.ns-stats span {
  font-size: 0.7rem;
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════════════════
   PULSE (DARK)
   ══════════════════════════════════════════════════════════════════ */
.pulse {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: var(--dark);
  color: var(--white);
}

.pulse-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pulse-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pulse-heading h2 { color: var(--white); }

.pulse-date {
  font-size: 0.78rem;
  color: var(--dark-muted);
}

.pulse-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.pulse-stat {
  padding: 1.1rem;
  background: var(--dark-2);
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}

@media (hover: hover) {
  .pulse-stat:hover {
    border-color: rgba(214,56,45,0.3);
    box-shadow: 0 0 16px rgba(214,56,45,0.1);
  }
}

.pulse-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.1rem;
}

.pulse-stat span {
  font-size: 0.72rem;
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pulse-quote {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.55;
  color: #CCC;
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  max-width: 720px;
}

/* ══════════════════════════════════════════════════════════════════
   MAP
   ══════════════════════════════════════════════════════════════════ */
.map-section {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background: var(--dark);
}

#london-map {
  width: 100%; height: 100%;
  background: var(--dark);
}

.map-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  text-align: center;
  padding: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  background: linear-gradient(transparent, rgba(17,17,17,0.9));
  z-index: 500;
  pointer-events: none;
}

.map-sep { margin: 0 0.5rem; opacity: 0.4; }

.map-section .leaflet-control-attribution {
  background: rgba(17,17,17,0.8) !important;
  color: rgba(255,255,255,0.25) !important;
  font-size: 0.6rem !important;
}
.map-section .leaflet-control-attribution a { color: rgba(255,255,255,0.35) !important; }
.map-section .leaflet-control-zoom a {
  background: #1A1A1A !important;
  color: #FFF !important;
  border-color: #333 !important;
}

/* Map status badge */
.map-status {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 1000;
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  pointer-events: none;
}
.map-status--live {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.map-status--offline {
  background: rgba(107, 114, 128, 0.15);
  color: #9CA3AF;
  border: 1px solid rgba(107, 114, 128, 0.3);
}
.map-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.map-status--live .map-status-dot {
  background: #22C55E;
  animation: pulse 2.5s ease-in-out infinite;
}
.map-status--offline .map-status-dot {
  background: #6B7280;
}

/* LNS map tooltips */
.lns-tooltip {
  background: rgba(17, 17, 17, 0.92) !important;
  color: #E5E7EB !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.72rem !important;
  line-height: 1.4 !important;
  padding: 6px 10px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}
.lns-tooltip::before { border-top-color: rgba(17,17,17,0.92) !important; }

/* Anomaly pulse on map */
@keyframes anomaly-ring {
  0%   { stroke-opacity: 0.6; r: 6; }
  100% { stroke-opacity: 0; r: 18; }
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT + SIGNUP (combined)
   ══════════════════════════════════════════════════════════════════ */
.contact {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--dark);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.contact-col { }

.contact h2 {
  color: var(--white);
  margin-bottom: 0.6rem;
}

.contact-sub {
  font-size: 0.95rem;
  color: var(--dark-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.contact-link {
  display: inline-block;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: var(--white);
  background: none;
  cursor: pointer;
  transition: all 0.2s;
}
.contact-link:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.contact-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.contact-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  transition: all 0.2s;
  color: var(--white);
}

.contact-social:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.contact-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.1);
}

.signup-col .label {
  color: var(--accent);
}

.signup-heading {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.signup-sub {
  font-size: 0.88rem;
  color: var(--dark-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.signup-form {
  display: flex;
  gap: 0.5rem;
}

.signup-input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  font-family: var(--font);
  font-size: 0.86rem;
  color: var(--white);
  background: var(--dark-2);
  border: 1px solid #333;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s;
}

.signup-input::placeholder { color: #555; }
.signup-input:focus { border-color: var(--accent); }

.signup-btn {
  padding: 0.65rem 1.25rem;
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}
.signup-btn:hover { opacity: 0.85; transform: translateY(-1px); }

.signup-status {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #22C55E;
  min-height: 1.2em;
}

.signup-note {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: #444;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
footer {
  padding: 1.5rem 0;
  background: #0A0A0A;
  border-top: 1px solid #222;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #555;
}

.footer-whisper {
  opacity: 0;
  transition: opacity 0.6s ease;
  color: #444;
}

@media (hover: hover) {
  .footer-year:hover .footer-whisper {
    opacity: 1;
  }
}


/* ══════════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.findings-grid .finding-card:nth-child(2) { transition-delay: 0.08s; }
.findings-grid .finding-card:nth-child(3) { transition-delay: 0.16s; }
.findings-grid .finding-card:nth-child(4) { transition-delay: 0.24s; }
.findings-grid .finding-card:nth-child(5) { transition-delay: 0.32s; }
.findings-grid .finding-card:nth-child(6) { transition-delay: 0.40s; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { margin-top: 0.5rem; }

  .findings-grid { grid-template-columns: 1fr; }

  .retina-block { flex-direction: column; align-items: center; text-align: center; }
  .retina-text p { max-width: 100%; }
  .retina-legend { justify-content: center; }
  .retina-divider { width: 100%; height: 1px; }
  .ns-stats { flex-direction: row; gap: 2rem; }
  .ns-stats { gap: 2rem; }

  .pulse-row { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-divider { width: 100%; height: 1px; align-self: auto; }
}

@media (max-width: 560px) {
  nav a:not(.nav-cta) { display: none; }

  .hero { padding: 6.5rem 0 3rem; min-height: auto; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }

  .hero-actions { flex-direction: column; }
  .btn-solid, .btn-ghost { width: 100%; text-align: center; }

  .ns-stats { gap: 1.25rem; }
  .ns-stats strong { font-size: 1.1rem; }

  .pulse-row { grid-template-columns: 1fr 1fr; }
  .pulse-stat strong { font-size: 1.2rem; }

  .map-section { height: 45vh; min-height: 260px; }

  .map-caption span:not(.map-sep) { display: block; }
  .map-sep { display: none; }

  .contact-col { text-align: center; }
  .contact-socials { justify-content: center; }
  .contact-link { width: 100%; text-align: center; }

  .signup-form { flex-direction: column; }
  .signup-btn { width: 100%; }

  .wordmark { font-size: 0.95rem; }

  .panel-stats { grid-template-columns: repeat(3, 1fr); gap: 0.25rem; }
  .panel-stats strong { font-size: 1.1rem; }

  .finding p { font-size: 0.9rem; }
  .finding h3 { font-size: 1rem; }

  .footer-row { flex-direction: column; align-items: center; gap: 0.25rem; }
}
