:root {
  --ink: #f8fafc;
  --ink-soft: #d1d5db;
  --muted: #a3a3a3;
  --paper: #090909;
  --paper-2: #171717;
  --white: #ffffff;
  --black: #050505;
  --green: #1f2937;
  --green-bright: #fce300;
  --orange: #d71920;
  --gold: #fce300;
  --rose: #d71920;
  --blue: #2563eb;
  --border: rgba(252, 227, 0, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.88)),
    url("https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?auto=format&fit=crop&w=1800&q=80");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  display: none;
  overflow: hidden;
}

.site-ambient span {
  position: absolute;
  width: 22vmin;
  height: 22vmin;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 50%;
  animation: drift 18s linear infinite;
}

.site-ambient span:nth-child(1) {
  left: 4%;
  top: 18%;
}

.site-ambient span:nth-child(2) {
  right: 8%;
  top: 24%;
  animation-delay: -6s;
  border-color: rgba(249, 115, 22, 0.2);
}

.site-ambient span:nth-child(3) {
  left: 18%;
  bottom: 8%;
  animation-delay: -11s;
  border-color: rgba(37, 99, 235, 0.18);
}

.site-ambient span:nth-child(4) {
  right: 18%;
  bottom: 14%;
  animation-delay: -14s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px;
  background: rgba(5, 5, 5, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.32);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--black) 0 33%, var(--gold) 33% 66%, var(--orange) 66% 100%);
  color: var(--black);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.24);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.section-pad {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  min-height: calc(100vh - 88px);
}

.hero-dramatic {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: min(820px, calc(100vh - 24px));
  margin-top: -78px;
  margin-bottom: 68px;
  padding: 190px max(16px, calc((100vw - var(--max)) / 2)) 150px;
  grid-template-columns: 1fr;
  text-align: center;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.82)),
    url("https://images.unsplash.com/photo-1509099836639-18ba1795216d?auto=format&fit=crop&w=2000&q=86");
  background-position: center 34%;
  background-size: cover;
}

.hero-dramatic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.18), transparent 50%, rgba(5, 5, 5, 0.72)),
    linear-gradient(90deg, rgba(215, 25, 32, 0.28), transparent 34%, rgba(252, 227, 0, 0.15));
}

.hero-dramatic .hero-copy {
  max-width: 860px;
  margin: 0 auto;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-dramatic .hero-copy h1 {
  color: var(--white);
  text-shadow: 0 6px 38px rgba(0, 0, 0, 0.62);
}

.hero-dramatic .hero-copy h1::after {
  content: "";
  display: block;
  width: min(280px, 54vw);
  height: 6px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.hero-copy p,
.page-hero p,
.section-heading p,
.story-copy p,
.about-copy p,
.trust-card p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
}

.hero-dramatic .hero-copy p {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.hero-copy p,
.page-hero p {
  max-width: 650px;
  margin: 28px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 18px 38px rgba(252, 227, 0, 0.24);
}

.button-ghost {
  background: rgba(5, 5, 5, 0.58);
  border-color: var(--border);
  color: var(--white);
}

.full-button {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.hero-stats span {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1rem;
}

.hero-dramatic .hero-stats {
  position: absolute;
  left: 50%;
  bottom: -54px;
  width: min(calc(100% - 32px), 1050px);
  padding: 18px;
  background: var(--gold);
  transform: translateX(-50%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.hero-dramatic .hero-stats span {
  min-height: 92px;
  background: transparent;
  border-color: rgba(5, 5, 5, 0.18);
  color: rgba(5, 5, 5, 0.72);
  text-align: left;
}

.hero-dramatic .hero-stats strong {
  color: var(--black);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.photo-stack {
  isolation: isolate;
}

.photo-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.photo-card img,
.profile-photo-panel img,
.impact-photo-wall img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card::after,
.gallery-art::after,
.profile-photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(17, 24, 39, 0.62));
  pointer-events: none;
}

.photo-card figcaption,
.profile-photo-panel figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--white);
  font-weight: 900;
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.36);
}

.hero-photo-main {
  inset: 34px 28px 72px 0;
  animation: photoFloat 7s ease-in-out infinite;
}

.hero-photo-side {
  right: 0;
  top: 0;
  width: 42%;
  height: 38%;
  animation: photoFloat 6s ease-in-out infinite -1.4s;
}

.hero-photo-small {
  left: 7%;
  bottom: 0;
  width: 48%;
  height: 30%;
  animation: photoFloat 6.5s ease-in-out infinite -2.2s;
}

.marquee-strip {
  overflow: hidden;
  padding: 14px 0;
  background: var(--black);
  color: var(--white);
  border-block: 3px solid var(--orange);
  transform: rotate(-1deg) scaleX(1.02);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 34px;
  animation: marquee 24s linear infinite;
}

.marquee-track span {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading h2,
.story-copy h2,
.about-copy h2,
.donor-panel h2,
.donate-aside h2,
.trust-card h2 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading p {
  margin: 18px 0 0;
  max-width: 660px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 36px;
  align-items: start;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.impact-card,
.promise-card,
.package-card,
.trust-card,
.donor-panel,
.donate-aside,
.gallery-card,
.phone-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(12, 12, 12, 0.88);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.impact-card {
  min-height: 300px;
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.impact-card:hover,
.promise-card:hover,
.package-card:hover,
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.14);
}

.icon-ring {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--black);
}

.icon-ring svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.impact-card h3,
.goal-lane h3,
.promise-card h3,
.timeline h3,
.gallery-card h2,
.phone-card strong,
.support-stack h3,
.package-card h3 {
  margin: 20px 0 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.impact-card p,
.goal-lane p,
.promise-card p,
.timeline p,
.gallery-card p,
.phone-card p,
.support-stack p,
.package-card p,
.donor-panel p,
.donate-aside p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.goals-band {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?auto=format&fit=crop&w=1800&q=82");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.goals-band .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.goal-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.goal-lane {
  position: relative;
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.goal-lane::before {
  display: none;
}

.goal-lane span {
  color: var(--gold);
  font-family: Anton, Impact, sans-serif;
  font-size: 3rem;
}

.goal-lane p {
  color: rgba(255, 255, 255, 0.76);
}

.story-panel,
.about-layout,
.trust-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.story-copy {
  padding: 46px;
  border-radius: var(--radius);
  background: rgba(12, 12, 12, 0.9);
  border: 1px solid var(--border);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.impact-photo-wall {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 420px;
}

.impact-photo-wall img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
}

.impact-photo-wall img:first-child {
  grid-row: span 2;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 24px;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 900;
}

.footer-links a {
  color: var(--green);
}

.page-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  min-height: 56vh;
}

.compact-hero {
  min-height: 44vh;
}

.profile-photo-panel {
  position: relative;
  margin: 0;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-copy {
  padding: 44px;
  border-left: 6px solid var(--orange);
  background: rgba(12, 12, 12, 0.9);
  border-radius: var(--radius);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.promise-card {
  min-height: 240px;
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.timeline {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(12, 12, 12, 0.88);
  border: 1px solid var(--border);
}

.timeline li > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-family: Anton, Impact, sans-serif;
  font-size: 1.7rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(320px, auto);
  gap: 18px;
}

.gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 320px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card > div:last-child {
  padding: 22px;
}

.gallery-art {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.gallery-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.28));
}

.art-school {
  background-image: url("https://images.unsplash.com/photo-1509099836639-18ba1795216d?auto=format&fit=crop&w=900&q=82");
}

.art-stage {
  background-image: url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=900&q=82");
}

.art-meal {
  background-image: url("https://images.unsplash.com/photo-1593113598332-cd288d649433?auto=format&fit=crop&w=900&q=82");
}

.art-road {
  background-image: url("https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?auto=format&fit=crop&w=1100&q=82");
}

.art-donor {
  background-image: url("https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?auto=format&fit=crop&w=900&q=82");
}

.art-health {
  background-image: url("https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?auto=format&fit=crop&w=900&q=82");
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.phone-card {
  position: relative;
  min-height: 360px;
  padding: 26px;
  overflow: hidden;
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: 24px 34px 98px;
  border: 10px solid var(--black);
  border-radius: 28px;
  background: linear-gradient(160deg, var(--gold), var(--orange), var(--rose));
  animation: phoneGlow 4s ease-in-out infinite;
}

.phone-card span {
  position: absolute;
  left: 50%;
  top: 42px;
  z-index: 1;
  width: 54px;
  height: 9px;
  border-radius: 20px;
  background: var(--black);
  transform: translateX(-50%);
}

.phone-card strong,
.phone-card p {
  position: relative;
  z-index: 2;
  display: block;
}

.phone-card strong {
  margin-top: 230px;
}

.donate-hero {
  align-items: center;
}

.donate-meter {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 10px;
  width: min(100%, 430px);
}

.donate-meter span {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  font-weight: 900;
  text-align: center;
  animation: tileWave 4s ease-in-out infinite;
}

.donate-meter span:nth-child(2) {
  background: var(--green);
  animation-delay: -0.6s;
}

.donate-meter span:nth-child(3) {
  background: var(--orange);
  animation-delay: -1.2s;
}

.donate-meter span:nth-child(4) {
  background: var(--blue);
  animation-delay: -1.8s;
}

.donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.donor-panel,
.donate-aside {
  padding: 24px;
}

.tab-list,
.mode-buttons,
.amount-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.donor-tab,
.gift-option,
.amount-chip {
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.donor-tab,
.gift-option {
  flex: 1 1 180px;
  padding: 0 18px;
}

.amount-chip {
  padding: 0 14px;
}

.donor-tab:hover,
.gift-option:hover,
.amount-chip:hover {
  transform: translateY(-2px);
}

.donor-tab.active,
.gift-option.active,
.amount-chip.active {
  background: var(--gold);
  color: var(--black);
}

.donor-content {
  display: none;
  margin-top: 28px;
}

.donor-content.active {
  display: block;
}

.payment-box {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(252, 227, 0, 0.1);
}

.payment-box span {
  color: var(--ink-soft);
  font-weight: 700;
}

.giving-mode,
.amount-picker {
  margin-top: 24px;
}

.giving-mode h3 {
  margin: 0 0 12px;
}

.donation-summary {
  margin: 18px 0 !important;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(252, 227, 0, 0.12);
  color: var(--gold) !important;
  font-weight: 900;
}

.support-stack {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.support-stack article {
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(252, 227, 0, 0.1), rgba(215, 25, 32, 0.12));
  border: 1px solid var(--border);
}

.support-stack span {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.package-card {
  padding: 24px;
  min-height: 230px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.package-card strong {
  display: block;
  margin: 18px 0;
  color: var(--gold);
  font-family: Anton, Impact, sans-serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
}

.package-card.featured {
  background: var(--black);
  color: var(--white);
}

.package-card.featured p,
.package-card.featured strong {
  color: rgba(255, 255, 255, 0.84);
}

.trust-card {
  min-height: 260px;
  padding: 34px;
}

.trust-card.dark {
  background: linear-gradient(135deg, var(--orange), var(--black));
  color: var(--white);
}

.trust-card.dark p {
  color: rgba(255, 255, 255, 0.78);
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

.delay-3 {
  transition-delay: 320ms;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(18px, -24px, 0) rotate(180deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(360deg);
  }
}

@keyframes photoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes orbitGlow {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes tileWave {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes phoneGlow {
  0%,
  100% {
    filter: saturate(1);
    transform: translateY(0);
  }
  50% {
    filter: saturate(1.3);
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .story-panel,
  .about-layout,
  .donate-layout,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 520px;
  }

  .impact-grid,
  .goal-lanes,
  .promise-grid,
  .phone-row,
  .package-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-card.wide {
    grid-column: span 1;
  }

  .page-hero {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: center;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 86px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(5, 5, 5, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section-pad {
    padding: 58px 0;
  }

  .hero-dramatic {
    min-height: auto;
    margin-bottom: 0;
    padding: 150px 16px 70px;
  }

  .hero-dramatic .hero-stats {
    position: static;
    width: 100%;
    margin: 34px auto 0;
    transform: none;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(3rem, 17vw, 5.2rem);
  }

  .hero-stats,
  .impact-grid,
  .goal-lanes,
  .promise-grid,
  .phone-row,
  .package-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 430px;
  }

  .poster-frame {
    inset: 58px 0 0;
  }

  .floating-note {
    display: none;
  }

  .story-copy,
  .about-copy,
  .trust-card {
    padding: 28px;
  }

  .impact-photo-wall {
    min-height: 260px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 440px) {
  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .hero-actions,
  .tab-list,
  .mode-buttons,
  .amount-picker {
    display: grid;
  }

  .button,
  .donor-tab,
  .gift-option,
  .amount-chip {
    width: 100%;
  }

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

  .donate-meter {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

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