/* ============================================
   ARTizapán — styles.css
   "Street-gallery maximalism meets editorial polish"
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --navy-deep: #0F1A2E;
  --navy: #1B2A4A;
  --navy-mid: #2C3E5A;
  --cyan: #00BCD4;
  --cyan-light: #4DD0E1;
  --teal: #009688;
  --yellow: #FFA726;
  --yellow-light: #FFD54F;
  --white: #FFFFFF;
  --white-muted: #B0BEC5;
  --coral: #FF7043;

  --font-heading: 'Permanent Marker', cursive;
  --font-sub: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-accent: 'Caveat', cursive;

  --nav-height: 64px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--white);
  background: var(--navy-deep);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--cyan-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover { color: var(--cyan); }

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

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 400;
}

h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

.section-heading {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5em;
  color: var(--white);
}

.section-heading--light { color: var(--white); }

.section-heading--center {
  display: block;
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--white-muted);
  margin-bottom: 3rem;
  text-align: center;
}

/* Spray-paint underline */
.spray-underline {
  position: absolute;
  bottom: -14px;
  left: -2%;
  width: 104%;
  height: 28px;
  overflow: visible;
}

.spray-underline .spray-main {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 1.2s ease-out;
  filter: url(#sprayGrain);
}

.spray-underline .spray-drift {
  opacity: 0;
  transition: opacity 0.6s ease 0.8s;
}

.anim-visible .spray-underline .spray-main,
.section-heading.anim-visible .spray-underline .spray-main {
  stroke-dashoffset: 0;
}

.anim-visible .spray-underline .spray-drift,
.section-heading.anim-visible .spray-underline .spray-drift {
  opacity: 0.7;
}

/* ---- Noise / Grain Overlay ---- */
.hero-noise,
.theory-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  z-index: 1;
}

/* ---- Paint Splatters (real splash images) ---- */
.splatter {
  position: absolute;
  opacity: 0 !important;
  transform: scale(0) var(--splat-rotate, rotate(0deg)) !important;
  transition: none !important;
  pointer-events: none;
  z-index: 0;
  object-fit: contain;
}

.splatter.splat-visible {
  animation: splatIn 0.6s cubic-bezier(0.12, 0.8, 0.3, 1) forwards !important;
  animation-delay: var(--splat-delay, 0s);
}

@keyframes splatIn {
  0%   { opacity: 0; transform: scale(0) var(--splat-rotate, rotate(0deg)); }
  50%  { opacity: var(--splat-opacity, 0.25); transform: scale(1.15) var(--splat-rotate, rotate(0deg)); }
  75%  { transform: scale(0.95) var(--splat-rotate, rotate(0deg)); }
  100% { opacity: var(--splat-opacity, 0.25); transform: scale(1) var(--splat-rotate, rotate(0deg)); }
}

/* Splatter positions — Hero */
.splatter--hero-1 { width: 600px; top: 5%; left: -150px; --splat-opacity: 0.18; --splat-rotate: rotate(-15deg); --splat-delay: 0.8s; }
.splatter--hero-2 { width: 550px; bottom: 10%; right: -120px; --splat-opacity: 0.15; --splat-rotate: rotate(20deg); --splat-delay: 1.2s; }
.splatter--hero-3 { width: 400px; top: 50%; left: 5%; --splat-opacity: 0.12; --splat-rotate: rotate(-30deg); --splat-delay: 1.6s; }

/* Splatter positions — About */
.splatter--about-1 { width: 330px; top: -60px; right: 3%; --splat-rotate: rotate(10deg); --splat-delay: 0.1s; }
.splatter--about-2 { width: 240px; bottom: 5%; left: -60px; --splat-rotate: rotate(-20deg); --splat-delay: 0.3s; }

/* Splatter positions — Theory */
.splatter--theory-1 { width: 360px; top: 5%; right: -90px; --splat-rotate: rotate(25deg); --splat-delay: 0.15s; }

/* Splatter positions — Inspiration */
.splatter--insp-1 { width: 270px; top: -60px; left: 8%; --splat-rotate: rotate(-10deg); --splat-delay: 0.1s; }
.splatter--insp-2 { width: 210px; bottom: 3%; right: 3%; --splat-rotate: rotate(30deg); --splat-delay: 0.3s; }

/* Splatter positions — Impact */
.splatter--impact-1 { width: 330px; bottom: -75px; left: -75px; --splat-rotate: rotate(15deg); --splat-delay: 0.15s; }

/* Splatter positions — Story */
.splatter--story-1 { width: 270px; top: 3%; right: -60px; --splat-rotate: rotate(-25deg); --splat-delay: 0.1s; }
.splatter--story-2 { width: 195px; bottom: 12%; left: 3%; --splat-rotate: rotate(20deg); --splat-delay: 0.3s; }

/* Splatter positions — Momentum */
.splatter--momentum-1 { width: 300px; top: -60px; left: 50%; --splat-rotate: rotate(-15deg); --splat-delay: 0.15s; }

/* Splatter positions — Team */
.splatter--team-1 { width: 270px; bottom: 8%; right: -50px; --splat-rotate: rotate(10deg); --splat-delay: 0.15s; }

/* Splatter positions — CTA */
.splatter--cta-1 { width: 360px; top: -75px; right: 8%; --splat-rotate: rotate(-20deg); --splat-delay: 0.1s; }
.splatter--cta-2 { width: 240px; bottom: 8%; left: -40px; --splat-rotate: rotate(25deg); --splat-delay: 0.3s; }

/* ---- Diagonal Section Dividers ---- */
.section-divider {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 3;
  pointer-events: none;
}

.section-divider--top {
  background: linear-gradient(to bottom right, var(--navy-deep) 49.5%, transparent 50.5%);
}

.section-divider--top-reverse {
  background: linear-gradient(to bottom left, var(--navy-deep) 49.5%, transparent 50.5%);
}

/* ---- Image Placeholders ---- */
.img-placeholder {
  background: var(--navy-deep);
  border: 2px dashed var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.img-placeholder span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--cyan);
  opacity: 0.7;
  text-align: center;
  padding: 8px;
}

/* ---- Photo Slots (rotating image containers) ---- */
.photo-slot {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  border-radius: 8px;
}

.photo-slot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: translateZ(0);
}

.photo-slot-img--active {
  opacity: 1;
}

/* Photo slot variants */
.photo-slot--float {
  width: 160px;
  height: 120px;
}

.photo-slot--collage {
  aspect-ratio: 4/3;
}


.photo-slot--circle {
  width: 182px;
  height: 182px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.photo-slot--impact {
  aspect-ratio: 3/2;
}


.photo-slot--bg {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

/* ---- Section 1: Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 10;
  position: relative;
  /* Full width prevents shrink-wrap reflow in the outer .hero flex container */
  width: 100%;
}

.hero-logo-icon {
  max-width: clamp(150px, 25vw, 280px);
  height: auto;
  margin-bottom: 1rem;
  opacity: 0;
  transform: scale(0.6);
  animation: logoReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.1s;
  filter: drop-shadow(0 0 30px rgba(0, 188, 212, 0.25));
}

@keyframes logoReveal {
  0%   { opacity: 0; transform: scale(0.6); }
  60%  { opacity: 1; }
  80%  { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-title {
  font-size: clamp(3rem, 10vw, 7rem);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero-letter {
  display: inline-block;
  opacity: 0;
  animation: sprayIn 0.5s ease-out both;
  animation-delay: calc(var(--i) * 0.08s + 0.3s);
  color: var(--white);
  text-shadow: 0 0 40px rgba(0, 188, 212, 0.3);
  will-change: opacity, transform;
}

.hero-letter--accent {
  color: var(--cyan);
}

@keyframes sprayIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-since {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--cyan-light);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1.0s;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1.2s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.8rem 1.5rem;
  flex: 1 1 0;
  max-width: 220px;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--yellow);
  /* Stable width so count-up animation ("0" → "25,000+") doesn't reflow stats */
  min-width: 3.5ch;
}

.hero-stat-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  color: var(--white);
  text-align: center;
  line-height: 1.3;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scattered mural collage */
.hero-float {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 320px;
  z-index: 8;
  pointer-events: none;
}

.hero-float--left { left: -30px; }
.hero-float--right { right: -30px; }

.hero-mural {
  position: absolute;
  width: 280px;
  height: 195px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: slapIn 0.5s cubic-bezier(0.22, 0.68, 0.35, 1.2) forwards;
  animation-delay: var(--d, 0s);
  border: 3px solid rgba(255, 255, 255, 0.1);
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-mural:hover {
  transform: var(--r, rotate(-4deg)) scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 188, 212, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4);
  border-color: var(--cyan);
  z-index: 10 !important;
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 26, 46, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(15, 26, 46, 0.92);
}

.lightbox img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  object-fit: contain;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.hero-mural img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes slapIn {
  0%   { opacity: 0; transform: var(--from, translateY(-80px) rotate(15deg)) scale(1.3); }
  70%  { opacity: 1; transform: var(--r, rotate(-4deg)) scale(1.03); }
  85%  { transform: var(--r, rotate(-4deg)) scale(0.98); }
  100% { opacity: 1; transform: var(--r, rotate(-4deg)) scale(1); }
}

/* Left side — scattered positions (spread across full hero height) */
.hero-float--left .hero-mural:nth-child(1) {
  top: 2%; left: 40px;
  --r: rotate(-5deg); --from: translateX(-100px) rotate(-20deg); --d: 0.4s;
}
.hero-float--left .hero-mural:nth-child(2) {
  top: 18%; left: -10px;
  --r: rotate(3deg); --from: translateY(-80px) rotate(15deg); --d: 0.7s;
  z-index: 2;
}
.hero-float--left .hero-mural:nth-child(3) {
  top: 38%; left: 50px;
  --r: rotate(-2deg); --from: translateX(-120px) rotate(-10deg); --d: 1.0s;
  z-index: 3;
}
.hero-float--left .hero-mural:nth-child(4) {
  top: 56%; left: -20px;
  --r: rotate(4deg); --from: translateY(80px) rotate(20deg); --d: 1.3s;
  z-index: 1;
}
.hero-float--left .hero-mural:nth-child(5) {
  top: 74%; left: 30px;
  --r: rotate(-3deg); --from: translateX(-90px) rotate(-15deg); --d: 1.6s;
  z-index: 4;
}

/* Right side — scattered positions (spread across full hero height) */
.hero-float--right .hero-mural:nth-child(1) {
  top: 4%; right: 30px; left: auto;
  --r: rotate(4deg); --from: translateX(100px) rotate(20deg); --d: 0.5s;
}
.hero-float--right .hero-mural:nth-child(2) {
  top: 22%; right: -15px; left: auto;
  --r: rotate(-3deg); --from: translateY(-80px) rotate(-15deg); --d: 0.8s;
  z-index: 2;
}
.hero-float--right .hero-mural:nth-child(3) {
  top: 40%; right: 40px; left: auto;
  --r: rotate(2deg); --from: translateX(120px) rotate(10deg); --d: 1.1s;
  z-index: 3;
}
.hero-float--right .hero-mural:nth-child(4) {
  top: 58%; right: -10px; left: auto;
  --r: rotate(-5deg); --from: translateY(80px) rotate(-20deg); --d: 1.4s;
  z-index: 1;
}
.hero-float--right .hero-mural:nth-child(5) {
  top: 74%; right: 20px; left: auto;
  --r: rotate(3deg); --from: translateX(90px) rotate(15deg); --d: 1.7s;
  z-index: 4;
}

@keyframes floatDrift {
  0%, 100% { transform: translateY(0) rotate(var(--r, -3deg)); }
  50% { transform: translateY(-20px) rotate(var(--r2, 2deg)); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  opacity: 0;
  animation: fadeSlideUpCentered 0.8s ease forwards;
  animation-delay: 2s;
}

@keyframes fadeSlideUpCentered {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.scroll-indicator-text {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
}

.scroll-indicator-chevron {
  color: var(--cyan);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---- Section 2: About ---- */
.section--about {
  background: var(--navy);
  padding-top: calc(var(--section-pad) + 40px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-collage {
  position: relative;
  width: 100%;
  min-height: 700px;
}

.about-mural {
  position: absolute;
  width: 200px;
  height: 140px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.about-mural:hover {
  z-index: 10 !important;
  transform: scale(1.08) !important;
  box-shadow: 0 12px 40px rgba(0, 188, 212, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4);
  border-color: var(--cyan);
}

.about-mural img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scattered positions, rotations & varied sizes */
.about-mural:nth-child(1) { top: -2%; left: 5%;  width: 300px; height: 210px; transform: rotate(-4deg); z-index: 2; }
.about-mural:nth-child(2) { top: 0;   left: 52%; width: 260px; height: 180px; transform: rotate(3deg);  z-index: 3; }
.about-mural:nth-child(3) { top: 25%; left: -3%; width: 230px; height: 160px; transform: rotate(2deg);  z-index: 4; }
.about-mural:nth-child(4) { top: 23%; left: 40%; width: 310px; height: 215px; transform: rotate(-5deg); z-index: 1; }
.about-mural:nth-child(5) { top: 48%; left: 8%;  width: 280px; height: 195px; transform: rotate(4deg);  z-index: 5; }
.about-mural:nth-child(6) { top: 50%; left: 55%; width: 220px; height: 155px; transform: rotate(-3deg); z-index: 2; }
.about-mural:nth-child(7) { top: 72%; left: 0;   width: 250px; height: 175px; transform: rotate(-2deg); z-index: 3; }
.about-mural:nth-child(8) { top: 70%; left: 45%; width: 290px; height: 200px; transform: rotate(5deg);  z-index: 4; }

.about-text {
  padding-left: 1rem;
}

.about-mission {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.pull-quote {
  font-family: var(--font-accent);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--yellow);
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--yellow);
  line-height: 1.3;
}

.about-vision {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: var(--white-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-map {
  max-width: 317px;
}

.tizapan-map {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 188, 212, 0.2));
}

/* ---- Section 3: Theory ---- */
.section--theory {
  background: #0B0B0B;
  padding-top: calc(var(--section-pad) + 40px);
}

.theory-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.theory-body {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.theory-callout {
  background: rgba(0, 188, 212, 0.08);
  border: 2px solid var(--cyan);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.theory-callout-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.theory-callout p {
  font-size: 0.95rem;
  color: var(--cyan-light);
  line-height: 1.7;
}

.theory-callout strong {
  color: var(--cyan);
}

.theory-footnote {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 3px solid var(--white-muted);
}

.theory-footnote-title {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.theory-footnote p:last-child {
  font-size: 0.85rem;
  color: var(--white-muted);
  line-height: 1.7;
}

.theory-images {
  position: sticky;
  top: 100px;
}

.theory-video {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.theory-video video {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* ---- Section 4: Inspiration ---- */
.section--inspiration {
  background: var(--navy);
  padding-top: calc(var(--section-pad) + 40px);
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.inspiration-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: visible;
}

.inspiration-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.inspiration-photo-wrap {
  position: relative;
  width: 208px;
  height: 208px;
  margin: 0 auto 1.5rem;
  overflow: visible;
}

.inspiration-video-circle {
  width: 182px;
  height: 182px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  overflow: hidden;
}

.inspiration-video-circle video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .img-placeholder--circle kept for Team section */

.inspiration-splash {
  position: absolute;
  width: 426px;
  height: 426px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.7;
  object-fit: contain;
  pointer-events: none;
}

.inspiration-city {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.inspiration-location {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--cyan-light);
  margin-bottom: 1rem;
}

.inspiration-desc {
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.7;
}

/* ---- Section 5: Impact ---- */
.section--impact {
  background: var(--navy-deep);
  padding-top: calc(var(--section-pad) + 40px);
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.impact-benefits {
  padding-right: 1rem;
}

.benefit-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
  transform: translateX(8px);
  border-color: var(--cyan);
}

.benefit-number {
  flex-shrink: 0;
  width: 60px;
  height: 75px;
}

.benefit-number-svg { width: 100%; height: 100%; }

.benefit-content h3 {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.benefit-content p {
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.7;
}

.impact-collage {
  position: relative;
  width: 100%;
  min-height: 750px;
}

.impact-mural {
  position: absolute;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.impact-mural:hover {
  z-index: 10 !important;
  transform: scale(1.08) !important;
  box-shadow: 0 12px 40px rgba(0, 188, 212, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4);
  border-color: var(--cyan);
}

.impact-mural img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scattered positions, rotations & varied sizes — 12 impact photos */
.impact-mural:nth-child(1)  { top: -2%; left: 5%;  width: 280px; height: 195px; transform: rotate(-3deg); z-index: 2; }
.impact-mural:nth-child(2)  { top: 0;   left: 50%; width: 240px; height: 165px; transform: rotate(4deg);  z-index: 3; }
.impact-mural:nth-child(3)  { top: 18%; left: -2%; width: 220px; height: 155px; transform: rotate(2deg);  z-index: 4; }
.impact-mural:nth-child(4)  { top: 16%; left: 42%; width: 290px; height: 200px; transform: rotate(-5deg); z-index: 1; }
.impact-mural:nth-child(5)  { top: 34%; left: 8%;  width: 260px; height: 180px; transform: rotate(3deg);  z-index: 5; }
.impact-mural:nth-child(6)  { top: 33%; left: 55%; width: 210px; height: 145px; transform: rotate(-2deg); z-index: 2; }
.impact-mural:nth-child(7)  { top: 50%; left: -1%; width: 250px; height: 170px; transform: rotate(-4deg); z-index: 3; }
.impact-mural:nth-child(8)  { top: 49%; left: 46%; width: 275px; height: 190px; transform: rotate(5deg);  z-index: 4; }
.impact-mural:nth-child(9)  { top: 66%; left: 5%;  width: 230px; height: 160px; transform: rotate(2deg);  z-index: 2; }
.impact-mural:nth-child(10) { top: 65%; left: 48%; width: 260px; height: 180px; transform: rotate(-3deg); z-index: 5; }
.impact-mural:nth-child(11) { top: 82%; left: 0;   width: 270px; height: 185px; transform: rotate(4deg);  z-index: 1; }
.impact-mural:nth-child(12) { top: 80%; left: 50%; width: 235px; height: 165px; transform: rotate(-2deg); z-index: 3; }

/* ---- Supporters Carousel ---- */
.section--supporters {
  background: var(--navy-deep);
  padding-bottom: calc(var(--section-pad) * 0.6);
}

.supporters-track-wrapper {
  width: 100%;
  margin-top: 2.5rem;
}

.supporters-track {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.supporter-logo {
  flex-shrink: 0;
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.supporter-logo:hover {
  opacity: 1;
}

.supporter-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Section 6: Story / Timeline ---- */
.section--story {
  background: var(--navy);
  padding-top: calc(var(--section-pad) + 40px);
}

/* Horizontal scrolling timeline */
.timeline {
  position: relative;
  margin-top: 2rem;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) rgba(255, 255, 255, 0.05);
}

.timeline::-webkit-scrollbar {
  height: 6px;
}

.timeline::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.timeline::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 3px;
}

.timeline-track {
  display: flex;
  gap: 2rem;
  position: relative;
  padding: 3rem 1rem 2rem;
  min-width: max-content;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--cyan), var(--yellow), var(--coral), var(--cyan));
  border-radius: 2px;
}

.timeline-milestone {
  position: relative;
  flex: 0 0 320px;
  padding-top: 1rem;
}

.timeline-dot {
  position: absolute;
  top: -3rem;
  left: 2rem;
  width: 18px;
  height: 18px;
  background: var(--dot-color, var(--cyan));
  border: 4px solid var(--navy);
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 0 16px color-mix(in srgb, var(--dot-color, var(--cyan)) 50%, transparent);
}

.timeline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.8rem;
  position: relative;
  height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.timeline-card:hover {
  border-color: var(--dot-color, var(--cyan));
  transform: translateY(-4px);
}

.timeline-numeral {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--dot-color, var(--cyan));
  opacity: 0.4;
  position: absolute;
  top: -0.3rem;
  right: 1.2rem;
}

.timeline-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.timeline-date {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--dot-color, var(--yellow));
  display: block;
  margin-bottom: 0.8rem;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--white-muted);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.timeline-desc em {
  color: var(--cyan-light);
  font-style: italic;
}

/* ---- Featured Video Section ---- */
.section--video {
  background: var(--navy);
  padding-top: calc(var(--section-pad) + 40px);
  padding-bottom: var(--section-pad);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}

.video-description {
  padding-right: 1rem;
}

.video-brigade-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.video-brigade-text {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: var(--white-muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.video-wrapper {
  width: 100%;
  max-width: 380px;
  margin-left: auto;
  aspect-ratio: 9/16;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 188, 212, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- Section 7: Momentum ---- */
.section--momentum {
  background: var(--navy-deep);
  padding-top: calc(var(--section-pad) + 40px);
  position: relative;
}

.momentum-bg-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  opacity: 0.05;
  z-index: 0;
}

.photo-slot--bg {
  animation: slowDrift 30s ease-in-out infinite;
}

@keyframes slowDrift {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.momentum-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--navy-deep), rgba(15, 26, 46, 0.95), var(--navy-deep));
  z-index: 1;
}

.section--momentum .container { z-index: 5; }

.momentum-grid {
  display: flex;
  gap: 1.5rem;
}

.momentum-card {
  flex: 1 1 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.momentum-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 12px 40px rgba(0, 188, 212, 0.1);
}

.momentum-card:nth-child(2) { transform: translateY(20px); }
.momentum-card:nth-child(4) { transform: translateY(30px); }
.momentum-card:nth-child(2):hover { transform: translateY(14px); }
.momentum-card:nth-child(4):hover { transform: translateY(24px); }

.momentum-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.momentum-card h3 {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.momentum-card p {
  font-size: 0.85rem;
  color: var(--white-muted);
  line-height: 1.7;
}

/* ---- Section 8: Team ---- */
.section--team {
  background: var(--navy);
  padding-top: calc(var(--section-pad) + 40px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 2rem 1rem;
  overflow: visible;
}

.team-photo-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  overflow: visible;
}

.img-placeholder--team {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.team-splash {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.7;
  object-fit: contain;
  pointer-events: none;
}

.team-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover .team-photo {
  transform: translate(-50%, -50%) scale(1.05);
}

.team-card:hover .img-placeholder--team {
  transform: translate(-50%, -50%) scale(1.05);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-name {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.team-cred {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--cyan-light);
  margin-bottom: 0.2rem;
}

.team-location {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--white-muted);
}

/* ---- Section 9: CTA ---- */
.section--cta {
  background: var(--navy-deep);
  padding-top: calc(var(--section-pad) + 40px);
  position: relative;
  overflow: hidden;
}

.cta-energy {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 167, 38, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(255, 112, 67, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 188, 212, 0.08) 0%, transparent 50%);
  z-index: 0;
}

.cta-container {
  text-align: center;
  z-index: 5;
  position: relative;
}

.cta-heading {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--yellow);
  margin-bottom: 1rem;
  text-shadow: 0 0 60px rgba(255, 167, 38, 0.3);
}

.cta-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--white-muted);
  margin-bottom: 3rem;
}

.cta-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.cta-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 167, 38, 0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.cta-step:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.cta-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--coral));
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-step h3 {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.cta-step p {
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: none;
  letter-spacing: 0.02em;
}

.btn:hover {
  transform: scale(1.05);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--yellow), var(--coral));
  color: var(--navy-deep);
  box-shadow: 0 8px 32px rgba(255, 167, 38, 0.3);
}

.btn--primary:hover {
  color: var(--navy-deep);
  box-shadow: 0 12px 48px rgba(255, 167, 38, 0.5);
}

.btn--secondary {
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
}

.btn--secondary:hover {
  color: var(--navy-deep);
  background: var(--cyan);
  box-shadow: 0 8px 32px rgba(0, 188, 212, 0.3);
}

/* Ripple effect */
.btn--ripple .ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---- Spray Divider (CTA → Footer) ---- */
.spray-divider {
  width: 100%;
  position: relative;
  z-index: 10;
  margin-top: -14px;
  margin-bottom: -14px;
}

.spray-divider-svg {
  display: block;
  width: 100%;
  height: 28px;
  overflow: visible;
}

.spray-divider .spray-main {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 1.8s ease-out;
  filter: url(#sprayGrain);
}

.spray-divider .spray-drift {
  opacity: 0;
  transition: opacity 0.6s ease 1.2s;
}

.spray-divider.anim-visible .spray-main {
  stroke-dashoffset: 0;
}

.spray-divider.anim-visible .spray-drift {
  opacity: 0.6;
}

/* ---- Footer ---- */
.footer {
  background: var(--navy-deep);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.logo-accent { color: var(--cyan); }

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white-muted);
  margin-bottom: 1.5rem;
}

.footer-contact a {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cyan-light);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.footer-social-link {
  color: var(--white-muted);
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-link:hover {
  color: var(--cyan);
  transform: scale(1.15);
}

.footer-made {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--white-muted);
  margin-top: 1.5rem;
  opacity: 0.7;
}

/* ============================================
   STICKY NAVIGATION
   ============================================ */

.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 26, 46, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.sticky-nav.visible {
  transform: translateY(0);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(15, 26, 46, 0.95);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.5);
}

.nav-logo:hover { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--yellow) !important;
  color: var(--navy-deep) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 167, 38, 0.4);
  background: var(--yellow-light) !important;
  color: var(--navy-deep) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.anim-on-scroll {
  opacity: 0;
}

.anim-slide-up {
  transform: translateY(40px);
}

.anim-slide-left {
  transform: translateX(-40px);
}

.anim-slide-right {
  transform: translateX(40px);
}

.anim-pop {
  transform: scale(0.85);
}

/* Variant-specific keyframe animations (replaces transitions) */
.anim-slide-up.anim-visible    { animation: revealSlideUp 0.7s ease forwards; animation-delay: var(--delay, 0s); }
.anim-slide-left.anim-visible  { animation: revealSlideLeft 0.7s ease forwards; animation-delay: var(--delay, 0s); }
.anim-slide-right.anim-visible { animation: revealSlideRight 0.7s ease forwards; animation-delay: var(--delay, 0s); }
.anim-pop.anim-visible         { animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; animation-delay: var(--delay, 0s); }
.anim-fade.anim-visible        { animation: revealFade 0.7s ease forwards; animation-delay: var(--delay, 0s); }

@keyframes revealSlideUp    { from { opacity: 0; transform: translateY(40px); }  to { opacity: 1; transform: none; } }
@keyframes revealSlideLeft  { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes revealSlideRight { from { opacity: 0; transform: translateX(40px); }  to { opacity: 1; transform: none; } }
@keyframes revealFade       { from { opacity: 0; }                                to { opacity: 1; } }

@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.85); }
  60%  { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}

/* Keep staggered momentum cards offset after animation */
.momentum-card.anim-pop.anim-visible:nth-child(2) {
  animation-name: popInOffset20;
}
.momentum-card.anim-pop.anim-visible:nth-child(4) {
  animation-name: popInOffset30;
}

@keyframes popInOffset20 {
  0%   { opacity: 0; transform: translateY(20px) scale(0.85); }
  60%  { opacity: 1; transform: translateY(20px) scale(1.03); }
  100% { opacity: 1; transform: translateY(20px) scale(1); }
}

@keyframes popInOffset30 {
  0%   { opacity: 0; transform: translateY(30px) scale(0.85); }
  60%  { opacity: 1; transform: translateY(30px) scale(1.03); }
  100% { opacity: 1; transform: translateY(30px) scale(1); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets & small desktops */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .theory-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .theory-text .section-heading,
  .impact-benefits .section-heading {
    display: block;
    text-align: center;
  }

  .impact-benefits .section-subtitle {
    text-align: center;
  }

  .theory-images {
    position: static;
  }

  .theory-video {
    max-width: 500px;
    margin: 0 auto;
  }

  .theory-arrow svg {
    transform: rotate(0);
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .impact-collage {
    position: relative;
    min-height: 480px;
    max-width: 100%;
    margin: 0 auto;
  }

  .impact-mural {
    width: 150px !important;
    height: 108px !important;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .video-wrapper {
    width: 280px;
    margin: 0 auto;
  }

  .video-description {
    padding-right: 0;
  }

  .momentum-grid {
    flex-wrap: wrap;
  }

  .momentum-card {
    flex: 0 1 calc(50% - 1rem);
  }

  .momentum-card:nth-child(2),
  .momentum-card:nth-child(4) {
    transform: translateY(0);
  }
  .momentum-card:nth-child(2):hover,
  .momentum-card:nth-child(4):hover {
    transform: translateY(-6px);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .cta-steps {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 3rem;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  /* Tablet/mobile hero letters — simple fade, no translateY to prevent visual jump */
  .hero-letter {
    animation: none;
    opacity: 0;
    transform: none;
    animation: heroFadeMobile 0.6s ease-out both;
    animation-delay: calc(var(--i) * 0.07s + 0.2s);
  }

  @keyframes heroFadeMobile {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .hero-float {
    width: 140px;
  }
  .hero-mural {
    width: 120px;
    height: 85px;
  }

  .inspiration-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .timeline-milestone {
    flex: 0 0 280px;
  }

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

  /* Hero murals — fix overflow, reduce count */
  .hero-float--left { left: 10px; }
  .hero-float--right { right: 10px; }
  .hero-float--left .hero-mural:nth-child(n+4),
  .hero-float--right .hero-mural:nth-child(n+4) {
    display: none;
  }

  /* About collage — custom tablet positions, varied sizes, centered */
  .about-collage {
    min-height: 520px;
  }
  .about-mural:nth-child(1) { top: 0;   left: 0;   width: 52% !important; height: 115px !important; }
  .about-mural:nth-child(2) { top: 0;   left: 50%; width: 48% !important; height: 105px !important; }
  .about-mural:nth-child(3) { top: 18%; left: 2%;  width: 44% !important; height: 100px !important; }
  .about-mural:nth-child(4) { top: 17%; left: 43%; width: 55% !important; height: 115px !important; }
  .about-mural:nth-child(5) { top: 38%; left: 0;   width: 50% !important; height: 110px !important; }
  .about-mural:nth-child(6) { top: 39%; left: 48%; width: 50% !important; height: 95px !important; }
  .about-mural:nth-child(7) { top: 58%; left: 3%;  width: 46% !important; height: 105px !important; }
  .about-mural:nth-child(8) { top: 57%; left: 47%; width: 52% !important; height: 110px !important; }

  /* Impact collage — custom tablet positions, varied sizes, centered */
  .impact-collage {
    min-height: 620px;
  }
  .impact-mural:nth-child(1)  { top: 0;   left: 2%;  width: 48% !important; height: 110px !important; }
  .impact-mural:nth-child(2)  { top: 0;   left: 48%; width: 50% !important; height: 100px !important; }
  .impact-mural:nth-child(3)  { top: 14%; left: 0;   width: 42% !important; height: 95px !important; }
  .impact-mural:nth-child(4)  { top: 13%; left: 40%; width: 58% !important; height: 115px !important; }
  .impact-mural:nth-child(5)  { top: 28%; left: 3%;  width: 52% !important; height: 105px !important; }
  .impact-mural:nth-child(6)  { top: 29%; left: 52%; width: 46% !important; height: 90px !important; }
  .impact-mural:nth-child(7)  { top: 43%; left: 0;   width: 46% !important; height: 100px !important; }
  .impact-mural:nth-child(8)  { top: 42%; left: 44%; width: 54% !important; height: 110px !important; }
  .impact-mural:nth-child(9)  { top: 58%; left: 2%;  width: 50% !important; height: 100px !important; }
  .impact-mural:nth-child(10) { top: 57%; left: 50%; width: 48% !important; height: 105px !important; }
  .impact-mural:nth-child(11) { top: 72%; left: 0;   width: 53% !important; height: 105px !important; }
  .impact-mural:nth-child(12) { top: 73%; left: 51%; width: 47% !important; height: 95px !important; }

  /* Inspiration — scale down */
  .inspiration-photo-wrap {
    width: 180px;
    height: 180px;
  }
  .inspiration-video-circle {
    width: 158px;
    height: 158px;
  }
  .inspiration-splash {
    width: 360px;
    height: 360px;
  }

  /* Timeline — scroll snap */
  .timeline {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .timeline-milestone {
    scroll-snap-align: start;
  }

  /* Video — responsive width */
  .video-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Team — scale down */
  .team-photo-wrap {
    width: 130px;
    height: 130px;
  }
  .team-photo {
    width: 110px;
    height: 110px;
  }
  .team-splash {
    width: 260px;
    height: 260px;
  }

  /* Touch targets */
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }
  .lightbox-close {
    width: 48px;
    height: 48px;
  }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(15, 26, 46, 0.98);
    padding: 0;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    max-height: 400px;
    padding: 1.5rem 0;
  }

  .nav-links li {
    padding: 0.75rem 2rem;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --section-pad: 48px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  /* heroFadeMobile already defined in ≤768px query */

  /* Hero murals — show all 10, decorative */
  .hero-float {
    width: 180px;
    opacity: 0.5;
  }
  .hero-float--left { left: -20px; }
  .hero-float--right { right: -20px; }
  .hero-mural {
    width: 160px;
    height: 112px;
  }
  /* Override the 768px hiding rule — show all 5 per side */
  .hero-float--left .hero-mural:nth-child(n+4),
  .hero-float--right .hero-mural:nth-child(n+4) {
    display: block;
  }
  /* Stack images centered in the hero viewport */
  .hero-float--left .hero-mural:nth-child(1) { top: 18%; }
  .hero-float--left .hero-mural:nth-child(2) { top: 30%; }
  .hero-float--left .hero-mural:nth-child(3) { top: 42%; }
  .hero-float--left .hero-mural:nth-child(4) { top: 54%; }
  .hero-float--left .hero-mural:nth-child(5) { top: 66%; }
  .hero-float--right .hero-mural:nth-child(1) { top: 20%; }
  .hero-float--right .hero-mural:nth-child(2) { top: 32%; }
  .hero-float--right .hero-mural:nth-child(3) { top: 44%; }
  .hero-float--right .hero-mural:nth-child(4) { top: 56%; }
  .hero-float--right .hero-mural:nth-child(5) { top: 68%; }

  /* About collage — custom mobile positions, varied sizes, centered */
  .about-collage {
    min-height: 430px;
  }
  .about-mural:nth-child(1) { top: 0;   left: 0;   width: 52% !important; height: 90px !important; }
  .about-mural:nth-child(2) { top: 0;   left: 50%; width: 48% !important; height: 82px !important; }
  .about-mural:nth-child(3) { top: 17%; left: 2%;  width: 44% !important; height: 78px !important; }
  .about-mural:nth-child(4) { top: 16%; left: 43%; width: 55% !important; height: 92px !important; }
  .about-mural:nth-child(5) { top: 35%; left: 0;   width: 50% !important; height: 85px !important; }
  .about-mural:nth-child(6) { top: 36%; left: 48%; width: 50% !important; height: 75px !important; }
  .about-mural:nth-child(7) { top: 54%; left: 3%;  width: 46% !important; height: 82px !important; }
  .about-mural:nth-child(8) { top: 53%; left: 47%; width: 52% !important; height: 88px !important; }

  /* Impact collage — custom mobile positions, varied sizes, centered */
  .impact-collage {
    min-height: 520px;
  }
  .impact-mural:nth-child(1)  { top: 0;   left: 2%;  width: 48% !important; height: 90px !important; }
  .impact-mural:nth-child(2)  { top: 0;   left: 48%; width: 50% !important; height: 80px !important; }
  .impact-mural:nth-child(3)  { top: 14%; left: 0;   width: 42% !important; height: 75px !important; }
  .impact-mural:nth-child(4)  { top: 13%; left: 40%; width: 58% !important; height: 95px !important; }
  .impact-mural:nth-child(5)  { top: 28%; left: 3%;  width: 52% !important; height: 85px !important; }
  .impact-mural:nth-child(6)  { top: 29%; left: 52%; width: 46% !important; height: 75px !important; }
  .impact-mural:nth-child(7)  { top: 43%; left: 0;   width: 46% !important; height: 82px !important; }
  .impact-mural:nth-child(8)  { top: 42%; left: 44%; width: 54% !important; height: 90px !important; }
  .impact-mural:nth-child(9)  { top: 58%; left: 2%;  width: 50% !important; height: 80px !important; }
  .impact-mural:nth-child(10) { top: 57%; left: 50%; width: 48% !important; height: 88px !important; }
  .impact-mural:nth-child(11) { top: 72%; left: 0;   width: 53% !important; height: 85px !important; }
  .impact-mural:nth-child(12) { top: 73%; left: 51%; width: 47% !important; height: 78px !important; }

  /* Inspiration — further scaling */
  .inspiration-photo-wrap {
    width: 160px;
    height: 160px;
  }
  .inspiration-video-circle {
    width: 140px;
    height: 140px;
  }
  .inspiration-splash {
    width: 300px;
    height: 300px;
    opacity: 0.5;
  }

  /* Timeline — narrower cards */
  .timeline-milestone {
    flex: 0 0 260px;
  }
  .timeline-card {
    padding: 1.2rem;
  }
  .timeline-title {
    font-size: 1.1rem;
  }
  .timeline-desc {
    font-size: 0.8rem;
  }

  /* Video — full width */
  .video-wrapper {
    max-width: 100%;
    width: 100%;
  }

  /* Supporter logos — smaller */
  .supporter-logo {
    width: 120px;
    height: 60px;
  }
  .supporters-track {
    gap: 2rem;
  }

  /* Team — further scaling */
  .team-photo-wrap {
    width: 120px;
    height: 120px;
  }
  .team-photo {
    width: 100px;
    height: 100px;
  }
  .team-splash {
    width: 220px;
    height: 220px;
    opacity: 0.6;
  }

  .theory-arrow svg {
    transform: rotate(90deg);
  }

  .momentum-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--cyan) rgba(255, 255, 255, 0.05);
  }

  .momentum-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .section-divider {
    height: 40px;
  }

  .splatter {
    display: none;
  }

  .pull-quote {
    font-size: 1.6rem;
  }
}

/* Small phones (iPhone SE, etc.) */
@media (max-width: 375px) {
  :root {
    --section-pad: 36px;
  }

  .container {
    width: 92%;
  }

  .hero-stats {
    gap: 1rem;
  }
  .hero-stat {
    padding: 0.6rem 1rem;
  }
  .hero-stat-number {
    font-size: 1.3rem;
  }
  .hero-stat-label {
    font-size: 0.65rem;
  }

  .btn {
    min-height: 44px;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }

  .nav-links li {
    padding: 0.9rem 2rem;
  }

  .supporter-logo {
    width: 100px;
    height: 50px;
  }
  .supporters-track {
    gap: 1.5rem;
  }

  .section-divider {
    height: 30px;
  }
}

/* Wide screens */
@media (min-width: 1440px) {
  :root {
    --container-max: 1320px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

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

  .hero-letter {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-tagline,
  .hero-badge,
  .scroll-indicator {
    opacity: 1;
  }

  .anim-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero-mural {
    animation: none;
    opacity: 1;
    transform: var(--r, rotate(-4deg)) scale(1);
    filter: none;
  }

  .photo-slot--bg {
    animation: none;
  }

  .photo-slot-img {
    transition: none;
  }

  .splatter {
    opacity: var(--splat-opacity, 0.2) !important;
    transform: scale(1) var(--splat-rotate, rotate(0deg)) !important;
    animation: none !important;
  }
}

/* ============================================
   ACCESSIBILITY: SCREEN READER ONLY
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */

.nav-links .nav-lang {
  background: none;
  border: none;
  color: var(--white-muted);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.nav-links .nav-lang:hover {
  color: var(--white);
}

.nav-links .nav-lang::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links .nav-lang:hover::after {
  width: 100%;
}