:root {
  --brand: #446f42;
  --brand-deep: #1f3f25;
  --brand-dark: #3b6838;
  --brand-mid: #8da88c;
  --brand-light: #abc1ab;
  --brand-soft: #84af82;
  --ink: #202020;
  --muted: #5f665e;
  --line: #446f42;
  --white: #ffffff;
  --font-brand: "Akzidenz-Grotesk Next ExtraBold Extended", "akzidenz-grotesk-next", "Arial Black", Arial, Helvetica, sans-serif;
  --font-body: "Akzidenz-Grotesk Next", "akzidenz-grotesk-next", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  background: var(--ink);
  color: var(--white);
  left: 1rem;
  padding: 0.6rem 0.85rem;
  position: fixed;
  top: 0.75rem;
  transform: translateY(-200%);
  z-index: 50;
}

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

.site-header {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  padding: clamp(2rem, 5vw, 4.75rem) clamp(1rem, 5vw, 5rem) clamp(1.5rem, 4vw, 3rem);
}

.header-logo {
  display: inline-flex;
  width: clamp(96px, 12vw, 150px);
}

.header-logo img {
  display: block;
  height: auto;
  width: 100%;
}

.menu-toggle {
  align-items: center;
  background: var(--white);
  border: 2px solid var(--brand);
  color: var(--brand);
  cursor: pointer;
  display: none;
  font-family: var(--font-brand);
  font-size: 0.9rem;
  font-weight: 900;
  gap: 0.75rem;
  justify-content: space-between;
  letter-spacing: 0.1em;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  text-transform: uppercase;
  width: 100%;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  width: 24px;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  left: 0;
  position: absolute;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(1.25rem, 7vw, 8rem);
  justify-content: center;
  margin: 0 0 0 auto;
  max-width: 1600px;
}

.nav a {
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: clamp(0.9rem, 1.3vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a:hover,
.nav a:focus,
.nav a[aria-current="page"] {
  color: var(--brand);
}

.nav-cta {
  border: 2px solid var(--brand);
  color: var(--brand) !important;
  padding: 0.7rem 0.9rem;
}

.nav-cta:hover,
.nav-cta:focus {
  background: var(--brand);
  color: var(--white) !important;
  text-decoration: none;
}

.framed-hero {
  border: 2px solid var(--line);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  margin: 0 clamp(1.25rem, 5vw, 5rem) clamp(3rem, 7vw, 6rem);
  min-height: min(68vh, 760px);
  padding: clamp(2rem, 5vw, 4rem);
}

.home-hero {
  align-items: stretch;
}

.page-hero {
  min-height: auto;
}

.hero-copy {
  align-self: center;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.eyebrow {
  color: var(--brand);
  font-family: var(--font-brand);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
}

.eyebrow a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--font-brand);
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 1.75rem;
  text-transform: none;
}

h2 {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin-bottom: 1.2rem;
}

h3 {
  color: var(--brand-dark);
  font-family: var(--font-brand);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  margin: 1.4rem 0 0.35rem;
  text-transform: uppercase;
}

.hero-line {
  font-family: var(--font-body);
  font-size: clamp(1.55rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  max-width: 760px;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  max-width: 720px;
}

.home-meta {
  color: var(--ink);
  display: grid;
  gap: 0.5rem;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  margin-top: auto;
  padding-top: 3rem;
}

.actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.social-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-links a {
  align-items: center;
  color: var(--brand);
  display: inline-flex;
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 900;
  gap: 0.45rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.social-links a:hover,
.social-links a:focus {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.social-links svg {
  display: block;
  height: 1.35rem;
  width: 1.35rem;
}

.social-links rect,
.social-links circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.social-links path {
  fill: currentColor;
}

.button {
  align-items: center;
  background: transparent;
  border: 2px solid var(--brand-dark);
  color: var(--brand-dark);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-brand);
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 48px;
  padding: 0.82rem 1.2rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover,
.button:focus {
  background: var(--brand-dark);
  color: var(--white);
}

.button-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.hero-art {
  align-items: center;
  background: var(--white);
  display: flex;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hero-art img {
  width: min(100%, 620px);
}

.home-hero .hero-art {
  align-items: flex-start;
  background: var(--white);
  padding: 0 clamp(0.8rem, 2.5vw, 1.5rem) clamp(0.8rem, 2.5vw, 1.5rem);
}

.home-hero .hero-art img {
  width: min(100%, 720px);
}

.word-art {
  aspect-ratio: 1;
  background-color: #446f42;
  background-image: url("../images/checkerboard-background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-sizing: border-box;
  color: var(--white);
  min-height: 0;
  padding: clamp(1rem, 3vw, 3rem);
  position: relative;
  width: min(100%, 1080px);
}

.word-art::before {
  content: none;
}

.word-art span {
  font-family: var(--font-brand);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  position: relative;
  z-index: 1;
}

.intro-band,
.content-grid,
.list-section {
  margin: 0 auto clamp(3rem, 7vw, 6rem);
  max-width: 1500px;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
}

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

.intro-band p,
.content-grid p,
.list-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-band > p:last-child {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.signup-form {
  display: grid;
  gap: 0.75rem;
}

.hero-signup {
  border-top: 2px solid rgba(68, 111, 66, 0.22);
  margin: 1.4rem 0 0;
  padding-top: 1.2rem;
}

.signup-form label {
  color: var(--brand);
  font-family: var(--font-brand);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.signup-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.signup-form input {
  border: 2px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  padding: 0.85rem 1rem;
  width: 100%;
}

.signup-form input:focus {
  outline: 3px solid rgba(68, 111, 66, 0.22);
  outline-offset: 2px;
}

.form-status {
  color: var(--brand);
  font-weight: 700;
  min-height: 1.5rem;
}

.content-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-grid article,
.list-section {
  background: var(--white);
  border: 2px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.content-grid h3 {
  color: var(--brand);
  font-size: 1rem;
  margin: 1.4rem 0 0.55rem;
  text-transform: uppercase;
}

.content-grid ul {
  color: var(--muted);
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.content-grid li {
  margin-bottom: 0.5rem;
}

.content-grid a {
  color: var(--brand-dark);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.donate-grid article {
  min-height: 100%;
}

.plain-list,
.restricted-list {
  color: var(--muted);
  margin: 0;
  padding-left: 1.2rem;
}

.plain-list li,
.restricted-list li {
  margin-bottom: 0.45rem;
}

.large-list {
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: clamp(1.4rem, 2.6vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.restricted-list {
  columns: 3;
  column-gap: 2rem;
}

.restricted-list li {
  break-inside: avoid;
}

.site-footer {
  color: var(--muted);
  padding: 0 clamp(1.25rem, 5vw, 5rem) 2.5rem;
  text-align: center;
}

.site-footer p {
  margin: 0 auto;
  max-width: 900px;
}

.site-footer p a {
  color: var(--brand-dark);
  font-weight: 700;
}

.site-footer > a {
  color: var(--brand);
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (max-width: 980px) {
  .framed-hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .framed-hero {
    min-height: auto;
  }

  .hero-copy {
    min-height: auto;
  }

  .home-meta {
    margin-top: 0;
  }

  .hero-art {
    min-height: 300px;
  }

  .restricted-list {
    columns: 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: auto 1fr;
    padding: 1rem;
  }

  .header-logo {
    width: 96px;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
    max-width: 150px;
  }

  .nav {
    border: 2px solid var(--brand);
    border-top: 0;
    display: none;
    gap: 0;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    justify-items: stretch;
    max-width: none;
    width: 100%;
  }

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

  .nav a {
    border-top: 1px solid rgba(68, 111, 66, 0.28);
    font-size: 0.82rem;
    padding: 1rem;
    text-align: center;
  }

  .nav-cta {
    border: 0;
    border-top: 1px solid rgba(68, 111, 66, 0.28);
    padding: 1rem;
  }

  .framed-hero {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1.25rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero-line {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .signup-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 240px;
  }

  .restricted-list {
    columns: auto;
  }
}
