/* VosiCapital site styles
   Layout: an annual letter on screen. A narrow label column sits beside a wide
   content column; one navy band carries the research. The navy and stone grey
   are taken from the charts in the essay, so the figures belong to the page. */

/* Fonts are served from this site, so visitors' browsers never contact a font CDN. */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colour */
  --paper: #fafbfc;
  --ink: #0e1830;
  --ink-2: #33405a;
  --muted: #5d677c;
  --rule: #d8dde6;
  --link: #1d3a78;
  --band: #13264f;
  --band-ink: #f3f5f9;
  --band-muted: #aab6cf;
  --band-rule: #2e4373;
  --stone: #b9b8b2;
  --exhibit: #ffffff;
  --select: #d6e0f5;

  /* Type */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Space */
  --max: 74rem;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a0f1a;
    --ink: #e8ecf3;
    --ink-2: #c6cddb;
    --muted: #97a1b6;
    --rule: #232d43;
    --link: #a9bdee;
    --band: #12224a;
    --band-ink: #eef1f7;
    --band-muted: #9fb0d3;
    --band-rule: #2c3e6b;
    --stone: #6f7686;
    --exhibit: #ffffff;
    --select: #2a3c66;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0a0f1a;
  --ink: #e8ecf3;
  --ink-2: #c6cddb;
  --muted: #97a1b6;
  --rule: #232d43;
  --link: #a9bdee;
  --band: #12224a;
  --band-ink: #eef1f7;
  --band-muted: #9fb0d3;
  --band-rule: #2c3e6b;
  --stone: #6f7686;
  --exhibit: #ffffff;
  --select: #2a3c66;
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--select); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
.band :focus-visible { outline-color: var(--band-ink); }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  font-family: var(--sans);
  font-size: .875rem;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 1rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 9;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  min-height: 4.25rem;
  padding-block: .7rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
.brand-mark { width: 1.75rem; height: 1.75rem; flex: none; }
.brand-mark rect { fill: var(--ink); }
.brand-mark path { stroke: var(--paper); }
.brand-name {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.75rem;
  font-family: var(--sans);
  font-size: .875rem;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding-block: .3rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 640px) {
  .site-header { position: relative; top: auto; }
  .site-nav { gap: .25rem 1.25rem; }
}

/* Buttons and links */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.5rem;
  margin-top: 2.25rem;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.35rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.button:hover { background: var(--band); border-color: var(--band); color: var(--band-ink); }
.button .arrow { transition: transform .15s ease; }
.button:hover .arrow { transform: translateX(3px); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.button.ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.band .button { background: var(--band-ink); border-color: var(--band-ink); color: var(--band); }
.band .button:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.band .button.ghost { background: transparent; color: var(--band-ink); border-color: var(--band-rule); }
.band .button.ghost:hover { border-color: var(--band-ink); }
.text-link {
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  text-decoration-color: var(--rule);
}
.text-link:hover { text-decoration-color: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .button, .button .arrow { transition: none; }
}

/* Hero */
.hero { padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(3.5rem, 8vw, 6.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.5rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.024em;
  margin: 1.4rem 0 0;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 400; }
.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
  margin: 1.75rem 0 0;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; align-items: end; }
}

/* Fact sheet */
.facts { border-top: 2px solid var(--ink); }
.facts .eyebrow { padding-block: .85rem; color: var(--ink); }
.facts dl { margin: 0; }
.facts .row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: .8rem;
  border-top: 1px solid var(--rule);
}
.facts dt {
  font-family: var(--sans);
  font-size: .8125rem;
  color: var(--muted);
  padding-top: .15rem;
}
.facts dd {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.4;
  min-width: 0;
}
.facts dd a { text-decoration-color: var(--rule); text-underline-offset: .2em; }
.facts dd a:hover { text-decoration-color: currentColor; }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--rule); }
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem 3rem;
}
.section-grid > * { min-width: 0; }
.section-label { padding-top: .7rem; }
@media (min-width: 900px) {
  .section-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
}
.section h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.018em;
  margin: 0;
  text-wrap: balance;
}
.section .intro {
  max-width: 36em;
  font-size: 1.1875rem;
  color: var(--ink-2);
  margin: 1.25rem 0 0;
}

/* Approach */
.principles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.75rem 3.5rem;
  margin-top: 3.5rem;
}
@media (min-width: 720px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.principle { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.principle h3 {
  font-size: 1.4375rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.006em;
  margin: 0 0 .65rem;
}
.principle p { margin: 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.62; }

/* Research band */
.band {
  background: var(--band);
  color: var(--band-ink);
  padding-block: clamp(4rem, 9vw, 7rem);
}
.band .eyebrow { color: var(--band-muted); }
.research-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.5rem;
}
.research-grid > * { min-width: 0; }
@media (min-width: 980px) {
  .research-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; align-items: center; }
}
.research-kicker { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.research-title {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.028em;
  margin: 1.25rem 0 .9rem;
  text-wrap: balance;
}
.research-sub {
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.35;
  color: var(--band-muted);
  margin: 0;
}
.research-quote {
  margin: 2.25rem 0 0;
  font-size: 1.3125rem;
  line-height: 1.45;
  max-width: 30em;
}
.research-about {
  margin: 1rem 0 0;
  max-width: 34em;
  color: var(--band-muted);
  font-size: 1.0625rem;
}
.research-meta {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  font-family: var(--sans);
  font-size: .8125rem;
  color: var(--band-muted);
  font-variant-numeric: tabular-nums;
}

.chart { margin: 0; border-top: 1px solid var(--band-rule); padding-top: 1.25rem; }
.chart-title { font-size: 1.1875rem; font-weight: 500; line-height: 1.3; margin: 0; }
.chart-sub { font-family: var(--sans); font-size: .8125rem; color: var(--band-muted); margin: .3rem 0 1.25rem; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .gridline { stroke: var(--band-rule); stroke-width: 1; }
.chart .baseline { stroke: var(--band-muted); stroke-width: 1; }
.chart .bar { fill: var(--band-ink); }
.chart .bar.past { fill: var(--band-muted); opacity: .55; }
.chart .tick, .chart .year { font-family: var(--sans); font-size: 12px; fill: var(--band-muted); }
.chart .value { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: var(--band-ink); }
.chart .tick, .chart .year, .chart .value { font-variant-numeric: proportional-nums; }
@media (max-width: 560px) {
  .chart .tick, .chart .year { font-size: 15px; }
  .chart .value { font-size: 16px; }
}
.chart figcaption { font-family: var(--sans); font-size: .8125rem; color: var(--band-muted); margin-top: 1rem; line-height: 1.5; }

/* Manager */
.manager-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem 4rem;
}
.manager-grid > * { min-width: 0; }
@media (min-width: 1040px) { .manager-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); align-items: start; } }
.role { font-family: var(--sans); font-size: .9375rem; color: var(--muted); margin: .75rem 0 0; }
.bio { margin-top: 2rem; }
.bio p { margin: 0 0 1.1rem; max-width: 34em; color: var(--ink-2); }
.pull {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}
.pull p {
  margin: 0;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.pull footer { margin-top: 1rem; font-family: var(--sans); font-size: .8125rem; color: var(--muted); }
.pull cite { font-style: normal; }

/* Contact */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 1.5rem;
  margin-top: 2.25rem;
}
.contact-email {
  font-size: clamp(1.6rem, 4.6vw, 3rem);
  font-weight: 400;
  letter-spacing: -.016em;
  line-height: 1.15;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  overflow-wrap: anywhere;
}
.contact-email:hover { border-bottom-color: currentColor; }
.copy-btn {
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: .45rem .8rem;
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--ink); }
.contact-note { margin: 1.5rem 0 0; font-family: var(--sans); font-size: .875rem; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 3.5rem 2.5rem;
  font-family: var(--sans);
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem 3rem;
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } }
.footer-brand { color: var(--ink); }
.footer-brand .brand-name { font-family: var(--serif); font-size: 1.25rem; }
.disclaimer { margin: 0; max-width: 62em; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }

/* ---------- Essay ---------- */
.progress {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  height: 2px;
  z-index: 12;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--link);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.essay-hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); }
.essay-hero .inner { max-width: 56rem; }
.essay-title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.032em;
  margin: 1.25rem 0 1.1rem;
  text-wrap: balance;
}
.essay-subtitle {
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.3;
  color: var(--ink-2);
  margin: 0;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.75rem;
  margin-top: 2.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: .875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.byline strong { color: var(--ink); font-weight: 500; }

.front { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); }
.dedication {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-style: italic;
  line-height: 1.4;
  margin: 0;
  max-width: 30em;
  text-wrap: balance;
}
.preface p { margin: 0 0 1rem; max-width: 36em; color: var(--ink-2); }
.preface .sig { font-family: var(--sans); font-size: .875rem; color: var(--muted); margin-top: 1.25rem; }

.toc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.toc-list li { border-bottom: 1px solid var(--rule); }
.toc-list a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: .25rem 1rem;
  padding-block: 1.1rem;
  text-decoration: none;
}
.toc-list a:hover .toc-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.toc-num, .toc-page {
  font-family: var(--sans);
  font-size: .8125rem;
  color: var(--muted);
  padding-top: .3rem;
  font-variant-numeric: tabular-nums;
}
.toc-page { text-align: right; white-space: nowrap; }
.toc-text { min-width: 0; }
.toc-title { display: block; font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.toc-abstract { display: block; margin-top: .35rem; font-size: 1rem; line-height: 1.5; color: var(--muted); max-width: 40em; }
@media (max-width: 560px) {
  .toc-list a { grid-template-columns: 2.25rem minmax(0, 1fr); padding-block: .9rem; }
  .toc-page, .toc-abstract { display: none; }
}

.essay-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4rem;
  padding-block: 1rem 5rem;
}
.side-toc { display: none; }
@media (min-width: 1140px) {
  .essay-body { grid-template-columns: 13.5rem minmax(0, 1fr); gap: 5rem; }
  .side-toc {
    display: block;
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + 6.5rem);
    align-self: start;
    max-height: calc(100vh - 9rem);
    overflow-y: auto;
  }
}
.side-toc .eyebrow { margin-bottom: .75rem; }
.side-toc ol { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: .8125rem; line-height: 1.4; }
.side-toc a {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  padding: .42rem 0 .42rem .75rem;
  border-left: 1px solid var(--rule);
  color: var(--muted);
  text-decoration: none;
}
.side-toc a:hover { color: var(--ink); }
.side-toc a[aria-current="true"] { color: var(--ink); border-left: 2px solid var(--ink); padding-left: calc(.75rem - 1px); }
.side-toc .n { font-variant-numeric: tabular-nums; }

.article { max-width: 41rem; min-width: 0; font-size: 1.0625rem; line-height: 1.68; }
@media (min-width: 720px) { .article { font-size: 1.1875rem; line-height: 1.7; } }
.article p { margin: 0 0 1.2em; hyphens: manual; }
.article a { color: var(--link); }
.article strong { font-weight: 600; }

.chapter { padding-top: clamp(3rem, 6vw, 4.5rem); }
.chapter + .chapter { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.chapter-head { margin-bottom: 2.25rem; }
.chapter-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: .9rem 0 1rem;
  text-wrap: balance;
}
.motto { font-style: italic; font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.4; color: var(--ink-2); margin: 0 0 1.25rem !important; }
.abstract {
  font-size: 1.0625rem !important;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 !important;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.abstract em { font-style: italic; }
.epigraph { margin: 2rem 0 2.5rem; padding: 0; max-width: 34em; }
.epigraph p { margin: 0 0 .75rem !important; font-size: 1.125rem; line-height: 1.55; }
.epigraph .source {
  font-family: var(--sans);
  font-size: .75rem !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 !important;
}
.epigraph .source .smallcaps { font-variant: normal; }

.article h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.625rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.01em;
  margin: 2.75em 0 .8em;
  text-wrap: balance;
}
.article h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 2.2em 0 .7em;
}
.article blockquote:not(.epigraph) {
  margin: 1.75rem 0;
  padding-left: 1.25rem;
  border-left: 1px solid var(--ink);
  color: var(--ink-2);
}

.exhibit { margin: 2.5rem 0 2.75rem; }
.exhibit .frame {
  background: var(--exhibit);
  border: 1px solid var(--rule);
  padding: clamp(.6rem, 2vw, 1.25rem);
}
.exhibit img { margin-inline: auto; width: 100%; }
.exhibit figcaption {
  margin-top: .85rem;
  font-family: var(--sans);
  font-size: .875rem;
  line-height: 1.55;
  color: var(--muted);
}
.exhibit .fig-label { color: var(--ink); font-weight: 600; margin-right: .35rem; }

.signoff { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.signoff p { margin: 0 !important; font-style: italic; }
.signoff .affil { margin-top: .75rem !important; font-style: normal; font-family: var(--sans); font-size: .875rem; color: var(--muted); }

.chapter.biblio .article-note { color: var(--muted); }
.chapter.biblio h3 { font-size: 1.25rem; }
.chapter.biblio p { font-size: 1rem; line-height: 1.55; padding-left: 1.5em; text-indent: -1.5em; margin-bottom: .8em; color: var(--ink-2); }
.chapter.biblio p.note { padding-left: 0; text-indent: 0; font-style: italic; color: var(--muted); }

.essay-end {
  margin-top: 4rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--rule);
  display: grid;
  gap: 1rem;
}
.essay-end h2 { font-size: 1.5rem; font-weight: 500; margin: 0; line-height: 1.25; }
.essay-end p { margin: 0; color: var(--ink-2); font-size: 1.0625rem; }
.essay-end .actions { margin-top: .5rem; }

.to-contents {
  position: fixed;
  right: calc(env(safe-area-inset-right, 0px) + 16px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  z-index: 8;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem .9rem;
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}
.to-contents.show { opacity: 1; visibility: visible; }
@media (min-width: 1140px) { .to-contents { display: none; } }
@media (prefers-reduced-motion: reduce) { .to-contents { transition: none; } }

/* Legal and simple pages */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem); }
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.024em;
  margin: 1.25rem 0 0;
  text-wrap: balance;
}
.prose { max-width: 40rem; }
.prose h2 { font-size: 1.625rem; font-weight: 500; line-height: 1.25; margin: 2.5rem 0 .75rem; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: 0 0 1rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose a { color: var(--link); }
.updated { font-family: var(--sans); font-size: .875rem; color: var(--muted); margin-top: 1rem; }

@media print {
  .site-header, .side-toc, .progress, .to-contents, .site-footer, .actions { display: none !important; }
  body { background: #fff; color: #000; }
}
