:root {
  --color-bg: #050505;
  --color-surface: #101010;
  --color-surface-soft: #171717;
  --color-text: #f6f1e8;
  --color-muted: rgba(246, 241, 232, 0.7);
  --color-line: rgba(255, 255, 255, 0.12);
  --color-accent: #ffa900;
  --color-accent-soft: rgba(255, 169, 0, 0.2);
  --color-dark: #000000;
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 22px 50px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1120px, calc(100vw - 2rem));
  --display-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --body-font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  background:
    radial-gradient(circle at top, rgba(255, 169, 0, 0.1), transparent 28%),
    linear-gradient(180deg, #090909 0%, #030303 55%, #090909 100%);
  color: var(--color-text);
  min-width: 320px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.ambient {
  position: fixed;
  inset: auto;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.22;
}

.ambient-top {
  top: -10rem;
  right: -6rem;
  background: rgba(255, 169, 0, 0.32);
}

.ambient-bottom {
  bottom: 12rem;
  left: -10rem;
  background: rgba(255, 255, 255, 0.1);
}

.site-header,
.story-panel,
.site-footer {
  position: relative;
  z-index: 1;
}

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

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.45));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 20;
}

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

.brand__logo {
  width: 2.9rem;
  height: 2.9rem;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__eyebrow,
.section-label,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
}

.brand__eyebrow,
.section-label {
  color: var(--color-accent);
}

.brand__name {
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.site-nav a:hover,
.site-footer a:hover,
.social-links a:hover {
  color: var(--color-accent);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

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

.button--primary {
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 12px 30px rgba(255, 169, 0, 0.2);
}

.button--donate {
  position: relative;
  padding-inline: 1.4rem;
  box-shadow:
    0 0 0 1px rgba(255, 169, 0, 0.28),
    0 14px 34px rgba(255, 169, 0, 0.24);
}

.button--donate::after {
  content: "";
  position: absolute;
  inset: -0.28rem;
  border: 1px solid rgba(255, 169, 0, 0.42);
  border-radius: inherit;
  opacity: 0.8;
}

.button--secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--color-text);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 169, 0, 0.35);
  color: var(--color-accent);
}

.button--nav {
  min-height: 2.5rem;
  padding-inline: 1rem;
}

.floating-donate {
  position: fixed;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 18;
  min-width: 8.5rem;
}

.button--large {
  width: 100%;
  min-height: 3.5rem;
}

.story-panel {
  padding: 4rem 0;
}

.panel-full {
  min-height: 100svh;
}

.panel-centered {
  display: grid;
  align-items: center;
}

.hero {
  display: grid;
  align-items: end;
  padding-top: 2rem;
}

.hero__layout {
  display: grid;
  gap: 2rem;
  align-items: end;
  padding-block: 4rem 5rem;
}

.hero__texture,
.hero__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__texture {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.03), transparent 46%),
    radial-gradient(circle at 25% 30%, rgba(255, 169, 0, 0.16), transparent 24%),
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 50% 80%, rgba(255, 169, 0, 0.09), transparent 26%);
  opacity: 0.9;
}

.hero__spotlight {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at top center, transparent, rgba(0, 0, 0, 0.74) 72%);
}

.hero__copy {
  max-width: 42rem;
  min-width: 0;
}

.kicker {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.25rem;
}

.hero h1,
.question__title,
.foundation h2,
.section-heading h2,
.vision h2,
.cta h2 {
  font-family: var(--display-font);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.4rem, 15vw, 7.5rem);
  text-wrap: balance;
}

.hero__lead {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  margin: 1.5rem 0 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero__body,
.foundation__statement,
.issue__copy p,
.impact__intro p,
.vision p,
.cta p,
.focus-item p,
.pillar-card p,
.story-card__meta {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 1rem;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero__frame {
  position: relative;
  min-height: 18rem;
  min-width: 0;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-xl);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.hero-card span,
.photo-card__caption span,
.story-card__meta {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.hero-card strong,
.photo-card__caption strong {
  font-family: var(--display-font);
  font-size: 1.25rem;
  line-height: 1.05;
}

.hero-card--main {
  inset: 1rem 0 auto auto;
  width: min(78%, 18rem);
  min-height: 11rem;
  background:
    linear-gradient(160deg, rgba(255, 169, 0, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card--accent {
  left: 0;
  bottom: 1rem;
  width: min(62%, 14rem);
  min-height: 8rem;
  background: rgba(255, 169, 0, 0.95);
  color: var(--color-dark);
}

.hero-card--outline {
  right: 0;
  bottom: -1rem;
  width: min(46%, 10.5rem);
  min-height: 7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.45);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
}

.scroll-indicator__line {
  width: 1px;
  height: 3.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent);
  animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { transform: scaleY(0.72); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

.question {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    rgba(12, 12, 12, 0.92);
}

.question__wrap {
  text-align: center;
}

.question__title {
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  max-width: 14ch;
  margin-inline: auto;
}

.issue__grid,
.impact__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.issue__media {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.photo-card,
.focus-item,
.pillar-card,
.story-card,
.cta__panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.photo-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.photo-card__image,
.story-card__media {
  min-height: 14rem;
  background-size: cover;
  background-position: center;
}

.photo-card__image--youth-1 {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at 30% 25%, rgba(255, 169, 0, 0.9), transparent 18%),
    linear-gradient(145deg, #4b2b00 0%, #0d0d0d 44%, #111111 100%);
}

.photo-card__image--youth-2 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.34), transparent 17%),
    linear-gradient(125deg, #111111 0%, #392300 65%, #050505 100%);
}

.photo-card__caption {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1rem 1.25rem;
}

.issue__copy h2,
.foundation h2,
.section-heading h2,
.vision h2,
.cta h2 {
  font-size: clamp(2.2rem, 8vw, 4.7rem);
  text-wrap: balance;
}

.issue__quote {
  margin: 1rem 0;
  font-family: var(--display-font);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--color-text);
}

.foundation {
  background:
    linear-gradient(135deg, rgba(255, 169, 0, 0.08), transparent 38%),
    linear-gradient(180deg, #111111 0%, #080808 100%);
}

.foundation__content {
  max-width: 54rem;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.focus-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.focus-item {
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  min-height: 12rem;
  overflow: hidden;
}

.focus-item__icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  margin-bottom: 1.15rem;
  background: rgba(255, 169, 0, 0.1);
  color: var(--color-accent);
}

.focus-item__icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.focus-item h3,
.pillar-card h3,
.story-card__quote {
  margin: 0 0 0.8rem;
}

.focus-item h3,
.pillar-card h3 {
  font-family: var(--display-font);
  font-size: 1.7rem;
  line-height: 1.05;
}

.pillar-stack {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.pillar-card {
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  transition: transform 260ms ease, border-color 260ms ease, background-color 260ms ease;
  overflow: hidden;
}

.pillar-card.is-visible,
.pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 169, 0, 0.36);
  background:
    linear-gradient(160deg, rgba(255, 169, 0, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
}

.pillar-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pillar-card__number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 169, 0, 0.34);
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.impact__stories {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.story-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.story-card__media--portrait {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at 32% 24%, rgba(255, 169, 0, 0.8), transparent 18%),
    linear-gradient(135deg, #1b1b1b 0%, #4f3200 52%, #090909 100%);
}

.story-card__media--studio {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.52)),
    radial-gradient(circle at 68% 28%, rgba(255, 255, 255, 0.32), transparent 18%),
    linear-gradient(125deg, #0b0b0b 0%, #1d1d1d 35%, #5c3900 100%);
}

.story-card__body {
  padding: 1.2rem;
}

.story-card__quote {
  font-family: var(--display-font);
  font-size: 1.6rem;
  line-height: 1.2;
}

.vision {
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(255, 169, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #080808 0%, #111111 100%);
}

.vision__content {
  max-width: 46rem;
}

.vision h2 {
  font-size: clamp(3rem, 12vw, 7rem);
  margin-bottom: 1rem;
}

.cta {
  display: grid;
  align-items: center;
}

.cta__panel {
  border-radius: calc(var(--radius-xl) + 0.5rem);
  padding: 1.4rem;
  background:
    radial-gradient(circle at top left, rgba(255, 169, 0, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.cta__actions {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__grid,
.site-footer__bottom {
  display: grid;
  gap: 1.5rem;
}

.site-footer__grid a,
.site-footer__grid p,
.site-footer__bottom p,
.site-footer__bottom a {
  color: var(--color-muted);
}

.site-footer__grid a {
  display: block;
  margin-top: 0.35rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(6px);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1), filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--slow {
  transition-duration: 1100ms;
}

.reveal[data-reveal="left"] {
  transform: translate3d(-42px, 0, 0);
}

.reveal[data-reveal="right"] {
  transform: translate3d(42px, 0, 0);
}

.reveal[data-reveal="blur"] {
  transform: scale(0.97);
  filter: blur(12px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

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

  .reveal,
  .reveal--slow,
  .pillar-card,
  .button,
  .scroll-indicator__line {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (min-width: 720px) {
  .site-header {
    padding-inline: 1.5rem;
  }

  .site-nav {
    display: inline-flex;
  }

  .floating-donate {
    display: none;
  }

  .hero__actions,
  .cta__actions {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
  }

  .button--large {
    width: auto;
    min-width: 11rem;
  }

  .hero__layout,
  .issue__grid,
  .impact__grid,
  .cta__panel,
  .site-footer__grid,
  .site-footer__bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta__panel {
    align-items: center;
    gap: 2rem;
  }

  .issue__copy {
    align-self: center;
  }

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

  .site-footer__grid {
    grid-template-columns: 1.1fr 1fr 0.9fr;
  }

  .site-footer__bottom {
    align-items: center;
  }

  .site-footer__bottom p {
    margin: 0;
  }

  .site-footer__links {
    justify-content: end;
  }
}

@media (min-width: 960px) {
  .story-panel {
    padding: 5.5rem 0;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    padding-block: 5rem 6rem;
  }

  .hero__frame {
    min-height: 26rem;
  }

  .hero-card--main {
    top: 1rem;
    right: 0;
  }

  .hero-card--accent {
    left: 1rem;
    bottom: 2rem;
  }

  .hero-card--outline {
    right: 1rem;
    bottom: -0.5rem;
  }

  .focus-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .focus-item {
    min-height: 15rem;
  }

  .pillar-stack {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
  }

  .pillar-card {
    min-height: 23rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

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

  .story-card__media,
  .photo-card__image {
    min-height: 18rem;
  }
}
