/* ============================================================
   WNY Stormchasers — Redesign Prototype
   Brand: near-black + #F65100 · Mobile-first
   ============================================================ */

:root {
  --bg: #070708;
  --bg-elevated: #111114;
  --bg-card: #16161a;
  --bg-card-hover: #1c1c22;
  --surface: #1a1a1f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --orange: #F65100;
  --orange-hot: #ff6a1a;
  --orange-dim: rgba(246, 81, 0, 0.15);
  --orange-glow: rgba(246, 81, 0, 0.45);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --white: #ffffff;
  --success: #22c55e;
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 88px;
  --max: 1180px;
  --font-display: "Oswald", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2rem, 760px);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); letter-spacing: 0.04em; }
h4 { font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--orange);
}

.text-orange { color: var(--orange); }
.text-muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 28px var(--orange-glow);
}
.btn-primary:hover {
  background: var(--orange-hot);
  box-shadow: 0 12px 36px var(--orange-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-icon svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  isolation: isolate;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 7, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 1001;
}

.logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}


.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-self: center;
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--orange);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active { color: var(--orange); }

.nav-cta { display: none; }

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: background 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 8, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
  z-index: 999;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active { color: var(--orange); }

.mobile-nav .btn { margin-top: 1.5rem; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  overflow: hidden;
  isolation: isolate;
}

/* Keeps mix-blend lightning/flashes inside the sky only — not logo/nav/text. */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  contain: paint;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 60% 30%, rgba(246, 81, 0, 0.35), transparent 55%),
    linear-gradient(160deg, #1a0c08 0%, #070708 45%, #0a1520 100%);
}

/* Base photo stays put (scale 1.02 max). Cloud layers carry the churn. No rotation. */
.hero-bg-photo {
  position: absolute;
  inset: -2%;
  z-index: 0;
  transform: scale(1.02);
}

.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 36%;
}

/* Storm-photo copies sit BETWEEN the photo and the dark scrim so texture crawl reads on video. */
.hero-clouds {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.storm-layer {
  position: absolute;
  inset: -14%;
  background-image: url(../assets/hero-storm.jpg);
  background-repeat: no-repeat;
  background-size: 148% 148%;
  pointer-events: none;
  will-change: transform, background-position;
}

/* Updraft: core tower swells while cloud texture crawls inside the mask. */
.storm-layer-1 {
  opacity: 0.9;
  mix-blend-mode: normal;
  transform-origin: 68% 78%;
  -webkit-mask-image: radial-gradient(ellipse 78% 86% at 68% 40%, #000 28%, transparent 78%);
  mask-image: radial-gradient(ellipse 78% 86% at 68% 40%, #000 28%, transparent 78%);
  animation: stormUpdraft 11s ease-in-out infinite alternate;
}

/* Anvil: high deck slides and the texture crawls across it. */
.storm-layer-2 {
  opacity: 0.82;
  mix-blend-mode: normal;
  transform-origin: 42% 70%;
  -webkit-mask-image: radial-gradient(ellipse 96% 62% at 42% 22%, #000 22%, transparent 76%);
  mask-image: radial-gradient(ellipse 96% 62% at 42% 22%, #000 22%, transparent 76%);
  animation: stormAnvil 13s ease-in-out infinite alternate;
}

/* Base: lower storm mass swells while texture shifts upward. */
.storm-layer-3 {
  opacity: 0.86;
  mix-blend-mode: normal;
  transform-origin: 50% 22%;
  -webkit-mask-image: radial-gradient(ellipse 92% 68% at 50% 70%, #000 20%, transparent 76%);
  mask-image: radial-gradient(ellipse 92% 68% at 50% 70%, #000 20%, transparent 76%);
  animation: stormBase 12s ease-in-out infinite alternate;
}

/* Flank: inflow rolls across a wide mid-level mask. */
.storm-layer-4 {
  opacity: 0.78;
  mix-blend-mode: normal;
  transform-origin: 72% 48%;
  -webkit-mask-image: radial-gradient(ellipse 74% 80% at 24% 48%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse 74% 80% at 24% 48%, #000 18%, transparent 76%);
  animation: stormFlank 10s ease-in-out infinite alternate;
}

@keyframes stormUpdraft {
  from {
    transform: translate3d(3%, 5%, 0) scale(1.04);
    background-position: 58% 32%;
  }
  to {
    transform: translate3d(-4%, -7%, 0) scale(1.2);
    background-position: 72% 18%;
  }
}

@keyframes stormAnvil {
  from {
    transform: translate3d(-6%, 2%, 0) scale(1.04, 1.06);
    background-position: 16% 14%;
  }
  to {
    transform: translate3d(7%, -3%, 0) scale(1.16, 1.1);
    background-position: 30% 2%;
  }
}

@keyframes stormBase {
  from {
    transform: translate3d(-4%, 4%, 0) scale(1.04);
    background-position: 38% 72%;
  }
  to {
    transform: translate3d(5%, -6%, 0) scale(1.18);
    background-position: 52% 58%;
  }
}

@keyframes stormFlank {
  from {
    transform: translate3d(5%, -3%, 0) scale(1.05);
    background-position: 6% 50%;
  }
  to {
    transform: translate3d(-7%, 4%, 0) scale(1.16);
    background-position: 20% 36%;
  }
}


/* Still-background mode: no cloud churn (kept CSS inert if markup returns). */
.storm-layer,
.storm-layer-1,
.storm-layer-2,
.storm-layer-3,
.storm-layer-4 {
  animation: none !important;
  transform: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 8, 0.48) 0%, rgba(7, 7, 8, 0.22) 30%, rgba(7, 7, 8, 0.72) 68%, rgba(7, 7, 8, 0.94) 100%),
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(246, 81, 0, 0.16), transparent 60%);
  z-index: 2;
}

.hero-storm {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.25), transparent);
  background-size: 100% 100%;
  animation: none;
}

@keyframes sparkle {
  from { opacity: 0.25; }
  to { opacity: 0.5; }
}

.hero-flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: transparent;
  animation: none;
  opacity: 0;
  visibility: hidden;
}

@keyframes lightning {
  0%, 86%, 100% { background: rgba(210, 225, 255, 0); }
  87% { background: rgba(210, 225, 255, 0.05); }
  88% { background: rgba(210, 225, 255, 0); }
  89% { background: rgba(210, 225, 255, 0.08); }
  90% { background: rgba(210, 225, 255, 0); }
}

/* In-cloud lightning (illuminates the storm backdrop) */
.hero-cloud-lightning {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.cloud-glow {
  position: absolute;
  width: min(52vw, 560px);
  height: min(42vh, 360px);
  border-radius: 50%;
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(18px);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(190, 215, 255, 0.28) 28%,
    rgba(246, 81, 0, 0.08) 52%,
    transparent 72%
  );
  transform: translate3d(0, 0, 0);
}

.cloud-glow-1 { top: 2%; left: 6%; }
.cloud-glow-2 { top: -4%; left: 42%; width: min(48vw, 500px); }
.cloud-glow-3 { top: 8%; right: 4%; left: auto; }
.cloud-glow-4 { top: 18%; left: 28%; width: min(40vw, 420px); height: min(28vh, 240px); }

.cloud-glow.lit {
  animation: cloud-glow-pulse 0.7s ease-out forwards;
}

@keyframes cloud-glow-pulse {
  0% { opacity: 0; transform: scale(0.92); }
  12% { opacity: 0.95; transform: scale(1.02); }
  28% { opacity: 0.2; }
  40% { opacity: 0.85; }
  100% { opacity: 0; transform: scale(1.06); }
}

.hero-bolts {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-flash.burst {
  /* disabled — full-sheet flash washed logo/nav text */
  animation: none;
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .hero-flash { animation: none; }
  .hero-cloud-lightning { display: none; }
  .hero-storm { animation: none; }
  .hero-bg-photo { animation: none; transform: scale(1.02); }
  .storm-layer { animation: none; transform: none; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  isolation: isolate;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--orange-dim);
  border: 1px solid rgba(246, 81, 0, 0.35);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 1.25rem;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 var(--orange-glow);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--orange-glow); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero .lead { margin-bottom: 2rem; max-width: 34rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  max-width: 520px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
}

.section-header {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  max-width: 640px;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-header.centered .eyebrow {
  justify-content: center;
}

.section-header.centered .eyebrow::before { display: none; }

.section-dark { background: var(--bg); }
.section-elevated { background: var(--bg-elevated); }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  border: none;
}

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 81, 0, 0.35);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--orange-dim);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 { margin-bottom: 0.65rem; }
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Split / content blocks ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .split.reverse .split-media { order: 2; }
  .split.reverse .split-copy { order: 1; }
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.split:hover .split-media img { transform: scale(1.04); }

.split-media .media-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(7, 7, 8, 0.8);
  backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--border);
}

.split-copy h2 { margin-bottom: 1rem; }
.split-copy p { color: var(--text-muted); margin-bottom: 1rem; }
.split-copy .btn { margin-top: 0.75rem; }

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
}

.check-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--orange);
  margin-top: 2px;
}

/* ---------- Pillars / values ---------- */
.pillars {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-card) 0%, #0e0e12 100%);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.pillar:hover {
  border-color: rgba(246, 81, 0, 0.4);
  transform: translateY(-4px);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.pillar h3 { margin-bottom: 0.75rem; }
.pillar p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonials {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(246, 81, 0, 0.12), transparent 55%),
    var(--bg-elevated);
}

.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 81, 0, 0.3);
}

.testimonial-stars {
  color: var(--orange);
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 2.5rem;
  line-height: 0.5;
  color: var(--orange);
  font-family: Georgia, serif;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.testimonial p {
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #9a3200);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.author-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem);
  background:
    linear-gradient(135deg, rgba(246, 81, 0, 0.2), rgba(7, 7, 8, 0.9)),
    linear-gradient(160deg, #1a0f0a, #0a0a0b);
  border: 1px solid rgba(246, 81, 0, 0.3);
  text-align: center;
}

.cta-banner h2 { margin-bottom: 0.85rem; }
.cta-banner p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  overflow: hidden;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(246, 81, 0, 0.15), transparent 65%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 0.85rem; }
.page-hero .lead { max-width: 560px; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  gap: 1.5rem;
  /* Each card sizes to its own content, so expanding one bio never
     stretches (and garbles) the clamped bio of the card beside it. */
  align-items: start;
}

@media (min-width: 700px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 81, 0, 0.35);
  box-shadow: var(--shadow);
}

.team-photo {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, #1a120e 0%, #0d0d10 60%),
    radial-gradient(circle at 30% 40%, rgba(246, 81, 0, 0.25), transparent 50%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

/* Tight headshots: keep faces fully in frame */
.team-photo img[src*="mitch-bellinger"],
.team-photo img[src*="andrew-stevenson"] {
  object-position: center 12%;
}

.team-photo-initials {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: rgba(246, 81, 0, 0.35);
  letter-spacing: 0.05em;
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(transparent, var(--bg-card));
}

.team-body {
  padding: 0 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-role {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.team-body h3 { margin-bottom: 0.85rem; }

.team-body p { color: var(--text-muted); font-size: 0.92rem; }

.team-bio {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 0 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-bio p + p { margin-top: 0.75rem; }

.team-body.expanded .team-bio {
  display: block;
  -webkit-line-clamp: unset;
}

.team-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: 0.9rem;
  padding-top: 0;
}

.team-social a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.team-social a:hover { color: var(--orange-hot); }

.team-toggle {
  margin-top: 1rem;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  opacity: 0.9;
  transition: opacity 0.2s;
}

.team-toggle:hover { opacity: 1; }

.sponsor-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
}

.sponsor-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s;
}

.sponsor-card:hover { border-color: rgba(246, 81, 0, 0.4); }
.sponsor-logo {
  height: 84px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 0.4rem;
  margin-bottom: 1rem;
}

.sponsor-card h3 { margin-bottom: 0.4rem; }
.sponsor-card .role {
  font-size: 0.8rem;
  color: var(--orange);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.sponsor-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-card h2 { margin-bottom: 0.75rem; }
.contact-info-card > p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border);
}

.contact-detail:last-child { border-bottom: 1px solid var(--border); }

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-dim);
  color: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 20px; height: 20px; }

.contact-detail h4 { margin-bottom: 0.25rem; color: var(--text); }
.contact-detail p, .contact-detail a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-detail a:hover { color: var(--orange); }

.note-pill {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-form h2 { margin-bottom: 0.5rem; }
.contact-form > .form-intro {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 560px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}

.form-field textarea { min-height: 140px; resize: vertical; }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-status {
  font-size: 0.9rem;
  color: var(--success);
  display: none;
}

.form-status.show { display: block; }

/* ---------- About extras ---------- */
.about-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .about-highlights { grid-template-columns: repeat(3, 1fr); }
}

.about-highlight {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.about-highlight strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

.about-highlight span {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}


/* ---------- Video embed ---------- */
.video-embed {
  max-width: 960px;
  margin-inline: auto;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-cta .btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

/* ---------- Facebook feed ---------- */
.facebook-section {
  background: #0b0b0d;
}

.facebook-layout {
  display: grid;
  gap: 2.25rem;
  align-items: center;
  max-width: 1060px;
  margin-inline: auto;
}

@media (min-width: 800px) {
  .facebook-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 4rem;
  }
}

.facebook-embed {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.facebook-embed iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
}

.facebook-copy {
  max-width: 400px;
}

.facebook-copy h3 {
  margin-bottom: 0.85rem;
}

.facebook-copy p:not(.eyebrow) {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.facebook-copy .btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

@media (max-width: 560px) {
  .facebook-embed,
  .facebook-embed iframe {
    min-height: 520px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050506;
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-img { width: 88px; height: 88px; }

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.social-links a:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: var(--orange-dim);
  transform: translateY(-2px);
}

.social-links svg { width: 18px; height: 18px; }

.footer-col h4 {
  color: var(--text);
  margin-bottom: 1.1rem;
}

.footer-col ul { display: grid; gap: 0.55rem; }

.footer-col a {
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--orange); }

.footer-address {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-address a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-address a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-bottom .office-note {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--orange);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  z-index: 2000;
  font-weight: 600;
}

.skip-link:focus { top: 1rem; }

.prose h2 { margin: 1.75rem 0 0.6rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.prose p { color: var(--text-muted); margin-bottom: 0.85rem; }
.prose a { color: var(--orange); }
.prose a:hover { color: var(--orange-hot); }

/* ---------- Live video badge ---------- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem auto 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(246, 81, 0, 0.15);
  border: 1px solid rgba(246, 81, 0, 0.45);
  color: #ffb088;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.video-embed .live-badge { display: none; }
.video-embed .live-badge:not([hidden]) { display: inline-flex; }
.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #F65100;
  box-shadow: 0 0 0 0 rgba(246, 81, 0, 0.7);
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(246, 81, 0, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(246, 81, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(246, 81, 0, 0); }
}

/* ---------- SkyBot page ---------- */
.skybot-hero .lead { max-width: none; }
.skybot-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 700px) {
  .skybot-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 2.25rem;
  }
}
.skybot-portrait {
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  background: #0a0a0a;
  width: 100%;
}
.skybot-portrait.reveal {
  opacity: 1;
  transform: none;
}
.skybot-portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.skybot-card-media img {
  object-fit: cover;
  object-position: center top;
}
.skybot-benefits .testimonial h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.skybot-benefits .testimonial-quote,
.skybot-benefits .testimonial-stars,
.skybot-benefits .testimonial-author {
  display: none;
}
.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-dim, #b8b8b8);
  line-height: 1.45;
}
.check-list svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #F65100;
}

/* ============================================================
   Features v1 — live strip, NWS alerts, storm reports, report form
   ============================================================ */

/* ---------- Live strip (only visible while streaming) ---------- */
:root { --live-h: 40px; }
.live-strip {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--live-h);
  z-index: 1002;
  background: #0d0d10;
  border-bottom: 1px solid rgba(246, 81, 0, 0.55);
  color: var(--text);
  font-size: 0.88rem;
}
.live-strip[hidden] { display: none; }
.live-strip-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  overflow: hidden;
}
.live-strip-label {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.live-strip-text { overflow: hidden; text-overflow: ellipsis; }
.live-strip-link {
  margin-left: auto;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.live-strip-link:hover { background: var(--orange-hot); }
.live-strip-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.live-strip-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
html.has-live-strip body { padding-top: var(--live-h); }
html.has-live-strip .site-header { top: var(--live-h); }
html.has-live-strip .mobile-nav { top: var(--live-h); }
@media (max-width: 599px) {
  :root { --live-h: 58px; }
  .live-strip-inner { gap: 0.45rem; }
  .live-strip-label { flex-shrink: 0; }
  .live-strip-text {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    line-height: 1.2;
    overflow: visible;
    text-overflow: clip;
    text-wrap: balance;
  }
  .live-strip-link { flex-shrink: 0; margin-left: 0; padding: 0.3rem 0.75rem; }
}

/* ---------- Nav: one more link fits on mid-width desktops ---------- */
@media (min-width: 900px) and (max-width: 1140px) {
  .nav-links a { padding: 0.55rem 0.6rem; font-size: 0.82rem; letter-spacing: 0.08em; }
  .nav .logo-text { font-size: 1rem; }
  .nav .logo-img { width: 60px; height: 60px; }
  .nav-cta { padding: 0.75rem 1.1rem; font-size: 0.85rem; }
}

/* ---------- NWS alerts ---------- */
.alerts-section { padding: clamp(2.75rem, 7vw, 4.5rem) 0; border-bottom: 1px solid var(--border); }
.alerts-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.alerts-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.alerts-sub { color: var(--text-muted); margin-top: 0.5rem; max-width: 560px; }
.alerts-count {
  display: inline-block;
  margin-left: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--orange);
  vertical-align: middle;
}
.alerts-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
}
.alerts-toggle button {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-height: 40px;
}
.alerts-toggle button[aria-pressed="true"] { background: var(--orange); color: var(--white); }
.alerts-list { display: grid; gap: 0.9rem; }
@media (min-width: 800px) { .alerts-list { grid-template-columns: repeat(2, 1fr); } }
.alerts-loading { color: var(--text-dim); }
.alert-card {
  --sev: #a1a1aa;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 5px solid var(--sev);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  min-width: 0;
}
.alert-card.sev-extreme { --sev: #ef4444; }
.alert-card.sev-severe { --sev: #F65100; }
.alert-card.sev-moderate { --sev: #facc15; }
.alert-card.sev-minor { --sev: #60a5fa; }
.alert-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.alert-event { font-size: 1.2rem; text-transform: uppercase; }
.alert-sev {
  flex-shrink: 0;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--sev);
  color: var(--sev);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.alert-meta { display: grid; gap: 0.3rem; margin: 0.75rem 0 0.5rem; font-size: 0.9rem; }
.alert-meta div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.5rem; }
.alert-meta dt { color: var(--text-dim); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 0.15rem; }
.alert-meta dd { color: var(--text); overflow-wrap: anywhere; }
.alert-headline { color: var(--text-muted); font-size: 0.88rem; }
.alert-details { margin-top: 0.6rem; }
.alert-details summary { cursor: pointer; color: var(--orange); font-size: 0.9rem; font-weight: 600; }
.alert-details h4 { margin: 0.75rem 0 0.25rem; font-size: 0.8rem; color: var(--text-dim); }
.alert-text { white-space: pre-line; color: var(--text-muted); font-size: 0.88rem; margin-top: 0.5rem; overflow-wrap: anywhere; }
.alert-link { display: inline-block; margin-top: 0.75rem; color: var(--orange); font-size: 0.9rem; }
.alert-link:hover { color: var(--orange-hot); }
.alerts-empty {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.alerts-empty p { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.2rem; }
.alerts-empty a { color: var(--orange); }
.alerts-ok {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  font-weight: 700;
}
.alerts-error { border-color: rgba(246, 81, 0, 0.35); }
.alerts-foot { margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-dim); }
.alerts-foot a { color: var(--orange); }

/* ---------- Storm reports ---------- */
.reports-list { display: grid; gap: 1.5rem; }
.report-card {
  display: grid;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 900px) {
  .report-card { grid-template-columns: 1.15fr 1fr; }
}
.report-media { background: #000; }
.report-body { padding: 1.5rem; min-width: 0; }
.report-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.report-dot { color: var(--text-dim); }
.report-title { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-bottom: 0.75rem; }
.report-recap { color: var(--text-muted); }
.report-source { margin-top: 0.4rem; font-size: 0.78rem; color: var(--text-dim); font-style: italic; }
.report-sub { margin: 1.25rem 0 0.6rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.report-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.5rem; }
.reports-gallery .report-photos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; }
.report-photo {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.report-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease), opacity 0.2s; }
.report-photo:hover img, .report-photo:focus-visible img { transform: scale(1.05); }
.report-photo:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.report-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 1rem; font-size: 0.9rem; }
.report-links a { color: var(--orange); }
.report-links a:hover { color: var(--orange-hot); }
.reports-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}
.reports-empty p { color: var(--text-muted); margin: 0.6rem auto 1.4rem; max-width: 460px; }
.reports-gallery-empty { color: var(--text-muted); }
.reports-note { color: var(--text-dim); font-size: 0.85rem; margin-top: 1.5rem; }

.lite-yt { position: relative; aspect-ratio: 16 / 9; background: #000; }
.lite-yt iframe, .lite-yt-btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lite-yt-btn img { width: 100%; height: 100%; object-fit: cover; }
.lite-yt-play {
  position: absolute; left: 50%; top: 50%;
  width: 68px; height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: rgba(246, 81, 0, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.lite-yt-play::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-35%, -50%);
  border-style: solid; border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.lite-yt-btn:hover .lite-yt-play, .lite-yt-btn:focus-visible .lite-yt-play { transform: translate(-50%, -50%) scale(1.08); background: var(--orange-hot); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0, 0, 0, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 0.75rem 1rem;
}
.lightbox[hidden] { display: none; }
.lb-figure { max-width: min(1200px, 100%); margin: 0; text-align: center; }
.lb-figure img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lb-figure figcaption { margin-top: 0.75rem; color: var(--text-muted); font-size: 0.92rem; }
.lb-link { color: var(--orange); margin-left: 0.4rem; white-space: nowrap; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; color: #fff;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.8rem; line-height: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--orange); }
.lb-close { top: 0.75rem; right: 0.75rem; }
.lb-prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lb-prev[hidden], .lb-next[hidden] { display: none; }
@media (max-width: 600px) {
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
}

/* ---------- Viewer storm report form ---------- */
.safety-note {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1rem 1.2rem;
  margin-bottom: 1.75rem;
  border-radius: var(--radius);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: var(--text);
  font-size: 0.95rem;
}
.safety-note strong { color: #fca5a5; }
.safety-icon { font-size: 1.3rem; line-height: 1.2; flex-shrink: 0; }
.report-layout { display: grid; gap: 2rem; }
@media (min-width: 960px) {
  .report-layout { grid-template-columns: 1.5fr 1fr; align-items: start; gap: 3rem; }
}
.field-hint { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.4rem; }
.loc-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.loc-row input { flex: 1 1 220px; }
.loc-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0 1rem; min-height: 46px;
  border-radius: 10px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 0.9rem; font-weight: 600;
}
.loc-btn:hover { background: var(--orange-dim); }
.loc-btn svg { width: 16px; height: 16px; }
.form-field input[type="file"] { padding: 0.65rem; cursor: pointer; }
.form-field input[type="file"]::file-selector-button {
  margin-right: 0.75rem; padding: 0.45rem 0.9rem;
  border: 0; border-radius: 999px;
  background: var(--orange); color: #fff; font: inherit; font-size: 0.85rem; cursor: pointer;
}
.photo-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 0.5rem; margin-top: 0.6rem; }
.photo-preview:empty { display: none; }
.photo-preview figure { margin: 0; }
.photo-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.photo-preview figcaption { font-size: 0.7rem; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-field { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); }
.check-field input { width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--orange); flex-shrink: 0; }
.report-side { display: grid; gap: 1.25rem; }
.report-side .contact-info-card h3 { margin-bottom: 0.6rem; }
.report-side ul { display: grid; gap: 0.45rem; color: var(--text-muted); font-size: 0.92rem; }
.report-side li::before { content: "\2014  "; color: var(--orange); }
.report-side a { color: var(--orange); }
.btn-share[hidden] { display: none; }
.alerts-section, .report-card { scroll-margin-top: calc(var(--nav-h) + 1rem); }
@media (max-width: 560px) {
  .report-layout .contact-form { padding: 1.4rem 1.1rem; }
}

/* ---------- Homepage alert strip (features v2) ---------- */
.alert-strip {
  position: fixed;
  left: 0; right: 0;
  top: var(--nav-h);
  z-index: 998;
  display: block;
  min-height: 36px;
  background: var(--orange);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.alert-strip[hidden] { display: none; }
.alert-strip:hover { filter: brightness(1.06); }
.alert-strip-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
}
.alert-strip-icon { flex-shrink: 0; }
.alert-strip-text { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.alert-strip-more {
  flex-shrink: 0;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.78rem;
}
.alert-strip-more:empty { display: none; }
.alert-strip-cta { flex-shrink: 0; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
html.has-live-strip .alert-strip { top: calc(var(--live-h) + var(--nav-h)); }
@media (max-width: 560px) {
  .alert-strip { font-size: 0.8rem; }
  .alert-strip-cta { display: none; }
  .alert-strip-inner::after { content: "\203A"; font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
}

/* ---------- Nav: Alerts + Reports fit on mid-width desktops ---------- */
@media (min-width: 900px) and (max-width: 1060px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 0.5rem 0.45rem; font-size: 0.78rem; letter-spacing: 0.06em; }
  .nav .logo-text span { letter-spacing: 0.12em; }
}
@media (min-width: 900px) and (max-width: 1000px) {
  .nav-cta { display: none; }
}
.alerts-page { padding-top: clamp(2.5rem, 6vw, 4rem); }

/* ---------- Mobile menu: room for Alerts + Reports ---------- */
.mobile-nav {
  justify-content: safe center;
  padding: calc(var(--nav-h) + 0.5rem) 1rem 1.5rem;
  overflow-y: auto;
  gap: 0.15rem;
}
.mobile-nav a { font-size: clamp(1.35rem, 5.2vw, 2rem); padding: 0.4rem 1rem; }
.mobile-nav .btn { margin-top: 1rem; font-size: 1rem; padding: 0.9rem 1.6rem; }

/* ============================================================
   Features v4 — tri-state alerts page (state chips, WNY toggle,
   state groups/tags) + NY/PA/OH homepage alert strip
   ============================================================ */
.alerts-head { margin-bottom: 1rem; }
.alerts-sub { max-width: 640px; }
.alerts-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.alerts-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.alerts-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.alerts-chip:hover { color: var(--text); border-color: var(--orange); }
.alerts-chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--white); }
.chip-count {
  min-width: 1.5em;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}
.chip-count:empty { display: none; }
.alerts-chip[aria-pressed="true"] .chip-count { background: rgba(0, 0, 0, 0.22); }
.wny-switch {
  position: relative;
  width: 30px; height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: background 0.15s;
}
.wny-switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform 0.15s, background 0.15s;
}
.alerts-wny[aria-pressed="true"] .wny-switch { background: rgba(0, 0, 0, 0.3); }
.alerts-wny[aria-pressed="true"] .wny-switch::after { transform: translateX(12px); background: #fff; }
.alerts-group {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.alerts-group:first-child { margin-top: 0; }
.alerts-group-count { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--orange); }
.alert-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.55rem; }
.alert-state {
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text);
}
.alert-state-wny { border-color: rgba(246, 81, 0, 0.6); color: var(--orange); }
@media (max-width: 560px) {
  .alerts-filters { flex-direction: column; align-items: stretch; }
  .alerts-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
  .alerts-chip { justify-content: center; padding: 0.45rem 0.4rem; }
  .alerts-wny { justify-content: center; }
}

/* Homepage strip: one tidy line — event · area (+N areas) · until */
.alert-strip-text { display: flex; align-items: baseline; gap: 0.4rem; white-space: nowrap; overflow: hidden; }
.alert-strip-event { flex: 0 1 auto; min-width: 3.5em; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.alert-strip-area { flex: 0 1 auto; min-width: 0; display: flex; overflow: hidden; font-weight: 500; }
.alert-strip-area::before { content: "\00b7"; margin-right: 0.4rem; }
.alert-strip-place { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.alert-strip-areas { flex-shrink: 0; white-space: pre; opacity: 0.9; }
.alert-strip-until { flex: 0 0 auto; font-weight: 500; opacity: 0.9; }
.alert-strip-until::before { content: "\00b7"; margin-right: 0.4rem; }
.alert-strip-until:empty { display: none; }
@media (max-width: 760px) { .alert-strip-until { display: none; } }
@media (max-width: 560px) {
  .alert-strip-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; line-height: 1.25; }
  .alert-strip-area::before { display: none; }
  .alert-strip-area { font-size: 0.74rem; }
}

/* Live strip pulsing dot (reuses livePulse) */
.live-strip .live-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 0.6rem;
  height: 0.6rem;
  margin: 0 0.15rem 0 0.5rem; /* room for the 8px pulse ring inside overflow:hidden */
  animation: livePulse 1.6s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .live-strip .live-dot { animation: none; box-shadow: 0 0 0 3px rgba(246, 81, 0, 0.35); }
}
