/* V·SAG house style. The minimal edition (2026-09-27), with the TOP BAR (2026-11-06). ONE source of truth: design/vsag.css.
   design/stamp.py copies this file, vsag.js and fonts/ into every room's public/ folder. Never edit the copies.

   One font (Inter). White and near black, gray for the second voice, no accent colour, no ornaments.
   One menu, a thin translucent bar across the very top (the wordmark at its left, the seven words in the middle,
   the light / dark switch at its right), identical on every page of every room; on phones it folds into a
   two line icon that opens a full screen list. Text sits in one centred column under it.

   Order: fonts, tokens, base, frame, menu (the bar, the phone sheet), footer, build on scroll, type, home,
   lists, entry, page heads, controls, sheets and windows, print. */

/* ---------- fonts: Inter only, self hosted on www and shared by every room (one download, no swap
   when moving between rooms; Caddy sends the CORS header), split by script ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("https://www.v-sag.com/fonts/inter-roman-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("https://www.v-sag.com/fonts/inter-symbols.woff2") format("woff2"); unicode-range: U+2190-2193, U+2197-2198, U+25B6, U+2715; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("https://www.v-sag.com/fonts/inter-roman-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("https://www.v-sag.com/fonts/inter-roman-latin.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; }

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --paper:   #ffffff;               /* the page */
  --paper-2: #f4f4f4;               /* quiet insets: fields, code, empty image wells */
  --paper-3: #f9f9f9;               /* a row under the pointer */
  --ink:     #111111;               /* text, about 19:1 */
  --ink-2:   #595959;               /* the second voice: dates, captions, the menu, 7:1 */
  --ink-3:   #8f8f8f;               /* hairline marks only, never text you need */
  --rule:    rgba(0, 0, 0, .09);
  --rule-2:  rgba(0, 0, 0, .18);
  --gold:    #111111;               /* the old accent names stay for the rooms; there is no accent now */
  --gold-ink:#111111;
  --glow:    transparent;
  --select:  rgba(0, 0, 0, .1);
  --error:   #b42318;               /* form errors, about 6:1 */

  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif:   var(--sans);            /* one font: every older name points at Inter */
  --display: var(--sans);
  --mono:    var(--sans);
  --code:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --text:    1.0625rem;              /* 17px */
  --leading: 1.7;
  --measure: 40rem;                  /* the reading column, about 70 characters */
  --gutter:  clamp(1.25rem, 4vw, 2rem);
  --frame:   74rem;                  /* the widest the page's own content stands */
  --edge:    0px;                    /* kept for the rooms' own css: there is no left column any more */
  --rail:    0px;
  --bar:     3rem;                   /* the top bar's height, on every screen (the rooms' sticky parts sit below it) */
  --r:       8px;
  --ease:    cubic-bezier(.22, .61, .36, 1);   /* things arrive quickly and settle slowly */
}

:root[data-theme="night"] {
  color-scheme: dark;
  --paper: #0a0a0a; --paper-2: #171717; --paper-3: #121212;
  --ink: #ededed; --ink-2: #a3a3a3; --ink-3: #6b6b6b;
  --rule: rgba(255, 255, 255, .1); --rule-2: rgba(255, 255, 255, .2);
  --gold: #ededed; --gold-ink: #ededed; --select: rgba(255, 255, 255, .16); --error: #f97066;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="paper"]):not([data-theme="sepia"]) {
    color-scheme: dark;
    --paper: #0a0a0a; --paper-2: #171717; --paper-3: #121212;
    --ink: #ededed; --ink-2: #a3a3a3; --ink-3: #6b6b6b;
    --rule: rgba(255, 255, 255, .1); --rule-2: rgba(255, 255, 255, .2);
    --gold: #ededed; --gold-ink: #ededed; --select: rgba(255, 255, 255, .16); --error: #f97066;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + var(--annh, 0px) + 1rem); }
html.menu-open { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--text); line-height: var(--leading);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
::selection { background: var(--select); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -999px; z-index: 90; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); color: var(--ink); padding: .5rem .8rem; border: 1px solid var(--rule-2);
  border-radius: var(--r); font-size: .875rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* the old ornaments render as nothing, wherever a room still has one in its markup */
.st { display: none !important; }

/* ---------- the frame: every page's content starts at the same place, centred under the bar ---------- */
.col, .page, .wide { margin-inline: auto; padding-inline: var(--gutter); }
.col, .page { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.wide { max-width: calc(var(--frame) + 2 * var(--gutter)); }

/* ---------- LAUNCH 2026-11-11: the «out now» bar above the menu, on every page (design/shell.py ANNOUNCE). It scrolls away; the menu stays sticky. ---------- */
:root { --ann: 0px; --annh: var(--ann); }   /* --annh: the bar's real height (vsag.js measures it: two lines when the words are large). NO BAR since 2026-11-17 (the keeper: «REMOVE SITE WISE THE ELEVEN ELEVEN TOP BAR»; design/shell.py ANNOUNCE is empty), so 0px: the menu sits at the very top. A bar back = 2.25rem here. */
.announce { position: sticky; top: 0; z-index: 42; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem .6rem; min-height: var(--ann); padding: .35rem 1rem;
  background: #0b0d14; color: #fff; font-family: var(--sans); font-size: clamp(.6875rem, 3.1vw, .8125rem); line-height: 1.3; text-align: center; }
.announce__news, .announce__stores a { white-space: nowrap; }   /* HOTFIX 2026-11-11: the bar WRAPS to a second line rather than cutting its words (Instagram's browser on Android scales text by the phone's font size: ~1.35 on the keeper's Pixel) */
.announce a { color: #fff; text-decoration: none; }
.announce__news b { font-weight: 700; }
.announce__news:hover { text-decoration: underline; text-underline-offset: 3px; }
.announce__stores { display: inline-flex; gap: .4rem; }
.announce__stores a { padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .14); transition: background-color .3s ease; }
.announce__stores a:hover { background: rgba(255, 255, 255, .28); }
.announce a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 22.5rem) { .announce { gap: .5rem; padding: 0 .6rem; } .announce__is { display: none; } .announce__stores a { padding: .3rem .55rem; } }

/* ---------- the menu: a thin bar across the top; phones get a two line icon that opens a full screen list ---------- */
.site-head, .site-foot { font-family: var(--sans); font-size: 1rem; line-height: 1.5; }   /* identical in every room, whatever the room's own type */
.site-head { position: sticky; top: var(--annh, 0px); z-index: 40;   /* HOTFIX 2026-11-11: under the out-now bar, which stays (the keeper: «SHOULD STICK and stay when scrolling down») */
   height: var(--bar); background: var(--paper); border-bottom: 1px solid var(--rule); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-head { background: color-mix(in srgb, var(--paper) 78%, transparent);
    -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); }
}
/* a page that has a bar of its own (the eleven:eleven page) lets this one scroll away and stands its own in the sticky place, as Apple's global bar does */
body[data-localnav] .site-head { position: relative; top: auto; }   /* in the flow under the out-now bar (whatever its height); it scrolls away and the page's own bar takes the sticky place */
.site-head__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%;
  max-width: calc(var(--frame) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.brand { grid-column: 1; margin: 0; line-height: 1; }
.wordmark { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand__room { display: none; }   /* no room names beside the wordmark: the menu says where you are */
.menubtn, .pill, .themebtn { font: 400 .8125rem/1 var(--sans); color: var(--ink-2); background: none; border: 0; padding: .7rem 0;
  cursor: pointer; }
.menubtn:hover, .pill:hover, .themebtn:hover { color: var(--ink); }
.themebtn svg { display: none; }
.menubtn { display: none; }

/* the seven words, in the middle of the bar (on phones the panel is a closed popover: the rules under 48rem open it) */
@media (min-width: 48rem) { .rail__panel, .rail__panel:popover-open, .rail__panel.is-open { display: contents; } }
.site-nav { grid-column: 2; }
.site-nav ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.25rem); }
.site-nav__group { display: none; }
.site-nav a { display: block; padding: .5rem 0; font-size: .8125rem; font-weight: 400; line-height: 1.4; color: var(--ink-2);
  text-decoration: none; transition: color .15s ease; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.sky, .spy { display: none !important; }
.rail__foot { grid-column: 3; justify-self: end; display: flex; }
.rail__foot .themebtn { padding-inline: 0; }

/* phones: the brand and a two line icon; the icon opens the words as a full screen list under the bar (an HTML popover; vsag.js toggles a class where popovers are missing) */
@media (max-width: 47.99rem) {
  .site-head__in { display: flex; justify-content: space-between; }
  .menubtn { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin-right: -.75rem; padding: 0; }
  .menubtn__bars { position: relative; display: block; width: 1.0625rem; height: .5rem; }
  .menubtn__bars i { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor;
    transition: transform .35s var(--ease); }
  .menubtn__bars i:first-child { top: 0; }
  .menubtn__bars i:last-child { bottom: 0; }
  .menubtn[aria-expanded="true"] { color: var(--ink); }
  .menubtn[aria-expanded="true"] .menubtn__bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menubtn[aria-expanded="true"] .menubtn__bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  html.menu-open .site-head { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .rail__panel:popover-open, .rail__panel.is-open {
    position: fixed; inset: calc(var(--bar) + var(--annh, 0px)) 0 0 0; z-index: 80; width: 100%; height: auto; max-width: none; max-height: none; margin: 0;
    border: 0; padding: 1.25rem var(--gutter) 2.5rem; background: var(--paper); color: var(--ink);
    display: flex; flex-direction: column; overflow-y: auto; }
  .rail__panel::backdrop { background: transparent; }
  .rail__panel > * { flex-shrink: 0; }
  .site-nav { grid-column: auto; }
  .site-nav ol { display: block; }
  .rail__panel:popover-open .site-nav li, .rail__panel.is-open .site-nav li { animation: menu-in .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + 60ms); }
  .rail__panel:popover-open .site-nav a, .rail__panel.is-open .site-nav a { padding-block: .6rem; font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--ink-2); }
  .rail__panel:popover-open .site-nav a:hover, .rail__panel.is-open .site-nav a:hover,
  .rail__panel:popover-open .site-nav a[aria-current="page"], .rail__panel.is-open .site-nav a[aria-current="page"] { color: var(--ink); }
  .rail__panel:popover-open .rail__foot, .rail__panel.is-open .rail__foot { margin-top: 2rem; justify-self: start; animation: menu-in .55s var(--ease) 450ms both; }
  .rail__panel .themebtn { font-size: .9375rem; }
}
@supports not selector(:popover-open) { @media (max-width: 47.99rem) { .rail__panel:not(.is-open) { display: none; } } }
@keyframes menu-in { from { opacity: 0; transform: translate3d(0, -.75rem, 0); } to { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
.site-foot { margin-top: 6rem; }
.site-foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.5rem 3rem;
  border-top: 1px solid var(--rule); font-size: .8125rem; line-height: 1.5; color: var(--ink-2); }
.site-foot__sign { margin: 0; }
.site-foot nav { display: flex; gap: 1.25rem; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

/* ---------- build on scroll: a block arrives from above, below or a side as it comes into view, then stays.
   vsag.js adds .is-in once; only transform and opacity move, and a visitor who asks for less motion (or has no script) sees it all settled.
   <p data-reveal>, data-reveal="left | right | up | down | fade", style="--d:120ms" delays one block behind another. ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 1.75rem, 0); transition: opacity .9s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms); }
.js [data-reveal="down"] { transform: translate3d(0, -1.75rem, 0); }
.js [data-reveal="left"] { transform: translate3d(-3rem, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(3rem, 0, 0); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js:not([data-motion]) [data-reveal] { opacity: 1; transform: none; transition: none; } }   /* (a page that says data-motion on <html> decides its own: the eleven page keeps its story) */

/* the books reader keeps a thin reading line */
.progress { position: fixed; inset: 0 auto auto 0; height: 2px; width: 0; z-index: 60; background: var(--ink); opacity: .55; }

/* ---------- type ---------- */
h1 { margin: 0 0 1rem; font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); font-weight: 600; line-height: 1.07; letter-spacing: -.035em; }
h1 em, h2 em { font-style: normal; }
.display { font-weight: 600; }
.eyebrow, .label, .dateline, .meta { margin: 0; font-size: .875rem; font-weight: 400; line-height: 1.5; letter-spacing: 0;
  text-transform: none; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.eyebrow a, .dateline a, .meta a { color: inherit; text-decoration: none; }
.eyebrow a:hover, .dateline a:hover, .meta a:hover { color: var(--ink); }
.dot { color: var(--ink-3); }
.lede, .lead { margin: 0; font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.more { display: inline-block; margin-top: 1rem; font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.more::after { content: " \2192"; }
.more:hover { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- home ---------- */
.intro { padding-top: clamp(3.5rem, 11vw, 7rem); }
.intro h1 { font-size: clamp(2.5rem, 1.1rem + 5vw, 4rem); line-height: 1.04; letter-spacing: -.04em; }
.intro p { margin: 0; max-width: 34rem; font-size: clamp(1.1875rem, 1rem + .8vw, 1.5rem); line-height: 1.5; letter-spacing: -.01em; color: var(--ink-2); text-wrap: pretty; }
.section { margin-top: clamp(4rem, 11vw, 7rem); }
.section__title { margin: 0 0 .9rem; font-size: .875rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--ink-2); }

/* the home (2026-11-08): who, news of the apps, the latest music and the albums, the last three entries, the books. It stands on the
   wide frame, every block starts at the wordmark's left edge; grids fold to one column under 56rem; nothing but tokens and Inter. */
.home .section__title { margin-bottom: 1.25rem; }
.section--next { margin-top: clamp(2.5rem, 7vw, 4rem); }

/* news of the apps: eleven:eleven first and larger, the others as small rows beside it (under it on a phone) */
.appsnews { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: start; }
.feat { display: flex; gap: 1.25rem; align-items: flex-start; }
.feat__icon { flex: none; width: 4.5rem; height: 4.5rem; background: var(--paper-2); }
.feat__icon--round { border-radius: 22%; }
.feat__body { min-width: 0; }
.feat h3 { margin: .2rem 0 .4rem; font-size: calc(var(--fit, 1) * clamp(1.875rem, 1.3rem + 1.9vw, 2.75rem)); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.feat h3 strong, .own strong { font-weight: 600; }
.feat__line { margin: 0; max-width: 30rem; font-size: 1.125rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.feat__news { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .75rem; margin: 1.25rem 0 0; }
.feat__news a { font-size: .9375rem; font-weight: 500; text-decoration: none; }
.feat__news a::after { content: " \2192"; }
.feat__news a:hover { text-decoration: underline; text-underline-offset: .2em; }
.feat__stores { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.feat .more { margin-top: 1.25rem; }
.feat__stores + .more { margin-top: 1rem; }
.appsnews__others { padding-top: .2rem; }

/* music: the latest releases with their covers, then the albums on a shelf. A cover keeps its own proportions (no cropping of
   the lettering on it): it stands in a square, on its bottom edge, and a release without a cover is a quiet empty square. */
.rels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(2rem, 6vw, 5rem); }
.rels a { display: flex; gap: 1.1rem; align-items: flex-start; text-decoration: none; }
.cover { position: relative; flex: none; display: block; width: 5.5rem; aspect-ratio: 1; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.cover--none { background: var(--paper-2); border-radius: 4px; }
.rel__text { display: block; min-width: 0; }
.rel__text b, .shelf b { display: block; font-weight: 500; line-height: 1.35; }
.rel__text .meta, .shelf .meta { display: block; }
.rel__note { display: block; margin-top: .3rem; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.rels a:hover b, .shelf a:hover b { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.own { margin: 1.75rem 0 0; font-size: .9375rem; color: var(--ink-2); }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 9.5rem)); gap: 1.5rem .9rem; }
@media (min-width: 48rem) { .shelf { grid-template-columns: repeat(6, minmax(0, 9.5rem)); gap: 1.75rem 1.25rem; } }
.shelf a { display: block; text-decoration: none; }
.shelf .cover { width: 100%; }
.shelf b { margin-top: .65rem; font-size: .9375rem; line-height: 1.3; text-wrap: balance; }

/* the last three entries: a photograph, the date, the title, the excerpt; the whole card is the title's link */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 2.5rem); }
.card { position: relative; }
.card__photo { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.card__text { margin-top: 1rem; }
.card h3 { margin: .2rem 0 .45rem; font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:focus-visible { outline: none; }
.card h3 a:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: var(--r); }
.card:hover h3 a { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.card__text > p:last-child { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.list--books { max-width: 30rem; }
.cards + .more { margin-top: 2rem; }

@media (max-width: 55.99rem) {
  .appsnews, .rels { grid-template-columns: minmax(0, 1fr); }
  .rels { gap: 1.25rem; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .card { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
  .card__text { margin-top: 0; }
}
@media (max-width: 29.99rem) {
  .feat { gap: 1rem; }
  .feat__icon { width: 4rem; height: 4rem; }
  .cover { width: 4.5rem; }
  .card { display: block; }
  .card__text { margin-top: 1rem; }
}

/* ---------- lists: a title and a date, nothing else ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list a { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: .45rem 0; text-decoration: none; }
.list__title { color: var(--ink); }
.list__date, .list__note { flex: none; font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.list a:hover .list__title { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
@media (max-width: 30rem) { .list a { flex-direction: column; gap: 0; padding: .55rem 0; } }

/* the notebook: a year, then its entries */
.yeargroup { margin-top: 2.75rem; }

/* ---------- an entry: one column, text first ---------- */
.entry { padding-top: clamp(3.5rem, 11vw, 7rem); }
.entry h1 { margin: .5rem 0 1rem; }
.entry .lead { margin-bottom: 2.25rem; }
.prose p { margin: 0 0 1.3em; text-wrap: pretty; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.prose h2 { margin: 2em 0 .6em; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.prose blockquote { margin: 1.8em 0; padding-left: 1.1em; border-left: 2px solid var(--rule-2); color: var(--ink-2); }
.prose blockquote p { margin: 0; }
.prose strong { font-weight: 600; }
.prose hr, .break { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }

/* photographs sit in the column, plain */
.plate { margin: 2.25em 0; }
.plate img { width: 100%; border-radius: var(--r); background: var(--paper-2); }
.plate figcaption { margin-top: .6rem; font-size: .8125rem; color: var(--ink-2); }
.plate--inset { margin: 2rem 0; max-width: 22rem; }
.plate--inset img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 38%; }

.gallery-title { margin: 2.5rem 0 .75rem; font-size: .875rem; color: var(--ink-2); }
.entry .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.entry .gallery a { display: block; }
.entry .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--paper-2); }

/* earlier and later */
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--rule); }
.pager a { display: block; text-decoration: none; }
.pager span { display: block; font-size: .8125rem; color: var(--ink-2); }
.pager b { display: block; margin-top: .2rem; font-weight: 500; line-height: 1.4; }
.pager a:hover b { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.pager .next { text-align: right; }
@media (max-width: 30rem) { .pager { grid-template-columns: minmax(0, 1fr); } .pager .next { text-align: left; } }

.aside-book { display: flex; gap: .9rem; align-items: center; margin-top: 2rem; text-decoration: none; }
.aside-book img { width: 40px; flex: none; border-radius: 3px; }
.aside-book p { margin: 0; font-size: .9375rem; line-height: 1.45; }
.aside-book b { display: block; font-weight: 500; }
.aside-book span { display: block; color: var(--ink-2); font-size: .875rem; }
.aside-book .label { font-size: .8125rem; }
.aside-book .go { color: var(--ink); font-weight: 500; }
.aside-book:hover b { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* ---------- page heads (biography, portfolio, the notebook, room fronts) ---------- */
.pagehead { padding-top: clamp(3.5rem, 11vw, 7rem); }
.pagehead h1 { margin: .35rem 0 1rem; }
.pagehead .lede b { font-weight: 600; color: var(--ink); }

.block { margin-top: clamp(3rem, 8vw, 4rem); }
.block > .label, .block > .eyebrow, .block > h2 { margin: 0 0 .75rem; font-size: .875rem; font-weight: 500; color: var(--ink-2); }

/* the works: a title, a line about it, a small note */
.works { list-style: none; margin: 0; padding: 0; }
.works a, .works .row { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: baseline;
  padding: .6rem 0; text-decoration: none; }
.works .y { font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.works b { display: block; font-weight: 500; line-height: 1.4; }
.works i { display: block; font-style: normal; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.works em { font-style: normal; font-size: .8125rem; color: var(--ink-2); white-space: nowrap; }
.works a:hover b { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.works--plain a, .works--plain .row { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 34rem) {
  .works a, .works .row { grid-template-columns: 3rem minmax(0, 1fr); }
  .works em { grid-column: 2; }
  .works--plain a, .works--plain .row { grid-template-columns: minmax(0, 1fr); }
  .works--plain em { grid-column: 1; }
}

/* at a glance */
.facts { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .1rem 1rem; margin: 0; }
.facts dt, .facts dd { margin: 0; padding: .3rem 0; }
.facts dt { font-size: .875rem; color: var(--ink-2); line-height: 1.7; }

.links { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin: 0; }
.links a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.links + .links { margin-top: .6rem; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font: 500 .9375rem/1.2 var(--sans);
  color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: var(--r); padding: .7rem 1.1rem;
  text-decoration: none; cursor: pointer; transition: opacity .15s ease; }
.btn:hover { opacity: .85; }
.btn--quiet, .btn--ghost { color: var(--ink); background: transparent; border-color: var(--rule-2); }
.btn--quiet:hover, .btn--ghost:hover { opacity: 1; border-color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: default; }
.field { font: 400 1rem/1.2 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--rule-2);
  border-radius: var(--r); padding: .75rem .9rem; width: 100%; }
.field:focus { border-color: var(--ink); outline: none; }
.field::placeholder { color: var(--ink-3); }
.field[aria-invalid="true"] { border-color: var(--error); }

/* filters and steps are plain words; the chosen one is ink, medium, underlined */
.words { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .9375rem; }
.words button { font: inherit; color: var(--ink-2); background: none; border: 0; padding: .4rem 0; cursor: pointer; }
.words button:hover { color: var(--ink); }
.words button.is-on, .words button[aria-pressed="true"], .words button[aria-current] { color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .45em; }

@media (pointer: coarse) { .site-nav a { padding-block: .55rem; } .words button, .site-foot a { padding-block: .7rem; } }

/* ---------- a sheet: the one overlay pattern (contents, gates, settings) ---------- */
.sheet { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 1.25rem; background: rgba(0, 0, 0, .4); }
.sheet[hidden] { display: none; }
.sheet__card { position: relative; width: 100%; max-width: 30rem; max-height: 86vh; overflow: auto; background: var(--paper);
  color: var(--ink); border: 1px solid var(--rule); border-radius: 12px; padding: 1.75rem; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.sheet__close { position: absolute; top: .75rem; right: .85rem; font: 400 1.25rem/1 var(--sans); color: var(--ink-2); background: none;
  border: 0; padding: .35rem .5rem; cursor: pointer; }
.sheet__close:hover { color: var(--ink); }

/* a dark window: canvases keep their own night inside a light page */
.window { --w-ink: #e9e9e9; --w-ink-2: #a3a3a3; --w-rule: rgba(255, 255, 255, .16); --w-gold: #e9e9e9;
  background: #0b0b0c; background-clip: padding-box; color: var(--w-ink); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) { :root:not([data-motion]) *, :root:not([data-motion]) *::before, :root:not([data-motion]) *::after { transition: none !important; animation: none !important; } }   /* every page of the house stands still ... */
/* ... except one that says <html data-motion="story">: its motion happens only when the visitor scrolls (and a slow breath), and it softens itself under Reduce Motion in its own css */

/* ---------- print ---------- */
@media print {
  .announce { display: none !important; }
  body { padding: 0 !important; background: #fff; color: #000; font-size: 11pt; }
  .site-head, .site-foot, .pager, .aside-book, .progress { display: none !important; }
  .col, .page, .wide { max-width: none; padding: 0; }
}
