/* ============================================================
   900 LABS — design system
   Paper, ink, and one proofreader's red.
   Newsreader (editorial serif) · Familjen Grotesk (Swedish UI sans)
   Spline Sans Mono (data, labels, status)
   ============================================================ */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, 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: 200 800;
  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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/familjen-grotesk-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/familjen-grotesk-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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Spline Sans Mono";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/spline-sans-mono-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --paper: #f8f5ee;
  --paper-2: #fdfbf6;
  --manila: #efe8d7;
  --dark: #131920;
  --dark-2: #0d1218;

  /* ink */
  --ink: #1b232c;
  --ink-2: #4d5661;
  --ink-3: #79818b;
  --paper-ink: #ece7da;      /* text on dark */
  --paper-ink-2: #a8a89c;    /* muted text on dark */

  /* rules */
  --line: #ddd5c2;
  --line-2: #c3b99f;
  --dark-line: rgba(236, 231, 218, 0.17);

  /* the red pen */
  --red: #ac3a22;
  --red-deep: #8c2d18;
  --red-bright: #d96b45;

  /* type */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Spline Sans Mono", "SF Mono", Menlo, monospace;

  /* rhythm */
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 4.25rem;

  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: var(--red); color: var(--paper); }

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.33 0 0 0 0 0.29 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Utilities ---------- */
.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 52rem; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-read { max-width: 46rem; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 0.8125rem;
  padding: 0.6rem 1rem; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* registration cross — the print-shop “+” */
.plus {
  width: 9px; height: 9px; flex: none;
  background:
    linear-gradient(var(--line-2), var(--line-2)) center / 1px 9px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) center / 9px 1px no-repeat;
}
.ledger .plus, .footer .plus {
  background:
    linear-gradient(var(--dark-line), var(--dark-line)) center / 1px 9px no-repeat,
    linear-gradient(var(--dark-line), var(--dark-line)) center / 9px 1px no-repeat;
}

/* ruled line with crosses at each end */
.reg-rule { display: flex; align-items: center; gap: 0; }
.reg-rule::before, .reg-rule::after { content: none; }
.reg-rule .line { flex: 1; height: 1px; background: var(--line); }
.ledger .reg-rule .line { background: var(--dark-line); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px; flex: none;
  background: var(--red);
}
.eyebrow.no-chip::before { content: none; }
.ledger .eyebrow { color: var(--paper-ink-2); }
.ledger .eyebrow::before { background: var(--red-bright); }

h1, .h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.35rem + 4.6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
h1 em, .h1 em { font-style: italic; font-weight: 460; }

h2, .h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 1.25rem + 2.1vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h3, .h3 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.3rem, 1.15rem + 0.55vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.006em;
}
.lede {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.small { font-size: 0.9375rem; line-height: 1.6; }
.muted { color: var(--ink-2); }
.mono { font-family: var(--mono); }

.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1.15em; }
.prose strong { font-weight: 640; }

a.text-link, .prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.16s var(--ease);
}
a.text-link:hover, .prose a:hover { color: var(--red); }

.arrow-link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 0.15rem;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.arrow-link .a { font-family: var(--mono); transition: transform 0.2s var(--ease); display: inline-block; }
.arrow-link:hover { color: var(--red); border-color: var(--red); }
.arrow-link:hover .a { transform: translateX(4px); }
.ledger .arrow-link { color: var(--paper-ink); border-color: var(--dark-line); }
.ledger .arrow-link:hover { color: var(--red-bright); border-color: var(--red-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  padding: 1.02rem 1.5rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn .a { font-family: var(--mono); font-size: 0.9em; transition: transform 0.2s var(--ease); }
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); }
.btn:hover .a { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-1px); }

.ledger .btn, .footer .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.ledger .btn:hover, .footer .btn:hover { background: var(--red-bright); border-color: var(--red-bright); color: var(--dark-2); }
.ledger .btn-ghost { background: transparent; color: var(--paper-ink); border-color: var(--dark-line); }
.ledger .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { max-width: 84rem; }
.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.wordmark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
}
.wordmark .chip { width: 9px; height: 9px; background: var(--red); flex: none; }
.wordmark:hover .chip { background: var(--ink); }

.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; }
.primary-nav a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink-2);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.16s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a[aria-current="page"]:not(.btn) { color: var(--ink); }
.primary-nav a[aria-current="page"]:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.1rem;
  height: 2px;
  background: var(--red);
}
.utility-nav { display: flex; align-items: center; gap: 0.9rem; padding-left: 1.1rem; border-left: 1px solid var(--line); }
.utility-nav a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-3);
  transition: color 0.16s var(--ease);
}
.utility-nav a:hover, .utility-nav a[aria-current="page"] { color: var(--ink); }
.primary-nav a.btn { color: var(--paper); }
.primary-nav a.btn:hover { color: var(--paper); }
.header-cta { padding: 0.72rem 1.05rem; font-size: 0.8125rem; text-transform: none; letter-spacing: 0.02em; }

@media (max-width: 78rem) {
  .utility-nav { display: none; } /* About · Contact remain in the footer and the drawer */
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-2);
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  flex: none;
}
.nav-toggle .bars { display: block; width: 20px; height: 10px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars::after { top: 8.5px; }
body.nav-open .nav-toggle .bars::before { top: 4px; transform: rotate(45deg); }
body.nav-open .nav-toggle .bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 70rem) {
  .primary-nav, .utility-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }

  .mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 90;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: clamp(1.5rem, 5vw, 3rem) var(--gutter) 3rem;
    display: none;
    flex-direction: column;
    overflow-y: auto;
  }
  body.nav-open .mobile-nav { display: flex; }
  body.nav-open { overflow: hidden; }
  .mobile-nav a.m-item {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: var(--ink);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-nav a.m-item .a { font-family: var(--mono); font-size: 1rem; color: var(--ink-3); }
  .mobile-nav a.m-item[aria-current="page"] { color: var(--red); }
  .mobile-nav .m-footer { margin-top: auto; padding-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
  .mobile-nav .m-utility { display: flex; gap: 1.75rem; }
  .mobile-nav .m-utility a {
    font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--ink-2); text-decoration: none;
  }
  .mobile-nav .btn { justify-content: center; }
}
@media (min-width: 70.01rem) { .mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(4rem, 9vw, 7.5rem); }
.hero .eyebrow { margin-bottom: 2rem; }
.hero h1 { max-width: 21ch; }
.hero .lede { max-width: 54ch; margin-top: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.75rem; align-items: center; }
.hero-foot {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-foot .line { flex: 1; height: 1px; background: var(--line); }
.hero-foot .doc {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

/* load-in */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-rise] {
    opacity: 0;
    transform: translateY(16px);
    animation: rise 0.85s var(--ease) forwards;
  }
  .hero [data-rise="2"] { animation-delay: 0.1s; }
  .hero [data-rise="3"] { animation-delay: 0.2s; }
  .hero [data-rise="4"] { animation-delay: 0.32s; }
  .hero [data-rise="5"] { animation-delay: 0.45s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head .lede { margin-top: 1.25rem; }
.divide { border-top: 1px solid var(--line); }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.two-col .sticky-col { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 56rem) {
  .two-col { grid-template-columns: 1fr; }
  .two-col .sticky-col { position: static; }
}

/* ---------- Ledger (dark sections) ---------- */
.ledger {
  background: var(--dark);
  color: var(--paper-ink);
}
.ledger .muted, .ledger .lede { color: var(--paper-ink-2); }
.ledger h1, .ledger h2, .ledger h3 { color: var(--paper-ink); font-weight: 460; }
.ledger ::selection { background: var(--red-bright); color: var(--dark-2); }
.ledger .prose a, .ledger a.text-link { color: var(--paper-ink); text-decoration-color: var(--red-bright); }
.ledger .prose a:hover, .ledger a.text-link:hover { color: var(--red-bright); }

/* ledger fact list — dotted leaders, like a filed inventory */
.fact-list { list-style: none; }
.fact-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--dark-line);
  font-size: 1.0625rem;
}
.fact-list li:first-child { border-top: 1px solid var(--dark-line); }
.fact-list .idx {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--red-bright);
  flex: none;
  width: 2.1rem;
}
.fact-list .fact { flex: 1; text-wrap: pretty; }
.fact-list strong { font-weight: 560; color: #fff; }
.on-paper .fact-list li { border-color: var(--line); }
.on-paper .fact-list .idx { color: var(--red); }

/* ---------- Disclosure block (the point of the section) ---------- */
.disclosure {
  background: var(--paper);
  color: var(--ink);
  border-top: 4px solid var(--red);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
  max-width: 44rem;
}
.disclosure .d-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.disclosure p { font-size: 1.125rem; line-height: 1.6; text-wrap: pretty; }
.disclosure strong { font-weight: 640; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 56rem) { .card-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--paper);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: background 0.2s var(--ease);
}
.card:hover { background: var(--paper-2); }
.card .eyebrow { font-size: 0.68rem; }
.card h3 { text-wrap: pretty; }
.card .deck {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}
.card .body { color: var(--ink-2); font-size: 1rem; flex: 1; text-wrap: pretty; }
.card .body strong { color: var(--ink); font-weight: 620; }
.card .arrow-link { align-self: flex-start; }

.status-line {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: var(--manila);
}
.status-line .k { color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; flex: none; }

/* secondary full-width card (900 Open on home) */
.card-wide {
  border: 1px solid var(--line);
  border-top: none;
  background: var(--paper);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.card-wide .body { color: var(--ink-2); font-size: 0.975rem; flex: 1 1 26rem; text-wrap: pretty; }
.card-wide h3 { font-size: 1.15rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper-2); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9875rem;
  line-height: 1.5;
}
table.data caption { text-align: left; padding: 1rem 1.25rem 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
table.data th {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink-2);
  padding: 1.1rem 1.25rem 0.8rem;
  border-bottom: 1px solid var(--line-2);
  vertical-align: bottom;
}
table.data td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  min-width: 9rem;
}
table.data tr:last-child td { border-bottom: none; }
table.data td:first-child, table.data th:first-child { padding-left: clamp(1.25rem, 3vw, 1.75rem); }
table.data td strong { font-weight: 620; }
table.data .rowhead { font-weight: 620; }
table.data .num { font-family: var(--mono); font-size: 0.9em; }
table.data .yes { color: var(--ink); font-weight: 620; }
table.data .no { color: var(--red); font-weight: 620; }

/* ---------- Callout / mantra box ---------- */
.callout {
  border-left: 3px solid var(--red);
  background: var(--paper-2);
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.5rem, 3.5vw, 2.5rem);
}
.callout .c-lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  font-style: italic;
  font-weight: 480;
  line-height: 1.35;
  text-wrap: pretty;
}
.callout .c-body { margin-top: 0.9rem; color: var(--ink-2); font-size: 1rem; text-wrap: pretty; }

.pullquote {
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.pullquote .chip { width: 9px; height: 9px; background: var(--red); margin: 0 auto 1.6rem; }
.pullquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 460;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.15rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ---------- Archival panel (scope box, honest labels) ---------- */
.archival {
  background: var(--manila);
  border-top: 2px solid var(--ink);
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.archival::before {
  content: "";
  position: absolute;
  top: 3px; left: 0; right: 0;
  height: 1px;
  background: var(--ink);
}
.archival .a-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.archival .a-title {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.archival .a-title::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.archival .a-id {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.archival p { text-wrap: pretty; }

/* six-field definition list inside scope box */
.scope-fields { list-style: none; }
.scope-fields > li {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px dashed var(--line-2);
}
.scope-fields > li:first-child { border-top: none; padding-top: 0; }
.scope-fields .f-k {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red-deep);
  padding-top: 0.3rem;
}
.scope-fields .f-v { font-size: 1.03rem; line-height: 1.6; text-wrap: pretty; }
.scope-fields .f-v strong { font-weight: 640; }
@media (max-width: 40rem) {
  .scope-fields > li { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* slim variant for “what this is” */
.archival.slim { padding: clamp(1.4rem, 3vw, 1.9rem) clamp(1.6rem, 3.5vw, 2.25rem); }
.archival.slim p { font-size: 1.05rem; line-height: 1.62; }

/* ---------- Statute (Truth Floor) ---------- */
.statute { border-block: 2px solid currentColor; position: relative; }
.statute::before, .statute::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
}
.statute::before { top: 4px; }
.statute::after { bottom: 4px; }

.rule-list { list-style: none; counter-reset: rule; }
.rule-list li {
  counter-increment: rule;
  display: flex;
  gap: 1.4rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--dark-line);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.5;
  text-wrap: pretty;
}
.rule-list li:last-child { border-bottom: none; }
.rule-list li::before {
  content: counter(rule, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--red-bright);
  flex: none;
  padding-top: 0.2rem;
}
.on-paper .rule-list li { border-color: var(--line); }
.on-paper .rule-list li::before { color: var(--red); }

/* ---------- Method steps ---------- */
.step {
  display: grid;
  grid-template-columns: minmax(4.5rem, 7rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4.5vw, 3rem);
  border-top: 1px solid var(--line);
  position: relative;
}
.step .n {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2.6rem, 2rem + 2.4vw, 4.2rem);
  line-height: 0.9;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}
.step .n::after { content: "."; color: var(--red); }
.step h3 { margin-bottom: 0.8rem; text-wrap: pretty; }
.step .prose { color: var(--ink-2); }
.step .anchor {
  position: absolute;
  top: clamp(2rem, 4.5vw, 3rem);
  right: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.18s var(--ease), color 0.18s var(--ease);
}
.step:hover .anchor, .step .anchor:focus-visible { opacity: 1; }
.step .anchor:hover { color: var(--red); }
@media (max-width: 40rem) {
  .step { grid-template-columns: 1fr; gap: 0.75rem; }
  .step .n { font-size: 2.2rem; }
}

/* ---------- Report artifact ---------- */
.artifact {
  border: 1px solid var(--ink);
  background: var(--paper-2);
  position: relative;
}
.artifact .art-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.artifact .art-tag .t { display: flex; align-items: center; gap: 0.6rem; }
.artifact .art-tag .t::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.artifact .art-body { padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem); }
.artifact h3.art-title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 18ch;
  text-wrap: balance;
}
.artifact .art-sub {
  margin-top: 1.15rem;
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  color: var(--ink-2);
  max-width: 46ch;
  line-height: 1.5;
  text-wrap: pretty;
}
.artifact .meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}

/* ---------- Instrument readout (diagnostic example output) ---------- */
.readout {
  background: var(--dark);
  color: var(--paper-ink);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.75;
}
.readout .r-head {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-ink-2);
  border-bottom: 1px solid var(--dark-line);
  padding-bottom: 0.9rem;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.readout .row { display: flex; gap: 1rem; align-items: baseline; padding: 0.2rem 0; }
.readout .k { color: var(--paper-ink-2); flex: none; min-width: 13.5rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.readout .v { color: #fff; }
.readout .sep { height: 1px; background: var(--dark-line); margin: 1rem 0; }
.readout .decision .k { color: var(--red-bright); }
.readout .decision .v { color: var(--red-bright); font-weight: 600; }
@media (max-width: 40rem) {
  .readout .row { flex-direction: column; gap: 0.1rem; padding: 0.45rem 0; }
  .readout .k { min-width: 0; }
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  padding: 0.95rem 1.1rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  border-radius: 0;
  width: 100%;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%231b232c' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.6rem;
}
.inline-form { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: stretch; }
.inline-form .field { flex: 1 1 16rem; }
.inline-form .btn { flex: none; }
.form-note { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-2); letter-spacing: 0.03em; }
.ledger .field input { background: rgba(255,255,255,0.06); border-color: var(--dark-line); color: var(--paper-ink); }
.ledger .field input:focus { border-color: var(--paper-ink); background: rgba(255,255,255,0.1); }
.ledger .field label { color: var(--paper-ink-2); }
.ledger .form-note { color: var(--paper-ink-2); }

/* ---------- Notes index cards ---------- */
.note-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.75rem);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.note-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -24px rgba(27, 35, 44, 0.35);
}
.note-card .n-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}
.note-card .n-meta .m { display: flex; align-items: center; }
.note-card .n-meta .m + .m::before { content: "·"; margin: 0 0.75rem; color: var(--line-2); }
.note-card .n-meta .series { color: var(--red); font-weight: 600; display: flex; align-items: center; gap: 0.55rem; }
.note-card .n-meta .series::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.note-card h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 500; letter-spacing: -0.01em; max-width: 26ch; text-wrap: balance; }
.note-card .standfirst { margin-top: 1rem; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.note-card .n-cta { margin-top: 1.5rem; }

/* ---------- Note article ---------- */
.note-body { font-size: 1.125rem; line-height: 1.72; }
.note-body > * + * { margin-top: 1.35em; }
.note-body h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem);
  margin-top: 2.2em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
}
.note-body strong { font-weight: 640; }
.note-body em { font-style: italic; }
.series-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.series-bar .series { color: var(--red); font-weight: 600; display: flex; align-items: center; gap: 0.6rem; }
.series-bar .series::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.series-bar .sep { color: var(--line-2); }
.series-footer {
  font-style: italic;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  text-wrap: pretty;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-2);
  color: var(--paper-ink);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.footer a { text-decoration: none; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 56rem) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .footer-top { grid-template-columns: 1fr; } }
.footer .f-brand .wordmark { color: var(--paper-ink); font-size: 1.1rem; }
.footer .f-brand .desc {
  margin-top: 1.1rem;
  font-size: 0.975rem;
  color: var(--paper-ink-2);
  line-height: 1.6;
}
.footer .f-brand .tagline {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--paper-ink);
}
.footer .f-col h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-ink-2);
  margin-bottom: 1.2rem;
}
.footer .f-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer .f-col a {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--paper-ink);
  transition: color 0.15s var(--ease);
}
.footer .f-col a:hover { color: var(--red-bright); }
.footer-connect {
  border-top: 1px solid var(--dark-line);
  padding-block: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--paper-ink-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.footer-connect a { color: var(--paper-ink); }
.footer-connect a:hover { color: var(--red-bright); }
.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding-block: 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-bottom p {
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--paper-ink-2);
}
.footer-bottom .correction { color: var(--paper-ink); }
.footer-bottom .correction::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--red-bright);
  margin-right: 0.6rem;
}
.footer-bottom a { color: inherit; text-decoration: underline; text-decoration-color: var(--red-bright); text-underline-offset: 0.2em; }

/* page register — the dated line at the foot of main content */
.page-register {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 2.5rem 0;
}
.page-register .line { flex: 1; height: 1px; background: var(--line); }
.page-register .doc {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
@media (max-width: 40rem) {
  .hero-foot .doc, .page-register .doc { white-space: normal; text-align: center; line-height: 1.8; }
}
/* belt and braces: nothing may force the page wider than the viewport */
html, body { overflow-x: clip; }

/* ---------- The red pen (hand-drawn proof mark) ---------- */
.pen-mark { position: relative; display: inline-block; }
.pen-mark svg {
  position: absolute;
  left: -0.08em;
  bottom: -0.12em;
  width: calc(100% + 0.16em);
  height: 0.3em;
  overflow: visible;
  pointer-events: none;
}
.pen-mark path {
  fill: none;
  stroke: var(--red);
  stroke-width: 3.4;
  stroke-linecap: round;
}
@media (prefers-reduced-motion: no-preference) {
  .pen-mark path {
    stroke-dasharray: 140;
    stroke-dashoffset: 140;
    animation: pen-draw 0.65s cubic-bezier(0.55, 0.1, 0.35, 1) 1.2s forwards;
  }
  @keyframes pen-draw { to { stroke-dashoffset: 0; } }
}

/* ---------- Editorial warmth ---------- */
.dropcap::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.1em;
  line-height: 0.82;
  font-weight: 480;
  color: var(--red-deep);
  padding: 0.05em 0.14em 0 0;
}
/* Standout: the one human line per page, set large. COMPONENT ONLY for now —
   per design-notes-2026-08-09, line assignments wait for the revised copy deck. */
.prose .standout {
  font-style: italic;
  font-size: 1.3em;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}
.specimen {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(6rem, 4rem + 6vw, 10rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-2);
  user-select: none;
}
@supports not (-webkit-text-stroke: 1px black) {
  .specimen { color: var(--manila); }
}

/* ---------- A note from Sam (the only first-person voice on the site) ---------- */
.letter {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  position: relative;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.75rem, 5vw, 3.5rem);
}
.letter::before {
  content: "";
  position: absolute;
  top: 3px; left: 0; right: 0;
  height: 1px;
  background: var(--ink);
}
.letter .letter-head { margin-bottom: 1.75rem; }
.letter .letter-body {
  font-size: clamp(1.1rem, 1.05rem + 0.3vw, 1.225rem);
  line-height: 1.7;
}
.letter .letter-body > p + p { margin-top: 1.15em; }
.letter .letter-sign { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.letter .letter-sign .name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 560;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}
.letter .letter-sign .role {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 0.4rem;
}

/* ---------- Social icons ---------- */
.social-row { display: inline-flex; gap: 0.6rem; }
/* header variant: utility scale, beside About · Contact */
.u-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
  margin: -0.45rem -0.15rem;
  color: var(--ink-3);
  transition: color 0.16s var(--ease);
}
.u-icon svg { width: 0.95rem; height: 0.95rem; display: block; fill: currentColor; }
.u-icon:hover { color: var(--red); }
.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--dark-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-ink-2);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.icon-btn svg { width: 1.05rem; height: 1.05rem; display: block; fill: currentColor; }
.icon-btn:hover { color: var(--red-bright); border-color: var(--red-bright); transform: translateY(-2px); }
.social-row.on-paper .icon-btn, .mobile-nav .social-row .icon-btn { border-color: var(--line-2); color: var(--ink-2); }
.social-row.on-paper .icon-btn:hover, .mobile-nav .social-row .icon-btn:hover { color: var(--red); border-color: var(--red); }
/* 44px touch targets in the drawer, per the copy deck */
.mobile-nav .social-row .icon-btn { width: 2.75rem; height: 2.75rem; }

/* ---------- Misc ---------- */
.cta-band { text-align: left; }
.cta-band .h2 { max-width: 24ch; }
.cta-plain {
  font-size: 1rem;
  color: var(--ink-2);
}
.cta-plain a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.22em; }
.cta-plain a:hover { color: var(--red); }

.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.repo-grid .repo {
  background: var(--paper-2);
  padding: 1.5rem 1.4rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.repo-grid .repo::before { content: ""; width: 7px; height: 7px; background: var(--red); flex: none; }

.def-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.def-grid .def { background: var(--paper); padding: 1.6rem 1.5rem; }
.def-grid .def .k { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 0.6rem; }
.def-grid .def .v { color: var(--ink-2); font-size: 0.975rem; line-height: 1.55; text-wrap: pretty; }

.hairline { height: 1px; background: var(--line); border: none; }

/* status box (fund) */
.notice {
  border: 2px solid var(--red);
  background: var(--paper-2);
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.5rem, 3.5vw, 2.5rem);
}
.notice .n-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.notice p { font-size: 1.05rem; line-height: 1.6; text-wrap: pretty; }
.notice strong { font-weight: 660; }

/* legal small print */
.legal-line {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--ink-3);
}

/* checklist (consulting “say no” conditions) */
.tick-list { list-style: none; }
.tick-list li {
  padding: 0.9rem 0 0.9rem 1.9rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  text-wrap: pretty;
}
.tick-list li:first-child { border-top: 1px solid var(--line); }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.42rem;
  width: 8px; height: 8px;
  background: var(--red);
}

/* definition rows (engagement hypothesis) */
.def-rows { list-style: none; border-top: 1px solid var(--line); }
.def-rows li {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.def-rows .k { font-family: var(--sans); font-weight: 650; font-size: 0.9875rem; letter-spacing: 0.01em; padding-top: 0.1rem; }
.def-rows .v { color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 40rem) {
  .def-rows li { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* 404 */
.err-wrap { min-height: 55vh; display: flex; flex-direction: column; justify-content: center; }

/* ---------- Print ---------- */
@media print {
  .site-header, .footer, .skip-link, .mobile-nav, body::before { display: none !important; }
  body { background: #fff; color: #000; }
  .ledger { background: #fff; color: #000; }
}
