/* LiteGallery — "Test strip" (round-1 direction A, operator pick 2026-10-22).
   Source of truth: pressroom repo design/litegallery/theme/test-strip (prototype: previews-r1/a-teststrip).
   A printed annual in two colours: fixer-paper ground, black ink, safelight red. One vertical axis at 42% of the
   width carries every heading; the zone left of it holds notes, figures and controls. Signature: the section strip,
   six bands stepping from paper to black like a darkroom test strip.
   Fonts: Geologica (display, variable 500–700) + Spectral (text), self-hosted latin / latin-ext / cyrillic. */
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/geologica-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/geologica-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/geologica-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; }
@font-face { font-family: 'Spectral'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/spectral-400i-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Spectral'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/spectral-400i-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Spectral'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/spectral-400i-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; }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/spectral-400-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/spectral-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/spectral-400-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; }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/spectral-600-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/spectral-600-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/spectral-600-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; }
:root {
  --paper: #f2f2ef;
  --paper-2: #e6e4dd;
  --ink: #151514;
  --muted: #45433f;
  --red: #b8141a;
  --red-ink: #ffffff;
  --dark: #161514;
  --dark-2: #2a2926;
  --dark-ink: #f2f2ef;
  --t0: #e6e4dd; --t1: #c7c4bb; --t2: #9c988f; --t3: #6a6760; --t4: #3a3936; --t5: #161514;
  --f-d: "Geologica", "Helvetica Neue", Arial, sans-serif;
  --f-t: "Spectral", Georgia, "Times New Roman", serif;
  --s-small: 0.9375rem;
  --s-body: 1.1875rem;
  --s-lead: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --s-head: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  --s-mast: clamp(2.75rem, 0.9rem + 6.6vw, 7.5rem);
  --m: clamp(16px, 2.3vw, 32px);
  --gap: 32px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-t); font-size: var(--s-body); line-height: 1.55; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
h1, h2, h3, h4 { font-family: var(--f-d); font-weight: 700; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 10; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.dark :focus-visible, .red :focus-visible, .ft :focus-visible { outline-color: var(--dark-ink); }

/* ---------- the axis ---------- */
.axis { display: grid; grid-template-columns: minmax(0, calc(42vw - var(--m) - var(--gap) / 2)) minmax(0, 1fr); column-gap: var(--gap); padding-inline: var(--m); }
.axis > .side { min-width: 0; }
.axis > .main { min-width: 0; }

/* ---------- header bar ---------- */
.bar { background: var(--paper); position: relative; z-index: 5; }
.bar-in { display: flex; align-items: center; gap: 24px; padding: 14px var(--m); }
.mark { font-family: var(--f-d); font-weight: 700; font-size: var(--s-lead); letter-spacing: -0.03em; text-decoration: none; }
.bar-nav { flex: 1; min-width: 0; }
.bar-nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--f-d); font-weight: 500; font-size: var(--s-small); }
.bar-nav a { text-decoration: none; padding: 10px 0; display: inline-block; }
.bar-nav a:hover { color: var(--red); }
.bar-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.sform { display: flex; }
.sform input, .sform-m input { font: inherit; font-family: var(--f-d); font-size: var(--s-small); border: 0; background: var(--paper-2); color: var(--ink); padding: 0 12px; height: 44px; width: 13rem; border-radius: 0; -webkit-appearance: none; appearance: none; }
.sform input::placeholder, .sform-m input::placeholder { color: var(--muted); }
.sbtn { font-family: var(--f-d); font-weight: 600; font-size: var(--s-small); height: 44px; padding: 0 16px; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; transition: transform 140ms var(--ease); }
.sbtn:active { transform: scale(0.97); }
.lang { display: inline-flex; font-family: var(--f-d); font-weight: 600; font-size: var(--s-small); text-decoration: none; height: 44px; align-items: stretch; }
.lang span { display: inline-flex; align-items: center; padding: 0 12px; }
.lang .lang-on { background: var(--ink); color: var(--paper); }
.lang .lang-off { background: var(--paper-2); transition: background-color 160ms var(--ease); }
.lang:hover .lang-off { background: var(--red); color: var(--red-ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--f-d); font-weight: 600; font-size: var(--s-small); height: 44px; display: inline-flex; align-items: center; padding: 0 14px; background: var(--paper-2); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--paper); }
.menu-panel { position: absolute; right: 0; top: 100%; width: min(84vw, 320px); background: var(--ink); color: var(--paper); padding: 8px 0 16px; font-family: var(--f-d); z-index: 6; }
.menu-panel ul a { display: block; padding: 12px 18px; text-decoration: none; }
.menu-panel ul a[aria-current] { color: #ff6f61; }
.menu .sform-m { display: flex; padding: 8px 18px 0; }
.menu .sform-m input { flex: 1; width: auto; }
.menu .sform-m .sbtn { background: var(--red); }

/* ---------- masthead ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1.25fr 2fr 1fr 1.25fr; height: clamp(240px, 44vh, 470px); }
.mo { overflow: hidden; position: relative; min-width: 0; }
.mo img { width: 100%; height: 100%; object-fit: cover; }
.mo-1 img { object-position: 50% 20%; }
.mo-3 img { object-position: 50% 15%; }
.mo-red, .mo-ink { display: flex; align-items: flex-end; padding: 18px; font-family: var(--f-d); font-weight: 700; font-size: var(--s-lead); line-height: 1.1; letter-spacing: -0.02em; }
.mo-red { background: var(--red); color: var(--red-ink); }
.mo-ink { background: var(--dark); color: var(--dark-ink); }
.mast-t { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 6vw, 88px); align-items: end; }
.h-mast { font-size: var(--s-mast); line-height: 0.95; letter-spacing: -0.045em; max-width: 11ch; }
.stand { font-size: var(--s-lead); line-height: 1.4; margin-top: 24px; max-width: 38ch; }
.side-note { font-family: var(--f-d); font-size: var(--s-small); color: var(--muted); max-width: 28ch; padding-bottom: 8px; }
.side-note a { color: var(--ink); font-weight: 600; }

/* ---------- the section strip (signature) ---------- */
.strip ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.strip a { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 136px; padding: 20px 18px 18px; text-decoration: none; height: 100%; transition: transform 200ms var(--ease); }
.strip li { min-width: 0; }
.strip .s0 { background: var(--t0); } .strip .s1 { background: var(--t1); } .strip .s2 { background: var(--t2); }
.strip .s3 { background: var(--t3); color: var(--dark-ink); } .strip .s4 { background: var(--t4); color: var(--dark-ink); } .strip .s5 { background: var(--t5); color: var(--dark-ink); }
.st-n { font-family: var(--f-d); font-weight: 700; font-size: var(--s-lead); line-height: 1.1; letter-spacing: -0.02em; }
.st-c { font-family: var(--f-d); font-size: var(--s-small); }
.strip a:hover .st-n { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
.strip a:active { transform: scale(0.985); }

/* ---------- pages ---------- */
.sheet { padding-block: clamp(72px, 9vw, 152px); }
.sheet--tight { padding-block: clamp(40px, 5vw, 72px) clamp(72px, 9vw, 152px); }
.sheet.red { background: var(--red); color: var(--red-ink); }
.sheet.dark { background: var(--dark); color: var(--dark-ink); }
.h-sec { font-size: var(--s-head); line-height: 1; letter-spacing: -0.035em; }
.h-sec a { text-decoration: none; }
.h-lead { font-size: clamp(1.25rem, 0.9rem + 1.6vw, 2.375rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 30ch; }
.h-lead a, .h-item a { text-decoration: none; }
.h-lead a:hover, .h-item a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.h-item { font-size: var(--s-body); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.h-sec2 { font-size: var(--s-lead); line-height: 1.1; }
.h-sec2 a { text-decoration: none; }
.meta { font-family: var(--f-d); font-size: var(--s-small); margin-top: 8px; color: var(--muted); }
.meta a { color: inherit; }
.red .meta, .dark .meta { color: inherit; }
.ex { margin-top: 10px; max-width: 58ch; }

/* start here (red page) */
.side-pic { align-self: start; }
.side-pic img { width: 100%; }
.lead { margin-top: 32px; }
.lead .ex { font-size: var(--s-lead); line-height: 1.4; }
.sh-list { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.sh-list li { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: start; }
.sh-pic img { width: 148px; }

/* latest */
.lt-list { margin-top: 48px; display: grid; gap: 40px; }
.lt { display: grid; grid-template-columns: minmax(0, calc(42vw - var(--m) - var(--gap) / 2)) minmax(0, 1fr); column-gap: var(--gap); padding-inline: var(--m); align-items: start; }
.lt-pic { justify-self: end; width: min(100%, 300px); }
.lt-pic img { width: 100%; }
.lt-txt .meta { margin-top: 6px; }
.lt-txt .h-item { font-size: var(--s-lead); }

/* test strip tool (dark page) */
.ts-form { display: grid; gap: 22px; }
.ts-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ts-form legend { font-family: var(--f-d); font-weight: 600; font-size: var(--s-small); margin-bottom: 8px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: var(--dark-2); font-family: var(--f-d); font-size: var(--s-small); transition: background-color 140ms var(--ease), transform 140ms var(--ease); }
.seg label:hover span { background: #3d3b37; }
.seg input:checked + span { background: var(--red); color: var(--red-ink); }
.seg input:focus-visible + span { outline: 3px solid var(--dark-ink); outline-offset: 2px; }
.seg label:active span { transform: scale(0.97); }
.ts-read { font-family: var(--f-d); font-weight: 700; font-size: var(--s-head); line-height: 1; letter-spacing: -0.03em; margin-top: 36px; font-variant-numeric: tabular-nums; }
.ts-note { margin-top: 12px; font-family: var(--f-d); font-size: var(--s-small); }
.strip-img { position: relative; margin-top: 28px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark-2); }
.strip-img .sl { position: absolute; inset: 0; clip-path: inset(0 calc((4 - var(--i)) * 20%) 0 calc(var(--i) * 20%)); }
.strip-img .sl img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: grayscale(1) brightness(var(--b)); }
.strip-k { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 10px; font-family: var(--f-d); font-size: var(--s-small); }
.strip-k li { padding-right: 8px; display: grid; }
.sk-t { font-weight: 700; font-variant-numeric: tabular-nums; }
.ts-foot { margin-top: 20px; font-size: var(--s-small); font-family: var(--f-d); }

/* by section */
.side-sticky { align-self: start; position: sticky; top: 24px; }
.sp-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.spread { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.sec-line { margin-top: 6px; font-size: var(--s-small); font-family: var(--f-d); color: var(--muted); }
.sec-pic { display: block; margin-top: 18px; }
.sec .h-item { margin-top: 12px; }
.sec h4.h-item { font-weight: 600; }
.sec-list { margin-top: 14px; display: grid; gap: 10px; }
.sec-list a { text-decoration: none; font-weight: 600; }
.sec-list a:hover { text-decoration: underline; }
.sec-list time { font-family: var(--f-d); font-size: var(--s-small); color: var(--muted); white-space: nowrap; }
.sec-all { margin-top: 14px; font-family: var(--f-d); font-weight: 600; font-size: var(--s-small); }

/* photobooks dark page */
.pb .side img { width: 100%; }
.pb-list { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
.pb-list .h-item { margin-top: 12px; }

/* ---------- footer ---------- */
.ft { background: var(--dark); color: var(--dark-ink); overflow: hidden; padding: 0 var(--m) 28px; }
.ft-name { font-family: var(--f-d); font-weight: 700; font-size: 17.4vw; line-height: 0.8; letter-spacing: -0.06em; margin: -0.06em 0 0 -0.04em; white-space: nowrap; }
main > .sheet:last-child { padding-bottom: clamp(168px, 14vw, 220px); }
.ft-row { display: grid; grid-template-columns: minmax(0, calc(42vw - var(--m) - var(--gap) / 2)) minmax(0, 1fr); column-gap: var(--gap); margin-top: 72px; }
.ft-h { font-size: var(--s-small); font-weight: 600; letter-spacing: 0; }
.ft-places ul { margin-top: 12px; display: grid; gap: 6px; }
.ft-places a { font-family: var(--f-d); font-weight: 700; font-size: var(--s-head); line-height: 1.05; letter-spacing: -0.03em; text-decoration: none; }
.ft-places a[aria-current] { color: #ff6f61; }
.ft-places a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.ft-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; font-family: var(--f-d); font-size: var(--s-small); }
.ft-k { font-weight: 600; margin-bottom: 10px; }
.ft-cols ul { display: grid; gap: 4px; }
.ft-cols a { text-decoration: none; display: inline-block; padding: 4px 0; }
.ft-cols a:hover { text-decoration: underline; }
.ft-last { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 96px; font-family: var(--f-d); font-size: var(--s-small); }

/* ---------- article ---------- */
.art-h { padding-block: clamp(28px, 3vw, 48px) 28px; align-items: end; }
.crumb { font-family: var(--f-d); font-size: var(--s-small); padding-bottom: 10px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.h-art { font-size: clamp(1.625rem, 1rem + 2.6vw, 3.5rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 22ch; }
.art-h .facts { padding-bottom: 6px; }
.art-fig { padding-inline: var(--m); }
.art-fig .hero-pic { width: 100%; max-width: 1200px; margin-inline: auto; }
.art-lead { margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.art-lead .stand { margin-top: 0; }
.facts { display: grid; gap: 14px; font-family: var(--f-d); font-size: var(--s-small); max-width: 22rem; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.hero-pic { width: 100%; }
.art-body { margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 24px; max-width: 24rem; margin-left: auto; font-family: var(--f-d); font-size: var(--s-small); }
.toc-h { font-size: var(--s-small); font-weight: 700; margin-bottom: 10px; letter-spacing: 0; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 6px 0 6px 14px; text-decoration: none; border-left: 4px solid var(--t1); transition: border-color 160ms var(--ease); }
.toc a:hover { border-left-color: var(--red); }
.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--s-lead); line-height: 1.15; margin-top: 2.4em; scroll-margin-top: 24px; }
.prose h3 { font-size: var(--s-body); line-height: 1.25; margin-top: 1.8em; }
.prose a { color: var(--red); }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li + li { margin-top: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 6px; background: var(--red); }
.pr-data { margin-top: 2em; margin-bottom: 2em; }
.pr-data figcaption { font-family: var(--f-d); font-weight: 700; font-size: var(--s-body); line-height: 1.3; margin-bottom: 12px; }
.tbl { overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; line-height: 1.45; }
.tbl th { background: var(--ink); color: var(--paper); font-family: var(--f-d); font-weight: 600; font-size: var(--s-small); text-align: left; padding: 12px 14px; vertical-align: bottom; }
.tbl td { padding: 12px 14px; vertical-align: top; }
.tbl tbody tr:nth-child(odd) td { background: var(--paper-2); }
.tbl td:first-child { font-family: var(--f-d); font-weight: 600; font-size: var(--s-small); }
.steps { counter-reset: st; display: grid; gap: 4px; margin-top: 1.4em; }
.steps li { counter-increment: st; position: relative; padding: 14px 0 18px 76px; min-height: 64px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; bottom: 0; width: 56px; display: flex; align-items: flex-start; justify-content: center; padding-top: 12px; font-family: var(--f-d); font-weight: 700; font-size: var(--s-lead); background: var(--t0); color: var(--ink); }
.steps li strong { font-family: var(--f-d); font-weight: 700; }
.steps li:nth-child(2)::before { background: var(--t1); }
.steps li:nth-child(3)::before { background: var(--t2); }
.steps li:nth-child(4)::before { background: var(--t3); color: var(--dark-ink); }
.steps li:nth-child(5)::before { background: var(--t4); color: var(--dark-ink); }
.steps li:nth-child(n+6)::before { background: var(--t5); color: var(--dark-ink); }
.steps li:last-child::before { background: var(--red); color: var(--red-ink); }
.pr-faq { display: grid; margin-top: 1.4em; }
.pr-faq__item { padding: 22px 22px 24px; background: var(--paper-2); }
.pr-faq__item:nth-child(even) { background: var(--paper); }
.pr-faq__item summary { list-style: none; font-family: var(--f-d); font-weight: 700; font-size: var(--s-body); line-height: 1.3; cursor: default; pointer-events: none; }
.pr-faq__item summary::-webkit-details-marker { display: none; }
.pr-faq__a { margin-top: 8px; }
.sources { margin-top: 3em; font-size: var(--s-small); font-family: var(--f-d); }
.sources h2 { font-size: var(--s-body); margin-top: 0; }
.sources ul { margin-top: 10px; display: grid; gap: 6px; }
.sources ul li::before { background: var(--t2); }
.pr-editorial { margin-top: 2em; padding: 18px 20px; background: var(--ink); color: var(--paper); font-family: var(--f-d); font-size: var(--s-small); }
.pr-editorial a { color: inherit; }
.is-article .strip { margin-top: clamp(72px, 9vw, 140px); }
.rn { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; padding-inline: var(--m); }
.rn .h-item { margin-top: 14px; }

/* ---------- motion ---------- */
.js [data-rise].rise-pre [data-rise-kid] { transform: translateY(28px); }
.js [data-rise] [data-rise-kid], .js [data-rise-self] { transition: transform 700ms var(--ease); }
.js .rise-pre[data-rise-self] { transform: translateY(28px); }
@keyframes rise-in { from { transform: translateY(24px); } to { transform: none; } }
.art-h .main > *, .art-fig { animation: rise-in 800ms var(--ease) both; }
.art-h .main > :nth-child(2) { animation-delay: 80ms; }
.art-fig { animation-delay: 160ms; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .bar-nav, .bar-end .sform { display: none; }
  .menu { display: block; }
  .strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sh-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .axis, .lt, .ft-row { grid-template-columns: minmax(0, 1fr); }
  .axis > .side { order: 2; margin-top: 32px; }
  .mast-t > .side { order: 2; margin: 20px 0 0; }
  .art-h > .side { order: 0; margin: 0 0 10px; }
  .art-lead > .side { order: 2; margin-top: 24px; }
  .art-fig > .side { order: 2; margin-top: 20px; }
  .art-body > .side { order: 0; margin: 0 0 40px; }
  .toc { position: static; margin-left: 0; }
  .tool > .axis > .side { order: 2; }
  .side-sticky { position: static; }
  .sp-photo { aspect-ratio: 16 / 9; }
  .lt { row-gap: 14px; }
  .lt-pic { justify-self: start; width: min(100%, 420px); }
  .ft-cols { margin-top: 48px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
@media (max-width: 640px) {
  .mosaic { grid-template-columns: 1.4fr 1fr 1.2fr; grid-template-rows: 1fr 1fr; height: 92vw; }
  .mo-4, .mo-ink { display: none; }
  .mo-1 { grid-row: span 2; }
  .mo-red { grid-column: 2 / 4; }
  .mo-3 { grid-column: 3; grid-row: 2; }
  .mo-2 { grid-row: 2; grid-column: 2; }
  .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip a { min-height: 108px; padding: 16px; }
  .spread, .pb-list, .rn { grid-template-columns: minmax(0, 1fr); }
  .sh-list li { grid-template-columns: 112px minmax(0, 1fr); }
  .red > .axis > .side { order: 0; margin: 0 0 28px; }
  .red.l-first > .axis > .side { margin: 0 0 20px; }
  .lt { grid-template-columns: 128px minmax(0, 1fr); column-gap: 14px; }
  .lt-pic { width: 128px; }
  .lt-txt .h-item { font-size: var(--s-body); }
  .lt .ex { display: none; }
  .sh-pic img { width: 112px; }
  .strip-k { font-size: 0.8125rem; }
  .tbl table, .tbl thead, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tr { padding: 10px 0; }
  .tbl tbody tr:nth-child(odd) td { background: none; }
  .tbl tbody tr:nth-child(odd) { background: var(--paper-2); }
  .tbl td { padding: 6px 12px; display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 12px; }
  .tbl td::before { content: attr(data-label); font-family: var(--f-d); font-weight: 600; font-size: var(--s-small); }
  .tbl td:first-child { font-size: var(--s-body); }
  .ft-name { font-size: 18.5vw; }
  .h-lead { font-size: 1.25rem; }
  .ft-cols { grid-template-columns: minmax(0, 1fr); }
  .ft-last { margin-top: 56px; }
  .lang span { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .art-h .main > *, .art-fig { animation: none; }
  .js .rise-pre[data-rise-self] { transform: none; }
  .js [data-rise].rise-pre [data-rise-kid] { transform: none; }
  * { transition-duration: 0ms !important; }
}
@media (hover: none) {
  .seg label:hover span { background: var(--dark-2); }
  .seg input:checked + span { background: var(--red); }
}
.art-body > .side { align-self: stretch; }

/* ---------- mobile-native floor ---------- */
html { -webkit-tap-highlight-color: transparent; }
input, select, textarea { font-size: 16px !important; }
button, a, summary, label, [role="button"] { touch-action: manipulation; }
button, summary, .seg span, .lang, .langs a, .act, .sbtn { user-select: none; -webkit-user-select: none; }
/* ---------- break-ui: long unbroken words, posts without a picture ---------- */
h1, h2, h3, h4, .fr-cap, .row-list a, .sec-list a, td, th { overflow-wrap: anywhere; }
.mat:empty, a:empty[aria-hidden="true"] { display: none; }

/* =====================================================================================
   WordPress port (theme-only parts: listings, pages, credits, pager) and the mu-plugin's
   blocks (cookie banner, «Updated», read counter, editorial box, reach cards, FAQ,
   sources, data figures, guides strip) restyled flat — never hidden.
   ===================================================================================== */
body { overflow-x: clip; }
img.pp { width: 100%; max-width: 1200px; height: auto; }   /* the post's own picture: whole, natural aspect */
.mark[aria-current] { color: var(--ink); }
.bar-nav a[aria-current] { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

/* page headers (listings, pages, search, 404) */
.l-head { padding-block: clamp(28px, 3.5vw, 56px) clamp(32px, 4vw, 64px); align-items: end; }
.l-head .stand { max-width: 46ch; }
.h-pg { color: var(--muted); font-weight: 500; }
.code { font-family: var(--f-d); font-weight: 700; font-size: var(--s-mast); line-height: 0.9; letter-spacing: -0.05em; color: var(--red); margin-bottom: 12px; }
.sform--big { margin-top: 28px; max-width: 34rem; }
.sform--big input { flex: 1; width: auto; height: 52px; }
.sform--big .sbtn { height: 52px; }
.l-first .lead { margin-top: 0; }
.listing .lt-list { margin-top: 0; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 48px; font-family: var(--f-d); font-size: var(--s-small); }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; background: var(--paper-2); text-decoration: none; }
.pager .page-numbers.current { background: var(--ink); color: var(--paper); }
.pager a.page-numbers:hover { background: var(--red); color: var(--red-ink); }

/* cards (photobooks, read next, 404) */
.c-pic { display: block; }
.pb-list .h-item, .rn .h-item { margin-top: 12px; }
.sec .sec-pic img { width: 100%; }
.sh-pic img { height: auto; }

/* article */
.art-fig figcaption { max-width: 1200px; margin: 10px auto 0; font-family: var(--f-d); font-size: var(--s-small); color: var(--muted); }
.art-body--notoc > .side { display: none; }
.art-body--notoc { grid-template-columns: minmax(0, calc(42vw - var(--m) - var(--gap) / 2)) minmax(0, 1fr); }
.art-lead .pr-updated { margin: 14px 0 0 !important; font-family: var(--f-d); font-size: var(--s-small) !important; opacity: 1 !important; color: var(--muted); }
.prose ol:not(.steps) { list-style: decimal; padding-left: 1.4em; }
.prose ol:not(.steps) li + li { margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font-style: italic; }
.prose img { height: auto; }
.prose figure:not(.pr-data) { margin-block: 1.8em; }
.prose figure figcaption { font-family: var(--f-d); font-size: var(--s-small); color: var(--muted); margin-top: 8px; }
.prose strong { font-weight: 600; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose .tbl { margin-block: 1.6em; }
.prose figure.pr-data .tbl { margin-block: 0; }
.prose ul.pr-stats { display: grid; gap: 6px; }
.prose ul.pr-stats li { background: var(--paper-2); padding: 12px 16px 12px 16px; }
.prose ul.pr-stats li::before { display: none; }
.prose .pr-faq { margin-top: 1.6em; }
.prose .pr-faq__item ul li::before, .prose .pr-sources ul li::before { width: 8px; height: 4px; }
.prose .pr-sources { margin-top: 3em; font-family: var(--f-d); font-size: var(--s-small); }
.prose .pr-sources h2 { font-size: var(--s-body); margin-top: 0; }
.prose .pr-sources ul { margin-top: 10px; display: grid; gap: 6px; }
.prose .pr-sources ul li::before { background: var(--t2); }
.prose .pr-editorial { margin: 2em 0 0 !important; padding: 18px 20px !important; border: 0 !important; border-radius: 0 !important; background: var(--ink) !important; color: var(--paper); font-family: var(--f-d); font-size: var(--s-small) !important; }
.prose .pr-editorial a, .prose .pr-editorial__name { color: inherit !important; }
.prose .pr-editorial__label { color: #c7c4bb !important; text-transform: none !important; letter-spacing: 0 !important; font-size: var(--s-small) !important; font-weight: 500 !important; }
.prose .pr-editorial__note { color: #c7c4bb !important; }
.prose .pr-pillar { border-left-color: var(--red) !important; background: var(--paper-2) !important; font-family: var(--f-d); font-size: var(--s-small); }
.prose .pressroom-reads { font-family: var(--f-d); font-size: var(--s-small); color: var(--muted); }
.prose .pr-deep { margin-top: 3em !important; padding-top: 0 !important; border-top: 0 !important; }
.prose .pr-deep-h { font-family: var(--f-d) !important; font-size: var(--s-lead) !important; font-weight: 700 !important; letter-spacing: -0.02em; margin: 0 0 16px !important; }
.prose .pr-deep-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 20px !important; }
.prose .pr-deep-card { display: block !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; transform: none !important; text-decoration: none; color: inherit !important; } /* taste-skill-ignore: removes the mu-plugin card shadow */
.prose .pr-deep-thumb { display: block !important; aspect-ratio: 1200 / 672 !important; background-size: cover !important; background-position: center !important; border-radius: 0 !important; }
.prose .pr-deep-title { display: block; padding: 10px 0 0 !important; font-family: var(--f-d); font-weight: 600 !important; font-size: 1rem !important; line-height: 1.3 !important; color: var(--ink) !important; }
.prose .pr-deep-card:hover .pr-deep-title { text-decoration: underline; text-decoration-thickness: 2px; }
.prose li .pr-deep-card::before { display: none; }

/* pages + credits */
.pg .prose h2 { font-size: var(--s-lead); }
.pg > .axis { padding-bottom: clamp(72px, 9vw, 140px); }
.credits-list { padding-inline: var(--m); display: grid; gap: 40px; padding-bottom: clamp(96px, 10vw, 160px); }
.credit { display: grid; grid-template-columns: minmax(0, calc(42vw - var(--m) - var(--gap) / 2)) minmax(0, 1fr); column-gap: var(--gap); align-items: start; }
.credit__pic { justify-self: end; width: min(100%, 240px); }
.credit__pic img { width: 100%; }
.credit__subject { font-size: var(--s-lead); line-height: 1.15; }
.credit dl { margin: 12px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; font-family: var(--f-d); font-size: var(--s-small); }
.credit dt { font-weight: 600; }
.credit dd { margin: 0; overflow-wrap: anywhere; }
.credit a { color: var(--red); }

/* mu-plugin guides strip + cookie banner, in the paper/black/red system */
body .pr-guides { border-top: 0 !important; background: var(--dark-2); color: var(--dark-ink); font-family: var(--f-d); }
body .pr-guides .pr-guides__in { max-width: none !important; padding: 14px var(--m) !important; }
body #prc-b { left: auto !important; right: 16px !important; bottom: 16px !important; max-width: 430px !important; background: var(--paper) !important; color: var(--ink) !important; border: 2px solid var(--ink) !important; border-radius: 0 !important; box-shadow: none !important; padding: 18px !important; font-family: var(--f-d); }
body #prc-b p { flex: 1 1 100% !important; font-size: 14px !important; color: var(--ink) !important; }
body #prc-b button, body #prc-m button { border-radius: 0 !important; font-family: var(--f-d) !important; min-height: 44px; }
body #prc-b .prc-a, body #prc-m .prc-a { background: var(--red) !important; color: var(--red-ink) !important; }
body #prc-b .prc-r { background: var(--paper-2) !important; color: var(--ink) !important; }
body #prc-b .prc-s { background: transparent !important; color: var(--ink) !important; text-decoration: underline; }
body #prc-m .prc-card { border-radius: 0 !important; }
body #prc-l { position: static !important; display: block !important; width: 100%; margin: 0; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: var(--dark) !important; color: var(--dark-ink) !important; opacity: 1 !important; text-align: left; padding: 0 var(--m) calc(24px + env(safe-area-inset-bottom, 0px)) !important; font: 500 0.9375rem/1.4 var(--f-d) !important; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .art-body--notoc { grid-template-columns: minmax(0, 1fr); }
  .credit { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; }
  .credit__pic { justify-self: start; }
  .l-head > .side { order: 0; margin: 0 0 12px; }
}
@media (max-width: 640px) {
  .prose .pr-deep-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .credit dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .credit dd { margin-bottom: 6px; }
  .sform--big { display: flex; }
}

/* listing/page headers: the title is the first screen's dominant thing; it rises in on load */
.l-head .h-art { font-size: var(--s-mast); line-height: 0.95; letter-spacing: -0.045em; max-width: 14ch; }
.l-head .main > * { animation: rise-in 800ms var(--ease) both; }
.l-head .main > :nth-child(2) { animation-delay: 80ms; }
.l-head .main > :nth-child(3) { animation-delay: 160ms; }
.pg-photo { width: 100%; max-width: 30rem; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .pg .side-sticky { display: none; } }
@media (prefers-reduced-motion: reduce) { .l-head .main > * { animation: none; } }
