/* DeFlock El Paso — style.css */
/* Aesthetic: documentary/investigative editorial. Navy + amber + white. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300;1,400&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --navy:    #0d1b2a;
  --navy2:   #162032;
  --navy3:   #1e2e42;
  --amber:   #f5a623;
  --amber2:  #e8920f;
  --white:   #f4f1eb;
  --gray:    #8a9ab0;
  --red:     #d94f3d;
  --border:  rgba(245,166,35,0.2);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
  --max: 1100px;
  --radius: 4px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; text-decoration: underline; }

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--white);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
p  { margin-bottom: 1.1em; }
.mono { font-family: var(--font-mono); }
.amber { color: var(--amber); }
.red   { color: var(--red); }
.gray  { color: var(--gray); }

/* ── Layout ────────────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }
section + section { border-top: 1px solid var(--border); }

/* ── Nav ───────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--amber);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-logo:hover { opacity: 1; text-decoration: none; }
.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--amber); text-decoration: none; }
.nav-lang {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  color: var(--amber);
  text-decoration: none;
}
.nav-lang:hover { background: var(--amber); color: var(--navy); opacity: 1; text-decoration: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy2);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ── Urgency Bar ───────────────────────────────────────────────── */
.urgency-bar {
  background: var(--amber);
  color: var(--navy);
  text-align: center;
  padding: 0.55rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.urgency-bar a { color: var(--navy); text-decoration: underline; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(245,166,35,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--amber);
}
.hero h1 { margin-bottom: 1.4rem; max-width: 820px; }
.hero h1 em { font-style: italic; color: var(--amber); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(244,241,235,0.75);
  max-width: 600px;
  margin-bottom: 2.4rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  border: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(245,166,35,0.3);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(245,166,35,0.45); opacity: 1; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(244,241,235,0.35);
}
.btn-outline:hover { border-color: var(--white); opacity: 1; }

/* ── Countdown ─────────────────────────────────────────────────── */
.countdown-section {
  background: var(--navy2);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}
.countdown-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  text-align: center;
}
.countdown-clock {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.clock-unit {
  text-align: center;
}
.clock-num {
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  display: block;
}
.clock-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.3rem;
}
.countdown-sub {
  text-align: center;
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: var(--gray);
  font-family: var(--font-mono);
}

/* ── Stats Bar ─────────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 3.5rem 0 0;
}
.stat-item {
  padding: 1.8rem 1.6rem;
  border-right: 1px solid var(--border);
  background: var(--navy2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.4;
}
@media (max-width: 600px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); }
}

/* ── Three Points ──────────────────────────────────────────────── */
.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.point-card {
  background: var(--navy2);
  padding: 2.2rem 2rem;
}
.point-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 0.8rem;
}
.point-card h3 { margin-bottom: 0.8rem; font-size: 1.15rem; }
.point-card p  { font-size: 0.95rem; color: rgba(244,241,235,0.75); margin: 0; line-height: 1.6; }

/* ── Alert Box ─────────────────────────────────────────────────── */
.alert-box {
  border-left: 3px solid var(--amber);
  background: rgba(245,166,35,0.07);
  padding: 1.4rem 1.6rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.alert-box p { margin: 0; font-size: 0.95rem; }
.alert-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

/* ── Cities List ───────────────────────────────────────────────── */
.cities-list {
  column-count: 2;
  column-gap: 2rem;
  list-style: none;
  margin: 1.5rem 0;
}
.cities-list li {
  padding: 0.4rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(138,154,176,0.15);
  break-inside: avoid;
}
.cities-list li::before {
  content: '✕ ';
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
@media (max-width: 500px) { .cities-list { column-count: 1; } }

/* ── Quote ─────────────────────────────────────────────────────── */
.pull-quote {
  border-top: 2px solid var(--amber);
  padding: 2rem 0 0;
  margin: 3rem 0;
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 1rem;
}
.pull-quote cite {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gray);
  font-style: normal;
}

/* ── Action Section ────────────────────────────────────────────── */
.action-section {
  background: var(--navy2);
  text-align: center;
  padding: 5rem 0;
}
.action-section h2 { margin-bottom: 1rem; }
.action-section p  { color: var(--gray); max-width: 560px; margin: 0 auto 2rem; }

/* ── News Grid ─────────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.news-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.2s;
}
.news-card:hover { border-color: var(--amber); }
.news-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 0.6rem;
}
.news-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.news-card p  { font-size: 0.88rem; color: rgba(244,241,235,0.65); margin: 0 0 1rem; }
.news-card a.read-more {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-list { margin-top: 2rem; }
details {
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}
details:first-child { border-top: 1px solid var(--border); }
summary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p {
  margin: 1rem 0 0.3rem;
  font-size: 0.95rem;
  color: rgba(244,241,235,0.78);
  line-height: 1.7;
}

/* ── Footer ────────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--amber);
  letter-spacing: 0.05em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.footer-links a:hover { color: var(--amber); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(138,154,176,0.5);
  letter-spacing: 0.04em;
}

/* ── Animations ────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.65s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.36s; }

/* ── Utility ───────────────────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '— ';
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
