/* Queer Voices of the Great War.
   An archive's reading room: warm paper, ink, ruled lines, accession numbers in mono, and one oxblood accent
   used like a stamp. Display type (Instrument Serif) for names and titles, Newsreader for reading, Geist for the
   interface. Few boxes: sections are divided by rules, and the photographs carry the visual weight. */
:root {
  --bg: #F7F4EF;
  --raise: #FFFFFF;
  --sunk: #F0EBF7;
  --ink: #1C1724;
  --ink-2: #4C4657;
  --ink-3: #7A7385;
  --rule: #D5CFDB;
  --rule-soft: #E6E1EA;
  --accent: #D8352A;
  --accent-2: #B3261C;
  --accent-soft: #E6DDFA;
  --on-accent: #FFFFFF;
  --lav: #C7B6F0;
  --lav-pale: #ECE5FB;
  --lav-deep: #5E46A8;
  --ok: #2F6B48;
  --warn: #9A6212;
  --slate: #3B5568;
  --lost: #B42D23;
  --hl: #D8352A;
  --bar: #1C1724;
  --stamp: #1C1724;
  --stamp-ink: #F7F4EF;
  --shadow: 0 1px 2px rgba(28, 23, 36, .06), 0 14px 32px -16px rgba(28, 23, 36, .3);
  --img-filter: none;
  --wall-filter: grayscale(1) contrast(1.05);
  --mat: #ECE6F4;
  --foot-bg: #251D36;
  --foot-ink: #F1ECFA;
  --foot-ink-2: #B5AACC;
  --foot-rule: #3B3152;

  --f-ui: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-display: "Instrument Serif", "Newsreader", Georgia, serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 112px);
  --max: none;
  --radius: 2px;
  --head-h: 64px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 24px); background: var(--bg); font-synthesis-weight: none; font-size: clamp(100%, .45vw + .6rem, 125%); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-ui); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--ink); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, var(--accent) 65%, transparent); }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
::selection { background: var(--lav); color: var(--ink); }
p { margin: 0; }
code, .mono { font-family: var(--f-mono); font-size: .9em; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 8px; top: -60px; background: var(--raise); color: var(--ink); padding: 8px 12px; z-index: 100; border: 1px solid var(--rule); }
.skip:focus { top: 8px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }

.eyebrow, .kicker { font-family: var(--f-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
.btn {
  display: inline-flex; align-items: center; gap: .5em; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  padding: .6em 1.15em; border-radius: 999px; font-size: .875rem; font-weight: 500; text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--accent { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--accent:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.linkish { border: 0; background: none; padding: 0; color: var(--accent); font-size: .875rem; text-decoration: underline; text-underline-offset: .16em; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule); }
.mh-row { display: flex; align-items: center; gap: 8px 36px; min-height: var(--head-h); }
.wordmark { text-decoration: none; color: var(--ink); flex: none; }
.wordmark:hover { color: var(--ink); }
.wm-name { font-family: var(--f-display); font-weight: 400; font-size: 1.625rem; line-height: 1; letter-spacing: -.01em; }
.nav { display: flex; gap: 0 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .875rem; font-weight: 450; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.gsearch { margin-left: auto; display: flex; align-items: center; width: min(280px, 100%); border-bottom: 1px solid var(--rule); transition: border-color .2s; }
.gsearch:focus-within { border-color: var(--ink); }
.gsearch input { flex: 1; min-width: 0; padding: .5em 0; border: 0; background: transparent; font-size: .875rem; }
.gsearch input::placeholder { color: var(--ink-3); }
.gsearch input:focus { outline: none; }
.gsearch button { border: 0; background: none; color: var(--ink-2); padding: 6px 0 6px 8px; display: grid; place-items: center; }
.gsearch button:hover { color: var(--accent); }
[data-view="catalogue"] .gsearch, [data-view="home"] .gsearch { visibility: hidden; }
@media (max-width: 980px) { .mh-row { flex-wrap: wrap; padding-block: 12px 0; gap: 4px 20px; } .nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 32px; } .nav::-webkit-scrollbar { display: none; } .nav a { white-space: nowrap; } }
@media (max-width: 720px) {
  .gsearch { width: auto; flex: 1 1 140px; }
  [data-view="catalogue"] .gsearch, [data-view="home"] .gsearch { display: none; }
  .nav { gap: 0 18px; }
  .wm-name { font-size: 1.4375rem; }
}

main { padding-block: 0 96px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .8125rem; color: var(--ink-3); }
.crumbs > * + *::before { content: "/"; margin-right: 8px; color: var(--rule); }
.crumbs a { color: var(--ink-3); }
.page-head { display: grid; gap: 14px; padding-block: clamp(40px, 6vw, 72px) 28px; border-bottom: 1px solid var(--ink); margin-bottom: 36px; }
.page-head h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.75rem, 6vw, 5rem); line-height: .95; letter-spacing: -.025em; }
.page-head .lede { font-family: var(--f-serif); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 46rem; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.sec-head h2, .section-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.875rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -.015em; }
.sec-head a { font-size: .875rem; }
.lede-sm { color: var(--ink-2); max-width: 46rem; }
.note { color: var(--ink-3); font-size: .875rem; }
.block { margin-top: 56px; display: grid; gap: 18px; }
.block > header { display: grid; gap: 8px; max-width: 48rem; }
.block > header.sec-head { display: flex; max-width: none; margin-bottom: 0; }

/* ---------- Marks: evidence stamps, access and rights ---------- */
.stamp {
  display: inline-flex; align-items: center; width: max-content; white-space: nowrap; line-height: 1;
  font-family: var(--f-mono); font-size: .625rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: .42em .55em .38em; border: 1px solid var(--stamp); color: var(--stamp); border-radius: 1px;
}
.stamp--explicit { background: var(--stamp); color: var(--stamp-ink); }
.stamp--coded { border-style: dashed; }
.stamp--practice { border-style: dotted; border-width: 1.5px; border-color: var(--ink-2); color: var(--ink-2); }
.stamp--context { border-color: var(--rule); color: var(--ink-3); }
.stamp--lg { font-size: .6875rem; padding: .5em .7em .45em; }
.chip { display: inline-flex; align-items: center; gap: .45em; font-size: .75rem; color: var(--ink-2); white-space: nowrap; line-height: 1.2; }
.chip::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--dot, currentColor); flex: none; }
.acc--online { --dot: var(--ok); }
.acc--online-limited { --dot: var(--warn); }
.acc--library { --dot: var(--ink-2); }
.acc--library::before { border-radius: 0; }
.acc--onsite { --dot: var(--slate); }
.acc--onsite::before { border-radius: 0; transform: rotate(45deg) scale(.85); }
.acc--unavailable { --dot: var(--lost); }
.acc--unavailable::before { background: none; border: 1px solid var(--dot); }
.chip.rt::before { border-radius: 1px; }
.rt--pd-worldwide { --dot: var(--ok); }
.rt--pd-us { --dot: var(--slate); }
.rt--pd-us::before { background: linear-gradient(135deg, var(--dot) 50%, transparent 50%); border: 1px solid var(--dot); }
.rt--in-copyright { --dot: var(--ink-2); }
.rt--in-copyright::before { background: none; border: 1px solid var(--dot); }
.rt--unclear { --dot: var(--warn); }
.rt--unclear::before { background: none; border: 1px dashed var(--dot); }
.rt--none { color: var(--ink-3); }
.rt--none::before { display: none; }
.tag-retro, .tag-lead { color: var(--ink-3); font-style: italic; }
.tag-retro::before, .tag-lead::before { display: none; }
.chip.tag-cn { color: var(--warn); font-weight: 500; }
.chip.tag-cn::before { border-radius: 1px; transform: rotate(45deg); width: .45em; height: .45em; }
.chip.tag-cav { color: var(--ink-3); font-style: italic; }
.chip.tag-cav::before { display: none; }
.rec-note { max-width: 60rem; margin-top: 6px; padding: 10px 0 0; font-size: .875rem; color: var(--ink-2); border-top: 1px solid var(--rule); }
.rec-note b { margin-right: .7em; font-family: var(--f-mono); font-size: .625rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rec-note--content { border-top-color: var(--warn); }
.rec-note--content b { color: var(--warn); }
.status { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.status--closed { color: var(--lost); }
.status--open { color: var(--ok); }
.status--soon { color: var(--warn); }
.status--past { color: var(--ink-3); }

/* ---------- Home ---------- */
[data-view="home"] #main { max-width: none; padding-inline: 0; }
/* the hero: the name and search over a slow drifting wall of every photograph in the archive */
.hero { border-bottom: 1px solid var(--ink); }
.hero-stage { position: relative; isolation: isolate; overflow: hidden; }
.hero-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 80% at 88% 30%, rgba(199, 182, 240, .42), transparent 70%),
    linear-gradient(to bottom, color-mix(in srgb, var(--bg) 72%, transparent), transparent 16%, transparent 84%, color-mix(in srgb, var(--bg) 60%, transparent)),
    linear-gradient(100deg, color-mix(in srgb, var(--bg) 97%, transparent) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 36%, color-mix(in srgb, var(--bg) 62%, transparent) 62%, color-mix(in srgb, var(--bg) 26%, transparent) 100%);
}
.wall { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; padding-block: 12px; }
.wall-row { min-height: 0; overflow: hidden; }
.wall-track { display: flex; gap: 12px; padding-right: 12px; width: max-content; height: 100%; animation: drift var(--dur, 160s) linear infinite; will-change: transform; }
.wall-row.rev .wall-track { animation-direction: reverse; }
.wall-img { height: 100%; width: auto; max-width: none; aspect-ratio: var(--ar); object-fit: cover; filter: var(--wall-filter); }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero.is-paused .wall-track { animation-play-state: paused; }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 104px) clamp(96px, 10vw, 136px); }
.hero-main { display: grid; gap: 22px; }
.hero-kicker { display: flex; flex-wrap: wrap; gap: 4px 28px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hero-kicker span:first-child { color: var(--accent); }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.75rem, 7.4vw, 7.5rem); line-height: .88; letter-spacing: -.045em; margin: 4px 0 6px -.04em; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-lede { font-family: var(--f-serif); font-size: clamp(1.125rem, 1.45vw, 1.3125rem); line-height: 1.45; color: var(--ink-2); max-width: 34rem; font-variant-numeric: oldstyle-nums; }
.hero-search { display: flex; align-items: center; gap: 12px; border-bottom: 1.5px solid var(--ink); max-width: 36rem; transition: border-color .2s; }
.hero-search:focus-within { border-color: var(--accent); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .75em 0; font-size: 1.125rem; }
.hero-search input::placeholder { color: var(--ink-3); }
.hero-search input:focus { outline: none; }
.hero-search button { flex: none; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 1.125rem; display: grid; place-items: center; transition: background-color .2s; }
.hero-search button:hover { background: var(--accent-2); color: var(--on-accent); }
.try { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: .8125rem; color: var(--ink-3); max-width: 36rem; }
.try span { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
.try a { color: var(--ink-2); }
.wall-bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 18px; display: flex; justify-content: flex-end; pointer-events: none; }
.wall-pill { pointer-events: auto; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; padding: 5px 6px 5px 14px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); background: color-mix(in srgb, var(--bg) 88%, transparent); border: 1px solid var(--rule); border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.wall-pill a { color: var(--ink); }
.wall-toggle { border: 1px solid var(--rule); background: var(--bg); color: var(--ink); border-radius: 999px; padding: .3em .9em; font: inherit; cursor: pointer; }
.wall-toggle:hover { border-color: var(--ink); }
.hero-band { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--ink); }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; }
.hero-stats div { padding: 14px 16px 22px 0; }
.hero-stats div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.hero-stats dt { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hero-stats dd { margin: 6px 0 0; font-family: var(--f-display); font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.02em; }
@media (prefers-reduced-motion: reduce) { .wall-track { animation: none; } .wall-toggle { display: none; } }
@media (max-width: 860px) {
  /* on a phone the hero is tall: keep the rows at photograph size and let them rise from the bottom */
  .hero-inner { padding-bottom: 170px; }
  .wall { grid-template-rows: repeat(3, 130px); align-content: end; padding-bottom: 12px; }
  .hero-stage::before { background: linear-gradient(to bottom, var(--bg) 0%, color-mix(in srgb, var(--bg) 95%, transparent) 48%, color-mix(in srgb, var(--bg) 80%, transparent) 70%, color-mix(in srgb, var(--bg) 20%, transparent) 100%); }
  .wall-bar { justify-content: flex-start; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* sections: numbered, with a heavy rule */
.home-sec { padding-top: clamp(64px, 9vw, 120px); }
.hs-head { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; align-items: end; gap: 8px 24px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid var(--ink); }
.hs-no { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; color: var(--accent); padding-bottom: .55em; }
.hs-head h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: .9; letter-spacing: -.03em; }
.hs-head a { font-size: .875rem; padding-bottom: .5em; white-space: nowrap; }
@media (max-width: 640px) { .hs-head { grid-template-columns: minmax(0, 1fr) auto; } .hs-no { grid-column: 1 / -1; padding-bottom: 0; } }

/* the collection, by theme: photographs with the theme set over them */
.ctiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 400px); gap: 10px; }
.ct { position: relative; display: block; overflow: hidden; background: #3A2C66; color: #F6F1FF; text-decoration: none; isolation: isolate; }
.ct:first-child { grid-column: span 2; grid-row: span 2; }
.ct img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.08); opacity: .66; transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .4s, filter .4s; z-index: -1; }
.ct::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(37, 25, 70, .86), rgba(37, 25, 70, 0) 60%); z-index: -1; }
.ct:hover { color: #FFFFFF; }
.ct:hover img { opacity: .9; filter: grayscale(.15) contrast(1.02); transform: scale(1.035); }
.ct-body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 16px 18px; }
.ct-t { font-family: var(--f-display); font-size: clamp(1.5rem, 2.1vw, 2.125rem); line-height: 1; letter-spacing: -.01em; }
.ct:first-child .ct-t { font-size: clamp(2.25rem, 4.2vw, 4rem); }
.ct-n { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
@media (max-width: 900px) { .ctiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ct:first-child { grid-row: span 1; } }

/* objects from the archive: mounted like prints, with their accession numbers */
.objects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.obj { min-width: 0; }
.obj { display: grid; gap: 6px; align-content: start; text-decoration: none; color: var(--ink); }
.obj-img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--mat); margin-bottom: 8px; overflow: hidden; }
.obj-img .ph { position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(28, 23, 36, .22)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.obj:hover .obj-img .ph { transform: translateY(-4px); }
.obj-t { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.05; }
.obj:hover .obj-t { color: var(--accent); }
.obj-d { font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 900px) { .objects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* paths: an index, numbered */
.plist { list-style: none; margin: 0; padding: 0; }
.plist a { display: grid; grid-template-columns: 3.5rem minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.pl-n { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-3); }
.pl-t { font-family: var(--f-display); font-size: clamp(1.875rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.02em; transition: color .2s; }
.plist a:hover .pl-t { color: var(--accent); font-style: italic; }
.pl-i { display: grid; gap: 6px; font-size: .9375rem; color: var(--ink-2); max-width: 30rem; }
.pl-i small { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pl-imgs { display: flex; gap: 6px; }
.pl-imgs img { width: 52px; height: 66px; object-fit: cover; filter: grayscale(1); transition: filter .3s; }
.plist a:hover .pl-imgs img { filter: none; }
@media (max-width: 900px) { .plist a { grid-template-columns: 3rem minmax(0, 1fr); } .pl-i { grid-column: 2; } .pl-imgs { display: none; } }

/* countries: an index line */
.index-line { font-family: var(--f-display); font-size: clamp(1.625rem, 3vw, 2.625rem); line-height: 1.25; letter-spacing: -.01em; }
.index-line a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.index-line a:hover { color: var(--accent); }
.index-line sup { font-family: var(--f-mono); font-size: .38em; letter-spacing: .04em; color: var(--ink-3); margin-left: .2em; vertical-align: .9em; }
.index-line .sep { color: var(--rule); }

.home-close { margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--ink); }
.home-close .wrap { display: grid; justify-items: start; gap: 28px; padding-block: clamp(56px, 8vw, 104px); }
.home-close p { font-family: var(--f-display); font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -.015em; max-width: 34ch; }
[data-view="home"] main { padding-bottom: 0; }

/* ---------- Browse ---------- */
.cat-top { display: grid; gap: 18px; padding-block: clamp(40px, 6vw, 72px) 28px; }
.cat-top h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.75rem, 6vw, 5rem); line-height: .95; letter-spacing: -.025em; }
.big-search { display: flex; align-items: center; gap: 12px; border-bottom: 1.5px solid var(--ink); transition: border-color .2s; }
.big-search:focus-within { border-color: var(--accent); }
.big-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7em 0; font-size: 1.125rem; }
.big-search input::placeholder { color: var(--ink-3); }
.big-search input:focus { outline: none; }
.big-search button { flex: none; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); padding: .55em 1.2em; font-size: .875rem; font-weight: 500; }
.big-search button:hover { background: var(--accent); color: var(--on-accent); }
.cat-grid { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.facets { position: sticky; top: calc(var(--head-h) + 16px); max-height: calc(100vh - var(--head-h) - 32px); overflow: auto; border-top: 1px solid var(--ink); padding: 0 4px 12px 0; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.facets-head { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0 10px; }
.facets-head h2 { font-family: var(--f-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fgroup { border-top: 1px solid var(--rule-soft); }
.fgroup summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; font-size: .875rem; font-weight: 500; color: var(--ink); }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: auto; }
.fgroup[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.fg-n { background: var(--ink); color: var(--bg); border-radius: 999px; padding: 0 .5em; font-family: var(--f-mono); font-size: .625rem; letter-spacing: 0; }
.fg-n:empty { display: none; }
.fg-body { padding-bottom: 10px; }
.opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 4px 0; font-size: .875rem; cursor: pointer; color: var(--ink); }
.opt input { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; margin: 0; border: 1px solid var(--ink-3); border-radius: 1px; background: transparent; display: grid; place-items: center; cursor: pointer; }
.opt input:checked { background: var(--ink); border-color: var(--ink); }
.opt input:checked::after { content: ""; width: 8px; height: 4px; border: 2px solid var(--bg); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.opt .n { color: var(--ink-3); font-family: var(--f-mono); font-size: .6875rem; }
.opt.zero { opacity: .45; }
.opt .stamp { font-size: .625rem; }
.more { border: 0; background: none; padding: 4px 0 0; color: var(--ink-2); font-size: .8125rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
.presets { display: grid; gap: 2px; }
.preset { text-align: left; border: 0; background: none; padding: 5px 8px; border-radius: 3px; font-size: .875rem; color: var(--ink); }
.preset:hover { background: var(--sunk); }
.preset[aria-pressed="true"] { background: var(--lav); color: var(--ink); font-weight: 500; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.count { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; color: var(--ink-2); }
.count b { color: var(--ink); font-weight: 600; }
.tb-right { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sort { display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--ink-3); }
.sort select { border: 1px solid var(--rule); border-radius: 999px; background: transparent; padding: .35em .8em; font-size: .8125rem; color: var(--ink); }
.viewtoggle { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; }
.viewtoggle button { border: 0; background: transparent; padding: .4em .9em; font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.viewtoggle button + button { border-left: 1px solid var(--rule); }
.viewtoggle button[aria-pressed="true"] { background: var(--lav); color: var(--ink); }
.facets-toggle { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; }
.chips:empty { display: none; }
.fchip { display: inline-flex; align-items: center; gap: .3em; background: var(--lav); color: var(--ink); border-radius: 999px; padding: .25em .35em .25em .85em; font-size: .8125rem; font-weight: 500; max-width: 100%; }
.fchip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fchip button { border: 0; background: none; color: inherit; padding: 0 .35em; font-size: 1rem; line-height: 1; border-radius: 999px; }
.fchip button:hover { background: var(--accent); }
.chips .linkish { font-size: .8125rem; align-self: center; margin-left: 4px; }

.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.row-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.12; color: var(--ink); text-decoration: none; }
.row-title:hover { color: var(--accent); }
.row-meta { font-size: .8125rem; color: var(--ink-3); margin-top: 6px; }
.row-sum { color: var(--ink-2); font-size: .9375rem; max-width: 68ch; margin-top: 6px; }
.row-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 12px; }
.row-ref { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-3); text-align: right; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-top: 4px; }
.row-aside { display: grid; justify-items: end; align-content: start; gap: 12px; }
@media (max-width: 640px) {
  .row { grid-template-columns: minmax(0, 1fr); } .row-ref { text-align: left; }
  .row-aside { display: contents; }
  .row.has-img { grid-template-columns: minmax(0, 1fr) 60px; column-gap: 14px; }
  .row.has-img .row-main { grid-column: 1; grid-row: 1; }
  .row.has-img .row-thumb { grid-column: 2; grid-row: 1; width: 60px; }
  .row.has-img .row-ref { grid-column: 1 / -1; }
}
.empty { padding: 56px 20px; text-align: center; color: var(--ink-2); display: grid; gap: 12px; justify-items: center; }
.empty h3 { font-family: var(--f-serif); font-size: 1.375rem; color: var(--ink); }

.rtable-wrap { overflow-x: auto; }
.rtable { border-collapse: collapse; width: 100%; font-size: .875rem; }
.rtable th { text-align: left; vertical-align: bottom; padding: 10px 14px 8px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.rtable th button { border: 0; background: none; padding: 0; font-size: .6875rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.rtable th button[aria-pressed="true"] { color: var(--ink); }
.rtable th button[aria-pressed="true"]::after { content: " ↓"; }
.rtable th span { font-size: .6875rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.rtable td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; color: var(--ink-2); }
.rtable td.t a { color: var(--ink); text-decoration: none; font-weight: 500; }
.rtable td.t a:hover { color: var(--accent); text-decoration: underline; }
.rtable td.t { min-width: 16rem; }
.rtable .nowrap { white-space: nowrap; }
.rtable tr:hover td { background: color-mix(in srgb, var(--sunk) 60%, transparent); }

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .facets-toggle { display: inline-flex; }
  .facets { position: static; max-height: none; display: none; }
  .facets.open { display: block; }
}

/* ---------- Record ---------- */
.record-top { display: grid; gap: 14px; padding-block: clamp(32px, 5vw, 64px) 28px; border-bottom: 1px solid var(--ink); }
.record-top h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.25rem, 4.8vw, 4.25rem); line-height: 1; letter-spacing: -.025em; max-width: 24ch; }
.rec-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.mark-text { font-family: var(--f-serif); font-style: italic; font-size: .9375rem; color: var(--ink-3); }
.rec-ref { display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--f-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rec-ref span + span::before { content: "·"; margin: 0 .6em; color: var(--rule); }
.rec-title-tr { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.0625rem, 1.8vw, 1.25rem); color: var(--ink-2); margin-top: -4px; max-width: 48ch; }
.ev-note { color: var(--ink-2); max-width: 60rem; font-size: .9375rem; }
.record { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: clamp(40px, 5vw, 80px); align-items: start; padding-top: 36px; }
.rec-summary { font-family: var(--f-serif); font-size: 1.3125rem; line-height: 1.45; color: var(--ink); max-width: 42rem; }
.rec-desc { font-family: var(--f-serif); font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); max-width: 42rem; margin-top: 16px; }
.rec-desc p + p { margin-top: .9em; }
.rec-sec { margin-top: 36px; max-width: 42rem; padding-top: 18px; border-top: 1px solid var(--rule); }
.rec-sec#scope { border-top: 0; padding-top: 0; margin-top: 22px; }
.rec-sec > h2 { font-family: var(--f-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-soft); }
.link-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); text-decoration: none; color: var(--ink); }
.link-list a:hover .lab { color: var(--accent); text-decoration: underline; }
.link-list .lab { min-width: 0; overflow-wrap: anywhere; font-weight: 500; }
.link-list .host { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-3); max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-list.read .lab::after { content: "  ↗"; color: var(--accent); }
@media (max-width: 640px) {
  .link-list a { grid-template-columns: minmax(0, 1fr); }
  .link-list .host { max-width: 100%; }
}
.verify { padding: 12px 16px; border-left: 3px solid var(--warn); background: var(--sunk); border-radius: 0 var(--radius) var(--radius) 0; }
.verify ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); display: grid; gap: 4px; font-size: .9375rem; }
.rec-side { display: grid; gap: 32px; position: sticky; top: calc(var(--head-h) + 16px); }
.panel-box { border-top: 1px solid var(--ink); padding-top: 12px; }
.panel-box > h2 { font-family: var(--f-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.meta { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); margin: 0; }
.meta dt, .meta dd { padding: 9px 0; border-bottom: 1px solid var(--rule-soft); margin: 0; }
.meta dt { font-size: .75rem; font-weight: 500; color: var(--ink-3); padding-top: 11px; }
.meta dd { font-size: .875rem; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.meta dt:last-of-type, .meta dd:last-of-type { border-bottom: 0; }
.meta .inline-list { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.fact-note { margin-top: 5px; color: var(--ink-2); font-size: .8125rem; line-height: 1.5; }
.fact-verify { color: var(--warn); }
.refs { display: flex; flex-wrap: wrap; gap: 5px; }
.ref { font-family: var(--f-mono); font-size: .75rem; background: var(--sunk); border: 1px solid var(--rule-soft); border-radius: 3px; padding: .15em .45em; color: var(--ink); cursor: copy; }
.ref:hover { border-color: var(--ink-3); }
.ref.copied { border-color: var(--ok); color: var(--ok); }
.held-note { margin-bottom: 6px; }
.cite-text { font-size: .8125rem; color: var(--ink-2); overflow-wrap: anywhere; margin-bottom: 10px; }
.side-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.related { list-style: none; margin: 0; padding: 0; }
.related li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--rule-soft); color: var(--ink); text-decoration: none; font-size: .875rem; }
.related li:last-child a { border-bottom: 0; }
.related li a:hover { color: var(--accent); }
.related li a small { display: block; color: var(--ink-3); font-size: .75rem; }
.rec-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--ink); }
.rec-pager a { max-width: 46%; display: grid; gap: 4px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-size: 1.375rem; line-height: 1.15; }
.rec-pager a small { font-family: var(--f-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rec-pager a:hover span { color: var(--accent); text-decoration: underline; }
.rec-pager a.next { text-align: right; margin-left: auto; }
.prov { margin-top: 28px; font-size: .8125rem; color: var(--ink-3); }
/* serif reading text: old-style figures */
.rec-summary, .rec-desc, .stop-note, .path-intro, .pc-i, .close-inner p, .statement, .what p { font-variant-numeric: oldstyle-nums proportional-nums; }
/* on a wide screen, section headings sit in the margin beside the text, as in a printed catalogue */
@media (min-width: 1240px) {
  .rec-main { --margin: 8.5rem; }
  .rec-main > .rec-summary, .rec-main > .plates { margin-left: calc(var(--margin) + 28px); }
  .rec-main > .rec-sec { display: grid; grid-template-columns: var(--margin) minmax(0, 1fr); column-gap: 28px; max-width: calc(42rem + var(--margin) + 28px); }
  .rec-sec > .sec-label { text-align: right; margin: .3em 0 0; line-height: 1.35; }
  .rec-sec#scope { padding-top: 0; }
}
.sec-body > .rec-desc { margin-top: 0; }
/* the excerpt: original and translation side by side */
.parallel { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 28px; }
.pl-col blockquote { margin: 0; font-family: var(--f-serif); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.pl-col[lang="en"] blockquote { color: var(--ink-2); font-style: italic; }
.pl-col blockquote p + p { margin-top: .6em; }
.pl-label { font-family: var(--f-mono); font-size: .625rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.parallel figcaption { grid-column: 1 / -1; font-size: .8125rem; color: var(--ink-3); margin-top: 10px; }
@media (max-width: 700px) { .parallel { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.src-notes { margin: 0; padding-left: 1.6em; display: grid; gap: 6px; font-size: .875rem; color: var(--ink-2); }
.src-notes li::marker { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-3); }
.src-notes .host { font-family: var(--f-mono); font-size: .6875rem; color: var(--ink-3); }
.arch-note { font-size: .875rem; color: var(--ink-2); }
.arch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 12px; font-size: .875rem; }
.meta.cat dt { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; }
.cite-tabs { display: flex; gap: 0; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; width: max-content; margin-bottom: 10px; }
.cite-tabs button { border: 0; background: transparent; padding: .35em .9em; font: inherit; font-size: .8125rem; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.cite-tabs button + button { border-left: 1px solid var(--rule); }
.cite-tabs button[aria-pressed="true"] { background: var(--lav); color: var(--ink); }
.cite-dl { margin-top: 10px; font-size: .8125rem; color: var(--ink-3); }
.linkish { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: .16em; cursor: pointer; }
.linkish:hover { color: var(--accent-2); }
.row-tr { font-family: var(--f-serif); font-style: italic; font-size: 1rem; color: var(--ink-2); margin-top: 1px; }
/* corrections */
.corr { width: min(560px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--raise); color: var(--ink); box-shadow: var(--shadow); }
.corr::backdrop { background: rgba(8, 9, 12, .7); }
.corr-form { display: grid; gap: 14px; padding: 22px; }
.corr-form h2 { font-family: var(--f-serif); font-weight: 500; font-size: 1.5rem; }
.corr-rec { font-size: .875rem; color: var(--ink-3); margin-top: -8px; }
.fld { display: grid; gap: 5px; font-size: .875rem; font-weight: 500; }
.fld input, .fld textarea { font: inherit; font-weight: 400; padding: .55em .7em; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg); color: var(--ink); }
.fld textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.corr-status { font-size: .875rem; color: var(--ink-2); min-height: 1.2em; }
.corr-actions { display: flex; justify-content: flex-end; gap: 8px; }
html:has(dialog.corr[open]) { overflow: hidden; }
@media (max-width: 960px) { .record { grid-template-columns: minmax(0, 1fr); } .rec-side { position: static; } }
@media (max-width: 480px) { .meta { grid-template-columns: minmax(0, 1fr); } .meta dt { border-bottom: 0; padding-bottom: 0; } }

/* ---------- Shared panels ---------- */
.room-note { margin-top: 18px; color: var(--ink-3); font-size: .875rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 40px; }
.panel { background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; }
.panel h2 { font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.limits { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: .9375rem; }
.limits b { color: var(--ink); font-weight: 600; }
.moves { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); } }


/* ---------- People ---------- */
.people-tools { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-bottom: 28px; }
.people-tools input { flex: 1 1 260px; max-width: 420px; padding: .55em .8em; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--raise); }
.people-tools input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.alpha { display: flex; flex-wrap: wrap; gap: 2px; }
.alpha a, .alpha span { font-size: .875rem; font-weight: 600; padding: .2em .45em; border-radius: 3px; }
.alpha a { text-decoration: none; color: var(--accent); }
.alpha a:hover { background: var(--accent-soft); }
.alpha span { color: var(--rule); }
.people-index { columns: 3 260px; column-gap: 40px; }
.letter-group { break-inside: avoid-column; margin-bottom: 24px; }
.letter-group h2 { font-family: var(--f-serif); font-size: 1.5rem; line-height: 1; border-bottom: 1px solid var(--rule); padding-bottom: 6px; margin-bottom: 4px; }
.letter-group ul { list-style: none; margin: 0; padding: 0; }
.letter-group li a { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; text-decoration: none; color: var(--ink); font-size: .9375rem; }
.letter-group li a:hover { color: var(--accent); }
.letter-group li a span:last-child { color: var(--ink-3); font-size: .8125rem; font-variant-numeric: tabular-nums; }

/* ---------- Tables (repositories, research guide) ---------- */
.table-wrap { overflow-x: auto; background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius); }
table.data { border-collapse: collapse; width: 100%; font-size: .875rem; }
table.data th { text-align: left; vertical-align: bottom; padding: 11px 16px; border-bottom: 1px solid var(--rule); font-size: .6875rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; background: var(--sunk); }
table.data td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--rule-soft); color: var(--ink-2); }
table.data tr:last-child td { border-bottom: 0; }
table.data td.name { color: var(--ink); min-width: 12rem; font-weight: 500; }
table.data td.name small { display: block; color: var(--ink-3); font-weight: 400; font-size: .8125rem; margin-top: 2px; }
.contact { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-2); user-select: all; }
.n-link { white-space: nowrap; }
.notices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; margin-bottom: 8px; }
.notice { background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 6px; align-content: start; }
.notice h3 { font-size: 1rem; font-weight: 600; }
.notice p { font-size: .875rem; color: var(--ink-2); }

/* ---------- Research guide ---------- */
.contents { display: flex; flex-wrap: wrap; gap: 6px; }
.contents button { border: 1px solid var(--rule); background: var(--raise); border-radius: 999px; padding: .35em .8em; font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.contents button:hover { border-color: var(--accent); color: var(--accent); }
.key-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 28px; }
.key-grid div { display: grid; gap: 10px; align-content: start; justify-items: start; }
.key-grid p { color: var(--ink-2); font-size: .9375rem; }
.key-notes { display: grid; gap: 8px; color: var(--ink-2); max-width: 52rem; font-size: .9375rem; }
.key-notes .chip { margin-right: 12px; }
.rights-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rights-list li { display: grid; grid-template-columns: 13rem minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.rights-list p { color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 680px) { .rights-list li { grid-template-columns: minmax(0, 1fr); } }
.forces { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.force { background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 8px; align-content: start; }
.force h3 { font-family: var(--f-serif); font-size: 1.25rem; }
.force p { font-size: .9375rem; color: var(--ink-2); }
.force ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8125rem; }
.loss-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.loss-kinds button { border: 1px solid var(--rule); background: transparent; border-radius: 999px; padding: .35em .9em; font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.loss-kinds button:hover { border-color: var(--ink); color: var(--ink); }
.loss-kinds button[aria-pressed="true"] { background: var(--lav); color: var(--ink); border-color: var(--lav); }
.loss-kinds button .n { margin-left: .5em; opacity: .7; font-family: var(--f-mono); font-size: .6875rem; }
.lk { display: block; margin-top: 4px; font-size: .6875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.lk--burned, .lk--lost { color: var(--lost); }
.lk--expurgated { color: var(--accent); }
.lk--suppressed { color: var(--warn); }
.lk--closed { color: var(--slate); }
.rule-box { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; max-width: 46rem; color: var(--ink-2); }
.unsupported { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 36px; border-top: 1px solid var(--rule); }
.unsupported li { padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font-size: .9375rem; color: var(--ink-2); display: grid; gap: 3px; }
.unsupported li b { color: var(--ink); font-weight: 600; text-decoration: line-through; text-decoration-color: var(--lost); }
.gaps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.gap { background: var(--raise); border: 1px dashed var(--rule); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 6px; align-content: start; }
.gap h3 { font-size: 1rem; font-weight: 600; }
.gap ul { margin: 0; padding-left: 1.1em; font-size: .9375rem; color: var(--ink-2); display: grid; gap: 4px; }
.reading { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.reading li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 6px 28px; padding: 16px 0; border-bottom: 1px solid var(--rule-soft); align-items: start; }
.reading .work { font-family: var(--f-serif); font-size: 1.125rem; line-height: 1.35; color: var(--ink); }
.reading .why { font-size: .9375rem; color: var(--ink-2); }
.reading .acc { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: flex-end; align-items: center; font-size: .875rem; }
@media (max-width: 760px) { .reading li { grid-template-columns: minmax(0, 1fr); } .reading .acc { justify-content: flex-start; } }

/* ---------- About: the introduction, told in chapters ---------- */
@keyframes unredact { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 85%; }
    .lift { view-timeline-name: --lift; }
    .lift::after { animation: unredact linear both; animation-timeline: --lift; animation-range: entry 100% cover 48%; }
  }
}
.opening { display: grid; justify-items: center; text-align: center; gap: 24px; padding-block: clamp(56px, 10vw, 120px) 48px; }
.opening .title { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(2.75rem, 9vw, 7rem); line-height: .95; letter-spacing: -.02em; max-width: 8ch; }
.subtitle { font-family: var(--f-serif); font-size: clamp(1.1875rem, 2.2vw, 1.5rem); line-height: 1.4; color: var(--ink-2); max-width: 34ch; }
.opening .epigraph { margin: 0; display: grid; justify-items: center; gap: 8px; padding-top: 28px; position: relative; }
.opening .epigraph::before { content: ""; position: absolute; top: 0; left: 50%; width: 40px; height: 2px; background: var(--accent); opacity: .6; translate: -50% 0; }
.opening .epigraph blockquote { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); }
.opening .epigraph figcaption { font-size: .875rem; color: var(--ink-3); max-width: 30rem; }
.chapter { padding-top: clamp(88px, 13vw, 160px); }
.chapter-head { display: grid; justify-items: center; gap: 6px; text-align: center; margin-bottom: clamp(44px, 7vw, 80px); }
.numeral { font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; color: var(--accent); text-transform: lowercase; }
.numeral::after { content: "."; }
.chapter-head h2 { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.1; letter-spacing: -.015em; }
.chapter-head::after { content: ""; width: 40px; height: 2px; background: var(--accent); opacity: .5; margin-top: 18px; }
.statements { display: grid; gap: clamp(36px, 5vw, 56px); justify-items: center; text-align: center; }
.statement { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.625rem, 3.6vw, 2.75rem); line-height: 1.22; max-width: 26ch; }
.aside { font-size: 1.0625rem; color: var(--ink-2); max-width: 34rem; text-align: center; margin-inline: auto; }
.hidden-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; border-top: 1px solid var(--rule); }
.hidden-list li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 12px 48px; padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.hidden-list h3 { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.hidden-list p { font-family: var(--f-serif); font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 38rem; }
.lift { position: relative; color: var(--hl); white-space: nowrap; }
.lift::after { content: ""; position: absolute; left: -.08em; right: -.08em; top: .2em; bottom: .04em; background: var(--bar); transform-origin: 100% 50%; transform: scaleX(0); }
.onward { text-align: center; margin-top: 40px; }
@media (max-width: 640px) { .hidden-list li { grid-template-columns: minmax(0, 1fr); } }
.voices { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; }
.voice { --split: 38%; display: grid; grid-template-columns: var(--split) minmax(0, 1fr); column-gap: 80px; padding: 34px 0; position: relative; }
.voice::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--split) + 40px); width: 1px; background: var(--rule); }
.voice::after { content: ""; position: absolute; top: 46px; left: calc(var(--split) + 40px); width: 9px; height: 9px; translate: -4px 0; border-radius: 50%; background: var(--accent); }
.voice:first-child::before { top: 46px; }
.voice:last-child::before { bottom: auto; height: 46px; }
.when { text-align: right; display: grid; gap: 4px; padding-top: 4px; align-content: start; }
.w-date { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.w-place { font-family: var(--f-serif); font-style: italic; color: var(--ink-3); }
.what p { font-family: var(--f-serif); font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.4; max-width: 30ch; }
.what-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; font-size: .875rem; }
@media (max-width: 720px) {
  .voice { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 26px 0 26px 30px; }
  .voice::before { left: 4px; } .voice::after { left: 4px; top: 34px; }
  .voice:first-child::before { top: 34px; } .voice:last-child::before { height: 34px; }
  .when { text-align: left; }
}
.marks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.mark { display: grid; justify-items: center; gap: 14px; text-align: center; }
.mark p { color: var(--ink-2); max-width: 22rem; }
.marks + .aside { margin-top: 48px; }
@media (max-width: 760px) { .marks { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.closing { padding-block: clamp(110px, 16vw, 200px) 24px; display: grid; justify-items: center; gap: 28px; text-align: center; }
.closing p:first-child { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(1.3125rem, 2.4vw, 1.75rem); line-height: 1.5; color: var(--ink-2); max-width: 42rem; }
.sign { font-size: .8125rem; color: var(--ink-3); }

/* ---------- Images: mounted like prints in an archive box ---------- */
.ph { display: block; max-width: 100%; height: auto; filter: var(--img-filter); }
.plate { margin: 0; display: grid; gap: 10px; min-width: 0; }
.plate-mat { display: grid; place-items: center; padding: clamp(14px, 2.6vw, 28px); background: var(--mat); border: 1px solid var(--rule-soft); border-radius: var(--radius); cursor: zoom-in; }
.plate-mat .ph { width: min(100%, calc(var(--plate-h, 440px) * var(--ar))); aspect-ratio: var(--ar); height: auto; box-shadow: 0 1px 2px rgba(0, 0, 0, .16), 0 6px 18px -8px rgba(0, 0, 0, .3); }
.plate-mat:hover { border-color: var(--rule); }
.plate figcaption { display: grid; gap: 3px; }
.plate .cap { font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.img-credit { font-size: .8125rem; line-height: 1.5; color: var(--ink-3); }
.plates { display: grid; gap: 28px; margin-top: 28px; max-width: 42rem; --plate-h: 400px; }
.plates--more { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); --plate-h: 240px; }
.plates--more .plate-mat { min-height: 280px; }
.plates--more .cap { font-size: .875rem; }


.img-kinds { margin-bottom: 22px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 28px 16px; }
/* landscape images take two columns, with a mat as tall as a single tile's */
.gallery .g-wide { grid-column: span 2; }
.gallery .g-wide .mat { aspect-ratio: 5 / 3; }
@media (max-width: 1100px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } }
@media (min-width: 1800px) { .gallery { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.g-tile { display: grid; gap: 3px; align-content: start; width: 100%; padding: 0; margin: 0; border: 0; background: none; font: inherit; text-align: left; color: var(--ink); cursor: zoom-in; }
.mat { display: block; aspect-ratio: 4 / 5; padding: 12px; margin-bottom: 7px; background: var(--mat); border: 1px solid var(--rule-soft); border-radius: var(--radius); transition: border-color .15s; }
.mat .ph { width: 100%; height: 100%; object-fit: contain; }
.g-label { font-size: .875rem; font-weight: 500; line-height: 1.3; }
.g-rec { font-size: .8125rem; line-height: 1.35; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-tile:hover .mat { border-color: var(--accent); }
.g-tile:hover .g-label { color: var(--accent); }
.gallery + .room-note { margin-top: 36px; }

/* the viewer */
html:has(dialog.lightbox[open]) { overflow: hidden; }
.lightbox { padding: 0; margin: auto; width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--raise); color: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgba(8, 9, 12, .8); }
.lb-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); min-height: 0; overflow: auto; }
.lb-fig { margin: 0; display: grid; place-items: center; padding: 20px; background: var(--mat); min-height: 0; }
.lb-fig a { display: block; cursor: zoom-in; }
.lb-img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 140px); filter: var(--img-filter); box-shadow: 0 1px 2px rgba(0, 0, 0, .16), 0 6px 18px -8px rgba(0, 0, 0, .3); }
.lb-info { display: grid; gap: 10px; align-content: start; padding: 22px 22px 18px; border-left: 1px solid var(--rule-soft); min-width: 0; }
.lb-info h2 { font-family: var(--f-serif); font-weight: 500; font-size: 1.5rem; line-height: 1.15; }
.lb-cap { color: var(--ink-2); }
.lb-recs { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.lb-full { font-size: .875rem; }
.lb-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--rule); background: var(--raise); }
.lb-count { flex: 1; text-align: center; font-size: .8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lb-btn { border: 1px solid var(--rule); background: var(--raise); color: var(--ink); border-radius: var(--radius); padding: .4em .85em; font: inherit; font-size: .875rem; font-weight: 500; cursor: pointer; }
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 760px) {
  .lightbox { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  /* stacked: each part as tall as its content, and the body scrolls */
  .lb-body { grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content; align-content: start; }
  .lb-fig { min-height: auto; padding: 14px; }
  .lb-img { max-height: 56vh; }
  .lb-info { border-left: 0; border-top: 1px solid var(--rule-soft); }
  .lb-btn span { display: none; }
}

.row-thumb, .w-img { display: block; aspect-ratio: 4 / 5; background: var(--mat); border: 1px solid var(--rule-soft); border-radius: 3px; overflow: hidden; }
.row-thumb .ph, .w-img .ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.row-thumb { width: 76px; }
.row-thumb:hover { border-color: var(--accent); }



.about-fig { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: 34rem; }
.about-fig .ph { width: min(100%, calc(420px * var(--ar))); aspect-ratio: var(--ar); box-shadow: var(--shadow); }
.about-fig figcaption { font-size: .875rem; color: var(--ink-3); max-width: 30rem; }
.w-img { justify-self: end; width: 88px; margin-top: 12px; }
@media (max-width: 720px) { .w-img { justify-self: start; } }



/* ---------- Person pages ---------- */
.pdates { color: var(--ink-3); font-size: .75rem; font-variant-numeric: tabular-nums; }
.person-meta { max-width: 46rem; margin-top: 4px; }
.alongside { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.alongside li { display: flex; gap: 6px; align-items: baseline; }
.alongside .n { font-size: .75rem; color: var(--ink-3); }
a.g-tile { text-decoration: none; cursor: pointer; }
.person-imgs .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* ---------- Paths ---------- */
.home-trails { padding-top: 40px; }
.path-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
@media (max-width: 900px) { .path-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .path-cards { grid-template-columns: minmax(0, 1fr); } }
.path-card { display: grid; gap: 10px; align-content: start; padding-top: 14px; border-top: 1px solid var(--ink); text-decoration: none; color: var(--ink); }
.path-card:hover { color: var(--ink); }
.path-card:hover .pc-t { color: var(--accent); font-style: italic; }
.pc-k { font-family: var(--f-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pc-t { font-family: var(--f-display); font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.pc-i { font-size: .9375rem; color: var(--ink-2); }
.path-intro { font-family: var(--f-serif); font-size: 1.25rem; line-height: 1.5; color: var(--ink); max-width: 44rem; }
.stops { list-style: none; margin: 0; padding: 0; max-width: 60rem; counter-reset: stop; }
.stop { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; gap: 4px 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.stop-n { font-family: var(--f-display); font-size: 2.75rem; line-height: .9; color: var(--accent); text-align: right; }
.stop-body { display: grid; gap: 6px; }
.stop-note { font-family: var(--f-serif); font-size: 1.1875rem; line-height: 1.5; color: var(--ink); }
.stop-title { font-family: var(--f-display); font-size: 1.375rem; line-height: 1.15; }
.stop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .8125rem; color: var(--ink-3); }
.stop-thumb { display: block; width: 84px; aspect-ratio: 4 / 5; background: var(--mat); border: 1px solid var(--rule-soft); border-radius: 3px; overflow: hidden; }
.stop-thumb .ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
@media (max-width: 640px) { .stop { grid-template-columns: 2rem minmax(0, 1fr); } .stop-thumb { display: none; } .stop-n { font-size: 1.5rem; } }

/* ---------- Editorial method ---------- */
.ed-sec p { max-width: 46rem; color: var(--ink-2); }
.ed-sec p + p { margin-top: .8em; }
.ed-facts { max-width: 46rem; }
.cite-list { margin: 14px 0 0; display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 12px 16px; max-width: 54rem; }
.cite-list dt { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: .25em; }
.cite-list dd { margin: 0; font-family: var(--f-serif); font-size: 1.0625rem; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 560px) { .cite-list { grid-template-columns: minmax(0, 1fr); gap: 4px; } .cite-list dd { margin-bottom: 10px; } }
.releases { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 46rem; }
.releases h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.releases ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 4px; }

/* ---------- Footer ---------- */
.foot { background: var(--foot-bg); color: var(--foot-ink-2); font-size: .875rem; }
.foot a { color: var(--foot-ink); text-decoration: none; }
.foot a:hover { color: var(--lav); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 2fr); gap: 40px 64px; padding-block: clamp(56px, 7vw, 88px) 48px; }
.foot-name { font-family: var(--f-display); font-size: clamp(1.75rem, 2.8vw, 3.25rem); line-height: 1; letter-spacing: -.02em; color: var(--foot-ink); white-space: nowrap; }
@media (max-width: 760px) { .foot-name { white-space: normal; } }
.foot-brand p { margin-top: 14px; max-width: 24rem; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols h2 { font-family: var(--f-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--foot-ink-2); margin-bottom: 6px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 28px; border-top: 1px solid var(--foot-rule); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 760px) { .foot-top { grid-template-columns: minmax(0, 1fr); } .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.side-correct { margin-top: 14px; font-size: .8125rem; color: var(--ink-3); }
.ed-evidence { grid-template-columns: 12rem minmax(0, 1fr); max-width: 48rem; margin: 14px 0 18px; }
.ed-evidence dd { color: var(--ink-2); font-size: .9375rem; }

/* ---------- About ---------- */
.ab-open { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 6rem); align-items: start; }
.ab-quote { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(3rem, 7vw, 7.5rem); line-height: .9; letter-spacing: -.03em; color: var(--accent); }
.ab-open-text { display: grid; gap: 1rem; padding-top: .6rem; max-width: 38rem; font-family: var(--f-serif); font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); }
.ab-link { font-family: var(--f-ui); font-size: .9375rem; }
.ab-offer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ab-card { display: grid; gap: .6rem; align-content: start; padding: .5rem 1.5rem 1.5rem 0; color: var(--ink); text-decoration: none; }
.ab-card + .ab-card { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.ab-card h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.75rem, 2.4vw, 2.5rem); line-height: 1; transition: color .2s; }
.ab-card p { color: var(--ink-2); font-size: .9375rem; }
.ab-go { margin-top: .25rem; font-size: .875rem; color: var(--accent); }
.ab-card:hover { color: var(--ink); }
.ab-card:hover h3 { color: var(--accent); font-style: italic; }
.ab-hidden { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.ab-hidden li { display: grid; gap: .75rem; align-content: start; padding-top: 1rem; border-top: 3px solid var(--ink); }
.ab-hidden h3 { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(2.25rem, 3.6vw, 3.5rem); line-height: .95; }
.ab-hidden p { font-family: var(--f-serif); font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); }
.ab-voices { list-style: none; margin: 0; padding: 0; }
.ab-voices li { display: grid; grid-template-columns: 13rem minmax(0, 1fr) 84px; gap: .75rem 2rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.av-when { display: grid; gap: .25rem; }
.av-date { font-family: var(--f-display); font-size: 1.625rem; line-height: 1.05; }
.av-place { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.av-what { display: grid; gap: .6rem; }
.av-what > p:first-child { max-width: 46rem; font-family: var(--f-serif); font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.5; color: var(--ink); }
.av-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: .875rem; }
.av-img { display: block; width: 84px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mat); }
.av-img .ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.ab-marks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.ab-mark { display: grid; gap: .75rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--rule); }
.ab-mark p { font-size: .9375rem; color: var(--ink-2); }
.ab-made { display: grid; gap: 1rem; max-width: 46rem; font-family: var(--f-serif); font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); }
.ab-close { display: grid; justify-items: start; gap: 1.5rem; margin-top: clamp(5rem, 9vw, 8rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--ink); }
.ab-close > p:first-child { max-width: 50ch; font-family: var(--f-display); font-size: clamp(1.375rem, 1.9vw, 2.125rem); line-height: 1.2; letter-spacing: -.01em; }
.ab-sign { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 1000px) {
  .ab-offer, .ab-hidden, .ab-marks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-card:nth-child(3) { padding-left: 0; border-left: 0; }
  .ab-card:nth-child(n+3) { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
}
@media (max-width: 700px) {
  .ab-open, .ab-offer, .ab-hidden { grid-template-columns: minmax(0, 1fr); }
  .ab-card + .ab-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-top: 1.25rem; }
  .ab-voices li { grid-template-columns: minmax(0, 1fr) 64px; }
  .av-when { grid-column: 1 / -1; }
  .av-img { width: 64px; }
}
