/* =========================================================
   MGA Ventures — styles
   Palette: espresso ink, warm ivory, amber accent (from the
   wood tones in the office photos).
   ========================================================= */
:root {
	--ink: #120f0c;
	--ink-2: #1c1814;
	--ink-3: #2a241e;
	--ink-line: #3a322a;
	--ivory: #f6f1e8;
	--ivory-2: #ede6d9;
	--paper: #fffdf9;
	--line: #ddd3c3;
	--text: #1a1612;
	--text-2: #5d5348;     /* 6.9:1 on ivory */
	--on-ink: #f6f1e8;
	--on-ink-2: #b3a796;   /* 7.6:1 on ink */
	--amber: #f2a03d;
	--amber-2: #ffbe6b;
	--amber-deep: #c9761a;

	--serif: "Instrument Serif", "Times New Roman", serif;
	--sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

	--wrap: 1280px;
	--gut: clamp(16px, 4vw, 56px);
	--sec: clamp(88px, 11vw, 160px);
	--r: 18px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
	margin: 0; background: var(--ivory); color: var(--text);
	font: 400 17px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: -9999px; top: 12px; z-index: 200; background: var(--amber); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--text-2); }
.dark .muted, .foot .muted { color: var(--on-ink-2); }

/* ---------- Type ---------- */
.eyebrow {
	font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
	color: var(--text-2); display: flex; align-items: center; gap: 10px;
}
.dark .eyebrow, .hero .eyebrow, .foot .eyebrow { color: var(--on-ink-2); }
.h2 {
	font: 400 clamp(40px, 6.2vw, 92px)/.98 var(--serif); letter-spacing: -.02em;
	margin-top: 22px; max-width: 16ch; text-wrap: balance;
}
.h2 em, .hero-h em { color: var(--amber-deep); }
.dark .h2 em, .hero-h em, .foot .h2 em { color: var(--amber); }
.h2:first-child { margin-top: 0; }
.h3 { font: 400 clamp(30px, 3.4vw, 46px)/1.05 var(--serif); letter-spacing: -.01em; }

/* ---------- Buttons ---------- */
.btn {
	--bg: var(--ink); --fg: var(--on-ink);
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
	background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate;
	font: 500 15.5px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: var(--fill, var(--amber-2)); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-amber { --bg: var(--amber); --fg: var(--ink); --fill: var(--amber-2); box-shadow: 0 10px 30px -12px rgba(242,160,61,.7); }
.btn-ghost { --bg: transparent; --fg: var(--on-ink); --fill: rgba(246,241,232,.1); box-shadow: inset 0 0 0 1px rgba(246,241,232,.28); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-lg { min-height: 64px; padding: 0 34px; font-size: 17px; }
.round {
	display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 18px;
	transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease);
}
.round:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.round:active { transform: scale(.92); }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-weight: 500; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber-deep), var(--amber-2)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Header ---------- */
.hdr { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 var(--gut); pointer-events: none; transition: transform .5s var(--ease); }
.hdr.hide { transform: translateY(-140%); }
.hdr-in {
	position: relative; pointer-events: auto; max-width: calc(var(--wrap) - 2 * var(--gut) + 24px); margin: 0 auto;
	display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 10px 0 18px;
	border-radius: 999px; color: var(--on-ink);
	background: rgba(18, 15, 12, .62); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
	box-shadow: inset 0 0 0 1px rgba(246,241,232,.1), 0 20px 40px -24px rgba(0,0,0,.6);
}
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo img { width: auto; height: 30px; }
.foot-base .logo img { height: 34px; }
.nav { position: relative; display: flex; margin-left: auto; }
.nav a { position: relative; z-index: 1; padding: 9px 13px; font-size: 14px; text-decoration: none; color: var(--on-ink-2); border-radius: 999px; transition: color .3s ease; }
.nav a:hover, .nav a.on { color: var(--on-ink); }
.nav-pill {
	position: absolute; top: 0; left: 0; height: 100%; border-radius: 999px; background: rgba(246,241,232,.1);
	opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s ease;
}
.nav-pill.on { opacity: 1; }
.search-btn {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 12px; margin-left: 6px;
	border-radius: 999px; border: 0; background: rgba(246,241,232,.08); color: var(--on-ink-2); cursor: pointer; font-size: 14px;
	transition: background .25s, color .25s;
}
.search-btn:hover { background: rgba(246,241,232,.16); color: var(--on-ink); }
.search-btn svg, .find svg, .pal-field svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
kbd { font: 500 11px/1 var(--mono); padding: 4px 6px; border-radius: 6px; background: rgba(246,241,232,.1); color: inherit; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(246,241,232,.08); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--on-ink); transition: transform .4s var(--ease); }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 25px; }
.hdr.open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.hdr.open .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
	background: var(--ink); color: var(--on-ink); overflow: hidden;
	padding-top: 130px;
}
.hero-in { position: relative; padding-bottom: clamp(40px, 8vh, 90px); }
.hero-h {
	font: 400 clamp(48px, 8.4vw, 132px)/.94 var(--serif); letter-spacing: -.025em;
	margin: 26px 0 0; max-width: 15ch; text-wrap: balance;
}
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; margin-top: 48px; padding-bottom: 24px; }
.hero-next { display: inline-flex; align-items: center; gap: 14px; color: var(--on-ink-2); text-decoration: none; font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; transition: color .3s; }
.hero-next i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink-line); font-style: normal; font-size: 16px; color: var(--amber); animation: bob 2.4s var(--ease) infinite; }
.hero-next:hover { color: var(--on-ink); }
@keyframes bob { 50% { transform: translateY(5px); } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* Split-text reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 45ms); }
.split-in .w > span { transform: none; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: var(--sec) 0; }
.dark { background: var(--ink); color: var(--on-ink); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: 56px; }
.sec-note { max-width: 34ch; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(18% 8% 18% 8% round 28px); transition: clip-path 1.5s var(--ease); }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0 round var(--r)); }

/* ---------- Portfolio ---------- */
.find {
	display: flex; align-items: center; gap: 10px; width: min(360px, 100%); height: 52px; padding: 0 18px;
	border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2);
	transition: box-shadow .3s;
}
.find:focus-within { box-shadow: inset 0 0 0 2px var(--amber-deep); }
.find input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font: 400 16px var(--sans); color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
	border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14.5px;
	transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.chip small { font: 500 11px/1 var(--mono); color: var(--text-2); transition: color .3s; }
.chip:hover { border-color: var(--text); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip[aria-pressed="true"] small { color: var(--amber); }
.result-count { margin: 22px 0 -4px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 12px; }
[data-companies] { margin-top: 22px; }
.tile {
	position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 220px; padding: 0;
	border: 0; border-radius: var(--r); background: var(--paper); text-align: left; cursor: pointer; overflow: hidden;
	box-shadow: inset 0 0 0 1px var(--line);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 50px -30px rgba(60,40,15,.45); }
.tile.spot::before { background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), rgba(242,160,61,.14), transparent 60%); }
.tile-logo { flex: 1; display: grid; place-items: center; padding: 28px 30px 10px; }
.tile-logo img { max-height: 64px; max-width: 78%; object-fit: contain; transition: transform .6s var(--ease); }
.tile-logo img.sq { max-height: 84px; }
.tile:hover .tile-logo img { transform: scale(1.07); }
.tile-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 14px 18px 16px; border-top: 1px solid var(--ivory-2); }
.tile-name { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.tile-sec { display: block; margin-top: 3px; font-size: 13px; color: var(--text-2); line-height: 1.3; }
.tile-plus {
	flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	background: var(--ink); color: var(--amber); font-size: 15px;
	opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s var(--ease);
}
.tile:hover .tile-plus, .tile:focus-visible .tile-plus { opacity: 1; transform: none; }
.badge {
	position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--amber);
	font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.grid > li { transition: opacity .45s var(--ease), transform .55s var(--ease); }
.grid > li.enter { opacity: 0; transform: translateY(24px) scale(.96); }
.more-wrap { display: flex; justify-content: center; margin-top: 24px; }
.btn-outline { --bg: transparent; --fg: var(--text); --fill: var(--ink); box-shadow: inset 0 0 0 1px var(--text); transition: color .4s, transform .35s var(--ease); }
.btn-outline:hover { color: var(--on-ink); }
.ecosystem { padding-bottom: calc(var(--sec) * .5); }
.news { padding-top: calc(var(--sec) * .5); }
.empty { padding: 60px 0; text-align: center; color: var(--text-2); }

/* ---------- Funds ---------- */
.funds { background: var(--ivory-2); }
.fund-groups { display: grid; gap: 14px; }
.fgroup {
	display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start;
	padding: 26px; border-radius: calc(var(--r) + 6px); background: var(--ivory);
	box-shadow: inset 0 0 0 1px var(--line);
}
.fgroup-h { position: sticky; top: 100px; }
.fgroup-h h3 { font: 400 32px/1.05 var(--serif); }
.fgroup-h p { margin-top: 8px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.fgroup .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.fgroup .tile { min-height: 180px; }

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { perspective: 900px; }
.person-card {
	position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; aspect-ratio: 4 / 5;
	transform-style: preserve-3d; transition: transform .6s var(--ease); background: var(--ink-2);
}
.person-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.person-card:hover img, .person-card:focus-visible img { transform: scale(1); }
.person-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(18,15,12,.92), transparent); }
.person-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.person-cap h3 { font: 400 30px/1 var(--serif); }
.person-cap p { margin-top: 6px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-2); }
.li {
	flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: rgba(246,241,232,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	font: 600 13px/1 var(--sans); transition: background .3s, color .3s, transform .5s var(--ease);
}
.person-card:hover .li { background: var(--amber); color: var(--ink); transform: rotate(-12deg) scale(1.08); }

/* ---------- Ecosystem ---------- */
.eco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.eco-card {
	position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r);
	background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.eco-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 50px -30px rgba(60,40,15,.45); }
.eco-logo { height: 90px; display: flex; align-items: center; }
.eco-logo img { max-height: 70px; max-width: 70%; object-fit: contain; }
.eco-tag { margin-top: 22px; font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); }
.eco-sum, .eco-more p { color: var(--text-2); font-size: 17px; line-height: 1.6; }
.eco-sum { margin-top: 12px; min-height: 4.8em; }
.eco-card.open .eco-sum { min-height: 0; }
.eco-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.eco-more > div { overflow: hidden; }
.eco-more p { padding-top: 12px; }
.eco-card.open .eco-more { grid-template-rows: 1fr; }
.eco-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 26px; }
.eco-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 500; font-size: 15px; }
.eco-toggle i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ivory-2); font-style: normal; transition: transform .5s var(--ease), background .3s; }
.eco-card.open .eco-toggle i { transform: rotate(45deg); background: var(--amber); }
.eco-visit { font-size: 14.5px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- News ---------- */
.news { padding-bottom: calc(var(--sec) - 20px); }
.rail-btns { display: flex; gap: 10px; }
.rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 420px); gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline-offset: -2px;
	padding: 4px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 20px;
	scroll-padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
	cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail.drag a { pointer-events: none; }
.rail > li { scroll-snap-align: start; }
.story { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.story-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ivory-2); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story:hover .story-img img { transform: scale(1.06); }
.story-co { position: absolute; left: 12px; top: 12px; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.story-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.story-h { font: 400 25px/1.15 var(--serif); }
.story-src { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 20px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.story-src b { font-weight: 500; color: var(--text); transition: color .3s; }
.story:hover .story-src b { color: var(--amber-deep); }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; padding-top: clamp(64px, 8vw, 120px); padding-bottom: 72px; }
.foot-cta > p.muted { margin-top: 20px; max-width: 40ch; }
.foot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.copy {
	display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 10px 0 26px; border-radius: 999px;
	border: 0; background: rgba(246,241,232,.06); box-shadow: inset 0 0 0 1px var(--ink-line); cursor: pointer; font-size: 16px;
	transition: background .3s;
}
.copy:hover { background: rgba(246,241,232,.12); }
.copy-tag { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(246,241,232,.1); transition: background .3s, color .3s, transform .4s var(--ease); }
.copy:hover .copy-tag { transform: scale(1.06); }
.copy-tag svg { grid-area: 1 / 1; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .25s, transform .4s var(--ease); }
.copy-tag .ico-done { opacity: 0; transform: scale(.5); stroke-width: 2.4; }
.copy.done .ico-copy { opacity: 0; transform: scale(.5); }
.copy.done .ico-done { opacity: 1; transform: none; }
.copy.done .copy-tag { background: var(--amber); color: var(--ink); }
.offices { display: grid; gap: 14px; align-content: start; }
.office {
	display: block; padding: 24px; border-radius: var(--r); text-decoration: none; background: var(--ink-2);
	box-shadow: inset 0 0 0 1px var(--ink-line); transition: background .3s, transform .5s var(--ease);
}
.office:hover { background: var(--ink-3); transform: translateX(-6px); }
.office h3 { display: flex; justify-content: space-between; font: 400 28px/1 var(--serif); }
.office h3 span { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); align-self: center; }
.office p { margin-top: 10px; color: var(--on-ink-2); font-size: 15.5px; line-height: 1.55; }
.foot-base { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--ink-line); font-size: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a { color: var(--on-ink-2); text-decoration: none; transition: color .3s; }
.foot-nav a:hover { color: var(--amber); }
/* ---------- Dialogs ---------- */
dialog { padding: 0; border: 0; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(18,15,12,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet { width: min(560px, calc(100vw - 24px)); border-radius: 26px; background: var(--paper); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.sheet[open] { animation: pop .55s var(--ease); }
.sheet[open]::backdrop { animation: fade .4s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes fade { from { opacity: 0; } }
.sheet-in { position: relative; padding: 30px; }
.sheet-x { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; font-size: 15px; }
.sheet-logo { display: grid; place-items: center; height: 160px; margin: 10px 0 26px; border-radius: 18px; background: var(--ivory); }
.sheet-logo img { max-height: 90px; max-width: 60%; object-fit: contain; }
.sheet-name { margin-top: 12px; font: 400 48px/1 var(--serif); letter-spacing: -.01em; }
.sheet-sector { margin-top: 8px; color: var(--amber-deep); font-weight: 500; }
.sheet-note { margin-top: 16px; font-size: 18px; line-height: 1.5; }
.sheet-note:empty { display: none; }
.sheet-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; }
.sheet-nav { display: flex; gap: 8px; margin-left: auto; }
.sheet .eyebrow .badge { position: static; }

.palette { width: min(640px, calc(100vw - 24px)); margin-top: 12vh; border-radius: 22px; background: var(--ink-2); color: var(--on-ink); box-shadow: inset 0 0 0 1px var(--ink-line), 0 40px 80px -20px rgba(0,0,0,.6); }
.palette[open] { animation: pop .45s var(--ease); }
.pal-field { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 64px; border-bottom: 1px solid var(--ink-line); color: var(--on-ink-2); }
.pal-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; color: var(--on-ink); font: 400 18px var(--sans); }
.pal-field input::placeholder { color: #8a7f70; }
.pal-list { max-height: min(56vh, 460px); overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.pal-group { padding: 12px 12px 6px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8a7f70; }
.pal-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.pal-item[aria-selected="true"] { background: rgba(246,241,232,.08); }
.pal-item[aria-selected="true"] .pal-go { opacity: 1; transform: none; }
.pal-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--paper); overflow: hidden; color: var(--ink); font: 400 20px/1 var(--serif); }
.pal-ico img { max-width: 80%; max-height: 80%; object-fit: contain; }
.pal-ico.round-ph img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; }
.pal-txt { flex: 1; min-width: 0; }
.pal-txt b { display: block; font-weight: 500; }
.pal-txt span { display: block; font-size: 13.5px; color: var(--on-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-go { color: var(--amber); opacity: 0; transform: translateX(-6px); transition: transform .3s var(--ease), opacity .3s; }
.pal-none { padding: 30px 14px; text-align: center; color: var(--on-ink-2); }
.pal-foot { display: flex; gap: 18px; padding: 12px 18px; border-top: 1px solid var(--ink-line); font-size: 12.5px; color: var(--on-ink-2); }
.pal-foot kbd { margin-right: 4px; }
mark { background: none; color: var(--amber); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.nav a { padding: 9px 10px; font-size: 13.5px; }
	.search-btn-txt { display: none; }
}
@media (max-width: 1020px) {
	.burger { display: block; }
	.search-btn { margin-left: auto; }
	.search-btn kbd { display: none; }
	.nav {
		position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; padding: 12px; margin: 0;
		border-radius: 24px; background: #1a1612; max-height: calc(100svh - 100px); overflow-y: auto;
		box-shadow: inset 0 0 0 1px var(--ink-line);
		opacity: 0; transform: translateY(-12px) scale(.98); pointer-events: none; visibility: hidden;
		transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
	}
	.hdr.open .nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
	.nav a { padding: 14px 16px; font: 400 30px/1 var(--serif); color: var(--on-ink); }
	.nav-pill { display: none; }
	.people { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1fr; }
	.eco { grid-template-columns: 1fr; }
	.fgroup { grid-template-columns: 1fr; }
	.fgroup-h { position: static; }
}
@media (max-width: 720px) {
	.hdr { top: 10px; }
	.hdr-in { height: 56px; padding-left: 16px; }
	.hdr .btn-sm { display: none; }
	.hero-next { display: none; }
	.logo img { height: 26px; }
	.scroll-cue { display: none; }
	.grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.fgroup .grid { grid-template-columns: repeat(2, 1fr); }
	.fgroup { padding: 16px; }
	.tile, .fgroup .tile { min-height: 168px; }
	.tile-logo { padding: 22px 16px 8px; }
	.tile-logo img { max-height: 48px; }
	.tile-meta { padding: 12px 12px 14px; }
	.tile-plus { display: none; }
	.chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.chip { flex: none; }
	.people { gap: 10px; }
	.person-cap { padding: 14px; }
	.person-cap h3 { font-size: 22px; }
	.li { width: 34px; height: 34px; }
	.rail { grid-auto-columns: 82vw; }
	.sheet { margin-bottom: 0; border-radius: 26px 26px 0 0; width: 100vw; }
	.sheet-name { font-size: 38px; }
	.btn-lg, .copy { width: 100%; justify-content: center; }
	.copy { justify-content: space-between; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.js [data-reveal], .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.js .vx-ico * { stroke-dashoffset: 0; }
}

/* ---------- Strategies (white section, one continuous scroll) ---------- */
.strategies { background: var(--paper); }
.vx { display: grid; grid-template-columns: minmax(240px, .7fr) 1.6fr; gap: clamp(24px, 4vw, 64px); margin-top: 56px; align-items: start; }
.vx-index { position: sticky; top: 110px; display: grid; gap: 4px; }
.vx-link-i {
	display: block; padding: 18px 20px; border-radius: 14px; text-decoration: none;
	color: var(--text-2); transition: background .35s, color .35s;
}
.vx-link-i:hover { color: var(--text); background: var(--ivory); }
.vx-link-i.on { color: var(--text); background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); }
.vx-name { display: block; font: 400 clamp(21px, 1.9vw, 26px)/1.15 var(--serif); }
.vx-bar { display: block; height: 2px; margin-top: 12px; background: var(--line); border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity .3s; }
.vx-bar i { display: block; height: 100%; background: var(--amber-deep); transform-origin: 0 50%; transform: scaleX(0); }
.vx-link-i.on .vx-bar { opacity: 1; }
.vx-link-i.on .vx-bar i { transform: scaleX(1); transition: transform .9s var(--ease); }
.vx-panels { display: grid; gap: 16px; }
.vx-panel {
	position: relative; padding: clamp(28px, 4vw, 52px); border-radius: calc(var(--r) + 6px);
	background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 100px;
}
.vx-ico { width: 48px; height: 48px; fill: none; stroke: var(--amber-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.js .vx-ico * { stroke-dasharray: 140; stroke-dashoffset: 140; }
.js .vx-panel.in .vx-ico * { animation: draw 1.6s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.vx-panel h3 { margin-top: 22px; font: 400 clamp(32px, 3.4vw, 48px)/1.04 var(--serif); letter-spacing: -.01em; max-width: 18ch; }
.vx-lede { margin-top: 18px; max-width: 58ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--text-2); }
.vx-panel h4 { margin: 34px 0 6px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); }
.vx-facts { display: grid; gap: 22px; margin-top: 34px; }
.vx-facts dt, .vx-stats dt { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.vx-facts dd { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vx-facts dd span { padding: 9px 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.vx-stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px 48px; margin-top: 30px; }
.vx-stats dd { margin-top: 8px; font: 400 clamp(30px, 3vw, 44px)/1 var(--serif); color: var(--amber-deep); }
.vx-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.vx-list li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.vx-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--amber-deep); transform: translateY(-3px); }
.vx-link { display: inline-flex; gap: 10px; margin-top: 34px; color: var(--amber-deep); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.vx-link span { transition: transform .35s var(--ease); }
.vx-link:hover span { transform: translateX(5px); }

/* ---------- Equity / debt switch ---------- */
.books { position: relative; display: inline-flex; padding: 5px; margin-bottom: 18px; border-radius: 999px; background: var(--ivory-2); box-shadow: inset 0 0 0 1px var(--line); }
.book { position: relative; z-index: 1; display: inline-flex; align-items: baseline; gap: 8px; height: 46px; padding: 0 24px; align-items: center; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 16px; font-weight: 500; color: var(--text-2); transition: color .35s; }
.book small { font: 500 11px/1 var(--mono); }
.book[aria-pressed="true"] { color: var(--on-ink); }
.book[aria-pressed="true"] small { color: var(--amber); }
.books.dim { opacity: .45; }
.books { transition: opacity .3s; }
.books-pill { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }

/* ---------- Promoter ---------- */
.promoter { margin-top: clamp(48px, 6vw, 80px); }
.led-by { margin-bottom: 18px; font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-2); }
.promoter-card {
	display: grid; grid-template-columns: minmax(220px, 340px) 1fr; align-items: stretch; overflow: hidden;
	border-radius: calc(var(--r) + 6px); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--ink-line);
}
.promoter-photo { overflow: hidden; aspect-ratio: 4 / 5; }
.promoter-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.promoter-card:hover .promoter-photo img { transform: scale(1.04); }
.promoter-txt { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 56px); overflow: hidden; }
.promoter-txt .eyebrow { color: var(--amber-2); }
.promoter-txt h3 { margin-top: 14px; font: 400 clamp(44px, 5.4vw, 80px)/.95 var(--serif); letter-spacing: -.02em; }
.promoter-mark { position: absolute; right: -20px; top: -40px; font: 400 clamp(160px, 18vw, 280px)/1 var(--serif); font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(242,160,61,.18); user-select: none; }
.people { grid-template-columns: repeat(3, 1fr); }

/* News card with no photo: show the company logo */
.story-img.logo-only { display: grid; place-items: center; background: var(--ivory); }
.story-img.logo-only img { width: auto; height: auto; max-width: 55%; max-height: 50%; object-fit: contain; }

@media (max-width: 1020px) {
	.vx { grid-template-columns: 1fr; margin-top: 40px; }
	.vx-index { display: none; }
	.vx-panels { gap: 14px; }
	.promoter-card { grid-template-columns: 1fr; }
	.promoter-photo { aspect-ratio: 4 / 3; }
	.promoter-photo img { object-position: 50% 20%; }
	.people { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
	.vx-list { grid-template-columns: 1fr; }
	.people { grid-template-columns: 1fr; }
	.person-card { aspect-ratio: 1 / 1; }
	.person-card img { object-position: 50% 25%; }
	.hero { min-height: 88svh; }
	.books { display: flex; }
	.book { flex: 1; justify-content: center; }
}

[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Content loading (content-loader.js) ---------- */
.booting .hero-in { visibility: hidden; }
.load-fail { padding: calc(var(--sec) + 60px) 0 var(--sec); min-height: 70svh; display: flex; align-items: center; }
.load-fail .h2 { margin-top: 18px; max-width: 18ch; }
.load-fail .muted { margin-top: 18px; max-width: 46ch; font-size: 18px; }
.load-fail .btn { margin-top: 30px; }
