/* =====================================================================
   Place Partners Group — "Ledger" system
   Cool white, bottle green, Schibsted Grotesk + Public Sans.
   Layout: 12-column grid, 3-column margin index, 9-column content.
   ===================================================================== */
:root {
  --page: #fafaf8;
  --white: #ffffff;
  --band: #eef1ef;
  --ink: #16191d;
  --ink-2: #4a5058;
  --ink-3: #62686f;
  --rule: #d5d8d4;
  --rule-soft: #e6e8e5;
  --field: #8a8f96;
  --accent: #1f4a3c;
  --accent-hover: #163a2f;
  --accent-tint: #e3ece8;
  --deep: #132b24;
  --deep-2: #1a362e;
  --deep-rule: #2e4a41;
  --deep-text: #c8d6cf;
  --deep-muted: #9db3a8;
  --head: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 28px);
  --pill: 999px;
  --ease: cubic-bezier(.2,.7,.1,1);
  color-scheme: light;
}

*, *::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(--page); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: "lnum"; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 500; margin: 0; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 100; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.tnum, .ledger td, .register td, .figure { font-variant-numeric: tabular-nums; }

/* ---------- Type ---------- */
.display { font-size: clamp(42px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.035em; }
.h1 { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -0.03em; }
.h2 { font-size: clamp(28px, 3.1vw, 44px); }
.h3 { font-size: clamp(21px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; color: var(--ink-3); }
.body-text p, .body-text li { max-width: 66ch; color: var(--ink-2); }
.body-text p strong { color: var(--ink); font-weight: 600; }

/* ---------- Buttons: pills ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: var(--pill); border: 1px solid var(--ink); color: var(--ink); background: transparent; font: 500 15px/1 var(--body); cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn .arr { transition: transform .16s ease; }
.btn:hover .arr { transform: translateX(3px); }
.on-deep .btn { border-color: #fff; color: #fff; }
.on-deep .btn:hover { background: #fff; color: var(--deep); }
.on-deep .btn.solid { background: #fff; color: var(--deep); border-color: #fff; }
.on-deep .btn.solid:hover { background: #e6ece9; border-color: #e6ece9; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.textlink { color: var(--accent); font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; box-shadow: inset 0 -1px 0 var(--rule); padding-bottom: 2px; transition: background-size .28s var(--ease); }
.textlink:hover, .textlink:focus-visible { background-size: 100% 1px; }
.ext::after { content: " ↗"; font-size: .85em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(250,250,248,.96); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--rule-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; transition: height .24s ease; }
.site-header.is-condensed { border-bottom-color: var(--rule); }
@media (min-width: 961px) { .site-header.is-condensed .wrap { height: 60px; } }
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand .logo { height: 42px; width: auto; transition: height .24s ease; }
@media (min-width: 961px) { .site-header.is-condensed .brand .logo { height: 36px; } }
@media (max-width: 960px) { .brand .logo { height: 36px; } }
@media (max-width: 380px) { .brand .logo { height: 31px; } }
.site-footer .brand .logo { height: 48px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > li { position: relative; }
.nav > li > a { font-size: 15px; color: var(--ink-2); padding: 24px 0; display: inline-block; transition: color .16s ease; }
.nav > li > a:hover { color: var(--ink); }
.nav > li > a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.nav .cta a { border-radius: var(--pill); background: var(--accent); color: #fff; padding: 10px 20px; box-shadow: none !important; }
.nav .cta a:hover { background: var(--accent-hover); color: #fff; }
.drop-toggle { background: none; border: 0; color: var(--ink-3); padding: 8px 4px 8px 6px; cursor: pointer; border-radius: var(--pill); vertical-align: middle; }
.drop-toggle svg { transition: transform .2s ease; }
.has-drop.open .drop-toggle svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: -24px; min-width: 340px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 18px 40px rgba(22,25,29,.08); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
@media (hover: hover) { .has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: none; } }
.has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 15px; color: var(--ink-2); }
.dropdown a:hover { background: var(--band); color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .drop-toggle { display: none; }
  .nav { position: fixed; inset: 74px 0 0 0; background: var(--page); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px; overflow-y: auto; display: flex; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav > li { border-bottom: 1px solid var(--rule-soft); }
  .nav > li > a { padding: 16px 0; font: 500 20px/1.2 var(--head); }
  .nav > li > a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px; min-width: 0; }
  .dropdown a { padding: 8px 0 8px 14px; }
  .nav .cta { border: 0; margin-top: 24px; }
  .nav .cta a { display: block; text-align: center; font: 500 16px var(--body); padding: 14px; }
}

/* ---------- Section grid with margin index ---------- */
.sec { padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--rule); }
.sec.band { background: var(--band); border-top-color: transparent; }
.sec.white { background: var(--white); }
.sec.flush { border-top: 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.sec-index { grid-column: 1 / 4; align-self: start; position: sticky; top: 96px; display: flex; gap: 12px; align-items: baseline; font-size: 15px; font-weight: 500; color: var(--ink); padding-top: 10px; }
.sec-index .n { font-family: var(--head); color: var(--accent); font-variant-numeric: tabular-nums; min-width: 2.2em; }
.sec-body { grid-column: 4 / 13; min-width: 0; }
.sec-body > h2 { margin-bottom: 20px; max-width: 22ch; }
.sec-body > .lede { margin-bottom: 40px; }
.sec-foot { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
@media (max-width: 900px) {
  .sec-index { grid-column: 1 / -1; position: static; margin-bottom: 18px; padding-top: 0; }
  .sec-body { grid-column: 1 / -1; }
}

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(64px, 9vw, 128px) 0; }
.hero .grid { row-gap: 36px; }
.hero-margin { grid-column: 1 / 4; align-self: end; font-size: 15px; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; }
.hero-margin .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; }
.hero-body { grid-column: 4 / 13; }
.hero-body .display { max-width: 12ch; }
.hero-body .lede { margin: 32px 0 40px; }
.hero-rule { height: 2px; background: var(--ink); margin-top: clamp(56px, 7vw, 96px); transform-origin: left; }
.verbs { display: grid; grid-template-columns: 3fr repeat(4, 2.25fr); gap: var(--gap); padding: 20px 0 28px; font-size: 15px; }
.verbs .lab { color: var(--ink-3); }
.verbs b { display: block; font: 600 18px/1.2 var(--head); letter-spacing: -.01em; margin-bottom: 4px; }
.verbs span { color: var(--ink-2); }
@media (max-width: 900px) {
  .hero-margin { grid-column: 1 / -1; order: 2; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
  .hero-body { grid-column: 1 / -1; }
  .verbs { grid-template-columns: 1fr 1fr; }
  .verbs .lab { grid-column: 1 / -1; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px); border-bottom: 2px solid var(--ink); }
.page-hero .sec-body > .lede { margin-bottom: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .6; }
.crumbs a:hover { color: var(--accent); }
.page-hero .crumbs { grid-column: 1 / 4; padding-top: 14px; }
.page-hero h1 { margin-bottom: 22px; max-width: 18ch; }
@media (max-width: 900px) { .page-hero .crumbs { grid-column: 1 / -1; margin-bottom: 20px; } }


/* ---------- Stage selector ---------- */
.stages [role="tablist"] { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.stages [role="tab"] { border: 1px solid var(--rule); background: var(--white); color: var(--ink-2); border-radius: var(--pill); padding: 11px 20px; font: 500 15px/1 var(--body); cursor: pointer; transition: all .16s ease; }
.stages [role="tab"]:hover { border-color: var(--ink); color: var(--ink); }
.stages [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.stage-panel { display: grid; grid-template-columns: 5fr 4fr; gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--ink); padding-top: 28px; }
.stage-panel[hidden] { display: none; }
.stage-panel h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; margin-bottom: 14px; }
.stage-panel p { color: var(--ink-2); }
.stage-panel .go { display: flex; flex-direction: column; gap: 0; }
.stage-panel .go a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-weight: 500; transition: color .16s ease, padding .16s ease; }
.stage-panel .go a:first-child { border-top: 1px solid var(--rule); }
.stage-panel .go a:hover { color: var(--accent); padding-left: 6px; }
.stage-panel .who-line { font-size: 14px; color: var(--ink-3); margin-top: 18px; }
@media (prefers-reduced-motion: no-preference) { .stage-panel:not([hidden]) { animation: fadeUp .35s var(--ease) both; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .stage-panel { grid-template-columns: 1fr; } }

/* ---------- Matrix (situations / capabilities) ---------- */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { min-width: 640px; font-size: 15px; }
.matrix th, .matrix td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.matrix thead th { font-weight: 500; color: var(--ink-3); border-bottom: 1px solid var(--ink); font-size: 14px; }
.matrix tbody th { font: 600 16px/1.3 var(--head); letter-spacing: -.01em; width: 22%; }
.matrix td a { color: var(--ink-2); display: block; transition: color .16s ease; }
.matrix td a::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; transform: translateY(-1px); }
.matrix td a:hover { color: var(--accent); }
.matrix td.none { color: var(--rule); }
.matrix tbody tr { transition: background .16s ease; }
.matrix tbody tr:hover { background: rgba(31,74,60,.035); }

/* ---------- Capital structure diagram ---------- */
.capstack { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.stack { display: flex; flex-direction: column; gap: 4px; }
.layer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 0 18px; color: #fff; border-radius: 10px; }
.layer b { font: 600 17px/1.2 var(--head); }
.layer span { font-size: 14px; opacity: .85; }
.layer.l1 { background: #1f4a3c; min-height: 104px; }
.layer.l2 { background: #2f6353; min-height: 72px; }
.layer.l3 { background: #6f9486; min-height: 56px; }
.layer.l4 { background: #b9ccc3; color: var(--ink); min-height: 88px; }
.stack-axis { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.stack-key li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.stack-key li:first-child { border-top: 1px solid var(--ink); }
.stack-key li b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .capstack { grid-template-columns: 1fr; } }

/* ---------- Timeline (process) ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 6), minmax(0, 1fr)); gap: var(--gap); padding-top: 28px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--ink); transform-origin: left; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; top: -28px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--page); border: 2px solid var(--accent); }
.band .timeline li::before { background: var(--band); }
.timeline li.key::before { background: var(--accent); }
.timeline .n { font-family: var(--head); font-size: 14px; color: var(--accent); display: block; margin-bottom: 6px; }
.timeline b { display: block; font: 600 19px/1.2 var(--head); letter-spacing: -.01em; margin-bottom: 8px; }
.timeline p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 28px; }
  .timeline::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0 0 26px; }
  .timeline li::before { top: 4px; left: -28px; }
}

/* ---------- Ledger (mandates) ---------- */
.ledger { font-size: 15.5px; }
.ledger thead th { text-align: left; font-weight: 500; font-size: 14px; color: var(--ink-3); padding: 0 16px 12px 0; border-bottom: 1px solid var(--ink); }
.ledger td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.ledger td:first-child { color: var(--ink); }
.ledger td:first-child a { font: 600 17px/1.3 var(--head); letter-spacing: -.01em; transition: color .16s ease; }
.ledger tr:hover td:first-child a { color: var(--accent); }
.ledger tbody tr { transition: background .16s ease; }
.ledger tbody tr:hover { background: rgba(31,74,60,.035); }
.status { display: inline-block; font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: var(--pill); background: var(--accent-tint); color: var(--accent); white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { border: 1px solid var(--rule); background: var(--white); border-radius: var(--pill); padding: 8px 16px; font: 500 14px var(--body); color: var(--ink-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: 100%; }
  .ledger tr { border-bottom: 1px solid var(--rule); padding: 16px 0; }
  .ledger tr:first-child { border-top: 1px solid var(--ink); }
  .ledger td { border: 0; padding: 3px 0; }
  .ledger td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-3); }
}

/* ---------- Case memos ---------- */
.memo { border-top: 2px solid var(--ink); padding-top: 28px; margin-top: 56px; scroll-margin-top: 90px; }
.memo:first-of-type { margin-top: 0; }
.memo-head { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; margin-bottom: 20px; }
.memo-head h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.02em; }
.memo dl.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px var(--gap); margin: 0 0 24px; font-size: 14.5px; }
.memo dl.meta dt { color: var(--ink-3); }
.memo dl.meta dd { margin: 2px 0 0; color: var(--ink); }
.memo .terms > div { display: grid; grid-template-columns: 160px 1fr; gap: var(--gap); padding: 16px 0; border-top: 1px solid var(--rule); }
.memo .terms dt { font-weight: 600; font-family: var(--head); }
.memo .terms dd { margin: 0; color: var(--ink-2); max-width: 66ch; }
@media (max-width: 760px) { .memo dl.meta { grid-template-columns: 1fr 1fr; } .memo .terms > div { grid-template-columns: 1fr; gap: 4px; } .memo-head { grid-template-columns: 1fr; } }

/* ---------- Corridor ---------- */
.corridor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 1.1fr) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
.end { border-top: 2px solid var(--ink); padding-top: 18px; }
.end .city { font: 600 22px/1.2 var(--head); letter-spacing: -.02em; }
.end .cities { color: var(--ink-3); font-size: 14px; margin: 4px 0 18px; }
.end .person { display: block; padding: 12px 0; border-top: 1px solid var(--rule); }
.end .person b { display: block; font-weight: 600; }
.end .person span { font-size: 14px; color: var(--ink-3); }
.end .person:hover b { color: var(--accent); }
.span-line { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px 0; }
.span-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--accent); }
.span-line span { position: relative; align-self: center; background: var(--band); padding: 4px 12px; border-radius: var(--pill); border: 1px solid var(--accent); font-size: 13.5px; color: var(--accent); font-weight: 500; white-space: nowrap; }
.corridor-note { margin-top: 28px; font-size: 15px; color: var(--ink-2); max-width: 66ch; }
@media (max-width: 860px) {
  .corridor { grid-template-columns: 1fr; }
  .span-line { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .span-line::before { display: none; }
  .span-line span { align-self: auto; }
}

/* ---------- Register (insights) ---------- */
.register { font-size: 15.5px; }
.register thead th { text-align: left; font-weight: 500; font-size: 14px; color: var(--ink-3); padding: 0 16px 12px 0; border-bottom: 1px solid var(--ink); }
.register td { padding: 15px 16px 15px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.register td.no { font-family: var(--head); color: var(--ink-3); width: 64px; }
.register td.t { color: var(--ink); font-weight: 500; }
.register td.t a { color: var(--ink); font-weight: 600; }
.register tr.pub td.no { color: var(--accent); }
.register tr.pub:hover td.t a { color: var(--accent); }
.register tr.prep td.t { color: var(--ink-2); font-weight: 400; }
.register .abs { display: block; font-size: 14.5px; color: var(--ink-3); font-weight: 400; margin-top: 3px; }
.register td.st { white-space: nowrap; width: 150px; }
.st-prep { font-size: 13px; color: var(--ink-3); }
@media (max-width: 700px) { .register td.subj { display: none; } .register thead th.subj { display: none; } .register td.st { width: auto; } }

/* ---------- Lists, scope, key-value ---------- */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
@media (max-width: 680px) { .cols-2 { grid-template-columns: 1fr; } }
.items li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 16px; }
.items.top li:first-child, .cols-2.items li:nth-child(-n+2) { border-top: 1px solid var(--ink); }
@media (max-width: 680px) { .cols-2.items li:nth-child(2) { border-top: 0; } }
.kv > div { display: grid; grid-template-columns: 200px 1fr; gap: var(--gap); padding: 16px 0; border-top: 1px solid var(--rule); }
.kv > div:first-child { border-top: 1px solid var(--ink); }
.kv dt { font: 600 17px/1.3 var(--head); letter-spacing: -.01em; }
.kv dd { margin: 0; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 680px) { .kv > div { grid-template-columns: 1fr; gap: 4px; } }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.scope > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.scope h3 { margin-bottom: 12px; }
.scope li { padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 16px; display: flex; gap: 12px; }
.scope .yes li::before { content: "✓"; color: var(--accent); font-weight: 600; }
.scope .no li::before { content: "—"; color: var(--ink-3); }
@media (max-width: 760px) { .scope { grid-template-columns: 1fr; } }
.chain { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.chain li { background: var(--white); border: 1px solid var(--rule); border-radius: 10px; padding: 14px 12px; font-size: 14.5px; font-weight: 500; }
.chain li small { display: block; font-family: var(--head); color: var(--accent); font-size: 13px; margin-bottom: 6px; font-weight: 500; }
@media (max-width: 1000px) { .chain { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cards-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--gap); }
.cards-5 > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.cards-5 b { display: block; font: 600 18px/1.2 var(--head); margin-bottom: 6px; }
.cards-5 p { font-size: 15px; color: var(--ink-2); margin: 0; }

.notice { border: 1px solid var(--rule); border-radius: 12px; background: var(--white); padding: 20px 24px; font-size: 15px; color: var(--ink-2); max-width: 80ch; }
.notice strong { color: var(--ink); }
.related-line { margin-top: 36px; padding: 18px 22px; border-radius: 12px; background: var(--white); border: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); max-width: 72ch; }
.related-line a { color: var(--accent); font-weight: 500; }

/* Advisors diagram (firm) */
.advisors { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: var(--gap); align-items: center; }
.advisors ul li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.advisors ul li:first-child { border-top: 1px solid var(--rule); }
.advisors .core { text-align: center; }
.advisors .core .node { border: 1px solid var(--rule); border-radius: 12px; padding: 16px; background: var(--white); font-weight: 500; }
.advisors .core .node.ppg { background: var(--accent); color: #fff; border-color: var(--accent); padding: 26px 16px; }
.advisors .core .node.ppg b { display: block; font: 600 20px/1.2 var(--head); }
.advisors .core .node.ppg span { font-size: 14px; opacity: .85; }
.advisors .core .link { width: 1px; height: 28px; background: var(--ink-3); margin: 0 auto; }
.advisors .cps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.advisors .cps .node { padding: 12px 6px; font-size: 14px; }
.advisors .cap { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; }
@media (max-width: 900px) { .advisors { grid-template-columns: 1fr; } .advisors .core { order: -1; } }
@media (max-width: 520px) { .advisors .cps { grid-template-columns: 1fr 1fr; } }

/* ---------- People ---------- */
.profile { display: grid; grid-template-columns: 3fr 6fr; gap: clamp(24px, 4vw, 56px); }
.portrait { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--band); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .6s ease; }
.portrait:hover img { filter: grayscale(30%); }
.portrait.placeholder { display: flex; align-items: flex-end; padding: 22px; background: var(--deep); }
.portrait.placeholder span { font: 500 80px/.8 var(--head); letter-spacing: -.04em; color: var(--deep-muted); }
.byline { font-size: 16px; color: var(--accent); font-weight: 500; margin: 0 0 6px; }
.profile h2 { margin-bottom: 18px; }
.cv li { display: grid; grid-template-columns: 130px 1fr; gap: var(--gap); padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); }
.cv li:first-child { border-top: 1px solid var(--ink); }
.cv li span:first-child { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sub-h { font: 600 18px/1.3 var(--head); margin: 40px 0 12px; }
.principal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.principal-grid > div { border-top: 2px solid var(--ink); padding-top: 18px; scroll-margin-top: 90px; }
.principal-grid h3 { margin-bottom: 12px; }
.principal-grid p:not(.byline) { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .profile, .principal-grid { grid-template-columns: 1fr; } .portrait { max-width: 300px; } .cv li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Article (memorandum) ---------- */
.memo-header { display: grid; grid-template-columns: 110px 1fr; font-size: 15px; border-top: 1px solid var(--ink); margin-top: 32px; max-width: 640px; }
.memo-header dt, .memo-header dd { padding: 9px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.memo-header dt { color: var(--ink-3); }
.article p, .article li { font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 66ch; }
.article h2 { font-size: 26px; margin: 48px 0 14px; letter-spacing: -.02em; }
.article ul.bul { margin: 0 0 1.2em; }
.article ul.bul li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.article ul.bul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 2px; background: var(--accent); }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px var(--gap); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; font-weight: 500; }
.form .req { color: var(--ink-3); font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--field); border-radius: 10px; padding: 12px 14px; -webkit-appearance: none; appearance: none; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .consent { font-size: 14px; color: var(--ink-3); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 14px; color: var(--ink-2); font-weight: 500; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; border: 1px solid var(--rule); border-radius: var(--pill); padding: 9px 16px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; background: var(--white); transition: all .16s ease; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 680px) { .form { grid-template-columns: 1fr; } }
.contact-lines p { margin: 0 0 6px; font: 500 20px/1.4 var(--head); }
.offices { margin-top: 32px; }

/* ---------- Close + footer ---------- */
.close { padding-block: clamp(64px, 8vw, 104px); background: var(--deep); color: #fff; }
.close h2 { color: #fff; max-width: 20ch; margin-bottom: 18px; }
.close p { color: var(--deep-text); max-width: 56ch; }
.close .sec-index { color: var(--deep-text); }
.close .sec-index .n { color: var(--deep-muted); }
.close :focus-visible { outline-color: #fff; }
.site-footer { background: var(--deep); color: var(--deep-muted); border-top: 1px solid var(--deep-rule); padding: 64px 0 32px; font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: 3fr 3fr 2fr 2fr 2fr; gap: var(--gap); padding-bottom: 44px; border-bottom: 1px solid var(--deep-rule); }
.foot-h { color: #fff; font-weight: 600; margin: 0 0 12px; font-size: 15px; }
.site-footer li a { display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.assoc { padding: 22px 0; border-bottom: 1px solid var(--deep-rule); display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14.5px; }
.assoc b { color: #fff; font-weight: 600; }
.assoc a { color: var(--deep-text); }
.assoc a:hover { color: #fff; }
.site-footer .legal { padding-top: 24px; font-size: 13px; line-height: 1.7; }
.site-footer .legal p { max-width: 110ch; }
.site-footer .base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; font-size: 13px; }
@media (max-width: 960px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- Draft review notes (remove class="draft" to hide) ---------- */
.verify { display: none; }
.draft .verify { display: block; margin: 16px 0; padding: 10px 14px; background: #fff6d6; border-left: 3px solid #d4a514; border-radius: 0 8px 8px 0; color: #5b4a10; font: 400 13px/1.5 var(--body); max-width: 80ch; }
.draft .verify::before { content: "FOR PPG REVIEW: "; font-weight: 700; }
.draft .close .verify, .draft .site-footer .verify { background: #3a3212; color: #f3e3a7; }

/* ---------- Motion (restrained; off for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal.pre { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s var(--ease); }
  .reveal.pre.in { opacity: 1; transform: none; }
  .hero-rule { animation: drawX .9s var(--ease) .15s both; }
  @keyframes drawX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .timeline.pre::before { transform: scaleX(0); transition: transform .9s var(--ease); }
  .timeline.pre.in::before { transform: scaleX(1); }
  .timeline.pre li { opacity: 0; transition: opacity .4s ease; transition-delay: calc(var(--i, 0) * 90ms + .2s); }
  .timeline.pre.in li { opacity: 1; }
  .layer { transform-origin: left; }
  .stack.pre .layer { transform: scaleX(.04); opacity: .4; transition: transform .7s var(--ease), opacity .5s ease; }
  .stack.pre.in .layer { transform: none; opacity: 1; }
  .stack.pre .layer:nth-child(2) { transition-delay: .08s; } .stack.pre .layer:nth-child(3) { transition-delay: .16s; } .stack.pre .layer:nth-child(4) { transition-delay: .24s; }
  .sec-index { transition: color .2s ease; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) { .timeline.pre::before { transform: scaleY(0); transform-origin: top; } .timeline.pre.in::before { transform: scaleY(1); } }
@media (min-width: 901px) { .hero-margin { grid-row: 1; } }
@media (max-width: 760px) { .ledger td:first-child::before { content: none; } }


/* =====================================================================
   Round 7: photography, fewer and smaller pills, mobile tightening
   ===================================================================== */
:root { --seg: 8px; }

/* Buttons: the only pills. Smaller and quieter. */
.btn { min-height: 44px; padding: 0 20px; gap: 8px; font-size: 15px; }
.nav .cta a { padding: 0 16px; line-height: 40px; }
.drop-toggle { border-radius: 6px; min-width: 32px; min-height: 40px; }
.textlink .arr { display: inline-block; transition: transform .16s ease; }
.textlink:hover .arr { transform: translateX(3px); }
.textlink.on-dark { color: #fff; box-shadow: inset 0 -1px 0 var(--deep-rule); align-self: center; margin-left: 12px; }

/* Toggles: square-cornered segments, not pills */
.stages [role="tab"], .filters button, .chips span { border-radius: var(--seg); min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; }
/* Status: a small square tag */
.status { border-radius: 4px; padding: 2px 8px; font-size: 13px; letter-spacing: .01em; background: transparent; border: 1px solid currentColor; }
.memo-head .status { justify-self: start; }
/* Corridor labels: plain text, no containers */
.span-line span { background: none; border: 0; border-radius: 0; padding: 0 10px; white-space: nowrap; color: var(--accent); }
.span-line span:not(.sr-only) { background: var(--band); }

/* ---------- Photography ---------- */
.photo { margin: 0; overflow: hidden; border-radius: 12px; background: var(--deep); aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.hero .grid { align-items: end; }
.home-photo { grid-column: 10 / 13; grid-row: 1; align-self: stretch; max-height: 560px; aspect-ratio: auto; }
@media (min-width: 901px) { .hero-body { grid-column: 4 / 10; grid-row: 1; } .hero-body .display { font-size: clamp(42px, 5.4vw, 80px); } }
.page-hero .hero-photo { grid-column: 10 / 13; grid-row: 1 / span 2; align-self: start; }
.page-hero .with-photo { grid-column: 4 / 10; grid-row: 1; }
.page-hero .crumbs { grid-row: 1; }
@media (max-width: 900px) {
  .home-photo, .page-hero .hero-photo { grid-column: 1 / -1; grid-row: auto; order: 3; aspect-ratio: 16 / 10; max-height: none; margin-top: 20px; }
  .page-hero .with-photo { grid-column: 1 / -1; }
  .hero-body { order: 1; }
  .hero-margin { order: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .photo img { transition: transform 1.2s var(--ease); }
  .photo:hover img { transform: scale(1.02); }
}

/* Portrait: supplied image is already black and white */
.portrait img { filter: none; }
.portrait:hover img { filter: none; }

/* ---------- Mobile (360-430px) ---------- */
.menu-btn { min-width: 44px; min-height: 44px; }
.site-footer li a { padding: 8px 0; }
.site-footer .base a { display: inline-block; padding: 10px 0; }
.status, .st-prep { font-size: 13.5px; }
.site-footer .legal { font-size: 13.5px; line-height: 1.6; }
@media (max-width: 960px) {
  .site-header .wrap { height: 60px; }
  .nav { inset: 60px 0 0 0; }
  .nav .cta a { border-radius: var(--seg); line-height: 48px; padding: 0; }
}
.display { font-size: clamp(38px, 10.5vw, 88px); }
.h1 { font-size: clamp(32px, 8.6vw, 64px); }
.lede { font-size: clamp(17px, 1.6vw, 22px); }
@media (max-width: 900px) {
  .sec-index { margin-bottom: 10px; font-size: 13px; gap: 8px; letter-spacing: .02em; }
  .sec-index .n { min-width: 0; }
}
@media (max-width: 600px) {
  .sec { padding-block: 48px; }
  .close { padding-block: 48px; }
  .page-hero { padding-block: 28px 36px; }
  .hero { padding-top: 36px; }
  .hero-body .lede { margin: 20px 0 26px; }
  .sec-body > h2 { max-width: none; }
  .hero-rule { margin-top: 40px; }
}
@media (max-width: 480px) {
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .textlink.on-dark { margin: 12px 0 0; }
  .form .full .btn { width: 100%; justify-content: center; }
}

/* Stage selector on phones: 2x2 segments */
@media (max-width: 600px) {
  .stages [role="tablist"] { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .stages [role="tab"] { justify-content: center; padding: 0 10px; font-size: 14px; }
}

/* Matrices become stacked cards on phones */
@media (max-width: 640px) {
  .scroll-x { overflow: visible; }
  .matrix { min-width: 0; }
  .matrix thead { display: none; }
  .matrix, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; width: 100%; }
  .matrix tr { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .matrix tbody tr:first-child { border-top: 1px solid var(--ink); }
  .matrix tbody th { width: auto; padding: 0 0 8px; border: 0; font-size: 18px; }
  .matrix td { padding: 6px 0; border: 0; color: var(--ink-2); }
  .matrix td::before { content: attr(data-label); display: block; font-size: 13px; color: var(--ink-3); }
  .matrix td.none { display: none; }
}
.matrix td { color: var(--ink-2); }

/* Ledger filters: one scrolling row on phones */
@media (max-width: 760px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .ledger td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; color: var(--ink-3); }
  .ledger td { padding: 4px 0; }
}
.ledger .t { font: 600 17px/1.3 var(--head); letter-spacing: -.01em; color: var(--ink); }

/* Capital structure on phones */
@media (max-width: 480px) {
  .layer { grid-template-columns: 1fr; padding: 12px 14px; gap: 2px; }
  .layer span { font-size: 13.5px; }
  .stack-key li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 860px) { .stack-axis { flex-direction: column; gap: 2px; } }

/* Corridor labels on phones */
@media (max-width: 860px) {
  .span-line { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0; }
  .span-line span:not(.sr-only) { background: none; padding: 0; }
  .span-line span:not(.sr-only)::before { content: "\2014\00a0"; color: var(--ink-3); }
}

/* Register on phones */
@media (max-width: 480px) {
  .register td.no { width: 36px; padding-right: 8px; }
  .register tr { display: grid; grid-template-columns: 36px 1fr; }
  .register td { border-bottom: 0; }
  .register tr { border-bottom: 1px solid var(--rule); }
  .register td.st { grid-column: 2; padding-top: 0; }
  .register thead { display: none; }
}

/* Forms on phones */
.form input, .form select { min-height: 48px; }
@media (max-width: 600px) { .form { gap: 18px; } }

/* Footer on phones */
@media (max-width: 520px) {
  .site-footer { padding: 48px 0 24px; }
  .site-footer .top { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .site-footer .top > div:first-child, .site-footer .top > div:last-child { grid-column: 1 / -1; }
}
.foot-h a:hover { color: #fff; }
.home-photo img { object-position: 72% 50%; }
.page-hero .with-photo h1 { font-size: clamp(32px, 3.9vw, 54px); }
.drop-toggle { min-width: 26px; padding-inline: 4px; }
.nav .cta a[aria-current="page"] { color: #fff; } @media (min-width: 861px) { .profile > div:first-child { position: sticky; top: 90px; align-self: start; } }
.brand { padding-block: 8px; } .assoc a { display: inline-block; padding-block: 10px; }

/* =====================================================================
   Round 8: brokerage repositioning components
   ===================================================================== */
.hero-sub { font: 500 17px/1.4 var(--head); color: var(--accent); margin: 18px 0 0; letter-spacing: .01em; }
.hero-sub span { color: var(--rule); margin: 0 8px; }
.hero-body .display { max-width: 13ch; }

/* Access lines */
.access { border-top: 1px solid var(--ink); }
.access li { font: 500 clamp(22px, 2.4vw, 32px)/1.2 var(--head); letter-spacing: -.02em; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.access li span { color: var(--ink-3); font-weight: 400; }

/* What we do: four areas */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gap); }
.area { border-top: 2px solid var(--ink); padding-top: 18px; }
.area h3 { margin-bottom: 10px; }
.area h3 a { transition: color .16s ease; }
.area h3 a:hover { color: var(--accent); }
.area p { color: var(--ink-2); margin-bottom: 14px; }
.area ul { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; color: var(--ink-3); }
.area li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; transform: translateY(-2px); }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; gap: 28px; } }

/* Value triad */
.triad { font: 500 clamp(24px, 2.8vw, 38px)/1.2 var(--head); letter-spacing: -.02em; color: var(--accent); margin-top: 28px; }

/* Opportunity cards */
.opps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.opp { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.band .opp { background: var(--page); }
.opp h3 { font: 600 19px/1.25 var(--head); letter-spacing: -.01em; }
.opp dl { margin: 0; display: grid; gap: 6px; font-size: 14.5px; }
.opp dl div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.opp dt { color: var(--ink-3); }
.opp dd { margin: 0; color: var(--ink); }
.opp .textlink { margin-top: auto; align-self: flex-start; }
.opp-status { margin: 0; }
@media (max-width: 1000px) { .opps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .opps { grid-template-columns: 1fr; } }

/* Founder block (home) */
.founder { display: grid; grid-template-columns: 3fr 6fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.founder .h2 { margin: 0 0 16px; }
.founder-steps { font: 500 17px/1.6 var(--head); color: var(--ink); border-left: 2px solid var(--accent); padding-left: 16px; max-width: 52ch; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder .portrait { max-width: 260px; } }
.hero { padding-bottom: clamp(56px, 7vw, 96px); }
.assoc { align-items: baseline; }
.assoc > span { color: var(--deep-muted); }
