:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --forest: #355d41;
  --moss: #7b915d;
  --sage: #e5ead8;
  --lavender: #8b73b7;
  --lavender-soft: #ece5f4;
  --plum: #4d3a66;
  --clay: #a86f4f;
  --soil: #4c3d34;
  --ink: #242623;
  --muted: #686d63;
  --cream: #faf7f0;
  --white: #ffffff;
  --line: #d8ddd1;
  --shadow: 0 18px 45px rgba(31, 43, 36, 0.13);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(247, 244, 237, 0.94);
  border-bottom: 1px solid rgba(216, 221, 209, 0.85);
  backdrop-filter: blur(16px);
}

.brand,
.nav a,
.nav button,
.footer-links a,
.footer-links button {
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  text-align: left;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--forest), var(--lavender));
  border-radius: 50%;
}

.brand strong,
footer strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.nav button {
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--soil);
}

.nav a.active,
.nav a:hover,
.nav button.active,
.nav button:hover {
  background: var(--lavender-soft);
  color: var(--plum);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--forest);
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(36, 38, 35, 0.82), rgba(77, 58, 102, 0.24)),
    url("https://images.unsplash.com/photo-1499002238440-d264edd596ec?auto=format&fit=crop&w=2200&q=80") center/cover;
}

.hero-overlay {
  width: min(780px, calc(100% - 36px));
  margin: 0 auto;
  padding: 10vh 0 12vh;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8d6ff;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5.8vw, 4.9rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.program-grid h3,
.values-grid h3,
.steps h3,
.document-grid h3,
.schedule-list h3,
.task-list h3,
.involvement-grid h2,
.form-panel h2,
.donation-card h2,
.impact-panel h2,
.contact-card h2,
.calendar-panel h2,
.schedule-panel h2,
.task-board h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.08rem;
  line-height: 1.25;
}

.impact-panel h2,
.calendar-panel h2,
.schedule-panel h2,
.task-board h2 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary,
a.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--plum);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(77, 58, 102, 0.22);
}

.primary.light {
  background: var(--white);
  color: var(--plum);
}

.primary.small {
  min-height: 40px;
  padding: 9px 14px;
}

.secondary {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--plum);
  font-weight: 800;
}

.primary.wide {
  width: 100%;
}

.intro-band,
.lavender-band,
.story-section,
.split-section,
.purpose-panel,
.values-grid,
.process-section,
.pathway-section,
.involvement-grid,
.donation-layout,
.contact-layout,
.calendar-layout,
.documents-layout,
.tasks-layout,
.testimonials,
.program-grid,
.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.lavender-band {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 38px;
  align-items: start;
  padding: 34px;
  margin-top: 18px;
  margin-bottom: 34px;
  border: 1px solid rgba(139, 115, 183, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(236, 229, 244, 0.93), rgba(250, 247, 240, 0.86)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1500&q=80") center/cover;
}

.lavender-band h2,
.lavender-page h1 {
  color: var(--plum);
}

.intro-band {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 42px;
  padding: 66px 0 34px;
  align-items: start;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 0 66px;
}

.program-grid.compact {
  padding-top: 20px;
}

.program-grid article,
.values-grid article,
.steps article,
.involvement-grid article,
.pathway-card,
.donation-card,
.impact-panel,
.contact-card,
.form-panel,
blockquote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.program-grid article,
.values-grid article,
.steps article,
.involvement-grid article {
  padding: 20px;
}

.program-grid .icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--lavender-soft);
  color: var(--plum);
  font-weight: 900;
}

.story-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  padding: 12px 0 72px;
  align-items: center;
}

.story-image {
  min-height: 440px;
  border-radius: 8px;
  background: url("https://images.unsplash.com/photo-1528722828814-77b9b83aafb2?auto=format&fit=crop&w=1300&q=80") center/cover;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--soil);
  line-height: 1.5;
}

.check-list svg,
.check-list span {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--plum);
}

.testimonials {
  padding: 18px 0 76px;
}

.testimonial-grid,
.values-grid,
.steps,
.involvement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

blockquote {
  margin: 0;
  padding: 22px;
}

blockquote p {
  color: var(--soil);
  font-size: 1.08rem;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.page-hero {
  padding: 58px 0 34px;
}

.page-hero p {
  max-width: 720px;
  font-size: 1.03rem;
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(2rem, 4.4vw, 3.65rem);
  line-height: 1.06;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 14px 0 58px;
}

.purpose-panel {
  padding: 34px;
  margin-bottom: 58px;
  background: linear-gradient(135deg, var(--sage), var(--lavender-soft));
  border-radius: 8px;
}

.purpose-panel p {
  max-width: 920px;
  color: var(--soil);
}

.values-grid,
.process-section,
.pathway-section,
.involvement-grid,
.donation-layout,
.contact-layout {
  padding: 0 0 72px;
}

.values-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-section h2 {
  margin-bottom: 24px;
}

.steps article span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--lavender-soft);
  color: var(--plum);
  font-weight: 900;
}

.involvement-grid {
  padding-bottom: 0;
}

.pathway-section {
  display: grid;
  gap: 16px;
}

.pathway-intro {
  margin: 0;
  color: var(--soil);
  font-weight: 700;
}

.pathway-card {
  padding: 20px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pathway-card h2,
.pathway-card p {
  margin: 0;
}

.pathway-card h2 {
  margin-bottom: 10px;
}

.change-pathway {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--plum);
  font-weight: 800;
  text-decoration: underline;
}

.pathway-card:hover,
.pathway-card:focus-visible {
  border-color: var(--plum);
}

.pathway-card.selected {
  border-color: var(--plum);
  box-shadow: 0 0 0 2px rgba(74, 42, 84, 0.12);
}

.pathway-other {
  max-width: 420px;
}

.pathway-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.pathway-selected-label {
  margin: 0;
  color: var(--soil);
}

.pathway-prompt p:last-child {
  margin-bottom: 0;
  color: var(--soil);
}

.form-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.field-label {
  display: grid;
  gap: 8px;
  color: var(--soil);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfaf6;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.success {
  margin: 0;
  color: var(--plum);
  font-weight: 800;
}

.form-error {
  margin: 0;
  color: #8b2e2e;
  font-weight: 800;
}

.mentor-fields {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f5ef;
}

.mentor-fields legend {
  padding: 0 4px;
  color: var(--soil);
  font-weight: 900;
}

.field-help {
  margin: 0;
  color: var(--soil);
  font-weight: 600;
}

.donation-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-form-stack {
  display: grid;
  gap: 16px;
}

.contact-form-stack > .form-panel {
  margin: 0;
}

.donation-card,
.impact-panel,
.contact-card {
  padding: 24px;
}

.segmented,
.amount-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.segmented {
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: 8px;
  background: var(--sage);
}

.segmented button,
.amount-grid button {
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--soil);
  font-weight: 900;
}

.segmented button.selected,
.amount-grid button.selected {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}

.amount-grid {
  grid-template-columns: repeat(4, 1fr);
}

.fine-print {
  margin: 16px 0 0;
  font-size: 0.88rem;
}

.contact-card p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.calendar-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding-bottom: 72px;
}

.calendar-panel,
.schedule-panel,
.task-form,
.task-board {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.calendar-panel,
.schedule-panel,
.task-form,
.task-board {
  padding: 24px;
}

.calendar-top,
.task-board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-grid strong,
.calendar-grid button,
.calendar-empty {
  min-height: 78px;
  border-radius: 8px;
}

.calendar-grid strong {
  min-height: auto;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.calendar-grid button {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fbfaf6;
  color: var(--soil);
  padding: 10px;
  text-align: left;
}

.calendar-grid button.has-event {
  background: var(--lavender-soft);
  border-color: rgba(139, 115, 183, 0.45);
}

.calendar-grid small {
  color: var(--plum);
  font-weight: 800;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-list article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.schedule-list article:last-child {
  border-bottom: 0;
}

.schedule-list span,
.document-grid span,
.task-list small {
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-list h3,
.schedule-list p {
  margin-bottom: 2px;
}

.documents-layout {
  padding-bottom: 72px;
}

.doc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.doc-toolbar button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--soil);
  font-weight: 800;
}

.doc-toolbar button.selected {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.document-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.tasks-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 72px;
}

.task-form {
  display: grid;
  gap: 16px;
}

.task-list {
  display: grid;
  gap: 12px;
}

.task-list article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.task-list article.done span {
  color: var(--muted);
  text-decoration: line-through;
}

.task-list label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--soil);
  font-weight: 800;
}

.task-list input {
  width: 18px;
  height: 18px;
}

.task-list button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
}

.empty-state {
  margin: 0;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 42px clamp(18px, 4vw, 64px);
  background: var(--ink);
  color: var(--white);
}

footer p,
footer .fine-print {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer-links a,
.footer-links button {
  color: rgba(255, 255, 255, 0.8);
  padding: 8px;
}

footer .fine-print {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 18px;
}

@media (max-width: 980px) {
  .menu-button {
    display: grid;
  }

  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav button {
    text-align: left;
    border-radius: 8px;
  }

  .intro-band,
  .lavender-band,
  .story-section,
  .split-section,
  .donation-layout,
  .contact-layout,
  .calendar-layout,
  .tasks-layout {
    grid-template-columns: 1fr;
  }

  .program-grid,
  .values-grid,
  .testimonial-grid,
  .steps,
  .involvement-grid,
  .document-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-image {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
  }

  .brand strong {
    font-size: 0.93rem;
  }

  .hero {
    min-height: calc(100vh - 70px);
    background-position: 58% center;
  }

  .hero-overlay {
    padding-bottom: 12vh;
  }

  .button-row,
  .primary {
    width: 100%;
  }

  .program-grid,
  .values-grid,
  .testimonial-grid,
  .steps,
  .involvement-grid,
  .document-grid,
  footer,
  .amount-grid {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    gap: 5px;
  }

  .calendar-grid strong,
  .calendar-grid button,
  .calendar-empty {
    min-height: 54px;
  }

  .calendar-grid button {
    padding: 7px;
  }

  .calendar-grid small {
    display: none;
  }

  .task-list article {
    grid-template-columns: 1fr;
  }

  .purpose-panel,
  .lavender-band,
  .calendar-panel,
  .schedule-panel,
  .donation-card,
  .impact-panel,
  .contact-card,
  .form-panel,
  .task-form,
  .task-board {
    padding: 22px;
  }

  .page-hero {
    padding-top: 62px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
