/* ============================================================
   ARRAKIS — TERRAFORMER
   Thème : désert de sable, ambre, or impérial
   ============================================================ */

:root {
  --bg-darkest:  #080402;
  --bg-dark:     #0F0704;
  --bg-mid:      #1A0D06;
  --bg-card:     #221108;
  --bg-card2:    #2A1510;
  --sand-pale:   #F5E6C8;
  --sand-light:  #E8C898;
  --sand-mid:    #C49A6C;
  --sand-dark:   #8B5E3C;
  --amber:       #D4872A;
  --amber-bright:#F0A030;
  --spice:       #E8651A;
  --spice-dark:  #B44010;
  --text-primary:#F0DEC0;
  --text-second: #A88060;
  --text-muted:  #705040;
  --green:       #4A7C39;
  --green-bright:#6FB050;
  --blue:        #1E6B8A;
  --blue-bright: #2E9AC0;
  --border:      rgba(212,135,42,0.2);
  --glow-amber:  0 0 20px rgba(212,135,42,0.4);
  --glow-spice:  0 0 30px rgba(232,101,26,0.35);
}

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

html { scroll-behavior:smooth; }

body {
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 3px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--sand-light);
}

h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); color: var(--amber-bright); }
h4 { font-size: 1rem; color: var(--sand-mid); }

strong { color: var(--amber-bright); font-weight: 600; }
em { color: var(--sand-mid); font-style: italic; }

p { color: var(--text-primary); line-height: 1.8; }

/* ── NAV ─────────────────────────────────────────────────── */

#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,4,2,0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  padding: 1rem 0;
}

#main-nav.scrolled {
  background: rgba(8,4,2,0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: 0.15em;
  text-decoration: none;
}

.logo-circle {
  font-size: 1.4rem;
  color: var(--spice);
  filter: drop-shadow(var(--glow-spice));
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-second);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--amber);
  transition: right 0.3s;
}

.nav-links a:hover { color: var(--amber); }
.nav-links a:hover::after { right: 0; }

/* ── HERO ─────────────────────────────────────────────────── */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 40%, #3D1A08 0%, #150A03 50%, #080402 100%);
}

#sand-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--spice);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s ease forwards;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: var(--sand-pale);
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 1s 0.6s ease forwards;
}

.spice-text {
  color: var(--amber);
  text-shadow: var(--glow-amber), 0 0 60px rgba(212,135,42,0.3);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--sand-mid);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.9s ease forwards;
}

.hero-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-second);
  border-left: 2px solid var(--spice);
  padding: 1rem 1.5rem;
  margin: 0 auto 2.5rem;
  max-width: 600px;
  text-align: left;
  opacity: 0;
  animation: fadeUp 1s 1.2s ease forwards;
}

.hero-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--amber);
  color: var(--amber);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  opacity: 0;
  animation: fadeUp 1s 1.5s ease forwards;
}

.hero-cta:hover {
  background: var(--amber);
  color: var(--bg-darkest);
  box-shadow: var(--glow-amber);
}

.hero-dunes {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
}

.hero-dunes svg { width: 100%; height: 200px; display: block; }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 30px;
  border: 1px solid var(--amber);
  border-radius: 10px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 6px;
  background: var(--amber);
  border-radius: 2px;
  animation: scrollDot 1.5s infinite;
}

/* ── SECTIONS COMMUNES ───────────────────────────────────── */

section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--spice);
  text-transform: uppercase;
  border: 1px solid var(--spice-dark);
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
  background: rgba(232,101,26,0.05);
}

.section-header h2 { margin-bottom: 0.8rem; }

.section-sub {
  color: var(--text-second);
  font-size: 1rem;
  font-style: italic;
}

/* ── REVEAL ANIMATION ────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ── SECTION A : ÉTAT DES LIEUX ─────────────────────────── */

.narrative {
  display: grid;
  gap: 2rem;
  margin-bottom: 5rem;
}

.narrative-block {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-mid));
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  padding: 2rem;
  border-radius: 4px;
}

.narrative-block h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--amber-bright);
}

.narrative-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  border-radius: 4px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  border-color: var(--amber);
  box-shadow: var(--glow-amber);
}

.stat-value {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--spice);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-second);
  letter-spacing: 0.05em;
}

/* ── STATIONS MÉTÉO ─────────────────────────────────────── */

.stations-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.stations-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.stations-header p {
  color: var(--text-second);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.refresh-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00ff80;
  box-shadow: 0 0 8px #00ff80;
  animation: pulse 1.5s infinite;
}

#btn-refresh {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--amber);
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s;
}

#btn-refresh:hover { background: var(--border); border-color: var(--amber); }

.stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.station-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
  font-family: 'Courier New', monospace;
}

.station-card:hover {
  border-color: var(--amber);
  box-shadow: var(--glow-amber);
}

.station-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: rgba(212,135,42,0.08);
  border-bottom: 1px solid var(--border);
}

.station-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.station-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00ff80;
  box-shadow: 0 0 6px #00ff80;
  animation: pulse 2s infinite;
}

.station-status {
  font-size: 0.65rem;
  color: #00ff80;
  letter-spacing: 0.1em;
}

.station-status.offline { color: #ff4444; }

.station-body { padding: 1.2rem; }

.station-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.metric {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.8rem;
  background: var(--bg-mid);
  border-radius: 4px;
  border: 1px solid rgba(212,135,42,0.1);
}

.metric-icon { font-size: 1.2rem; }

.metric div {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber-bright);
  line-height: 1;
}

.metric-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.metric-label {
  font-size: 0.65rem;
  color: var(--text-second);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.webcam-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-mid);
  border-radius: 4px;
  overflow: hidden;
}

.webcam-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.webcam-error {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  flex-direction: column;
  gap: 0.5rem;
}

.webcam-error::before {
  content: '⚠';
  font-size: 1.5rem;
  color: var(--amber);
  opacity: 0.4;
}

.station-footer {
  padding: 0.5rem 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.update-time { letter-spacing: 0.05em; }

/* ── SECTION B : ACTEURS ─────────────────────────────────── */

#acteurs { background: var(--bg-dark); padding: 6rem 2rem; max-width: 100%; }
#acteurs > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.actors-grid {
  max-width: 1200px;
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.actor-card {
  perspective: 1000px;
  height: 260px;
  cursor: pointer;
}

.actor-card:hover .actor-front { transform: rotateY(-180deg); }
.actor-card:hover .actor-back  { transform: rotateY(0deg); }

.actor-front, .actor-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 6px;
  padding: 2rem;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.actor-front {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-card2));
  border: 1px solid var(--border);
}

.actor-back {
  background: linear-gradient(160deg, var(--bg-card2), #1A0800);
  border: 1px solid var(--amber);
  transform: rotateY(180deg);
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
}

.actor-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--bg-darkest);
  margin-bottom: 1rem;
  border: 2px solid var(--border);
}

.av-kynes  { background: linear-gradient(135deg, #D4872A, #8B5E3C); }
.av-liet   { background: linear-gradient(135deg, #E8651A, #D4872A); }
.av-stilgar{ background: linear-gradient(135deg, #8B5E3C, #5A3020); }
.av-fremen { background: linear-gradient(135deg, #C49A6C, #8B5E3C); }
.av-chani  { background: linear-gradient(135deg, #D4872A, #E8651A); }
.av-guilde { background: linear-gradient(135deg, #1E6B8A, #2E9AC0); }

.actor-front h4 {
  font-size: 1.1rem;
  color: var(--sand-light);
  margin-bottom: 0.3rem;
}

.actor-title {
  font-size: 0.75rem;
  color: var(--spice);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.actor-back h4 {
  font-size: 0.9rem;
  color: var(--amber);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.actor-back p {
  font-size: 0.82rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.actor-back ul {
  list-style: none;
  padding: 0;
}

.actor-back ul li {
  font-size: 0.75rem;
  color: var(--text-second);
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}

.actor-back ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--spice);
}

.flip-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin: 1rem auto 0;
  max-width: 1200px;
}

/* ── TECHNOLOGIES ─────────────────────────────────────────── */

#technologies {
  background: var(--bg-darkest);
  padding: 6rem 2rem;
  max-width: 100%;
}
#technologies > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.tech-container { max-width: 1200px; margin: 0 auto; }

.tech-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.tech-tab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-second);
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  border-radius: 3px;
  transition: all 0.3s;
}

.tech-tab:hover { border-color: var(--amber); color: var(--amber); }

.tech-tab.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg-darkest);
  font-weight: 600;
}

.tech-panels { position: relative; }

.tech-panel {
  display: none;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

.tech-panel.active { display: grid; }

.tech-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-visual svg { width: 100%; max-width: 220px; }

.tech-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--amber-bright);
}

.tech-info p { color: var(--text-primary); margin-bottom: 1.2rem; font-size: 0.95rem; }

.tech-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.t-stat { display: flex; flex-direction: column; align-items: center; }

.t-stat span {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--spice);
}

.t-stat small {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── SECTION C : PROJECTION ──────────────────────────────── */

#projection {
  background: var(--bg-dark);
  padding: 6rem 2rem;
  max-width: 100%;
}
#projection > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

/* BEFORE/AFTER SLIDER */

.comparison {
  max-width: 1200px;
  margin: 0 auto 5rem;
  position: relative;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  user-select: none;
}

.comp-label {
  position: absolute;
  top: 1rem;
  z-index: 5;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  pointer-events: none;
}

.comp-label-before {
  left: 1rem;
  background: rgba(139,94,60,0.7);
  color: var(--sand-pale);
}

.comp-label-after {
  right: 1rem;
  background: rgba(74,124,57,0.7);
  color: #C8F0A0;
}

.comp-scene {
  position: absolute;
  inset: 0;
}

.comp-scene svg { width: 100%; height: 100%; }

.comp-before { z-index: 1; }

.comp-after {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s;
}

.comp-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: white;
  z-index: 4;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
  pointer-events: none;
}

.comp-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  background: white;
  color: var(--bg-darkest);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 900;
  cursor: ew-resize;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.comp-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
  margin: 0;
}

/* SPICE ARGUMENT */

.spice-argument {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.arg-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.spice-icon {
  font-size: 2rem;
  color: var(--spice);
  filter: drop-shadow(var(--glow-spice));
}

.arg-header h3 { font-size: 1.6rem; }

.arg-intro {
  color: var(--text-second);
  font-style: italic;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.arg-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.arg-point {
  display: flex;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-mid));
  border: 1px solid var(--border);
  border-left: 3px solid var(--spice);
  padding: 1.5rem;
  border-radius: 0 6px 6px 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.arg-point:hover {
  border-left-color: var(--amber);
  box-shadow: -4px 0 20px rgba(232,101,26,0.2);
}

.arg-num {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--spice);
  opacity: 0.3;
  min-width: 60px;
  line-height: 1;
  padding-top: 0.2rem;
}

.arg-point h4 {
  font-size: 1rem;
  color: var(--amber-bright);
  margin-bottom: 0.6rem;
}

.arg-point p { font-size: 0.9rem; }

/* CHART */

.chart-section {
  max-width: 1200px;
  margin: 0 auto 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.chart-section h3 { margin-bottom: 0.5rem; }

.chart-section > p {
  color: var(--text-second);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.chart-wrapper {
  position: relative;
  height: 350px;
}

.chart-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* FINAL CALL */

.final-call {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(212,135,42,0.05), rgba(232,101,26,0.05));
  border: 1px solid rgba(212,135,42,0.3);
  border-radius: 8px;
}

.final-call blockquote {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--amber);
  font-style: italic;
  margin-bottom: 1.5rem;
  text-shadow: var(--glow-amber);
}

.final-call p {
  max-width: 700px;
  margin: 0 auto 1rem;
  color: var(--text-primary);
}

.final-sig {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
  letter-spacing: 0.05em;
}

/* ── FOOTER ──────────────────────────────────────────────── */

footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner { max-width: 600px; margin: 0 auto; }

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-quote { font-style: italic; color: var(--sand-dark) !important; }

.footer-credit {
  margin-top: 1.5rem !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.1em;
  color: var(--text-muted) !important;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ── KEYFRAMES ───────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDot {
  0%   { top: 5px; opacity: 1; }
  100% { top: 16px; opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.2); }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links { display: none; }

  .tech-panel.active {
    grid-template-columns: 1fr;
  }

  .tech-visual { display: none; }

  .arg-point { flex-direction: column; gap: 0.5rem; }
  .arg-num { font-size: 1.2rem; }

  .actor-card { height: 300px; }

  .comparison { height: 250px; }
}

@media (max-width: 480px) {
  section { padding: 4rem 1rem; }
  .stations-grid { grid-template-columns: 1fr; }
}
