:root {
  --blue: #0872ba;
  --bluedark: #354a9e;
  --red: #ed322d;
  --ink: #1b2236;
  --muted: #5b6478;
  --bg: #ffffff;
  --tint: #f4f6fc;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 27, 61, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;

  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  line-height: 0.6;
  margin: 0 0 0.5em;
  color: var(--bluedark);
}
h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 em {
  font-style: normal;
  color: var(--red);
}
h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.3rem;
}
p {
  margin: 0 0 1em;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow--light {
  color: #9fb6ff;
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34ch;
}

/* Buttons */
.btn {
  display: inline-block;
  cursor: pointer;
  border: 2px solid var(--red);
  background: var(--red);
  color: #fff;
  font:
    600 1rem "Inter",
    sans-serif;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition:
    transform 0.15s,
    background 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  background: var(--bluedark);
  border-color: var(--bluedark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(36, 87, 245, 0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--red);
}
.btn--ghost:hover {
  color: #fff;
}
.btn--small {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}
.btn--light {
  background: #fff;
  color: var(--bluedark);
  border-color: #fff;
  width: 100%;
}
.btn--light:hover {
  background: #eef2ff;
  border-color: #eef2ff;
  box-shadow: none;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 27, 61, 0.06);
  padding: 1rem;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;

  font-weight: 800;
  font-size: 1.4rem;
  color: var(--bluedark);
}
.logo span {
  color: var(--red);
  margin-left: -0.4em;
}
.logo__img {
  width: 72px;
  flex: none;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-weight: 500;
}
.nav__links a:not(.btn):hover {
  color: var(--red);
}
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bluedark);
  margin: 6px 0;
  transition: transform 0.25s;
}

/* Hero */
.hero {
  background:
    radial-gradient(
      900px 400px at 85% -10%,
      rgba(36, 87, 245, 0.12),
      transparent 70%
    ),
    radial-gradient(
      600px 300px at 0% 100%,
      rgba(255, 90, 78, 0.08),
      transparent 70%
    ),
    var(--bg);
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}
.hero__photo {
  display: flex;
  justify-content: center;
}
.photo-card {
  width: min(200px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  /* background: linear-gradient(160deg, var(--red), var(--bluedark)); */
  color: #fff;
  display: grid;
  place-content: center;
  box-shadow: 0 30px 60px rgba(15, 27, 61, 0.25);
  /* transform: rotate(2deg); */
  border-radius: 100%;
}
.photo-card img {
  border-radius: 100%;
}
.photo-card span {
  font-size: 6rem;
  font-weight: 800;
  opacity: 0.9;
}
.photo-card small {
  opacity: 0.6;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.countdown div {
  background: #fff;
  border-radius: 14px;
  padding: 0.6rem 1rem;
  text-align: center;
  min-width: 74px;
  box-shadow: var(--shadow);
}
.countdown b {
  display: block;
  font:
    800 1.6rem "Fraunces",
    serif;
  color: var(--bluedark);
}
.countdown span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.countdown p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Stats */
.stats {
  background: var(--bluedark);
  color: #fff;
  padding: 2.5rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stats b {
  display: block;
  font:
    800 2.2rem "Fraunces",
    serif;
  color: #fff;
}
.stats span {
  color: #b6c2e6;
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.section--tint {
  background: var(--tint);
}
.section__head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.about__body p {
  color: var(--muted);
  font-size: 1.1rem;
}
.link {
  font-weight: 600;
  color: var(--red);
}
.link:hover {
  text-decoration: underline;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.card:hover {
  transform: translateY(-6px);
}
.card__icon {
  font-size: 2rem;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--tint);
  border-radius: 16px;
  margin-bottom: 1.2rem;
}
.card p {
  color: var(--muted);
  margin: 0;
}

/* Quote */
.quote {
  background: linear-gradient(135deg, var(--red), var(--bluedark));
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
}
.quote blockquote {
  font:
    800 clamp(1.6rem, 3.6vw, 2.6rem) "Fraunces",
    serif;
  line-height: 1.25;
  margin: 0 auto 1rem;
  max-width: 24ch;
}
.quote cite {
  font-style: normal;
  opacity: 0.75;
}

/* Events */
.events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.events li {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #e5e9f4;
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  transition: box-shadow 0.2s;
}
.events li:hover {
  box-shadow: var(--shadow);
}
.events li > div:nth-child(2) {
  flex: 1;
}
.events h3 {
  margin: 0 0 0.15em;
  font-size: 1.15rem;
}
.events p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.date {
  background: var(--tint);
  border-radius: 14px;
  width: 66px;
  padding: 0.5rem 0;
  text-align: center;
}
.date b {
  display: block;
  font:
    800 1.6rem "Fraunces",
    serif;
  color: var(--red);
  line-height: 1;
}
.date span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Join */
.join {
  background: var(--bluedark);
  color: #fff;
}
.join h2 {
  color: #fff;
}
.join p {
  color: #c3cdec;
}
.join__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.donate {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0.6rem;
}
.chip {
  cursor: pointer;
  font:
    600 1rem "Inter",
    sans-serif;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  transition: 0.2s;
}
.chip:hover,
.chip.active {
  background: var(--red);
  border-color: var(--red);
}
.donate__note {
  color: #94a3d0;
}

.form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  gap: 1rem;
}
.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #dbe3fb;
}
.form input[type="text"],
.form input[type="email"] {
  font: inherit;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #fff;
  color: var(--ink);
}
.form input:focus {
  outline: none;
  border-color: var(--red);
}
.form input.invalid {
  border-color: var(--red);
}
.form .check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.form .check input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}
.form__msg {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.95rem;
}
.form__msg.ok {
  color: #7ee2a8;
}
.form__msg.err {
  color: #ffb3ad;
}

/* Footer */
.footer {
  background: var(--red);
  color: white;
  padding: 2.5rem 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer .logo {
  color: #fff;
}
.social {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
}
.social a:hover {
  color: #fff;
}
.paid {
  flex-basis: 100%;
  font-size: 0.8rem;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.2rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1080px) {
  .hero__inner,
  .about,
  .join__inner {
    grid-template-columns: 1fr;
  }
  .hero__photo {
    order: -1;
  }
  .photo-card {
    width: 120px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav__toggle {
    display: block;
  }
  .nav__links {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 20px 1.5rem;
    border-bottom: 1px solid #e5e9f4;
    display: none;
  }
  .nav__links > * {
    margin: auto;
  }
  .nav__links.open {
    display: flex;
  }
  .events li {
    flex-wrap: wrap;
  }
  .hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
