:root {
  --navy: #163b6d;
  --navy-dark: #0f2b52;
  --navy-deep: #0b2242;
  --orange: #f26811;
  --orange-soft: #ff751f;
  --ink: #1c2c44;
  --muted: #51617c;
  --paper: #ffffff;
  --gray: #f4f6fa;
  --line: #dde4ee;
  --error: #b1350a;
  --radius: 12px;
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.375rem);
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.section h2::before {
  content: "";
  display: inline-block;
  width: 2.25rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--orange);
  flex: none;
}

a { color: var(--navy); }
a:hover { color: var(--orange); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-orange {
  background: var(--orange);
  color: var(--navy-deep);
}
.btn-orange:hover { background: var(--orange-soft); color: var(--navy-deep); }

.btn-outline {
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--navy); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.65rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-mark { width: 34px; height: 34px; flex: none; }

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  white-space: nowrap;
}

.brand-accent { color: var(--orange); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--navy);
}
.nav-menu a:hover { color: var(--orange); }

.btn-nav { padding: 0.55rem 1.3rem; }
.btn-nav:hover { transform: none; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 70%, var(--navy-deep) 100%);
  color: #fff;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #dbe4f2;
  max-width: 34em;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.9rem;
}

.hero-vote {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin: 0;
}

.check-icon { width: 26px; height: 26px; color: var(--orange-soft); flex: none; }

.hero-photo img {
  border-radius: var(--radius);
  border: 5px solid #fff;
  box-shadow: 0 18px 40px rgba(4, 14, 32, 0.45);
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
}

/* Vote banner */
.vote-banner {
  background: var(--orange);
  padding-block: 0.85rem;
}
.vote-banner p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-deep);
  text-align: center;
  font-size: 1rem;
}
.vote-banner a { color: var(--navy-deep); text-decoration-thickness: 2px; }
.vote-banner a:hover { color: #fff; }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 4.75rem); }

.section-gray { background: var(--gray); }

.section-navy {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #eaf0f9;
}
.section-navy h2 { color: #fff; }
.section-navy a { color: #ffd9bd; }
.section-navy a:hover { color: var(--orange-soft); }

.lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.about-text p { margin: 0 0 1.1rem; }

blockquote {
  margin: 1.75rem 0 0;
  padding: 1.4rem 1.6rem;
  background: var(--gray);
  border-left: 5px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}
blockquote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy);
  margin: 0 0 0.6rem;
}
blockquote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}
blockquote cite::before { content: "— "; color: var(--orange); }

figure { margin: 0; }

figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.6rem;
  text-align: center;
}

.about-photo img,
.community-photo img {
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(12, 28, 56, 0.16);
}

/* Priorities */
.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.priority-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.priority-icon {
  width: 44px;
  height: 44px;
  color: var(--orange-soft);
  margin-bottom: 1rem;
}

.priority-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.7rem;
}

.priority-card p { margin: 0; color: #d5deed; }

/* Community */
.community-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.community-text p { margin: 0 0 1.1rem; }

.community-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.community-list li {
  padding-left: 1.7rem;
  position: relative;
  font-weight: 500;
  color: var(--navy);
}

.community-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 3px;
  background: var(--orange);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.9rem;
  max-width: 820px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  padding: 1.05rem 1.3rem;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--orange);
}
.faq-list details[open] summary::after { content: "\2212"; }

.faq-list details p {
  margin: 0;
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
}

/* Donate */
.donate-inner { max-width: 780px; }

.donate-lead {
  font-size: 1.12rem;
  color: #dbe4f2;
  margin: -0.5rem 0 1.75rem;
}

.donate-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 6px solid var(--orange);
}

.donate-card h3 { color: var(--navy); font-size: 1.3rem; }

.donate-address {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  background: var(--gray);
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin: 0.4rem 0 1rem;
}

.donate-note { margin: 0; color: var(--muted); }
.donate-card a { color: var(--navy); font-weight: 600; }
.donate-card a:hover { color: var(--orange); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-info p { margin-top: 0; }

.contact-links {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-links li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.contact-icon { width: 24px; height: 24px; color: var(--orange); flex: none; }

.contact-links a { font-weight: 600; }

/* Form */
.contact-form {
  background: var(--gray);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.form-field { margin-bottom: 1.15rem; }

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.req { color: var(--error); }

.optional { font-weight: 400; color: var(--muted); font-size: 0.9rem; }

.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22, 59, 109, 0.18);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--error);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot:not(:empty) { margin-bottom: 1.15rem; }

.btn-submit { border: none; width: 100%; font-size: 1.05rem; }
.btn-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }

.form-status { margin: 0.9rem 0 0; font-weight: 600; }
.form-status.ok { color: #1c6b38; }
.form-status.err { color: var(--error); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c6d2e5;
  padding-block: 2.5rem 2rem;
}

.footer-inner {
  display: grid;
  gap: 1.1rem;
  justify-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}
.footer-brand .brand-mark { width: 30px; height: 30px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.3rem;
}

.footer-nav a {
  color: #c6d2e5;
  text-decoration: none;
  font-weight: 500;
}
.footer-nav a:hover { color: var(--orange-soft); }

.footer-tagline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
}

.footer-disclaimer {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: #9fb0c9;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.2rem;
  width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 300px; margin-inline: 0; }
  .about-grid,
  .community-grid,
  .contact-grid,
  .priority-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 480px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(12, 28, 56, 0.14);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.1rem;
  }
  .nav-menu.open { display: flex; }
  .header-inner { position: relative; }
  .nav-menu li { border-bottom: 1px solid var(--gray); }
  .nav-menu li:last-child { border-bottom: none; padding-top: 0.8rem; }
  .nav-menu a { display: block; padding: 0.8rem 0; }
  .nav-menu .btn-nav { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}
