/* ==========================================================================
   OVD — site styles
   Palette: cool off-white ground biased toward a deep petrol accent.
   Type:    Libre Franklin (display) / Newsreader (body) / IBM Plex Mono (data)
   ========================================================================== */

:root {
  --ground:    #F5F6F5;
  --surface:   #FFFFFF;
  --sunk:      #ECEEED;
  --ink:       #14201E;
  --muted:     #56635F;
  --faint:     #8A9591;
  --accent:    #0E4F4A;
  --accent-lo: #E3EDEB;
  --rule:      #DCE1DF;
  --hairline:  #E7EAE9;

  /* closing band — a dark emphasis block in light mode, a raised block in dark */
  --band-bg:   #14201E;
  --band-fg:   #F5F6F5;
  --band-dim:  rgba(245, 246, 245, 0.72);
  --band-edge: #14201E;

  --draft-bg:   #FBF3E4;
  --draft-fg:   #7A5410;
  --draft-edge: #D8BE86;

  --shell: 1140px;
  --read: 62ch;

  --f-display: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:    #0B1211;
    --surface:   #121A19;
    --sunk:      #172120;
    --ink:       #E9EEEC;
    --muted:     #9AA8A4;
    --faint:     #6C7A76;
    --accent:    #6FBFB2;
    --accent-lo: #142C29;
    --rule:      #24312E;
    --hairline:  #1C2725;

    --band-bg:   #172120;
    --band-fg:   #E9EEEC;
    --band-dim:  rgba(233, 238, 236, 0.68);
    --band-edge: #2C3936;

    --draft-bg:   #2A2313;
    --draft-fg:   #D6B36A;
    --draft-edge: #5C4C24;
  }
}

:root[data-theme="dark"] {
  --ground:    #0B1211;
  --surface:   #121A19;
  --sunk:      #172120;
  --ink:       #E9EEEC;
  --muted:     #9AA8A4;
  --faint:     #6C7A76;
  --accent:    #6FBFB2;
  --accent-lo: #142C29;
  --rule:      #24312E;
  --hairline:  #1C2725;

  --band-bg:   #172120;
  --band-fg:   #E9EEEC;
  --band-dim:  rgba(233, 238, 236, 0.68);
  --band-edge: #2C3936;

  --draft-bg:   #2A2313;
  --draft-fg:   #D6B36A;
  --draft-edge: #5C4C24;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  font-optical-sizing: none;
  text-rendering: optimizeSpeed;
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(1.4rem, 5vw, 3.5rem);
}

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- masthead ---------- */

.topbar {
  border-bottom: 1px solid var(--rule);
  background: var(--ground);
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex: none;
}

.wordmark img {
  height: 44px;
  width: auto;
  display: block;
}

/* Dark-mode variant swaps in; light-mode variant is hidden by default. */
.wordmark .logo-light { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wordmark .logo-dark { display: none; }
  :root:not([data-theme="light"]) .wordmark .logo-light { display: block; }
}
:root[data-theme="dark"] .wordmark .logo-dark { display: none; }
:root[data-theme="dark"] .wordmark .logo-light { display: block; }

@media (max-width: 560px) {
  .wordmark img { height: 36px; }
}

nav.primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.75rem;
  font-family: var(--f-display);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}

nav.primary a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
}

nav.primary a:hover { color: var(--ink); border-bottom-color: var(--accent); }
nav.primary a.here { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- generic section rhythm ---------- */

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
section + section { border-top: 1px solid var(--hairline); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
}

h1, h2, h3 {
  font-family: var(--f-display);
  text-wrap: balance;
  margin: 0;
}

h2 {
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.28;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.28rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: var(--read);
}

/* ---------- hero ---------- */

.hero { padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3rem, 7vw, 5rem); }

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.3rem, 6.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 17ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lede {
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  margin-top: 2.4rem;
}

.btn {
  font-family: var(--f-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.72rem 1.35rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  display: inline-block;
  transition: background-color .15s ease, color .15s ease;
}

.btn-solid { background: var(--accent); color: var(--ground); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.btn-line { color: var(--accent); }
.btn-line:hover { background: var(--accent-lo); }

/* ---------- proof strip ---------- */

.proof {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 0;
}

.proof-in {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0;
}

.proof-cell {
  padding: 2.1rem 2rem 2.1rem 0;
  border-right: 1px solid var(--hairline);
}
.proof-cell:last-child { border-right: none; padding-right: 0; }

.proof-fig {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 0.6rem;
}

.proof-cell p {
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 26ch;
  margin: 0;
}

/* ---------- split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- offer ladder ---------- */

.ladder { list-style: none; margin: 0; padding: 0; }

.ladder li {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  gap: 0 1.2rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-top: 1px solid var(--hairline);
}
.ladder li:last-child { border-bottom: 1px solid var(--hairline); }

.ladder .step {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.ladder .rung {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.04rem;
  display: block;
  margin-bottom: 0.2rem;
}

.ladder .note {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
  display: block;
}

.ladder .when {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .ladder li { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .ladder .when { grid-column: 2; margin-top: 0.5rem; }
}

/* ---------- bench table ---------- */

.scroll { overflow-x: auto; }

table.bench {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-display);
  font-size: 0.93rem;
  line-height: 1.45;
  min-width: 40rem;
}

table.bench th {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0 1.4rem 0.7rem 0;
  border-bottom: 1px solid var(--ink);
  vertical-align: bottom;
}

table.bench td {
  padding: 1.1rem 1.4rem 1.1rem 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  color: var(--muted);
}

table.bench th:last-child, table.bench td:last-child { padding-right: 0; }
table.bench tbody tr:last-child td { border-bottom: none; }

table.bench td.who {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  font-size: 1rem;
}

table.bench td.did { color: var(--ink); font-weight: 500; }

/* ---------- two doors ---------- */

.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1.4rem;
}

.door {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.door .for {
  font-family: var(--f-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.door h3 { font-size: clamp(1.15rem, 2.4vw, 1.42rem); line-height: 1.2; }

.door p { color: var(--muted); font-size: 1rem; margin: 0; }

.door ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.97rem;
}
.door li { margin-bottom: 0.45rem; }
.door li:last-child { margin-bottom: 0; }

.door .go {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--f-display);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}
.door .go:hover { border-bottom-color: var(--accent); }

/* ---------- quote ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: clamp(1.8rem, 4vw, 3.5rem);
}

blockquote {
  margin: 0;
  padding-top: 1.3rem;
  border-top: 2px solid var(--accent);
}

.q-kind {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* Unapproved reference language. Remove this element — and the drafted
   quote with it — if the person has not signed off before launch. */
.draft-flag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--draft-fg);
  background: var(--draft-bg);
  border: 1px dashed var(--draft-edge);
  border-radius: 2px;
  padding: 0.22rem 0.5rem;
  margin-bottom: 0.9rem;
}

blockquote:has(.draft-flag) p { color: var(--muted); }

blockquote p {
  font-family: var(--f-body);
  font-size: clamp(1.08rem, 2.2vw, 1.25rem);
  line-height: 1.45;
  margin: 0 0 1rem;
}

blockquote cite {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 0.71rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.6;
  display: block;
}

.pending {
  color: var(--faint);
  font-style: italic;
}

/* ---------- notes ---------- */

.notes-list { list-style: none; margin: 0; padding: 0; }

.notes-list li { border-top: 1px solid var(--hairline); }
.notes-list li:last-child { border-bottom: 1px solid var(--hairline); }

.notes-list a {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 0.4rem 1.5rem;
  padding: 1.5rem 0;
  text-decoration: none;
  align-items: baseline;
}

.notes-list a:hover .note-title { color: var(--accent); }

.note-kind {
  font-family: var(--f-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 0.3rem;
}

.note-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.08rem, 2.3vw, 1.32rem);
  line-height: 1.24;
  letter-spacing: -0.012em;
  display: block;
  margin-bottom: 0.4rem;
  transition: color .15s ease;
}

.note-dek {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  display: block;
  max-width: 70ch;
}

@media (max-width: 700px) {
  .notes-list a { grid-template-columns: 1fr; }
  .note-kind { padding-top: 0; }
}

/* ---------- closing / contact ---------- */

.close-band {
  background: var(--band-bg);
  color: var(--band-fg);
  border: none;
  border-top: 1px solid var(--band-edge);
}

.close-band h2 { color: var(--band-fg); max-width: 20ch; }
.close-band .lede { color: var(--band-dim); }
.close-band .eyebrow { color: var(--band-fg); opacity: 0.55; }

.close-band .btn-solid {
  background: var(--band-fg);
  color: var(--band-bg);
  border-color: var(--band-fg);
}
.close-band .btn-solid:hover { background: transparent; color: var(--band-fg); }

.close-meta {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--band-dim);
  margin-top: 1.6rem;
}
.close-meta a { color: var(--band-fg); }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--rule);
  padding: 2.2rem 0 3rem;
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.foot-in a { color: var(--faint); text-decoration: none; }
.foot-in a:hover { color: var(--ink); }

/* ---------- narrow screens ---------- */

@media (max-width: 820px) {
  body { font-size: 17px; }

  .topbar-in {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }

  nav.primary {
    gap: 0.35rem 1.1rem;
    font-size: 0.79rem;
  }

  .proof-cell {
    padding: 1.5rem 0;
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }
  .proof-cell:last-child { border-bottom: none; }
  .proof-cell p { max-width: 34ch; }

  .hero { padding-top: 3.2rem; }
  .hero h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Interior pages
   ========================================================================== */

.page-head {
  padding: clamp(3.2rem, 8vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--ink);
}

.page-head h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0;
}

.page-head .lede { margin-top: 1.4rem; max-width: 58ch; }

/* reading column */

.prose { max-width: 66ch; }

.prose h3 { margin: 2.6rem 0 0.8rem; }
.prose h3:first-child { margin-top: 0; }

.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.15rem; }
.prose li { margin-bottom: 0.55rem; }
.prose li:last-child { margin-bottom: 0; }

.prose .aside {
  border-left: 3px solid var(--accent);
  padding: 0.1rem 0 0.1rem 1.3rem;
  margin: 1.8rem 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* labelled rows — deliverables, what we need, etc. */

.rows { list-style: none; margin: 1.6rem 0; padding: 0; }

.rows li {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.35rem 2rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--hairline);
}
.rows li:last-child { border-bottom: 1px solid var(--hairline); }

.rows .rk {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

.rows .rv { color: var(--muted); font-size: 1rem; line-height: 1.5; }

@media (max-width: 760px) {
  .rows li { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* phase strip */

.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.2rem;
  margin: 1.8rem 0;
}

.phase {
  border-top: 2px solid var(--accent);
  padding-top: 1rem;
}

.phase .pn {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  display: block;
  margin-bottom: 0.5rem;
}

.phase h3 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.phase p { color: var(--muted); font-size: 0.96rem; line-height: 1.45; margin: 0; }

/* work entries */

.entry {
  border-top: 1px solid var(--rule);
  padding: clamp(1.8rem, 4vw, 2.8rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 1rem 3rem;
  align-items: start;
}
.entries .entry:last-child { border-bottom: 1px solid var(--rule); }

.entry .sector {
  font-family: var(--f-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}

.entry h3 {
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
}

.entry .body p { font-size: 1rem; margin-bottom: 0.9rem; }
.entry .body p:last-child { margin-bottom: 0; }
.entry .body strong { font-weight: 600; }

@media (max-width: 820px) {
  .entry { grid-template-columns: 1fr; gap: 0.8rem; }
}

/* investments */

.inv {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0;
  margin-top: 1.8rem;
  border-top: 1px solid var(--ink);
}

.inv div {
  padding: 1rem 1.4rem 1rem 0;
  border-bottom: 1px solid var(--hairline);
}

.inv .nm {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.98rem;
  display: block;
}

.inv .ot {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--faint);
  display: block;
  margin-top: 0.22rem;
}

/* bios */

.bio {
  border-top: 1px solid var(--rule);
  padding: clamp(2rem, 4vw, 3rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 1rem 3rem;
  align-items: start;
}
.bios .bio:last-child { border-bottom: 1px solid var(--rule); }

.bio .nameplate h3 {
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  margin: 0 0 0.3rem;
}

.bio .role {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  display: block;
  margin-bottom: 0.9rem;
}

.bio .li {
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.bio .li:hover { border-bottom-color: var(--accent); }

.bio .body p { font-size: 1rem; }

.bio .specialism {
  font-size: 1rem;
  color: var(--muted);
  margin: 1.1rem 0 0;
}
.bio .specialism strong { color: var(--ink); font-weight: 600; }

@media (max-width: 820px) {
  .bio { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.contact-grid h3 { margin: 0 0 0.6rem; }
.contact-grid p { color: var(--muted); font-size: 1rem; }

.mail {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  letter-spacing: -0.015em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.mail:hover { border-bottom-color: var(--accent); }

/* empty-state, for the Notes index before pieces exist */

.vessel {
  border: 1px dashed var(--rule);
  border-radius: 2px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--muted);
  margin-top: 1.8rem;
}
.vessel h3 { color: var(--ink); margin: 0 0 0.6rem; }
.vessel p { font-size: 1rem; margin-bottom: 0.8rem; }
.vessel p:last-child { margin-bottom: 0; }

/* Notes entries that are not yet published — same shape, no link affordance. */
.notes-list .entryish {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 0.4rem 1.5rem;
  padding: 1.5rem 0;
  align-items: baseline;
}
.notes-list .entryish .note-title { color: var(--muted); }

@media (max-width: 700px) {
  .notes-list .entryish { grid-template-columns: 1fr; }
}

/* ---------- the two arms, above the fold ---------- */

.arms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1px;
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

.arm {
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2rem);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background-color .15s ease;
}

.arm:hover { background: var(--accent-lo); }

.arm-label {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.arm-line {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: -0.014em;
  color: var(--ink);
  text-wrap: balance;
}

.arm-sub {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.arm-go {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: var(--f-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
}

/* Keyboard users land ahead of a seven-item nav on every page. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--ground);
  font-family: var(--f-display);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.7rem 1.1rem;
  z-index: 10;
}
.skip:focus { left: 0.6rem; top: 0.6rem; }

main:focus { outline: none; }

/* Link across to the sister site. Set apart from the section nav, since it
   leaves the site rather than moving within it. */
nav.primary a.sister {
  color: var(--accent);
  font-weight: 600;
  margin-left: 0.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--rule);
  border-bottom-color: transparent;
}
nav.primary a.sister:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
nav.primary a.sister span { font-size: 0.9em; }

@media (max-width: 820px) {
  nav.primary a.sister {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
}

/* ---------- investments: grouped list ---------- */

.inv-h {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 3rem 0 0;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--ink);
}
.inv-h:first-of-type { margin-top: 0; }

.inv-h + .inv { margin-top: 0; border-top: none; }

/* ---------- tighter vertical rhythm ---------- */

section { padding: clamp(2.8rem, 5.5vw, 4.5rem) 0; }
.hero { padding: clamp(3.2rem, 8vw, 6rem) 0 clamp(2.4rem, 5vw, 3.5rem); }
.page-head { padding: clamp(2.6rem, 6vw, 4.2rem) 0 clamp(1.6rem, 3vw, 2.4rem); }

.bio { padding: clamp(1.6rem, 3vw, 2.2rem) 0; }

/* ---------- two mirrored columns, for what each side brings ---------- */

.ledger {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: clamp(1.8rem, 4vw, 3.5rem);
}

.ledger-col h3 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--ink);
}

.ledger-col ul { list-style: none; margin: 0; padding: 0; }

.ledger-col li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}
.ledger-col li:last-child { border-bottom: none; }
.ledger-col li strong { color: var(--ink); font-weight: 600; }

/* in-page jump link */
.jump {
  font-family: var(--f-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.jump:hover { border-bottom-color: var(--accent); }
.jump span { font-size: 0.9em; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:target { scroll-margin-top: 5rem; }
