/* ============================================================
   Save the WTA — Stylesheet
   Primary:  #2f4f4f (dark slate teal)
   Accent:   #c0392b (warm red-orange for CTAs)
   BG:       #ffffff
   Fonts:    Crimson Text (headings) · Open Sans (body)
   ============================================================ */

/* ── Reset / Base ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #222;
  background: #fff;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #2f4f4f;
  text-decoration: underline;
}
a:hover {
  color: #c0392b;
}

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Crimson Text', serif;
  font-weight: 700;
  line-height: 1.2;
  color: #2f4f4f;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 1em;
}
p:last-child { margin-bottom: 0; }

/* ── Layout helpers ───────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 0.6rem;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: #c0392b;
  color: #fff;
}
.btn-primary:hover {
  background: #a93226;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192,57,43,0.35);
}

.btn-outline {
  background: transparent;
  color: #2f4f4f;
  border: 2px solid #2f4f4f;
}
.btn-outline:hover {
  background: #2f4f4f;
  color: #fff;
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: #2f4f4f;
}
.btn-white:hover {
  background: #f0f0f0;
  color: #2f4f4f;
  transform: translateY(-1px);
}

/* ── Navigation ───────────────────────────────────────── */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #2f4f4f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* The logo has a black background — round the corners and
     add a subtle glow so it sits naturally in the teal nav */
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
  transition: box-shadow 0.2s, opacity 0.2s;
}
.nav-logo:hover .nav-logo-img {
  opacity: 0.88;
  box-shadow: 0 0 0 2px rgba(240,192,128,0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #f0c080;
}

.nav-cta {
  background: #c0392b;
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: #a93226;
  color: #fff !important;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ─────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 100px 0;
  overflow: hidden;
  background-color: #2f4f4f; /* fallback while image loads */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://img1.wsimg.com/isteam/ip/089c86d5-b380-4687-82f6-a0af393784fa/DMW-WTA-Transit-Bus-Bellingham-1240x800-1-1200.jpg');
  background-size: cover;
  background-position: center 60%;
  z-index: 0;
}

/* Dark overlay so text stays readable over any image */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,38,38,0.80) 0%, rgba(20,38,38,0.60) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ── Intro strip ──────────────────────────────────────── */
#intro {
  padding: 50px 0;
  background: #f8f6f2;
  border-bottom: 1px solid #e4e0d8;
}

.intro-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.intro-logo {
  height: 110px;
  width: auto;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}

#intro p {
  font-size: 1.15rem;
  font-weight: 300;
  color: #444;
  max-width: 560px;
  text-align: left;
  margin: 0;
}

@media (max-width: 600px) {
  .intro-inner {
    flex-direction: column;
    text-align: center;
  }
  #intro p { text-align: center; }
  .intro-logo { height: 90px; }
}

/* ── What WTA Is Proposing ────────────────────────────── */
#what-wta-proposes {
  background: #fff;
}

#what-wta-proposes h2 {
  margin-bottom: 1.25rem;
}

.proposal-body {
  max-width: 760px;
}

.proposal-body p {
  color: #333;
  font-size: 1rem;
}

.proposal-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 700;
  color: #c0392b;
  text-decoration: none;
  border-bottom: 2px solid #c0392b;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.proposal-link:hover {
  color: #a93226;
  border-color: #a93226;
}

/* Stat cards */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  background: #2f4f4f;
  color: #fff;
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: 'Crimson Text', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #f0c080;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
}

/* ── How to Help ──────────────────────────────────────── */
#how-to-help {
  background: #f8f6f2;
}

#how-to-help h2 {
  margin-bottom: 0.75rem;
}

.help-intro {
  font-size: 1.05rem;
  color: #444;
  max-width: 680px;
  margin-bottom: 2.5rem;
}

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

.action-card {
  background: #fff;
  border-radius: 6px;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border-left: 4px solid #2f4f4f;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.action-card:hover {
  box-shadow: 0 4px 14px rgba(47,79,79,0.15);
  transform: translateY(-2px);
}

.action-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.action-card h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #2f4f4f;
  margin-bottom: 0.3rem;
}

.action-card p {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.action-card a.action-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c0392b;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.action-card a.action-link:hover {
  color: #a93226;
}

/* ── Email Signup ─────────────────────────────────────── */
#signup {
  background: #2f4f4f;
  padding: 70px 0;
}

#signup h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

#signup .signup-sub {
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.signup-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 520px;
}

.signup-form label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

.signup-form-group {
  flex: 1;
  min-width: 220px;
}

.signup-form input[type="email"] {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.signup-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.45);
}
.signup-form input[type="email"]:focus {
  border-color: #f0c080;
  background: rgba(255,255,255,0.15);
}

.signup-form .btn {
  align-self: flex-end;
  flex-shrink: 0;
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-message.success { color: #7dcea0; }
.form-message.error   { color: #f1948a; }

/* ── Contact ──────────────────────────────────────────── */
#contact {
  background: #fff;
}

#contact h2 {
  margin-bottom: 0.3rem;
}

#contact .contact-sub {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-form {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2f4f4f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid #ccc;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #222;
  transition: border-color 0.2s;
  outline: none;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2f4f4f;
  box-shadow: 0 0 0 3px rgba(47,79,79,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form .btn {
  align-self: flex-start;
}

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: #1a2e2e;
  color: rgba(255,255,255,0.65);
  padding: 40px 0;
  text-align: center;
}

footer p {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: rgba(255,255,255,0.65);
}

footer a {
  color: rgba(255,255,255,0.75);
}
footer a:hover { color: #f0c080; }

.footer-note {
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.4) !important;
  margin-top: 0.75rem !important;
  font-style: italic;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #2f4f4f;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li { width: 100%; }
  .nav-links a   { font-size: 1rem; }

  .nav-cta {
    display: inline-block;
    margin-top: 0.25rem;
  }

  /* Hero */
  #hero {
    min-height: 480px;
    padding: 70px 0;
  }

  /* Stat cards */
  .stat-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Signup form */
  .signup-form {
    flex-direction: column;
  }
  .signup-form .btn {
    align-self: flex-start;
  }

  /* General section padding */
  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  .hero-sub { font-size: 1rem; }
}

/* ── Photo strip (main page) ──────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  overflow: hidden;
}

.photo-strip-image {
  background-image: url('https://img1.wsimg.com/isteam/ip/089c86d5-b380-4687-82f6-a0af393784fa/DMW-WTA-Transit-Bus-Bellingham-1240x800-1-1200.jpg');
  background-size: cover;
  background-position: center;
}

.photo-strip-content {
  background: #1a2e2e;
  display: flex;
  align-items: center;
  padding: 3rem;
}

.photo-strip-content blockquote {
  border-left: 4px solid #f0c080;
  padding-left: 1.5rem;
}

.photo-strip-content blockquote p {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.photo-strip-content blockquote cite {
  font-size: 0.8rem;
  font-weight: 600;
  color: #f0c080;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-style: normal;
}

@media (max-width: 768px) {
  .photo-strip {
    grid-template-columns: 1fr;
  }
  .photo-strip-image {
    min-height: 220px;
  }
  .photo-strip-content {
    padding: 2rem 1.5rem;
  }
  .photo-strip-content blockquote p {
    font-size: 1.2rem;
  }
}

/* ── Details / Article page ───────────────────────────── */
.article-hero {
  background: #2f4f4f;
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://img1.wsimg.com/isteam/ip/089c86d5-b380-4687-82f6-a0af393784fa/DMW-WTA-Transit-Bus-Bellingham-1240x800-1-1200.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.18;
}

.article-hero .container {
  position: relative;
  z-index: 1;
}

.article-hero .hero-label {
  display: inline-block;
  color: #f0c080;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.article-hero h1 {
  color: #fff;
  max-width: 820px;
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.article-hero .article-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 0;
}

.article-hero .article-meta {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

/* Key facts bar */
.key-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.fact-card {
  background: #2f4f4f;
  color: #fff;
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
}

.fact-number {
  font-family: 'Crimson Text', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #f0c080;
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

.fact-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
}

/* Article body layout */
#article-body {
  background: #fff;
  padding: 70px 0;
}

.article-layout {
  max-width: 820px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #2f4f4f;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}
.back-link:hover { color: #c0392b; }

.article-section {
  margin-bottom: 3rem;
}

.article-section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: #2f4f4f;
  border-left: 4px solid #c0392b;
  padding-left: 1rem;
  margin-bottom: 1.1rem;
}

.article-section h3 {
  font-size: 1.15rem;
  color: #2f4f4f;
  margin: 1.5rem 0 0.5rem;
}

.article-section p {
  color: #333;
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 300;
}

.article-section ul {
  margin: 0.75rem 0 1rem 1.25rem;
}

.article-section ul li {
  color: #333;
  font-size: 0.975rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 0.7rem;
}

/* Callout / sidebar boxes */
.callout-box {
  background: #f8f6f2;
  border: 1px solid #e4e0d8;
  border-top: 4px solid #2f4f4f;
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.callout-box.accent {
  background: #fff8f6;
  border-top-color: #c0392b;
}

.callout-box h3 {
  font-family: 'Crimson Text', serif;
  font-size: 1.25rem;
  color: #2f4f4f;
  margin-bottom: 0.25rem;
}

.callout-box .cb-byline {
  font-size: 0.82rem;
  font-style: italic;
  color: #888;
  margin-bottom: 1rem;
  display: block;
}

.callout-box p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.75;
  font-weight: 300;
}

/* Board of Directors box */
.board-box {
  background: #eef4ee;
  border: 1px solid #c5d9c5;
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.board-box h3 {
  font-family: 'Crimson Text', serif;
  font-size: 1.3rem;
  color: #2f4f4f;
  margin-bottom: 0.2rem;
}

.board-box .board-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2f4f4f;
  margin-bottom: 1.25rem;
  display: block;
}

.board-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
}

.board-list li {
  font-size: 0.875rem;
  color: #333;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(47,79,47,0.15);
  font-weight: 300;
}

.board-list li strong {
  color: #1a3a1a;
  font-weight: 700;
}

.board-list li.voted-no strong {
  color: #c0392b;
}

.board-list li.voted-no::after {
  content: ' ✗ Voted NO';
  font-size: 0.72rem;
  font-weight: 700;
  color: #c0392b;
  margin-left: 0.3rem;
}

/* Author bio */
.author-bio {
  border-top: 2px solid #e4e0d8;
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  font-style: italic;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Source list */
.source-list {
  list-style: decimal;
  padding-left: 1.5rem;
  color: #777;
  font-size: 0.82rem;
  line-height: 1.6;
}

.source-list li { margin-bottom: 0.4rem; }

/* Article CTA */
.article-cta {
  background: #2f4f4f;
  padding: 70px 0;
  text-align: center;
}

.article-cta h2 { color: #fff; margin-bottom: 0.75rem; }

.article-cta p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Divider */
.section-divider {
  border: none;
  border-top: 2px solid #e4e0d8;
  margin: 2.5rem 0;
}

@media (max-width: 768px) {
  .key-facts {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .board-list {
    grid-template-columns: 1fr;
  }
  .article-cta .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Skip link (accessibility) ────────────────────────── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: #c0392b;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

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