:root {
  --color-navy: #15345c;
  --color-coral: #dc4a5e;
  --color-olive: #7a8f36;
  --color-cream: #f7f0e3;
  --color-paper: #fffaf2;
  --color-ink: #243042;
  --color-muted: #5f6774;
  --color-on-colr: #eaeaea;
  --color-border: rgba(21, 52, 92, 0.14);
  --shadow-soft: 0 24px 60px rgba(16, 34, 60, 0.12);
  --shadow-lift: 0 20px 36px rgba(20, 38, 63, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --container: min(1120px, calc(100vw - 2.5rem));
  --display-font:
    "Oswald", "Arial Narrow", "Franklin Gothic Condensed", sans-serif;
  --body-font: "Source Sans 3", "Trebuchet MS", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--color-ink);
  background:
    radial-gradient(circle at top, rgba(220, 74, 94, 0.1), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, var(--color-cream) 100%);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--color-paper);
  color: var(--color-navy);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 5.5rem 0;
}

.section__header {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-coral);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 0.8rem;
  height: 0.18rem;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display-font);
  letter-spacing: 0.01em;
  line-height: 1.08;
  color: var(--color-navy);
}

h1 {
  font-size: clamp(3.5rem, 9vw, 6.7rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  max-width: 14ch;
}

h3 {
  font-size: clamp(1.55rem, 2vw, 2rem);
}

p {
  margin: 0;
  font-size: 1.1rem;
}

.section__lede,
.hero__subheadline,
.hero__clarifier,
.school-copy p,
.fundraiser-card p,
.step p,
.details-callout p,
.faq-item p {
  color: var(--color-muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.95rem 1.45rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: var(--display-font);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease;
  box-shadow: 0 12px 24px rgba(14, 26, 45, 0.14);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(14, 26, 45, 0.2);
}

.button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(220, 74, 94, 0.28);
  outline-offset: 4px;
}

.button--meat {
  color: #fff;
  background: linear-gradient(135deg, #c74354, var(--color-coral));
}

.button--flowers {
  color: #fff;
  background: linear-gradient(135deg, #688126, var(--color-olive));
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: clip;
  background: #10243b;
}

.hero__media,
.hero__texture {
  position: absolute;
  inset: 0;
}

.hero__media {
  background:
    linear-gradient(
      130deg,
      rgba(16, 36, 59, 0.92) 10%,
      rgba(16, 36, 59, 0.55) 45%,
      rgba(16, 36, 59, 0.7) 100%
    ),
    radial-gradient(
      circle at top right,
      rgba(220, 74, 94, 0.3),
      transparent 28%
    ),
    url("img/hero.jpg") center center / cover no-repeat;
  transform: scale(1.03);
}

.hero__texture {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.08) 0,
      transparent 28%
    );
  mix-blend-mode: screen;
  opacity: 0.4;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 6rem;
  color: #fff;
}

.hero h1,
.hero .eyebrow,
.hero p strong,
.hero__meta,
.hero__subheadline {
  color: #fff;
}

.hero__subheadline {
  margin-top: 1.2rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
}

.hero__clarifier {
  margin-top: 0.9rem;
  max-width: 36rem;
  font-size: 1.14rem;
  color: rgba(255, 250, 245, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__meta {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.08);
  backdrop-filter: blur(10px);
}

.hero__meta p {
  font-size: 1rem;
}

.section--intro {
  margin-top: -1.25rem;
}

.fundraiser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.fundraiser-card,
.details-main,
.details-callout,
.step,
.faq-item,
.school-figure {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.fundraiser-card {
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.fundraiser-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.fundraiser-card--meat {
  background: linear-gradient(
    180deg,
    rgba(220, 74, 94, 0.12),
    rgba(255, 255, 255, 0.88) 48%
  );
}

.fundraiser-card--flowers {
  background: linear-gradient(
    180deg,
    rgba(122, 143, 54, 0.12),
    rgba(255, 255, 255, 0.9) 48%
  );
}

.fundraiser-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fundraiser-card__content {
  padding: 1.75rem;
}

.card-tag {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-family: var(--display-font);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid currentColor;
}

.fundraiser-card--meat .card-tag {
  color: var(--color-coral);
  background: rgba(220, 74, 94, 0.12);
}

.fundraiser-card--flowers .card-tag {
  color: var(--color-olive);
  background: rgba(122, 143, 54, 0.14);
}

.fundraiser-card__content h3 {
  margin-bottom: 0.9rem;
}

.fundraiser-card__content p {
  margin-bottom: 1.35rem;
}

.split-note {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  border-left: 6px solid var(--color-coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.section--steps {
  background:
    radial-gradient(
      circle at top left,
      rgba(122, 143, 54, 0.12),
      transparent 18%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45));
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  padding: 1.6rem;
  text-align: center;
}

.step__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  height: 5.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(21, 52, 92, 0.08), rgba(220, 74, 94, 0.04)),
    var(--color-paper);
}

.step__icon-wrap img {
  width: 2.7rem;
  height: 2.7rem;
  object-fit: contain;
}

.step h3 {
  margin-bottom: 0.7rem;
}

.section--details {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    radial-gradient(
      circle at bottom right,
      rgba(220, 74, 94, 0.1),
      transparent 20%
    );
}

.details-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.details-main,
.details-callout {
  padding: 2rem;
}

.details-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.detail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(247, 240, 227, 0.72);
}

.detail-item__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #fff;
}

.detail-item__icon img {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

.detail-item__label {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-coral);
}

.detail-item__value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.details-callout {
  background:
    linear-gradient(
      180deg,
      rgba(122, 143, 54, 0.13),
      rgba(255, 255, 255, 0.92)
    ),
    var(--color-paper);
}

.details-callout h3 {
  margin-bottom: 0.8rem;
}

.school-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.school-copy h2 {
  margin-bottom: 1rem;
}

.school-figure {
  overflow: hidden;
}

.school-figure img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section--faq {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4)),
    radial-gradient(
      circle at top right,
      rgba(122, 143, 54, 0.08),
      transparent 16%
    );
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 0 1.35rem;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--display-font);
  font-size: 1.35rem;
  color: var(--color-navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.8rem;
  color: var(--color-coral);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 0 1.25rem;
}

.footer-cta {
  padding: 0 0 0rem;
}

.footer-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(21, 52, 92, 0.98), rgba(21, 52, 92, 0.9)),
    url("img/hero.jpg") center / cover no-repeat;
  box-shadow: var(--shadow-lift);
}

.footer-cta__inner h2,
.footer-cta__inner .eyebrow {
  color: #fff;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.site-credit {
  display: flex;
  justify-content: right;
  margin-top: 1.35rem;
}

.site-credit__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition:
    color 0.22s ease,
    transform 0.22s ease,
    background-color 0.22s ease;
}

.site-credit__link:hover,
.site-credit__link:focus-visible {
  color: var(--color-navy);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.55);
}

.site-credit__link img {
  width: auto;
  height: 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .fundraiser-grid,
  .details-shell,
  .school-grid,
  .footer-cta__inner,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .section {
    padding: 4.25rem 0;
  }

  .hero__content {
    padding: 5.5rem 0 4.75rem;
  }

  .hero__actions,
  .footer-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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

  .fundraiser-card__content,
  .details-main,
  .details-callout,
  .footer-cta__inner {
    padding: 1.5rem;
  }

  .faq-item summary {
    font-size: 1.2rem;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__media {
    transform: none;
  }
}
