/* Civitas Growth Partners — site styles.
   Built from Version 5 of the Civitas Website Refresh design (1440px desktop, 390px phone boards).
   Breakpoints: ≤1099px tablet, ≤899px narrow tablet (phone header, stacked splits), ≤720px phone. */

@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/source-sans-3.woff2) format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4.woff2) format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4-italic.woff2) format('woff2'); }

:root {
  --paper: #F6F2EA; --band: #EEE8DC; --ink: #1F2532; --soft: #4A5262; --mute: #626875; --hair: #DCD4C6; --slot: #E4DDD0;
  --blue: #107CF1; --chip: #E5F1FD; --link: #0563C1; --link-hover: #033F7D;
  --serif: 'Source Serif 4', Georgia, serif; --sans: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --px: 80px; --py: 120px; --gutter: 64px; --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p, h1, h2, h3, ul, figure, blockquote { margin: 0; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--mute); }
.label { font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mute); }
.h1 { max-width: 1180px; font-family: var(--serif); font-size: clamp(44px, calc(20px + 4.45vw), 84px); line-height: 1.02; font-weight: 500; letter-spacing: -1.2px; color: var(--ink); }
.h2 { max-width: 900px; font-family: var(--serif); font-size: clamp(34px, calc(22px + 2.1vw), 52px); line-height: 1.08; font-weight: 500; letter-spacing: -0.4px; color: var(--ink); }
.h1 em, .h2 em, .footer-line em { font-style: italic; color: var(--blue); }
.lead { max-width: 820px; font-size: 23px; line-height: 1.5; color: var(--soft); }
.lead--narrow { max-width: 760px; }

/* Text link: ink text, blue underline, arrow */
.link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: color 200ms ease; }
.link:hover { color: var(--ink); text-decoration-thickness: 2px; }
.link svg { flex-shrink: 0; width: 18px; height: 18px; }
.link--sm { font-size: 17px; }
.link--sm svg { width: 17px; height: 17px; }
.link--xs { font-size: 16px; }
.link--xs svg { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
.s { padding: var(--py) max(var(--px), calc((100% - var(--max)) / 2)); display: flex; flex-direction: column; gap: 48px; }
.s--band { background: var(--band); }
.s--g40 { gap: 40px; }
.s--g56 { gap: 56px; }
.head { display: flex; flex-direction: column; gap: 14px; }
.head--lead { gap: 20px; }
.head--lead > div { display: flex; flex-direction: column; gap: 14px; }
.head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; }
.head--split .link { margin-bottom: 8px; }

/* Photos */
.photo { position: relative; overflow: hidden; background: var(--slot); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms ease; }
.photo:hover img { transform: scale(1.03); }
.fade { animation: fade 1400ms ease-out both; }
@keyframes fade { from { opacity: .55; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Full-width photos keep the framing of the 1440px design as screens widen (560 or 680 tall at 1440),
   then stop growing at 1920px and sit centred on the hero's shaded ground. */
.bleed-wrap { background: var(--band); }
.bleed { width: 100%; max-width: 1920px; margin: 0 auto; height: clamp(240px, calc(100vw * 560 / 1440), 747px); }
.bleed--tall { height: clamp(280px, calc(100vw * 680 / 1440), 907px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; transition: transform 260ms ease, box-shadow 260ms ease; height: 88px; padding: 0 max(var(--px), calc((100% - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; background: var(--paper); border-bottom: 1px solid var(--hair); }
.brand { display: flex; align-items: center; height: 56px; }
.brand img { height: 48px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 40px; height: 87px; }
.main-nav a { display: flex; align-items: center; height: 87px; padding-top: 3px; border-bottom: 3px solid transparent; font-size: 17px; font-weight: 500; color: var(--soft); text-decoration: none; transition: color 200ms ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { font-weight: 700; color: var(--ink); border-bottom-color: var(--blue); }
.menu-btn { display: none; height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
[popover].menu { position: fixed; inset: 0 0 auto 0; margin: 0 auto; width: 100%; max-width: 420px; max-height: 100vh; border: 0; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(31, 37, 50, .28); overflow: auto; }
[popover].menu::backdrop { background: rgba(31, 37, 50, .55); }
.menu__bar { height: 64px; padding: 0 16px 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hair); }
.menu__bar .brand { height: 44px; }
.menu__bar .brand img { height: 34px; }
.menu nav { padding: 8px 24px 24px; }
.menu ul { padding: 0; list-style: none; }
.menu li { border-bottom: 1px solid var(--hair); }
.menu li a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-family: var(--serif); font-size: 30px; line-height: 1.15; font-weight: 500; color: var(--ink); text-decoration: none; transition: color 200ms ease; }
.menu li a:hover { color: var(--blue); }
.menu li a svg { width: 22px; height: 22px; color: var(--blue); }
.menu li a[aria-current="page"] { color: var(--blue); }

/* ---------- Hero ---------- */
.hero { padding: 112px max(var(--px), calc((100% - var(--max)) / 2)) 72px; display: flex; flex-direction: column; gap: 28px; background: var(--band); }
.hero__links { display: flex; gap: 40px; margin-top: 4px; }
.hero-split { padding: 96px max(var(--px), calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); align-items: center; background: var(--band); }
.hero-split__text { display: flex; flex-direction: column; gap: 28px; }
.hero-split__text .lead { max-width: none; }
.hero-split .photo { height: 640px; }

/* ---------- Statement (Who we are) ---------- */
.statement { display: grid; grid-template-columns: 3fr 9fr; gap: var(--gutter); align-items: start; }
.statement .eyebrow { padding-top: 10px; }
.statement__text { font-family: var(--serif); font-size: 34px; line-height: 1.4; font-weight: 400; color: var(--ink); }

/* ---------- Facts (label + value rows) ---------- */
.fact { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--hair); }
.fact__text { font-size: 18px; line-height: 1.5; color: var(--ink); }
.figure { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-top: 1px solid var(--hair); }
.figure__value { font-family: var(--serif); font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.4px; color: var(--ink); }
.figure__unit { font-size: 16px; line-height: 1.45; font-weight: 600; color: var(--soft); }
.fact-link { display: flex; padding-top: 22px; border-top: 1px solid var(--hair); }

/* Home: long-term ownership feature */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; }
.feature .photo { min-height: 560px; }
.feature .photo img { position: absolute; inset: 0; object-position: 50% 60%; }
.feature__facts { display: flex; flex-direction: column; }
.feature__intro { display: flex; flex-direction: column; gap: 12px; padding: 8px 0 24px; }
.feature__intro h3 { font-family: var(--serif); font-size: 44px; line-height: 1.08; font-weight: 500; letter-spacing: -0.4px; }
.feature__intro p { font-size: 19px; line-height: 1.6; color: var(--soft); }

/* Home: two co-investment columns, rows aligned across columns */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); column-gap: var(--gutter); }
.pair > article { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
.pair__photo { padding-bottom: 28px; }
.pair__photo .photo { height: 340px; }
.pair__name { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; border-top: 2px solid var(--ink); }
.pair__name h3 { font-family: var(--serif); font-size: 36px; line-height: 1.15; font-weight: 500; }
.pair__name p { font-size: 19px; line-height: 1.6; color: var(--soft); }
.pair .figure { padding: 18px 0; }
.pair .figure__value { font-size: 34px; letter-spacing: -0.3px; }

/* Logo strip */
.logo-strip { padding: 32px 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--hair); }
.logo-strip li { display: flex; flex-direction: column; gap: 14px; padding: 0 20px; }
.logo-strip a { height: 64px; display: flex; align-items: center; align-self: flex-start; }
.logo-strip img { height: var(--h); width: auto; max-width: 100%; }
.logo-strip p { font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--soft); }

/* News list */
.news-list { padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.news-list li { display: grid; grid-template-columns: 3fr 9fr; gap: var(--gutter); align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.news-list__date { font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mute); }
.news-list__title { font-family: var(--serif); font-size: 30px; line-height: 1.3; color: var(--ink); }

/* Points (three short statements under a rule) */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gutter); align-items: start; }
.point { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; border-top: 1px solid var(--hair); }
.point h3 { font-family: var(--serif); font-size: 36px; line-height: 1.15; font-weight: 500; }
.point p { font-size: 19px; line-height: 1.65; color: var(--soft); }

/* Icon chip */
.chip { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--chip); color: var(--blue); }
.chip svg { width: 23px; height: 23px; }

/* Criteria */
.criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
.criterion { display: flex; gap: 24px; align-items: flex-start; padding: 26px 0; border-top: 1px solid var(--hair); }
.criterion > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.criterion h3 { font-family: var(--serif); font-size: 28px; line-height: 1.2; font-weight: 500; }
.criterion p { font-size: 18px; line-height: 1.55; color: var(--soft); }

/* Split: text beside a photo (Civitas Shares) */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; }
.split__text { display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.split__text .lead { max-width: none; }
.split .photo { min-height: 560px; }
.split .photo img { position: absolute; inset: 0; }
.rows { display: flex; flex-direction: column; }
.row { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid var(--hair); }
.row h3 { font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 500; }
.row p { font-size: 18px; line-height: 1.6; color: var(--soft); }

/* Contact prompt */
.prompt { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); align-items: start; }
.prompt h2 { font-family: var(--serif); font-size: 36px; line-height: 1.15; font-weight: 500; }
.prompt > div { display: flex; flex-direction: column; gap: 18px; }
.prompt .lead { max-width: none; }

/* Co-investment cards (rows aligned across both cards) */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); column-gap: 32px; }
.card { display: grid; grid-row: span 7; grid-template-rows: subgrid; background: var(--band); }
.card__art { height: 360px; padding: 24px; background: var(--paper); }
.card__art img { width: 100%; height: 100%; object-fit: contain; }
.card__intro { display: flex; flex-direction: column; gap: 14px; padding: 40px 40px 0; }
.card__intro h3 { font-family: var(--serif); font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.4px; }
.card__intro p { font-size: 19px; line-height: 1.65; color: var(--soft); }
.card__tags { padding: 24px 40px 0; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px; }
.card__fig { padding: 32px 40px 0; }
.card__fig .figure { padding: 24px 0 20px; }
.card__fig .figure__value { font-size: 52px; line-height: 1.05; letter-spacing: -0.5px; }
.card__fact { padding: 0 40px; }
.card__end { height: 44px; }

/* Pills */
.pill { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid; border-radius: 999px; font-size: 14px; line-height: 1; font-weight: 600; white-space: nowrap; }
.pill--lg { height: 40px; padding: 0 18px; font-size: 16px; }
.pill--green { background: #E2F1E6; color: #17693A; border-color: color-mix(in srgb, #17693A 35%, #E2F1E6); }
.pill--blue { background: #E3EEFC; color: #0B58B0; border-color: color-mix(in srgb, #0B58B0 35%, #E3EEFC); }
.pill--plum { background: #F2E7EE; color: #6F3B55; border-color: color-mix(in srgb, #6F3B55 35%, #F2E7EE); }
.pill--amber { background: #FBEFD6; color: #835400; border-color: color-mix(in srgb, #835400 35%, #FBEFD6); }
.pill--teal { background: #DDF0EF; color: #1A6766; border-color: color-mix(in srgb, #1A6766 35%, #DDF0EF); }
.pill--red { background: #FBE7E3; color: #9A3324; border-color: color-mix(in srgb, #9A3324 35%, #FBE7E3); }
.pill--past { background: #E7E2D8; color: var(--soft); border-color: color-mix(in srgb, #4A5262 35%, #E7E2D8); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.step { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.step__icon { display: flex; align-items: center; }
.step__icon .chip { width: 64px; height: 64px; }
.step__icon .chip svg { width: 28px; height: 28px; }
.step__line { flex-grow: 1; height: 1px; margin: 0 calc(-1 * var(--gutter)) 0 20px; background: var(--ink); opacity: .35; }
.step__text { display: flex; flex-direction: column; gap: 10px; }
.step__text h3 { font-family: var(--serif); font-size: 32px; line-height: 1.15; font-weight: 500; }
.step__text p:last-child { font-size: 19px; line-height: 1.65; color: var(--soft); }

/* Portfolio companies */
.companies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 64px; align-items: start; }
.company { display: flex; flex-direction: column; min-width: 0; padding-top: 32px; border-top: 2px solid var(--ink); }
.company__logo { height: 80px; display: flex; align-items: center; align-self: flex-start; }
.company__logo img { height: var(--h); width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.companies--past .company__logo img { filter: grayscale(1); opacity: .8; }
.company .pill { margin-top: 24px; align-self: flex-start; }
.company__desc { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--soft); }
.company__foot { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--hair); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.company__status { font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.company__web { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--blue);
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue) 35%, transparent); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.company__web:hover { color: var(--blue); text-decoration-thickness: 2px; }
.company__web svg { width: 14px; height: 14px; }

/* Pull quote */
.quote { display: flex; flex-direction: column; gap: 24px; max-width: 1080px; }
.quote blockquote { font-family: var(--serif); font-size: 46px; line-height: 1.3; font-weight: 400; font-style: italic; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 16px; }
.quote img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--slot); }
.quote figcaption span { display: flex; flex-direction: column; gap: 2px; font-size: 17px; line-height: 1.4; }
.quote b { font-weight: 600; color: var(--ink); }
.quote i { font-style: normal; color: var(--soft); }

/* Team */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 48px; align-items: start; }
.person { all: unset; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; cursor: pointer; }
.person:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.person__photo { display: block; width: 100%; height: 460px; overflow: hidden; background: var(--slot); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 900ms ease; }
.person:hover .person__photo img { transform: scale(1.03); }
.person__text { display: flex; flex-direction: column; }
.person__name { margin-top: 24px; font-family: var(--serif); font-size: 32px; line-height: 1.15; font-weight: 500; color: var(--ink); }
.person__role { margin-top: 6px; font-size: 16px; line-height: 1.45; font-weight: 600; color: var(--soft); }
.person__more { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--soft); transition: color 200ms ease; }
.person__more svg { width: 15px; height: 15px; }
.person:hover .person__more { color: var(--ink); }

[popover].bio { position: fixed; inset: 0; width: min(960px, 90vw); height: fit-content; max-height: 82vh; margin: auto; border: 0; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(31, 37, 50, .28); overflow: auto; }
[popover].bio::backdrop { background: rgba(31, 37, 50, .55); }
.bio__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--hair); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.bio__close svg { width: 18px; height: 18px; }
.bio__body { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: start; padding: 56px; }
.bio__photo { width: 280px; height: 350px; overflow: hidden; background: var(--slot); }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.bio__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bio__text h2 { padding-right: 48px; font-family: var(--serif); font-size: 40px; line-height: 1.1; font-weight: 500; }
.bio__role { margin-bottom: 6px; font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--soft); }
.bio__text p:not(.bio__role) { font-size: 19px; line-height: 1.65; color: var(--soft); }
.bio__text p.bio__first { color: var(--ink); }
.bio__text .link { margin-top: 4px; font-size: 17px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; align-items: start; }
.value { display: flex; flex-direction: column; gap: 24px; padding-top: 32px; border-top: 2px solid var(--ink); min-width: 0; }
.value .chip { width: 56px; height: 56px; }
.value .chip svg { width: 25px; height: 25px; }
.value > div { display: flex; flex-direction: column; gap: 10px; }
.value h3 { font-family: var(--serif); font-size: 28px; line-height: 1.2; font-weight: 500; }
.value p { font-size: 18px; line-height: 1.6; color: var(--soft); }

/* Books */
.books { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 32px; row-gap: 56px; align-items: start; }
.book { display: flex; flex-direction: column; min-width: 0; }
.book__cover { height: 280px; display: flex; align-items: flex-end; justify-content: center; border-bottom: 2px solid var(--ink); }
.book__cover img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 1px 2px rgba(31, 37, 50, .2), 0 10px 22px rgba(31, 37, 50, .14); }
.book__text { display: flex; flex-direction: column; min-width: 0; }
.book__cover > a { display: flex; align-items: inherit; justify-content: center; height: 100%; max-width: 100%; }
.book__blank { display: flex; align-items: center; justify-content: center; width: 184px; max-width: 100%; aspect-ratio: 2 / 3; max-height: 100%; padding: 16px; background: var(--paper); border: 1px solid var(--hair);
  font-family: var(--serif); font-size: 19px; line-height: 1.2; text-align: center; color: var(--ink); box-shadow: 0 1px 2px rgba(31, 37, 50, .2), 0 10px 22px rgba(31, 37, 50, .14); }
.book .label { margin-top: 20px; }
.book h3 { margin-top: 8px; min-height: 50.4px; font-family: var(--serif); font-size: 21px; line-height: 1.2; font-weight: 500; }
.book__author { margin-top: 6px; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.book__desc { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--soft); }

/* Snippets */
.snippets { display: grid; grid-template-columns: 384px minmax(0, 1fr); gap: var(--gutter); align-items: start; }
.snippets__intro { display: flex; flex-direction: column; gap: 14px; }
.snippets__links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 8px; }
.issue { display: grid; grid-template-columns: 360px minmax(0, 1fr); color: var(--ink); text-decoration: none; }
.issue:hover { color: var(--ink); }
.issue .photo { height: 360px; }
.issue--plain { grid-template-columns: minmax(0, 1fr); }
.issue__text { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px; }
.issue__text h3 { font-family: var(--serif); font-size: 32px; line-height: 1.18; font-weight: 500; }
.issue__read { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 16px; line-height: 1.4; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--blue); }
.issue:hover .issue__read { text-decoration-thickness: 2px; }
.issue__read svg { width: 16px; height: 16px; }

/* Plain text pages (privacy, 404) */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { margin-top: 18px; font-family: var(--serif); font-size: 28px; line-height: 1.2; font-weight: 500; }
.prose p, .prose li { font-size: 19px; line-height: 1.65; color: var(--soft); }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- Footer ---------- */
.site-footer { min-height: 500px; padding: 72px max(var(--px), calc((100% - var(--max)) / 2)) 0; display: flex; flex-direction: column; background: var(--band); }
.footer-line { padding-bottom: 48px; border-bottom: 1px solid var(--hair); font-family: var(--serif); font-size: 40px; line-height: 1.15; font-weight: 500; color: var(--ink); }
.footer-cols { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr 2fr; gap: 48px; padding: 44px 0 56px; flex-grow: 1; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-brand { gap: 16px; }
.footer-brand img { height: 44px; width: auto; align-self: flex-start; }
.footer-col p { font-size: 16px; line-height: 1.6; color: var(--soft); }
.footer-col .eyebrow { line-height: 1.4; }
.footer-nav a, .footer-follow a { align-self: flex-start; font-size: 16px; line-height: 1.4; color: var(--ink); text-decoration: none; }
.footer-follow a, .footer-people a { text-decoration: underline; text-decoration-color: var(--hair); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.footer-nav a:hover, .footer-follow a:hover, .footer-people a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 6px; }
.footer-people { display: flex; flex-direction: column; gap: 12px; }
.footer-people div { display: flex; flex-direction: column; gap: 2px; }
.footer-people b { font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.footer-people a { align-self: flex-start; font-size: 15px; line-height: 1.4; color: var(--ink); }
.footer-bottom { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--hair); font-size: 14px; line-height: 1.5; color: var(--mute); }
.footer-bottom a { color: var(--mute); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 4px; }
.footer-bottom a:hover { color: var(--ink); }

/* Show only on desktop / only on phone */
@media (min-width: 721px) { .m-only { display: none !important; } }

/* ---------- Tablet ---------- */
@media (max-width: 1099px) {
  :root { --px: 48px; --py: 96px; --gutter: 48px; }
  .brand img { height: 40px; }
  .main-nav { gap: 28px; }
  .main-nav a { font-size: 16px; }
  .hero { padding-top: 88px; padding-bottom: 64px; }
  .hero-split { padding-top: 72px; padding-bottom: 72px; }
  .hero-split .photo { height: 520px; }
  .statement__text { font-size: 28px; }
  .feature__intro h3 { font-size: 38px; }
  .logo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .point h3 { font-size: 30px; }
  .point p, .card__intro p, .step__text p:last-child { font-size: 18px; }
  .card__intro, .card__fact { padding-left: 32px; padding-right: 32px; }
  .card__tags, .card__fig { padding-left: 32px; padding-right: 32px; }
  .card__fig .figure__value { font-size: 44px; }
  .step__text h3 { font-size: 28px; }
  .companies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person__photo { height: 420px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .books { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .snippets { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .quote blockquote { font-size: 38px; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-follow { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 22px; }
  .footer-follow .eyebrow { display: none; }
}

/* ---------- Narrow tablet: phone header, stacked splits ---------- */
@media (max-width: 899px) {
  .site-header { height: 64px; padding: 0 16px 0 20px; }
  .brand { height: 44px; }
  .brand img { height: 34px; }
  .main-nav { display: none; }
  .menu-btn { display: block; }
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 0; }
  .hero-split .photo { height: 420px; margin: 0 calc(-1 * max(var(--px), calc((100% - var(--max)) / 2))); }
  .statement { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .statement .eyebrow { padding-top: 0; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .feature .photo { min-height: 0; height: 380px; }
  .feature__intro { padding-top: 28px; }
  .points { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split .photo { order: -1; min-height: 0; height: 380px; }
  .cards { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 32px; }
  .card { grid-row: auto; grid-template-rows: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .step__line { display: none; }
  .issue { grid-template-columns: 300px minmax(0, 1fr); }
  .issue .photo { height: 300px; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  :root { --px: 24px; --py: 64px; --gutter: 24px; }
  .d-only { display: none !important; }
  .s { gap: 36px; }
  .s--g40 { gap: 28px; }
  .s--g56 { gap: 32px; }
  .head--split { flex-direction: column; align-items: flex-start; }
  .lead { font-size: 19px; line-height: 1.55; }
  .link { font-size: 17px; }
  .link svg { width: 17px; height: 17px; }
  .link--xs { font-size: 16px; }
  .h1 { line-height: 1.06; letter-spacing: -0.5px; }
  .h2 { line-height: 1.12; }

  .hero { padding: 48px 24px 40px; gap: 20px; }
  .hero__links { flex-direction: column; gap: 16px; }
  .hero-split { padding: 48px 24px 0; gap: 40px; }
  .hero-split__text { gap: 20px; }
  .hero-split .photo { height: 300px; margin: 0 -24px; }

  .statement__text { font-size: 24px; }
  .fact { gap: 4px; padding: 14px 0; }
  .fact__text { font-size: 17px; }
  .figure { padding: 16px 0; }
  .figure__value { font-size: 30px; line-height: 1.15; letter-spacing: 0; }
  .figure__unit { font-size: 15px; line-height: 1.5; }
  .fact-link { padding-top: 18px; }

  .feature .photo { height: 220px; }
  .feature__intro { gap: 10px; padding: 22px 0 20px; }
  .feature__intro h3 { font-size: 34px; line-height: 1.12; }
  .feature__intro p { font-size: 17px; }

  .pair { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 40px; }
  .pair > article { grid-row: auto; grid-template-rows: none; }
  .pair__photo { padding-bottom: 20px; }
  .pair__photo .photo { height: 220px; }
  .pair__name { gap: 10px; padding: 20px 0 18px; }
  .pair__name h3 { font-size: 26px; line-height: 1.2; }
  .pair__name p { font-size: 17px; }
  .pair .figure { padding: 14px 0; }
  .pair .figure__value { font-size: 28px; }

  .logo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; padding: 0; border-bottom: 0; }
  .logo-strip li { gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--hair); }
  .logo-strip a { height: 52px; }
  .logo-strip img { height: calc(var(--h) * .82); }

  .news-list li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; }
  .news-list__date { font-size: 13px; }
  .news-list__title { font-size: 22px; }

  .point { gap: 14px; padding-top: 20px; }
  .point h3 { font-size: 26px; line-height: 1.2; }
  .point p { font-size: 17px; line-height: 1.6; }

  .criteria { grid-template-columns: minmax(0, 1fr); }
  .criterion { gap: 18px; padding: 22px 0; }
  .criterion .chip { width: 44px; height: 44px; }
  .criterion .chip svg { width: 20px; height: 20px; }
  .criterion h3 { font-size: 22px; }
  .criterion p { font-size: 17px; }

  .split { gap: 28px; }
  .split .photo { height: 260px; }
  .split__text { gap: 28px; }
  .row h3 { font-size: 22px; }
  .row p { font-size: 17px; }

  .prompt { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .prompt h2 { font-size: 26px; line-height: 1.2; }

  .card__art { height: 220px; padding: 16px; }
  .card__intro { gap: 12px; padding: 28px 24px 0; }
  .card__intro h3 { font-size: 32px; }
  .card__intro p { font-size: 17px; line-height: 1.6; }
  .card__tags { padding: 20px 24px 0; gap: 8px; }
  .pill--lg { height: 36px; padding: 0 14px; font-size: 15px; }
  .card__fig { padding: 24px 24px 0; }
  .card__fig .figure { padding: 20px 0 16px; }
  .card__fig .figure__value { font-size: 40px; }
  .card__fact { padding: 0 24px; }
  .card__end { height: 28px; }

  .step { flex-direction: row; gap: 20px; align-items: flex-start; }
  .step__icon .chip { width: 52px; height: 52px; }
  .step__icon .chip svg { width: 24px; height: 24px; }
  .step__text { gap: 8px; }
  .step__text h3 { font-size: 24px; }
  .step__text p:last-child { font-size: 17px; line-height: 1.6; }

  .companies { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .company { padding-top: 24px; }
  .company__logo { height: 68px; }
  .company__logo img { height: calc(var(--h) * .8); }
  .company__desc { font-size: 17px; }

  .quote blockquote { font-size: 30px; }
  .quote figcaption span { font-size: 15px; }
  .quote img { width: 56px; height: 56px; }

  .people { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--ink); }
  .person { flex-direction: row; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--hair); }
  .person__photo { flex-shrink: 0; width: 96px; height: 120px; }
  .person__text { gap: 6px; min-width: 0; }
  .person__name { margin-top: 0; font-size: 26px; }
  .person__role { margin-top: 0; font-size: 15px; }
  .person__more { margin-top: 0; }

  [popover].bio { width: 92vw; max-width: 420px; max-height: 86vh; }
  .bio__body { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 24px 32px; }
  .bio__photo { width: 120px; height: 150px; }
  .bio__text h2 { font-size: 30px; }
  .bio__text p:not(.bio__role) { font-size: 17px; line-height: 1.6; }

  .values { display: flex; flex-direction: column; gap: 0; }
  .value { flex-direction: row; gap: 20px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--hair); }
  .value:first-child { border-top: 2px solid var(--ink); }
  .value .chip { width: 52px; height: 52px; }
  .value .chip svg { width: 23px; height: 23px; }
  .value > div { gap: 6px; }
  .value h3 { font-size: 26px; }
  .value p { font-size: 17px; line-height: 1.55; }

  .books { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--ink); }
  .book { flex-direction: row; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--hair); }
  .book__cover { flex: 0 0 96px; height: 146px; align-items: flex-start; border-bottom: 0; }
  .book__cover img { box-shadow: 0 1px 2px rgba(31, 37, 50, .2), 0 8px 16px rgba(31, 37, 50, .14); }
  .book__blank { width: 96px; padding: 8px; font-size: 13px; }
  .book .label { margin-top: 0; }
  .book h3 { min-height: 0; }

  .snippets { gap: 32px; }
  .snippets__intro .lead { font-size: 19px; }
  .issue { grid-template-columns: minmax(0, 1fr); }
  .issue .photo { height: 256px; }
  .issue__text { gap: 12px; padding: 24px 0 0; }
  .issue__text h3 { font-size: 26px; line-height: 1.2; }

  .prose p, .prose li { font-size: 17px; line-height: 1.6; }

  .site-footer { min-height: 0; padding: 48px 24px 32px; gap: 32px; }
  .footer-line { padding-bottom: 28px; font-size: 30px; }
  .footer-cols { display: flex; flex-direction: column; gap: 32px; padding: 0; }
  .footer-brand { gap: 14px; }
  .footer-brand img { height: 38px; }
  .footer-brand p { line-height: 1.55; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
  .footer-nav .eyebrow { display: none; }
  .footer-contact { gap: 14px; padding-top: 24px; border-top: 1px solid var(--hair); }
  .footer-people { gap: 14px; }
  .footer-snippets { padding-top: 24px; border-top: 1px solid var(--hair); }
  .footer-follow { flex-direction: row; gap: 22px; }
  .footer-bottom { height: auto; padding-top: 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo img, .person__photo img, .link, .main-nav a, .menu li a, .person__more { transition: none; }
  .fade { animation: none; }
}

/* Photo focal points and logo heights (logos are balanced optically, so each has its own height) */
.photo img.pos-55 { object-position: 50% 55%; }
.photo img.pos-45 { object-position: 50% 45%; }
.photo img.pos-60 { object-position: 50% 60%; }
.photo img.pos-12 { object-position: 50% 12%; }
.h37 { --h: 37px; } .h43 { --h: 43px; } .h45 { --h: 45px; } .h50 { --h: 50px; } .h52 { --h: 52px; } .h53 { --h: 53px; }
.h55 { --h: 55px; } .h59 { --h: 59px; } .h60 { --h: 60px; } .h61 { --h: 61px; } .h68 { --h: 68px; } .h70 { --h: 70px; } .h71 { --h: 71px; } .h80 { --h: 80px; }
.steps { padding: 0; list-style: none; }
.head--split > .link { align-self: flex-end; }

/* Expanding lists: "Earlier announcements" (News) and "See all 24 books" (Team).
   Without JavaScript everything shows and the button is hidden. */
button.link { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.no-js .expand-btn, .expand-btn[hidden] { display: none; }
.js [data-expandable]:not(.expanded) > .more { display: none; }
.js .books:not(.expanded) > .book:nth-child(n + 13) { display: none; }
.js [data-expandable] > [tabindex="-1"]:focus { outline: none; }
@media (max-width: 720px) {
  .book:nth-child(n + 7) { display: flex; }
  .js .books:not(.expanded) > .book:nth-child(n + 7) { display: none; }
}

/* News stories */
a.news-list__title { text-decoration: underline; text-decoration-color: var(--hair); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-color 200ms ease; }
a.news-list__title:hover { color: var(--ink); text-decoration-color: var(--blue); }
.hero--article { padding-bottom: 64px; }
.h1--article { max-width: 980px; font-size: clamp(34px, calc(16px + 2.6vw), 56px); line-height: 1.1; letter-spacing: -0.5px; }
.eyebrow-link { color: inherit; text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 4px; }
.eyebrow-link:hover { color: var(--ink); text-decoration-color: var(--blue); }
.prose--article { gap: 20px; }
.prose--article h2 { margin-top: 24px; font-size: 26px; }
.prose--article strong { font-weight: 600; color: var(--ink); }
.prose--article a { color: var(--ink); text-decoration-color: var(--blue); text-underline-offset: 4px; overflow-wrap: anywhere; }
.prose--article + .link { margin-top: 16px; }
@media (max-width: 720px) { .hero--article { padding-bottom: 40px; } .prose--article h2 { font-size: 22px; } }
.hero--article + .s { padding-top: 72px; }
@media (max-width: 720px) { .hero--article + .s { padding-top: 40px; } }

/* Sticky header: stays at the top, slides away while scrolling down and returns on any scroll up (js/site.js).
   A soft shadow appears once the page has moved. */
html { scroll-padding-top: 88px; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(31, 37, 50, .07); }
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
@media (max-width: 899px) { html { scroll-padding-top: 64px; } }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

/* ---- Motion: chart builds, fade-up reveals, slow photo drift, book covers. All of it is off under
   prefers-reduced-motion, and nothing starts hidden unless site.js has armed it (so no-JS shows everything). */
.card__art svg { display: block; width: 100%; height: 100%; }
.motion-arming .reveal { transition: none !important; }
.bleed:hover img { transform: none; }

@media (prefers-reduced-motion: no-preference) {
  /* Co-investment charts: bars rise left to right and the curve draws through them; coins stack up one at a
     time, each column bottom to top, columns left to right. Keyframe animations (not transitions) so the build
     always plays from the start, however soon after load the chart comes into view. */
  .chart.is-armed .g-bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
  .chart.is-armed .g-line { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
  .chart.is-armed .g-dot { transform-box: fill-box; transform-origin: center; transform: scale(0); }
  .chart.is-armed .c-coin { opacity: 0; }
  .chart.in-view .g-bar { animation: chart-rise 650ms cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) both; }
  .chart.in-view .g-line { animation: chart-draw 1400ms cubic-bezier(.45, .05, .35, 1) 200ms both; }
  .chart.in-view .g-dot { animation: chart-pop 320ms cubic-bezier(.3, 1.6, .6, 1) var(--d, 0ms) both; }
  .chart.in-view .g-dot--end { animation-duration: 520ms; }
  .chart.in-view .c-coin { animation: chart-drop 340ms cubic-bezier(.2, 1.35, .5, 1) var(--d, 0ms) both, chart-show 120ms linear var(--d, 0ms) both; }
  @keyframes chart-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @keyframes chart-draw { 0% { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
  @keyframes chart-pop { from { transform: scale(0); } to { transform: scale(1); } }
  @keyframes chart-drop { from { transform: translateY(-20px); } to { transform: none; } }
  @keyframes chart-show { from { opacity: 0; } to { opacity: 1; } }

  /* Sections fade up as they come into view; items that arrive together follow one another. */
  .js .reveal { transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .reveal:not(.in-view) { opacity: 0; transform: translateY(18px); }

  /* The big full-width photos ease in a few percent over about 20 seconds, once. */
  .bleed img { animation: drift 22s cubic-bezier(.25, .6, .35, 1) both; }
  @keyframes drift { from { transform: scale(1); } to { transform: scale(1.05); } }
}

/* Book club: covers lift and tip a little on hover (pointer devices only). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .book__cover img { transform-origin: 50% 100%; transition: transform 320ms cubic-bezier(.3, 1.3, .5, 1), box-shadow 320ms ease; }
  .book:hover .book__cover img { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 0 2px 4px rgba(31, 37, 50, .18), 0 22px 36px rgba(31, 37, 50, .2); }
}

@media print {
  .js .reveal, .chart * { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
}
