/* ==========================================================================
   Content4Cause — design system
   Tokens first, components after. Every colour comes from a token so the
   light and dark themes stay in sync. Never hard-code a colour below.
   ========================================================================== */

:root {
  /* --- light (default): cool paper ground, brand navy ink, brand blue accent */
  --ground:      #F7F9FC;
  --ground-2:    #EDF2FA;
  --surface:     #FFFFFF;
  --surface-2:   #F1F5FC;
  --ink:         #00143A;
  --ink-2:       #4C5C7A;
  --ink-3:       #8493AE;
  --line:        #DEE7F3;
  --line-2:      #C6D4E8;

  --accent:      #005CFE;
  --accent-ink:  #FFFFFF;
  --accent-soft: #E7F0FF;
  --accent-line: #C2D9FF;

  --sage:        #0D9488;
  --sage-soft:   #DFF4F1;
  --sun:         #B26A00;
  --sun-soft:    #FCEFDA;

  --shadow-sm: 0 1px 2px rgba(0, 20, 58, .05), 0 4px 14px rgba(0, 20, 58, .06);
  --shadow-md: 0 2px 6px rgba(0, 20, 58, .07), 0 14px 36px rgba(0, 20, 58, .10);
  --shadow-lg: 0 4px 12px rgba(0, 20, 58, .09), 0 28px 64px rgba(0, 20, 58, .16);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --pad: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --max-wide: 1360px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:      #050B18;
    --ground-2:    #0A1326;
    --surface:     #0F1B33;
    --surface-2:   #16243F;
    --ink:         #EAF1FB;
    --ink-2:       #9DB0CE;
    --ink-3:       #6F82A1;
    --line:        #1C2B48;
    --line-2:      #29395B;

    --accent:      #4D8DFF;
    --accent-ink:  #00143A;
    --accent-soft: #10254C;
    --accent-line: #1E3A6B;

    --sage:        #2DD4BF;
    --sage-soft:   #0B2A28;
    --sun:         #F0B03E;
    --sun-soft:    #2C2110;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.34);
    --shadow-md: 0 2px 6px rgba(0,0,0,.44), 0 14px 36px rgba(0,0,0,.44);
    --shadow-lg: 0 4px 12px rgba(0,0,0,.5), 0 28px 64px rgba(0,0,0,.6);
  }
}

:root[data-theme="dark"] {
  --ground:      #050B18;
  --ground-2:    #0A1326;
  --surface:     #0F1B33;
  --surface-2:   #16243F;
  --ink:         #EAF1FB;
  --ink-2:       #9DB0CE;
  --ink-3:       #6F82A1;
  --line:        #1C2B48;
  --line-2:      #29395B;

  --accent:      #4D8DFF;
  --accent-ink:  #00143A;
  --accent-soft: #10254C;
  --accent-line: #1E3A6B;

  --sage:        #2DD4BF;
  --sage-soft:   #0B2A28;
  --sun:         #F0B03E;
  --sun-soft:    #2C2110;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.34);
  --shadow-md: 0 2px 6px rgba(0,0,0,.44), 0 14px 36px rgba(0,0,0,.44);
  --shadow-lg: 0 4px 12px rgba(0,0,0,.5), 0 28px 64px rgba(0,0,0,.6);
}

/* ------------------------------------------------------------------ base -- */

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--ground);
  padding: 12px 18px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------------ type -- */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.022em;
  color: var(--ink);
}

h1 {
  font-variation-settings: "opsz" 144, "wght" 700, "SOFT" 0;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.0;
}
h2 {
  font-variation-settings: "opsz" 96, "wght" 650;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
}
h3 {
  font-variation-settings: "opsz" 40, "wght" 600;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.012em;
}
h4 {
  font-variation-settings: "opsz" 24, "wght" 600;
  font-size: 17px;
  line-height: 1.3;
}

p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 7px 15px 7px 12px;
  border-radius: var(--r-pill);
}
.eyebrow svg { width: 15px; height: 15px; }
.eyebrow--plain {
  background: none; border: 0; padding: 0;
  color: var(--ink-3); letter-spacing: 0.15em;
}

.lede {
  font-size: clamp(17px, 1.55vw, 19.5px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 58ch;
}

.prose p { color: var(--ink-2); max-width: 64ch; }
.prose p + p { margin-top: 1.1em; }

/* a hand-drawn-feeling underline under one emphasised phrase */
.mark {
  color: var(--accent);
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.mark::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 0.02em;
  height: 0.16em;
  background: var(--accent);
  opacity: .28;
  border-radius: var(--r-pill);
}

/* --------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-body);
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), background .2s ease,
              border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }

.btn--quiet {
  background: transparent; color: var(--ink);
  border-color: transparent; padding-left: 8px; padding-right: 8px;
}
.btn--quiet:hover { color: var(--accent); }

.btn--onDark {
  background: var(--surface); color: var(--ink);
}
.btn--onDark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------------------------------------------------------------- header -- */

.site-head {
  position: sticky; top: 0; z-index: 90;
  background: var(--ground);
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-head.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand svg { width: 36px; height: 36px; flex: none; border-radius: 10px; }
.brand-name {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 40, "wght" 700;
  font-size: 21px; letter-spacing: -0.03em; color: var(--ink);
}
.brand-name b { color: var(--accent); font-weight: inherit; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  text-decoration: none; color: var(--ink-2);
  font-size: 15px; font-weight: 500;
  padding: 9px 14px; border-radius: var(--r-pill);
  transition: color .18s ease, background .18s ease;
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }

.icon-btn {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  background: var(--surface);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.icon-btn:hover { transform: rotate(18deg); border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .moon { display: none; }
:root[data-theme="dark"] .icon-btn .moon,
:root:not([data-theme="light"]) .icon-btn .moon { display: block; }
:root[data-theme="dark"] .icon-btn .sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .sun { display: none; }
  :root:not([data-theme="light"]) .icon-btn .moon { display: block; }
}
:root[data-theme="light"] .icon-btn .sun { display: block; }
:root[data-theme="light"] .icon-btn .moon { display: none; }

@media (max-width: 940px) { .nav .nav-link { display: none; } }
@media (max-width: 460px) { .nav .btn-head { display: none; } }

/* ------------------------------------------------------------------ hero -- */

.hero { position: relative; padding: clamp(44px, 6vw, 84px) 0 clamp(48px, 6vw, 90px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 620px; height: 620px; right: -180px; top: -240px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 68%);
  border-radius: 50%;
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 460px; height: 460px; left: -220px; bottom: -180px;
  background: radial-gradient(circle, var(--sage-soft) 0%, transparent 68%);
  border-radius: 50%;
}

.hero-grid {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(30px, 4.5vw, 68px); align-items: center;
}
.hero h1 { margin: 20px 0 0; }
.hero .lede { margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note {
  margin-top: 20px; font-size: 14px; color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
}
.hero-note svg { width: 16px; height: 16px; color: var(--sage); flex: none; }

/* photo collage */
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  align-items: start;
  position: relative;
  margin-bottom: 30px;
}
.collage figure { margin: 0; }
.collage img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  background: var(--surface-2);
}
.collage .c1 { grid-row: span 2; transform: rotate(-1.6deg); z-index: 1; }
.collage .c1 img { aspect-ratio: 3/4; }
.collage .c2 { transform: rotate(1.4deg); z-index: 2; }
.collage .c2 img { aspect-ratio: 4/3; }
.collage .c3 { transform: rotate(-1deg); z-index: 2; }
.collage .c3 img { aspect-ratio: 4/3; }
.collage figure { transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.collage figure:hover { transform: rotate(0deg) translateY(-6px); z-index: 3; }

.collage-badge {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  z-index: 4; max-width: calc(100% - 12px);
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 10px 18px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.collage-badge svg { width: 16px; height: 16px; color: var(--accent); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .collage { margin-top: 12px; }
}
@media (max-width: 520px) {
  .collage .c1 { grid-row: auto; }
  .collage .c2 { margin-top: 0; }
}

/* -------------------------------------------------------------- trustbar -- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ground-2);
  padding: 22px 0;
}
.trust-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust-label {
  font-size: 12px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3);
}
.trust-names { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; }
.trust-names span {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 24, "wght" 600;
  font-size: 17px; color: var(--ink-2);
}

/* -------------------------------------------------------------- sections -- */

section { scroll-margin-top: 92px; }

.band { padding: clamp(60px, 8vw, 116px) 0; }
.band--tint { background: var(--ground-2); }
.band--surface { background: var(--surface); }

.sec-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head.is-centered { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin-top: 16px; }
.sec-head .lede { margin-top: 14px; }
.sec-head.is-centered .lede { margin-left: auto; margin-right: auto; }

.sec-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(28px, 3.5vw, 48px); flex-wrap: wrap;
}
.sec-head-row .sec-head { margin-bottom: 0; }

/* ----------------------------------------------------------- offer cards -- */

.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.offer-ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.offer-ico svg { width: 22px; height: 22px; }
.offer-ico.rose { background: var(--accent-soft); color: var(--accent); }
.offer-ico.sage { background: var(--sage-soft); color: var(--sage); }
.offer-ico.sun  { background: var(--sun-soft);  color: var(--sun); }
.offer h3 { margin-bottom: 8px; }
.offer p { font-size: 15px; color: var(--ink-2); }

@media (max-width: 980px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offers { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- steps -- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-n {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 24, "wght" 700;
  font-size: 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.step:nth-child(2) .step-n { background: var(--sage); color: var(--ground); }
.step:nth-child(3) .step-n { background: var(--sun);  color: var(--ground); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--ink-2); }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ reel -- */

.reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.clip { display: block; text-decoration: none; }
.clip-media {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-sm);
}
.clip-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.3,1); }
.clip:hover .clip-media img { transform: scale(1.045); }
.clip-media.is-empty {
  display: grid; place-items: center; text-align: center; padding: 18px;
  border: 1.5px dashed var(--line-2);
}
.clip-media .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.clip-media .hint { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.clip-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--surface); color: var(--accent);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.clip-play svg { width: 19px; height: 19px; margin-left: 2px; }
.clip:hover .clip-play { transform: translate(-50%,-50%) scale(1.1); }
.clip-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 13px; }
.clip-org { font-family: var(--f-display); font-variation-settings: "opsz" 24, "wght" 600; font-size: 17px; }
.clip-tag {
  font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap;
}

@media (max-width: 900px) { .reel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reel { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- gallery -- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery button {
  display: block; width: 100%; padding: 0; margin: 0;
  border: 0; background: var(--surface-2); cursor: zoom-in;
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 5;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), filter .3s ease;
}
.gallery button:hover img { transform: scale(1.06); filter: saturate(1.08); }
.gallery button.is-wide { grid-column: span 2; aspect-ratio: 8 / 5; }

@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .gallery button.is-wide { grid-column: span 2; } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 14, 10, .9);
  display: none; place-items: center;
  padding: 4vh 4vw;
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-nav {
  position: absolute; border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-close { top: 3vh; right: 4vw; }
.lightbox-nav.prev { left: 2vw; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 2vw; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------- photo band -- */

.showcase {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  min-height: 420px;
  display: grid; align-items: end;
  box-shadow: var(--shadow-lg);
}
.showcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24,14,10,.86) 0%, rgba(24,14,10,.42) 46%, rgba(24,14,10,.12) 100%);
}
.showcase-body { position: relative; z-index: 2; padding: clamp(26px, 4vw, 52px); max-width: 720px; }
.showcase-body blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 96, "wght" 600;
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.2; letter-spacing: -0.02em;
  color: #FFF7F1;
}
.showcase-body cite {
  display: block; margin-top: 16px; font-style: normal;
  font-size: 14px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,247,241,.72);
}

/* -------------------------------------------------------------- partners -- */

.orgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.org {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 24px 26px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.org:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-line); }
.org-mark {
  height: 56px; border-radius: var(--r-md);
  background: var(--surface-2);
  display: grid; place-items: center; padding: 8px;
  overflow: hidden;
}
.org-mark img { max-height: 40px; width: auto; object-fit: contain; }
.org-mark span {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 40, "wght" 700;
  font-size: 22px; letter-spacing: -.02em;
  color: var(--accent); text-align: center; line-height: 1;
}
.org-mark { background: var(--accent-soft); }
.org-name {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 24, "wght" 600;
  font-size: 18px; color: var(--ink);
}
.org-kind { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }

@media (max-width: 880px) { .orgs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .orgs { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- story -- */

.story { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 4.5vw, 68px); align-items: start; }
.story-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 104px; }
.story-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.story-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story-caption { font-size: 13px; color: var(--ink-3); }
.pullquote {
  margin: 26px 0 0; padding: 26px 28px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-lg);
  font-family: var(--f-display);
  font-variation-settings: "opsz" 72, "wght" 600;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.25; letter-spacing: -0.02em;
  color: var(--ink);
}
.byline { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink-3); }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-aside { position: static; }
}

/* ------------------------------------------------------------------- faq -- */

.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--accent-line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 24, "wght" 600;
  font-size: 17.5px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-2px,-2px);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px,-3px); }
.faq p { padding: 0 0 20px; color: var(--ink-2); font-size: 15.5px; max-width: 62ch; }

/* --------------------------------------------------------------- join/CTA -- */

.join { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.join-card {
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.6vw, 46px);
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.join-card.is-rose { background: var(--accent-soft); border-color: var(--accent-line); }
.join-card.is-sage { background: var(--sage-soft); border-color: transparent; }
.join-card h3 { font-size: clamp(22px, 2.3vw, 28px); }
.join-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.join-card li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15.5px; }
.join-card li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.join-card.is-sage li::before { box-shadow: inset 0 0 0 1.5px var(--sage); }
.join-card li::after {
  content: ""; position: absolute; left: 5px; top: .62em;
  width: 7px; height: 4px;
  border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}
.join-card.is-sage li::after { border-color: var(--sage); }
.join-card .btn { align-self: flex-start; margin-top: 6px; }

@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }

.cta {
  border-radius: var(--r-xl);
  background: var(--accent);
  color: var(--accent-ink);
  padding: clamp(38px, 5vw, 68px);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta h2 { color: var(--accent-ink); }
.cta p { color: var(--accent-ink); opacity: .86; max-width: 54ch; margin: 16px auto 0; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cta .btn--onDark { color: var(--accent); }
.cta .btn--onDark:hover { background: #FFFFFF; color: #00143A; }
.cta .btn--outline {
  background: transparent; color: var(--accent-ink);
  border-color: color-mix(in srgb, var(--accent-ink) 45%, transparent);
}
.cta .btn--outline:hover { background: color-mix(in srgb, var(--accent-ink) 12%, transparent); }

/* ---------------------------------------------------------------- footer -- */

.site-foot { background: var(--ground-2); border-top: 1px solid var(--line); padding: clamp(44px, 5vw, 72px) 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.foot-about p { font-size: 14.5px; color: var(--ink-2); margin-top: 14px; max-width: 34ch; }
.foot-col h4 {
  font-family: var(--f-body); font-size: 12px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px;
}
.foot-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--ink-3);
}

@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- reveal -- */

.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ==========================================================================
   Brand lockup, tagline, and the media-led sections
   ========================================================================== */

/* ------------------------------------------------------------ brand mark -- */

.brand img { display: block; height: 40px; width: auto; }
.brand .on-dark { display: none; }
.brand .on-light { display: block; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .on-dark  { display: block; }
  :root:not([data-theme="light"]) .brand .on-light { display: none; }
}
:root[data-theme="dark"] .brand .on-dark  { display: block; }
:root[data-theme="dark"] .brand .on-light { display: none; }
:root[data-theme="light"] .brand .on-dark  { display: none; }
:root[data-theme="light"] .brand .on-light { display: block; }

.brand-stack { display: flex; flex-direction: column; gap: 3px; }
.brand-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); line-height: 1;
}
@media (max-width: 620px) { .brand-tag { display: none; } .brand img { height: 34px; } }

.site-foot .brand img { height: auto; width: 190px; }

/* the tagline as a standalone line under the hero heading */
.tagline {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent);
}
.tagline::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--accent);
}

/* --------------------------------------------------------------- marquee -- */

.marquee {
  overflow: hidden;
  padding: 14px 0;
  background: var(--ground-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 64s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img {
  width: 168px; height: 168px; object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  background: var(--surface-2);
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
@media (max-width: 620px) { .marquee img { width: 128px; height: 128px; } }

/* -------------------------------------------------------- photo section -- */

.bandimg { position: relative; overflow: hidden; isolation: isolate; }
.bandimg > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.bandimg::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,20,58,.93) 0%, rgba(0,20,58,.86) 100%);
}
.bandimg .sec-head h2,
.bandimg .sec-head .lede,
.bandimg .eyebrow--plain { color: #EAF1FB; }
.bandimg .sec-head .lede { color: rgba(234,241,251,.78); }
.bandimg .eyebrow--plain { color: #7FB0FF; }
.bandimg .step {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  backdrop-filter: blur(3px);
}
.bandimg .step h3 { color: #EAF1FB; }
.bandimg .step p { color: rgba(234,241,251,.76); }

/* ----------------------------------------------------------------- split -- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.split-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.split-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md); object-fit: cover; }
.split-media .tall { grid-row: span 2; aspect-ratio: 4/5; }
.split-media .wide { aspect-ratio: 4/3; margin-top: 26px; }
.split-facts { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.fact {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.fact-ico {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.fact-ico svg { width: 17px; height: 17px; }
.fact b { display: block; font-size: 15.5px; color: var(--ink); }
.fact span { font-size: 14px; color: var(--ink-2); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media .wide { margin-top: 0; }
}

/* ------------------------------------------------------------- faq split -- */

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.faq-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); position: sticky; top: 104px; }
.faq-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.faq-grid .faq { margin: 0; max-width: none; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-photo { position: static; }
}

/* --------------------------------------------------------------- cta bg -- */

.cta { isolation: isolate; }
.cta > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(0,92,254,.94) 0%, rgba(0,20,58,.94) 100%);
}
.cta h2, .cta p { color: #FFFFFF; }
.cta .btn--onDark { background: #FFFFFF; color: #00143A; }
.cta .btn--onDark:hover { background: #FFFFFF; color: #00143A; }
.cta .btn--outline { color: #FFFFFF; border-color: rgba(255,255,255,.5); }
.cta .btn--outline:hover { background: rgba(255,255,255,.14); }

/* ------------------------------------------------------- story two-photo -- */

.story-aside .story-photo + .story-photo { margin-top: 4px; }
.story-photo.short img { aspect-ratio: 4/3; }

/* ==========================================================================
   Founder feature
   ========================================================================== */

.founder { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 4.5vw, 72px); align-items: start; }

.founder-card { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 18px; }
.founder-photo {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.founder-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.founder-plate {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
}
.founder-plate b {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 40, "wght" 700;
  font-size: 19px; color: var(--ink); letter-spacing: -.02em;
}
.founder-plate span { font-size: 13px; color: var(--ink-2); }

.toolkit { display: flex; flex-wrap: wrap; gap: 8px; }
.toolkit span {
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 7px 13px;
}
.toolkit .lead { color: var(--ink-3); border: 0; background: none; padding-left: 0; }

/* --- the essay itself */
.movement + .movement { margin-top: clamp(30px, 3.4vw, 46px); }
.movement-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.movement-head span {
  flex: none;
  font-size: 12px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent);
}
.movement-head::after {
  content: ""; flex: 1; height: 1px; background: var(--line-2);
}
.movement h3 { font-size: clamp(21px, 2.1vw, 27px); margin-bottom: 14px; }
.movement p { color: var(--ink-2); max-width: 62ch; }
.movement p + p { margin-top: 1.05em; }

/* The essay opens on "I literally dream of cars." — a drop cap on a
   one-letter word reads as a stray rule, so the opener gets a lead
   treatment instead: larger, darker, with a short accent rule above it. */
.movement p.lead-in {
  font-size: clamp(18px, 1.75vw, 21px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 58ch;
}
.movement p.lead-in::before {
  content: "";
  display: block; width: 42px; height: 3px;
  border-radius: 3px; background: var(--accent);
  margin-bottom: 18px;
}

.founder-quote {
  margin: clamp(30px, 3.4vw, 46px) 0 0;
  padding: 30px 32px;
  border-radius: var(--r-lg);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  font-family: var(--f-display);
  font-variation-settings: "opsz" 96, "wght" 600;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.22; letter-spacing: -.02em;
  color: var(--ink);
}

.signoff { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.signoff img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.signoff b {
  display: block; font-family: var(--f-display);
  font-variation-settings: "opsz" 24, "wght" 600;
  font-size: 16.5px; color: var(--ink);
}
.signoff span { font-size: 13.5px; color: var(--ink-3); }

@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .founder-card { position: static; }
}
