/* Volodymyr Kolbasa — portfolio. Eighth version, 12 Oct 2026 (brave pass).
   Idea: the site is a dark room; each work is a lit window into somebody's home.
   You walk up to one and it brightens. One unit is light: the page where he speaks about himself.
   Emotional score, unit by unit:
     top line ........ a person, not a brand (quiet)
     the wall ........ pull: "I want to look in"
     each work ....... attention, one room at a time
     Neutralization .. dry, bitter wit: five objects on a shelf
     other works ..... a plain record
     about ........... warmth: daylight, a face, his own words
     contact ......... an open door
   The tile wall follows his spring 2026 site (one large tile, five around it, titles inside the pictures). */
:root {
  --bg: #100f0d; --ink: #ece6da; --soft: #a39b8e; --line: #2c2a26; --tint: #1a1815;
  --paper: #efe9dd; --paper-ink: #1b1916; --paper-soft: #5d574d; --paper-line: #d3cbbb;
  --warm: #e2a65a; --rule: #2f6b4a; --rule-bg: #dfeadf;
  --serif: "EB Garamond", Georgia, serif; --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: underline; text-decoration-color: rgba(236, 230, 218, 0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--warm); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--paper); color: var(--paper-ink); padding: 6px 10px; z-index: 5; }

/* top: the name is a signature, not a banner */
.top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 30px; padding-bottom: 26px; }
.top__name { font: 500 30px/1.05 var(--serif); letter-spacing: -0.005em; text-decoration: none; }
.top__line { margin-top: 8px; font-size: 15.5px; max-width: 34em; }
.top__line span { display: block; color: var(--soft); font-size: 14px; margin-top: 3px; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 26px; padding-top: 9px; }
.top nav a { font-size: 14.5px; color: var(--soft); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

/* the wall of windows */
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.tile { grid-column: span 2; aspect-ratio: 3 / 2; position: relative; overflow: hidden; display: block; background: #000; text-decoration: none; }
.tile--big { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile img { filter: brightness(0.62) saturate(0.85); transition: filter 0.6s ease, transform 1.6s ease; }
.tile video { opacity: 0; transition: opacity 0.5s ease; }
.tile:hover img, .tile:focus-visible img { filter: none; transform: scale(1.025); }
.tile.is-playing video { opacity: 1; }
.tile::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0)); pointer-events: none; }
.tile__label { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; }
.tile__label b { display: block; font: 400 clamp(22px, 2.3vw, 32px)/1.08 var(--serif); }
.tile--big .tile__label { left: 28px; bottom: 24px; }
.tile--big .tile__label b { font-size: clamp(30px, 3.6vw, 52px); }
.tile__label span { display: block; font-size: 13px; color: rgba(236, 230, 218, 0.82); margin-top: 5px; }

/* one work at a time */
.entry { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 52px; align-items: center; padding-top: 128px; }
.entry--flip > figure { order: 2; }
.entry figure img { width: 100%; }
.entry h2 { font: 400 clamp(30px, 3.2vw, 44px)/1.08 var(--serif); }
.entry__meta { font-size: 14.5px; color: var(--soft); margin-top: 10px; }
.entry__text { font-size: 17px; line-height: 1.55; margin-top: 20px; max-width: 30em; }
.entry__shown { font-size: 14px; color: var(--soft); margin-top: 16px; max-width: 36em; }
.entry__more { margin-top: 20px; font-size: 15.5px; }
.entry__more a { text-decoration-color: var(--warm); }

.shelf { padding-top: 136px; }
.shelf h2 { font: 400 clamp(30px, 3.2vw, 44px)/1.08 var(--serif); }
.shelf__meta { font-size: 14.5px; color: var(--soft); margin-top: 10px; }
.grid--3 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 4px; margin-top: 32px; }
.card__img { display: block; background: var(--tint); }
.card__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card h3 { font: 400 22px/1.15 var(--serif); margin: 14px 0 3px; padding-right: 14px; }
.card__meta { font-size: 13px; color: var(--soft); padding-right: 14px; }
.card__text { font-size: 14px; margin-top: 8px; padding-right: 14px; }

.sect { font: 400 26px/1.1 var(--serif); margin: 128px 0 20px; }
.sect span { font: 400 14.5px var(--sans); color: var(--soft); }
.rows li { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.rows li > span:first-child { color: var(--soft); }
.rows b { font-weight: 500; }

/* about: the one room with daylight */
.day { background: var(--paper); color: var(--paper-ink); margin-top: 136px; padding: 104px 0 112px; }
.day a { text-decoration-color: rgba(27, 25, 22, 0.4); }
.about { display: grid; grid-template-columns: 320px minmax(0, 36em); gap: 56px; align-items: start; }
.about p + p { margin-top: 1em; }
.about .first { font: 400 clamp(26px, 2.6vw, 34px)/1.2 var(--serif); }
.about .plain { margin-top: 28px; font-size: 15px; }
.about--page { padding: 72px 0 0; }

/* a work page */
.head { margin: 56px 0 36px; max-width: 46em; }
.head h1 { font: 400 clamp(38px, 5vw, 64px)/1.02 var(--serif); }
.head .uk { font: italic 400 20px var(--serif); color: var(--soft); margin-top: 6px; }
.head .meta { font-size: 14.5px; color: var(--soft); margin-top: 14px; }
.head .lede { font-size: 19px; line-height: 1.5; margin-top: 22px; }
.head .status { font-size: 14.5px; color: var(--soft); margin-top: 14px; }
.film { aspect-ratio: 16 / 9; background: #000; }
.film iframe { width: 100%; height: 100%; border: 0; display: block; }
.stills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 4px; }
.stills img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.text { max-width: 38em; font-size: 17px; }
.text p + p { margin-top: 1em; }
.facts { max-width: 46em; }
.facts > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.facts dt { color: var(--soft); }
table.mem { border-collapse: collapse; width: 100%; max-width: 46em; margin-top: 24px; font-size: 15.5px; }
table.mem th, table.mem td { text-align: left; padding: 10px 16px 10px 0; border-top: 1px solid var(--line); vertical-align: top; }
table.mem th { font-weight: 400; color: var(--soft); font-size: 13.5px; border-top: 0; }
table.mem td:first-child { font: 400 19px/1.2 var(--serif); white-space: nowrap; }
.statement { background: var(--paper); color: var(--paper-ink); margin-top: 128px; padding: 80px clamp(20px, 6vw, 96px) 88px; }
.statement h2 { font: 400 26px/1.1 var(--serif); margin-bottom: 24px; }
.statement .text { font: 400 20px/1.5 var(--serif); max-width: 34em; }

/* the script page: paper on a dark table */
.sheet-col { max-width: 760px; }
.sc-head { margin: 72px 0 18px; }
.sc-head--first { margin-top: 0; }
.sc-head h2 { font: 400 34px/1.1 var(--serif); }
.sc-head .mono { font-size: 13.5px; color: var(--soft); }
.sc-head h2 + p { margin-top: 8px; font-size: 15px; }
.lang { display: flex; gap: 8px; margin-top: 14px; }
.lang button { font: inherit; font-size: 14px; padding: 5px 12px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.sheet { font: 400 14px/1.6 "IBM Plex Mono", "Courier New", monospace; background: var(--paper); color: var(--paper-ink); padding: 44px 52px; }
.sheet p { margin: 0 0 0.9em; }
.sheet .scene-title { font-weight: 600; text-align: center; margin-bottom: 1.4em; }
.sheet .slug { font-weight: 600; }
.sheet .pov, .sheet .note { color: var(--paper-soft); }
.sheet .trans { text-align: right; margin-top: 1.4em; }
.sheet .who { margin: 1.3em 0 0 36%; }
.sheet .paren { margin: 0 20% 0 27%; color: var(--paper-soft); }
.sheet .line { margin: 0 12% 0.9em 17%; }
.sheet .inter, .sheet .trigger { background: var(--rule-bg); border-left: 3px solid var(--rule); padding: 8px 12px; color: #173a27; }
.sheet details.setup { margin: 0 0 1em; }
.sheet details.setup summary { cursor: pointer; color: var(--paper-soft); margin-bottom: 0.6em; }
.sheet__note, .who-wrote { font-size: 14px; color: var(--soft); margin-top: 24px; }
.who-wrote { border-left: 3px solid var(--warm); padding-left: 16px; color: var(--ink); }
.who-wrote p + p { margin-top: 6px; }
.todo { background: #ffd84d; color: #1b1916; padding: 0 3px; }
.threads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; max-width: 60em; font-size: 15px; }
.threads b { display: block; font: 400 21px/1.2 var(--serif); margin-bottom: 3px; }

/* foot */
.foot { margin-top: 0; padding-top: 56px; padding-bottom: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; }
.foot__mail { font: 400 clamp(26px, 3vw, 40px)/1.1 var(--serif); text-decoration-color: var(--warm); }
.foot span { color: var(--soft); font-size: 14.5px; }
.foot--gap { margin-top: 120px; border-top: 1px solid var(--line); }

@media (max-width: 1100px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 4px; }
}
@media (max-width: 820px) {
  .wrap { padding: 0 16px; }
  .top { flex-direction: column; gap: 4px; padding-top: 20px; }
  .mosaic { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile--big { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 2; }
  .tile img { filter: brightness(0.82); }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 80px; }
  .entry--flip > figure { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .threads { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about img { max-width: 220px; }
  .day, .statement { padding: 64px 0; margin-top: 88px; }
  .shelf, .sect { padding-top: 0; margin-top: 88px; }
  .stills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sheet { padding: 20px 16px; font-size: 13px; }
  .sheet .who { margin-left: 24%; }
  .sheet .paren { margin: 0 6% 0 16%; }
  .sheet .line { margin: 0 2% 0.9em 8%; }
}
@media (prefers-reduced-motion: reduce) { .tile img, .tile video { transition: none; } html { scroll-behavior: auto; } }

/* ===== second pass after the outside critic, 12 Oct 2026 ===== */
/* windows, not a mosaic: wider dark between them; brighten, never zoom (a survivor's face is not a gallery effect) */
.mosaic { gap: 10px; }
.tile:hover img, .tile:focus-visible img { transform: none; }
.tile { transition: box-shadow 0.6s ease; }
.tile:hover, .tile:focus-visible { box-shadow: 0 0 0 1px rgba(226, 166, 90, 0.55), 0 0 44px rgba(226, 166, 90, 0.16); }
.tile--cool img { filter: brightness(0.7) saturate(0.8); }
.tile--pale img { filter: brightness(0.8) saturate(0.9); }
.tile::after { inset: 35% 0 0 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0)); }
.tile__label span { font-size: 14px; color: var(--ink); }
/* the baked-in camera icon and subtitle of the Korolenko still are cropped out */
.crop-k { overflow: hidden; }
.crop-k img, .tile.crop-k img, .tile.crop-k:hover img { transform: scale(1.3); transform-origin: 0% 38%; }
/* the proof line is not the faintest thing on the screen */
.top__line span { color: var(--ink); }
.top nav a.cv { color: var(--ink); text-decoration: underline; text-decoration-color: var(--warm); text-underline-offset: 5px; }
/* every picture below the wall is a window too: dim until the reader stands in front of it */
.js .lit img { filter: brightness(0.5) saturate(0.8); transition: filter 0.9s ease; }
.js .lit.is-lit img { filter: none; }
/* his sentence leads each work */
.entry__text b { display: block; font: 400 24px/1.3 var(--serif); margin-bottom: 12px; }
.entry { align-items: start; }
.entry > div { padding-top: 6px; }
/* one work breaks the column */
.entry--wide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.entry--wide figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.entry--wide > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 52px; }
.entry--wide .col-b .entry__shown:first-child { margin-top: 6px; }
/* Neutralization: works in a room, not products on a row */
.grid--3 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 10px; }
.grid--3 .card { grid-column: span 2; }
.grid--3 .card:nth-child(-n+2) { grid-column: span 3; }
.card__img img { aspect-ratio: 3 / 2; }
.card h3 { font-size: 26px; }
.card__meta { font-size: 14px; }
.card__text { font-size: 15.5px; max-width: 32em; }
/* other works are works: same voice as the titles above */
.rows li { font-size: 15px; padding: 16px 0; align-items: baseline; }
.rows b { font: 400 24px/1.2 var(--serif); display: block; margin-bottom: 3px; }
.rows li > span:first-child { font: 400 20px var(--serif); }
/* the end: the one lit room holds his face, his words and his address */
.about { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.about figure img { width: 100%; }
.about p { font-size: 17px; max-width: 34em; }
.about .first { max-width: 18em; }
.about .plain { font-size: 17px; }
.day__mail { display: inline-block; margin-top: 36px; font: 400 clamp(28px, 3.2vw, 44px)/1.1 var(--serif); text-decoration-color: var(--warm) !important; }
.foot--end { justify-content: flex-end; padding-top: 28px; padding-bottom: 40px; }
/* work page: only About is daylight; the statement is his voice in the dark */
.statement { background: var(--tint); color: var(--ink); }
.statement .text { font-size: 21px; }
.facts--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; max-width: none; }
.facts--prose > div { grid-template-columns: minmax(0, 1fr); gap: 2px; border-top: 0; padding: 0 0 18px; }
.facts--prose dt { font-size: 13px; }
.facts--prose dd { font: 400 22px/1.35 var(--serif); max-width: 30em; }
.film { position: relative; }
.film button { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; color: var(--ink); }
.film button img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); transition: filter 0.5s ease; }
.film button:hover img { filter: brightness(0.85); }
.film button span { position: absolute; left: 28px; bottom: 24px; font: 400 clamp(24px, 3vw, 40px)/1 var(--serif); text-align: left; }
.film button span small { display: block; font: 400 14px var(--sans); margin-top: 8px; }
.film__alt { font-size: 14px; color: var(--soft); margin-top: 10px; }
.stills { margin-top: 10px; gap: 10px; }
.head h1 { text-wrap: balance; }
.head h1 i { display: block; font-size: 0.5em; color: var(--soft); margin-top: 8px; }
@media (max-width: 820px) {
  .mosaic { gap: 6px; }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid--3 .card, .grid--3 .card:nth-child(-n+2) { grid-column: auto; }
  .card__text { font-size: 15px; }
  .entry--wide > div, .facts--two { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .entry--wide figure img { aspect-ratio: 3 / 2; }
  .js .lit img { filter: brightness(0.8); }
}
/* fixes after looking at the second pass */
.crop-k img, .tile.crop-k img, .tile.crop-k:hover img { transform: scale(1.34); transform-origin: 0% 28%; }
figure.crop-k { aspect-ratio: 3 / 2; }
figure.crop-k img { height: 100%; object-fit: cover; }
.entry--wide figure { overflow: hidden; }
.entry--wide figure img { transform: scale(1.04); transform-origin: 0% 50%; }

/* the wall arranged by hand (assets/js/layout.js): rows of one height, holes filled */
.mosaic.is-placed { grid-auto-flow: dense; }
.mosaic.is-placed .tile { aspect-ratio: auto; }

/* ===== version 9, 12 Oct 2026: the white wall =====
   His words: the dark version is "way better" but "visuals take too much space", "not enough breathing space",
   "white background was better", "font can be more stylish".
   Idea: a white wall. Each work hangs alone with room around it; his sentence comes before any picture.
   Looked at: olafureliasson.net (half-width pictures, staggered, text under), lawrencelek.com (a large
   statement and white before the first image), studio Nergens / Celine Daemen (a display face with character).
   The composition of version 8 stays: the wall of six with one large, one work at a time, about at the end. */
:root {
  --bg: #fff; --ink: #161513; --soft: #77726a; --line: #e6e3dd; --tint: #f6f4f0;
  --paper: #f5f0e6; --paper-ink: #1b1916; --warm: #b4571f;
  --serif: "Instrument Serif", Georgia, serif; --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}
a { text-decoration-color: rgba(22, 21, 19, 0.28); }
.wrap { max-width: 1180px; padding: 0 48px; }
/* top: the name small, then his line large, then white */
.top { padding-top: 40px; padding-bottom: 104px; }
.top__name { font: 400 30px/1 var(--serif); letter-spacing: 0; }
.top__line { font: 400 clamp(28px, 3vw, 42px)/1.16 var(--serif); margin-top: 80px; max-width: 21em; }
.top__line span { font: 400 15px/1.5 var(--sans); color: var(--soft); margin-top: 20px; }
.top nav a { font-size: 15px; }
/* the wall: pictures with white between them, titles under the pictures */
.mosaic { gap: 56px 36px; }
.tile, .tile:hover, .tile:focus-visible { display: flex; flex-direction: column; aspect-ratio: auto; background: none; overflow: visible; box-shadow: none; }
.tile.crop-k { overflow: visible; }
.tile::after { display: none; }
.tile__pic { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--tint); }
.tile--big .tile__pic, .mosaic.is-placed .tile__pic { aspect-ratio: auto; flex: 1 1 0; min-height: 0; }
.tile img, .tile--cool img, .tile--pale img { filter: none; transition: opacity 0.3s ease; }
.tile:hover img, .tile:focus-visible img { filter: none; opacity: 0.86; }
.tile__label, .tile--big .tile__label { position: static; padding-top: 12px; }
.tile__label b { font-size: 25px; line-height: 1.1; }
.tile--big .tile__label b { font-size: 34px; }
.tile__label span { color: var(--soft); font-size: 14px; margin-top: 3px; }
/* nothing dims and lights up any more */
.js .lit img, .js .lit.is-lit img { filter: none; transition: none; }
/* one work at a time: a picture of modest size, text beside it, a long white pause before the next */
.entry { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 96px; padding-top: 200px; align-items: center; }
.entry--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.entry h2, .shelf h2 { font: 400 clamp(38px, 3.8vw, 54px)/1.02 var(--serif); }
.entry__text b { font: 400 27px/1.2 var(--serif); margin-bottom: 14px; }
.entry--wide { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 96px; }
.entry--wide > div { display: block; }
.entry--wide figure img { aspect-ratio: 3 / 2; }
.entry--wide .col-b .entry__shown:first-child { margin-top: 16px; }
/* Neutralization: five small objects in a row */
.shelf { padding-top: 200px; }
.grid--3 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 44px 28px; margin-top: 44px; }
.grid--3 .card, .grid--3 .card:nth-child(-n+2) { grid-column: auto; }
.card__img img { aspect-ratio: 1 / 1; }
.card h3 { font-size: 23px; padding-right: 0; }
.card__meta { font-size: 13px; padding-right: 0; }
.card__text { font-size: 14px; padding-right: 0; }
.sect { font-size: 30px; margin-top: 200px; }
.rows b { font-size: 26px; }
/* about: the same wall, a shade warmer */
.day { background: var(--tint); margin-top: 200px; }
.about .first { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.14; }
/* work page and script page */
.head { margin-top: 88px; margin-bottom: 56px; }
.head h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 0.98; }
.head .uk { font: 400 15px "IBM Plex Mono", monospace; margin-top: 12px; }
.film button, .film button span { color: #fff; }
.statement { background: var(--tint); color: var(--ink); margin-top: 160px; }
.statement h2, .sc-head h2 { font-size: 34px; }
.statement .text { font: 400 18px/1.6 var(--sans); max-width: 36em; }
.facts--prose dd { font-size: 25px; line-height: 1.2; }
table.mem td:first-child { font-size: 22px; }
.threads b { font-size: 24px; }
.sheet { border: 1px solid var(--line); }
@media (max-width: 1100px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .entry, .entry--flip, .entry--wide { gap: 48px; }
}
@media (max-width: 820px) {
  .wrap { padding: 0 20px; }
  .top { padding-top: 24px; padding-bottom: 56px; }
  .top__line { margin-top: 40px; }
  .mosaic { gap: 36px; }
  .tile--big .tile__pic { aspect-ratio: 3 / 2; flex: none; }
  .tile--big .tile__label b { font-size: 28px; }
  .entry, .entry--flip, .entry--wide { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 104px; }
  .shelf { padding-top: 104px; margin-top: 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .sect, .day, .statement { margin-top: 104px; }
  .head { margin-top: 40px; }
}
/* v9 fix: the menu stays on one line */
.top nav { flex-wrap: nowrap; flex: none; }
@media (max-width: 820px) { .top nav { flex-wrap: wrap; } }

/* ===== v9 second pass after the outside critic ===== */
/* the proof line reads; small grey text is larger and darker */
:root { --soft: #5c5852; }
.top { padding-bottom: 72px; }
.top__line span { font-size: 17px; color: var(--ink); }
.entry__meta, .shelf__meta, .entry__shown, .head .meta, .head .status, .foot span, .card__meta, .film__alt, .sc-head .mono, .sheet__note { font-size: 15px; }
.entry h2, .shelf h2 { text-wrap: balance; }
/* every work picture has the same proportion */
.entry figure img { aspect-ratio: 3 / 2; object-fit: cover; }
/* Neutralization: three and two, so the words under each object can be read */
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 36px; }
.card__img img { aspect-ratio: 3 / 2; }
.card h3 { font-size: 25px; }
.card__text { font-size: 15.5px; }
/* work page */
.film button span small::before { content: "\25B6\00A0"; }
.stills { margin-top: 24px; }
.film__alt { margin-top: 12px; }
.statement h2, .statement .text { margin-left: auto; margin-right: auto; max-width: 36em; }
/* script page: the language switch is two quiet words */
.lang { gap: 20px; }
.lang button { border: 0; border-bottom: 1px solid transparent; padding: 2px 0; color: var(--soft); font-size: 15px; }
.lang button[aria-pressed="true"] { background: none; color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 820px) {
  .grid--3 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
.statement h2, .statement .text { max-width: 648px; }

/* ===== v9 third pass: what both outside critics agreed on ===== */
/* one reading edge: words always on the left, the picture always on the right */
.entry, .entry--flip, .entry--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding-top: 144px; }
.entry > figure { order: 2; }
/* his own sentence about each work, in italic */
.entry__text b { font-style: italic; }
/* the line about himself uses the width of the page */
.top__line { max-width: 27em; }
/* even pauses */
.shelf { padding-top: 144px; }
.sect, .day { margin-top: 144px; }
.rows li { font-size: 16px; }
/* work page: the statement shares the left edge of everything else, no box */
.statement { background: none; padding: 0; margin-top: 120px; }
.statement h2, .statement .text { margin-left: 0; margin-right: 0; }
/* Ukrainian word on the switch in a face that has Cyrillic */
.lang button { font-family: "IBM Plex Mono", monospace; font-size: 14px; }
@media (max-width: 820px) {
  .entry, .entry--flip, .entry--wide { grid-template-columns: minmax(0, 1fr); padding-top: 96px; }
  .entry > figure { order: 0; }
  .shelf { padding-top: 96px; }
  .sect, .day, .statement { margin-top: 96px; }
  /* the wall on a phone: one large, the rest two by two, so the page is not six screens of pictures */
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .tile--big { grid-column: span 2; }
  .tile__label b { font-size: 20px; }
  .tile__label span { font-size: 13px; }
}

/* ===== v9 fourth pass: density. His words: "too much empty space now". One spacing system, from the outside critic ===== */
.wrap { max-width: 1336px; }
/* top: name and menu on one line, his line across the page under them, the wall starts on the first screen */
.top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; padding-top: 32px; padding-bottom: 44px; }
.top > div { display: contents; }
.top__name { grid-column: 1; grid-row: 1; }
.top nav { grid-column: 2; grid-row: 1; padding-top: 0; }
.top__line { grid-column: 1 / -1; grid-row: 2; margin-top: 40px; max-width: none; }
.top__line span { margin-top: 14px; }
/* the wall */
.mosaic { gap: 32px 24px; }
.tile__label, .tile--big .tile__label { padding-top: 10px; }
/* works: 96 between them, always; words 5 columns, picture 7, tops aligned */
.entry, .entry--flip, .entry--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding-top: 96px; align-items: start; }
.entry > div { padding-top: 0; }
#lionia { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.entry__meta { margin-top: 8px; }
.entry__text { margin-top: 20px; font-size: 17px; max-width: none; }
.entry__text b { margin-bottom: 12px; font-size: 26px; }
.entry__shown { margin-top: 12px; max-width: none; }
.entry--wide .col-b .entry__shown:first-child { margin-top: 12px; }
.entry__more { margin-top: 16px; }
/* Neutralization: five in one row, no hole */
.shelf { padding-top: 96px; }
.grid--3 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; margin-top: 28px; }
.card h3 { font-size: 23px; margin-top: 10px; }
.card__text { font-size: 15px; }
.sect { margin: 96px 0 20px; }
.day { margin-top: 96px; padding: 72px 0 80px; }
.about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.about--page { padding-top: 72px; }
/* work page and script page: heading in the left three columns, content in the other nine */
.head { margin: 64px 0 40px; }
main:has(> .head) { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
main:has(> .head) > * { grid-column: 1 / -1; }
main:has(> .head) > .sect { grid-column: 1 / span 3; margin: 88px 0 0; }
main:has(> .head) > .sect + * { margin-top: 88px; }
main:has(> .head) > .sect + *, main:has(> .head) > table.mem, main:has(> .head) > .sect + * + table.mem { grid-column: 4 / -1; max-width: none; }
main:has(> .head) > .text { max-width: 40em; }
.statement { display: grid; grid-template-columns: subgrid; margin-top: 88px; }
.statement h2 { grid-column: 1 / span 3; max-width: none; margin: 0; }
.statement .text { grid-column: 4 / span 8; max-width: none; font-size: 17px; }
.sheet-col { margin: 0 auto; width: 100%; }
@media (max-width: 1100px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .top { grid-template-columns: minmax(0, 1fr); padding-top: 20px; padding-bottom: 32px; }
  .top nav { grid-column: 1; grid-row: 2; margin-top: 8px; }
  .top__line { grid-row: 3; margin-top: 28px; }
  .mosaic { gap: 24px 16px; }
  .mosaic .tile:last-child { grid-column: span 2; }
  .entry, .entry--flip, .entry--wide { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 56px; }
  #lionia { margin-top: 40px; padding-top: 40px; }
  .shelf { padding-top: 56px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .sect, .day { margin-top: 56px; }
  .day { padding: 48px 0 56px; }
  main:has(> .head), .statement { display: block; }
  main:has(> .head) > .sect { margin: 56px 0 14px; }
  main:has(> .head) > .sect + * { margin-top: 0; }
  .statement { margin-top: 56px; }
  .statement h2 { margin-bottom: 14px; }
}

/* CV page */
.cvpage .sect { margin: 64px 0 12px; }
.cvpage .rows { max-width: 60em; }
