/* Dark full-bleed live map hero, incident markers and the "Incoming reports" panel. */
.hero { position: relative; min-height: 720px; overflow: hidden; background: #0a0f1a; color: #aab3c2; }
.hero__map { position: absolute; inset: 0; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 12, 22, 0.97) 0%, rgba(8, 12, 22, 0.9) 30%, rgba(8, 12, 22, 0.5) 46%, rgba(8, 12, 22, 0) 64%),
    linear-gradient(0deg, rgba(8, 12, 22, 0.55) 0%, rgba(8, 12, 22, 0) 22%);
}
.hero__content { position: relative; z-index: 2; display: flex; align-items: center; min-height: 720px; padding-block: 96px; pointer-events: none; }
.hero__copy { max-width: 580px; pointer-events: auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 6px 14px 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: rgba(255, 255, 255, 0.04);
  color: #c5ccd8; font-size: 0.8125rem;
}
.hero h1 { color: #fff; font-size: clamp(2.75rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; }
.hero .lead { max-width: 32em; margin-bottom: 36px; color: #aab3c2; font-size: 1.1875rem; line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 40px 0 0; padding: 0; list-style: none; color: #8b95a7; font-size: 0.875rem; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #4ade9b; }
.map-fallback { display: grid; place-items: center; height: 100%; padding: 24px; color: var(--faint); font-size: 0.9rem; text-align: center; }
.live-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #17b26a; animation: live-pulse 2s infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 178, 106, 0.5); } 70% { box-shadow: 0 0 0 7px rgba(23, 178, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(23, 178, 106, 0); } }

/* Incoming reports panel */
.hero__panel-wrap { position: absolute; inset: 0; z-index: 3; margin: 0 auto; pointer-events: none; }
.incident-panel {
  position: absolute; right: 24px; bottom: 40px; width: 380px; pointer-events: auto;
  background: rgba(13, 19, 32, 0.84); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.incident-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.incident-panel__head p { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: 0.875rem; font-weight: 600; }
.incident-panel__head span { color: #8b95a7; font-size: 0.75rem; }
.incident-panel__list { margin: 0; padding: 0; list-style: none; }
.feed-item { position: relative; padding: 13px 16px 13px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); animation: feed-in 0.4s ease; }
.feed-item::before { content: ''; position: absolute; left: 0; top: 13px; bottom: 13px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.feed-item__msg { margin: 0 0 9px; color: #e6e9ee; font-family: var(--mono); font-size: 0.78rem; line-height: 1.5; }
.feed-item__chips { display: flex; flex-wrap: wrap; gap: 5px; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.incident-panel__stats { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 11px 16px; color: #8b95a7; font-size: 0.75rem; }
.map-stat { display: inline-flex; align-items: center; gap: 6px; }
.map-stat::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

/* Chips (light by default; dark variants for the hero and dark sections) */
.tag { padding: 2px 8px; border-radius: 5px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.72rem; font-weight: 500; }
.tag--strong { color: var(--ink); font-weight: 600; }
.status-pill {
  --c: var(--faint);
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px;
  color: color-mix(in srgb, var(--c) 80%, #000); font-size: 0.72rem; font-weight: 600;
  background: color-mix(in srgb, var(--c) 12%, #fff); border: 1px solid color-mix(in srgb, var(--c) 35%, #fff);
}
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.hero .tag, .section--dark .tag { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); color: #c5ccd8; }
.hero .tag--strong, .section--dark .tag--strong { color: #fff; }
.hero .status-pill, .section--dark .status-pill { color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); border-color: color-mix(in srgb, var(--c) 40%, transparent); }

/* Incident markers */
.incident-marker { position: relative; width: 14px; height: 14px; }
.incident-marker__dot {
  position: absolute; inset: 0; border-radius: 50%; background: var(--c); border: 2px solid #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 35%, transparent), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.incident-marker__pulse {
  position: absolute; inset: -16px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 50%, transparent) 0%, transparent 70%);
  animation: incident-pulse 2.4s ease-out infinite;
}
@keyframes incident-pulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.incident-marker[data-severity='cleared'] .incident-marker__pulse { display: none; }
.incident-marker.is-updated .incident-marker__dot { animation: incident-flash 0.7s ease 2; }
@keyframes incident-flash { 50% { transform: scale(1.5); } }
.incident-marker__label {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  padding: 4px 9px; border-radius: 6px; white-space: nowrap; pointer-events: none;
  background: rgba(13, 19, 32, 0.92); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff;
  font-size: 0.72rem; font-weight: 500; opacity: 0; transition: opacity 0.25s;
}
.incident-marker.is-updated .incident-marker__label, .incident-marker.is-labeled .incident-marker__label { opacity: 1; }

@media (max-width: 1100px) {
  .incident-panel { width: 340px; }
  .hero__shade { background: linear-gradient(90deg, rgba(8, 12, 22, 0.97) 0%, rgba(8, 12, 22, 0.88) 40%, rgba(8, 12, 22, 0.4) 58%, rgba(8, 12, 22, 0) 76%); }
}
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero__content { order: 1; min-height: 0; padding-block: 56px 40px; }
  .hero__map { position: relative; order: 2; height: 420px; }
  .hero__shade { display: none; }
  .hero__panel-wrap { position: static; order: 3; padding: 0; }
  .incident-panel { position: static; width: auto; border-width: 1px 0 0; border-radius: 0; box-shadow: none; backdrop-filter: none; background: #0d1320; }
}
@media (max-width: 420px) {
  .hero__map { height: 340px; }
  .hero .lead { font-size: 1.0625rem; }
}
