:root {
  --bay-deep: #0b3954;
  --bay-mid: #1d6e8f;
  --bay-light: #bfd7ea;
  --sand: #f7f3ee;
  --ink: #1a1a1a;
  --muted: #5a6b78;
  --accent: #e36414;
  --max: 1100px;
  --radius: 10px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.5;
}

a { color: var(--bay-mid); }
a:hover { color: var(--bay-deep); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wrap.narrow { max-width: 720px; }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--bay-deep);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* Hero */
.hero {
  background:
    linear-gradient(180deg, rgba(11,57,84,0.78), rgba(11,57,84,0.92)),
    url('https://player.brownrice.com/snapshot/bellingham3') center/cover no-repeat;
  color: white;
  padding: 3.5rem 0 3rem;
}
.hero h1, .hero h2 { color: white; }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}
.hero .lede {
  font-size: 1.125rem;
  max-width: 38rem;
  opacity: 0.95;
}
.countdown {
  display: inline-block;
  margin: 0.5rem 0 1.5rem;
  padding: 0.5rem 0.875rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.05s ease, background 0.15s ease;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: #c4541a; color: white; }
.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: white; }
.btn-large {
  padding: 1rem 1.75rem;
  font-size: 1.0625rem;
}

/* Streams */
.streams { padding: 3rem 0 1rem; }
.streams h2 { margin-bottom: 0.25rem; }
.streams .muted { margin-bottom: 1.5rem; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

.stream {
  margin: 0;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
}
.stream .frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.stream iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.stream figcaption {
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.stream figcaption strong { color: var(--bay-deep); }
.stream figcaption .muted { font-size: 0.875rem; }

/* Advocacy */
.advocacy {
  padding: 4rem 0;
  background: white;
  margin-top: 3rem;
}
.advocacy h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }

.form-card {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--sand);
  border: 1px solid var(--bay-light);
  border-radius: var(--radius);
}
.form-card h3 { margin-bottom: 0.25rem; }
/* Feedback form */
.feedback-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.feedback-form label { display: block; }
.feedback-form .lbl {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
  color: var(--bay-deep);
}
.feedback-form .opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}
.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font: inherit;
  border: 1px solid #c8d3da;
  border-radius: 6px;
  background: white;
  resize: vertical;
}
.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: 2px solid var(--bay-mid);
  outline-offset: 1px;
  border-color: var(--bay-mid);
}
.feedback-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.feedback-form fieldset legend { padding: 0; }
.feedback-form .radio {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 1rem 0.25rem 0;
  font-size: 0.95rem;
}
.feedback-form .row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .feedback-form .row-2 { grid-template-columns: 1fr 1fr; }
}
.feedback-form button[type="submit"] {
  align-self: flex-start;
  padding: 0.75rem 1.25rem;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}
.form-status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.9375rem;
}
.form-status.ok { color: #1d6e2f; }
.form-status.err { color: #a4212d; }

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

/* Public wall */
.wall {
  padding: 4rem 0;
  background: var(--sand);
}
.wall h2 { margin-bottom: 0.25rem; }
.wall-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.wall-item {
  background: white;
  border: 1px solid #e3e8ec;
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
}
.wall-item .quote {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.55;
}
.wall-item .port-quote {
  margin: 0 0 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--sand);
  border-left: 3px solid var(--bay-mid);
  border-radius: 4px;
  font-style: italic;
  font-size: 0.9375rem;
}
.wall-item .byline {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.wall-item .support-tag {
  display: inline-block;
  background: var(--bay-light);
  color: var(--bay-deep);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Donate */
.donate {
  padding: 4rem 0;
  text-align: center;
  background: var(--bay-light);
}
.donate h2 { color: var(--bay-deep); }
.donate .btn-large { margin: 0.5rem 0 1.25rem; }
.donate .small { max-width: 28rem; margin: 0 auto; }

/* Footer */
footer {
  padding: 2.5rem 0 3rem;
  background: var(--bay-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
}
footer a { color: var(--bay-light); }
footer a:hover { color: white; }
footer p { margin-bottom: 0.5rem; }
