/* ------------------------------------------------------------------
   thommiano — site stylesheet ("wall label" design)
   One typeface, near-black on white, no shadows, no colored accents.
   The site is plain static HTML under static/; every page links this file.
   ------------------------------------------------------------------ */

:root {
  --ink: #111;
  --mute: #6f6f6f;
  --faint: #a3a3a3;
  --rule: #e5e5e5;
  --bg: #fff;
  --panel: #f2eee5;      /* paper: frames the katachi animations without the dark-vitrine contrast */
  --panel-edge: rgba(0, 0, 0, .06);
  --amber: #e9ae17;      /* kitty palette fg — the one accent, taken from the terminal the character was drawn for */
  --terminal: #13161a;   /* kitty palette bg — the ground of the process page; the home tile for it uses the same */
  --max: 88rem;
  --gutter: 1.5rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
p a, li a, dd a, figcaption a { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-color: var(--faint); }
p a:hover, li a:hover, dd a:hover { text-decoration-color: var(--ink); }

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- top bar ---------- */
.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: 1.75rem 0 0;
}
.top .name { font-weight: 500; letter-spacing: 0.01em; }
.top nav { display: flex; gap: 1.75rem; font-size: 0.95rem; color: var(--mute); }
.top nav a[aria-current] { color: var(--ink); }
.top nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- home: contact sheet ---------- */
.sheet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 1.5rem;
  margin: 4rem 0 0;
}
.tile { display: block; }
.tile .frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;   /* containing block for the .zoom crop below */
  background: #f3f3f3;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .25s ease;
}
.tile .frame.paper { background: var(--panel); box-shadow: inset 0 0 0 1px var(--panel-edge); }
.tile .frame img, .tile .frame video {
  width: 100%; height: 100%; object-fit: cover;
}
/* .fit: show the whole image (diagrams) instead of cropping it to the tile */
.tile .frame.fit { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); padding: .6rem .75rem; }
.tile .frame.fit img { object-fit: contain; }
/* .plate: black ground for the GAN Study 1 gif — cover-cropped to fill the 4:3 tile (the gif is 227×237,
   near-square, so a thin strip of top/bottom is clipped; the animation's black background blends into the frame) */
.tile .frame.plate { background: #000; }
/* .zoom: a full-resolution image reframed in CSS so the tile shows a chosen detail of the whole drawing rather
   than a pre-cropped thumbnail. The image is laid out at 145% of the tile width (height follows its own aspect)
   and positioned inside the overflow-hidden frame — NOT scaled with transform: a transform rasterises the image
   at its 100% layout size and then stretches that bitmap, which is what made the tile look soft.
   Crop for 2015_002.jpg (1280×1756): left edge at 7% of the image width (-7% × 1.45 = -10.15% of the frame),
   top edge at ~20% of the image height (-0.203 × 1.372 × 1.45 ≈ -0.404 frame widths = -53.8% of the 4:3 height),
   showing head to hips with the model's left elbow just in frame and the ochre blocks at top right. */
.tile .frame img.zoom {
  position: absolute; left: -10.15%; top: -53.8%;
  width: 145%; height: auto; max-width: none;
}
/* .lift: cover-fit as usual, but anchored nearer the top of the image so a portrait photo (proto-bloom) keeps
   its upper part in the 4:3 tile instead of the dead-centre band */
.tile .frame img.lift { object-position: 50% 29%; }
.tile .frame iframe { width: 100%; height: auto; border: 0; pointer-events: none; }
.tile .frame .cell { width: 100%; height: 100%; }
/* .sketch: the case study's "Initial sketch" ASCII block as a tile. Sized against the tile width (cqw) so the
   8-line block stays at ~80% of the tile height at any column width; the margin-bottom reserves the 25%
   that pre.ascii's scaleY adds below the layout box, so the stretched glyphs sit centred. */
.tile .frame.sketch { container-type: inline-size; }
.tile .frame.sketch pre.ascii { font-size: 6cqw; margin-bottom: 12cqw; }
/* .terminal: the process page's palette on its tile — amber glyphs on the kitty ground, no hairline (the dark
   edge is its own frame), so the tile reads as a window onto that page */
.tile .frame.terminal { background: var(--terminal); box-shadow: none; }
.tile .frame.terminal pre.ascii { color: var(--amber); }
/* hover feedback: the whole frame dims slightly, whatever it holds (photo, gif, iframe, ASCII block, white diagram) */
.tile:hover .frame { opacity: .92; }
.tile:hover { text-decoration: none; }
.label { margin-top: 0.75rem; font-size: 0.925rem; line-height: 1.4; }
.label .t { display: block; font-weight: 500; }
.label .m { display: block; color: var(--mute); }
.tile:hover .label .t { text-decoration: underline; text-underline-offset: 0.15em; }

/* ---------- work page ---------- */
.work-head { margin: 4rem 0 3rem; max-width: 46rem; }
.work-head h1 { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 0.75rem; }
.wall {
  margin: 0 0 1.75rem; padding: 0;
  font-size: 0.9rem; color: var(--mute);
  display: grid; grid-template-columns: max-content 1fr; gap: 0.15rem 1.25rem;
}
.wall dt { margin: 0; color: var(--faint); }
.wall dd { margin: 0; }
.statement p { margin: 0 0 1em; }
.statement p:last-child { margin-bottom: 0; }
.statement { max-width: 42rem; }
.statement.wide { max-width: none; }

section.work { margin: 3rem 0; }
h2.quiet { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin: 3.5rem 0 1.25rem; }

figure { margin: 0; }
figcaption { font-size: 0.8rem; color: var(--mute); margin-top: 0.6rem; line-height: 1.45; }
figcaption .n { color: var(--faint); margin-right: .5rem; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.two img { width: 100%; cursor: zoom-in; }

/* katachi stage: a paper panel, one hairline, sits on the page rather than floating on it */
.stage {
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--panel-edge);
  padding: clamp(1.25rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: center;
  min-height: 24rem;
}
.stage .state { width: 100%; max-width: 560px; display: none; }
.stage .state.on { display: block; }
.stage iframe { width: 100%; height: auto; border: 0; }

/* state tabs: sit on top of the stage; the selected tab takes the paper colour and merges into the panel below,
   with an amber marker so the selection is unmistakable */
.tabs { display: flex; flex-wrap: wrap; gap: 0 .25rem; margin: 0; padding: 0; list-style: none; }
.tabs button {
  font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem;
  color: var(--mute); background: #fff; border: 0; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--rule);
  padding: .6rem 1.1rem; line-height: 1;
  transition: background .15s ease, color .15s ease;
}
.tabs button:hover { background: #f6f6f6; color: var(--ink); }
.tabs button:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.tabs button[aria-selected="true"] {
  background: var(--panel); color: var(--ink);
  box-shadow: inset 1px 0 0 var(--panel-edge), inset -1px 0 0 var(--panel-edge), inset 0 1px 0 var(--panel-edge);
}
.tabs button[aria-selected="true"]::before { content: "● "; color: var(--amber); font-size: .6em; vertical-align: .15em; }
.tabs-hint { font-size: .8rem; color: var(--faint); margin: 0 0 .6rem; }

/* katachi process page — set out like a research publication: eyebrow / title / byline / abstract /
   contents, numbered sections, numbered figures, a timeline of the versions, and end matter (colophon + citation) */
.authors { font-size: .9rem; color: var(--mute); margin: 0 0 1.5rem; }
.paper-head { max-width: none; }
.eyebrow { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 1rem; }
.eyebrow code { text-transform: none; }
.paper-head h1 { font-size: 2.25rem; max-width: none; }
.byline { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--rule); font-size: .9rem; }
.byline div, .byline dt, .byline dd { margin: 0; }
.byline dt { color: var(--faint); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .2rem; }
.byline dd { color: var(--ink); }

.fig { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8em; color: var(--amber); margin-right: .5em; letter-spacing: .02em; }
.showcase-fig figcaption { max-width: none; }

.abstract .lbl { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0 0 .5rem; }
.abstract strong { font-weight: 500; }

.contents { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: 2rem 0 0; font-size: .9rem; color: var(--mute); }
.contents .lbl { color: var(--faint); }
.contents a:hover { color: var(--ink); text-decoration: none; }

/* numbered sections (the case study only), the number in the accent; counts from 0 so Background is 0 */
article.study { counter-reset: sec -1; }
article.study h2.quiet { counter-increment: sec; }
article.study h2.quiet::before { content: counter(sec); color: var(--amber); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin-right: .75em; }

/* background: the session screenshot beside the sentence that introduces Claudito */
.context { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 42rem); gap: 1.5rem 2.5rem; align-items: center; }
.context-fig { margin: 0; }
.context-fig img { display: block; width: 100%; height: auto; background: var(--panel); box-shadow: inset 0 0 0 1px var(--panel-edge); }
.context p { margin: 0; }

/* key observations: numbered findings with the version reference as a small pill */
.findings { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.findings li { position: relative; padding-left: 2.75rem; margin: 0 0 1.1em; }
.findings li::before { counter-increment: f; content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: .15em; color: var(--amber); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
.findings strong { font-weight: 500; }
.ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75em; color: var(--mute); text-decoration: none; border: 1px solid var(--rule); border-radius: 3px; padding: .1em .45em; margin-left: .25em; white-space: nowrap; }
.ref::before { content: "→ "; }
.ref:hover, .ref.is-previewed { border-color: var(--ink); color: var(--ink); text-decoration: none; }

/* text on the left, a preview panel on the right that plays whichever version is hovered (film.js) */
.notes.wide { max-width: none; }
.with-preview { display: grid; grid-template-columns: minmax(0, 42rem) minmax(16rem, 24rem); gap: 2rem 3.5rem; align-items: start; }
.preview { position: sticky; top: 1.5rem; margin: 0; }
.preview .cell { aspect-ratio: 5 / 3; }
.preview-label { margin: .6rem 0 0; font-size: .85rem; color: var(--mute); line-height: 1.45; }
.preview-label .n { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8em; color: var(--ink); margin-bottom: .15rem; }
.hint { font-size: .8rem; color: var(--faint); margin: 1rem 0 0; }

/* design evolution: the phases as a list, then a timeline of 36 ticks, one per version, shaded by phase;
   hovering a tick previews that version on the right, clicking it goes to the card */
.strip-fig { max-width: 56rem; margin: 0; }
.strip-fig > p { margin: 0 0 1em; }
.strip-hint { margin: 1.75rem 0 .4rem; }
.strip { display: grid; grid-template-columns: repeat(36, minmax(0, 1fr)); gap: 2px; margin: 0 0 1rem; padding: 0; list-style: none; }
.strip li { margin: 0; }
.strip a { display: block; height: 2rem; background: var(--phase); color: transparent; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .65rem; line-height: 2rem; text-align: center; text-decoration: none; transition: filter .15s ease; }
.strip a:hover, .strip a:focus-visible, .strip a.is-previewed { filter: brightness(.85); color: var(--ink); outline: 0; }
.p1 { --phase: rgba(233, 174, 23, .22); }
.p2 { --phase: rgba(233, 174, 23, .38); }
.p3 { --phase: rgba(233, 174, 23, .54); }
.p4 { --phase: rgba(233, 174, 23, .70); }
.p5 { --phase: rgba(233, 174, 23, .86); }
.p6 { --phase: rgba(233, 174, 23, 1); }
.milestones { margin: 0; padding: 0; list-style: none; font-size: .9rem; display: grid; grid-template-columns: max-content 1fr; gap: .2rem 1.25rem; max-width: 42rem; }
.milestones dt { margin: 0; color: var(--faint); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
.milestones dd { margin: 0; color: var(--mute); }
.milestones.phases { display: grid; grid-template-columns: 1fr; gap: .4rem; max-width: none; }
.milestones.phases div { display: grid; grid-template-columns: max-content 1fr; gap: .1rem .6rem; align-items: baseline; margin: 0; }
.milestones.phases dt::before { content: ""; display: inline-block; width: .7em; height: .7em; background: var(--phase); margin-right: .5em; vertical-align: -.02em; }
.milestones.phases dd { grid-column: 2; }
.strip-fig figcaption { margin-top: 1rem; }

/* colophon: implementation beside citation */
.colophon-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem 3rem; }
.colophon-grid .sub { margin-top: 0; }
.colophon .notes, .colophon { max-width: none; }
.colophon p { max-width: 42rem; }
.bib { margin: 0 0 1.5rem; padding: 1rem 1.25rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; line-height: 1.5; color: var(--mute); background: #f6f6f6; overflow-x: auto; }

/* any .cell[data-src] gets an animated SVG mounted by film.js while it is on screen, scaled to fit */
.cell[data-src] { position: relative; background: var(--panel); box-shadow: inset 0 0 0 1px var(--panel-edge); overflow: hidden; }
.cell[data-src] iframe { position: absolute; left: 0; top: 0; max-width: none; border: 0; transform-origin: 0 0; }

/* showcase: initial sketch beside the final animation, as on the original case-study page */
.showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 56rem; }
.showcase .cell { aspect-ratio: 5 / 3; background: var(--panel); box-shadow: inset 0 0 0 1px var(--panel-edge); }
.showcase .cell.sketch { display: flex; align-items: center; justify-content: center; }
.showcase .cell.sketch pre { margin-bottom: 36px; } /* 8 lines × 18px × .25 — keeps the scaled block centred */

/* ASCII blocks exactly as the original case study sets them: 18px Menlo at line-height 1 so the block glyphs
   butt against each other, then stretched 1.25× to the cell proportions of the terminal they were drawn in.
   The transform does not affect layout, so containers reserve the extra 25% below (see .blocks, .sketch). */
pre.ascii {
  margin: 0; color: var(--ink);
  font-family: Menlo, "DejaVu Sans Mono", Consolas, ui-monospace, monospace;
  font-size: 18px; line-height: 1;
  transform: scaleY(1.25); transform-origin: top;
}

/* ASCII explorations: the prompt, then every block the agent produced for it; the figure caption sits beneath */
.explore-fig { margin: 0 0 2.5rem; }
.explore { margin: 0; }
.explore h3 { font-size: 1rem; font-weight: 500; margin: 0 0 .4rem; }
.explore .blocks { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.5rem 2.75rem; background: var(--panel); box-shadow: inset 0 0 0 1px var(--panel-edge); padding: 1.5rem 1.5rem calc(1rem + 40px); margin: .9rem 0 .6rem; overflow-x: auto; }
.sub { font-size: 1rem; font-weight: 500; margin: 2rem 0 1.25rem; }
.sub:first-child, h2.quiet + .sub { margin-top: 0; }
.explore .blk .lbl { font-size: .72rem; color: var(--mute); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin: 0 0 .5rem; }
.explore .blk .lbl .pick { color: var(--amber); }

/* the prompt that produced a step, quoted verbatim */
.q { display: block; color: var(--mute); }
.q::before { content: "› "; color: var(--faint); }

.film { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
.film figure .cell { aspect-ratio: 5 / 3; }
.film figcaption .n { display: inline-block; min-width: 2.6rem; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.film figcaption .d { color: var(--ink); }
.film figcaption .q { margin: .35rem 0 0; }
.film figcaption .f { display: block; margin-top: .3rem; color: var(--faint); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
.film figure:target .cell { outline: 2px solid var(--amber); outline-offset: -2px; }
.film-note { font-size: .8rem; color: var(--faint); margin: 1.5rem 0 0; }
.notes { max-width: 42rem; }
.notes p { margin: 0 0 1em; }
.notes strong { font-weight: 500; }
.notes ol { margin: 0 0 1em; padding-left: 1.25rem; }

/* page evolution: the four versions of the case-study page itself */
.pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.pages li { border-top: 1px solid var(--rule); padding-top: .75rem; }
.pages .t { display: block; font-weight: 500; }
.pages .d { display: block; color: var(--mute); margin-top: .25rem; }

/* video and audio embeds */
.ratio { position: relative; padding-bottom: 56.25%; height: 0; background: #f3f3f3; }
.ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1.5rem; }
.tracks figure iframe { width: 100%; border: 0; }
.tracks .wall { margin: .9rem 0 0; }
.track-head { font-size: .95rem; font-weight: 500; margin: 0 0 .6rem; }
.lead { max-width: 24rem; margin: 0 0 3rem; }

/* diagram plates: label above, image below; each plate is a separate project */
.plate { margin: 0 0 7rem; }
.plate:last-child { margin-bottom: 0; }
/* ~75% of the 88rem page at full width; narrower viewports fall back to the full column */
.plate img { display: block; width: 100%; max-width: 64rem; cursor: zoom-in; }
.plate .plate-label { font-size: .9rem; color: var(--mute); max-width: 42rem; margin: 0 0 1.5rem; }
.plate .plate-label h3 { font-size: 1rem; font-weight: 500; color: var(--ink); margin: 0 0 .25rem; }
.plate .plate-label .yr { color: var(--faint); margin: 0 0 .75rem; }
.plate .plate-label p { margin: 0 0 .75rem; }

/* publications */
.refs { margin: 0; padding: 0; list-style: none; max-width: 52rem; }
.refs li { margin: 0 0 1rem; padding-left: 2.75rem; position: relative; font-size: .95rem; line-height: 1.5; }
.refs li .yr { position: absolute; left: 0; top: 0; color: var(--faint); font-size: .85em; font-variant-numeric: tabular-nums; line-height: 1.75; }
.refs li .ti { color: var(--ink); }
.refs li .venue { color: var(--mute); }
.refs li a { color: var(--mute); }
.refs .me { font-weight: 500; }

/* about */
.bio { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 2.5rem; align-items: start; margin: 4rem 0 0; max-width: 60rem; }
.bio img { width: 100%; }
.bio h1 { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 1rem; }
.bio p { max-width: 42rem; margin: 0 0 1em; }
.bio .links { margin: 1.5rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: .9rem; color: var(--mute); }
.draft { color: var(--faint); font-style: italic; }

/* proto-bloom contact sheet */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.grid3 .cell { aspect-ratio: 3 / 4; background: #f3f3f3; overflow: hidden; }
.grid3 .cell img, .grid3 .cell video { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }

/* ---------- footer ---------- */
footer.foot {
  margin-top: 6rem; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  font-size: 0.8rem; color: var(--mute);
}
footer.foot nav { display: flex; gap: 1.25rem; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 50; display: none;
  background: rgba(255,255,255,.97); cursor: zoom-out;
  align-items: center; justify-content: center; padding: 2rem;
}
.lb.on { display: flex; }
.lb img, .lb video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb .cap { position: fixed; left: 0; right: 0; bottom: 1rem; text-align: center; font-size: 0.8rem; color: var(--mute); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.25rem; margin-top: 3rem; }
  .film { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plate { margin-bottom: 5rem; }
  .colophon-grid { grid-template-columns: 1fr; }
  .with-preview { grid-template-columns: 1fr; }
  .preview { position: static; max-width: 24rem; }
  .context { grid-template-columns: 1fr; }
  .context-fig { max-width: 22rem; }
  .paper-head h1 { font-size: 1.9rem; }
}
@media (max-width: 560px) {
  :root { --gutter: 1.125rem; }
  .sheet { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .tracks { grid-template-columns: 1fr; }
  .film { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .pages { grid-template-columns: 1fr; }
  pre.ascii { font-size: 14px; }
  .showcase .cell.sketch pre { margin-bottom: 28px; }
  .explore .blocks { padding-bottom: calc(1rem + 32px); }
  .bio { grid-template-columns: 1fr; gap: 1.5rem; }
  .bio img { max-width: 9rem; }
  .tabs button { padding: .55rem .8rem; }
  .grid3 { grid-template-columns: 1fr; }
  .work-head { margin: 2.5rem 0 2rem; }
  .wall { grid-template-columns: 1fr; gap: 0; }
  .wall dt { margin-top: .35rem; }
}
