/* The Ground homepage (index.html only). Self-contained: does not depend on theground.css or the Webflow runtime.
   Sections, in page order: nav, hero, marquee, stats, ways (audience switcher), toolkit, growth, stories,
   gallery, events, supporters, faq, final cta, footer. Behaviour lives in js/home.js. */

:root {
  /* Brand tokens: the organizer campaign film spec (frame.md + the bmf cut). One accent: gold. */
  --forest-950: #08140f;
  --forest-900: #0d1f19; /* night */
  --forest-800: #14322a; /* ground */
  --forest-700: #1f3a2c; /* forest plate */
  --forest-600: #007966; /* teal */
  --moss: #7fa58b;
  --sage: #cfdccb;
  --bone: #f3eee3;
  --paper: #f9f5ec;
  --ink: #14201b;
  --ink-soft: #4a5a51;
  --gold: #e3b85c;
  --spark: #00e091;
  --line-dark: rgba(243, 238, 227, 0.14);
  --line-light: rgba(20, 32, 27, 0.12);
  --serif: "Instrument Serif", "Playfair Display", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--spark); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.dark { background: var(--forest-900); color: var(--bone); }
.bone { background: var(--bone); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--forest-600);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px rgba(0, 224, 145, 0.16); }
.dark .eyebrow { color: var(--sage); }

.display {
  font-family: var(--sans);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.display em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.015em; font-size: 1.14em; line-height: 0.9; color: var(--forest-600); }
.dark .display em { color: var(--gold); }
.h2 { font-size: clamp(34px, 4.7vw, 66px); text-wrap: balance; }
.mono-label { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); max-width: 56ch; margin-top: 22px; }
.dark .lede { color: rgba(243, 238, 226, 0.72); }

/* Buttons */
.btn {
  --bg: var(--forest-800); --fg: var(--bone);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.btn .arrow { display: inline-block; transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:hover { box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.5); }
.btn--light { --bg: var(--bone); --fg: var(--forest-900); }
.btn--light:hover { --bg: #fff; }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { --bg: rgba(127, 165, 139, 0.16); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--gold { --bg: var(--gold); --fg: var(--ink); }
.btn--gold:hover { --bg: #edc674; }
.btn--sm { padding: 12px 18px; font-size: 14.5px; }
.textlink { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.textlink .arrow { transition: transform 0.45s var(--ease); }
.textlink:hover .arrow { transform: translateX(5px); }

/* Scroll reveal (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--bone); transition: background 0.4s, backdrop-filter 0.4s, transform 0.5s var(--ease); }
.nav.is-scrolled { background: rgba(14, 32, 24, 0.82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line-dark); }
.nav.is-hidden { transform: translateY(-100%); }
/* backdrop-filter and transform make .nav the containing block for the fixed mobile drawer, which then shrinks to the bar once scrolled */
.menu-open .nav { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo img { height: 46px; width: 46px; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; }
.nav__links a:not(.btn) { position: relative; opacity: 0.86; transition: opacity 0.2s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav__links a:not(.btn):hover { opacity: 1; }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.menu-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Film hero ----------
   The organizer campaign Reel as a scroll-driven hero. Type roles follow the film: .didone (Instrument Serif caps,
   numerals), .ital (Instrument Serif italic, gold focal words), .grot (Archivo 900 caps), .mono (labels),
   .fcap (serif on a forest plate). Default = static stack (no JS / reduced motion); html.film-live = pinned stage. */
.didone { font-family: var(--serif); font-weight: 400; text-transform: uppercase; line-height: 0.84; letter-spacing: -0.01em; white-space: nowrap; }
.ital { font-family: var(--serif); font-style: italic; font-weight: 400; line-height: 0.95; letter-spacing: -0.01em; white-space: nowrap; }
.grot { font-family: var(--sans); font-weight: 900; text-transform: uppercase; line-height: 0.86; letter-spacing: -0.045em; }
.mono { font-family: var(--mono); font-weight: 600; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243, 238, 227, 0.86); }
.gold { color: var(--gold); }
.fcap { display: inline-block; background: var(--forest-700); color: var(--bone); padding: 0.12em 0.42em 0.18em; font-family: var(--serif); font-size: clamp(19px, 2.1vw, 32px); line-height: 1.1; white-space: nowrap; }
.fcap--sm { font-size: clamp(15px, 1.35vw, 21px); white-space: normal; }
.boxed { display: inline-block; background: var(--forest-700); color: var(--gold); padding: 0.02em 0.22em 0.12em; }
.rise { display: inline-block; }

.film { position: relative; background: var(--forest-900); color: var(--bone); }
.film__stage { position: relative; overflow: hidden; isolation: isolate; }
.film__footage, .film__shade, .film__line, .film__ticks, .film__skip, .film__hint { display: none; }
.film__scenes { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 60px; }
.scene { padding: 44px 0; border-top: 1px solid var(--line-dark); }
.scene:first-child { border-top: 0; padding-top: 0; }
.film h2 { font-weight: inherit; }

/* opening */
.hook { display: flex; flex-direction: column; align-items: flex-start; margin: 0; font-weight: 400; }
.hook .grot { font-size: clamp(58px, 11.6vw, 196px); overflow: hidden; padding-top: 0.06em; }
.hook .ital { font-size: clamp(42px, 7.7vw, 130px); overflow: hidden; padding-bottom: 0.16em; margin-top: 0.02em; }
.hook__sub { max-width: 52ch; margin-top: clamp(20px, 2.6vw, 34px); font-size: clamp(16px, 1.45vw, 21px); color: rgba(243, 238, 227, 0.84); }
.film__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* slide titles: one line, caps + italic focal word */
.beat__title { margin: 0 0 clamp(14px, 2vw, 28px); font-weight: 400; line-height: 0.9; }
.beat__title .grot { font-size: clamp(30px, 4.6vw, 76px); }
.beat__title .ital { font-size: clamp(34px, 5.3vw, 88px); white-space: normal; }

/* 01 grow */
.grow__main { display: flex; flex-direction: column; align-items: flex-start; }
.grow__num { margin: 0.04em 0 0; font-size: clamp(120px, 22vw, 360px); padding-bottom: 0.08em; font-variant-numeric: tabular-nums; }
.grow__faces { margin: clamp(10px, 1.4vw, 20px) 0 0; font-size: clamp(46px, 6.8vw, 112px); }
.grow__side { display: grid; gap: clamp(18px, 2.4vw, 34px); margin-top: 28px; }
.qstat { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.qstat__num { margin: 0; font-size: clamp(50px, 6.2vw, 100px); font-variant-numeric: tabular-nums; }
.qstat__bar { display: block; width: 100%; height: 5px; background: rgba(243, 238, 227, 0.16); }
.qstat__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; }
.qstat__label { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 30px); line-height: 1.05; color: var(--gold); max-width: 22ch; }

/* 02 brands */
.lede-box { margin: 0; max-width: 24ch; font-size: clamp(20px, 2.6vw, 40px); }
.lede-box span { display: inline; background: var(--forest-700); color: var(--gold); font-family: var(--sans); font-weight: 800; line-height: 1.36; letter-spacing: -0.01em; padding: 0.06em 0.3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.plates { display: flex; flex-wrap: wrap; gap: clamp(8px, 0.9vw, 12px); align-items: center; margin-top: clamp(22px, 3vw, 44px); padding-top: clamp(16px, 2vw, 28px); max-width: 1100px; }
.plate { margin: 0; padding: 0.1em 0.16em 0.04em; font-size: clamp(44px, 6.6vw, 112px); }
.plate--iherb { background: #458b12; color: var(--bone); }
.plate--elle { background: #d7f47c; color: var(--ink); }
.plate--im8 { background: #b3171f; color: var(--bone); }
.plate--aspire { background: #02d168; color: var(--ink); } /* Aspire brand green */
.plate--more { color: var(--gold); box-shadow: inset 0 0 0 3px var(--gold); }
.powered { margin: clamp(16px, 2vw, 26px) 0 0; }
.powered b { color: var(--gold); font-weight: 700; }

/* 03 run */
.run__feats { list-style: none; margin: 0; padding: 0 0 clamp(12px, 1.4vw, 18px); display: flex; flex-wrap: wrap; gap: 0.2em 0.45em; max-width: 22em; font-family: var(--sans); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(20px, 2.7vw, 44px); }
.run__feats li { display: flex; align-items: center; gap: 0.45em; }
.run__feats li:not(:last-child)::after { content: ""; width: 0.24em; height: 0.24em; border-radius: 50%; background: var(--gold); }
.run__feats .run__more { text-transform: none; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--gold); font-size: 1.12em; }
.run__playbook { margin: clamp(22px, 2.8vw, 40px) 0 0; font-size: clamp(38px, 6.4vw, 108px); white-space: normal; max-width: 14em; line-height: 0.98; }
.run__stat { margin: clamp(14px, 1.6vw, 22px) 0 0; }
.run__stat b { color: var(--gold); font-weight: 700; }
.card { display: block; margin-top: clamp(20px, 2.6vw, 34px); width: min(520px, 100%); color: var(--ink); background: var(--bone); border-radius: 0 0 18px 18px; transform-origin: top; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); transition: background 0.3s; }
.card:hover { background: #fff; }
.card__in { display: block; padding: clamp(16px, 1.8vw, 24px) clamp(20px, 2.4vw, 30px); }
.card__t1 { display: flex; justify-content: space-between; gap: 16px; font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1.05; }
.card__t1 .arrow { transition: transform 0.45s var(--ease); }
.card:hover .arrow { transform: translateX(6px); }
.card__t2 { display: block; margin-top: 8px; font-weight: 600; font-size: 15px; color: #3d5a4d; }

/* ----- live (full-screen stage, one slide per scroll) ----- */
.film-live .film__stage { height: 100vh; height: 100svh; }
.film-live .film__footage { display: block; position: absolute; inset: 0; z-index: 0; }
.film-live .film__footage > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; opacity: 0; transition: opacity 0.45s linear; }
.film-live .film__footage > .is-on { opacity: 1; }
.film-live .film__shade { display: block; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(13, 31, 25, 0.9) 0%, rgba(13, 31, 25, 0.72) 38%, rgba(13, 31, 25, 0.3) 72%, rgba(13, 31, 25, 0.42) 100%),
  linear-gradient(180deg, rgba(13, 31, 25, 0.62) 0%, rgba(13, 31, 25, 0) 24%, rgba(13, 31, 25, 0) 68%, rgba(13, 31, 25, 0.78) 100%); }
.film-live .film__line { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.film-live .film__line path { stroke: var(--gold); }
.film-live .film__scenes { position: absolute; inset: 0; padding-top: 76px; padding-bottom: 0; }
.film-live .scene { position: absolute; inset: 76px var(--gutter) 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 0 4vh; border: 0; }
.film-live .scene--grow { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title title" "main side"; align-content: center; align-items: end; column-gap: clamp(32px, 5vw, 80px); }
.film-live .scene--grow .beat__title { grid-area: title; }
.film-live .grow__main { grid-area: main; align-items: stretch; }
.film-live .grow__main > * { align-self: flex-start; }
.film-live .grow__side { grid-area: side; margin-top: 0; padding-bottom: 1.4vw; }
.film-live .film__ticks { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; position: absolute; right: 18px; top: 50%; translate: 0 -50%; z-index: 5; }
.film-live .film__ticks button { display: block; width: 22px; height: 16px; position: relative; }
.film-live .film__ticks button::after { content: ""; position: absolute; right: 0; top: 7px; width: 10px; height: 2px; background: var(--bone); opacity: 0.4; transition: width 0.4s var(--ease), opacity 0.3s, background 0.3s; }
.film-live .film__ticks button:hover::after { opacity: 1; }
.film-live .film__ticks button.is-on::after { width: 22px; opacity: 1; background: var(--gold); }
.film-live .film__skip { display: block; position: absolute; right: var(--gutter); bottom: 22px; z-index: 5; font-size: 11px; opacity: 0.7; padding: 8px 0; }
.film-live .film__skip:hover { opacity: 1; color: var(--gold); }
.film-live .film__hint { display: block; position: absolute; left: var(--gutter); bottom: 22px; z-index: 5; margin: 0; font-size: 11px; opacity: 0.7; padding: 8px 0 8px 34px; }
.film-live .film__hint::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: var(--gold); transform-origin: left; animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

@media (max-width: 900px) {
  .film-live .scene--grow { display: flex; align-items: flex-start; }
  .film-live .grow__main { width: 100%; }
  .grow__side { grid-template-columns: 1fr 1fr; width: 100%; margin-top: 22px; }
}
@media (max-width: 760px) {
  .film-live .film__shade { background:
    linear-gradient(180deg, rgba(13, 31, 25, 0.8) 0%, rgba(13, 31, 25, 0.6) 30%, rgba(13, 31, 25, 0.6) 60%, rgba(13, 31, 25, 0.88) 100%); }
  .film-live .film__ticks { right: 8px; }
  .film-live .scene { padding-bottom: 7vh; }
  .hook .grot { font-size: 18.5vw; }
  .hook .ital { font-size: 15vw; white-space: normal; line-height: 0.92; }
  .hook__sub { font-size: 16px; }
  .film__cta .btn { padding: 14px 20px; font-size: 15px; }
  .beat__title .grot { font-size: 9.6vw; }
  .beat__title .ital { font-size: 10.8vw; }
  .grow__num { font-size: 33vw; }
  .grow__faces { font-size: 15.5vw; }
  .qstat__num { font-size: 12.5vw; }
  .qstat__label { font-size: 17px; }
  .lede-box { font-size: 19px; }
  .plate { font-size: 13.5vw; }
  .run__feats { font-size: 6.4vw; }
  .run__playbook { font-size: 11.6vw; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .hook .grot { font-size: clamp(58px, 9vw, 140px); }
  .hook .ital { font-size: clamp(42px, 6.2vw, 96px); }
  .grow__num { font-size: clamp(120px, 17vw, 250px); }
  .grow__faces { font-size: clamp(46px, 5vw, 76px); }
  .plate { font-size: clamp(44px, 5.4vw, 84px); }
  .run__playbook { font-size: clamp(38px, 5.2vw, 80px); }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--forest-800); color: var(--bone); padding: 22px 0; overflow: hidden; border-top: 1px solid var(--line-dark); }
.marquee__track { display: flex; width: max-content; animation: slide 115s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); font-style: italic; font-weight: 300; padding: 0 26px; display: inline-flex; align-items: center; gap: 52px; white-space: nowrap; }
.marquee__track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Ways in (audience switcher) ---------- */
.ways__tabs { display: inline-flex; gap: 4px; padding: 5px; margin-top: 36px; border-radius: 999px; background: var(--bone); border: 1px solid var(--line-light); position: relative; max-width: 100%; }
.ways__tab { position: relative; z-index: 1; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--ink-soft); transition: color 0.35s; white-space: nowrap; }
.ways__tab[aria-selected="true"] { color: var(--bone); }
.ways__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--forest-700); transition: transform 0.6s var(--ease), width 0.6s var(--ease); }
.ways__stage { display: grid; margin-top: 36px; }
.way { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: calc(var(--radius) + 8px); overflow: hidden; background: var(--forest-800); color: var(--bone); min-height: 540px; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s 0.6s; }
.way.is-active { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease), visibility 0s; }
.way__copy { padding: clamp(28px, 4.4vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.way__copy > * { transform: translateY(18px); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.8s var(--ease); }
.way.is-active .way__copy > * { transform: none; opacity: 1; }
.way.is-active .way__copy > :nth-child(2) { transition-delay: 0.08s; }
.way.is-active .way__copy > :nth-child(3) { transition-delay: 0.16s; }
.way.is-active .way__copy > :nth-child(4) { transition-delay: 0.24s; }
.way.is-active .way__copy > :nth-child(5) { transition-delay: 0.32s; }
.way__kicker { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.way h3 { font-size: clamp(28px, 3.3vw, 48px); text-wrap: balance; }
.way p { margin-top: 18px; color: rgba(243, 238, 226, 0.74); max-width: 46ch; }
.way ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.way li { display: flex; gap: 12px; align-items: baseline; }
.way li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--spark); translate: 0 -2px; }
.way__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 30px; }
.way__media { position: relative; overflow: hidden; min-height: 320px; }
.way__media img, .way__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.way.is-active .way__media img, .way.is-active .way__media video { transform: scale(1); }
.way__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--forest-800), rgba(20, 43, 32, 0) 30%); }

/* ---------- Toolkit ---------- */
.toolkit { overflow: hidden; }
.toolkit::before { content: ""; position: absolute; right: -10%; top: 10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 82, 62, 0.85), transparent); pointer-events: none; }
.toolkit__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.tools { margin-top: 40px; border-top: 1px solid var(--line-dark); }
.tool { display: block; width: 100%; text-align: left; padding: 20px 0; border-bottom: 1px solid var(--line-dark); position: relative; opacity: 0.5; transition: opacity 0.4s; }
.tool:hover, .tool.is-active { opacity: 1; }
.tool__head { display: flex; align-items: baseline; gap: 18px; }
.tool__no { font-size: 12.5px; letter-spacing: 0.12em; color: var(--gold); font-weight: 600; width: 22px; }
.tool__title { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.015em; font-variation-settings: "opsz" 60; }
.tool__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); padding-left: 40px; }
.tool.is-active .tool__body { grid-template-rows: 1fr; }
.tool__body > div { overflow: hidden; }
.tool__body p { padding-top: 10px; color: rgba(243, 238, 226, 0.72); font-size: 16px; max-width: 46ch; }
.tool__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.tool.is-active .tool__bar { animation: fill var(--tool-ms, 6000ms) linear forwards; }
.toolkit.is-paused .tool.is-active .tool__bar { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.toolkit__more { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }

/* Real pages as a fan of loose cards (no device frame). JS sets --d (signed distance from the active card, clamped) and
   --a (absolute distance); the active card sits in front and upright, the rest fan out behind it. */
.fan { position: relative; width: min(450px, 82vw); aspect-ratio: 640 / 836; margin: 0 auto; }
.fan__card { position: absolute; inset: 0; margin: 0; border-radius: 24px; overflow: hidden; background: #f4f6f5; cursor: pointer; container-type: inline-size;
  transform-origin: 50% 120%; transform: translateX(calc(var(--d) * 9%)) rotate(calc(var(--d) * 5.5deg)) scale(calc(1 - var(--a) * 0.05)); z-index: calc(10 - var(--a));
  box-shadow: 0 0 0 1px rgba(243, 238, 227, 0.14), 0 36px 70px -34px rgba(0, 0, 0, 0.9); filter: brightness(calc(1 - var(--a) * 0.2));
  transition: transform 0.9s var(--ease), filter 0.6s, opacity 0.5s, box-shadow 0.6s; }
.fan__card.is-active { box-shadow: 0 0 0 1px rgba(243, 238, 227, 0.2), 0 50px 90px -34px rgba(0, 0, 0, 0.95), 0 0 110px -30px rgba(0, 224, 145, 0.25); }
.fan__card.is-far { opacity: 0; pointer-events: none; }
.fan__card:not(.is-active):hover { filter: brightness(1); }
.fan__card > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fan__card--explore .fan__label { height: auto; object-fit: initial; }
.fan__strip { position: absolute; left: 3cqw; right: 0; top: 11.1cqw; bottom: 0; overflow: hidden; }
.fan__strip img { display: block; height: 100%; width: auto; max-width: none; will-change: transform; backface-visibility: hidden; animation: fanstrip 12s cubic-bezier(0.65, 0, 0.2, 1) infinite; animation-play-state: paused; }
.fan__card.is-active .fan__strip img { animation-play-state: running; }
@keyframes fanstrip {
  0%, 20% { transform: translate3d(0, 0, 0); }
  26%, 45% { transform: translate3d(-24.4%, 0, 0); }
  51%, 70% { transform: translate3d(-48.8%, 0, 0); }
  76%, 94% { transform: translate3d(calc(-100% + 97cqw), 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.screen__chip { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--forest-900); color: var(--bone); font-weight: 700; font-size: 12.5px; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(-10px) scale(0.94); transition: opacity 0.5s 0.5s, transform 0.7s var(--ease) 0.5s; }
.screen__chip--label { top: 1.2cqw; right: 8px; padding: 6px 11px 6px 8px; font-size: 11.5px; } /* sits in the "Featured Events" label row */
.screen__chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--spark); animation: ping 2.2s ease-out infinite; }
.fan__card.is-active .screen__chip { opacity: 1; transform: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0, 224, 145, 0.5); } 100% { box-shadow: 0 0 0 10px rgba(0, 224, 145, 0); } }

/* ---------- Growth partner ---------- */
.growth__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; }
.growth__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.gcard { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: var(--bone); isolation: isolate; background: var(--forest-800); }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.gcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 32, 24, 0.05) 20%, rgba(14, 32, 24, 0.92) 78%); transition: background 0.5s; }
.gcard:hover img { transform: scale(1.06); }
.gcard__no { font-size: 12.5px; letter-spacing: 0.14em; color: var(--gold); font-weight: 600; }
.gcard h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.02em; line-height: 1.08; margin-top: 10px; }
.gcard p { margin-top: 12px; color: rgba(243, 238, 226, 0.78); font-size: 15.5px; }
.growth__foot { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-light); }
.growth__foot p { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1.15; }
.growth__foot em { color: var(--forest-600); font-weight: 300; }

/* ---------- Stories ---------- */
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; perspective: 1400px; }
.story { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; color: var(--bone); isolation: isolate; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s var(--ease), box-shadow 0.5s; transform-style: preserve-3d; }
.story:hover { box-shadow: 0 40px 70px -40px rgba(14, 32, 24, 0.7); }
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.story:hover img { transform: scale(1.05); }
.story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 32, 24, 0) 40%, rgba(14, 32, 24, 0.9)); }
.story__in { position: absolute; inset: auto 0 0 0; padding: 26px; }
.story__tag { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.story__name { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -0.02em; line-height: 1.05; margin-top: 8px; }
.story__go { display: inline-flex; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; opacity: 0.85; }
.story__play { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; background: rgba(251, 248, 241, 0.92); color: var(--forest-900); display: grid; place-items: center; font-size: 14px; transition: transform 0.5s var(--ease); }
.story:hover .story__play { transform: scale(1.12); }

/* ---------- Gallery ---------- */
.gallery { padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; }
.gallery__head { text-align: center; }
.gallery__head .h2 { margin-inline: auto; max-width: 18ch; }
.gallery__rows { margin-top: 52px; display: grid; gap: 16px; }
.gallery__row { display: flex; gap: 16px; width: max-content; animation: slide 130s linear infinite; }
.gallery__row--rev { animation-direction: reverse; animation-duration: 150s; }
.gallery__rows:hover .gallery__row { animation-play-state: paused; }
.gallery__row figure { margin: 0; position: relative; height: clamp(190px, 24vw, 320px); border-radius: 20px; overflow: hidden; flex: none; }
.gallery__row img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.gallery__row figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(14, 32, 24, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--bone); font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

/* ---------- Events ---------- */
.events__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.events__nav { display: flex; gap: 10px; align-items: center; }
.round { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line-light); display: grid; place-items: center; font-size: 18px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.round:hover { background: var(--forest-700); color: var(--bone); border-color: var(--forest-700); }
.rail { display: flex; gap: 18px; margin-top: 44px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 24px; scroll-padding-left: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.ecard { flex: none; width: clamp(250px, 19.5vw, 340px); scroll-snap-align: start; border-radius: 22px; background: var(--paper); border: 1px solid var(--line-light); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.6s var(--ease), box-shadow 0.6s; }
.ecard:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(14, 32, 24, 0.55); }
.ecard__img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--forest-700), var(--forest-600)); overflow: hidden; }
.ecard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ecard:hover .ecard__img img { transform: scale(1.05); }
.ecard__date { position: absolute; left: 12px; top: 12px; background: var(--paper); border-radius: 14px; padding: 7px 11px; text-align: center; line-height: 1; font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest-600); }
.ecard__date b { display: block; font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em; color: var(--ink); margin-top: 3px; font-weight: 500; }
.ecard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ecard__org { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecard__name { font-family: var(--serif); font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ecard__meta { margin-top: auto; padding-top: 8px; font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecard--more { background: var(--forest-800); color: var(--bone); border: 0; justify-content: flex-end; padding: 26px; min-height: 340px; }
.ecard--more p { font-family: var(--serif); font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.ecard--more span { margin-top: 16px; font-weight: 600; color: var(--gold); }
.events__empty { margin-top: 40px; padding: 40px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }

/* ---------- Supporters ---------- */
.supporters { padding: clamp(48px, 6vw, 80px) 0; background: var(--paper); border-top: 1px solid var(--line-light); }
.supporters__in { display: grid; grid-template-columns: auto 1fr; gap: 24px 60px; align-items: center; }
.supporters__logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.supporters__logos div { background: #fff; border: 1px solid var(--line-light); border-radius: 18px; height: 96px; display: grid; place-items: center; padding: 18px 22px; }
.supporters__logos img { max-height: 54px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.4s, opacity 0.4s; }
.supporters__logos div:hover img { filter: none; opacity: 1; }

/* ---------- FAQ ---------- */
.faq__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 80px; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq details:first-child { border-top: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-light); display: grid; place-items: center; font-family: var(--sans); font-size: 20px; transition: transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--forest-700); color: var(--bone); border-color: var(--forest-700); }
.faq details p { padding: 0 56px 26px 0; color: var(--ink-soft); max-width: 62ch; }
.faq details p a { color: var(--forest-600); font-weight: 600; border-bottom: 1.5px solid currentColor; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(110px, 15vw, 210px) 0; }
.final video, .final__poster { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -2; filter: blur(3px) saturate(0.9); transform: translate3d(0, var(--py, 0px), 0) scale(1.06); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(14, 32, 24, 0.62), rgba(10, 24, 18, 0.94)); }
.final h2 { font-size: clamp(40px, 6.6vw, 104px); max-width: none; margin: 0 auto; }
.final h2 em { display: block; }
.final p { margin: 26px auto 0; max-width: 48ch; color: rgba(243, 238, 226, 0.76); font-size: clamp(17px, 1.4vw, 20px); }
.final__x { list-style: none; margin: 0 auto 26px; padding: 0; display: grid; gap: 6px; justify-items: center; font-weight: 700; font-size: clamp(17px, 1.9vw, 26px); letter-spacing: -0.02em; color: rgba(243, 238, 227, 0.5); }
.final__x li { text-decoration: line-through; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.final__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 38px; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-950); color: var(--bone); padding: 72px 0 34px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand img { width: 74px; height: 74px; object-fit: contain; margin-left: -8px; }
.footer__brand p { margin-top: 10px; color: rgba(243, 238, 226, 0.6); max-width: 30ch; font-size: 15px; }
.footer h4 { margin: 0 0 16px; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.footer ul a { opacity: 0.82; transition: opacity 0.2s, color 0.2s; }
.footer ul a:hover { opacity: 1; color: var(--gold); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13.5px; color: rgba(243, 238, 226, 0.55); }
.footer__bottom a:hover { color: var(--bone); }
.footer__legal { display: flex; gap: 24px; }

/* ---------- Film type on the rest of the page ---------- */
.tool__no, .gcard__no, .story__tag, .ecard__org, .footer h4 { font-family: var(--mono); letter-spacing: 0.14em; font-size: 11.5px; text-transform: uppercase; }
.tool__title, .gcard h3, .story__name, .ecard__name, .faq summary, .growth__foot p, .ecard--more p { letter-spacing: -0.01em; }
.tool__title { font-size: clamp(24px, 2.5vw, 34px); }
.gcard h3 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.02; }
.story__name { font-size: clamp(32px, 3.2vw, 46px); }
.faq summary { font-size: clamp(22px, 2.3vw, 30px); }
.marquee__track span { font-size: clamp(26px, 3vw, 40px); }
.nav.is-scrolled { background: rgba(13, 31, 25, 0.84); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 0; background: var(--forest-900); flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 0 var(--gutter); font-family: var(--serif); font-size: 38px; letter-spacing: -0.02em; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; z-index: -1; }
  .menu-open .nav__links { opacity: 1; visibility: visible; transition: opacity 0.4s, visibility 0s; }
  .nav__cta { flex-direction: column; align-items: flex-start; margin-top: 18px; font-family: var(--sans); }
  .nav__cta .btn { font-size: 16px; padding: 16px 26px; }
  .reel { width: 100%; }
  .hero__in { grid-template-columns: 1fr; min-height: 0; padding-top: 118px; padding-bottom: 80px; gap: 48px; }
  .chip--a { left: 2%; } .chip--b { right: 2%; }
  .way { grid-template-columns: 1fr; }
  .way__media { order: -1; min-height: 280px; }
  .way__media::after { background: linear-gradient(0deg, var(--forest-800), rgba(20, 43, 32, 0) 40%); }
  .toolkit__in, .growth__head, .faq__in { grid-template-columns: 1fr; }
  .toolkit__in { gap: 56px; }
  .growth__grid, .stories__grid { grid-template-columns: 1fr; }
  .gcard { min-height: 380px; }
  .story { aspect-ratio: 4 / 4.2; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line-light); padding-bottom: 26px; }
  .stat:nth-child(odd) { padding-right: 20px; }
  .supporters__in { grid-template-columns: 1fr; }
  .supporters__logos { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .ways__tabs { display: flex; }
  .ways__tab { flex: 1; padding: 10px 6px; font-size: 13px; line-height: 1.15; text-align: center; white-space: normal; }
  .hero__cta .btn, .final__cta .btn { flex: 1 1 100%; justify-content: center; }
  .chip { font-size: 12px; padding: 8px 12px 8px 8px; }
  .events__nav .round { display: none; }
  .faq details p { padding-right: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .growth__foot { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .marquee__track, .gallery__row { animation: none !important; }
  .gallery__rows { overflow-x: auto; }
  .tool .tool__bar { display: none; }
}
