/* BUILD Capital Partners — site stylesheet
   Identity from the build-capital-design tokens (gold #FED31D scarce, ink #15181C,
   cream paper, Archivo expanded display, IBM Plex Mono figures). Light only. */

:root {
  color-scheme: light;
  --gold: #FED31D;
  --gold-deep: #E6B800;
  --gold-muted: #C9A94E;
  --gold-muted-deep: #9A7B33;
  --ink: #15181C;
  --ink-2: #2A2F36;
  --ink-3: #4C545C;
  --stone: #6B655A;
  --stone-2: #8E877A;
  --paper: #FFFCF2;
  --paper-2: #FBF4E2;
  --white: #FFFFFF;
  --navy: #1C3557;
  --navy-deep: #12233A;
  --rule: #E7DFCB;
  --rule-strong: #CFC4AA;

  --font-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.display, h1, h2, .h2, h3.display {
  font-family: var(--font-sans);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: .98;
  margin: 0;
}
h1 { font-size: clamp(44px, 7.4vw, 124px); font-weight: 800; }
.hero h1 { font-size: clamp(34px, 9.6vw, 168px); letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(32px, 4.6vw, 72px); }
h3 { font-size: 22px; line-height: 1.25; margin: 0; font-weight: 650; }
.h-sm { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; }
.lede { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 40ch; margin: 0; }
.body-copy p { max-width: 62ch; margin: 0 0 1.1em; color: var(--ink-2); }
.mono, .eyebrow, .meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--stone); margin: 0 0 28px; }
.eyebrow .idx { color: var(--ink); }
.eyebrow::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--rule-strong); }
.gold-mark { display: inline-block; width: 10px; height: 10px; background: var(--gold); margin-right: 2px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 7.5vw, 120px) 0; position: relative; }
.section.tight { padding: clamp(48px, 5vw, 80px) 0; }
.section.white { background: var(--white); }
.section.cream2 { background: var(--paper-2); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.rule-top { border-top: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
@media (max-width: 1100px) { .split { grid-template-columns: 1fr; align-items: start; gap: 28px; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
  border-bottom: 1px solid transparent;
  color: var(--ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand .letters { height: 17px; }
.brand .on-dark { display: none; }
.site-header.over-photo { color: var(--white); }
.site-header.over-photo .brand .on-light { display: none; }
.site-header.over-photo .brand .on-dark { display: block; }
.site-header.scrolled { background: rgba(255, 252, 242, .94); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-color: var(--rule); color: var(--ink); }
.site-header.scrolled .brand .on-light { display: block; }
.site-header.scrolled .brand .on-dark { display: none; }
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 550; letter-spacing: .01em; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.lang { display: flex; align-items: center; gap: 2px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; border: 1px solid currentColor; border-radius: 999px; padding: 3px; }
.lang a, .lang span { text-decoration: none; padding: 5px 10px; border-radius: 999px; line-height: 1; }
.lang span { background: currentColor; }
.lang span b { color: var(--paper); font-weight: 500; }
.site-header.over-photo:not(.scrolled) .lang span b { color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; color: inherit; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
@media (max-width: 980px) {
  .nav .nav-links { display: none; }
  .menu-btn { display: block; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav a { display: block; text-decoration: none; font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-weight: 700; font-size: clamp(30px, 9vw, 48px); line-height: 1.15; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu-open .site-header { color: var(--ink); }
.menu-open .site-header .brand .on-light { display: block; }
.menu-open .site-header .brand .on-dark { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 1100px; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.active img { animation: drift 9s linear forwards; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1.0); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,15,.45) 0%, rgba(10,12,15,.05) 30%, rgba(10,12,15,.15) 55%, rgba(10,12,15,.78) 100%); pointer-events: none; }
.hero-inner { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(36px, 6vh, 72px); }
.hero h1 { max-width: 13ch; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero h1 .accent { color: var(--gold); }
.hero-foot { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-top: clamp(28px, 4vh, 48px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); }
.js .hero-foot p { opacity: 0; } .hero-foot p { margin: 0; max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255,255,255,.9); animation: fade 1s .6s var(--ease) forwards; }
.hero-caption { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 28px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; position: relative; overflow: hidden; }
.hero-dots button.active::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: fill 7s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }
@media (max-width: 700px) { .hero-foot { grid-template-columns: 1fr; } .hero-caption { align-items: flex-start; text-align: left; } }

/* Page hero (interior pages) */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) 0 clamp(36px, 4vw, 64px); }
.page-hero h1 { font-size: clamp(44px, 8vw, 132px); max-width: 14ch; }
.page-hero .lede { margin-top: 32px; }
.page-hero-photo { position: relative; height: clamp(320px, 62vh, 720px); overflow: hidden; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo figcaption { position: absolute; left: var(--gutter); bottom: 18px; color: var(--white); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.4); }

/* ---------- Statement ---------- */
.statement { font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 600; font-size: clamp(24px, 2.5vw, 40px); line-height: 1.12; letter-spacing: -0.01em; max-width: 24ch; margin: 0; }
.statement em { font-style: normal; background: linear-gradient(transparent 62%, var(--gold) 62%, var(--gold) 92%, transparent 92%); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-top: clamp(40px, 4.5vw, 64px); }
.pillar { padding: 32px clamp(20px, 2.5vw, 40px) 40px 0; border-right: 1px solid var(--rule); }
.pillar + .pillar { padding-left: clamp(20px, 2.5vw, 40px); }
.pillar:last-child { border-right: 0; }
.pillar .num { font-family: var(--font-mono); font-size: 13px; color: var(--stone); letter-spacing: .08em; }
.pillar h3 { font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1.02; font-weight: 700; margin: 56px 0 18px; }
.pillar p { margin: 0; color: var(--ink-3); max-width: 38ch; }
.pillar ul { list-style: none; padding: 0; margin: 22px 0 0; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.pillar li { padding: 9px 0; border-top: 1px solid var(--rule); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 28px 0 32px; border-right: 0; border-bottom: 1px solid var(--rule); } .pillar h3 { margin-top: 20px; } }

/* ---------- Photo band ---------- */
.photo-band { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: 1fr 1fr; gap: clamp(8px, 1vw, 16px); }
.photo-band figure { margin: 0; position: relative; overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-band figure:hover img { transform: scale(1.03); }
.photo-band .tall { grid-row: span 2; aspect-ratio: 4 / 5; }
.photo-band .wide { min-height: 0; }
.photo-band picture { display: block; height: 100%; }
.photo-band figcaption, .cap { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); padding-top: 10px; }
.photo-band figure figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--white); text-shadow: 0 1px 10px rgba(0,0,0,.5); padding: 0; }
@media (max-width: 760px) { .photo-band { grid-template-columns: 1fr; } .photo-band .tall { grid-row: auto; aspect-ratio: 4/3; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.stat { padding: 28px 24px 8px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--rule); }
.stat .fig { font-family: var(--font-sans); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 700; font-size: clamp(44px, 5.4vw, 88px); line-height: 1; letter-spacing: -0.02em; display: block; }
.stat .fig sup { font-size: .42em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; color: var(--gold-muted-deep); }
.stat .label { display: block; margin-top: 14px; color: var(--ink-3); font-size: 15px; line-height: 1.45; max-width: 24ch; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat { border-top: 1px solid var(--rule); } }

/* ---------- Portfolio list ---------- */
.plist { border-top: 1px solid var(--ink); list-style: none; margin: 0; padding: 0; }
.prow { border-bottom: 1px solid var(--rule); }
.prow a, .prow > div { display: grid; grid-template-columns: 64px 1.3fr 1fr 1fr 40px; gap: 24px; align-items: center; padding: 30px 0; text-decoration: none; position: relative; }
.prow .pi { font-family: var(--font-mono); font-size: 12.5px; color: var(--stone); }
.prow .pn { font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-weight: 700; font-size: clamp(22px, 2.6vw, 40px); line-height: 1; transition: transform .45s var(--ease); }
.prow .ps, .prow .pl { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.prow .pa { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule-strong); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.prow:hover .pn { transform: translateX(10px); }
.prow:hover .pa { background: var(--gold); border-color: var(--gold); transform: rotate(-45deg); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-muted-deep); }
.status.active::before { background: #3E5A48; }
.hover-preview { position: fixed; z-index: 50; width: 300px; aspect-ratio: 4/3; pointer-events: none; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.92); transition: opacity .25s, transform .35s var(--ease); box-shadow: 0 30px 60px -20px rgba(21,24,28,.35); }
.hover-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .prow a, .prow > div { grid-template-columns: 40px 1fr 32px; } .prow .ps, .prow .pl { display: none; } .hover-preview { display: none; } }

/* ---------- Company features ---------- */
.company { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--rule); }
.company:nth-of-type(even) .company-media { order: 2; }
.company-media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: var(--paper-2); }
.company-media img { width: 100%; height: 100%; object-fit: cover; }
.company-media picture, .person .ph picture, .bio .ph picture, .region-media picture, .page-hero-photo picture, .hero-slide picture, .h-row figure picture { display: block; width: 100%; height: 100%; }
.company-media .logo-chip { position: absolute; left: 16px; top: 16px; background: var(--white); padding: 10px 14px; }
.company-media .logo-chip img { height: 26px; width: auto; object-fit: contain; }
.company h3 { font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-weight: 700; font-size: clamp(30px, 3.4vw, 52px); line-height: 1; margin: 14px 0 22px; }
.company p { color: var(--ink-2); max-width: 52ch; margin: 0 0 1em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); margin-top: 28px; }
.facts div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; }
.textlink { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.textlink:hover { gap: 16px; }
.textlink { transition: gap .25s var(--ease); }
@media (max-width: 900px) { .company { grid-template-columns: 1fr; } .company:nth-of-type(even) .company-media { order: 0; } }

/* ---------- Timeline ---------- */
.timeline-wrap { position: relative; }
.timeline { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px 0 32px; cursor: grab; scrollbar-width: none; }
.timeline::-webkit-scrollbar { display: none; }
.timeline.dragging { cursor: grabbing; scroll-snap-type: none; }
.tl-item { flex: 0 0 clamp(280px, 30vw, 400px); scroll-snap-align: start; padding: 0 32px 0 0; border-top: 1px solid var(--ink); position: relative; user-select: none; }
.tl-item::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--paper); border: 1px solid var(--ink); border-radius: 50%; }
.tl-item.key::before { background: var(--gold); border-color: var(--gold-deep); }
.tl-year { font-family: var(--font-sans); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 700; font-size: clamp(48px, 5vw, 80px); line-height: 1; letter-spacing: -0.02em; margin: 30px 0 18px; display: block; color: var(--ink); }
.tl-item h3 { font-size: 19px; margin-bottom: 10px; }
.tl-item p { color: var(--ink-3); font-size: 15.5px; margin: 0; max-width: 34ch; }
.tl-item .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); display: block; margin-bottom: 10px; }
.tl-controls { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.tl-progress { flex: 1; height: 2px; background: var(--rule); position: relative; }
.tl-progress span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s; color: var(--ink); }
.round-btn:hover { background: var(--ink); color: var(--paper); }
.round-btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }

/* Vertical history (history page) */
.history { border-top: 1px solid var(--ink); }
.h-row { display: grid; grid-template-columns: 180px 1fr 1.2fr; gap: clamp(20px, 4vw, 64px); padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--rule); }
.h-row .tl-year { margin: 0; font-size: clamp(40px, 4vw, 64px); position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.h-row h3 { font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.08; }
.h-row .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); display: block; margin-bottom: 12px; }
.h-row p { margin: 0 0 .8em; color: var(--ink-2); max-width: 58ch; }
.h-row figure { margin: 18px 0 0; aspect-ratio: 16/10; overflow: hidden; }
.h-row figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .h-row { grid-template-columns: 1fr; } .h-row .tl-year { position: static; } }

/* ---------- Region band ---------- */
.region { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: var(--white); }
.region-media { position: relative; overflow: hidden; }
.region-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.region-copy { padding: clamp(56px, 7vw, 120px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.coords { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ink); margin-top: 40px; }
.coords div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); }
.coords div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
.coords .mono { color: var(--stone); display: block; font-size: 11px; }
.coords strong { display: block; font-size: 17px; margin-top: 4px; }
@media (max-width: 900px) { .region { grid-template-columns: 1fr; } .region-media { aspect-ratio: 4/3; } }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.person { margin: 0; }
.person .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); position: relative; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter .6s var(--ease), transform 1s var(--ease); }
.person:hover .ph img { filter: grayscale(0); transform: scale(1.03); }
.person .ph::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.person:hover .ph::after { width: 100%; }
.person h3 { font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-weight: 700; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.05; margin: 18px 0 6px; }
.person .role { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--stone); }
.person p { font-size: 15px; color: var(--ink-3); margin: 12px 0 0; }
@media (max-width: 1100px) { .people { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
@media (max-width: 640px) { .people { grid-template-columns: 1fr 1fr; } }

.bio { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--rule); }
.bio .ph { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.bio .ph img { width: 100%; height: 100%; object-fit: cover; }
.bio h2 { font-size: clamp(30px, 3.6vw, 56px); margin: 10px 0 24px; }
@media (max-width: 800px) { .bio { grid-template-columns: 1fr; } .bio .ph { max-width: 360px; } }

/* ---------- News ---------- */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.news li { display: grid; grid-template-columns: 160px 1fr 200px; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.news time, .news .src { font-family: var(--font-mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--stone); }
.news h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1.3; }
.news a { text-decoration: none; }
.news a:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.news p { margin: 8px 0 0; color: var(--ink-3); font-size: 15.5px; max-width: 70ch; }
@media (max-width: 800px) { .news li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- CTA band ---------- */
.cta { background: var(--gold); color: var(--ink); padding: clamp(72px, 9vw, 136px) 0; position: relative; overflow: hidden; }
.cta .bmark { position: absolute; right: -4vw; bottom: -10vw; width: 38vw; max-width: 560px; opacity: .1; pointer-events: none; }
.cta h2 { max-width: 16ch; }
.cta .row { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 15.5px; letter-spacing: .01em; transition: gap .25s var(--ease), background .25s; border: 0; cursor: pointer; font-family: var(--font-sans); }
.btn:hover { gap: 20px; background: #000; }
.btn.light { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.light:hover { background: var(--ink); color: var(--paper); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.contact-cards > div { padding: 24px 20px 28px 0; border-bottom: 1px solid var(--rule); }
.contact-cards > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule); }
.contact-cards .mono { color: var(--stone); font-size: 11px; display: block; margin-bottom: 10px; }
.contact-cards a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-cards p { margin: 0; font-size: 17px; }
@media (max-width: 800px) { .contact-grid, .contact-cards { grid-template-columns: 1fr; } .contact-cards > div:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: clamp(64px, 8vw, 112px) 0 32px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-top { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.14); }
.foot-top img.stack { width: 112px; height: auto; }
.foot-top h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 500; margin: 0 0 18px; }
.foot-top ul { list-style: none; padding: 0; margin: 0; }
.foot-top li { padding: 4px 0; font-size: 15px; }
.foot-tag { font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-weight: 700; font-size: 15px; letter-spacing: .04em; color: var(--white); margin: 28px 0 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.foot-bottom p { margin: 0; max-width: 90ch; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }

/* ---------- Marquee of places ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 0; background: var(--paper); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-weight: 700; font-size: clamp(22px, 2.6vw, 38px); white-space: nowrap; padding-right: 48px; display: inline-flex; align-items: center; gap: 48px; color: var(--ink); }
.marquee span::after { content: ""; width: 12px; height: 12px; background: var(--gold); display: inline-block; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1px var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
/* Clip the image inside the frame, never the frame itself: an element clipped to zero
   height never registers with IntersectionObserver, so it would stay hidden. */
.js .reveal-img > picture, .js .reveal-img > img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js .reveal-img.in > picture, .js .reveal-img.in > img { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-img, .js .reveal-img > picture, .js .reveal-img > img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .hero-slide.active img, .marquee-track, .hero h1 .line > span, .hero-foot p { animation: none; transform: none; opacity: 1; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-l { margin-top: clamp(40px, 5vw, 72px); }
.mt-m { margin-top: 28px; }
.disclaimer { font-size: 12.5px; color: var(--stone); max-width: 90ch; }

/* ---------- Typographic tiles (no firm photo available) ---------- */
.type-tile { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(20px, 3vw, 40px); background: var(--paper-2); background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; overflow: hidden; }
.type-tile span { font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-weight: 800; font-size: clamp(34px, 5vw, 76px); line-height: .92; letter-spacing: -0.02em; color: var(--ink); max-width: 9ch; }
.type-tile::after { content: ""; position: absolute; right: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 40px); width: 14px; height: 14px; background: var(--gold); }
.type-tile.initials { align-items: center; justify-content: center; background: var(--paper-2); }
.type-tile.initials span { font-size: clamp(28px, 3.4vw, 52px); max-width: none; color: var(--gold-muted); font-weight: 700; }
.type-tile.initials::after { display: none; }
.person .ph, .bio .ph, .company-media { position: relative; }

/* ---------- Narrow screens ---------- */
.company > *, .split > *, .region > *, .contact-grid > *, .bio > * { min-width: 0; }
@media (max-width: 600px) { .display, h1, h2, h3, .pn, .tl-year { overflow-wrap: break-word; } }
@media (max-width: 600px) {
  h2, .h2 { font-size: clamp(26px, 8.2vw, 40px); }
  .page-hero h1 { font-size: clamp(34px, 10.5vw, 56px); }
  .company h3, .bio h2 { font-size: clamp(24px, 7.4vw, 34px); hyphens: auto; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-top li a { word-break: break-all; }
  .type-tile span { font-size: clamp(28px, 9vw, 44px); }
  .stat .fig { font-size: clamp(38px, 12vw, 56px); }
}
.menu-open .site-header .lang span b { color: var(--paper); }

/* ---------- Summit ---------- */
.summit { background: var(--navy-deep); color: var(--white); padding: clamp(64px, 7.5vw, 120px) 0; position: relative; overflow: hidden; }
.summit .eyebrow { color: rgba(255,255,255,.6); }
.summit .eyebrow .idx { color: var(--gold); }
.summit .eyebrow::after { background: rgba(255,255,255,.25); }
.summit-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.summit h2 { color: var(--white); }
.summit-date { font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-weight: 700; font-size: clamp(26px, 3vw, 46px); line-height: 1; color: var(--gold); margin: 18px 0 12px; letter-spacing: -0.01em; }
.summit-place { color: rgba(255,255,255,.7); margin: 0; }
.summit .body-copy p { color: rgba(255,255,255,.82); }
.summit-program { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.4); counter-reset: s; }
.summit-program li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 17px; line-height: 1.45; }
.summit-program .mono { color: var(--gold); font-size: 11.5px; padding-top: 4px; }
.summit-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(40px, 5vw, 72px); }
.summit-gallery figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; position: relative; }
.summit-gallery img { width: 100%; height: 100%; object-fit: cover; }
.summit-gallery figcaption { position: absolute; left: 12px; bottom: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (max-width: 900px) { .summit-grid { grid-template-columns: 1fr; } .summit-program li { grid-template-columns: 1fr; gap: 4px; } .summit-gallery { grid-template-columns: 1fr; } }

/* ---------- Region gallery ---------- */
.region-gallery { background: var(--white); padding: 0 0 clamp(48px, 6vw, 96px); }
.rg { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(8px, 1vw, 16px); }
.rg figure { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.rg figure:first-child { aspect-ratio: auto; }
.rg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rg figure:hover img { transform: scale(1.03); }
.rg picture { display: block; width: 100%; height: 100%; }
.rg figcaption { position: absolute; left: 12px; bottom: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (max-width: 760px) { .rg { grid-template-columns: 1fr; } .rg figure:first-child { aspect-ratio: 16/10; } }
.media-cap { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.rg figure::after, .company-media:has(.media-cap)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(transparent, rgba(10,12,15,.55)); pointer-events: none; } .rg figcaption, .media-cap { z-index: 1; }

/* ---------- Portfolio grid (PE-style tiles + sector filters) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: transparent; border: 1px solid var(--rule-strong); color: var(--ink); border-radius: 999px; padding: 10px 16px; min-height: 40px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip span { color: var(--stone); margin-left: 4px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.on span { color: var(--gold); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.tile[hidden] { display: none; }
.tile a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--white); border: 1px solid var(--rule); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.tile a:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(21,24,28,.28); border-color: var(--rule-strong); }
.tile-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile-media picture { display: block; width: 100%; height: 100%; }
.tile a:hover .tile-media img { transform: scale(1.04); }
.tile-logo { position: absolute; left: 14px; bottom: 14px; background: var(--white); padding: 10px 14px; display: flex; align-items: center; height: 52px; max-width: 70%; box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); }
.tile-logo img { height: 28px !important; width: auto !important; max-width: 160px; object-fit: contain !important; transform: none !important; }
.tile-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.tile-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
.tile h3 { font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-weight: 700; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.05; margin: 10px 0 10px; }
.tile p { margin: 0 0 18px; color: var(--ink-3); font-size: 15.5px; line-height: 1.5; }
.tile-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--rule); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.tile-year { color: var(--stone); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Company page ---------- */
.co-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.co-hero-media { position: absolute; inset: 0; }
.co-hero-media picture, .co-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.co-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,15,.5) 0%, rgba(10,12,15,0) 30%, rgba(10,12,15,.2) 55%, rgba(10,12,15,.82) 100%); }
.co-hero-inner { position: relative; z-index: 1; width: 100%; padding: calc(var(--header-h) + 40px) 0 clamp(36px, 5vw, 64px); }
.co-hero h1 { font-size: clamp(40px, 7vw, 112px); margin: 18px 0 14px; max-width: 16ch; }
.co-sub { color: rgba(255,255,255,.82); margin: 0; }
.back { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; opacity: .85; font-size: 12px; }
.back:hover { opacity: 1; }
.co-logo { display: flex; width: max-content; background: var(--white); padding: 12px 18px; margin-top: 22px; }
.co-logo img { height: 34px; width: auto; }
.co-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.co-facts { position: sticky; top: calc(var(--header-h) + 24px); }
.facts.one { grid-template-columns: 1fr; margin-top: 0; }
.co-people { margin-top: 28px; }
.co-people h4, .p-cos h4 { font-weight: 500; color: var(--stone); margin: 0 0 12px; font-size: 11.5px; }
.co-people a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; }
.co-people a:hover { color: var(--gold-muted-deep); }
@media (max-width: 900px) { .co-grid { grid-template-columns: 1fr; } .co-facts { position: static; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); background: var(--paper); }
.pager a { padding: clamp(28px, 4vw, 48px) var(--gutter); text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: background .25s; }
.pager a:hover { background: var(--paper-2); }
.pager a.next { text-align: right; align-items: flex-end; border-left: 1px solid var(--rule); }
.pager .mono { color: var(--stone); display: inline-flex; gap: 8px; align-items: center; }
.pager strong { font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 34px); line-height: 1; }

/* ---------- Partner page ---------- */
.p-hero { padding: calc(var(--header-h) + clamp(32px, 4vw, 64px)) 0 clamp(40px, 5vw, 72px); }
.p-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.p-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); position: relative; }
.p-photo picture, .p-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-title { color: var(--gold-muted-deep); margin: 28px 0 14px; }
.p-head h1 { font-size: clamp(40px, 6vw, 96px); }
.p-head .lede { margin-top: 24px; max-width: 46ch; }
.p-head .facts { margin-top: 32px; }
.p-head .facts dd { font-weight: 550; font-size: 15.5px; }
.p-links { display: flex; flex-wrap: wrap; gap: 24px; }
.p-body { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.bio-copy p { font-size: 18.5px; line-height: 1.65; max-width: 64ch; }
.bio-copy p:first-child { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.45; color: var(--ink); }
.p-cos .prow a { grid-template-columns: 52px 1fr 32px; padding: 18px 0; }
.p-cos .prow .ps, .p-cos .prow .pl { display: none; }
.p-cos .prow .pn { font-size: clamp(18px, 1.6vw, 24px); }
.person p { font-size: 15px; color: var(--ink-3); margin: 10px 0 0; line-height: 1.5; }
@media (max-width: 900px) { .p-grid, .p-body { grid-template-columns: 1fr; } .p-photo { max-width: 420px; } }
.tile-logo.tall { height: 72px; } .tile-logo.tall img { height: 52px !important; } .co-logo.tall img { height: 64px; }
.contact-cards > div:last-child:nth-child(odd) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }

/* archived press releases, privacy policy, related news */
.article-hero h1 { font-size: clamp(30px, 4.4vw, 60px); max-width: 26ch; line-height: 1.08; margin-top: 8px; }
.article-hero .back { margin-bottom: 28px; }
.article-body { font-size: 17px; }
.article-body p, .article-body li { max-width: 68ch; color: var(--ink-2); }
.article-body h2, .article-body h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; margin: 1.8em 0 .6em; max-width: 40ch; }
.article-body ul, .article-body ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.article-body li { margin-bottom: .4em; }
.article-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.article-body a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.archive-note { font-size: 12px; letter-spacing: .04em; color: var(--stone); border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 1.6em !important; }
.ed-note { background: var(--paper); border-left: 3px solid var(--gold); padding: 14px 18px; font-size: 15.5px; }
.rel-news { margin-top: 36px; }
.rel-news h4 { font-weight: 500; color: var(--stone); margin: 0 0 12px; font-size: 11.5px; }
.rel-news ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rel-news li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.rel-news time { font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--stone); }
.rel-news a { text-decoration: none; font-weight: 600; line-height: 1.35; }
.rel-news a:hover { color: var(--gold-muted-deep); }
.lang-note { font-family: var(--font-mono); font-size: .62em; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }

/* ---------- Motion pass after Preston's build (2026-10-19) ---------- */
:root { --sweep: cubic-bezier(.2, 0, 0, 1); }

/* Animated links: a gold fill sweeps in from the left behind the text */
.nav-links a, .textlink, .foot-top a, .foot-bottom a, .co-people a, .rel-news a, .back {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat; background-position: 0 50%; background-size: 0% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .22s var(--sweep), color .16s var(--sweep), border-color .16s var(--sweep), gap .25s var(--ease);
}
.nav-links a { margin-inline: -7px; padding-inline: 7px; border-radius: 2px; }
.nav a::after { display: none; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.nav-links a:hover, .nav-links a:focus-visible { background-size: 100% 100%; color: var(--ink); box-shadow: none; }
.site-header.over-photo:not(.scrolled) .nav-links a:hover,
.site-header.over-photo:not(.scrolled) .nav-links a:focus-visible { background-size: 0% 100%; color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
.textlink { padding: 6px 8px 4px; margin-left: -8px; }
.textlink:hover, .textlink:focus-visible { background-size: 100% 100%; color: var(--ink); }
.foot-top a, .foot-bottom a { margin-inline: -5px; padding: 1px 5px; border-radius: 2px; }
.site-footer .foot-top a:hover, .site-footer .foot-bottom a:hover,
.site-footer .foot-top a:focus-visible, .site-footer .foot-bottom a:focus-visible { background-size: 100% 100%; color: var(--ink); }
.co-people a { margin-inline: -10px; padding-inline: 10px; }
.co-people a:hover, .co-people a:focus-visible, .rel-news a:hover, .rel-news a:focus-visible { background-size: 100% 100%; color: var(--ink); }
.back { margin-left: -6px; padding: 4px 6px; border-radius: 2px; }
.back:hover, .back:focus-visible { background-size: 100% 100%; color: var(--ink); }
.news a h3 { width: fit-content; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color .16s var(--sweep), box-shadow .16s var(--sweep); }
.news a:hover h3, .news a:focus-visible h3 { text-decoration: none; background-color: var(--gold); box-shadow: 0 0 0 4px var(--gold); }
.article-body a, .body-copy p a { border-radius: 2px; transition: background-color .16s var(--sweep), box-shadow .16s var(--sweep); }
.article-body a:hover, .body-copy p a:hover { background-color: var(--gold); box-shadow: 0 0 0 3px var(--gold); color: var(--ink); text-decoration-color: var(--ink); }

/* Header over dark sections (summit, footer) */
.site-header.scrolled.on-dark { background: rgba(21, 24, 28, .92); color: var(--white); border-color: rgba(255,255,255,.1); }
.site-header.scrolled.on-dark .brand .on-light { display: none; }
.site-header.scrolled.on-dark .brand .on-dark { display: block; }
.site-header.scrolled.on-dark .lang span b { color: var(--ink); }

/* Hero: drafting grid over the photos, drifts slower than the page */
.hero-grid { position: absolute; inset: -12% 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%); mask-image: linear-gradient(90deg, transparent 30%, #000 75%); }
@media (max-width: 767px) { .hero-grid { background-size: 32px 32px, 32px 32px, 0 0, 0 0; -webkit-mask-image: linear-gradient(transparent 45%, #000 75%); mask-image: linear-gradient(transparent 45%, #000 75%); } }

/* SPV blueprint (drawing by Preston Andrew) */
.blueprint-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin: clamp(48px, 6vw, 88px) 0 clamp(16px, 2vw, 32px); }
.blueprint-cap { border-left: 2px solid var(--gold); padding: 2px 0 2px 14px; }
.blueprint-cap p { margin: 0; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.blueprint-cap .coord { color: var(--stone); margin-top: 6px; }
.blueprint-wrap { margin: 0; }
.blueprint { width: 100%; height: auto; display: block; overflow: visible; }
.blueprint .draw, .blueprint .draw-bus { fill: none; stroke: var(--ink); stroke-width: 1px; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.blueprint .fig { stroke: var(--ink); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.blueprint .fig-shadow { fill: rgba(21,24,28,.1); }
.blueprint .spv-label { font-family: var(--font-sans); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: 18px; letter-spacing: .14em; fill: var(--ink); }
.bp-anim .draw, .bp-anim .draw-bus { stroke-dashoffset: 1; }
.bp-anim .rise, .bp-anim .bus-rise, .bp-anim .walk, .bp-anim .gold-face { opacity: 0; }
@media (max-width: 900px) { .blueprint-row { grid-template-columns: 1fr; gap: 18px; } .blueprint-cap { order: 2; } }

/* Footage: tiles play on hover (or in view on touch); the Chile band plays in view */
.tile-video, .inview-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.tile.is-playing .tile-video, .inview-video.is-playing { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .nav-links a, .textlink, .foot-top a, .foot-bottom a, .co-people a, .rel-news a, .back, .news a h3, .article-body a, .body-copy p a { transition: none; }
}

/* Partner names: one line each, sized to the card so the longest fits and the titles align (Brent 2026-10-19) */
.person { container-type: inline-size; }
.person h3 { white-space: nowrap; font-size: clamp(14px, 1.3vw, 20px); }
@supports (font-size: 1cqi) { .person h3 { font-size: min(20px, 7.5cqi); } }

/* Design review fixes (marisol-design-critic, 2026-10-19) */
/* Header logo: the official BUILD letters file alone at the skill's 96px minimum, never mark + letters side by side */
.brand .letters { height: auto; width: 160px; }
@media (max-width: 560px) { .brand .letters { width: 132px; } }
/* Region photo no longer sits flush on its gallery row */
.region-gallery { padding-top: clamp(12px, 1.2vw, 16px); }
/* Release pager: long titles wrap instead of pushing the page sideways on phones */
.pager > * { min-width: 0; }
.pager strong { overflow-wrap: anywhere; }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .pager a.next { border-left: 0; border-top: 1px solid var(--rule); } }
/* History timeline photos carry a caption (dates on photos must be right) */
.h-row figure { position: relative; }
.h-row figcaption { position: absolute; left: 12px; bottom: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.55); }
