/* Z2Alpha site styles
   Layout idea: a quiet editorial page in paper and ink, with one bright signal colour reserved for "alpha":
   the gap you gain, the point you reach, and the action to take next. */

@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/sourceserif-latin.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/sourceserif-latin-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/sourceserif-greek-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; unicode-range: U+0370-03FF; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper: #F2F0EA;      /* page */
  --paper-2: #E9E6DE;    /* quiet surfaces */
  --paper-3: #FBFAF7;    /* raised sheets */
  --line: #D8D3C8;       /* hairlines */
  --ink: #1D1C1A;        /* text and dark bands */
  --ink-2: #67625A;      /* secondary text */
  --ink-3: #9A948A;      /* tertiary marks */
  --signal: #FF4A1C;     /* the one bright colour */
  --signal-soft: #FFE2D8;

  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.4vw, 4.2rem);
  --step-5: clamp(3.4rem, 1.6rem + 6.4vw, 7.4rem);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --section: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
h3 { line-height: 1.1; }
h1 em, h2 em { font-style: italic; color: var(--ink-2); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
s { text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); color: var(--ink); padding: 8px 14px; z-index: 100; font-family: var(--mono); }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

/* Mono small text is the site's "instrument panel" voice: labels, nav, buttons, data. */
.kicker, .crumb, .post-topic, .post-meta, .paper-kicker, .when, .pill, .terminal-bar, .tape, .meta,
.field label, .choice-group legend, .stage-path span, .form-note, .article-meta, .legal, .node-label {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.01em; line-height: 1.45;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border-radius: var(--radius); border: 1px solid transparent;
  font: 500 0.9rem/1 var(--mono); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--signal); color: var(--ink); }
.btn-gold:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--signal); color: var(--ink); }
.btn-line, .btn-line-light { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover, .btn-line-light:hover { background: var(--ink); color: var(--paper); }
.band .btn-line-light { border-color: rgba(242,240,234,.5); color: var(--paper); }
.band .btn-line-light:hover { background: var(--paper); color: var(--ink); }

.text-link { font-family: var(--mono); font-size: 0.9rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.text-link::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-radius: 50%; background: var(--signal); vertical-align: 1px; }
.text-link:hover { color: var(--signal); border-color: var(--signal); }
.prose .text-link, .muted .text-link, .result .text-link { font-size: inherit; font-family: inherit; }
.more { margin-top: 40px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242,240,234,.92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.7rem; line-height: 1; margin-right: auto; }
.mark { width: 36px; height: 26px; overflow: visible; }
.mark path { fill: none; stroke-linecap: round; }
.m-bench { stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 2 3; }
.m-you { stroke: var(--ink); stroke-width: 2.4; }
.m-dot { fill: var(--signal); }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav ul a { display: block; padding: 8px 9px; text-decoration: none; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); position: relative; }
.site-nav ul a:hover { color: var(--ink); }
.site-nav ul a[aria-current="page"] { color: var(--ink); }
.site-nav ul a[aria-current="page"]::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--signal); }
.nav-cta { min-height: 40px; font-size: 0.8rem; background: var(--ink); color: var(--paper); }
.nav-cta:hover { background: var(--signal); color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1px solid var(--ink); color: var(--ink); font: 500 0.8rem var(--mono); border-radius: var(--radius); padding: 9px 14px; cursor: pointer; }

@media (max-width: 1120px) {
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; gap: 16px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 0; font-size: 0.95rem; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"]::before { left: auto; right: 0; bottom: 50%; margin: 0 0 -2.5px; }
}

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); margin-bottom: 28px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255,74,28,.5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,74,28,.45); } 70% { box-shadow: 0 0 0 10px rgba(255,74,28,0); } 100% { box-shadow: 0 0 0 0 rgba(255,74,28,0); } }
.hero h1 { font-size: var(--step-5); line-height: 0.92; letter-spacing: -0.02em; max-width: 9ch; }
.hero h1 em { color: var(--signal); }
.hero-lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 34rem; margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* The alpha "terminal": a market-style chart panel */
.terminal { margin: 0; background: var(--paper-3); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(29,28,26,.35); overflow: hidden; }
.terminal-bar { display: flex; gap: 16px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.terminal-bar span:first-child { color: var(--ink); font-weight: 500; }
.terminal-tag { margin-left: auto; border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; }
.alpha-plot { width: 100%; height: auto; padding: 16px 12px 0; overflow: visible; }
.alpha-plot .grid line { stroke: var(--line); stroke-width: 1; }
.alpha-plot .axis line { stroke: var(--ink-3); }
.alpha-plot text { font-family: var(--mono); font-size: 12px; fill: var(--ink-2); }
.alpha-plot .lbl-you { fill: var(--ink); font-weight: 500; }
.alpha-plot path { fill: none; stroke-linecap: round; }
.alpha-plot .bench { stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 5 6; }
.alpha-plot .you { stroke: var(--ink); stroke-width: 2.6; }
.alpha-plot .gap { fill: var(--signal); fill-opacity: .14; stroke: none; }
.alpha-plot .alpha-mark line { stroke: var(--signal); stroke-width: 1.5; }
.alpha-plot .end-dot { fill: var(--signal); }
.alpha-plot .end-ring { fill: none; stroke: var(--signal); stroke-width: 1.5; transform-origin: 580px 52px; animation: ring 2.4s ease-out 1.8s infinite; opacity: 0; }
.plot-reveal { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); animation: reveal 1.6s cubic-bezier(.65,.05,.25,1) .25s forwards; }
.alpha-plot .end-dot, .alpha-plot .lbl, .alpha-plot .alpha-mark { opacity: 0; animation: fade .4s ease 1.7s forwards; }
@keyframes reveal { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.terminal figcaption { display: flex; gap: 14px; align-items: center; padding: 14px 18px 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
.alpha-glyph { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--signal); }
@media (prefers-reduced-motion: reduce) {
  .plot-reveal { animation: none; transform: none; }
  .alpha-plot .end-dot, .alpha-plot .lbl, .alpha-plot .alpha-mark { animation: none; opacity: 1; }
  .alpha-plot .end-ring, .live-dot { animation: none; }
}

/* Ticker tape */
.tape { border-block: 1px solid var(--ink); overflow: hidden; background: var(--paper); color: var(--ink); }
.tape-track { display: flex; width: max-content; animation: tape 60s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape ul { display: flex; }
.tape li { display: flex; align-items: center; gap: 14px; padding: 14px 28px 14px 0; white-space: nowrap; font-size: 0.85rem; }
.tape li::before { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid var(--signal); }
@keyframes tape { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape-track { animation: none; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.page-hero h1 { font-size: clamp(3rem, 1.5rem + 4.8vw, 5.8rem); line-height: .95; letter-spacing: -0.02em; max-width: 16ch; }
.page-hero .lede { font-size: var(--step-1); color: var(--ink-2); max-width: 40rem; margin-top: 24px; }
.page-hero .crumb { color: var(--ink-2); margin-bottom: 20px; }
.page-hero .crumb a { color: var(--ink); }
.page-hero .hero-actions { margin-top: 28px; }
.hero-spark { width: clamp(160px, 18vw, 240px); height: auto; overflow: visible; }
.hero-spark path { fill: none; stroke-linecap: round; }
.hero-spark .bench { stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 4 5; }
.hero-spark .you { stroke: var(--ink); stroke-width: 2.2; }
.hero-spark .gapfill { fill: var(--signal); fill-opacity: .14; stroke: none; }
.hero-spark circle { fill: var(--signal); }
@media (max-width: 720px) { .page-hero-inner { grid-template-columns: 1fr; } .hero-spark { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section) 0; }
.section:last-of-type { padding-bottom: var(--section); }
.section-alt { background: var(--paper-2); padding-bottom: var(--section); margin-top: var(--section); }
.section-alt + .section { padding-top: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--step-4); }
.section-head p { color: var(--ink-2); font-size: var(--step-1); max-width: 30rem; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* Shifts: the old way struck out, the new way set large */
.shift-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.shift { padding: 28px 28px 8px 0; display: grid; gap: 14px; align-content: start; }
.shift + .shift { padding-left: 28px; border-left: 1px solid var(--line); }
.shift .was { font-family: var(--mono); font-size: 0.85rem; color: var(--ink-2); }
.shift .was s { text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.shift h3 { font-size: var(--step-3); }
.shift p:last-child { color: var(--ink-2); }
@media (max-width: 900px) {
  .shift-list { grid-template-columns: 1fr; }
  .shift, .shift + .shift { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Stage picker on a growth curve */
.curve { position: relative; height: clamp(180px, 22vw, 260px); margin-bottom: 40px; }
.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.curve-base { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.curve-line { stroke: var(--ink); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.stage-tabs button {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-2);
}
.node { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); transition: transform .2s; }
.node-label { position: absolute; top: calc(100% + 4px); white-space: nowrap; font-size: 0.85rem; padding: 4px 10px; border: 1px solid transparent; border-radius: 999px; background: var(--paper); }
.stage-tabs button:nth-child(n+3) .node-label { top: auto; bottom: calc(100% + 4px); }
.stage-tabs button:hover { color: var(--ink); }
.stage-tabs button:hover .node { transform: scale(1.2); }
.stage-tabs button[aria-selected="true"] { color: var(--ink); }
.stage-tabs button[aria-selected="true"] .node { background: var(--signal); border-color: var(--signal); transform: scale(1.35); }
.stage-tabs button[aria-selected="true"] .node-label { border-color: var(--ink); }
.curve-dot { position: absolute; left: var(--dx, 14%); top: var(--dy, 84%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--signal); opacity: .14; transition: left .45s cubic-bezier(.5,.1,.2,1), top .45s cubic-bezier(.5,.1,.2,1); pointer-events: none; }
.stage-panel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; padding-top: 32px; border-top: 1px solid var(--ink); }
.stage-big { font-family: var(--display); font-size: var(--step-3); line-height: 1.12; }
.ticks { margin-top: 24px; display: grid; gap: 10px; }
.ticks li { padding-left: 24px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--ink); }
.stage-path { display: grid; gap: 0; align-content: start; }
.stage-path li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stage-path li:first-child { border-top: 1px solid var(--line); }
.stage-path span { color: var(--ink-2); }
.stage-path a { font-family: var(--display); font-size: var(--step-2); line-height: 1.15; text-decoration: none; }
.stage-path a:hover { color: var(--signal); }
.stage-path li:nth-child(2) a { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.stage-panel:not([hidden]) { animation: panel-in .35s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .stage-panel:not([hidden]) { animation: none; } .curve-dot { transition: none; } }
@media (max-width: 820px) {
  .stage-panel { grid-template-columns: 1fr; gap: 28px; }
  .curve { height: auto; margin-bottom: 28px; }
  .curve svg, .curve-dot { display: none; }
  .stage-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
  .stage-tabs button { position: static; transform: none; flex-direction: row; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px 8px 10px; }
  .stage-tabs button .node-label { position: static; padding: 0; border: 0; background: none; }
  .stage-tabs button[aria-selected="true"] { border-color: var(--ink); }
  .node { width: 12px; height: 12px; }
  .stage-tabs button[aria-selected="true"] .node { transform: none; }
  .stage-path li { grid-template-columns: 1fr; gap: 4px; }
}

/* Services overview: an index */
.layers { border-top: 1px solid var(--ink); }
.layer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.layer-name h3 { font-size: var(--step-4); }
.layer-lead .layer-name h3 { font-style: italic; }
.layer-name p { color: var(--ink-2); margin-top: 10px; max-width: 22rem; }
.layer-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-content: start; }
.layer-items a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: var(--step-1); }
.layer-items a::after { content: ""; flex: none; width: 8px; height: 8px; border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s, border-color .2s; }
.layer-items a:hover { color: var(--signal); }
.layer-items a:hover::after { border-color: var(--signal); transform: translateX(4px) rotate(45deg); }
@media (max-width: 820px) { .layer { grid-template-columns: 1fr; gap: 16px; } .layer-items { grid-template-columns: 1fr; } }

/* Method: a week ruler */
.ruler { display: flex; height: 34px; border-bottom: 1px solid var(--ink); margin-bottom: 0;
  background-image: repeating-linear-gradient(to right, var(--ink-3) 0 1px, transparent 1px calc(100% / 30)); background-size: 100% 8px; background-repeat: no-repeat; background-position: bottom; }
.ruler span { flex: var(--w) 1 0; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-2); border-left: 1px solid var(--ink); padding-left: 6px; }
.ruler .open { background: linear-gradient(to right, transparent, var(--paper)); }
.method-line { display: flex; }
.method-line li { flex: var(--w) 1 0; min-width: 0; padding: 22px 16px 0 6px; border-left: 1px solid var(--line); }
.method-line li:nth-child(3) { background: linear-gradient(var(--signal-soft), transparent 70%); }
.step-n { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; border: 1px solid var(--ink); font-family: var(--mono); font-size: 0.72rem; vertical-align: 4px; }
.method-line h3 { font-size: var(--step-2); white-space: nowrap; }
.method-line .when { color: var(--ink-2); margin: 8px 0 8px; }
.method-line p:last-child { color: var(--ink-2); font-size: 0.98rem; }
.method-line li:nth-child(1), .method-line li:nth-child(2), .ruler span:nth-child(1), .ruler span:nth-child(2) { min-width: 150px; }
@media (max-width: 900px) {
  .ruler { display: none; }
  .method-line { flex-direction: column; border-top: 1px solid var(--ink); }
  .method-line li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); min-width: 0 !important; }
  .method-line li:nth-child(3) { background: none; }
  .method-line h3 { white-space: normal; }
}

/* Reading */
.reading-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.reading-list h2 { font-size: var(--step-4); margin-bottom: 28px; }
.post-list { border-top: 1px solid var(--ink); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; gap: 6px; padding: 24px 0; text-decoration: none; }
.post-list a:hover .post-title { color: var(--signal); }
.post-topic { color: var(--ink-2); }
.post-title { font-family: var(--display); font-size: var(--step-3); line-height: 1.08; }
.post-dek { color: var(--ink-2); max-width: 40rem; }
.paper-feature { position: sticky; top: 100px; }
.paper-feature > h2 { font-size: var(--step-3); margin: 10px 0 12px; }
.paper-feature > p { color: var(--ink-2); font-size: var(--step-1); }
.paper-feature .paper-kicker { color: var(--ink-2); }
.paper-feature .btn { margin-top: 24px; }
@media (max-width: 900px) { .reading-grid { grid-template-columns: 1fr; } .paper-feature { position: static; } }

/* Stacked white paper sheets */
.sheets { position: relative; height: 260px; margin-bottom: 28px; }
.sheet { position: absolute; inset: 0 18% 0 8%; background: var(--paper-3); border: 1px solid var(--line); border-radius: 2px; }
.sheet-back { transform: rotate(-5deg) translate(-8px, 6px); background: var(--paper-2); }
.sheet-mid { transform: rotate(3deg) translate(10px, 2px); }
.sheet-front { display: flex; flex-direction: column; gap: 14px; padding: 22px; box-shadow: 0 18px 36px -24px rgba(29,28,26,.4); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.sheet-front::after { content: ""; position: absolute; top: 0; right: 0; width: 28px; height: 28px; background: linear-gradient(225deg, var(--paper) 50%, var(--paper-2) 50%); }
.sheet-label { font-family: var(--mono); font-size: 0.7rem; color: var(--signal); }
.sheet-title { font-family: var(--display); font-size: 2rem; line-height: 1.05; max-width: 12ch; }
.sheet-lines { flex: 1; background: repeating-linear-gradient(var(--line) 0 1px, transparent 1px 12px); mask-image: linear-gradient(to right, #000 70%, transparent); -webkit-mask-image: linear-gradient(to right, #000 70%, transparent); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.faq-grid > h2 { font-size: var(--step-4); }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--ink); }
summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-family: var(--display); font-size: var(--step-2); line-height: 1.2; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--ink), var(--ink)) center/12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1.5px 12px no-repeat; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); background: linear-gradient(var(--signal), var(--signal)) center/12px 1.5px no-repeat, linear-gradient(var(--signal), var(--signal)) center/1.5px 12px no-repeat; }
summary:hover { color: var(--signal); }
details p { padding: 0 0 24px; color: var(--ink-2); max-width: 42rem; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* CTA band */
.band { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding-block: clamp(64px, 9vw, 120px); margin-top: var(--section); }
.band-alpha { position: absolute; right: 6vw; top: 50%; transform: translateY(-58%); font-family: var(--serif); font-style: italic; font-size: clamp(16rem, 40vw, 34rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,74,28,.55); pointer-events: none; }
.band-inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.band h2 { font-size: var(--step-4); margin-bottom: 20px; }
.band p { color: rgba(242,240,234,.75); font-size: var(--step-1); max-width: 38rem; }
.band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.band .btn-gold:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 820px) { .band-inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); color: var(--ink); padding-block: 72px 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.footer-alpha { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 13vw, 10rem); line-height: .8; color: var(--signal); }
.footer-line { margin-top: 24px; max-width: 24rem; font-family: var(--display); font-size: var(--step-2); line-height: 1.15; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-cols h2 { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); margin-bottom: 16px; letter-spacing: 0.01em; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--signal); }
.footer-sub { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: end; }
.subscribe { flex: 1 1 440px; max-width: 560px; }
.subscribe label { display: block; font-family: var(--display); font-size: var(--step-2); margin-bottom: 12px; }
.subscribe-row { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe input { min-height: 48px; min-width: 0; flex: 1 1 220px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--ink-3); background: var(--paper-3); color: var(--ink); font: inherit; }
.legal { color: var(--ink-2); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Generic content ---------- */
.prose { max-width: 40rem; }
.prose p + p { margin-top: 1em; }
.lead-text { font-family: var(--display); font-size: var(--step-3); line-height: 1.15; max-width: 46rem; }
.muted { color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding-top: 32px; border-top: 1px solid var(--ink); }
.split > h2 { font-size: var(--step-3); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 20px; } }
.pill { justify-self: start; align-self: flex-start; display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--ink-3); color: var(--ink-2); }
.pill-gold { border-color: transparent; color: var(--ink); background: var(--signal-soft); }

/* Services page */
.svc-layer { padding-top: var(--section); scroll-margin-top: 80px; }
.svc-layer-head { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.svc-layer-head h2 { font-size: var(--step-5); line-height: .9; }
#lead .svc-layer-head h2 { font-style: italic; }
.svc-layer-head p { font-size: var(--step-1); color: var(--ink-2); }
.svc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.svc h3 { font-size: var(--step-3); margin-bottom: 14px; }
.svc .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.svc .summary { font-size: var(--step-1); }
.svc .for { margin-top: 16px; color: var(--ink-2); }
.svc h4 { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); margin-bottom: 14px; }
.svc .actions { margin-top: 24px; }
.svc > div:last-child { background: var(--paper-3); border: 1px solid var(--line); padding: 24px; border-radius: var(--radius); align-self: start; }
.svc:target h3 { color: var(--signal); }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; gap: 24px; } }
.sprint-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sprint { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px; scroll-margin-top: 96px; }
.sprint h3 { font-size: var(--step-2); margin-bottom: 10px; }
.sprint p { color: var(--ink-2); font-size: 0.98rem; }
.sprint:target { background: var(--signal-soft); }
@media (max-width: 1000px) { .sprint-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sprint-grid { grid-template-columns: 1fr; } }

/* Method page */
.act { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr); gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); align-items: start; }
.act:first-child { border-top-color: var(--ink); }
.act-num { font-family: var(--display); font-size: var(--step-5); line-height: .8; color: var(--ink-3); }
.act:last-child .act-num { color: var(--signal); }
.act h2 { font-size: var(--step-4); margin-bottom: 6px; }
.act .when { color: var(--ink-2); margin-bottom: 18px; }
.act .lead-text { font-family: var(--serif); }
.act .out { border-left: 2px solid var(--signal); padding: 4px 0 4px 18px; }
.act .out span { display: block; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); margin-bottom: 6px; }
@media (max-width: 900px) { .act { grid-template-columns: 1fr; gap: 14px; } }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.principles li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.principles li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.principles h3 { font-size: var(--step-2); margin-bottom: 10px; }
.principles p { color: var(--ink-2); }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } .principles li:nth-child(even) { padding-left: 0; border-left: 0; } }

/* Insights index */
.topic-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 36px; }
.topic-filter button { font: 400 0.8rem var(--mono); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; }
.topic-filter button:hover { border-color: var(--ink); color: var(--ink); }
.topic-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.post-card { padding: 32px 32px 32px 0; text-decoration: none; display: flex; flex-direction: column; gap: 12px; min-height: 240px; border-bottom: 1px solid var(--line); }
.post-card:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.post-card:first-child { grid-column: 1 / -1; padding-right: 0; min-height: 0; }
.post-card:first-child .post-title { font-size: var(--step-5); line-height: .95; max-width: 16ch; }
.post-card:first-child .post-dek { font-size: var(--step-1); }
.post-card:nth-child(n+2):nth-child(odd) { padding-left: 32px; border-left: 1px solid var(--line); }
.post-card:nth-child(n+2):nth-child(even) { padding-left: 0; border-left: 0; }
.post-card .post-title { font-size: var(--step-3); }
.post-card .post-meta { margin-top: auto; color: var(--ink-2); }
.post-card:hover .post-title { color: var(--signal); }
.post-card.post-card-small { grid-column: auto; min-height: 200px; padding: 28px 24px 28px 0; border-left: 0; }
.post-card.post-card-small .post-title { font-size: var(--step-2); max-width: none; line-height: 1.12; }
.next-reads.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.next-reads .post-card-small + .post-card-small { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 820px) {
  .post-grid, .next-reads.post-grid { grid-template-columns: 1fr; }
  .post-card, .post-card:nth-child(n), .next-reads .post-card-small + .post-card-small { padding: 28px 0 !important; border-left: 0 !important; min-height: 0; }
}

/* Article */
.article-body { font-size: 1.2rem; line-height: 1.72; max-width: 38rem; margin: 0 auto; }
.article-body p + p, .article-body ul + p, .article-body p + ul { margin-top: 1.1em; }
.article-body h2 { font-size: var(--step-3); margin: 1.8em 0 .5em; }
.article-body ul { display: grid; gap: .6em; }
.article-body li { padding-left: 1.4em; position: relative; }
.article-body li::before { content: ""; position: absolute; left: 0; top: .78em; width: .7em; height: 1.5px; background: var(--signal); }
.article-body > p:first-child { font-size: 1.4rem; line-height: 1.55; }
.article-body > p:first-child::first-letter { font-family: var(--display); float: left; font-size: 4.6em; line-height: .82; padding: .06em .1em 0 0; color: var(--signal); }
.article-end { max-width: 38rem; margin: 56px auto 0; padding-top: 32px; border-top: 1px solid var(--ink); display: grid; gap: 20px; }
.article-end .lead-text { font-size: var(--step-2); }

/* Resources */
.res-block { padding-top: var(--section); scroll-margin-top: 80px; }
.paper-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.paper-card { background: var(--paper-3); border: 1px solid var(--line); border-radius: 2px; padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.paper-card::after { content: ""; position: absolute; top: 0; right: 0; width: 24px; height: 24px; background: linear-gradient(225deg, var(--paper) 50%, var(--line) 50%); }
.paper-card h3 { font-size: var(--step-3); }
.paper-card > p { color: var(--ink-2); }
.paper-card ul { display: grid; gap: 6px; font-size: 0.95rem; }
.paper-card li { padding-left: 18px; position: relative; }
.paper-card li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--signal); }
.paper-card form { margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .paper-grid { grid-template-columns: 1fr; } }
.tmpl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--ink); }
.tmpl-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.tmpl-list h3 { font-size: var(--step-2); margin-bottom: 4px; }
.tmpl-list p { color: var(--ink-2); }
@media (max-width: 720px) { .tmpl-list { grid-template-columns: 1fr; } }

/* Tools */
.tool { background: var(--paper-3); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 44px); scroll-margin-top: 96px; }
.tool + .tool { margin-top: 20px; }
.tool-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 28px; }
.tool-head h3 { font-size: var(--step-4); }
.tool-head p { color: var(--ink-2); }
@media (max-width: 820px) { .tool-head { grid-template-columns: 1fr; } }
.quiz { display: grid; }
.quiz fieldset { border: 0; padding: 14px 0; margin: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.quiz legend { float: left; padding: 0; }
.yn { display: flex; gap: 6px; }
.yn label { cursor: pointer; }
.yn input { position: absolute; opacity: 0; }
.yn span { display: inline-block; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.8rem; }
.yn label:hover span { border-color: var(--ink); }
.yn input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.yn input[value="1"]:checked + span { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.yn input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.result { margin-top: 24px; padding: 24px; border-radius: var(--radius); background: var(--paper-2); }
.result strong { display: block; font-family: var(--display); font-weight: 400; font-size: var(--step-3); margin-bottom: 8px; }
.meter { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 12px 0 16px; }
.meter i { display: block; height: 100%; width: 0; background: var(--signal); transition: width .4s ease; }
.calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .calc-grid { grid-template-columns: 1fr !important; } .quiz fieldset { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper-3);
  border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .subscribe input:focus, .mini-form input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--signal-soft); }
.calc-out { margin-top: 24px; font-family: var(--display); font-size: var(--step-3); line-height: 1.15; }
.calc-out small { display: block; font-family: var(--serif); font-size: var(--step-0); color: var(--ink-2); margin-top: 10px; line-height: 1.5; }
.prompt-out { margin-top: 20px; display: grid; counter-reset: p; border-top: 1px solid var(--ink); }
.prompt-out li { padding: 12px 0 12px 44px; position: relative; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.prompt-out li::before { counter-increment: p; content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--mono); font-size: 0.8rem; color: var(--signal); }
.mini-form { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-form input { flex: 1 1 180px; min-width: 0; font: inherit; border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 0 14px; min-height: 46px; background: var(--paper); }

/* Playbooks */
.pb-list { display: grid; border-top: 1px solid var(--ink); }
.pb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.pb h2 { font-size: var(--step-4); margin: 14px 0 10px; }
.pb .for { color: var(--ink-2); }
.pb ol { counter-reset: ch; display: grid; align-content: start; }
.pb ol li { counter-increment: ch; padding: 14px 0 14px 48px; border-bottom: 1px solid var(--line); position: relative; font-size: 1.05rem; }
.pb ol li:first-child { border-top: 1px solid var(--line); }
.pb ol li::before { content: "Ch. " counter(ch); position: absolute; left: 0; top: 17px; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2); }
.pb:target h2 { color: var(--signal); }
@media (max-width: 820px) { .pb { grid-template-columns: 1fr; gap: 20px; } }

/* Ideas */
.idea-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.idea { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.idea:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.idea h3 { font-size: var(--step-3); }
.idea dl { margin: 0; display: grid; gap: 12px; }
.idea dt { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-2); }
.idea div:last-child dt { color: var(--signal); }
.idea dd { margin: 2px 0 0; }
@media (max-width: 820px) { .idea-grid { grid-template-columns: 1fr; } .idea, .idea:nth-child(even) { padding: 28px 0; border-left: 0; } }

/* Founder 101 */
.climb { display: grid; border-top: 1px solid var(--ink); }
.climb li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.climb .n { font-family: var(--display); font-size: 3rem; line-height: .9; color: var(--ink-3); }
.climb li:last-child .n { color: var(--signal); }
.climb h3 { font-size: var(--step-3); margin-bottom: 6px; }
.climb p { color: var(--ink-2); max-width: 40rem; }
.myths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.myth { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.myth:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.myth s { font-family: var(--display); font-size: var(--step-3); line-height: 1.1; text-decoration-color: var(--signal); text-decoration-thickness: 2px; display: block; margin-bottom: 12px; color: var(--ink-2); }
.kit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.kit li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.kit li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.kit h3 { font-family: var(--mono); font-size: 0.8rem; color: var(--signal); margin-bottom: 10px; }
.kit p { font-size: 1rem; }
@media (max-width: 900px) {
  .myths { grid-template-columns: 1fr; } .myth:nth-child(even) { padding-left: 0; border-left: 0; }
  .kit { grid-template-columns: 1fr 1fr; } .kit li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) { .kit { grid-template-columns: 1fr; } .kit li + li { padding-left: 0; border-left: 0; } .climb li { grid-template-columns: 48px 1fr; gap: 16px; } }

/* Book diagnostic */
.book-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.book-aside h2 { font-size: var(--step-4); margin-bottom: 24px; }
.book-aside ol { display: grid; counter-reset: b; border-top: 1px solid var(--ink); }
.book-aside ol li { counter-increment: b; padding: 16px 0 16px 44px; position: relative; border-bottom: 1px solid var(--line); }
.book-aside ol li::before { content: counter(b, decimal-leading-zero); position: absolute; left: 0; top: 19px; font-family: var(--mono); font-size: 0.8rem; color: var(--signal); }
.book-aside .contact-lines { margin-top: 32px; display: grid; gap: 4px; }
.book-form { background: var(--paper-3); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice-group { border: 0; padding: 0; margin: 0; }
.choice-group legend { color: var(--ink-2); margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; }
.choices span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 0.95rem; }
.choices label:hover span { border-color: var(--ink); }
.choices input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choices input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.form-note { color: var(--ink-2); }
.flash-bar { padding-top: 16px; }
.flash { padding: 14px 18px; border-radius: var(--radius); font-family: var(--mono); font-size: 0.85rem; border: 1px solid; }
.flash-ok { background: #E4EEDF; border-color: #A9C39C; color: #234A19; }
.flash-err { background: var(--signal-soft); border-color: var(--signal); color: #7A1E05; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* About */
.about-statement { font-family: var(--display); font-size: var(--step-4); line-height: 1.08; max-width: 22ch; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.values li { padding: 28px 28px 28px 0; }
.values li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.values h3 { font-size: var(--step-3); margin-bottom: 10px; }
.values p { color: var(--ink-2); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } .values li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* 404 */
.notfound { padding-block: var(--section); }
.notfound h1 { font-size: var(--step-5); }
