/* air.css — atmospheric movement */
/* Separate CSS. Own identity. Never merged with luyml.css */

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

:root {
  --ink:    #F4F1EC;
  --muted:  #8A8A82;
  --sage:   #5B7A6F;
  --sage2:  #3D5C52;
  --bg:     #0A0C10;
  --bg2:    #0F1116;
  --rule:   rgba(91,122,111,0.25);
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--sage); }

/* ── NAV ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(to bottom, rgba(10,12,16,0.95), transparent);
  backdrop-filter: blur(8px);
}
.nav-wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--sage);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex; gap: 2rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--sage);
  color: var(--sage);
  padding: 0.45rem 1rem;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
.nav-cta:hover { background: var(--sage); color: #fff; }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(20,40,60,0.8) 0%, transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(30,60,50,0.4) 0%, transparent 60%),
    linear-gradient(180deg, #060810 0%, #0D1520 40%, #081814 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero-pulse {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(91,122,111,0.15);
  animation: pulse 4s ease-in-out infinite;
}
.hero-pulse--2 {
  width: 650px; height: 650px;
  border-color: rgba(91,122,111,0.08);
  animation-delay: 2s;
}
@keyframes pulse {
  0%,100% { transform: scale(0.97); opacity: 0.6; }
  50%      { transform: scale(1.03); opacity: 1; }
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  padding: 8rem 2rem 4rem;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}
.hero-stat {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
}
.hero-scroll {
  margin-top: 3rem;
  font-size: 1.2rem;
  color: var(--sage);
  animation: bob 2s ease-in-out infinite;
  display: block;
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ── CRISIS ───────────────────────────────────────── */
.crisis {
  background: var(--bg2);
  padding: 6rem 2.5rem;
  border-top: 1px solid var(--rule);
}
.crisis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto 3rem;
}
.crisis-item { display: flex; flex-direction: column; gap: 0.75rem; }
.crisis-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--sage);
  line-height: 1;
}
.crisis-label {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 240px;
}
.crisis-note {
  max-width: 600px; margin: 0 auto;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
  border-top: 1px solid var(--rule);
  padding-top: 2.5rem;
}

/* ── MOVEMENT ─────────────────────────────────────── */
.movement {
  padding: 6rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.movement-rule {
  height: 1px;
  background: var(--rule);
  margin-bottom: 4rem;
}
.movement-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
}
.movement-col-title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.movement-col-body {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ── LIVE STRIP ───────────────────────────────────── */
.live-strip {
  background: var(--bg2);
  border-top: 1px solid var(--rule);
  padding: 4rem 2.5rem;
}
.live-header {
  display: flex; align-items: baseline; gap: 1.5rem;
  margin-bottom: 2rem;
}
.live-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
.live-note {
  font-size: 0.65rem;
  color: var(--muted);
}
.live-cities {
  display: flex; gap: 1rem; overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.live-cities::-webkit-scrollbar { display: none; }
.city-card {
  flex-shrink: 0;
  min-width: 160px;
  border: 1px solid var(--rule);
  padding: 1.25rem 1rem;
  border-radius: 2px;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.city-card.skeleton {
  background: rgba(255,255,255,0.03);
  height: 110px;
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}
.city-name {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.city-aqi {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
}
.city-aqi.good    { color: var(--sage); }
.city-aqi.moderate { color: #C4956A; }
.city-aqi.unhealthy { color: #B85C5C; }
.city-status {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.city-source {
  font-size: 0.55rem;
  color: rgba(138,138,130,0.5);
  margin-top: 0.25rem;
}
.live-dark-zones {
  display: flex; flex-direction: column; gap: 0.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  margin-top: 2rem;
}
.dark-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6B4040;
}
.dark-body {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
}

/* ── UNITER ───────────────────────────────────────── */
.uniter {
  padding: 6rem 2.5rem;
  text-align: center;
  border-top: 1px solid var(--rule);
}
.uniter-quote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.uniter-sources {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
}
.uniter-sources a { color: var(--sage); }
.uniter-sources a:hover { text-decoration: underline; }

/* ── JOIN ─────────────────────────────────────────── */
.join {
  padding: 5rem 2.5rem 6rem;
  max-width: 640px; margin: 0 auto;
  text-align: center;
}
.join-rule {
  height: 1px; background: var(--rule);
  margin-bottom: 3rem;
}
.join-title {
  font-family: var(--serif);
  font-size: 2rem; font-weight: 300; font-style: italic;
  color: var(--ink); margin-bottom: 1rem;
}
.join-body {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.join-links {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; align-items: center;
}
.join-link {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.join-link:hover { color: var(--ink); border-color: var(--sage); }
.join-link--primary {
  border: 1px solid var(--sage);
  border-bottom: 1px solid var(--sage);
  color: var(--sage);
  padding: 0.45rem 1rem 0.45rem;
  border-radius: 2px;
}
.join-link--primary:hover { background: var(--sage); color: #fff; }

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 2.5rem;
  text-align: center;
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.7rem; color: var(--muted);
}
.footer a { color: var(--sage); }
.footer-sources { font-size: 0.6rem; opacity: 0.6; }

/* ── MOBILE ───────────────────────────────────────── */
@media (max-width: 640px) {
  .nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .hero-content { padding: 6rem 1.25rem 3rem; }
  .crisis { padding: 4rem 1.25rem; }
  .movement { padding: 4rem 1.25rem; }
  .live-strip { padding: 3rem 1.25rem; }
  .uniter { padding: 4rem 1.25rem; }
  .join { padding: 3rem 1.25rem 4rem; }
}
