/* ═══════════════════════════════════════════════════════════
   MMSAR — Mallacoota Marine Search and Rescue (Proposal Site)
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy-deep: #061018;
  --navy: #0a1628;
  --navy-mid: #0d2137;
  --navy-card: rgba(12, 28, 48, 0.72);
  --sea: #0e3a52;
  --sea-mid: #156a8a;
  --sea-light: #1a8fb5;
  --foam: #e8f4f8;
  --cyan: #5ec8e8;
  --cyan-soft: rgba(94, 200, 232, 0.15);
  --red: #c8102e;
  --red-hover: #e01838;
  --red-soft: rgba(200, 16, 46, 0.18);
  --text: #eef4f8;
  --text-muted: #9bb4c4;
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(10, 24, 40, 0.65);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 48px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--navy-deep);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #fff; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ─── Sticky emergency bar ──────────────────────────────── */
.alert-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  flex-wrap: wrap;
  padding: 0.4rem 1rem;
  min-height: 0;
  background: linear-gradient(90deg, #3a0a12 0%, #5c1018 50%, #3a0a12 100%);
  border-bottom: 1px solid rgba(255, 80, 80, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  color: #ffe8e8;
  line-height: 1.3;
}
.alert-bar .sep { opacity: 0.45; font-weight: 400; }
.alert-bar strong {
  color: #fff;
  background: var(--red);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
}
.alert-bar .label { opacity: 0.9; }
.alert-bar .alert-full {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}
/* Compact mobile: one tight line; 000 always visible */
.alert-bar .alert-short { display: none; }

/* ─── Theme toggle ──────────────────────────────────────── */
.theme-toggle {
  position: fixed;
  top: calc(var(--header-h) + 0.75rem);
  right: 1rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}
.theme-toggle i { font-size: 0.9rem; color: var(--cyan); }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  /* Compact: no full-viewport empty sky */
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #0a1a2e 0%,
    #0c2840 22%,
    #0a4060 48%,
    #0e5a78 68%,
    #0a4a62 82%,
    #061820 100%
  );
}

/* Sky glow */
.hero-sky {
  position: absolute;
  inset: 0 0 30% 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(255, 200, 120, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(80, 160, 220, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #071220 0%, transparent 100%);
  pointer-events: none;
}

/* Soft clouds */
.hero-clouds {
  position: absolute;
  inset: 0 0 35% 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.35;
}
.cloud {
  position: absolute;
  border-radius: 50%;
  background: rgba(200, 220, 240, 0.25);
  filter: blur(40px);
  animation: cloud-drift linear infinite;
}
.cloud-1 { width: 280px; height: 80px; top: 8%; left: -10%; animation-duration: 80s; }
.cloud-2 { width: 200px; height: 60px; top: 14%; left: 40%; animation-duration: 100s; animation-delay: -20s; }
.cloud-3 { width: 320px; height: 90px; top: 4%; left: 70%; animation-duration: 90s; animation-delay: -40s; }

@keyframes cloud-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(30vw); }
}

/* Ocean surface area — bottom band under text + boat */
.hero-ocean {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  min-height: 140px;
  overflow: hidden;
  pointer-events: none;
}

/* Layered waves */
.wave-layer {
  position: absolute;
  left: -5%;
  width: 110%;
  height: 100%;
  background-repeat: repeat-x;
  background-size: 1200px 100%;
  opacity: 0.55;
  animation: wave-scroll linear infinite;
}
.wave-1 {
  bottom: 0;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath fill='%230a3048' d='M0 80 Q150 40 300 80 T600 80 T900 80 T1200 80 V200 H0Z'/%3E%3C/svg%3E");
  animation-duration: 18s;
  opacity: 0.9;
  z-index: 1;
}
.wave-2 {
  bottom: 8%;
  height: 70%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath fill='%230e4a68' d='M0 100 Q150 55 300 100 T600 100 T900 100 T1200 100 V200 H0Z'/%3E%3C/svg%3E");
  animation-duration: 12s;
  animation-direction: reverse;
  opacity: 0.7;
  z-index: 2;
}
.wave-3 {
  bottom: 0;
  height: 45%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath fill='%23126a8a' d='M0 120 Q100 80 200 120 T400 120 T600 120 T800 120 T1000 120 T1200 120 V200 H0Z'/%3E%3C/svg%3E");
  animation-duration: 8s;
  opacity: 0.55;
  z-index: 3;
}
.wave-foam {
  bottom: 0;
  height: 28%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%23a8d8e8' fill-opacity='0.25' d='M0 60 Q75 20 150 60 T300 60 T450 60 T600 60 T750 60 T900 60 T1050 60 T1200 60 V120 H0Z'/%3E%3C/svg%3E");
  animation-duration: 6s;
  animation-direction: reverse;
  opacity: 0.8;
  z-index: 4;
}

@keyframes wave-scroll {
  0% { background-position-x: 0; }
  100% { background-position-x: 1200px; }
}

/* Shimmer on water */
.ocean-shimmer {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 55%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmer 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

/* ─── Animated boat ─────────────────────────────────────── */
/* In-flow strip so the hero doesn't leave a huge empty top gap */
.boat-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  height: clamp(160px, 28vw, 260px);
  margin-top: -0.25rem;
  flex-shrink: 0;
  pointer-events: none;
}

.boat-track {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  animation: boat-cruise 28s ease-in-out infinite;
}

.boat-bob {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: min(52vw, 420px);
  transform: translateX(-50%);
  animation: boat-bob 3.2s ease-in-out infinite;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.4));
}

.boat-bob img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  /* Asset already faces right — do not mirror (would reverse RESCUE text) */
  user-select: none;
  -webkit-user-drag: none;
}

/* Wake / spray at stern (left side — boat faces right) */
.boat-wake {
  position: absolute;
  left: -6%;
  bottom: 8%;
  width: 32%;
  height: 28%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(255, 255, 255, 0.45) 0%, rgba(180, 230, 255, 0.2) 40%, transparent 70%);
  filter: blur(4px);
  animation: wake-pulse 1.4s ease-in-out infinite;
  opacity: 0.75;
  transform-origin: left center;
  z-index: 0;
}

.boat-wake::after {
  content: "";
  position: absolute;
  inset: 10% 20% 10% -10%;
  border-radius: 50%;
  background: radial-gradient(ellipse at left, rgba(255, 255, 255, 0.3) 0%, transparent 65%);
  animation: wake-pulse 1.1s ease-in-out infinite reverse;
}

@keyframes boat-cruise {
  0%   { transform: translateX(-16%); }
  50%  { transform: translateX(16%); }
  100% { transform: translateX(-16%); }
}

@keyframes boat-bob {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(1deg); }
  50%      { transform: translateX(-50%) translateY(-14px) rotate(-1.2deg); }
}

@keyframes wake-pulse {
  0%, 100% { opacity: 0.55; transform: scaleX(1) scaleY(1); }
  50%      { opacity: 0.95; transform: scaleX(1.15) scaleY(1.1); }
}

/* ─── Hero content ──────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(94, 200, 232, 0.12);
  border: 1px solid rgba(94, 200, 232, 0.3);
  backdrop-filter: blur(8px);
}
.hero-badge i { font-size: 0.85rem; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  max-width: 16ch;
}

.hero h1 .accent {
  color: var(--red);
  display: block;
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  text-shadow: none;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--foam);
  max-width: 36rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  font-weight: 400;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta i { color: var(--cyan); font-size: 0.85rem; }

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

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 24px rgba(200, 16, 46, 0.4);
}
.btn-primary:hover {
  background: var(--red-hover);
  color: #fff;
  box-shadow: 0 8px 28px rgba(200, 16, 46, 0.55);
  transform: translateY(-2px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--glass-border);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.btn-block { width: 100%; }

/* ─── Page sections ─────────────────────────────────────── */
.main {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 12%, var(--navy-mid) 50%, var(--navy) 100%);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-header {
  margin-bottom: 1.75rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  color: #fff;
  margin-bottom: 0.5rem;
}
.section-header h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 0.65rem;
}
.section-header p {
  color: var(--text-muted);
  max-width: 40rem;
  margin-top: 0.85rem;
}

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: rgba(94, 200, 232, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
@media (hover: hover) {
  .card.lift:hover { transform: translateY(-6px); }
}

.disclaimer-card {
  border-color: rgba(200, 16, 46, 0.4);
  background: linear-gradient(135deg, rgba(80, 10, 20, 0.55), var(--glass-bg));
}
.disclaimer-card h2 {
  color: #ffb0b8;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.disclaimer-card h2::after { display: none; }
.disclaimer-card p { color: var(--foam); margin-bottom: 0.4rem; }
.disclaimer-card p:last-child { margin-bottom: 0; }
.disclaimer-card strong { color: #fff; }

/* Vision grid */
.vision-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}
.vision-text p {
  margin-bottom: 1rem;
  color: var(--text);
}
.vision-text p:last-child { margin-bottom: 0; }
.vision-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.vision-art {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  flex: 1;
  min-height: 220px;
  background: linear-gradient(160deg, #e8eef2 0%, #cfd8e0 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.vision-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: contrast(1.04) saturate(1.05);
}
.vision-kuula {
  display: flex;
  flex-direction: column;
  background: #0a1628;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}
/* Tall 360 — fills the vision column frame */
.vision-kuula .ku-embed {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: min(70vh, 640px);
  height: min(70vh, 640px);
  border: 0;
  background: #000;
}
.vision-kuula-caption {
  margin: 0;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--glass-border);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .vision-kuula .ku-embed {
    min-height: min(55vh, 480px);
    height: min(55vh, 480px);
  }
}
@media (max-width: 640px) {
  .vision-kuula .ku-embed {
    min-height: min(50vh, 380px);
    height: min(50vh, 380px);
  }
}
.status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(94, 200, 232, 0.25);
}
.pill.red {
  background: var(--red-soft);
  color: #ff8a96;
  border-color: rgba(200, 16, 46, 0.3);
}

/* At a glance facts */
.facts-card h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: #fff;
  margin-bottom: 0.75rem;
}
.facts-card h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 0.55rem;
}
.facts-lead {
  color: var(--foam);
  margin-bottom: 1.25rem;
  max-width: 52rem;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}
.fact {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--glass-border);
}
.fact dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}
.fact dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}
body.light .facts-card h2 { color: var(--navy); }
body.light .fact {
  background: rgba(255, 255, 255, 0.7);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  margin: 0;
  border-top: 1px solid var(--glass-border);
  padding-top: 0.85rem;
  margin-top: 0;
}
body.light .faq-item summary { color: var(--navy); }

/* Support form layout */
.support-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}
.support-card {
  border-color: rgba(94, 200, 232, 0.28);
}
.support-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.support-stats .stat {
  text-align: center;
  padding: 0.75rem 0.4rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--glass-border);
}
.support-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
  line-height: 1.1;
}
.support-stats span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.support-lead {
  font-size: 1.05rem;
  color: var(--foam);
  margin-bottom: 1.15rem;
  font-weight: 600;
}
.support-form .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85em;
}
.intent-fieldset {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}
.intent-fieldset legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--foam);
  margin-bottom: 0.55rem;
}
.intent-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.intent-option:hover {
  border-color: rgba(94, 200, 232, 0.35);
}
.intent-option:has(input:checked) {
  border-color: rgba(200, 16, 46, 0.55);
  background: var(--red-soft);
}
.intent-option input {
  margin-top: 0.3rem;
  accent-color: var(--red);
  flex-shrink: 0;
}
.intent-option strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
}
.intent-option em {
  display: block;
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.15rem;
}
.volunteer-extra {
  margin-bottom: 1rem;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(94, 200, 232, 0.08);
  border: 1px solid rgba(94, 200, 232, 0.2);
}
.form-hint {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}
.form-hint a { font-weight: 600; }
.role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.role-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--text);
}
.role-chips .chip:has(input:checked) {
  border-color: var(--cyan);
  background: var(--cyan-soft);
  color: #fff;
}
.role-chips input { accent-color: var(--cyan); }
.form-privacy {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.support-aside h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.55rem;
}
.support-aside .aside-sub {
  margin-top: 1.35rem;
}
.support-aside p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.share-blurb {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  font-size: 0.9rem !important;
  color: var(--foam) !important;
  line-height: 1.55;
}
.aside-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}
#form-feedback {
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
  font-weight: 600;
}
#form-feedback.success { color: #7dffb0; }
#form-feedback.error { color: #ff8c8c; }
#form-feedback a { color: var(--cyan); }

/* Honeypot — hidden from humans */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.connection-fieldset {
  margin-bottom: 1.15rem;
}
.connection-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.connection-option:hover {
  border-color: rgba(94, 200, 232, 0.35);
}
.connection-option:has(input:checked) {
  border-color: rgba(94, 200, 232, 0.55);
  background: var(--cyan-soft);
}
.connection-option input {
  margin-top: 0.3rem;
  accent-color: var(--cyan);
  flex-shrink: 0;
}
.connection-option strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}
.connection-option em {
  display: block;
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.12rem;
}
body.light .connection-option {
  background: rgba(255, 255, 255, 0.65);
}
body.light .connection-option strong {
  color: var(--navy);
}

.public-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0.5rem 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(94, 200, 232, 0.35);
  background: rgba(94, 200, 232, 0.08);
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.public-check input {
  margin-top: 0.25rem;
  accent-color: var(--cyan);
  flex-shrink: 0;
}
.public-check strong { color: #fff; }

/* Public voices list */
.voices-card { padding: 1.25rem; }
.voices-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.voices-filter {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  line-height: 1.25;
  max-width: 100%;
  text-align: left;
}
.voices-filter:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.voices-filter.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.voices-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 480px;
  overflow-y: auto;
}
.voice-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--glass-border);
}
.voice-row .voice-name {
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
}
.voice-row .voice-meta {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.voice-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.voice-badge.support,
.voice-badge.volunteer { background: var(--red-soft); color: #ffb0b8; }
.voice-badge.status_quo { background: rgba(255, 200, 80, 0.15); color: #ffd078; }
.voice-badge.informed { background: var(--cyan-soft); color: var(--cyan); }
.voices-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 1.5rem 1rem;
}

body.light .public-check strong,
body.light .voice-row .voice-name { color: var(--navy); }
body.light .public-check {
  background: rgba(255, 255, 255, 0.75);
}
body.light .voice-row {
  background: rgba(255, 255, 255, 0.75);
}
body.light .voices-filter.is-active {
  background: var(--red);
  color: #fff;
}

body.light .support-stats .stat {
  background: rgba(255, 255, 255, 0.7);
}
body.light .support-stats strong { color: var(--navy); }
body.light .intent-option {
  background: rgba(255, 255, 255, 0.65);
}
body.light .intent-option strong { color: var(--navy); }
body.light .share-blurb {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text) !important;
}
body.light .support-aside h3 { color: var(--navy); }

/* Media */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.media-card {
  overflow: hidden;
  padding: 0;
}
.media-card .frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.media-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.media-card .caption {
  padding: 0.9rem 1.15rem 1.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* PDF / inquiry */
.text-link {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.text-link:hover { color: #fff; }

.reading-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.reading-card .text { flex: 1; min-width: 220px; }
.reading-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.reading-card p { color: var(--text-muted); font-size: 0.98rem; }
.reading-card code {
  font-size: 0.85em;
  color: var(--cyan);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

.inquiry-card {
  align-items: flex-start;
  border-color: rgba(94, 200, 232, 0.28);
  background: linear-gradient(135deg, rgba(14, 40, 60, 0.85), var(--glass-bg));
}
.inquiry-icon {
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.45rem;
}
.inquiry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.65rem;
  font-size: 0.88rem !important;
  color: var(--text-muted) !important;
}
.inquiry-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.inquiry-meta i { color: var(--cyan); }
.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
  max-width: 100%;
}

/* PDF on-screen reader modal */
.pdf-modal-content {
  max-width: min(960px, 96vw);
  width: 100%;
  max-height: 94vh;
  padding: 1.15rem 1.15rem 0.85rem;
  display: flex;
  flex-direction: column;
}
.pdf-modal-header {
  flex-shrink: 0;
  padding-right: 2rem;
  margin-bottom: 0.75rem;
}
.pdf-modal-header h2 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.pdf-modal-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.pdf-frame-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: #111;
}
.pdf-frame-wrap iframe {
  width: 100%;
  height: min(70vh, 720px);
  border: 0;
  background: #2a2a2a;
}
.pdf-fallback {
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
}
.pdf-fallback a { font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(4, 10, 18, 0.9);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
}
.site-footer .inner { max-width: var(--max); margin: 0 auto; }
.site-footer .brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.site-footer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}
.site-footer a { color: var(--cyan); font-weight: 600; }
.site-footer .fine {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* ─── Modal ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(2, 8, 16, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-overlay.is-open { display: flex; }

.modal-content {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(165deg, #0e2438 0%, #0a1828 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.modal-content h2 {
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 0.35rem;
  padding-right: 2rem;
}
.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.form-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--glass-border), transparent);
  margin: 1.15rem 0;
}
.form-group { margin-bottom: 0.95rem; text-align: left; }
.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--foam);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(94, 200, 232, 0.5);
  box-shadow: 0 0 0 3px rgba(94, 200, 232, 0.15);
}
.form-group select option { background: #0a1828; color: #fff; }
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}
.checkbox-group input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--red);
}
.checkbox-group label {
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
}
.hidden-section { display: none; }
.hidden-section h4 {
  font-size: 1.05rem;
  color: var(--cyan);
  margin-bottom: 0.85rem;
}
#form-feedback {
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
  font-weight: 600;
}
#form-feedback.success { color: #7dffb0; }
#form-feedback.error { color: #ff8c8c; }
.form-submit-wrap {
  text-align: center;
  margin-top: 1.25rem;
}

/* ─── Light theme ───────────────────────────────────────── */
body.light {
  --navy-deep: #e8f0f5;
  --navy: #dce8f0;
  --navy-mid: #cfdce8;
  --text: #1a2a38;
  --text-muted: #4a6070;
  --foam: #1a2a38;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(0, 40, 70, 0.12);
  --shadow: 0 12px 40px rgba(0, 30, 50, 0.12);
  background: #e8f0f5;
  color: var(--text);
}
body.light .alert-bar {
  background: linear-gradient(90deg, #8b1520 0%, #b01e2c 50%, #8b1520 100%);
  color: #fff;
}
body.light .hero {
  background: linear-gradient(
    180deg,
    #6a9fc4 0%,
    #5a9ab8 25%,
    #3d8aaa 50%,
    #2a7598 70%,
    #1a5a78 88%,
    #0e4058 100%
  );
}
body.light .hero h1,
body.light .hero-lead { color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
body.light .hero-meta { color: rgba(255, 255, 255, 0.85); }
body.light .hero-meta i { color: #c8f0ff; }
body.light .main {
  background: linear-gradient(180deg, #e8f0f5 0%, #f4f8fb 40%, #e8f0f5 100%);
}
body.light .section-header h2,
body.light .cta-card h3,
body.light .reading-card h3,
body.light .site-footer .brand { color: var(--navy); }
body.light .card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 40, 70, 0.1);
}
body.light .disclaimer-card {
  background: linear-gradient(135deg, rgba(255, 220, 220, 0.9), rgba(255, 255, 255, 0.9));
  border-color: rgba(200, 16, 46, 0.3);
}
body.light .disclaimer-card h2 { color: var(--red); }
body.light .disclaimer-card p { color: var(--text); }
body.light .site-footer {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 40, 70, 0.1);
}
body.light .modal-content {
  background: linear-gradient(165deg, #f8fbfd 0%, #eef4f8 100%);
}
body.light .modal-content h2 { color: var(--navy); }
body.light .form-group label { color: var(--text); }
body.light .form-group input,
body.light .form-group select,
body.light .form-group textarea {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-color: rgba(0, 40, 70, 0.15);
}
body.light .form-group select option { background: #fff; color: #1a2a38; }
body.light .theme-toggle {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border-color: rgba(0, 40, 70, 0.12);
}
body.light .theme-toggle i { color: #c87800; }
body.light .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
body.light .media-card .caption { color: var(--text-muted); }

/* ─── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .boat-track,
  .boat-bob,
  .boat-wake,
  .wave-layer,
  .ocean-shimmer,
  .cloud {
    animation: none !important;
  }
  .boat-track { transform: none; }
  .boat-bob {
    left: 50%;
    transform: translateX(-50%);
  }
  .boat-wake { opacity: 0.6; }
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .vision-grid,
  .media-grid,
  .support-layout,
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .boat-bob { width: min(58vw, 320px); }
  .boat-stage { height: clamp(140px, 32vw, 220px); }
  .theme-toggle { right: 0.75rem; }
}

@media (max-width: 640px) {
  :root { --header-h: auto; }

  .alert-bar {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
    padding-top: max(0.35rem, env(safe-area-inset-top));
    gap: 0;
    line-height: 1.25;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
  }
  .alert-bar .alert-full { display: none; }
  .alert-bar .alert-short { display: inline; }
  .alert-bar strong {
    font-size: 0.78rem;
    padding: 0.05rem 0.3rem;
  }

  .theme-toggle {
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: max(0.75rem, env(safe-area-inset-right));
    padding: 0.7rem 0.85rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }
  .theme-toggle span { display: none; }

  .hero-content {
    padding: 1rem 1rem 0.35rem;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
  }
  .hero h1 {
    max-width: none;
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
    padding-inline: 0.25rem;
  }
  .hero-lead {
    margin-inline: auto;
    font-size: 0.98rem;
    line-height: 1.5;
    padding-inline: 0.15rem;
  }
  .hero-meta {
    justify-content: center;
    gap: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
  .hero-actions {
    justify-content: stretch;
    width: 100%;
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .boat-bob { width: min(78vw, 280px); bottom: 4%; }
  .boat-stage { height: 140px; }

  .section {
    padding: 1.75rem 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .card { padding: 1.15rem; }

  .support-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .support-stats .stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 0.65rem 0.85rem;
  }
  .support-stats strong {
    font-size: 1.25rem;
    margin: 0;
  }
  .support-stats span {
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.88rem;
  }

  .intent-option,
  .connection-option,
  .public-check {
    padding: 0.75rem 0.8rem;
  }
  .intent-option strong,
  .connection-option strong {
    font-size: 0.92rem;
  }

  .btn {
    min-height: 46px;
    padding: 0.8rem 1.15rem;
  }
  .btn-block { width: 100%; }

  .aside-actions {
    flex-direction: column;
  }
  .aside-actions .btn { width: 100%; }

  .voices-filters {
    gap: 0.35rem;
  }
  .voices-filter {
    font-size: 0.72rem;
    padding: 0.4rem 0.55rem;
  }
  .voice-badge {
    white-space: normal;
    text-align: left;
    line-height: 1.25;
    max-width: 100%;
  }
  .voice-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .voice-badge { justify-self: start; }

  .reading-card,
  .inquiry-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .inquiry-icon { margin: 0 auto; }
  .inquiry-meta { justify-content: center; }
  .inquiry-actions {
    justify-content: stretch;
    width: 100%;
    flex-direction: column;
  }
  .inquiry-actions .btn { width: 100%; }

  .pdf-modal-content {
    max-height: 96dvh;
    padding: 0.85rem 0.75rem 0.65rem;
  }
  .pdf-frame-wrap iframe { height: min(58dvh, 480px); }

  .faq-item summary {
    font-size: 0.98rem;
    padding: 0.9rem 1rem;
    text-align: left;
  }
  .faq-item p { padding: 0.75rem 1rem 1rem; }

  .media-card .frame { aspect-ratio: 16 / 10; }

  .site-footer {
    padding: 2rem 1rem max(2rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.55rem; }
  .hero-badge { font-size: 0.7rem; }
  .btn { padding: 0.75rem 1rem; font-size: 0.88rem; }
  .support-lead { font-size: 0.98rem; }
}

/* Print: static, readable */
@media print {
  .alert-bar, .theme-toggle, .boat-stage, .hero-ocean, .hero-clouds, .modal-overlay { display: none !important; }
  .hero { min-height: auto; background: #fff; color: #000; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}
