:root {
  --cream: #faf2e9;
  --cream-95: rgba(250, 242, 233, 0.95);
  --sage: #becfb2;
  --sage-deep: #bcceb1;
  --navy: #0f2c57;
  --gold: #deb960;
  --forest: #4a7c59;
  --forest-deep: #3c5d52;
  --ink: #222222;
  --ink-muted: rgba(34, 34, 34, 0.62);
  --white: #ffffff;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(15, 44, 87, 0.12);
  --radius: 14px;
  --header-h: 4.5rem;
  --measure: 38rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6rem;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

.section-shell {
  width: min(80rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 1rem;
}

.gold-rule {
  width: 3.5rem;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1.25rem;
}

.gold-rule-on-sage {
  background: var(--navy);
}

.section-kicker {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 42rem;
}

.section-intro {
  position: static;
}

@media (min-width: 860px) {
  .section-intro {
    position: sticky;
    top: 6rem;
  }
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 44, 87, 0.08);
  border-bottom-color: rgba(74, 124, 89, 0.2);
}

.header-inner {
  width: min(80rem, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
}

.site-header.is-scrolled .header-inner {
  padding: 0.7rem 0;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.desktop-nav {
  display: none;
  gap: 2rem;
}

.desktop-nav a,
.mobile-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: #c49a3d;
}

.menu-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1rem 2.5rem;
  background: var(--cream);
  border-top: 1px solid rgba(74, 124, 89, 0.15);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.45rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: #111;
}

.btn-gold:hover {
  background: #d4ad52;
}

.btn-outline {
  background: var(--white);
  color: var(--forest);
  border: 1px solid var(--sage);
}

.btn-outline:hover {
  background: rgba(190, 207, 178, 0.45);
}

/* Hero */

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--sage);
  padding: 7.5rem 1rem 5rem;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(190, 207, 178, 0.28);
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(48rem, 100%);
}

.hero-card {
  background: var(--cream-95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 3rem);
  text-align: center;
}

.hero-kicker {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  font-weight: 600;
  color: var(--forest-deep);
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 5.8vw, 3.85rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0.15rem 0 1.1rem;
}

.hero h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  background: var(--forest);
  margin: 1.05rem auto 0;
}

.hero-lede {
  max-width: 36rem;
  margin: 0 auto 1.6rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--forest);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background 0.2s ease;
}

.scroll-cue:hover {
  background: var(--white);
}

.scroll-cue svg {
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* About */

.about {
  background: var(--cream);
}

.about-grid,
.involved-grid {
  display: grid;
  gap: 3rem;
}

.about-copy p {
  font-size: 1.15rem;
  line-height: 1.75;
}

.about-split {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

.about-split article {
  border-top: 2px solid var(--gold);
  padding-top: 1.25rem;
}

.about-split p {
  font-size: 1.05rem;
  margin: 0;
}

@media (min-width: 860px) {
  .about-grid,
  .involved-grid {
    grid-template-columns: 0.9fr 1.7fr;
    gap: 4rem;
    align-items: start;
  }

  .about-split {
    grid-template-columns: 1fr 1fr;
  }
}

/* Values */

.values {
  background: var(--sage-deep);
}

.values .section-kicker {
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  gap: 1.25rem;
}

.value-card {
  background: #faf3ea;
  border: 1px solid rgba(222, 185, 96, 0.22);
  border-radius: 12px;
  padding: 1.4rem 1.3rem 1.5rem;
}

.value-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(222, 185, 96, 0.14);
  color: #c49a3d;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.value-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

@media (min-width: 800px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Involved */

.involved {
  background: var(--cream);
  scroll-margin-top: 5rem;
}

.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0 1.75rem;
}

.role-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid rgba(222, 185, 96, 0.32);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
}

.role-pills svg {
  color: #c49a3d;
}

/* Resources */

.resources {
  background: var(--forest);
  padding: 1.25rem 0;
}

.resources .section-shell {
  background: var(--sage-deep);
  border-radius: 18px;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
}

.resources-intro {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.resources-lede {
  max-width: 36rem;
}

.resource-grid {
  display: grid;
  gap: 1.1rem;
}

.resource-card {
  background: rgba(250, 243, 234, 0.72);
  border: 1px solid rgba(15, 44, 87, 0.08);
  border-radius: 12px;
  padding: 1.35rem 1.3rem 1.2rem;
}

.resource-card p {
  color: rgba(15, 44, 87, 0.72);
  font-size: 0.98rem;
}

.resource-card ul {
  display: grid;
  gap: 0.45rem;
}

.resource-card a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.resource-card a::after {
  content: "↗";
  font-size: 0.8em;
  opacity: 0.55;
}

.resource-card a:hover {
  color: #c49a3d;
}

@media (min-width: 800px) {
  .resources-intro {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

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

/* Footer */

.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.footer-media {
  position: absolute;
  inset: 0;
}

.footer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.footer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 44, 89, 0.72);
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 0.8rem;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer .footer-grid ul a {
  text-decoration: none;
}

.copyright {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
  font-size: 0.92rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
  }
}

/* 404 */

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 1.5rem;
}

.not-found h1 {
  font-size: 3rem;
}

/* Focus and motion */

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
