:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --surface-2: #eef6f3;
  --ink: #101827;
  --muted: #5e6b7a;
  --line: #d9e2ea;
  --orange: #f36b21;
  --green: #11845b;
  --blue: #1769ff;
  --teal: #21a0a0;
  --yellow: #ffd166;
  --shadow: 0 24px 70px rgba(16, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(23, 105, 255, 0.08), transparent 34rem),
    linear-gradient(240deg, rgba(17, 132, 91, 0.1), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(16, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.ticker {
  background: var(--ink);
  color: white;
  overflow: hidden;
}

.ticker__track,
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 30s linear infinite;
}

.ticker span,
.marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0 1.25rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span::after,
.marquee span::after {
  content: "";
  width: 0.45rem;
  aspect-ratio: 1;
  margin-left: 1.25rem;
  background: var(--yellow);
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.2rem;
  padding: 0.95rem clamp(1rem, 4vw, 5.5rem);
  background: rgba(248, 251, 255, 0.84);
  border-bottom: 1px solid rgba(217, 226, 234, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
}

.brand__mark {
  display: grid;
  width: 2.9rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--orange), var(--yellow) 34%, var(--green) 68%, var(--blue));
  color: white;
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(243, 107, 33, 0.26);
}

.brand strong {
  display: block;
  overflow: hidden;
  font-weight: 950;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.nav a {
  padding: 0.55rem 0.78rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.nav a:hover {
  background: var(--ink);
  color: white;
}

.button,
.link-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 1rem;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.link-button:hover {
  transform: translateY(-2px);
}

.button--dark {
  background: var(--ink);
  color: white;
  box-shadow: 0 16px 34px rgba(16, 24, 39, 0.18);
}

.button--primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 18px 44px rgba(23, 105, 255, 0.25);
}

.link-button {
  background: rgba(16, 24, 39, 0.06);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.78fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  min-height: calc(100vh - 6.8rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 6vw, 6.5rem);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: 5%;
  z-index: -1;
  width: min(46rem, 48vw);
  height: 70%;
  background:
    linear-gradient(135deg, rgba(243, 107, 33, 0.2), rgba(23, 105, 255, 0.16)),
    repeating-linear-gradient(45deg, rgba(16, 24, 39, 0.06) 0 1px, transparent 1px 14px);
  clip-path: polygon(15% 0, 100% 12%, 86% 100%, 0 86%);
}

.eyebrow,
.stats dd,
.poster figcaption span,
.mission-note span,
.pledge-list span,
.cards span,
.signal-card span,
.footer small {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 1.2rem;
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 7vw, 7rem);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5.4vw, 5.9rem);
}

p {
  color: #2c3746;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.7;
}

.hero__lead {
  max-width: 44rem;
  color: #263242;
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
}

.hero__sublead {
  max-width: 42rem;
  color: var(--green);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 850;
  line-height: 1.55;
}

.hero__actions,
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__actions {
  margin: 1.8rem 0 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.stats div,
.hero-badges span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(16, 24, 39, 0.06);
}

.stats div {
  padding: 1rem;
}

.stats dt {
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 950;
  line-height: 1;
}

.stats dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.hero-badges {
  margin-top: 0.8rem;
}

.hero-badges span {
  padding: 0.65rem 0.78rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.poster {
  position: relative;
  width: min(100%, 32rem);
  margin: 0;
  justify-self: center;
}

.poster__frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.poster img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
}

.poster figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
}

.poster figcaption strong {
  text-align: right;
}

.poster blockquote {
  position: absolute;
  right: -1rem;
  bottom: 1.5rem;
  max-width: 19rem;
  margin: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 1.1rem;
  box-shadow: 0 18px 40px rgba(16, 24, 39, 0.24);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 850;
  line-height: 1.35;
}

.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.marquee span {
  color: white;
}

.why,
.signal,
.split-section,
.proof,
.pledges,
.join,
.anthem,
.contact {
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 6vw, 6.5rem);
}

.section-kicker,
.signal__intro,
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.why {
  background: var(--surface);
}

.why-grid,
.proof-grid,
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.why-grid article,
.proof-grid article,
.cards article,
.signal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(16, 24, 39, 0.07);
}

.why-grid article {
  min-height: 15rem;
  padding: 1.2rem;
}

.why-grid article:nth-child(1) {
  border-top: 5px solid var(--green);
}

.why-grid article:nth-child(2) {
  border-top: 5px solid var(--blue);
}

.why-grid article:nth-child(3) {
  border-top: 5px solid var(--orange);
}

.why-grid article:nth-child(4) {
  border-top: 5px solid var(--teal);
}

.why-grid span {
  display: inline-flex;
  margin-bottom: 2.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why-grid p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  font-weight: 850;
  line-height: 1.18;
}

.signal {
  background: #f1f6fb;
}

.signal-wall {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr;
  grid-template-areas:
    "large small1 small2"
    "large dark dark";
  gap: 1rem;
}

.signal-card {
  display: flex;
  min-height: 16rem;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.15rem, 2vw, 1.6rem);
}

.signal-card:nth-child(2) {
  grid-area: small1;
}

.signal-card:nth-child(3) {
  grid-area: small2;
}

.signal-card--large {
  grid-area: large;
  min-height: 33rem;
  background:
    linear-gradient(180deg, rgba(16, 24, 39, 0.08) 0%, rgba(16, 24, 39, 0.36) 42%, rgba(16, 24, 39, 0.92) 100%),
    url("assets/youth-progress-poster.png") center / cover;
}

.signal-card--large span,
.signal-card--large p,
.signal-card--dark span,
.signal-card--dark p {
  color: white;
}

.signal-card--dark {
  grid-area: dark;
  background:
    linear-gradient(135deg, rgba(23, 105, 255, 0.28), transparent),
    var(--ink);
}

.signal-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.3vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.signal-card--large p,
.signal-card--dark p {
  color: white;
}

.signal-card--large p {
  max-width: 13ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.signal-card--large span,
.signal-card--dark span {
  color: rgba(255, 255, 255, 0.88);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.78fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  background: var(--surface);
}

.split-section > div:first-child p {
  max-width: 47rem;
}

.mission-note {
  max-width: 44rem;
  margin-top: 1.5rem;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 1.25rem;
}

.mission-note p {
  margin: 0.65rem 0 0;
}

.visual-card {
  min-height: 30rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(17, 132, 91, 0.86), rgba(23, 105, 255, 0.82)),
    var(--blue);
  color: white;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.seal {
  display: grid;
  width: 5.8rem;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  font-weight: 950;
}

.visual-card strong {
  max-width: 9ch;
  font-size: clamp(2.5rem, 4.4vw, 4.4rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.visual-card p {
  color: rgba(255, 255, 255, 0.84);
}

.progress-bars {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.progress-bars span {
  display: block;
  height: 0.7rem;
  border-radius: 999px;
  background: white;
}

.progress-bars span:nth-child(1) {
  width: 100%;
}

.progress-bars span:nth-child(2) {
  width: 76%;
  background: var(--yellow);
}

.progress-bars span:nth-child(3) {
  width: 88%;
  background: rgba(255, 255, 255, 0.58);
}

.proof {
  background: var(--ink);
  color: white;
}

.proof p,
.proof .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.proof-grid article {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: white;
  padding: 1.25rem;
}

.proof-grid strong {
  max-width: 9ch;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.proof-grid p {
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.pledges {
  background: #fff7ee;
}

.pledge-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pledge-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: start;
  border: 1px solid rgba(243, 107, 33, 0.18);
  border-radius: 8px;
  background: white;
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 12px 30px rgba(243, 107, 33, 0.07);
}

.pledge-list span {
  color: var(--orange);
}

.pledge-list p {
  max-width: 64rem;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.8vw, 1.65rem);
  font-weight: 820;
  line-height: 1.22;
}

.join {
  background: var(--surface);
}

.cards article {
  min-height: 16rem;
  padding: 1.25rem;
}

.cards h3 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1;
}

.cards p {
  margin-bottom: 0;
  font-size: 1rem;
}

.anthem {
  display: grid;
  min-height: 52vh;
  place-items: center;
  background:
    linear-gradient(120deg, rgba(16, 24, 39, 0.84), rgba(23, 105, 255, 0.5)),
    url("assets/youth-progress-poster.png") center / cover;
  color: white;
  text-align: center;
}

.anthem p {
  max-width: 62rem;
  margin: 0;
  color: white;
  font-size: clamp(2rem, 4.8vw, 4.9rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 0.7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  background: #edf7f1;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  padding: 0.9rem;
}

textarea {
  resize: vertical;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem clamp(1rem, 6vw, 6.5rem);
  background: var(--ink);
  color: white;
}

.footer p {
  max-width: 34rem;
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer nav {
  display: flex;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

  .nav {
    display: none;
  }

  .hero,
  .split-section,
  .contact,
  .section-kicker,
  .signal__intro,
  .section-intro {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .poster {
    justify-self: start;
  }

  .why-grid,
  .proof-grid,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-wall {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "large large"
      "small1 small2"
      "dark dark";
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
    padding: 0.8rem 1rem;
  }

  .brand small,
  .site-header .button {
    display: none;
  }

  .hero,
  .why,
  .signal,
  .split-section,
  .proof,
  .pledges,
  .join,
  .anthem,
  .contact {
    padding-inline: 1rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .stats,
  .why-grid,
  .proof-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .poster blockquote {
    position: static;
    margin-top: 0.9rem;
  }

  .signal-wall {
    grid-template-columns: 1fr;
    grid-template-areas:
      "large"
      "small1"
      "small2"
      "dark";
  }

  .signal-card,
  .signal-card--large,
  .signal-card--dark {
    min-height: 14rem;
  }

  .pledge-list li {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }
}
