/* Maybe Something Ventures - one stylesheet, hand-written. The design is the 18 Sep 2026 Claude Design
   handoff (design_intake/handoff-2026-09-18), rebuilt with classes so nothing fights an inline style.
   Geometry follows ГОСТ 12063-89 where a screen allows: 5mm squares (one cell = 28px here), a ruled
   side margin in red. Body text sits on the grid: line-height is one cell. */

:root {
  --paper: #F4F1E4;
  --ink: #1F2A44;
  --ink-body: #2A3550;
  --ink-soft: rgba(31, 42, 68, .72);
  --red: #B33A2B;
  --line: rgba(58, 90, 140, .13);
  --cell: 28px;
  --gutter: clamp(20px, 4vw, 64px);
  --margin-w: clamp(280px, 30vw, 440px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: 'Old Standard TT', Georgia, 'Times New Roman', serif;
  --type: 'TT2020 Style D', 'Courier New', Courier, monospace;
  --hand: 'Bad Script', 'Segoe Script', cursive;
  --fg: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); overflow-x: clip; }
img { max-width: 100%; background-color: transparent; color: transparent; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }

.sheet {
  position: relative; min-height: 100svh;
  background-color: var(--paper);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}
/* the ruled margin. Right by default: a Russian notebook rules it at the outer edge of the page. */
.rule { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(179, 58, 43, .5); pointer-events: none; z-index: 1;
  right: 14px; }
[data-margin="left"] .rule { right: auto; left: 14px; }
.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 7; mix-blend-mode: multiply; opacity: .16; }

/* typewriter labels: tracked capitals, the way a typist sets emphasis */
.t { font-family: var(--type); text-transform: uppercase; letter-spacing: .14em; font-size: 13.5px; line-height: var(--cell); color: var(--ink-soft); }
.t--red { color: var(--red); }
/* TT2020 is a worn hairline typewriter face, and at label sizes in soft ink it vanished on screen (owner, 1 Oct 2026: "this
   type is too light - cannot be read ... throughout the website"). So every typewriter setting gets full ink, a size up, and
   a thin stroke that thickens the hairlines the way a fresh ribbon would. */
.t:not(.t--red), .books span, .imprint { color: var(--ink); }
.t, .lang a, .lang span, .btn, .link, .stamp, .prose--legal h3, .record dt, .pipe .k, .books span,
.form label, .form legend, .status, .family a, .imprint { -webkit-text-stroke: .45px currentColor; paint-order: stroke fill; }
.t { font-size: 14.5px; }
.fig svg text { stroke: currentColor; stroke-width: .45px; }
.hand { font-family: var(--hand); color: var(--red); font-size: 22px; line-height: var(--cell); }

/* ---------- strip ---------- */
.strip { position: sticky; top: 0; z-index: 50; display: flex; align-items: stretch; justify-content: space-between; gap: 12px;
  background: var(--paper); border-bottom: 2px solid var(--ink);
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
.strip a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; }
.strip .t { color: var(--ink); font-size: 13px; }
.strip-right { display: flex; align-items: center; gap: 18px; }
/* the one thing a reader came to do, reachable from anywhere on a long page (owner asked what else the bar needs, 1 Oct 2026) */
/* a jump to any entry lands below the sticky strip, not under it */
html { scroll-padding-top: 64px; }
.strip-send { text-underline-offset: 5px; display: none !important; }
.strip a .t { white-space: nowrap; }
@media (min-width: 680px) { .strip-send { display: inline-flex !important; } }
.strip-send .t { text-decoration: underline; text-decoration-thickness: 1px; }
.strip-send:active { transform: scale(.97); }
.strip a { transition: transform .16s cubic-bezier(.22, 1, .36, 1); }
.strip-host { display: none; }
.lang { display: inline-flex; border: 2px solid var(--ink); }
.lang a, .lang span { min-height: 0; padding: 5px 9px; font-family: var(--type); font-size: 13px; letter-spacing: .1em; line-height: 18px; }
.lang [aria-current] { background: var(--ink); color: var(--paper); }
.lang a { transition: transform .16s var(--ease); }
.lang a:active { transform: scale(.94); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- sections ---------- */
.cover, .entry, .colophon { position: relative; padding: calc(var(--cell) * 2) calc(var(--gutter) + 16px) calc(var(--cell) * 2) var(--gutter); }
[data-margin="left"] .cover, [data-margin="left"] .entry, [data-margin="left"] .colophon { padding-left: calc(var(--gutter) + 16px); padding-right: var(--gutter); }
.cover { border-bottom: 2px solid var(--ink); }
.entry { border-bottom: 1px solid rgba(31, 42, 68, .35); }
.entry--last { border-bottom: 2px solid var(--ink); }
.entry-grid { display: block; }
.entry-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 20px; margin-bottom: var(--cell); }
.entry-head .t--red { font-size: 14.5px; }

h1, h2, h3, p, figure { margin: 0; }
h1 { font-weight: 700; font-size: clamp(40px, 12.4vw, 84px); line-height: 1; letter-spacing: -.01em; hyphens: manual; }
h2 { font-weight: 700; font-size: clamp(29px, 7.4vw, 40px); line-height: 1.08; max-width: 24ch; margin-bottom: var(--cell); hyphens: auto; }
.prose p, .lead { font-size: 17.5px; line-height: var(--cell); color: var(--ink-body); hyphens: auto; }
.prose p + p { margin-top: var(--cell); }
.lead { margin-top: var(--cell); max-width: 58ch; }
.sub { font-style: italic; font-size: 17px; line-height: var(--cell); color: var(--ink-soft); margin-top: calc(var(--cell) * -1); margin-bottom: var(--cell); }

/* margin column: on a phone it drops under the text it comments on */
.margin { margin-top: var(--cell); padding-left: 16px; border-left: 1px dashed rgba(179, 58, 43, .55); }
.note { display: inline-block; transform: rotate(-1.2deg); transform-origin: left center; }
.margin .t { display: block; margin-top: 8px; font-size: 13px; }
.plate { display: block; mix-blend-mode: multiply; filter: sepia(.35) hue-rotate(185deg) saturate(.7) contrast(1.05); opacity: .9; height: auto; }
.fig { margin-top: var(--cell); }
.fig .plate { width: min(100%, 260px); }
.fig figcaption { margin-top: 6px; font-size: 12px; }
.fig svg { display: block; width: min(100%, 300px); height: auto; color: var(--ink); opacity: .85; }
.fig svg text { font-family: var(--type); font-size: 13px; letter-spacing: .12em; fill: currentColor; }

/* ---------- cover ---------- */
.cover-kicker { max-width: 60ch; margin-bottom: var(--cell); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: calc(var(--cell) * 1.5); }
.btn { display: inline-block; font-family: var(--type); font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: 15px 26px; min-height: 48px; border: 2px solid var(--red); background: var(--red); color: var(--paper); cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn:active { transform: translate(0, 0) scale(.98); box-shadow: none; }
.btn[disabled] { opacity: .55; cursor: progress; }
.link { font-family: var(--type); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; text-underline-offset: 4px; padding: 14px 4px; display: inline-block; }
.link:active { transform: scale(.97); }
.stamp { display: inline-block; margin-top: calc(var(--cell) * 1.5); transform: rotate(-4deg); border: 3px double var(--red); color: var(--red);
  font-family: var(--type); font-size: 12.5px; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; padding: 9px 15px; opacity: .85; }
.cover .hand { display: block; margin-top: var(--cell); font-size: 25px; }
.cover .fig { display: none; }

/* ---------- legal ---------- */
.h1--small { font-size: clamp(34px, 8vw, 56px); margin-top: 8px; }
.prose--legal { max-width: 66ch; }
.prose--legal section { margin-top: calc(var(--cell) * 2); }
.prose--legal h2 { font-size: 26px; line-height: var(--cell); margin-bottom: calc(var(--cell) / 2); }
.prose--legal h3 { font-family: var(--type); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); line-height: var(--cell); margin-top: var(--cell); }
.prose--legal p + p { margin-top: calc(var(--cell) / 2); }

/* ---------- record ---------- */
.record { border-bottom: 1px solid rgba(31, 42, 68, .25); }
.record > div { display: grid; grid-template-columns: 1fr; gap: 0 28px; padding: calc(var(--cell) / 2) 0; border-top: 1px solid rgba(31, 42, 68, .25); }
.record dt { font-family: var(--type); font-size: 16px; line-height: var(--cell); color: var(--red); }
.record .who { font-weight: 700; font-size: 20px; line-height: var(--cell); }
.record dd { margin: 0; font-size: 17px; line-height: var(--cell); color: var(--ink-body); }

/* ---------- cards ---------- */
.pipe { display: grid; gap: 12px; margin-top: var(--cell); }
.pipe > div { border: 1px solid rgba(31, 42, 68, .35); background: rgba(244, 241, 228, .7); padding: 13px 16px; }
.pipe .k { font-family: var(--type); font-size: 12.5px; color: var(--red); display: block; line-height: var(--cell); }
.pipe .v { font-size: 16.5px; line-height: 1.4; color: var(--ink-body); }
.method { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.method article { border: 2px solid var(--ink); background: rgba(244, 241, 228, .75); padding: 20px; display: flex; flex-direction: column; gap: 8px; min-height: 196px; }
.method h3 { font-size: 24px; line-height: 1.08; }
.method p { font-size: 16.5px; line-height: 1.45; color: var(--ink-body); margin-top: auto; }
.books { border: 2px solid var(--ink); background: rgba(244, 241, 228, .8); padding: 20px; }
.books-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.books-head .plate { width: 80px; flex: none; }
.books li { list-style: none; padding: 11px 0; border-top: 1px solid rgba(31, 42, 68, .25); }
.books ul { margin: 0; padding: 0; }
.books b { display: block; font-size: 18px; line-height: 1.18; }
.books span { font-family: var(--type); font-size: 13px; color: var(--ink-soft); }
.books .hand { display: block; margin-top: 12px; }

/* ---------- form ---------- */
.form { margin-top: var(--cell); max-width: 640px; display: grid; gap: var(--cell); }
.form label, .form legend { display: block; font-family: var(--type); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); line-height: var(--cell); padding: 0; }
.form textarea, .form input[type="text"], .form input[type="email"] { width: 100%; font: inherit; font-size: 17.5px; line-height: var(--cell); color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 0 2px; min-height: calc(var(--cell) * 2 - 8px); }
.form textarea { min-height: calc(var(--cell) * 4); resize: vertical;
  background-image: linear-gradient(transparent calc(var(--cell) - 1px), rgba(31, 42, 68, .3) 1px); background-size: 100% var(--cell); border-bottom: 0; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form .radio, .form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; line-height: var(--cell); color: var(--ink-body); font-family: var(--serif); text-transform: none; letter-spacing: 0; min-height: 44px; padding-top: 8px; }
.radio input, .check input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--red); flex: none; }
.two { display: grid; gap: var(--cell); }
.hp { position: absolute; left: -9999px; }
.status { font-family: var(--type); font-size: 13px; letter-spacing: .06em; line-height: var(--cell); min-height: var(--cell); color: var(--ink); }
.status[data-state="sent"] { color: var(--red); }
.status[data-state="error"] { color: var(--red); }

/* ---------- colophon ---------- */
.colophon { padding-bottom: calc(var(--cell) * 2 + env(safe-area-inset-bottom)); }
.family { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: var(--cell); }
.family a { font-family: var(--type); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; text-underline-offset: 4px; padding: 10px 0; display: inline-block; }
.imprint { font-family: var(--type); font-size: 13px; letter-spacing: .05em; line-height: 1.75; color: var(--ink-soft); max-width: 86ch; }
.imprint + .imprint { margin-top: 14px; }
.colophon .hand { display: block; margin: var(--cell) 0; }
.credit-row { margin-top: var(--cell); }

/* ---------- held: open questions. Never public - the build throws if the hold lifts with one open ---------- */
.open { position: relative; z-index: 8; margin: 0; padding: 18px var(--gutter); background: #FFF6C9; border-bottom: 2px solid var(--ink); font: 14px/1.5 -apple-system, 'Segoe UI', sans-serif; color: #222; }
.open summary { cursor: pointer; font-weight: 600; }
.open li { margin: 6px 0; max-width: 100ch; }
.open button { font: inherit; padding: 6px 12px; margin-right: 6px; border: 1.5px solid #222; background: #fff; cursor: pointer; }
.open button[aria-pressed="true"] { background: #222; color: #fff; }

/* ---------- from 900px: the margin is a column, and notes live in it ---------- */
@media (min-width: 900px) {
  .strip-host { display: inline-flex; align-items: center; gap: 10px; }
  .rule { right: calc(var(--gutter) * 2 + var(--margin-w)); }
  [data-margin="left"] .rule { left: clamp(48px, 7vw, 110px); }
  .cover, .entry, .colophon { padding: calc(var(--cell) * 3) var(--gutter); }
  [data-margin="left"] .cover, [data-margin="left"] .entry, [data-margin="left"] .colophon { padding-left: clamp(72px, 10vw, 150px); }
  .entry-grid, .cover-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--margin-w); column-gap: calc(var(--gutter) * 2); align-items: start; }
  [data-margin="left"] .entry-grid, [data-margin="left"] .cover-grid { column-gap: var(--gutter); }
  h1 { font-size: clamp(72px, 8.4vw, 128px); line-height: .95; }
  h2 { font-size: clamp(36px, 3.7vw, 52px); line-height: 56px; hyphens: manual; }
  .prose p, .lead { font-size: 19px; }
  .lead { font-size: clamp(19px, 1.5vw, 22px); }
  .margin { margin-top: 0; padding-left: 0; border-left: 0; }
  [data-margin="left"] .margin--boxed { padding: 18px 20px; border: 1px dashed rgba(179, 58, 43, .6); }
  .cover .margin { display: flex; flex-direction: column; align-items: flex-start; }
  .cover .fig { display: block; }
  .cover .fig .plate { width: min(100%, 300px); }
  .stamp { margin-top: 0; transform: rotate(6deg); }
  .record > div { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.5fr); align-items: baseline; }
  .two { grid-template-columns: 1fr 1fr; }
  .hand { font-size: 23px; }
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 0 rgba(31, 42, 68, .35); }
  .btn--ghost:hover { box-shadow: 5px 5px 0 0 rgba(179, 58, 43, .4); }
  .btn:active { transform: translate(0, 0); box-shadow: none; }
  .method article { transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
  .method article:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 0 rgba(179, 58, 43, .4); }
}
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  .family a, .link { min-height: 44px; }
  .lang a, .lang span { padding: 13px 12px; }
}

/* ================= MOTION - a notebook being kept, live (owner, 1 Oct 2026: "lively animation throughout").
   Thesis: things are set down on paper as the reader arrives, once, and then stay put. Reading text never moves and the
   headline is never hidden. Focal moments: the cover being laid out on load, and the record's years typed in row by row.
   Everything below the fold is held back ONLY by app.js (data-m + .m-wait), so without JS nothing is hidden. A clip-path end state is always a real inset(), never `none`: none cannot be
   interpolated, so the type-in snapped (measured in a headless run, 1 Oct). Durations:
   presses 160ms, arrivals 400-800ms with a strong ease-out, exits none. ================= */
:root { --out: cubic-bezier(.23, 1, .32, 1); --press: cubic-bezier(.2, .9, .3, 1); }

/* --- the cover, once, on load. CSS only, ending visible, so it needs no script --- */
@media (prefers-reduced-motion: no-preference) {
  .rule { transform-origin: top; animation: rule-down 1.4s var(--out) .1s backwards; }
  .cover-kicker { animation: arrive .6s var(--out) .05s backwards; }
  .cover .lead { animation: arrive .7s var(--out) .25s backwards; }
  .cover .actions { animation: arrive .7s var(--out) .4s backwards; }
  .cover .fig .plate { animation: paste .9s var(--out) .35s backwards, orbit 9s ease-in-out 1.3s infinite; }
  .cover .fig .plate[data-idle] { animation-play-state: running, paused; }
  .cover .fig figcaption { animation: arrive .6s var(--out) .8s backwards; }
  .stamp { animation: stamp .42s var(--press) 1s backwards; }
  .cover .hand { animation: write 1.1s cubic-bezier(.3, .1, .3, 1) 1.45s backwards; }
}
@keyframes rule-down { from { transform: scaleY(0); } }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } }
@keyframes paste { from { opacity: 0; transform: translateY(18px) rotate(-5deg) scale(.94); } }
/* a slow orbit: about 12px a second, which a reader sees without having to look for it */
@keyframes orbit { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(16px, -12px) rotate(2.5deg); }
  50% { transform: translate(28px, 2px) rotate(0); } 75% { transform: translate(12px, 12px) rotate(-2deg); } }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-1deg) scale(1.8); } 70% { opacity: 1; transform: rotate(var(--tilt, 6deg)) scale(.95); }
  100% { opacity: .85; transform: rotate(var(--tilt, 6deg)) scale(1); } }
@keyframes write { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% -5% -20% 0); } }
.stamp { --tilt: -4deg; }
@media (min-width: 900px) { .stamp { --tilt: 6deg; } }
.stamp--late { margin-top: var(--cell); --tilt: 3deg; transform: rotate(3deg); animation: none; }

/* specificity: .m-wait[data-m] outranks the hover rules (.method article, .pipe > div), so a stagger is not
   flattened to a 180ms hover transition on desktop */
/* --- arrivals below the fold: the held state, then .m-on lands it (transition-delay --d staggers siblings) --- */
.m-wait[data-m] { transition: opacity .55s var(--out) var(--d, 0ms), transform .7s var(--out) var(--d, 0ms), clip-path .7s var(--out) var(--d, 0ms); }
[data-m].m-wait:not(.m-on) { opacity: 0; }
.m-wait[data-m="type"] { transition: clip-path .5s steps(14, end) var(--d, 0ms), opacity .01s var(--d, 0ms); }
[data-m="type"].m-wait:not(.m-on) { clip-path: inset(0 100% 0 0); }
[data-m="type"].m-on { clip-path: inset(0 0 0 0); }
.entry-head .t + .t.m-wait[data-m="type"] { transition-delay: .45s; }
.m-wait[data-m="ink"] { transition: clip-path .85s cubic-bezier(.65, 0, .35, 1) .1s, opacity .3s .1s; }
[data-m="ink"].m-wait:not(.m-on) { clip-path: inset(-.2em 100% -.3em 0); opacity: .2; }
[data-m="ink"].m-on { clip-path: inset(-.2em -.2em -.3em 0); }
[data-m="plate"].m-wait:not(.m-on) { transform: translateY(18px) rotate(-4deg) scale(.95); }
[data-m="slide"].m-wait:not(.m-on) { transform: translateX(-16px); }
[data-m="rise"].m-wait:not(.m-on) { transform: translateY(10px); }
.m-wait[data-m="stamp"] { transition: opacity .3s var(--out) var(--d, 0ms), transform .45s var(--press) var(--d, 0ms); }
[data-m="stamp"].m-wait:not(.m-on) { transform: scale(1.08) rotate(-2deg); }
[data-m="press"].m-on { animation: stamp .45s var(--press) .15s backwards; }
[data-m="press"].m-wait:not(.m-on) { opacity: 0; }
.m-wait[data-m="write"] { transition: clip-path 1.1s cubic-bezier(.3, .1, .3, 1) .15s, opacity .01s .15s; }
[data-m="write"].m-wait:not(.m-on) { clip-path: inset(-20% 100% -20% 0); }
[data-m="write"].m-on { clip-path: inset(-20% -5% -20% 0); }
/* the record: each year types itself in and its rule draws across, then the entry follows */
.record > div { position: relative; }
[data-m="row"] { border-top-color: transparent; }
[data-m="row"]::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: rgba(31, 42, 68, .25);
  transform-origin: left; transition: transform .8s var(--out) var(--d, 0ms); }
[data-m="row"].m-wait:not(.m-on)::before { transform: scaleX(0); }
[data-m="row"] dt { transition: clip-path .4s steps(7, end) calc(var(--d, 0ms) + .15s); }
[data-m="row"].m-wait:not(.m-on) dt { clip-path: inset(0 100% 0 0); }
[data-m="row"].m-on dt { clip-path: inset(0 -60% 0 0); }  /* the years overrun a 96px column («1920-30-е»); a 0 inset cut them mid-type */
[data-m="row"] .who, [data-m="row"] dd { transition: opacity .5s var(--out) calc(var(--d, 0ms) + .35s), transform .6s var(--out) calc(var(--d, 0ms) + .35s); }
[data-m="row"].m-wait:not(.m-on) .who, [data-m="row"].m-wait:not(.m-on) dd { opacity: 0; transform: translateY(8px); }

/* --- reading progress: a red pencil line along the strip, where the browser can drive it from the scroll itself --- */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .strip::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red);
      transform-origin: left; animation: read-progress linear both; animation-timeline: scroll(root); }
  }
}
@keyframes read-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- feedback --- */
.form textarea, .form input[type="text"], .form input[type="email"] { transition: border-color .16s ease, background-color .16s ease; }
.form textarea:focus, .form input:focus { outline: none; border-bottom-color: var(--red); }
.form textarea:focus { background-image: linear-gradient(transparent calc(var(--cell) - 1px), rgba(179, 58, 43, .45) 1px); }
.status[data-state="sent"] { display: inline-block; animation: stamp .45s var(--press) backwards; --tilt: -2deg; transform: rotate(-2deg); }
.status[data-state="error"] { animation: shake .32s var(--out); }
@keyframes shake { 20% { transform: translateX(-5px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-2px); } }
.family a, .link, .books li { transition: color .16s ease, transform .16s var(--out); }
.family a:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .family a:hover, .link:hover { color: var(--red); }
  .fig .plate, .books-head .plate { transition: transform .5s var(--out); }
  .fig:hover .plate, .books-head:hover .plate { transform: rotate(-1.5deg) scale(1.03); }
  .pipe > div { transition: transform .18s var(--out), box-shadow .18s var(--out); }
  .pipe > div:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 rgba(31, 42, 68, .2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  /* nothing travels: the same arrivals, as plain fades */
  [data-m].m-wait:not(.m-on), [data-m="row"].m-wait:not(.m-on) .who, [data-m="row"].m-wait:not(.m-on) dd { transform: none !important; clip-path: none !important; }
  [data-m="type"].m-wait:not(.m-on), [data-m="ink"].m-wait:not(.m-on), [data-m="write"].m-wait:not(.m-on) { opacity: 0; }
  [data-m], [data-m] * { transition-property: opacity !important; transition-duration: .4s !important; }
  [data-m="row"]::before { transform: none !important; }
  [data-m="press"].m-on { animation: none; }
  .stamp { transform: rotate(var(--tilt, 6deg)); }
  .status[data-state] { animation: none; }
  .btn, .lang a, .method article, .fig .plate { transition: none; }
}
@media print { .strip, .open, .grain { display: none; } }
