/**
 * styles.css
 * ==========
 * Author: Dick Koch
 * Version: 3.2.0
 * Last Modified: 2026-09-11 10:05:00
 *
 * Description:
 *     Visual system for the Jacksonville Robotaxi Watch page. Ported from
 *     Dick's Lovable project "Jax Robotaxi Watch"
 *     (a297661e-a6ca-4e21-9050-78753cf7f8ea, commit ef08e70d) on 2026-09-11.
 *
 *     The design is reproduced as authored. Everything added for wiring is
 *     confined to the clearly marked block at the END of this file, so a
 *     future re-port from Lovable can replace this body wholesale and keep
 *     the additions.
 *
 *     Dark, neon, electric-mobility palette: cyan / electric blue / purple /
 *     magenta over near-black, with drifting blur blobs and a masked grid.
 */

:root {
  --bg: #07070f;
  --bg-soft: #0d0d1c;
  --card: rgba(20, 20, 40, 0.72);
  --card-border: rgba(140, 160, 255, 0.14);
  --text: #eef0ff;
  --text-dim: #9aa0c3;
  --cyan: #22d3ee;
  --blue: #4f7cff;
  --purple: #a855f7;
  --magenta: #ec4899;
  --amber: #fbbf24;
  --green: #34d399;
  --gradient-main: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple), var(--magenta));
  --radius: 20px;
  --shadow-card: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- Ambient background ---------- */
.bg-blob {
  position: fixed;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  animation: blob-drift 24s ease-in-out infinite alternate;
}
.bg-blob--cyan    { background: var(--cyan);    top: -20vmax; left: -15vmax; }
.bg-blob--magenta { background: var(--magenta); bottom: -25vmax; right: -15vmax; animation-delay: -8s; }
.bg-blob--purple  { background: var(--purple);  top: 35%; left: 55%; animation-delay: -16s; }

@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6vmax, -4vmax) scale(1.15); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(7, 7, 15, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-main);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.7; }
}

.site-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s, text-shadow 0.2s;
}
.site-nav a:hover { color: var(--cyan); text-shadow: 0 0 12px rgba(34, 211, 238, 0.6); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4rem);
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-main);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-slide 6s linear infinite;
}
@keyframes gradient-slide {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

.hero-sub {
  margin: 1.4rem auto 0;
  max-width: 620px;
  color: var(--text-dim);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.hero-badges {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card);
  font-size: 0.82rem;
  color: var(--text-dim);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.badge--pulse { color: var(--green); border-color: rgba(52, 211, 153, 0.35); }

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 3rem);
}
.section--compact { padding-top: 0; }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background: var(--gradient-main);
}
.section-sub { color: var(--text-dim); margin-bottom: 2rem; }

/* ---------- Status card ---------- */
.status-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.status-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.4); }

.status-card-glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent 60%, rgba(34, 211, 238, 0.12), rgba(168, 85, 247, 0.12), transparent);
  animation: rotate-glow 9s linear infinite;
  pointer-events: none;
}
@keyframes rotate-glow { to { transform: rotate(360deg); } }

.status-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.status-city {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.status-value {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.3rem;
}
.status-value--pending {
  color: var(--amber);
  text-shadow: 0 0 28px rgba(251, 191, 36, 0.45);
}

/* radar orb */
.status-orb { position: relative; width: 110px; height: 110px; flex-shrink: 0; }
.status-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(251, 191, 36, 0.5);
  animation: radar 2.2s ease-out infinite;
}
.status-orb-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(251, 191, 36, 0.35);
  animation: radar 2.2s ease-out 1.1s infinite;
}
@keyframes radar {
  from { transform: scale(0.4); opacity: 1; }
  to   { transform: scale(1.25); opacity: 0; }
}
.status-orb-core {
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fde68a, var(--amber));
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.7);
}

.status-meta {
  position: relative;
  list-style: none;
  margin-top: 1.8rem;
  border-top: 1px solid var(--card-border);
}
.status-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.92rem;
}
.meta-label { color: var(--text-dim); }
.meta-value--ok { color: var(--green); }

/* ---------- Markets list ---------- */
.markets {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
  padding: 1.3rem 1.4rem;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: rgba(7, 7, 15, 0.45);
}
.markets-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.markets-title--live { color: var(--green); }
.markets-title--next { color: var(--purple); }
.market-dot { width: 8px; height: 8px; border-radius: 50%; }
.market-dot--live { background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse-dot 1.8s ease-in-out infinite; }
.market-dot--next { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.markets-list { list-style: none; }
.markets-list li {
  padding: 0.28rem 0;
  font-size: 0.92rem;
  color: var(--text);
}
.markets-list li::before { content: "▸ "; color: var(--cyan); }
.markets-dim { color: var(--text-dim) !important; font-size: 0.85rem !important; }
.markets-dim::before { content: "" !important; }
.markets-tag {
  font-size: 0.68rem;
  font-family: "JetBrains Mono", monospace;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--amber);
  margin-left: 0.35rem;
  white-space: nowrap;
}

/* ---------- US Robotaxi map ---------- */
.map-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}

.map-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.map-stat {
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 1.1rem 1.2rem;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.map-stat:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.4); }
.map-stat-number {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.map-stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.map-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.map-filter-btn {
  appearance: none;
  border: 1px solid var(--card-border);
  background: rgba(20, 20, 40, 0.5);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.map-filter-btn:hover { color: var(--text); border-color: rgba(34, 211, 238, 0.45); }
.map-filter-btn--active {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.5);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.15);
}

.map-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.4rem;
  align-items: stretch;
}
@media (max-width: 820px) {
  .map-layout { grid-template-columns: 1fr; }
}

.map-stage {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  padding: 1.2rem;
  backdrop-filter: blur(10px);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-svg {
  width: 100%;
  height: auto;
  max-height: 320px;
  overflow: visible;
}
.map-coast {
  fill: none;
  stroke: url(#mapStroke);
  stroke-width: 1.2;
  opacity: 0.7;
}

.map-marker {
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.map-marker--dim { opacity: 0.25; }
.map-marker-dot {
  fill: var(--green);
  stroke: var(--bg);
  stroke-width: 1.5;
  filter: url(#mapGlow);
  transition: fill 0.2s, r 0.2s;
}
.map-marker[data-status="coming"] .map-marker-dot { fill: var(--purple); }
.map-marker:hover .map-marker-dot { fill: var(--cyan); r: 6.5; }
.map-marker--selected .map-marker-dot {
  fill: var(--cyan);
  stroke: var(--text);
  stroke-width: 2;
  r: 6.5;
}
.map-marker--selected .map-marker-label { fill: var(--cyan); }
.map-marker-pulse {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.2;
  opacity: 0;
  transform-origin: center;
  animation: map-pulse 2.4s ease-out infinite;
}
.map-marker[data-status="coming"] .map-marker-pulse { stroke: var(--purple); }
@keyframes map-pulse {
  from { transform: scale(0.5); opacity: 0.65; }
  to   { transform: scale(1.6); opacity: 0; }
}
.map-marker-label {
  fill: var(--text-dim);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
  pointer-events: none;
  transition: fill 0.2s;
}
.map-marker:hover .map-marker-label { fill: var(--text); }

.map-panel {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  padding: 1.4rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.map-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}
.map-panel-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}
.map-panel-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  color: var(--text-dim);
}
.map-panel-status[data-status="live"] {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.45);
  color: var(--green);
}
.map-panel-status[data-status="coming"] {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.45);
  color: var(--purple);
}
.map-panel-note {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0;
}
.map-panel-sources {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.75;
}
.map-panel-sources::before { content: "Sources: "; color: var(--cyan); }

.map-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}
.map-list-col {
  border-radius: 16px;
  background: rgba(7, 7, 15, 0.45);
  border: 1px solid var(--card-border);
  padding: 1.2rem 1.4rem;
}
.map-list-col--wide { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .map-list-col--wide { grid-column: span 2; }
}
.map-list-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  color: var(--text);
}
.map-city-list { list-style: none; }
.map-city-list li {
  padding: 0.3rem 0;
  font-size: 0.92rem;
}
.map-city-list li::before { content: "▸ "; color: var(--cyan); }
.map-city-list--sub { color: var(--text-dim); font-size: 0.85rem; }
.map-city-list--sub::before { content: "◦ "; color: var(--purple); }

.map-fleet-note {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.market-dot--info {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* ---------- News feed ---------- */
.news-list { list-style: none; display: grid; gap: 1rem; }
.news-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  padding: 1.3rem 1.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.news-item:hover { transform: translateX(6px); border-color: rgba(34, 211, 238, 0.4); }
.news-date {
  flex-shrink: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
  margin-top: 0.15rem;
}
.news-headline { font-weight: 600; font-size: 1rem; }
.news-summary { color: var(--text-dim); font-size: 0.88rem; margin-top: 0.25rem; }
@media (max-width: 560px) {
  .news-item { flex-direction: column; gap: 0.5rem; }
}

/* ---------- Card grids ---------- */
.card-grid { display: grid; gap: 1.4rem; }
.card-grid--two { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.info-card {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  padding: 1.8rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.info-card:hover { transform: translateY(-5px); }
.info-card--cyan:hover    { border-color: rgba(34, 211, 238, 0.5);  box-shadow: 0 18px 50px -14px rgba(34, 211, 238, 0.35); }
.info-card--magenta:hover { border-color: rgba(236, 72, 153, 0.5);  box-shadow: 0 18px 50px -14px rgba(236, 72, 153, 0.35); }
.info-card--purple:hover  { border-color: rgba(168, 85, 247, 0.5);  box-shadow: 0 18px 50px -14px rgba(168, 85, 247, 0.35); }
.info-card--blue:hover    { border-color: rgba(79, 124, 255, 0.5);  box-shadow: 0 18px 50px -14px rgba(79, 124, 255, 0.35); }

.info-card-icon { font-size: 1.9rem; margin-bottom: 0.8rem; }

.info-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.info-card p { color: var(--text-dim); font-size: 0.95rem; }
.info-card strong { color: var(--text); }

.tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  color: var(--cyan);
  margin-left: 0.4rem;
}

.fact-list, .step-list {
  margin-top: 1rem;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.fact-list li, .step-list li { margin-top: 0.35rem; }
.fact-list li::marker { color: var(--cyan); }
.step-list li::marker { color: var(--purple); font-family: "JetBrains Mono", monospace; }

.callout {
  margin-top: 1.6rem;
  padding: 1.1rem 1.4rem;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.06);
  color: var(--text-dim);
  font-size: 0.95rem;
}
.callout strong { color: var(--cyan); }

/* ---------- Fares ---------- */
.fare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}
.fare-card {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  padding: 1.7rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.fare-card:hover { transform: translateY(-5px) scale(1.02); border-color: rgba(168, 85, 247, 0.5); }

.fare-amount {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fare-unit { font-size: 0.55em; }
.fare-label { color: var(--text-dim); font-size: 0.85rem; margin-top: 0.5rem; }

.fine-print {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  opacity: 0.8;
}

/* ---------- Last checked ---------- */
.last-checked {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 1.4rem 1.8rem;
  backdrop-filter: blur(10px);
}
.last-checked-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.last-checked-date {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(34, 211, 238, 0.4);
}
.last-checked-note { color: var(--text-dim); font-size: 0.9rem; max-width: 420px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.5rem clamp(1rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--card-border);
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-fine { margin-top: 0.7rem; opacity: 0.65; font-size: 0.78rem; }

/* ============================================================
   PET SECTION — START (mascot styles; delete with the MASCOT
   block in index.html.j2 and the PET block in script.js to remove)
   ============================================================ */
.pet {
  position: fixed;
  right: clamp(12px, 3vw, 40px);
  bottom: 24px;
  z-index: 60;
  width: 84px;
  cursor: pointer;
  transition: transform 0.12s ease-out;
  animation: pet-bob 3.2s ease-in-out infinite;
}
@keyframes pet-bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

.pet-body {
  position: relative;
  width: 84px;
  height: 72px;
  border-radius: 42% 42% 46% 46% / 55% 55% 42% 42%;
  background: linear-gradient(145deg, #2a2a4d, #16162e);
  border: 2px solid rgba(34, 211, 238, 0.55);
  box-shadow:
    0 0 24px rgba(34, 211, 238, 0.35),
    inset 0 -8px 16px rgba(0, 0, 0, 0.5);
}

.pet-antenna {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 3px;
  height: 14px;
  background: var(--cyan);
  transform: translateX(-50%);
}
.pet-antenna::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
  transform: translateX(-50%);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.pet-face {
  position: absolute;
  inset: 14px 12px 10px;
  border-radius: 16px;
  background: #05050c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pet-eye {
  width: 11px;
  height: 14px;
  border-radius: 6px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pet-blink 4.6s infinite;
}
@keyframes pet-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.12); }
}

.pet-mouth {
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.7);
  transform: translateX(-50%);
  transition: height 0.2s;
}

.pet-shadow {
  width: 60px;
  height: 10px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  filter: blur(4px);
  animation: pet-shadow 3.2s ease-in-out infinite;
}
@keyframes pet-shadow {
  0%, 100% { transform: scaleX(1); opacity: 0.55; }
  50%      { transform: scaleX(0.75); opacity: 0.35; }
}

.pet--excited .pet-body {
  border-color: var(--magenta);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.55), inset 0 -8px 16px rgba(0, 0, 0, 0.5);
  animation: pet-wiggle 0.5s ease-in-out infinite;
}
@keyframes pet-wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
}
.pet--excited .pet-eye { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.pet--excited .pet-mouth { height: 9px; border-radius: 50%; }

.pet-bubble {
  position: absolute;
  bottom: calc(100% + 22px);
  right: 0;
  width: max-content;
  max-width: 210px;
  padding: 0.55rem 0.8rem;
  border-radius: 12px 12px 2px 12px;
  background: var(--bg-soft);
  border: 1px solid rgba(34, 211, 238, 0.4);
  font-size: 0.75rem;
  color: var(--text);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.pet-bubble--show { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
  .pet { width: 64px; }
  .pet-body { width: 64px; height: 56px; }
  .pet-face { inset: 11px 9px 8px; gap: 8px; }
  .pet-eye { width: 9px; height: 11px; }
}
/* ============ PET SECTION — END ============ */

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive nav ---------- */
@media (max-width: 640px) {
  .site-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ============ TRACKER PANEL ============ */
.tracker-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(20, 26, 48, 0.92), rgba(12, 15, 30, 0.92));
  border: 1px solid rgba(120, 180, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tracker-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.08);
  color: #7ef0ff;
}
.live-pill .badge-dot { animation: pulse-dot 1.6s ease-in-out infinite; }
.live-pill--watch { border-color: rgba(255, 190, 80, 0.4); background: rgba(255, 190, 80, 0.1); color: #ffd08a; }
.live-pill--live { border-color: rgba(122, 255, 168, 0.4); background: rgba(122, 255, 168, 0.1); color: #8dffc0; }
.live-pill--down { border-color: rgba(255, 110, 150, 0.4); background: rgba(255, 110, 150, 0.1); color: #ff9db8; }

.tracker-updated {
  font-size: 0.8rem;
  color: rgba(214, 224, 255, 0.6);
  font-family: "JetBrains Mono", monospace;
}

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

.tracker-stat {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tracker-stat-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(214, 224, 255, 0.55);
}
.tracker-stat-value {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
}
.tracker-stat-value--accent {
  background: linear-gradient(90deg, #00e5ff, #b06bff, #ff4fd8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tracker-signals { margin-top: 1.25rem; }
.tracker-signals-title {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(214, 224, 255, 0.6);
}
.news-list--compact .news-item { padding: 0.7rem 0.9rem; }
.news-headline a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.news-headline a:hover {
  border-bottom-color: rgba(0, 229, 255, 0.6);
  color: #7ef0ff;
}

/* ---------- Improved US map rendering ---------- */
.map-borders {
  fill: none;
  stroke: rgba(148, 163, 255, 0.22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.map-land {
  fill: url(#mapLand);
  stroke: url(#mapStroke);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  filter: url(#mapGlow);
}

/* ---------- Share icons (bottom bar) ---------- */
.share-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  padding: 1.6rem clamp(1rem, 5vw, 3rem);
  border-top: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(13, 13, 28, 0.4), rgba(7, 7, 15, 0.9));
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 255, 0.22);
  background: linear-gradient(135deg, rgba(20, 20, 40, 0.9), rgba(12, 12, 28, 0.9));
  color: #e6e8ff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.share-btn svg { flex: none; }
.share-btn:hover,
.share-btn:focus-visible {
  transform: translateY(-4px) scale(1.08);
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.18);
}
.share-btn--x:hover { color: #ffffff; }
.share-btn--facebook:hover { color: #4f7cff; box-shadow: 0 10px 30px rgba(79, 124, 255, 0.22); }
.share-btn--youtube:hover { color: #f43f5e; box-shadow: 0 10px 30px rgba(244, 63, 94, 0.22); }
.share-btn--linkedin:hover { color: #38bdf8; box-shadow: 0 10px 30px rgba(56, 189, 248, 0.22); }
.share-btn--instagram:hover { color: #ec4899; box-shadow: 0 10px 30px rgba(236, 72, 153, 0.22); }
.share-btn--copy:hover { color: #a855f7; box-shadow: 0 10px 30px rgba(168, 85, 247, 0.22); }
@media (max-width: 480px) {
  .share-bar { gap: 0.65rem; padding: 1.2rem 1rem; }
  .share-btn { width: 42px; height: 42px; }
}
.map-svg .map-marker-label { font-size: 20px; font-weight: 600; }
.map-marker[data-status="watch"] .map-marker-dot { fill: #fbbf24; }
.map-marker[data-status="watch"] .map-marker-pulse { fill: rgba(251, 191, 36, 0.22); }
.map-marker[data-status="watch"] .map-marker-label { fill: #fbbf24; }

/* ============================================================
   WIRING ADDITIONS — not from the Lovable design
   ============================================================
   The Lovable page hardcoded a single amber "Not Yet Confirmed"
   state. The pipeline drives four: launched / announced /
   not_launched / unknown. Each needs its own colour on the big
   status value AND on the radar orb behind it, or a launch would
   render in the same amber as "not launched" -- the one mistake a
   status page cannot make.

   scripts\render.py maps the enum to these class names via
   STATUS_VALUE_CLASSES / STATUS_ORB_CLASSES, and
   tests\test_render.py asserts the mapping is total and that every
   class named here exists.
   ============================================================ */

.status-value--live {
  color: var(--green);
  text-shadow: 0 0 28px rgba(52, 211, 153, 0.45);
}
.status-value--flag {
  color: var(--magenta);
  text-shadow: 0 0 28px rgba(236, 72, 153, 0.40);
}
.status-value--unknown {
  color: var(--text-dim);
  text-shadow: 0 0 28px rgba(154, 160, 195, 0.30);
}

/* Radar orb, recoloured per status. The default (amber) rules live
   above in the PENDING block; these override ring + core together so
   the animation keeps working untouched. */
.status-orb--live .status-orb-ring,
.status-orb--live .status-orb-ring::after { border-color: rgba(52, 211, 153, 0.5); }
.status-orb--live .status-orb-core {
  background: radial-gradient(circle at 35% 35%, #a7f3d0, var(--green));
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.7);
}

.status-orb--flag .status-orb-ring,
.status-orb--flag .status-orb-ring::after { border-color: rgba(236, 72, 153, 0.5); }
.status-orb--flag .status-orb-core {
  background: radial-gradient(circle at 35% 35%, #fbcfe8, var(--magenta));
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.7);
}

.status-orb--unknown .status-orb-ring,
.status-orb--unknown .status-orb-ring::after { border-color: rgba(154, 160, 195, 0.45); }
.status-orb--unknown .status-orb-core {
  background: radial-gradient(circle at 35% 35%, #d7dbf0, var(--text-dim));
  box-shadow: 0 0 30px rgba(154, 160, 195, 0.55);
}

/* Staleness. A run that stops advancing must LOOK stalled rather than
   sit there looking freshly checked -- the defect this whole pipeline
   exists to prevent. */
.stale {
  color: var(--amber);
  font-weight: 600;
}

/* Citation lines under the status card and each news item. The page
   previously shipped no citations at all; these are the pipeline's
   verified sources, so they get real emphasis rather than fine print. */
.sources {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--card-border);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  line-height: 1.8;
  color: var(--text-dim);
}
.sources a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(34, 211, 238, 0.45); }
.sources a:hover { color: var(--text); border-bottom-color: var(--text); }
.sources .pub { opacity: 0.75; }

/* TradingView slot. The design shipped an invented TSLA price and a
   sparkline drawn from 30 hardcoded numbers. Both are gone: a frozen
   quote is wrong in a way the rest of the page is not. This reserves
   the space and the styling for the real embed. */
.tv-slot {
  margin: 2.2rem auto 0;
  max-width: 380px;
  border-radius: 16px;
  background: var(--card);
  border: 1px dashed var(--card-border);
  padding: 1.1rem 1.2rem;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  opacity: 0.8;
}

/* Pill and orb variants the enum maps reference. --pending matches the design's
   original amber default; it exists as an explicit selector so every enum value
   maps to a class that is really defined, which test_render.py asserts. */
.status-orb--pending .status-orb-ring,
.status-orb--pending .status-orb-ring::after { border-color: rgba(251, 191, 36, 0.5); }

.live-pill--ok { border-color: rgba(0, 229, 255, 0.35); background: rgba(0, 229, 255, 0.08); color: #7ef0ff; }
.live-pill--unknown { border-color: rgba(154, 160, 195, 0.35); background: rgba(154, 160, 195, 0.10); color: #c3c8e0; }

/* The status card's research summary. Its own class rather than a borrowed
   .hero-sub, which is centre-constrained by margin:auto and rendered the text
   indented inside the card. */
.status-summary {
  position: relative;
  margin-top: 1.5rem;
  max-width: 68ch;
  color: var(--text-dim);
  font-size: 1.02rem;
}

/* Empty-state for the news feed. Rendered only when no claim's newest source
   falls inside MAX_CLAIM_AGE_DAYS, so the section still has a body under its
   heading instead of a blank gap that reads as a broken page. */
.news-empty {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.4rem;
  border: 1px dashed rgba(154, 160, 195, 0.28);
  border-radius: 14px;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Hero bulletin — a fresh Jacksonville-specific development, promoted out of
   the news feed for HERO_CLAIM_MAX_AGE_DAYS. Cyan rather than the magenta
   status colour: this is local news, not a change of launch status, and the
   two must never be confusable at a glance. */
.hero-bulletin {
  position: relative;
  margin: 2rem auto 0;
  max-width: 62ch;
  padding: 1.25rem 1.5rem;
  text-align: left;
  border: 1px solid rgba(0, 229, 255, 0.32);
  border-left: 3px solid var(--cyan);
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.06);
}

.hero-bulletin-label {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-bulletin-date {
  margin-left: 0.5rem;
  color: var(--text-dim);
}

.hero-bulletin-headline {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}

.hero-bulletin-text {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.99rem;
  line-height: 1.6;
}

.hero-bulletin .sources {
  margin-top: 0.9rem;
}

@media (max-width: 640px) {
  .hero-bulletin {
    padding: 1rem 1.1rem;
  }
}
