:root {
  --cream: #f6f2e8;
  --cream-deep: #ece7da;
  --green: #173e35;
  --green-soft: #31584e;
  --purple: #646ecb;
  --purple-dark: #505bb8;
  --ink: #1b2d28;
  --white: #fffdf7;
  --line: rgba(23, 62, 53, 0.16);
  --shadow: 0 24px 70px rgba(23, 62, 53, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: .92rem;
}
.brand img { width: 38px; height: 38px; object-fit: contain; }

nav { display: flex; align-items: center; gap: 24px; }
nav a {
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
  opacity: .82;
  transition: opacity .2s ease, color .2s ease;
}
nav a:hover { opacity: 1; color: var(--purple-dark); }
.nav-donate { color: var(--purple-dark); opacity: 1; }

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 88px;
  align-items: center;
  padding-block: 86px 96px;
}

.eyebrow,
.card-label,
.feature-kicker {
  margin: 0 0 20px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow { color: var(--green-soft); }
.eyebrow.purple { color: var(--purple-dark); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 8vw, 7.7rem);
  line-height: .92;
}

.lede {
  max-width: 680px;
  margin-bottom: 15px;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.65;
  color: var(--green-soft);
}
.since-line {
  margin-bottom: 34px;
  font-size: 1rem;
  color: var(--green-soft);
}
.since-line strong { color: var(--purple-dark); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--purple); color: white; }
.button-primary:hover { background: var(--purple-dark); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.34); }
.button-secondary:hover { border-color: rgba(23,62,53,.34); }
.button-contact { background: var(--green); color: var(--cream); }
.button-contact:hover { background: var(--green-soft); }

.hero-story {
  position: relative;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(100,110,203,.18), transparent 26%),
    linear-gradient(150deg, rgba(255,255,255,.58), rgba(255,255,255,.20));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-story::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -100px;
  bottom: -110px;
  border: 34px solid rgba(100,110,203,.10);
  border-radius: 50%;
}
.timeline-year { position: relative; z-index: 1; }
.timeline-year > span {
  display: block;
  margin-bottom: 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -.05em;
}
.timeline-year p {
  max-width: 310px;
  margin-bottom: 0;
  color: var(--green-soft);
  line-height: 1.55;
}
.timeline-line {
  width: 1px;
  height: 64px;
  margin: 20px 0 20px 12px;
  background: linear-gradient(var(--green), var(--purple));
  opacity: .35;
}
.timeline-year-featured > span { color: var(--purple-dark); }

.mission-band {
  padding-block: 84px;
  background: var(--green);
  color: var(--cream);
}
.mission-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 70px;
  align-items: start;
}
.mission-grid .eyebrow { color: rgba(246,242,232,.66); }
.mission-statement {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.feature { padding-block: 120px 110px; }
.feature-kicker {
  color: var(--purple-dark);
  margin-bottom: 44px;
}
.feature-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: start;
}
.feature h2 {
  margin-bottom: 0;
  font-size: clamp(3.4rem, 6vw, 6.6rem);
  line-height: .95;
}
.feature-copy p {
  margin-bottom: 24px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.6;
  color: var(--green-soft);
}
.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-weight: 800;
  color: var(--purple-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.paths {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  padding-bottom: 120px;
}
.path-card {
  min-height: 430px;
  padding: 42px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.path-card h3 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1;
}
.path-card p { line-height: 1.6; }
.path-card-large {
  position: relative;
  color: var(--cream);
  background: var(--green);
}
.path-card-large::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -145px;
  top: -145px;
  border: 46px solid rgba(100,110,203,.42);
  border-radius: 50%;
}
.path-card-large > * { position: relative; z-index: 1; }
.path-card-large p:not(.card-label) { max-width: 630px; color: rgba(246,242,232,.78); }
.path-card-shop {
  border: 1px solid var(--line);
  background: var(--white);
}
.path-card-shop p:not(.card-label) { color: var(--green-soft); }
.button-light { align-self: flex-start; background: var(--cream); color: var(--green); }

.values {
  padding-block: 10px 72px;
  border-top: 1px solid var(--line);
}
.values .eyebrow { padding-top: 32px; }
.value-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.value-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}
.values .value-prefix {
  display: block;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--purple-dark);
}
.values .value-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
}
.footer-grid {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 34px; height: 34px; object-fit: contain; }
.footer-brand strong {
  display: block;
  font-size: .82rem;
  letter-spacing: .13em;
}
.footer-brand span { display: block; margin-top: 4px; font-size: .78rem; color: var(--green-soft); }
.footer-grid > p { margin: 0; color: var(--green-soft); font-size: .8rem; text-align: right; }

@media (max-width: 900px) {
  .site-header { min-height: 74px; }
  nav a:not(.nav-donate) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 48px; padding-block: 68px 80px; }
  h1 { font-size: clamp(3.7rem, 14vw, 6.2rem); }
  .hero-story { padding: 30px; }
  .mission-grid, .feature-grid { grid-template-columns: 1fr; gap: 34px; }
  .paths { grid-template-columns: 1fr; }
  .path-card { min-height: 360px; }
  .value-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 30px, 1180px); }
  .site-header { width: calc(100% - 28px); }
  .brand { font-size: .78rem; letter-spacing: .11em; }
  .brand img { width: 32px; height: 32px; }
  .nav-donate { font-size: .78rem; }
  .hero { padding-block: 48px 64px; }
  h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
  .lede { font-size: 1.02rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .mission-band { padding-block: 64px; }
  .mission-statement { font-size: clamp(2.15rem, 10vw, 3.4rem); }
  .feature { padding-block: 82px 78px; }
  .feature h2 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .paths { padding-bottom: 84px; }
  .path-card { padding: 30px; border-radius: 22px; }
  .value-list { grid-template-columns: 1fr; }
  .footer-grid { min-height: 220px; align-items: flex-start; justify-content: center; flex-direction: column; }
  .footer-grid > p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* Endowment links */
.path-card-large a:not(.button) {
  color: var(--cream);
  text-decoration-color: rgba(246,242,232,.55);
  text-underline-offset: 4px;
}
.path-card-large a:not(.button):hover { text-decoration-color: var(--cream); }

/* Contact */
.contact-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 72px;
  align-items: start;
  padding-block: 110px 120px;
  border-top: 1px solid var(--line);
}
.contact-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: .95;
}
.contact-copy > p:not(.eyebrow) {
  max-width: 470px;
  color: var(--green-soft);
  line-height: 1.65;
  font-size: 1.05rem;
}
.contact-copy address {
  margin-top: 32px;
  color: var(--green-soft);
  font-style: normal;
  line-height: 1.7;
}
.contact-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.form-grid label { display: grid; gap: 8px; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid span {
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .06em;
}
.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
  outline: none;
}
.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(100,110,203,.12);
}
.form-grid textarea { resize: vertical; min-height: 150px; }
.contact-card .button { border: 0; cursor: pointer; }

@media (max-width: 900px) {
  .contact-section { grid-template-columns: 1fr; gap: 42px; padding-block: 84px 90px; }
}
@media (max-width: 620px) {
  .contact-card { padding: 24px; border-radius: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
}
