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

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --ink:        #0a0b0e;
  --surface-1:  #101114;
  --surface-2:  #16171b;
  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(255,255,255,0.13);
  --red:        #e84040;
  --red-dim:    rgba(232,64,64,0.12);
  --amber:      #f5a623;
  --amber-dim:  rgba(245,166,35,0.12);
  --teal:       #2dd4bf;
  --text-1:     #f0efec;
  --text-2:     #9ca3af;
  --text-3:     #4b5563;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --font-mono:  'DM Mono', 'Courier New', monospace;
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  22px;
}

/* ─── BASE ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--text-1);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--red) 0%, var(--amber) 100%);
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-2) 50%, transparent 100%);
}

/* ─── TICKER ─────────────────────────────────────────────────── */
.alert-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--red);
  overflow: hidden;
  padding: 9px 0;
}

/* Edge fade masks on alert bar */
.alert-bar::before,
.alert-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.alert-bar::before { left: 0; background: linear-gradient(90deg, var(--red), transparent); }
.alert-bar::after  { right: 0; background: linear-gradient(-90deg, var(--red), transparent); }

.alert-scroll {
  display: flex;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}

.alert-scroll span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 3rem;
}

.alert-scroll span::before {
  content: '◆';
  margin-right: 1.5rem;
  opacity: 0.4;
  font-size: 0.5em;
  vertical-align: middle;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── NAV ────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem clamp(1.25rem, 5vw, 2.5rem);
  background: rgba(10, 11, 14, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  background: rgba(10, 11, 14, 0.96);
  border-bottom-color: var(--border-2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-1);
  text-transform: uppercase;
}

.nav-byline {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: var(--text-3);
  letter-spacing: 0.03em;
}
.nav-byline a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-byline a:hover { color: var(--text-1); }

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

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

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,64,64,0.7); }
  50%       { box-shadow: 0 0 0 8px rgba(232,64,64,0); }
}

.nav-action {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-action:hover { background: #d03535; }
@media (max-width: 480px) { .nav-action { font-size: 0.5rem; padding: 0.3rem 0.6rem; } }

.nav-time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Big red glow behind headline */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at 50% 30%, rgba(232,64,64,0.09) 0%, transparent 68%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--red);
  opacity: 0.5;
}

h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

h1 .line-1 {
  display: block;
  font-size: 0.28em;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--text-2);
  margin-bottom: 0.4em;
  line-height: 1;
}

h1 .line-2 {
  display: block;
  background: linear-gradient(160deg, #ffffff 20%, var(--red) 60%, #ff6b6b 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-sub strong { color: var(--text-1); font-weight: 500; }

/* ─── COUNTDOWN ──────────────────────────────────────────────── */
.countdown-wrap {
  width: 100%;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 2vw, 0.875rem);
}

.cd-unit {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: clamp(1.2rem, 3.5vw, 2rem) 0.5rem clamp(1rem, 3vw, 1.6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.cd-unit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(232,64,64,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cd-unit:hover { border-color: var(--border-2); }

.cd-num {
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
  position: relative;
  font-variant-numeric: tabular-nums;
  transition: transform 0.15s ease, text-shadow 0.3s ease;
}

.cd-unit:hover .cd-num {
  text-shadow: 0 0 30px rgba(232,64,64,0.3);
}

.cd-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 0.7rem;
}

.cd-note {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-3);
  letter-spacing: 0.07em;
  text-align: center;
}


/* Urgency mode — last hour */
.countdown.urgency .cd-unit {
  border-color: rgba(232,64,64,0.25);
  box-shadow: 0 0 30px rgba(232,64,64,0.06);
}
.countdown.urgency .cd-num {
  color: var(--red);
  text-shadow: 0 0 40px rgba(232,64,64,0.4);
}

/* Expired state */
.countdown-expired .cd-num {
  color: var(--red);
  animation: blink 0.9s ease-in-out infinite;
}

.countdown-expired .cd-unit {
  border-color: rgba(232,64,64,0.35);
  box-shadow: 0 0 40px rgba(232,64,64,0.1);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* Post-deadline banner */
.deadline-banner {
  display: none;
  text-align: center;
  padding: 1rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(232,64,64,0.3);
  border-radius: var(--r-sm);
  background: var(--red-dim);
  animation: fadeUp 0.5s ease forwards;
}

.deadline-banner span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.deadline-banner.show { display: block; }

/* ─── CALLOUT QUOTE ──────────────────────────────────────────── */
.callout {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
}

.callout-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 2.5rem);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.callout-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.65;
  position: relative;
}

.callout-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-style: normal;
  font-weight: 900;
  color: var(--red);
  opacity: 0.2;
  line-height: 0.5;
  margin-bottom: 0.75rem;
}


.callout-quote strong {
  font-style: normal;
  font-weight: 700;
  color: var(--amber);
  -webkit-text-fill-color: var(--amber);
}

.callout-attr {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── SECTIONS ───────────────────────────────────────────────── */
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section[id] { scroll-margin-top: 100px; }

.section-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.7rem;
}

.section-tag::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.section-intro {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ─── EDITORIAL CARDS ────────────────────────────────────────── */
.editorial {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.editorial:hover {
  border-color: var(--border-2);
  border-left-color: var(--red);
  box-shadow: -3px 0 20px rgba(232,64,64,0.06), 0 2px 16px rgba(0,0,0,0.2);
  transform: translateX(2px);
}

.editorial:last-child { margin-bottom: 0; }

.editorial-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.9rem;
}

.editorial h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.editorial p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.editorial p:last-child { margin-bottom: 0; }

/* Drop cap on first paragraph of first editorial */
.editorial:first-child p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 3.4em;
  font-weight: 900;
  float: left;
  line-height: 0.78;
  margin-right: 0.08em;
  margin-top: 0.05em;
  color: var(--red);
}

/* ─── COMPACT EDITORIAL GRID ────────────────────────────────── */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 768px) { .editorial-grid { grid-template-columns: 1fr; } }

.editorial-compact {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.editorial-compact:hover {
  border-color: var(--border-2);
  border-left-color: var(--red);
  box-shadow: -3px 0 20px rgba(232,64,64,0.06);
}
.editorial-compact h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.editorial-lede {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 0;
}
.editorial-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), margin 0.3s;
  margin-top: 0;
}
.editorial-expand.open {
  max-height: 600px;
  margin-top: 1rem;
}
.editorial-expand p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}
.editorial-expand p:last-child { margin-bottom: 0; }
.editorial-expand strong { color: var(--text-1); font-weight: 600; }

.editorial-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}
.editorial-read-more:hover { color: var(--text-1); }
.editorial-read-more svg {
  width: 12px; height: 12px; fill: currentColor;
  transition: transform 0.3s;
}
.editorial-read-more.is-open svg { transform: rotate(180deg); }

.editorial strong {
  color: var(--text-1);
  font-weight: 600;
}

/* ─── STATS ──────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.stat {
  padding: 2rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--surface-1);
  transition: background 0.25s, transform 0.25s;
}

.stat:last-child { border-right: none; }
.stat:hover { background: var(--surface-2); }
.stat:hover .stat-val { transform: scale(1.05); }

.stat-val {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-val {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-desc {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-3);
  margin-top: 0.6rem;
  line-height: 1.4;
}

/* ─── MAP ────────────────────────────────────────────────────── */
.map-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  overflow: hidden;
  padding: 0;
}

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

/* Vignette overlay on map */
.map-card {
  position: relative;
}
.map-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 50%, var(--surface-1) 100%);
  pointer-events: none;
  z-index: 1;
  border-radius: var(--r-lg);
  opacity: 0.5;
}

.map-legend {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  background: var(--surface-1);
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.map-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── TIMELINE ───────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--red) 0%, var(--amber) 50%, var(--border) 100%);
}

.tl-item {
  position: relative;
  padding: 0 0 2.75rem 1.75rem;
}

.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
  content: '';
  position: absolute;
  left: calc(-1.5rem + 0px);
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--text-3);
  transition: border-color 0.3s;
}

.tl-item.now::before {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 10px rgba(232,64,64,0.5);
}

.tl-date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.3rem;
}

.tl-item.now .tl-date { color: var(--red); }

.tl-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.tl-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.7;
}

/* Timeline stagger reveal */
.tl-item {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.timeline.vis .tl-item { opacity: 1; transform: none; }
.timeline.vis .tl-item:nth-child(1) { transition-delay: 0s; }
.timeline.vis .tl-item:nth-child(2) { transition-delay: 0.08s; }
.timeline.vis .tl-item:nth-child(3) { transition-delay: 0.16s; }
.timeline.vis .tl-item:nth-child(4) { transition-delay: 0.24s; }
.timeline.vis .tl-item:nth-child(5) { transition-delay: 0.32s; }

/* ─── SCENARIOS ──────────────────────────────────────────────── */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.sc-card {
  background: var(--surface-1);
  padding: 2rem 1.75rem;
  position: relative;
  transition: background 0.25s, transform 0.25s;
}

.sc-card:hover { background: var(--surface-2); transform: translateY(-2px); }

.sc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.sc-card.comply::before  { background: var(--teal); }
.sc-card.defy::before    { background: var(--red); }
.sc-card.negotiate::before { background: var(--amber); }

.sc-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  border: 1px solid;
}

.comply .sc-tag   { color: var(--teal);  border-color: rgba(45,212,191,0.2); background: rgba(45,212,191,0.07); }
.defy .sc-tag     { color: var(--red);   border-color: rgba(232,64,64,0.2);  background: var(--red-dim); }
.negotiate .sc-tag { color: var(--amber); border-color: rgba(245,166,35,0.2); background: var(--amber-dim); }

.sc-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.sc-desc {
  font-size: 0.855rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
}

.sc-odds {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ─── OIL ────────────────────────────────────────────────────── */
.oil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.oil-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem;
}

.oil-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.5rem;
}

.oil-price {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1;
}

.oil-change {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 400;
  margin-left: 0.25rem;
}

.oil-spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 64px;
  margin-top: 1rem;
}

.oil-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
}

.oil-bar.up   { background: rgba(232,64,64,0.55); }
.oil-bar.down { background: rgba(45,212,191,0.35); }

.oil-facts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.oil-fact {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.oil-fact-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
  line-height: 1;
}

.oil-fact-text {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.55;
}

/* ─── NEWS ───────────────────────────────────────────────────── */
.news {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.news-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.18s;
}

.news-item:last-child { border-bottom: none; }
.news-item:hover      { background: var(--surface-1); }

.news-item.breaking {
  background: rgba(232,64,64,0.04);
  border-left: 2px solid var(--red);
  padding-left: calc(1.5rem - 2px);
}

.news-time {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  padding-top: 3px;
  min-width: 62px;
}

.news-item.breaking .news-time { color: var(--red); }

/* Stagger reveal for news items */
.news-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.news.vis .news-item { opacity: 1; transform: none; }
.news.vis .news-item:nth-child(1) { transition-delay: 0s; }
.news.vis .news-item:nth-child(2) { transition-delay: 0.06s; }
.news.vis .news-item:nth-child(3) { transition-delay: 0.12s; }
.news.vis .news-item:nth-child(4) { transition-delay: 0.18s; }
.news.vis .news-item:nth-child(5) { transition-delay: 0.24s; }
.news.vis .news-item:nth-child(6) { transition-delay: 0.3s; }

.news-text {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.6;
}

.news-text strong {
  color: var(--text-1);
  font-weight: 600;
}

/* ─── SIGNUP ─────────────────────────────────────────────────── */
.signup-card {
  position: relative;
  text-align: center;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem);
  overflow: hidden;
}

.signup-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(232,64,64,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.signup-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  position: relative;
}

.signup-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-2);
  margin-bottom: 2rem;
  position: relative;
}

.signup-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  transition: border-color 0.25s;
}

.signup-form:focus-within { border-color: var(--border-2); }

.signup-form input[type="email"] {
  flex: 1;
  background: rgba(0,0,0,0.35);
  border: none;
  padding: 0.9rem 1.2rem;
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
}

.signup-form input::placeholder { color: var(--text-3); }

.signup-form button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.signup-form button:hover { background: #d03535; }

.signup-fine {
  margin-top: 0.85rem;
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
  position: relative;
}

/* ─── SHARE ──────────────────────────────────────────────────── */
.share-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.5rem clamp(1.25rem, 5vw, 2.5rem);
  flex-wrap: wrap;
}

.share-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.share-btn:hover {
  border-color: var(--border-2);
  color: var(--text-1);
  background: var(--surface-1);
}

.share-btn svg { width: 12px; height: 12px; fill: currentColor; }

/* ─── BOTTOM NAV BAR ─────────────────────────────────────────── */
.bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: rgba(10,11,14,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.25rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.bottom-bar.show { display: flex; }

/* Push page content above the bar */
body.has-bottom-bar { padding-bottom: 3.5rem; }

.bb-sections-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--red);
  border: none;
  border-radius: 100px;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.bb-sections-btn:hover { background: #d03535; }

.bb-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.bb-top-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.bb-top-btn svg { width: 14px; height: 14px; fill: currentColor; }

.bb-panel {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border-2);
  max-height: 50vh;
  overflow-y: auto;
  padding: 0.5rem 0;
}
.bottom-bar.open .bb-panel { display: block; }

.bb-panel::-webkit-scrollbar { width: 3px; }
.bb-panel::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }

.sm-link {
  display: block;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-2);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.sm-link:hover { background: var(--surface-1); color: var(--text-1); }

/* ─── BACK TO TOP (hidden — integrated into bottom bar) ──────── */
.back-to-top { display: none !important; }
.back-to-top-old {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, border-color 0.2s;
  pointer-events: none;
}
.back-to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.back-to-top svg { width: 16px; height: 16px; fill: currentColor; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem clamp(1.25rem, 5vw, 2.5rem) 2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.footer-logo::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 0.5rem;
  vertical-align: middle;
  opacity: 0.6;
}

.footer-text {
  font-size: 0.7rem;
  color: var(--text-3);
  line-height: 1.9;
  letter-spacing: 0.02em;
  max-width: 500px;
  margin: 0 auto;
}

.footer-colophon {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.4s; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.vis { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .scenarios { grid-template-columns: 1fr; gap: 1px; }
  .oil-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .signup-form { flex-direction: column; border-radius: var(--r-sm); }
  .signup-form input[type="email"] { border-radius: var(--r-sm) var(--r-sm) 0 0; }
  .signup-form button { border-radius: 0 0 var(--r-sm) var(--r-sm); }
}

@media (max-width: 480px) {
  .hero { min-height: auto; padding: 7rem 1.25rem 3rem; }
  .hero-eyebrow { margin-bottom: 1rem; }
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); margin-bottom: 1.25rem; }
  h1 .line-1 { font-size: 0.32em; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 2rem; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .cd-unit { padding: clamp(0.8rem, 2.5vw, 1.2rem) 0.4rem clamp(0.7rem, 2vw, 1rem); }
  .cd-num { font-size: clamp(2.2rem, 12vw, 3rem); }
  .scenarios { grid-template-columns: 1fr; }
  .sc-card::before { height: 4px; }
  .back-to-top { bottom: 4.5rem; right: 1rem; width: 36px; height: 36px; }
}

/* ─── FEATURE: OIL PRICE CHART ──────────────────────────────── */
.price-chart {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px 24px;
  position: relative;
  overflow: hidden;
}
.price-chart__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.price-chart__title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-chart__current {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
}
.price-chart__current span {
  font-size: 14px;
  color: var(--text-3);
  font-family: var(--font-mono);
  margin-left: 6px;
}
.price-chart svg { display: block; width: 100%; height: auto; }
.price-chart__line {
  fill: none;
  stroke: var(--red);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.price-chart.is-visible .price-chart__line { stroke-dashoffset: 0; }
.price-chart__grid-line { stroke: var(--border); stroke-width: 0.5; }
.price-chart__grid-label { fill: var(--text-3); font-family: var(--font-mono); font-size: 9px; }
.price-chart__x-label { fill: var(--text-3); font-family: var(--font-mono); font-size: 8px; }
.price-chart__annotation { font-family: var(--font-mono); font-size: 8px; fill: var(--text-2); }
.price-chart__dot { fill: var(--red); }
.price-chart__dot--pulse { fill: var(--red); animation: pulseDot 1.8s ease-in-out infinite; }
@keyframes pulseDot { 0%,100%{r:4;opacity:1} 50%{r:8;opacity:0.4} }
.price-chart__fill-gradient { opacity: 0; transition: opacity 1.6s ease 0.4s; }
.price-chart.is-visible .price-chart__fill-gradient { opacity: 1; }

/* ─── FEATURE: CLOSURE CALCULATOR ───────────────────────────── */
.calc-wrap { margin-top: 24px; }
.calc-slider-row { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.calc-slider-row label { font-family: var(--font-sans); font-size: 14px; color: var(--text-2); white-space: nowrap; }
.calc-day-badge { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--amber); min-width: 60px; text-align: center; }
.calc-day-badge span:last-child { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); display: block; }
.calc-range {
  -webkit-appearance: none; appearance: none; flex: 1; height: 6px;
  border-radius: 3px; background: var(--surface-2); outline: none;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red); cursor: pointer; box-shadow: 0 0 12px rgba(232,64,64,0.5); border: 2px solid var(--surface-1);
}
.calc-range::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, var(--red) 0%, var(--red) var(--pct,0%), var(--surface-2) var(--pct,0%));
  height: 6px; border-radius: 3px;
}
.calc-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.calc-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 16px; text-align: center; }
.calc-card__value { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--amber); transition: transform 0.15s ease; line-height: 1.2; }
.calc-card__value.is-updating { transform: translateY(-2px); }
.calc-card__label { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.04em; }

/* ─── FEATURE: SCROLLYTELLING MAP ───────────────────────────── */
.map-scrolly { position: relative; }
.map-scrolly-sticky { position: sticky; top: 90px; height: calc(100vh - 120px); max-height: 600px; z-index: 1; }
.map-scrolly-sticky .map-card { height: 100%; }
.map-scrolly-sticky .map-card svg { width: 100%; height: 100%; }
.map-scrolly-sticky .map-card svg g.map-zoom-group { transition: transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94); transform-origin: 0 0; }
.map-steps { position: relative; z-index: 2; pointer-events: none; margin-top: -50vh; }
.map-step { min-height: 70vh; display: flex; align-items: center; padding: 2rem 0; pointer-events: auto; }
.map-step:last-child { min-height: 50vh; }
.map-step-card {
  background: rgba(16,17,20,0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-2); border-radius: var(--r-md);
  padding: clamp(1.25rem,3vw,2rem) clamp(1.5rem,3.5vw,2.25rem);
  max-width: 320px; opacity: 0.3; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.map-step.active .map-step-card { opacity: 1; transform: translateY(0); }
.map-step-num { font-family: var(--font-mono); font-size: 0.55rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.5rem; }
.map-step-title { font-family: var(--font-serif); font-size: clamp(1.1rem,2.5vw,1.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 0.6rem; color: var(--text-1); }
.map-step-text { font-size: 0.85rem; font-weight: 300; color: var(--text-2); line-height: 1.7; }

/* ─── FEATURE: SENTIMENT POLL ───────────────────────────────── */
.poll-cta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--amber);
  margin-bottom: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: var(--amber-dim);
  border-radius: var(--r-sm);
  border: 1px solid rgba(245,166,35,0.15);
  display: inline-block;
}
.poll-cta.hidden { display: none; }
.poll-options { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.poll-card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 16px 20px; cursor: pointer; display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.poll-card:hover { border-color: var(--border-2); }
.poll-card[data-color="teal"]:hover,.poll-card[data-color="teal"].is-selected { border-color: var(--teal); box-shadow: 0 0 16px rgba(45,212,191,0.12); }
.poll-card[data-color="red"]:hover,.poll-card[data-color="red"].is-selected { border-color: var(--red); box-shadow: 0 0 16px rgba(232,64,64,0.12); }
.poll-card[data-color="amber"]:hover,.poll-card[data-color="amber"].is-selected { border-color: var(--amber); box-shadow: 0 0 16px rgba(245,166,35,0.12); }
.poll-card.has-voted { cursor: default; }
.poll-card__letter { font-family: var(--font-mono); font-size: 13px; font-weight: 700; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; }
.poll-card[data-color="teal"] .poll-card__letter { background: rgba(45,212,191,0.12); color: var(--teal); }
.poll-card[data-color="red"] .poll-card__letter { background: var(--red-dim); color: var(--red); }
.poll-card[data-color="amber"] .poll-card__letter { background: var(--amber-dim); color: var(--amber); }
.poll-card__text { flex: 1; font-size: 15px; font-weight: 500; color: var(--text-1); }
.poll-card__pct { font-family: var(--font-serif); font-size: 22px; font-weight: 700; min-width: 52px; text-align: right; opacity: 0; transition: opacity 0.4s ease; }
.poll-card.has-voted .poll-card__pct { opacity: 1; }
.poll-card[data-color="teal"] .poll-card__pct { color: var(--teal); }
.poll-card[data-color="red"] .poll-card__pct { color: var(--red); }
.poll-card[data-color="amber"] .poll-card__pct { color: var(--amber); }
.poll-card__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; transition: width 0.8s cubic-bezier(0.22,0.61,0.36,1); border-radius: 0 2px 2px 0; }
.poll-card[data-color="teal"] .poll-card__bar { background: var(--teal); }
.poll-card[data-color="red"] .poll-card__bar { background: var(--red); }
.poll-card[data-color="amber"] .poll-card__bar { background: var(--amber); }
.poll-total { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-top: 14px; text-align: center; }

/* ─── FEATURE: GAS PRICE WIDGET ─────────────────────────────── */
.gas-widget { max-width: 520px; }
.gas-dropdown { position: relative; margin-bottom: 2rem; }
.gas-dropdown-input {
  width: 100%; background: var(--surface-1); border: 1px solid var(--border-2);
  border-radius: var(--r-sm); padding: 0.9rem 1.25rem;
  font-family: var(--font-sans); font-size: 0.9rem; color: var(--text-1);
  outline: none; transition: border-color 0.3s, box-shadow 0.3s;
}
.gas-dropdown-input::placeholder { color: var(--text-3); }
.gas-dropdown-input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-dim); }
.gas-dropdown.open .gas-dropdown-input { border-radius: var(--r-sm) var(--r-sm) 0 0; border-bottom-color: var(--border); }
.gas-dropdown-list {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--surface-2); border: 1px solid var(--border-2); border-top: none;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  max-height: 280px; overflow-y: auto; z-index: 100;
}
.gas-dropdown.open .gas-dropdown-list { display: block; }
.gas-dropdown-list::-webkit-scrollbar { width: 4px; }
.gas-dropdown-list::-webkit-scrollbar-track { background: transparent; }
.gas-dropdown-list::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }
.gas-dropdown-item {
  padding: 0.7rem 1.25rem; cursor: pointer; display: flex;
  align-items: center; gap: 0.75rem; transition: background 0.12s;
  font-size: 0.88rem; color: var(--text-1);
}
.gas-dropdown-item:hover, .gas-dropdown-item.highlighted { background: var(--surface-1); }
.gas-dropdown-item-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.gas-dropdown-item-tier {
  font-family: var(--font-mono); font-size: 0.55rem; color: var(--text-3);
  letter-spacing: 0.06em; margin-left: auto;
}
.gas-dropdown-empty {
  padding: 1rem 1.25rem; font-size: 0.82rem; color: var(--text-3); text-align: center;
}
.gas-result {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 2rem; text-align: center; opacity: 0; transform: translateY(16px) scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none;
}
.gas-result.show { opacity: 1; transform: none; pointer-events: auto; }
.gas-result-state { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.4rem; }
.gas-result-label { font-size: 0.78rem; font-weight: 300; color: var(--text-2); margin-bottom: 1rem; }
.gas-result-price { font-family: var(--font-serif); font-size: clamp(3.2rem,8vw,4.8rem); font-weight: 900; color: var(--red); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.03em; }
.gas-result-delta { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.82rem; font-weight: 500; color: var(--red); background: var(--red-dim); padding: 0.35rem 0.9rem; border-radius: 100px; margin-bottom: 1.25rem; }
.gas-result-delta::before { content: ''; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 5px solid var(--red); }
.gas-result-note { font-size: 0.7rem; font-weight: 300; color: var(--text-3); line-height: 1.5; max-width: 300px; margin: 0 auto; }

/* ─── FEATURE: SHIPPING LANE ────────────────────────────────── */
.shipping-lane { position: relative; width: 100%; height: 200px; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface-1); }
.shipping-lane-water { position: absolute; top: 50%; left: 0; right: 0; height: 70px; transform: translateY(-50%); background: linear-gradient(180deg, #0c1926 0%, #14283e 40%, #14283e 60%, #0c1926 100%); }
.shipping-lane-land-top { position: absolute; top: 0; left: 0; right: 0; height: calc(50% - 35px); background: linear-gradient(180deg, #2c2620 0%, #231e18 100%); border-bottom: 1px solid #3e352c; }
.shipping-lane-land-top::after { content: 'IRAN'; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); font-family: var(--font-sans); font-size: 0.6rem; font-weight: 500; letter-spacing: 6px; color: #917f6c; }
.shipping-lane-land-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: calc(50% - 35px); background: linear-gradient(0deg, #2c2620 0%, #231e18 100%); border-top: 1px solid #3e352c; }
.shipping-lane-land-bottom::after { content: 'OMAN / U.A.E.'; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-family: var(--font-sans); font-size: 0.6rem; font-weight: 500; letter-spacing: 6px; color: #917f6c; }
.ship { position: absolute; top: 50%; color: var(--amber); opacity: 0.75; animation: shipFlow linear infinite; }
.ship svg { display: block; }
@keyframes shipFlow { 0%{transform:translateX(0) translateY(-50%)} 100%{transform:translateX(calc(-100vw - 60px)) translateY(-50%)} }
.shipping-counter { position: absolute; bottom: 12px; right: 16px; z-index: 3; display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.06em; color: var(--amber); background: rgba(16,17,20,0.8); backdrop-filter: blur(8px); padding: 0.4rem 0.8rem; border-radius: var(--r-sm); border: 1px solid rgba(245,166,35,0.15); }
.shipping-counter-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); animation: live-pulse 2.4s ease-in-out infinite; }
.shipping-lane-label { position: absolute; top: 12px; left: 16px; z-index: 3; font-family: var(--font-mono); font-size: 0.55rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); }
.shipping-lane.blocked .ship { animation-play-state: paused; opacity: 0; transition: opacity 1.5s ease; }
.shipping-blocked-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 4; background: rgba(10,11,14,0.7); opacity: 0; pointer-events: none; transition: opacity 0.8s ease; }
.shipping-lane.blocked .shipping-blocked-overlay { opacity: 1; }
.shipping-blocked-text { font-family: var(--font-mono); font-size: clamp(1.8rem,5vw,2.8rem); font-weight: 500; letter-spacing: 0.4em; color: var(--red); text-shadow: 0 0 40px rgba(232,64,64,0.4); }

/* ─── FEATURE: HISTORICAL COMPARISONS ───────────────────────── */
.history-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.history-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.history-card:hover { border-color: var(--border-2); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.history-card-front { padding: clamp(1.5rem,3vw,2rem); }
.history-year { display: inline-block; font-family: var(--font-mono); font-size: 0.55rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--amber); background: var(--amber-dim); padding: 0.25rem 0.7rem; border-radius: 100px; margin-bottom: 0.9rem; }
.history-year::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); margin-right: 0.5rem; vertical-align: middle; }
.history-event { font-family: var(--font-serif); font-size: clamp(1.1rem,2.5vw,1.35rem); font-weight: 700; line-height: 1.2; margin-bottom: 0.5rem; color: var(--text-1); }
.history-summary { font-size: 0.82rem; font-weight: 300; color: var(--text-2); line-height: 1.65; margin-bottom: 1.25rem; }
.history-compare-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 0.5rem 1rem; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-2); cursor: pointer; transition: color 0.3s, border-color 0.3s, background 0.3s; }
.history-compare-btn:hover { color: var(--text-1); border-color: var(--amber); background: var(--amber-dim); }
.history-compare-btn svg { width: 10px; height: 10px; fill: currentColor; transition: transform 0.3s; }
.history-card.expanded .history-compare-btn svg { transform: rotate(180deg); }
.history-card.expanded .history-compare-btn { color: var(--amber); border-color: var(--amber); }
.history-expand { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.25,0.46,0.45,0.94); }
.history-card.expanded .history-expand { max-height: 400px; }
.history-expand-inner { padding: 0 clamp(1.5rem,3vw,2rem) clamp(1.5rem,3vw,2rem); border-top: 1px solid var(--border); }
.history-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.history-col-header { font-family: var(--font-mono); font-size: 0.55rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; padding: 1rem 0 0.6rem; }
.history-col-header.then { color: var(--text-3); }
.history-col-header.now { color: var(--red); }
.history-cell { padding: 0.55rem 0; border-top: 1px solid var(--border); }
.history-cell-label { font-family: var(--font-mono); font-size: 0.5rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.2rem; }
.history-cell-value { font-size: 0.82rem; font-weight: 400; line-height: 1.4; }
.history-cell.then .history-cell-value { color: var(--text-3); }
.history-cell.now .history-cell-value { color: var(--amber); font-weight: 500; }

/* ─── FEATURE: IMPACT CASCADE ───────────────────────────────── */
.cascade { position: relative; padding-left: 40px; margin-top: 28px; overflow: hidden; }
.cascade__line { position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: var(--surface-2); }
.cascade__line-fill { position: absolute; left: 18px; top: 0; width: 2px; height: 0; background: var(--red); transition: height 0.6s cubic-bezier(0.22,0.61,0.36,1); z-index: 1; }
.cascade-step { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; position: relative; }
.cascade-step.is-visible { opacity: 1; transform: translateY(0); }
.cascade-step__icon { font-size: 32px; flex-shrink: 0; width: 48px; text-align: center; line-height: 1; position: relative; z-index: 2; }
.cascade-step__body { flex: 1; border-left: 3px solid transparent; padding-left: 14px; position: relative; }
.cascade-step.is-visible .cascade-step__body { animation: cascadeBorderFill 0.8s ease 0.3s forwards; }
@keyframes cascadeBorderFill { from{border-left-color:transparent} to{border-left-color:var(--red)} }
.cascade-step__title { font-size: 17px; font-weight: 700; color: var(--text-1); margin-bottom: 4px; }
.cascade-step__desc { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.cascade-step__dot { position: absolute; left: -30px; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--border-2); z-index: 2; transition: background 0.4s ease, border-color 0.4s ease; }
.cascade-step.is-visible .cascade-step__dot { background: var(--red); border-color: var(--red); }

/* ─── LIVE NEWS FEED ─────────────────────────────────────────── */
.live-feed-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}
.live-feed-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}
.live-feed-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal);
  animation: live-pulse 2.4s ease-in-out infinite;
}
.live-feed {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  max-height: 600px;
  overflow-y: auto;
}
.live-feed::-webkit-scrollbar { width: 4px; }
.live-feed::-webkit-scrollbar-track { background: transparent; }
.live-feed::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }

.live-feed-loading {
  padding: 3rem 2rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.1em;
  background: var(--surface-1);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lf-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.18s;
  text-decoration: none;
  color: inherit;
}
.lf-item:last-child { border-bottom: none; }
.lf-item:hover { background: var(--surface-1); }

.lf-source {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  min-width: 70px;
  padding-top: 2px;
}
.lf-body { flex: 1; min-width: 0; }
.lf-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.45;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lf-item:hover .lf-title { color: #fff; }
.lf-meta {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.lf-tier1 .lf-source { color: var(--amber); }
.lf-tier2 .lf-source { color: var(--text-2); }
.lf-tier3 .lf-source { color: var(--text-3); }

.lf-new {
  animation: lfSlideIn 0.4s ease forwards;
}
@keyframes lfSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ─── TOP STORIES STRIP ──────────────────────────────────────── */
.top-stories {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
  padding: 1.25rem 0;
}
.top-stories-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}
.top-stories-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.top-stories-label::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: live-pulse 2.4s ease-in-out infinite;
}
.top-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
@media (max-width: 680px) {
  .top-stories-grid { grid-template-columns: 1fr; }
}
.ts-card {
  background: var(--ink);
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.18s;
  min-height: 72px;
}
.ts-card:hover { background: var(--surface-2); }
.ts-source {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.35rem;
}
.ts-title {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ts-card:hover .ts-title { color: #fff; }
.ts-time {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-3);
  margin-top: 0.3rem;
}

/* ─── MOOD TIMELINE VISUALIZATION ────────────────────────────── */
.mood-timeline {
  position: relative;
  height: 100px;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-2);
  overflow: visible;
}
.mood-timeline-labels {
  position: absolute;
  bottom: -20px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.mood-dot {
  position: absolute;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
  opacity: 0.7;
  transform: translateX(-50%);
}
.mood-dot:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.6);
  z-index: 10;
}
.mood-dot.active {
  opacity: 1;
  transform: translateX(-50%) scale(1.5);
  z-index: 10;
}
.mood-dot.threat { background: var(--red); }
.mood-dot.contra { background: var(--amber); }
.mood-dot.deal { background: var(--teal); }
.mood-dot.boast { background: #818cf8; }
.mood-dot:hover.threat { box-shadow: 0 0 12px rgba(232,64,64,0.5); }
.mood-dot:hover.contra { box-shadow: 0 0 12px rgba(245,166,35,0.5); }
.mood-dot:hover.deal { box-shadow: 0 0 12px rgba(45,212,191,0.5); }
.mood-dot:hover.boast { box-shadow: 0 0 12px rgba(129,140,248,0.5); }

.mood-tooltip {
  display: none;
  position: fixed;
  z-index: 9999;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  max-width: 300px;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mood-tooltip.show { display: block; }
.mood-tooltip-date {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.3rem;
}
.mood-tooltip-text {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-1);
  line-height: 1.4;
}

.qt-item.highlight {
  background: var(--surface-2);
  border-radius: var(--r-sm);
}

@media (max-width: 480px) {
  .mood-timeline { height: 70px; overflow-x: auto; min-width: 100%; }
}

/* ─── QUOTES TIMELINE ────────────────────────────────────────── */
.quotes-scroll {
  max-height: 560px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.5rem 0;
  position: relative;
}
.quotes-scroll::-webkit-scrollbar { width: 4px; }
.quotes-scroll::-webkit-scrollbar-track { background: transparent; }
.quotes-scroll::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }

.qt-item {
  display: flex;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  transition: background 0.15s;
}
.qt-item:hover { background: var(--surface-1); }

.qt-date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-3);
  white-space: nowrap;
  min-width: 52px;
  padding-top: 3px;
  text-transform: uppercase;
}

.qt-body {
  flex: 1;
  min-width: 0;
  border-left: 2px solid var(--border);
  padding-left: 1rem;
}

.qt-body.threat { border-left-color: var(--red); }
.qt-body.contra { border-left-color: var(--amber); }
.qt-body.deal   { border-left-color: var(--teal); }
.qt-body.boast  { border-left-color: #818cf8; }

.qt-text {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.55;
}
.qt-item:hover .qt-text { color: var(--text-1); }

.qt-note {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  font-style: normal;
  color: var(--text-3);
  line-height: 1.5;
}

.qt-legend {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.qt-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.qt-legend-bar {
  width: 14px;
  height: 3px;
  border-radius: 1px;
}

.qt-credit {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-3);
  text-align: right;
  padding: 0.75rem 1.25rem 0;
  letter-spacing: 0.04em;
}

/* ─── QUOTES SHARE ACTIONS ───────────────────────────────────── */
.qt-share-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.qt-share-x {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  border: none;
  border-radius: var(--r-sm);
  padding: 0.7rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(232,64,64,0.2);
}
.qt-share-x svg { width: 14px; height: 14px; fill: currentColor; }
.qt-share-x:hover { background: #d03535; box-shadow: 0 0 30px rgba(232,64,64,0.35); }

.qt-share-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  padding: 0.65rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.qt-share-copy svg { width: 14px; height: 14px; fill: currentColor; }
.qt-share-copy:hover { color: var(--text-1); border-color: var(--text-3); background: var(--surface-1); }

/* ─── GAS RECEIPT ────────────────────────────────────────────── */
.receipt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .receipt-grid { grid-template-columns: 1fr; } }
.receipt {
  background: #f5f0e8; color: #1a1a1a; border-radius: var(--r-sm);
  padding: 2rem 1.5rem; text-align: center; font-family: var(--font-mono);
  font-size: 0.78rem; line-height: 1.8; position: relative;
}
.receipt-danger { box-shadow: 0 0 40px rgba(232,64,64,0.15), inset 0 0 60px rgba(232,64,64,0.03); }
.receipt-header {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: #666; margin-bottom: 0.25rem;
}
.receipt-header-red { color: var(--red); }
.receipt-line { color: #bbb; letter-spacing: -0.05em; font-size: 0.7rem; }
.receipt-store { font-weight: 700; font-size: 0.85rem; margin: 0.25rem 0; }
.receipt-addr { font-size: 0.65rem; color: #888; }
.receipt-row { display: flex; justify-content: space-between; padding: 0 0.5rem; }
.receipt-total { font-weight: 700; font-size: 0.95rem; }
.receipt-footer { font-size: 0.6rem; color: #aaa; margin-top: 0.25rem; letter-spacing: 0.15em; }
.receipt-delta {
  display: flex; justify-content: center; align-items: center; gap: 2rem;
  margin-top: 1.5rem; padding: 1rem; background: var(--red-dim);
  border: 1px solid rgba(232,64,64,0.2); border-radius: var(--r-sm);
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; color: var(--red);
  text-align: center; flex-wrap: wrap;
}
.receipt-delta-year { font-size: 1.1rem; }

/* ─── WAR POWERS FLOWCHART ──────────────────────────────────── */
.flowchart {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center; min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.fc-progress { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.5rem; }
.fc-question { font-family: var(--font-serif); font-size: clamp(1.1rem, 2.5vw, 1.45rem); font-weight: 700; color: var(--text-1); line-height: 1.4; max-width: 550px; margin-bottom: 2rem; }
.fc-buttons { display: flex; gap: 1rem; justify-content: center; }
.fc-btn {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.75rem 2.5rem;
  border: 1px solid var(--border-2); border-radius: var(--r-sm);
  background: transparent; color: var(--text-1); cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.fc-btn-yes:hover { background: rgba(45,212,191,0.1); border-color: var(--teal); color: var(--teal); }
.fc-btn-no:hover { background: var(--red-dim); border-color: var(--red); color: var(--red); }
.fc-result {
  max-width: 550px; padding: 1.5rem; border-radius: var(--r-sm);
  border: 1px solid var(--border); margin-bottom: 1rem; text-align: left;
}
.fc-result-legal { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.25); }
.fc-result-gray { background: var(--amber-dim); border-color: rgba(245,166,35,0.25); }
.fc-result-unconst { background: var(--red-dim); border-color: rgba(232,64,64,0.25); }
.fc-result-verdict {
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.fc-result-legal .fc-result-verdict { color: #22c55e; }
.fc-result-gray .fc-result-verdict { color: var(--amber); }
.fc-result-unconst .fc-result-verdict { color: var(--red); }
.fc-result-text { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; }
.fc-result-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; justify-content: center; }
.fc-result-actions button, .fc-result-actions a {
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.55rem 1.2rem;
  border-radius: var(--r-sm); cursor: pointer; text-decoration: none;
  border: 1px solid var(--border-2); background: transparent; color: var(--text-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s; display: inline-flex; align-items: center; gap: 0.4rem;
}
.fc-result-actions button:hover, .fc-result-actions a:hover { background: var(--surface-2); color: var(--text-1); border-color: var(--text-3); }
.fc-disclaimer { font-family: var(--font-mono); font-size: 0.55rem; color: var(--text-3); margin-top: 1.5rem; letter-spacing: 0.04em; }
.fc-summary-verdict { font-size: 0.92rem; color: var(--text-2); line-height: 1.6; margin-bottom: 1.25rem; }
.fc-summary-rows { text-align: left; }
.fc-summary-row { padding: 1rem 0; border-top: 1px solid var(--border); }
.fc-summary-row:first-child { border-top: none; padding-top: 0; }
.fc-summary-q { font-size: 0.88rem; font-weight: 600; color: var(--text-1); line-height: 1.4; margin-bottom: 0.35rem; }
.fc-summary-ans { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-3); letter-spacing: 0.04em; margin-bottom: 0.35rem; }
.fc-summary-exp { font-size: 0.82rem; color: var(--text-2); line-height: 1.55; }

/* ─── CONTACT CONGRESS ──────────────────────────────────────── */
.congress-tool { max-width: 640px; }
.congress-find { margin-bottom: 1.5rem; }
.congress-find-link {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  color: var(--amber); text-decoration: none; letter-spacing: 0.04em;
  border-bottom: 1px dashed rgba(245,166,35,0.3); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.congress-find-link:hover { color: var(--text-1); border-color: var(--text-1); }
.congress-textarea {
  width: 100%; background: var(--surface-2); color: var(--text-1);
  border: 1px solid var(--border-2); border-radius: var(--r-sm);
  padding: 1.25rem; font-family: var(--font-mono); font-size: 0.78rem;
  line-height: 1.7; resize: vertical; outline: none;
  transition: border-color 0.3s;
}
.congress-textarea:focus { border-color: var(--amber); }
.congress-actions { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.congress-btn {
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.7rem 1.4rem;
  border-radius: var(--r-sm); cursor: pointer; text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s; display: inline-flex; align-items: center; gap: 0.4rem;
  border: none;
}
.congress-btn-primary { background: var(--red); color: #fff; box-shadow: 0 0 20px rgba(232,64,64,0.2); }
.congress-btn-primary:hover { background: #d03535; box-shadow: 0 0 30px rgba(232,64,64,0.35); }
.congress-btn-secondary { background: transparent; border: 1px solid var(--border-2); color: var(--text-2); }
.congress-btn-secondary:hover { background: var(--surface-1); color: var(--text-1); border-color: var(--text-3); }
.congress-btn-share { background: transparent; border: 1px solid var(--border-2); color: var(--text-2); }
.congress-btn-share:hover { background: var(--surface-1); color: var(--text-1); }

.congress-state-picker { margin-bottom: 1.5rem; }
.congress-senators {
  margin-top: 1rem; padding: 1rem 1.25rem;
  background: var(--surface-2); border: 1px solid var(--border-2);
  border-left: 3px solid var(--amber); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.congress-senator-label {
  font-family: var(--font-mono); font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.5rem;
}
.congress-senator-names {
  font-size: 0.92rem; font-weight: 500; color: var(--text-1); line-height: 1.6;
}

/* ─── POST-DEADLINE MODE ─────────────────────────────────────── */
.post-deadline .hero::before {
  background: radial-gradient(ellipse at 50% 30%, rgba(232,64,64,0.18) 0%, transparent 68%);
}
.post-deadline .hero-eyebrow {
  color: var(--red);
  animation: blink 2s ease-in-out infinite;
}
.post-deadline h1 .line-2 {
  background: linear-gradient(160deg, var(--red) 20%, #ff6b6b 60%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
}
.post-deadline .countdown-expired .cd-num {
  color: var(--red);
  animation: none;
  text-shadow: 0 0 30px rgba(232,64,64,0.3);
}
.post-deadline .countdown-expired .cd-unit {
  border-color: rgba(232,64,64,0.25);
}
.post-deadline .countdown-expired .cd-unit::after {
  background: linear-gradient(180deg, rgba(232,64,64,0.08) 0%, transparent 50%);
}
.post-deadline .cd-note {
  color: var(--red);
  font-weight: 500;
}
.post-deadline .alert-bar {
  background: #8b0000;
}
.post-deadline .alert-bar::before { background: linear-gradient(90deg, #8b0000, transparent); }
.post-deadline .alert-bar::after { background: linear-gradient(-90deg, #8b0000, transparent); }

/* Post-deadline "what happened" banner */
.post-deadline-update {
  display: none;
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--border);
  background: rgba(232,64,64,0.04);
  padding: 1.25rem 0;
}
.post-deadline .post-deadline-update { display: block; }
.post-deadline-update-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.pdu-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}
.pdu-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.5;
}
.pdu-text strong { color: var(--red); }
.pdu-time {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-3);
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
}

/* ─── RESPONSIVE: NEW FEATURES ──────────────────────────────── */
@media (max-width: 860px) {
  .history-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .map-scrolly-sticky { top: 80px; height: 50vh; max-height: 400px; }
  .map-steps { margin-top: -30vh; }
  .map-step { min-height: 60vh; }
  .map-step-card { max-width: 260px; }
  .calc-slider-row { flex-wrap: wrap; }
}

/* ─── FEATURE: LIVE VIEWERS COUNTER ─────────────────────────── */
.nav-viewers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-left: 14px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nav-viewers.is-visible { opacity: 1; }
.nav-viewers__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: live-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.nav-viewers__count {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-viewers__count.pulse {
  transform: scale(1.25);
}
@media (max-width: 420px) {
  .nav-viewers { margin-left: 8px; }
  .nav-viewers span:last-child { display: none; }
}

/* ─── FEATURE: SHARE CARDS ──────────────────────────────────── */
.share-card-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.4s ease;
  opacity: 0;
}
.share-card-wrap.is-open {
  max-height: 600px;
  opacity: 1;
}
.share-card {
  margin-top: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 24px;
  position: relative;
}
.share-card__header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.share-card__header-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.share-card__body {
  margin-bottom: 18px;
}
.share-card__headline {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 6px;
}
.share-card__value {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
}
.share-card__value--red { color: var(--red); }
.share-card__value--teal { color: var(--teal); }
.share-card__value--amber { color: var(--amber); }
.share-card__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  margin-top: 6px;
}
.share-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.share-card__metric {
  background: var(--surface-1);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}
.share-card__metric-val {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
}
.share-card__metric-lbl {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}
.share-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-2);
  background: var(--surface-1);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.share-card__btn:hover {
  background: var(--surface-2);
  color: var(--text-1);
  border-color: var(--text-3);
}
.share-card__btn--x {
  background: rgba(29,161,242,0.1);
  border-color: rgba(29,161,242,0.25);
  color: #1da1f2;
}
.share-card__btn--x:hover {
  background: rgba(29,161,242,0.18);
}
.share-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.share-card__url {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.share-card__hint {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-3);
  font-style: italic;
}
.share-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.share-trigger:hover {
  color: var(--text-2);
  border-color: var(--border-2);
}
@media (max-width: 480px) {
  .share-card__metrics { grid-template-columns: 1fr; }
  .share-card__value { font-size: 26px; }
}

