/* ==========================================================================
   FATHER IN A FRIEND — shared stylesheet
   Palette, type and layout tokens live at the top. Change them here and
   they update everywhere on the site.
   ========================================================================== */

:root {
  /* Brand palette */
  --green:        #174A36;
  --green-deep:   #0F3527;
  --green-tint:   #EDF2EE;
  --cream:        #FAF6EC;
  --cream-deep:   #F2EBD9;
  --gold:         #D5A73C;
  --gold-deep:    #A97F1E;
  --terracotta:   #A86643;
  --charcoal:     #252525;
  --white:        #FFFFFF;

  /* Derived neutrals (warm-biased, not pure grey) */
  --body-text:    #40403A;
  --muted:        #6B6B61;
  --muted-on-green: #B9CDC0;
  --line:         #E4DCC7;
  --line-soft:    #EFE8D8;
  --line-on-green: rgba(250, 246, 236, .18);

  /* Type */
  --display: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;
  --body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1280px;
  --prose: 68ch;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(37, 37, 37, .04), 0 4px 12px -6px rgba(37, 37, 37, .10);
  --shadow: 0 2px 4px rgba(37, 37, 37, .04), 0 18px 40px -22px rgba(37, 37, 37, .28);
  --shadow-lg: 0 4px 8px rgba(37, 37, 37, .05), 0 40px 80px -40px rgba(23, 74, 54, .40);

  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--body-text);
  font-family: var(--body);
  font-size: clamp(1rem, .97rem + .16vw, 1.0625rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -.015em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: var(--charcoal); }

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--green);
  color: var(--cream);
  padding: .85rem 1.35rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.bg-cream  { background: var(--cream); }
.bg-white  { background: var(--white); }
.bg-deep   { background: var(--cream-deep); }
.bg-green  { background: var(--green); color: var(--cream); }

.bg-green h1, .bg-green h2, .bg-green h3, .bg-green h4 { color: var(--cream); }
.bg-green p { color: var(--muted-on-green); }
.bg-green strong { color: var(--cream); }
.bg-green a { color: var(--gold); }

.prose { max-width: var(--prose); }
.narrow { max-width: 46rem; }

.stack > * + * { margin-top: var(--stack-gap, 1.15rem); }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.bg-green .eyebrow { color: var(--gold); }
.bg-green .eyebrow::before { background: var(--gold); }

.h-display {
  font-size: clamp(2.7rem, 1.5rem + 5.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4rem); line-height: 1.05; letter-spacing: -.025em; }
.h2 { font-size: clamp(1.95rem, 1.35rem + 2.5vw, 3.1rem); line-height: 1.08; letter-spacing: -.02em; }
.h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); line-height: 1.2; }
.h4 { font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; line-height: 1.4; }

.lead {
  font-size: clamp(1.075rem, 1rem + .55vw, 1.3rem);
  line-height: 1.6;
  color: var(--body-text);
}
.bg-green .lead { color: var(--muted-on-green); }

.muted { color: var(--muted); }
.gold  { color: var(--gold-deep); }

.serif-quote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.015em;
  color: var(--charcoal);
  max-width: 24ch;
  margin: 0;
}
.bg-green .serif-quote { color: var(--cream); }

.rule-gold { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule-gold.is-accent { background: linear-gradient(90deg, var(--gold), transparent); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  white-space: nowrap;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.btn svg, .opt svg {
  width: 17px; height: 17px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.opt svg { width: 20px; height: 20px; stroke: var(--gold); stroke-width: 1.6; }
.btn .arw { transition: transform .28s var(--ease); }
/* .bg-green a would otherwise win the cascade and paint button text gold-on-gold */
.bg-green .btn, .footer .btn { color: var(--btn-fg); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:hover .arw { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--gold  { --btn-bg: var(--gold); --btn-fg: var(--charcoal); }
.btn--gold:hover { --btn-bg: #E4B84D; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--green); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); background: var(--green-tint); }
.bg-green .btn--ghost { --btn-fg: var(--cream); border-color: var(--line-on-green); }
.bg-green .btn--ghost:hover { background: rgba(250,246,236,.10); border-color: var(--cream); }
.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--green); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-stuck {
  background: rgba(250, 246, 236, .94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
  transition: min-height .3s var(--ease);
}
.nav.is-stuck .nav__inner { min-height: 4.25rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--charcoal);
  flex: none;
}
.brand__mark {
  width: 2.35rem; height: 2.35rem;
  flex: none;
  border-radius: 8px;
  background: var(--green);
  color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -.02em;
  transition: transform .3s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-4deg); }
.brand__name {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.15;
  position: relative;
}
.brand__name::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 1px; background: var(--gold);
  transition: right .35s var(--ease);
}
.brand:hover .brand__name::after { right: 0; }

.nav__links { display: none; }
.nav__cta { display: none; }

@media (min-width: 64rem) {
  .nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 1.8vw, 1.9rem);
    list-style: none;
    margin: 0; padding: 0;
  }
  .nav__links a {
    font-size: .875rem;
    font-weight: 600;
    color: var(--body-text);
    text-decoration: none;
    padding: .35rem 0;
    position: relative;
    transition: color .2s var(--ease);
  }
  .nav__links a::after {
    content: "";
    position: absolute; left: 0; right: 100%; bottom: 0;
    height: 2px; background: var(--gold);
    transition: right .3s var(--ease);
  }
  .nav__links a:hover,
  .nav__links a[aria-current="page"] { color: var(--green); }
  .nav__links a:hover::after,
  .nav__links a[aria-current="page"]::after { right: 0; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none !important; }
}

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.85rem; height: 2.85rem;
  padding: 0 .6rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
}
.nav__toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--charcoal);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--green);
  color: var(--cream);
  padding: 7rem var(--pad) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li + li { margin-top: .3rem; }
.menu a {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.1rem + 3vw, 2.6rem);
  color: var(--cream);
  text-decoration: none;
  padding: .28rem 0;
  border-bottom: 1px solid var(--line-on-green);
}
.menu a:hover { color: var(--gold); }
.menu__foot {
  margin-top: 2.5rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
}
body.menu-open { overflow: hidden; }

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 200;
  transition: width .1s linear;
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll (safe default: visible)
   -------------------------------------------------------------------------- */

.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: .09s; }
html.js .reveal[data-delay="2"] { transition-delay: .18s; }
html.js .reveal[data-delay="3"] { transition-delay: .27s; }
html.js .reveal[data-delay="4"] { transition-delay: .36s; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */

.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(3rem, 5vw, 5rem); }
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--green); font-style: italic; }

.hero__q {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 1.1rem;
}

/* Path chooser */
.paths { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.path-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.25rem;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.path-btn svg { flex: none; width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.path-btn:hover { transform: translateY(-2px); border-color: var(--gold); }
.path-btn[aria-selected="true"] {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}

.path-panel {
  border-left: 2px solid var(--gold);
  padding: .15rem 0 .15rem 1.35rem;
  min-height: 10.5rem;
}
.path-panel__title {
  font-family: var(--display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--charcoal);
  margin: 0 0 .85rem;
}
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.tags li {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .32rem .75rem;
  border-radius: 100px;
  background: var(--green-tint);
  color: var(--green);
}
.path-panel__note {
  margin: 1.1rem 0 0;
  font-size: .95rem;
  color: var(--muted);
}
.path-panel__note b { color: var(--green); font-weight: 700; }

html.js .path-panel__body { opacity: 1; transition: opacity .28s var(--ease), transform .28s var(--ease); }
html.js .path-panel__body.is-swapping { opacity: 0; transform: translateY(6px); }

.hero__ctas { margin-top: 1.9rem; }
.hero__meta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .4rem 1.1rem;
  font-size: .73rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .55rem; }
.hero__meta span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

/* Hero media */
.hero__media { position: relative; }
.hero__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-deep);
  will-change: transform;
  transition: transform .45s var(--ease);
}
.hero__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 28%; }
@media (min-width: 62rem) {
  .hero__frame img { aspect-ratio: 5 / 6; }
}

.impact-card {
  position: relative;
  margin: -3.25rem 0 0 0;
  width: min(21rem, 100%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
}
@media (min-width: 40rem) {
  .impact-card { position: absolute; left: -1.25rem; bottom: -1.75rem; margin: 0; }
}
@media (min-width: 62rem) {
  .impact-card { left: -3rem; }
}
.impact-card__label {
  font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 .7rem;
}
.impact-card__rows { display: grid; gap: .42rem; }
.impact-card__row { display: flex; align-items: baseline; gap: .6rem; font-size: .92rem; }
.impact-card__row b {
  font-family: var(--display); font-size: 1.28rem; font-weight: 500; color: var(--green);
  font-variant-numeric: tabular-nums; min-width: 2.9rem;
}
.impact-card__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease), opacity .3s var(--ease), margin .4s var(--ease);
  opacity: 0;
  margin-top: 0;
}
.impact-card__more > div { overflow: hidden; }
.impact-card:hover .impact-card__more,
.impact-card:focus-within .impact-card__more {
  grid-template-rows: 1fr; opacity: 1; margin-top: .8rem;
}
.impact-card__more ul {
  list-style: none; margin: 0; padding: .8rem 0 0; border-top: 1px solid var(--line-soft);
  display: grid; gap: .3rem; font-size: .82rem; color: var(--muted);
}
.impact-card__more b { color: var(--charcoal); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Generic grids and cards
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.75rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 44rem) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 58rem) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.split {
  display: grid; gap: clamp(2rem, 4.5vw, 4rem); grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 62rem) {
  .split { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: center; }
  .split--sticky > :first-child { position: sticky; top: 7rem; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.card__num {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
  margin: 0 0 .9rem;
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card__icon {
  width: 2.9rem; height: 2.9rem;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.bg-green .card {
  background: rgba(250,246,236,.05);
  border-color: var(--line-on-green);
}
.bg-green .card:hover { background: rgba(250,246,236,.09); }
.bg-green .card__icon { background: rgba(213,167,60,.16); color: var(--gold); }

/* Pathway cards (three big ones) */
.pathcards { --stack-gap: 0; }
.pathcard {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pathcard::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--accent-bar, var(--gold));
  transform: scaleX(.18); transform-origin: left;
  transition: transform .45s var(--ease);
}
.pathcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pathcard:hover::before { transform: scaleX(1); }
.pathcard:nth-child(1) { --accent-bar: var(--green); }
.pathcard:nth-child(2) { --accent-bar: var(--gold); }
.pathcard:nth-child(3) { --accent-bar: var(--terracotta); }
.pathcard h3 { margin-bottom: .7rem; }
.pathcard p { color: var(--muted); margin: 0; }

.tri-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 1rem + 1.3vw, 1.9rem);
  color: var(--green);
}

/* --------------------------------------------------------------------------
   OUR FIRST FOUR (expandable)
   -------------------------------------------------------------------------- */

.four { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 44rem) { .four { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 68rem) { .four { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.four__item {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.four__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.four__item[aria-expanded="true"] { border-color: var(--green); box-shadow: var(--shadow); }
.four__item > span { display: block; }
.four__num {
  font-family: var(--display); font-size: 2.35rem; line-height: 1;
  color: var(--line); font-variant-numeric: tabular-nums;
  transition: color .3s var(--ease);
}
.four__item[aria-expanded="true"] .four__num,
.four__item:hover .four__num { color: var(--gold); }
.four__label {
  margin: 1.1rem 0 0;
  font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}
.four__path {
  margin: .4rem 0 0;
  font-family: var(--display); font-size: 1.25rem; line-height: 1.2; color: var(--charcoal);
}
.four__body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease), opacity .3s var(--ease), margin-top .4s var(--ease);
  opacity: 0; margin-top: 0;
}
.four__body > div { overflow: hidden; }
.four__item[aria-expanded="true"] .four__body { grid-template-rows: 1fr; opacity: 1; margin-top: 1rem; }
.four__item { padding-right: 3.5rem; }
.four__body p { font-size: .93rem; color: var(--muted); margin: 0; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.four__hint {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted);
  display: grid; place-items: center; font-size: 1rem; line-height: 1;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.four__item[aria-expanded="true"] .four__hint {
  transform: rotate(45deg); background: var(--green); color: var(--cream); border-color: var(--green);
}

.four__reveal {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius);
  background: var(--green-tint);
  border: 1px solid rgba(23,74,54,.10);
  text-align: center;
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.four__reveal.is-in { opacity: 1; transform: none; }
.four__reveal p {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.8rem);
  line-height: 1.32; color: var(--green); margin: 0 auto; max-width: 30ch;
}

/* --------------------------------------------------------------------------
   WHAT WOULD YOU CHOOSE
   -------------------------------------------------------------------------- */

.choose { border-radius: var(--radius-lg); overflow: hidden; }
.choose__inner { padding: clamp(2rem, 5vw, 4rem); }
.choose__step { display: none; }
.choose__step.is-active { display: block; animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.choose__q {
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.2rem);
  line-height: 1.22; color: var(--cream); margin: 0 0 1.9rem; max-width: 26ch;
}
.choose__opts { display: grid; gap: .8rem; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 46rem) { .choose__opts { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.choose__opts--wide { grid-template-columns: 1fr; }
@media (min-width: 46rem) { .choose__opts--wide { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.opt {
  display: flex; align-items: center; gap: .9rem;
  width: 100%; text-align: left;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line-on-green);
  border-radius: var(--radius-sm);
  background: rgba(250,246,236,.05);
  color: var(--cream);
  font: inherit; font-weight: 600; font-size: .95rem;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.opt:hover { background: rgba(250,246,236,.12); border-color: var(--gold); transform: translateY(-2px); }
.opt svg { flex: none; width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.6; }

.choose__result { text-align: left; max-width: 34rem; }
.choose__pause {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.2rem, 1rem + 1.1vw, 1.65rem);
  line-height: 1.35; color: var(--muted-on-green); margin: 0 0 1.5rem;
}
.choose__punch {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.18; color: var(--cream); margin: 0 0 1.1rem;
}
.choose__punch em { color: var(--gold); font-style: italic; }
.choose__chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.25rem;
}
.choose__restart {
  background: none; border: 0; padding: 0; margin-left: 1rem;
  color: var(--muted-on-green); font: inherit; font-size: .82rem; text-decoration: underline;
  cursor: pointer;
}
.choose__restart:hover { color: var(--cream); }

/* --------------------------------------------------------------------------
   IMPACT NUMBERS
   -------------------------------------------------------------------------- */

.toggle {
  display: inline-flex; padding: 4px; gap: 4px;
  border: 1px solid var(--line-on-green); border-radius: 100px; background: rgba(0,0,0,.14);
  margin-bottom: 2.5rem;
}
.toggle button {
  padding: .5rem 1.2rem; border: 0; border-radius: 100px; background: transparent;
  color: var(--muted-on-green); font: inherit; font-size: .74rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.toggle button[aria-selected="true"] { background: var(--gold); color: var(--charcoal); }

.stats { display: grid; gap: 1px; background: var(--line-on-green); border: 1px solid var(--line-on-green); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 34rem) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 60rem) { .stats.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); } .stats.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.stat { background: var(--green); padding: 1.75rem 1.5rem 1.9rem; }
.stat b {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.9rem); line-height: 1;
  color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.stat span {
  display: block; margin-top: .8rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted-on-green);
}
.stat-note { margin-top: 2rem; font-size: .95rem; color: var(--muted-on-green); max-width: 44ch; }

.pathbars { display: grid; gap: 1rem; max-width: 34rem; }
.pathbar { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 1rem; align-items: center; }
.pathbar span:first-child { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-green); }
.pathbar__track { display: flex; gap: 5px; }
.pathbar__unit {
  width: 2.4rem; height: 1.1rem; border-radius: 3px; background: var(--gold);
  transform-origin: left; transform: scaleX(0);
  animation: growX .5s var(--ease) forwards;
}
.pathbar:nth-child(2) .pathbar__unit { background: var(--terracotta); }
.pathbar:nth-child(3) .pathbar__unit { background: var(--muted-on-green); }
.pathbar__unit:nth-child(2) { animation-delay: .1s; }
@keyframes growX { to { transform: scaleX(1); } }
.pathbar > b { font-family: var(--display); color: var(--cream); font-size: 1.2rem; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   FREEDOM IS
   -------------------------------------------------------------------------- */

.freedom { text-align: center; }
.freedom__line {
  font-family: var(--display);
  font-size: clamp(2.2rem, 1.2rem + 5vw, 4.75rem);
  line-height: 1.08; letter-spacing: -.03em; color: var(--charcoal);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .3em;
}
.freedom__word { color: var(--green); font-style: italic; min-width: 6ch; text-align: left; }
html.js .freedom__word { transition: opacity .35s var(--ease), transform .35s var(--ease); }
html.js .freedom__word.is-out { opacity: 0; transform: translateY(-8px); }
.freedom__final {
  margin-top: 1.75rem; font-size: 1rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold-deep);
}

/* --------------------------------------------------------------------------
   PATHWAY EXPLORER
   -------------------------------------------------------------------------- */

.explorer { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 62rem) { .explorer { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); } }

.branches { display: grid; gap: .7rem; }
.branch {
  width: 100%; text-align: left; font: inherit; cursor: pointer;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--charcoal);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.branch:hover { transform: translateX(4px); border-color: var(--gold); }
.branch[aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.branch__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.branch__name { font-family: var(--display); font-size: 1.25rem; }
.branch__count { margin-left: auto; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.branch[aria-selected="true"] .branch__count { color: var(--muted-on-green); }

.explorer__panel {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
}
.explorer__panel h3 { margin-bottom: 1rem; }
.explorer__list { list-style: none; margin: 0 0 1.35rem; padding: 0; display: grid; gap: .5rem; }
.explorer__list li {
  display: flex; align-items: center; gap: .75rem;
  font-size: .95rem; color: var(--body-text);
  padding-bottom: .5rem; border-bottom: 1px dashed var(--line-soft);
}
.explorer__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.explorer__list li::before { content: ""; width: 14px; height: 1.5px; background: var(--gold); flex: none; }
.explorer__end {
  padding-top: 1.25rem; border-top: 1px solid var(--line-soft);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green);
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
}
.explorer__end .sep { color: var(--gold); }

/* --------------------------------------------------------------------------
   TIMELINE (how it works)
   -------------------------------------------------------------------------- */

.timeline { position: relative; padding-left: 2.75rem; }
.timeline::before {
  content: ""; position: absolute; left: .84rem; top: .6rem; bottom: .6rem;
  width: 2px; background: var(--line);
}
.timeline__fill {
  position: absolute; left: .84rem; top: .6rem; width: 2px; height: 0;
  background: var(--gold); transition: height .2s linear; z-index: 1;
}
.tl-step { position: relative; padding-bottom: clamp(2rem, 4vw, 3.25rem); }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before {
  content: ""; position: absolute; left: -2.75rem; top: .35rem;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--line);
  z-index: 2; transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.tl-step.is-active::before { border-color: var(--gold); background: var(--gold); transform: scale(1.12); }
.tl-step__num {
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); transition: color .35s var(--ease);
}
.tl-step.is-active .tl-step__num { color: var(--gold-deep); }
.tl-step h3 { margin: .3rem 0 .6rem; }
.tl-step p { color: var(--muted); max-width: 46ch; margin: 0; }

/* --------------------------------------------------------------------------
   FUTURE CYCLE
   -------------------------------------------------------------------------- */

.cycle { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 58rem) { .cycle { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); } }
.cycle__svg { width: 100%; max-width: 26rem; height: auto; margin-inline: auto; }
.cycle__node { cursor: pointer; }
.cycle__node circle { transition: fill .3s var(--ease), r .3s var(--ease); }
.cycle__node text { font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: .09em; fill: var(--cream); }
.cycle__node:hover circle, .cycle__node[aria-selected="true"] circle { fill: var(--gold); }
.cycle__node[aria-selected="true"] text, .cycle__node:hover text { fill: var(--charcoal); }
.cycle__center { font-family: var(--display); font-size: 15px; font-style: italic; fill: var(--gold); }
.cycle__ring { fill: none; stroke: var(--line-on-green); stroke-width: 1.5; stroke-dasharray: 6 7; }
.cycle__arc { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }

.cycle__detail {
  border: 1px solid var(--line-on-green); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem); background: rgba(250,246,236,.05);
  min-height: 12rem;
}
.cycle__detail h3 { margin-bottom: .8rem; }
.cycle__detail .step-of { font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin: 0 0 .7rem; }

/* --------------------------------------------------------------------------
   PHOTO STORY
   -------------------------------------------------------------------------- */

.photostory { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 62rem) { .photostory { grid-template-columns: minmax(0, 1fr) 9.5rem; } }
.photostory__main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--cream-deep); box-shadow: var(--shadow);
}
.photostory__main img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: opacity .35s var(--ease), transform 8s linear;
}
.photostory__main img.is-fading { opacity: 0; }
.photostory__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3.5rem 1.75rem 1.4rem;
  background: linear-gradient(transparent, rgba(15,53,39,.92));
  color: var(--cream);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
}
.photostory__cap p { margin: 0; font-size: .95rem; max-width: 46ch; color: var(--cream); }
.photostory__count { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); font-variant-numeric: tabular-nums; flex: none; }
.photostory__thumbs { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .35rem; }
@media (min-width: 62rem) { .photostory__thumbs { flex-direction: column; overflow: visible; } }
.photostory__thumbs button {
  flex: none; width: 5.5rem; padding: 0; border: 2px solid transparent; border-radius: 10px;
  overflow: hidden; cursor: pointer; background: none; line-height: 0;
  transition: border-color .25s var(--ease), opacity .25s var(--ease);
  opacity: .55;
}
@media (min-width: 62rem) { .photostory__thumbs button { width: 100%; } }
.photostory__thumbs button img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photostory__thumbs button:hover { opacity: .85; }
.photostory__thumbs button[aria-selected="true"] { border-color: var(--gold); opacity: 1; }

/* --------------------------------------------------------------------------
   TEAM
   -------------------------------------------------------------------------- */

.team { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .team { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 58rem) { .team { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.member figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); }
.member img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: transform .55s var(--ease);
}
.member:hover img { transform: scale(1.03); }
.member__name { font-family: var(--display); font-size: 1.4rem; margin: 1.1rem 0 .3rem; color: var(--charcoal); }
.member__role { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: 0; }
.member__bio { margin: .85rem 0 0; font-size: .93rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 1.1rem; max-width: 38rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .74rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--charcoal);
  padding: .85rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,74,54,.10); outline: none;
}
.field .err { font-size: .82rem; color: #A33; font-weight: 600; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C55; }
.field.is-invalid .err { display: block; }
.field--row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .field--row { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.checks { display: grid; gap: .5rem; grid-template-columns: 1fr; }
@media (min-width: 34rem) { .checks { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.check {
  display: flex; align-items: center; gap: .65rem;
  padding: .7rem .95rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); font-size: .92rem; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.check:hover { border-color: var(--gold); }
.check input { accent-color: var(--green); width: 1.05rem; height: 1.05rem; }
.check:has(input:checked) { border-color: var(--green); background: var(--green-tint); }

.form__status { font-size: .95rem; font-weight: 600; }
.form__status[data-state="ok"] { color: var(--green); }
.form__status[data-state="err"] { color: #A33; }
.form__note {
  font-size: .85rem; color: var(--muted);
  padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--cream-deep); border: 1px dashed var(--line);
}
.btn[disabled] { opacity: .6; cursor: progress; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.pagehead { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.pagehead h1 { margin-bottom: 1.35rem; }
.pagehead .lead { max-width: 44rem; }

.figure-wide { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.figure-wide img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.figure-wide figcaption { font-size: .85rem; color: var(--muted); padding-top: .85rem; }

.notice {
  padding: 1.1rem 1.35rem; border-left: 3px solid var(--gold);
  background: var(--cream-deep); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .93rem; color: var(--muted);
}
.bg-green .notice { background: rgba(250,246,236,.06); color: var(--muted-on-green); }

.tracks { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 52rem) { .tracks { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.track { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.25rem); background: var(--white); }
.track ol, .track ul { margin: 1rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.track li { margin-bottom: .45rem; }
.track--gold { border-color: var(--gold); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { background: var(--green-deep); color: var(--muted-on-green); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .footer__grid { grid-template-columns: minmax(0,1.3fr) minmax(0,.8fr) minmax(0,1.1fr); } }
.footer h2, .footer h3 { color: var(--cream); }
.footer__brand { font-family: var(--display); font-size: 1.45rem; color: var(--cream); margin: 0 0 .85rem; }
.footer p { color: var(--muted-on-green); font-size: .95rem; max-width: 34ch; }
.footer__title { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer ul a { color: var(--muted-on-green); text-decoration: none; font-size: .95rem; transition: color .2s var(--ease); }
.footer ul a:hover { color: var(--cream); }
.footer__news { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .9rem; }
.footer__news input {
  flex: 1 1 11rem; font: inherit; font-size: .92rem; padding: .8rem 1rem;
  border-radius: 100px; border: 1px solid var(--line-on-green);
  background: rgba(250,246,236,.06); color: var(--cream);
}
.footer__news input::placeholder { color: rgba(185,205,192,.7); }
.footer__social { display: flex; gap: .6rem; margin-top: 1.5rem; flex-wrap: wrap; }
.footer__social a {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--line-on-green); color: var(--muted-on-green);
  display: grid; place-items: center; text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line-on-green);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .84rem;
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .pathbar__unit { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   Logo lockups
   -------------------------------------------------------------------------- */

.brand__logo {
  width: auto;
  height: 2.9rem;
  flex: none;
  transition: transform .3s var(--ease);
}
.nav.is-stuck .brand__logo { height: 2.5rem; }
.brand:hover .brand__logo { transform: rotate(-3deg) scale(1.03); }

/* The logo is navy and gold, so on the dark green footer it sits on its own
   light plaque rather than disappearing into the background. */
.footer__logo {
  width: min(12.5rem, 62%);
  height: auto;
  background: var(--cream);
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.35rem;
}

/* --------------------------------------------------------------------------
   Video band
   -------------------------------------------------------------------------- */

.videos {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 42rem) { .videos { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 60rem) { .videos { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.vid { margin: 0; }
.vid video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #0C1220;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.vid figcaption {
  margin-top: .95rem;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.5;
}
.vid figcaption b {
  display: block;
  font-family: var(--body);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .3rem;
}
.bg-green .vid figcaption { color: var(--muted-on-green); }
.bg-green .vid figcaption b { color: var(--gold); }

/* --------------------------------------------------------------------------
   Grant archive (Impact page)
   -------------------------------------------------------------------------- */

.grant-jumps { display: flex; flex-wrap: wrap; gap: .7rem; }
.grant-jump {
  display: flex; flex-direction: column; gap: .1rem;
  padding: .9rem 1.35rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--charcoal); text-decoration: none;
  font-size: .95rem; font-weight: 600;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.grant-jump:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.grant-jump b {
  font-family: var(--display); font-weight: 500; font-size: 1.35rem;
  color: var(--green); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.grant-jump span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.grants { display: grid; gap: clamp(3.5rem, 8vw, 6rem); }

.grant { scroll-margin-top: 6rem; }
.grant + .grant { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); }

.grant__meta { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.grant__seq {
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
}
.chip {
  font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 100px;
  background: var(--green-tint); color: var(--green); border: 1px solid rgba(23,74,54,.14);
}
.chip--live { background: rgba(213,167,60,.18); color: var(--gold-deep); border-color: rgba(169,127,30,.3); }

.grant__name { margin-bottom: 1.1rem; }

.grant__facts {
  display: flex; flex-wrap: wrap; gap: .45rem 1.6rem;
  margin: 0; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line-soft);
  font-size: .9rem; color: var(--muted);
}
.grant__facts span { display: inline-flex; align-items: baseline; gap: .4rem; }
.grant__facts b {
  font-family: var(--display); font-weight: 500; font-size: 1.15rem;
  color: var(--charcoal); font-variant-numeric: tabular-nums;
}

.grant__body {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1fr; align-items: start;
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
@media (min-width: 62rem) { .grant__body { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.grant__headline {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); line-height: 1.24;
  margin-bottom: 1rem;
}
.grant__col p { color: var(--muted); }
.grant__col p:first-of-type { color: var(--body-text); }

.grant__block { padding-top: clamp(2rem, 4vw, 3rem); }
.grant__block .prose p { color: var(--muted); }
.grant__block--learn {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--green-tint);
  border: 1px solid rgba(23,74,54,.10);
  border-radius: var(--radius);
}
.grant__block--learn .prose p { color: var(--body-text); }

.gphotos { display: grid; gap: clamp(.75rem, 1.8vw, 1.25rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 58rem) { .gphotos { grid-template-columns: repeat(4, 1fr); } }
.gphoto { margin: 0; }
.gphoto img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-sm); background: var(--cream-deep);
  transition: transform .5s var(--ease);
}
.gphoto:hover img { transform: scale(1.02); }
.gphoto figcaption { margin-top: .6rem; font-size: .84rem; color: var(--muted); line-height: 1.45; }

/* Give the per-grant ledger room; the pathway column carries long labels. */
.grant__body table.ledger { min-width: 24rem; font-size: .92rem; }
.grant__body table.ledger td { padding: .8rem 1rem .8rem 0; }
.grant__body .path { min-width: 8.5rem; }
