/* =========================================================
   NUTAN INCUBATION — Design System
   ---------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Typography
   5.  Buttons & links
   6.  Header / navigation
   7.  Hero
   8.  Trust strip & stats
   9.  About
   10. Thesis cards
   11. Portfolio
   12. Split sections (platform / accelerator)
   13. Global network (dark)
   14. Testimonials
   15. Team & mentors
   16. Process timeline
   17. Insights & news
   18. Partners & careers band
   19. Forms
   20. Footer
   21. Motion
   22. Responsive
   ========================================================= */

/* ---------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------- */
:root {
  /* --- Color: neutral foundation --- */
  --white: #ffffff;
  --paper: #f6f6f4;          /* quiet editorial surface */
  --sand: #eeedea;           /* deeper neutral */
  /* Four-step ink ramp. Every step clears WCAG AA (4.5:1) against all three
     light surfaces — white, paper and sand — so secondary text is never
     decorative-only. Verified by contrast audit, not by eye. */
  --ink: #0b0c0e;
  --ink-soft: #3a3d42;
  --ink-muted: #55585d;
  --ink-faint: #66696f;
  --line: #e6e5e1;
  --line-strong: #cbc9c3;

  /* --- Color: accent (single, institutional) --- */
  --accent: #12483a;
  --accent-hover: #0d3529;
  --accent-tint: #eef3f0;
  --accent-line: #c9d8d1;

  /* --- Color: dark surface --- */
  --dark: #0b0c0e;
  --dark-soft: #16181b;
  --dark-line: #26292d;
  --on-dark: #f3f2ef;
  --on-dark-muted: #9aa0a6;

  /* --- Feedback --- */
  --danger: #a52a1f;

  /* --- Spacing: strict 8px system --- */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-7: 56px;
  --s-8: 64px;
  --s-10: 80px;
  --s-12: 96px;
  --s-14: 112px;
  --s-16: 128px;
  --s-20: 160px;

  /* --- Layout --- */
  --max: 1240px;
  --max-wide: 1480px;
  --gutter: var(--s-4);
  --radius: 2px;
  --radius-lg: 3px;
  --header-h: 76px;

  /* --- Type --- */
  /* Geist: an engineered, neutral grotesque — clean at 12px, composed at 76px.
     Newsreader: used in italic only, as the editorial voice for accents and quotes. */
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;

  /* --- Elevation (restrained) --- */
  /* Elevation is reserved for things that genuinely float above the page —
     the menu panel and the back-to-top control. Cards use hairlines instead. */
  --shadow-sm: 0 1px 2px rgba(11, 12, 14, 0.04);
  --shadow-md: 0 1px 3px rgba(11, 12, 14, 0.05), 0 10px 28px -18px rgba(11, 12, 14, 0.16);

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 240ms;
  --dur-slow: 640ms;
}

/* ---------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s-3));
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; background-color: var(--sand); }

/* Honour the hidden attribute even on flex/grid components */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease), border-color var(--dur) var(--ease); }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
p, figure, dd, blockquote { margin: 0; }

::selection { background: var(--accent); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.section-dark :focus-visible { outline-color: var(--on-dark); }

.skip-link {
  position: fixed;
  left: var(--s-2);
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: var(--s-1) var(--s-2);
  font-size: 14px;
  border-radius: var(--radius);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--s-2); }

/* ---------------------------------------------------------
   3. LAYOUT PRIMITIVES
   --------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--s-20); }
.section-tight { padding-block: var(--s-14); }

.section-alt {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.section-dark {
  background: var(--dark);
  color: var(--on-dark);
}

/* Editorial two-column grid: sticky head + flowing body */
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6.5fr);
  gap: var(--s-12) var(--s-10);
  align-items: start;
}
.section-head { position: sticky; top: calc(var(--header-h) + var(--s-6)); }
.section-head-wide { max-width: 48ch; }

/* Head + aside bar */
.section-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: end;
  margin-bottom: var(--s-10);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.section-aside {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 34ch;
  justify-self: end;
}

.section-head-wide + .card-grid,
.section-head-wide + .office-grid,
.section-head-wide + .quote-grid,
.section-head-wide + .partner-grid { margin-top: var(--s-10); }

.subsection {
  margin-top: var(--s-14);
  padding-top: var(--s-8);
  border-top: 1px solid var(--line);
}
.subsection-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-5);
}

/* ---------------------------------------------------------
   4. TYPOGRAPHY
   --------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.026em;
  line-height: 1.13;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.section-dark .eyebrow { color: var(--on-dark-muted); }

.hero-title {
  font-size: clamp(2.375rem, 5.5vw, 4.625rem);
  line-height: 1.03;
  letter-spacing: -0.043em;
  font-weight: 500;
}
.hero-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  letter-spacing: -0.032em;
  line-height: 1.1;
}

.lead {
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
  line-height: 1.52;
  letter-spacing: -0.017em;
  color: var(--ink);
}
.lead em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12em;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.section-note {
  margin-top: var(--s-3);
  color: var(--ink-muted);
  font-size: 16px;
  max-width: 46ch;
  text-wrap: pretty;
}
.section-dark .section-note { color: var(--on-dark-muted); }

.prose p { color: var(--ink-soft); max-width: 64ch; text-wrap: pretty; }
.prose p + p { margin-top: var(--s-2); }
.prose .lead + p { margin-top: var(--s-3); }

/* ---------------------------------------------------------
   5. BUTTONS & LINKS
   --------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  min-height: 52px;
  padding: 0 var(--s-4);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-sm { min-height: 40px; padding: 0 var(--s-3); font-size: 14px; }

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }

.btn-block { width: 100%; }

.btn-arrow {
  width: 16px; height: 16px;
  flex: none;
  transition: transform var(--dur) var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  margin-top: var(--s-4);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent-line);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { border-bottom-color: var(--accent); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------
   6. HEADER / NAVIGATION
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 22px; height: 22px; color: var(--accent); flex: none; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.024em;
}

.nav-list { display: flex; align-items: center; gap: var(--s-4); }
.nav-list a {
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
}
.nav-list a[data-nav-link]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur) var(--ease-out);
}
.nav-list a[data-nav-link]:hover { color: var(--ink); }
.nav-list a[data-nav-link]:hover::after,
.nav-list a[data-nav-link][aria-current="page"]::after,
.nav-list a[data-nav-link].is-active::after { transform: scaleX(1); }
.nav-list a[data-nav-link].is-active,
.nav-list a[data-nav-link][aria-current="page"] { color: var(--ink); }
.nav-action { margin-left: var(--s-1); }
.nav-action .btn { color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle-bar {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------------------------------------------------------
   7. HERO
   --------------------------------------------------------- */
.hero {
  padding-block: clamp(var(--s-12), 11vh, var(--s-20)) var(--s-16);
  position: relative;
}
/* The hero carries no wash or gradient — the composition is made of
   type, image and space alone. */

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  gap: var(--s-10);
  align-items: center;
}

.hero-lede {
  margin-top: var(--s-5);
  max-width: 50ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-7);
}

.hero-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.2s var(--ease-out);
}
.hero-figure:hover img { transform: scale(1.03); }

/* ---------------------------------------------------------
   8. TRUST STRIP & STATS
   --------------------------------------------------------- */
.trust {
  padding-block: var(--s-6);
  border-top: 1px solid var(--line);
  background: var(--white);
}
.trust-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--s-3);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-7);
  align-items: center;
}
.trust-row li {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-faint);
  transition: color var(--dur) var(--ease);
}
.trust-row li:hover { color: var(--ink); }

.stats { border-block: 1px solid var(--line); background: var(--paper); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-8) var(--s-4) var(--s-8) 0;
}
.stat + .stat { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.stat-num {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 13px; color: var(--ink-muted); max-width: 22ch; }

/* ---------------------------------------------------------
   9. ABOUT
   --------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.pillar-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-1);
}
.pillar p { font-size: 15px; color: var(--ink-soft); }

.figure-wide {
  margin-top: var(--s-16);
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.figure-wide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.figure-caption {
  margin-top: var(--s-2);
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------
   10. THESIS CARDS
   --------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(276px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}
.card {
  position: relative;
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: -1px; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur) var(--ease-out);
}
.card:hover { background: var(--accent-tint); }
.card:hover::before { transform: scaleX(1); }

.card-index {
  display: block;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: var(--s-6);
}
.card-title { font-size: 1.1875rem; margin-bottom: var(--s-1); }
.card-text { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

.card-cta { background: var(--sand); display: flex; flex-direction: column; }
.card-cta .link-arrow { margin-top: auto; padding-top: var(--s-4); }

/* ---------------------------------------------------------
   11. PORTFOLIO
   --------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  margin-bottom: var(--s-5);
}
.filter-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.filter-group { display: flex; flex-wrap: wrap; gap: var(--s-1); }

.filter {
  font: inherit;
  font-size: 14px;
  line-height: 1;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px var(--s-2);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.filter:hover { border-color: var(--line-strong); color: var(--ink); }
.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.filter-status {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
}
.filter-status:empty { display: none; }

.portfolio-empty {
  padding: var(--s-8) 0;
  font-size: 15px;
  color: var(--ink-muted);
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: var(--s-3);
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease);
}
.portfolio-card:hover {
  border-color: var(--ink);
}

.logo-placeholder {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.portfolio-card:hover .logo-placeholder { background: var(--accent-tint); color: var(--accent); }

/* Where a portfolio company has supplied real artwork, the mark replaces the
   monogram. The logo carries its own container, so the tile drops its surface
   and border to avoid framing a frame. */
.logo-placeholder.has-mark {
  background: none;
  border: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 11px;
}
.logo-placeholder.has-mark img { display: block; width: 100%; height: 100%; }
.portfolio-card:hover .logo-placeholder.has-mark { background: none; }
.logo-placeholder-lg.has-mark { border-radius: 15px; }

/* Outbound link to a portfolio company's own site, shown beside its tags. */
.company-site {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.company-site:hover { color: var(--accent); border-color: var(--accent); }

.portfolio-name { font-size: 1.0625rem; margin-bottom: var(--s-1); }
.portfolio-text { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin-bottom: var(--s-4); }

.portfolio-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: var(--s-1);
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent-line);
  padding: 3px 9px;
  border-radius: 999px;
}
.portfolio-sector { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.02em; }

/* ---------------------------------------------------------
   12. SPLIT SECTIONS
   --------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-12);
  align-items: center;
}
.split-reverse .split-figure { order: -1; }

.split-figure {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.split-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.split-figure:hover img { transform: scale(1.03); }

.feature-list { margin-top: var(--s-8); border-top: 1px solid var(--line); }
.feature { padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.feature-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 4px; }
.feature p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 52ch; }

.spec-list { margin-top: var(--s-7); border-top: 1px solid var(--line); }
.spec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: var(--s-3);
  padding-block: var(--s-2);
  border-bottom: 1px solid var(--line);
}
.spec dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 3px;
}
.spec dd { font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------
   13. GLOBAL NETWORK (dark)
   --------------------------------------------------------- */
.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--dark-line);
}
.office {
  padding: var(--s-6) var(--s-4) var(--s-6) 0;
  border-bottom: 1px solid var(--dark-line);
}
.office + .office { padding-left: var(--s-5); border-left: 1px solid var(--dark-line); }
.office h3 { font-size: 1.25rem; margin-bottom: 4px; }
.office p { font-size: 13px; color: var(--on-dark-muted); margin-bottom: var(--s-3); }
.office span {
  display: block;
  font-size: 13px;
  color: var(--on-dark);
  opacity: 0.75;
  letter-spacing: 0.01em;
}

.network-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-6);
  margin-top: var(--s-10);
}
.net-stat { display: flex; flex-direction: column; gap: var(--s-1); }
.net-stat .stat-label { color: var(--on-dark-muted); }

/* ---------------------------------------------------------
   14. TESTIMONIALS
   --------------------------------------------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
  gap: var(--s-3);
}
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-8);
  padding: var(--s-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease);
}
.quote-card:hover { border-color: var(--ink); }

.quote-card blockquote p {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: pretty;
}
.quote-card blockquote p::before { content: "\201C"; }
.quote-card blockquote p::after { content: "\201D"; }

.quote-meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.quote-person {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
}
.quote-person strong { font-size: 14px; font-weight: 500; color: var(--ink); }

/* ---------------------------------------------------------
   15. TEAM & MENTORS
   --------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: var(--s-8) var(--s-5);
}
.team-card { display: flex; flex-direction: column; }

.avatar {
  display: grid;
  place-items: center;
  width: 96px; height: 96px;
  margin-bottom: var(--s-3);
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  flex: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.team-card:hover .avatar { background: var(--accent); border-color: var(--accent); color: var(--white); }
.avatar-sm { width: 40px; height: 40px; font-size: 12px; margin-bottom: 0; }

.team-name { font-size: 1.0625rem; margin-bottom: 2px; }
.team-role { font-size: 14px; color: var(--accent); margin-bottom: var(--s-1); }
.team-bio { font-size: 14px; line-height: 1.55; color: var(--ink-muted); max-width: 34ch; }

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.mentor {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: var(--s-3);
  padding-right: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.mentor strong { font-size: 15px; font-weight: 500; }
.mentor span { font-size: 14px; color: var(--ink-muted); }

/* ---------------------------------------------------------
   16. PROCESS TIMELINE
   --------------------------------------------------------- */
.timeline { position: relative; padding-left: var(--s-5); }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}
.timeline-item { position: relative; padding-bottom: var(--s-8); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--s-5) - 4px);
  top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
}
.timeline-step {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-1);
}
.timeline-title { font-size: 1.125rem; margin-bottom: 4px; }
.timeline-text { font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 58ch; }

/* ---------------------------------------------------------
   17. INSIGHTS & NEWS
   --------------------------------------------------------- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
  gap: var(--s-4);
}
.insight-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.insight-card:hover { border-color: var(--ink); }
.insight-link { display: flex; flex-direction: column; height: 100%; }

.insight-media { display: block; overflow: hidden; background: var(--sand); }
.insight-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.insight-card:hover .insight-media img { transform: scale(1.04); }

.insight-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-4) var(--s-4) var(--s-5);
}
.insight-meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.insight-title {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.insight-note { font-size: 14px; line-height: 1.55; color: var(--ink-muted); }

.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: var(--s-3);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background-color var(--dur) var(--ease);
}
.news-item:hover { background: rgba(255, 255, 255, 0.7); }
.news-item time {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.news-item p { font-size: 15px; color: var(--ink-soft); max-width: 62ch; }

/* ---------------------------------------------------------
   18. PARTNERS & CAREERS BAND
   --------------------------------------------------------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.partner {
  padding: var(--s-5) var(--s-4);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.partner:hover { background: var(--paper); color: var(--ink); }

.section-band {
  background: var(--paper);
  border-block: 1px solid var(--line);
  padding-block: var(--s-12);
}
.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  flex-wrap: wrap;
}
.band-title { font-size: clamp(1.625rem, 2.6vw, 2.125rem); letter-spacing: -0.03em; }
.band-note { margin-top: var(--s-2); font-size: 15px; color: var(--ink-muted); max-width: 56ch; }

/* ---------------------------------------------------------
   19. FORMS
   --------------------------------------------------------- */
.contact-list { margin-top: var(--s-8); border-top: 1px solid var(--line); }
.contact-list li {
  display: flex;
  gap: var(--s-3);
  padding-block: var(--s-2);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.contact-label {
  flex: none;
  width: 104px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 3px;
}
.contact-list a { border-bottom: 1px solid var(--line-strong); }
.contact-list a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.form {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

input, select, textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px var(--s-2);
  width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
textarea { resize: vertical; min-height: 132px; line-height: 1.55; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' stroke='%236c7075' stroke-width='1.2' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-2) center;
  background-size: 12px;
  padding-right: var(--s-5);
}
input:hover, select:hover, textarea:hover { border-color: var(--ink-muted); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(165, 42, 31, 0.1); }

.hint { font-size: 13px; color: var(--ink-muted); }
.error { font-size: 13px; color: var(--danger); }
.form-status { font-size: 14px; color: var(--accent); min-height: 20px; }
.form-status:empty { min-height: 0; }
.form-legal { font-size: 12px; color: var(--ink-faint); line-height: 1.5; }

/* ---------------------------------------------------------
   20. FOOTER
   --------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-top: var(--s-12); background: var(--white); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 3.4fr) minmax(0, 6.6fr);
  gap: var(--s-10);
  padding-bottom: var(--s-12);
}
.footer-note { margin-top: var(--s-3); font-size: 14px; color: var(--ink-muted); max-width: 32ch; }
.footer-offices { margin-top: var(--s-2); font-size: 13px; color: var(--ink-faint); }

.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
.footer-heading {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--s-2);
}
.footer-col li + li { margin-top: 6px; }
.footer-col a { font-size: 15px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-1) var(--s-5);
  padding-block: var(--s-3) var(--s-6);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-muted);
}
.footer-legal { color: var(--ink-faint); }

/* ---------------------------------------------------------
   20b. BACK TO TOP
   --------------------------------------------------------- */
.to-top {
  position: fixed;
  right: var(--s-3);
  bottom: var(--s-3);
  z-index: 90;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  /* visibility flips instantly on show, and only after the fade on hide */
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              visibility 0s linear var(--dur);
}
.to-top svg { width: 16px; height: 16px; }
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              visibility 0s linear 0s;
}
.to-top:hover { background: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------
   21. MOTION
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

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

  /* The global duration override above would otherwise turn the
     instant visibility switch into a (frozen) transition. */
  .to-top, .to-top.is-visible { transition: none !important; }
}

/* ---------------------------------------------------------
   22. RESPONSIVE
   --------------------------------------------------------- */

/* Ultra-wide */
@media (min-width: 1600px) {
  :root { --max: 1360px; --gutter: var(--s-6); }
  body { font-size: 18px; }
}

/* Laptop */
@media (max-width: 1100px) {
  .section { padding-block: var(--s-16); }
  .section-grid { gap: var(--s-10) var(--s-8); }
  .hero-grid { gap: var(--s-8); }
  .split { gap: var(--s-8); }
  .footer-top { grid-template-columns: 1fr; gap: var(--s-8); }
  .footer-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Tablet */
@media (max-width: 900px) {
  :root { --gutter: var(--s-3); }

  .section { padding-block: var(--s-14); }
  .section-tight { padding-block: var(--s-12); }
  .section-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .section-head { position: static; }
  .section-bar { grid-template-columns: 1fr; align-items: start; gap: var(--s-3); }
  .section-aside { justify-self: start; }

  .hero { padding-block: var(--s-10) var(--s-12); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .hero-figure img { aspect-ratio: 16 / 10; }

  .split { grid-template-columns: 1fr; }
  .split-reverse .split-figure { order: 0; }
  .split-figure img { aspect-ratio: 16 / 10; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: var(--s-5) var(--s-3) var(--s-5) 0; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: var(--s-3); border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .office + .office { padding-left: 0; border-left: 0; }

  .figure-wide { margin-top: var(--s-10); }
  .figure-wide img { aspect-ratio: 16 / 9; }

  .subsection { margin-top: var(--s-10); padding-top: var(--s-6); }

  /* Mobile navigation */
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-1) var(--gutter) var(--s-4);
  }
  .nav-list a[data-nav-link] {
    display: block;
    padding: var(--s-2) 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a[data-nav-link]::after { display: none; }
  .nav-list a[data-nav-link].is-active,
  .nav-list a[data-nav-link][aria-current="page"] { color: var(--accent); }
  .nav-action { margin: var(--s-3) 0 0; }
  .nav-action .btn { width: 100%; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --gutter: var(--s-2); }
  body { font-size: 16px; }

  .section { padding-block: var(--s-12); }
  .section-tight, .section-band { padding-block: var(--s-10); }

  .hero-actions { gap: var(--s-1); }
  .hero-actions .btn { flex: 1 1 160px; }

  .pillars { grid-template-columns: 1fr; gap: var(--s-4); }
  .card { padding: var(--s-5) var(--s-4); }
  .card-index { margin-bottom: var(--s-4); }

  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-3); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avatar { width: 72px; height: 72px; font-size: 14px; }
  .quote-card { padding: var(--s-4); gap: var(--s-5); }
  .quote-card blockquote p { font-size: 1.25rem; }

  .spec { grid-template-columns: 1fr; gap: 2px; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }

  .contact-list li { flex-direction: column; gap: 2px; }
  .contact-label { width: auto; padding-top: 0; }

  .form { padding: var(--s-4); }
  .form-row { grid-template-columns: 1fr; }

  /* Keep long CTA labels from forcing the grid wider than the screen */
  .btn { padding-inline: var(--s-3); }
  .btn-block { white-space: normal; }

  .band-inner { gap: var(--s-4); }
  .band-inner .btn { width: 100%; }

  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); }
  .trust-row { gap: var(--s-2) var(--s-4); }
  .trust-row li { font-size: 15px; }
}

/* ---------------------------------------------------------
   22b. MULTI-PAGE: mastheads, company pages, careers
   Interior pages open on a quiet masthead rather than the
   home page's image-led hero, so the nav bar always sits
   against generous space.
   --------------------------------------------------------- */

/* Page masthead ------------------------------------------- */
.page-head {
  padding-top: calc(var(--header-h) + var(--s-12));
  padding-bottom: var(--s-10);
  border-bottom: 1px solid var(--line);
}
.page-head-inner { max-width: 62rem; }
.page-title {
  font-size: clamp(2.25rem, 1.35rem + 3.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-top: var(--s-3);
  text-wrap: balance;
}
.page-lede {
  margin-top: var(--s-4);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 58ch;
}
.page-aside {
  margin-top: var(--s-3);
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 52ch;
}

/* First section after a masthead already has a rule above it */
.section-top-tight { padding-top: var(--s-10); }

/* Cinematic band ------------------------------------------
   Full-bleed without a horizontal scrollbar: 100vw would include
   the scrollbar gutter, so the width is clamped to the document
   element instead. A fixed aspect-ratio reserves the space and
   keeps cumulative layout shift at zero while the image loads. */
.page-media {
  width: 100%;
  margin: 0;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.page-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  /* A single, restrained grade applied to every editorial image so that
     photographs from different sources read as one art-directed set
     rather than as assorted stock. */
  filter: saturate(0.82) contrast(1.02);
}

@media (max-width: 640px) {
  .page-media img { aspect-ratio: 16 / 10; }
}

/* Breadcrumb ---------------------------------------------- */
.breadcrumb { margin-bottom: var(--s-6); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-1) var(--s-2);
  font-size: 13px;
  color: var(--ink-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: var(--s-2); }
.breadcrumb li + li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--line-strong, #cfcbc2);
}
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* Company masthead ---------------------------------------- */
.company-masthead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-5);
  align-items: start;
}
.logo-placeholder-lg {
  width: 72px; height: 72px;
  margin-bottom: 0;
  font-size: 18px;
  flex: none;
}
.company-title { margin-top: 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.company-lede { margin-top: var(--s-3); max-width: 46ch; }
.company-tags {
  margin-top: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
}

/* "Why we invested" ---------------------------------------- */
.invest-note {
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}
.invest-quote {
  margin-top: var(--s-4);
  font-style: italic;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem);
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty;
}
.invest-meta {
  margin-top: var(--s-5);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

/* Careers roles -------------------------------------------- */
.role-list { border-top: 1px solid var(--line); }
.role {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
  gap: var(--s-4) var(--s-6);
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.role-title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
}
.role-text { color: var(--ink-soft); font-size: 15px; line-height: 1.65; max-width: 52ch; }
.role-meta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); }
.role-type { font-size: 13px; color: var(--ink-muted); }

/* Clickable portfolio cards -------------------------------- */
.portfolio-card { position: relative; }
.portfolio-link { color: inherit; text-decoration: none; }
/* Stretch the link over the whole card so the entire tile is a target,
   while the accessible name stays the company name alone. */
.portfolio-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.portfolio-link:focus-visible { outline: none; }
.portfolio-link:focus-visible::after {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.portfolio-card:hover .portfolio-link { color: var(--accent); }

/* Inline arrow links --------------------------------------- */
.grid-more { margin-top: var(--s-8); }
.section-aside .link-arrow { font-size: 15px; }

/* Final call to action ------------------------------------- */
.cta-inner { text-align: center; max-width: 46rem; margin-inline: auto; }
.cta-note {
  margin-top: var(--s-3);
  margin-bottom: var(--s-6);
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .page-head { padding-top: calc(var(--header-h) + var(--s-8)); padding-bottom: var(--s-8); }
  .role { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .role-meta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
}

@media (max-width: 640px) {
  .company-masthead { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .logo-placeholder-lg { width: 56px; height: 56px; font-size: 15px; }
  .invest-note { text-align: left; }
}

/* ---------------------------------------------------------
   23. PRINT
   Institutional documents get printed. Make it legible:
   drop chrome and decoration, keep content and hierarchy.
   --------------------------------------------------------- */
@media print {
  :root { --gutter: 0; }

  body { font-size: 11pt; line-height: 1.45; color: #000; background: #fff; }

  .site-header,
  .nav-toggle,
  .scroll-progress,
  .to-top,
  .skip-link,
  .filter-bar,
  .filter-status,
  .hero-actions,
  .form,
  .hero-figure,
  .split-figure,
  .figure-wide,
  .insight-media { display: none !important; }

  .section,
  .section-tight,
  .section-band,
  .hero { padding-block: 18pt; border: 0; }

  .section-alt,
  .section-dark,
  .stats,
  .section-band { background: #fff !important; color: #000 !important; border-block: 0; }
  .section-dark .eyebrow,
  .section-dark .section-note,
  .office p, .office span,
  .net-stat .stat-label { color: #333 !important; }

  .section-grid,
  .split,
  .hero-grid { display: block; }
  .section-head { position: static; }

  .card-grid,
  .portfolio-grid,
  .team-grid,
  .quote-grid,
  .insight-grid,
  .partner-grid,
  .office-grid { display: block; }

  .card,
  .portfolio-card,
  .quote-card,
  .insight-card,
  .team-card,
  .timeline-item,
  .feature { break-inside: avoid; page-break-inside: avoid; }

  .card, .portfolio-card, .quote-card, .insight-card {
    border: 0;
    border-bottom: 1pt solid #ccc;
    box-shadow: none;
    padding: 8pt 0;
  }

  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }
  .reveal { opacity: 1 !important; transform: none !important; }

  /* Expose destinations that are lost without a screen */
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
}
