/* =========================================================================
   Nova Investment Club – Undergraduate Division
   Palette taken from the NIC-UD Quarterly Shareholders Report (navy + light blue)
   ========================================================================= */

:root {
  --navy-950: #050a20;
  --navy-900: #0a1230;   /* night: dark sections, footer */
  --navy-800: #0a1230;   /* one navy for every dark surface: nav, heroes, dark sections */
  --navy-700: #22305a;
  --navy-600: #33467a;
  --blue-200: #c9daf2;
  --blue-300: #9ec1ea;   /* logo light blue, accent */
  --blue-500: #4a78b8;
  --paper: #faf8f4;      /* warm paper */
  --tint: #f1ede5;       /* stone */
  --ink: #141b34;
  --muted: #555c72;
  --line: #ddd6c9;
  --line-dark: rgba(255, 255, 255, 0.14);
  --team-bg: #f3eee5;   /* light beige behind team cut-outs */
  --ph: #e0a040;         /* placeholder outline */

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --nav-h: 72px;
  --radius: 3px;
  --gutter: 24px;
  --section-y: 104px;
  --shadow: 0 1px 2px rgba(17, 26, 53, 0.06), 0 8px 24px rgba(17, 26, 53, 0.06);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--blue-300); color: var(--navy-900); padding: 8px 14px; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow--light { color: var(--blue-300); }

.section__title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.01em;
  margin-bottom: 20px; text-wrap: balance;
}
.section__lead { color: var(--muted); max-width: 56ch; font-size: 18px; }
.section__head { margin-bottom: 48px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  padding: 12px 20px; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--accent { background: var(--blue-300); color: var(--navy-900); }
.btn--accent:hover { background: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-600); }
.btn:active { transform: translateY(1px); }

.link-arrow {
  font-weight: 600; font-size: 15px; text-decoration: none; color: var(--navy-800);
  border-bottom: 2px solid var(--blue-300); padding-bottom: 2px;
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--blue-500); }

/* =========================================================================
   1. NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--navy-800);   /* same navy as the heroes below it */
  border-bottom: 1px solid var(--line-dark);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__brand { flex: none; display: block; }
.nav__brand img { height: 48px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a:not(.btn) {
  position: relative; white-space: nowrap; text-decoration: none;
  font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.78);
  padding: 8px 12px; transition: color .2s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--blue-300); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: #fff; }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================================
   2. HERO
   ========================================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-800); color: #fff;
  min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column;
}
.hero__media { position: absolute; inset: 0 0 0 28%; z-index: -1; }
.hero__media img, .hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
  /* the photo itself fades into the navy: a long, eased ramp, no visible edge */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.03) 12%, rgba(0,0,0,.1) 22%, rgba(0,0,0,.22) 32%, rgba(0,0,0,.38) 42%, rgba(0,0,0,.56) 52%, rgba(0,0,0,.74) 63%, rgba(0,0,0,.88) 75%, #000 90%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.03) 12%, rgba(0,0,0,.1) 22%, rgba(0,0,0,.22) 32%, rgba(0,0,0,.38) 42%, rgba(0,0,0,.56) 52%, rgba(0,0,0,.74) 63%, rgba(0,0,0,.88) 75%, #000 90%); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17, 26, 53, 0.15), rgba(17, 26, 53, 0.35));
}
.hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 72px; }
.hero__title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -0.02em;
  max-width: 16ch; margin-bottom: 24px;
}
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.82); max-width: 44ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__strip { background: var(--navy-950); border-top: 1px solid var(--line-dark); padding: 28px 0 32px; }
.hero__strip-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55); margin-bottom: 18px;
}
.activities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.activity { padding: 4px 24px 4px 0; }
.activity + .activity { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.activity__num { font: 600 14px/1 var(--serif); color: var(--blue-300); display: block; margin-bottom: 10px; }
.activity h3 { font: 600 17px/1.3 var(--sans); margin-bottom: 6px; }
.activity p { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.68); margin: 0; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-800); color: #fff; padding: 88px 0 80px; }
.page-hero__media { position: absolute; inset: 0 0 0 55%; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-800) 0%, rgba(10, 18, 48, 0.6) 35%, rgba(10, 18, 48, 0.2) 80%); }
.page-hero__title { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.02em; }
.page-hero__lead { margin: 16px 0 0; font-size: 18px; color: rgba(255, 255, 255, 0.8); max-width: 52ch; }

/* =========================================================================
   SECTIONS
   ========================================================================= */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy-800); color: #fff; }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.72); }

/* ---------- 3. About ---------- */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start; }
.about__text p { color: #2c3549; max-width: 62ch; }

/* ---------- Events gallery ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: clamp(180px, 17vw, 250px); gap: 14px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-800); }
.gallery__item--wide { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, rgba(11, 18, 40, 0), rgba(11, 18, 40, 0.85));
}
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 64px 0 0; border-top: 1px solid var(--line); }
.stats div { margin: 0; padding: 28px 0; border-bottom: 1px solid var(--line); }
.stats div:nth-child(odd) { padding-right: 24px; }
.stats dt { font: 700 44px/1 var(--serif); color: var(--navy-800); }
.stats dd { margin: 10px 0 0; font-size: 14px; color: var(--muted); max-width: 18ch; line-height: 1.4; }

/* ---------- 4. Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; }
.value__icon { width: 40px; height: 40px; fill: none; stroke: var(--blue-500); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.value h3 { font: 600 22px/1.2 var(--serif); margin-bottom: 10px; color: var(--navy-800); }
.value p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------- 5. Fund ---------- */
.fund { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 56px; }
.fund__lead { font-size: 18px; color: rgba(255, 255, 255, 0.8); max-width: 50ch; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.pillars li { background: var(--navy-800); padding: 24px; }
.pillars h3 { font: 600 16px/1.3 var(--sans); color: var(--blue-300); margin-bottom: 6px; }
.pillars p { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); margin: 0; }

/* ---------- 6. QSR list ---------- */
.qsr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
/* only the first row shows until "See more" is pressed (without JS everything shows) */
.js .qsr-grid:not(.is-expanded) .qsr-card--more { display: none; }
.qsr-more { display: flex; justify-content: center; margin-top: 32px; }
.no-js .qsr-more, .qsr-more[hidden] { display: none; }
.qsr-more__btn { font: 600 15px/1 var(--sans); color: var(--navy-800); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .2s ease, border-color .2s ease; }
.qsr-more__btn:hover, .qsr-more__btn:focus-visible { background: var(--tint); border-color: var(--navy-800); outline: none; }
.qsr-more__btn span { transition: transform .25s ease; }
.qsr-more__btn[aria-expanded="true"] span { transform: rotate(180deg); }
.qsr-card h3 { font-size: 18px; }
.qsr-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.qsr-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.qsr-card__cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); border-bottom: 1px solid var(--line); }
.qsr-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.qsr-card:hover .qsr-card__cover img { transform: scale(1.03); }
.qsr-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.qsr-card h3 { font: 700 20px/1.2 var(--sans); color: var(--navy-800); margin: 0; }
.qsr-card h3 span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.qsr-card p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.qsr-card__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.qsr-card__btn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 4px; background: var(--navy-800); color: #fff; border: 1px solid var(--navy-800); transition: background .2s ease, color .2s ease; }
.qsr-card__btn:hover { background: var(--navy-600); }
.qsr-card__btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.qsr-card__btn--ghost:hover { background: var(--tint); }
@media (max-width: 1100px) { .qsr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .qsr-grid { grid-template-columns: 1fr; } }
.qsr-list { border-top: 1px solid var(--line); }
.qsr {
  display: grid; grid-template-columns: 120px 1fr auto auto; align-items: center; gap: 24px;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
  transition: background-color .2s;
}
.qsr:hover { background: var(--tint); }
.qsr__quarter { font: 600 24px/1 var(--serif); color: var(--navy-800); }
.qsr__title { font-weight: 500; }
.qsr__meta { font-size: 14px; color: var(--muted); }
.qsr__dl {
  font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap;
  color: var(--navy-800); border: 1.5px solid var(--navy-800); border-radius: var(--radius); padding: 10px 16px;
  transition: background-color .2s, color .2s;
}
.qsr__dl:hover { background: var(--navy-800); color: #fff; }

/* ---------- 7. Publications ---------- */
.pubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pubs--2 { grid-template-columns: repeat(2, 1fr); align-items: start; }
.episodes { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; width: 100%; }
.episodes iframe { display: block; width: 100%; border: 0; border-radius: 12px; background: var(--tint); }
.episodes__num { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 6px; }
.episodes__link { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--muted); text-decoration: none; }
.episodes__link:hover { color: var(--navy-800); }
.pub { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pub__cover {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; aspect-ratio: 16 / 10; color: #fff; background: var(--navy-800);
}
.pub__cover--review { background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); }
.pub__cover--review::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--blue-300); }
/* Image covers: put the file in assets/img/publications/ */
.pub__cover--img { padding: 0; }
.pub__cover--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.pub__cover--podcast { background: #1a2845; }               /* same navy as the logo background */
.pub__cover--podcast img { object-fit: contain; object-position: center; }
.pub__kicker { font: 600 15px/1 var(--serif); color: var(--blue-300); margin-bottom: 6px; }
.pub__name { font: 600 28px/1.05 var(--serif); }
.pub__body { padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.pub__type { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 8px; }
.pub__body h3 { font: 600 24px/1.2 var(--serif); margin-bottom: 10px; color: var(--navy-800); }
.pub__body p:not(.pub__type) { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.pub__body .link-arrow { margin-top: auto; }

/* ---------- 8. Placements: one scrolling logo row per industry ---------- */
.placements { display: flex; flex-direction: column; }
.sector { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 32px; padding: 34px 0; border-top: 1px solid var(--line); }
.sector:last-child { border-bottom: 1px solid var(--line); }
.sector__title { font: 700 15px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-800); margin: 0; }
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; }
.marquee__item { flex: 0 0 var(--marquee-item, 240px); height: 80px; display: flex; align-items: center; justify-content: center; padding: 0 20px; }
/* each logo has its own height (--h, set in placements.html) so they all look the same size */
.marquee__item img { height: var(--h, 36px); width: auto; max-width: 100%; object-fit: contain; }
.marquee.is-running .marquee__track { animation: marquee var(--marquee-duration, 30s) linear infinite; }
.marquee[data-direction="right"].is-running .marquee__track { animation-direction: reverse; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee.is-running .marquee__track { will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
/* no JS or reduced motion: static, wrapped row */
.marquee:not(.is-running) { -webkit-mask-image: none; mask-image: none; }
.marquee:not(.is-running) .marquee__track { width: auto; flex-wrap: wrap; }

/* Alumni journeys (Placements): horizontal timeline per member, vertical on phones */
.journeys { display: grid; gap: 28px; }
.journey { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px 28px; }
.journey__head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.journey__head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--team-bg); }
.journey__head h3 { font: 700 20px/1.25 var(--sans); color: var(--navy-800); margin: 0; }
.journey__note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.journey__steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
.journey__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--blue-200); }
.journey__steps li { position: relative; padding: 24px 12px 0 0; display: flex; flex-direction: column; gap: 2px; }
.journey__steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--navy-800); }
.journey__steps li:first-child::before { background: var(--navy-800); }
.journey__steps strong { font-size: 15px; font-weight: 700; color: var(--navy-800); line-height: 1.3; }
.journey__steps span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.journey__quote { margin: 0; padding: 16px 0 0 18px; border-left: 3px solid var(--blue-300); font-style: italic; color: var(--ink); font-size: 16px; }
@media (max-width: 860px) {
  .journey { padding: 24px 20px; }
  .journey__steps { grid-auto-flow: row; gap: 18px; }
  .journey__steps::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .journey__steps li { padding: 0 0 0 30px; }
}

/* About: activities and partnerships (content from the Fall 2026 decks) */
.kicker { font-style: italic; font-size: 15px; color: #9aa3b5; margin: 0 0 6px; padding-left: 14px; border-left: 3px solid var(--navy-800); line-height: 1.2; }
.kicker--light { color: var(--blue-300); border-left-color: var(--blue-300); }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--navy-800); }
.act { padding: 24px 22px 8px 0; }
.act + .act { padding-left: 22px; border-left: 1px solid var(--line); }
.act h3 { font: 700 13px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--navy-800); margin-bottom: 14px; }
.act ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.act li { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.act li strong { color: var(--ink); font-weight: 600; }
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partners > div { background: var(--paper); padding: 24px 26px; }
.partners > div:last-child { grid-column: 1 / -1; }
.partners h3 { font: 700 16px/1.3 var(--sans); color: var(--navy-800); margin-bottom: 6px; }
.partners p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.partners p strong { color: var(--ink); }
.about__lede { font-size: 20px; line-height: 1.55; color: var(--navy-800) !important; font-weight: 500; }
@media (max-width: 1100px) { .acts:not(.acts--3) { grid-template-columns: 1fr 1fr; } .act:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 700px) {
  .acts, .partners { grid-template-columns: 1fr; }
  .act { padding-left: 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
}

/* Our Work: fund history, full-width interactive chart */
.fund-history { background: var(--navy-900); color: #fff; padding: var(--section-y) 0 72px; overflow: hidden; }
.fund-history .section__lead { color: rgba(255,255,255,.72); }
.fh__chart { position: relative; height: clamp(260px, 30vw, 460px); margin-top: 24px; }
.fh__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fh__area { fill: url(#fh-fill); }
.fh__line { fill: none; stroke: var(--blue-300); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.js .fh .fh__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .fh.is-visible .fh__line { transition: stroke-dashoffset 2.6s cubic-bezier(.4,0,.2,1) .2s; stroke-dashoffset: 0; }
.fh__dots { position: absolute; inset: 0; }
.fh__dot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.fh__dot span { width: 14px; height: 14px; border-radius: 50%; background: var(--navy-900); border: 3px solid var(--blue-300); transition: transform .2s ease, background .2s ease; }
.fh__dot--portfolio span { border-color: #fff; }
.fh__dot::before { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--blue-300); opacity: 0; animation: fh-pulse 2.4s ease-out infinite; }
.fh__dot--portfolio::before { border-color: #fff; }
@keyframes fh-pulse { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
.fh__dot:hover span, .fh__dot:focus-visible span, .fh__dot.is-active span { transform: scale(1.35); background: var(--blue-300); }
.fh__dot--portfolio:hover span, .fh__dot--portfolio:focus-visible span, .fh__dot--portfolio.is-active span { background: #fff; }
.fh__dot:focus-visible { outline: none; }
.fh__dot:focus-visible span { box-shadow: 0 0 0 4px rgba(158,193,234,.45); }
.js .fh .fh__dots { opacity: 0; transition: opacity .6s ease 2.2s; }
.js .fh.is-visible .fh__dots { opacity: 1; }
.fh__card { position: absolute; z-index: 3; width: 260px; padding: 14px 16px; background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0,0,0,.35); pointer-events: none; transform: translate(-50%, calc(-100% - 22px)); }
.fh__card.is-left { transform: translate(-16px, calc(-100% - 22px)); }
.fh__card.is-right { transform: translate(calc(-100% + 16px), calc(-100% - 22px)); }
.fh__card.is-below { transform: translate(-50%, 22px); }
.fh__card.is-below.is-left { transform: translate(-16px, 22px); }
.fh__card.is-below.is-right { transform: translate(calc(-100% + 16px), 22px); }
.fh__card-date { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 4px; }
.fh__card-text { display: block; font-size: 15px; line-height: 1.45; font-weight: 500; }
.fh__top { display: flex; justify-content: flex-end; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.fh__hint { margin: 0 0 0 auto; font-size: 13px; color: rgba(255,255,255,.5); }
.fh__chart { cursor: crosshair; touch-action: pan-y; }
.fh__cross { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.fh__chart.is-hover .fh__cross { opacity: 1; }
.fh__cross-line { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, rgba(158,193,234,0), rgba(158,193,234,.7) 20%, rgba(158,193,234,.7) 80%, rgba(158,193,234,0)); }
.fh__cross-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--blue-300); box-shadow: 0 0 0 5px rgba(158,193,234,.25); }
.fh__cross-tip b { font-weight: 700; } .fh__cross-tip b.up { color: #0f6b3a; } .fh__cross-tip b.down { color: #a3261b; }
.fh__cross-tip { position: absolute; top: 8px; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--navy-900); background: var(--blue-300); padding: 4px 8px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.fh__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 22px 0 18px; font-size: 13px; color: rgba(255,255,255,.65); }
.fh__key { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--blue-300); display: inline-block; }
.fh__key--portfolio { border-color: #fff; margin-left: 14px; }
.fh__rail { list-style: none; margin: 0; padding: 0 max(var(--gutter), calc((100vw - 1200px) / 2)); display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.fh__rail li { flex: 0 0 220px; scroll-snap-align: start; }
.fh__step { width: 100%; height: 100%; text-align: left; font: inherit; color: rgba(255,255,255,.78); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-top: 3px solid var(--blue-300); border-radius: var(--radius); padding: 14px 14px 16px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.fh__step--portfolio { border-top-color: #fff; }
.fh__step:hover, .fh__step:focus-visible, .fh__step.is-active { background: rgba(255,255,255,.12); color: #fff; outline: none; }
.fh__date { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.fh__text { display: block; font-size: 13.5px; line-height: 1.45; }
@media (max-width: 700px) { .fh__card { width: 210px; } .fh__rail li { flex-basis: 190px; } .fh__dot { width: 32px; height: 32px; margin: -16px 0 0 -16px; } .fh__dot span { width: 11px; height: 11px; } }
@media (prefers-reduced-motion: reduce) { .fh__dot::before { animation: none; } .js .fh .fh__line { stroke-dashoffset: 0; } .js .fh .fh__dots { opacity: 1; transition: none; } }

/* ---------- 9. Team: navy intro + two full-width photo rows (marquee) ---------- */
.team-intro { background: var(--navy-900); color: #fff; padding: 88px 0 80px; }
.team-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.team-intro__count { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 18px; }
body.show-ph .team-intro__count .ph::after { top: -22px; right: auto; left: 0; }
.team-intro__count::before { content: ""; width: 40px; height: 1px; background: var(--blue-300); }
.team-intro__title { font: 700 clamp(36px, 4.6vw, 54px)/1.08 var(--serif); color: #fff; margin-bottom: 18px; }
.team-intro__title em { font-style: normal; color: var(--blue-300); }
.team-intro__lead { color: rgba(255,255,255,.72); font-size: 16px; max-width: 42ch; margin: 0; }
.team-intro__quote { margin: 0; padding: 30px 32px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.team-intro__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 14px; }
.team-intro__quote blockquote { margin: 0 0 22px; font-size: 19px; line-height: 1.5; font-style: italic; color: #fff; }
.team-intro__quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.team-intro__faces { display: flex; }
.team-intro__faces img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--team-bg); border: 2px solid var(--navy-900); }
.team-intro__faces img + img { margin-left: -10px; }
.team-intro__quote strong { display: block; font-size: 14px; font-weight: 600; }
.team-intro__quote small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.team-wall { background: var(--team-bg); padding: 0; }
.marquee--team { --marquee-item: 184px; -webkit-mask-image: none; mask-image: none; }
.marquee--team .marquee__item { height: auto; padding: 0; display: block; }
.member { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--team-bg); outline: none; cursor: pointer; }
.marquee--team .member__photo { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover;
  filter: grayscale(1) contrast(1.02); transform: scale(1.22); transform-origin: 50% 28%;
  transition: filter .35s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.member__details {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 11px; display: flex; flex-direction: column; gap: 1px;
  background: linear-gradient(to top, rgba(17,26,53,.94) 0%, rgba(17,26,53,.85) 60%, rgba(17,26,53,0) 100%);
  color: #fff; transform: translateY(101%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.member__name { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.member__role { font-size: 11.5px; line-height: 1.3; color: var(--blue-200); }
.member__in { position: absolute; right: 10px; bottom: 11px; width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 4px; color: #fff; border: 1px solid var(--line-dark); }
.member__in[href="#"] { display: none; }   /* shown once a real profile URL is set */
.member__in svg { width: 12px; height: 12px; fill: currentColor; }
.member__in:hover, .member__in:focus-visible { background: var(--blue-300); color: var(--navy-900); }
.member:hover .member__photo, .member:focus-visible .member__photo, .member.is-open .member__photo { filter: none; transform: scale(1.28); }
.member:hover .member__details, .member:focus-visible .member__details, .member:focus-within .member__details, .member.is-open .member__details { transform: none; }
.member:focus-visible { box-shadow: inset 0 0 0 3px var(--blue-500); }
@media (hover: hover) and (pointer: fine) { .marquee--team:focus-within .marquee__track { animation-play-state: paused; } }
.marquee--team:not(.is-running) { overflow-x: auto; }
.marquee--team:not(.is-running) .marquee__track { flex-wrap: nowrap; width: max-content; }
@media (prefers-reduced-motion: reduce) { .marquee--team .member__photo, .member__details { transition: none; } }
@media (max-width: 860px) {
  .team-intro { padding: 64px 0 56px; }
  .team-intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .marquee--team { --marquee-item: 132px; }
  .member__name { font-size: 12px; } .member__role { font-size: 10.5px; }
  .member__details { padding: 20px 8px 8px; }
}

/* ---------- 10. Contact ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact__card { border-top: 2px solid var(--navy-800); padding-top: 20px; }
.contact__card h2 { font: 600 13px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 14px; }
.contact__card a { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--blue-300); word-break: break-word; }
.contact__card a:hover { color: var(--blue-500); }
.contact__card address { color: #2c3549; }
.socials { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* ---------- 11. Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.6); font-size: 13.5px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.footer__social { display: flex; align-items: center; gap: 18px; }
.footer__social a { color: rgba(255, 255, 255, 0.75); text-decoration: none; display: inline-flex; }
.footer__social a:hover { color: #fff; }
.footer__social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer__social svg .fill { fill: currentColor; stroke: none; }

/* ---------- Join Us page ---------- */
.nav__cta { margin-left: 10px; padding: 9px 16px; font-size: 14.5px; }
.nav__links .nav__cta, .nav__links .nav__cta.is-active { color: var(--navy-900); }
.nav__links .nav__cta.is-active { background: #fff; }

.apply {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px 56px;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--navy-800);
  border-radius: var(--radius); padding: 40px 44px;
}
.apply__status { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.apply__dot { width: 10px; height: 10px; border-radius: 50%; background: #a7a9ad; }
.apply[data-state="open"] { border-left-color: #2f9e6a; }
.apply[data-state="open"] .apply__dot { background: #2f9e6a; box-shadow: 0 0 0 4px rgba(47, 158, 106, 0.18); }
.apply[data-state="open"] .apply__status { color: #227a52; }
.apply__title { font: 700 clamp(24px, 2.6vw, 32px)/1.2 var(--serif); color: var(--navy-800); margin-bottom: 10px; }
.apply__lead { color: var(--muted); margin: 0; max-width: 58ch; }
.apply__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.apply__btn[aria-disabled="true"] { background: var(--line); color: var(--muted); pointer-events: none; }

.goals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.goals li { display: grid; grid-template-columns: 72px 1fr; gap: 4px 20px; align-items: start; padding: 26px; border-radius: 10px; background: var(--navy-800); color: #fff; }
.goals__icon { grid-row: span 2; width: 72px; height: 72px; padding: 16px; border-radius: 50%; background: #f1ede6; fill: none; stroke: var(--navy-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.goals h3 { font: 700 22px/1.2 var(--sans); align-self: end; }
.goals p { margin: 0; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.duties { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.duties li { padding: 26px 24px 4px 0; }
.duties li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.duties h3 { font: 600 18px/1.3 var(--sans); color: var(--navy-800); margin-bottom: 8px; }
.duties p { font-size: 15.5px; line-height: 1.55; color: var(--muted); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { position: relative; padding-top: 88px; }
.step::before {                     /* connecting line between the numbered steps */
  content: ""; position: absolute; top: 33px; left: 76px; right: -26px; height: 2px; background: var(--line-dark);
}
.step:last-child::before { display: none; }
.step__num {
  position: absolute; top: 0; left: 0; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 3px solid var(--blue-300);
}
.step__num svg { width: 40px; height: 40px; fill: none; stroke: var(--navy-800); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font: 600 19px/1.3 var(--sans); margin-bottom: 8px; }
.step p { font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); margin: 0; max-width: 32ch; }

.tips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.tips li { padding: 22px 0; border-top: 1px solid var(--line); }
.tips h3 { font: 600 18px/1.3 var(--sans); color: var(--navy-800); margin-bottom: 6px; }
.tips p { color: var(--muted); font-size: 16px; margin: 0; }
.tips a { color: var(--navy-800); text-decoration: none; border-bottom: 2px solid var(--blue-300); }
.tips a:hover { color: var(--blue-500); }

/* =========================================================================
   PLACEHOLDERS (toggle with SHOW_PLACEHOLDERS in js/config.js)
   ========================================================================= */
body.show-ph .ph { outline: 1.5px dashed var(--ph); outline-offset: 4px; position: relative; }
body.show-ph .ph::after {
  content: attr(data-ph);
  position: absolute; top: -12px; right: 6px; z-index: 2;
  font: 600 10.5px/1 var(--sans); letter-spacing: 0.04em; white-space: nowrap;
  background: var(--ph); color: #1d1606; padding: 4px 7px; border-radius: 3px;
  pointer-events: none;
}
body.show-ph .about__photo .ph::after,
body.show-ph .member--board.ph::after,
body.show-ph .pub.ph::after { top: 10px; right: 10px; }
body.show-ph .btn.ph::after, body.show-ph .link-arrow.ph::after { top: -22px; right: auto; left: 0; }
body.show-ph .nav__cta.ph::after { top: auto; bottom: -20px; left: auto; right: -4px; }

/* =========================================================================
   MOTION
   ========================================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
  .nav__links a:not(.btn) { padding: 8px 9px; font-size: 14px; }
  .nav__inner { gap: 20px; }
}

@media (max-width: 1024px) {
  :root { --section-y: 84px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; }
  .nav__links a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-dark); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin: 18px 0 0; align-self: flex-start; }
  .duties { grid-template-columns: 1fr 1fr; }
  .duties li:nth-child(3) { padding-left: 0; border-left: 0; }
  .goals { grid-template-columns: 1fr; }

  .hero__media { inset: 0; opacity: 0.35; }
  .hero__media img { -webkit-mask-image: none; mask-image: none; }
  .hero__video { display: none; }
  .hero__media::after { background: linear-gradient(180deg, rgba(10, 18, 48, 0.4), var(--navy-800)); }
  .gallery { grid-auto-rows: 180px; }
  .about { gap: 0; }
  .stats { margin-top: 24px; grid-template-columns: repeat(4, 1fr); }
  .activities { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .activity:nth-child(3) { padding-left: 0; border-left: 0; }

  .about, .fund { grid-template-columns: 1fr; gap: 48px; }
  .values { grid-template-columns: 1fr 1fr; }
  .pubs { grid-template-columns: 1fr; }
  .pub { grid-template-columns: 240px 1fr; grid-template-rows: none; }
  .pub__cover { aspect-ratio: auto; min-height: 220px; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; --section-y: 64px; }
  body { font-size: 16px; }
  .nav__brand img { height: 40px; }
  .hero__inner { padding-top: 48px; padding-bottom: 48px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .activities { grid-template-columns: 1fr; gap: 0; }
  .activity, .activity + .activity { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .activity:first-child { border-top: 0; padding-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats dt { font-size: 32px; }
  .values { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .qsr { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0; }
  .qsr__quarter { grid-column: 1; }
  .qsr__title { grid-column: 1; grid-row: 2; font-size: 15px; }
  .qsr__meta { grid-column: 1; grid-row: 3; }
  .qsr__dl { grid-column: 2; grid-row: 1 / span 3; }
  .pub { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .pub__cover { aspect-ratio: 16 / 10; min-height: 0; }
  .sector { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .marquee { --marquee-item: 170px; }
  .marquee__item { height: 64px; padding: 0 14px; }
  .marquee__item img { height: calc(var(--h, 36px) * 0.72); }
  .page-hero { padding: 56px 0 52px; }
  .page-hero__media { inset: 0; opacity: 0.3; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; gap: 10px; }
  .gallery__item--wide { grid-row: auto; }
  .contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .apply { grid-template-columns: 1fr; padding: 28px 22px; }
  .duties { grid-template-columns: 1fr; }
  .duties li, .duties li + li { padding: 20px 0; border-left: 0; }
  .duties li + li { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 8px 0 32px 88px; min-height: 68px; }
  .step::before { top: 74px; bottom: 6px; left: 33px; right: auto; width: 2px; height: auto; }
  .step:last-child::before { display: none; }
  .tips { grid-template-columns: 1fr; }
  .footer__inner { justify-content: center; text-align: center; }
}

/* =========================================================================
   IDENTITY v2: Cormorant Garamond display (italic accent words in light blue),
   Geist text, uppercase tracked eyebrows, pill buttons, warm paper/stone grounds.
   Kept as one layer at the end so the whole look can be tuned here.
   ========================================================================= */
.section__title, .hero__title, .page-hero__title, .team-intro__title, .apply__title,
.stats dt, .value h3, .pub__body h3, .qsr-card h3, .journey__head h3, .partners h3,
.goals h3, .tips h3, .duties h3, .step h3, .buddy h3, .pub__name {
  font-family: var(--serif); font-weight: 500; letter-spacing: 0;
}
.section__title { font-size: clamp(40px, 4.8vw, 62px); line-height: 1.05; }
.hero__title { font-size: clamp(64px, 9vw, 132px); line-height: .95; letter-spacing: -.01em; max-width: none; }
.page-hero__title { font-size: clamp(52px, 6.4vw, 88px); line-height: 1; }
.team-intro__title { font-size: clamp(54px, 6vw, 82px); line-height: 1; }
.apply__title { font-size: clamp(34px, 3.6vw, 46px); line-height: 1.08; }
.section__title em, .hero__title em, .page-hero__title em, .team-intro__title em, .apply__title em { font-style: italic; color: var(--blue-500); }   /* NIC logo blue, darker on light grounds */
.section--dark .section__title em, .hero__title em, .page-hero__title em, .team-intro__title em, .fund-history .section__title em { color: var(--blue-300); }
.stats dt { font-size: 52px; }
.value h3, .pub__body h3, .partners h3, .goals h3 { font-size: 28px; line-height: 1.15; }
.qsr-card h3, .journey__head h3, .tips h3, .duties h3, .step h3 { font-size: 26px; line-height: 1.15; }
.qsr-card h3 span { font-family: var(--sans); }
.section__lead { font-size: 16.5px; line-height: 1.7; }

/* eyebrows and kickers: "—— WELCOME TO NIC" */
.eyebrow, .kicker, .team-intro__count, .pub__type, .act h3, .sector__title, .fh__date, .fh__card-date, .episodes__num {
  font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
}
.kicker { display: flex; align-items: center; gap: 14px; border-left: 0; padding-left: 0; color: var(--muted); margin-bottom: 18px; }
/* NIC signature (from the club decks): a short vertical navy bar before the label */
.kicker::before, .eyebrow::before { content: ""; width: 3px; height: 15px; background: var(--navy-800); flex: none; }
.kicker--light::before, .eyebrow--light::before, .section--dark .kicker::before, .fund-history .kicker::before { background: var(--blue-300); }
.kicker--light { color: rgba(255,255,255,.75); }
.team-intro__count::before { width: 3px; height: 15px; }

/* buttons and links: small caps, tracked, pill */
.btn { font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border-radius: 999px; padding: 15px 22px; }
.btn--lg { padding: 17px 26px; font-size: 12px; }
.btn--accent { background: #fff; color: var(--navy-900); }
.btn--accent:hover { background: var(--blue-300); }
.link-arrow { font: 500 11.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.nav__links a:not(.btn) { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.nav__cta { padding: 11px 18px; }

/* cards: flatter, warmer */
.value, .pub, .qsr-card, .journey, .partners > div, .apply { border-radius: var(--radius); }
.section--tint { background: var(--tint); }

/* ---------- Home (identity v2) ---------- */
.hero { min-height: calc(100svh - var(--nav-h)); background: var(--navy-900); }
.hero__media { inset: 0; }
.hero__media img { -webkit-mask-image: none; mask-image: none; object-position: center 50%; transform: scale(1.04); animation: hero-drift 24s ease-out forwards; }
@keyframes hero-drift { to { transform: scale(1); } }
.hero__media::after { background: linear-gradient(180deg, rgba(10,18,48,.62) 0%, rgba(10,18,48,.3) 38%, rgba(10,18,48,.55) 70%, rgba(10,18,48,.92) 100%); }
.hero__inner { justify-content: flex-end; padding-top: 96px; padding-bottom: 56px; }
.hero__title { margin: 18px 0 28px; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero__lead { font-size: 16.5px; line-height: 1.65; max-width: 48ch; margin: 0; color: rgba(255,255,255,.86); }
.hero__actions .btn--ghost { border-color: rgba(255,255,255,.6); }
.hero__stats { position: relative; z-index: 1; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.hero__stats div { padding: 24px 24px 28px; border-left: 1px solid rgba(255,255,255,.18); }
.hero__stats div:first-child { border-left: 0; padding-left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); }
.hero__stats dt { font: 500 clamp(34px, 3.4vw, 48px)/1 var(--serif); color: #fff; font-variant-numeric: lining-nums; }
.hero__stats dd { margin: 8px 0 0; font: 500 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }

.logo-band { background: #fff; border-bottom: 1px solid var(--line); }
.logo-band__inner { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 24px; padding-left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); }
.logo-band__label { margin: 0; font: 500 10.5px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.logo-band .marquee__item { height: 96px; --marquee-item: 200px; }

.welcome { display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: end; margin-bottom: 64px; }
.welcome .section__title { margin: 0; }
.welcome .section__lead { margin-bottom: 22px; }
.pillars-home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.pillars-home li + li { border-left: 1px solid var(--line); }
.pillars-home a { display: block; height: 100%; padding: 22px 24px 26px; text-decoration: none; color: inherit; position: relative; transition: background .25s ease; }
.pillars-home a::after { content: "↗"; position: absolute; top: 20px; right: 20px; font-size: 14px; color: var(--muted); transition: transform .25s ease, color .25s ease; }
.pillars-home a:hover { background: var(--tint); }
.pillars-home a:hover::after { transform: translate(3px, -3px); color: var(--navy-800); }
.pillars-home__k { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 14px; }
.pillars-home h3 { font: 500 28px/1.12 var(--serif); margin-bottom: 10px; }
.pillars-home p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

.people-home { background: var(--navy-900); }
.people-home__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.people-home .section__title { font-size: clamp(52px, 6vw, 80px); line-height: 1; }
.people-home .hero__actions { margin-top: 28px; }
.people-home__photo { margin: 0; overflow: hidden; border-radius: var(--radius); }
.people-home__photo img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.people-home__photo:hover img { transform: scale(1.03); }

@media (max-width: 980px) {
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .hero__stats div:nth-child(4) { border-left: 0; }
  .hero__stats div:first-child, .hero__stats div:nth-child(4) { padding-left: var(--gutter); }
  .welcome, .people-home__grid { grid-template-columns: 1fr; gap: 32px; }
  .pillars-home { grid-template-columns: 1fr 1fr; }
  .pillars-home li:nth-child(3) { border-left: 0; }
  .logo-band__inner { grid-template-columns: 1fr; gap: 0; padding: 18px 0 0; }
  .logo-band__label { padding-left: var(--gutter); }
}
@media (max-width: 600px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats div { border-left: 0 !important; padding: 18px var(--gutter) !important; border-top: 1px solid rgba(255,255,255,.14); }
  .hero__stats div:last-child { grid-column: 1 / -1; }
  .pillars-home { grid-template-columns: 1fr; }
  .pillars-home li + li { border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; transform: none; } }
.photo-band { position: relative; height: clamp(300px, 38vw, 520px); overflow: hidden; color: #fff; display: grid; place-items: center; text-align: center; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; object-position: center 50%; will-change: transform; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,48,.25), rgba(10,18,48,.55)); }
.photo-band__text { position: relative; z-index: 1; padding: 0 var(--gutter); }
.photo-band__title { font: italic 500 clamp(44px, 6vw, 84px)/1 var(--serif); margin: 0 0 14px; }
.photo-band__title em { font-style: italic; color: var(--blue-200); }
.photo-band__sub { font: 500 11px/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 0; color: rgba(255,255,255,.85); }

/* ---------- Contact: "Let's talk" + form ---------- */
.talk { background: var(--navy-900); color: #fff; padding: var(--section-y) 0; }
.talk__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.talk__title { font: 500 clamp(56px, 7vw, 96px)/1 var(--serif); margin: 6px 0 24px; }
.talk__title em { font-style: italic; color: var(--blue-300); }
.talk__lead { color: rgba(255,255,255,.8); font-size: 16.5px; line-height: 1.7; max-width: 46ch; }
.talk__info { margin: 36px 0 0; border-top: 1px solid var(--line-dark); }
.talk__info div { padding: 16px 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.talk__info dt { font: 500 10.5px/1.8 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.talk__info dd { margin: 0; font-size: 15px; color: rgba(255,255,255,.9); min-width: 0; overflow-wrap: anywhere; }
.talk__info a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(158,193,234,.6); }
.talk__info a:hover { color: var(--blue-300); }
.talk__addr span:first-child { display: block; }
.talk__form { background: var(--paper); color: var(--ink); padding: 40px; border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field label span { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { font: 400 15px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; width: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(74,120,184,.18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b3261e; }
.talk__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.talk__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.talk__note { margin: 0; font-size: 13.5px; color: var(--muted); }
.talk__note.is-ok { color: #0f6b3a; font-weight: 500; }
.talk__note.is-err { color: #b3261e; font-weight: 500; }
.talk__form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 900px) {
  .talk__grid { grid-template-columns: 1fr; gap: 40px; }
  .talk__form { grid-template-columns: 1fr; padding: 26px 20px; }
}

/* ---------- Inner-page heroes: photo dissolves into the navy (no hard edge) ---------- */
.page-hero__media { inset: 0 0 0 38%; }
.page-hero__media img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.15) 18%, rgba(0,0,0,.45) 38%, rgba(0,0,0,.75) 60%, #000 85%);
                                mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.15) 18%, rgba(0,0,0,.45) 38%, rgba(0,0,0,.75) 60%, #000 85%); }
.page-hero__media::after { background: linear-gradient(180deg, rgba(10,18,48,.25), rgba(10,18,48,.45)); }
@media (max-width: 760px) { .page-hero__media { inset: 0; } .page-hero__media img { -webkit-mask-image: none; mask-image: none; opacity: .35; } }

/* ---------- Meet the Team: static grid by group (original photos) ---------- */
.team__label { display: flex; align-items: baseline; gap: 14px; font: 500 clamp(34px, 3.6vw, 46px)/1.1 var(--serif); margin: 0 0 32px; }
.team__label span { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 40px 28px; margin-bottom: 88px; }
.tm-grid:last-child { margin-bottom: 0; }
.tm { position: relative; }
.tm__photo { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: var(--tint); margin-bottom: 14px; }
.tm__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(.92); transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.tm:hover .tm__photo img { transform: scale(1.05); filter: none; }
.tm__name { font: 500 22px/1.15 var(--serif); margin: 0; }
.tm__role { margin: 4px 0 0; font: 500 10.5px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-500); }
.tm-grid--board .tm__name { font-size: 24px; }
.tm__in { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy-800); opacity: 0; transition: opacity .2s ease; }
.tm__in svg { width: 14px; height: 14px; fill: currentColor; }
.tm:hover .tm__in, .tm__in:focus-visible { opacity: 1; }
.tm__in[href="#"] { display: none; }
@media (max-width: 600px) { .tm-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; } .tm__name { font-size: 19px; } }
.hero__division { display: inline-block; vertical-align: baseline; margin-left: .35em; font: 500 clamp(11px, 1.1vw, 14px)/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.8); white-space: nowrap; }
@media (max-width: 600px) { .hero__division { display: block; margin: 14px 0 0; } }

/* ---------- Home: the two verticals (technical training / industry access) ---------- */
.verticals { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.vertical__k { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--navy-800); }
.vertical__k::before { content: ""; width: 3px; height: 15px; background: var(--navy-800); }
.vertical__row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: baseline; padding: 22px 36px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; position: relative; transition: padding .3s ease, background .3s ease; }
.vertical__row::after { content: "→"; position: absolute; right: 6px; top: 50%; transform: translate(-6px, -50%); opacity: 0; transition: opacity .25s ease, transform .25s ease; color: var(--blue-500); }
.vertical__row:hover { padding-left: 14px; background: linear-gradient(90deg, var(--tint), transparent); }
.vertical__row:hover::after { opacity: 1; transform: translate(0, -50%); }
.vertical__row h3 { font: 500 26px/1.15 var(--serif); margin: 0; }
.vertical__row p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .verticals { grid-template-columns: 1fr; gap: 36px; } .vertical__row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Our Work: fund text + quote, then four open columns (no boxes) ---------- */
.fund { grid-template-columns: 1.3fr 1fr; align-items: end; margin-bottom: 64px; }
.fund__quote { margin: 0; padding-left: 22px; border-left: 3px solid var(--blue-300); font: italic 500 clamp(26px, 2.6vw, 34px)/1.25 var(--serif); color: #fff; }
.fund__quote cite { display: block; margin-top: 14px; font: 500 10.5px/1 var(--sans); font-style: normal; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.fund .pillars { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); gap: 0; background: none; border: 0; border-top: 1px solid var(--line-dark); border-radius: 0; overflow: visible; }
.fund .pillars li { background: none; padding: 28px 28px 8px 0; }
.fund .pillars li + li { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.pillars__icon { width: 34px; height: 34px; fill: none; stroke: var(--blue-300); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; transition: transform .4s ease; }
.fund .pillars li:hover .pillars__icon { transform: translateY(-3px); }
.fund .pillars h3 { font: 500 26px/1.15 var(--serif); color: #fff; margin-bottom: 10px; }
.fund .pillars p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.72); }
@media (max-width: 900px) {
  .fund .pillars { grid-template-columns: 1fr 1fr; }
  .fund .pillars li:nth-child(3) { padding-left: 0; border-left: 0; }
  .fund .pillars li { padding-bottom: 24px; }
}
@media (max-width: 560px) { .fund .pillars { grid-template-columns: 1fr; } .fund .pillars li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); } }

/* ---------- Placements: alumni journeys (pick a person, the path animates with logos) ---------- */
.aj { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aj__tabs { display: flex; flex-direction: column; gap: 8px; }
.aj__tab { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: inherit; color: inherit; background: transparent; border: 1px solid transparent; border-radius: var(--radius); padding: 10px 12px; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.aj__tab img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--team-bg); filter: grayscale(1); transition: filter .3s ease; }
.aj__tab strong { display: block; font: 500 22px/1.1 var(--serif); }
.aj__tab small { display: block; margin-top: 3px; font: 500 10px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.aj__tab:hover { background: var(--tint); }
.aj__tab[aria-selected="true"] { background: var(--navy-800); color: #fff; }
.aj__tab[aria-selected="true"] small { color: var(--blue-300); }
.aj__tab[aria-selected="true"] img, .aj__tab:hover img { filter: none; }
.aj__title { font: 500 clamp(28px, 2.8vw, 38px)/1.1 var(--serif); margin: 4px 0 6px; }
.aj__title em { font-style: italic; color: var(--blue-500); }
.aj__note { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.aj__steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; position: relative; }
.aj__steps::before { content: ""; position: absolute; left: 32px; right: 32px; top: 32px; height: 2px; background: var(--blue-200); transform-origin: left; animation: aj-line .9s ease both; }
.aj__steps li { position: relative; display: flex; flex-direction: column; gap: 4px; animation: aj-in .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 110ms + 150ms); }
.aj__logo { width: 64px; height: 64px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 8px; margin-bottom: 10px; position: relative; z-index: 1; box-shadow: 0 6px 16px rgba(17,26,53,.06); transition: transform .25s ease, box-shadow .25s ease; }
.aj__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.aj__steps li:hover .aj__logo { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(17,26,53,.12); }
.aj__steps strong { font: 600 14px/1.25 var(--sans); color: var(--navy-800); }
.aj__role { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
@keyframes aj-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes aj-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 960px) {
  .aj { grid-template-columns: 1fr; padding: 20px; }
  .aj__tabs { flex-direction: row; overflow-x: auto; }
  .aj__tab { flex: 0 0 auto; width: auto; }
  .aj__tab small { display: none; }
  .aj__steps { grid-auto-flow: row; gap: 16px; }
  .aj__steps::before { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; transform-origin: top; }
  .aj__steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: center; }
  .aj__logo { grid-row: span 2; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .aj__steps li, .aj__steps::before { animation: none; } }
@media (hover: none) { .tm__in { opacity: 1; } }

/* ---------- Publications: equal cards + full-width episode row ---------- */
.pubs--2 { align-items: stretch; }
.pub-row { margin-top: 56px; }
.episodes--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; }
@media (max-width: 900px) { .episodes--row { grid-template-columns: 1fr; } }

/* ---------- Our Work: the fund on paper (not navy), history stays dark ---------- */
#fund .section__title { color: var(--ink); }
#fund .fund__lead { color: var(--ink); }
#fund .fund__quote { color: var(--navy-800); border-left-color: var(--blue-500); }
#fund .fund__quote cite { color: var(--muted); }
/* Buffett sketch next to his quote (Our Work) */
.fund__quote-wrap { margin: 0; }
.fund__sketch { display: none; width: 100%; height: auto; }   /* the Buffett sketch shows on phones only */
/* Portfolio traits wheel (js/main.js): the original list stays for screen readers */
.fund .pillars.is-wheeled { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pwheel__node.no-anim { transition: none; }
/* Values (Home and About): the card turns navy under the mouse */
@media (hover: hover) and (pointer: fine) {
  .js .value.reveal, .value { transition: opacity .7s ease, transform .7s ease, background-color .3s ease, border-color .3s ease; }
  .value h3, .value p, .value__icon { transition: color .3s ease, stroke .3s ease; }
  .value:hover { background: var(--navy-800); border-color: var(--navy-800); }
  .value:hover h3 { color: #fff; }
  .value:hover p { color: rgba(255, 255, 255, .8); }
  .value:hover .value__icon { stroke: var(--blue-300); }
}
#fund .pwheel__node svg { stroke: #fff; }
#fund .pwheel__node.is-active svg { stroke: var(--navy-800); }
@media (min-width: 681px) {
  /* Desktop: an arch; the traits turn around it and the one at the top is described inside */
  #fund { padding-top: calc(var(--section-y) * .55); padding-bottom: calc(var(--section-y) * .6); }
  .fund { align-items: start; margin-bottom: 0; row-gap: 40px; }
  .pwheel { position: relative; grid-column: 1 / -1; height: 390px; margin-top: -24px; overflow: hidden; --r: 285px; --rn: 330px; }
  .pwheel__arc { position: absolute; left: 50%; bottom: 0; width: calc(2 * var(--r)); height: var(--r); transform: translateX(-50%); border: 4px solid var(--navy-800); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; }
  .pwheel__core { display: none; }
  .pwheel__node {
    position: absolute; left: 50%; top: 100%; width: 104px; height: 104px; margin: -52px 0 0 -52px; padding: 0; border: 0; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; background: var(--navy-800); box-shadow: 0 14px 30px rgba(17, 26, 53, .16);
    transition: transform .85s cubic-bezier(.6, 0, .3, 1), opacity .5s ease, background-color .4s ease;
  }
  .pwheel__node svg { display: block; width: 50px; height: 50px; margin: 0; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
  .pwheel__node.is-active { background: var(--blue-300); box-shadow: 0 16px 34px rgba(17, 26, 53, .24); }
  .pwheel__node:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 4px; }
  .pwheel__info { position: absolute; left: 50%; bottom: 16px; width: calc(2 * var(--r) - 110px); transform: translateX(-50%); text-align: center; transition: opacity .35s ease; }
  .pwheel__info.is-swapping { opacity: 0; }
  .pwheel__info h3 { margin: 0 0 8px; font: 500 34px/1.05 var(--serif); color: var(--navy-800); }
  .pwheel__info p { margin: 0 auto; max-width: 30ch; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
  @media (prefers-reduced-motion: reduce) { .pwheel__node, .pwheel__info { transition: none; } }

  /* About "What we do at NIC-UD": each rhythm's title in a navy box (same as the open state on phones) */
  #activities .acts { border-top: 0; }
  #activities .act { padding-top: 0; padding-bottom: 28px; }
  #activities .act h3 { display: block; margin: 0 0 18px; padding: 14px 16px; background: var(--navy-800); color: #fff; font-size: 12.5px; font-weight: 700; }
}
#fund .pillars { border-top-color: var(--ink); }
#fund .pillars li + li { border-left-color: var(--line); }
#fund .pillars__icon { stroke: var(--blue-500); }
#fund .pillars h3 { color: var(--ink); }
#fund .pillars p { color: var(--muted); }

/* ---------- Home logo band: stretched edge to edge, logos closer together ---------- */
.logo-band__inner { grid-template-columns: 150px 1fr; gap: 0; padding-left: max(var(--gutter), 40px); }
.logo-band .marquee__item { --marquee-item: 168px; height: 92px; padding: 0 18px; }
.logo-band .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.nur-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 220px)); gap: 24px; }
.nur-card__cover { display: block; aspect-ratio: 414 / 585; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; box-shadow: 0 10px 24px rgba(17,26,53,.08); transition: transform .3s ease, box-shadow .3s ease; }
.nur-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.nur-card__cover:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(17,26,53,.14); }
.nur-card h3 { font: 500 24px/1.15 var(--serif); margin: 0; }
.nur-card p { margin: 2px 0 12px; font-size: 13px; color: var(--muted); }
/* logo band: natural logo widths with a tight, even gap */
.logo-band .marquee__item { flex: 0 0 auto; width: auto; padding: 0 26px; }
.logo-band .marquee__item img { max-width: 170px; }
/* Cormorant's hyphen sits low and slanted: use the text font's hyphen inside serif titles */
.hy { font-family: var(--sans); font-style: normal; font-weight: 400; font-size: .7em; position: relative; top: -.12em; margin: 0 .04em; }
/* hero stats: six equal columns aligned with the page container */
.hero__stats { grid-template-columns: repeat(6, 1fr); padding: 0 max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); }
.hero__stats div, .hero__stats div:first-child { padding: 24px 20px 28px; }
.hero__stats div:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 980px) {
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .hero__stats div:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats div { padding: 16px 0 !important; }
  .hero__stats div:last-child { grid-column: auto; }
}

/* =========================================================================
   MOBILE ONLY (phones, up to 680px). Desktop is not affected by anything below.
   ========================================================================= */
@media (max-width: 680px) {
  /* Home hero: content starts right under the top bar, no full-screen height */
  .hero { min-height: 0; }
  .hero__inner { justify-content: flex-start; padding-top: 16px; padding-bottom: 36px; }
  .hero__title { margin: 14px 0 20px; }

  /* Home placements band: label on top, centred between two rules; logos across the full width */
  .logo-band__inner { grid-template-columns: 1fr; gap: 4px; padding: 22px 0 8px; }
  .logo-band__label { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 var(--gutter); }
  .logo-band__label::before, .logo-band__label::after { content: ""; width: 40px; height: 1px; background: var(--line); }
  .logo-band .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .logo-band .marquee__item { height: 76px; padding: 0 20px; }
  .logo-band .marquee__item img { height: calc(var(--h, 36px) * 0.78); max-width: 128px; }

  /* Home team rows (js/main.js): each photo positioned on its own, small layers that phones keep painted */
  .marquee--team.is-js-loop { overflow: hidden; }
  .marquee--team.is-js-loop .marquee__track { position: relative; width: 100%; animation: none; }
  .marquee--team.is-js-loop .member { position: absolute; left: 0; top: 0; width: var(--marquee-item); will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  /* the Values section right under the rows: less gap */
  .team-wall + .section { padding-top: 40px; }

  /* Events: one square at a time, photos slide sideways on their own (js/main.js) and can be swiped */
  .gallery { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
  .gallery::-webkit-scrollbar { display: none; }
  /* every slide the same size, landscape 3:2 like the photos, so almost nothing is cut; title over the photo */
  .gallery__item, .gallery__item--wide { flex: 0 0 100%; aspect-ratio: 3 / 2; height: auto; border-radius: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
  .gallery__item:hover img { transform: none; }
  .gallery__item span { font-size: 15px; padding: 40px 18px 16px; }

  /* Contact: one column, label above each detail, socials as buttons, nothing breaks mid-word */
  .talk { padding: 48px 0 56px; }
  .talk__grid { gap: 32px; }
  .talk__title { font-size: 52px; margin-bottom: 16px; }
  .talk__lead { font-size: 15.5px; line-height: 1.6; }
  .talk__info { margin-top: 28px; }
  .talk__info div { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .talk__info dd { font-size: 15px; overflow-wrap: normal; }
  .talk__info dd a[href^="mailto"] { font-size: 14.5px; white-space: nowrap; }
  .talk__social { display: flex; gap: 8px; flex-wrap: wrap; }
  .talk__social span { display: none; }
  .talk__social a { flex: 1; text-align: center; padding: 11px 8px; border: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); font-size: 14px; }
  .talk__addr span { display: block; }
  .talk__form { padding: 24px 18px; gap: 18px; }
  .talk__foot { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .talk__foot .btn { width: 100%; justify-content: center; }
  .talk__note { text-align: center; font-size: 13px; }
  .gallery .gallery__item--clone { display: block; }
  .gallery-dots { display: flex; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
  .gallery-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: width .3s, background-color .3s; }
  .gallery-dots button[aria-current="true"] { width: 22px; border-radius: 4px; background: var(--navy-800); }

  /* Home "technical training / industry access": tabs + tappable cards with icons */
  .welcome { margin-bottom: 36px; }
  .vtabs { display: flex; margin: 0 0 16px; border: 1.5px solid var(--navy-800); background: #fff; }
  .vtabs[hidden] { display: none; }
  .vtabs button {
    flex: 1; padding: 14px 8px; border: 0; border-radius: 0; cursor: pointer; background: #fff;
    font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-800); transition: background-color .25s, color .25s;
  }
  .vtabs button + button { border-left: 1.5px solid var(--navy-800); }
  .vtabs button[aria-selected="true"] { background: var(--navy-800); color: #fff; font-weight: 600; }
  .verticals.is-tabbed .vertical { display: none; }
  .verticals.is-tabbed .vertical.is-active { display: block; animation: vtab-in .35s ease both; }
  .verticals.is-tabbed .vertical__k { display: none; }
  @keyframes vtab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .vertical__row {
    display: grid; grid-template-columns: 1fr; row-gap: 4px;
    margin-bottom: 12px; padding: 18px 44px 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
    box-shadow: 0 6px 18px rgba(17, 26, 53, .05);
  }
  .vertical__row:hover { padding-left: 18px; background: #fff; }
  .vertical__row::after { opacity: 1; right: 18px; transform: translateY(-50%); }
  /* About "What we do at NIC-UD": accordion, one row per rhythm, plain text inside (js/main.js) */
  #activities .acts { grid-template-columns: 1fr; border-top: 0; }
  #activities .act { padding: 0 !important; border-left: 0 !important; border-bottom: 0; margin-bottom: 8px; }
  #activities .act h3 { margin: 0; }
  .act__toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px; cursor: pointer;
    border: 1.5px solid var(--navy-800); background: #fff; transition: background-color .25s, color .25s;
    font: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: inherit; text-transform: inherit; color: var(--navy-800); text-align: left;
  }
  .act.is-open .act__toggle { background: var(--navy-800); color: #fff; }
  .act.is-open .act__toggle::after { color: #fff; }
  .act__toggle::after { content: "+"; font: 300 26px/1 var(--sans); letter-spacing: 0; color: var(--navy-800); transition: transform .25s; }
  .act.is-open .act__toggle::after { transform: rotate(45deg); }
  .acts.is-accordion .act ul { display: none; }
  /* Our Work "The Fund": text, then the quote with the sketch, one column (was squeezed into two) */
  .fund { grid-template-columns: 1fr; gap: 36px; }
  .fund__quote-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 10px; align-items: end; }
  .fund__sketch { display: block; }

  /* Our Work "The Fund": the four portfolio traits on a rotating half wheel, against the left edge (js/main.js) */
  .pwheel { display: block; position: relative; grid-column: 1 / -1; height: 330px; margin-left: calc(-1 * var(--gutter)); overflow: hidden; --r: 124px; }
  .pwheel__arc { position: absolute; left: calc(-1 * var(--r)); top: calc(50% - var(--r)); width: calc(2 * var(--r)); height: calc(2 * var(--r)); border: 4px solid var(--navy-800); border-radius: 50%; }
  .pwheel__core { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: calc(var(--r) - 52px); margin: 0; font: 500 19px/1.1 var(--serif); color: var(--navy-800); }
  .pwheel__node {
    position: absolute; left: 0; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; padding: 0; border: 0; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; background: var(--navy-800); box-shadow: 0 10px 22px rgba(17, 26, 53, .2);
    transition: transform .85s cubic-bezier(.6, 0, .3, 1), opacity .5s ease, background-color .4s ease;
  }
  .pwheel__node svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
  .pwheel__node.is-active { background: var(--blue-300); }
  .pwheel__node.is-active svg { stroke: var(--navy-800); }
  .pwheel__info { position: absolute; left: calc(var(--r) + 52px); right: 16px; top: 50%; transform: translateY(-50%); transition: opacity .35s ease; }
  .pwheel__info.is-swapping { opacity: 0; }
  .pwheel__info h3 { margin: 0 0 6px; font: 500 25px/1.1 var(--serif); color: var(--navy-800); }
  .pwheel__info p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
  @media (prefers-reduced-motion: reduce) { .pwheel__node, .pwheel__info { transition: none; } }
  .acts.is-accordion .act.is-open ul { display: grid; gap: 18px; padding: 18px 4px 18px; animation: vtab-in .3s ease both; }
  #activities .act li strong { display: block; font-size: 15.5px; margin-bottom: 2px; }
  #activities .act__sep { display: none; }
  #activities .act__desc { display: block; font-size: 14px; line-height: 1.55; }
  #activities .act__desc::first-letter { text-transform: uppercase; }
  .vertical__row h3 { font-size: 22px; }
  .vertical__row p { font-size: 13.5px; line-height: 1.5; }
}
.gallery__item--clone { display: none; }
@media (min-width: 681px) { .gallery-dots { display: none; } }
/* team row 1 waits until it is on screen (see holdUntilVisible in main.js) */
.marquee[data-center-first].is-running:not(.is-inview) .marquee__track { animation-play-state: paused; }

/* Publications: each publication with its issues / episodes stacked underneath */
.pubs--cols { align-items: start; }
.pub-col { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.pub-col .pub-row { margin-top: 0; }
.pub-col .nur-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pub-col .episodes--row { grid-template-columns: 1fr; gap: 18px; }
/* portfolio wheel: room for all four traits */
@media (min-width: 681px) { .pwheel { overflow: visible; } }
@media (max-width: 680px) {
  .pwheel { --cx: 46px; height: 350px; }
  .pwheel__arc { left: calc(var(--cx) - var(--r)); }
  .pwheel__node { left: var(--cx); }
  .pwheel__core { display: none; }
  .pwheel__info { left: calc(var(--cx) + var(--r) + 46px); }
}

/* =========================================================================
   PARTNERSHIPS PAGE
   ========================================================================= */
.sp-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: #fff; min-height: min(88svh, 820px); display: flex; flex-direction: column; }
.sp-hero__media { position: absolute; inset: 0; z-index: -1; }
.sp-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform: scale(1.05); animation: hero-drift 24s ease-out forwards; }
.sp-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,48,.92) 0%, rgba(10,18,48,.72) 45%, rgba(10,18,48,.35) 100%), linear-gradient(180deg, transparent 60%, rgba(10,18,48,.9)); }
.sp-hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; padding-bottom: 48px; }
.sp-hero__title { font: 500 clamp(60px, 8.5vw, 124px)/.95 var(--serif); margin: 10px 0 24px; }
.sp-hero__title em { font-style: italic; color: var(--blue-300); }
.sp-hero__lead { max-width: 50ch; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.sp-hero__stats { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); padding: 0 max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); }
.sp-hero__stats div { padding: 22px 20px 26px; border-left: 1px solid rgba(255,255,255,.16); }
.sp-hero__stats div:first-child { padding-left: 0; border-left: 0; }
.sp-hero__stats dt { font: 500 clamp(34px, 3.4vw, 48px)/1 var(--serif); }
.sp-hero__stats dd { margin: 8px 0 0; font: 500 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.pband__logo { height: 34px; width: auto; max-width: 150px; object-fit: contain; }
.pband__logo--text, .tle__logo--text, .tile__logo--text, .comp__logo--text { font: 500 20px/1 var(--serif); color: var(--navy-800); white-space: nowrap; }

/* what partners get */
.gets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.gets li { padding: 26px 28px 8px 0; position: relative; transition: transform .35s ease; }
.gets li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.gets li:hover { transform: translateY(-4px); }
.gets__n { font: 500 12px/1 var(--sans); letter-spacing: .2em; color: var(--blue-500); }
.gets h3 { font: 500 30px/1.1 var(--serif); margin: 14px 0 12px; }
.gets p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }

/* track record: centre rail, entries alternate sides, photo montage on one side */
.tl2 { list-style: none; margin: 24px 0 0; padding: 0; position: relative; }
.tl2__rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); }
.tl2__rail span { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--navy-800); }
.tle { position: relative; display: grid; grid-template-columns: 1fr 72px 1.35fr; align-items: center; padding: 48px 0; }
.tle--right { grid-template-columns: 1.35fr 72px 1fr; }
.tle__info { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; max-width: 340px; position: relative; }
.tle__photos { grid-column: 3; grid-row: 1; }
.tle--right .tle__info { grid-column: 3; justify-self: start; text-align: left; }
.tle--right .tle__photos { grid-column: 1; }
.tle__dot { grid-column: 2; grid-row: 1; justify-self: center; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 3px solid var(--navy-800); position: relative; z-index: 1; transition: transform .4s ease, background .4s ease; }
.tle.is-visible .tle__dot { background: var(--blue-300); transform: scale(1.15); }
/* connector from the dot to the text */
.tle__info::after { content: ""; position: absolute; top: 50%; right: -46px; width: 40px; height: 1px; background: var(--navy-800); }
.tle--right .tle__info::after { right: auto; left: -46px; }
.tle__sem { font: 500 clamp(34px, 3.4vw, 46px)/1 var(--serif); margin: 0; color: var(--navy-800); }
.tle__kind { font: 500 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--blue-500); margin: 10px 0 16px; }
.tle__logos { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: flex-end; }
.tle--right .tle__logos { justify-content: flex-start; }
.tle__logo { height: 22px; width: auto; max-width: 110px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.tle__logo--text { font-size: 16px; opacity: .8; }
.tle:hover .tle__logo { filter: none; opacity: 1; }
/* montage */
.tle__photos { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 86px; gap: 10px; }
.tile { margin: 0; position: relative; overflow: hidden; border-radius: 6px; cursor: zoom-in; background: var(--line); box-shadow: 0 10px 26px rgba(17,26,53,.10); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; }
.tile figcaption { position: absolute; inset: auto 8px 8px 8px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: rgba(255,255,255,.95); border-radius: 4px; transform: translateY(130%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.tile__logo { height: 18px; width: auto; max-width: 80px; object-fit: contain; flex: none; }
.tile__logo--text { font-size: 14px; }
.tile__cap { font-size: 12px; line-height: 1.35; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile__cap strong { display: none; }
.tile:hover img { transform: scale(1.06); }
.tile:hover figcaption, .tile:focus-visible figcaption { transform: none; }
.tile:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; }
/* layouts by number of photos: a clean mosaic on a 6-column grid */
.tle__photos { grid-auto-rows: 58px; }
.tle__photos--5 .tile:nth-child(1), .tle__photos--3 .tile:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 5; }
.tle__photos--5 .tile:nth-child(2), .tle__photos--3 .tile:nth-child(2) { grid-column: 5 / 7; grid-row: 1 / 3; }
.tle__photos--5 .tile:nth-child(3), .tle__photos--3 .tile:nth-child(3) { grid-column: 5 / 7; grid-row: 3 / 5; }
.tle__photos--5 .tile:nth-child(4) { grid-column: 1 / 4; grid-row: 5 / 8; }
.tle__photos--5 .tile:nth-child(5) { grid-column: 4 / 7; grid-row: 5 / 8; }
.tle__photos--2 .tile:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 5; }
.tle__photos--2 .tile:nth-child(2) { grid-column: 4 / 7; grid-row: 1 / 5; margin-top: 36px; margin-bottom: -36px; }
.tle__photos--1 .tile { grid-column: 1 / 6; grid-row: 1 / 5; }
.tle--right .tle__photos--1 .tile { grid-column: 2 / 7; }
/* entrance: tiles fly in one after another */
.js .tle .tile { opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--k) * 90ms + 150ms); }
.js .tle.is-visible .tile { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .tl2__rail { left: 9px; }
  .tle, .tle--right { grid-template-columns: 20px 1fr; gap: 14px 18px; padding: 28px 0; }
  .tle__dot { grid-column: 1; grid-row: 1; align-self: start; margin-top: 10px; }
  .tle__info, .tle--right .tle__info { grid-column: 2; grid-row: 1; justify-self: start; text-align: left; max-width: none; }
  .tle__info::after { display: none; }
  .tle__logos, .tle--right .tle__logos { justify-content: flex-start; }
  .tle__photos, .tle--right .tle__photos { grid-column: 2; grid-row: 2; grid-auto-rows: 40px; gap: 8px; }
  .tle__photos--1 .tile, .tle--right .tle__photos--1 .tile { grid-column: 1 / 7; }
  .tile figcaption { transform: none; padding: 5px 7px; }
  .tile__cap { display: none; }
  .gets { grid-template-columns: 1fr; } .gets li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .sp-hero__stats { grid-template-columns: 1fr 1fr; } .sp-hero__stats div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .js .tle .tile { opacity: 1; transform: none; transition: none; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(5,10,32,.92); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb figure { margin: 0; max-width: min(1100px, 100%); }
.lb img { max-height: 78vh; width: auto; max-width: 100%; border-radius: 6px; display: block; margin: 0 auto; }
.lb figcaption { display: flex; align-items: center; gap: 14px; margin-top: 14px; color: #fff; font-size: 15px; }
.lb figcaption img { height: 26px; background: #fff; padding: 4px 8px; border-radius: 4px; max-height: none; margin: 0; }
.lb figcaption .tile__logo--text { background: #fff; padding: 4px 8px; border-radius: 4px; }
.lb figcaption strong { display: inline; margin-right: 6px; }
.lb__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.lb__btn:hover { background: #fff; color: var(--navy-900); }
.lb__prev { left: 20px; } .lb__next { right: 20px; }
.lb__close { position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 22px; cursor: pointer; }

/* competitions */
.comps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.comp { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.comp:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.comp__img { aspect-ratio: 16 / 10; overflow: hidden; }
.comp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.comp:hover .comp__img img { transform: scale(1.05); }
.comp__body { padding: 20px 22px 24px; }
.comp__logo { height: 28px; width: auto; max-width: 170px; object-fit: contain; display: block; margin-bottom: 12px; }
.comp__logo--text { font-size: 22px; display: inline-block; }
.comp__body p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .comps { grid-template-columns: 1fr; } }

/* ways to partner: expanding rows */
.ways-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.ways { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.way { border-bottom: 1px solid var(--line); }
.way__head { width: 100%; display: grid; grid-template-columns: 48px 1fr 28px; align-items: center; gap: 12px; padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); font: inherit; }
.way__n { font: 500 12px/1 var(--sans); letter-spacing: .2em; color: var(--blue-500); position: relative; top: 4px; }
.way__i { position: relative; top: 2px; }
.way__t { font: 500 clamp(24px, 2.4vw, 32px)/1.1 var(--serif); transition: transform .3s ease; }
.way__head:hover .way__t { transform: translateX(6px); }
.way__i { font: 300 26px/1 var(--sans); color: var(--navy-800); transition: transform .3s ease; justify-self: end; }
.way.is-open .way__i { transform: rotate(45deg); }
.way__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.way__body > p { overflow: hidden; margin: 0; padding-left: 60px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.way.is-open .way__body { grid-template-rows: 1fr; }
.way.is-open .way__body > p { padding-bottom: 22px; }
@media (max-width: 900px) { .ways-grid { grid-template-columns: 1fr; gap: 24px; } .way__body > p { padding-left: 0; } }
@media (max-width: 860px) {
  .tile figcaption { inset: auto 6px 6px auto; padding: 4px 6px; }
  .tile__logo { height: 13px; max-width: 64px; }
  .tile__logo--text { font-size: 12px; }
}
/* partnerships page fixes: logos always in colour; full caption on hover; whole photo for single shots; See more */
.tle__logo { filter: none !important; opacity: 1 !important; }
.tile__cap { display: block; -webkit-line-clamp: unset; overflow: visible; }
.tile figcaption { max-height: calc(100% - 16px); overflow: auto; }
.tile[data-key="gs-fall26"] img { object-position: center 85%; }
.tle__photos--1 { display: block; }
.tle__photos--1 .tile { display: inline-block; max-width: 100%; }
.tle__photos--1 .tile img { width: auto; height: auto; max-width: 100%; max-height: 440px; display: block; }
.tle--right .tle__photos--1 { text-align: right; }
.js .tl2:not(.is-expanded) .tle--more { display: none; }
.tl2-more { margin-top: 8px; }
@media (max-width: 860px) { .tile figcaption { inset: auto 6px 6px 6px; } .tile__cap { display: none; } .tle__photos--1 .tile img { max-height: 320px; } }
.tle__logo { height: 26px; max-width: 150px; }
.tle__logo[src$="limerston.png"] { height: 26px; }
.tle__logo[src$="liberdade.png"] { height: 30px; max-width: 190px; }
.tile__logo[src$="limerston.png"] { height: 30px; }
/* the photo rule (.tile img) was also stretching the small logo in the hover caption over the whole box, hiding the text */
.tl2 .tile figcaption img.tile__logo { width: auto; height: 18px; max-width: 80px; object-fit: contain; transform: none; position: static; }
.tile figcaption .tile__logo[src$="limerston.png"] { height: 26px; }
.tile:hover figcaption .tile__logo { transform: none; }
@media (max-width: 860px) { .tile__logo, .tile__logo[src$="limerston.png"] { height: 14px !important; max-width: 70px !important; } .tle__logo { height: 20px; max-width: 110px; } }
.tle__photos--6 .tile:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 4; }
.tle__photos--6 .tile:nth-child(2) { grid-column: 4 / 7; grid-row: 1 / 4; }
.tle__photos--6 .tile:nth-child(3) { grid-column: 1 / 3; grid-row: 4 / 7; }
.tle__photos--6 .tile:nth-child(4) { grid-column: 3 / 5; grid-row: 4 / 7; }
.tle__photos--6 .tile:nth-child(5) { grid-column: 5 / 7; grid-row: 4 / 7; }
.tle__photos--6 .tile:nth-child(6) { grid-column: 1 / 7; grid-row: 7 / 12; }
.tle__photos--6 .tile[data-key^="su-pe"] img { object-fit: contain; background: #f4f6fb; }
/* every logo in the timeline gets the same visual weight: same box, contained */
.tle__logo, .tle__logo[src$="limerston.png"], .tle__logo[src$="liberdade.png"] { width: 112px; height: 34px; max-width: none; object-fit: contain; }
.tile__logo, .tile__logo[src$="limerston.png"] { width: 86px; height: 24px; max-width: none; object-fit: contain; }
.tle__photos--1 .tile img { object-fit: cover; }
.hero__division { font-size: clamp(13px, 1.35vw, 17px); }
@media (max-width: 860px) { .tle__logo, .tle__logo[src$="limerston.png"], .tle__logo[src$="liberdade.png"] { width: 90px; height: 28px; } .tile__logo, .tile__logo[src$="limerston.png"] { width: 64px !important; height: 16px !important; } }
/* timeline hover captions: logo on top, description underneath (desktop) */
@media (min-width: 861px) {
  .tile figcaption { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tl2 .tile figcaption img.tile__logo[src$="moelis.png"] { height: 13px; }
  .tl2 .tile figcaption img.tile__logo[src$="jpmorgan.png"] { height: 20px; max-width: 120px; }
  .tl2 .tile figcaption img.tile__logo[src$="osprey.png"] { height: 28px; max-width: 60px; }
  .tl2 .tile figcaption img.tile__logo[src$="goldman-sachs.png"] { height: 20px; }
}
/* caption with more than one logo (e.g. NIC-UD x CLIP x TIC) */
.tile__logos { display: flex; align-items: center; gap: 12px; flex: none; }
.tl2 .tile figcaption img.tile__logo[src$="clip.png"] { height: 22px; max-width: 130px; }
.tl2 .tile figcaption img.tile__logo[src$="tic.png"] { height: 15px; }
/* per-logo size tweaks (desktop): hover captions and timeline logo rows */
@media (min-width: 861px) {
  /* hover captions, everywhere the logo appears */
  .tl2 .tile figcaption img.tile__logo[src$="morgan-stanley.png"] { max-width: 110px; }
  .tl2 .tile figcaption img.tile__logo[src$="ebrd.png"] { height: 26px; }
  .tl2 .tile figcaption img.tile__logo[src$="evercore.svg"] { max-width: 95px; }
  .tl2 .tile figcaption img.tile__logo[src$="osprey.png"] { height: 32px; max-width: 70px; }
  .tl2 .tile figcaption img.tile__logo[src$="iberis.png"] { height: 24px; }
  .tl2 .tile figcaption img.tile__logo[src$="bcg.png"] { height: 21px; }
  .tl2 .tile figcaption img.tile__logo[src$="barclays.png"] { height: 26px; }
  .tl2 .tile figcaption img.tile__logo[src$="oliver-wyman.png"] { max-width: 115px; }
  .tl2 .tile figcaption img.tile__logo[src$="kearney.png"] { max-width: 125px; }
  .tl2 .tile figcaption img.tile__logo[src$="bain.png"] { height: 26px; }
  .tl2 .tile figcaption img.tile__logo[src$="oxy.png"] { height: 20px; max-width: 90px; }
  /* Spring 2026 office visits: Liberdade Capital and Draycott */
  .tl2 .tile[data-key="liberdade-spring26"] figcaption img.tile__logo { height: 20px; max-width: 130px; }
  .tl2 .tile[data-key="liberdade2-spring26"] figcaption img.tile__logo { height: 22px; max-width: 90px; }
  /* logo rows under each semester */
  .tle__info .tle__logo[src$="ebrd.png"] { height: 44px; }
  .tle__info .tle__logo[src$="osprey.png"] { height: 42px; }
  .tle__info .tle__logo[src$="bain.png"] { height: 44px; }
  .tle:has([data-key="barclays-spring25"]) .tle__info .tle__logo[src$="barclays.png"] { height: 40px; }
  .tle:has([data-key="ms-spring25"]) .tle__info .tle__logo[src$="morgan-stanley.png"] { width: 140px; }
  .tle:has([data-key="iberis-spring25"]) .tle__info .tle__logo[src$="iberis.png"] { height: 42px; }
}
.tle__note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); max-width: 340px; }
.tle--right .tle__note { margin-left: 0; } .tle--left .tle__note { margin-left: auto; }
.tle__note strong { color: var(--ink); font-weight: 600; }

/* Our Work: how the fund is run (cycle under the fund history) */
.flow-wrap { margin-top: 72px; }
.flow__title { font: 500 clamp(30px, 3.2vw, 44px)/1.1 var(--serif); color: #fff; margin: 0 0 32px; }
.flow__title em { font-style: italic; color: var(--blue-300); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: none; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: linear-gradient(90deg, var(--blue-300) var(--flow, 0%), rgba(255,255,255,.18) var(--flow, 0%)); transition: --flow 0s; }
.flow.is-visible::before { animation: flow-fill 2.4s ease forwards .3s; }
@property --flow { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes flow-fill { to { --flow: 100%; } }
.flow__step { position: relative; padding: 0 22px 0 0; }
.flow__n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--blue-300); color: #fff; font: 500 13px/1 var(--sans); letter-spacing: .06em; margin-bottom: 18px; transition: background .3s, color .3s, transform .3s; }
.flow__step:hover .flow__n { background: var(--blue-300); color: var(--navy-900); transform: scale(1.08); }
.flow__k { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 8px; }
.flow__step h3 { font: 500 24px/1.15 var(--serif); color: #fff; margin: 0 0 8px; }
.flow__step p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0; }
.js .flow .flow__step { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i) * 380ms + 300ms); }
.js .flow.is-visible .flow__step { opacity: 1; transform: none; }
.flow__loop { margin: 28px 0 0; font-size: 14px; color: rgba(255,255,255,.65); }
.flow__loop span { color: var(--blue-300); font-size: 18px; margin-right: 6px; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow::before { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue-300) var(--flow, 0%), rgba(255,255,255,.18) var(--flow, 0%)); }
  .flow__step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 0; }
  .flow__n { grid-row: span 3; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .flow.is-visible::before { animation: none; --flow: 100%; } .js .flow .flow__step { opacity: 1; transform: none; } }

/* About: teaser for the partnerships timeline */
.industry-teaser { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: box-shadow .3s ease, transform .3s ease; }
.industry-teaser:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.industry-teaser__photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 300px; }
.industry-teaser__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; transition: transform .6s ease; }
.industry-teaser__photos img:first-child { grid-row: span 2; }
.industry-teaser__photos img:nth-child(4) { display: none; }
.industry-teaser:hover .industry-teaser__photos img { transform: scale(1.03); }
.industry-teaser__text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.industry-teaser__stat { font: 500 clamp(28px, 3vw, 40px)/1.1 var(--serif); }
.industry-teaser__stat b { font-weight: 500; color: var(--blue-500); }
.industry-teaser__lead { font-size: 15.5px; line-height: 1.65; color: var(--muted); }
@media (max-width: 860px) { .industry-teaser { grid-template-columns: 1fr; gap: 20px; } .industry-teaser__photos { height: 220px; } }

/* Publications: the two cards always the same height, issues/episodes underneath */
.pubs--cols { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; grid-auto-flow: column; column-gap: 28px; row-gap: 32px; align-items: stretch; }
.pubs--cols .pub-col { display: contents; }
.pubs--cols .pub { height: 100%; }
.pubs--cols .pub-row { align-self: start; }
@media (max-width: 900px) { .pubs--cols { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }
.tile[data-key="su-pe-spring23"] img { object-fit: cover; object-position: center 20%; background: none; }
.way__body > p + .way__cta, .way__cta { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px 60px; font: 500 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-800); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; overflow: hidden; }
.way__cta span { transition: transform .25s ease; }
.way__cta:hover span { transform: translateX(4px); }
.way__body { overflow: hidden; }
.way__body > p, .way__body > .way__cta { min-height: 0; }
.way:not(.is-open) .way__cta { visibility: hidden; margin-bottom: 0; }
.way.is-open .way__body > p { padding-bottom: 14px; }
@media (max-width: 900px) { .way__cta { margin-left: 0; } }
.field select.is-picked { border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(74,120,184,.18); }
.way__cta { justify-self: start; width: max-content; }
/* How the fund is run: hovering a step lifts it, the others step back */
.flow__step { border-radius: 10px; padding: 0 22px 18px 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s ease, background .35s ease; transform-origin: 20px 22px; }
@media (hover: hover) and (min-width: 861px) {
  .flow:hover .flow__step { opacity: .45; }
  .flow .flow__step:hover { opacity: 1; transform: scale(1.07); background: rgba(158,193,234,.08); box-shadow: 0 0 0 12px rgba(158,193,234,.08); }
  .flow .flow__step:hover h3 { color: var(--blue-200); }
  .flow .flow__step:hover .flow__n { background: var(--blue-300); color: var(--navy-900); box-shadow: 0 0 0 6px rgba(158,193,234,.25); }
}
.js .flow.is-visible .flow__step { transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1), background .35s ease; transition-delay: 0s; }
.flow .flow__step:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 6px; }

/* Home: verticals rows aligned across both columns */
.verticals { align-items: start; }
.vertical__row { min-height: 128px; align-items: start; grid-template-columns: 1fr 1.25fr; }
.vertical__row h3 { min-height: 2.3em; }

/* Home: horizontal partnerships timeline */
.htl__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.htl { overflow-x: auto; scroll-snap-type: x proximity; padding: 8px 0 24px; scrollbar-width: thin; }
.htl__track { list-style: none; margin: 0; padding: 0 max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); display: flex; gap: 28px; position: relative; width: max-content; }
.htl__track::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--navy-800); opacity: .18; }
.htl__item { position: relative; width: 280px; flex: none; scroll-snap-align: start; padding-top: 34px; }
.htl__dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 3px solid var(--navy-800); transition: background .3s, transform .3s; }
.htl__item:hover .htl__dot { background: var(--blue-300); transform: scale(1.15); }
.htl__sem { margin: 0; font: 500 28px/1.1 var(--serif); color: var(--navy-800); }
.htl__kind { margin: 6px 0 14px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-500); }
.htl__card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.htl__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.htl__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s ease; }
.htl__card:hover .htl__photo { transform: scale(1.04); }
.htl__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px; min-height: 56px; }
.htl__logos img { height: 18px; width: auto; max-width: 90px; object-fit: contain; }
.htl__card--more { display: grid; place-items: center; aspect-ratio: 4 / 3.9; font: 500 24px/1.2 var(--serif); color: var(--navy-800); text-align: center; padding: 20px; background: var(--paper); }
.htl__card--more span { color: var(--blue-500); }
@media (max-width: 680px) { .htl__item { width: 230px; } }
.htl { scroll-padding-left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); }
/* lightbox v2: always on top, opaque, photo centred with fixed positioning (no grid dependency) */
.lb { position: fixed; inset: 0; z-index: 1000; display: block; background: rgba(5,10,32,.97); padding: 0; isolation: isolate; }
.lb figure { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; width: max-content; max-width: calc(100vw - 160px); z-index: 1; }
.lb figure > img { display: block; width: auto; height: auto; max-width: calc(100vw - 160px); max-height: calc(100vh - 140px); margin: 0 auto; border-radius: 6px; opacity: 0; transition: opacity .2s ease; }
.lb figure > img.is-ready { opacity: 1; }
.lb figcaption { max-width: calc(100vw - 160px); }
.lb__btn, .lb__close { z-index: 2; }
@media (max-width: 680px) {
  .lb figure, .lb figure > img, .lb figcaption { max-width: calc(100vw - 24px); }
  .lb figure > img { max-height: calc(100vh - 180px); }
  .lb__btn { top: auto; bottom: 18px; transform: none; }
}

/* Home/About timeline: no sliding — what fits, the last entry fading out under "See the full timeline" */
.htl { position: relative; overflow: hidden; padding: 8px 0 8px; scroll-snap-type: none; }
.htl__track { padding: 0; width: auto; display: flex; gap: 28px; }
.htl__track::before { left: 0; right: 0; }
.htl__item { flex: 0 0 calc((100% - 4 * 28px) / 4.6); width: auto; }
.htl__fade { position: absolute; top: 0; right: 0; bottom: 0; width: 34%; display: flex; align-items: center; justify-content: flex-end; padding-right: 4px;
  background: linear-gradient(90deg, rgba(241,237,229,0) 0%, rgba(241,237,229,.85) 45%, var(--tint) 70%); pointer-events: none; }
.htl__fade .btn { pointer-events: auto; }
@media (max-width: 900px) { .htl__item { flex-basis: calc((100% - 28px) / 1.6); } .htl__fade { width: 55%; } }

/* How the fund is run: calmer hover — the step lifts, its number lights up, no box */
@media (hover: hover) and (min-width: 861px) {
  .flow:hover .flow__step { opacity: .5; }
  .flow .flow__step:hover { opacity: 1; transform: translateY(-6px); background: none; box-shadow: none; }
  .flow .flow__step:hover .flow__n { transform: scale(1.12); }
}
.flow__step { padding-bottom: 0; }

/* Newsletter sign-up */
.nl { background: var(--navy-800); color: #fff; padding: 88px 0; }
.nl__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.nl__title { font: 500 clamp(40px, 4.6vw, 62px)/1.05 var(--serif); margin: 6px 0 18px; }
.nl__title em { font-style: italic; color: var(--blue-300); }
.nl__lead { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.7; max-width: 46ch; margin-bottom: 22px; }
.nl__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.nl__list li { display: grid; grid-template-columns: 230px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 14.5px; }
.nl__list b { font-weight: 600; color: #fff; }
.nl__list span { color: rgba(255,255,255,.7); }
.nl__form { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: 8px; padding: 28px; }
.nl__label { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.nl__row { display: flex; gap: 10px; }
.nl__row input { flex: 1; min-width: 0; font: 400 15px/1.4 var(--sans); padding: 13px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.95); color: var(--ink); }
.nl__row input:focus { outline: none; border-color: var(--blue-300); box-shadow: 0 0 0 3px rgba(158,193,234,.35); }
.nl__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.75); cursor: pointer; }
.nl__consent input { margin-top: 3px; accent-color: var(--blue-300); }
.nl__note { margin: 12px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }
.nl__note.is-ok { color: #8fe0b0; } .nl__note.is-err { color: #ffb3a7; }
.nl.is-invalid input[type=email] { border-color: #ff8a7a; }
@media (max-width: 900px) { .nl__grid { grid-template-columns: 1fr; gap: 32px; } .nl__list li { grid-template-columns: 1fr; gap: 2px; } .nl__row { flex-direction: column; } }
.pubs__nl { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 32px 0 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 15.5px; color: var(--ink); }
.pubs__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--navy-800); border-radius: 999px; font: 500 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-800); text-decoration: none; transition: background .2s, color .2s; }
.nl-chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.nl-chip:hover { background: var(--navy-800); color: #fff; }

/* =========================================================================
   Feedback round (Nov 2026)
   ========================================================================= */
/* What we do: name on one line, description below, the same in every column */
#activities .act li strong { display: block; margin-bottom: 2px; }
#activities .act__sep { display: none; }
#activities .act__desc { display: block; }

/* Placements: industry names readable at a glance */
.sector { grid-template-columns: 300px 1fr; }
.sector__title { font: 500 clamp(28px, 2.6vw, 36px)/1.1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--navy-800); }
@media (max-width: 760px) { .sector { grid-template-columns: 1fr; } }

/* Our Work, The Fund: the half wheel sits beside the text (desktop) */
@media (min-width: 681px) {
  .fund { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 56px; align-items: center; }
  .pwheel, .pwheel.pwheel--arch { grid-column: 2; height: 460px; margin: 0; overflow: hidden; --r: 170px; --cx: 50px; }
  .pwheel__arc { left: calc(var(--cx) - 2px); top: calc(50% - var(--r) - 2px); bottom: auto; width: calc(var(--r) + 4px); height: calc(2 * var(--r) + 4px); transform: none; border: 4px solid var(--navy-800); border-left: 0; border-radius: 0 999px 999px 0; }
  .pwheel__node { left: var(--cx); top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .pwheel__node svg { width: 40px; height: 40px; }
  .pwheel__core { display: none; }
  .pwheel__info { left: calc(var(--cx) + var(--r) + 62px); right: 0; top: 50%; bottom: auto; width: auto; transform: translateY(-50%); text-align: left; }
  .pwheel__info h3 { font-size: 34px; }
  .pwheel__info p { margin: 0; max-width: 32ch; }
}
/* key phrases in bold in the main texts */
.fund__lead strong, .about__text strong, .section__lead strong, .hero__lead strong, .page-hero__lead strong, .sp-hero__lead strong { font-weight: 600; color: inherit; }
#fund .fund__lead strong, .about__text strong { color: var(--navy-800); }

/* timeline mosaics: the smaller photos a little larger (10-column grid, 60/40 split) */
.tle__photos--3, .tle__photos--4, .tle__photos--5 { grid-template-columns: repeat(10, 1fr); }
.tle__photos--5 .tile:nth-child(1), .tle__photos--3 .tile:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 5; }
.tle__photos--5 .tile:nth-child(2), .tle__photos--3 .tile:nth-child(2) { grid-column: 7 / 11; grid-row: 1 / 3; }
.tle__photos--5 .tile:nth-child(3), .tle__photos--3 .tile:nth-child(3) { grid-column: 7 / 11; grid-row: 3 / 5; }
.tle__photos--5 .tile:nth-child(4) { grid-column: 1 / 6; grid-row: 5 / 8; }
.tle__photos--5 .tile:nth-child(5) { grid-column: 6 / 11; grid-row: 5 / 8; }
.tle__photos--4 .tile:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 5; }
.tle__photos--4 .tile:nth-child(2) { grid-column: 6 / 11; grid-row: 1 / 5; }
.tle__photos--4 .tile:nth-child(3) { grid-column: 1 / 6; grid-row: 5 / 9; }
.tle__photos--4 .tile:nth-child(4) { grid-column: 6 / 11; grid-row: 5 / 9; }
@media (max-width: 860px) { .tile figcaption:not(:has(.tile__logo)) { display: none; } }

/* Madrid: Citi larger, JB Capital Markets smaller */
.tle__photos--madrid .tile:nth-child(3) { grid-column: 1 / 7; grid-row: 5 / 10; }
.tle__photos--madrid .tile:nth-child(4) { grid-column: 7 / 11; grid-row: 5 / 8; }
/* Spring 2023: the speakers poster shown whole */
.tle__photos--poster .tile:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 4; }
.tle__photos--poster .tile:nth-child(2) { grid-column: 1 / 5; grid-row: 4 / 7; }
.tle__photos--poster .tile:nth-child(3) { grid-column: 5 / 11; grid-row: 1 / 7; background: #fff; }
.tle__photos--poster .tile[data-key="su-pe-spring23"] img { object-fit: contain; object-position: center; background: #fff; }
/* About: text and figures aligned, less space between them */
@media (min-width: 901px) {
  .about { gap: 56px; align-items: center; }
  .about .stats { margin-top: 0; }
  .about .stats div { padding: 20px 0; }
}
/* hero video sits on top of the still photo and fades in once it is actually playing */
.hero__video { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; object-position: center 50%; }
/* when the video is used, the still photo underneath must sit exactly where the video will be: no slow zoom */
.hero__media.has-video img { animation: none; transform: none; }
.hero__video.is-playing { opacity: 1; }
.hero__media picture { display: contents; }

/* Our Work publications: NUR issues as a list next to the podcast episodes, the four latest first */
.js .nur-grid:not(.is-expanded) .nur-card--more { display: none; }
.pub-col .nur-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.pub-col .nur-card__cover { width: var(--nur-w, 146px); margin-bottom: 10px; }
.pub-col .nur-card h3 { font-size: 22px; }
.pub-col .nur-card p { margin-bottom: 10px; }
.nur-more { margin-top: 24px; justify-content: flex-start; }
