/* Strange to Say: brand direction C, Case Label (Sem, 2026-10-27), home page direction A, Exhibit (Sem, 2026-10-28).
   Real photos full bleed; one to three words on tilted paper and red-pencil labels (Bebas Neue); typewriter tabs
   (Courier Prime); the red StS stamp; the red-pencil underline. Reading text in StS Display (a renamed subset of
   Linux Libertine Display). Labels sit on photos, like the thumbnails; sections are titled in plain Bebas.
   Motion (modern-motion rule): tactile craft, spatial-depth accent. Springs and expo-out, staggered, no fades alone. */

@font-face {
  font-family: "Bebas Neue";
  src: url("/assets/fonts/bebas-neue.d93077d1b1.woff2") format("woff2"), url("/assets/fonts/bebas-neue.44d5537ddf.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "StS Display";
  src: url("/assets/fonts/sts-display.cabeb8ba52.woff2") format("woff2"), url("/assets/fonts/sts-display.c0c6b64f97.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/assets/fonts/courier-prime-regular.bd78653fba.woff2") format("woff2"), url("/assets/fonts/courier-prime-regular.ae2082a641.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/assets/fonts/courier-prime-bold.9941f53033.woff2") format("woff2"), url("/assets/fonts/courier-prime-bold.cee2c3b367.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f2ead6;
  --paper-hi: #f8f3e6;
  --print: #fbf8f0;
  --ink: #1d1712;
  --ink-soft: #4a3d31;
  --muted: #6b5843;       /* 5.6:1 on paper */
  --rule: #cdbd9c;
  --red: #b3261e;         /* 5.4:1 on paper; paper on red 5.9:1 */
  --red-hi: #c42d24;
  --on-ink: #f2ead6;
  --on-ink-soft: #cbbd9f; /* 9.6:1 on ink */
  --on-photo: #ece2ca;
  --label: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --type: "Courier Prime", "Courier New", Courier, monospace;
  --text: "StS Display", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --gutter: 1rem;
  --wrap: 76rem;
  --measure: 36rem;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  /* a spring with one overshoot of about 5 percent, settled by about 60 percent of its time */
  --spring: linear(0, .09 3.6%, .35 9.2%, .7 16%, .93 23%, 1.035 30%, 1.05 34.5%, 1.035 40%, 1.004 52%, .997 62%, 1);
  --lift: 0 1px 2px rgba(29, 23, 18, .22), 0 12px 30px -8px rgba(29, 23, 18, .38);
  --lift-hi: 0 2px 4px rgba(29, 23, 18, .2), 0 26px 50px -14px rgba(29, 23, 18, .5);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .32 0 0 0 0 .2 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .94 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width: 48rem) { :root { --gutter: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem;
  scrollbar-color: var(--muted) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.1875rem; line-height: 1.6;
  font-kerning: normal; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
@media (min-width: 48rem) { body { font-size: 1.25rem; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
p, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: var(--paper-hi); }
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1.5px; text-decoration-color: rgba(179, 38, 30, .6); text-underline-offset: .2em; }
a:hover { color: var(--red); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 1px; }
.ink :focus-visible, .hero :focus-visible, .mast :focus-visible, .foot :focus-visible, .film :focus-visible { outline-color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow > * { max-width: 46rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 20; background: var(--paper); color: var(--ink);
  padding: .5rem .875rem; font-family: var(--type); font-weight: 700; font-size: .875rem; }
.skip:focus { top: .75rem; }
.paper { background-color: var(--paper); background-image: var(--grain); }
.ink { background-color: var(--ink); background-image: var(--grain-ink); color: var(--on-ink); }

/* ---------------------------------------------------------------- brand parts */
/* a Case Label: one to three words on tilted paper or red-pencil stock, as on the thumbnails */
.lbl { display: inline-block; font-family: var(--label); font-weight: 400; line-height: .9; letter-spacing: .012em; text-transform: uppercase;
  padding: .1em .2em 0; margin: 0 .04em .06em 0; transform: rotate(var(--tilt, 0deg)); transform-origin: 30% 60%;
  box-shadow: 0 .02em .03em rgba(20, 12, 6, .28), 0 .07em .2em -.02em rgba(20, 12, 6, .34); }
/* the tilt alternates by position, never inline (the Content Security Policy allows no style attributes) */
.lbl:nth-child(3n + 1) { --tilt: -2.2deg; } .lbl:nth-child(3n + 2) { --tilt: 1.8deg; --i: 1; } .lbl:nth-child(3n) { --tilt: -1.2deg; --i: 2; }
.exhibit:nth-child(3n + 1) .exhibit-tag { --tilt: -2.2deg; } .exhibit:nth-child(3n + 2) .exhibit-tag { --tilt: 1.8deg; } .exhibit:nth-child(3n) .exhibit-tag { --tilt: -1.2deg; }
.lbl-paper { background: var(--paper-hi) var(--grain); color: var(--ink); }
.lbl-red { background: var(--red); color: var(--paper-hi); }
.lbl-xs { font-size: 1.2rem; }
.lbl-s { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
.lbl-l { font-size: clamp(3rem, 7.5vw, 6.25rem); }
.lbl-xl { font-size: clamp(3.6rem, 10vw, 8.5rem); }

/* typewriter tabs */
.tab { display: inline-block; font-family: var(--type); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  line-height: 1.15; padding: .5em .8em .45em; background: var(--paper-hi); color: var(--ink); }
.tab-ink { background: var(--ink); color: var(--paper); }
.tab-photo { white-space: nowrap; font-size: .7rem; letter-spacing: .14em; padding: .45em .65em .4em; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.dot, .sep { display: inline-block; width: .32em; height: .32em; margin: 0 .7em; border-radius: 50%; background: currentColor; vertical-align: .18em; opacity: .7; }
.meta { font-family: var(--type); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.meta span { white-space: nowrap; }

/* the red pencil */
.pencil { overflow: visible; }
.pencil path, .tick path, .arrow path, .chevron path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pencil path { stroke: var(--red); stroke-width: 4px; }
.tick { width: 1.15em; height: .95em; flex: none; margin-top: .22em; }
.tick path { stroke: var(--red); stroke-width: 2.5px; }
.arrow { width: 1.4em; height: .75em; display: inline-block; flex: none; }
.arrow path { stroke: currentColor; stroke-width: 1.8px; }
.play { width: .9em; height: .9em; fill: currentColor; flex: none; }

/* buttons: printed labels you can press */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 3rem; font-family: var(--type); font-weight: 700; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: .9em 1.3em .85em; line-height: 1.1; box-shadow: var(--lift);
  transition: transform .5s var(--spring), box-shadow .3s var(--ease-out), background-color .2s; }
.btn:hover { transform: translateY(-2px) rotate(-.6deg); box-shadow: var(--lift-hi); }
.btn:active { transform: translateY(1px) scale(.98); transition-duration: .12s; }
.btn-red, .btn-red:hover { background: var(--red); color: var(--paper-hi); }
.btn-red:hover { background: var(--red-hi); }
.btn-paper, .btn-paper:hover { background: var(--paper-hi); color: var(--ink); }
.btn-small { min-height: 2.5rem; font-size: .72rem; padding: .75em 1em .7em; }
.btn-meta { padding-left: .7em; border-left: 1px solid rgba(248, 243, 230, .5); font-weight: 400; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; margin-top: 1.75rem; }
.link { display: inline-flex; align-items: center; gap: .5em; min-height: 2.75rem; font-family: var(--type); font-weight: 700; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.link .arrow { transition: transform .45s var(--spring); }
.link:hover .arrow { transform: translateX(5px); }
.link-on-ink, .link-on-ink:hover { color: var(--paper); }

/* ---------------------------------------------------------------- masthead (over each page's photo or ink hero) */
.mast { position: absolute; inset: 0 0 auto; z-index: 5; color: var(--paper); }
.mast-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; min-height: 4.5rem; padding-top: .35rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--paper); }
.brand-stamp { width: 38px; height: 38px; transition: transform .6s var(--spring); }
.brand:hover .brand-stamp { transform: rotate(-12deg) scale(1.06); }
.brand-name { font-family: var(--label); font-size: 1.5rem; letter-spacing: .03em; line-height: 1; padding-top: .1em; white-space: nowrap; }
.mast .brand-name, .nav a { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.nav { order: 3; width: 100%; }
.nav ul { display: flex; gap: 1.4rem; }
.nav a { display: inline-block; font-family: var(--type); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding: .55rem 0 .7rem; color: var(--paper); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .5em; }
@media (min-width: 46rem) {
  .mast-row { flex-wrap: nowrap; }
  .nav { order: 0; width: auto; }
  .nav ul { gap: 2rem; }
  .nav a { font-size: .78rem; padding: .75rem 0; }
  .mast-sub { margin-left: 1rem; }
  .brand-stamp { width: 44px; height: 44px; }
  .brand-name { font-size: 1.65rem; }
}

/* ---------------------------------------------------------------- photo heroes (home and case pages) */
.hero { position: relative; min-height: min(100svh, 62rem); display: grid; align-items: end; overflow: clip; isolation: isolate;
  background: var(--ink); color: var(--paper); }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 10, 7, .88) 0%, rgba(14, 10, 7, .7) 40%, rgba(14, 10, 7, .1) 74%),
              linear-gradient(0deg, rgba(14, 10, 7, .8) 0%, rgba(14, 10, 7, 0) 48%),
              linear-gradient(180deg, rgba(14, 10, 7, .6) 0%, rgba(14, 10, 7, 0) 22%); }
.hero-in { padding-top: 9rem; padding-bottom: 5.75rem; }
.hero-in > * { max-width: 40rem; }
.tab-lead { margin-bottom: 1.4rem; }
.hero-labels { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 .3rem; margin: 0 0 1.4rem -.08em; }
.hero-labels .lbl:nth-child(2) { margin-top: .32em; }
.hero-title { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.hero-title a { text-decoration: none; }
.hero-title a:hover { color: inherit; text-decoration: underline; text-decoration-color: var(--red); }
.hero-title span { display: block; font-size: .56em; color: var(--on-photo); margin-top: .35em; }
.hero-promise { margin-top: 1rem; font-size: 1.12em; line-height: 1.5; color: var(--on-photo); max-width: 34rem; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero-credit { position: absolute; left: var(--gutter); bottom: 1.1rem; display: flex; align-items: center; gap: .7rem; font-family: var(--type);
  font-size: .68rem; line-height: 1.35; color: var(--on-photo); max-width: calc(100% - 2 * var(--gutter)); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
@media (min-width: 76rem) { .hero-credit { left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
@media (max-width: 40rem) { .hero-credit span:last-child { display: none; } .hero-in { padding-top: 8rem; padding-bottom: 4.5rem; } }
.hero-case { min-height: min(92svh, 56rem); }
.case-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 1.25rem; font-family: var(--type); font-weight: 700; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--on-photo); }
.case-meta li { display: flex; align-items: center; gap: .5rem; }
.case-meta li::before { content: ""; width: .5rem; height: 2px; background: var(--red); }

/* ---------------------------------------------------------------- section heads */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2.25rem;
  padding-bottom: .7rem; border-bottom: 3px solid var(--ink); }
.sec-title { font-family: var(--label); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: .92; letter-spacing: .01em; text-transform: uppercase; }
.sec-note { font-family: var(--type); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sec-note a { color: var(--ink); }
.section-lede { margin-top: .9rem; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-soft); max-width: 42rem; }

/* ---------------------------------------------------------------- case cards (home and More case files) */
.cases { padding: 5rem 0 5.5rem; }
.cards { display: grid; gap: 3rem 2.5rem; }
@media (min-width: 52rem) { .cards { grid-template-columns: 1fr 1fr; } }
.card-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: clip; background: var(--ink); box-shadow: var(--lift);
  transition: transform .6s var(--spring), box-shadow .4s var(--ease-out); }
.card-thumb picture, .card-thumb img { width: 100%; height: 100%; }
.card-thumb img { object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .card-thumb { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--lift-hi); }
.card:hover .card-thumb img { transform: scale(1.04); }
.card-labels { position: absolute; right: 4%; top: 9%; display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; }
.card-thumb .tab-photo { position: absolute; left: 3.5%; bottom: 6%; }
.card-no { font-family: var(--type); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 1.35rem 0 .45rem; }
.card-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.card-promise { margin: .6rem 0 .9rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- home: what the channel is */
.about-band { padding: 5rem 0 5.5rem; }
.about-band-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .about-band-grid { grid-template-columns: 1.35fr 1fr; gap: 5rem; } }
.band-title { font-family: var(--label); text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .95; letter-spacing: .01em; }
.pencil-wrap { position: relative; display: inline-block; }
.pencil-wrap .pencil { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .22em; }
.band-text { margin-top: 1.4rem; color: var(--on-ink-soft); max-width: 36rem; }
.about-band .link { color: var(--paper); }
.index-card { background: var(--print) var(--grain); color: var(--ink); padding: 1.6rem 1.5rem 1.75rem; box-shadow: var(--lift);
  transform: rotate(.8deg); border-top: 4px solid var(--red); }
.index-card .tab { margin-bottom: 1.25rem; }
.ticks { display: grid; gap: .8rem; font-family: var(--type); font-size: .95rem; line-height: 1.45; }
.ticks li { display: flex; gap: .7rem; }

/* ---------------------------------------------------------------- case page: the film */
.film { padding: 3.5rem 0 4rem; }
.video { max-width: 64rem; margin-inline: auto; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #0d0a07; box-shadow: 0 2px 4px rgba(0, 0, 0, .5), 0 30px 60px -20px rgba(0, 0, 0, .8); overflow: hidden; }
.video-frame picture, .video-frame img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; inset: 0; display: block; color: var(--paper-hi); text-decoration: none; }
.video-play img { transition: transform 1.2s var(--ease-out), filter .4s; }
.video-play:hover img { transform: scale(1.02); filter: brightness(.92); }
.play-button { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .7em; background: var(--red);
  padding: .9em 1.2em .85em; font-family: var(--type); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45); transform: rotate(-1.2deg); transition: transform .5s var(--spring), background-color .2s; }
.play-button .play { width: 1.1em; height: 1.1em; }
.video-play:hover .play-button { transform: rotate(0) scale(1.05); background: var(--red-hi); }
@media (min-width: 48rem) { .play-button { left: 1.5rem; bottom: 1.5rem; font-size: .9rem; } }
.video-note { margin-top: .9rem; font-family: var(--type); font-size: .78rem; color: var(--on-ink-soft); }
.video-pending { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; margin-top: 1.25rem; }

/* ---------------------------------------------------------------- case page: the file */
.case-body { padding: 4.5rem 0 5rem; }
.case-grid { display: grid; gap: 3rem; }
.brief .sec-title { padding-bottom: .7rem; border-bottom: 3px solid var(--ink); margin-bottom: 1.5rem; }
.brief p { max-width: var(--measure); margin-top: 1.1rem; }
.brief .sec-title + p { margin-top: 0; }
.jump { margin-top: 1.75rem !important; font-family: var(--type); font-size: .85rem; line-height: 1.7; color: var(--muted); }
.jump a { color: var(--ink); }
.chapters { background: var(--print) var(--grain); box-shadow: var(--lift); padding: 1.5rem 1.4rem 1.4rem; border-top: 4px solid var(--red); }
.chapter-list { margin-top: 1rem; }
.chapter-list li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .75rem; padding: .55rem 0 .6rem; border-bottom: 1px solid var(--rule);
  font-size: 1.0625rem; line-height: 1.35; }
.chapter-list li:last-child { border-bottom: 0; }
.t { font-family: var(--type); font-weight: 700; font-size: .875rem; color: var(--red); font-variant-numeric: tabular-nums; padding-top: .15rem; }
a.t { text-decoration-color: rgba(179, 38, 30, .4); }
.chapter-note { margin-top: .9rem; font-family: var(--type); font-size: .78rem; line-height: 1.5; color: var(--muted); }
.ch-note { display: block; margin-top: .3rem; font-family: var(--type); font-size: .74rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 64rem) {
  .case-grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: 4.5rem; align-items: start; }
  .chapters { position: sticky; top: 1.5rem; transform: rotate(.4deg); }
}

/* exhibits: prints with a red Case Label */
.exhibits { margin-top: 5rem; }
.exhibit-grid { display: grid; gap: 3rem; }
.exhibit-image { position: relative; display: block; background: var(--print); padding: .5rem; box-shadow: var(--lift);
  transition: transform .6s var(--spring), box-shadow .4s var(--ease-out); }
.exhibit:nth-child(odd) .exhibit-image { transform: rotate(-.5deg); }
.exhibit:nth-child(even) .exhibit-image { transform: rotate(.5deg); }
.exhibit:nth-child(n) .exhibit-image:hover { transform: translateY(-4px) rotate(0); box-shadow: var(--lift-hi); }
.exhibit-tag { position: absolute; left: -.4rem; top: -.7rem; }
.exhibit figcaption { margin-top: 1.2rem; max-width: 40rem; }
.exhibit-label { font-family: var(--type); font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.exhibit-at { color: var(--muted); letter-spacing: .08em; }
.exhibit-at a { color: inherit; }
.exhibit h3 { font-size: 1.55rem; margin-top: .5rem; }
.exhibit figcaption > p:not(.exhibit-label):not(.exhibit-source) { margin-top: .5rem; font-size: 1.0625rem; line-height: 1.55; }
.exhibit-source { margin-top: .6rem; font-family: var(--type); font-size: .78rem; line-height: 1.5; color: var(--muted); }
@media (min-width: 48rem) {
  .exhibit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.75rem 2.75rem; }
  .ex-wide { grid-column: 1 / -1; }
  .ex-wide figcaption { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-template-rows: auto 1fr; gap: .25rem 2.5rem; max-width: none; }
  .ex-wide figcaption .exhibit-label, .ex-wide figcaption h3 { grid-column: 1; }
  .ex-wide figcaption > p:not(.exhibit-label), .ex-wide .exhibit-source { grid-column: 2; }
  .ex-wide figcaption > p:nth-of-type(2) { grid-row: 1 / span 2; margin-top: 0 !important; }
}

/* where it stands */
.status { margin-top: 5.5rem; }
.status-card { position: relative; background: var(--print) var(--grain); box-shadow: var(--lift); padding: 0 1.4rem 1.75rem; border-top: 4px solid var(--red); transform: rotate(-.4deg); }
.status-card .tab { transform: translateY(-50%); }
.status-card h2 { font-family: var(--label); text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3rem); line-height: .95; margin-top: .4rem; }
.as-of { display: block; font-family: var(--type); font-weight: 700; font-size: .78rem; letter-spacing: .1em; color: var(--muted); margin-top: .6em; }
.status-text { margin-top: 1.1rem; font-size: 1.2rem; line-height: 1.55; }
.rechecked { margin-top: 1.25rem; padding-top: .9rem; border-top: 1px solid var(--rule); font-family: var(--type); font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 48rem) { .status-card { padding: 0 2.25rem 2.25rem; } }

/* transcript */
.transcript { margin-top: 5rem; }
.transcript details { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); }
.transcript summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .35rem 1rem; padding: 1.1rem 0 1.2rem; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary h2 { grid-column: 1; }
.summary-note { grid-column: 1; font-family: var(--type); font-size: .82rem; color: var(--muted); }
.chevron { grid-column: 2; grid-row: 1 / span 2; width: 1.9rem; height: 1.9rem; transition: transform .5s var(--spring); }
.chevron path { stroke: var(--red); stroke-width: 2.5px; }
.transcript details[open] .chevron { transform: rotate(180deg); }
.transcript summary:hover h2 { color: var(--red); }
.tr-body { padding: .5rem 0 2rem; }
.tr-chapter { margin-top: 1.75rem; }
.tr-chapter h3 { display: flex; gap: 1rem; align-items: baseline; font-size: 1.3125rem; line-height: 1.25; }
.tr-chapter h3 .t { flex: none; min-width: 3rem; }
.tr-chapter p { margin-top: .75rem; max-width: var(--measure); }
.tr-chapter .tr-note { font-family: var(--type); font-size: .8rem; line-height: 1.5; color: var(--muted); padding-left: .75rem; border-left: 2px solid var(--red); }

/* sources and credits */
.sources { margin-top: 5rem; }
.sources > .sec-title { padding-bottom: .7rem; border-bottom: 3px solid var(--ink); }
.src-heading { font-family: var(--label); text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin-top: 2.75rem; }
.src-columns { margin-top: 1.25rem; }
.src-group { break-inside: avoid-column; margin-bottom: 2rem; }
.src-group h4 { font-family: var(--type); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .5rem; break-after: avoid; }
.src-group li { padding: .55rem 0 .6rem; border-bottom: 1px solid var(--rule); font-size: 1rem; line-height: 1.4; break-inside: avoid; overflow-wrap: anywhere; }
.src-pub, .cr-links { display: block; font-family: var(--type); font-size: .78rem; line-height: 1.45; color: var(--muted); }
.src-pub { margin-bottom: .15rem; }
.cr-links { margin-top: .2rem; }
.cr-links a { color: var(--muted); text-decoration-color: rgba(107, 88, 67, .45); text-decoration-thickness: 1px; }
.cr-links a:hover { color: var(--red); text-decoration-color: currentColor; }
.cr-links .sep { margin: 0 .5em; }
@media (min-width: 64rem) { .src-columns { columns: 2; column-gap: 3.5rem; } }

/* more case files */
.case-nav { padding: 1rem 0 5.5rem; }

/* ---------------------------------------------------------------- about, licenses, 404 */
.page-hero { padding: 9rem 0 4.5rem; position: relative; overflow: clip;
  background-image: var(--grain-ink), radial-gradient(ellipse 70% 90% at 78% 30%, #3a2e23 0%, var(--ink) 68%); }
.page-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52rem) { .page-hero-grid { grid-template-columns: 1fr auto; gap: 4rem; } .page-hero { padding-bottom: 5.5rem; } }
.page-title { font-family: var(--label); text-transform: uppercase; font-size: clamp(3rem, 8vw, 6rem); line-height: .92; letter-spacing: .01em; max-width: 16ch; }
.page-lede { margin-top: 1.25rem; font-size: 1.25rem; line-height: 1.5; color: var(--on-ink-soft); max-width: 36rem; }
.hero-stamp { width: clamp(9rem, 24vw, 14rem); height: auto; transform: rotate(-9deg); }
.page-body { padding: 4.5rem 0 5.5rem; }
.page-grid { display: grid; gap: 3.5rem; }
@media (min-width: 64rem) { .page-grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: 4.5rem; align-items: start; } .page-aside { position: sticky; top: 1.5rem; } }
.about-section + .about-section { margin-top: 3.25rem; }
.about-section h2 { font-family: var(--label); text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 2.8rem); line-height: .95; }
.about-section p { margin-top: 1rem; max-width: var(--measure); }
.type-credit { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: 1rem; color: var(--ink-soft); max-width: var(--measure); }
.plain-list { margin-top: 1rem; padding-left: 1.25rem; list-style: disc; }
.not-found { min-height: 100svh; display: grid; align-items: center; }
.not-found .page-title { margin-top: .5rem; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink) var(--grain-ink); color: var(--on-ink-soft); padding: 3.5rem 0 3rem; font-size: 1rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; } }
.foot-stamp { width: 64px; height: 64px; margin-bottom: 1rem; }
.foot-name { font-family: var(--label); font-size: 2rem; color: var(--paper); line-height: 1; letter-spacing: .02em; }
.foot-tag { font-family: var(--type); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .4rem; }
.foot-links { display: grid; gap: .55rem; }
.foot a { color: var(--paper); text-decoration-color: rgba(242, 234, 214, .4); }
.foot a:hover { color: #fff; text-decoration-color: currentColor; }
.foot-fine { font-size: .9rem; max-width: 30rem; }

/* ---------------------------------------------------------------- motion (none of it under reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  /* labels land like stickers slapped on a print: a spring, slight over-rotation, blur to sharp */
  .hero-labels .lbl { animation: slap .75s var(--spring) both; animation-delay: calc(.3s + var(--i, 0) * 90ms); }
  @keyframes slap {
    from { opacity: 0; transform: translateY(-.35em) rotate(calc(var(--tilt, 0deg) * 4)) scale(1.16); filter: blur(8px); }
    35% { opacity: 1; filter: blur(0); }
    to { opacity: 1; transform: rotate(var(--tilt, 0deg)); filter: blur(0); } }

  /* the photo settles from a slow push; the text rises in after the labels */
  .hero-photo img { animation: settle 2.6s var(--ease-out) both; }
  @keyframes settle { from { transform: scale(1.09); filter: blur(6px) brightness(.7); } to { transform: none; filter: none; } }
  .hero .tab-lead, .hero-title, .hero-promise, .hero .case-meta, .hero .actions, .page-hero .tab-lead, .page-title, .page-lede, .page-hero .actions {
    animation: rise .9s var(--ease-out) both; }
  .hero .tab-lead, .page-hero .tab-lead { animation-delay: .15s; }
  .hero-title, .page-title { animation-delay: .5s; }
  .hero-promise, .page-lede { animation-delay: .6s; }
  .hero .case-meta { animation-delay: .65s; }
  .hero .actions, .page-hero .actions { animation-delay: .72s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

  /* the stamp is pressed onto the page */
  .hero-stamp { animation: press .5s var(--ease-in) .6s both, stamp-settle .5s var(--spring) 1.1s both; }
  @keyframes press { from { opacity: 0; transform: rotate(-3deg) scale(1.6); } to { opacity: 1; transform: rotate(-9deg) scale(.95); } }
  @keyframes stamp-settle { from { transform: rotate(-9deg) scale(.95); } to { transform: rotate(-9deg) scale(1); } }

  /* depth: the hero photo drifts slower than the page; cards, exhibits and the pencil play as they scroll in */
  @supports (animation-timeline: scroll()) {
    .hero-photo { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes drift { to { transform: translateY(16vh) scale(1.04); } }
    .card, .exhibit { animation: enter linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes enter { from { opacity: 0; transform: translateY(48px) rotate(1deg); } to { opacity: 1; transform: none; } }
    .draw-on-view path { stroke-dasharray: 1; animation: draw linear both; animation-timeline: view(); animation-range: entry 40% cover 45%; }
    @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
}

@media print {
  .mast nav, .mast-sub, .film, .skip, .hero-photo, .hero-scrim { display: none; }
  .hero, .ink, .foot { background: none; color: #000; min-height: 0; }
  .hero-title, .hero-promise, .hero-title span { color: #000; text-shadow: none; }
  details > :not(summary) { display: block; }
}

/* cover focus points, from the case files (build.py) */
.cover-war-on-gravity img { object-position: 63% 35%; }
.cover-the-fake-brownstone img { object-position: 55% 62%; }
.cover-the-radiator-myth img { object-position: 50% 70%; }
.cover-who-stood-on-top-of-everest-first img { object-position: 20% 30%; }
.cover-did-a-punch-kill-houdini img { object-position: 40% 6%; }
.cover-why-do-we-change-the-clocks img { object-position: 30% 50%; }
