/*
  The Drawing Room: India's designers, on the cover.
  The page is the object: every person gets their own magazine cover, with their name as the masthead.
  The drawing board: ultramarine fields carrying white line drawings, like a blueprint; paper-white pages with
  near-black ink; the photographs bring every other colour.
  Type: Boska (Indian Type Foundry) for names, headlines and quotes; Switzer for reading and everything small.
  Both free from Fontshare.
*/
@font-face { font-family: 'Boska'; src: url('../fonts/boska-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Boska'; src: url('../fonts/boska-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Boska'; src: url('../fonts/boska-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Boska'; src: url('../fonts/boska-500i.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #f2eee6;
  --surface: #e6e0d4;
  --ink: #191814;
  --muted: #625d53;
  --field: #1b1a17;
  --field-ink: #eee8dc;
  --deep: #121110;
  --paper: #faf7f0;
  --serif: 'Boska', Georgia, 'Times New Roman', serif;
  --sans: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 40px 80px -34px rgba(20, 16, 10, .5), 0 12px 24px -14px rgba(20, 16, 10, .3);

  --m: clamp(1rem, .55rem + 1.6vw, 1.75rem);
  --gap: clamp(1rem, .6rem + 1.4vw, 2rem);
  --step-small: .9375rem;
  --step-body: clamp(1.0625rem, 1.02rem + .18vw, 1.15rem);
  --step-lead: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.875rem, 1.1rem + 5.6vw, 5.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bar-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.is-smooth { scroll-behavior: auto; }
body {
  margin: 0; background: var(--deep); color: var(--ink);
  font-family: var(--sans); font-size: var(--step-body); line-height: 1.55; letter-spacing: 0;
  font-kerning: normal; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
p, h1, h2, h3, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; line-height: .98; text-wrap: balance; }
h1, h2, h3, .h1, .h2, .lede, .giant, .cover-mast, .issue-title, .op-head, .op-stand, .op-mono, .mono, .bar-name, .menu nav a,
.show-name, .show-head, .show-h, .pull p, .c-who b, .c-note, .letter-body > p:not(.letter-sign), .letter-sign, .foot-sign, .folder-tab,
.folder-text > p:first-child, .fig dd, .gal-count, .qa-item dt, .how-text p, .reply-side, .next-text p, .ask-list li, .cover-sample,
.chap-text--first p:first-child::first-letter { font-family: var(--serif); }
.cover-mast, .issue-title, .op-head, .giant, .h1 { font-feature-settings: 'kern', 'liga'; }
p { text-wrap: pretty; }
em { font-style: italic; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }
.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: -80px; z-index: 100; background: var(--bg); color: var(--ink); padding: 12px 16px; }
.skip:focus { top: 12px; }

.h1 { font-size: var(--step-display); line-height: .95; }
.h1 em, .h2 em { font-style: italic; }
.h2 { font-size: var(--step-head); }
.lede { font-size: var(--step-lead); line-height: 1.35; }
.link { position: relative; display: inline-flex; gap: .4em; align-items: baseline; font-weight: 500; text-decoration: none; padding-bottom: 2px; }
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(0); }
.ar { display: inline-block; transition: transform .45s var(--ease); }
a:hover > .ar, .link:hover .ar, .btn:hover .ar, .cell:hover .ar { transform: translateX(.3em); }
.dia { display: inline-block; width: .42em; height: .42em; background: currentColor; transform: rotate(45deg); flex: none; }

/* One button shape for the whole site: a solid rectangle, square corners. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 22px;
  background: var(--ink); color: var(--bg); font-weight: 500; text-decoration: none; border: 0; cursor: pointer; position: relative; overflow: hidden;
  transition: background-color .3s, color .3s;
}
.btn::before { content: ''; position: absolute; inset: 0; background: var(--deep); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn > * { position: relative; }
.btn:hover::before { transform: none; }
.btn.is-soon { flex-direction: column; gap: 0; cursor: default; line-height: 1.2; padding: 8px 22px; }
.btn.is-soon::before { display: none; }
.btn.is-soon small { font-size: var(--step-small); font-weight: 400; font-style: italic; opacity: .9; }
.btn--bar-full { width: 100%; min-height: 56px; }

/* ---------- top row ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h); padding: 0 var(--m);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  color: var(--ink); transition: transform .6s var(--ease), background-color .35s, color .35s;
}
body[data-top='field'] .bar:not(.is-solid) { color: var(--field-ink); }
.bar.is-solid { background: var(--bg); color: var(--ink); }
.bar.is-hidden { transform: translateY(-100%); }
.bar-name { justify-self: start; font-style: italic; font-size: var(--step-lead); text-decoration: none; white-space: nowrap; }
.bar-nav { display: flex; gap: 28px; }
.bar-nav a { text-decoration: none; position: relative; padding: 6px 0; }
.bar-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.bar-nav a:hover::after, .bar-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.btn--bar { justify-self: end; min-height: 44px; padding: 0 18px; }
body[data-top='field'] .bar:not(.is-solid) .btn--bar { background: var(--bg); color: var(--ink); }
body[data-top='field'] .bar:not(.is-solid) .btn--bar::before { background: var(--surface); }
.menu-btn { display: none; background: none; border: 0; padding: 10px 0 10px 12px; cursor: pointer; font-weight: 500; }
.menu {
  position: fixed; inset: 0; z-index: 49; background: var(--field); color: var(--field-ink);
  padding: calc(var(--bar-h) + 24px) var(--m) 32px; display: flex; flex-direction: column; gap: 28px;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-size: var(--step-head); text-decoration: none; line-height: 1.15; }
.menu nav a[aria-current] { font-style: italic; }
.menu .btn { background: var(--bg); color: var(--ink); align-self: start; }
.menu p { margin-top: auto; max-width: 30ch; }
html.menu-open .bar { color: var(--field-ink); background: transparent; }
html.menu-open .bar .btn--bar { visibility: hidden; }

/* ---------- the sheet that lifts off the back cover ---------- */
.sheet { position: relative; z-index: 1; background: var(--bg); }
main { display: block; }

/* ---------- the cover ---------- */
.cover {
  container-type: inline-size; position: relative; display: grid; grid-template-rows: auto 1fr;
  aspect-ratio: 5 / 7; background: var(--paper); color: var(--ink); overflow: hidden; text-decoration: none;
}
.cover-band { padding: 6.5cqw 6cqw 4.5cqw; text-align: center; }
.cover-mast { font-size: var(--fs, 18cqw); line-height: .86; letter-spacing: -.03em; font-weight: 400; margin: 0; }
.cover-mast .cm-1, .cover-mast .cm-2 { display: block; }
.cover-mast .cm-2 { font-style: italic; }
.cover-date { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3em .7em; margin-top: 3.6cqw; font-size: max(13px, 2.6cqw); }
.cover-pic { position: relative; overflow: hidden; margin: 0 4cqw 4cqw; background: var(--surface); }
.cover-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-pic--empty { display: grid; place-items: center; background: var(--surface); text-align: center; padding: 8cqw; }
.cover-pic--empty span { font-style: italic; font-size: max(15px, 3.6cqw); color: var(--muted); max-width: 18ch; }
.cover-lines {
  position: absolute; left: 4cqw; bottom: 4cqw; max-width: 64cqw; list-style: none; padding: 3cqw 3.6cqw; margin: 0;
  background: var(--ink); color: var(--bg); font-size: max(13px, 2.7cqw); line-height: 1.25;
}
.cover-lines li + li { margin-top: 1.6cqw; }
.cover-lines b { font-weight: 500; font-style: italic; margin-right: .3em; }
.cover-sample {
  position: absolute; right: 6.5cqw; bottom: 6.5cqw; width: 17cqw; height: 17cqw; min-width: 52px; min-height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); color: var(--ink); font-style: italic; font-size: max(13px, 3.2cqw); transform: rotate(-12deg);
}
/* Small covers keep kind and city; the month would only wrap onto a line of its own. */
@container (max-width: 300px) {
  .cover-date .cd-m { display: none; }
}
@container (max-width: 440px) {
  .page .c-what { display: none; }
  .page .c-row { grid-template-columns: auto 1fr auto; }
  .page .contents--long .c-who i { display: none; }
  .page .contents--long .c-row { min-height: 44px; padding-block: 0; }
  .page:has(.contents--long) .contents-foot { display: none; }
  .page .op-mid { grid-template-columns: minmax(0, 46fr) minmax(0, 50fr); gap: 5cqw; }
}
@container (max-width: 380px) {
  .cover-lines { display: none; }
  .cover-band { padding-top: 7cqw; }
}
a.cover { transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
a.cover:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--shadow); } /* taste-skill-ignore: only a lifted cover casts a shadow, while it is lifted */
a.cover .cover-pic img { transition: transform 1.2s var(--ease); }
a.cover:hover .cover-pic img { transform: scale(1.04); }

/* Scalloped corners on the covers that stand as the page's object. */
.book-front, .cover--yours {
  --r: clamp(12px, 3.4cqw, 26px);
  -webkit-mask: radial-gradient(var(--r) at 0 0, #0000 98%, #000) 0 0 / 51% 51% no-repeat, radial-gradient(var(--r) at 100% 0, #0000 98%, #000) 100% 0 / 51% 51% no-repeat, radial-gradient(var(--r) at 0 100%, #0000 98%, #000) 0 100% / 51% 51% no-repeat, radial-gradient(var(--r) at 100% 100%, #0000 98%, #000) 100% 100% / 51% 51% no-repeat; /* taste-skill-ignore: a cut shape (mask), not a colour fill */
  mask: radial-gradient(var(--r) at 0 0, #0000 98%, #000) 0 0 / 51% 51% no-repeat, radial-gradient(var(--r) at 100% 0, #0000 98%, #000) 100% 0 / 51% 51% no-repeat, radial-gradient(var(--r) at 0 100%, #0000 98%, #000) 0 100% / 51% 51% no-repeat, radial-gradient(var(--r) at 100% 100%, #0000 98%, #000) 100% 100% / 51% 51% no-repeat; /* taste-skill-ignore: a cut shape (mask), not a colour fill */
}

/* The issue's own cover, on Home. */
.cover--issue .cover-band { padding: 8cqw 7cqw 5cqw; }
.issue-title { font-size: 11.6cqw; line-height: .92; letter-spacing: -.03em; }
.issue-title .it-1, .issue-title .it-2 { display: block; }
.issue-title .it-1 { transform: translateX(-4cqw); }
.issue-title .it-2 { transform: translateX(5cqw); }
.issue-lede { font-size: max(16px, 2.75cqw); line-height: 1.4; max-width: 40ch; margin: 4.4cqw auto 0; }
.cover--issue .cover-lines { max-width: 72cqw; }
.book-hint { display: none; }

/* ---------- line drawings on the olive fields (templates/lines.mjs) ---------- */
.book, .how, .reply, .rack { isolation: isolate; }
.how, .rack { position: relative; overflow: hidden; }
.reply { position: relative; }
.lines { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; color: var(--field-ink); }
.la { position: absolute; display: block; height: auto; opacity: .24; }
.la .h { stroke-width: 1.6; }
.la .l { stroke-width: .75; }
.la .d { stroke-width: .8; stroke-dasharray: 3 4; }
.la .c { stroke-width: .75; stroke-dasharray: 14 3 2 3; }
.la .o { fill: var(--field); stroke: none; }
.la--a { left: -2vw; top: calc(var(--bar-h) + 9vh); width: clamp(240px, 26vw, 420px); }
.la--b { right: 1.5vw; top: calc(var(--bar-h) + 3vh); width: clamp(200px, 21vw, 340px); }
.la--plan { left: -1vw; top: calc(var(--bar-h) + 7vh); width: clamp(240px, 27vw, 430px); }
.la--chair { right: 1vw; top: calc(var(--bar-h) + 11vh); width: clamp(200px, 22vw, 360px); }
.la--tools { left: calc(var(--m) - 24px); bottom: clamp(40px, 6vw, 96px); width: clamp(260px, 30vw, 440px); }
.la--room { left: var(--m); top: clamp(24px, 4vw, 64px); width: clamp(280px, 34vw, 520px); }
.la--site { right: -2vw; top: -10px; width: clamp(340px, 52vw, 820px); }
.folder-band { position: relative; isolation: isolate; }
.folder-band .lines { color: inherit; }
.la--fold { right: var(--m); bottom: clamp(40px, 5vw, 72px); width: auto; height: clamp(200px, 30vh, 290px); opacity: .2; }

/* ---------- how you get a cover: the slip ---------- */
.how { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: clamp(88px, 10vw, 144px) var(--m); background: var(--field); color: var(--field-ink); }
.how-text { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.how-text p { max-width: 32ch; font-size: var(--step-lead); line-height: 1.35; }
.slip {
  grid-column: 7 / 12; width: min(100%, 480px); background: var(--bg); color: var(--ink); padding: 10px 30px 64px; font-variant-numeric: tabular-nums;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%; /* taste-skill-ignore: a cut shape (mask), not a colour fill */
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%; /* taste-skill-ignore: a cut shape (mask), not a colour fill */
}
.slip-when { font-size: var(--step-body); font-weight: 500; letter-spacing: 0; margin-top: 28px; }
.slip ol { list-style: none; padding: 0; margin-top: 8px; }
.slip li { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; }
.slip li span:first-child { max-width: 70%; }
.slip li i { flex: 1; min-width: 24px; height: .7em; background: radial-gradient(circle, currentColor 1.6px, transparent 2.1px) 0 100% / 9px 5px repeat-x; transform-origin: left; } /* taste-skill-ignore: the leader dots of a printed slip */
.slip li span:last-child { white-space: nowrap; font-style: italic; }
.slip-total { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin: 30px -14px 0; padding: 0 14px; background: var(--ink); color: var(--bg); font-weight: 500; }

/* ---------- the editor's letter ---------- */
.letter { position: relative; padding: clamp(112px, 12vw, 176px) var(--m); background: var(--field); overflow: hidden; }
.letter-sheet { position: relative; max-width: 640px; margin: 0 auto; background: var(--bg); color: var(--ink); }
.letter-ground { position: absolute; inset: 0; overflow: hidden; }
.letter-ground img { width: 100%; height: 100%; object-fit: cover; }
.letter-body { padding: 56px 60px 40px; display: grid; gap: 1.1em; }
.letter-body .mono { margin-bottom: 8px; }
.letter-body mark { background: var(--surface); color: inherit; padding: 0 .15em; font-style: italic; }
.letter-sign { font-style: italic; font-size: clamp(1.375rem, 1.2rem + .5vw, 1.5rem); margin-top: .4em; line-height: 1.2; }
.letter-sign small { display: block; font-style: normal; font-size: var(--step-small); color: var(--muted); margin-top: 4px; }
.letter-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 22px 60px 28px; background: var(--surface);
  /* the tear-off line: a row of holes punched through the strip */
  -webkit-mask: radial-gradient(circle at 50% 7px, #0000 2.6px, #000 3.1px) 0 0 / 14px 100% repeat-x; /* taste-skill-ignore: a cut shape (mask), not a colour fill */
  mask: radial-gradient(circle at 50% 7px, #0000 2.6px, #000 3.1px) 0 0 / 14px 100% repeat-x; /* taste-skill-ignore: a cut shape (mask), not a colour fill */
}

/* ---------- the reply card ---------- */
.reply { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; min-height: 80svh; padding: clamp(96px, 10vw, 140px) var(--m) 0; background: var(--field); color: var(--field-ink); overflow: hidden; }
.reply-side { grid-column: 1 / 5; margin-bottom: 64px; font-size: var(--step-lead); line-height: 1.35; max-width: 24ch; }
.reply-card {
  grid-column: 6 / 13; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 48px 48px 108px; margin-bottom: -60px; background: var(--bg); color: var(--ink); transform: rotate(2deg);
}
.reply-form { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.reply-form > p { font-size: var(--step-body); }
.field { display: grid; gap: 6px; }
.field span { font-size: var(--step-small); color: var(--muted); }
.field input, .field select { width: 100%; min-height: 52px; border: 0; border-radius: 0; background: var(--surface); padding: 0 14px; font-size: var(--step-body); appearance: none; -webkit-appearance: none; }
.field select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111216' stroke-width='1.6'/%3E%3C/svg%3E"); background-position: calc(100% - 18px) 50%; background-size: 12px 8px; background-repeat: no-repeat; }
.field input::placeholder { color: var(--muted); opacity: 1; font-style: italic; }
.field input:focus, .field select:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.cover--yours .cover-mast { transition: font-size .3s var(--ease); }
.cover--yours .cm-1, .cover--yours .cm-2 { overflow-wrap: anywhere; }

/* ---------- the back cover: lifted into view as the page ends ---------- */
.curtain { position: relative; background: var(--deep); clip-path: inset(0); }
html.curtain-on.curtain-near .foot { position: fixed; left: 0; right: 0; bottom: 0; }
.foot { padding: clamp(56px, 7vw, 96px) var(--m) var(--m); background: var(--deep); color: var(--bg); }
.foot-panel {
  --s: 28px; position: relative; max-width: 1200px; margin: 0 auto; background: var(--bg); color: var(--ink);
  display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px 56px; padding: calc(var(--s) + 48px) clamp(24px, 4vw, 56px) 28px;
  -webkit-mask: radial-gradient(circle at 50% 0, #0000 var(--s), #000 calc(var(--s) + .5px)) 50% 0 / calc(var(--s) * 3.6) 100% repeat-x; /* taste-skill-ignore: a cut shape (mask), not a colour fill */
  mask: radial-gradient(circle at 50% 0, #0000 var(--s), #000 calc(var(--s) + .5px)) 50% 0 / calc(var(--s) * 3.6) 100% repeat-x; /* taste-skill-ignore: a cut shape (mask), not a colour fill */
}
.foot-msg { display: grid; gap: 12px; align-content: start; max-width: 40ch; }
.foot-sign { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 8px; }
.foot-sign em { font-style: italic; }
.foot-links { display: grid; gap: 12px; align-content: start; font-size: 18px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { font-style: italic; }
.foot-stamp { width: 88px; padding: 6px; background: var(--surface); transform: rotate(3deg); align-self: start; }
.foot-stamp img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.foot-credits { grid-column: 1 / -1; font-size: var(--step-small); color: var(--muted); line-height: 1.45; }
.foot-credits a { color: var(--muted); }
.foot-imprint { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 13px; padding-top: 8px; }

/* ---------- inner pages: heads ---------- */
.page-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px var(--gap); padding: calc(var(--bar-h) + clamp(56px, 7vw, 104px)) var(--m) clamp(40px, 5vw, 64px); align-items: end; }
.page-head .h1 { grid-column: 1 / 8; }
.page-head .lede { grid-column: 8 / 13; max-width: 32ch; justify-self: end; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { min-height: 44px; padding: 0 18px; border: 0; background: var(--surface); cursor: pointer; transition: background-color .3s, color .3s; }
.chip span { font-style: italic; color: var(--muted); margin-left: .25em; }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--bg); }
.chip[aria-pressed='true'] span { color: inherit; }
.chip:hover { background: var(--deep); color: var(--bg); }
.chip:hover span { color: inherit; }

/* ---------- all covers: the rack ---------- */
.rack { padding: clamp(64px, 7vw, 104px) var(--m) clamp(96px, 10vw, 144px); background: var(--field); color: var(--field-ink); }
.rack-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.rack-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px var(--gap); }
.rack-item { display: flex; flex-direction: column; }
.rack-item::after { content: ''; order: 1; height: 14px; margin: 22px -12px 0; background: var(--deep); }
.rack-cap { order: 2; margin-top: 18px; }
.rack-cap b { font-weight: 500; display: block; }
.rack-open { display: block; text-decoration: none; transition: transform .7s var(--ease); }
.rack-open:hover { transform: translateY(-10px) rotate(1deg); }
.rack-item[hidden] { display: none; }
.rack-empty { padding-top: 24px; }
.rack--row .rack-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gap); }
.rack-more { display: none; }

/* ---------- tell your story ---------- */
.gf { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px var(--gap); padding: calc(var(--bar-h) + clamp(56px, 7vw, 104px)) var(--m) clamp(72px, 8vw, 112px); align-items: start; }
.gf-text { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; position: sticky; top: calc(var(--bar-h) + 40px); }
.gf-acts { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.gf-builder { grid-column: 7 / 13; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 32px; background: var(--surface); }
.gf-builder .field input, .gf-builder .field select { background: var(--bg); }
.gf-fields { display: grid; gap: 16px; align-content: start; }
.gf-note { font-size: var(--step-small); font-style: italic; color: var(--muted); }
.ask { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gap); padding: clamp(96px, 10vw, 144px) var(--m); }
.ask-head { grid-column: 1 / 5; display: grid; gap: 24px; align-content: start; }
.ask-list { grid-column: 6 / 13; list-style: none; padding: 0; display: grid; gap: 6px; counter-reset: q; }
.ask-list li { display: grid; grid-template-columns: 56px 1fr; align-items: center; min-height: 60px; padding: 10px 22px 10px 18px; background: var(--surface); font-size: var(--step-lead); line-height: 1.3; }
.ask-no { font-style: italic; color: var(--muted); font-size: var(--step-body); font-variant-numeric: tabular-nums; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gap); padding: clamp(80px, 9vw, 128px) var(--m); background: var(--surface); }
.split > div { display: grid; gap: 24px; align-content: start; justify-items: start; max-width: 46ch; }

/* ---------- about: the rules ---------- */
.rules { container-type: inline-size; max-width: 720px; margin: 0 auto; padding: clamp(96px, 10vw, 144px) var(--m); }
.giant--rules { font-size: 37cqw; margin-bottom: 24px; }
.rule-list { display: grid; gap: 6px; }
.rule { background: var(--surface); }
.rule summary { display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 0 20px; cursor: pointer; list-style: none; font-weight: 500; font-size: var(--step-body); }
.rule summary::-webkit-details-marker { display: none; }
.rule summary i { position: relative; width: 16px; height: 16px; flex: none; }
.rule summary i::before, .rule summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: currentColor; transition: transform .45s var(--ease); }
.rule summary i::after { transform: rotate(90deg); }
.rule[open] summary i::after { transform: rotate(0); }
.rule p { padding: 0 20px 22px; max-width: 52ch; }

/* ---------- 404 ---------- */
.lost { padding: calc(var(--bar-h) + clamp(64px, 8vw, 120px)) var(--m) clamp(56px, 6vw, 88px); display: grid; gap: 28px; justify-items: start; }
.lost .lede { max-width: 34ch; }

/* The demo issue's tag, beside the name in the top row: on every page of the demo build, never in the real site. */
.bar-id { justify-self: start; display: flex; align-items: center; gap: 12px; min-width: 0; }
.demo-tag { padding: 5px 10px; background: var(--accent); color: #fbf8f0; font-size: 13px; line-height: 1.2; white-space: nowrap; }
.demo-tag b { font-weight: 500; }
@media (max-width: 1180px) { .demo-tag > span { display: none; } }
@media (max-width: 767px) { .bar-id { gap: 8px; } .demo-tag { padding: 4px 7px; font-size: 12px; } .dt-issue { display: none; } }
@media (max-width: 380px) { .bar-id .bar-name { font-size: 17px; } .bar-id { gap: 6px; } .demo-tag { padding: 3px 6px; font-size: 11px; } }
@media (max-width: 349px) { .demo-tag { display: none; } }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .rack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gf-text { grid-column: 1 / -1; position: static; }
  .gf-builder { grid-column: 1 / -1; }
  .reply-card { grid-column: 1 / -1; margin-left: 10%; }
  .reply-side { grid-column: 1 / -1; margin-bottom: 0; }
  .show-plate { margin: 24px; }
}
@media (max-width: 1023px) {
  .folder-band .lines { display: none; }
  .next { padding-bottom: 56px; }
  .next-cover { margin-bottom: 0; }
  .gal-card { flex-basis: 58vw; }
  .bar-nav { display: none; }
  .bar { grid-template-columns: 1fr auto auto; }
  .menu-btn { display: block; }
  .page-head .h1, .page-head .lede { grid-column: 1 / -1; }
  .work-head .h2, .work-head p, .how-text, .slip, .ask-head, .ask-list, .qa > .h2, .qa-list, .chap-head, .chap-text, .next-text, .reply-side { grid-column: 1 / -1; }
  .slip { justify-self: start; }
  .pull { grid-column: 1 / -1; }
  .next-cover { grid-column: 3 / 11; }
  .folder-pic { grid-column: 1 / -1; }
  .folder-text { grid-column: 1 / -1; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  :root { --bar-h: 64px; }
  .la--a { left: -84px; top: calc(var(--bar-h) - 12px); width: 236px; }
  .la--b { right: -56px; top: auto; bottom: 3%; width: 190px; }
  .la--plan { left: -90px; top: calc(var(--bar-h) - 16px); width: 250px; }
  .la--chair { right: -50px; top: auto; bottom: 3%; width: 200px; }
  .la--tools { left: auto; right: -70px; top: 36px; bottom: auto; width: 250px; }
  .la--room { left: auto; right: -60px; top: 12px; width: 280px; }
  .la--site { right: -150px; width: 460px; }
  .bar-name { font-size: 19px; }
  .btn--bar { min-height: 40px; padding: 0 14px; font-size: 16px; }
  .book-stage { padding: calc(var(--bar-h) + 32px) 12px 56px; }
  .book-obj { grid-template-columns: 1fr; gap: 16px; }
  .book-front, .book-back, .page--under { grid-column: 1; grid-row: auto; margin-top: 0; }
  .issue-title { font-size: 12.4cqw; }
  .issue-title .it-1, .issue-title .it-2 { transform: none; }
  .c-row { grid-template-columns: auto 1fr auto; }
  .c-what { display: none; }
  .show { grid-template-columns: 1fr; min-height: 0; }
  .show-plate { margin: 0 16px; margin-top: 64px; }
  .show-frames { width: 58%; }
  .show-text { padding: 0 16px 56px; gap: 28px; }
  .show-h { order: -1; }
  .show-tabs { font-size: 17px; margin-top: 18px; }
  .show-name { font-size: 28px; }
  .show-desc { margin-top: 24px; }
  .show-acts { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }
  .folder { position: relative; top: auto; }
  .folder-tab { height: 40px; min-width: 0; padding: 0 22px; font-size: 20px; white-space: normal; }
  .folder-band { min-height: 0; padding-bottom: 48px; }
  .folder-pic { aspect-ratio: 4 / 3; margin: 0 calc(var(--m) * -1); }
  .folder-text { font-size: var(--step-body); }
  .slip { padding: 6px 20px 56px; width: 100%; }
  .slip li { flex-wrap: wrap; }
  .slip li span:first-child { max-width: none; flex: 1 1 60%; }
  .slip li i { display: none; }
  .slip li span:last-child { margin-left: auto; }
  .letter { padding: 88px 12px; }
  .letter-body { padding: 36px 24px 32px; }
  .letter-strip { padding: 22px 24px 24px; flex-direction: column; align-items: stretch; }
  .letter-strip .btn { width: 100%; }
  .reply { grid-template-columns: minmax(0, 1fr); padding-top: 88px; gap: 40px; }
  .reply-side { font-size: 20px; }
  .reply-card { grid-template-columns: 1fr; margin: 0 auto -40px; width: 92%; transform: rotate(1deg); padding: 28px 22px 80px; gap: 28px; }
  .reply-cover { width: 70%; margin: 0 auto; }
  .foot-panel { --s: 18px; grid-template-columns: 1fr; padding: calc(var(--s) + 36px) 22px 22px; gap: 28px; }
  .foot-stamp { position: absolute; top: calc(var(--s) + 24px); right: 18px; width: 64px; padding: 4px; }
  .foot-msg { padding-right: 76px; }
  .foot-links { font-size: 17px; }
  .rack-list { grid-template-columns: minmax(0, 1fr); gap: 104px; }
  .rack--row .rack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; gap: 28px 16px; }
  .rack--row .rack-head .link { display: none; }
  .rack--row .rack-more { display: inline-flex; margin-top: 40px; }
  .gf-builder { grid-template-columns: 1fr; padding: 20px; }
  .gf-cover { width: 76%; margin: 0 auto; }
  .ask-list li { grid-template-columns: 40px 1fr; font-size: var(--step-body); }
  .split, .find { grid-template-columns: 1fr; }
  .split { row-gap: 96px; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig dd { font-size: 56px; }
  .window-frame { height: 72svh; }
  .gal-card { flex-basis: 82vw; }
  .hon { grid-template-columns: 1fr; }
  .hon-year { grid-row: auto; }
  .next-cover { grid-column: 2 / 12; }
  .next-text { margin-bottom: 40px; }
}

/* ---------- motion: hidden states only when motion is wanted and the script runs ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .42s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(root) { animation-name: vt-out; }
::view-transition-new(root) { animation-name: vt-in; }
::view-transition-group(*) { animation-duration: .48s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-1.5%); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(2.5%); } }

@media (prefers-reduced-motion: no-preference) {
  html.motion:not(.js-ready):not(.vt-in) .book-front,
  html.motion:not(.js-ready):not(.vt-in) .page-head > *,
  html.motion:not(.js-ready):not(.vt-in) .gf > *,
  html.motion:not(.js-ready):not(.vt-in) .lost > * { opacity: 0; }
  .split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
  .split-line > span { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =====================================================================================================
   v2: content first. The covers, the blue drawing board and four rooms carry the identity; everything
   else works the way people expect. Native scrolling everywhere; nothing holds the page still.
   ===================================================================================================== */
:root { --line: rgba(25, 24, 20, .14); --warm: #c8a05a; --plaster: #e5dccd; --mat: #20221e; --kraft: #d8cfbf; --sticky: #efe6c9; --pin: #9e3b22; --accent: #9e3b22; --board: #ebe8e0; --brass: #c8a05a; }
.bar.is-hidden { transform: none; }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light::before { background: var(--surface); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost::before { background: var(--surface); }
.round { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-size: 20px; transition: background-color .3s, color .3s; }
.round:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.h2 em { font-style: italic; }
section[id], [id^='af-'] { scroll-margin-top: calc(var(--bar-h) + 64px); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--gap); align-items: center;
  min-height: min(100svh, 900px); padding: calc(var(--bar-h) + 32px) var(--m) clamp(48px, 6vw, 80px); background: var(--field); color: var(--field-ink);
}
.hero .la--a { display: none; }
.hero .la--b { right: -4vw; left: auto; top: auto; bottom: -6vh; width: clamp(300px, 34vw, 560px); opacity: .14; }
.hero-h { font-size: clamp(3.1rem, 1.2rem + 5.4vw, 6.6rem); line-height: .9; letter-spacing: -.035em; }
.hero-h span, .hero-h em { display: block; }
.hero-h em { padding-left: .5em; }
.hero-lede { font-size: var(--step-lead); line-height: 1.38; max-width: 33ch; margin-top: 28px; }
.hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 30px; font-size: 15px; }
.hero-fan { position: relative; height: min(68svh, 620px); }
.fan { position: absolute; top: 50%; left: 50%; width: min(46%, 300px); }
.fan .cover { box-shadow: 0 30px 60px -28px rgba(20, 16, 10, .6); } /* taste-skill-ignore: covers lie on the board, one over another */
.fan--0 { transform: translate(-112%, -44%) rotate(-8deg); }
.fan--1 { transform: translate(-50%, -54%); z-index: 2; }
.fan--2 { transform: translate(12%, -44%) rotate(8deg); }

/* ---------- in this issue, and the Stories page ---------- */
.issue { padding: clamp(72px, 8vw, 120px) var(--m); background: var(--bg); }
.issue-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: 28px; }
.issue-head p { max-width: 34ch; font-family: var(--serif); font-size: var(--step-lead); line-height: 1.3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; }
.chip { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; cursor: pointer; transition: background-color .25s, color .25s; }
.chip span { font-style: normal; color: inherit; opacity: .55; margin-left: .3em; }
.chip:hover { background: var(--surface); color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--bg); }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; }
.card[hidden] { display: none; }
.card-link { display: grid; gap: 16px; color: inherit; text-decoration: none; }
.card .cover { outline: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card-link:hover .cover, .card-link:focus-visible .cover { transform: translateY(-8px) rotate(-.8deg); box-shadow: var(--shadow); } /* taste-skill-ignore: only a lifted cover casts a shadow, while it is lifted */
.card-link:hover .card-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.card-text { display: grid; gap: 5px; }
.card-no { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-name { font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + .7vw, 1.8rem); line-height: 1.05; letter-spacing: -.01em; }
.card-head { font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.28; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--muted); }
.card-meta .dia { width: .34em; height: .34em; }
.card--yours .cover-pic--empty span { font-size: max(13px, 4cqw); }
.grid-empty { padding-top: 32px; font-size: var(--step-lead); font-family: var(--serif); }
.page-head--stories .finder { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 10px; margin-top: 8px; }
.search input, .pick select { width: 100%; min-height: 56px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--paper); padding: 0 18px; font-size: var(--step-body); appearance: none; -webkit-appearance: none; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.pick select { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111216' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 18px center; padding-right: 44px; cursor: pointer; }
.search input:focus, .pick select:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.issue--all { padding-top: 0; }

/* ---------- four rooms ---------- */
.world {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px);
  align-items: center; padding: clamp(80px, 9vw, 140px) var(--m);
}
.world-h { font-size: var(--step-head); line-height: .95; }
.world-h em { display: block; font-style: italic; }
.world-say { font-family: var(--serif); font-size: var(--step-lead); line-height: 1.34; max-width: 32ch; margin: 22px 0 30px; }
.world-people { list-style: none; padding: 0; margin: 0 0 30px; border-top: 1px solid currentColor; }
.world-people a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); text-decoration: none; }
.world-people b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.world-people span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.world-people i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 14px; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.world-people a:hover b { font-style: italic; }
.world-stage { position: relative; }
.world .cover { box-shadow: 0 24px 44px -24px rgba(20, 16, 10, .55); } /* taste-skill-ignore: covers lying on a surface */
.world a.cover:hover { box-shadow: var(--shadow); } /* taste-skill-ignore: a lifted cover */

/* architects: the drawing board */
.world--board { background-color: var(--field); color: var(--field-ink); background-image: linear-gradient(rgba(243, 242, 238, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 242, 238, .07) 1px, transparent 1px); background-size: 32px 32px; } /* taste-skill-ignore: the grid of the drawing sheet */
.board-sheet { position: relative; }
.art { display: block; width: 100%; height: auto; }
.art .h { stroke-width: 1.6; }
.art .l { stroke-width: .8; }
.art .d { stroke-width: .9; stroke-dasharray: 4 5; }
.sun-patch { fill: var(--warm); opacity: .5; stroke: none; transition: opacity .3s; }
.sun-disc { fill: var(--warm); stroke: none; }
.sun-ray { stroke: var(--warm); opacity: .85; }
.board-clock { position: absolute; right: 0; top: 0; display: grid; justify-items: end; font-size: 14px; }
.board-clock span { font-family: var(--serif); font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.taped { position: relative; display: inline-block; width: min(30%, 220px); margin-top: -8%; vertical-align: top; }
.taped--0 { margin-left: 18%; transform: rotate(-4deg); }
.taped--1 { margin-left: 8%; transform: rotate(3deg); }
.taped::before { content: ''; position: absolute; z-index: 2; top: -12px; left: 50%; width: 44%; height: 24px; background: rgba(240, 232, 196, .78); transform: translateX(-50%) rotate(-4deg); pointer-events: none; }

/* interior designers: the material table */
.world--table { background: var(--plaster); color: var(--ink); }
.world--table .world-stage { padding-bottom: 8px; }
.art--lamp { color: var(--ink); }
.lamp-light { fill: var(--warm); stroke: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.lamp-bulb { fill: var(--plaster); stroke: currentColor; transition: fill .6s; }
.world--table.is-lit .lamp-light { opacity: .42; }
.world--table.is-lit .lamp-bulb { fill: var(--warm); }
.fan-deck { position: absolute; left: 50%; bottom: 17%; width: 0; height: 0; }
.sw--fan {
  --open: 1; position: absolute; left: -36px; bottom: 0; width: 72px; height: 210px; padding: 0; border: 0; background: var(--paper); cursor: pointer; display: block; text-align: left;
  transform-origin: 50% 92%; transform: rotate(calc((var(--i) - 3.5) * 9deg * var(--open))) translateY(calc(var(--up, 0) * -26px)); transition: transform .5s var(--ease);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 10px 18px -12px rgba(0, 0, 0, .4); /* taste-skill-ignore: paint cards fanned in a deck */
}
.sw--fan .sw-c { position: absolute; inset: 0; background: var(--c); }
.sw--fan .sw-n { position: absolute; left: 0; top: 0; padding: 8px 5px; writing-mode: vertical-rl; transform: rotate(180deg); background: var(--paper); font-size: 11px; line-height: 1; white-space: nowrap; }
.sw--fan .sw-u { display: none; }
.sw--fan[aria-pressed='true'] { --up: 1; z-index: 5; }
.fan-say { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.15rem; min-height: 2.6em; }
.leaning { position: absolute; bottom: 17%; width: min(24%, 180px); }
.leaning--0 { left: 0; transform: rotate(-5deg); transform-origin: bottom left; }
.leaning--1 { right: 0; transform: rotate(4deg); transform-origin: bottom right; }

/* studios: the model table */
.world--mat { background-color: var(--mat); color: var(--field-ink); background-image: linear-gradient(rgba(238, 232, 220, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 232, 220, .09) 1px, transparent 1px), linear-gradient(rgba(238, 232, 220, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 232, 220, .16) 1px, transparent 1px); background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px; } /* taste-skill-ignore: the grid of a cutting mat */
.steel { position: relative; height: 34px; margin: 0 -4% 24px; background: #c4c2bc repeating-linear-gradient(90deg, #3b3833 0 1px, transparent 1px 7px) 0 100% / 100% 9px no-repeat; transform: rotate(-1.5deg); } /* taste-skill-ignore: the marks of a steel rule */
.steel::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 15px; background: repeating-linear-gradient(90deg, #3b3833 0 1px, transparent 1px 35px); } /* taste-skill-ignore: the marks of a steel rule */
.art--models { width: 92%; margin-left: -2%; color: #2a2b26; }
.mod polygon { stroke: #2a2b26; stroke-width: .9; stroke-linejoin: round; }
.mod-t { fill: #f7f6f1; }
.mod-r { fill: #d9d6cd; }
.mod-l { fill: #bdb9ae; }
.resting { position: absolute; right: 0; bottom: 0; width: min(30%, 220px); transform: rotate(6deg); }

/* students: the jury wall */
.world--wall { background: var(--kraft); color: var(--ink); }
.pin-sheet { position: relative; width: 74%; padding: 14px 14px 18px; background: var(--paper); transform: rotate(-1.5deg); box-shadow: 0 16px 30px -20px rgba(30, 24, 14, .55); } /* taste-skill-ignore: a sheet pinned to the board */
.pin-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pin-pic figcaption { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 14px; }
.tracing { position: absolute; inset: -3% -5% 22% 6%; background: rgba(251, 250, 246, .72); border: 1px solid rgba(25, 24, 20, .12); transform: translateY(calc(var(--lift, 0) * -82%)) rotate(1deg); }
.tracing-sketch { position: absolute; inset: auto 15% 7%; width: 70%; fill: none; stroke: #3b3833; stroke-width: 1.2; stroke-linecap: round; opacity: .75; }
.tracing-sketch .t-l { stroke-width: .8; }
.tracing-sketch text { fill: #3b3833; stroke: none; font-family: var(--serif); font-style: italic; font-size: 15px; }
.pin { position: absolute; z-index: 3; width: 16px; height: 16px; border-radius: 50%; background: var(--pin); box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.pin--a { top: 8px; left: 10px; }
.pin--b { top: 8px; right: 10px; }
.wall-notes { position: absolute; right: 0; top: 4%; display: grid; gap: 14px; width: 34%; }
.af-note { padding: 14px 14px 18px; background: var(--sticky); color: var(--ink); font-family: var(--serif); font-style: italic; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); line-height: 1.15; box-shadow: 0 10px 16px -12px rgba(30, 24, 14, .6); transition: transform .5s var(--ease), opacity .5s var(--ease); } /* taste-skill-ignore: notes stuck to the wall */
.af-note--0 { transform: rotate(3deg); }
.af-note--1 { transform: rotate(-2deg); margin-left: 12%; background: #e6d6c2; }
.af-note--2 { transform: rotate(1.5deg); }
.pinned { position: absolute; right: 6%; bottom: -4%; width: min(26%, 190px); transform: rotate(4deg); }
html.js .wall-notes .af-note:not(.is-up) { opacity: 0; transform: translateY(16px) scale(1.06); }

/* ---------- cities ---------- */
.cities { padding: clamp(80px, 9vw, 140px) 0; background: var(--bg); overflow: hidden; }
.cities-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 40px; padding: 0 var(--m); margin-bottom: 40px; }
.cities-head p { grid-column: 1; max-width: 40ch; font-family: var(--serif); font-size: var(--step-lead); line-height: 1.32; }
.cities-nav { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; }
.city-track { list-style: none; margin: 0; padding: 4px var(--m) 12px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.city-track::-webkit-scrollbar { display: none; }
.city-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.city-track.is-drag a { pointer-events: none; }
.city { flex: 0 0 min(440px, 84vw); scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; background: var(--paper); outline: 1px solid var(--line); }
.city-art { color: var(--ink); background: #f4f0e8; border-bottom: 1px solid var(--line); }
.city-art .art { aspect-ratio: 2 / 1; }
.city-body { display: grid; gap: 14px; align-content: start; padding: 24px 26px 28px; }
.city-name { font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); line-height: 1; }
.city-name span { display: block; margin-top: 8px; font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--muted); }
.city-now { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--muted); }
.city-now b { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.city-note { font-size: 16px; line-height: 1.45; }
.city-person { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); text-decoration: none; }
.city-thumb img { width: 56px; height: 76px; object-fit: cover; }
.city-person b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.1; }
.city-person i { display: block; margin-top: 4px; font-family: var(--serif); font-size: 1rem; line-height: 1.3; }
.city-person:hover b { font-style: italic; }
.city--next { background: transparent; outline-style: dashed; }
.city--next .city-art { background: transparent; }
@keyframes c-train { from { transform: translateX(-470px); } to { transform: translateX(490px); } }
@keyframes c-waves { to { transform: translateX(-70px); } }
@keyframes c-spin { to { transform: rotate(360deg); } }
@keyframes c-rain { from { transform: translateY(-14px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(30px); opacity: 0; } }
@keyframes c-drift { from { transform: translateX(-24px); } to { transform: translateX(24px); } }
@keyframes c-bob { from { transform: translate(0, -5px) rotate(-3deg); } to { transform: translate(6px, 5px) rotate(3deg); } }
@keyframes c-ferry { from { transform: translateX(-190px); } to { transform: translateX(120px); } }
.city.is-in [data-move='train'] { animation: c-train 11s linear infinite; }
.city.is-in [data-move='waves'] { animation: c-waves 4s linear infinite; }
.city.is-in [data-move='heat'] { animation: c-spin 40s linear infinite; transform-box: view-box; transform-origin: 392px 58px; }
.city.is-in [data-move='rain'] { animation: c-rain 1.3s linear infinite; }
.city.is-in [data-move='drift'] { animation: c-drift 7s ease-in-out infinite alternate; }
.city.is-in [data-move='kite'] { animation: c-bob 3.2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 10%; }
.city.is-in [data-move='kite2'] { animation: c-bob 2.6s ease-in-out infinite alternate-reverse; transform-box: fill-box; transform-origin: 50% 10%; }
.city.is-in [data-move='ferry'] { animation: c-ferry 16s ease-in-out infinite alternate; }

/* ---------- inside every story: the objects ---------- */
.inside { padding: clamp(80px, 9vw, 140px) var(--m); background: var(--deep); color: var(--bg); }
.inside-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 48px; margin-bottom: clamp(48px, 6vw, 80px); }
.inside-head p { max-width: 40ch; font-family: var(--serif); font-size: var(--step-lead); line-height: 1.32; }
.shelf { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 40px; align-items: start; }
.shelf-item { display: grid; gap: 18px; justify-items: center; }
.shelf-item:nth-child(3n + 1) .af-obj { transform: rotate(-2.5deg); }
.shelf-item:nth-child(3n + 2) .af-obj { transform: rotate(1.5deg); }
.shelf-item:nth-child(3n) .af-obj { transform: rotate(-1deg); }
.shelf-item:hover .af-obj { transform: rotate(0) translateY(-6px); }
.shelf-from { font-size: 15px; text-decoration: none; display: inline-flex; gap: .4em; }
.shelf-from:hover { text-decoration: underline; }
.shelf .af-notes { display: grid; gap: 10px; width: min(100%, 260px); background: none; box-shadow: none; }

/* the objects themselves */
.af { margin: 0; }
.af-obj { position: relative; background: #fbf8f0; color: var(--ink); box-shadow: 0 20px 32px -20px rgba(20, 16, 10, .55), 0 2px 4px rgba(20, 16, 10, .12); transition: transform .5s var(--ease); } /* taste-skill-ignore: paper objects lying on a surface */
.af-cap { margin-top: 14px; font-size: 15px; line-height: 1.4; color: var(--muted); max-width: 40ch; }
.af-title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.12; }
.af-sub { margin-top: 4px; font-size: 13px; color: var(--muted); }
.af-foot { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.25; }
.af-slip {
  width: min(100%, 320px); padding: 22px 22px 34px; font-variant-numeric: tabular-nums;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; /* taste-skill-ignore: a torn edge (mask) */
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; /* taste-skill-ignore: a torn edge (mask) */
}
.af-rows { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.af-rows td { padding: 7px 0; border-bottom: 1px dotted rgba(25, 24, 20, .35); vertical-align: top; }
.af-rows td:last-child { text-align: right; padding-left: 12px; white-space: nowrap; }
.af-page {
  width: min(100%, 330px); padding: 22px 20px 22px 52px; background-color: #fdfbf4;
  background-image: linear-gradient(90deg, transparent 38px, rgba(158, 59, 34, .38) 38px 39px, transparent 39px), repeating-linear-gradient(transparent 0 29px, rgba(62, 82, 110, .2) 29px 30px); /* taste-skill-ignore: ruled notebook paper */
  background-position: 0 0, 0 14px;
}
.af-lines { list-style: none; padding: 0; margin: 10px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 30px; }
.af-ticket {
  width: min(100%, 300px); padding: 20px 26px; background: #e9dfc6; text-align: center;
  -webkit-mask: radial-gradient(circle at 0 50%, #0000 9px, #000 9.5px) 0 0 / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 9px, #000 9.5px) 100% 0 / 51% 100% no-repeat; /* taste-skill-ignore: the notches of a ticket (mask) */
  mask: radial-gradient(circle at 0 50%, #0000 9px, #000 9.5px) 0 0 / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 9px, #000 9.5px) 100% 0 / 51% 100% no-repeat; /* taste-skill-ignore: the notches of a ticket (mask) */
}
.af-ticket .af-title { margin-top: 6px; }
.af-fare { font-family: var(--serif); font-size: 3rem; line-height: 1; margin-top: 10px; }
.af-ticket .af-foot { font-family: var(--sans); font-style: normal; font-size: 13px; border-top: 1px dashed rgba(25, 24, 20, .4); padding-top: 10px; }
.af-card { width: min(100%, 340px); padding: 18px 22px 22px; background-color: #fffdf7; background-image: linear-gradient(rgba(158, 59, 34, .42) 1px, transparent 1px), repeating-linear-gradient(transparent 0 27px, rgba(62, 82, 110, .16) 27px 28px); background-position: 0 52px, 0 56px; background-size: 100% 1px, 100% 100%; background-repeat: no-repeat, repeat; } /* taste-skill-ignore: a ruled index card */
.af-qs { padding-left: 1.3em; margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 28px; }
.af-notes { display: grid; gap: 12px; background: none; box-shadow: none; }
.af-letter { padding: 36px 34px 40px; background: #fffdf6; transform: rotate(-1deg); }
.af-letter .af-title { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.letter-a { margin-top: 16px; font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .4vw, 1.45rem); line-height: 1.45; }
.letter-from { margin-top: 22px; text-align: right; font-family: var(--serif); font-style: italic; font-size: 1.7rem; }
.af-swatches { display: flex; flex-wrap: wrap; gap: 14px; background: none; box-shadow: none; }
.sw { display: grid; grid-template-rows: 96px auto auto; width: 150px; padding: 0 0 12px; border: 0; background: var(--paper); text-align: left; cursor: pointer; box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 10px 18px -14px rgba(0, 0, 0, .45); transition: transform .4s var(--ease); } /* taste-skill-ignore: material samples on a table */
.sw:hover, .sw[aria-pressed='true'] { transform: translateY(-6px); }
.sw-c { background: var(--c); }
.sw-n { padding: 10px 12px 0; font-weight: 500; font-size: 15px; }
.sw-u { padding: 2px 12px 0; font-size: 13px; color: var(--muted); }
.sw--terrazzo .sw-c { background-color: var(--c); background-image: radial-gradient(#8f8676 1.4px, transparent 1.6px), radial-gradient(#b65f3e 1.2px, transparent 1.4px), radial-gradient(#4f5b57 1.6px, transparent 1.8px); background-size: 13px 11px, 17px 19px, 23px 21px; background-position: 0 0, 5px 7px, 9px 3px; } /* taste-skill-ignore: terrazzo chips */
.sw--cane .sw-c { background-color: var(--c); background-image: repeating-linear-gradient(45deg, rgba(90, 60, 20, .35) 0 2px, transparent 2px 9px), repeating-linear-gradient(-45deg, rgba(90, 60, 20, .35) 0 2px, transparent 2px 9px); } /* taste-skill-ignore: cane weave */
.sw--linen .sw-c { background-color: var(--c); background-image: repeating-linear-gradient(0deg, rgba(90, 80, 60, .12) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(90, 80, 60, .1) 0 1px, transparent 1px 4px); } /* taste-skill-ignore: linen weave */
.af-sun { padding: clamp(16px, 2.4vw, 28px); background: var(--field); color: var(--field-ink); box-shadow: none; }
.sun-ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 16px; }
.sun-time { display: flex; align-items: center; gap: 14px; flex: 1 1 320px; }
.sun-time span { font-size: 15px; white-space: nowrap; }
.sun-time input { flex: 1; accent-color: var(--warm); min-height: 44px; }
.sun-time output { font-family: var(--serif); font-size: 1.8rem; min-width: 3.2em; text-align: right; font-variant-numeric: tabular-nums; }
.sun-seasons { display: flex; gap: 6px; }
.sun-seasons button { min-height: 44px; padding: 0 16px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }
.sun-seasons button[aria-pressed='true'] { background: var(--field-ink); color: var(--field); }
.sun-say { margin-top: 14px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; min-height: 2.7em; }

/* ---------- three steps ---------- */
.steps { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding: clamp(80px, 9vw, 140px) var(--m); background: var(--bg); color: var(--ink); }
.steps-head { display: grid; gap: 22px; justify-items: start; }
.steps-head p { font-size: var(--step-lead); line-height: 1.35; max-width: 28ch; }
.steps-head b { font-family: var(--serif); font-weight: 400; font-style: italic; }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps-list li { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 26px 24px 22px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.step-no { font-family: var(--serif); font-size: 3.4rem; line-height: .9; }
.steps-list h3 { font-size: 1.7rem; }
.step-time { padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.steps .la--tools { opacity: .14; }

/* ---------- a story ---------- */
.page-story .sheet { background: var(--bg); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: calc(var(--bar-h) + 18px) var(--m) 0; font-size: 14px; color: var(--muted); }
.crumbs a { color: inherit; }
.crumbs [aria-current] { color: var(--ink); }
.prof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding: 28px var(--m) clamp(48px, 6vw, 88px); }
.prof-cover { width: 100%; max-width: 440px; justify-self: end; }
.prof-cover .cover { outline: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(20, 16, 10, .5); } /* taste-skill-ignore: the cover stands on the page */
.prof-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 15px; }
.prof-name { margin-top: 14px; font-size: var(--step-display); line-height: .92; letter-spacing: -.03em; }
.prof-head { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: var(--step-lead); line-height: 1.25; }
.prof-stand { margin-top: 18px; max-width: 54ch; }
.prof-seal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; font-size: 15px; }
.seal { position: relative; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); flex: none; }
.seal::after { content: ''; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.prof-time { padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); }
.prof-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.prof-links { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prof-links a, .prof-links .find-off { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; background: var(--surface); text-decoration: none; font-size: 15px; font-weight: 400; }
.prof-links .find-off { color: var(--muted); }
.prof-links .find-off i { font-size: 13px; }
.glance { padding: 0 var(--m) clamp(40px, 5vw, 64px); }
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); border-top: 1px solid var(--ink); padding-top: 24px; }
.fig { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.fig dd { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fig dt { font-style: italic; font-family: var(--serif); font-size: 1.05rem; }
.secbar { position: sticky; top: var(--bar-h); z-index: 20; background: var(--bg); border-block: 1px solid var(--line); }
.secbar ol { list-style: none; margin: 0; padding: 0 var(--m); display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.secbar ol::-webkit-scrollbar { display: none; }
.secbar a { display: block; padding: 15px 12px; white-space: nowrap; text-decoration: none; font-size: 15px; color: var(--muted); }
.secbar a:hover { color: var(--ink); }
.secbar a.is-on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.secbar-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.story { padding: 0 var(--m) clamp(64px, 7vw, 112px); }
.story .chap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 64px); padding: 0; }
.story .chap > * { grid-column: 2; }
.chap-h { margin: clamp(56px, 7vw, 104px) 0 28px; font-size: var(--step-head); }
.chap-no { display: block; margin-bottom: 10px; font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.story .chap-text { display: grid; gap: 1em; font-size: 1.1875rem; line-height: 1.62; }
.chap-text--first p:first-child::first-letter { float: left; font-size: 4.4em; line-height: .78; margin: .06em .1em 0 0; font-style: italic; }
.story .chap-side { grid-column: 3; grid-row: 2 / span 3; align-self: start; display: grid; gap: 40px; justify-items: start; padding-top: 6px; }
.chap-side .af-obj { transform: rotate(1.5deg); }
.chap-side .af:nth-child(2) .af-obj { transform: rotate(-2deg); }
.story .pull { margin: 48px 0 8px; padding: 0; }
.story .pull p { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.5rem); line-height: 1.12; letter-spacing: -.015em; font-style: italic; }
.story .pull p::before { content: '“'; } .story .pull p::after { content: '”'; }
.story .pull footer { margin-top: 18px; font-size: 15px; }
.story .chap-pic, .story .chap-wide { grid-column: 1 / -1; margin: 56px 0 0; }
.chap-frame img { width: 100%; max-height: 82svh; object-fit: cover; }
.chap-pic figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.chap-wide { display: grid; justify-items: center; }
.chap-wide .af { width: min(100%, 980px); }
.works { padding: clamp(72px, 8vw, 120px) var(--m); background: var(--paper); }
.works-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: 40px; }
.works-head p { max-width: 36ch; font-family: var(--serif); font-size: var(--step-lead); line-height: 1.3; }
.wk-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 32px; }
.wk { display: grid; gap: 0; align-content: start; }
.wk-pic { display: block; width: 100%; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.wk-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.wk-pic:hover img { transform: scale(1.03); }
.tb { width: 100%; border-collapse: collapse; border: 1.5px solid var(--ink); border-top: 0; font-size: 15px; }
.tb th, .tb td { padding: 7px 10px; border: 1px solid rgba(25, 24, 20, .45); text-align: left; vertical-align: top; }
.tb th { width: 1%; white-space: nowrap; font-weight: 400; font-size: 12px; color: var(--muted); }
.tb td { font-weight: 500; }
.tb tr:first-child td { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.wk-note { margin-top: 16px; max-width: 58ch; }
.wk-ph { margin-top: 8px; font-size: 14px; font-style: italic; color: var(--muted); }
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0f0e0c; color: #f3f2ee; overflow: hidden; }
.lb::backdrop { background: rgba(15, 14, 12, .92); }
.lb-stage { position: absolute; inset: 64px clamp(16px, 6vw, 88px) 24px; touch-action: pan-y; }
.lb-item { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; margin: 0; }
.lb-item[hidden] { display: none; }
.lb-item img { width: 100%; height: 100%; object-fit: contain; }
.lb-item figcaption { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: center; font-size: 15px; }
.lb-item b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.lb-count { position: absolute; left: 20px; top: 20px; font-size: 15px; }
.lb-close { position: absolute; right: 14px; top: 10px; min-height: 44px; padding: 0 12px; border: 0; background: none; color: inherit; font-weight: 500; cursor: pointer; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(15, 14, 12, .5); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.honours { max-width: none; margin: 0; padding: clamp(72px, 8vw, 120px) var(--m) 0; container-type: normal; }
.hon-list { list-style: none; padding: 0; margin: 32px 0 0; display: block; border-top: 1.5px solid var(--ink); }
.hon { display: grid; grid-template-columns: 96px 44px minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px 0; background: none; border-bottom: 1px solid var(--line); }
.hon-year { grid-row: auto; font-family: var(--serif); font-style: normal; font-size: 1.7rem; color: var(--ink); }
.hon-medal { width: 34px; height: 34px; border-radius: 50%; background: var(--field); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5px var(--field); }
.hon-name { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.hon-for { color: var(--muted); }
.words { padding: clamp(72px, 8vw, 120px) var(--m); }
.words-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: start; margin-top: 40px; }
.words .qa-list { display: grid; gap: 0; }
.words .qa-item { padding: 22px 0; border-top: 1px solid var(--line); }
.words .qa-item dt { font-family: var(--serif); font-style: italic; font-size: var(--step-lead); line-height: 1.25; }
.words .qa-item dd { margin: 10px 0 0; max-width: 58ch; }
.find { background: var(--surface); }
.find-col > p { max-width: 34ch; }
.more { padding: clamp(72px, 8vw, 120px) var(--m); }
.more .h2 { margin-bottom: 40px; }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story .chap { grid-template-columns: minmax(0, 1fr) minmax(0, 680px) minmax(0, 1fr); }
  .story .chap-side { grid-column: 2; grid-row: auto; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  .world { grid-template-columns: 1fr; }
  .tracing { transform: translate(calc(var(--lift, 0) * 62%), calc(var(--lift, 0) * -4%)) rotate(1deg); }
  .world-stage { max-width: 720px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-fan { height: clamp(380px, 70vw, 600px); }
  .words-grid { grid-template-columns: 1fr; }
  .prof { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  .hero { padding-top: calc(var(--bar-h) + 28px); gap: 28px; }
  .hero-h em { padding-left: .3em; }
  .hero-fan { height: 96vw; }
  .fan { width: 50%; }
  .issue-head p, .cities-head p, .inside-head p, .works-head p { font-size: 1.15rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; }
  .card-name { font-size: 1.3rem; }
  .card-head { font-size: 1rem; }
  .card-meta { font-size: 13px; }
  .page-head--stories .finder { grid-template-columns: 1fr; }
  .world { padding-block: 72px; gap: 40px; }
  .world-people b { font-size: 1.35rem; }
  .world-people i { grid-column: 1; grid-row: auto; }
  .taped { width: 40%; margin-top: -4%; }
  .taped--0 { margin-left: 4%; }
  .world--table .world-stage { padding-bottom: 72px; }
  .fan-deck { bottom: calc(17% + 64px); }
  .sw--fan { width: 54px; left: -27px; height: 158px; transform: rotate(calc((var(--i) - 3.5) * 10deg * var(--open))) translateY(calc(var(--up, 0) * -20px)); }
  .sw--fan .sw-n { font-size: 10px; padding: 4px 5px; }
  .leaning { width: 26%; bottom: calc(17% + 64px); }
  .resting { position: relative; display: block; margin: -12% 0 0 auto; width: 42%; }
  .pin-sheet { width: 82%; }
  .wall-notes { position: relative; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; top: 0; }
  .wall-notes .af-note { font-size: .95rem; padding: 10px 10px 14px; margin-left: 0; }
  .pinned { position: relative; display: block; margin: -30% 0 0 auto; right: 0; bottom: 0; width: 38%; }
  .cities-head { grid-template-columns: 1fr; }
  .cities-nav { grid-column: 1; grid-row: auto; }
  .shelf { grid-template-columns: 1fr; gap: 56px; }
  .steps-list { grid-template-columns: 1fr; }
  .crumbs { padding-top: calc(var(--bar-h) + 14px); }
  .prof { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 16px 18px; align-items: start; padding-top: 18px; }
  .prof-cover { grid-row: 1; align-self: start; }
  .prof-text { display: contents; }
  .prof-who { grid-column: 2; grid-row: 1; align-self: start; font-size: 13px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .prof-who .dia { display: none; }
  .prof-name { grid-column: 2; grid-row: 1; align-self: end; font-size: clamp(2.1rem, 9vw, 2.8rem); margin: 0; }
  .prof-head, .prof-stand, .prof-seal, .prof-acts, .prof-links { grid-column: 1 / -1; margin-top: 0; }
  .prof-head { font-size: 1.3rem; }
  .prof-acts .btn { flex: 1 1 auto; min-height: 48px; padding: 0 14px; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .story .chap { grid-template-columns: minmax(0, 1fr); }
  .story .chap > *, .story .chap-side { grid-column: 1; }
  .story .chap-text { font-size: 1.0625rem; }
  .story .chap-side { grid-template-columns: 1fr; justify-items: center; }
  .story .chap-pic, .story .chap-wide { margin-inline: calc(var(--m) * -1); }
  .chap-wide .af-sun { padding: 14px var(--m) 18px; }
  .chap-pic figcaption { padding-inline: var(--m); }
  .af-swatches { justify-content: center; padding-inline: var(--m); }
  .sw { width: calc(50% - 7px); }
  .wk-grid { grid-template-columns: 1fr; gap: 56px; }
  .lb-stage { inset: 56px 8px 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .hon { grid-template-columns: 64px 1fr; gap: 6px 14px; }
  .hon-medal { display: none; }
  .hon-year { grid-row: span 2; font-size: 1.4rem; align-self: start; }
  .hon-name, .hon-for { grid-column: 2; }
}

/* ---------- motion: things arrive once; nothing waits on a script to be readable ---------- */
html.js.motion .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js.motion .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .wall-notes .af-note:not(.is-up) { opacity: 1; transform: none; }
  .city.is-in [data-move] { animation: none; }
}

/* =====================================================================================================
   v3: ink, limewash and oxide. Paper-coloured pages in near-black ink; three dark grounds (the opening, the
   objects, the back of the issue); one oxide accent and a brass for sunlight. An architect's drawing shows
   faintly behind every section (.ground, templates/ground.mjs), drawn in as it arrives and drifting slower
   than the page.
   ===================================================================================================== */
html.is-smooth { scroll-behavior: auto; }
::selection { background: var(--accent); color: #fbf8f0; }
.btn::before { background: var(--accent); }
.btn:hover { color: #fbf8f0; }
.btn--light::before, .btn--ghost::before { background: var(--surface); }
.btn--light:hover, .btn--ghost:hover { color: var(--ink); }
.bar.is-solid { box-shadow: 0 1px 0 var(--line); }

/* ---------- the drawings behind the sections ---------- */
.hero, .issue, .world, .cities, .inside, .steps, .reply, .rack, .page-head, .gf, .rules, .lost, .tri, .cite, .story, .plates, .roll { position: relative; isolation: isolate; }
.issue, .cities, .steps, .page-head, .gf, .lost, .tri, .cite, .story, .plates { overflow: hidden; }
.ground { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.gd { position: absolute; opacity: var(--gd-o, .09); transition: opacity 1.6s var(--ease); }
.gd .la { position: static; display: block; width: 100%; height: auto; opacity: 1; }
.gd .la .o { fill: var(--ground-fill, var(--bg)); }
.hero, .inside, .reply, .rack, .world--mat, .roll { --gd-o: .12; }
.hero { --ground-fill: var(--field); }
.inside { --ground-fill: var(--deep); }
.world--mat { --ground-fill: var(--mat); }
.plates { --ground-fill: var(--paper); }
html.js.motion .ground.will-draw .gd { opacity: 0; }
html.js.motion .ground.will-draw.is-drawn .gd { opacity: var(--gd-o, .09); }
.gd--hero-a { left: -2vw; bottom: -3vh; width: min(64vw, 1000px); }
.gd--hero-b { right: -6vw; top: calc(var(--bar-h) + 2vh); width: clamp(280px, 30vw, 480px); --gd-o: .08; }
.gd--issue { right: -3vw; top: -2vw; width: clamp(300px, 30vw, 480px); }
.gd--board { left: -5vw; bottom: -10vh; width: clamp(280px, 27vw, 440px); }
.gd--table { left: -4vw; bottom: -14%; width: clamp(240px, 22vw, 360px); }
.gd--mat { left: -3vw; top: 2vh; width: clamp(300px, 30vw, 460px); }
.gd--wall { left: 1vw; bottom: -10%; width: clamp(180px, 16vw, 280px); }
.gd--cities { right: -6vw; top: -4vh; width: clamp(420px, 56vw, 880px); }
.gd--inside { right: -3vw; top: 3vh; width: clamp(320px, 34vw, 540px); }
.gd--steps { left: -3vw; bottom: -6vh; width: clamp(220px, 22vw, 340px); }
.gd--reply { left: var(--m); top: 5vh; width: clamp(280px, 32vw, 500px); }
.gd--rack { right: -2vw; top: -10px; width: clamp(340px, 52vw, 820px); }
.gd--stories { right: -4vw; top: calc(var(--bar-h) - 10px); width: clamp(340px, 50vw, 760px); }
.gd--gf { left: -4vw; bottom: -4vh; width: clamp(300px, 34vw, 520px); }
.gd--rules { right: -10%; top: 6%; width: 52%; }
.gd--lost { right: 3vw; top: calc(var(--bar-h) + 4vh); width: clamp(220px, 26vw, 400px); }
.gd--tri { right: -3vw; top: calc(var(--bar-h) + 1vh); width: clamp(300px, 38vw, 580px); }
.gd--tri-b { left: 26vw; bottom: -14%; width: clamp(240px, 30vw, 460px); --gd-o: .05; }
.gd--cite { left: 50%; bottom: -10%; width: min(1120px, 96vw); margin-left: calc(min(1120px, 96vw) / -2); --gd-o: .07; }
.gd--story-a { left: -4vw; top: 6%; width: clamp(220px, 21vw, 340px); --gd-o: .07; }
.gd--story-b { left: 1.5vw; top: 52%; width: clamp(160px, 14vw, 240px); --gd-o: .06; }
.gd--plates { right: -5vw; top: 1%; width: clamp(320px, 36vw, 560px); --gd-o: .07; }
.gd--roll { left: 50%; top: 2%; width: clamp(220px, 22vw, 340px); margin-left: calc(clamp(220px, 22vw, 340px) / -2); --gd-o: .1; }

/* ---------- the four rooms, in quieter materials ---------- */
.world-people a { border-bottom-color: var(--line); }
.world--mat .world-people a, .world--board .world-people a { border-bottom-color: color-mix(in srgb, currentColor 22%, transparent); }
.stage-covers { position: relative; z-index: 2; }
/* architects: a drawing sheet on the drafting board */
.world--board { background-color: var(--board); color: var(--ink); background-image: linear-gradient(rgba(25, 24, 20, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 24, 20, .045) 1px, transparent 1px); background-size: 28px 28px; } /* taste-skill-ignore: the grid of the drafting board */
.board-sheet { padding: clamp(14px, 1.6vw, 22px); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(20, 16, 10, .4); } /* taste-skill-ignore: a sheet lying on the board */
.board-clock { right: clamp(18px, 2vw, 28px); top: clamp(14px, 1.6vw, 22px); }
.world--board .stage-covers { display: flex; justify-content: flex-end; gap: 5%; margin-top: 22px; padding-right: 3%; }
.taped { width: min(24%, 170px); margin: 0; }
.taped--0, .taped--1 { margin-left: 0; }
.taped::before { background: rgba(236, 228, 206, .82); }
/* interior designers: the material table under a lamp */
.world--table { background: var(--plaster); }
.table-top { position: relative; padding-bottom: 46px; }
.lamp-light { fill: url(#lamp-glow); opacity: 0; transition: opacity 1.6s var(--ease); }
.lamp-pool { fill: var(--warm); stroke: none; opacity: 0; transition: opacity 1.6s var(--ease); }
.world--table.is-lit .lamp-light { opacity: 1; }
.world--table.is-lit .lamp-pool { opacity: .35; }
.fan-deck { bottom: calc((100% - 46px) * .1667 + 46px); }
.fan-say { bottom: 0; min-height: 0; }
.world--table .stage-covers { position: absolute; inset: auto 0 calc((100% - 46px) * .1667 + 46px); display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.world--table .stage-covers > * { pointer-events: auto; }
.leaning { position: relative; bottom: auto; width: min(21%, 160px); }
.leaning--0 { left: 0; transform: rotate(-4deg); }
.leaning--1 { right: 0; transform: rotate(3deg); }
.sw--fan { height: 190px; }
/* studios: card models on a dark cutting mat */
.world--mat { background-color: var(--mat); color: var(--field-ink); background-image: linear-gradient(rgba(238, 232, 220, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 232, 220, .05) 1px, transparent 1px), linear-gradient(rgba(238, 232, 220, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 232, 220, .1) 1px, transparent 1px); background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px; } /* taste-skill-ignore: the grid of a cutting mat */
.mat-top { position: relative; }
.steel { width: 74%; margin: 0 0 18px 6%; height: 30px; }
.art--models { width: 86%; margin-left: 0; }
.world--mat .stage-covers { position: absolute; right: 0; bottom: -4%; width: min(24%, 180px); }
.resting { position: relative; width: 100%; transform: rotate(5deg); }
/* students: the jury wall */
.world--wall { background: var(--kraft); }
.af-note--1 { background: #e6d6c2; }
.world--wall .stage-covers { position: absolute; right: 5%; bottom: -5%; width: min(25%, 180px); }
.pinned { position: relative; right: auto; bottom: auto; width: 100%; transform: rotate(4deg); }

/* ---------- inside every story: the objects, on a dark shelf ---------- */
.shelf { display: flex; flex-wrap: wrap; justify-content: center; gap: 64px clamp(32px, 4vw, 64px); }
.shelf-item { flex: 0 1 300px; }

/* ---------- the footer: the colophon of the issue ---------- */
.foot { padding: clamp(72px, 8vw, 120px) var(--m) clamp(24px, 3vw, 36px); background: var(--deep); color: var(--field-ink); }
.foot-panel { -webkit-mask: none; mask: none; max-width: none; margin: 0; padding: 40px 0 0; background: none; color: inherit; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 120px); border-top: 1px solid rgba(238, 232, 220, .18); }
.foot-sign { font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.6rem); line-height: .98; }
.foot-msg { max-width: 46ch; gap: 16px; }
.foot-msg p:not(.foot-sign) { color: rgba(238, 232, 220, .78); }
.foot-links { font-size: 19px; justify-self: end; }
.foot-credits, .foot-credits a { color: rgba(238, 232, 220, .52); }
.foot-credits { font-size: 13px; padding-top: 28px; border-top: 1px solid rgba(238, 232, 220, .12); }
.foot-imprint { justify-content: space-between; padding-top: 0; font-size: 13px; color: rgba(238, 232, 220, .52); text-transform: uppercase; letter-spacing: .12em; }

/* ---------- a story: the tribute ---------- */
.tri { padding: 0 var(--m) clamp(44px, 5vw, 72px); }
.tri .crumbs { padding: calc(var(--bar-h) + 18px) 0 0; }
.tri-kicker { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(36px, 5vw, 80px); padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.tri-kicker span:last-child { display: inline-flex; align-items: center; gap: 10px; }
.tri-kicker .dia { width: .5em; height: .5em; }
.tri-name { margin-top: clamp(18px, 2.4vw, 36px); font-size: clamp(3.2rem, .6rem + 9.4vw, 10.5rem); line-height: .88; letter-spacing: -.035em; }
.tri-n2 { font-style: italic; }
.tri-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 96px); margin-top: clamp(36px, 4.4vw, 72px); align-items: start; }
.tri-facts { margin: 0; border-top: 1px solid var(--line); }
.tri-facts div { display: grid; grid-template-columns: 8.6em minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.tri-facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.tri-facts dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }
.tri-head { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 1.2rem + 1.9vw, 3.1rem); line-height: 1.06; letter-spacing: -.015em; max-width: 20ch; }
.tri-stand { margin-top: 22px; font-size: var(--step-lead); line-height: 1.42; max-width: 46ch; }
.tri-by { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; font-size: 15px; color: var(--muted); }
.tri-by span + span { padding-left: 18px; border-left: 1px solid var(--line); }
.tri-begin { display: inline-flex; gap: 10px; margin-top: 30px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.tri-begin span { transition: transform .5s var(--ease); }
.tri-begin:hover span { transform: translateY(4px); }
.tri-plate { margin: 0; }
.tri-frame { overflow: hidden; height: min(84svh, 50vw); min-height: 320px; background: var(--surface); }
.tri-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); will-change: transform; }
.tri-plate figcaption { padding: 12px var(--m) 0; text-align: right; font-size: 14px; font-style: italic; color: var(--muted); }

/* the citation: what the issue honours them for, set like an inscription in a double rule */
.cite { padding: clamp(96px, 11vw, 168px) var(--m); text-align: center; }
.cite-frame { position: relative; max-width: 1000px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 80px); border: 1px solid var(--ink); background: var(--bg); }
.cite-frame::before { content: ''; position: absolute; inset: 7px; border: 1px solid var(--line); pointer-events: none; }
.cite-kicker { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; }
.cite-name { margin-top: 24px; font-size: clamp(2.1rem, 1rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: .07em; text-transform: uppercase; }
.cite-what { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cite-what .dia { width: .45em; height: .45em; }
.cite-for { max-width: 38ch; margin: 36px auto 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 1.05rem + 1.1vw, 2.1rem); line-height: 1.32; text-wrap: balance; }
.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: clamp(44px, 5vw, 64px) 0 0; border-top: 1px solid var(--line); }
.ledger div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 26px 12px 0; }
.ledger div + div { border-left: 1px solid var(--line); }
.ledger dd { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 1.5rem + 2.4vw, 3.8rem); line-height: .95; font-variant-numeric: lining-nums tabular-nums; }
.ledger dt { font-size: 14px; line-height: 1.35; color: var(--muted); }
.ledger-note { margin-top: 18px; font-size: 14px; font-style: italic; color: var(--muted); }
.cite-seal { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(40px, 4.6vw, 60px); font-size: 15px; text-align: left; }
.mark { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--accent); color: #fbf8f0; font-family: var(--serif); font-size: 1.1rem; letter-spacing: .06em; box-shadow: inset 0 0 0 4px var(--accent), inset 0 0 0 5px rgba(251, 248, 240, .55); }

/* the contents bar and the chapters */
.secbar { background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.secbar a i { font-style: normal; font-family: var(--serif); color: var(--accent); margin-right: 2px; }
.chap-no { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.chap-text--first p:first-child::first-letter { color: var(--accent); }
.story .pull { border-left: 2px solid var(--accent); padding-left: clamp(18px, 2vw, 28px); }

/* the work, as plates with museum labels */
.plates { padding: clamp(88px, 9vw, 144px) var(--m); background: var(--paper); }
.plates-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: clamp(48px, 6vw, 96px); }
.plates-head p { max-width: 36ch; font-family: var(--serif); font-size: var(--step-lead); line-height: 1.3; }
.plate-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(80px, 9vw, 150px); }
.pl { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.pl-pic { display: block; width: 100%; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; overflow: hidden; }
.pl-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pl-pic:hover img { transform: scale(1.025); }
.pl-label { display: grid; gap: 10px; align-content: end; }
.pl-no { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.pl-name { font-size: clamp(1.8rem, 1.3rem + 1.3vw, 2.7rem); line-height: 1.02; }
.pl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pl-meta .dia { width: .34em; height: .34em; }
.pl-note { margin-top: 4px; max-width: 44ch; font-size: 1.02rem; line-height: 1.58; }
.pl-ph { font-size: 14px; font-style: italic; color: var(--muted); }
.pl--0 .pl-pic { grid-column: 1 / 9; aspect-ratio: 3 / 2; }
.pl--0 .pl-label { grid-column: 9 / 13; }
.pl--1 .pl-pic { grid-column: 5 / 13; grid-row: 1; aspect-ratio: 3 / 2; }
.pl--1 .pl-label { grid-column: 1 / 5; grid-row: 1; }
.pl--2 { align-items: start; }
.pl--2 .pl-pic { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.pl--2 .pl-label { grid-column: 1 / 7; grid-row: 2; margin-top: 28px; }
.pl--3 .pl-pic { grid-column: 3 / 9; aspect-ratio: 4 / 5; }
.pl--3 .pl-label { grid-column: 9 / 13; }
.lb-item figcaption i { font-style: normal; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }

/* the roll of honour: brass on ink, like the board in a college hall */
.roll { padding: clamp(96px, 10vw, 150px) var(--m); background: var(--field); color: var(--field-ink); text-align: center; overflow: hidden; --ground-fill: var(--field); }
.roll-kicker { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.roll-h { margin-top: 18px; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.8rem); line-height: 1.04; letter-spacing: .06em; text-transform: uppercase; }
.roll-list { list-style: none; padding: 0; margin: clamp(44px, 5vw, 72px) auto 0; max-width: 900px; border-top: 1px solid rgba(200, 160, 90, .5); }
.roll .hon { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 28px; row-gap: 6px; align-items: baseline; padding: 28px 0; text-align: left; border-bottom: 1px solid rgba(200, 160, 90, .28); background: none; }
.roll .hon-year { grid-row: 1 / span 2; font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--brass); }
.roll .hon-name { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.75rem); line-height: 1.2; }
.roll .hon-for { color: rgba(238, 232, 220, .64); font-size: 15px; }

/* the colophon: their cover, where to find them, pass it on */
.colo { display: grid; grid-template-columns: minmax(0, 2.4fr) repeat(3, minmax(0, 3fr)); gap: clamp(28px, 4vw, 64px); padding: clamp(80px, 9vw, 128px) var(--m); background: var(--surface); align-items: start; }
.colo-cover { margin: 0; max-width: 250px; }
.colo-cover .cover { outline: 1px solid var(--line); box-shadow: 0 30px 50px -34px rgba(20, 16, 10, .45); transform: rotate(-2deg); } /* taste-skill-ignore: their cover, kept like a magazine on a shelf */
.colo-cover figcaption { margin-top: 20px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.colo-col { display: grid; gap: 16px; align-content: start; justify-items: start; border-top: 1px solid var(--ink); }
.colo-h { padding-top: 16px; font-size: clamp(1.5rem, 1.2rem + .8vw, 2.1rem); line-height: 1.05; }
.colo-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.colo-links a, .colo-links button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.colo-links a:hover, .colo-links button:hover { color: var(--accent); }
.colo-off { color: var(--muted); }
.colo-off i { font-size: 13px; }
.colo-col > p { max-width: 30ch; color: var(--muted); }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .colo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .colo-cover { grid-column: 1 / -1; max-width: 220px; }
}
@media (max-width: 1023px) {
  .tri-row { grid-template-columns: 1fr; }
  .tri-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .tri-facts div { grid-template-columns: 1fr; gap: 4px; }
  .tri-frame { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .pl .pl-pic { grid-column: 1 / -1; grid-row: 1; }
  .pl .pl-label { grid-column: 1 / 9; grid-row: 2; margin-top: 24px; }
  .pl--3 .pl-pic { aspect-ratio: 4 / 3; }
  .gd--story-a, .gd--story-b { display: none; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  .gd--hero-a { left: -30vw; width: 150vw; bottom: -1vh; }
  .gd--hero-b { right: -30vw; width: 70vw; top: auto; bottom: 30%; }
  .gd--cities { width: 140vw; right: -40vw; }
  .gd--tri { width: 80vw; right: -24vw; top: calc(var(--bar-h) + 8px); }
  .gd--tri-b { display: none; }
  .gd--cite { width: 200vw; margin-left: -100vw; }
  .gd--board, .gd--table, .gd--mat, .gd--wall, .gd--steps, .gd--inside, .gd--plates { width: 62vw; }
  .world--board .stage-covers { justify-content: center; margin-top: 16px; padding-right: 0; gap: 8%; }
  .taped { width: 38%; }
  .table-top { padding-bottom: 40px; }
  .world--table .stage-covers { position: relative; inset: auto; display: flex; justify-content: space-between; margin-top: 18px; padding: 0 6%; }
  .leaning { width: 38%; }
  .world--table .world-stage { padding-bottom: 0; }
  .fan-deck { bottom: calc((100% - 40px) * .1667 + 40px); }
  .sw--fan { height: 150px; }
  .world--mat .stage-covers { position: relative; right: auto; bottom: auto; width: 40%; margin: -6% 0 0 auto; }
  .world--wall .stage-covers { position: relative; right: auto; bottom: auto; width: 40%; margin: 20px 0 0 auto; }
  .tracing { transform: translate(calc(var(--lift, 0) * 6%), calc(var(--lift, 0) * -10%)) rotate(calc(1deg + var(--lift, 0) * 4deg)); opacity: calc(1 - var(--lift, 0) * .7); }
  .foot-panel { grid-template-columns: 1fr; padding-top: 32px; }
  .foot-links { justify-self: start; }
  .foot-msg { padding-right: 0; }
  .foot-imprint { justify-content: flex-start; gap: 6px 16px; }
  .tri-name .tri-n1, .tri-name .tri-n2 { display: block; }
  .tri-name { font-size: clamp(3rem, 16vw, 4.6rem); }
  .tri-kicker { font-size: 12px; letter-spacing: .1em; }
  .tri-facts dd { font-size: 1.1rem; }
  .tri-frame { aspect-ratio: 4 / 5; }
  .cite { padding-inline: 12px; }
  .cite-frame { padding: 44px 18px 40px; }
  .cite-name { letter-spacing: .04em; }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger div:nth-child(odd) { border-left: 0; }
  .ledger div:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .cite-seal { flex-direction: column; text-align: center; }
  .pl .pl-label { grid-column: 1 / -1; }
  .pl .pl-pic { aspect-ratio: 4 / 3; margin-inline: calc(var(--m) * -1); width: calc(100% + 2 * var(--m)); }
  .roll .hon { grid-template-columns: 1fr; }
  .roll .hon-year { grid-row: auto; font-size: 1.5rem; }
  .colo { grid-template-columns: 1fr; }
  .colo-cover { max-width: 190px; }
  .chap-wide .af-cap { padding-inline: var(--m); }
}

/* "Begin the story" lands Chapter I just under the header and the contents bar. */
#story { scroll-margin-top: calc(var(--bar-h) + 50px); }

/* The name, The Drawing Room, is longer than the placeholder was: give the bar room.
   Desktop demo: the tag shortens to "Demo issue" until the screen is wide enough for the whole line.
   Phones: the bar button says "Your story"; in the demo, where the Demo tag needs the room, the button lives in the menu. */
@media (max-width: 1599px) { .demo-tag > span { display: none; } }
.bb-short { display: none; }
@media (max-width: 560px) {
  .bar { gap: 12px; }
  .btn--bar .bb-long { display: none; }
  .btn--bar .bb-short { display: inline; }
  .bar:has(.bar-id) .btn--bar { display: none; }
}
@media (max-width: 380px) { .bar-name { font-size: 17px; } }

/* ---------- public-record stories: a drawn cover when no picture is cleared yet, plates without pictures, the
   sources at the end and where each quote was published ---------- */
.cover-pic--drawn { display: grid; place-items: center; background: var(--surface); color: var(--ink); }
.cover-pic--drawn .la { position: static; width: 82%; height: auto; max-height: 86%; opacity: .5; }
.cover-pic--drawn .la .o { fill: var(--surface); }
.thumb-drawn { display: grid; place-items: center; width: 56px; height: 76px; background: var(--surface); color: var(--ink); }
.thumb-drawn .la { position: static; width: 46px; height: auto; opacity: .6; }
.thumb-drawn .la .o { fill: var(--surface); }

.pl--text { align-items: start; }
.pl--text .pl-label { grid-column: 1 / 8; grid-row: auto; margin-top: 0; padding-top: 22px; border-top: 1px solid var(--ink); }
.pl--text.pl--1 .pl-label, .pl--text.pl--3 .pl-label { grid-column: 6 / 13; }
.plate-list:not(:has(.pl-pic)) { gap: clamp(56px, 6vw, 88px); }

.words-note { margin-top: 14px; max-width: 52ch; font-size: 15px; color: var(--muted); }
.letter-src { margin-top: 10px; text-align: right; font-size: 14px; color: var(--muted); }
.qa-src { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
.src-ref { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.src-ref:hover { color: var(--ink); text-decoration-color: currentColor; }

.sources { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; padding: clamp(72px, 8vw, 120px) var(--m); border-top: 1px solid var(--line); }
.src-head { position: sticky; top: calc(var(--bar-h) + 72px); display: grid; gap: 18px; }
.src-head p { max-width: 40ch; font-size: 1rem; line-height: 1.6; }
.src-list { list-style: none; margin: 0; padding: 0; counter-reset: src; }
.src-list li { counter-increment: src; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--bar-h) + 70px); }
.src-list li::before { content: counter(src); grid-row: span 2; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; color: var(--accent); }
.src-list a { font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.src-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.src-list span { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.src-list .dia { width: .34em; height: .34em; }
.src-list li:target { background: color-mix(in srgb, var(--accent) 8%, transparent); }
@media (max-width: 767px) {
  .sources { grid-template-columns: 1fr; }
  .src-head { position: static; }
  .pl--text .pl-label, .pl--text.pl--1 .pl-label, .pl--text.pl--3 .pl-label { grid-column: 1 / -1; }
}
