/* New Generation Capital: landing page
   Palette and type drawn from the company profile deck. */

:root {
  --ink: #05152A;
  --deep: #0B2442;
  --signal: #F5831F;
  --signal-deep: #D96A0B;
  --slate: #617083;
  --slate-light: #A9B4C2;
  --mist: #F4F6F8;
  --rule: #D5DCE4;
  --paper: #FFFFFF;

  /* Poppins is the New Generation Group typeface */
  --display: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 148px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--signal); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

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

/* ---------- type primitives ---------- */
.label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--signal); flex: none; }
.label--light { color: var(--slate-light); }

.display {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.85rem, 3.7vw, 2.9rem);
  line-height: 1.16;
  letter-spacing: -.03em;
  color: var(--ink);
}
.display--light { color: var(--paper); }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--split {
  max-width: none;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end;
}
.section-head__aside { color: var(--slate); font-size: 1rem; max-width: 420px; justify-self: end; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--signal); color: var(--ink);
  font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 17px 30px; border: 1px solid var(--signal); border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper);
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { border-color: var(--paper); }
.btn-arrow { width: 16px; height: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { color: var(--ink); }
.btn--small { padding: 11px 20px; font-size: .74rem; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; transition: height .35s var(--ease); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 46px; height: auto; }
.brand-mark--dark { display: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word__top { font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); }
.brand-word__bottom {
  margin-top: 6px; font-size: .62rem; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--signal);
  display: flex; align-items: center; gap: 8px;
}
.brand-word__bottom::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .7; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { white-space: nowrap; }
.nav a:not(.btn) {
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.82); text-decoration: none;
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a:not(.btn):hover { color: var(--paper); }

.site-header.is-solid { background: rgba(255,255,255,.96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--rule); }
.site-header.is-solid .header-inner { height: 72px; }
.site-header.is-solid .brand-mark--light { display: none; }
.site-header.is-solid .brand-mark--dark { display: block; }
.site-header.is-solid .brand-word__top { color: var(--ink); }
.site-header.is-solid .nav a:not(.btn) { color: var(--slate); }
.site-header.is-solid .nav a:not(.btn):hover { color: var(--ink); }
.site-header.is-solid .btn::before { background: var(--ink); }
.site-header.is-solid .btn:hover { border-color: var(--ink); color: var(--paper); }

.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--paper); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.site-header.is-solid .menu-toggle span { background: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; background: var(--ink); color: var(--paper);
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 140px; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.04); animation: drift 18s var(--ease) forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,21,42,.94) 0%, rgba(5,21,42,.78) 38%, rgba(5,21,42,.15) 75%),
    linear-gradient(0deg, rgba(5,21,42,.95) 0%, rgba(5,21,42,0) 40%);
}
@keyframes drift { to { transform: scale(1); } }

.hero-inner { width: 100%; padding-bottom: clamp(56px, 8vw, 96px); }
.hero-title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2.3rem, 5.8vw, 4.7rem); line-height: 1.06; letter-spacing: -.045em;
  max-width: 14ch; margin-bottom: 30px;
}
.hero-title em { font-style: italic; color: var(--signal); }
.hero-lede { max-width: 560px; font-size: clamp(1rem, 1.3vw, 1.1rem); color: rgba(255,255,255,.78); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-credentials {
  width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 28px; padding-bottom: 36px;
}
.hero-credentials dl { display: flex; gap: clamp(28px, 4vw, 56px); flex: 1; }
.hero-credentials dl > div { max-width: 230px; flex: 1 1 0; }
.hero-credentials dt { font-family: var(--display); font-size: 1.4rem; font-weight: 300; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.hero-credentials dd { font-size: .78rem; line-height: 1.55; color: rgba(255,255,255,.6); }
.group-note { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--slate-light); white-space: nowrap; }
.group-note strong { color: var(--paper); font-weight: 600; }

/* ---------- approach ---------- */
.approach-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.approach-statement .display span { color: var(--slate); }
.approach-body { padding-top: 46px; }
.approach-body > p { font-size: 1.04rem; color: #2A3A50; margin-bottom: 40px; }
.pillars li { padding: 22px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 190px 1fr; gap: 20px; }
.pillars li:last-child { border-bottom: 1px solid var(--rule); }
.pillars h3 { font-size: .9rem; font-weight: 600; }
.pillars p { color: var(--slate); font-size: .95rem; }
.approach-figure { margin-top: clamp(64px, 8vw, 110px); }
.approach-figure img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: center 40%; }

/* ---------- market ---------- */
.market { background: var(--mist); }
.market-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.figure {
  font-family: var(--display); font-weight: 200;
  font-size: clamp(3rem, 8.6vw, 7.2rem); line-height: 1; letter-spacing: -.06em;
  color: var(--ink); margin-bottom: 26px; white-space: nowrap;
}
.figure .figure-unit { font-size: .42em; letter-spacing: -.01em; color: var(--signal); margin-left: .08em; }
[data-count] { font-variant-numeric: tabular-nums; }
.figure-caption { font-size: 1.04rem; max-width: 460px; color: #2A3A50; margin-bottom: 18px; }
.source { font-size: .72rem; color: var(--slate); letter-spacing: .04em; }
.pull {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.4; letter-spacing: -.015em; color: var(--ink);
  padding-left: 28px; border-left: 2px solid var(--signal); margin-bottom: 24px;
}
.market-copy > p:last-child { color: var(--slate); padding-left: 30px; }

/* ---------- focus ---------- */
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.focus-media { position: relative; padding-bottom: 22%; }
.focus-media__a { width: 88%; aspect-ratio: 4 / 3; object-fit: cover; }
.focus-media__b {
  position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% center;
  border: 8px solid var(--paper);
}
.focus-list li { padding: 28px 0; border-top: 1px solid var(--rule); }
.focus-list li:first-child { border-top: 0; padding-top: 0; }
.focus-list h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 10px; }
.focus-list p { color: var(--slate); font-size: .96rem; }

.solutions {
  margin-top: clamp(64px, 8vw, 100px); padding-top: 36px; border-top: 1px solid var(--ink);
  display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: baseline;
}
.solutions .label { margin-bottom: 0; }
.solutions ul { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.solutions li { font-size: .95rem; font-weight: 500; }

/* ---------- process (signature) ---------- */
.process { background: var(--paper); border-top: 1px solid var(--rule); }
.flow { position: relative; height: 240px; margin-bottom: 8px; }
.flow-canvas { width: 100%; height: 100%; display: block; }
.flow-gate {
  position: absolute; top: 0; bottom: 0; left: calc(100% * 3 / 7);
  width: 0; border-left: 1px solid var(--signal);
}
.flow-gate span {
  position: absolute; top: -4px; left: 0; transform: translateX(-50%);
  background: var(--paper); padding: 0 10px;
  font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--signal-deep); white-space: nowrap;
}

.stages { display: grid; grid-template-columns: repeat(7, 1fr); counter-reset: stage; }
.stages li { padding: 26px 22px 0 0; border-top: 1px solid var(--ink); position: relative; }
.stages li::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--ink);
}
.stages .stage--gated, .stages .stage--funder, .stages .stage--gated ~ li { border-top-color: var(--signal); }
.stages .stage--gated::before, .stages .stage--gated ~ li::before { background: var(--signal); border-color: var(--signal); }
.stage-num { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; color: var(--slate); margin-bottom: 12px; }
.stages h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: 8px; }
.stages p { font-size: .88rem; color: var(--slate); line-height: 1.6; }
.stage-tag {
  display: inline-block; margin-top: 14px; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate); border: 1px solid var(--rule); padding: 4px 9px;
}

/* ---------- funders ---------- */
.funders { background: var(--ink); color: var(--paper); }
.model {
  display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch;
  border: 1px solid rgba(255,255,255,.14); margin-bottom: clamp(72px, 9vw, 120px);
}
.model-col { padding: 36px 34px; position: relative; }
.model-col + .model-col { border-left: 1px solid rgba(255,255,255,.14); }
.model-col:not(:last-child)::after {
  content: ""; position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; z-index: 2;
  border-top: 1px solid var(--slate-light); border-right: 1px solid var(--slate-light);
  background: var(--ink); transform: translateY(-50%) rotate(45deg);
}
.model-col h3 { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 18px; }
.model-col li { font-family: var(--display); font-size: 1.05rem; font-weight: 300; padding: 4px 0; color: rgba(255,255,255,.9); }
.model-col--us { background: var(--deep); box-shadow: inset 0 2px 0 var(--signal); }
.model-col--us h3 { color: var(--signal); }

.funder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); }
.benefits > div, .safeguards li { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); }
.benefits dt, .safeguards h3 { font-family: var(--display); font-size: 1.15rem; font-weight: 400; letter-spacing: -.01em; margin-bottom: 6px; }
.benefits dd, .safeguards p { color: rgba(255,255,255,.62); font-size: .93rem; }
.aligned {
  margin-top: 36px; font-family: var(--display); font-style: italic; font-weight: 300; font-size: 1.15rem; line-height: 1.5;
  color: var(--paper); padding-left: 24px; border-left: 2px solid var(--signal);
}
.aligned em { color: var(--signal); }

/* ---------- leadership ---------- */
.leadership { background: var(--mist); }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.person-photo { overflow: hidden; margin-bottom: 26px; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.person:hover img { transform: scale(1.04); }
.person h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 6px; }
.person .role { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--signal-deep); margin-bottom: 18px; line-height: 1.5; }
.person li { font-size: .9rem; color: #3A4A5E; padding: 9px 0; border-top: 1px solid var(--rule); line-height: 1.55; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.steps { margin-top: 48px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; padding: 24px 0; border-top: 1px solid var(--rule); }
.steps li::before {
  content: "0" counter(step); font-size: .72rem; font-weight: 600; letter-spacing: .16em; color: var(--signal-deep); padding-top: 8px;
  grid-row: span 2;
}
.steps h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; letter-spacing: -.01em; }
.steps p { color: var(--slate); font-size: .95rem; }

.contact-card { background: var(--ink); color: var(--paper); padding: clamp(28px, 4vw, 48px); }
.contact-card > h3 { font-family: var(--display); font-weight: 300; font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; }
.contact-card > p { color: rgba(255,255,255,.65); font-size: .93rem; margin-bottom: 32px; }
.form { display: grid; gap: 18px; }
.field label { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--paper);
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); border-radius: 0;
  padding: 8px 0 10px; transition: border-color .25s var(--ease);
}
.field select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A9B4C2' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--signal); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 var(--signal); }
.form .btn { margin-top: 10px; }

.form-error { color: #FFB27A; font-size: .85rem; }
.contact-details { margin-top: 36px; padding-top: 8px; }
.contact-details > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-details dt { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-light); padding-top: 3px; }
.contact-details dd { font-size: .9rem; overflow-wrap: anywhere; }
.contact-details a { text-decoration: none; border-bottom: 1px solid rgba(245,131,31,.5); }
.contact-details a:hover { border-bottom-color: var(--signal); }

/* ---------- footer ---------- */
.site-footer { background: #030E1D; color: rgba(255,255,255,.62); padding: 72px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.15fr 1.15fr; gap: 48px; align-items: start; padding-bottom: 64px; }
.footer-logo { margin-bottom: 22px; }
.footer-logo .brand-mark { width: 46px; }
.footer-brand p { max-width: 280px; line-height: 1.65; }
.footer-title { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--paper); margin: 6px 0 22px; }
.footer-col li { margin-bottom: 14px; line-height: 1.55; color: rgba(255,255,255,.78); }
.footer-col a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--signal); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 28px; padding-bottom: 32px; position: relative; font-size: .82rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255,255,255,.12); }

/* =========================================================
   Multi-page components
   ========================================================= */

/* current page in the nav */
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.nav a[aria-current="page"]:not(.btn) { color: var(--paper); }
.site-header.is-solid .nav a[aria-current="page"]:not(.btn) { color: var(--ink); }

.text-link {
  color: var(--ink); font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(245,131,31,.6); padding-bottom: 3px;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.text-link:hover { border-bottom-color: var(--signal); gap: 14px; }
.text-link .btn-arrow { color: var(--signal); }
.section-link { margin-top: clamp(36px, 5vw, 56px); }

/* ---------- page header (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate;
  padding: clamp(150px, 20vw, 210px) 0 clamp(64px, 9vw, 110px);
}
.page-hero__media { position: absolute; inset: -40px 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,21,42,.95) 0%, rgba(5,21,42,.72) 50%, rgba(5,21,42,.25) 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--signal) 0, var(--signal) 120px, transparent 120px);
}
.page-hero__title {
  font-family: var(--display); font-weight: 300; letter-spacing: -.04em; line-height: 1.08;
  font-size: clamp(2.2rem, 5vw, 4rem); max-width: 18ch; margin-bottom: 24px;
}
.page-hero__lede { max-width: 620px; color: rgba(255,255,255,.75); font-size: clamp(1rem, 1.3vw, 1.1rem); }

/* ---------- Group heritage ---------- */
.heritage { background: var(--ink); color: var(--paper); }
.heritage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.heritage-body p { color: rgba(255,255,255,.72); margin-bottom: 18px; }
.heritage-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.heritage-list li {
  font-size: 1.15rem; font-weight: 300; letter-spacing: -.01em; padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; gap: 14px;
}
.heritage-list li::before { content: ""; width: 8px; height: 8px; background: var(--signal); flex: none; }

/* ---------- industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.industry {
  position: relative; padding: 30px 26px 34px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  transition: background .4s var(--ease);
}
.industry::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--signal);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.industry:hover { background: var(--mist); }
.industry:hover::before { transform: scaleX(1); }
.industry h3 { font-size: 1.12rem; font-weight: 400; letter-spacing: -.01em; line-height: 1.3; }
.industry p { margin-top: 10px; color: var(--slate); font-size: .9rem; line-height: 1.6; }
.industries-note { margin-top: 32px; color: var(--slate); }
.industry--link { padding: 0; }
.industry--link a { display: block; height: 100%; padding: 30px 26px 34px; color: inherit; text-decoration: none; }
.industry__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--signal-deep); }
.industry--link:hover .btn-arrow { transform: translateX(4px); }

/* ---------- home: tools teaser ---------- */
.tools-teaser { background: var(--mist); }
.tool-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.tool-card-link {
  display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink);
  background: var(--paper); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--rule); position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.tool-card-link::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.tool-card-link:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(5,21,42,.35); border-color: transparent; }
.tool-card-link:hover::before { transform: scaleX(1); }
.tool-card-link__meta { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.tool-card-link h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 300; letter-spacing: -.025em; line-height: 1.2; }
.tool-card-link p { color: var(--slate); }
.tool-card-link__cta { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .92rem; }
.tool-card-link__cta .btn-arrow { color: var(--signal); }
.tool-card-link:hover .btn-arrow { transform: translateX(5px); }

/* ---------- people (brief) ---------- */
.people--brief .person-photo { margin-bottom: 20px; }
.tools-teaser + .leadership { background: var(--paper); }
.people--brief .role { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--deep); color: var(--paper); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; }
.cta-col { padding: clamp(8px, 2vw, 16px) clamp(24px, 5vw, 64px) clamp(8px, 2vw, 16px) 0; }
.cta-col + .cta-col { border-left: 1px solid rgba(255,255,255,.14); padding-left: clamp(24px, 5vw, 64px); padding-right: 0; }
.cta-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 14px; }
.cta-col p:not(.label) { color: rgba(255,255,255,.7); margin-bottom: 28px; max-width: 440px; }

/* ---------- about: edge ---------- */
.edge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.edge-item { border-top: 1px solid var(--ink); padding-top: 26px; }
.edge-item h3 { font-size: 1.2rem; font-weight: 400; letter-spacing: -.015em; margin-bottom: 12px; }
.edge-item p { color: var(--slate); font-size: .95rem; }

/* ---------- what we do: services ---------- */
.services { background: var(--mist); }
.services-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.services-list li { padding: 28px 24px 8px 0; }
.services-list li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.services-list h3 { font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px; line-height: 1.35; }
.services-list p { color: var(--slate); font-size: .9rem; line-height: 1.6; }
.safeguards--grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }

/* ---------- partner: audiences ---------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.audience { padding: clamp(30px, 4.5vw, 56px); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.audience .display { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 28px; }
.audience--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.audience-list { margin-bottom: 36px; }
.audience-list li { padding: 18px 0; border-top: 1px solid var(--rule); }
.audience--dark .audience-list li { border-top-color: rgba(255,255,255,.14); }
.audience-list h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }
.audience-list p { color: var(--slate); font-size: .92rem; }
.audience--dark .audience-list p { color: rgba(255,255,255,.65); }
.audience .btn { margin-top: auto; align-self: flex-start; }
.engage { background: var(--mist); }
.steps--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 0; }
.steps--row li { border-top: 1px solid var(--ink); }
.contact-lede { color: var(--slate); margin-top: 22px; max-width: 460px; }
.contact-details--light > div { border-top-color: var(--rule); }
.contact-details--light dt { color: var(--slate); }

/* ---------- submission form ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row[hidden], .field[hidden] { display: none; }
.role-pick { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.role-pick legend { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 10px; }
.role-pick label { position: relative; }
.role-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-pick span {
  display: inline-block; padding: 9px 16px; font-size: .84rem; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.role-pick input:checked + span { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.role-pick input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }

.upload { margin-top: 4px; }
.upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-zone {
  display: block; padding: 22px; border: 1px dashed rgba(255,255,255,.3); cursor: pointer; text-align: center;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.upload-zone strong { display: block; font-weight: 500; margin-bottom: 4px; }
.upload-zone span { font-size: .8rem; color: rgba(255,255,255,.6); }
.upload-zone:hover, .upload-zone.is-over { border-color: var(--signal); background: rgba(245,131,31,.06); }
.upload input:focus-visible + .upload-zone { outline: 2px solid var(--signal); outline-offset: 2px; }
.upload-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.upload-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-size { color: rgba(255,255,255,.55); }
.upload-remove { background: none; border: 0; color: rgba(255,255,255,.7); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 2px 6px; }
.upload-remove:hover { color: var(--signal); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .8rem; line-height: 1.55; color: rgba(255,255,255,.7); cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--signal); flex: none; }
.form-done h3 { font-size: 1.6rem; font-weight: 300; letter-spacing: -.02em; margin-bottom: 12px; }
.form-done p { color: rgba(255,255,255,.72); }
.form-done:focus { outline: none; }

/* spam trap: off-screen for people, still filled in by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* light form variant (dialog) */
.form--light .field label { color: var(--slate); }
.form--light .field input, .form--light .field select, .form--light .field textarea { color: var(--ink); border-bottom-color: var(--rule); }
.form--light .check { color: var(--slate); }
.form--light .form-error { color: #B54708; }

/* ---------- buttons: extra variants ---------- */
.btn--quiet { background: transparent; border-color: transparent; color: var(--slate); padding-left: 4px; padding-right: 4px; }
.btn--quiet::before { display: none; }
.btn--quiet:hover { color: var(--ink); border-color: transparent; }
.btn--quiet:disabled { opacity: .35; cursor: default; }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: var(--paper); border-color: var(--ink); }
.btn:disabled { cursor: default; }
.btn:disabled:not(.btn--quiet) { opacity: .45; }
.btn:disabled::before { transform: scaleX(0); }

/* ---------- services page ---------- */
.service-index { padding-top: clamp(40px, 6vw, 72px); }
.service-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 6vw, 72px); }
.service-jump a {
  padding: 10px 16px; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-size: .86rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.service-jump a:hover { border-color: var(--ink); }
.service-row:first-child { border-top: 1px solid var(--ink); }
.service-row {
  position: relative; display: grid; grid-template-columns: 200px 1fr 1.1fr; gap: clamp(20px, 4vw, 56px); align-items: start;
  padding: clamp(32px, 4.5vw, 52px) 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 90px;
}
.service-row::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--signal);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.service-row:hover::before, .service-row:target::before { transform: scaleX(1); }
.service-row__tag { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--signal-deep); padding-top: 12px; }
.service-row__title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.12; }
.service-row__body p { color: var(--slate); font-size: 1.02rem; margin-bottom: 22px; padding-top: 6px; }

.services-list--links li { padding: 0; }
.services-list--links li + li { padding-left: 0; }
.services-list--links a {
  display: block; height: 100%; padding: 26px 22px 30px 0; text-decoration: none; color: var(--ink);
  transition: color .3s var(--ease);
}
.services-list--links li + li a { padding-left: 22px; }
.services-list--links a:hover { color: var(--signal-deep); }
.services-list__tag { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }

/* =========================================================
   Media: home slider, video backdrops, parallax breaks
   ========================================================= */

/* ---------- home header slider ---------- */
.hero--slider .hero-media img { animation: none; object-position: center; transform: scale(1.1); transition: transform 9s linear; }
.hero--slider .hero-media__slide:first-child img { object-position: 70% center; }
.hero-media__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-media__slide.is-active { opacity: 1; }
.hero-media__slide.is-active img { transform: scale(1.01); }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.hero-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.hero-nav { display: flex; align-items: center; gap: 12px; }
.hero-nav__count { font-size: .72rem; font-weight: 500; letter-spacing: .16em; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; margin-right: 6px; }
.hero-nav__count span { color: var(--paper); }
.hero-nav__dots { display: flex; gap: 6px; margin-right: 8px; }
.hero-dot { position: relative; width: 44px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dot::before, .hero-dot__fill { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; }
.hero-dot::before { background: rgba(255,255,255,.25); transition: background .3s var(--ease); }
.hero-dot:hover::before { background: rgba(255,255,255,.5); }
.hero-dot__fill { background: var(--signal); transform: scaleX(0); transform-origin: left; }
.hero.is-running .hero-dot.is-active .hero-dot__fill { animation: heroFill var(--hero-interval, 7s) linear forwards; }
.hero.is-holding .hero-dot.is-active .hero-dot__fill, .hero.is-paused .hero-dot.is-active .hero-dot__fill { animation-play-state: paused; }
.hero.is-static .hero-dot.is-active .hero-dot__fill { animation: none; transform: scaleX(1); }
@keyframes heroFill { to { transform: scaleX(1); } }
.hero-nav__btn {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,.25);
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.hero-nav__btn:hover { border-color: var(--signal); color: var(--signal); }
/* keep the controls legible on bright photos */
.hero-nav { padding: 6px 6px 6px 14px; background: rgba(5,21,42,.38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-nav__btn { background: rgba(5,21,42,.25); }
.hero-nav__btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hero-nav__btn .i-play { display: none; fill: currentColor; stroke: none; }
.hero.is-paused .hero-nav__btn .i-pause { display: none; }
.hero.is-paused .hero-nav__btn .i-play { display: block; }
.hero--slider .hero-lede { margin-bottom: 36px; }

/* ---------- video backdrops ---------- */
.has-backdrop { position: relative; isolation: isolate; overflow: hidden; }
.backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.backdrop img, .backdrop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.backdrop video { opacity: 0; transition: opacity 1.2s var(--ease); }
.backdrop video.is-playing { opacity: 1; }
.backdrop::after { content: ""; position: absolute; inset: 0; }
.heritage .backdrop::after { background: linear-gradient(90deg, rgba(5,21,42,.94) 0%, rgba(5,21,42,.84) 50%, rgba(5,21,42,.62) 100%); }
.cta-band .backdrop::after { background: linear-gradient(90deg, rgba(5,21,42,.88) 0%, rgba(11,36,66,.78) 50%, rgba(5,21,42,.66) 100%); }
.page-hero__media.backdrop { inset: -40px 0; }
.page-hero__media .backdrop__video.is-playing { opacity: .42; }
.page-hero__media::after { z-index: 1; }

/* ---------- parallax image breaks ---------- */
.photo-break { position: relative; height: clamp(300px, 60vh, 620px); overflow: hidden; background: var(--ink); }
.photo-break__media { position: absolute; inset: 0; }
.photo-break__media img {
  position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0); will-change: transform;
}
.photo-break--text .photo-break__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,21,42,.82) 0%, rgba(5,21,42,.45) 55%, rgba(5,21,42,.1) 100%); }
.photo-break__inner { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
.photo-break__text {
  color: var(--paper); font-size: clamp(1.5rem, 3.4vw, 2.8rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.18;
  max-width: 19ch; padding-left: clamp(18px, 2.5vw, 30px); border-left: 2px solid var(--signal);
}

/* ---------- services: image beside text ---------- */
.service-blocks { display: grid; gap: clamp(72px, 10vw, 140px); }
.service-block { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; scroll-margin-top: 100px; }
.service-block--flip .service-block__media { order: 2; }
.service-block__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.service-block__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); }
.service-block__tag { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--signal-deep); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.service-block__tag::before { content: ""; width: 28px; height: 1px; background: var(--signal); }
.service-block__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 20px; }
.service-block__text > p:not(.service-block__tag) { color: var(--slate); font-size: 1.04rem; margin-bottom: 26px; max-width: 46ch; }
.service-block:target .service-block__title { color: var(--signal-deep); }

/* ---------- partner: audience images ---------- */
.audience { --pad: clamp(30px, 4.5vw, 56px); }
.audience__media { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 30px; aspect-ratio: 16 / 9; overflow: hidden; }
.audience__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.audience:hover .audience__media img { transform: scale(1.04); }
/* sponsors photo: zoom in on the couple so it balances the closer-framed funders photo */
#sponsors .audience__media img { transform: scale(1.85); transform-origin: 37% 52%; }
#sponsors:hover .audience__media img { transform: scale(1.92); }

@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; gap: 26px; }
  .service-block--flip .service-block__media { order: 0; }
  .hero-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero-nav { width: 100%; gap: 8px; }
  .hero-nav__dots { flex: 1; }
  .hero-dot { flex: 1; width: auto; }
  .photo-break { height: 46vh; }
}

/* ---------- placeholders awaiting confirmation ---------- */
.tbc {
  display: inline-block; padding: 1px 8px; font-size: .78em; font-weight: 500; letter-spacing: .02em;
  color: #8A5A00; background: #FFF4DC; border: 1px dashed #E0A940; border-radius: 3px; white-space: nowrap;
}

/* ---------- home: digital spotlight ---------- */
.hero-credentials dd a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(245,131,31,.6); }
.hero-credentials dd a:hover { color: var(--paper); border-bottom-color: var(--signal); }
.spotlight { background: var(--paper); }
.spotlight-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.spotlight-copy .display { margin-bottom: 22px; }
.spotlight-copy > p:not(.label) { color: var(--slate); font-size: 1.04rem; max-width: 520px; }
.spotlight-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 34px; }
.spotlight-tags li { font-size: .82rem; padding: 7px 14px; border: 1px solid var(--rule); color: var(--ink); }
.case-card {
  position: relative; display: block; overflow: hidden; color: var(--paper); text-decoration: none; background: var(--ink);
  min-height: 460px; isolation: isolate;
}
.case-card__media { position: absolute; inset: 0; z-index: -1; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.case-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,21,42,.25) 0%, rgba(5,21,42,.92) 62%); }
.case-card:hover .case-card__media img { transform: scale(1.05); }
.case-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(26px, 4vw, 44px); }
.case-card__figure { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 200; letter-spacing: -.05em; line-height: 1; color: var(--signal); margin-bottom: 12px; }
.case-card h3 { font-size: 1.35rem; font-weight: 400; letter-spacing: -.015em; margin-bottom: 10px; }
.case-card__body > p:not(.label):not(.case-card__figure) { color: rgba(255,255,255,.75); font-size: .93rem; max-width: 440px; margin-bottom: 18px; }
.case-card__cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .9rem; }
.case-card__cta .btn-arrow { color: var(--signal); }
.case-card:hover .case-card__cta .btn-arrow { transform: translateX(5px); }

/* ---------- case study page ---------- */
.case-facts { padding: clamp(40px, 6vw, 70px) 0; background: var(--mist); }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.facts-grid > div { padding: 22px 20px 6px 0; }
.facts-grid dt { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.facts-grid dd { font-size: 1.1rem; font-weight: 400; letter-spacing: -.01em; line-height: 1.35; }
.case-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.case-aside { position: sticky; top: 110px; }
.case-aside__lead { font-size: 1.2rem; font-weight: 300; letter-spacing: -.015em; line-height: 1.45; margin-bottom: 20px; }
.case-section { padding: 30px 0; border-top: 1px solid var(--rule); }
.case-section:first-child { padding-top: 0; border-top: 0; }
.case-section h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 300; letter-spacing: -.025em; margin-bottom: 14px; }
.case-section p { color: var(--slate); font-size: 1.02rem; }
.case-results li { padding: 10px 0 10px 24px; position: relative; color: var(--ink); }
.case-results li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 2px; background: var(--signal); }
.case-next { background: var(--mist); }
.case-next__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.case-next__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.approach-body .pillars .text-link { margin-top: 6px; font-size: .88rem; }

/* ---------- services: deal sizes ---------- */
.deal-size { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: -6px 0 24px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.deal-size dt { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; }
.deal-size dd { font-size: 1rem; }

/* ---------- calculator: grace period and repayment profile ---------- */
.calc-field--wide { grid-column: 1 / -1; }
.calc-label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.profile-pick, .track-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-field .profile-pick label, .profile-pick label, .track-pick label { position: relative; margin: 0; font-size: inherit; font-weight: 400; letter-spacing: normal; text-transform: none; color: inherit; }
.profile-pick input, .track-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.profile-pick span, .track-pick span {
  display: inline-block; padding: 11px 16px; font-size: .88rem; border: 1px solid var(--rule); color: var(--ink);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.profile-pick input:checked + span, .track-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.profile-pick input:focus-visible + span, .track-pick input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.calc-hint { margin-top: 10px; font-size: .82rem; color: var(--slate); }
.calc-note { margin-top: 10px; font-size: .88rem; color: var(--slate); padding-left: 16px; }
.track-pick { border: 0; padding: 0; margin: 0 0 24px; }
.track-pick legend { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; padding: 0; }

@media (max-width: 1080px) {
  .facts-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .spotlight-grid, .case-grid { grid-template-columns: 1fr; }
  .case-aside { position: static; }
  .case-card { min-height: 420px; }
}
@media (max-width: 600px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Funding tools
   ========================================================= */
.tool-switch { display: flex; gap: 10px; padding-top: 28px; padding-bottom: 0; flex-wrap: wrap; }
.tool-switch__link {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--rule); font-size: .88rem; font-weight: 500; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.tool-switch__link span { color: var(--signal-deep); font-size: .72rem; letter-spacing: .14em; }
.tool-switch__link:hover { border-color: var(--ink); }

.tool { scroll-margin-top: 60px; }
.tool--alt { background: var(--mist); }
.tool-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.tool-grid > * { min-width: 0; }
.tool-intro { position: sticky; top: 110px; }
.tool-intro .display { margin-bottom: 20px; }
.tool-intro > p:not(.label) { color: var(--slate); }
.tool-points { margin-top: 26px; }
.tool-points li { padding: 10px 0 10px 22px; border-top: 1px solid var(--rule); font-size: .9rem; position: relative; }
.tool-points li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 2px; background: var(--signal); }
.tool-panel { background: var(--paper); border: 1px solid var(--rule); padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -60px rgba(5,21,42,.45); }

/* readiness stepper */
.readiness-progress { height: 2px; background: var(--rule); margin-bottom: 18px; overflow: hidden; }
.readiness-progress span { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }
.readiness-count { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 26px; }
.q { border: 0; padding: 0; margin: 0; display: none; }
.q.is-current { display: block; animation: qIn .5s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateX(16px); } }
.q legend { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 10px; padding: 0; }
.q-num { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; color: var(--signal-deep); margin-bottom: 12px; }
.q-hint { color: var(--slate); font-size: .88rem; margin-bottom: 4px; }
.choices { display: grid; gap: 10px; margin-top: 22px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--rule); font-size: .95rem;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.choice span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--slate-light); flex: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.choice:hover span { border-color: var(--slate-light); background: var(--mist); }
.choice input:checked + span { border-color: var(--ink); background: var(--mist); }
.choice input:checked + span::before { border-color: var(--signal); background: var(--signal); box-shadow: inset 0 0 0 3px var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.readiness-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); }

/* readiness result */
.result:focus { outline: none; }
.result-head { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: center; margin-bottom: 34px; }
.score-ring { position: relative; width: 140px; height: 140px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 6; }
.score-ring__track { stroke: var(--rule); }
.score-ring__value { stroke: var(--signal); stroke-linecap: butt; transition: stroke-dashoffset 1.4s var(--ease); }
.score-ring__num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2.6rem; font-weight: 200; letter-spacing: -.05em; font-variant-numeric: tabular-nums;
}
.score-ring__num::after { content: "%"; font-size: .9rem; position: absolute; top: 50%; left: 50%; transform: translate(1.15em, -.9em); color: var(--slate); }
.result-band { font-size: 1.6rem; font-weight: 400; letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.result-summary { color: var(--slate); }
.result-areas { display: grid; gap: 14px; margin-bottom: 34px; }
.area { display: grid; grid-template-columns: 170px 1fr 44px; gap: 16px; align-items: center; font-size: .9rem; }
.area-bar { height: 4px; background: var(--rule); overflow: hidden; }
.area-bar span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.area-pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--slate); }
.result-gaps h3 { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.result-gaps li { padding: 12px 0 12px 26px; border-top: 1px solid var(--rule); position: relative; font-size: .93rem; }
.result-gaps li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 2px; background: var(--signal); }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }

/* DSCR calculator */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.calc-grid > * { min-width: 0; }
.calc-field label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.calc-input { display: flex; align-items: center; border: 1px solid var(--rule); background: var(--paper); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.calc-input:focus-within { border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--signal); }
.calc-input span { padding: 0 12px; color: var(--slate); font-size: .85rem; white-space: nowrap; }
.calc-input--prefix span { padding-right: 0; }
.calc-input--suffix span { padding-left: 0; }
.calc-input input { flex: 1 1 0; width: 0; min-width: 0; border: 0; background: transparent; padding: 13px 12px; font: inherit; font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-input input:focus { outline: none; }
#dscrForm .form-error { color: #B54708; margin-top: 14px; }

.calc-results { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule); transition: opacity .3s var(--ease); }
.calc-results.is-stale { opacity: .35; pointer-events: none; }
.dscr-gauge__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.dscr-gauge__head span { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.dscr-gauge__head strong { font-size: 2.6rem; font-weight: 200; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.dscr-gauge__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); height: 8px; gap: 2px; }
.dscr-gauge__zone--low { background: #E4E8EC; }
.dscr-gauge__zone--tight { background: #F9D9BC; }
.dscr-gauge__zone--ok { background: #F7B57A; }
.dscr-gauge__zone--good { background: var(--signal); }
.dscr-gauge__marker {
  position: absolute; top: -6px; width: 2px; height: 20px; background: var(--ink); transform: translateX(-1px);
  transition: left .6s var(--ease);
}
.dscr-gauge__marker::after { content: ""; position: absolute; top: -5px; left: -4px; border: 5px solid transparent; border-top-color: var(--ink); }
.dscr-gauge__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: .72rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.dscr-verdict { margin-top: 16px; font-size: .95rem; padding-left: 16px; border-left: 2px solid var(--signal); }
.calc-results[data-level="low"] .dscr-verdict { border-left-color: #B54708; }
.calc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid var(--rule); }
.calc-kpis > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); }
.calc-kpis dt { font-size: .74rem; color: var(--slate); margin-bottom: 6px; }
.calc-kpis dd { font-size: 1.15rem; font-weight: 400; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.schedule { margin-top: 24px; }
.schedule summary { cursor: pointer; font-weight: 500; font-size: .92rem; padding: 10px 0; list-style: none; display: flex; align-items: center; gap: 10px; }
.schedule summary::-webkit-details-marker { display: none; }
.schedule summary::before { content: "+"; color: var(--signal-deep); font-size: 1.2rem; width: 14px; transition: transform .3s var(--ease); }
.schedule[open] summary::before { content: "−"; }
.schedule-scroll { overflow-x: auto; margin-top: 8px; }
.schedule table { width: 100%; border-collapse: collapse; font-size: .82rem; font-variant-numeric: tabular-nums; min-width: 560px; }
.schedule th { text-align: right; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); padding: 8px 0 8px 12px; border-bottom: 1px solid var(--ink); }
.schedule td { text-align: right; padding: 9px 0 9px 12px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.schedule th:first-child, .schedule td:first-child { text-align: left; padding-left: 0; }

.disclaimer { padding: 36px 0; border-top: 1px solid var(--rule); }
.disclaimer p { font-size: .82rem; color: var(--slate); max-width: 820px; }

/* report dialog */
.report-dialog {
  border: 0; padding: 0; width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px);
  box-shadow: 0 40px 120px -40px rgba(5,21,42,.6); color: var(--ink);
}
.report-dialog::backdrop { background: rgba(5,21,42,.6); backdrop-filter: blur(3px); }
.report-dialog[open] { animation: dialogIn .45s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px); } }
.report-dialog .form { padding: clamp(28px, 5vw, 44px); position: relative; }
.report-dialog h2 { font-size: 1.6rem; font-weight: 300; letter-spacing: -.025em; line-height: 1.2; margin-top: -8px; }
.dialog-lede { color: var(--slate); font-size: .92rem; margin-bottom: 6px; }
.dialog-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--slate); cursor: pointer; padding: 6px; }
.dialog-close:hover { color: var(--ink); }

/* ---------- responsive (components) ---------- */
@media (max-width: 1080px) {
  .industries { grid-template-columns: repeat(2, 1fr); }
  .tool-cards { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .services-list li, .services-list li + li { padding: 24px 24px 24px 0; border-left: 0; border-top: 1px solid var(--ink); }
  .services-list--links li, .services-list--links li + li { padding: 0; }
  .services-list--links a, .services-list--links li + li a { padding: 22px 22px 22px 0; }
  .safeguards--grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-intro { position: static; }
}
@media (max-width: 900px) {
  .heritage-grid, .cta-grid, .audience-grid, .tool-cards { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-row__tag { padding-top: 0; }
  .cta-col, .cta-col + .cta-col { padding: 0; border-left: 0; }
  .cta-col + .cta-col { margin-top: 48px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.14); }
  .edge-grid, .steps--row { grid-template-columns: 1fr; }
  .calc-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .industries { grid-template-columns: 1fr; }
  .services-list, .safeguards--grid { grid-template-columns: 1fr; }
  .form-row, .calc-grid { grid-template-columns: 1fr; }
  .result-head { grid-template-columns: 1fr; justify-items: start; }
  .area { grid-template-columns: 1fr 44px; }
  .area-bar { grid-column: 1 / -1; grid-row: 2; }
  .heritage-list { grid-template-columns: 1fr; }
  .tool-switch__link { width: 100%; }
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }


/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 0; height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--ink); z-index: -1;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav a:not(.btn) { font-family: var(--display); font-size: 1.6rem; font-weight: 300; letter-spacing: -.02em; color: var(--paper) !important; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { background: transparent; box-shadow: none; }
  .nav-open .brand-mark--light { display: block !important; }
  .nav-open .brand-mark--dark { display: none !important; }
  .nav-open .brand-word__top { color: var(--paper) !important; }
  .nav-open .menu-toggle span { background: var(--paper) !important; top: 21px; }
  .nav-open .menu-toggle span:first-child { transform: rotate(45deg); }
  .nav-open .menu-toggle span:last-child { transform: rotate(-45deg); }
  .nav-open { overflow: hidden; }
}
@media (max-width: 1080px) {
  .stages { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow { display: none; }
}

@media (max-width: 900px) {

  .hero-credentials { flex-direction: column; align-items: flex-start; }
  .section-head--split, .approach-grid, .market-grid, .focus-grid, .funder-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-head__aside { justify-self: start; }
  .approach-body { padding-top: 0; }
  .model { grid-template-columns: 1fr; }
  .model-col + .model-col { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .model-col:not(:last-child)::after { right: auto; left: 34px; top: auto; bottom: -7px; transform: rotate(135deg); }
  .people { grid-template-columns: 1fr 1fr; }
  .solutions { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .header-inner { height: 72px; }
  .brand-mark { width: 38px; }
  .brand-word__top { font-size: .7rem; }
  .hero { padding-top: 110px; }
  .hero-media img { object-position: 80% center; }
  .hero-media::after { background: linear-gradient(0deg, rgba(5,21,42,.96) 10%, rgba(5,21,42,.7) 60%, rgba(5,21,42,.45) 100%); }
  .hero-credentials dl { flex-direction: column; gap: 18px; }
  .hero-credentials dl > div { max-width: none; }
  .group-note { white-space: normal; }
  .hero-actions .btn { flex: 1 1 100%; }
  .pillars li { grid-template-columns: 1fr; gap: 4px; }
  .approach-figure img { aspect-ratio: 4 / 3; }
  .stages { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-details > div { grid-template-columns: 1fr; gap: 2px; }
}

/* =========================================================
   Motion layer
   ========================================================= */
:root { --intro-delay: .15s; }
.has-intro { --intro-delay: 1.5s; }

/* opening curtain: first visit per session only, CSS-timed so it can never get stuck */
.intro { display: none; }
.has-intro .intro {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  animation: introOut .95s 1.15s cubic-bezier(.76, 0, .24, 1) forwards;
}
.intro-mark { width: 84px; opacity: 0; transform: translateY(12px); animation: introMark .8s .1s var(--ease) forwards; }
.intro-rule { width: 120px; height: 1px; background: var(--signal); transform: scaleX(0); animation: introRule .8s .4s var(--ease) forwards; }
@keyframes introMark { to { opacity: 1; transform: none; } }
@keyframes introRule { to { transform: scaleX(1); } }
@keyframes introOut { to { transform: translateY(-100%); visibility: hidden; } }

/* reading progress */
.scroll-progress {
  position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--signal);
  transform: scaleX(var(--progress, 0)); transform-origin: left; pointer-events: none;
}

/* active section in nav */
.nav a.is-active:not(.btn)::after { transform: scaleX(1); }
.site-header.is-solid .nav a.is-active:not(.btn) { color: var(--ink); }

/* hero sequence (the active slide animates in; later slides use --intro-delay: 0s) */
.js .hero .reveal { transition-duration: 1.2s; transition-delay: calc(var(--intro-delay) + .7s); }
.js .hero .hero-slides.reveal { opacity: 1; transform: none; }
.js .hero .hero-credentials.reveal { transition-delay: calc(var(--intro-delay) + .9s); }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .wi { display: inline-block; }
.js .hero-title .wi { transform: translateY(110%); transition: transform 1.1s var(--ease); }
.js .hero-slides.is-in .hero-slide.is-active .wi { transform: none; transition-delay: calc(var(--intro-delay) + .1s + var(--i, 0) * 70ms); }
.js .hero-slide .label, .js .hero-slide .hero-lede { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero-slides.is-in .hero-slide.is-active .label { opacity: 1; transform: none; transition-delay: var(--intro-delay); }
.js .hero-slides.is-in .hero-slide.is-active .hero-lede { opacity: 1; transform: none; transition-delay: calc(var(--intro-delay) + .55s); }
/* underline drawn on each word of the emphasis, so it always sits under the text */
.hero-em .wi { background: linear-gradient(var(--signal), var(--signal)) no-repeat 0 92% / 0% 2px; }
.js .hero-title .hero-em .wi { transition: transform 1.1s var(--ease), background-size 1.1s var(--ease); }
.js .hero-slides.is-in .hero-slide.is-active .hero-em .wi {
  background-size: 100% 2px;
  transition-delay: calc(var(--intro-delay) + .1s + var(--i, 0) * 70ms), calc(var(--intro-delay) + 1.1s);
}
html:not(.js) .hero-em .wi, .hero-slides:not(.reveal) .hero-em .wi { background-size: 100% 2px; }
html:not(.js) .hero-em { background: linear-gradient(var(--signal), var(--signal)) no-repeat 0 92% / 100% 2px; }
.hero-media { inset: -60px -30px; will-change: transform; }
.hero-inner { will-change: transform, opacity; }

/* image wipes */
.js .wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); }
.js .wipe.is-in { clip-path: inset(0 0 0 0); }
.js .reveal.wipe { opacity: 1; transform: none; }
.js .wipe--zoom img, .js .person-photo img { transform: scale(1.14); transition: transform 1.8s var(--ease), filter .6s var(--ease); }
.js .person-photo.is-in img { transform: scale(1); }
.person:hover .person-photo.is-in img { transform: scale(1.045); }

/* parallax figure */
.approach-figure { overflow: hidden; }
.approach-figure img, .js .approach-figure.wipe.is-in img { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); will-change: transform; }

/* staggered lists */
.js .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .stagger.is-in > * { opacity: 1; transform: none; }

/* ink-fill sentence */
.ink-fill .iw { transition: color .5s var(--ease); }
.js .ink-fill .iw { color: #C3CBD5; }
.js .ink-fill .iw.on { color: var(--ink); }

/* focus areas: hover brings the matching photo forward */
.focus-media img { transition: transform 1s var(--ease), opacity .8s var(--ease), filter .8s var(--ease), box-shadow 1s var(--ease); }
.focus-media[data-view="a"] .focus-media__b { opacity: .8; filter: grayscale(.5); }
.focus-media[data-view="b"] .focus-media__a { opacity: .75; filter: grayscale(.5); transform: scale(.97); }
.focus-media[data-view="b"] .focus-media__b { transform: translateY(-14px) scale(1.05); box-shadow: 0 30px 60px -20px rgba(5,21,42,.45); }
.focus-item { position: relative; cursor: default; transition: padding .5s var(--ease); }
.focus-item::before {
  content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 2px; background: var(--signal);
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease);
}
.focus-item:first-child::before { top: 2px; }
.focus-item h3, .focus-item p { transition: transform .5s var(--ease), color .4s var(--ease); }
.focus-item.is-active::before { transform: scaleY(1); }
.focus-item.is-active h3, .focus-item.is-active p { transform: translateX(20px); }
.focus-item.is-active p { color: #3A4A5E; }

/* process: the line draws itself, stage by stage */
.js .stages li { border-top-color: transparent; }
.js .stages li::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .6s linear; transition-delay: calc(var(--i, 0) * .32s + .2s);
}
.js .stages .stage--gated::after, .js .stages .stage--gated ~ li::after { background: var(--signal); }
.js .stages.is-in li::after { transform: scaleX(1); }
.js .stages li::before { transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i, 0) * .32s + .2s); z-index: 1; }
.js .stages.is-in li::before { transform: scale(1); }
.stages li { cursor: default; }
.js .stages.is-in > li { transition: opacity .4s var(--ease), transform .9s var(--ease); }
.js .stages.is-in:hover > li { opacity: .4; }
.js .stages.is-in > li:hover { opacity: 1; }
.stages li h3 { transition: color .3s var(--ease); }
.stages li:hover h3 { color: var(--signal-deep); }
.flow-gate span { animation: gatePulse 3.2s ease-in-out infinite; }
@keyframes gatePulse { 50% { color: var(--signal); letter-spacing: .24em; } }

/* model: capital moving from sponsor, through NGC, to funder */
.model { position: relative; }
.model-pulse {
  position: absolute; top: -1px; left: 0; width: 120px; height: 2px; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(245,131,31,0), var(--signal));
  animation: modelPulse 5s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes modelPulse {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 120px); opacity: 0; }
}
.model-col li { transition: color .3s var(--ease), transform .4s var(--ease); }
.model-col:hover li { color: var(--paper); }
.model-col--us { transition: background .5s var(--ease); }
.model-col--us:hover { background: #0F2D52; }

/* benefits & safeguards hover */
.benefits > div, .safeguards li { position: relative; }
.benefits > div::after, .safeguards li::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--signal);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.benefits > div:hover::after, .safeguards li:hover::after { transform: scaleX(1); }

/* form: underline grows on focus */
.field { position: relative; }
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.field:focus-within label { color: var(--signal); }
.field label { transition: color .3s var(--ease); }

/* back to top */
.to-top {
  position: fixed; right: var(--gutter); bottom: 28px; z-index: 40;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border: 1px solid rgba(255,255,255,.15);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s var(--ease);
}
.to-top svg { width: 10px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .4s var(--ease); }
.to-top:hover { background: var(--signal); color: var(--ink); }
.to-top:hover svg { transform: translateY(-3px); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.nav-open .to-top { opacity: 0; pointer-events: none; }

@media (max-width: 1240px) {
  .nav-open .nav > * { animation: navIn .6s var(--ease) both; animation-delay: calc(.08s + var(--i, 0) * 60ms); }
  @keyframes navIn { from { opacity: 0; transform: translateY(14px); } }
}
@media (max-width: 900px) {
  .model-pulse { display: none; }
  .focus-item.is-active h3, .focus-item.is-active p { transform: translateX(14px); }
}
@media (hover: none) {
  .js .stages.is-in:hover > li { opacity: 1; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .js .wipe { clip-path: none; }
  .js .hero-title .wi, .js .person-photo img { transform: none; }
  .js .hero-slide .label, .js .hero-slide .hero-lede { opacity: 1; transform: none; }
  .js .stages li::after, .js .stages li::before { transform: none; }
  .hero-em .wi { background-size: 100% 2px; }
  .js .ink-fill .iw { color: inherit; }
  .model-pulse, .intro { display: none !important; }
}
