/* =========================================================
   LET'S TALK PHILLY — 2026 REDESIGN
   style.css  |  Human-centric · Airy · Editorial
   Font: Plus Jakarta Sans
   ========================================================= */

/* ── GOOGLE FONT ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ═══════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
  /* ── Core Palette ── */
  --clr-bg:           #F8F7F4;       /* warm off-white — used site-wide */
  --clr-bg-card:      #FFFFFF;
  --clr-bg-subtle:    #F1EDE6;       /* slightly warmer tint for subtle sections */
  --clr-navy:         #1A3550;       /* deep navy — headlines, CTAs */
  --clr-navy-mid:     #2B4D6F;       /* mid navy — hover states */
  --clr-navy-dark:    #0F2033;       /* darkest navy — donate card bg */
  --clr-coral:        #E05A2B;       /* vibrant warm coral — primary CTA */
  --clr-coral-hover:  #F0703E;
  --clr-gold:         #F5B944;       /* warm gold accent */
  --clr-text:         #1A1814;       /* near-black — body copy */
  --clr-text-mid:     #4C4540;       /* medium — paragraph text */
  --clr-text-muted:   #8A847C;       /* muted — labels, captions */
  --clr-border:       #E6E0D8;       /* subtle warm border */
  --clr-border-light: #F0EAE2;       /* very light rule */

  /* ── Typography ── */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Spacing ── */
  --sp-xs:    0.5rem;
  --sp-sm:    1rem;
  --sp-md:    1.5rem;
  --sp-lg:    2.5rem;
  --sp-xl:    4rem;
  --sp-2xl:   6rem;
  --sp-3xl:   clamp(5rem, 9vw, 8rem);

  /* ── Radius ── */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   36px;
  --r-full: 9999px;

  /* ── Shadows ── */
  --sh-xs:   0 1px 4px  rgba(26, 24, 20, 0.06);
  --sh-sm:   0 4px 12px rgba(26, 24, 20, 0.07);
  --sh-md:   0 10px 28px rgba(26, 24, 20, 0.10);
  --sh-lg:   0 20px 52px rgba(26, 24, 20, 0.14);
  --sh-xl:   0 36px 80px rgba(26, 24, 20, 0.18);

  /* ── Motion ── */
  --ease:        0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
  --ease-fast:   0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ═══════════════════════════════════════════
   GLOBAL TYPE HELPERS
   ═══════════════════════════════════════════ */

/* Shared section eyebrow */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-coral);
  margin-bottom: 1.125rem;
}
.section-eyebrow--light { color: var(--clr-gold); }

/* Shared section heading */
.section-heading {
  font-size: clamp(2.125rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--clr-navy);
  margin-bottom: 1.375rem;
}

/* Shared section lead paragraph */
.section-lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 400;
  color: var(--clr-text-mid);
  line-height: 1.85;
  max-width: 600px;
}


/* ═══════════════════════════════════════════
   BUTTONS — micro-interaction system
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  min-height: 48px;       /* WCAG / mobile touch target */
  border-radius: var(--r-full);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

/* Mobile: full-width stacked buttons for easy thumb tapping */
@media (max-width: 479px) {
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
  }
}

/* Coral — primary CTA */
.btn--coral {
  background: var(--clr-coral);
  color: #fff;
  border-color: var(--clr-coral);
}
.btn--coral:hover,
.btn--coral:focus-visible {
  background: var(--clr-coral-hover);
  border-color: var(--clr-coral-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(224, 90, 43, 0.32);
}

/* Ghost — transparent on light bg, warm terracotta hover */
.btn--ghost {
  background: transparent;
  color: var(--clr-text-mid);
  border-color: var(--clr-border);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(224, 90, 43, 0.07);
  color: var(--clr-coral);
  border-color: var(--clr-coral);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(224, 90, 43, 0.12);
}

/* Navy — solid navy fill */
.btn--navy {
  background: var(--clr-navy);
  color: #fff;
  border-color: var(--clr-navy);
}
.btn--navy:hover,
.btn--navy:focus-visible {
  background: var(--clr-navy-mid);
  border-color: var(--clr-navy-mid);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26, 53, 80, 0.28);
}

/* Card — subtle text link with arrow feel */
.btn--card {
  background: transparent;
  color: var(--clr-coral);
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  gap: 0.35rem;
  border-radius: 0;
  position: relative;
}
.btn--card::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--clr-coral);
  transition: width var(--ease);
}
.btn--card:hover::after,
.btn--card:focus-visible::after { width: 100%; }
.btn--card:hover,
.btn--card:focus-visible { color: var(--clr-coral-hover); }

/* Donate — reversed white-on-navy */
.btn--donate {
  background: #fff;
  color: var(--clr-navy-dark);
  border-color: #fff;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
}
.btn--donate:hover,
.btn--donate:focus-visible {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-navy-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

/* ── Accessibility ── */
:focus-visible {
  outline: 3px solid var(--clr-coral);
  outline-offset: 4px;
}


/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }

/* ── Reveal-on-scroll — silk entrance for section headers & CTA blocks ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity  0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered delay helpers for card grids */
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }

/* ── Keyframes: hero ambient orbs — GPU-accelerated via translate3d ── */
@keyframes floatGlow {
  0%   { transform: translate3d(0,     0,     0) scale(0.85); }
  100% { transform: translate3d(140px, -70px, 0) scale(1.25); }
}

/* ── Keyframes: section reveal + manifesto entrance ── */
@keyframes floatUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatIn {
  0%   { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Watermark — fades to 8% final opacity */
@keyframes floatInWatermark {
  0%   { opacity: 0;    transform: translateY(20px); }
  100% { opacity: 0.08; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in,
  .reveal-on-scroll { opacity: 1; transform: none; }
  .donate__manifesto .donate__manifesto-mark { opacity: 0.08; animation: none; }
  .donate__manifesto .donate__quote,
  .donate__manifesto .donate__quote-attr,
  .donate__manifesto .donate__manifesto-pill { opacity: 1; animation: none; }
}


/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.375rem 0;
  transition: background var(--ease), box-shadow var(--ease), padding var(--ease);
}

/* Transparent on light hero — dark text */
.nav.scrolled {
  background: rgba(248, 247, 244, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 var(--clr-border), 0 4px 20px rgba(26,24,20,0.06);
}

.nav__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.nav__logo-img-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--sh-xs);
  border: 1.5px solid var(--clr-border);
}
.nav__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nav__logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--clr-navy);
  display: none;
}
@media (min-width: 480px) { .nav__logo-text { display: block; } }

/* Links */
.nav__links {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-text-mid);
  padding: 0.45rem 0.875rem;
  border-radius: var(--r-sm);
  transition: color var(--ease-fast), background var(--ease-fast);
  letter-spacing: 0.005em;
}
.nav__link:hover,
.nav__link.active {
  color: var(--clr-coral);
  background: rgba(224, 90, 43, 0.07);
}

.nav__link--cta {
  background: var(--clr-coral);
  color: #fff !important;
  padding: 0.5rem 1.125rem;
  min-height: 44px;              /* WCAG tap target */
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-full);
  margin-left: 0.5rem;
  white-space: nowrap;
  transition: all var(--ease);
}
.nav__link--cta:hover {
  background: var(--clr-coral-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(224,90,43,0.28);
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  width: 48px;
  height: 48px;       /* 48px touch target */
  z-index: 1001;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-navy);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop */
@media (min-width: 940px) {
  .nav__hamburger { display: none; }
  .nav__links     { display: flex; }
}

/* Mobile overlay */
@media (max-width: 939px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(248, 247, 244, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    z-index: 1000;
  }
  .nav__links.open { display: flex; }
  .nav__link {
    font-size: 1.375rem;
    padding: 0.75rem 2rem;
    color: var(--clr-navy);
  }
  .nav__link--cta {
    margin-left: 0;
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
  }
}


/* ═══════════════════════════════════════════
   HERO — editorial two-column
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100dvh;
  min-height: 100vh;
  /* Warm radial glow behind the logo composition (right column, ~72% across) */
  background:
    radial-gradient(ellipse 55% 65% at 72% 52%, rgba(224, 90, 43, 0.08) 0%, transparent 68%),
    radial-gradient(ellipse 40% 50% at 68% 48%, rgba(245, 185, 68, 0.06) 0%, transparent 60%),
    linear-gradient(145deg, #F3EFE8 0%, #F8F7F4 45%, #EEF3F7 100%);
  display: grid;
  place-items: center;
  /* padding-right: 4rem ensures right-side content never touches the viewport edge */
  padding: 8rem 4rem 5rem clamp(1.25rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

/* ── Animated ambient orb 1 — top-left ── */
.hero::before {
  content: '';
  position: absolute;
  width: clamp(360px, 50vw, 600px);
  height: clamp(360px, 50vw, 600px);
  top: 5%;
  left: 5%;
  background: radial-gradient(circle, rgba(225, 130, 80, 0.25) 0%, transparent 65%);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: floatGlow 7s ease-in-out infinite alternate;
}

/* ── Animated ambient orb 2 — bottom-right ── */
.hero::after {
  content: '';
  position: absolute;
  width: clamp(300px, 44vw, 540px);
  height: clamp(300px, 44vw, 540px);
  bottom: 5%;
  right: 5%;
  background: radial-gradient(circle, rgba(240, 170, 100, 0.28) 0%, transparent 65%);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: floatGlow 7s ease-in-out 3.5s infinite alternate-reverse;
}

/* Lift hero content above both animated orbs and static shapes */
.hero__container {
  position: relative;
  z-index: 2;
}

/* Soft abstract background circles */
.hero__shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }

.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}
.hero__shape--a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(245, 185, 68, 0.18), transparent 70%);
  top: -160px; right: -80px;
}
.hero__shape--b {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(224, 90, 43, 0.1), transparent 70%);
  bottom: -60px; left: -80px;
}
.hero__shape--c {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26, 53, 80, 0.06), transparent 70%);
  top: 40%; left: 40%;
}

/* Grid layout */
.hero__container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .hero__container {
    grid-template-columns: 56% 44%;
    gap: 4rem;
  }
}

/* Tablet: keep orbs inside bounds */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero::before {
    width: 360px;
    height: 360px;
    filter: blur(60px);
  }
  .hero::after {
    width: 320px;
    height: 320px;
    filter: blur(60px);
  }
}

/* Left — text */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--clr-bg-card);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-full);
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--clr-text-mid);
  margin-bottom: 1.75rem;
  box-shadow: var(--sh-xs);
}

.hero__badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-coral);
  flex-shrink: 0;
}

.hero__headline {
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--clr-navy);
  margin-bottom: 1.5rem;
}

.hero__headline-accent {
  font-style: italic;
  color: var(--clr-coral);
  font-weight: 800;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--clr-text-mid);
  line-height: 1.85;
  max-width: 500px;
  margin-bottom: 2.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 3rem;
}

/* Micro stats row */
.hero__micro-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero__micro-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero__micro-num {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--clr-navy);
  line-height: 1;
}

.hero__micro-label {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  letter-spacing: 0.03em;
}

/* Right — visual column: flex wrapper to center the bounded container */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*
  hero-right-container — desktop: relative box so badges float around logo.
  Mobile: switches to flex-column so badges stack cleanly, never covering the logo.
*/
.hero-right-container {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  box-sizing: border-box;
  overflow: visible;
  background: transparent; /* lets ambient orbs show through on all viewports */
}

/* Logo wrapper — centered; badges sit on top (z-index: 10 > 2) */
.hero-logo-wrapper {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Logo ring */
.hero__logo-ring {
  width: clamp(160px, 20vw, 240px);
  height: clamp(160px, 20vw, 240px);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--clr-bg-card);
  box-shadow:
    0 0 0 12px rgba(26, 53, 80, 0.05),
    0 0 0 24px rgba(224, 90, 43, 0.04),
    0 8px 32px rgba(224, 90, 43, 0.13),
    0 20px 60px rgba(26, 53, 80, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.06);
  animation: logoFloat 5s ease-in-out infinite;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  display: block;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

/* Shared badge base — z-index: 10 renders badges above the logo (z-index: 2) */
.badge-participants,
.badge-quote {
  position: absolute;
  background: var(--clr-bg-card);
  border: 1.5px solid rgba(185, 125, 85, 0.16);
  border-radius: var(--r-lg);
  box-shadow:
    0 2px 8px rgba(120, 80, 50, 0.07),
    0 8px 24px rgba(120, 80, 50, 0.06),
    0 20px 44px rgba(0, 0, 0, 0.05);
  z-index: 10;
  transition: transform var(--ease), box-shadow var(--ease);
}

/* Participants badge — upper right, floats outside the logo ring */
.badge-participants {
  top: 6%;
  right: -8%;
  transform: scale(0.88);
  transform-origin: top right;
  padding: 0.875rem 1.25rem;
  text-align: center;
  min-width: 120px;
}
.badge-participants:hover {
  transform: scale(0.88) translateY(-3px);
  box-shadow: var(--sh-lg);
}

/* Quote badge — lower left, floats outside the logo ring */
.badge-quote {
  bottom: 6%;
  left: -8%;
  transform: scale(0.88);
  transform-origin: bottom left;
  padding: 1rem 1.125rem;
  max-width: 200px;
}
.badge-quote:hover {
  transform: scale(0.88) translateY(-3px);
  box-shadow: var(--sh-lg);
}

.hero__float-num {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-coral);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero__float-detail {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  letter-spacing: 0.03em;
}

.hero__float-quote {
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 500;
  color: var(--clr-text-mid);
  line-height: 1.55;
}

/*
  Mobile: flex-column layout.
  order: participants(1) → logo(2) → quote(3).
  Negative margins pull badges toward the logo for a compact, cozy overlap.
  z-index: 10 keeps badges rendered on top of the logo circle.
*/
@media (max-width: 767px) {
  /* Natural mobile hero */
  .hero::before {
    width: 280px;
    height: 280px;
    top: 3%;
    left: 3%;
    filter: blur(85px);
  }
  .hero::after {
    width: 260px;
    height: 260px;
    bottom: 3%;
    right: 3%;
    filter: blur(85px);
  }
  .hero {
    overflow: clip;
    padding: 7rem 1.5rem 3rem;
  }

  /* Logo block: plain in-flow block, no sticky/fixed/transforms */
  .hero__visual {
    /* all default — scrolls naturally with the page */
  }

  /* Compact flex column for the logo + badges stack */
  .hero-right-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 2rem 1.25rem;
    max-width: 300px;
  }

  .hero-logo-wrapper {
    order: 2;
    max-width: 200px;
  }

  .badge-participants,
  .badge-quote {
    position: relative;
    transform: none;
    max-width: 230px;
    width: 100%;
  }
  .badge-participants:hover,
  .badge-quote:hover { transform: translateY(-2px); }

  .badge-participants {
    order: 1;
    text-align: center;
    align-self: flex-end;
    margin-bottom: -1.25rem;
  }

  .badge-quote {
    order: 3;
    align-self: flex-start;
    margin-top: -1.25rem;
  }
}



/* ═══════════════════════════════════════════
   SECTION FLOW CONNECTOR
   Soft dividers instead of harsh color cuts
   ═══════════════════════════════════════════ */
.program,
.events,
.gallery,
.footer {
  /* Consistent warm off-white — no jarring cuts */
  background: var(--clr-bg);
}

.events { background: #FCFAF7; /* barely-there warm shift */ }


/* ═══════════════════════════════════════════
   CORE PROGRAM
   ═══════════════════════════════════════════ */
.program {
  padding: var(--sp-3xl) var(--sp-md);
}

.program__container {
  max-width: 1200px;
  margin: 0 auto;
}

.program__header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}
.program__header .section-lead {
  margin: 0 auto;
}

/* Open editorial pillars — no card borders */
.program__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 4rem;
  margin-bottom: var(--sp-2xl);
  position: relative;
}
@media (min-width: 680px) {
  .program__pillars { grid-template-columns: repeat(3, 1fr); }
}

/* No vertical dividers — cards have their own borders */

.program__pillar {
  position: relative;
  text-align: left;
  padding: 3.25rem 2rem 2.5rem;
  background: #EFE8E1;
  border-radius: var(--r-lg);
  border: 1px solid rgba(190, 150, 130, 0.30);
  box-shadow:
    0 20px 40px -10px rgba(60, 30, 20, 0.16),
    0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.program__pillar:hover {
  transform: translateY(-12px);
  box-shadow:
    0 30px 60px -12px rgba(60, 30, 20, 0.22),
    0 8px 20px rgba(0, 0, 0, 0.07);
}

/* Number — saturated terracotta anchor */
.program__pillar-number {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #C85A32;
  opacity: 1;
  line-height: 1;
}

/* Icon — ivory light-well with inner shadow so gradient icons pop */
.program__pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FAF6F0;
  box-shadow:
    0 2px 8px rgba(60, 30, 20, 0.12),
    inset 0 1px 3px rgba(255, 255, 255, 0.90);
  margin-bottom: 1.375rem;
  flex-shrink: 0;
}
.program__pillar-icon svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}

/* Titles — deep espresso for maximum legibility on the warm card */
.program__pillar h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #2C221E;
  margin-bottom: 0.75rem;
}

.program__pillar p {
  font-size: 0.9375rem;
  color: var(--clr-text-mid);
  line-height: 1.78;
}

/* ── In Development block — elegant soft card with ambient hover glow ── */
.program__dev {
  margin-top: var(--sp-xl);
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--clr-border-light);
  background: linear-gradient(135deg,
    rgba(248, 244, 238, 1) 0%,
    rgba(244, 237, 226, 0.8) 100%
  );
  box-shadow: 0 2px 12px rgba(224, 90, 43, 0.04);
  transition: all 0.5s ease;
}
.program__dev:hover {
  box-shadow: 0 8px 32px rgba(224, 90, 43, 0.10), 0 2px 8px rgba(26, 24, 20, 0.04);
  border-color: rgba(224, 90, 43, 0.18);
  background: linear-gradient(135deg,
    rgba(252, 248, 243, 1) 0%,
    rgba(248, 240, 228, 0.9) 100%
  );
}

/* Soft coral glow — top right */
.program__dev::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 90, 43, 0.09), transparent 68%);
  top: -120px; right: -100px;
  pointer-events: none;
}

/* Coral left accent bar */
.program__dev::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--clr-coral) 0%, rgba(224, 90, 43, 0.2) 100%);
  border-radius: 3px 0 0 3px;
}

.program__dev-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 680px;
}

.program__dev-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-coral);
}

.program__dev-title {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-navy);
  line-height: 1.15;
}

.program__dev-text {
  font-size: clamp(0.875rem, 1.8vw, 0.9375rem);
  color: var(--clr-text-mid);
  line-height: 1.75;
  max-width: 560px;
}



/* ═══════════════════════════════════════════
   ACTIVE EVENTS
   ═══════════════════════════════════════════ */
.events {
  padding: var(--sp-3xl) var(--sp-md) clamp(2.5rem, 4vw, 3.5rem);
}

.events__container {
  max-width: 1240px;
  margin: 0 auto;
}

.events__header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════
   UNIFIED JOURNEY LAYOUT
   Three phases of one workshop experience
   ═══════════════════════════════════════════ */

/* Journey grid — equal-height columns, no card walls */
.events__journey {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: var(--sp-xl);
  position: relative;
}

@media (min-width: 780px) {
  .events__journey {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch; /* equal height */
  }
}

/* Connector line — removed; columns use top-accent instead */

/* ── Single phase — open airy column ── */
.event-phase {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #FAF8F5;
  border-radius: var(--r-lg);
  overflow: visible;
  padding: 1.75rem 1.5rem 2rem;
  border: 1px solid rgba(185, 125, 85, 0.14);
  border-top: 2px solid var(--clr-border-light);   /* keep editorial top accent */
  box-shadow:
    0 4px 20px -2px rgba(120, 80, 50, 0.05),
    0 12px 30px -4px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
}

/* All three phases share the same uniform warm border-top */

.event-phase:hover {
  transform: translateY(-3px);
  box-shadow:
    0 6px 24px rgba(245, 185, 68, 0.11),
    0 18px 48px rgba(120, 80, 50, 0.07),
    0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(185, 125, 85, 0.22);
}

/* Node: numbered circle + meta label */
.event-phase__node {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.875rem;
  padding: 0;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.event-phase__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-coral);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(224, 90, 43, 0.35);
  flex-shrink: 0;
  transition: transform var(--ease), box-shadow var(--ease);
}
.event-phase:hover .event-phase__circle {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(224, 90, 43, 0.45);
}

/* Final session circle — matches circles 01 & 02 exactly */
.event-phase__circle--final {
  background: var(--clr-coral);
  box-shadow: 0 4px 14px rgba(224, 90, 43, 0.35);
}
.event-phase:hover .event-phase__circle--final {
  box-shadow: 0 8px 22px rgba(224, 90, 43, 0.45);
}

.event-phase__meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* Phase image — rounded standalone, no card clip */
.event-phase__img-wrap {
  overflow: hidden;
  height: 210px;
  border-radius: var(--r-lg);
  background: var(--clr-bg-subtle);
  margin: 1.25rem 0 0;
}
.event-phase__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.event-phase:hover .event-phase__img-wrap img {
  transform: scale(1.05);
}

/* Phase body — no horizontal padding needed (no card walls) */
.event-phase__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 0 0;
  flex: 1;
}

.event-phase__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clr-navy);
  line-height: 1.25;
}

.event-phase__desc {
  font-size: 0.9375rem;
  color: var(--clr-text-mid);
  line-height: 1.78;
}

/* ── Single unified CTA ── */
.events__unified-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem var(--sp-md) 0;
  text-align: center;
  border-top: 1.5px solid var(--clr-border-light);
  margin-top: var(--sp-xl);
}

.events__cta-caption {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.events__cta-btn {
  padding: 1.125rem 3rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
/* On narrow phones, pull in the side padding so text stays on one line */
@media (max-width: 479px) {
  .events__cta-btn {
    width: 100%;
    padding: 1.125rem 1.5rem;
    justify-content: center;
  }
}

.events__cta-note {
  font-size: 0.8125rem;
  color: var(--clr-text-muted);
  font-weight: 400;
}

/* ── Registration form wrapper (paste Google Form iframe here) ── */
.form-wrapper {
  margin-top: 2rem;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.register__iframe {
  width: 100%;
  height: 620px;
  border: none;
  display: block;
}


/* ═══════════════════════════════════════════
   DONATIONS — Unified Impact Section
   ═══════════════════════════════════════════ */
.donate {
  /* Centered warm ambient glow shared across the whole section */
  padding: 5rem clamp(1.25rem, 5vw, 3rem);
  background:
    radial-gradient(circle at 50% 42%, rgba(220, 150, 110, 0.18) 0%, rgba(250, 248, 245, 0) 62%),
    #FAF8F5;
}

.donate__container {
  max-width: 880px;
  margin: 0 auto;
}

/* Single unified vertical column */
.donate__unified {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Header: eyebrow + headline + stats + button ── */
.donate__header {
  text-align: center;
  width: 100%;
}

/* Stats row — horizontal, borderless, no card box */
.donate__stats-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
  margin: 2.5rem 0 2.75rem;
}

.donate__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.donate__stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #B66C52;
  line-height: 1;
}

.donate__stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  letter-spacing: 0.03em;
  max-width: 120px;
  line-height: 1.4;
}

/* ── Vision statement — flows below header, transparent background ── */
.donate__manifesto {
  background: transparent;
  padding: 4.5rem 1.5rem 2rem;
  border: none;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
  position: relative;
  width: 100%;
  margin-top: 1rem;
}

/* Children sit above the watermark mark */
.donate__manifesto > * {
  position: relative;
  z-index: 1;
}

/* Watermark quotation mark */
.donate__manifesto-mark {
  position: absolute;
  top: 2.5rem;
  left: 0;
  right: 0;
  font-size: 8rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: var(--clr-coral);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: floatInWatermark 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}

/* Direct CSS entrance animations — fire on render, no JS dependency */
.donate__manifesto .donate__quote {
  animation: floatIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}
.donate__manifesto .donate__quote-attr {
  animation: floatIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.donate__manifesto .donate__manifesto-pill {
  animation: floatIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Floating glassmorphism capsule */
.donate__manifesto-pill {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(185, 125, 85, 0.25);
  box-shadow: 0 15px 35px -5px rgba(185, 125, 85, 0.15);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  max-width: 680px;
  margin-top: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

/* ── Typography ── */
.donate__headline {
  font-size: clamp(2rem, 4.5vw, 3.375rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--clr-navy);
  margin: 0.875rem 0 0;
}

.donate__quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  color: #2D2B2A;
  line-height: 1.7;
  max-width: 740px;
  margin: 0 auto 1.125rem;
}

.donate__quote-attr {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-coral);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}

.donate__body {
  font-size: 1rem;
  color: var(--clr-text-mid);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}


/* ═══════════════════════════════════════════
   GALLERY — editorial stagger
   ═══════════════════════════════════════════ */
.gallery {
  padding: var(--sp-3xl) var(--sp-md);
}

.gallery__container {
  max-width: 1240px;
  margin: 0 auto;
}

.gallery__header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}
.gallery__header .section-lead { margin: 0 auto; }

/* ── Gallery filter buttons ── */
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.gallery__filter {
  padding: 0.5rem 1.375rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--clr-border);
  background: transparent;
  color: var(--clr-text-mid);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.gallery__filter:hover {
  border-color: var(--clr-coral);
  color: var(--clr-coral);
  background: rgba(224, 90, 43, 0.05);
}
.gallery__filter.active {
  background: var(--clr-coral);
  border-color: var(--clr-coral);
  color: #fff;
  box-shadow: 0 4px 14px rgba(224, 90, 43, 0.28);
}

/* ─────────────────────────────────────────────────────────────
   GALLERY CAROUSEL
   Horizontal scroll-snap carousel. Desktop: 3 cards visible +
   arrow nav. Tablet: 2 cards. Mobile: 1.1 cards (peek effect).
───────────────────────────────────────────────────────────── */

/* Outer wrapper — reserves horizontal space for arrows */
.gallery-carousel {
  position: relative;
  padding: 0 3.5rem;
}

/* Scrollable grid track — grid-auto-columns percentage is based on the
   container's definite width, making this far more reliable than flex-basis
   percentages inside an overflow container. */
.gallery-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 1.25rem) / 3);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0 1.25rem;
  cursor: grab;
}
.gallery-carousel__track::-webkit-scrollbar { display: none; }
.gallery-carousel__track.is-dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }

/* ── Arrow buttons ── */
.gallery-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);   /* offset for the bottom padding on track */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  background: var(--clr-bg-card);
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--clr-navy);
  transition: background var(--ease), border-color var(--ease),
              color var(--ease), box-shadow var(--ease),
              transform var(--ease), opacity var(--ease);
  z-index: 5;
}
.gallery-carousel__btn:hover {
  background: var(--clr-coral);
  border-color: var(--clr-coral);
  color: #fff;
  box-shadow: 0 8px 24px rgba(224, 90, 43, 0.3);
  transform: translateY(-60%) scale(1.08);
}
.gallery-carousel__btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.gallery-carousel__btn svg { pointer-events: none; }

.gallery-carousel__btn--prev { left: 0; }
.gallery-carousel__btn--next { right: 0; }

/* ── Responsive: hide arrows on touch screens, collapse padding ── */
@media (max-width: 767px) {
  .gallery-carousel { padding: 0; }
  .gallery-carousel__btn { display: none; }
}

/* ── Gallery items — grid children with scroll snap ── */
.gallery-item {
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--clr-bg-subtle);
  cursor: pointer;
  height: 260px;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
}
.gallery-item:hover,
.gallery-item:focus-visible {
  box-shadow: var(--sh-lg);
  transform: translateY(-3px) scale(1.01);
}

/* Filtered-out items vanish cleanly — no empty slots remain */
.gallery-item.hidden {
  display: none !important;
}

/* object-fit: cover fills every cell cleanly regardless of source dimensions */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  transition: transform 0.4s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.06); }

/* Caption — slides up on hover */
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(
    to top,
    rgba(15, 32, 51, 0.88) 0%,
    rgba(15, 32, 51, 0.35) 60%,
    transparent 100%
  );
  transform: translateY(100%);
  transition: transform var(--ease);
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { transform: translateY(0); }

.gallery-caption span {
  font-size: 0.8125rem;
  font-weight: 600;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.01em;
}

/* Tablet: 2 items visible */
@media (max-width: 900px) {
  .gallery-carousel__track {
    grid-auto-columns: calc((100% - 1.25rem) / 2);
  }
}

/* Mobile: 1 item + peek of the next */
@media (max-width: 479px) {
  .gallery-carousel__track {
    grid-auto-columns: 85%;
  }
  .gallery-item { height: 220px; }
}

/* Focus ring */
.gallery-item:focus-visible {
  outline: 3px solid var(--clr-coral);
  outline-offset: 3px;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--clr-bg);
  border-top: 1.5px solid var(--clr-border-light);
  padding: var(--sp-xl) var(--sp-md) var(--sp-lg);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.footer__logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--clr-border);
  flex-shrink: 0;
}
.footer__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.footer__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--clr-navy);
}
.footer__tagline {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--clr-text-muted);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.125rem;
}
.footer__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  padding: 0.35rem 0.875rem;
  border-radius: var(--r-sm);
  transition: color var(--ease-fast), background var(--ease-fast);
}
.footer__nav a:hover {
  color: var(--clr-navy);
  background: rgba(26, 53, 80, 0.06);
}

.footer__bottom {
  border-top: 1px solid var(--clr-border-light);
  padding-top: 1.5rem;
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}


/* ═══════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox--open   { opacity: 1; }
.lightbox--closing { opacity: 0; pointer-events: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1000px);
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.85);
  font-size: 1.375rem;
  line-height: 1;
  padding: 0.4rem 0.75rem;
  transition: all var(--ease-fast);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); color: #fff; }

.lightbox__img {
  max-width: 100%;
  max-height: 82dvh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.lightbox__caption {
  font-style: italic;
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
}