/***********************************************
   GLOBAL RESET & BASE
   ================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

body {
  background: #f5f5f5;
  color: #111;
  line-height: 1.6;
}

/* ================================================
   GLOBAL LAYOUT CONTAINER
   ================================================ */
.page-board {
  max-width: 1100px;
  margin: 20px auto;
  padding: 28px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* ================================================
   HEADERS / TITLES
   ================================================ */
h1 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 26px;
}

.key-line {
  text-align: center;
  color: #a11b1b;
  font-weight: 700;
  margin-bottom: 26px;
}

/* ================================================
   GLOBAL TEXT ELEMENTS
   ================================================ */
p,
li {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

ul {
  margin: 0 0 18px 22px;
}

.center-text {
  text-align: center;
}

/* ================================================
   BUTTONS
   ================================================ */
button,
.btn {
  background: black;
  color: white;
  border-radius: 8px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.15s ease;
  text-decoration: none;
  display: inline-block;
}

button:hover,
.btn:hover {
  background: #333;
}

.action-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 35px auto 30px;
}

/* ================================================
   HOME PAGE LAYOUT FIXES
   ================================================ */
.home-hero {
  text-align: center;
  max-width: 900px; margin-left: auto; margin-right: auto;
  padding: 60px 40px;
  max-width: 1100px;
  margin: 40px auto;
}

.home-hero p,
.home-hero .why-link {
  text-align: center;
}

.home-hero p {
  margin-bottom: 10px;
}

.hero-text {
  font-size: 2.4rem;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 35px;
}

.tagline {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 1.05rem;
  text-align: center;
}

.why-link {
  margin-bottom: 28px;
  margin-top: 0;
  font-size: 0.95rem;
  color: #444;
  text-align: center;
  display: block;
}

/* ================================================
   FORMS
   ================================================ */
label {
  font-weight: 600;
  margin-top: 18px;
  display: block;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* Submit button wrapper */
.submit-row {
  text-align: center;
  margin-top: 22px;
}

.hint {
  font-size: 0.9rem;
  color: #555;
}

/* ================================================
   FOOTER STATEMENT
   ================================================ */
.footer-line {
  text-align: center;
  color: #a11b1b;
  margin: 35px 0 20px;
  font-size: 0.95rem;
}

/* Small note text (e.g., on Your Voice page) */
.note {
  text-align: center;
  color: #555;
  font-style: italic;
  margin-top: 18px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 700px) {
  .page-board {
    padding: 28px;
    margin: 25px 10px;
  }

  #logo-28 {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  #hamburger {
    font-size: 24px;
  }
}

/* ================================================
   CIVIC HEADER UPGRADE — 28 CIRCLE + CENTERED NAV
   ================================================ */

/* Sticky header bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: #ffffffdd;   /* subtle transparency */
  backdrop-filter: blur(8px);
  padding: 12px 45px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;     /* centers nav section */
}

/* Shadow on scroll */
.site-header.scrolled {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ------------------------------------
   28 LOGO (SVG REPLACEMENT)
------------------------------------ */
#logo-28 {
  position: absolute;
  left: 45px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG sizing */
#logo-28 .logo-mark {
  width: 44px;
  height: 44px;
}

/* Gold circle */
#logo-28 .logo-circle {
  fill: none;
  stroke: #CBA135;
  stroke-width: 3.2;
}

/* Number 28 inside circle */
#logo-28 .logo-text {
  fill: #0A1A33;
  font-family: "Merriweather", serif;
  font-size: 18px;
  font-weight: 700;
}

/* Tooltip still works */
#logo-28:hover::after {
  content: "Home";
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
}

/* ------------------------------------
   CENTERED NAV MENU (DESKTOP)
------------------------------------ */
.nav-menu {
  display: flex;
  gap: 26px;
  font-size: 1rem;
  font-weight: 500;
}

.nav-menu a {
  text-decoration: none;
  color: #111;
  position: relative;
  padding-bottom: 3px;
}

/* Gold underline hover */
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #CBA135;
  transition: width 160ms ease-out;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ------------------------------------
   HAMBURGER
------------------------------------ */
#hamburger {
  position: absolute;
  right: 45px;
  font-size: 28px;
  cursor: pointer;
  display: none;      /* hidden on desktop */
}

/* ------------------------------------
   MOBILE DROPDOWN MENU
------------------------------------ */
@media (max-width: 900px) {

  /* Hamburger now visible */
  #hamburger {
    display: block;
  }

  /* Nav becomes dropdown */
  .nav-menu {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 14px 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0 0 8px 8px;

    /* animated entry state */
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;

    transition: opacity 160ms ease-out,
                transform 160ms ease-out;
  }

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

  .nav-menu a {
    padding: 12px 20px;
    font-size: 1.05rem;
  }

  .nav-menu a:hover {
    background: #eee;
  }

  /* Recenter logo for narrow screens */
  #logo-28 {
    left: 24px;
  }
}
/* ================================================
   HOMEPAGE — CONSTRAINED WIDTH CIVIC LAYOUT
   ================================================ */

/* ---------- HERO ---------- */
.hero-wrapper {
  background: #f0f0f0;
  padding: 32px 20px;
  border-radius: 10px;
  max-width: 880px;
  margin: 40px auto;
  text-align: center;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 28px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 22px;
}

.button-primary {
  background: #0A1A33;
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 1.05rem;
  text-decoration: none;
  font-weight: 600;
}

.button-primary:hover {
  background: #12284c;
}

.hero-secondary-link {
  color: #0A1A33;
  font-size: 1.05rem;
  text-decoration: none;
  padding-top: 12px;
}

.hero-secondary-link:hover {
  text-decoration: underline;
}

/* ---------- PILLARS ---------- */
.pillars-wrapper {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.pillar-card {
  background: #fff;
  padding: 24px 26px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.pillar-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.pillar-card p {
  font-size: 1rem;
  margin-bottom: 16px;
}

.pillar-link {
  color: #0A1A33;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.pillar-link:hover {
  text-decoration: underline;
}

/* ---------- WHY THIS MATTERS ---------- */
.why-wrapper {
  max-width: 900px;
  margin: 36px auto;
  padding: 0 20px;
}

.why-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.why-text h2 {
  margin-bottom: 14px;
  font-size: 1.9rem;
}

.why-text p {
  margin-bottom: 16px;
}

.why-highlight {
  background: #faf5e8;
  border-left: 4px solid #CBA135;
  padding: 22px;
  border-radius: 6px;
}

/* ---------- VOICES SECTION ---------- */
.voices-wrapper {
  max-width: 880px;
  margin: 40px auto 60px;
  text-align: center;
  padding: 0 20px;
}

.voices-title {
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.voices-sub {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 26px;
}

.voices-cta {
  margin-top: 10px;
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================
   SUPPORT / WHY THIS MATTERS PAGE
   ================================================ */

/* Hero intro */
.support-hero {
  max-width: 880px;
  margin: 30px auto 40px;
  padding: 30px 20px;
  text-align: center;
}

.support-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.support-intro {
  font-size: 1.05rem;
  color: #444;
  max-width: 760px;
  margin: 0 auto 22px;
}

.support-cta {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

/* Section wrapper */
.support-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.support-section.alt {
  background: #f8f8f8;
  padding: 40px 20px;
  border-radius: 10px;
}

/* Cards */
.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.support-card {
  background: #fff;
  padding: 22px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.support-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

/* International models */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 26px;
}

.support-model {
  background: #fff;
  padding: 22px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Two-column explanation */
.support-two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  margin-top: 20px;
}

.support-list {
  margin-top: 12px;
  padding-left: 18px;
}

.support-list li {
  margin-bottom: 8px;
}

/* Highlight box */
.support-highlight {
  background: #faf5e8;
  border-left: 4px solid #CBA135;
  padding: 20px;
  border-radius: 6px;
  font-size: 0.95rem;
}

/* Closing CTA */
.support-cta-final {
  max-width: 880px;
  margin: 50px auto 40px;
  text-align: center;
  padding: 0 20px;
}

.support-cta-final h2 {
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .support-two-col {
    grid-template-columns: 1fr;
  }

  .support-cta {
    flex-direction: column;
  }
}
/* ================================================
   VOICES PAGE
   ================================================ */

.voices-wrapper {
  max-width: 880px;
  margin: 30px auto 50px;
  padding: 0 20px;
}

.voices-summary {
  color: #555;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* Featured voices */
.voices-featured {
  margin-bottom: 40px;
}

.voices-featured h2 {
  margin-bottom: 16px;
}

.voice-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.voice-card.featured {
  background: #faf5e8;
  border-left: 4px solid #CBA135;
}

.voice-message {
  margin-bottom: 8px;
  line-height: 1.45;
}

.voice-meta {
  font-size: 0.8rem;
  color: #666;
}

/* All voices */
.voices-all h2 {
  margin: 36px 0 18px;
}

/* CTA */
.voices-cta {
  margin-top: 50px;
  text-align: center;
}

.voices-cta p {
  margin-bottom: 14px;
  color: #444;
}
.voices-banner {
  background: #faf5e8;
  border-left: 4px solid #CBA135;
  padding: 12px 14px;
  border-radius: 6px;
  margin: 14px 0 22px;
  color: #333;
  font-size: 0.95rem;
}
.voices-add-link {
  margin: 6px 0 24px;
  font-size: 0.95rem;
  color: #444;
}

.voices-add-link a {
  margin-left: 4px;
  font-weight: 500;
}

/* Decode – Key Points Card */
.key-points-card {
  max-width: 680px;
  margin: 2.5rem auto 3rem auto;
  padding: 1.75rem 2rem;
  text-align: center;

  background: #f8f9fb;            /* soft, neutral */
  border: 1px solid #e6e8ee;
  border-radius: 12px;

  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.key-points-card h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.key-points-card p {
  margin: 0.5rem 0;
  font-size: 1.05rem;
}

/* ================================================
   DECODE PAGE — SECTION RHYTHM & READABILITY
   (Append-only, scoped, safe)
   ================================================ */

.page-board h2 {
  margin-top: 3rem;
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
}

.page-board p,
.page-board ul {
  max-width: 760px;
}

.page-board p strong {
  font-weight: 600;
  color: #1f2937;
}

.page-board h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: #e5e7eb;
  margin-bottom: 0.75rem;
}

@media (max-width: 700px) {
  .key-points-card {
    padding: 1.4rem 1.4rem;
    margin: 2rem auto 2.5rem auto;
  }
}

/* ================================================
   DECODE PAGE — ISSUE CARD (QUIET URGENCY)
   Append-only. Safe. No overrides.
   ================================================ */

.issue-card {
  max-width: 760px;
  margin: 3rem auto 3.5rem auto;
  padding: 3rem 2.5rem;
  text-align: center;

  background: #faf5e8;          /* warm civic tone */
  border: 1px solid #e6dcc7;
  border-radius: 14px;

  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.issue-text {
  font-size: 1.7rem;
  line-height: 1.45;
  font-weight: 600;
  color: #1f2937;
  letter-spacing: 0.01em;
}

/* Visual breathing between lines */
.issue-text br {
  display: block;
  margin-bottom: 0.65rem;
}

/* Optional subtle entrance — remove if undesired */
@keyframes issueFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.issue-card {
  animation: issueFadeIn 420ms ease-out both;
}

/* Mobile tuning */
@media (max-width: 700px) {
  .issue-card {
    padding: 2.2rem 1.6rem;
    margin: 2.2rem auto 2.8rem auto;
  }

  .issue-text {
    font-size: 1.35rem;
  }
}

/* ================================================
   CONTACT PAGE — SUCCESS BANNER (VISIBLE)
   ================================================ */

.contact-banner {
  max-width: 760px;
  margin: 1.25rem auto 2rem auto;
  padding: 1.25rem 1.5rem;

  background: #ecfdf5;
  border-left: 6px solid #16a34a;
  border-radius: 8px;

  color: #064e3b;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;

  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.char-count {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.error-page {
  text-align: center;
  padding: 3rem 1rem;
}

.error-page .subtle {
  font-size: 0.9rem;
  color: #666;
}
