/* Greater Good Labs: "Field Notes". Paper, ink, one lab green; Fraunces for headings, Instrument Sans for text,
   JetBrains Mono for figures and stamps only. Light by default, dark follows the system. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; src: url(/fonts/fraunces.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 700; src: url(/fonts/fraunces-italic.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; src: url(/fonts/instrument-sans.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; src: url(/fonts/jetbrains-mono.woff2) format('woff2'); font-display: swap; }

/* The inline brand mark reads --ink and --green. --st-* colour the status stamps. */
:root {
  --paper: #f5f1e8; --paper-2: #ebe5d8; --paper-3: #ddd6c5; --panel: #fbf9f4;
  --ink: #1b2028; --ink-2: #4a5160; --ink-3: #6b7280;
  --green: #1f6f4f; --green-ink: #174f3a; --green-soft: #d8ebe0;
  --stamp: #b4372e; --blue: #2a5bd7;
  --st-live: #1f6f4f; --st-lab: #b4372e; --st-proto: #5b3cc4; --st-soon: #6b7280;
  --phone-edge: #0c0c0c; --shadow: 0 30px 60px -28px rgba(27, 32, 40, .45);
  --foot-bg: #1b2028; --foot-fg: #f5f1e8; --foot-dim: #b8b3a6;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15181d; --paper-2: #1d2128; --paper-3: #2b303a; --panel: #1a1e24;
    --ink: #ece7db; --ink-2: #b8b2a4; --ink-3: #8f8a7e;
    --green: #62c493; --green-ink: #8fdcb6; --green-soft: #1f3a2d;
    --stamp: #ef7a6b; --blue: #8fb0ff;
    --st-live: #62c493; --st-lab: #ef7a6b; --st-proto: #c7b6ff; --st-soon: #8f8a7e;
    --phone-edge: #000000; --shadow: 0 30px 60px -28px rgba(0, 0, 0, .8);
    --foot-bg: #0d0f13; --foot-fg: #ece7db; --foot-dim: #8f8a7e;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font: 18px/1.55 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum'; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--green); color: #fff; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--panel); padding: 8px 12px; }

h1, h2, h3 { font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif; font-weight: 500; letter-spacing: -.01em; line-height: 1.02; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.2vw, 92px); line-height: .98; font-variation-settings: 'opsz' 144; }
h2 { font-size: clamp(34px, 4vw, 56px); font-variation-settings: 'opsz' 96; }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
h3 a { color: var(--ink); text-decoration: none; } h3 a:hover { color: var(--green-ink); text-decoration: underline; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.45; max-width: 36em; }
.dim { color: var(--ink-2); }
.mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: .8em; letter-spacing: 0; }
.tagline { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; color: var(--green-ink); }
.wrap { width: min(100% - 2 * clamp(16px, 4vw, 56px), 1280px); margin-inline: auto; }

/* Stamps: the signature element. A rubber-stamp status mark, slightly askew, slightly worn. */
.stamp { display: inline-block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--stamp); border: 2px solid currentColor; border-radius: 6px; padding: 5px 10px 4px; transform: rotate(-2.5deg); line-height: 1; white-space: nowrap; margin: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.6 -.25'/%3E%3C/filter%3E%3Crect width='120' height='40' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.6 -.25'/%3E%3C/filter%3E%3Crect width='120' height='40' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude; -webkit-mask-size: 120px 40px, 100% 100%; mask-size: 120px 40px, 100% 100%; }
.stamp.flat { transform: none; }
.st-available { color: var(--st-live); }
.st-in-the-lab { color: var(--st-lab); }
.st-prototype { color: var(--st-proto); }
.st-coming-soon, .st-planned { color: var(--st-soon); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; color: var(--paper); background: var(--ink);
  border: 2px solid var(--ink); border-radius: 4px; padding: 13px 22px; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { background: var(--green-ink); border-color: var(--green-ink); color: #fff; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn.big { font-size: 18px; padding: 15px 26px; }
.btn.green, .btn.download { background: var(--green); border-color: var(--green); color: #fff; }
.btn.green:hover, .btn.download:hover { background: var(--green-ink); border-color: var(--green-ink); }
.btn.download { font-size: 20px; padding: 16px 30px; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn.disabled { background: var(--paper-3); border-color: var(--paper-3); color: var(--ink-2); cursor: default; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.cta .dim { font-size: 16px; }
@media (prefers-color-scheme: dark) { .btn { color: var(--paper); } .btn:hover { color: var(--paper); } .btn.green, .btn.download { color: #0f1f17; } .btn.green:hover, .btn.download:hover { color: #0f1f17; } }

/* Header */
.top { padding: 22px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.brand-logo { width: 30px; height: 30px; flex: none; }
.top nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); }
.top nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.top nav a:not(.btn):hover { color: var(--green-ink); text-decoration: underline; text-underline-offset: 5px; }
.top nav .btn { padding: 9px 16px; font-size: 15px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 120px) 0; }
.section.first { padding-top: clamp(24px, 4vw, 56px); }
.section.band { background: var(--paper-2); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 56px); max-width: 44em; }
.section-head p, .section-head h2 { margin: 0; }
.crumb { font-size: 15px; color: var(--ink-2); margin-bottom: 22px; }
.crumb a { color: inherit; text-decoration: none; } .crumb a:hover { text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--ink-2); font-size: 15px; margin: 0; }

/* The sheet: a quad-ruled lab page that holds a screenshot */
.sheet { position: relative; background: var(--paper-2); border-radius: 6px; padding: 24px 24px 0; overflow: hidden;
  background-image: linear-gradient(var(--paper-3) 1px, transparent 1px), linear-gradient(90deg, var(--paper-3) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.sheet-head .mono { color: var(--ink-2); }
.sheet-body { display: grid; grid-template-columns: minmax(0, 1fr) 60%; gap: 20px; align-items: end; }
.sheet-body.solo { grid-template-columns: 1fr; }
.sheet-note { padding-bottom: 28px; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 19px; line-height: 1.3; margin: 0; }
.phone { width: 100%; margin: 0; border-radius: 28px 28px 0 0; overflow: hidden; box-shadow: 0 0 0 7px var(--phone-edge), var(--shadow); background: #000; }
.sheet-body.solo .phone { width: 60%; margin: 0 auto; }
.sheet-pic { width: min(100%, 360px); margin: 0 auto 28px; border-radius: 10px; box-shadow: var(--shadow); }

/* Hero */
.hero { padding: clamp(28px, 5vw, 80px) 0 clamp(40px, 6vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero-copy > * { margin: 0; }
.promise { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; color: var(--ink-2); list-style: none; padding: 0; margin: 0; }
.promise li::before { content: '✓ '; color: var(--green); font-weight: 700; }

/* The log: one entry per app */
.entry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(32px, 4vw, 56px) 0; }
.entry.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.entry.flip .entry-copy { order: 2; }
.entry-copy { display: grid; gap: 16px; }
.entry-copy > * { margin: 0; }
.entry-copy h3, .entry-copy h2 { font-size: clamp(36px, 4.4vw, 64px); font-weight: 600; letter-spacing: -.02em; font-variation-settings: 'opsz' 120; }
.pts { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pts li { padding-left: 22px; position: relative; }
.pts li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.entry-actions { margin-top: 8px; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.phones figure { margin: 0; }
.phones img { border-radius: 18px; box-shadow: 0 0 0 4px var(--phone-edge); background: #000; }
.phones figure:nth-child(2) { transform: translateY(-28px); }
.phones figcaption { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--ink-2); margin-top: 14px; }
.pic-stage { background: var(--paper-2); border-radius: 8px; padding: clamp(18px, 3vw, 40px); display: grid; place-items: center; }
.entry.flip .pic-stage { background: var(--panel); }
.pic-stage img { width: min(100%, 360px); border-radius: 10px; box-shadow: var(--shadow); }
.band .pic-stage { background: var(--panel); }
.entry-list .entry + .entry { border-top: 2px solid var(--paper-3); }

/* Ledger: how we charge */
.ledger-section .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.ledger-copy { display: grid; gap: 18px; } .ledger-copy > * { margin: 0; } .ledger-copy h2 { max-width: 10em; }
.ledger { background: var(--panel); border-radius: 6px; padding: clamp(22px, 3vw, 40px); font-size: 17px; }
.ledger .row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; }
.ledger .row + .row { border-top: 1px dashed var(--paper-3); }
.ledger .row strong { font-weight: 600; }
.ledger .row small { display: block; color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.ledger .amt { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 15px; white-space: nowrap; color: var(--green-ink); font-weight: 700; }
.ledger .amt.never { color: var(--stamp); }
.ledger .total { margin-top: 16px; padding-top: 18px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: 'Fraunces', Georgia, serif; font-size: 20px; }

/* The lab: about */
.lab .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.lab-copy { display: grid; gap: 18px; } .lab-copy > * { margin: 0; }
.facts { margin: 0; }
.facts div { padding: 16px 0; display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.facts div + div { border-top: 1px solid var(--paper-3); }
.facts dt { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--ink-2); padding-top: 4px; }
.facts dd { margin: 0; }

/* Brand page */
.brand-stage { display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 6px; }
.brand-stage.light { background: #f5f1e8; } .brand-stage.dark { background: #15181d; }
.brand-stage svg { width: 100%; height: auto; max-height: 120px; }
.brand-stage.sheet-rule { background-image: linear-gradient(rgba(27,32,40,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(27,32,40,.08) 1px, transparent 1px); background-size: 24px 24px; }
.brand-stage.dark.sheet-rule { background-image: linear-gradient(rgba(236,231,219,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(236,231,219,.07) 1px, transparent 1px); }
.brand-big { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brand-big .brand-stage { min-height: 320px; } .brand-big svg { width: 200px; max-height: none; }
.brand-grid { display: grid; gap: 20px; }
.brand-item { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; background: var(--panel); border-radius: 6px; padding: 16px; }
.brand-item .brand-stage { min-height: 170px; }
.brand-item figcaption { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 4px 6px 2px; }
.brand-item h3 { font-size: 22px; margin: 0; }
.brand-mark-alone { width: 96px !important; }
.dl { display: flex; gap: 6px 14px; flex-wrap: wrap; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; margin: 0; align-items: baseline; }
.dl span { color: var(--ink-2); }
.dl a { color: var(--green-ink); }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.swatches li { display: grid; gap: 4px; background: var(--panel); border-radius: 6px; padding: 12px; font-size: 15px; }
.swatch { display: block; height: 84px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(128,128,128,.25); margin-bottom: 6px; }
.fonts div { grid-template-columns: 180px 1fr; }
.fonts dt { font-family: inherit; font-size: 17px; font-weight: 600; color: var(--ink); padding-top: 2px; }
.fonts dd { display: grid; gap: 4px; }
.font-sample { font-size: 26px; line-height: 1.2; }
.font-fraunces { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-variation-settings: 'opsz' 144; }
.font-jetbrains-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 19px; }

/* App page */
.app-hero { padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 6vw, 96px); }
.app-hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.app-hero-copy { display: grid; gap: 20px; } .app-hero-copy > * { margin: 0; }
.app-hero h1 { font-size: clamp(56px, 8vw, 120px); font-weight: 600; letter-spacing: -.025em; }
.app-hero .tagline { font-size: clamp(22px, 2.2vw, 32px); }
.app-hero .note { font-size: 15px; color: var(--ink-2); }
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.shots.three { grid-template-columns: repeat(3, 1fr); max-width: 820px; margin-inline: auto; }
.shot { margin: 0; }
.shot img { border-radius: 16px; box-shadow: 0 0 0 4px var(--phone-edge); background: #000; }
.shot figcaption { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--ink-2); margin-top: 12px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 80px); }
.features div { padding: 24px 0; border-top: 2px solid var(--ink); display: grid; gap: 6px; }
.features h3 { font-size: 24px; font-weight: 600; margin: 0; } .features p { margin: 0; }
.price-note { background: var(--paper-2); border-radius: 6px; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.price-note p { max-width: 44em; } .price-note p:last-child { margin: 0; }
.price-note .lead { margin-bottom: 10px; }

/* Apps index */
.page-title { margin-bottom: 14px; }

/* Legal prose */
.prose { max-width: 68ch; font-size: 18px; line-height: 1.65; }
.prose > p:first-child { color: var(--ink-2); margin-bottom: 2em; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin: 2.2em 0 .6em; padding-top: .8em; border-top: 2px solid var(--ink); }
.prose h3 { font-size: 21px; font-weight: 600; margin: 1.6em 0 .5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; } .prose li { margin: .5em 0; }
.prose li::marker { color: var(--green); }
.prose strong { font-weight: 600; }
.prose .caps { text-transform: uppercase; font-weight: 600; font-size: .9em; letter-spacing: .01em; }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.notfound-logo { width: 110px; height: 110px; margin: 0 auto 20px; display: block; }

/* Footer */
.foot { background: var(--foot-bg); color: var(--foot-fg); padding: clamp(40px, 6vw, 80px) 0 32px; }
.foot .wrap { display: grid; gap: 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot-brand { display: grid; gap: 22px; }
.foot-mark { width: 150px; height: auto; --ink: var(--foot-fg); --green: #62c493; }
.foot h2 { font-size: clamp(26px, 2.6vw, 38px); max-width: 12em; margin: 0; color: var(--foot-fg); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--foot-fg); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--foot-dim); font-size: 15px; }
.foot-bottom p { margin: 0; } .foot-bottom .mono { color: #8f9aa8; }

@media (max-width: 960px) {
  .hero .wrap, .entry, .entry.flip, .ledger-section .wrap, .lab .wrap, .app-hero .wrap { grid-template-columns: 1fr; }
  .entry.flip .entry-copy { order: 0; }
  .sheet-body { grid-template-columns: 1fr; }
  .sheet-body .phone { width: min(78%, 300px); margin: 0 auto; }
  .sheet-note { padding: 4px 0 24px; order: -1; }
  .shots, .shots.three { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; } .foot-top h2 { grid-column: 1 / -1; }
  .price-note { grid-template-columns: 1fr; }
  .brand-big, .brand-item { grid-template-columns: 1fr; }
  .fonts div { grid-template-columns: 1fr; }
}
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } }
@media (max-width: 560px) {
  body { font-size: 17px; }
  .phones { grid-template-columns: 1fr 1fr; }
  .phones figure:nth-child(2) { transform: none; }
  .phones figure:nth-child(3) { display: none; }
  .features { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .sheet-body.solo .phone { width: min(78%, 280px); }
  .shots { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } }
@media print { .foot, .top nav { display: none; } }

/* Consulting */
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.areas li { font-family: 'Fraunces', Georgia, serif; font-size: clamp(20px, 1.6vw, 24px); font-weight: 500; padding: 12px 0 12px 26px; position: relative; border-bottom: 1px dashed var(--paper-3); }
.areas li::before { content: '☐'; position: absolute; left: 0; top: 11px; font-family: 'JetBrains Mono', ui-monospace, monospace; color: var(--green); font-size: 18px; }
.consult-sheet { padding-bottom: 28px; }
.consult-sheet .areas { grid-template-columns: 1fr; gap: 0; }
.consult-sheet .areas li { font-size: clamp(19px, 1.5vw, 22px); }
.consult-hero .note { margin-top: -8px; }
.consult-hero h1 { font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -.02em; }
.ledger.how { list-style: none; margin: 0; padding-inline: clamp(22px, 3vw, 40px); counter-reset: how; }
.ledger.how .row { grid-template-columns: auto 1fr; font-size: 18px; padding: 18px 0; }
.ledger.how .row::before { counter-increment: how; content: counter(how, decimal-leading-zero); font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; font-weight: 700; color: var(--green-ink); padding-top: 4px; }
.ledger.how .total { font-size: 19px; flex-wrap: wrap; }
.bio .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.bio-copy { display: grid; gap: 18px; } .bio-copy > * { margin: 0; }
.bio-copy .signoff { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; margin-top: 10px; }
.bio-copy .signature { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 600; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; color: var(--green-ink); font-variation-settings: 'opsz' 144; letter-spacing: -.02em; }
.bio-side { display: grid; gap: 24px; }
.portrait { aspect-ratio: 4 / 5; max-width: 300px; border-radius: 6px; background: var(--paper-2); display: grid; place-items: center; color: var(--ink-3);
  background-image: linear-gradient(var(--paper-3) 1px, transparent 1px), linear-gradient(90deg, var(--paper-3) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }
.facts dd .pts { margin: 0; }
@media (max-width: 960px) { .bio .wrap { grid-template-columns: 1fr; } .portrait { max-width: 220px; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }
.center .meta, .center .cta { justify-content: center; }
