:root {
  --ink: #20201d;
  --muted: #53574f;
  --paper: #efe7d1;
  --paper-2: #d9caa8;
  --white: #fff9e8;
  --blue: #496f62;
  --blue-dark: #203d34;
  --red: #6f5132;
  --gold: #b68a36;
  --green: #496f42;
  --fireweed: #7b6a32;
  --snow: #f7f1e4;
  --line: #20201d;
  --shadow: 6px 6px 0 rgba(32, 32, 29, 0.92);
  --shadow-soft: 0 18px 42px rgba(32, 32, 29, 0.14);
  --radius: 6px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 12% 18%, transparent 0 44px, rgba(32, 32, 29, 0.055) 45px 46px, transparent 47px 92px),
    radial-gradient(ellipse at 82% 12%, transparent 0 58px, rgba(32, 32, 29, 0.045) 59px 60px, transparent 61px 122px),
    radial-gradient(ellipse at 62% 80%, transparent 0 70px, rgba(32, 32, 29, 0.04) 71px 72px, transparent 73px 144px),
    linear-gradient(90deg, rgba(32, 32, 29, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(32, 32, 29, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size:
    360px 220px,
    460px 280px,
    520px 340px,
    38px 38px,
    38px 38px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(73, 111, 66, 0.075) 44% 45%, transparent 45% 100%),
    linear-gradient(28deg, transparent 0 55%, rgba(182, 138, 54, 0.06) 55% 56%, transparent 56% 100%);
  background-size: 520px 260px, 420px 220px;
  content: "";
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--blue-dark);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  color: var(--ink);
  background: rgba(239, 231, 209, 0.96);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 4px 0 rgba(32, 32, 29, 0.14);
  backdrop-filter: blur(10px);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(239, 231, 209, 0.98);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 46px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--green);
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 950;
  box-shadow: 3px 3px 0 var(--ink);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.84;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-nav a {
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 0.94rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(255, 250, 240, 0.18);
  border-color: currentColor;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: var(--white);
}

.site-nav .nav-action {
  margin-left: 0.2rem;
  color: var(--ink);
  background: var(--gold);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: var(--radius);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 3px;
  margin: auto;
  background: currentColor;
  content: "";
}

.nav-toggle-bars::before {
  transform: translateY(-7px);
}

.nav-toggle-bars::after {
  transform: translateY(4px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 94svh;
  overflow: hidden;
  color: var(--white);
  border-bottom: 3px solid var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(32, 61, 52, 0.93) 0%, rgba(32, 61, 52, 0.74) 42%, rgba(32, 61, 52, 0.2) 100%),
    linear-gradient(0deg, rgba(32, 32, 29, 0.78) 0%, rgba(32, 32, 29, 0.04) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(7rem, 15vh, 10rem) 0 12rem;
}

.hero-content::after {
  position: absolute;
  right: 0;
  bottom: 8.5rem;
  width: min(26vw, 260px);
  height: 90px;
  opacity: 0.8;
  background:
    linear-gradient(135deg, transparent 0 47%, var(--snow) 48% 52%, transparent 53%),
    linear-gradient(35deg, transparent 0 45%, var(--snow) 46% 50%, transparent 51%);
  content: "";
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.55rem;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid rgba(32, 32, 29, 0.88);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.65rem, 7vw, 6.2rem);
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  text-wrap: balance;
}

h3 {
  font-size: 1.28rem;
}

.hero-copy {
  max-width: 660px;
  margin: 1.25rem 0 0;
  color: rgba(255, 250, 240, 0.92);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 700;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 680px;
  margin-top: 1.1rem;
}

.hero-badges span {
  padding: 0.42rem 0.62rem;
  color: var(--ink);
  background: rgba(255, 249, 236, 0.9);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(32, 32, 29, 0.8);
  font-size: 0.84rem;
  font-weight: 950;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.78rem 1.1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(32, 32, 29, 0.92);
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(32, 32, 29, 0.92);
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-secondary {
  color: var(--ink);
  background: var(--paper);
}

.hero-policy-strip {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100% - 2rem, var(--max));
  background: var(--white);
  border: 3px solid var(--ink);
  border-bottom: 0;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.hero-policy-strip a {
  display: grid;
  gap: 0.35rem;
  min-height: 112px;
  padding: 1rem;
  color: var(--ink);
  border-right: 2px solid var(--ink);
  font-weight: 950;
  text-decoration: none;
}

.hero-policy-strip a:last-child {
  border-right: 0;
}

.hero-policy-strip a:hover {
  background: var(--gold);
}

.hero-policy-strip span {
  color: var(--green);
  font-size: 0.8rem;
}

.ridge-divider {
  height: 72px;
  margin-top: -1px;
  background:
    linear-gradient(135deg, transparent 0 19%, var(--ink) 19.3% 20.2%, transparent 20.5%),
    linear-gradient(45deg, transparent 0 27%, var(--ink) 27.3% 28.2%, transparent 28.5%),
    linear-gradient(135deg, transparent 0 36%, var(--ink) 36.3% 37.2%, transparent 37.5%),
    linear-gradient(45deg, transparent 0 46%, var(--ink) 46.3% 47.2%, transparent 47.5%),
    var(--blue-dark);
  background-size: 260px 72px;
  border-bottom: 3px solid var(--ink);
}

.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-light {
  width: 100%;
  background:
    radial-gradient(circle at 14% 22%, rgba(51, 95, 115, 0.1) 0 58px, transparent 59px),
    radial-gradient(circle at 86% 66%, rgba(142, 73, 107, 0.08) 0 62px, transparent 63px),
    var(--paper);
}

.section-light > * {
  width: min(100% - 2rem, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 830px;
  margin-bottom: 2rem;
}

.platform-section {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  border-bottom: 3px solid var(--ink);
}

.platform-section .section-heading {
  padding: 1.1rem;
  background: rgba(255, 249, 236, 0.8);
  border-left: 8px solid var(--green);
}

.section-heading p:not(.eyebrow),
.events-section > div > p,
.volunteer-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 650;
}

.compact {
  margin-bottom: 1.5rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.policy-card {
  display: flex;
  position: relative;
  min-height: 360px;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.policy-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 12px;
  background: rgba(255, 249, 236, 0.72);
  border-bottom: 2px solid rgba(32, 32, 29, 0.72);
  content: "";
}

.policy-card h3 {
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
}

.policy-card p,
.policy-card ul {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}

.policy-card ul {
  padding-left: 1.2rem;
}

.policy-card li + li {
  margin-top: 0.45rem;
}

.policy-tag {
  width: fit-content;
  padding: 0.3rem 0.55rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.policy-symbol {
  align-self: flex-end;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: -0.35rem;
  color: var(--white);
  background: var(--blue-dark);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 rgba(32, 32, 29, 0.9);
  font-size: 0.86rem;
  font-weight: 950;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  margin-top: auto;
  padding: 0.5rem 0;
  color: var(--ink);
  font-weight: 950;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.color-blue {
  background: #a9b99a;
}

.color-gold {
  background: #d6b66d;
}

.color-green {
  background: #c7bc8a;
}

.color-gold .policy-symbol {
  background: #6a6f3e;
}

.color-green .policy-symbol {
  background: var(--green);
}

.values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.values-list article {
  min-height: 185px;
  padding: 1.15rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(32, 32, 29, 0.92);
}

.values-list article:nth-child(2n) {
  background: var(--paper-2);
}

.values-list h3 {
  color: var(--blue-dark);
}

.values-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
}

.events-section,
.volunteer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.65fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.event-list {
  display: grid;
  gap: 0.9rem;
}

.event-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(32, 32, 29, 0.92);
}

.event-card time {
  display: grid;
  min-height: 64px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 950;
}

.event-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-weight: 650;
}

.volunteer-section {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 249, 236, 0.08) 0 25%, transparent 25% 100%),
    var(--blue-dark);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.volunteer-copy .eyebrow {
  background: var(--gold);
}

.volunteer-copy p {
  color: rgba(255, 250, 240, 0.86);
}

.signup-form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  font-weight: 950;
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.page-main {
  padding-top: 76px;
}

.policy-hero {
  width: min(100% - 2rem, var(--max));
  margin: 2rem auto 0;
  padding: clamp(2rem, 6vw, 5rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.policy-hero h1 {
  color: var(--ink);
}

.policy-hero p:not(.eyebrow) {
  max-width: 780px;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 750;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 1rem;
  font-weight: 950;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.policy-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.detail-lede {
  position: sticky;
  top: 110px;
  align-self: start;
}

.detail-lede p,
.detail-grid p {
  color: var(--muted);
  font-weight: 650;
}

.detail-grid {
  display: grid;
  gap: 1rem;
}

.detail-grid article {
  padding: 1.2rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(32, 32, 29, 0.92);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1.1fr);
  gap: 1rem;
  align-items: center;
  padding: 2rem max(1rem, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: #111820;
}

.site-footer p {
  margin: 0.25rem 0 0;
  color: rgba(255, 250, 240, 0.74);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer a {
  min-height: 44px;
  padding: 0.6rem 0.2rem;
  font-weight: 900;
}

.disclaimer {
  text-align: right;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 0.7rem 1rem 1.1rem;
    color: var(--ink);
    background: rgba(242, 234, 219, 0.98);
    border-bottom: 2px solid var(--ink);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav .nav-action {
    margin-left: 0;
    text-align: center;
  }

  .hero-content {
    padding-bottom: 17rem;
  }

  .hero-policy-strip,
  .policy-grid,
  .values-list {
    grid-template-columns: 1fr;
  }

  .hero-policy-strip a {
    min-height: auto;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .hero-policy-strip a:last-child {
    border-bottom: 0;
  }

  .events-section,
  .volunteer-section,
  .site-footer,
  .policy-detail {
    grid-template-columns: 1fr;
  }

  .detail-lede {
    position: static;
  }

  .disclaimer {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 96svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(24, 56, 73, 0.93) 0%, rgba(24, 56, 73, 0.74) 100%),
      linear-gradient(0deg, rgba(32, 32, 29, 0.82) 0%, rgba(32, 32, 29, 0.1) 58%);
  }

  .hero-content {
    padding-top: 7rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .policy-card {
    min-height: 0;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card time {
    width: 86px;
  }

  .policy-hero {
    margin-top: 1rem;
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
