@font-face {
  font-family: "Gelica Semibold";
  src: local("Gelica Semibold"), local("Gelica SemiBold"), local("Gelica-SemiBold");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Gelica Light";
  src: local("Gelica Light"), local("Gelica-Light");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

:root {
  --green: #45696b;
  --teal: #94d6da;
  --orange: #e6654a;
  --ink: #113235;
  --paper: #fffdf6;
  --sand: #f6ead5;
  --sun: #f4c95d;
  --white: #ffffff;
  --line: rgba(17, 50, 53, 0.16);
  --display: "Gelica Semibold", Georgia, "Times New Roman", serif;
  --display-alt: "Gelica Light", Georgia, "Times New Roman", serif;
  --body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--paper);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 10px clamp(10px, 2vw, 24px);
  z-index: -1;
  background: rgba(17, 50, 53, 0.84);
  border: 1px solid rgba(255, 253, 246, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.15rem;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-header nav a,
.header-action,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 900;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--ink);
  background: var(--teal);
  outline: none;
}

.header-action,
.button.primary {
  color: var(--paper);
  background: var(--orange);
}

.button.glass {
  color: var(--paper);
  border: 1px solid rgba(255, 253, 246, 0.48);
  background: rgba(255, 253, 246, 0.12);
}

.button:hover,
.button:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-2px);
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(22px, 7vw, 104px) 96px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(17, 50, 53, 0.9), rgba(17, 50, 53, 0.54) 45%, rgba(17, 50, 53, 0.08)),
    linear-gradient(180deg, rgba(17, 50, 53, 0.05), rgba(17, 50, 53, 0.62)),
    url("assets/web/hero-family.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 72%, rgba(148, 214, 218, 0.74) 72% 73%, transparent 73%),
    linear-gradient(120deg, transparent 0 82%, rgba(230, 101, 74, 0.72) 82% 83%, transparent 83%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.eyebrow,
.section-label {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  color: var(--ink);
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 870px;
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(3.7rem, 8.5vw, 8.4rem);
  line-height: 0.86;
}

h2 {
  margin-top: 16px;
  font-family: var(--display-alt);
  font-size: clamp(2.35rem, 5.8vw, 5.7rem);
  font-weight: 300;
  line-height: 0.92;
}

h3 {
  font-family: var(--display);
  font-size: 1.42rem;
  line-height: 1;
}

.hero-inner p:not(.eyebrow) {
  max-width: 690px;
  margin: 26px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-meta {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  bottom: 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 253, 246, 0.13);
  border: 1px solid rgba(255, 253, 246, 0.24);
  backdrop-filter: blur(12px);
}

.hero-meta span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 8px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 253, 246, 0.2);
}

.hero-meta span:last-child {
  border-right: 0;
}

.mission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: end;
  padding: clamp(82px, 10vw, 148px) clamp(22px, 7vw, 104px);
  background: var(--paper);
}

.mission-copy p:not(.section-label),
.story-copy p,
.calendar-intro p,
.proof-copy p {
  max-width: 740px;
  font-size: 1.08rem;
}

.mission-stats {
  display: grid;
  gap: 1px;
  background: var(--ink);
}

.mission-stats article {
  min-height: 140px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  color: var(--ink);
  background: var(--sand);
}

.mission-stats article:nth-child(2) {
  background: var(--teal);
}

.mission-stats article:nth-child(3) {
  color: var(--paper);
  background: var(--green);
}

.mission-stats strong {
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
}

.mission-stats span {
  font-weight: 900;
  text-transform: uppercase;
}

.visual-story,
.proof {
  display: grid;
  grid-template-columns: minmax(360px, 0.84fr) minmax(0, 1fr);
  min-height: 760px;
  color: var(--paper);
  background: var(--green);
}

.story-image,
.proof-image {
  overflow: hidden;
}

.story-image img,
.proof-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy,
.proof-copy {
  display: grid;
  align-content: center;
  padding: clamp(42px, 7vw, 104px);
}

.giving,
.calendar {
  padding: clamp(82px, 10vw, 148px) clamp(22px, 7vw, 104px);
  background: var(--sand);
}

.section-head,
.calendar-intro {
  max-width: 950px;
  margin-bottom: 38px;
}

.donor-experience {
  display: grid;
  grid-template-columns: minmax(280px, 0.54fr) minmax(0, 1fr);
  gap: 18px;
}

.donation-stack {
  display: grid;
  gap: 12px;
}

.donation-card {
  min-height: 122px;
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-areas:
    "amount title"
    "amount label";
  gap: 6px 18px;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  text-align: left;
  cursor: pointer;
}

.donation-card:hover,
.donation-card:focus-visible,
.donation-card.is-active {
  color: var(--paper);
  background: var(--ink);
  outline: 4px solid var(--orange);
  outline-offset: 3px;
}

.donation-card span {
  grid-area: amount;
  color: var(--orange);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.donation-card strong {
  grid-area: title;
  font-family: var(--display);
  font-size: 1.55rem;
}

.donation-card em {
  grid-area: label;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.donation-readout {
  min-height: 392px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(28px, 6vw, 72px);
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(148, 214, 218, 0.14) 0 20%, transparent 20%),
    var(--green);
}

.donation-readout span {
  color: var(--teal);
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  line-height: 0.9;
}

.donation-readout p {
  max-width: 620px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--ink);
}

.timeline article {
  min-height: 300px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
}

.timeline article:nth-child(even) {
  background: #e8f8f8;
}

.timeline span {
  width: fit-content;
  padding: 5px 10px;
  color: var(--paper);
  background: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.timeline p {
  margin: 0;
}

.proof {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  background: var(--ink);
}

.proof-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-top: 1px solid rgba(255, 253, 246, 0.24);
}

.proof-list span {
  padding: 16px 0;
  font-weight: 900;
  border-bottom: 1px solid rgba(255, 253, 246, 0.18);
}

.status-note {
  margin-top: 28px;
  padding: 18px;
  color: var(--ink);
  background: var(--teal);
}

.proof-image img {
  object-position: top center;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--paper);
  background: var(--orange);
}

.site-footer strong {
  font-family: var(--display);
  font-size: 1.3rem;
}

.site-footer span,
.site-footer a {
  font-weight: 900;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header nav {
    display: none;
  }

  .mission,
  .visual-story,
  .proof,
  .donor-experience,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .story-image,
  .proof-image {
    min-height: 460px;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-meta {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span {
    font-size: 0.96rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding: 104px 18px 224px;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-meta,
  .timeline {
    grid-template-columns: 1fr;
  }

  .mission,
  .giving,
  .calendar,
  .story-copy,
  .proof-copy {
    padding: 56px 18px;
  }

  .visual-story,
  .proof {
    min-height: auto;
  }

  .story-image,
  .proof-image {
    min-height: 340px;
  }

  .donation-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "amount"
      "title"
      "label";
  }
}
