/* The two faces, served from the site itself (perf pass st-7e2d, 2026-11-18). They were linked from Google Fonts and
   Fontshare, whose stylesheets held up the first paint: two more hosts to reach and two stylesheets to wait for before any
   text was set (about 1.3 s on a slow phone connection, measured with Lighthouse). The files are the ones those services
   served, unchanged (src/fonts/README.md says where each came from), declared as they declared them, so every glyph,
   weight and fallback stays as it was. Vite gives each a hashed name under _astro/, cached for good. */

/* Fragment Mono, 400, in the three subsets Google Fonts serves (a browser loads only the subsets a page's text uses). */
@font-face {
  font-family: 'Fragment Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('data:font/woff2;base64,d09GMgABAAAAAAOEAA4AAAAABvQAAAMxAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbHhwoBmAAXBEICoJggjALFAABNgIkAyIEIAWEbgddG7YFCK4KbGPRaMPxLa4G7ZzriS8KmRZVBBHZ9V/dsz69DwGRI0C5rf1x7fe+av3IEvgZpjo727HboSVSNWRKI3SQCbfIMsnsIPD0oNzufwN/zjnhpDtxM6AGJrIEuxCjdT6tMEpwLOCAAgpsLhw/dIOm4WNk+NZOiyzU6zq6JH3SL7OHI0AUAFAEwSAIEJBRk1jNxfV9yGIBhAAQICC3NnFpb/1ulA9lAL3e0v6x2digU7UtAA2wQDqDlfKARmzfqEmwABdQ0oPabAXgIFm71WwPA7NJ/KzE5gFoVPcAWWUBBQyQUgLBcySpC4jjoThkNeOHQ6JZt4aAHxE+dVAv1ciD5sQwNxckRAIAH4DkAA9oBhgGyAhICQBFwyTwyu+yLM+kTmtFE1E71rdkR2Ot8y3zXQqdSKH9WWmNTLweTL2aNbhxIzLtGhMyRoiTILqYCdci027kiKy+ejWYel0mLksTDDgqtFxnxwzyNSf57j27V6ycNHkSbypd/GS/s+vdR/1YR7rVgcZPyVCoTI3Zseqb4yWbJlq93pKLB3LSdqVVdauuVf1jSY6KzReXF3ems02zFVtTo4Z4c89qlTsvQrLJ1fuw5rHyTgW32t5eJo6ZWtvTM9NdEM9NDHBxw9tAES+UWBSAzEAbJubhsmkIIHqp7hkvuiQqfvMS5iXAg3HbPuDs7cl/1fz/Q0azCXBQAAQCF7W/BH/IOhbD0/5w3JNbAPiVJiA2qxDAZ4gMswiQPQrSkntLIJYPnJSqDBXSJzeqxCUtaqjoH7XI7xe1aekSdchr8F8fpzSgL0UJhEbpdKE7EhdQQpoQ59IIEqXbsmjdIukG5cF8ygbBJ/TahVER1w3pECaFOMGHmDQGk2kMoijEjYgiMJxPQTo8MmmGafpphvQacG/ArU4PAioUyHw0PkcWrBi7wEydnq6aIwReSBzFlOMtBosF2cdgqAV7vZ9/myTYsDsKMiOiMIIUQjqi0iguzonc0twRPLonGAdeid7wURKuI24AT+8Ux9ANpzhAuIMP5PQnihEjltjiONVuJX7EmVE+N4pWM3CnVbR6v9/tLlL4xwtmwgpqiaKlAQAA') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Fragment Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/_astro/fragment-mono-latin-ext.BRa7X_X9.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: 'Fragment Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/_astro/fragment-mono-latin.DI4ZVuWr.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;
}

/* Switzer, the four weights the site uses. */
@font-face { font-family: 'Switzer'; font-style: normal; font-weight: 300; font-display: swap; src: url('/_astro/switzer-300.CCdVugut.woff2') format('woff2'); }
@font-face { font-family: 'Switzer'; font-style: normal; font-weight: 400; font-display: swap; src: url('/_astro/switzer-400.BxEtgLLb.woff2') format('woff2'); }
@font-face { font-family: 'Switzer'; font-style: normal; font-weight: 500; font-display: swap; src: url('/_astro/switzer-500.A29GCmfN.woff2') format('woff2'); }
@font-face { font-family: 'Switzer'; font-style: normal; font-weight: 600; font-display: swap; src: url('/_astro/switzer-600.DSnGZNn0.woff2') format('woff2'); }
/* Structure both worlds share: the layers, the document's windows, and the room's states. How anything looks
   belongs to the world's own stylesheet. The page itself never scrolls; windows do. */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #0b0806; }
body { -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }

/* Layers, bottom to top: poster, live room, AR, veil, centrepiece, windows, HUD, arrival. */
.poster { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: opacity var(--dur-entrance, 800ms) var(--ease-fade, ease-out); }
.scene { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 1; cursor: grab; touch-action: none; opacity: 0; transition: opacity var(--dur-entrance, 800ms) var(--ease-fade, ease-out); }
.is-live .scene { opacity: 1; }
.is-live .poster { opacity: 0; }
.scene.is-looking { cursor: grabbing; }
.ar { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.ar svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ar a { pointer-events: auto; }
.veil { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.centre { position: fixed; z-index: 4; left: 0; top: 0; transform: translate(var(--pin-x, 58vw), var(--pin-y, 22vh)); }
.centre.is-home { transform: none; left: var(--home-left, 24px); top: auto; bottom: var(--home-bottom, 96px); }
.window { position: fixed; z-index: 5; overflow: auto; overscroll-behavior: contain; }
.window--home { position: static; overflow: visible; }
.window[hidden] { display: none; }
.window h1:focus { outline: none; box-shadow: none; }
.hud { position: fixed; z-index: 6; margin: 0; }
.hud-nav { inset: 0; pointer-events: none; }
.hud-nav > * { pointer-events: auto; position: absolute; }
.wordmark-logo { display: none; }
.boot { position: fixed; inset: 0; z-index: 8; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity var(--dur-entrance, 800ms) var(--ease-fade, ease-out), visibility 0s linear var(--dur-entrance, 800ms); }
.is-booting .boot { opacity: 1; visibility: visible; transition: none; }
/* On a phone off home the room waits for the first touch (lib/room-preloads.js, ROOM_START); its boot log waits with it. */
.is-booting.is-room-held .boot { opacity: 0; visibility: hidden; }

.is-plate :is(.hud, .ar, .veil, .window, .centre, .boot, .skip, .tutorial) { display: none !important; }
/* The first visit (arrival.js): the bright green and the loading bar until the room is in; then the green steps off
   and the interface loads over the room, its own entrance (sheet-frame.css) playing as it is shown. The bar is the
   2026-10-17 one: a spruce hairline pill 6px tall, filling from the left, about a fifth of a wide screen across.
   Before the script is in, `is-arrival-pending` (the head script in Site.astro) draws the same first state on the root's
   two pseudo-elements: the green, and the bar empty. The rules for how each looks are shared with the elements arrival.js
   makes, so the one takes over from the other with nothing moving. */
.arrival, .is-arrival-pending::before { position: fixed; inset: 0; z-index: 8; background: var(--signal, #cdf244); pointer-events: none; }
.arrival { display: grid; place-items: center; transition: opacity var(--dur-state, 200ms) var(--ease-fade, ease-out); }
.arrival.is-leaving { opacity: 0; }
.arrival-bar, .is-arrival-pending::after { width: min(21vw, 36vh); height: 6px; border: 1px solid var(--spruce, #22312a); overflow: hidden; box-sizing: border-box; }
.arrival-bar i { display: block; height: 100%; background: var(--spruce, #22312a); transform: scaleX(0); transform-origin: left; }
@media (orientation: portrait) { .arrival-bar, .is-arrival-pending::after { width: min(34vw, 36vh); } }
.is-arrival-pending::before, .is-arrival-pending::after { content: ''; }
.is-arrival-pending::after { position: fixed; inset: 0; z-index: 8; margin: auto; pointer-events: none; }
/* boot.js runs before the engine is in: its log must stay behind the pending green until arrival.js takes over. */
.is-arrival-pending .boot { display: none !important; }
.is-arriving :is(.poster, .boot, .frame, .hud, main, .story-tags, .story, .tutorial, .note) { display: none !important; }
/* ?swirl=life (branch swirl-life, client/dot-life.js): on home the dots are the loader. The head script in Site.astro
   marks the page before first paint. Until the dots have resolved into the room the interface is neither shown nor
   reachable, and the poster is fetched (for its colours) but not shown: the first paint is the aubergine ground, and
   from the bridge's first frame (lib/life-bridge.js, drawn by a worker) the dots are already moving. The GPU culture's
   canvas is shown at once under the bridge when it takes over, and the bridge fades out over it. ?swirl=grid (branch
   swirl-grid) paints its two opening dots in the first paint, as a layer the head script lays over this ground
   (lib/grid-opening.js), and its take-over is a cut in one frame: client/dot-grid.js hides the bridge with no fade. */
.is-life-pending :is(.skip, .boot, .frame, .hud, main, .centre, .ar, .story-tags, .story, .tutorial, .note) { display: none !important; }
.is-life-pending .poster { opacity: 0 !important; transition: none; }
.is-life-pending:not(.is-life-on) .scene { opacity: 0 !important; transition: none; }
.is-life-on .scene { opacity: 1; transition: none; }
.is-life-pending::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--aubergine, #2a1e3d); }
.life-bridge { display: none; }
.is-life-bridged .life-bridge { display: block; position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;
  transition: opacity 300ms linear; }
.life-bridge.is-gone { opacity: 0; }
/* Then the interface draws itself in over --life-ui (2 s; &ui= on the address), in the frame's own vocabulary: the
   hairlines draw round the frame (its first 45%), their corners and dots settle, the tabs settle in one after
   another (wordmark, navigation, the sticky link, the footer and the room's controls), and last the greeting note. */
.is-life-entering { --dur-entrance: calc(var(--life-ui) * 0.45); --dur-state: calc(var(--life-ui) * 0.25); }
.is-life-entering :is(.wordmark, .hud-nav nav, .sticky, .foot, .mode, .hint, .readout, .ar, .story-tags, .note) {
  animation: settle var(--dur-state) calc(var(--life-ui) * var(--life-at)) var(--ease-fade) both; }
.wordmark { --life-at: 0.4; }
.hud-nav nav { --life-at: 0.47; }
.sticky { --life-at: 0.54; }
.foot, .mode, .hint, .readout { --life-at: 0.6; }
.ar, .story-tags { --life-at: 0.68; }
.note { --life-at: 0.75; }
.skip { position: fixed; z-index: 9; left: 16px; top: -80px; padding: var(--sp-3) var(--sp-4); }
.skip:focus { top: 16px; }
.sr-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hint kbd { font: inherit; }
.mode { display: none; } /* only a world with a places mode shows its switch */

/* The archive's controls are real inputs, restyled by each world. */
.controls fieldset { border: 0; margin: 0; padding: 0; }
.controls label { position: relative; cursor: pointer; }
.controls input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.items { list-style: none; margin: 0; padding: 0; }
.items > li[hidden] { display: none; }
.items a { text-decoration: none; color: inherit; display: block; }
.who { list-style: none; margin: 0; padding: 0; }
/* The greeting's control travels with the phrase's last word and never wraps onto a line alone. */
.contact label { display: block; }
.contact input, .contact textarea { display: block; width: 100%; }

/* The touch tutorial's mechanics; each world draws the finger. */
.tutorial { position: fixed; inset: 0; z-index: 7; pointer-events: none; transition: opacity var(--dur-state, 200ms) var(--ease-fade, ease-out); }
.tutorial.is-done { opacity: 0; }
.finger { position: absolute; left: 50%; top: var(--tut-y, 46%); width: 54px; height: 54px; margin: -27px 0 0 -27px; opacity: 0; }
.tutorial-caption { position: absolute; left: 50%; top: calc(var(--tut-y, 46%) + 64px); transform: translateX(-50%); margin: 0; white-space: nowrap; }
.tutorial[data-step='look'] .finger--a { opacity: 1; animation: look 2.6s ease-in-out infinite; }
.tutorial[data-step='move'] .finger { opacity: 1; animation: pinch-a 2.6s ease-in-out infinite; }
.tutorial[data-step='move'] .finger--b { animation-name: pinch-b; }
.tutorial[data-step='open'] .finger--a { opacity: 1; animation: tap 2.6s ease-in-out infinite; }
@keyframes look { 0%, 12% { transform: translateX(-70px); } 55%, 70% { transform: translateX(70px); } 100% { transform: translateX(-70px); } }
@keyframes pinch-a { 0%, 15% { transform: translate(-14px, 14px); } 60%, 80% { transform: translate(-70px, 70px); } 100% { transform: translate(-14px, 14px); } }
@keyframes pinch-b { 0%, 15% { transform: translate(14px, -14px); } 60%, 80% { transform: translate(70px, -70px); } 100% { transform: translate(14px, -14px); } }
@keyframes tap { 0%, 30% { transform: scale(1); } 40% { transform: scale(0.72); } 52%, 100% { transform: scale(1); } }

@media (max-width: 734px) {
  .window { inset: auto 0 0 0 !important; width: auto !important; max-height: 72svh; }
  .hint, .readout { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .poster, .scene, .boot, .tutorial, .arrival { transition: none; }
  .tutorial .finger { animation: none !important; }
}
/* Sheet: the UI pass of brief 04, over the pattern world's room. This file is the glass sheet and what it holds:
   the type (mono-led, approved on sheet 12), the sections, the track, the one lime block, the steps. The frame
   and the fixed parts it houses are in sheet-frame.css; every value comes from brand/tokens.css. *//* studio ser/estar: the design system's tokens, the one source. The site (space/sheet.css) and the brand kit
   (brand/kit.html) both import this file; nothing restates a value. Plain custom properties, so they port to whatever
   M3 picks. The logo files are in assets/logo/, built by build-assets.mjs. */
:root {
  /* 1. The locked nine. No pure black: the darkest colour is ink. */
  --ink: #221f1a;
  --spruce: #22312a;
  --teal: #1e4b44;
  --aubergine: #2a1e3d;
  --sage: #6b6953;
  --signal: #cdf244;
  --faint: #f2fbd0;
  --paper: #f4efe4;
  --paper-2: #e6dfd0;

  /* 2. Pairing rules (Esteban, 2026-10-15, sheet 32). Text needs 4.5:1, an edge or icon 3:1. Ink, spruce, teal and
     aubergine are text on paper, paper-2, faint and signal; paper and paper-2 are text on ink, spruce, teal and
     aubergine. Sage is text only on paper, faint and tickets; wherever it would land on paper-2 or signal the label
     takes ink. Signal and faint are never text. */
  /* Paper's materials: translucent paper over the room, each step named for what it is. */
  --paper-glass: rgb(244 239 228 / 0.64);  /* glass sheets */
  --paper-hover: rgb(244 239 228 / 0.6);   /* a list row pointed at */
  --paper-ticket: rgb(244 239 228 / 0.88); /* tickets, mounts */
  --paper-tab: rgb(244 239 228 / 0.92);    /* frame tabs, the angles instrument */
  --paper-panel: rgb(244 239 228 / 0.94);  /* the panel card, the story card */
  /* Spruce's lines: three roles. The edge is every boundary that identifies a control or a cell, solid spruce so it
     holds 3:1 on every ground, glass included; quiet lines are decoration and never a boundary. */
  --edge: var(--spruce);
  --line-quiet: rgb(34 49 42 / 0.2);       /* dividers, a closed field, the scrollbar at rest */
  --perforation: rgb(34 49 42 / 0.5);      /* the ticket's 2px dotted perforation */

  /* 3. Type: mono-led (sheet 12). The system speaks in Fragment Mono, the long read is set in Switzer, both at 400.
     Switzer Bold (+25) is the logo's "studio" only, and ships outlined in the logo files. */
  --face-mono: 'Fragment Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --face-sans: 'Switzer', system-ui, sans-serif;
  --face-display: var(--face-mono);
  --face-read: var(--face-sans);
  --face-system: var(--face-mono);

  /* The type scale: a perfect fourth (x1.333) from a 16px body, six steps (Esteban, 2026-10-15, sheet 30). Every
     size is one of these; line height and tracking travel with the step. One weight, 400. */
  /* The display face's optical middle, as a height off the baseline: twice the point where a mixed-case name reads as centred, the mean of its
     cap-height centre and its x-height centre (Fragment Mono: cap 0.70em, x 0.52em, measured). A box this tall on the baseline has that
     point as its middle, so whatever is centred in it is centred on the name at any size (sheet-ticket.css). */
  --face-display-mid: 0.61em;
  --t-caption: 0.75rem;     --t-caption-lead: 1.35;                                  /* 12: labels, cells, numerals */
  --t-body: 1rem;           --t-body-lead: 1.6;     --t-body-tight: 1.25;            /* 16: reading; mono values tight */
  --t-title: 1.3125rem;     --t-title-lead: 1.3;    --t-title-track: -0.01em;        /* 21: section heads, ticket and story titles (Esteban, 2026-10-16) */
  --t-headline-s: 1.75rem;  --t-headline-s-lead: 1.15; --t-headline-s-track: -0.015em; /* 28: the phone's page heading */
  --t-headline: 2.375rem;   --t-headline-lead: 1.08; --t-headline-track: -0.025em;   /* 38: the open panel's title */
  --t-display: 3.1875rem;   --t-display-lead: 1.04; --t-display-track: -0.035em;     /* 51: the page heading */
  --t-caps-track: 0.06em;                                                             /* uppercase cell labels */

  /* The roles, each on a step: page heading, section heading, reading text, system label, the numeral in a circle. */
  --h1-size: var(--t-display); --h1-lead: var(--t-display-lead); --h1-weight: 400; --h1-track: var(--t-display-track);
  --h2-size: var(--t-title); --h2-lead: var(--t-title-lead); --h2-weight: 400; --h2-track: var(--t-title-track);
  --read-size: var(--t-body); --read-lead: var(--t-body-lead); --read-weight: 400;
  --sys-size: var(--t-caption); --sys-lead: 1.3;
  --num-size: var(--t-caption); --num-box: var(--size-ring);
  --measure: 35rem; /* about 75 characters a line in Switzer at the body step */

  /* 4. Spacing: a 4px grid, eight steps (Esteban, 2026-10-15, sheet 31). Every gap, padding and margin is a step;
     values under 4px are hairline and optical compensation (a 1px edge, a 2px nudge), never spacing. */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;

  /* The reading rhythm, on the steps: a paragraph, a step and a heading's own text sit 16 apart; a list follows its
     paragraph at 24; the page heading takes 48 below it; a section takes 64. */
  --gap-para: var(--sp-4);
  --gap-step: var(--sp-4);
  --gap-below-h2: var(--sp-4);
  --gap-list: var(--sp-5);
  --gap-below-h1: var(--sp-7);
  --gap-above-h2: var(--sp-8);

  /* 5. Sizes on 8px steps (sheet 31). The node is the one exception: a 6px dot, a mark rather than a box. A tab is 48,
     so a 32 control seated in it has 8 all round (Esteban, 2026-10-15). */
  --size-dot: 6px; --size-eyelet: 8px; --size-icon: 16px; --size-ring: 24px; --size-control: 32px; --size-tab: 48px; --size-tag: 48px;
  /* Lines and marks that are not boxes: the hairline, an icon's stroke, the story tag's ink edge, the logo in its tab. */
  --hairline: 1px;
  --icon-stroke: 1.2;
  --story-edge: 1.5px;
  --logo-tab-h: 24px;
  /* The focus ring: ink, standing off its control, with a paper halo so it holds on any ground. */
  --focus-ring: 2px solid var(--ink);
  --focus-offset: 3px;
  --focus-halo: 0 0 0 3px var(--paper);
  /* The ticket's perforation: a dotted rule in the perforation line. */
  --perforation-rule: 2px dotted var(--perforation);

  /* 6. Corners: square, every one (Esteban, 2026-11-19, over the ticket's rounded corners). The steps stay as names for
     the roles, so a rounded language can come back by changing these values alone: a nested corner is still computed,
     calc(var(--r-ticket) - var(--sp-3)), and clamps to square below zero. Nothing in the interface is a circle; only the
     room's own dots are round (lib/grid-opening.js). Before, from 26 down: sheet 26, ticket 22, lime 18, frame 17,
     cell 12, window 10, button 10, nav 8, tag 6. */
  --r-sheet: 0px;   /* glass sheets, the panel card */
  --r-ticket: 0px;  /* tickets, mounts, the story card */
  --r-lime: 0px;    /* the one lime block */
  --r-frame: 0px;   /* the frame's corner, where its hairlines meet */
  --r-cell: 0px;    /* frame tabs, cells, the open and send cells, a list row, a mount's picture */
  --r-window: 0px;  /* what sits inside a ticket: its picture window and its cells */
  --r-button: 0px;  /* Back, tools, filter labels, the story's close */
  --r-nav: 0px;     /* menu words, tooltips, the angles cells, story tags */
  --r-tag: 0px;     /* the Placeholder tag, keys, a list row's picture */

  /* 7. Motion (Esteban, 2026-10-16, sheet 33): four durations, one per job, each double the last; two curves. Feedback
     answers a hover, press or choice; state brings in a name or label; movement carries sheets, cards and tags; entrance
     is the frame drawing as the page loads. Anything that moves takes the quick-then-settle curve; colour and opacity
     fade evenly. The room's own motion (camera flights, the dots, the touch tutorial) sits outside this. */
  --dur-feedback: 100ms;
  --dur-state: 200ms;
  --dur-move: 400ms;
  --dur-entrance: 800ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fade: ease-out;

  /* 8. Breakpoints: apple.com's four bands, read off its stylesheets on 2026-10-15 (Esteban: Apple as the gold
     standard). Small to 734, medium 735 to 1068, large 1069 to 1440, extra large from 1441. Media queries cannot read
     custom properties, so every @media uses exactly these numbers. */
}

@media (max-width: 734px) {
  :root {
    /* On a phone the page heading steps down to headline-s, and the rhythm's two largest steps come down one. */
    --h1-size: var(--t-headline-s); --h1-lead: var(--t-headline-s-lead); --h1-track: var(--t-headline-s-track);
    --gap-above-h2: var(--sp-7);
    --gap-below-h1: var(--sp-6);
  }
}

/* 9. The sheet world's materials and frame. Glass: the room blurred behind paper at 64 per cent, which keeps ink
   above 4.5 to 1 even where the room is at its darkest. The frame's hairline is the pale lime alone. Glass never
   touches a hairline: the line stands off it by --gap, so it frames without weighing on it. */
:root {
  --glass-bg: var(--paper-glass);
  --glass-edge: rgb(244 239 228 / 0.72);
  --glass-blur: blur(22px) saturate(0.9);
  --tooth: 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.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  /* A very fine mist: low-contrast grain at half a pixel. It only roughens a soft edge; it never draws specks. */
  --mist: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.5 0 0 0 0.2'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23m)'/%3E%3C/svg%3E");
  --gap: var(--sp-1);
  --seat: calc(var(--frame-inset) + var(--gap) + 1px);
  --frame-inset: var(--sp-5);
  --tab-h: var(--size-tab);
  --sheet-side: calc(2 * var(--sp-7));
  --sheet-top: calc(var(--frame-inset) + var(--tab-h) + var(--sp-5)); /* 96: below the top tabs, one step clear */
  /* One box model, used at every level. A container is: its padding, the same on all four sides; then a rail,
     a narrow column that holds that container's line of the tree and nothing else; then a gap; then the text.
     The sheet is such a container (padding --inset, the trunk in its rail). Every section is one too: a plain
     section has no padding, the lime card has --block-pad; each has a rail for its anchor and, below it, the
     line its steps hang from. Nothing is ever drawn inside a padding. */
  --inset: var(--sp-7);
  --rail: var(--sp-5);
  --rail-gap: var(--sp-2);
  --block-pad: var(--sp-5);
  --track-x: calc(var(--inset) + var(--rail) / 2);
  --gutter: calc(var(--inset) + var(--rail) + var(--rail-gap)); /* where a section's box starts */
  --lead: calc(var(--rail) + var(--rail-gap));                  /* a section's rail and gap, before its text */
  --scrollbar: 10px; /* reserved always, so the right inset is the same whether or not the sheet scrolls */
  --pad-right: calc(var(--inset) - var(--scrollbar));
  --sheet-w: min(45rem, calc(100vw - var(--sheet-side) - var(--frame-inset) - var(--sp-5)));
}
@media (max-width: 1068px) {
  :root { --sheet-side: var(--sp-7); }
}
@media (max-width: 734px) {
  /* A phone's sheet runs edge to edge, so its one padding grows to a step clear of the screen's edge (Esteban, 2026-10-16). */
  :root { --frame-inset: var(--sp-2); --scrollbar: 0px; --inset: var(--sp-5); --rail: var(--sp-4); --rail-gap: var(--sp-2); --block-pad: var(--sp-3); }
  /* Under a finger every control is 48, over Apple's 44 point minimum, and the tab that seats one (the stub) is 64, so the
     control keeps 8 all round (Esteban, 2026-10-16). */
  :root { --size-control: var(--size-tag); --size-tab: var(--sp-8); }
}
/* The frame: the operating system loading over the room. Pale lime hairlines inset from the viewport's edge, joined
   by a curve at each corner, a small dot where lines meet, and a glass tab seated just inside each corner housing a fixed part: the wordmark and the
   navigation top left, "Get in touch" top right, the footer bottom right, the room's controls bottom left. When
   a sheet opens the frame gains a rail, and the sheet hangs from it. Everything that carries words sits on
   glass, so its contrast never depends on what the room shows behind it. */
.frame { position: fixed; inset: var(--frame-inset); z-index: 6; pointer-events: none; }
.line { position: absolute; background: var(--faint); }
.rail { left: 0; right: 0; height: 1px; }
/* The straight runs stop where the corners' curves take over. */
.line--t, .line--b { left: var(--r-frame); right: var(--r-frame); height: 1px; }
.line--l, .line--r { top: var(--r-frame); bottom: var(--r-frame); width: 1px; }
.line--t { top: 0; transform-origin: left; animation: draw-x var(--dur-entrance) var(--ease-out) both; }
.line--b { bottom: 0; transform-origin: right; animation: draw-x var(--dur-entrance) var(--ease-out) both; }
.line--l { left: 0; transform-origin: bottom; animation: draw-y var(--dur-entrance) var(--ease-out) both; }
.line--r { right: 0; transform-origin: top; animation: draw-y var(--dur-entrance) var(--ease-out) both; }
@keyframes draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
/* Each corner is a quarter of a circle in the same hairline, concentric with the tab seated in it. The lines sweep
   clockwise, and each curve settles in as the line before it arrives. */
.arc { position: absolute; box-sizing: border-box; width: var(--r-frame); height: var(--r-frame); border: 0 solid var(--faint);
  animation: settle var(--dur-state) calc(var(--dur-entrance) * 0.6) var(--ease-fade) both; }
.arc--tl { left: 0; top: 0; border-width: 1px 0 0 1px; border-top-left-radius: var(--r-frame); }
.arc--tr { right: 0; top: 0; border-width: 1px 1px 0 0; border-top-right-radius: var(--r-frame); }
.arc--br { right: 0; bottom: 0; border-width: 0 1px 1px 0; border-bottom-right-radius: var(--r-frame); }
.arc--bl { left: 0; bottom: 0; border-width: 0 0 1px 1px; border-bottom-left-radius: var(--r-frame); }

/* A dot, centred on the hairline it marks (the line's centre is half a pixel in). */
.node { position: absolute; width: var(--size-dot); height: var(--size-dot); margin: -2.5px; background: var(--faint);
  animation: settle var(--dur-state) calc(var(--dur-entrance) * 0.75) var(--ease-fade) both; }
@keyframes settle { from { opacity: 0; } to { opacity: 1; } }
/* On each corner's curve, at 45 degrees: the curve's centre line sits --in from both edges of the frame. */
.frame { --in: calc(var(--r-frame) - (var(--r-frame) - 0.5px) * 0.7071 - 0.5px); }
.node--tl { left: var(--in); top: var(--in); }
.node--tr { left: calc(100% - 1px - var(--in)); top: var(--in); }
.node--br { left: calc(100% - 1px - var(--in)); top: calc(100% - 1px - var(--in)); }
.node--bl { left: var(--in); top: calc(100% - 1px - var(--in)); }

/* The rail and its nodes: present only while a sheet is open. */
.rail, .node--rail-l, .node--rail-r, .node--sheet-l, .node--sheet-r, .node--item-l, .node--item-r { top: calc(var(--sheet-top) - var(--frame-inset) - var(--gap) - 1px); }
.rail { transform: scaleX(0); transform-origin: left; transition: transform var(--dur-move) var(--ease-out); }
.node--rail-l { left: 0; }
.node--rail-r { left: calc(100% - 1px); }
/* Where the sheet's hairline leaves the rail for its curve: one corner radius in from each side of the glass, since
   the hairline's curve is concentric with the glass's. */
.node--sheet-l { left: calc(var(--sheet-side) - var(--frame-inset) + var(--r-sheet) - 0.5px); }
.node--sheet-r { left: calc(var(--sheet-side) - var(--frame-inset) + var(--sheet-w) - var(--r-sheet) - 0.5px); }
/* An open item's sheet hangs from the rail beside the strip (sheet-item.css places it); it gets its own pair. */
.node--item-l { left: calc(var(--sheet-side) - var(--frame-inset) + var(--list-w) + var(--between) + var(--r-sheet) - 0.5px); }
.node--item-r { left: calc(var(--sheet-side) - var(--frame-inset) + var(--things-w) - var(--r-sheet) - 0.5px); }
.node[class*='rail-'], .node[class*='sheet-'], .node[class*='item-'] { animation: none; opacity: 0; transition: opacity var(--dur-state) var(--ease-fade); }
:root:not([data-route='home']) .rail { transform: scaleX(1); }
:root:not([data-route='home']) :is(.node[class*='rail-'], .node[class*='sheet-']) { opacity: 1; transition-delay: calc(var(--dur-move) * 0.6); }
@media (min-width: 1069px) { :root.has-item .node[class*='item-'] { opacity: 1; transition-delay: calc(var(--dur-move) * 0.6); } }

/* The tabs: each a small paper card with the cell's corners, seated in the frame's corners; the logo and the navigation
   meet edge to edge, one bar (Esteban, 2026-11-19). The boot log and the tutorial's caption keep the glass. */
.wordmark, .hud-nav nav, .sticky, .foot { border-radius: var(--r-cell); background: var(--paper-tab); }
.boot-log, .tutorial-caption {
  background: var(--tooth), var(--glass-bg); background-blend-mode: soft-light;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.wordmark, .hud-nav nav, .sticky, .foot, .boot-log, .tutorial-caption { color: var(--ink); font: 400 var(--sys-size) / var(--sys-lead) var(--face-system); }
.hud a { text-decoration: none; }
.hud a:hover { text-decoration: underline; }
.wordmark, .sticky, .foot { display: flex; align-items: center; height: var(--tab-h); padding: 0 var(--sp-4); }
/* The logo: his horizontal lockup in spruce, the interface's voice, on the tab's paper. */
.wordmark-logo { display: block; height: var(--logo-tab-h); width: auto; color: var(--spruce); }
.wordmark-text { display: none; }

.hud-nav { display: flex; align-items: flex-start; padding: var(--seat); }
.hud-nav > * { position: static; }
.hud-nav nav { margin-left: 0; }
.navlist { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0 var(--sp-1); }
/* In the navigation the page you are on is a filled cell, as a chosen filter is; the others are plain words that
   take a spray of the safety green when pointed at: an overspray, soft all round, densest under the word and
   drifting past the cell into the tab's paper, in the fine grain of the heading's band (Esteban, 2026-10-08). A
   flat ground could not hold: the tab is translucent and greys toward paper-2 over the dot matrix. The words say
   which page is current through aria-current too. */
.navlist a { position: relative; isolation: isolate; display: flex; align-items: center; height: var(--size-control); margin: calc((var(--tab-h) - var(--size-control)) / 2) 0; padding: 0 var(--sp-3); border-radius: var(--r-nav); transition: background-color var(--dur-feedback) var(--ease-fade), color var(--dur-feedback) var(--ease-fade); }
.navlist a:hover { text-decoration: none; }
.navlist a:not([aria-current])::before { content: ''; position: absolute; z-index: -1; inset: -3px -14px; background: var(--signal); opacity: 0; pointer-events: none; transition: opacity var(--dur-feedback) var(--ease-fade);
  -webkit-mask: var(--mist) 0 0 / 64px 64px, linear-gradient(transparent, rgb(0 0 0 / 0.5) 20%, #000 40%, #000 60%, rgb(0 0 0 / 0.5) 80%, transparent),
    linear-gradient(90deg, transparent, rgb(0 0 0 / 0.5) 14%, #000 28%, #000 72%, rgb(0 0 0 / 0.5) 86%, transparent);
  -webkit-mask-composite: source-in;
  mask: var(--mist) 0 0 / 64px 64px, linear-gradient(transparent, rgb(0 0 0 / 0.5) 20%, #000 40%, #000 60%, rgb(0 0 0 / 0.5) 80%, transparent),
    linear-gradient(90deg, transparent, rgb(0 0 0 / 0.5) 14%, #000 28%, #000 72%, rgb(0 0 0 / 0.5) 86%, transparent);
  mask-composite: intersect; }
/* The spray drifts no further than the tab: at either end of the list it stops at the tab's inner edge. */
.navlist li:first-child a::before { left: -4px; }
.navlist li:last-child a::before { right: -4px; }
.navlist a:hover::before { opacity: 1; }
.navlist a[aria-current] { background: var(--spruce); color: var(--paper); }
.navlist .n { display: none; }

.sticky { top: var(--seat); right: var(--seat); gap: var(--sp-3); text-decoration: none; }
.sticky:hover { text-decoration: underline; }
.sticky::after { content: ''; width: 11px; height: 11px; border: 1px solid var(--spruce);
  transition: background-color var(--dur-feedback) var(--ease-fade), transform var(--dur-feedback) var(--ease-out); }
.sticky:hover::after { background: var(--spruce); }
.sticky:active::after { transform: scale(0.8); }

.foot { right: var(--seat); bottom: var(--seat); gap: var(--sp-5); }
/* The footer folds into one square tab holding an "i"; pressed, its links unfold to the left of it. */
.foot-toggle { display: none; }
@media (min-width: 735px) {
  .foot { gap: 0; padding: 0; }
  .foot a { display: none; align-items: center; height: 100%; padding: 0 var(--sp-3); }
  .foot.is-open { padding-left: var(--sp-2); }
  .foot.is-open a { display: flex; }
  .foot-toggle { order: 1; display: grid; place-items: center; width: var(--tab-h); height: var(--tab-h); padding: 0; border: 0; background: none; color: var(--spruce); cursor: pointer; }
  .foot-toggle .ico { display: grid; place-items: center; width: var(--size-ring); height: var(--size-ring); border: 1px solid var(--spruce); transition: background-color var(--dur-feedback) var(--ease-fade), color var(--dur-feedback) var(--ease-fade); }
  .foot-toggle:hover .ico, .foot.is-open .foot-toggle .ico { background: var(--spruce); color: var(--paper); }
  /* The email and Privacy are for the visitor wandering the room; inside a page they step aside and the sheet takes
     the frame's foot (Esteban, 2026-10-16). Phones fold them into the stub. */
  :root:not([data-route='home']) .foot { display: none; }
}
/* The line on how to move is retired (Esteban, 2026-10-16): the welcome note on the art desk carries the ways to move. */
.hint { display: none; }
@media (max-width: 1068px) { .navlist a { padding: 0 var(--sp-2); } .wordmark, .sticky { padding: 0 var(--sp-3); } }

/* The arrival: the real load, listed on the bottom left tab while the frame draws. The bar is the frame's own
   bottom line filling with the green, the one live thing while the room loads. */
.boot-log { position: absolute; left: var(--seat); bottom: var(--seat); list-style: none; margin: 0; padding: var(--sp-3) var(--sp-4); min-width: 18rem; border-radius: var(--r-cell); }
.boot-log li { display: flex; justify-content: space-between; gap: var(--sp-5); padding: 2px 0; }
.boot-log li:not(.is-done) .boot-label { color: var(--spruce); }
.boot-bar { position: absolute; left: var(--frame-inset); right: var(--frame-inset); bottom: var(--frame-inset); height: 3px; margin-bottom: -1px; }
.boot-bar i { display: block; height: 100%; background: var(--signal); transform: scaleX(var(--overall, 0)); transform-origin: left; transition: transform var(--dur-state) var(--ease-out); }

.finger { border: 1px solid var(--paper); background: rgb(244 239 228 / 0.35); }
.tutorial-caption { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-nav); }
/* The touch tutorial teaches the room; it never sits over a sheet someone is reading. */
:root:not([data-route='home']) .tutorial { display: none; }
/* Without the room there is nothing to look around or touch: the tutorial and the story tags step aside. */
.is-still :is(.tutorial, .story-tags, .story) { display: none !important; }

@media (max-width: 734px) {
  :root { --foot-h: var(--tab-h); }
  /* A phone keeps the frame and its two top tabs. The navigation and the footer stack on the bottom line at
     rest and step aside while a sheet is open, since the sheet takes that edge. */
  .hud-nav nav { position: fixed; left: var(--seat); right: var(--seat); bottom: calc(var(--seat) + var(--foot-h) + 1px); margin: 0; }
  .navlist { flex-direction: column; padding: var(--sp-1) var(--sp-2); }
  /* A list here, not cells seated in a tab: rows keep their own 4px. */
  .navlist a { margin: var(--sp-1) 0; }
  .foot { left: var(--seat); display: grid; grid-template-columns: 1fr auto; gap: 0 var(--sp-4); height: var(--foot-h); padding: 0 var(--sp-4); }
  .foot a { display: flex; align-items: center; }
  .foot a:nth-child(even) { justify-content: flex-end; }
  :root:not([data-route='home']) :is(.hud-nav nav, .foot) { display: none; }
  .rail, .node[class*='rail-'], .node[class*='sheet-'], .node[class*='item-'] { display: none; }
  /* Pinning rule 7: on a small viewport the greeting goes home, above the navigation. */
  .centre, .centre.is-home { transform: none; left: var(--seat); right: var(--seat); top: auto; bottom: calc(var(--seat) + var(--foot-h) + 4 * var(--tab-h) + 26px); max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .line, .arc, .node { animation: none; }
  .rail, .node, .sticky::after, .boot-bar i, .foot-toggle .ico, .navlist a, .navlist a::before { transition: none; }
  /* The rail's dots carry their own fade at a higher weight; stilled here at the same weight. */
  .node[class*='rail-'], .node[class*='sheet-'], .node[class*='item-'] { transition: none; }
}

/* Work (the archive), as the glance panel: the gallery sheet (this file) and, to its right, one sheet that is the
   panel beside the gallery and then the open item (sheet-item.css). Both are the Sheet as built (sheet.css): the
   same glass, head and type, without the measure. The two share the frame's width: the gallery gives the panel a fixed
   column; when an item opens the gallery folds to a strip and the item takes the rest. Side by side, the two sheets
   share one hairline: each stands its gap off its glass, so the glasses sit two gaps and one line apart and the
   seam is drawn at the frame's weight (Esteban, 2026-10-16). */
:root { --panel-w: 22.5rem; --strip-w: 11rem;
  --things-w: calc(100vw - var(--sheet-side) - var(--frame-inset) - 24px);
  --between: calc(2 * var(--gap) + var(--hairline));
  --list-w: calc(var(--things-w) - var(--between) - var(--panel-w)); }
:root.has-item { --list-w: var(--strip-w); }
/* The frame's rail nodes follow the gallery sheet. The rail and its lines guide a page of reading; beside a gallery
   they only take width, so the archive's sheets keep the Sheet's one padding on all four sides and nothing else.
   The page is served at the archive's addresses with data-open='things' (Site.astro), so these rules hold before the router has
   run and names data-route; it takes data-open off when it does (app.js), or it would outlast the archive. */
:root[data-route='things'], :root[data-open='things'] { --sheet-w: var(--list-w); --rail: 0px; --rail-gap: 0px; }
/* The archive needs the width: its sheets start at the frame's seat, in line with the corner tabs, where the
   reading sheets stand further in. */
@media (min-width: 735px) { :root[data-route='things'], :root[data-open='things'] { --sheet-side: var(--seat); } }

/* Kept for assistive technology, off the screen. A window's h1 is placed and sized by sheet.css's `.window h1`, which outranks
   the bare class, so a hidden heading (home's, Home.astro) is named with its tag. */
.vh, .window h1.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* The head's controls: icon buttons in the sheet's hairline, at the cell's corner. The one that is on is filled. */
.sheet-head:has(.tools) { display: flex; align-items: center; justify-content: space-between; }
.tools, .switch { display: flex; }
.tools { gap: var(--sp-2); }
.tool { position: relative; display: grid; place-items: center; width: var(--size-control); height: var(--size-control); padding: 0; border: 1px solid var(--edge); border-radius: var(--r-button);
  background: none; color: var(--spruce); cursor: pointer; transition: background-color var(--dur-feedback) var(--ease-fade), color var(--dur-feedback) var(--ease-fade); }
.tool:hover { background: var(--paper-2); }
.tool[aria-pressed='true'] { background: var(--spruce); border-color: var(--spruce); color: var(--paper); }
.switch .tool:first-child { border-radius: var(--r-button) 0 0 var(--r-button); }
.switch .tool:last-child { margin-left: -1px; border-radius: 0 var(--r-button) var(--r-button) 0; }
.ico, .ico svg { display: block; }

/* The filters, in the open on one row under the heading. Each choice is a small cell, its icon then its word; chosen,
   it fills. What he did comes first, then, past a hairline, the two kinds. "Both" stays underneath, unseen: it is
   what neither kind chosen means. Real inputs underneath. */
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin: 0 0 var(--sp-5); }
.controls fieldset { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin: 0; padding: 0; border: 0; }
.controls .toggle { margin-left: var(--sp-2); padding-left: var(--sp-3); border-left: 1px solid var(--line-quiet); }
/* Once the kinds no longer fit beside what he did with their hairline, they take a row of their own, and the row
   break does the separating. */
.controls .toggle.is-wrapped { flex-basis: 100%; margin-left: 0; padding-left: 0; border-left: 0; }
.controls .toggle label:has(input[value='both']) { display: none; }
.controls legend { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.controls label { display: inline-flex; align-items: center; gap: var(--sp-2); height: var(--size-control); padding: 0 var(--sp-3) 0 var(--sp-2); border: 1px solid var(--edge); border-radius: var(--r-button);
  font: 400 var(--sys-size) / var(--sys-lead) var(--face-system); transition: background-color var(--dur-feedback) var(--ease-fade), color var(--dur-feedback) var(--ease-fade); }
.controls label:hover { background: var(--paper-2); }
.controls label:has(input:checked) { border-color: var(--spruce); background: var(--spruce); color: var(--paper); }
.controls label:has(input:focus-visible) { outline: var(--focus-ring); outline-offset: var(--focus-offset); box-shadow: var(--focus-halo); }
.controls .clear { min-height: var(--size-control); margin: 0 0 0 auto; padding: 0; border: 0; background: none; cursor: pointer;
  font: 400 var(--sys-size) / var(--sys-lead) var(--face-system); text-decoration: underline; text-underline-offset: 4px; }
.controls:not(.is-filtered) .clear { display: none; }
/* The filter named at the head of the strip beside an open item (sheet-things.js): a cell on the strip's scale,
   solid spruce edge, the words and a cross; pressed, it clears the filter. Only shown with an item open. */
.strip-filter { display: none; }
.has-item .window[data-route='/things'] .strip-filter:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  box-sizing: border-box; width: 100%; min-height: var(--size-control); margin: 0 0 var(--sp-2); padding: var(--sp-1) var(--sp-2) var(--sp-1) var(--sp-3);
  border: 1px solid var(--spruce); border-radius: var(--r-cell); background: var(--paper); color: var(--ink); cursor: pointer; text-align: left;
  font: 400 var(--t-caption) / var(--sys-lead) var(--face-system); transition: background-color var(--dur-feedback) var(--ease-fade); }
.strip-filter:hover { background: var(--paper-2); }
.strip-filter:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); box-shadow: var(--focus-halo); }
.strip-filter .ico { flex: none; display: grid; color: var(--spruce); }
/* The small print paragraph on the pages ({% count %}, markdoc.config.mjs), such as "Last updated". */
.count { margin-bottom: var(--sp-5); color: var(--spruce); font: 400 var(--sys-size) / var(--sys-lead) var(--face-system); }
.empty p { margin-bottom: var(--sp-4); }

/* The gallery, as a grid of tickets (sheet-ticket.css): as many across as fit, closer to each other than a ticket's name is to its
   picture (Esteban, 2026-11-12, sheet 42), so the name reads with its own card. Tickets differ in height, so they
   are packed: sheet-things.js deals them across the columns in order and gives each the rows it needs, and each
   one sits directly under the one above it. */
.sheet-body ul:is(.items, .plates) { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: var(--sp-4); align-items: start; list-style: none; margin: 0; padding: 0; }
/* Dense, so a ticket takes the first free rows in its own column however tall its neighbours are. */
.sheet-body ul.items.is-packed { grid-auto-rows: 1px; grid-auto-flow: row dense; row-gap: 0; }
.sheet-body ul.plates--pair { grid-template-columns: repeat(auto-fill, minmax(11rem, 15rem)); }
.sheet-body .plate { max-width: none; }
/* What he did, as rings: the discipline is the icon, every ring drawn alike (the part is not shown, Esteban 2026-11-18);
   work someone else did gets none. */
.ring { box-sizing: border-box; display: grid; place-items: center; flex: none; width: var(--ring, var(--size-ring)); height: var(--ring, var(--size-ring)); border: 1px solid var(--spruce); background: var(--spruce); color: var(--paper); }
/* Pointed at, an icon says what it is: a small spruce label, set from TIPS in data.js. It opens toward the
   middle of its sheet, so the sheet's edge never cuts it. */
.ring[data-tip] { position: relative; }
.ring[data-tip]:hover::after, .tool[data-tip]:is(:hover, :focus-visible)::before { content: attr(data-tip); position: absolute; z-index: 3; padding: var(--sp-1) var(--sp-2); border-radius: var(--r-nav); pointer-events: none;
  background: var(--spruce); color: var(--paper); font: 400 var(--sys-size) / var(--sys-lead) var(--face-system); white-space: nowrap;
  animation: arrive var(--dur-feedback) var(--dur-feedback) var(--ease-fade) both; }
/* The label exists only while it shows, so it never adds to a sheet's scroll width. */
.ring[data-tip]:hover::after { left: 0; bottom: calc(100% + 8px); }
.tool[data-tip]:is(:hover, :focus-visible)::before { right: 0; top: calc(100% + 8px); }
/* The rings end the name, so the last one sits by the card's right edge: the label opens back over the card. */
.name .ring[data-tip]:hover::after { left: auto; right: 0; }
/* The tally holds only the count for screen readers now: the key to the rings that held its right edge (sheet 42) went with
   ab5057b. The rule still keeps that edge and the space above the cards. */
.tally { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--sp-2) var(--sp-5); margin-bottom: var(--sp-5); }

/* The gallery, as a list: the same tickets laid flat, one row each. No card; the picture, then the kicker over the name. */
.is-list .sheet-body ul.items { grid-template-columns: 1fr; gap: 0; }
.is-list .items > .plate + .plate { border-top: 1px solid var(--line-quiet); }
.is-list .items > .plate > .ticket { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--sp-1) var(--sp-5); padding: var(--sp-3); border-radius: var(--r-cell); background: none; }
.is-list .items > .plate > .ticket:hover { background: var(--paper-hover); }
:root:not(.has-item) .is-list .items > .plate.is-glanced > .ticket { background: var(--faint); }
.is-list .ticket .pic { grid-row: span 2; align-self: center; aspect-ratio: 4 / 3; margin: 0; border-radius: var(--r-tag); }
.is-list .ticket :is(.kicker, .name) { grid-column: 2; margin: 0; }
.is-list .ticket .kicker { align-self: end; }
.is-list .ticket .name { align-self: start; }
/* With no kicker the name is the only line beside the picture: it takes both rows and centres on the thumbnail. */
.is-list .ticket .pic + .name { grid-row: span 2; align-self: center; }
.is-list .sheet-body .pic + .name { margin-top: 0; }
.is-list .sheet-body .name { font-size: var(--t-body); line-height: var(--t-body-tight); letter-spacing: 0; }

/* An item is open: the gallery folds to a strip of thumbnails in the lime card's box (one padding all round, no
   rail). The names stay for assistive technology as words, not headings (lib/archive-markup.js, sheet-things.js), and the archive's
   heading is not shown at all, though it still names the window: the item's h1 is the first heading, and the archive's heading is words
   there, not an h1 (lib/archive-markup.js archiveHeading), so it is named by its id, at a class's weight. The open plate sits on the lime. */
@media (min-width: 1069px) {
  .has-item .window[data-route='/things'] .sheet-scroll { padding: var(--block-pad) calc(var(--block-pad) - var(--scrollbar)) var(--block-pad) var(--block-pad); }
  .has-item .window[data-route='/things'] :is([id='h-things'], .sheet-head, .controls, .tally, .empty, .kicker, .name .rings) { display: none; }
  .has-item .window[data-route='/things'] .ticket .name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .has-item .window[data-route='/things'] .sheet-body ul.items { grid-template-columns: 1fr; gap: var(--sp-2); }
  .has-item .window[data-route='/things'] .items > .plate { border: 0; }
  .has-item .window[data-route='/things'] .items > .plate > .ticket { display: block; padding: var(--sp-1); border-radius: var(--r-cell); }
  .has-item .window[data-route='/things'] .ticket .pic { margin: 0; border-radius: calc(var(--r-cell) - var(--sp-1)); }
}

/* Under 1280 wide there is room for one sheet: no panel beside the gallery;
   an open item takes the gallery's place, and Back returns to it. */
@media (max-width: 1068px) {
  :root, :root.has-item { --list-w: var(--things-w); }
  :root:not(.has-item) main .window.window--item, .has-item main .window[data-route='/things'] { display: none; }
}
@media (max-width: 734px) {
  .is-list .items > .plate > .ticket { grid-template-columns: 4.5rem minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .tool, .controls label { transition: none; }
  .ring[data-tip]:hover::after, .tool[data-tip]:is(:hover, :focus-visible)::before { animation: none; }
}
/* The sheet to the right of the gallery (sheet-item.js): the glance panel, and the open item it grows into. */
main .window.window--item { left: calc(var(--sheet-side) + var(--list-w) + var(--between)); width: var(--panel-w); }
.has-item main .window.window--item { width: calc(var(--things-w) - var(--strip-w) - var(--between)); }
/* What the sheet holds arrives a beat after the sheet starts to move. */
.window--item .sheet-body { animation: arrive var(--dur-state) var(--dur-feedback) var(--ease-fade) both; }
@keyframes arrive { from { opacity: 0; } to { opacity: 1; } }

/* The panel is the card at its larger size (sheet 35, 2026-11-10): the same paper, picture, kicker and name as the tile
   it is showing, with a short description, a perforation, what he did written out in one line, and the way in as the last
   cell. The whole card, down to Open, fits a 1440 x 900 screen (Esteban, 2026-10-16). The glass sheet and its hairline give
   way to the card. */
main .window.window--bare { scrollbar-gutter: auto; }
main .window.window--bare::before { content: none; }
/* As the panel the card is the sheet's body, so it outweighs the body's own padding (sheet.css). */
.factsheet, .sheet-body.factsheet { display: flex; flex-direction: column; padding: var(--sp-3); border-radius: var(--r-sheet); background: var(--paper-panel); }
/* On the card the picture is a wider cut than on the tile, so the whole card, down to the way in, fits a laptop screen. */
.factsheet .pic { aspect-ratio: 16 / 9; margin: calc(-1 * var(--sp-3)) calc(-1 * var(--sp-3)) 0; border-radius: calc(var(--r-sheet) - var(--sp-3)); overflow: hidden; }
.factsheet .pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The least gap is 8 here: at 38 beside four rings the archive's longest word (Templates) needs the width to stand whole. */
.sheet-body.factsheet .name { gap: var(--sp-2); margin: var(--sp-1) 0 0 var(--sp-2); font: 400 var(--t-headline) / var(--t-headline-lead) var(--face-display); letter-spacing: var(--t-headline-track); }
.sheet-body.factsheet .pic + .name { margin-top: var(--sp-4); }
.factsheet .name .rings, .window.window--item h1 .rings { --ring: var(--size-ring); }
.window--item h1 .ring[data-tip]:hover::after { left: auto; right: 0; bottom: auto; top: calc(100% + 8px); }
/* The item's heading is the card's row at full width: the name at the left in a column of its own, the rings at the right edge of the
   item's grid, on the name's first line. The column is what wraps; the name inside it stays inline, so the band ends with its last word. */
.window.window--item h1 { display: flex; align-items: baseline; gap: var(--sp-3); width: auto; max-width: min(76rem, calc(100% - var(--lead))); }
.h-col { flex: 1 1 0; min-width: 0; overflow-wrap: break-word; }
.factsheet .tag { margin: var(--sp-3) var(--sp-2) 0; }
.factsheet .summary { margin: var(--sp-4) var(--sp-2) 0; color: var(--ink); font: 400 var(--t-body) / var(--t-body-lead) var(--face-read); }
.factsheet .perf { margin: var(--sp-4) calc(-1 * var(--sp-3)); border-top: var(--perforation-rule); }
/* On the larger sizes the did line wraps, so it takes the caption leading; the ticket's stays tight. */
.factsheet .did { margin: 0 var(--sp-2); line-height: var(--t-caption-lead); }
.open { display: flex; align-items: center; justify-content: space-between; margin: var(--sp-4) 0 0; padding: var(--sp-2) var(--sp-4); border: 1px solid var(--spruce); border-radius: var(--r-cell);
  background: var(--spruce); color: var(--paper); text-decoration: none; font: 400 var(--t-body) / var(--t-body-tight) var(--face-display); transition: background-color var(--dur-feedback) var(--ease-fade), border-color var(--dur-feedback) var(--ease-fade); }
.open:hover { background: var(--ink); border-color: var(--ink); }
/* With no did line the perforation's own space is the gap above Open. */
.perf + .open { margin-top: 0; }
.open .ico { transition: transform var(--dur-feedback) var(--ease-out); }
.open:hover .ico { transform: translateX(3px); }
.tag { width: fit-content; margin: 0; padding: 1px var(--sp-2); border: 1px solid var(--spruce); border-radius: var(--r-tag); color: var(--spruce);
  font: 400 var(--sys-size) / var(--t-caption-lead) var(--face-system); }

/* The item: the images in the centre, each whole on a paper mount with the ticket's corners; beside them the
   panel's card without its picture or way in, then the story. A lone image stays in view while the words scroll.
   Whatever the grid holds in view is held on one line, --held. */
/* The note under the heading (sheet-item.js): one line in the system face, the figure caption's size, before the grid. */
.window.window--item h1:has(+ .item-note) { margin-bottom: var(--sp-3); }
.item-note { margin: 0 0 var(--sp-6); max-width: 76rem; color: var(--spruce); font: 400 var(--sys-size) / var(--sys-lead) var(--face-system); }

.item-grid { --held: 80px; display: grid; grid-template-columns: minmax(0, 1fr) 22.5rem; gap: var(--sp-7); align-items: start; max-width: 76rem; }
/* The words come first in the page, for a phone (Esteban, 2026-11-19); from 735 wide the pictures stand first: the left column
   beside the words, or above them where the columns stack. */
.item-media { display: grid; gap: var(--sp-5); }
@media (min-width: 735px) { .item-media { order: -1; } }
/* On a phone the words end the same distance from the first picture as the pictures stand from each other (Esteban, 2026-11-19),
   12 since 2026-11-24 (his pick of four, "the gap between images can be reduced"): the column's last part keeps no margin of its own. */
@media (max-width: 734px) {
  .window--item .item-grid { gap: var(--sp-3); }
  .item-media { gap: var(--sp-3); }
  .window--item .item-text > :last-child { margin-bottom: 0; }
}
.item-media.is-single { position: sticky; top: var(--held); }
/* At two columns the words stay in view while the pictures scroll: the card, then the story and credits, held on the lone
   image's line, 48 off the pictures as built (Esteban, 2026-11-12, sheet 43). It is held inside the grid, so it stops
   where the grid ends and never runs over the related pairs below. Where the column is taller than the scroll box can show
   under that line (a short screen, a long story), it is capped there and scrolls inside itself, so every line can be
   reached before the pictures run out (sheet.css writes the box's height, --scroll-h). Under 560 tall that cap leaves the words no
   room, so nothing is held there and the column stands at its full height, as before. Stacked, at 1068 and under, nothing
   is held. */
@media (min-width: 1069px) and (min-height: 560px) {
  .item-text { position: sticky; top: var(--held); max-height: calc(var(--scroll-h) - var(--held) - var(--inset)); overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: var(--line-quiet) transparent; }
}
.shot { padding: var(--sp-3); border-radius: var(--r-ticket); background: var(--paper-ticket); }
.shot :is(img, video) { display: block; width: 100%; max-height: 72vh; object-fit: contain; border-radius: calc(var(--r-ticket) - var(--sp-3)); }
.gallery .shot { padding: var(--sp-2); }
.gallery .shot :is(img, video) { height: 100%; max-height: none; object-fit: cover; border-radius: calc(var(--r-ticket) - var(--sp-2)); }
.item-text > * + * { margin-top: var(--gap-para); }
.item-text .factsheet { margin-bottom: var(--sp-6); padding-top: var(--sp-1); }
.item-text .factsheet > :first-child { margin-top: var(--sp-3); }
.item-text h2 { margin-top: var(--sp-7); }
.figure { margin: 0; }
.figure figcaption { margin-top: var(--sp-3); color: var(--spruce); font: 400 var(--sys-size) / var(--sys-lead) var(--face-system); }
/* A gallery (sheet 36): lib/gallery-cell.js cuts the album, in its order, into rows that each fill the grid, so there are no holes and no
   photo moves. Each row's height is its pattern's k * column + b, from the table in that file, plus the mount's 16; the column is
   the gallery's, because a grid cannot measure itself in container units. */
.gallery { container-type: inline-size; }
.bento { --column: calc((100cqi - 5 * var(--sp-4)) / 6); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-4); }
.bento .d-2 { grid-column: span 2; }
.bento .d-3 { grid-column: span 3; }
.bento .d-4 { grid-column: span 4; }
.bento .d-6 { grid-column: span 6; }
.bento :is(.d-l4p2, .d-p2l4) { height: calc(var(--column) * 2.85 + 26px); }
.bento .d-p2p2p2 { height: calc(var(--column) * 2.778 + 16px); }
.bento .d-l3l3 { height: calc(var(--column) * 2.19 + 27.68px); }
.bento .d-p3p3 { height: calc(var(--column) * 4.167 + 38.22px); }
.bento .d-l6 { height: calc(var(--column) * 4.138 + 60.14px); }
.bento .d-p6 { height: calc(var(--column) * 6 + 80px); }
.quote { margin: 0; color: var(--spruce); font: var(--h2-weight) var(--h2-size) / var(--h2-lead) var(--face-display); letter-spacing: var(--h2-track); }
.who--credits { display: grid; list-style: none; margin: 0; padding: 0; }
.sheet-body .who--credits li { font: 400 var(--sys-size) / var(--t-caption-lead) var(--face-system); }
.sheet-body h2.related { margin-top: var(--gap-above-h2); }
.sheet-body .plates--pair .plate .name { font-size: var(--t-body); }

/* Under 1280 wide the item has the frame to itself. It keeps its two columns down to 1000, so the facts stay on
   the first screen beside the image; below that the columns stack: image, facts, story. */
@media (max-width: 1068px) {
  main .window.window--item, .has-item main .window.window--item { left: var(--sheet-side); width: var(--things-w); }
}
@media (max-width: 734px) {
  .window.window--item h1 .rings { --ring: var(--size-icon); }
}
/* Two columns on a phone, and beside the facts from 1069 to 1245, where the column is narrower than a phone's. */
@media (max-width: 734px), (min-width: 1069px) and (max-width: 1245px) {
  .bento { --column: calc((100cqi - var(--sp-4)) / 2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .m-1 { grid-column: span 1; }
  .bento .m-2 { grid-column: span 2; }
  .bento .m-l2 { height: calc(var(--column) * 1.46 + 16px); }
  .bento .m-p1p1 { height: calc(var(--column) * 1.389 - 6.22px); }
  .bento .m-p2 { height: calc(var(--column) * 2.778 + 16px); }
}
@media (max-width: 1068px) {
  .item-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .item-media.is-single { position: static; }
  .item-text { max-width: var(--measure); }
}
@media (prefers-reduced-motion: reduce) {
  .window--item .sheet-body { animation: none; }
  .open, .open .ico { transition: none; }
}
/* The card: how a piece of work stands in the archive. One paper card with large corners (Esteban's pick on sheet 18); title-led
   since his pick on sheet 35 (2026-11-10). The picture fills an inset window with corners of its own; under it where the work was
   made, small and sage, then the name at the left with small rings at the right of its row, and the card ends there. A card is as tall as what it holds: a
   one-line name takes one line. The panel and the factsheet are the same parts at larger sizes (sheet-item.css). */
.ticket { display: flex; flex-direction: column; padding: var(--sp-3); border-radius: var(--r-ticket); background: var(--paper-ticket); color: inherit; text-decoration: none;
  transition: background-color var(--dur-feedback) var(--ease-fade); }
.ticket:hover { background: var(--paper); }
/* The pale lime marks one ticket: the one the panel is showing, or the one that is open. */
:root:not(.has-item) .plate.is-glanced > .ticket, .items > .plate.is-open > .ticket { background: var(--faint); }

/* The picture bleeds to the card's top and sides, past its padding (Esteban, 2026-11-19, once the corners went square); the
   words keep the padding. Its shape is the picture's own, or 4:3 for one narrower than that (--pic, lib/archive-markup.js
   cardShape). The list's rows and the strip beside an open item keep theirs inset (sheet-things.css). */
.ticket .pic { aspect-ratio: var(--pic, 4 / 3); margin: calc(-1 * var(--sp-3)) calc(-1 * var(--sp-3)) 0; border-radius: var(--r-window); overflow: hidden; }
.ticket .pic img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Where it was made, one line over the name: employer then client, a dot between them. A narrow card breaks the line between the two,
   never inside one. */
.kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-1) var(--sp-2); margin: var(--sp-4) var(--sp-2) 0; color: var(--sage);
  font: 400 var(--t-caption) / var(--t-body-tight) var(--face-display); }
/* The icon stands in a box on the words' baseline, as tall as the face's optical middle, and is centred on that: centred on the words as
   they read, not on their line box. Its ink, not its box, starts where the name starts. */
.kicker-part { display: inline-flex; align-items: baseline; gap: var(--sp-2); white-space: nowrap; }
.kicker-part .ico { flex: none; width: var(--size-icon); height: var(--face-display-mid); margin-left: calc(var(--ink-left) * -1 * var(--size-icon)); color: var(--spruce); }
.kicker-part .ico svg { position: relative; top: calc((var(--face-display-mid) - var(--size-icon)) / 2); }
.kicker .dot { color: var(--sage); }
/* With no kicker (every part would repeat the title) the card starts at the name, which then keeps the kicker's distance from the picture. */
.sheet-body .pic + .name { margin-top: var(--sp-5); }
/* On a ticket the words stand further from the picture than the tickets stand from each other (sheet 42). */
.ticket .kicker { margin-top: var(--sp-5); }

/* The name and its rings are one row (Esteban, 2026-11-10): the name at the left takes the width and wraps inside it, the rings hold the
   right edge, in line with the picture, and never wrap or shrink. The row aligns on the first baseline, so on a wrapped name the rings
   stay on its first line and every card reads the same. The gap is the least there can be between them. */
.sheet-body .name { display: flex; align-items: baseline; gap: var(--sp-3); margin: var(--sp-1) 0 var(--sp-2) var(--sp-2); text-wrap: balance;
  font: 400 var(--t-title) / var(--t-title-lead) var(--face-display); letter-spacing: var(--t-title-track); }
/* The title: an h2, or a span in the strip beside an open item (lib/archive-markup.js), drawn alike. */
.sheet-body .name > :first-child { flex: 1 1 0; min-width: 0; margin: 0; color: var(--spruce); font: inherit; letter-spacing: inherit; overflow-wrap: break-word; }
/* The rings stand in a box on that baseline, as tall as the face's optical middle, centred on it and out of it evenly, so they are centred
   on the name at every size and never make the line taller. The empty first cell gives the box its baseline at its foot, and takes back
   its own gap, so the rings end flush and start where they start. */
:is(.name, .window h1) .rings { --ring: var(--size-icon); --ring-gap: calc(var(--ring) * 0.25); display: flex; flex: none; align-items: center; gap: var(--ring-gap); height: var(--face-display-mid); margin: 0; padding: 0; list-style: none; }
:is(.name, .window h1) .rings::before { content: ''; align-self: stretch; width: 0; margin-right: calc(-1 * var(--ring-gap)); }
/* The drawing is a share of the whole ring, border and all, so it is the same proportion at every size. */
:is(.name, .window h1) .ring .ico { width: calc(var(--ring) * 0.6); height: calc(var(--ring) * 0.6); }
:is(.name, .window h1) .ring svg { width: 100%; height: 100%; }

/* What he did written out, on the larger sizes: the discipline in ink, its part in sage. */
.did { color: var(--ink); font: 400 var(--t-caption) / var(--t-body-tight) var(--face-display); }

@media (prefers-reduced-motion: reduce) {
  .ticket { transition: none; }
}

/* Get in touch (structure locked 2026-10-06, "the lime block"): a reading sheet like any other, the form held in
   its one lime block. Each field is a ticket cell: a small label over the entry, a hairline at rest, paper once it
   holds something, the spruce edge on the one field in use. The note's cell stays closed until there is a way to
   reply, and opens in place. Send is the filled last cell, as Open is on the panel. */
.hint-line { margin: 0 0 var(--sp-5); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); padding: var(--block-pad); border-radius: var(--r-lime); background: var(--faint); }
.contact > :is(.cell:first-child, .cell--note, .send, .error--send, .sr-status) { grid-column: 1 / -1; }

/* The trap for a script that fills every field: off the page, out of the grid, out of the tab order (the input says so), and it
   takes no room, so the form is drawn as if it were not there. A person never reaches it; a filled one is not sent. */
.contact .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact .cell { position: relative; display: grid; padding: var(--sp-3) var(--sp-3) var(--sp-3); border: 1px solid var(--edge); border-radius: var(--r-cell);
  transition: background-color var(--dur-feedback) var(--ease-fade), border-color var(--dur-feedback) var(--ease-fade), box-shadow var(--dur-feedback) var(--ease-fade); }
.contact .cell label { display: block; margin: 0 0 var(--sp-1); color: var(--sage); font: 400 var(--t-caption) / var(--t-caption-lead) var(--face-system); letter-spacing: var(--t-caps-track); text-transform: uppercase; cursor: text; }
.contact .cell :is(input, textarea) { display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 0; border: 0; background: none; color: var(--ink);
  caret-color: var(--spruce); font: 400 var(--t-body) / var(--t-body-tight) var(--face-display); resize: none; }
.contact .cell textarea { min-height: 7.5rem; font: 400 var(--t-body) / var(--t-body-lead) var(--face-read); }
/* A tap anywhere in the cell lands on its field: the label reaches over the whole cell, the field sits above it. */
.contact .cell label::after { content: ''; position: absolute; inset: 0; }
.contact .cell :is(input, textarea) { position: relative; z-index: 1; }
/* The cell carries the focus: the field's own ring would sit inside the cell's edge. */
.contact .cell :is(input, textarea):focus-visible { outline: 0; box-shadow: none; }
/* A browser's autofill keeps the cell's ground instead of painting its own. */
.contact .cell input:-webkit-autofill { -webkit-text-fill-color: var(--ink); transition: background-color 600000s 0s; }

/* The marks on a cell. Given: paper. In use: the spruce edge, the one live state on the page. Failed: the edge breaks,
   and the reason sits in the cell's foot. Closed (the note, before a way to reply): a faint edge and its reason. */
.contact .cell:has(:is(input, textarea):not(:placeholder-shown)) { background: var(--paper); }
.contact .cell:focus-within { border-color: var(--spruce); box-shadow: inset 0 0 0 1px var(--spruce); }
.contact .cell:has([aria-invalid='true']) { border-style: dashed; border-color: var(--ink); }
.contact .cell:has(:disabled) { border-color: var(--line-quiet); }
.contact .cell:has(:disabled) label { opacity: 0.7; cursor: default; }
.contact .cell :disabled { min-height: 0; height: 1.5rem; cursor: not-allowed; }
.contact .error, .contact .note-hint { margin: var(--sp-2) 0 0; color: var(--ink); font: 400 var(--sys-size) / var(--sys-lead) var(--face-system); }
.contact .note-hint { margin: 0; color: var(--spruce); }
.contact .error[hidden], .contact .note-hint[hidden] { display: none; }
.contact .error--send { margin: var(--sp-2) 0 0; padding: var(--sp-3) var(--sp-3); border: 1px dashed var(--ink); border-radius: var(--r-cell); background: var(--paper); }

.contact .send { display: flex; align-items: center; justify-content: space-between; margin-top: var(--sp-2); padding: var(--sp-3) var(--sp-4); border: 1px solid var(--spruce); border-radius: var(--r-cell);
  background: var(--spruce); color: var(--paper); font: 400 var(--t-body) / var(--t-body-tight) var(--face-display); text-align: left; cursor: pointer;
  transition: background-color var(--dur-feedback) var(--ease-fade), border-color var(--dur-feedback) var(--ease-fade); }
.contact .send:hover { background: var(--ink); border-color: var(--ink); }
.contact .send .ico { transition: transform var(--dur-feedback) var(--ease-out); }
.contact .send:hover .ico { transform: translateX(3px); }

.direct { margin: var(--sp-5) 0 0; color: var(--ink); font: 400 var(--sys-size) / var(--sys-lead) var(--face-system); }
.direct a { color: inherit; text-underline-offset: 4px; }

/* Sent: the block says so, in the same place, and the line asking for a way to reply steps aside. */
.sent { padding: var(--block-pad); border-radius: var(--r-lime); background: var(--faint); }
.sent:focus { outline: 0; }
.sent h2 { margin: 0 0 var(--sp-3); }
.sent p { margin: 0 0 var(--sp-4); }
.sheet-scroll:has(> .sent:not([hidden])) > .hint-line { display: none; }
/* Diego, his dog (Esteban, 2026-11-19): a 4:3 cut of his face and collar, the width of the panel, square like every picture. */
.dogs { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-cell); background: var(--paper); }

@media (max-width: 734px) {
  .contact { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .contact .cell, .contact .send, .contact .send .ico { transition: none; }
}
/* Story markers (story-tags.js): a point on each object in the room that has a story, and the story one opens. Above the
   room and under the greeting and the sheets; the story sits over the greeting, beside its marker. The folded greeting is
   a marker too, on the note's pin (sheet-note.css). Every corner is square (Esteban, 2026-11-19). */
.story-tags { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
/* A marker is a zero-size button on its pin, moved there by transform. Each is a layer of its own (will-change), so
   following its pin moves a picture already drawn, and nothing on it runs an SVG filter: painted into the shared layer
   and drawn again every frame through the glass's filter, the paper tags blinked, trailed their objects and let taps
   fall through to the room on Esteban's iPad (st-8v31; his ?tagdebug logs, 2026-11-19). */
.story-tag { --marker: 12px; --target: 44px; --bloom: var(--target); --name-h: var(--sp-6);
  position: absolute; left: 0; top: 0; width: 0; height: 0; padding: 0; border: 0; background: none; color: var(--spruce);
  font: 400 var(--sys-size) / 1 var(--face-mono); cursor: pointer; pointer-events: auto; will-change: transform; }
.story-tag[hidden] { display: none; }
/* Under the open story's card (story-tags.js): out of sight and out of reach until it closes. */
.story-tag.is-under { visibility: hidden; }
/* The target: 44px about the mark, unseen, over Apple's 44 point minimum, so a finger finds it where the eye does. */
.story-tag::after { content: ''; position: absolute; left: calc(var(--target) / -2); top: calc(var(--target) / -2);
  width: var(--target); height: var(--target); }

/* The mark: a square of signal edged in spruce, on the pin. */
.story-tag .tag-dot { position: absolute; left: calc(var(--marker) / -2 - var(--story-edge)); top: calc(var(--marker) / -2 - var(--story-edge));
  width: var(--marker); height: var(--marker); border: var(--story-edge) solid var(--spruce); background: var(--signal); }
/* The overspray: the navigation's overspray (sheet-frame.css), squared round the mark (Esteban, 2026-11-19, over the
   round bloom, which read as a radial halo): signal through the grain, densest across the middle and fading over the
   outer fifths in both directions, so the field is square, soft only at its edges (DESIGN.md, The Sprayed Green Rule).
   It fills the 44px target. The grain is a tile of single grains, each there or not, about six in ten (spray.png, from
   the round tags-r1), drawn at half its size so each grain is half a pixel at 1x: a plain image mask, so nothing filters
   as the marker paints. It scales in from the mark. */
.story-tag::before { content: ''; position: absolute; left: calc(var(--bloom) / -2); top: calc(var(--bloom) / -2); width: var(--bloom); height: var(--bloom);
  pointer-events: none; background: var(--signal);
  -webkit-mask: url('data:image/png;base64,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') 0 0 / 48px 48px,
    linear-gradient(transparent, rgb(0 0 0 / 0.5) 20%, #000 40%, #000 60%, rgb(0 0 0 / 0.5) 80%, transparent),
    linear-gradient(90deg, transparent, rgb(0 0 0 / 0.5) 20%, #000 40%, #000 60%, rgb(0 0 0 / 0.5) 80%, transparent);
  -webkit-mask-composite: source-in;
  mask: url('data:image/png;base64,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') 0 0 / 48px 48px,
    linear-gradient(transparent, rgb(0 0 0 / 0.5) 20%, #000 40%, #000 60%, rgb(0 0 0 / 0.5) 80%, transparent),
    linear-gradient(90deg, transparent, rgb(0 0 0 / 0.5) 20%, #000 40%, #000 60%, rgb(0 0 0 / 0.5) 80%, transparent);
  mask-composite: intersect;
  opacity: 0; transform: scale(0.2); transition: opacity var(--dur-state) var(--ease-fade), transform var(--dur-move) var(--ease-out); }
/* The name, on a paper pill a target's half to the right of the mark. Always laid out; at rest a clip from the left covers
   it, and pointed at the clip opens to the right, so the name is uncovered, never laid out again. */
.story-tag .tag-name { position: absolute; left: calc(var(--target) / 2); top: calc(var(--name-h) / -2); height: var(--name-h); box-sizing: border-box;
  display: flex; align-items: center; padding: 0 var(--sp-3); background: var(--paper-panel); white-space: nowrap;
  clip-path: inset(0 100% 0 0); opacity: 0;
  transition: clip-path var(--dur-move) var(--ease-out), opacity var(--dur-state) var(--ease-fade); }

/* Pointed at (a pointer that hovers comes near, story-tags.js), or reached by keyboard: the bloom and the name. Open, the
   bloom holds and the name goes in: the story beside it carries the name. On touch the name never shows on its own; a tap
   opens the story. */
.story-tag:is(.is-near, .is-open, :focus-visible)::before { opacity: 1; transform: none; }
.story-tag:is(.is-near, :focus-visible):not(.is-open) .tag-name { clip-path: inset(0); opacity: 1; }
/* The system's focus ring (sheet.css), drawn round the target rather than the zero-size button. */
.story-tag:focus-visible { outline: none; box-shadow: none; }
.story-tag:focus-visible::after { outline: var(--focus-ring); outline-offset: var(--focus-offset); box-shadow: var(--focus-halo); }

/* The story: the ticket's language at small scale, on the welcome note's bright green (Esteban, 2026-11-19). */
.story { position: fixed; z-index: 5; left: 0; top: 0; width: 300px; padding: var(--sp-5); background: var(--signal); color: var(--ink); }
.story[hidden] { display: none; }
/* It unfolds from the side that faces its marker: grown out of that edge and opened by a clip from it. */
/* At rest the clip stands just wide of the card, so the focus ring's halo is not cut. */
.story { --from: inset(0); transform-origin: var(--origin, left center); clip-path: inset(-8px);
  transition: scale var(--dur-move) var(--ease-out), opacity var(--dur-state) var(--ease-fade), clip-path var(--dur-move) var(--ease-out); }
.story[data-side='left'] { --origin: left 30px; --from: inset(0 70% 0 0); }
.story[data-side='right'] { --origin: right 30px; --from: inset(0 0 0 70%); }
.story[data-side='bottom'] { --origin: 30px bottom; --from: inset(70% 0 0 0); }
.story[data-side='top'] { --origin: 30px top; --from: inset(0 0 70% 0); }
.story:not(.is-in) { scale: 0.94; opacity: 0; clip-path: var(--from); transition: none; }
.story-title { margin: 0 0 var(--sp-3); color: var(--spruce); font: 400 var(--t-title) / var(--t-title-lead) var(--face-display); letter-spacing: var(--t-title-track); outline: none; }
/* The ticket's perforation and its cell, so the story speaks the ticket's language (sheet-ticket.css). */
.story-body { margin: 0 calc(-1 * var(--sp-5)) var(--sp-4); padding: var(--sp-3) var(--sp-5) 0; border-top: var(--perforation-rule); }
.story-body p { margin: 0 0 var(--sp-2); font: var(--read-weight) var(--t-body) / var(--t-body-lead) var(--face-read); }
.story-close { padding: var(--sp-2) var(--sp-3) var(--sp-2); border: 1px solid var(--edge); background: none; color: var(--ink); font: 400 var(--sys-size) / var(--sys-lead) var(--face-mono); cursor: pointer; }
.story-close:hover { background: var(--paper-2); }

/* Where no seat clears the greeting (a phone), the greeting steps aside while the story is open. */
.centre, .stub-ticket { transition: opacity var(--dur-state) var(--ease-fade); }
.is-story-over :is(.centre, .stub-ticket) { opacity: 0; pointer-events: none; }

/* ?pick: the room point under a click. */
.pick { position: fixed; z-index: 9; left: 50%; bottom: 96px; transform: translateX(-50%); padding: var(--sp-2) var(--sp-3);
  background: var(--paper); color: var(--ink); font: 400 var(--sys-size) / 1 var(--face-mono); }

@media (prefers-reduced-motion: reduce) {
  .story-tag::before, .story-tag .tag-name, .story, .centre { transition: none; }
}

/* The greeting as a note on the art desk (sheet-note.js; Esteban, 2026-10-16, sheet 34). Since 2026-11-19 it is a square
   of the bright green, opaque and edged in full ink, floating at its pin's place with no thread and no tilt; folded, it is a
   marker on the pin like the room's stories (story-tags.css). The element itself is the pin (base.css moves it there); the
   note stands below it. */
/* It comes in last, once the frame has drawn (sheet-frame.css), the way the greeting did on the first visit. It is served
   on the page now, so its fade ends near the moment the bundle arrives; drawn in the page's own layer, whichever came first
   decided how Chromium painted the poster's dots under it again, and home's frames changed from run to run. On a layer of its
   own (will-change), its fade and its fonts coming in never touch the poster, and the frames hold. */
/* The heading's line height and where its capitals start under the line box's top, so the eyelet can sit halfway between
   the paper's inner edge and the capitals. From Switzer 600's own metrics (canvas measureText at 38px, 2026-11-19): ascent
   0.974em, descent 0.263em, cap height 0.684em; the line box adds half of (line height - 1.237em) above the ascent, so the
   cap top is (line height - 1.237) / 2 + 0.290 em down: 0.196em, 7.45px, at 38/1.05. */
.note { --note-lead: 1.05; --note-top: var(--sp-6); --note-cap-drop: calc(((var(--note-lead) - 1.237) / 2 + 0.29) * var(--t-headline));
  width: 0; height: 0; will-change: opacity; animation: settle var(--dur-state) var(--dur-entrance) var(--ease-fade) both; }
.note.is-away { visibility: hidden; }
/* Without the room (no WebGL2, or its download failed) there is no pin to follow: it stands where the start view puts it,
   always shown, and says the one line the fallback has instead of the invitation and the ways to move (Esteban,
   2026-10-17). The page is served so, and stays so wherever nothing marks the room as coming: before app.js says `is-still`
   under ?still or without WebGL2 (the head script of client/note-seat.js leaves those pages unmarked), and with no script at all. */
:root:is(.is-still, :not([data-room])) .note { --pin-x: 21vw; --pin-y: 24vh; }
.is-still .note.is-away { visibility: visible; }
.c-fallback { display: none; }
:root:is(.is-still, :not([data-room])) .note :is(.c2, .c3) { display: none; }
:root:is(.is-still, :not([data-room])) .note .c-fallback { display: block; margin: 0; font: var(--read-weight) var(--t-body) / var(--t-body-lead) var(--face-read); }
/* With the room coming, the head script gives the pin's place at the start view before the first paint, and whether the note
   shows there; sheet-note.js takes both over when it hangs the note, and from then the note's own --pin-x and --pin-y win. */
[data-room] .note { --pin-x: var(--greet-x, 21vw); --pin-y: var(--greet-y, 24vh); }
:root[data-room='away']:not(.is-still) .note { visibility: hidden; }

/* Its top left corner stands on the pin, where the marker comes in when it folds. */
.note-paper { position: absolute; left: 0; top: 0; box-sizing: border-box; width: 23rem;
  padding: var(--note-top) var(--sp-5) var(--sp-4); background: var(--signal); color: var(--ink);
  border: var(--story-edge) solid var(--ink);
  transform-origin: 0 0;
  transition: scale var(--dur-move) var(--ease-out), opacity var(--dur-state) var(--ease-fade); }
/* Folded, it draws back into its pin (most of the way in the first quarter, on the quick-then-settle curve), and the marker
   on the same pin comes in as the paper lands there; unfolding, the marker holds until the paper has grown past it
   (sheet-note.js keeps it in the layout that long). */
/* Docked on a tablet (note-seat.js): the paper hangs from its bottom left corner, which stands at the frame's bottom left
   seat, and folds into that corner. */
:root[data-note='dock'] .note-paper { top: auto; bottom: 0; transform-origin: 0 100%; }
.note.is-folded .note-paper { scale: 0.06; opacity: 0; visibility: hidden;
  transition: scale var(--dur-move) var(--ease-out), opacity var(--dur-state) var(--ease-fade), visibility 0s linear var(--dur-move); }

/* Folded, the note is a story marker on its pin (story-tags.css draws the mark, the bloom and the name), named by the
   welcome. Nothing in story-tags.js moves it or names it near: it stands in the note, which follows the pin, and a pointer
   that hovers names it by hovering it. */
.note-tag { opacity: 0; transition: opacity var(--dur-feedback) var(--ease-fade) calc(var(--dur-move) * 0.5); }
.note.is-folded .note-tag { opacity: 1; transition-delay: calc(var(--dur-move) * 0.25); }
/* Only where there is a pointer that hovers: iOS plays a tap as a hover first, and a hover that uncovers content swallows
   the tap (Esteban on an iPad, 2026-11-18). */
@media (hover: hover) and (pointer: fine) {
  .note-tag:hover::before { opacity: 1; transform: none; }
  .note-tag:hover .tag-name { clip-path: inset(0); opacity: 1; }
}

/* The eyelet is the way to fold it: a square at the top left, on the text's left edge, as far below the paper's inner edge
   as it stands above the heading's capitals; the green at rest and spruce when pointed at (Esteban, 2026-11-19). Its 24px
   control stands round the 8px square, so the control's top is half of (top padding + cap drop - control). */
.note-eye { position: absolute; left: calc(var(--sp-5) - (var(--size-ring) - var(--size-eyelet)) / 2);
  top: calc((var(--note-top) + var(--note-cap-drop) - var(--size-ring)) / 2);
  display: grid; place-items: center; width: var(--size-ring); height: var(--size-ring); padding: 0; border: 0;
  background: none; cursor: pointer; }
.note-eye::before { content: ''; width: var(--size-eyelet); height: var(--size-eyelet); box-sizing: border-box; border: var(--story-edge) solid var(--ink);
  background: var(--signal); transition: background-color var(--dur-feedback) var(--ease-fade); }
.note-eye:is(:hover, :focus-visible)::before { background: var(--spruce); }
.note-eye:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); box-shadow: var(--focus-halo); }

/* The welcome in Switzer at 600, the open panel's size, tight: two lines in the note (Esteban, 2026-11-19). */
.note .c1 { margin: 0 0 var(--sp-2); color: var(--spruce); font: 600 var(--t-headline) / var(--note-lead) var(--face-sans); letter-spacing: -0.02em; }
.note .c2 { margin: 0 0 var(--sp-4); font: var(--read-weight) var(--t-body) / var(--t-body-lead) var(--face-read); }
/* The ways to move, under the ticket's perforation, two to a row. */
.note .c3 { display: grid; grid-template-columns: auto auto; justify-content: start; gap: var(--sp-2) var(--sp-5);
  margin: 0 calc(-1 * var(--sp-5)); padding: var(--sp-3) var(--sp-5) 0; border-top: var(--perforation-rule);
  font: 400 var(--sys-size) / var(--sys-lead) var(--face-system); }
.note kbd { display: inline-block; min-width: 1.1em; margin-right: 2px; padding: 1px var(--sp-1); border: 1px solid var(--spruce);
  font: inherit; text-align: center; }

/* Under reduced motion the greeting is simply there: no fade in (Esteban, 2026-11-17: nothing of the opening plays but the bar). */
@media (prefers-reduced-motion: reduce) {
  .note { animation: none; }
  .note-paper, .note.is-folded .note-paper, .note-tag, .note.is-folded .note-tag, .note-eye::before { transition: none; }
}
/* The phone's stub (components/Stub.astro, bound by sheet-stub.js; the contract "Phones: the stub and the open page", 2026-10-16).
   Phones only. It is served with the page, before the router names the route: home is then told by the served `data-open="home"`
   (Site.astro), which the router takes off as it names the route, so each rule keyed on home answers to either. */
.stub-ticket { display: none; }

@media (max-width: 734px) {
  /* What the stub replaces steps aside: the frame's top tabs, the floating greeting, the stacked navigation and footer. */
  .wordmark, .sticky, .hud-nav nav, .foot, .centre { display: none !important; }

  /* The screen runs under Safari's bars (viewport-fit=cover in index.html), so the room fills them and the frame and the
     stub stand clear of them by the safe areas. Safari tints its bars from the page's own ground: the room's aubergine. */
  html, body { background: var(--aubergine); }
  .frame { inset: calc(var(--frame-inset) + env(safe-area-inset-top, 0px)) calc(var(--frame-inset) + env(safe-area-inset-right, 0px))
    calc(var(--frame-inset) + env(safe-area-inset-bottom, 0px)) calc(var(--frame-inset) + env(safe-area-inset-left, 0px)); }

  /* At home: one paper ticket on the bottom line, inside the frame's seat. */
  .stub-ticket { display: block; z-index: 7; left: calc(var(--seat) + env(safe-area-inset-left, 0px)); right: calc(var(--seat) + env(safe-area-inset-right, 0px));
    bottom: calc(var(--seat) + env(safe-area-inset-bottom, 0px)); padding: 0 var(--sp-3);
    border-radius: var(--r-ticket); background: var(--paper-tab); color: var(--ink); font: 400 var(--sys-size) / var(--sys-lead) var(--face-system); }
  .stub-face { margin: 0; padding: var(--sp-4) var(--sp-1); color: var(--spruce);
    font: 600 var(--t-headline-s) / 1.1 var(--face-read); letter-spacing: -0.02em; }
  /* While it carries the greeting it is the welcome note held in the hand: the note's bright green and its Switzer 600
     heading (Esteban, 2026-11-19). Folded to the tab, opened to the pages, or under a page, it is paper again. */
  :root:is([data-route='home'], [data-open='home']) .stub-ticket:not(.is-open, .is-compact) { background: var(--signal); }
  .stub-hello { display: block; }
  /* Under the heading, the invitation, as on the desktop note (sheet-note.css), its link underlined as links in text
     are (sheet.css), not bare as the tabs' are. Without the room, the fallback's line stands there instead: once the router has run,
     `is-still` says so; before it, the head script's `data-room` (client/note-seat.js) says the room is coming, as for the note. */
  .stub-invite, :root:is(.is-still, :not([data-route], [data-room])) .stub-oops { display: block; margin-top: var(--sp-2); color: var(--ink); letter-spacing: 0;
    font: var(--read-weight) var(--t-body) / var(--t-body-lead) var(--face-read); }
  .stub-invite a { text-decoration: underline; }
  .stub-oops, :root:is(.is-still, :not([data-route], [data-room])) .stub-invite { display: none; }
  /* The stub, under the perforation that runs edge to edge across the ticket. */
  .stub-row { display: flex; align-items: center; height: var(--tab-h); margin: 0 calc(-1 * var(--sp-3)); padding: 0 var(--sp-3);
    border-top: var(--perforation-rule); }
  .stub-ticket .stub-back { display: none; padding: 0 var(--sp-4) 0 var(--sp-3); background: none; cursor: pointer; }
  /* The logo names the studio; it is not a control. */
  .stub-mark { display: flex; align-items: center; padding: 0 var(--sp-1); color: var(--spruce); }
  .stub-mark svg { display: block; height: var(--logo-tab-h); width: auto; }
  /* The menu: three lines in a control cell, drawn as the archive's tools are; filled spruce while the pages are open. */
  .stub-toggle { display: grid; place-items: center; flex: none; width: var(--size-control); height: var(--size-control); margin-left: auto; padding: 0;
    border: 1px solid var(--edge); border-radius: var(--r-button); background: none; color: var(--spruce); cursor: pointer;
    transition: background-color var(--dur-feedback) var(--ease-fade), color var(--dur-feedback) var(--ease-fade); }
  .stub-toggle:hover { background: var(--paper-2); }

  /* Pressed: the pages unfold above the perforation as cells, the email and Privacy beneath them. */
  .stub-menu { display: none; padding-top: var(--sp-3); }
  .stub-ticket .navlist { display: grid; gap: var(--sp-2); padding: 0; }
  .stub-ticket .navlist a { justify-content: space-between; height: var(--size-tag); margin: 0; padding: 0 var(--sp-3); border: 1px solid var(--edge);
    border-radius: calc(var(--r-ticket) - var(--sp-3)); color: var(--ink); font: 400 var(--t-body) / var(--t-body-tight) var(--face-display); }
  .stub-ticket .navlist a::before { display: none; }
  .stub-ticket .navlist a::after { content: '\2192'; color: var(--spruce); }
  .stub-ticket .navlist a:hover { background: var(--paper-2); text-decoration: none; }
  .stub-ticket .navlist a[aria-current] { border-color: var(--spruce); background: var(--spruce); color: var(--paper); }
  .stub-ticket .navlist a[aria-current]::after { color: var(--paper); }
  .stub-small { display: flex; justify-content: space-between; margin: 0; padding: 0 var(--sp-1); }
  /* The email and Privacy are links in a line of text; each still answers a full control's height. */
  .stub-small a { display: flex; align-items: center; height: var(--size-control); color: var(--ink); }
  .stub-ticket.is-open { background: var(--paper-panel); }
  .stub-ticket.is-open .stub-face { display: none; }
  .stub-ticket.is-open .stub-menu { display: block; }
  .stub-ticket.is-open .stub-toggle { border-color: var(--spruce); background: var(--spruce); color: var(--paper); }
  /* The touch tutorial teaches the room; with the pages open nobody is looking at the room. */
  :root:has(.stub-ticket.is-open) .tutorial { display: none; }

  /* Moving through the room: the greeting steps aside and the stub alone stays, a tab at the bottom left. */
  :root:is([data-route='home'], [data-open='home']) .stub-ticket.is-compact:not(.is-open) { right: auto; padding: 0 var(--sp-4); border-radius: var(--r-cell); }
  :root:is([data-route='home'], [data-open='home']) .stub-ticket.is-compact:not(.is-open) .stub-face { display: none; }
  :root:is([data-route='home'], [data-open='home']) .stub-ticket.is-compact:not(.is-open) .stub-row { margin: 0; padding: 0; border-top: 0; }
  :root:is([data-route='home'], [data-open='home']) .stub-ticket.is-compact:not(.is-open) .stub-mark { padding: 0; margin-right: var(--sp-4); }

  /* A page open: the sheet runs edge to edge, past the frame, which steps aside; the stub is its foot, Back at the
     left and the menu at the right; the logo steps aside. */
  :root:not([data-route='home'], [data-open='home']) .frame { display: none; }
  :root:not([data-route='home'], [data-open='home']) .stub-ticket { left: 0; right: 0; bottom: 0; padding: 0 var(--inset) env(safe-area-inset-bottom, 0px); border-radius: 0;
    background: var(--tooth), var(--glass-bg); background-blend-mode: soft-light; -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
  :root:not([data-route='home'], [data-open='home']) .stub-ticket.is-open { border-radius: var(--r-ticket) var(--r-ticket) 0 0; background: var(--paper-panel); }
  :root:not([data-route='home'], [data-open='home']) .stub-face { display: none; }
  :root:not([data-route='home'], [data-open='home']) .stub-row { margin: 0 calc(-1 * var(--inset)); padding: 0 var(--inset); }
  :root:not([data-route='home'], [data-open='home']) .stub-ticket .stub-back { display: inline-flex; }
  :root:not([data-route='home'], [data-open='home']) .stub-mark { display: none; }
  /* The sheet ends exactly where the stub begins (the stub is the tab's height, its perforation drawn inside it), so no
     room shows between them. Stronger than sheet.css's phone rule, which loads after this file and seats the sheet inside the frame. */
  :root .window:not(.window--home) { inset: 0 0 calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)) 0 !important; max-height: none; padding-top: env(safe-area-inset-top, 0px);
    border-radius: 0; outline: 0; }
  /* Back rides in the stub, under the thumb; the sheet's head keeps the heading alone. */
  .window .close { display: none; }
  /* A filter is a control: at 48 it takes a step more padding to keep its proportion. */
  .controls label { padding: 0 var(--sp-4) 0 var(--sp-3); }
  /* A link set in a line of text answers a control's height too, without moving the line: the padding is taken back
     by an equal negative margin. */
  .direct a { display: inline-block; padding: calc((var(--size-control) - 1lh) / 2) 0; margin: calc((1lh - var(--size-control)) / 2) 0; }
  /* A story's Close answers a full control's height. */
  .story-close { min-height: var(--size-control); }
  /* With Back gone from the head, a head's tools (the archive's grid and list switch) keep to the right. */
  .sheet-head .tools { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .stub-toggle { transition: none; }
}

html { color-scheme: light; }
body { font: var(--read-weight) var(--read-size) / var(--read-lead) var(--face-read); color: var(--ink); }
/* One weight: emphasis never bolds. */
b, strong { font-weight: inherit; }
::selection { background: var(--spruce); color: var(--paper); }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
/* A focus ring that holds on glass and on the raw room alike: ink, with paper between it and the element. */
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); box-shadow: var(--focus-halo); }
.skip { border-radius: var(--r-cell); background: var(--paper); color: var(--ink); font: 400 var(--sys-size) / 1 var(--face-system); }

/* The pattern world's own dials stay out of the interface; its place label is kept exactly as it reads there. */
.grain-panel, .pattern-opener, .readout { display: none !important; }
.pattern-label { position: fixed; z-index: 6; left: 0; top: 0; margin: var(--sp-4) 0 0 var(--sp-4); padding: var(--sp-2) var(--sp-3); pointer-events: none;
  background: var(--paper); color: var(--ink); font: 400 var(--sys-size) / var(--sys-lead) var(--face-mono); }

/* The glass. One pane, calm and even: the room blurred through paper, a fine tooth, the ticket's large corners. Its hairline
   is the pale lime, standing off the glass by a small gap. The sheet anchors at the left, where reading starts,
   and leaves the right free for whatever a page opens next. It runs down to the frame's foot, one step clear of its
   line: with a page open nothing else sits on the frame's bottom edge (Esteban, 2026-10-16).
   The tallest the sheet stands, the step under its head, and the box the page scrolls in under that head (the sheet
   less the head: its inset, the way back, the step) are written once here, for whatever inside has to fit that box. */
.window:not(.window--home) {
  --sheet-h: calc(100vh - var(--sheet-top) - var(--frame-inset) - var(--sp-5));
  --head-foot: var(--sp-4);
  --scroll-h: calc(var(--sheet-h) - var(--inset) - var(--size-control) - var(--head-foot));
  left: var(--sheet-side); top: var(--sheet-top); width: var(--sheet-w); max-height: var(--sheet-h);
  border-radius: var(--r-sheet);
  /* A sheet scrolls down, never sideways: on a narrow screen the green under a long heading runs a hair past the edge. */
  overflow-x: hidden;
  scrollbar-width: thin; scrollbar-color: var(--line-quiet) transparent; scrollbar-gutter: stable;
  animation: unroll var(--dur-move) var(--ease-out) backwards;
}
/* The pane itself, a layer of its own under what the sheet holds: the fill, the blur and the hairline, so what scrolls in
   the sheet never repaints the pane (the Work window on an iPad, Esteban 2026-11-18, st-8k6w). The glass optics that
   once filtered this layer were removed on 2026-11-19 (Esteban: "a cheap drop shadow on the text"). */
.window:not(.window--home)::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--tooth), var(--glass-bg); background-blend-mode: soft-light;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-radius: var(--r-sheet); outline: 1px solid var(--faint); outline-offset: var(--gap); }
/* A sheet with a way back does not scroll itself: its head stays where it is and the page scrolls beneath it in a
   box of its own (components/Sheet.astro), which ends at a clean edge under the head. The sheet clips nothing, so the pane's
   hairline and glow outside it stay whole; the box rounds its own foot to the pane's corners. */
.window.has-head:not([hidden]) { display: flex; flex-direction: column; overflow: visible; scrollbar-gutter: auto; }
.has-head .sheet-scroll { border-radius: 0 0 var(--r-sheet) var(--r-sheet); }
.has-head > .sheet-body { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; padding: 0; }
.sheet-scroll { position: relative; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto;
  padding: var(--sp-2) var(--pad-right) var(--inset) var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--line-quiet) transparent; scrollbar-gutter: stable; }
/* The scrollbar: a thin bar of darker glass with clear glass either side of it, a little denser under the pointer,
   on whatever scrolls: the page under a head, a sheet with none, or an item's held column on a short screen. */
@supports selector(::-webkit-scrollbar) {
  :is(.window:not(.window--home), .sheet-scroll, .item-text) { scrollbar-width: auto; scrollbar-color: auto; }
  :is(.window:not(.window--home), .sheet-scroll, .item-text)::-webkit-scrollbar { width: var(--scrollbar); height: var(--scrollbar); }
  :is(.window:not(.window--home), .sheet-scroll, .item-text)::-webkit-scrollbar-track, :is(.window:not(.window--home), .sheet-scroll, .item-text)::-webkit-scrollbar-corner { background: transparent; }
  :is(.window:not(.window--home), .sheet-scroll, .item-text)::-webkit-scrollbar-thumb { border: 3px solid transparent; background: var(--line-quiet) padding-box; }
  :is(.window:not(.window--home), .sheet-scroll, .item-text)::-webkit-scrollbar-thumb:hover { background: var(--edge) padding-box; }
}
/* The clip reaches 16px past the glass on every side, so the hairline standing off it stays whole while the sheet
   unrolls; at inset(0) the fill kept every straight run of the line clipped away and left only the corners. The clip
   ends with the animation (it fills backwards only). */
@keyframes unroll { from { clip-path: inset(-16px -16px calc(100% + 16px) -16px); } to { clip-path: inset(-16px); } }

.sheet-body { position: relative; }
/* Everything that is not a section keeps the sections' text edge. */
.sheet-scroll > :not(.part, .tree) { margin-left: var(--lead); }

/* The head: the same glass as the sheet, with nothing to tell it apart, at the sheet's padding on three sides. The
   way back stands at the text's edge; 16 under it the page begins, and that is where it ends when it scrolls. */
.sheet-head { flex: none; padding: var(--inset) var(--inset) var(--head-foot) calc(var(--gutter) + var(--lead)); }

/* The way back: one button, built like the archive's controls beside it (the same height, hairline and corner).
   Inside it, a small open circle holding the green, then the word; the same inset on every side of the pair. It
   is the one live thing on the sheet, so it holds the green: a dense heart that thins to a fine mist before it
   reaches the ring. It stands at the text's edge, in line with the heading under it. */
.close { --dot: var(--size-icon); position: relative; display: inline-flex; align-items: center; gap: var(--sp-2); box-sizing: border-box; height: var(--size-control); padding: 0 var(--sp-3) 0 var(--sp-2);
  border: 1px solid var(--edge); border-radius: var(--r-button); color: var(--ink); text-decoration: none;
  font: 400 var(--sys-size) / 1 var(--face-system); transition: background-color var(--dur-feedback) var(--ease-fade); }
.close::before { content: ''; box-sizing: border-box; flex: none; width: var(--dot); height: var(--dot); border: 1px solid var(--spruce); background: var(--paper); }
.close::after { content: ''; position: absolute; left: 8px; top: 50%; width: var(--dot); height: var(--dot); margin-top: calc(var(--dot) / -2); background: var(--signal);
  /* a solid heart, plus a fine mist around it that stops short of the ring */
  -webkit-mask: var(--mist) 0 0 / 64px 64px, radial-gradient(circle, #000 20%, rgb(0 0 0 / 0.5) 38%, transparent 60%); -webkit-mask-composite: source-in;
  mask: var(--mist) 0 0 / 64px 64px, radial-gradient(circle, #000 20%, rgb(0 0 0 / 0.5) 38%, transparent 60%); mask-composite: intersect;
  transition: transform var(--dur-feedback) var(--ease-out); }
.close:hover { background: var(--paper-2); }
.close:hover::after { transform: scale(1.3); }
.close:active::after { transform: scale(0.9); }

/* Type. */
.window h1 { margin: 0 0 var(--sp-6); color: var(--spruce); text-wrap: balance;
  font: var(--h1-weight) var(--h1-size) / var(--h1-lead) var(--face-display); letter-spacing: var(--h1-track); }
.sheet-body h2 { margin: 0 0 var(--gap-below-h2); color: var(--spruce); text-wrap: balance;
  font: var(--h2-weight) var(--h2-size) / var(--h2-lead) var(--face-display); letter-spacing: var(--h2-track); }

/* The page heading stands on a band of the safety green that overlaps the foot of the letters: one soft stroke
   from a can. It is densest along its middle and fades out smoothly above, below and past both ends of the
   word, with a very fine grain in the fade and no hard edge anywhere. The green is the ground, never the type. */
.window h1 { position: relative; isolation: isolate; width: fit-content; max-width: calc(100% - var(--lead)); }
.h-name { position: relative; isolation: isolate; }
:is(.window h1:not(:has(.h-name)), .h-name)::before { content: ''; position: absolute; z-index: -1; left: -0.55em; right: -0.55em; bottom: -0.16em; height: 0.8em; background: var(--signal);
  -webkit-mask: var(--mist) 0 0 / 64px 64px, linear-gradient(transparent 6%, rgb(0 0 0 / 0.3) 28%, #000 44%, #000 58%, rgb(0 0 0 / 0.3) 74%, transparent 96%),
    linear-gradient(90deg, transparent, rgb(0 0 0 / 0.5) 0.3em, #000 0.6em, #000 calc(100% - var(--band-end, 0.6em)), rgb(0 0 0 / 0.5) calc(100% - var(--band-end, 0.6em) / 2), transparent);
  -webkit-mask-composite: source-in;
  mask: var(--mist) 0 0 / 64px 64px, linear-gradient(transparent 6%, rgb(0 0 0 / 0.3) 28%, #000 44%, #000 58%, rgb(0 0 0 / 0.3) 74%, transparent 96%),
    linear-gradient(90deg, transparent, rgb(0 0 0 / 0.5) 0.3em, #000 0.6em, #000 calc(100% - var(--band-end, 0.6em)), rgb(0 0 0 / 0.5) calc(100% - var(--band-end, 0.6em) / 2), transparent);
  mask-composite: intersect; }
/* A heading with rings after it: the band stops with the name, so it does not run on under them. It has no room past the last letter to
   fade in, so it fades in less, and the last letter stands on the green like the others. */
.window h1 .h-name::before { --band-end: 0.2em; right: 0; }

/* Sections. One step of the scale between them; the first follows the page heading directly; the closing line
   stands a shorter step off the last. */
.part { margin-top: var(--gap-above-h2); padding-left: var(--lead); }
h1 + .part { margin-top: 0; }
.pass { margin-top: var(--gap-below-h1) !important; }

/* The lime card: one section a page, a flat block of pale lime set on the glass, with the ticket's corners.
   The same padding on all four sides; inside it, the card's own rail and gap, then its text, exactly as in a
   plain section. No fade. */
.part--lime { padding: var(--block-pad) var(--block-pad) var(--block-pad) calc(var(--block-pad) + var(--lead)); background: var(--faint); border-radius: var(--r-lime); }

/* The steps: a numeral in a small open circle, then the words. The circle sits on the middle of its first line,
   and the numeral on the middle of the circle (the mono's digits ride a pixel high, so the line is set a pixel
   low). The steps keep their section's text edge; the line they hang from runs in the section's rail. */
.steps { list-style: none; counter-reset: step; margin: var(--gap-list) 0 0; padding: 0; display: grid; gap: var(--gap-step); }
.steps li { position: relative; counter-increment: step; display: grid; grid-template-columns: var(--num-box) 1fr; gap: var(--sp-3); align-items: start; }
.steps li::before { content: counter(step); box-sizing: border-box; width: var(--num-box); height: var(--num-box);
  margin-top: calc((var(--read-size) * var(--read-lead) - var(--num-box)) / 2); padding-top: 1px;
  border: 1px solid var(--spruce); color: var(--spruce); text-align: center;
  font: 400 var(--num-size) / calc(var(--num-box) - 2px) var(--face-system); }

/* The tree: one drawing over the sheet (sheet-tree.js). Dotted lines at the track's pitch, a small open circle
   where each section starts, a short level cap where the trunk ends. */
.tree { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; color: var(--spruce); }
.tree-line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.tree-cap { fill: none; stroke: currentColor; stroke-width: 1; }
.tree-anchor { fill: var(--paper); stroke: currentColor; stroke-width: 1; }
/* No track: the sheet keeps its one padding on all four sides and nothing else, and narrows by the rail it no longer
   holds, so the text column stays at its reading width (560). */
[data-track='none'] { --rail: 0px; --rail-gap: 0px; --sheet-w: min(41rem, calc(100vw - var(--sheet-side) - var(--frame-inset) - 24px)); }

@media (max-width: 734px) {
  /* On a phone the sheet rises inside the frame, the frame's own lines standing off its sides and foot by
     the same gap. */
  .window:not(.window--home) { --head-foot: var(--sp-3); inset: auto var(--seat) var(--seat) var(--seat) !important; scrollbar-gutter: auto; animation-name: rise; }
  .window:not(.window--home)::before { outline: 0; }
  .sheet-scroll { scrollbar-gutter: auto; }
  .steps li { gap: var(--sp-3); }
}
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .window:not(.window--home) { animation: none; }
  .close, .close::after { transition: none; }
}
