/* ==========================================================================
   Domin — design system v0.2 (prototype)
   Magnus-led editorial system. Paper + raw denim. Colour only in photos.
   ========================================================================== */

:root {
  /* Colour — derived from: unbleached cotton paper, raw indigo denim, black thread */
  --paper: #F8F6F1;          /* ground: warm unbleached paper, softer than white */
  --sheet: #FFFFFF;          /* the "physical page" object only */
  --ink: #1D2331;            /* all text, a touch softer than near-black */
  --ink-2: #4A5263;          /* secondary text, still ≥7:1 */
  --rule: #D8D3C8;           /* hairlines */
  --dot-off: #C9C7C0;        /* empty chart dots */

  /* Type families — three voices */
  --display: "Big Shoulders", "Anton", Impact, sans-serif;     /* shouting, compressed caps */
  --text: "EB Garamond", Garamond, Georgia, serif;              /* reading */
  --voice: "Instrument Serif", Georgia, serif;                  /* the playful italic voice */
  --mono: "Geist Mono", ui-monospace, monospace;                /* labels */

  /* Spacing — 8pt grid (Apple HIG), with a 4px half-step */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 160px; --s-12: 240px;

  /* Layout */
  --margin: clamp(20px, 3.34vw, 48px);
  --gutter: clamp(16px, 2.2vw, 32px);
  --measure: 62ch;           /* ~65 characters per line */

  /* Radius — editorial = square. Rounding is reserved for dots and the paper sheet */
  --r-0: 0;
  --r-sheet: 2px 6px 6px 2px;
  --r-round: 999px;

  /* Motion — fast, decelerating, never blocking (Emil Kowalski / Apple) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-press: 120ms;
  --t-fast: 200ms;
  --t-base: 250ms;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background-color: var(--paper);
  /* Dot grid (Attio: 1px square every 10px) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Crect x='5' y='5' width='1' height='1' fill='%23CFCBC1'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 20px;
  line-height: 1.5;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* The paper. A faint fixed grain the content scrolls over. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.1 0 0 0 0 0.15 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-transparency: reduce) { body::after { display: none; } }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* --------------------------------------------------------------------------
   Type roles — tracking is size-specific (tight big, open small)
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
.display--xl { font-size: clamp(88px, 18.8vw, 270px); }
.display--l  { font-size: clamp(64px, 11.7vw, 168px); }
.display--m  { font-size: clamp(48px, 8.3vw, 120px); }
.display--s  { font-size: clamp(36px, 4.45vw, 64px); line-height: 0.94; font-weight: 800; letter-spacing: 0; }
.display--xs { font-size: clamp(30px, 2.8vw, 40px); line-height: 0.95; font-weight: 800; letter-spacing: 0.005em; }

.label {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; vertical-align: super; line-height: 0; margin-left: 4px; }

.voice { font-family: var(--voice); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }

.lead { font-size: clamp(21px, 1.67vw, 24px); line-height: 1.36; }
.body { font-size: 20px; line-height: 1.5; max-width: var(--measure); }
.body p + p { margin-top: 1em; }
.small { font-size: 17px; line-height: 1.42; }

/* Highlight: a voice swap with a pen underline — never a coloured marker */
.hl {
  font-family: var(--voice);
  font-style: italic;
  font-size: 1.22em;
  line-height: 1;
  white-space: nowrap;
  padding-bottom: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5.5 C40 2.5 90 6 130 3.2 S180 4.6 198 2.8' stroke='%23141A26' stroke-width='1.4' fill='none' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left bottom / 100% 7px no-repeat;
}

/* Text links: always underlined (WCAG 1.4.1 — no accent colour to lean on) */
.link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: text-underline-offset var(--t-fast) var(--ease-out);
}
.link:hover { text-underline-offset: 0.3em; }

.rule { height: 1px; width: 56px; background: var(--ink); }

/* --------------------------------------------------------------------------
   Signature components
   -------------------------------------------------------------------------- */

/* Asterisk bullet — hand-drawn, the recurring detail */
.stars { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); max-width: var(--measure); }
.stars li { position: relative; padding-left: 32px; }
.stars li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 1.5 C9.2 5 8.8 12 9.1 16.5 M2.2 5.2 C5.5 7 12.5 11 15.8 12.6 M15.6 5 C12 7.2 6 11 2.4 12.8' stroke='%23141A26' stroke-width='1.7' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The arrow note — italic voice + pen arrow */
.note { position: absolute; pointer-events: none; }
.note__text { font-family: var(--voice); font-style: italic; font-size: clamp(22px, 2.36vw, 34px); line-height: 1.1; white-space: nowrap; }
.note svg { display: block; overflow: visible; }
/* note sitting above-right of its arrow: text first, arrow pointing down-left */
.note--up { display: flex; flex-direction: column; }
.note--up .note__text { padding-left: 70px; }
.subscribe { display: flex; align-items: flex-end; gap: 24px; max-width: 640px; }
.note path, .side-note path { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* Numbered callout dot (Magnus ①②) */
.dot {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: var(--r-round);
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 11px; line-height: 1;
  flex-shrink: 0;
}
.dot--sm { width: 18px; height: 18px; font-size: 10px; }

/* Cut-out figure floating in white space. Pins and notes live inside, in % of the figure */
.figure { position: absolute; }
.figure img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.figure .pin { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.figure .note { left: 82%; top: -3%; }

/* Caption with ● bullet */
.caption { display: flex; gap: 10px; align-items: baseline; font-size: 16px; line-height: 1.4; }
.caption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex-shrink: 0; transform: translateY(-1px); }

/* Intro formula: kicker — rule — dek — rule — credits */
.formula { display: flex; flex-direction: column; gap: 18px; }
.credits { display: flex; flex-direction: column; gap: 2px; font-size: 17px; }
.credits .voice { font-size: 20px; margin-left: 6px; }

/* Buttons: feedback on press, not on release */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  padding: 15px 20px; border: 0; border-radius: var(--r-0); cursor: pointer;
  transition: transform var(--t-press) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform var(--t-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .arrow { transform: translateX(3px); } }

/* --------------------------------------------------------------------------
   Navigation — translucent material, content scrolls under it
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 26px var(--margin) 22px;
  background: rgba(248, 246, 241, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
}
/* Scroll-edge fade instead of a hard divider */
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 24px;
  background: linear-gradient(rgba(248, 246, 241, 0.72), rgba(248, 246, 241, 0));
  pointer-events: none;
}
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--paper); backdrop-filter: none; } }

.wordmark { font-family: var(--voice); font-size: 28px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark i { font-style: italic; }
.nav__links { display: flex; gap: 36px; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a[aria-current="page"], .nav__links a.is-sub { border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.wrap { padding-left: var(--margin); padding-right: var(--margin); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); }
.offset { display: grid; grid-template-columns: minmax(0, 35.5%) minmax(0, 620px) 1fr; }
.offset > .margin-col { padding-right: var(--s-8); display: flex; justify-content: flex-end; }
.offset > .main-col { grid-column: 2; }

/* --------------------------------------------------------------------------
   Story opener — title brackets the page (Magnus)
   -------------------------------------------------------------------------- */
.opener { position: relative; height: calc(100svh - 76px); min-height: 760px; max-height: 1000px; overflow: hidden; }
.opener__top { position: absolute; left: calc(var(--margin) - 8px); top: 24px; white-space: nowrap; }
.opener__bottom { position: absolute; right: calc(var(--margin) - 8px); bottom: 24px; white-space: nowrap; }
.opener .formula { position: absolute; left: var(--margin); top: 42%; width: min(400px, 30vw); }
.opener .figure { left: 44.5%; top: 33.6%; width: clamp(150px, 15vw, 214px); z-index: 2; }
.opener .callouts { position: absolute; right: var(--margin); top: 50%; width: min(320px, 24vw); display: flex; flex-direction: column; gap: 14px; }
.opener .callouts li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 17px; line-height: 1.4; }

/* Drop cap in the display face */
.dropcap::first-letter {
  font-family: var(--display); font-weight: 900; font-size: 7.4em; line-height: 0.8;
  float: left; margin: 0.05em 0.08em 0 -0.02em;
}

.chapter { position: relative; overflow: hidden; height: min(780px, 62vw); }
.chapter__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 45%; filter: grayscale(1) contrast(1.05); will-change: transform; }
.chapter__label { position: absolute; left: 32px; top: 28px; color: var(--paper); }
.chapter__title { position: absolute; left: 24px; bottom: -0.13em; color: var(--paper); font-size: clamp(64px, 13.9vw, 200px); white-space: nowrap; }

/* Pull quote: widely tracked compressed caps */
.pull { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pull blockquote {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(36px, 4.45vw, 64px); line-height: 1.06; letter-spacing: 0.05em; max-width: 1040px;
}

/* Big number figures */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-7); }
.numbers .n { font-family: var(--display); font-weight: 900; font-size: clamp(120px, 16.7vw, 240px); line-height: 0.83; }
.numbers .n--thin { font-weight: 200; }
.numbers--noted { padding-top: 150px; }
.numbers__note { left: auto; right: 0; top: -128px; }
.numbers__note .note__text { font-size: 24px; padding-left: 40px; }

.fig-head { display: flex; justify-content: space-between; gap: var(--s-5); border-top: 1px solid var(--ink); padding-top: 14px; }

/* Story furniture */
.story-title { font-size: clamp(80px, 13.9vw, 200px); }
.side-note { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 240px; text-align: right; }
.side-note .note__text { white-space: normal; font-size: 24px; line-height: 1.12; }
.subhead { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 0.98; margin: var(--s-8) 0 var(--s-4); }
.summary { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: var(--s-5) 0 var(--s-6); }
.summary .stars { font-size: 18px; line-height: 1.45; gap: 10px; }

/* Images woven into a sentence (Artworld) */
.inline-img { display: inline-block; height: 1.05em; width: 2.4em; object-fit: cover; vertical-align: -0.1em; margin: 0 0.12em; filter: grayscale(1); }

/* Film block — the other half of the team */
.film { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); cursor: pointer; }
.film img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; transition: transform var(--t-base) var(--ease-out); }
.film__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 84px; height: 84px; border-radius: var(--r-round);
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
  transition: transform var(--t-press) var(--ease-out);
}
.film:active .film__play { transform: scale(0.95); }
.film__meta { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .film:hover img { transform: scale(1.015); } }

/* Endmark + next story */
.endmark { width: 18px; height: 18px; margin-top: var(--s-6); }
.next { display: grid; grid-template-columns: minmax(0, 35.5%) 1fr; align-items: end; padding: var(--s-6) 0 var(--s-9); border-top: 1px solid var(--ink); position: relative; }
.next .figure { position: relative; width: 120px; filter: grayscale(1); }

/* --------------------------------------------------------------------------
   Homepage
   -------------------------------------------------------------------------- */
.hero { position: relative; height: max(820px, calc(100svh - 80px)); overflow: hidden; }
.hero .formula { position: absolute; left: var(--margin); top: 72px; width: min(340px, 28vw); }
.hero .figure { left: 57%; top: 40px; width: clamp(170px, 16vw, 232px); }
.hero .figure .note { left: 84%; top: -2%; }
.hero__title { position: absolute; left: calc(var(--margin) - 6px); bottom: 40px; line-height: 0.96; }
.hero__latest { position: absolute; right: var(--margin); bottom: 64px; width: 280px; display: flex; flex-direction: column; gap: 10px; }

.index-row {
  display: grid; grid-template-columns: 220px 1fr 120px; gap: 40px; align-items: end;
  padding: 36px 0; border-bottom: 1px solid var(--rule); position: relative;
}
.index-row .num { font-family: var(--display); font-weight: 900; font-size: clamp(110px, 12.5vw, 180px); line-height: 0.78; }
.index-row .meta { text-align: right; padding-bottom: 8px; }
.index-row .peek {
  position: absolute; right: 18%; bottom: -40px; width: 110px; pointer-events: none; z-index: 2;
  opacity: 0; transform: translateY(8px) scale(0.98);
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .index-row:hover .peek { opacity: 1; transform: none; }
  .index-row .title { transition: transform var(--t-base) var(--ease-out); }
  .index-row:hover .title { transform: translateX(10px); }
}

.notes-list { border-top: 1px solid var(--ink); }
.notes-list a {
  display: grid; grid-template-columns: 84px 1fr 24px; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.notes-list .t { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.25; }
.notes-list .go { font-family: var(--mono); font-size: 13px; transition: transform var(--t-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .notes-list a:hover .go { transform: translateX(4px); } }

.field { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.field input {
  font-family: var(--voice); font-style: italic; font-size: 26px; line-height: 1.15;
  color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  padding: 0 0 10px; outline: none; border-radius: 0;
}
.field input::placeholder { color: var(--ink-2); }
.field input:focus-visible { border-bottom-width: 2px; padding-bottom: 9px; }

.footer { padding: 0 calc(var(--margin) - 24px) 20px; overflow: hidden; }
.footer__bar { display: flex; justify-content: space-between; padding: 0 24px 14px; }
.footer__mark { display: inline-block; white-space: nowrap; line-height: 0.84; }

/* --------------------------------------------------------------------------
   Note page
   -------------------------------------------------------------------------- */
.note-title { font-family: var(--text); font-size: clamp(44px, 5.3vw, 76px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 400; }
.vote-row { display: grid; grid-template-columns: minmax(0, 35.5%) 1fr 120px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.vote-row .name { font-size: 26px; line-height: 1.2; }
.vote-row .dots { display: flex; gap: 12px; flex-wrap: wrap; }
.vote-row .dots i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--dot-off); }
.vote-row .dots i.on { background: var(--ink); border-color: var(--ink); }
.vote-row .count { font-family: var(--display); font-weight: 900; font-size: 88px; line-height: 0.8; text-align: right; }

/* The physical page (aiwithremy) */
.sheet {
  display: flex; max-width: 660px;
}
.sheet__page {
  flex: 1; background: var(--sheet);
  border: 1px solid rgba(20, 26, 38, 0.12); border-right: 0;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 1px 1px rgba(20, 26, 38, 0.04), 0 26px 60px -24px rgba(20, 26, 38, 0.22);
  padding: 56px 60px; display: flex; flex-direction: column; gap: 20px;
}
.sheet__edge {
  width: 6px; flex-shrink: 0; border-radius: 0 6px 6px 0;
  background: repeating-linear-gradient(to right, #F4F2EC 0 2px, #E5DECA 2px 3px);
  box-shadow: 0 26px 60px -24px rgba(20, 26, 38, 0.22);
}

.meta-stack { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; text-align: right; }
.prompt-box { border-left: 1px solid var(--ink); padding: 4px 0 4px 24px; font-family: var(--mono); font-size: 14px; line-height: 1.6; letter-spacing: 0.01em; max-width: 560px; }
.sheet-wrap { position: relative; }
.sheet-wrap .sheet { max-width: 600px; }
.sheet-wrap .side-note { position: absolute; left: 636px; top: 48px; align-items: flex-start; text-align: left; max-width: 230px; }
.sheet__page .label { color: var(--ink-2); }
.email { font-size: 19px; line-height: 1.5; }
.email p + p { margin-top: 0.9em; }
.vote-note { padding-top: var(--s-4); }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.duo { position: relative; height: calc(100svh - 76px); min-height: 760px; max-height: 1000px; overflow: hidden; }
.duo .figure--a { left: 27%; top: 25%; width: clamp(150px, 14vw, 200px); z-index: 2; }
.duo .figure--b { left: 60%; top: 28%; width: clamp(142px, 13.2vw, 190px); z-index: 2; }
.figure .note--left { left: auto; right: 80%; align-items: flex-end; }
.note--left .note__text { padding-left: 0; padding-right: 70px; }
.duo .figure--b img { transform: scaleX(-1); filter: grayscale(1); }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-5); counter-reset: step; position: relative; margin-top: var(--s-7); }
.process::before { content: ""; position: absolute; left: 11px; right: 11px; top: 11px; height: 1px; background: var(--ink); }
.process li { list-style: none; display: flex; flex-direction: column; gap: 14px; position: relative; }

/* --------------------------------------------------------------------------
   Social — 1080×1350 slides, previewed at a third of the size
   -------------------------------------------------------------------------- */
.slides { display: flex; gap: 24px; overflow-x: auto; padding: 8px var(--margin) 32px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); }
.slide-frame { flex-shrink: 0; width: calc(1080px * var(--k)); --k: 0.34; scroll-snap-align: start; }
.slide-frame > .label { display: block; padding-top: 12px; }
.slide {
  width: 1080px; height: 1350px; transform: scale(var(--k)); transform-origin: 0 0;
  /* collapse the layout box to the scaled size */
  margin-right: calc(1080px * (var(--k) - 1)); margin-bottom: calc(1350px * (var(--k) - 1));
  position: relative; overflow: hidden; background: var(--paper); color: var(--ink);
  box-shadow: 0 0 0 1px var(--rule);
}
.slide--ink { background: var(--ink); color: var(--paper); }
.slide__top { position: absolute; left: 56px; right: 56px; top: 52px; display: flex; justify-content: space-between; }
.slide__top .label, .slide__bottom .label { font-size: 22px; }
.slide__bottom { position: absolute; left: 56px; right: 56px; bottom: 52px; display: flex; justify-content: space-between; align-items: baseline; }
.slide .wordmark { font-size: 40px; }
.slide .display { line-height: 0.86; }
.slide .stars li::before { width: 30px; height: 30px; top: 0.3em; }
.slide .stars li { padding-left: 60px; }
.slide--ink .stars li::before { filter: invert(1); }
.slide .note__text { font-size: 56px; }
.slide .note svg { width: 130px; height: 130px; }
.slide .note--up .note__text { padding-left: 110px; }

/* --------------------------------------------------------------------------
   Newsletter — a 640px email, built from the same parts
   -------------------------------------------------------------------------- */
.inbox { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: 64px 1fr; row-gap: 6px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.inbox .label { color: var(--ink-2); padding-top: 4px; }
.mail { max-width: 640px; margin: 0 auto; background: var(--sheet); box-shadow: 0 1px 1px rgba(20, 26, 38, 0.04), 0 26px 60px -24px rgba(20, 26, 38, 0.22); border: 1px solid rgba(20, 26, 38, 0.08); }
.mail__pad { padding: 40px 48px; }
.mail__head { display: flex; justify-content: space-between; align-items: baseline; padding: 28px 48px 22px; border-bottom: 1px solid var(--rule); }
.mail__hero { position: relative; height: 420px; background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--rule); }
.mail__hero .display { position: absolute; font-size: 92px; }
.mail hr { border: 0; border-top: 1px solid var(--rule); margin: 0 48px; }
.mail .stars { font-size: 18px; line-height: 1.45; }
.mail .stars a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

/* --------------------------------------------------------------------------
   Parallax hook (driven by main.js; off under reduced motion)
   -------------------------------------------------------------------------- */
[data-parallax] { will-change: transform; }

/* --------------------------------------------------------------------------
   Responsive — phones and small tablets
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --s-11: 96px; --s-12: 128px; }
  body { font-size: 18px; }
  .body, .stars { font-size: 18px; }
  .nav { padding: 18px var(--margin) 14px; }
  .nav__links { gap: 18px; }
  .nav__links a:not(.is-sub) { display: none; }
  .wordmark { font-size: 24px; }

  .split, .offset { display: block; }
  .offset > .margin-col { justify-content: flex-start; padding: 0 0 var(--s-6); }

  /* Opener becomes a vertical stack: title, figure, title, formula */
  .opener { height: auto; min-height: 0; display: flex; flex-direction: column; padding: 8px 0 var(--s-8); }
  .opener__top, .opener__bottom, .opener .formula, .opener .callouts { position: static; }
  .opener__top { padding: 0 var(--margin); }
  .opener .figure { position: relative; left: auto; top: auto; width: 150px; margin: 4px auto -56px; }
  .opener__bottom { padding: 0 var(--margin); text-align: right; position: relative; z-index: 1; }
  .opener .formula { width: auto; padding: var(--s-7) var(--margin) 0; }
  .opener .callouts { width: auto; padding: var(--s-6) var(--margin) 0; }

  .hero { height: auto; display: flex; flex-direction: column; padding-bottom: var(--s-8); }
  .hero .formula, .hero__title, .hero__latest { position: static; }
  .hero .formula { width: auto; padding: var(--s-6) var(--margin) 0; order: 1; }
  .hero .figure { position: relative; left: auto; top: auto; order: 2; width: 160px; margin: 56px 0 0 22%; }
  .hero__title { order: 3; padding: 0 var(--margin); margin-top: -60px; position: relative; }
  .hero__latest { order: 4; width: auto; padding: var(--s-7) var(--margin) 0; }
  .hero .figure .note { left: 58%; top: -7%; }
  .note--up .note__text { padding-left: 40px; }
  .hero__title { font-size: 60px; }
  .index-row .peek { display: none; }
  .footer { padding: 0 var(--margin) 20px; }
  .footer__bar { flex-direction: column; gap: 8px; padding: 0 0 18px; }
  .subscribe { flex-direction: column; align-items: stretch; }

  .index-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .index-row .meta { text-align: left; padding: 0; }
  .numbers { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-8); }
  .vote-row { grid-template-columns: 1fr auto; row-gap: 12px; }
  .vote-row .dots { grid-column: 1 / -1; grid-row: 2; gap: 8px; }
  .vote-row .dots i { width: 18px; height: 18px; }
  .vote-row .count { font-size: 64px; }
  .sheet__page { padding: 36px 28px; }
  .process { grid-template-columns: 1fr; gap: var(--s-6); }
  .process::before { left: 11px; right: auto; top: 11px; bottom: 11px; width: 1px; height: auto; }
  .process li { padding-left: 40px; }
  .process li .dot { position: absolute; left: 0; top: 0; }
  .duo { height: auto; min-height: 0; max-height: none; display: grid; grid-template-columns: 1fr 1fr; padding: 8px 0 var(--s-6); }
  .duo .opener__top, .duo .opener__bottom { grid-column: 1 / -1; }
  .duo .figure { position: relative; left: auto; top: auto; width: 116px; margin: 64px 0 -22px; }
  .duo .figure--a { justify-self: end; margin-right: 12px; }
  .duo .figure--b { justify-self: start; margin-left: 12px; margin-top: 76px; }
  .duo .note__text { font-size: 22px; }
  .duo .figure { order: 2; }
  .duo .opener__bottom { font-size: 14.6vw; }
  .duo .figure--a .note { right: 42%; top: -15%; }
  .duo .figure--b .note { left: 58%; top: -15%; }
  .note--up .note__text { padding-left: 40px; }
  .note--left .note__text { padding-left: 0; padding-right: 40px; }
  .chapter { height: 72vw; }
  .chapter__title { font-size: 15vw; left: 16px; }
  .story-title { font-size: 18.5vw; }
  .opener__top { order: 1; } .opener .figure { order: 2; } .opener__bottom { order: 3; } .opener .formula { order: 4; } .opener .callouts { order: 5; }
  .offset > .margin-col:empty { display: none; }
  .dropcap::first-letter { font-size: 5.2em; }
  .opener .figure .note { left: 60%; top: 9%; }
  .opener .figure .note__text { font-size: 20px; }
  .numbers--noted { padding-top: var(--s-8); }
  .numbers__note { position: static; padding-top: 6px; }
  .numbers__note .note__text { padding-left: 0; font-size: 20px; }
  .numbers__note svg { display: none; }
  .sheet-wrap .side-note { position: static; padding-top: var(--s-5); }
  .sheet-wrap .side-note svg { display: none; }
  .meta-stack { align-items: flex-start; text-align: left; }
  .slide-frame { --k: 0.28; }
  .mail__pad, .mail__head { padding-left: 24px; padding-right: 24px; }
  .mail hr { margin: 0 24px; }
  .mail__hero { height: 340px; }
  .mail__hero .display { font-size: 50px; }
  .side-note { align-items: flex-start; text-align: left; margin-bottom: var(--s-5); }
  .side-note svg { display: none; }
  .next { grid-template-columns: 1fr; gap: var(--s-6); }
  .film__play { width: 64px; height: 64px; }
}

/* --------------------------------------------------------------------------
   Reduced motion — gentle, non-vestibular equivalents
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-parallax] { transform: none !important; }
}

/* ==========================================================================
   v2 — the annotation layer
   Three layers: editorial (v1), technical (figures, prompts, artefacts),
   human (pencil doodles, cut-outs, notes). Doodles point, explain or joke.
   ========================================================================== */
:root {
  --graphite: #33373F;
  /* One tint per story, sampled from its lead photo. Story 01: sand. */
  --tint-bg: #EFE5D2;
  --tint-ink: #6A4B1C;
}

/* Keyboard hints in the nav (claude.dev) — they work, see main.js */
.kbd { color: var(--ink-2); margin-right: 5px; }

/* Pencil doodles — graphite, slightly wobbly via the #pencil filter */
.pencil { color: var(--graphite); overflow: visible; filter: url(#pencil); }
.pencil path, .pencil circle, .pencil ellipse, .pencil line {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.pencil .fill { fill: currentColor; stroke: none; }
.doodle { position: absolute; pointer-events: none; }

/* A word circled by hand */
.ring { position: relative; white-space: nowrap; }
.ring svg { position: absolute; left: -9%; top: -30%; width: 118%; height: 160%; pointer-events: none; }

/* Component sheet scaffolding */
.c-row { display: grid; grid-template-columns: minmax(0, 28%) 1fr; gap: var(--s-8); padding: var(--s-9) 0; border-top: 1px solid var(--rule); }
.c-spec { display: flex; flex-direction: column; gap: 12px; }
.c-spec h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: 0.95; }
.c-spec .small { color: var(--ink-2); max-width: 300px; }
.c-demo { position: relative; min-height: 200px; min-width: 0; }
.c-layer { display: inline-block; border: 1px solid var(--ink); border-radius: var(--r-round); padding: 3px 10px 2px; align-self: flex-start; }

/* Paper artefacts (TCI's PDFs): prompts, transcripts, napkins, outputs */
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7); }
.artefact { display: flex; flex-direction: column; gap: 16px; }
.artefact__wrap { position: relative; }
.artefact__sheet {
  aspect-ratio: 210 / 270; background: var(--sheet); border: 1px dashed #B5B2A8; overflow: hidden;
  padding: 22px 20px; font-family: var(--mono); font-size: 8.5px; line-height: 1.6; color: var(--ink-2);
  box-shadow: 0 20px 40px -28px rgba(20, 26, 38, 0.4);
  transition: transform var(--t-base) var(--ease-out);
}
.artefact__sheet b { display: block; font-weight: 500; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.artefact__sheet p + p { margin-top: 8px; }
.artefact__face { position: absolute; right: -16px; top: -20px; width: 72px; height: 72px; border-radius: var(--r-round); overflow: hidden; background: var(--paper); border: 1px solid var(--rule); }
.artefact__face img { position: absolute; width: 600%; max-width: none; left: -250%; top: -20px; filter: grayscale(1) brightness(1.15); }
.artefact__meta { display: flex; flex-direction: column; gap: 4px; }
.artefact__title { font-size: 19px; line-height: 1.25; }
.artefact__meta .label { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .artefact:hover .artefact__sheet { transform: translateY(-4px); } }

/* Tinted lines (TCI highlight) — one tint per story, mono, never more than one per section */
.tint { background: var(--tint-bg); color: var(--tint-ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 3px 7px; }
.tint-quote { font-family: var(--mono); font-size: 17px; line-height: 1.95; letter-spacing: 0.005em; max-width: 520px; }
.tint-quote + .credit { margin-top: 14px; font-size: 16px; }

/* Recommends box — dashed, like a note left on the desk */
.rec { border: 1px dashed var(--ink); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; font-family: var(--mono); font-size: 13px; line-height: 1.6; max-width: 360px; }
.rec .voice { font-family: var(--voice); font-size: 24px; line-height: 1.1; }

/* Prompt + output — the technical layer, on paper */
.prompt { background: var(--sheet); border: 1px solid var(--rule); max-width: 680px; }
.prompt__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--rule); }
.prompt__bar .label { color: var(--ink-2); }
.prompt__body { padding: 18px 16px 20px; font-family: var(--mono); font-size: 14px; line-height: 1.65; white-space: pre-wrap; }
.prompt__out { border-top: 1px dashed #B5B2A8; background: var(--paper); }
.prompt__out .prompt__body { font-family: var(--text); font-size: 18px; line-height: 1.5; white-space: normal; }
.pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; border: 1px solid var(--ink); border-radius: var(--r-round); padding: 2px 9px 1px; text-transform: lowercase; white-space: nowrap; }
.copy { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 4px 0; transition: transform var(--t-press) var(--ease-out); }
.copy:active { transform: scale(0.96); }

/* Explainer figure (NEZkreslená věda) — drawn, numbered, labelled */
.explainer { position: relative; }
.explainer svg { width: 100%; height: auto; display: block; }
.explainer text { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; fill: var(--ink); }
.explainer .t-voice { font-family: var(--voice); font-style: italic; font-size: 22px; letter-spacing: 0; }
.explainer .t-body { font-family: var(--text); font-size: 19px; letter-spacing: 0; }
.explainer .tag { fill: var(--sheet); stroke: var(--ink); stroke-width: 1; }
.explainer .dotc { fill: var(--ink); }
.explainer .dott { fill: var(--paper); font-size: 11px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); padding-top: var(--s-5); }
.steps li { list-style: none; display: flex; gap: 10px; font-size: 16px; line-height: 1.4; }

/* Faded photo collage behind a title (TCI ten years) */
.collage { position: relative; height: 640px; overflow: hidden; }
.collage > img { position: absolute; object-fit: cover; filter: grayscale(1) contrast(0.9); opacity: 0.17; }
.collage__title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; z-index: 2; }

/* Topic doors: a drawn object over a dashed circle (TCI welcome) */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.door { position: relative; aspect-ratio: 1; border: 1px dashed var(--ink); border-radius: var(--r-round); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 22%; text-align: center; transition: border-style var(--t-fast) var(--ease-out); }
.door svg { position: absolute; left: 50%; top: -14%; width: 64%; translate: -50% 0; }
.door .label { font-size: 12px; line-height: 1.5; }
.door small { display: block; font-family: var(--voice); font-style: italic; font-size: 19px; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .door:hover { border-style: solid; } }

/* Issue timeline with the mascot walking along it */
.ruler { position: relative; padding-top: 70px; }
.ruler__line { height: 14px; border-bottom: 1px solid var(--ink); background: repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px calc(100% / 12)); background-size: 100% 8px; background-repeat: no-repeat; background-position: bottom; }
.ruler__marks { display: grid; grid-template-columns: repeat(12, 1fr); padding-top: 10px; }
.ruler__marks .label { color: var(--ink-2); }
.ruler__marks .on { color: var(--ink); }
.ruler .mascot { position: absolute; left: calc(100% / 12 * 0 - 6px); top: 4px; width: 64px; }

/* scaffolding + log rows */
.c-intro { padding: var(--s-9) 0; display: grid; grid-template-columns: minmax(0, 28%) 1fr; gap: var(--s-8); }
.doodle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.c-portraits { height: 560px; }
.notes-list a.log-row { grid-template-columns: 84px 1fr 160px 60px; }
.log-filter { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }

@media (max-width: 900px) {
  .c-intro { grid-template-columns: 1fr; gap: var(--s-6); }
  .doodle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-demo[style*="repeat(4"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .c-portraits { height: 420px; }
  .c-portraits .figure:first-child { left: 8% !important; width: 130px !important; }
  .c-portraits .note__text { font-size: 20px !important; }
  .notes-list a.log-row { grid-template-columns: 52px 1fr 48px; gap: 12px; }
  .notes-list a.log-row > :nth-child(3) { display: none; }
  .notes-list a.log-row .t { font-size: 19px !important; }
  .hero__title { font-size: 54px; left: auto; }
  .c-row { grid-template-columns: 1fr; gap: var(--s-6); padding: var(--s-8) 0; }
  .shelf, .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-8); }
  .steps { grid-template-columns: 1fr 1fr; }
  .collage { height: 520px; }
  .ruler__marks .label { font-size: 9px; letter-spacing: 0.04em; }
  .nav .kbd { display: none; }
}

/* ==========================================================================
   v3 — pen, not pencil; real objects instead of copied ones
   ========================================================================== */
/* The marks now use the same clean ink line as the arrow note. No wobble filter. */
.pencil { color: var(--ink); filter: none; }

/* Objects from the table, cut out. A soft contact shadow so they sit on the page. */
.obj { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 22px rgba(20, 26, 38, 0.14)) drop-shadow(0 2px 3px rgba(20, 26, 38, 0.10)); user-select: none; -webkit-user-drag: none; }

/* The table: everything from lunch, laid out, each object is a door into the site */
.table { position: relative; aspect-ratio: 2 / 1; margin-bottom: var(--s-8); }
.table__item { position: absolute; display: block; transition: transform var(--t-base) var(--ease-out); }
.table__item .obj { transition: filter var(--t-base) var(--ease-out); }
.table__label { position: absolute; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; pointer-events: none; }
.table__label .voice { font-size: 28px; line-height: 1.05; }
.table__label .label { color: var(--ink-2); }
.table__label svg { display: block; }
@media (hover: hover) and (pointer: fine) { .table__item:hover { transform: translateY(-6px); } }

/* The napkin, with the rules written on it */
.napkin { position: relative; container-type: inline-size; }
.napkin__ink { position: absolute; inset: 27% 9% 8% 27%; font-family: var(--voice); font-style: italic; font-size: 6.4cqi; line-height: 1.2; color: #22304C; transform: rotate(-2.5deg); }
.napkin__ink li { list-style: none; }
.napkin__ink li + li { margin-top: 0.35em; }
.napkin__ink b { font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Take-home v3: each artefact is an object, not a dashed PDF thumbnail */
.takehome { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-8); align-items: end; }
.takehome__item { display: flex; flex-direction: column; gap: var(--s-5); }
.takehome__stage { position: relative; height: 340px; display: flex; align-items: flex-end; justify-content: center; }
.mini-sheet { position: relative; width: 78%; display: flex; }
.mini-sheet .sheet__page { padding: 22px 20px; gap: 10px; font-family: var(--mono); font-size: 10px; line-height: 1.6; color: var(--ink-2); aspect-ratio: 210 / 260; }
.mini-sheet .sheet__page b { font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }

/* Tape marks: where on the recording a quote sits */
.tc { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; line-height: 1; color: var(--ink-2); border: 1px solid var(--rule); padding: 4px 7px 3px; vertical-align: 3px; margin-right: 6px; white-space: nowrap; font-style: normal; }
.tc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* Explainer v3: technical drawing from our own parts; only the joke is hand-drawn */
.explainer .num { font-family: var(--display); font-weight: 900; font-size: 64px; letter-spacing: 0; }
.explainer .chip { fill: var(--sheet); stroke: var(--ink); stroke-width: 1; }
.explainer .chip--on { fill: var(--ink); }
.explainer .on-ink { fill: var(--paper); }
.explainer .wire { stroke: var(--ink); stroke-width: 1; fill: none; }
.explainer .d-on { fill: var(--ink); }
.explainer .d-off { fill: none; stroke: var(--dot-off); stroke-width: 1; }

@media (max-width: 900px) {
  .table { aspect-ratio: auto; margin-bottom: 0; display: grid; grid-template-columns: 112px 1fr; gap: var(--s-8) var(--s-5); }
  .table__item { position: relative; left: auto !important; top: auto !important; width: auto !important; transform: none !important; display: flex; flex-direction: column; align-items: center; }
  .table__item .obj { max-height: 180px; width: auto; max-width: 100%; }
  .table__item--pen .obj { max-height: 104px; }
  .table__label { position: static; align-items: flex-start !important; text-align: left !important; align-self: center; white-space: normal; min-width: 0; }
  .table__label svg { display: none; }
  .takehome { grid-template-columns: 1fr 1fr; gap: var(--s-8) var(--s-5); }
  .takehome__stage { height: 220px; }
  .table__item .napkin { width: 100%; }
}

/* Object marks inside a story */
.endcup { display: flex; align-items: center; gap: 14px; margin-top: var(--s-6); }
.endcup .obj { width: 46px; }
.endcup .voice { font-size: 22px; color: var(--ink-2); }
.film__cam { position: absolute; z-index: 2; width: 24%; right: -4%; top: -12%; transform: rotate(-5deg); pointer-events: none; }
.film__note { position: absolute; z-index: 2; right: 21%; top: -13%; display: flex; align-items: flex-start; gap: 6px; }
.film__note svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; margin-top: 18px; }
@media (max-width: 900px) {
  .film__cam { width: 34%; right: -2%; top: -14%; }
  .film__note { display: none; }
}
@media (max-width: 900px) {
  /* the drawing stays legible: swipe it sideways instead of shrinking it */
  .explainer { overflow-x: auto; margin-right: calc(var(--margin) * -1); padding-right: var(--margin); }
  .explainer svg { min-width: 760px; }
  .film__meta span + span { display: none; }
}

/* ==========================================================================
   v4 — marker doodles: photos show what happened, doodles show what it means
   ========================================================================== */
.doodle-img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
/* Paper patch: one flat torn shape in the story tint; the doodle spills over its edge */
.patch { position: relative; display: grid; place-items: center; --patch: #E6D5B5; }
.patch::before { content: ""; position: absolute; inset: 10% 8% 6% 12%; background: var(--patch);
  clip-path: polygon(3% 7%, 36% 1%, 70% 5%, 98% 0, 100% 44%, 96% 95%, 61% 100%, 24% 96%, 0 100%, 4% 52%); }
.patch > img { position: relative; width: 82%; }
.patch--sage { --patch: #D5DBCB; }
.patch--slate { --patch: #CDD7DC; }
.patch--sand { --patch: #E6D5B5; }

.log-row .ico { display: inline-block; width: 60px; height: 44px; object-fit: contain; vertical-align: middle; margin-right: 18px; }

/* Notes as cards: patch + doodle, then the usual caption */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
.card { display: flex; flex-direction: column; gap: var(--s-5); }
.card .patch { aspect-ratio: 4 / 3; }
.card .patch > img { width: 70%; max-height: 82%; object-fit: contain; }
.card__title { font-family: var(--text); font-size: 24px; line-height: 1.2; }

.banner { display: block; width: 100%; height: auto; }
.margin-doodle { width: 100%; max-width: 220px; display: flex; flex-direction: column; gap: 10px; }
.margin-doodle .voice { font-size: 19px; line-height: 1.15; color: var(--ink-2); }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; gap: var(--s-8); }
  .log-row .ico { width: 32px; height: 26px; margin-right: 10px; }
  .margin-doodle { max-width: 200px; }
}

/* v5 — no colour patches: the doodle sits straight on the paper, in its own style */
.patch::before { display: none; }
.card .patch > img { position: absolute; inset: 0; margin: auto; width: 82%; height: 82%; object-fit: contain; }

/* ==========================================================================
   v6 — one marker for everything: drawings, underlines, bullets, rings, arrows
   ========================================================================== */
/* every hand-drawn SVG line becomes the thick, broken felt-tip stroke */
.pencil path, .pencil circle, .pencil ellipse, .pencil line,
.note path, .side-note path, .film__note svg path {
  stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 56 5 34 6 80 4; vector-effect: non-scaling-stroke;
}
/* underline: two marker strokes with a pen-lift gap */
.hl, .mark-ul {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M3 6.5 C30 5 60 4.2 104 4.6' stroke='%23141A26' stroke-width='2.8' fill='none' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M112 4.2 C140 3.4 170 3.8 197 2.6' stroke='%23141A26' stroke-width='2.8' fill='none' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left bottom / 100% 9px no-repeat;
  padding-bottom: 6px;
}
/* bullet: a scribbled marker dot */
.stars li::before { width: 11px; height: 11px; top: 0.55em; left: 4px; background: url("assets/doodles/mark-bullet.webp") center / contain no-repeat; }
/* ring: the marker oval, not an SVG path */
.ring svg { display: none; }
.ring::after { content: ""; position: absolute; left: -10%; top: -30%; width: 120%; height: 160%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23141A26' stroke-width='2.6' stroke-linecap='round' vector-effect='non-scaling-stroke'%3E%3Cpath vector-effect='non-scaling-stroke' d='M118 8 C60 4 10 16 8 40 C6 64 60 76 110 74'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M120 73 C170 70 194 58 192 38 C190 16 150 6 96 10'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }
.slash { display: inline-block; width: 14px; height: 15px; vertical-align: -2px; margin: 0 10px; background: url("assets/doodles/mark-slash.webp") center / contain no-repeat; }

/* ==========================================================================
   v7 — the real first version: Home, Unprompted, Catch up
   ========================================================================== */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); padding-bottom: var(--s-8); }
.sec-head__aside { font-size: 24px; max-width: 340px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.sec-head__doodle { width: 110px; }
.page-head { padding-top: var(--s-10); padding-bottom: var(--s-9); display: flex; flex-direction: column; gap: var(--s-5); }

/* Catch-up rows: number, title, one line, minutes */
.cu-list { border-top: 1px solid var(--ink); }
.cu-row { display: grid; grid-template-columns: 84px minmax(0, 1.1fr) minmax(0, 1fr) 60px; gap: var(--s-6); align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.cu-row__t { font-family: var(--text); font-size: 26px; line-height: 1.15; }
.cu-row__lead { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .cu-row:hover .cu-row__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; } }

/* "Next one is being booked" row under the contact sheet */
.soon { display: grid; grid-template-columns: 84px 120px 1fr; gap: var(--s-6); align-items: center; padding: var(--s-7) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: var(--s-8); }
.soon__doodle { width: 110px; }

/* Newsletter block under the banner */
.getout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--s-8); align-items: end; padding-top: var(--s-8); }
.getout__side { display: flex; flex-direction: column; gap: var(--s-6); }
.takehome--one { grid-template-columns: minmax(0, 340px); }
.table--how { margin-bottom: var(--s-7); }

@media (max-width: 900px) {
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head__aside { text-align: left; align-items: flex-start; font-size: 21px; }
  .cu-row { grid-template-columns: 40px 1fr 48px; gap: 12px; }
  .cu-row__lead { grid-column: 2 / 4; grid-row: 2; }
  .cu-row__t { font-size: 21px; }
  .soon { grid-template-columns: 1fr; gap: var(--s-4); }
  .getout { grid-template-columns: 1fr; }
  .takehome--one { grid-template-columns: minmax(0, 260px); }
}

/* ==========================================================================
   v9 — people first: guests in the gallery, us only on Home and About
   ========================================================================== */
/* The portrait is always the top layer: titles, photos and notes sit behind it */
.figure, .figure-layer { z-index: 5; }
.hero__title, .opener__top, .opener__bottom, .duo-head__title { z-index: 1; }

.btn { display: inline-flex; align-items: center; gap: 10px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* Latest story on Home: the guest standing on the line, the first paragraph fading into dots */
.latest { position: relative; min-height: 640px; display: flex; align-items: center; border-bottom: 1px solid var(--ink); }
.latest__guest { position: absolute; left: 6%; bottom: 0; width: clamp(240px, 22vw, 320px); }
.latest__guest img { display: block; width: 100%; height: auto; }
.latest__text { position: relative; z-index: 2; margin-left: 38%; max-width: 640px; padding: var(--s-9) 0; display: flex; flex-direction: column; gap: var(--s-4); }
.latest__title { line-height: 0.95; }
.fadeout { max-height: 6.4em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 35%, transparent); mask-image: linear-gradient(#000 35%, transparent); margin-top: var(--s-4); }
.dots { font-family: var(--text); font-size: 30px; letter-spacing: 0.3em; line-height: 1; color: var(--ink-2); }
.latest__btn { align-self: flex-start; margin-top: var(--s-3); }

/* Stories: a gallery of the people, cut out, standing on the page */
.page-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-9) var(--s-8); padding-bottom: var(--s-10); }
.person { display: flex; flex-direction: column; gap: 10px; }
.person__stage { height: 520px; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--ink); margin-bottom: var(--s-4); }
.person__stage img { max-height: 100%; width: auto; max-width: 100%; display: block; }
.person__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: 0.98; }
.person__name { font-size: 21px; color: var(--ink-2); }
.person--empty .person__stage { align-items: center; border-bottom-style: dashed; }
@media (hover: hover) and (pointer: fine) { .person:hover .person__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; } }

/* Story opener with the guest */
.opener .figure--guest { left: 43%; top: 20%; width: clamp(230px, 21vw, 300px); }

/* Reading: more air between paragraphs, notes in the white margins */
.body--airy { position: relative; }
.body--airy p + p, .body--airy p + aside + p { margin-top: 1.5em; }
.mnote { position: absolute; width: 220px; display: flex; flex-direction: column; gap: 4px; font-family: var(--voice); font-style: italic; font-size: 22px; line-height: 1.12; color: var(--ink); }
.mnote--r { left: calc(100% + 64px); align-items: flex-start; }
.mnote--l { right: calc(100% + 64px); align-items: flex-end; text-align: right; }
.mnote--l svg { order: 2; }

/* Word frames: where an image or a graph will go */
.frame { display: grid; place-items: center; margin: 0; border: 1px solid var(--rule); background: rgba(255, 255, 255, 0.5); }
.frame .label { color: var(--ink-2); }
/* Cut-shape photos: sometimes, and only when the shape doesn't hide what matters */
.shaped { margin: var(--s-8) 0; }
.shaped img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shape-step { clip-path: polygon(0 0, 58% 0, 58% 36%, 100% 36%, 100% 100%, 0 100%); }
.shape-l { clip-path: polygon(0 0, 46% 0, 46% 54%, 100% 54%, 100% 100%, 0 100%); }
.shaped figcaption { margin-top: 12px; color: var(--ink-2); }
.endmark-star { display: block; width: 12px; height: 12px; margin-top: var(--s-6); background: url("assets/doodles/mark-bullet.webp") center / contain no-repeat; }

.takehome--two { grid-template-columns: repeat(2, minmax(0, 340px)); }
.next { align-items: center; }
.next__guest { width: 150px; justify-self: end; margin-right: var(--s-9); }
.next__guest img { display: block; width: 100%; height: auto; }

/* About: the only page where we stand */
.duo-head { position: relative; height: 820px; overflow: hidden; }
.duo-head__title { position: absolute; left: calc(var(--margin) - 6px); bottom: 40px; line-height: 0.96; }
.duo-a { left: 46%; top: 40px; width: clamp(160px, 15vw, 214px); }
.duo-b { left: 63%; top: 110px; width: clamp(150px, 14vw, 200px); }
.kit { display: flex; gap: var(--s-11); align-items: flex-end; }
.kit__item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.kit__item .voice { font-size: 24px; padding-top: var(--s-4); }
.kit__item .label { color: var(--ink-2); }

/* Footer: the Prague banner + newsletter on every page */
.footer > .wrap { padding: var(--s-11) 24px var(--s-10); }

@media (max-width: 900px) {
  .latest { flex-direction: column; align-items: stretch; min-height: 0; }
  .latest__guest { position: relative; left: auto; width: 170px; margin: var(--s-6) auto 0; }
  .latest__text { margin-left: 0; padding: var(--s-6) 0; }
  .people { grid-template-columns: 1fr 1fr; gap: var(--s-8) var(--s-5); }
  .person__stage { height: 300px; }
  .person__title { font-size: 24px; }
  .page-head--row { flex-direction: column; align-items: flex-start; gap: var(--s-5); }
  .opener .figure--guest { left: auto; top: auto; width: 200px; }
  .mnote { position: static; width: auto; margin: 1.2em 0; align-items: flex-start; text-align: left; }
  .mnote svg { display: none; }
  .takehome--two { grid-template-columns: 1fr 1fr; }
  .next__guest { width: 90px; justify-self: start; margin: 0 0 var(--s-5); }
  .duo-head { height: auto; display: flex; flex-direction: column; padding: var(--s-6) var(--margin) var(--s-8); }
  .duo-a, .duo-b, .duo-head__title { position: relative; left: auto; top: auto; bottom: auto; }
  .duo-a { width: 140px; margin-left: 10%; }
  .duo-b { width: 130px; margin: -260px 0 0 55%; }
  .duo-head__title { padding-top: var(--s-6); }
  .kit { flex-wrap: wrap; gap: var(--s-8); }
  .footer > .wrap { padding: var(--s-9) 0 var(--s-8); }
}

/* Wordmark fits the footer width in CSS (no JS resize, no jump on load) */
.footer { container-type: inline-size; }
.footer__mark { font-size: calc(100cqw / 6.95); }   /* "Domin": normal spacing, capped height */
/* Guest note sits in the white space beside the shoulder, not on the title */
.opener .figure--guest .note { left: 96%; top: 14%; }
@media (max-width: 760px) { .opener .figure--guest .note { left: 70%; top: 2%; } }
/* About: each note on the outside of its person, never on the other one */
.duo-b .note { left: 90%; top: 12%; }
@media (max-width: 760px) { .duo-b .note { left: -45%; top: -10%; } }

/* Guest portraits: neutral standing, sized by height and a bit smaller than the hero (~620px), never upscaled */
.latest__guest { width: auto; left: 10%; }
.latest__guest img { height: 480px; width: auto; }
.person__stage { height: 460px; }
.person:not(.person--empty) .person__stage img { height: 420px; max-height: none; width: auto; }
.opener .figure--guest { width: auto; left: 45%; }
.opener .figure--guest > img { height: 540px; width: auto; }
.next__guest { width: auto; }
.next__guest img { height: 300px; width: auto; }
@media (max-width: 760px) {
  .latest__guest { left: auto; }
  .latest__guest img { height: 340px; }
  .person__stage { height: 300px; }
  .person:not(.person--empty) .person__stage img { height: 270px; }
  .opener .figure--guest { left: auto; }
  .opener .figure--guest > img { height: 380px; }
  .opener .figure--guest .note { left: 55%; }
  .next__guest img { height: 200px; }
}

/* v10 */
/* Latest story: the guest is bigger than in the gallery, centred in the left column, standing on the line */
.latest { min-height: 720px; }
.latest__guest { left: 19%; transform: translateX(-50%); }
.latest__guest img { height: 640px; }
/* "Could be you": a blurred person waiting for a name */
.person--empty .person__stage { align-items: flex-end; }
.person__blur { height: 420px; width: auto; display: block; filter: blur(9px) grayscale(1); opacity: 0.5; }
@media (max-width: 760px) {
  .latest { min-height: 0; }
  .latest__guest { left: auto; transform: none; }
  .latest__guest img { height: 420px; }
  .person__blur { height: 270px; }
}
.person--empty .person__stage { overflow: hidden; }


/* ==========================================================================
   v10 round 1
   ========================================================================== */

/* Nav: one underline that slides to the hovered link and back to the current page */
.nav__links { position: relative; }
.nav__links a[aria-current="page"] { border-bottom: 0; padding-bottom: 6px; }
.nav__ink { position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--ink); opacity: 0; pointer-events: none; }
.nav__ink.is-ready { opacity: 1; transition: transform 320ms var(--ease-out), width 320ms var(--ease-out); }

/* Marker arrows: same hand as the underline and ring (thick, round, a pen lift), never thin vector lines */
.mk-arrow { display: block; flex: none; overflow: visible; }
.mk-arrow path { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.note .mk-arrow--down { margin: 4px 0 0 0; }
.note--left .mk-arrow--down { margin-left: auto; transform: scaleX(-1); }
.mk-arrow--flip { transform: scaleX(-1); }
.mnote { flex-direction: row; align-items: center; gap: 10px; }
.mnote--l { justify-content: flex-end; }
.mnote span { flex: 1; }

/* Reading column: centred and a bit wider. The label sits in the left gutter */
.offset { grid-template-columns: minmax(0, 1fr) minmax(0, 700px) minmax(0, 1fr); }

/* Home: a clear divider between the hero and the next section */
.sec-bar { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-6); border-top: 1px solid var(--ink); padding: 14px 0 0; }
.sec-bar .voice { font-size: 22px; }
.latest-sec { padding-top: var(--s-9); }

/* Latest story fits one screen: guest centred beside the text, the same height as it */
.latest { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; min-height: 0; gap: var(--gutter); border-bottom: 0; padding: var(--s-7) 0 0; }
.latest__guest { position: relative; left: auto; bottom: auto; transform: none; justify-self: center; align-self: center; }
.latest__guest img { height: 560px; width: auto; }
.latest__text { margin-left: 0; padding: 0; max-width: 620px; }

/* Catch up on Home: heading on the left, a narrower clickable list on the right */
.cu-home { padding-top: var(--s-11); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); align-items: start; }
.cu-home__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); }
.cu-home__aside { font-size: 24px; }
.cu-home__doodle { width: 110px; margin: var(--s-2) 0 var(--s-4); }
.cu-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; padding: 22px 16px; }
.cu-row__body { display: flex; flex-direction: column; gap: 6px; }
.cu-row__go { white-space: nowrap; display: inline-flex; gap: 10px; align-items: center; }
.cu-row__go .arrow { display: inline-block; font-size: 16px; transition: transform var(--t-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .cu-row { transition: background-color var(--t-fast) var(--ease-out); }
  .cu-row:hover { background: rgba(29, 35, 49, 0.045); }
  .cu-row:hover .cu-row__go .arrow { transform: translateX(4px); }
}

/* Stories gallery: same height, lifted a little off the line */
.person__stage { padding-bottom: 16px; height: 476px; }

@media (max-width: 760px) {
  .latest { grid-template-columns: 1fr; padding-top: var(--s-6); }
  .latest__guest img { height: 380px; }
  .cu-home { grid-template-columns: 1fr; padding-top: var(--s-9); }
  .cu-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; padding: 18px 8px; }
  .cu-row__lead { grid-column: auto; grid-row: auto; }
  .person__stage { height: 316px; }
  .mnote { flex-direction: row; }
  .mnote .mk-arrow { display: none; }
  .sec-bar { flex-direction: column; gap: 4px; }
}

/* ==========================================================================
   v10 round 2 + 3
   ========================================================================== */

/* One section per screen on Home: when you scroll to it, you only see it */
.screen { min-height: calc(100svh - 80px); display: flex; flex-direction: column; justify-content: center; padding-top: var(--s-8); padding-bottom: var(--s-8); }
.latest-sec.screen { justify-content: flex-start; padding-top: var(--s-6); }
.cu-home.screen { display: grid; align-content: center; }
.footer__screen { min-height: calc(100svh - 80px); display: flex; flex-direction: column; justify-content: center; gap: var(--s-8); }
.footer > .wrap.footer__screen { padding-top: var(--s-8); padding-bottom: var(--s-8); }
.footer .getout { padding-top: 0; }

/* Latest story: the faded contact sheet is back, the text sits centred on it, the guest stands in front */

/* AI flavour: a line from the recording + the tools on their table */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tools > .label { color: var(--ink-2); margin-right: 4px; }
.tool { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; line-height: 1; padding: 5px 8px 4px; border: 1px solid var(--ink); border-radius: var(--r-round); }
.person__quote { font-size: 13px; line-height: 1.85; margin-top: var(--s-2); max-width: 100%; }
.person .tools { margin-top: var(--s-2); }
.opener__side { position: absolute; right: var(--margin); top: 46%; width: min(340px, 25vw); display: flex; flex-direction: column; gap: var(--s-5); }
.opener__side .tint-quote { font-size: 14px; line-height: 1.9; }

/* Stories head: the contact sheet behind it and the tape counter */
.page-head--sheet { position: relative; flex-direction: row; justify-content: space-between; align-items: flex-end; min-height: 520px; }
.page-head__bg { position: absolute; top: 40px; right: 0; bottom: 40px; width: 58%; overflow: hidden; pointer-events: none; }
.page-head__bg > img { position: absolute; object-fit: cover; filter: grayscale(1) contrast(0.9); opacity: 0.15; }
.page-head__main { position: relative; display: flex; flex-direction: column; gap: var(--s-4); }
.tape-count { position: relative; display: flex; gap: var(--s-8); margin: 0; }
.tape-count div { display: flex; flex-direction: column; gap: 6px; }
.tape-count dd { margin: 0; font-size: 88px; line-height: 0.8; }

/* Real objects in the margins of a text, like the handwritten notes */
.mobj { position: absolute; width: 160px; display: flex; pointer-events: none; }
.mobj--r { left: calc(100% + 64px); justify-content: flex-start; }
.mobj--l { right: calc(100% + 64px); justify-content: flex-end; }

/* Take-home sheets that look like paper: grain, a soft lifted corner, a fold and a piece of tape */
.mini-sheet { filter: drop-shadow(0 1px 1px rgba(29, 35, 49, 0.08)); }
.mini-sheet .sheet__page { position: relative; overflow: hidden; background-color: #FDFCF8;
  background-image:
    linear-gradient(to bottom, transparent 33%, rgba(29, 35, 49, 0.05) 33.2%, rgba(255, 255, 255, 0.6) 33.6%, transparent 34.4%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.13 0 0 0 0 0.19 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: 0 1px 2px rgba(29, 35, 49, 0.06), 0 18px 30px -18px rgba(29, 35, 49, 0.35), 14px 22px 26px -20px rgba(29, 35, 49, 0.32); }
.mini-sheet .sheet__page::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px; background: linear-gradient(315deg, var(--paper) 46%, rgba(29, 35, 49, 0.12) 50%, #EFEBE1 54%, #FDFCF8 100%); }
.mini-sheet em { font-style: normal; color: var(--ink); }
.tape { position: absolute; z-index: 3; left: 50%; top: -12px; width: 84px; height: 24px; transform: translateX(-50%) rotate(-4deg); background: rgba(232, 222, 196, 0.72); box-shadow: 0 1px 1px rgba(29, 35, 49, 0.08); clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 96%, 0 50%); }
.tape--r { transform: translateX(-50%) rotate(5deg); }

/* Reading column a bit wider */
.offset { grid-template-columns: minmax(0, 1fr) minmax(0, 760px) minmax(0, 1fr); }

/* Catch up head: a paper cheat sheet on the right */
.cu-head { flex-direction: row; justify-content: space-between; align-items: center; min-height: 560px; }
.cu-head__main { display: flex; flex-direction: column; gap: var(--s-5); }
.cu-head__doodle { width: 150px; margin-top: var(--s-4); }
.cu-head__sheet { width: 320px; margin-right: 6%; }
.cu-head__sheet .mini-sheet { width: 100%; }
.cu-head__sheet .sheet__page { font-size: 12px; gap: 14px; padding: 30px 28px; }

/* Be a guest page */
.guest-page { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-10); padding-top: var(--s-10); padding-bottom: var(--s-10); align-items: start; }
.guest-page__intro { position: relative; display: flex; flex-direction: column; gap: var(--s-6); }
.guest-page__intro .lead { max-width: 560px; }
.guest-page__blur { position: relative; margin-top: var(--s-6); width: max-content; }
.guest-page__blur .person__blur { height: 300px; }
.guest-page__blur .note { left: 90%; top: 4%; }
.guest-form { display: flex; flex-direction: column; gap: var(--s-6); padding: var(--s-8); background: #FDFCF8; box-shadow: 0 1px 2px rgba(29, 35, 49, 0.06), 0 26px 50px -30px rgba(29, 35, 49, 0.35); }
.gf { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; }
.gf input:not([type="radio"]), .gf textarea { font-family: var(--voice); font-style: italic; font-size: 22px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 6px 0 10px; resize: vertical; border-radius: 0; }
.gf input:focus-visible, .gf textarea:focus-visible { outline: none; border-bottom-width: 2px; padding-bottom: 9px; }
.gf--choice { flex-direction: row; flex-wrap: wrap; gap: var(--s-6); align-items: center; }
.gf--choice legend { margin-bottom: 10px; width: 100%; }
.gf--choice label { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; cursor: pointer; }
.gf--choice input { accent-color: var(--ink); width: 16px; height: 16px; }
.guest-form .btn { align-self: flex-start; }
.guest-form__sent { display: none; font-size: 24px; }
.guest-form.is-sent .gf, .guest-form.is-sent .btn { display: none; }
.guest-form.is-sent .guest-form__sent { display: block; }

@media (max-width: 760px) {
  .screen { min-height: 0; padding-top: var(--s-8); padding-bottom: var(--s-8); }
  .footer__screen { min-height: 0; }
  .opener__side { position: static; width: auto; padding: var(--s-6) var(--margin) 0; order: 5; }
  .page-head--sheet { flex-direction: column; align-items: flex-start; gap: var(--s-7); min-height: 0; }
  .page-head__bg { display: none; }
  .tape-count { gap: var(--s-6); }
  .tape-count dd { font-size: 56px; }
  .mobj { display: none; }
  .cu-head { flex-direction: column; align-items: flex-start; gap: var(--s-8); min-height: 0; }
  .cu-head__sheet { width: 260px; margin: 0 auto; }
  .guest-page { grid-template-columns: 1fr; gap: var(--s-8); padding-top: var(--s-8); }
  .guest-page__blur { display: none; }
  .guest-form { padding: var(--s-6) var(--s-5); }
}
.page-head--sheet .tape-count { margin-top: var(--s-7); }
.page-head__bg { width: 52%; }
.offset > .main-col.body { max-width: none; }
/* Margin notes and objects shrink with the side space; below 1100px they drop into the text flow */
.mnote--r, .mobj--r { left: calc(100% + clamp(24px, 3vw, 64px)); }
.mnote--l, .mobj--l { right: calc(100% + clamp(24px, 3vw, 64px)); }
.mobj { width: clamp(90px, calc((100vw - 760px) / 2 - 100px), 160px); }
@media (max-width: 1100px) and (min-width: 761px) {
  .mnote { position: static; width: auto; margin: 1.2em 0; justify-content: flex-start; text-align: left; }
  .mnote--l { flex-direction: row-reverse; justify-content: flex-end; }
  .mnote--l .mk-arrow { transform: none; }
  .mobj { display: none; }
}


/* Home → Stories: four cards in the Catch-up frame. Mat + template picture, the recording as a marker line under it */
.st-home.screen { align-items: center; }
.st-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); }
.st-card { display: flex; flex-direction: column; gap: var(--s-2); color: inherit; text-decoration: none; }
.st-card__mat { position: relative; background: #E6E2D8; padding: 7% 9% 0; display: flex; flex-direction: column; margin-bottom: var(--s-3); }
.st-card__img { aspect-ratio: 16 / 9; border: 0; background: rgba(253, 252, 248, 0.6); }
.st-card__img .label { font-size: 10px; }
.st-card__new { position: absolute; left: 12px; top: 10px; }
.st-card__tape { position: relative; height: 58px; }
.st-card__line { position: absolute; left: 0; right: 0; top: 14px; width: 100%; height: 8px; overflow: visible; }
.st-card__line path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.st-card__tick { position: absolute; left: var(--at); top: 7px; width: 2.6px; height: 22px; border-radius: 2px; background: var(--ink); transform: rotate(4deg); }
.st-card__q { position: absolute; left: var(--at); top: 32px; transform: translateX(calc(var(--at) * -1)); white-space: nowrap; font-size: 16px; }
.st-card__q .label { font-size: 10px; color: var(--ink-2); }
.st-card__meta { display: flex; justify-content: space-between; font-size: 19px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.st-card__t { font-size: clamp(24px, 2vw, 30px); line-height: 0.98; }
.st-card:hover .st-card__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
@media (max-width: 760px) { .st-grid { grid-template-columns: 1fr; } }
/* fit one screen at 1440×900 */
.st-grid { row-gap: var(--s-6); }
.st-card__mat { padding-top: 5%; }
.st-card__img { aspect-ratio: 2 / 1; }
.st-card__tape { height: 50px; }
.st-card__q { top: 29px; }
.st-card__tape { height: 54px; }


/* ==========================================================================
   v12: standard section header. Title top-left, aside under it, "all" link on the right, hairline under.
   ========================================================================== */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); padding-bottom: var(--s-4); border-bottom: 1px solid var(--ink); }
.section-head__main { display: flex; flex-direction: column; gap: var(--s-2); }
.section-head__aside { font-size: 24px; }
.section-head__all { white-space: nowrap; display: inline-flex; gap: 10px; align-items: center; padding-bottom: 6px; }
.st-home.screen { justify-content: flex-start; align-items: stretch; padding-top: calc(81px + var(--s-5)); padding-bottom: var(--s-6); }
@media (max-width: 760px) { .section-head { flex-direction: column; align-items: flex-start; gap: var(--s-3); } }

/* ==========================================================================
   v13: Home = hero → featured story → Catch up → contents
   ========================================================================== */

/* Latest story: the contents-page language at full size */
.feat.screen { justify-content: flex-start; align-items: stretch; padding-top: calc(81px + var(--s-5)); padding-bottom: var(--s-6); }
.feat__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); margin-top: var(--s-5); align-items: end; }
.feat__pic { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.feat__num { font-size: clamp(110px, 11vw, 160px); line-height: 0.8; }
.feat__mat { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 360px; background: #E6E2D8; overflow: hidden; }
.feat__mat img { height: 94%; width: auto; user-select: none; -webkit-user-drag: none; }
.feat__new { position: absolute; left: 14px; top: 12px; }
.feat__cap { color: var(--ink-2); }
.feat__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); padding-bottom: 26px; }
.feat__kicker { color: var(--ink-2); display: inline-flex; align-items: center; }
.feat__title { font-size: clamp(40px, 3.9vw, 58px); line-height: 0.92; }
.feat__title a { color: inherit; text-decoration: none; }
.feat__pic:hover ~ .feat__text .feat__title a, .feat__title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.08em; }
.feat__dek { margin: 0; max-width: 36ch; }
.feat__quote { margin: 0; }
.feat__quote .label { color: var(--ink-2); }
.feat__quote .voice { font-size: 24px; }
.feat__facts { margin: 0; width: 100%; border-top: 1px solid var(--rule); }
.feat__facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--s-4); align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.feat__facts dt { color: var(--ink-2); }
.feat__facts dd { margin: 0; font-family: var(--text); font-size: 18px; }

/* Catch up with the standard header */
.cu-home--std.screen { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; padding-top: calc(81px + var(--s-5)); }
.cu-home--std .cu-list { margin-top: var(--s-6); border-top: 0; }

/* Contents: dense list + pictures with big numbers (after Magnus) */
.ct.screen { justify-content: flex-start; align-items: stretch; padding-top: calc(81px + var(--s-5)); padding-bottom: var(--s-6); }
.ct__body { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: var(--s-5) var(--s-7); margin-top: var(--s-5); }
.ct__pic--main { grid-column: 1; grid-row: 1 / 3; align-self: end; }
.ct__pic--main .ct__mat { position: relative; width: 340px; height: 300px; }
.ct__pic--main .ct__big { font-size: clamp(80px, 7.6vw, 112px); }
.ct__new { position: absolute; left: 12px; top: 10px; }
.ct__toc { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: var(--s-3); }
.ct__list { columns: 2; column-gap: var(--s-7); }
.ct__list li { break-inside: avoid; }
.ct__list .ct__latest a { background: #E6E2D8; margin: 0 -10px; padding-left: 10px; padding-right: 10px; }
.ct__pill { display: inline-block; background: var(--ink); color: var(--paper); border-radius: var(--r-round); padding: 1px 8px; margin-right: 6px; }
.ct__pics { grid-column: 2; grid-row: 2; }
.ct__word { font-family: var(--text); font-size: 26px; line-height: 1; }
.ct__list { list-style: none; margin: 0; padding: 0; }
.ct__list a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 7px 0; color: inherit; text-decoration: none; }
.ct__t { font-family: var(--text); font-size: 18px; line-height: 1.25; }
.ct__t b { font-weight: 600; }
.ct__t i { font-family: var(--voice); font-size: 1.05em; color: var(--ink-2); margin-left: 4px; }
.ct__list .label { color: var(--ink-2); }
.ct__len { white-space: nowrap; }
.ct__list a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.ct__pics { display: flex; align-items: flex-end; gap: var(--s-5); }
.ct__pic { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; flex: none; }
.ct__big { font-size: clamp(52px, 5vw, 72px); line-height: 0.8; }
.ct__mat { display: flex; justify-content: center; align-items: flex-end; background: #E6E2D8; overflow: hidden; }
.ct__mat img { height: 92%; width: auto; user-select: none; -webkit-user-drag: none; }
.ct__mat img.ct-flip { transform: scaleX(-1); }
.ct__cap { color: var(--ink-2); }
.ct__pic--a .ct__mat { width: 120px; height: 150px; }
.ct__pic--b .ct__mat { width: 230px; height: 170px; }
.ct__pic--c .ct__mat { width: 180px; height: 222px; }
.ct__pic--d .ct__mat { width: 130px; height: 140px; }
.ct__pic--e .ct__mat { width: 150px; height: 190px; }
.ct__pic:hover .ct__cap { color: var(--ink); text-decoration: underline; }

@media (max-width: 760px) {
  .feat__body { grid-template-columns: 1fr; gap: var(--s-6); }
  .feat__mat { height: 300px; }
  .ct__body { grid-template-columns: 1fr; gap: var(--s-5); } .ct__list { columns: 1; } .ct__pic--main, .ct__toc, .ct__pics { grid-column: 1; grid-row: auto; }
  .ct__pics { overflow-x: auto; padding-bottom: 8px; }
}

/* Placeholder until real photos: an empty mat that just says "Template" */
.mat-tpl { align-self: center; color: var(--ink-2); }

/* ==========================================================================
   v14: dates on listings, Stories as a list page, articles start at the top
   ========================================================================== */

/* Listings carry a date, like a blog */
.cu-row__date { color: var(--ink-2); margin-right: 8px; }

/* Stories: the header on the left (like Catch up), the people in two columns on the right */
.st-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); padding-top: var(--s-8); padding-bottom: var(--s-10); align-items: start; }
.st-page__head { position: sticky; top: 120px; display: flex; flex-direction: column; gap: var(--s-5); }
.st-page__head .lead { max-width: 440px; }
.st-page__doodle { width: 150px; margin-top: var(--s-4); }
.people--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8) var(--s-6); padding-bottom: 0; }
.people--two .person__stage { height: 420px; }
.people--two .person:not(.person--empty) .person__stage img { height: 380px; }
.people--two .person__blur { height: 380px; }
.people--two .person__title { font-size: 30px; }
.person__meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
.person__meta .voice { font-size: 21px; color: var(--ink-2); }
.person__meta .label { color: var(--ink-2); white-space: nowrap; }

/* Article header (stories + Catch up): small title in the reading column, summary on the left, the guest on the right */
.art-head { padding-top: var(--s-8); align-items: start; }
.art-head__main { display: flex; flex-direction: column; gap: var(--s-4); }
.art-title { font-size: clamp(44px, 4.6vw, 66px); line-height: 0.92; }
.art-head__main .summary { margin-top: var(--s-4); }
.art-head__main .lead { color: var(--ink-2); }
.art-head__side { padding: 30px var(--s-8) 0 0; display: flex; justify-content: flex-end; }
.art-head__side .formula { width: min(250px, 100%); }
.art-head__credits { display: flex; align-items: center; gap: 14px; }
.art-head__guest { padding: 0; }
.figure--side { position: relative; width: max-content; }
.figure--side > img { height: 440px; width: auto; }
.figure--side .note { left: 70%; top: -12%; }
.figure--side .note__text { font-size: 26px; padding-left: 48px; }

/* Be a guest: starts higher, the blurred person stands beside the list */
.guest-page { padding-top: var(--s-7); padding-bottom: var(--s-9); gap: var(--s-9); }
.guest-page__intro { gap: var(--s-5); }
.guest-page__row { display: flex; align-items: flex-end; gap: var(--s-7); margin-top: var(--s-4); }
.guest-page__blur { margin-top: 0; flex: none; }
.guest-page__blur .person__blur { height: 260px; }
.guest-page__row .stars { padding-bottom: 6px; }
.guest-form { padding: var(--s-7); gap: var(--s-5); }

@media (max-width: 1100px) {
  .art-head { display: flex; flex-direction: column; gap: var(--s-6); }
  .art-head > * { width: 100%; max-width: 760px; margin-inline: auto; }
  .art-head__side { order: 2; padding: 0; justify-content: flex-start; }
  .art-head__guest { display: none; }
}
@media (max-width: 760px) {
  .st-page { grid-template-columns: 1fr; gap: var(--s-7); }
  .st-page__head { position: static; }
  .people--two { gap: var(--s-7) var(--s-5); }
  .people--two .person__stage { height: 300px; }
  .people--two .person:not(.person--empty) .person__stage img, .people--two .person__blur { height: 270px; }
  .people--two .person__title { font-size: 22px; }
  .person__meta { flex-direction: column; gap: 4px; }
  .art-head { padding-top: var(--s-6); }
  .guest-page__row { margin-top: 0; }
  .cu-row__date { display: none; }
}
/* the guest floats beside the text; it doesn't push the article down */
.art-head__guest { position: relative; align-self: stretch; }
.art-head__guest .figure--side { position: absolute; left: var(--s-5); top: 70px; }
/* Newsletter heading: two lines, a step smaller than the section titles */
.getout .display--m { font-size: clamp(44px, 6vw, 88px); }

/* ==========================================================================
   v18: the AI layer, kept to a few details, in the journal's own colours.
   The machine's answers use the story tint (sand), never a new colour.
   ========================================================================== */

/* Terminal: "sum up this page", scattered through the site */
.term { margin: 0; width: 100%; max-width: 320px; background: var(--sheet); border: 1px solid rgba(29, 35, 49, 0.14); box-shadow: 0 1px 2px rgba(29, 35, 49, 0.05), 0 18px 40px -26px rgba(29, 35, 49, 0.35); }
.term__bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--rule); }
.term__bar .label { color: var(--ink-2); font-size: 10px; }
.term__dots { display: flex; gap: 5px; }
.term__dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink-2); }
.term__q { padding: 12px 14px; font-family: var(--mono); font-size: 13px; line-height: 1.55; }
.term__prompt { color: var(--ink-2); margin-right: 2px; }
.term__a { padding: 11px 14px 14px; background: var(--tint-bg); color: var(--tint-ink); font-family: var(--mono); font-size: 13px; line-height: 1.6; }

.hero__term { position: absolute; right: var(--margin); top: 52%; width: 300px; }
.cu-home__term { margin-top: var(--s-7); align-self: flex-end; width: 320px; }
.st-page__head .term { margin-top: var(--s-2); }
.cu-head__term { width: 300px; align-self: flex-end; margin-bottom: var(--s-4); }
.art-head__term { padding: 30px 0 0 var(--s-5); }
.art-head__side .term { margin-top: var(--s-6); }
.art-head__side .formula + .term, .art-head__side .formula ~ .term { margin-top: var(--s-6); }
.duo-head__term { position: absolute; right: var(--margin); bottom: 56px; width: 300px; z-index: 6; }

/* Newsletter: the old layout, with "Do you want to proceed?" instead of Subscribe */
.subscribe--ask { flex-direction: column; align-items: stretch; gap: var(--s-4); }
.ask { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); }
.ask__q { color: var(--ink-2); }
.ask__opts { display: flex; gap: 8px; }
.ask__opts .btn { padding: 12px 18px; }
.ask__done { display: none; color: var(--tint-ink); background: var(--tint-bg); padding: 10px 12px; align-self: flex-start; }
.subscribe--ask.is-done .ask { display: none; }
.subscribe--ask.is-done .ask__done { display: block; }

/* Context meter in the nav: the page you're reading, as context used */
.nav { align-items: center; }
.ctx { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 0 32px; color: var(--ink-2); white-space: nowrap; }
.ctx__ticks { display: inline-flex; gap: 2px; }
.ctx__ticks i { width: 3px; height: 10px; background: var(--rule); }
.ctx__ticks i.on { background: var(--ink); }
.ctx__pct { min-width: 4ch; color: var(--ink); }

/* "Talked for 2h 04m": opens to the questions, with timestamps */
.thought { margin-top: var(--s-2); }
.thought summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 17px; color: var(--ink-2); user-select: none; }
.thought summary::-webkit-details-marker { display: none; }
.thought__spark { font-size: 15px; color: var(--tint-ink); }
.thought__chev { display: inline-block; transition: transform var(--t-fast) var(--ease-out); }
.thought[open] .thought__chev { transform: rotate(90deg); }
@media (hover: hover) and (pointer: fine) { .thought summary:hover { color: var(--ink); } }
.thought__body { list-style: none; margin: var(--s-3) 0 var(--s-2); padding: 2px 0 2px var(--s-4); border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; font-size: 17px; color: var(--ink-2); }

/* Timestamps: the number opens the unedited line from the tape */
.cite { position: relative; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 4px; vertical-align: 0.45em; border: 0; border-radius: var(--r-round); background: var(--tint-bg); color: var(--tint-ink); font-family: var(--mono); font-size: 10px; line-height: 1; cursor: pointer; }
.cite__pop { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 20; width: 330px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; background: var(--sheet); border: 1px solid rgba(29, 35, 49, 0.14); box-shadow: 0 18px 40px -22px rgba(29, 35, 49, 0.45); text-align: left; opacity: 0; visibility: hidden; transition: opacity var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast); pointer-events: none; }
.cite:hover .cite__pop, .cite:focus .cite__pop { opacity: 1; visibility: visible; transition: opacity var(--t-fast) var(--ease-out); }
.cite__head { display: flex; align-items: center; gap: 10px; }
.cite__head .tc { margin: 0; vertical-align: 0; }
.cite__head .label { color: var(--ink-2); font-size: 10px; }
.cite__line { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--ink); }

/* The end of a story, as a usage limit */
.ratelimit { display: flex; gap: 12px; align-items: baseline; max-width: 760px; margin: var(--s-9) auto var(--s-6); padding: 14px 18px; border: 1px dashed var(--ink-2); font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.ratelimit b { color: var(--ink); font-weight: 500; }
.ratelimit__icon { color: var(--tint-ink); }

/* Catch up: shortcut chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.chip { padding: 8px 14px 7px; border: 1px solid var(--rule); border-radius: var(--r-round); background: var(--sheet); font-size: 16px; line-height: 1.2; transition: border-color var(--t-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink); } }

@media (max-width: 1100px) {
  .ctx__name, .ctx__word { display: none; }
  .art-head__term { display: none; }
}
@media (max-width: 900px) {
  .hero__term { position: static; order: 5; width: auto; max-width: 320px; padding: var(--s-6) var(--margin) 0; }
  .ctx { margin-left: 16px; gap: 6px; }
  .ctx__ticks i { width: 2px; }
  .duo-head__term { position: static; order: 9; width: auto; max-width: 320px; margin-top: var(--s-6); }
}
@media (max-width: 760px) {
  .cite__pop { position: fixed; left: 16px; right: 16px; bottom: 16px; width: auto; transform: none; }
  .cu-head__term { align-self: flex-start; }
  .ask { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
}

/* Newsletter Yes / No in the terminal's own style: numbered options, an arrow on the one you're on */
.ask { flex-direction: column; align-items: flex-start; gap: 8px; }
.ask__opts { flex-direction: column; gap: 0; }
.ask__opt { position: relative; text-align: left; font-family: var(--mono); font-size: 14px; line-height: 1.4; color: var(--ink-2); background: none; border: 0; padding: 5px 0 5px 22px; cursor: pointer; }
.ask__opt::before { content: "❯"; position: absolute; left: 0; color: var(--tint-ink); opacity: 0; }
.ask__opt:first-child { color: var(--ink); }
.ask__opt:first-child::before { opacity: 1; }
.ask__opts:hover .ask__opt { color: var(--ink-2); }
.ask__opts:hover .ask__opt::before { opacity: 0; }
.ask__opts .ask__opt:hover, .ask__opt:focus-visible { color: var(--ink); outline: none; }
.ask__opts .ask__opt:hover::before, .ask__opt:focus-visible::before { opacity: 1; }
.ask__opt:active { transform: translateX(2px); }
.ask__n { color: var(--ink-2); margin-right: 4px; }

/* ==========================================================================
   v19: polish. Reading measure, one type scale, quieter edges, honest motion.
   ========================================================================== */

/* Reading: ~72 characters a line (v24: 600px column) (Bringhurst 45–75); Garamond is narrow, so it reads at 22px */
.offset { grid-template-columns: minmax(0, 1fr) minmax(0, 600px) minmax(0, 1fr); }
.offset > .main-col.body { font-size: 22px; line-height: 1.5; }
.ratelimit { max-width: 600px; }
@media (min-width: 1101px) { .mnote { width: clamp(150px, calc((100vw - 600px) / 2 - 110px), 220px); } }   /* only in the margin; below 1101 the note runs the column width */
.mobj { width: clamp(90px, calc((100vw - 600px) / 2 - 110px), 160px); }

/* Rag: balanced headings, no orphans in paragraphs */
.display, .art-title, .person__title, .st-card__t, .cu-row__t, .ct__t, h1, h2, h3 { text-wrap: balance; }
p, li, .lead, figcaption { text-wrap: pretty; }

/* One type scale. Text 17 / 21 / 24 / 26 · Voice 20 / 22 / 24 / 28 · Mono 11 / 13 */
.caption, .chip, .steps li, .tint-quote + .credit, .st-card__q { font-size: 17px; }
.ct__t, .feat__facts dd, .st-card__meta, .summary .stars, .mail .stars { font-size: 17px; }
.artefact__title, .email, .prompt__out .prompt__body { font-size: 20px; }
.margin-doodle .voice, .door small, .person__name, .person__meta .voice { font-size: 20px; }
.tag, .dot--sm, .cite, .term__bar .label, .cite__head .label, .st-card__img .label, .st-card__q .label, .artefact__sheet b, .door .label { font-size: 11px; }
.ask__opt { font-size: 13px; padding: 6px 0 6px 22px; }

/* Numbers that sit in columns or change don't jiggle */
.tc, .ctx__pct, .cu-row__date, .ct__len, .person__meta, .st-card__meta, .cite { font-variant-numeric: tabular-nums; }

/* Hit areas: links grow invisibly to ~44px tall (Fitts) */
.nav__links a::before { content: ""; position: absolute; inset: -12px -14px; }
.nav__links a.is-sub::before { right: 0; }
@media (max-width: 360px) { .ctx__ticks { display: none; } }
.cite::before { content: ""; position: absolute; inset: -8px; }

/* Press feedback on everything you can press */
.chip { display: inline-block; transition: border-color var(--t-fast) var(--ease-out), transform var(--t-press) var(--ease-out); }
.chip:active { transform: scale(0.97); }
.thought summary { transition: color var(--t-fast) var(--ease-out); }

/* Cite popover grows out of its badge, not from nowhere */
.cite__pop { transform-origin: 50% 100%; transform: translateX(-50%) translateY(4px) scale(0.97); transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast); }
.cite:hover .cite__pop, .cite:focus .cite__pop { transform: translateX(-50%); transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
@media (max-width: 760px) {
  .cite__pop, .cite:hover .cite__pop, .cite:focus .cite__pop { transform: none; }
}

/* Hover only where there's a pointer; touch taps don't leave stuck states */
@media (hover: none) {
  .link:hover { text-underline-offset: 0.18em; }
  .st-card:hover .st-card__t, .ct__list a:hover b, .feat__title a:hover, .feat__pic:hover ~ .feat__text .feat__title a { text-decoration: none; }
  .ct__pic:hover .ct__cap { color: inherit; text-decoration: none; }
}

/* Reduced motion: keep the fades, drop the movement */
@media (prefers-reduced-motion: reduce) and (min-width: 761px) {
  .cite__pop, .cite:hover .cite__pop, .cite:focus .cite__pop { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .chip:active, .ask__opt:active { transform: none; } }

/* Small screens: the reading size steps down with the body; long highlights may wrap */
@media (max-width: 900px) { .offset > .main-col.body { font-size: 19px; line-height: 1.55; } }
@media (max-width: 760px) { .hl { white-space: normal; } }
/* Laptop widths: the contents pictures were wider than the page; show as many as fit */
@media (max-width: 1280px) and (min-width: 761px) {
  .ct__list { columns: 1; }
  .ct__pic--d, .ct__pic--e { display: none; }
}
@media (max-width: 1100px) and (min-width: 761px) { .ct__pic--c { display: none; } }
@media (max-width: 900px) and (min-width: 761px) { .ct__pic--b { display: none; } }
/* 320px phones */
@media (max-width: 360px) {
  .ct__pic--main, .ct__pic--main .ct__mat { width: 100%; }
  .guest-page .display--m { font-size: 42px; }
  .hero { overflow-x: clip; }
  .guest-page { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   v20: spacing & composition. Two elevations, one edge, an 8pt grid inside
   components, titles in the same place on every page.
   ========================================================================== */
:root {
  --edge: rgba(29, 35, 49, 0.14);   /* the one hairline around objects on paper */
  --lift-ui: 0 1px 2px rgba(29, 35, 49, 0.06), 0 16px 32px -20px rgba(29, 35, 49, 0.38);    /* small things that float: terminal, popover */
  --lift-paper: 0 1px 2px rgba(29, 35, 49, 0.06), 0 26px 50px -28px rgba(29, 35, 49, 0.35); /* sheets of paper: the page, the form */
}
.term, .cite__pop { border-color: var(--edge); box-shadow: var(--lift-ui); }
.sheet__page { border-color: var(--edge); box-shadow: var(--lift-paper); }
.sheet__edge { box-shadow: 0 26px 50px -28px rgba(29, 35, 49, 0.35); }
.guest-form { box-shadow: var(--lift-paper); }

/* Inside components: 8 / 12 / 16 only */
.term__bar { padding: 8px 12px; }
.term__q { padding: 12px 16px; }
.term__a { padding: 12px 16px 16px; }
.cite__pop { padding: 16px; gap: 8px; }
.ratelimit { padding: 16px 24px; gap: 12px; }
.cu-row { padding-top: 24px; padding-bottom: 24px; }
.chip { padding: 8px 16px; }
.nav { padding-top: 24px; padding-bottom: 24px; }

/* Proximity: a label belongs to its title (tight), the title leads into the text (looser) */
.art-head__main { gap: var(--s-5); }
.art-head__main > .label + h1 { margin-top: calc(var(--s-3) - var(--s-5)); }
.guest-page__intro > .label + h1 { margin-top: calc(var(--s-3) - var(--s-5)); }

/* Wayfinding: listing pages put their title at the same height (Stories = Catch up) */
.cu-head { min-height: 0; padding-top: var(--s-8); align-items: flex-start; }
.cu-head__sheet { margin-top: var(--s-6); }
.art-head__main .thought { margin-top: 0; }
.art-head__main .summary { margin-top: var(--s-2); }

/* ==========================================================================
   v21: access & speed. Skip link, inline form errors, touch targets,
   fallback fonts sized like the real ones so nothing jumps when they load.
   ========================================================================== */

/* Fallbacks measured against the web fonts (width, ascent, descent) */
@font-face { font-family: "Garamond Fallback"; src: local("Georgia"); size-adjust: 86.9%; ascent-override: 116.2%; descent-override: 34.5%; line-gap-override: 0%; }
@font-face { font-family: "Garamond Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 86.9%; ascent-override: 116.2%; descent-override: 34.5%; line-gap-override: 0%; }
@font-face { font-family: "Shoulders Fallback"; src: local("Impact"); size-adjust: 97.4%; ascent-override: 101.7%; descent-override: 21.6%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 77.3%; ascent-override: 128.1%; descent-override: 40.1%; line-gap-override: 0%; }
:root {
  --display: "Big Shoulders", "Shoulders Fallback", Impact, sans-serif;
  --text: "EB Garamond", "Garamond Fallback", Georgia, serif;
  --voice: "Instrument Serif", "Instrument Fallback", Georgia, serif;
  --mono: "Geist Mono", Menlo, ui-monospace, monospace;   /* Menlo already matches Geist Mono's width */
}

/* Skip link: first Tab on every page jumps past the nav */
.skip { position: absolute; left: var(--margin); top: 8px; z-index: 200; padding: 12px 16px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; transform: translateY(-160%); }
.skip:focus { transform: none; }
main:focus { outline: none; }

/* Inline form errors: under the field, in words, never colour alone */
.field-err { display: block; min-height: 0; font-family: var(--voice); font-style: italic; font-size: 17px; line-height: 1.3; color: var(--tint-ink); }
.field-err:empty { display: none; }
.field-err::before { content: "↑ "; font-style: normal; }
.gf input[aria-invalid], .gf textarea[aria-invalid], .field input[aria-invalid] { border-bottom-style: dashed; }
.guest-form .field-err { margin-top: calc(var(--s-4) - var(--s-5)); }
.subscribe--ask .field-err { margin-top: calc(var(--s-1) - var(--s-4)); }

/* Fingers, not cursors: 44px targets on touch screens (Apple HIG, WCAG 2.5.5) */
@media (pointer: coarse) {
  .chip { min-height: 44px; display: inline-flex; align-items: center; }
  .ask__opt { min-height: 44px; display: flex; align-items: center; }
  .ask__opt::before { top: 50%; transform: translateY(-50%); }
  .cite::before { inset: -14px; }
  .thought summary { min-height: 44px; }
  .nav__links a::before { inset: -16px -14px; }
}
@media (pointer: coarse) {
  .wordmark { position: relative; }
  .wordmark::before { content: ""; position: absolute; inset: -10px -8px; }
  a.link, .footer a { padding-block: 15px; }   /* inline padding: bigger tap area, no layout change */
  .field input { min-height: 44px; }
}

/* Phones: "holds the camera" points at the guy holding the camera (it pointed at the other one) */
@media (max-width: 760px) {
  .duo-b .note { left: auto; right: -38px; top: -60px; align-items: flex-end; }
  .duo-b .note .note__text { padding-left: 0; }
}

/* ==========================================================================
   v24: v22 + the picks from v23.
   ========================================================================== */

/* Home · Contents: v23's one-column list, v22's pictures */
.ct__toc { gap: var(--s-4); }
.ct__word { font-size: 24px; }
.ct__list { columns: 1; border-top: 1px solid var(--rule); }
.ct__list li { border-bottom: 1px solid var(--rule); }
.ct__list a { grid-template-columns: 40px minmax(0, 1fr) auto; gap: var(--s-4); align-items: baseline; padding: 12px 0; }
.ct__list .ct__latest a { margin: 0; padding-left: 0; padding-right: 0; background: none; }   /* the NEW pill is enough: one cue, not two */
.ct__t { font-size: 17px; line-height: 1.3; }
.ct__t i { display: block; margin: 2px 0 0; font-size: 18px; }
.ct__len { text-align: right; min-width: 15ch; }
@media (max-width: 760px) {
  .ct__list a { grid-template-columns: 32px minmax(0, 1fr); row-gap: 4px; }
  .ct__len { grid-column: 2; text-align: left; min-width: 0; }
}

/* Home · Catch up: the terminal sits beside the list it answers, top-aligned; no empty half-screen */
.cu-home--std.screen { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--s-8); align-content: start; min-height: 0; padding-bottom: var(--s-10); }
.cu-home--std .section-head { grid-column: 1 / -1; }
.cu-home--std .cu-list { grid-column: 1; }
.cu-home--std .cu-home__term { grid-column: 2; align-self: start; width: auto; margin-top: var(--s-6); }
@media (max-width: 900px) {
  .cu-home--std.screen { grid-template-columns: 1fr; }
  .cu-home--std .cu-home__term { grid-column: 1; max-width: 320px; }
}

/* Story & Catch-up piece: take-home sits in the reading column */
.takehome-sec { padding-top: var(--s-9); padding-bottom: var(--s-6); }
.takehome-sec > * { max-width: 600px; margin-inline: auto; }
.takehome-sec .fig-head { margin-bottom: var(--s-7); }
.takehome-sec .takehome--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
.takehome-sec .takehome__stage { height: auto; justify-content: flex-start; padding-top: var(--s-3); }

/* Story: "there's an older one:" leads straight into it; next title on the reading column's edge */
.ratelimit { margin-bottom: var(--s-7); }
.next { grid-template-columns: minmax(0, 1fr) minmax(0, 600px) minmax(0, 1fr); align-items: end; border-top: 0; padding-top: 0; }
.next > div:last-child { grid-column: 2 / 4; }
.next__guest { grid-column: 1; justify-self: end; margin-right: var(--s-7); width: 120px; }
@media (max-width: 760px) {
  .next { grid-template-columns: 1fr; }
  .next > div:last-child, .next__guest { grid-column: 1; justify-self: start; margin-right: 0; }
}

/* ==========================================================================
   v24 · rulebook pass (Codex review, desktop): each line cites its rule.
   ========================================================================== */

/* B#6 Fitts: the Yes / No options are real 44px targets on desktop too */
.ask__opt { min-height: 44px; display: flex; align-items: center; }
.ask__opt::before { top: 50%; transform: translateY(-50%); }

/* B#10 press feedback: scale(0.97) on everything pressable, transform only */
.ask__opt, .thought summary, .cite { transition: color var(--t-fast) var(--ease-out), transform var(--t-press) var(--ease-out); transform-origin: left center; }
.ask__opt:active, .thought summary:active { transform: scale(0.97); }
.cite { transform-origin: center; }
.cite:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) { .ask__opt:active, .thought summary:active, .cite:active { transform: none; } }

/* break-ui + B#8: take-home sheets never clip, and nothing on them is under 11px */
.mini-sheet .sheet__page { font-size: 11px; padding: 24px; gap: 12px; aspect-ratio: auto; min-height: 300px; }
.cu-head__sheet .sheet__page { font-size: 12px; }

/* B#7 two elevations: paper sheets use the paper shadow (folded corner, tape and grain stay) */
.mini-sheet { filter: none; }
.mini-sheet .sheet__page { box-shadow: var(--lift-paper); }

/* B#7 8pt grid: the last off-grid gaps */
.formula { gap: 16px; }
.cu-row__body { gap: 8px; }
.fig-head { padding-top: 16px; }

/* B#4 one cue for "new": the pill in Contents; the picture label goes */
.ct__new { display: none; }

/* B#8 voice scale: guest names in Contents at 20px */
.ct__t i { font-size: 20px; }

/* B#2 continuity: "More Catch up" stays in the reading column, like the take-home above it */
.follow-sec > * { max-width: 600px; margin-inline: auto; }

/* B#2 shared baselines: Stories cards share rows, so names and dates line up across a pair */
.people--two .person { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; align-content: start; }
.people--two .person__meta { align-self: start; }

/* review-animations: nav underline under 300ms, transform only (width is a fixed 1px scaled in JS) */
.nav__ink { width: 1px !important; transform-origin: left center; }
.nav__ink.is-ready { transition: transform 240ms var(--ease-out); }

/* v24 · home Stories as rows (the Catch up format, plus a portrait per story) */
.sr-home .cu-list { grid-column: 1 / -1; }
.sr-home .cu-list { margin-top: var(--s-5); }
.sr-row { grid-template-columns: 48px 80px minmax(0, 1fr) auto; padding-top: 16px; padding-bottom: 16px; }
.sr-row__pic { width: 80px; height: 104px; }
.sr-row__who { font-size: 20px; color: var(--ink-2); }
@media (max-width: 760px) {
  /* phones: the picture takes the number's place */
  .sr-row { grid-template-columns: 72px minmax(0, 1fr); align-items: start; }
  .sr-row .cu-row__n { display: none; }
  .sr-row__pic { width: 72px; height: 96px; }
  .sr-row .cu-row__go { grid-column: 2; }
}

/* v24 · phones and tablets (with Codex) */
/* Menu: below 900px the links fold into one native disclosure */
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; min-height: 44px; display: flex; align-items: center; padding-inline: 8px; margin-right: -8px; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { text-decoration: underline; text-underline-offset: 0.3em; }
.mnav__panel { position: absolute; z-index: 1; top: calc(100% + 8px); right: 0; width: min(280px, calc(100vw - 40px)); display: flex; flex-direction: column; padding: 8px 0; background: var(--sheet); border: 1px solid var(--edge); box-shadow: var(--lift-ui); }
.mnav__panel a { min-height: 44px; display: flex; align-items: center; padding: 0 16px; }
.mnav__panel a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }
@media (hover: hover) and (pointer: fine) { .mnav__panel a:hover { background: rgba(29, 35, 49, 0.045); } }
@media (max-width: 900px) {
  .nav { align-items: center; }
  .nav__links { display: none; }
  .mnav { display: block; }
}

/* Take-home sheets: one per row on phones, full width */
@media (max-width: 760px) {
  .takehome-sec .takehome.takehome--two { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .takehome-sec .mini-sheet { width: 100%; }
  .takehome-sec .sheet__page { min-width: 0; overflow-wrap: anywhere; }
}

/* Home hero: the title overlaps the model's legs, in front of them, like a cover line */
@media (max-width: 900px) { .hero__title { z-index: 6; } }
/* About: the models start below the title, so the notes don't sit on it */
@media (max-width: 760px) { .duo-a { margin-top: 64px; } }

/* Handwritten labels stay on screen at 320 */
@media (max-width: 360px) {
  .hero .figure .note { left: 45%; }
  .hero .figure .note__text, .duo-head .note__text { font-size: 20px; padding-left: 0; }
}

/* Catch up head */
@media (max-width: 760px) { .cu-head__term { width: 100%; max-width: 300px; } }
@media (min-width: 761px) and (max-width: 900px) {
  .cu-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 32px; }
  .cu-head__main { grid-column: 1 / -1; }
  .cu-head__term { width: 100%; align-self: start; margin-bottom: 0; }
  .cu-head__sheet { width: 100%; margin: 0; }
}

/* Tablet: reading column keeps its measure */
@media (min-width: 761px) and (max-width: 900px) {
  .offset > .main-col.body { max-width: 600px; margin-inline: auto; font-size: 22px; line-height: 1.5; }
  .people--two .person__meta { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Catch up rows on phones: minutes go under the text, not beside it */
@media (max-width: 760px) {
  .cu-row:not(.sr-row) { grid-template-columns: 32px minmax(0, 1fr); align-items: start; }
  .cu-row:not(.sr-row) .cu-row__go { grid-column: 2; }
}

/* Radio labels: 44px targets */
.gf--choice label { min-height: 44px; padding-block: 8px; }

@media (max-width: 360px) { .getout .display--m { font-size: 36px; } }
@media (max-width: 360px) { .duo-b .note__text { white-space: normal; width: 100px; } }
@media (max-width: 360px) { .duo-b { margin-left: 50%; margin-top: -224px; } .duo-b .note { left: auto; right: 0; } .hero__title { font-size: 46px; } }

/* =========================================================================
   v24 · phone design pass (Claude + Codex, section by section)
   One spacing system: section 48 top / 24 bottom, heading→content 24,
   blocks 32, side margin 24.
   ========================================================================= */
@media (max-width: 760px) {
  :root { --phone-section-top: 48px; --phone-section-bottom: 24px; --phone-heading-content: 24px; --phone-block-gap: 32px; --phone-side: 24px; --margin: var(--phone-side); }

  /* 1. Home hero: cover line first, then the intro, then the portrait in its own space */
  .hero { padding-bottom: 24px; }
  .hero__title { order: 0; position: static; margin: 32px 0 0; padding-inline: var(--margin); font-size: min(64px, calc((100vw - 2 * var(--margin)) / 5.5)); line-height: 0.96; white-space: nowrap; }   /* one line, fills the column */
  .hero__title br { display: none; }
  .hero .formula { order: 1; padding-top: 24px; }
  .hero .figure { order: 2; width: 128px; margin: 72px auto 0; }
  .hero .figure .note { left: 40%; top: -10%; }
  .hero .figure .note__text { padding-left: 0; font-size: 20px; }

  /* 2. Footer: one compact ending */
  .footer { padding: 0 var(--margin) 24px; }
  .footer > .wrap.footer__screen { min-height: 0; padding: 48px 0 24px; gap: 32px; justify-content: flex-start; }
  .footer .getout { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .footer .getout .display--m { font-size: 40px; line-height: 0.96; }
  .footer .getout__side { gap: 24px; }
  .footer .lead { font-size: 21px; line-height: 1.4; }
  .footer .field input { font-size: 24px; }
  .footer .subscribe--ask { gap: 16px; }
  .footer .ask { gap: 8px; }
  .footer__bar { padding: 24px 0; border-top: 1px solid var(--rule); gap: 16px; }
  .footer__bar .slash { margin-inline: 8px; }
  .footer__mark { display: block; margin-top: 8px; }

  /* 3. Section rhythm */
  main > section.wrap:not(.art-head) { padding-top: var(--phone-section-top) !important; padding-bottom: var(--phone-section-bottom); }
  .cu-home--std.screen { padding-top: var(--phone-section-top); padding-bottom: var(--phone-section-bottom); }
  .section-head { padding-bottom: 16px; gap: 16px; }
  .section-head__aside { font-size: 22px; line-height: 1.2; }
  .sec-head { padding-bottom: var(--phone-heading-content); }
  .hero__term { max-width: none; width: auto; margin: 32px var(--margin) 0; padding: 0; }
  .duo-head__term, .cu-home--std .cu-home__term, .cu-head__term { width: 100%; max-width: none; margin-top: 32px; }
  .term { max-width: none; }
  .takehome-sec .fig-head { gap: 16px; margin-bottom: 24px; }
  .takehome-sec .fig-head > :last-child { flex-shrink: 0; white-space: nowrap; }
  .takehome-sec .takehome__stage { padding-top: 16px; }
  .takehome__item { gap: 16px; }

  /* 4. Stories gallery: one card per row, portrait beside its title */
  .st-page { gap: 32px; }
  .st-page__head { gap: 24px; }
  .st-page__doodle { width: 112px; margin-top: 0; }
  .people--two { grid-template-columns: 1fr; gap: 32px; }
  .people--two .person { grid-row: auto; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; align-items: start; }
  .people--two .person__stage { grid-column: 1; grid-row: 1 / 3; height: 240px; padding-bottom: 8px; margin-bottom: 0; }
  .people--two .person:not(.person--empty) .person__stage img, .people--two .person__blur { height: 224px; }
  .people--two .person__title { grid-column: 2; font-size: 28px; line-height: 1; }
  .people--two .person__meta { grid-column: 2; gap: 8px; }

  /* 5. About opener: the two as a pair */
  .duo-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding: 32px var(--margin) 24px; }
  .duo-head__title { grid-column: 1 / -1; padding-top: 0; font-size: 56px; line-height: 0.96; }
  .duo-a, .duo-b { width: 112px; margin: 72px 0 0; justify-self: center; }
  .duo-head .figure .note { left: 0; right: auto; top: -64px; width: 136px; align-items: flex-start; }
  .duo-head .note__text { white-space: normal; padding-left: 0; font-size: 20px; }
  .duo-head .note svg { width: 56px; height: 48px; }
  .duo-head__term { grid-column: 1 / -1; margin-top: 8px; }

  /* 6. Article introductions */
  .art-head { padding-top: 32px; gap: 24px; }
  .art-head__main { order: 0; gap: 24px; }
  .art-title { font-size: 40px; line-height: 0.96; }
  .art-head__main .summary { margin-top: 0; padding-block: 24px; }
  .art-head__side { order: 2; }
  .art-head__side .formula { width: 100%; }
  .art-head__credits { gap: 16px; }
  .art-head__side .term { margin-top: 8px; }
  .art-head__guest { display: block; order: 1; }
  .art-head__guest .figure--side { position: relative; left: auto; top: auto; margin: 48px auto 0; }
  .figure--side > img { height: 240px; }
  .figure--side .note { left: 64%; top: -12%; }
  .figure--side .note__text { font-size: 20px; padding-left: 0; }
  .art-head__side .margin-doodle { max-width: none; flex-direction: row; align-items: center; gap: 16px; }
  .margin-doodle > .doodle-img { width: 112px; flex-shrink: 0; }
  .art-head__term { display: block; order: 3; padding: 0; }

  /* 7. Next story */
  .ratelimit { margin-top: 0; margin-bottom: 24px; padding: 16px; }
  .next { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 0; }
  .next__guest { grid-column: 1; width: 72px; margin: 0; }
  .next__guest img { height: auto; width: 100%; }
  .next > div:last-child { grid-column: 2; }
  .next .display { font-size: 32px; line-height: 1; }
  .next .voice { font-size: 24px; }

  /* 8. About kit: three equal rows */
  .kit { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .kit__item { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; gap: 8px 24px; text-align: left; align-items: center; }
  .kit__item .obj { grid-column: 1; grid-row: 1 / 3; max-height: 128px; justify-self: center; }
  .kit__item .voice { grid-column: 2; padding-top: 0; }
  .kit__item .label { grid-column: 2; }
  section.wrap:has(> .kit) > p { padding-top: 32px !important; }

  /* 9. Rows: descriptions use the full width */
  .cu-row:not(.sr-row) { grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 24px 0; }
  .cu-row__t { font-size: 24px; line-height: 1.15; }
  .sr-row { grid-template-columns: 72px minmax(0, 1fr); gap: 8px 16px; padding: 24px 0; }
  .sr-row .cu-row__body { display: contents; }
  .sr-row__pic { grid-column: 1; grid-row: 1 / 3; }
  .sr-row .cu-row__t { grid-column: 2; grid-row: 1; }
  .sr-row__who { grid-column: 2; grid-row: 2; }
  .sr-row .cu-row__lead { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }
  .sr-row .cu-row__go { grid-column: 1 / -1; grid-row: 4; margin-top: 8px; }

  /* 10. Catch up header */
  .cu-head { gap: 32px; }
  .cu-head__main { gap: 24px; }
  .cu-head__main .display--l { font-size: 56px; }
  .cu-head__doodle { width: 112px; margin-top: 0; }
  .cu-head__term { margin: 0; }
  .cu-head__sheet { width: 272px; margin: 0 auto; }
  .cu-head__sheet .sheet__page { min-height: 272px; padding: 24px; gap: 16px; }

  /* 11. Reading furniture */
  .offset > .main-col.body { font-size: 21px; line-height: 1.5; }
  .body--airy p + p, .body--airy p + aside + p { margin-top: 24px; }
  .main-col.body .frame { margin-block: 32px !important; }
  .main-col.body .tint-quote { margin-block: 32px 16px !important; font-size: 17px; line-height: 1.75; }
  .main-col.body .mnote { width: 100%; margin: 16px 0 24px; font-size: 22px; line-height: 1.2; justify-content: flex-start; }
  .main-col.body .mnote span { flex: initial; }
  .subhead { margin: 32px 0 16px; }
  .main-col.body .mobj { display: flex; position: static; width: 100%; justify-content: flex-start; margin-block: 24px; }
  .main-col.body .mobj .obj { max-width: 72px; max-height: 96px; object-fit: contain; }

  /* 12. Guest page */
  .guest-page { gap: 32px; }
  .guest-page__intro { gap: 24px; }
  .guest-page__row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .guest-page__blur { display: block; margin-top: 48px; }
  .guest-page__blur .person__blur { height: 160px; }
  .guest-page__blur .note { left: 90%; top: 0; }
  .guest-page__blur .note__text { font-size: 20px; padding-left: 0; }
  .guest-form { padding: 24px; gap: 24px; }
  .gf { gap: 8px; }
  .gf--choice { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gf--choice legend { margin-bottom: 8px; }
}
@media (max-width: 360px) {
  .hero__title, .duo-head__title, .cu-head__main .display--l { font-size: 46px; }
}
/* phone design pass · second look */
@media (max-width: 760px) {
  .main-col.body .mobj { display: none; }   /* the kit below already shows these objects; in the text they read as clutter */
  .kit__item { align-content: center; }
  .kit__item .voice { align-self: end; }
  .kit__item .label { align-self: start; }
  .people--two .person { grid-template-rows: auto 1fr; }
  .people--two .person__meta { align-self: start; }
  .guest-page__blur { order: 2; margin-top: 24px; }
}
@media (max-width: 760px) { .footer__mark { white-space: nowrap; } }   /* one line, full width, like desktop */
@media (max-width: 760px) {
  .duo-head .note .mk-arrow--down { margin-left: 24px; }   /* arrow tips land on the heads */
  .cu-home--std .cu-list, .sr-home .cu-list { margin-top: 0; }   /* heading → list = the 24px row padding */
}

/* Notes: arrow tips point at the side of the head, not into the neck (measured from each cut-out's alpha) */
.hero .figure .note { left: 68.5%; top: -9.3%; right: auto; }
.duo-a .note { left: 68.5%; top: -10.5%; right: auto; }
.duo-b .note { left: 64%; top: -11.8%; right: auto; }
.art-head__guest .figure--side .note { left: 70.9%; top: -14.2%; right: auto; }
.guest-page__blur .note { left: 53.9%; top: -31.5%; right: auto; }
@media (max-width: 900px) {
  .hero .figure .note { left: 68.2%; top: -13.4%; }
  .duo-a .note { left: 68%; top: -16.3%; }
  .duo-b .note { left: 63.5%; top: -18.1%; }
  .guest-page__blur .note { left: 53.9%; top: -26.4%; }
}
@media (max-width: 760px) {
  .hero .figure .note { left: 67.8%; top: -17.9%; }
  .art-head__guest .figure--side .note { left: 69.8%; top: -28.9%; }
  .guest-page__blur .note { left: 52.7%; top: -46.1%; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .hero .figure .note { top: -11.5%; }
  .duo-a .note { top: -13%; }
  .duo-b .note { top: -14.5%; }
  .guest-page__blur .note { top: -27.5%; }
}
@media (max-width: 760px) { .duo-head .figure .note { top: -76px; } }   /* tips stop just above the heads */

/* "Could be you": let the blur fade out instead of being cut by the card's box */
.person--empty .person__stage { overflow: visible; }
/* Phone type snaps to the scale: text 17/21/24/26, voice 20/22/24/28 */
@media (max-width: 760px) {
  .stars li { font-size: 17px; }
  .artefact__title { font-size: 21px; }
  .sec-head .voice { font-size: 22px; }
  .main-col.body .hl { font-size: 24px; }
}

/* =========================================================================
   v24 · tablet + small laptop (761–1279), Claude + Codex
   761–1099: the phone composition, scaled up. 1100–1279: reflowed grids,
   everything in normal flow. ≥1280: the desktop collage, unchanged.
   ========================================================================= */
/* 1. Home + About openers */
@media (min-width: 761px) and (max-width: 1279px) {
  .hero, .duo-head { height: auto; min-height: 0; max-height: none; padding: 48px var(--margin); overflow: visible; gap: 32px; }
  .hero .formula, .hero__title, .hero__term, .duo-head__title, .duo-head__term { position: static; inset: auto; order: initial; margin: 0; padding: 0; width: auto; max-width: none; }
  .hero__title, .duo-head__title { font-size: clamp(64px, 7vw, 88px); line-height: .96; z-index: auto; }
  .hero .formula { max-width: 600px; }
  .hero .figure, .duo-head .figure { position: relative; inset: auto; order: initial; width: 180px; margin: 80px 0 0; justify-self: center; }
  .hero .figure .note, .duo-head .figure .note { left: 65%; right: auto; top: -64px; width: 200px; }
  .hero .figure .note__text, .duo-head .note__text { padding-left: 0; white-space: normal; font-size: 24px; }
  .hero__term, .duo-head__term { max-width: 360px; }
  .hero__term .term, .duo-head__term .term { max-width: none; }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .hero { display: flex; flex-direction: column; }
  .hero__title { order: 0; }
  .hero .formula { order: 1; }
  .hero .figure { order: 2; align-self: center; }
  .hero__term { order: 3; width: 100%; }
  .duo-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo-head__title { grid-column: 1 / -1; grid-row: 1; }
  .duo-a { grid-column: 1; grid-row: 2; }
  .duo-b { grid-column: 2; grid-row: 2; }
  .duo-head__term { grid-column: 1 / -1; grid-row: 3; width: 100%; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "title title" "intro portrait" "term portrait"; align-items: start; }
  .hero__title { grid-area: title; }
  .hero .formula { grid-area: intro; }
  .hero .figure { grid-area: portrait; }
  .hero__term { grid-area: term; width: 100%; }
  .duo-head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .duo-head__title { grid-column: 1 / -1; grid-row: 1; }
  .duo-a { grid-column: 1; grid-row: 2; }
  .duo-b { grid-column: 2; grid-row: 2; }
  .duo-head__term { grid-column: 3; grid-row: 2; width: 100%; }
}

/* 2. Article openings */
@media (min-width: 761px) and (max-width: 1279px) {
  .art-head.offset { gap: 32px; align-items: start; }
  .art-head.offset > * { width: auto; max-width: none; margin: 0; min-width: 0; }
  .art-head__side { display: flex; padding: 0; justify-content: flex-start; }
  .art-head__side .formula { width: 100%; max-width: 600px; }
  .art-head__side .formula > .term { max-width: 360px; }
  .art-head__guest { display: block; align-self: start; }
  .art-head__guest .figure--side { position: relative; inset: auto; margin: 80px auto 0; }
  .figure--side > img { height: 320px; }
  .art-head__guest .figure--side .note { left: 70%; right: auto; top: -64px; }
  .figure--side .note__text { font-size: 24px; padding-left: 0; }
  .art-head__term { display: block; padding: 0; }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .art-head.offset { display: flex; flex-direction: column; }
  .art-head.offset > * { width: 100%; max-width: 600px; margin-inline: auto; }
  .art-head__main { order: 0; }
  .art-head__guest { order: 1; }
  .art-head__side { order: 2; }
  .art-head__term { order: 3; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .art-head.offset { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); justify-content: center; }
  .art-head.offset > .art-head__main { grid-column: 1; grid-row: 1; }
  .art-head__guest, .art-head__term { grid-column: 2; grid-row: 1; }
  .art-head__side { grid-column: 1; grid-row: 2; order: initial; }
}

/* 3. Guest page */
@media (min-width: 761px) and (max-width: 1279px) {
  .guest-page { gap: 48px; }
  .guest-page__row { padding-top: 96px; gap: 32px; }
  .guest-page__blur .note { left: 54%; right: auto; top: -64px; width: 200px; }
  .guest-page__blur .note__text { padding-left: 0; white-space: normal; font-size: 24px; }
  .guest-form { padding: 32px; min-width: 0; }
  .gf--choice { flex-wrap: wrap; gap: 16px; }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .guest-page { grid-template-columns: minmax(0, 1fr); }
  .guest-page__intro, .guest-form { width: 100%; max-width: 600px; margin-inline: auto; }
}
@media (min-width: 1100px) and (max-width: 1279px) { .guest-page { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 4. Stories cards */
@media (min-width: 761px) and (max-width: 1099px) {
  .st-page { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .st-page__head { position: static; max-width: 600px; }
  .people--two { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .people--two .person { grid-row: auto; grid-template-columns: 144px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 16px 32px; }
  .people--two .person__stage { grid-column: 1; grid-row: 1 / 3; height: 320px; margin: 0; }
  .people--two .person:not(.person--empty) .person__stage img, .people--two .person__blur { height: 300px; }
  .people--two .person__title { grid-column: 2; font-size: 32px; }
  .people--two .person__meta { grid-column: 2; flex-direction: column; align-items: flex-start; gap: 8px; align-self: start; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .st-page { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 32px; }
  .people--two .person__meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* 5. Catch up header + rows */
@media (min-width: 761px) and (max-width: 1099px) {
  .cu-head { display: flex; flex-direction: column; gap: 32px; }
  .cu-head__main { width: 100%; }
  .cu-head__main .display--l { font-size: 72px; }
  .cu-head__term, .cu-head__sheet { width: 320px; max-width: 100%; margin: 0; align-self: flex-start; }
  .cu-home--std.screen { grid-template-columns: minmax(0, 1fr); }
  .cu-home--std .cu-home__term { grid-column: 1; width: 100%; max-width: 360px; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .cu-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
  .cu-head__main { grid-column: 1; grid-row: 1; }
  .cu-head__main .display--l { font-size: 80px; }
  .cu-head__term { grid-column: 1; grid-row: 2; width: 320px; margin: 0; }
  .cu-head__sheet { grid-column: 2; grid-row: 1 / 3; width: 320px; margin: 0; }
}
@media (min-width: 761px) and (max-width: 1279px) {
  .cu-home--std .cu-row:not(.sr-row), .follow-sec .cu-row { grid-template-columns: 32px minmax(0, 1fr); gap: 8px 16px; align-items: start; }
  .cu-home--std .cu-row:not(.sr-row) .cu-row__go, .follow-sec .cu-row__go { grid-column: 2; }
}

/* 6. Next story stays inside the reading column */
@media (min-width: 761px) and (max-width: 1279px) {
  .next { max-width: 600px; margin-inline: auto; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: start; }
  .next__guest { grid-column: 1; width: 96px; margin: 0; justify-self: start; }
  .next__guest img { width: 100%; height: auto; }
  .next > div:last-child { grid-column: 2; }
  .next .display { font-size: 40px; line-height: 1; }
  .ratelimit { margin-top: 48px; margin-bottom: 32px; }
}

/* 7. Margin notes become inline notes */
@media (min-width: 761px) and (max-width: 1279px) {
  .main-col.body .mnote { position: static; inset: auto; width: 100%; margin: 24px 0; flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; gap: 16px; }
  .main-col.body .mnote span { flex: initial; max-width: 40ch; }
  .main-col.body .mnote svg { display: block; flex: none; order: initial; }
  .main-col.body .mnote--l { flex-direction: row-reverse; justify-content: flex-end; }
}

/* 8. Footer: heading over the form, not squeezed beside it */
@media (min-width: 761px) and (max-width: 1279px) {
  .footer .getout { grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
  .footer .getout__side { max-width: 600px; }
}
/* About opener 761–1279: the two stand as a centred pair, notes open to the right, terminal below */
@media (min-width: 761px) and (max-width: 1279px) {
  .duo-head { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo-a { justify-self: end; margin-right: 32px; }
  .duo-b { justify-self: start; margin-left: 32px; }
  .duo-head__term { grid-column: 1 / -1; grid-row: 3; width: 100%; }
}
/* Guest page 761–1099: bullets first, the blurred guest under them (as on phones) */
@media (min-width: 761px) and (max-width: 1099px) {
  .guest-page__row { flex-direction: column; align-items: flex-start; padding-top: 0; }
  .guest-page__blur { order: 2; margin-top: 96px; }
}
@media (min-width: 761px) and (max-width: 1279px) {
  .duo-head .figure.duo-a { justify-self: end; margin: 80px 48px 0 0; }
  .duo-head .figure.duo-b { justify-self: start; margin: 80px 0 0 48px; }
  .duo-head .figure .note, .hero .figure .note { width: max-content; }
}
@media (max-width: 760px) { .guest-page__blur { margin-top: 80px; } }
/* Desktop collage (≥1280): models sit 40px lower so the re-aimed notes clear the nav */
@media (min-width: 1280px) {
  .hero .figure { top: 80px; }
  .duo-a { top: 80px; }
  .duo-b { top: 150px; }
  .guest-page__blur .note { left: 90%; top: 4%; }
}
@media (min-width: 761px) and (max-width: 1099px) { .guest-page__intro, .guest-form { margin-inline: 0; } }   /* left edge matches the other pages */
@media (min-width: 1100px) and (max-width: 1279px) { .st-page__head .display--l { font-size: 88px; line-height: .96; } }
@media (min-width: 761px) and (max-width: 1099px) {
  .cu-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .cu-head__main { grid-column: 1 / -1; }
  .cu-head__term { grid-column: 1; grid-row: 2; }
  .cu-head__sheet { grid-column: 2; grid-row: 2; }
  .people--two .person__stage { height: 240px; }
  .people--two .person:not(.person--empty) .person__stage img, .people--two .person__blur { height: 224px; }
}

/* v24 · arrow re-aim 2: tips beside the head, not on the crown (measured from the cut-out alpha) */
@media (max-width: 760px) {
  .duo-head .figure .note { top: -48px; }
  .duo-head .duo-a .note .mk-arrow--down { margin-left: 80px; }
  .duo-head .duo-b .note .mk-arrow--down { margin-left: 85px; }
}
@media (max-width: 360px) { .duo-head .figure.duo-b .note { top: -70px; } }
@media (min-width: 1280px) {
  .guest-page__row { margin-top: 80px; }
  .guest-page__blur .note { left: 48%; top: -30.6%; }
}

/* ==========================================================================
   v25: technical layer. Registration crosshairs, file-style section labels,
   and a + cursor. All static: nothing moves, nothing shifts.
   ========================================================================== */

/* Crosshair: a thin + drawn in ink, 13px, centred on its anchor point */
:root {
  --xhair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Cpath d='M6.5 0v13M0 6.5h13' stroke='%231D2331' stroke-width='1'/%3E%3C/svg%3E");
}

/* Ends of each section rule get a registration mark */
.section-head { position: relative; }
.section-head::before,
.section-head::after {
  content: ""; position: absolute; bottom: -7px; width: 13px; height: 13px;
  background: var(--xhair) center / 13px 13px no-repeat; pointer-events: none;
}
.section-head::before { left: -6px; }
.section-head::after { right: -6px; }

/* Newsletter block: marks on its top corners */
.getout { position: relative; }
.getout::before,
.getout::after {
  content: ""; position: absolute; top: calc(-1 * var(--s-6)); width: 13px; height: 13px;
  background: var(--xhair) center / 13px 13px no-repeat; pointer-events: none;
}
.getout::before { left: -6px; }
.getout::after { right: -6px; }

/* File-style section label: 01 / stories.md · 4 entries */
.sec-meta { color: var(--ink-2); display: block; margin-bottom: var(--s-2); }
.sec-meta__sep { opacity: 0.45; margin: 0 2px; }
.getout__head { display: flex; flex-direction: column; }

/* Cursor: a 13px ink + with a thin white outline so it reads on ink too. Text fields keep the I-beam. */
html, a, button, summary, label, [role="button"], .cu-row, .film, .copy, .cite, .ask__opt {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cpath d='M8.5 1.5v14M1.5 8.5h14' stroke='%23FFFFFF' stroke-width='2.25'/%3E%3Cpath d='M8.5 2v13M2 8.5h13' stroke='%231D2331' stroke-width='1.25'/%3E%3C/svg%3E") 8 8, crosshair;
}
input:not([type="radio"]):not([type="checkbox"]), textarea, [contenteditable] { cursor: text; }

/* ==========================================================================
   v27: story page, one column. Structure and spacing copied from
   aiwithremy.com (measured): a 24px rhythm, 48px between paragraphs,
   ~176px above a section heading and 112px below it, 48px between title,
   subtitle and byline, images 56px above / 32px below.
   Our type, paper and dots; no sheet.
   ========================================================================== */
.post-wrap { padding-top: 64px; padding-bottom: 96px; }
.post, .post-back { max-width: 600px; margin-inline: auto; }
.post-back { display: block; margin-bottom: 96px; color: var(--ink-2); width: fit-content; }
@media (min-width: 640px) { .post-back { width: 600px; } }
@media (max-width: 639px) { .post-back { margin-left: 0; } }

/* Header: label, title, subtitle, byline */
.post__head > .label { display: block; color: var(--ink-2); margin-bottom: 16px; }
.post__title { font-size: clamp(44px, 4.6vw, 64px); line-height: 0.92; }
.post__sub { margin-top: 48px; font-size: 22px; line-height: 1.4; color: var(--ink-2); }
.post__byline { display: flex; align-items: center; gap: 12px; margin-top: 48px; }
.post__avatar { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--r-round); background-color: var(--sheet); background-repeat: no-repeat; background-size: 150% auto; background-position: 50% 3%; border: 1px solid var(--rule); }
.post__who { display: flex; flex-direction: column; gap: 2px; font-size: 18px; line-height: 1.2; }
.post__who .voice { font-size: 22px; }
.post__who .label { color: var(--ink-2); font-size: 10px; }

/* Body */
.post__body { margin-top: 80px; max-width: none; }
.post__body p + p { margin-top: 48px; }
.post__body .subhead { margin: 176px 0 112px; }
.post__body .post__tldr { margin: 0 0 24px; }
.post__body .stars { font-size: 20px; line-height: 1.6; gap: 24px; padding-left: 0; max-width: none; }
.post__body .thought { margin-top: 32px; }
.post__break { border: 0; border-top: 1px solid var(--rule); margin: 112px 0; }
.post__break + p { margin-top: 0; }
.post__fig { margin: 56px 0 32px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.post__fig + p { margin-top: 0; }
.post__fig .frame { display: block; width: 100%; border-radius: 4px; }
.post__fig figcaption { color: var(--ink-2); text-align: center; }
.post__fig > .doodle-img { margin-inline: auto; }
.post__audio { width: 100%; max-width: 520px; margin-inline: auto; }
.post__audio-row { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.post__audio-row .label { color: var(--ink-2); }
.post__audio audio { width: 100%; height: 40px; }
.post__quote { margin: 56px 0 !important; }
.post__quote + p { margin-top: 0 !important; }
.subhead + p { margin-top: 0 !important; }
.post__term { max-width: 420px; margin: 96px 0 0; }
.post__sign { display: flex; flex-direction: column; margin-top: 96px !important; font-size: 24px; line-height: 1.2; }
.post__sign-name { font-size: 40px; }

/* End: hairline, then older / newer */
.post__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--rule); }
.post__pager-item { display: flex; flex-direction: column; gap: 8px; }
.post__pager-item .label { color: var(--ink-2); }
.post__pager-item--r { text-align: right; align-items: flex-end; }
.post__pager-t { font-family: var(--text); font-size: 18px; line-height: 1.25; }
.post__pager-t--muted { color: var(--ink-2); }
a.post__pager-item:hover .post__pager-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

.post-wrap + .takehome-sec { padding-top: 0; }

@media (max-width: 760px) {
  .post-wrap { padding-top: 32px; padding-bottom: 64px; }
  .post-back { margin-bottom: 56px; }
  .post__sub { margin-top: 32px; font-size: 19px; }
  .post__byline { margin-top: 32px; }
  .post__body { margin-top: 56px; }
  .post__body p + p { margin-top: 32px; }
  .post__body .subhead { margin: 112px 0 56px; }
  .post__body .post__tldr { margin: 0 0 24px; }
  .post__break { margin: 72px 0; }
  .post__pager { grid-template-columns: 1fr; }
  .post__pager-item--r { text-align: left; align-items: flex-start; }
}

/* v27: side components back in the margins (notes, objects, Sam), column stays simple.
   Above 1280px Sam stands in the right margin and the byline drops its avatar;
   below that Sam is hidden and the avatar returns. Notes/objects use the existing
   margin rules (absolute above 1100px, in the text flow below). */
.post__head, .post__body { position: relative; }
.post__guest { display: none; }
.post__body aside + p, .post__body p + aside + p { margin-top: 48px; }
.post__body .subhead + aside + p { margin-top: 0; }
@media (min-width: 1280px) {
  .post__guest { display: block; position: absolute; top: 24px; left: calc(100% + 72px); }
  .post__guest .figure--side > img { height: 400px; }
  .post__avatar { display: none; }
}

/* v27 Catch up: the network doodle stands in the right margin where Sam stands on stories;
   the list in the body gets the same spacing as a paragraph */
.post__guest--doodle .margin-doodle { width: 240px; }
.post__body .subhead + .stars { margin-top: 0; }
.post__body .stars + aside + p, .post__body .stars + p { margin-top: 48px; }

/* Stories: classic layout on desktop — header on top, the people in one full-width row below */
@media (min-width: 1100px) {
  .st-page { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .st-page__head { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); column-gap: var(--s-8); row-gap: var(--s-5); align-items: end; }
  .st-page__head > .display { grid-column: 1; grid-row: 1; }
  .st-page__head > .lead { grid-column: 1; grid-row: 2; align-self: start; }
  .st-page__doodle { grid-column: 2; grid-row: 1; margin-top: 0; }
  .st-page__head .term { grid-column: 2; grid-row: 2; margin-top: 0; align-self: start; }
  .people--two { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8) var(--s-6); }
  .people--two .person__meta { flex-direction: row; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
}

/* Same visual size as the old fonts: Figtree scaled to EB Garamond (text) and Instrument Serif (voice) line widths */
@font-face { font-family: "Figtree Text"; font-style: normal; font-weight: 300 800; font-display: swap; size-adjust: 86.6%; src: url(assets/fonts/figtree-latin-ext-7471c0c2.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree Text"; font-style: normal; font-weight: 300 800; font-display: swap; size-adjust: 86.6%; src: url(assets/fonts/figtree-latin-f96cbbc0.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree Voice"; font-style: normal; font-weight: 300 800; font-display: swap; size-adjust: 80%; src: url(assets/fonts/figtree-latin-ext-7471c0c2.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree Voice"; font-style: normal; font-weight: 300 800; font-display: swap; size-adjust: 80%; src: url(assets/fonts/figtree-latin-f96cbbc0.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Font trial: claude.dev feel — Figtree + JetBrains Mono stand in for Anthropic Sans / Mono (closest free metrics); Big Shoulders stays */
:root {
  --text: "Figtree Text", -apple-system, "Helvetica Neue", sans-serif;
  --voice: "Figtree Voice", -apple-system, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
.voice, .hl, .field input, .note__text, .wordmark i, .rec .voice, .explainer .t-voice, .door small, .napkin__ink, .mnote, .gf input:not([type="radio"]), .gf textarea, .field-err { font-style: normal; }
.wordmark { letter-spacing: -0.03em; font-weight: 500; }
.wordmark i { font-weight: 400; }

/* Placeholder: section exists, content blurred until real stories land */
.wip { position: relative; }
.sr-home .wip { grid-column: 1 / -1; }
.wip__blur { filter: blur(7px); opacity: 0.55; user-select: none; pointer-events: none; }
.wip__tag { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--ink); text-align: center; }
.people:has(.wip__tag) { position: relative; }
.wip__tag--people { grid-column: 1 / -1; grid-row: 1 / span 3; }

/* About · one note, one arrow that forks to both heads (path drawn in main.js) */
.duo-fork { inset: 0; z-index: 2; }
.duo-fork__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.duo-head .duo-fork__text { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; padding: 0; }
@media (min-width: 1280px) {
  .duo-a { top: calc(220px + clamp(403.3613px, 37.64706vw, 537.8151px) - clamp(409.5462px, 38.39496vw, 547.7782px)); left: 62%; } .duo-b { top: 220px; left: 77%; }   /* right of the headline, feet clear of it */
  .duo-head__term { right: auto; bottom: auto; left: var(--margin); top: 64px; }
}
@media (min-width: 761px) and (max-width: 1279px) { .duo-head .figure.duo-a, .duo-head .figure.duo-b { margin-top: 140px; } }
@media (max-width: 760px) { .duo-head .duo-a, .duo-head .duo-b { margin-top: 120px; } }

/* Domin logo: Big Shoulders 900 with cut-corner D and O (assets/logo/domin.svg) */
.logo { display: block; width: auto; height: 0.8em; }   /* 0.8em = the font's cap height, so it sits where the text did */

/* Founders: Codex cutouts with the cream outline baked in. Sized by height so both stand equally tall.
   --duo-h is the one size knob, shared by About and Home. */
:root { --duo-h: min(640px, 43vw); }   /* shrinks with the vw headline so the pair never covers it */
@media (max-width: 1279px) { :root { --duo-h: 500px; } }
@media (max-width: 760px) { :root { --duo-h: 330px; } }
@media (max-width: 360px) { :root { --duo-h: 290px; } }
.duo-head .figure.duo-a, .duo-head .figure.duo-b, .hero .figure.home-duo { width: auto; }
.duo-head .figure img, .home-duo img { height: var(--duo-h); width: auto; }
.duo-fork__text { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; padding: 0; }

/* About ≥1280: the pair stands right of the headline, anchored to the right edge */
@media (min-width: 1280px) {
  .duo-head .figure.duo-a, .duo-head .figure.duo-b { top: 150px; left: auto; }
  .duo-head .figure.duo-b { right: calc(var(--margin) + 3vw); }
  .duo-head .figure.duo-a { right: calc(var(--margin) + 3vw + var(--duo-h) * 0.31 + 40px); }
}

/* Home: both of us in place of the stand-in, side by side, same fork note as About */
.home-duo { display: flex; align-items: flex-end; gap: 36px; }
@media (min-width: 1280px) {
  .hero .figure.home-duo { right: auto; left: calc(var(--margin) + 3.94 * min(11.7vw, 168px) - 44px); top: 106px; gap: 46px; }   /* partner's head stays at 150px */
  .home-duo img:first-child { margin-bottom: 44px; }   /* Vojta stands higher, legs above the end of MAGAZINE; his arrow gets shorter */
  .hero__term { top: auto; bottom: 150px; right: var(--margin); width: min(300px, 20vw); }   /* bottom right, lifted a little */
}
@media (max-width: 760px) { .hero .figure.home-duo { margin-top: 130px; align-self: center; } }   /* room for the note above the heads */

/* About: the dog is the period after "questions". Sized in em, sits on the baseline at every breakpoint */
.dog-dot { display: inline-block; height: 0.5em; width: auto; margin-left: 0.03em; vertical-align: baseline; user-select: none; pointer-events: none; }
.duo-head .duo-head__title { z-index: auto; }   /* no stacking context, so the dog alone can sit in front of the portraits */
.dog-dot { position: relative; z-index: 6; }

/* Stories: no portraits yet, the image slots stay as empty space */

/* Take-home sheets: width set by main.js from how much is written on them */
.takehome-sec .mini-sheet .sheet__page { min-height: 0; }
.takehome-sec .mini-sheet .sheet__page { padding-bottom: 38px; } /* the last line clears the folded corner */
@media (min-width: 761px) {
  .takehome-sec .takehome--two { grid-template-columns: repeat(2, max-content); justify-content: space-between; }
}


/* Margin notes only where they fit beside the column; below 1101 they go */
@media (max-width: 1100px) { .mnote { display: none; } }
@media (max-width: 760px) { .post__body p + aside + p { margin-top: 32px; } }   /* hidden note: same gap as any two paragraphs */

/* =========================================================================
   SPACING SYSTEM: one rule set for every page (wins over the older rules above)
   --gap-sec   end of one section → start of the next, and → the Prague doodle
   --gap-blk   between blocks inside a section (text, terminal, doodle, list)
   --gap-head  a heading → its content
   Sections carry no bottom padding; the next one owns the whole gap on top.
   ========================================================================= */
:root { --gap-sec: 160px; --gap-blk: 48px; --gap-head: 24px; }
@media (max-width: 760px) { :root { --gap-sec: 72px; --gap-blk: 32px; } }

/* 1. Between sections (the doubled :nth-child only lifts specificity above the per-page rules) */
main > :nth-child(n):nth-child(n):nth-child(n) { padding-bottom: 0 !important; }
main > :nth-child(n+2):nth-child(n+2):nth-child(n+2) { padding-top: var(--gap-sec) !important; }
@media (min-width: 1280px) { main > :is(.hero, .duo-head) + :nth-child(n):nth-child(n):nth-child(n) { padding-top: calc(var(--gap-sec) - 40px) !important; } }   /* the desktop collage already ends 40px under its headline */
.footer > .wrap.footer__screen { min-height: 0; justify-content: flex-start; padding-top: var(--gap-sec); }

/* page head → page content, where both live in one section */
.st-page, .guest-page { row-gap: var(--gap-sec); }

/* 2. Blocks inside a section */
.st-page__head { gap: var(--gap-head); }
.st-page__doodle, .st-page__head .term { margin-top: calc(var(--gap-blk) - var(--gap-head)); }
.cu-head { row-gap: var(--gap-blk); }
.cu-home--std .cu-home__term { margin-top: calc(var(--gap-blk) - var(--gutter)); }   /* the grid row-gap (gutter) is part of the gap */
section.wrap:has(> .kit) > p { padding-top: var(--gap-blk) !important; }

/* 3. Heading → content */
.sec-head { padding-bottom: var(--gap-head); }

/* 4. Newsletter: the corner marks sit under the doodle, the gap sits above the label */
.footer__screen { gap: 32px; }
.footer .getout { padding-top: calc(var(--gap-sec) - 32px); align-items: start; }
.getout::before, .getout::after { top: -32px; }

/* Be a guest: keep "One conversation." on one line; shrink to fit the column instead of breaking. */
.guest-page__intro { container-type: inline-size; }
.guest-page__h .nowrap { white-space: nowrap; }
.guest-page .guest-page__h { font-size: min(clamp(48px, 8.3vw, 120px), 13.2cqi); }
@media (max-width: 360px) { .guest-page .guest-page__h { font-size: min(42px, 13.2cqi); } }

/* Signature under posts: Vojta's hand-signature as ink on transparent. */
.post__sign-img { display: block; width: 200px; height: auto; margin-top: 4px; margin-left: -12px; }

/* Contact + Privacy: short reference pages, so headings sit closer than in long-form posts */
.post--plain .post__body .subhead { margin: var(--s-8) 0 var(--s-4); }
.post--plain .post__body .subhead:first-child { margin-top: 0; }
