/* Alina Schanz. One stylesheet, no framework.
   Type: Source Serif 4 for display and reading (italic for accents), Jost for labels,
   JetBrains Mono for figures and times. Everything moves only for people
   who have not asked their system to reduce motion. */

@font-face {
  font-family: "Source Serif";
  src: url("/fonts/sourceserif4-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("/fonts/sourceserif4-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #0a0a09;
  --bg-raise: #111110;
  --bg-card: #131312;
  --ink: #ebe8e1;
  --ink-body: #d6d2c9;
  --ink-2: #aeaaa1;
  --ink-3: #8b877f;
  --rule: rgba(235, 232, 225, 0.12);
  --rule-strong: rgba(235, 232, 225, 0.26);
  --hover: rgba(235, 232, 225, 0.035);

  --serif: "Source Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --max: 1440px;
  --pad: clamp(20px, 4.45vw, 64px);
  --gap: clamp(16px, 1.9vw, 28px);
  --sec: clamp(104px, 12vw, 200px);
  --head-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 24px);
  scrollbar-color: #34332f var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 380;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

/* a fine grain over the black, so it has some depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

::selection { background: var(--ink); color: var(--bg); }

img { max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
main { display: block; outline: none; }
em { font-style: italic; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.25s, color 0.25s, background-color 0.25s, border-color 0.25s, opacity 0.35s;
}
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
code { font-family: var(--mono); font-size: 0.82em; color: var(--ink); letter-spacing: -0.01em; }

.sr-only {
  position: absolute !important;
  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: var(--pad);
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 13px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.label {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ico { width: 15px; height: 15px; flex: none; display: inline-block; vertical-align: -0.12em; }
.ico.up { transform: rotate(-90deg); }
.nw { white-space: nowrap; }

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--rule-strong);
  overflow: hidden;
  isolation: isolate;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover { color: var(--bg); border-color: var(--ink); }
.btn:hover::before { transform: none; }
.btn .ico { transition: transform 0.45s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-quiet {
  border-color: transparent;
  padding: 0 4px;
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 15px;
  font-weight: 400;
  overflow: visible;
}
.btn-quiet::before { display: none; }
.btn-quiet::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 12px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transform-origin: right;
  transition: transform 0.5s var(--ease), opacity 0.3s;
}
.btn-quiet:hover { color: var(--ink); border-color: transparent; }
.btn-quiet:hover::after { opacity: 1; animation: underline 0.7s var(--ease); }
@keyframes underline { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ---------- header ---------- */

.site-head { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid transparent; transition: background-color 0.35s, border-color 0.35s; }
/* Without the script nothing marks the header as stuck, so it is solid from the start. */
.no-js .site-head { background: var(--bg); border-bottom-color: var(--rule); }
.site-head.is-stuck {
  background: rgba(10, 10, 9, 0.84);
  border-bottom-color: var(--rule);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--head-h); }
.brand { display: flex; align-items: baseline; gap: 0; margin: 0; min-width: 0; }
.wordmark {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 12px 0;
  white-space: nowrap;
}
.crumb {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.crumb:not(:empty)::before { content: "/"; margin: 0 12px 0 14px; color: var(--rule-strong); }
.crumb.in { opacity: 1; transform: none; }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 40px); list-style: none; }
.nav a {
  position: relative;
  display: inline-block;
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover, .nav a[aria-current], .nav a.is-here { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current]::after, .nav a.is-here::after { transform: scaleX(1); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; overflow: hidden; }
.progress-fill { display: block; height: 100%; background: var(--ink); opacity: 0.75; transform-origin: left; transform: scaleX(0); }

.menu-btn {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 0 0 16px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.menu { position: fixed; z-index: 55; left: 0; right: 0; top: var(--head-h); bottom: 0; background: var(--bg); border-top: 1px solid var(--rule); overflow-y: auto; padding: 12px 0 40px; }
.menu ul { list-style: none; }
.menu li { border-bottom: 1px solid var(--rule); }
.menu li a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.m-num { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; color: var(--ink-3); font-weight: 500; }
/* the page you are on, and the section it sits in, are marked in the menu too */
.menu li a[aria-current] { font-style: italic; }
.menu li a[aria-current] .m-num { color: var(--ink); }
.menu-contact { margin-top: 28px; display: grid; gap: 8px; }
.menu-contact a { font-family: var(--sans); font-size: 18px; text-decoration: none; color: var(--ink); }
html.menu-open { overflow: hidden; }
.no-js .menu-btn { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) li { animation: rise 0.7s var(--ease) both; }
  .menu:not([hidden]) li:nth-child(2) { animation-delay: 0.04s; }
  .menu:not([hidden]) li:nth-child(3) { animation-delay: 0.08s; }
  .menu:not([hidden]) li:nth-child(4) { animation-delay: 0.12s; }
  .menu:not([hidden]) li:nth-child(5) { animation-delay: 0.16s; }
  .menu:not([hidden]) li:nth-child(6) { animation-delay: 0.2s; }
}

/* ---------- hero: a poster with the week of blocks behind the name ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--head-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 64px) 0 clamp(28px, 3.4vw, 48px);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-canvas.on { opacity: 1; }
.hero-light {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 40%), rgba(235, 232, 225, 0.055), transparent 70%);
  transition: opacity 0.6s;
}
.hero.is-lit .hero-light { opacity: 1; }
.cross { position: absolute; z-index: 1; width: 13px; height: 13px; pointer-events: none; opacity: 0.55; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--ink-3); }
.cross::before { left: 6px; top: 0; width: 1px; height: 13px; }
.cross::after { top: 6px; left: 0; height: 1px; width: 13px; }
.cross.tl { left: calc(var(--pad) - 6px); top: 18px; }
.cross.tr { right: calc(var(--pad) - 6px); top: 18px; }
.cross.bl { left: calc(var(--pad) - 6px); bottom: 18px; }
.cross.br { right: calc(var(--pad) - 6px); bottom: 18px; }
@media (min-width: 1569px) {
  .cross.tl, .cross.bl { left: calc((100vw - var(--max)) / 2 + var(--pad) - 6px); }
  .cross.tr, .cross.br { right: calc((100vw - var(--max)) / 2 + var(--pad) - 6px); }
}

.hero-kicker {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 16px;
  margin: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
.hero-clock { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: none; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hero-name {
  font-family: var(--serif);
  font-weight: 220;
  font-size: clamp(64px, 16vw, 236px);
  line-height: 0.86;
  letter-spacing: -0.048em;
  margin: 0.18em 0 0.2em -0.045em;
  white-space: nowrap;
  will-change: transform;
}
.hn-word { display: inline-block; overflow: hidden; padding: 0.1em 0.04em 0.08em; margin: -0.1em -0.04em -0.08em; vertical-align: top; }
.hn-in { display: inline-block; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.hero-lead {
  grid-column: 1 / 9;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.22;
  font-weight: 320;
  letter-spacing: -0.016em;
  margin: -0.12em 0 0;
  text-wrap: balance;
}
.hero-lead em { color: var(--ink-2); letter-spacing: -0.01em; }
.hero-actions { grid-column: 9 / 13; justify-self: end; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 24px; margin: 0; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(28px, 3.4vw, 52px); }
.hero-note { margin: 0; color: var(--ink-3); font-variant-numeric: tabular-nums; max-width: 46em; }
.hero-note-text { transition: color 0.3s; }
.hero-note.is-reading .hero-note-text { color: var(--ink); }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-3); }
.scroll-cue:hover { color: var(--ink); }
.cue-line { position: relative; width: 1px; height: 44px; background: var(--rule); overflow: hidden; }
.cue-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--ink); }

/* ---------- about, right under the hero ---------- */

.about { padding-top: clamp(80px, 9vw, 140px); }
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 18px; position: relative; }
.about-label { grid-column: 1 / 5; margin: 0; padding-top: 6px; color: var(--ink); }
.about-text {
  grid-column: 5 / 13;
  margin: 0;
  font-size: clamp(22px, 2.15vw, 33px);
  line-height: 1.42;
  font-weight: 330;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: pretty;
}
.about-text.is-live .lw { color: rgba(235, 232, 225, 0.2); transition: color 0.5s var(--ease); }
.about-text.is-live .lw.on { color: var(--ink); }

/* ---------- the five focus areas, as a band ---------- */

/* Without the script, or with reduced motion, the band is a centred set of phrases that wraps. */
.ticker {
  margin-top: clamp(80px, 9vw, 140px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.ticker-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28em 1.1em;
  padding: clamp(18px, 2.2vw, 30px) var(--pad);
  font-size: clamp(30px, 3.8vw, 58px);
}
.ticker-list li {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  white-space: nowrap;
}
.ticker-list + .ticker-list { display: none; }
/* With the script: one long line with a mark between phrases, repeated once so it never runs
   out while it slides. */
.ticker.is-live {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker.is-live .ticker-track { display: flex; width: max-content; will-change: transform; }
/* a little smaller than the wrapped form, so the line is never more than about twice the screen */
.ticker.is-live .ticker-list { flex: none; flex-wrap: nowrap; gap: 0; padding-left: 0; padding-right: 0; font-size: clamp(24px, 3vw, 46px); }
.ticker.is-live .ticker-list li::after {
  content: "";
  width: 0.2em;
  height: 0.2em;
  margin: 0 0.9em;
  border: 1px solid var(--ink-3);
  transform: rotate(45deg) translateY(-0.05em);
}
.ticker.is-live .ticker-list + .ticker-list { display: flex; }

/* ---------- sections ---------- */

.section { padding-top: var(--sec); }
/* A link to a section lands on its heading rule, not on the empty space above it. */
.section { scroll-margin-top: calc(24px - var(--sec)); }
.about { scroll-margin-top: calc(24px - clamp(80px, 9vw, 140px)); }
.sec-head {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-top: 18px;
  margin-bottom: clamp(52px, 6.5vw, 104px);
}
.sec-head::before, .about-grid::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--rule-strong);
  transform-origin: left;
}
.sec-index { grid-column: 1 / 5; display: flex; gap: 16px; margin: 0; padding-top: 4px; }
.sec-index .n { color: var(--ink); font-family: var(--mono); letter-spacing: 0.04em; }
.sec-titles { grid-column: 5 / 13; }
.sec-title { font-weight: 250; font-size: clamp(44px, 6.2vw, 100px); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
.sec-title em { font-weight: 400; letter-spacing: -0.035em; color: var(--ink-2); }
.w { display: inline-block; overflow: hidden; padding: 0.06em 0.03em 0.16em; margin: -0.06em -0.03em -0.16em; vertical-align: top; }
.wi { display: inline-block; }
.sec-lead { margin: 28px 0 0; max-width: 33em; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--ink-2); }

.tabs { display: flex; flex-wrap: wrap; gap: 4px clamp(20px, 2.6vw, 36px); border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
.tabs button {
  position: relative;
  min-height: 46px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.25s;
}
.tabs button:hover { color: var(--ink-2); }
.tabs button[aria-pressed="true"] { color: var(--ink); }
.tabs button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.tabs button[aria-pressed="true"]::after { transform: scaleX(1); }
.tabs .count { margin-left: 4px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.02em; }

/* ---------- selected work: an index of companies ---------- */

.co-list { list-style: none; }
.co-link {
  position: relative;
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 5fr) minmax(0, 6fr) minmax(0, 2.4fr) 2rem;
  column-gap: var(--gap);
  align-items: baseline;
  padding: clamp(22px, 2.4vw, 34px) 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.co-link::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); background: var(--hover); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.co-link:hover::before, .co-link:focus-visible::before { opacity: 1; }
.co-num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }
.co-name {
  font-size: clamp(32px, 3.9vw, 62px);
  line-height: 1;
  font-weight: 260;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: transform 0.7s var(--ease);
}
.co-what { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 30em; transition: color 0.35s; }
.co-sector { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.co-go { justify-self: end; color: var(--ink-3); transition: transform 0.5s var(--ease), color 0.3s; }
.co-link:hover .co-name { transform: translateX(14px); }
.co-link:hover .co-what { color: var(--ink-body); }
.co-link:hover .co-go { color: var(--ink); transform: translate(3px, -3px); }
.co-list:hover .co-row:not(:hover) .co-link { opacity: 0.32; }

/* a quiet link under a section's lead, and under the About paragraph */
.sec-more, .about-more { margin: 22px 0 0; }
.sec-more .btn-quiet, .about-more .btn-quiet { padding-left: 0; }
.sec-more .btn-quiet::after, .about-more .btn-quiet::after { left: 0; }
.about-body { grid-column: 5 / 13; }

/* case studies: engraved plates in a two-column grid */
.cs-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.cs-item { display: flex; }
.cs-card { display: flex; flex-direction: column; width: 100%; border: 1px solid var(--rule-strong); background: var(--bg-card); text-decoration: none; transition: border-color 0.45s var(--ease), transform 0.6s var(--ease); }
.cs-card:hover { border-color: rgba(235, 232, 225, 0.5); transform: translateY(-4px); }
.cs-plate { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; border-bottom: 1px solid var(--rule); background: #0d0d0c; }
.cs-plate canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.cs-card:hover .cs-plate canvas { transform: scale(1.04); }
.cs-n { position: absolute; left: 16px; top: 14px; font-family: var(--mono); letter-spacing: 0.04em; color: var(--ink-2); }
.cs-text { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: clamp(22px, 2.4vw, 34px); }
.cs-kicker { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-3); }
.cs-name { font-size: clamp(34px, 3.6vw, 56px); line-height: 0.98; font-weight: 250; letter-spacing: -0.035em; color: var(--ink); }
.cs-topic { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.3; font-weight: 340; color: var(--ink); text-wrap: balance; }
.cs-dek { font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.cs-read { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.cs-read .ico { transition: transform 0.45s var(--ease); }
.cs-card:hover .cs-read .ico { transform: translateX(5px); }
.cs-grid.is-all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-grid.is-all .cs-name { font-size: clamp(30px, 2.8vw, 44px); }

/* investments: a dated list, shown only once there is one */
.inv-list { list-style: none; border-top: 1px solid var(--rule); }
.inv-link { display: grid; grid-template-columns: 9rem minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr) 2rem; column-gap: var(--gap); align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.inv-name { font-size: clamp(26px, 2.6vw, 40px); line-height: 1; font-weight: 260; letter-spacing: -0.03em; color: var(--ink); }
.inv-what { font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.inv-round { color: var(--ink-3); }

.co-preview {
  position: fixed;
  left: 0; top: 0;
  z-index: 40;
  width: 300px;
  height: 196px;
  pointer-events: none;
  opacity: 0;
  background: #0d0d0c;
  border: 1px solid var(--rule-strong);
  will-change: transform, opacity;
  transition: opacity 0.35s var(--ease);
}
.co-preview.on { opacity: 1; }
.co-preview canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.co-preview::before, .co-preview::after { content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid var(--ink-2); z-index: 1; }
.co-preview::before { left: -5px; top: -5px; border-right: 0; border-bottom: 0; }
.co-preview::after { right: -5px; bottom: -5px; border-left: 0; border-top: 0; }
.cp-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 13px; background: linear-gradient(transparent, rgba(13, 13, 12, 0.94) 38%); }
.cp-name { font-size: 22px; line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); }
.cp-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--ink-2); }

/* ---------- how I work: a rail keeps the current step in view ---------- */

.method-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.mt-rail { grid-column: 1 / 4; }
.mt-sticky { position: sticky; top: calc(var(--head-h) + 48px); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: end; }
.mt-current { grid-row: 1 / 3; font-weight: 200; font-size: clamp(84px, 9.4vw, 152px); line-height: 0.82; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.mt-current.flip { animation: flip 0.7s var(--ease); }
.mt-of { grid-column: 2; grid-row: 2; padding-bottom: 0.4em; }
.mt-bar { grid-column: 2; grid-row: 1; justify-self: start; align-self: stretch; width: 1px; min-height: 64px; background: var(--rule); position: relative; overflow: hidden; }
.mt-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(0.2); transition: transform 0.7s var(--ease); }
.method { list-style: none; grid-column: 4 / 13; border-top: 1px solid var(--rule); }
.mt-step { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gap); padding: clamp(30px, 3.2vw, 46px) 0 clamp(32px, 3.4vw, 48px); border-bottom: 1px solid var(--rule); }
.mt-num { grid-column: 1 / 6; grid-row: 1; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; line-height: 1.4; color: var(--ink-3); margin-bottom: 14px; }
.mt-main { grid-column: 1 / 6; grid-row: 2; }
.mt-title { font-size: clamp(26px, 2.4vw, 38px); line-height: 1.12; font-weight: 300; letter-spacing: -0.02em; }
.mt-text { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 32em; }
.mt-meta { grid-column: 6 / 10; grid-row: 1 / 3; display: grid; gap: 18px; align-content: start; }
.mt-meta dt, .tc-meta dt, .contact-facts dt, .contact-context dt, .doc-meta dt {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mt-meta dd { margin-top: 6px; font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink-body); }

/* ---------- thesis: a plain list, and a stack of cards where the screen has room ---------- */

.thesis-stack { list-style: none; display: grid; gap: var(--gap); }
.thesis-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 54px);
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
}
.thesis-card::after { content: ""; position: absolute; inset: -1px; background: var(--bg); opacity: calc(var(--cover, 0) * 0.72); pointer-events: none; }
/* site.js adds .is-stacking only when every card fits on the screen below the header */
.thesis-stack.is-stacking { gap: 0; }
.thesis-stack.is-stacking .thesis-card {
  position: sticky;
  top: calc(var(--head-h) + 28px);
  margin-bottom: 14vh;
  box-shadow: 0 -24px 60px -20px rgba(0, 0, 0, 0.75);
  transform-origin: 50% 0;
  will-change: transform;
}
.thesis-stack.is-stacking .thesis-card:last-child { margin-bottom: 0; }
/* each card's own sticky offset is set by site.js, 16px below the one before it */
.tc-head { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; column-gap: var(--gap); align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.tc-num { font-family: var(--mono); letter-spacing: 0.04em; color: var(--ink); }
.tc-area { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }
.tc-of { font-family: var(--mono); letter-spacing: 0.04em; }
.tc-pos { margin: clamp(26px, 3vw, 44px) 0 clamp(26px, 3vw, 40px); font-size: clamp(28px, 3.2vw, 50px); line-height: 1.12; font-weight: 280; letter-spacing: -0.026em; text-wrap: balance; max-width: 20em; }
.tc-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: calc(var(--gap) * 1.6); }
.tc-body { color: var(--ink-2); font-size: 17px; line-height: 1.62; }
.tc-body p { margin: 0 0 0.9em; max-width: 34em; }
.tc-body p:last-child { margin-bottom: 0; }
.tc-meta { padding-left: calc(var(--gap) * 1.2); border-left: 1px solid var(--rule); align-self: start; }
.tc-meta dd { margin-top: 8px; font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--ink-body); }

/* ---------- now ---------- */

.live { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; }
.now-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); border-top: 1px solid var(--rule); }
.now-item { border-bottom: 1px solid var(--rule); }
.now-link { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) 1.4rem; align-content: start; column-gap: 12px; row-gap: 10px; padding: 28px 0 30px; text-decoration: none; height: 100%; }
.now-num { grid-column: 1; grid-row: 1; padding-top: 0.5em; font-family: var(--mono); letter-spacing: 0.04em; }
.now-title { grid-column: 2; grid-row: 1; font-size: clamp(23px, 2vw, 30px); line-height: 1.18; font-weight: 300; letter-spacing: -0.016em; color: var(--ink); }
.now-text { grid-column: 2; grid-row: 2; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); max-width: 30em; }
.now-go { grid-column: 3; grid-row: 1; justify-self: end; padding-top: 0.45em; color: var(--ink-3); transition: transform 0.45s var(--ease), color 0.3s; }
.now-link:hover .now-title { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--rule-strong); text-underline-offset: 0.2em; }
.now-link:hover .now-go { color: var(--ink); transform: translateX(4px); }

/* ---------- memos ---------- */

.memo-cards { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.memo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: clamp(26px, 2.8vw, 44px);
  border: 1px solid var(--rule-strong);
  background: linear-gradient(180deg, rgba(235, 232, 225, 0.02), transparent 60%);
  text-decoration: none;
  transition: border-color 0.45s var(--ease), transform 0.6s var(--ease), background-color 0.45s;
}
.memo-card:hover { border-color: rgba(235, 232, 225, 0.5); transform: translateY(-6px); background-color: rgba(235, 232, 225, 0.02); }
.mc-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.mc-top time { font-family: var(--mono); letter-spacing: 0.02em; text-transform: none; }
.mc-cat { color: var(--ink-2); }
.mc-title { font-size: clamp(28px, 2.7vw, 42px); line-height: 1.08; font-weight: 280; letter-spacing: -0.026em; color: var(--ink); text-wrap: balance; }
.mc-abs { font-size: 16.5px; line-height: 1.58; color: var(--ink-2); flex: 1; }
.mc-read { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); margin-top: 8px; }
.mc-read .ico { transition: transform 0.45s var(--ease); }
.memo-card:hover .mc-read .ico { transform: translateX(5px); }

/* ---------- outside work: a small museum plate ---------- */

.human { padding-top: var(--sec); }
.human-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-top: 18px; border-top: 1px solid var(--rule); }
.human-plate { grid-column: 1 / 5; margin: 0; }
.hp-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--rule-strong); }
.hp-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 38%; filter: grayscale(1) contrast(1.12) brightness(0.82); transform: scale(1.14); will-change: transform; }
.hp-frame::before, .hp-frame::after { content: ""; position: absolute; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.hp-frame::before { left: -4px; top: -4px; }
.hp-frame::after { right: -4px; bottom: -4px; }
.human-plate figcaption { margin-top: 14px; }
.human-copy { grid-column: 6 / 12; padding-bottom: 6px; }
.human-label { margin: 0 0 22px; color: var(--ink); }
.human-text { margin: 0; font-size: clamp(22px, 2.15vw, 32px); line-height: 1.38; font-weight: 320; letter-spacing: -0.012em; color: var(--ink-body); text-wrap: pretty; }

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

.contact { padding-bottom: var(--sec); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; }
.contact-handle-wrap { grid-column: 1 / -1; margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.contact-handle {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.14em;
  font-weight: 240;
  font-size: clamp(48px, 7.6vw, 124px);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: 0.1em;
  margin-left: -0.04em;
}
.contact-handle .ico { width: 0.3em; height: 0.3em; margin-top: 0.14em; color: var(--ink-3); transition: transform 0.6s var(--ease), color 0.3s; }
.contact-handle:hover .ico, .contact-handle:focus-visible .ico { color: var(--ink); transform: translate(0.05em, -0.05em); }
.contact-handle::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--rule-strong); }
.contact-handle::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease); }
.contact-handle:hover::after, .contact-handle:focus-visible::after { transform: scaleX(1); }
.contact-context { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); }
.contact-context div { padding: 18px 0 22px; border-top: 1px solid var(--rule); }
.contact-context dd { margin-top: 8px; font-size: 16.5px; line-height: 1.55; color: var(--ink-body); }
.contact-facts { grid-column: 1 / 5; grid-row: 2; display: grid; gap: 22px; align-content: start; padding-top: 18px; }
.contact-facts dd { margin-top: 6px; font-family: var(--sans); font-size: 16px; line-height: 1.5; }

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

.site-foot { border-top: 1px solid var(--rule); padding: clamp(56px, 7vw, 104px) 0 28px; overflow: hidden; }
.foot-mark { margin: 0 0 0 -0.055em; font-weight: 200; font-size: clamp(56px, 13.4vw, 216px); line-height: 0.82; letter-spacing: -0.05em; white-space: nowrap; color: var(--ink); }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 36px; margin-top: clamp(48px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--rule); }
.foot-col { grid-column: span 4; }
.foot-col:first-child { grid-column: 1 / 5; }
.foot-col:nth-child(2) { grid-column: 9 / 13; }
.foot-col ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.foot-col a { font-family: var(--sans); font-size: 15px; text-decoration: none; color: var(--ink-2); }
.foot-col a:hover { color: var(--ink); }
.foot-col a .ico { width: 12px; height: 12px; margin-left: 2px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.foot-clock { font-variant-numeric: tabular-nums; }
.to-top { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.to-top:hover { color: var(--ink); }

/* ---------- documents: memo pages and the 404 page ---------- */

.doc { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(80px, 9vw, 140px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.doc-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: clamp(40px, 6vw, 96px) 0 clamp(40px, 4.5vw, 64px); }
.doc-kicker { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 clamp(22px, 2.5vw, 34px); padding-bottom: 16px; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.doc-title { grid-column: 1 / 12; font-weight: 250; font-size: clamp(40px, 5.8vw, 92px); line-height: 1; letter-spacing: -0.036em; text-wrap: balance; }
.doc-dek { grid-column: 1 / 9; margin: clamp(24px, 2.6vw, 36px) 0 0; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.42; font-weight: 350; color: var(--ink-2); text-wrap: pretty; }
.doc-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px clamp(28px, 4vw, 64px); margin-top: clamp(28px, 3vw, 44px); }
.doc-meta dd { margin-top: 6px; font-family: var(--sans); font-size: 15px; color: var(--ink); }
.doc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(16px, 2vw, 32px); }
.doc-toc { grid-column: 1 / 4; position: sticky; top: calc(var(--head-h) + 28px); align-self: start; }
.doc-toc ol { list-style: none; margin-top: 14px; border-left: 1px solid var(--rule); }
.doc-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-family: var(--sans); font-size: 14px; line-height: 1.4; text-decoration: none; color: var(--ink-3); }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a[aria-current] { color: var(--ink); border-left-color: var(--ink); }
.doc-body { grid-column: 4 / 12; min-width: 0; }
.prose { color: var(--ink-body); font-size: 18.5px; line-height: 1.65; }
.prose > p, .prose section > p { max-width: 38em; }
.prose strong { font-weight: 600; color: var(--ink); }
.b-h2 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin: 64px 0 22px; padding-top: 16px; border-top: 1px solid var(--rule); }
.doc-body > .b-h2:first-child { margin-top: 0; }
.b-code { margin: 20px 0 26px; padding: 16px 20px; background: var(--bg-raise); border: 1px solid var(--rule); overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; color: var(--ink); max-width: 44em; }
.b-list { list-style: none; margin: 14px 0 30px; border-top: 1px solid var(--rule); counter-reset: item; max-width: 40em; }
.b-list li { position: relative; padding: 14px 0 15px 2.4em; border-bottom: 1px solid var(--rule); }
ul.b-list li::before { content: ""; position: absolute; left: 0; top: 1.42em; width: 0.95em; height: 1px; background: var(--ink-3); }
ol.b-list li::before { counter-increment: item; content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 17px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); }
.b-links { list-style: none; margin: 18px 0 8px; border-top: 1px solid var(--rule); max-width: 860px; }
.b-links li { border-bottom: 1px solid var(--rule); }
.b-links a { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) auto; column-gap: var(--gap); align-items: baseline; padding: 17px 12px 18px; margin: 0 -12px; text-decoration: none; transition: background-color 0.3s; }
.b-links a:hover { background: var(--hover); }
.l-label { color: var(--ink); font-size: 18px; line-height: 1.35; }
.l-note { color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.l-go { color: var(--ink-3); transition: transform 0.4s var(--ease), color 0.3s; }
.b-links a:hover .l-go { color: var(--ink); transform: translateX(3px); }
.doc-end { display: grid; grid-template-columns: 1fr; gap: var(--gap); margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--rule); }
.doc-end h2 { color: var(--ink); margin-bottom: 14px; }
.doc-end ul { list-style: none; display: grid; gap: 12px; }
.doc-end li { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); padding-left: 1.4em; position: relative; }
.doc-end li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.7em; height: 1px; background: var(--ink-3); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(72px, 8vw, 120px); border-top: 1px solid var(--rule-strong); }
.pager-link { display: flex; flex-direction: column; gap: 12px; padding: 22px 0 8px; text-decoration: none; }
.pager-link.next { text-align: right; align-items: flex-end; }
.pager-title { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; font-weight: 340; max-width: 22em; transition: color 0.25s; color: var(--ink-2); }
.pager-link:hover .pager-title { color: var(--ink); }

/* ---------- case pages ---------- */

.case .doc-title { font-size: clamp(64px, 11vw, 184px); line-height: 0.88; font-weight: 220; letter-spacing: -0.05em; margin-left: -0.04em; }
.case .doc-dek { grid-column: 1 / 10; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.42; color: var(--ink-body); }
.case-site { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-2); }
.case-site:hover { color: var(--ink); }
.case-plate { position: relative; height: clamp(220px, 30vw, 440px); border: 1px solid var(--rule-strong); background: #0d0d0c; overflow: hidden; }
.case-plate canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-plate::before, .case-plate::after { content: ""; position: absolute; z-index: 1; width: 9px; height: 9px; border: 1px solid var(--ink-2); }
.case-plate::before { left: 16px; top: 16px; border-right: 0; border-bottom: 0; }
.case-plate::after { right: 16px; bottom: 16px; border-left: 0; border-top: 0; }
.case-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(64px, 8vw, 120px); padding-top: 18px; border-top: 1px solid var(--rule); }
.case-label { grid-column: 1 / 4; margin: 0; padding-top: 7px; color: var(--ink); }
.case-p { grid-column: 4 / 11; margin: 0 0 1em; max-width: 36em; font-size: clamp(19px, 1.45vw, 22px); line-height: 1.62; color: var(--ink-body); text-wrap: pretty; }
.case-sec .fig { grid-column: 1 / -1; }
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px var(--gap); }
.case-meta dd { line-height: 1.45; color: var(--ink-body); }
.case-meta dd a { text-decoration-color: var(--rule-strong); }

/* index pages and About share the document header; their body runs in the right-hand column */
.page-index .doc-head, .page-about .doc-head { padding-bottom: clamp(32px, 4vw, 56px); }
.page-index .tabs { margin-top: 8px; }
.index-foot { margin: 28px 0 0; color: var(--ink-3); }
.index-foot a { color: var(--ink-2); }
.ab-col { grid-column: 4 / 13; }
.ab-col .case-p { margin-bottom: 18px; }
.ab-col .b-links { max-width: none; margin-top: 4px; }
.ab-wide { grid-column: 1 / -1; }
.ab-method .ab-wide { margin-top: 28px; }
.ab-human { border-top: 0; }
.ab-human .human-grid { border-top: 1px solid var(--rule); }
.ab-contact .ab-wide { margin-top: 28px; }
.case-related .b-links { margin-top: 0; }

/* materials: the public page that goes with a case, then further links */
.case-materials .mt { grid-column: 4 / 13; display: grid; gap: clamp(28px, 3vw, 44px); }
.mt-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--rule-strong); background: var(--bg-card); text-decoration: none; transition: border-color 0.45s var(--ease); }
.mt-card:hover { border-color: rgba(235, 232, 225, 0.5); }
.mt-shot { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0d0d0c; border-right: 1px solid var(--rule); }
.mt-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.06) brightness(0.86); transition: filter 0.6s var(--ease), transform 1.2s var(--ease); }
.mt-card:hover .mt-shot img, .mt-card:focus-visible .mt-shot img { filter: none; transform: scale(1.02); }
.mt-taken { position: absolute; z-index: 1; left: 12px; bottom: 10px; padding: 4px 7px 3px; background: rgba(10, 10, 9, 0.82); color: var(--ink-2); font-size: 10.5px; }
/* no screenshot to show: a plate engraved from the page's title, with the title set on it */
.mt-shot.is-cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mt-shot.is-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(13, 13, 12, 0) 25%, rgba(13, 13, 12, 0.9)); }
.mt-cover-t { position: absolute; z-index: 1; left: clamp(18px, 2.4vw, 32px); right: clamp(18px, 2.4vw, 32px); bottom: clamp(44px, 4.4vw, 60px); font-size: clamp(28px, 3.2vw, 50px); line-height: 1.02; font-weight: 260; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.mt-cover-s { position: absolute; z-index: 1; left: clamp(18px, 2.4vw, 32px); bottom: clamp(16px, 1.8vw, 24px); color: var(--ink-2); }
.mt-text { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 36px); }
.mt-src { color: var(--ink-3); }
.mt-title { font-size: clamp(22px, 2vw, 30px); line-height: 1.15; font-weight: 300; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.mt-title .ico { width: 0.62em; height: 0.62em; vertical-align: 0.04em; color: var(--ink-3); transition: transform 0.45s var(--ease), color 0.3s; }
.mt-card:hover .mt-title .ico { color: var(--ink); transform: translate(2px, -2px); }
.mt-note { font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.mt-more > .label { margin: 0 0 4px; }
.mt-intro { margin: 0 0 -8px; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.mt-more .b-links { margin-top: 10px; }

/* ---------- figures: diagrams and schematics on a plate ---------- */

.fig { margin: clamp(36px, 4.4vw, 64px) 0 0; }
.fig + .fig { margin-top: clamp(28px, 3vw, 44px); }
.fig-plate { position: relative; padding: clamp(22px, 2.6vw, 40px); border: 1px solid var(--rule-strong); background: var(--bg-card); }
.fig-plate::before, .fig-plate::after { content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid var(--ink-2); }
.fig-plate::before { left: -5px; top: -5px; border-right: 0; border-bottom: 0; }
.fig-plate::after { right: -5px; bottom: -5px; border-left: 0; border-top: 0; }
.fig-tag { display: flex; gap: 18px; margin: 0 0 clamp(24px, 2.8vw, 40px); padding-bottom: 14px; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.fig-n { font-family: var(--mono); text-transform: none; letter-spacing: 0.04em; color: var(--ink); }
.fig-note { margin: 20px 0 0; text-align: right; color: var(--ink-3); }
.fig-cap { margin-top: 14px; max-width: 46em; font-family: var(--sans); font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }

/* 1. mint and redeem: two lines, four stops each; the redeem stops sit under the ones they undo */
.mech { display: grid; gap: clamp(36px, 4vw, 56px); }
.mech-line { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: var(--gap); align-items: start; }
.mech-dir { margin: 0; line-height: 11px; color: var(--ink); }
.is-redeem .mech-dir { color: var(--ink-2); }
.mech-stops { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 30px; }
.mech-stops::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--ink-2); transform-origin: left; }
.mech-stops::after { content: ""; position: absolute; top: 1px; right: 0; width: 8px; height: 8px; border-top: 1px solid var(--ink-2); border-right: 1px solid var(--ink-2); transform: rotate(45deg); }
/* the redeem line runs on a little past its first stop, so its arrow is not hidden under the dot */
.is-redeem .mech-stops::before { left: -20px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 6px, transparent 6px 11px); transform-origin: right; }
.is-redeem .mech-stops::after { right: auto; left: -20px; border-color: var(--ink-3); transform: rotate(-135deg); }
.mech-stops li { position: relative; grid-row: 1; display: flex; flex-direction: column; gap: 8px; padding-right: 8px; }
.mech-stops li::before { content: ""; position: absolute; left: 0; top: -30px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--ink); background: var(--bg-card); }
.is-redeem .mech-stops li::before { border-color: var(--ink-3); }
.is-redeem .mech-stops li:nth-child(1) { grid-column: 4; }
.is-redeem .mech-stops li:nth-child(2) { grid-column: 3; }
.is-redeem .mech-stops li:nth-child(3) { grid-column: 2; }
.is-redeem .mech-stops li:nth-child(4) { grid-column: 1; }
/* sentence case, so USDe keeps its lower-case e */
.ms-k { font-family: var(--sans); font-size: 14.5px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.3; color: var(--ink); }
.is-redeem .ms-k { color: var(--ink-2); }
.ms-d { font-size: 16px; line-height: 1.45; color: var(--ink-2); max-width: 15em; }

/* 2. funding: an SVG stretched to its box, with the words laid over it in HTML */
.fund { position: relative; aspect-ratio: 1000 / 400; }
.fund-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fund-svg *, .scen-svg *, .defi-wires * { vector-effect: non-scaling-stroke; }
.f-window { fill: rgba(235, 232, 225, 0.045); }
.f-axis { stroke: var(--rule-strong); stroke-width: 1; }
.f-sep { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 3 5; }
.f-area { fill: rgba(235, 232, 225, 0.1); }
.f-rate { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linejoin: round; }
.f-rate.is-neg { stroke: var(--ink); stroke-width: 1.8; }
.f-reserve { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.fund-l { position: absolute; white-space: nowrap; line-height: 1.2; }
.l-rate { left: 0; top: 0; color: var(--ink-2); }
.l-paid, .l-pay { left: 0; font-size: 15px; font-style: italic; color: var(--ink-3); }
.l-paid { top: calc(37.5% - 28px); }
.l-pay { top: calc(37.5% + 10px); }
.l-window { left: 67%; top: 0; transform: translateX(-50%); color: var(--ink); }
.l-reserve { left: 0; top: calc(65.5% + 8px); color: var(--ink-2); }

/* 3. the five pressures */
.scen { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px var(--gap); }
.scen-i { display: grid; gap: 10px; align-content: start; }
.scen-svg { display: block; width: 100%; height: auto; aspect-ratio: 200 / 110; overflow: visible; border-bottom: 1px solid var(--rule); }
.scen-n { margin-top: 6px; font-family: var(--mono); letter-spacing: 0.04em; color: var(--ink-3); }
.scen-t { font-size: 17px; line-height: 1.3; color: var(--ink); }
.g-zero { fill: none; stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 2 4; }
.g-line { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.g-faint { fill: none; stroke: var(--ink-3); stroke-width: 1; }
.g-fill { fill: rgba(235, 232, 225, 0.09); }
.g-bar { fill: var(--ink-2); }
.g-dim { opacity: 0.42; }

/* 4. where USDe goes once it leaves the protocol */
.defi { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 5fr); }
.defi-core { grid-column: 1; grid-row: 1; align-self: center; display: flex; flex-direction: column; gap: 2px; padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--ink-2); }
.dc-t { font-size: clamp(30px, 3.1vw, 48px); line-height: 1.05; font-weight: 260; letter-spacing: -0.03em; color: var(--ink); }
.dc-d { margin-top: 14px; color: var(--ink-3); }
/* the wires stretch to whatever height the three uses take, and end on their dots */
.defi-wires-box { grid-column: 2; grid-row: 1; position: relative; }
.defi-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.defi-wires path { fill: none; stroke: var(--ink-2); stroke-width: 1; }
.defi-uses { grid-column: 3; grid-row: 1; list-style: none; display: grid; grid-template-rows: repeat(3, 1fr); }
.defi-uses li { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 96px; padding: 12px 0 12px 26px; }
.defi-uses li::before { content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-radius: 50%; border: 1px solid var(--ink); background: var(--bg-card); }
.du-k { color: var(--ink); }
.du-t { font-size: 17px; line-height: 1.4; color: var(--ink-2); }
.defi-loop { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; gap: 18px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.defi-loop-svg { flex: none; width: 40px; height: 40px; }
.defi-loop-svg path { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* flow: numbered stops on a line, left to right */
.flow { position: relative; list-style: none; display: grid; column-gap: var(--gap); padding-top: 34px; }
.flow.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flow.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow.n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--ink-2); transform-origin: left; }
.flow::after { content: ""; position: absolute; top: 1px; right: 0; width: 8px; height: 8px; border-top: 1px solid var(--ink-2); border-right: 1px solid var(--ink-2); transform: rotate(45deg); }
.flow li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-right: 10px; }
.flow li::before { content: ""; position: absolute; left: 0; top: -34px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--ink); background: var(--bg-card); }
.flow li:last-child::before { background: var(--ink); }
.fw-n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); }
.fw-k { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.15; font-weight: 320; letter-spacing: -0.01em; color: var(--ink); }
.fw-d { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); max-width: 15em; }

/* layers: bands stacked top to bottom, joined by a short stem */
.layers { list-style: none; display: grid; gap: 12px; }
.ly-row { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: var(--gap); align-items: center; padding: 18px clamp(16px, 2vw, 24px); border: 1px solid var(--rule-strong); }
.ly-row + .ly-row::before { content: ""; position: absolute; left: 50%; top: -13px; width: 1px; height: 12px; background: var(--ink-3); }
.ly-row.is-faint { border-style: dashed; }
.ly-row.is-faint .ly-k, .ly-row.is-faint .ly-chip { color: var(--ink-3); }
.ly-row.is-faint .ly-chip { border-style: dashed; }
.ly-row.is-warn { border-color: var(--ink-2); background: repeating-linear-gradient(135deg, rgba(235, 232, 225, 0.04) 0 7px, transparent 7px 14px); }
.ly-k { margin: 0; color: var(--ink); }
.ly-items { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ly-chip { padding: 7px 12px 8px; border: 1px solid var(--rule-strong); background: var(--bg-card); font-size: 16px; line-height: 1.3; color: var(--ink-body); }

/* grid: named things, sometimes numbered */
.grid { list-style: none; display: grid; gap: 0 var(--gap); }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid li { display: flex; flex-direction: column; gap: 10px; padding: 18px 0 22px; border-top: 1px solid var(--ink-2); }
.gr-n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); }
.gr-k { font-size: clamp(21px, 1.8vw, 28px); line-height: 1.18; font-weight: 300; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.gr-d { font-family: var(--sans); font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.fig-grid.is-small .gr-k { font-size: clamp(17px, 1.35vw, 20px); }

/* compare: columns side by side */
.cmp { display: grid; border: 1px solid var(--rule-strong); }
.cmp.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmp.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmp-col { padding: clamp(20px, 2.4vw, 32px); }
.cmp-col + .cmp-col { border-left: 1px solid var(--rule-strong); }
.cmp-n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.cmp-k { margin: 12px 0 0; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; font-weight: 300; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.cmp-items { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.cmp-items li { position: relative; padding-left: 1.3em; font-size: 16.5px; line-height: 1.45; color: var(--ink-body); }
.cmp-items li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.7em; height: 1px; background: var(--ink-3); }

/* split: one thing, wired to two or three */
.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 5fr); }
.sp-from { grid-column: 1; grid-row: 1; align-self: center; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--ink-2); }
.sp-fk { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.08; font-weight: 280; letter-spacing: -0.02em; color: var(--ink); }
/* sentence case, so sUSDe keeps its lower-case s */
.sp-fd { font-size: 13.5px; letter-spacing: 0.02em; text-transform: none; color: var(--ink-3); }
.sp-wires-box { grid-column: 2; grid-row: 1; position: relative; }
.sp-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-wires path { fill: none; stroke: var(--ink-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sp-to { grid-column: 3; grid-row: 1; list-style: none; display: grid; }
.split.t2 .sp-to { grid-template-rows: repeat(2, 1fr); }
.split.t3 .sp-to { grid-template-rows: repeat(3, 1fr); }
.sp-to li { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 104px; padding: 12px 0 12px 26px; }
.sp-to li::before { content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-radius: 50%; border: 1px solid var(--ink); background: var(--bg-card); }
.sp-k { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; font-weight: 300; letter-spacing: -0.02em; color: var(--ink); }
.sp-s { color: var(--ink-2); }
.sp-d { font-size: 16px; line-height: 1.45; color: var(--ink-body); }

/* stats: a few large figures */
.stats-row { list-style: none; display: grid; gap: var(--gap); }
.stats-row.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-row.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-row li { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--ink-2); }
.st-v { font-size: clamp(56px, 7.4vw, 120px); line-height: 0.9; font-weight: 220; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: lining-nums; }
.st-d { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }

/* curves: an SVG stretched to its box, the words laid over it; .at-x and .at-y place them */
.cv { position: relative; aspect-ratio: 1000 / 400; margin-bottom: 30px; }
.cv-graph { aspect-ratio: 1000 / 500; margin-bottom: 0; }
.cv-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cv-svg *, .sr-svg * { vector-effect: non-scaling-stroke; }
.cv-line { fill: none; stroke: var(--ink-2); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.cv-line.is-key { stroke: var(--ink); stroke-width: 1.8; }
.cv-line.is-dash { stroke-dasharray: 5 6; }
.cv-converge .cv-line { stroke: rgba(235, 232, 225, 0.38); stroke-width: 1; }
.cv-converge .cv-line.is-key { stroke: var(--ink); stroke-width: 1.6; }
.cv-fill { fill: rgba(235, 232, 225, 0.07); }
.cv-band { fill: rgba(235, 232, 225, 0.05); }
.cv-axis { stroke: var(--rule-strong); stroke-width: 1; }
.cv-grid { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 3 5; }
.cv-mark { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 4; }
.cv-dot { fill: var(--ink); }
.gr-hull { fill: rgba(235, 232, 225, 0.03); stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 3 5; }
.gr-edge { stroke: var(--ink-2); stroke-width: 1.2; }
.gr-edge.is-weak { stroke: var(--ink-3); stroke-dasharray: 3 6; }
.gr-node { fill: var(--bg-card); stroke: var(--ink); stroke-width: 1.4; }
.gr-node.is-loose { stroke: var(--ink-3); }
.fl { position: absolute; z-index: 1; white-space: nowrap; line-height: 1.2; font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); transform: translateY(-50%); pointer-events: none; }
.fl.is-strong { color: var(--ink); }
.fl.is-mid { transform: translate(-50%, -50%); }
.fl.is-end { transform: translate(-100%, -50%); }
.fl.is-top { transform: none; }
.fl.is-top.is-mid { transform: translateX(-50%); }
.fl.is-axis { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); transform: translateY(4px); }
.fl.is-axis.is-mid { transform: translate(-50%, 4px); }
.fl.is-axis.is-end { transform: translate(-100%, 4px); }
.fl.is-tick { font-family: var(--mono); font-size: 11px; color: var(--ink-3); transform: translateY(-50%); }

/* series: daily data with a crosshair */
.sr-set { display: grid; gap: 30px; }
.sr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; margin: 0 0 10px; }
.sr-name { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.sr-stat { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.02em; text-transform: none; color: var(--ink-3); }
.sr { position: relative; touch-action: pan-y; }
.sr.h220 { aspect-ratio: 1000 / 220; }
.sr.h300 { aspect-ratio: 1000 / 300; }
.sr-panel:last-child .sr { margin-bottom: 26px; }
.sr-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sr-grid { stroke: var(--rule); stroke-width: 1; }
.sr-grid.is-zero { stroke: var(--ink-3); }
.sr-area { fill: rgba(235, 232, 225, 0.08); }
.sr-area.is-neg { fill: rgba(235, 232, 225, 0.3); }
.sr-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.sr-line.is-daily { stroke: var(--ink-3); stroke-width: 0.8; opacity: 0.8; }
.sr-key { display: flex; gap: 22px; margin: 0 0 18px; color: var(--ink-3); }
.sr-key span { display: inline-flex; align-items: center; gap: 8px; }
.sr-key span::before { content: ""; width: 22px; height: 0; border-top: 1px solid var(--ink-3); }
.sr-key .k-mean::before { border-top: 2px solid var(--ink); }
.sr-cross { position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 1px; background: var(--ink-2); opacity: 0; pointer-events: none; }
.sr-tip { position: absolute; z-index: 3; top: 0; left: 0; padding: 6px 9px 5px; background: var(--bg); border: 1px solid var(--rule-strong); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.02em; text-transform: none; color: var(--ink); white-space: nowrap; opacity: 0; pointer-events: none; }
.sr.is-on .sr-cross, .sr.is-on .sr-tip { opacity: 1; }
.sr-table { margin-top: 24px; }
.sr-table summary { cursor: pointer; color: var(--ink-2); }
.sr-table summary:hover { color: var(--ink); }
.b-table { margin-top: 14px; overflow-x: auto; }
.b-table table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14px; }
.b-table th, .b-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; color: var(--ink-body); }
.b-table thead th { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.b-table .num { text-align: right; font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }

/* heat: a grid of scenarios, the worst one outlined */
.heat-wrap { overflow-x: auto; }
.heat { width: 100%; border-collapse: separate; border-spacing: 3px; font-family: var(--mono); font-size: 12px; }
.heat th { padding: 6px 6px; font-weight: 400; color: var(--ink-3); text-align: center; white-space: nowrap; }
.heat tbody th { text-align: left; font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em; }
.heat td { padding: 13px 4px; text-align: center; color: var(--ink); font-variant-numeric: tabular-nums; }
.heat .h0 { color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); }
.heat .h1 { background: rgba(235, 232, 225, 0.05); }
.heat .h2 { background: rgba(235, 232, 225, 0.08); }
.heat .h3 { background: rgba(235, 232, 225, 0.12); }
.heat .h4 { background: rgba(235, 232, 225, 0.16); }
.heat .h5 { background: rgba(235, 232, 225, 0.21); }
.heat .h6 { background: rgba(235, 232, 225, 0.27); }
.heat .h7 { background: rgba(235, 232, 225, 0.36); }
.heat .h8 { background: rgba(235, 232, 225, 0.48); color: var(--bg); }
.heat .h9 { background: rgba(235, 232, 225, 0.62); color: var(--bg); }
.heat .h10 { background: rgba(235, 232, 225, 0.82); color: var(--bg); }
.heat .is-worst { outline: 1px solid var(--ink); outline-offset: 2px; }
.heat .hr-short { display: none; }
.heat-key { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin: 16px 0 0; color: var(--ink-3); }
.hk-worst { color: var(--ink); }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-kicker { animation: rise 1.1s var(--ease) both; }
  .js .hn-in { animation: rise-in 1.25s var(--ease) both; }
  .js .hn-in.c0 { animation-delay: 0.1s; }
  .js .hn-in.c1 { animation-delay: 0.24s; }
  .hero-grid { animation: rise 1.1s var(--ease) 0.42s both; }
  .hero-foot { animation: rise 1.1s var(--ease) 0.6s both; }
  .cross { animation: fade 1.4s var(--ease) 0.8s both; }
  .cue-line::after { animation: cue 2.2s var(--ease-io) 1.4s infinite; }

  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .sec-head.reveal, .js .about-grid.reveal, .js .co-list.reveal { transform: none; }
  .js .reveal .wi { transform: translateY(110%); transition: transform 1.1s var(--ease); }
  .js .reveal.in .wi { transform: none; }
  .js .wi.d1 { transition-delay: 0.06s; }
  .js .wi.d2 { transition-delay: 0.12s; }
  .js .wi.d3 { transition-delay: 0.18s; }
  .js .wi.d4 { transition-delay: 0.24s; }
  .js .wi.d5 { transition-delay: 0.3s; }
  .js .wi.d6 { transition-delay: 0.36s; }
  .js .wi.d7 { transition-delay: 0.42s; }
  .js .wi.d8 { transition-delay: 0.48s; }
  .js .wi.d9 { transition-delay: 0.54s; }
  .js .reveal.sec-head::before, .js .reveal.about-grid::before { transform: scaleX(0); transition: transform 1.6s var(--ease) 0.05s; }
  .js .reveal.in.sec-head::before, .js .reveal.in.about-grid::before { transform: scaleX(1); }

  /* "backwards", so that once a row is in, its opacity belongs to the hover dimming again */
  .js .co-list.reveal { opacity: 1; }
  .js .co-list.reveal:not(.in) .co-link { opacity: 0; transform: translateY(26px); }
  .js .co-list.reveal.in:not(.is-filtered) .co-link { animation: rise 1s var(--ease) backwards; }
  .js .co-list.reveal.in .co-row:nth-child(2) .co-link { animation-delay: 0.06s; }
  .js .co-list.reveal.in .co-row:nth-child(3) .co-link { animation-delay: 0.12s; }
  .js .co-list.reveal.in .co-row:nth-child(4) .co-link { animation-delay: 0.18s; }
  .js .co-list.reveal.in .co-row:nth-child(5) .co-link { animation-delay: 0.24s; }
  .js .co-list.reveal.in .co-row:nth-child(6) .co-link { animation-delay: 0.3s; }
  .js .co-list.reveal.in .co-row:nth-child(7) .co-link { animation-delay: 0.36s; }
  .js .co-list.reveal.in .co-row:nth-child(8) .co-link { animation-delay: 0.42s; }
  .js .co-list.reveal.in .co-row:nth-child(n + 9) .co-link { animation-delay: 0.48s; }

  .live-dot::after { animation: pulse 2.4s var(--ease) infinite; }
  .js .now-item.reveal:nth-child(even) { transition-delay: 0.12s; }
  .js .memo-cards li.reveal:nth-child(2) { transition-delay: 0.12s; }
  .js .foot-mark.reveal { transform: translateY(40%); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
  .js .foot-mark.reveal.in { transform: none; }

  /* figures draw themselves in once they arrive */
  .js .fig.reveal .mech-stops::before { transition: transform 1.6s var(--ease) 0.25s; }
  .js .fig.reveal:not(.in) .mech-stops::before { transform: scaleX(0); }
  .js .fig.reveal .mech-stops li,
  .js .fig.reveal .scen-i,
  .js .fig.reveal .defi-uses li { transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
  .js .fig.reveal:not(.in) .mech-stops li,
  .js .fig.reveal:not(.in) .scen-i,
  .js .fig.reveal:not(.in) .defi-uses li { opacity: 0; transform: translateY(12px); }
  .js .fig.reveal .mech-stops li:nth-child(2), .js .fig.reveal .scen-i:nth-child(2), .js .fig.reveal .defi-uses li:nth-child(2) { transition-delay: 0.14s; }
  .js .fig.reveal .mech-stops li:nth-child(3), .js .fig.reveal .scen-i:nth-child(3), .js .fig.reveal .defi-uses li:nth-child(3) { transition-delay: 0.28s; }
  .js .fig.reveal .mech-stops li:nth-child(4), .js .fig.reveal .scen-i:nth-child(4) { transition-delay: 0.42s; }
  .js .fig.reveal .scen-i:nth-child(5) { transition-delay: 0.56s; }
  .js .fig.reveal .is-redeem .mech-stops li { transition-delay: 0.6s; }
  .js .fund::after { content: ""; position: absolute; inset: -2px; background: var(--bg-card); transform-origin: right; transition: transform 2.2s var(--ease-io) 0.2s; }
  .js .fig.reveal.in .fund::after { transform: scaleX(0); }
  .js .case-plate.reveal canvas { opacity: 0; transition: opacity 1.8s var(--ease) 0.2s, transform 1.4s var(--ease); }
  .js .case-plate.reveal.in canvas { opacity: 1; }
  .js .fig.reveal .mech-stops::after { transition: opacity 0.5s var(--ease) 1.5s; }
  .js .fig.reveal:not(.in) .mech-stops::after { opacity: 0; }

  /* the generic figures: lines draw, parts rise one after another, charts are uncovered */
  .js .fig.reveal .flow::before { transition: transform 1.6s var(--ease) 0.2s; }
  .js .fig.reveal:not(.in) .flow::before { transform: scaleX(0); }
  .js .fig.reveal .flow::after { transition: opacity 0.5s var(--ease) 1.4s; }
  .js .fig.reveal:not(.in) .flow::after { opacity: 0; }
  .js .fig.reveal :is(.flow li, .grid li, .ly-row, .cmp-col, .sp-to li, .stats-row li) { transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
  .js .fig.reveal:not(.in) :is(.flow li, .grid li, .ly-row, .cmp-col, .sp-to li, .stats-row li) { opacity: 0; transform: translateY(12px); }
  .js .fig.reveal :is(.flow li, .grid li, .ly-row, .cmp-col, .sp-to li, .stats-row li):nth-child(2) { transition-delay: 0.1s; }
  .js .fig.reveal :is(.flow li, .grid li, .ly-row, .cmp-col, .sp-to li, .stats-row li):nth-child(3) { transition-delay: 0.2s; }
  .js .fig.reveal :is(.flow li, .grid li, .ly-row, .cmp-col, .sp-to li, .stats-row li):nth-child(4) { transition-delay: 0.3s; }
  .js .fig.reveal :is(.flow li, .grid li, .ly-row, .cmp-col, .sp-to li, .stats-row li):nth-child(5) { transition-delay: 0.4s; }
  .js .fig.reveal :is(.flow li, .grid li, .ly-row, .cmp-col, .sp-to li, .stats-row li):nth-child(n + 6) { transition-delay: 0.5s; }
  .js .cv::after, .js .sr::after { content: ""; position: absolute; z-index: 4; inset: -2px -2px -30px; background: var(--bg-card); transform-origin: right; transition: transform 2.2s var(--ease-io) 0.2s; pointer-events: none; }
  .js .fig.reveal.in .cv::after, .js .fig.reveal.in .sr::after { transform: scaleX(0); }
  .js .fig.reveal .heat td { transition: opacity 0.6s var(--ease); }
  .js .fig.reveal:not(.in) .heat td { opacity: 0; }
  .js .mt-card.reveal .mt-shot canvas { opacity: 0; transition: opacity 1.6s var(--ease) 0.2s; }
  .js .mt-card.reveal.in .mt-shot canvas { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 720px) {
  .js .fig.reveal:not(.in) .mech-stops::before { transform: scaleY(0); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1001px) {
  .js .method-grid.is-live .mt-step { transition: opacity 0.6s var(--ease), transform 1.1s var(--ease); }
  .js .method-grid.is-live .mt-step.in:not(.is-active) { opacity: 0.36; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 0.55; } }
@keyframes pulse { 0% { opacity: 0.6; transform: scale(0.4); } 80%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes flip { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { transform: translateY(-16px); } 60%, 100% { transform: translateY(46px); } }

/* Reduced motion: hover states and fills still change, they just do not travel to get there. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .tc-cols { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .tc-meta { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .co-link { grid-template-columns: 3.4rem minmax(0, 1fr) auto 1.6rem; row-gap: 10px; }
  .co-num { grid-column: 1; grid-row: 1; }
  .co-name { grid-column: 2; grid-row: 1; }
  .co-sector { grid-column: 3; grid-row: 1; }
  .co-go { grid-column: 4; grid-row: 1; }
  .co-what { grid-column: 2 / 4; grid-row: 2; }
}

@media (max-width: 1080px) {
  .nav ul { gap: 18px; }
  .nav a { letter-spacing: 0.12em; font-size: 11.5px; }
  .crumb { display: none; }
}

/* A tall tablet screen would leave the poster mostly empty, so the hero takes its own height. */
@media (max-width: 1000px) and (min-width: 721px) and (orientation: portrait) {
  .hero { min-height: 0; padding: clamp(56px, 9vw, 96px) 0 clamp(40px, 6vw, 64px); }
}

@media (max-width: 1000px) {
  .hero-lead { grid-column: 1 / -1; }
  .hero-actions { grid-column: 1 / -1; justify-self: start; justify-content: flex-start; margin-top: 28px; }
  .about-label { grid-column: 1 / -1; margin-bottom: 18px; }
  .about-text { grid-column: 1 / -1; }
  .sec-index { grid-column: 1 / -1; margin-bottom: 26px; }
  .sec-titles { grid-column: 1 / -1; }
  .method-grid { display: block; }
  .mt-rail { display: none; }
  .mt-step { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .mt-num, .mt-main { grid-column: 1 / -1; }
  .mt-meta { grid-column: 1 / -1; grid-row: 3; grid-template-columns: 1fr 1fr; margin-top: 22px; }
  .now-list { grid-template-columns: 1fr; }
  .human-plate { grid-column: 1 / 6; }
  .human-copy { grid-column: 7 / -1; }
  .contact-context { grid-column: 1 / -1; }
  .contact-facts { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1fr 1fr; gap: 22px var(--gap); }
  .case .doc-dek { grid-column: 1 / -1; }
  .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-body { grid-column: 1 / -1; }
  .cs-grid.is-all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-link { grid-template-columns: minmax(0, 1fr) auto 1.6rem; row-gap: 8px; }
  .inv-date { grid-column: 1 / -1; }
  .inv-what { grid-column: 1 / -1; grid-row: 3; }
  .mt-card { grid-template-columns: 1fr; }
  .mt-shot { border-right: 0; border-bottom: 1px solid var(--rule); }
  .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* five or six stops do not fit across a narrow plate, so they stand in a column */
  .flow.n5, .flow.n6 { grid-template-columns: 1fr; row-gap: 22px; padding: 0 0 0 30px; }
  .flow.n5::before, .flow.n6::before { left: 5px; right: auto; top: 6px; bottom: 4px; width: 1px; height: auto; transform-origin: top; }
  .flow.n5::after, .flow.n6::after { top: auto; bottom: 0; left: 1px; right: auto; transform: rotate(135deg); }
  .flow.n5 li::before, .flow.n6 li::before { left: -30px; top: 2px; }
  .flow.n5 .fw-d, .flow.n6 .fw-d { max-width: 30em; }
  .case-sec { display: block; }
  .case-label { margin-bottom: 18px; }
  .scen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doc-toc { display: none; }
  .doc-body { grid-column: 1 / -1; }
  .doc-title { grid-column: 1 / -1; }
  .doc-dek { grid-column: 1 / 12; }
  .foot-col, .foot-col:first-child, .foot-col:nth-child(2) { grid-column: span 6; }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  :root { --head-h: 64px; }
  /* The nav wraps under the name here, so the header scrolls away instead of covering anchors. */
  .no-js .site-head { position: relative; }
  .no-js .head-row { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; row-gap: 2px; }
  .no-js .nav { display: block; width: 100%; }
  .no-js .nav ul { flex-wrap: wrap; gap: 0 18px; }
  .memo-cards { grid-template-columns: 1fr; }
  .cross { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 17px; }
  .hero { min-height: auto; justify-content: flex-start; padding-top: 24px; }
  .hero-kicker { font-size: 11px; letter-spacing: 0.13em; flex-wrap: wrap; row-gap: 6px; }
  .hero-clock { font-size: 11px; }
  .hero-name { font-size: 27.5vw; white-space: normal; line-height: 0.84; margin: 0.16em 0 0.22em -0.05em; }
  .hero-name .hn-word { display: block; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-note { font-size: 10.5px; letter-spacing: 0.12em; }
  .scroll-cue { display: none; }
  .about-text { font-size: 21px; line-height: 1.5; }
  .co-link { grid-template-columns: minmax(0, 1fr) 1.4rem; padding: 22px 0 24px; }
  .co-num { grid-column: 1; grid-row: 1; }
  .co-name { grid-column: 1 / -1; grid-row: 2; font-size: 38px; }
  .co-what { grid-column: 1 / -1; grid-row: 3; font-size: 16px; }
  .co-sector { display: block; grid-column: 1; grid-row: 1; justify-self: end; margin-right: 0.4rem; }
  .co-go { grid-column: 2; grid-row: 1; }
  .co-link:hover .co-name { transform: none; }
  .co-list:hover .co-row:not(:hover) .co-link { opacity: 1; }
  .mt-step { display: block; }
  .mt-num { display: block; margin-bottom: 12px; }
  .mt-meta { grid-template-columns: 1fr; }
  .tc-head { grid-template-columns: auto minmax(0, 1fr); row-gap: 6px; }
  .tc-of { display: none; }
  .tc-pos { font-size: 27px; }
  .now-link { grid-template-columns: 2.4rem minmax(0, 1fr) 1.2rem; }
  .memo-card:hover { transform: none; }
  .human-grid { display: block; }
  .human-plate { width: 64%; max-width: 280px; margin-bottom: 32px; }
  .human-text { font-size: 20px; }
  .contact-grid { display: block; }
  .contact-handle { font-size: 12.5vw; }
  .case .doc-title { font-size: 20vw; }
  .case-meta { grid-template-columns: 1fr; }
  .cs-grid, .cs-grid.is-all { grid-template-columns: 1fr; }
  .cs-card:hover { transform: none; }
  .flow { grid-template-columns: 1fr !important; row-gap: 22px; padding: 0 0 0 30px; }
  .flow::before { left: 5px; right: auto; top: 6px; bottom: 4px; width: 1px; height: auto; transform-origin: top; }
  .flow::after { top: auto; bottom: 0; left: 1px; right: auto; transform: rotate(135deg); }
  .flow li::before { left: -30px; top: 2px; }
  .fw-d { max-width: 30em; }
  .ly-row { grid-template-columns: 1fr; row-gap: 12px; }
  .ly-row + .ly-row::before { left: 24px; }
  .ly-chip { font-size: 15px; }
  .grid.c3, .grid.c4, .grid.c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp.c2, .cmp.c3 { grid-template-columns: 1fr; }
  .cmp-col + .cmp-col { border-left: 0; border-top: 1px solid var(--rule-strong); }
  .split { grid-template-columns: 1fr; }
  .sp-from { align-self: start; }
  .sp-wires-box { display: none; }
  .sp-to { grid-column: 1; grid-row: 2; grid-template-rows: none !important; margin: 18px 0 0 16px; border-left: 1px solid var(--rule-strong); }
  .sp-to li { min-height: 0; padding: 14px 0 14px 24px; }
  .stats-row.c2, .stats-row.c3 { grid-template-columns: 1fr; }
  .cv { aspect-ratio: 1000 / 640; }
  .cv-graph { aspect-ratio: 1000 / 500; }
  .fl { font-size: 12px; }
  .fl.is-axis { font-size: 10px; letter-spacing: 0.1em; }
  .sr.h220 { aspect-ratio: 1000 / 440; }
  .sr.h300 { aspect-ratio: 1000 / 560; }
  .heat { font-size: 10.5px; border-spacing: 2px; }
  .heat td { padding: 10px 2px; }
  .heat th { padding: 5px 2px; }
  /* the row names shrink to their numbers; the long names stay for screen readers */
  .heat .hr-short { display: inline; }
  .heat .hr-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fl.is-minor { display: none; }
  /* the graph is small on a phone, so its addresses are drawn larger than their share of it */
  .cv-graph .gr-node { r: 18px; }
  .fl.is-tick { font-size: 9.5px; }
  .mt-cover-t { font-size: 30px; }
  .mech-line { grid-template-columns: 1fr; row-gap: 16px; }
  .mech-stops { grid-template-columns: 1fr; row-gap: 22px; padding: 0 0 0 30px; }
  .mech-stops::before { left: 5px; right: auto; top: 6px; bottom: 4px; width: 1px; height: auto; transform-origin: top; }
  .is-redeem .mech-stops::before { left: 5px; background: repeating-linear-gradient(180deg, var(--ink-3) 0 6px, transparent 6px 11px); transform-origin: top; }
  .mech-stops::after, .is-redeem .mech-stops::after { top: auto; bottom: 0; left: 1px; right: auto; transform: rotate(135deg); }
  .mech-stops li, .is-redeem .mech-stops li:nth-child(n) { grid-row: auto; grid-column: auto; }
  .mech-stops li::before { left: -30px; top: 2px; }
  .fund { aspect-ratio: 1000 / 760; }
  .l-paid, .l-pay { font-size: 13px; }
  .scen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scen-t { font-size: 15.5px; }
  .defi { grid-template-columns: 1fr; }
  .defi-core { align-self: start; }
  .defi-wires-box { display: none; }
  .defi-uses { grid-column: 1; grid-row: 2; grid-template-rows: none; margin: 18px 0 0 16px; border-left: 1px solid var(--rule-strong); }
  .defi-loop { grid-row: 3; align-items: flex-start; }
  .contact-context { grid-template-columns: 1fr; margin-top: 32px; }
  .contact-facts { grid-template-columns: 1fr; margin-top: 12px; }
  .doc-head { display: block; }
  .doc-dek { margin-top: 22px; }
  .prose { font-size: 17.5px; }
  .b-links a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .l-note { grid-column: 1 / -1; grid-row: 2; }
  .l-go { grid-column: 2; grid-row: 1; }
  .pager { grid-template-columns: 1fr; }
  .pager-link.next { text-align: left; align-items: flex-start; }
  .foot-col, .foot-col:first-child, .foot-col:nth-child(2) { grid-column: span 6; }
  .foot-mark { font-size: 15vw; }
}

@media print {
  body::before, .site-head, .menu, .tabs, .doc-toc, .site-foot .foot-mark, .hero-actions, .hero-canvas, .hero-light, .scroll-cue, .ticker, .co-preview, .cross { display: none !important; }
  :root { --bg: #fff; --ink: #000; --ink-body: #111; --ink-2: #333; --ink-3: #555; --rule: #ccc; --rule-strong: #999; --bg-raise: #f4f4f4; --bg-card: #fff; }
  html, body { background: #fff; color: #000; }
  .hero { min-height: 0 !important; }
  .hero-name { transform: none !important; }
  .reveal, .js .reveal, .co-link, .js .co-list.reveal .co-link { opacity: 1 !important; transform: none !important; animation: none !important; }
  .js .reveal .wi { transform: none !important; }
  /* a filtered list still prints whole */
  .co-list .co-row[hidden] { display: block !important; }
  .thesis-card { position: static !important; transform: none !important; margin: 0 0 16px !important; box-shadow: none !important; }
  .thesis-card::after { display: none; }
  .thesis-card, .memo-card, .mt-step, .co-link, .fig { break-inside: avoid; }
  .about-text.is-live .lw { color: inherit !important; }
  .sec-head::before, .about-grid::before { transform: none !important; }
  .case-plate { display: none !important; }
  .fund::after, .cv::after, .sr::after, .sr-cross, .sr-tip { display: none !important; }
  .fig li, .fig .scen-i, .fig .ly-row, .fig .cmp-col, .heat td, .mech-stops::before, .flow::before { opacity: 1 !important; transform: none !important; }
  .mt-shot img { filter: none !important; }
  .mech-stops::after { opacity: 1 !important; }
  .f-window { fill: #f0f0f0; }
  .f-area, .g-fill { fill: #e2e2e2; }
}

/* ---------- figure label positions (written by build.mjs from lib/figures.mjs) ---------- */
.at-x0{left:0%}.at-y0{top:0%}.at-x1{left:1%}.at-y1{top:1%}.at-x2{left:2%}.at-y2{top:2%}.at-x3{left:3%}.at-y3{top:3%}.at-x4{left:4%}.at-y4{top:4%}.at-x5{left:5%}.at-y5{top:5%}.at-x6{left:6%}.at-y6{top:6%}.at-x7{left:7%}.at-y7{top:7%}.at-x8{left:8%}.at-y8{top:8%}.at-x9{left:9%}.at-y9{top:9%}.at-x10{left:10%}.at-y10{top:10%}.at-x11{left:11%}.at-y11{top:11%}.at-x12{left:12%}.at-y12{top:12%}.at-x13{left:13%}.at-y13{top:13%}.at-x14{left:14%}.at-y14{top:14%}.at-x15{left:15%}.at-y15{top:15%}.at-x16{left:16%}.at-y16{top:16%}.at-x17{left:17%}.at-y17{top:17%}.at-x18{left:18%}.at-y18{top:18%}.at-x19{left:19%}.at-y19{top:19%}.at-x20{left:20%}.at-y20{top:20%}.at-x21{left:21%}.at-y21{top:21%}.at-x22{left:22%}.at-y22{top:22%}.at-x23{left:23%}.at-y23{top:23%}.at-x24{left:24%}.at-y24{top:24%}.at-x25{left:25%}.at-y25{top:25%}.at-x26{left:26%}.at-y26{top:26%}.at-x27{left:27%}.at-y27{top:27%}.at-x28{left:28%}.at-y28{top:28%}.at-x29{left:29%}.at-y29{top:29%}.at-x30{left:30%}.at-y30{top:30%}.at-x31{left:31%}.at-y31{top:31%}.at-x32{left:32%}.at-y32{top:32%}.at-x33{left:33%}.at-y33{top:33%}.at-x34{left:34%}.at-y34{top:34%}.at-x35{left:35%}.at-y35{top:35%}.at-x36{left:36%}.at-y36{top:36%}.at-x37{left:37%}.at-y37{top:37%}.at-x38{left:38%}.at-y38{top:38%}.at-x39{left:39%}.at-y39{top:39%}.at-x40{left:40%}.at-y40{top:40%}.at-x41{left:41%}.at-y41{top:41%}.at-x42{left:42%}.at-y42{top:42%}.at-x43{left:43%}.at-y43{top:43%}.at-x44{left:44%}.at-y44{top:44%}.at-x45{left:45%}.at-y45{top:45%}.at-x46{left:46%}.at-y46{top:46%}.at-x47{left:47%}.at-y47{top:47%}.at-x48{left:48%}.at-y48{top:48%}.at-x49{left:49%}.at-y49{top:49%}.at-x50{left:50%}.at-y50{top:50%}.at-x51{left:51%}.at-y51{top:51%}.at-x52{left:52%}.at-y52{top:52%}.at-x53{left:53%}.at-y53{top:53%}.at-x54{left:54%}.at-y54{top:54%}.at-x55{left:55%}.at-y55{top:55%}.at-x56{left:56%}.at-y56{top:56%}.at-x57{left:57%}.at-y57{top:57%}.at-x58{left:58%}.at-y58{top:58%}.at-x59{left:59%}.at-y59{top:59%}.at-x60{left:60%}.at-y60{top:60%}.at-x61{left:61%}.at-y61{top:61%}.at-x62{left:62%}.at-y62{top:62%}.at-x63{left:63%}.at-y63{top:63%}.at-x64{left:64%}.at-y64{top:64%}.at-x65{left:65%}.at-y65{top:65%}.at-x66{left:66%}.at-y66{top:66%}.at-x67{left:67%}.at-y67{top:67%}.at-x68{left:68%}.at-y68{top:68%}.at-x69{left:69%}.at-y69{top:69%}.at-x70{left:70%}.at-y70{top:70%}.at-x71{left:71%}.at-y71{top:71%}.at-x72{left:72%}.at-y72{top:72%}.at-x73{left:73%}.at-y73{top:73%}.at-x74{left:74%}.at-y74{top:74%}.at-x75{left:75%}.at-y75{top:75%}.at-x76{left:76%}.at-y76{top:76%}.at-x77{left:77%}.at-y77{top:77%}.at-x78{left:78%}.at-y78{top:78%}.at-x79{left:79%}.at-y79{top:79%}.at-x80{left:80%}.at-y80{top:80%}.at-x81{left:81%}.at-y81{top:81%}.at-x82{left:82%}.at-y82{top:82%}.at-x83{left:83%}.at-y83{top:83%}.at-x84{left:84%}.at-y84{top:84%}.at-x85{left:85%}.at-y85{top:85%}.at-x86{left:86%}.at-y86{top:86%}.at-x87{left:87%}.at-y87{top:87%}.at-x88{left:88%}.at-y88{top:88%}.at-x89{left:89%}.at-y89{top:89%}.at-x90{left:90%}.at-y90{top:90%}.at-x91{left:91%}.at-y91{top:91%}.at-x92{left:92%}.at-y92{top:92%}.at-x93{left:93%}.at-y93{top:93%}.at-x94{left:94%}.at-y94{top:94%}.at-x95{left:95%}.at-y95{top:95%}.at-x96{left:96%}.at-y96{top:96%}.at-x97{left:97%}.at-y97{top:97%}.at-x98{left:98%}.at-y98{top:98%}.at-x99{left:99%}.at-y99{top:99%}.at-x100{left:100%}.at-y100{top:100%}
