/* stvmrgn.com — site stylesheet, October 2026.
   A black band holds the nav and the player. Everything else is a white page.
   Two faces: Libre Franklin for titles and labels, Libre Caslon Text for anything read.
   The site is black and white; the work supplies the colour. */

:root {
  --page: #ffffff;
  --ink: #131211;
  --ink-2: #625e57;
  --hair: #dcd9d3;
  --band: #0b0b0a;
  --band-ink: #f6f4ef;
  --band-2: #a29e95;
  --band-hair: #3b3a37;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --serif: "Libre Caslon Text", "Adobe Caslon Pro", "Iowan Old Style", Georgia, serif;
  --wrap: 1168px;
  --gutter: clamp(20px, 5vw, 136px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* The ampersand is the site's one recurring detail: Caslon italic inside Franklin titles. */
.amp { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.06em; letter-spacing: 0; padding: 0 .03em; }

/* ---------- nav (black) ---------- */
/* the 1px shadow closes the hairline that can open between two black blocks at fractional zoom */
.nav { position: relative; z-index: 20; background: var(--band); color: var(--band-ink); box-shadow: 0 1px 0 var(--band); }
.nav__row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 26px 24px; }
.nav__mark { font-family: var(--sans); font-weight: 800; font-size: 23px; letter-spacing: -.035em; }
.nav__links { display: flex; gap: 34px; list-style: none; font-family: var(--sans); font-weight: 500; font-size: 15px; }
.nav__links a { display: inline-block; padding-bottom: 5px; border-bottom: 1.5px solid transparent; }
.nav__links a[aria-current] { border-color: currentColor; }
.nav__links a:hover { border-color: var(--band-2); }
.nav__toggle { display: none; background: none; border: 0; padding: 6px 0; font-family: var(--sans); font-weight: 500; font-size: 15px; color: inherit; cursor: pointer; }
.nav__toggle-close { display: none; }

/* ---------- black band + player ---------- */
.room { background: var(--band); color: var(--band-ink); }
.masthead { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 3.05vw, 42px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.room__head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding-block: 26px 30px; }
.room__meta { font-style: italic; font-size: 19px; line-height: 1.3; color: var(--band-2); }
.room__kicker { flex-basis: 100%; font-family: var(--sans); font-weight: 600; font-size: 13px; color: var(--band-2); padding-bottom: 4px; }
.room__foot { height: 44px; }

.tv-set { position: relative; }
.tv-set + .tv-set { margin-top: 40px; }
.tv-screen { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #000; overflow: hidden; }
.tv-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-ident { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; background: #050505; transition: opacity 320ms linear; }
.hero-set[data-tuned] .tv-ident { opacity: 0; pointer-events: none; }
.hero-set:not([data-tuned]) [data-tv-frame] { visibility: hidden; }
.tv-static { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; opacity: 1; transition: opacity 260ms linear; }
.tv-static[data-off] { opacity: 0; pointer-events: none; }

.cue { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px 36px; }
.cue__now { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-width: 0; }
.cue__play { font-size: 10px; align-self: center; flex: none; }
.cue__n { font-family: var(--sans); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--band-2); }
.cue__t { font-family: var(--sans); font-weight: 700; font-size: 18px; letter-spacing: -.012em; }
.cue__c { font-style: italic; font-size: 16px; color: var(--band-2); }
.cue__ch { display: flex; align-items: center; gap: 10px; flex: none; font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--band-2); }
.cue__ch button { width: 40px; height: 34px; background: none; border: 1px solid var(--band-hair); color: var(--band-ink); font-size: 11px; cursor: pointer; }
.cue__ch button:hover { border-color: var(--band-ink); }
.film__caption { display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding-top: 14px; font-style: italic; font-size: 16px; color: var(--band-2); }

/* ---------- white page ---------- */
.page { padding-block: 76px 0; }
h2.head { font-family: var(--sans); font-weight: 800; font-size: 34px; line-height: 1.05; letter-spacing: -.038em; text-wrap: balance; }
h2.head--s { font-size: 24px; letter-spacing: -.032em; }
.more { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.more:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* listings: number, title, descriptor, More */
.listings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 72px; }
.listings h2, .listings-one h2 { margin-bottom: 16px; }
.listing { list-style: none; border-top: 2px solid var(--ink); }
.listing li { position: relative; display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--hair); }
.listing__row { flex: 1; min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: baseline; padding: 13px 0 12px; background: none; border: 0; text-align: left; cursor: pointer; }
.listing .n { position: relative; font-family: var(--sans); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.listing .t { font-family: var(--sans); font-weight: 700; font-size: 19px; letter-spacing: -.015em; margin-right: 12px; }
.listing .d { font-style: italic; font-size: 16px; color: var(--ink-2); }
.listing__row:hover .t { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.listing li.is-tuned .n { color: var(--ink); }
.listing li.is-tuned .n::before { content: "\25B6"; position: absolute; left: -17px; top: 50%; margin-top: -4px; font-size: 8px; line-height: 1; color: var(--ink); }
.listings-one .listing .t { font-size: 21px; }

/* work sections */
.work { margin-top: 112px; }
.work > h2 { padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 36px; }
.piece img { width: 100%; }
.piece--edge img { outline: 1px solid var(--hair); outline-offset: -1px; }
.work > .piece + .piece, .work > .feature + .piece { margin-top: 88px; }

/* a piece with its words beside it */
.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 1fr) minmax(0, 5fr); align-items: center; }
.work > .feature + .feature, .work > .piece + .feature { margin-top: 88px; }
.feature__img { grid-column: 1; grid-row: 1; }
.feature > .label { grid-column: 3; grid-row: 1; }
.feature--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr); }
.feature--flip .feature__img { grid-column: 3; }
.feature--flip > .label { grid-column: 1; }
.feature__img img { width: 100%; }

/* captions: the headline as type, then who it was for, then Steve's line */
.label { padding-top: 18px; }
.feature > .label { padding-top: 0; }
.label__head { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 2.9vw, 40px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; margin-bottom: 12px; }
.feature > .label .label__head { font-size: clamp(34px, 4.5vw, 62px); line-height: .98; letter-spacing: -.048em; margin-bottom: 18px; }
.label__who { font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: -.005em; }
.label__who i { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 16px; color: var(--ink-2); }
.label__line { font-size: 19px; line-height: 1.42; margin-top: 8px; max-width: 30em; }
.label .more { display: inline-block; margin-top: 14px; }
.label--wide { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 1fr) minmax(0, 5fr); align-items: start; }
.label--wide > div:first-child { grid-column: 1; }
.label--wide > div:last-child { grid-column: 3; }
.label--wide .label__head { margin-bottom: 8px; }
.label--wide .label__line { margin-top: 2px; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.tile { display: block; background: #050505; aspect-ratio: 510 / 300; max-width: 100%; }
.tile svg { width: 100%; height: 100%; }
.trio .label__head { font-size: 24px; margin-bottom: 6px; }

/* the Brand on the Run invitation */
.promo__link { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 1fr) minmax(0, 5fr); align-items: center; }
.promo__text { grid-column: 1; }
.promo__art { grid-column: 3; }
.promo__art img { width: 100%; }
.promo__kicker { font-style: italic; font-size: 18px; color: var(--ink-2); padding-bottom: 12px; }
.promo__title { font-family: var(--sans); font-weight: 800; font-size: clamp(38px, 5.6vw, 76px); line-height: .96; letter-spacing: -.05em; text-wrap: balance; }
.promo__cta { display: inline-block; margin-top: 28px; padding: 14px 22px 13px; background: var(--ink); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 15px; }
.promo__link:hover .promo__cta { background: #000; text-decoration: underline; text-underline-offset: 3px; }

/* the arcade keeps its own colours, in its own black band */
.arcade-section { margin-top: 112px; padding-block: 72px 80px; }
.arcade-section h2.head { color: var(--band-ink); }

/* back / next */
.pager { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: 104px 80px; }
.pager a { display: block; }
.pager a > span { display: block; font-style: italic; font-size: 16px; color: var(--ink-2); }
.pager b { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.04em; line-height: 1.1; }
.pager a:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pager__next { margin-left: auto; text-align: right; }

/* footer */
.foot { border-top: 1px solid var(--hair); }
.foot__inner { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 22px 40px; font-family: var(--sans); font-size: 14px; font-weight: 500; }
.foot__inner p { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot__inner p.foot__meta { display: block; }
.foot b { font-weight: 800; letter-spacing: -.02em; }
.foot__meta { color: var(--ink-2); }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- About Me: one sheet, set like a long-copy ad ---------- */
.sheet { padding-block: 60px 0; }
.sheet__name { font-family: var(--sans); font-weight: 800; font-size: clamp(52px, 8.2vw, 116px); line-height: .92; letter-spacing: -.055em; margin-left: -.035em; }
.sheet__sub { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 18px; }
.sheet__title { font-style: italic; font-size: clamp(21px, 2.1vw, 29px); line-height: 1.2; }
.sheet__mantra { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: -.005em; }
.sheet__mantra span { color: var(--ink-2); padding: 0 .45em; }
.lede { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 1fr) minmax(0, 4fr); margin-top: 56px; }
.lede__copy p:first-child { font-size: clamp(22px, 2.15vw, 29px); line-height: 1.34; letter-spacing: -.006em; hanging-punctuation: first; }
.lede__copy p + p { font-size: 19px; line-height: 1.5; margin-top: 22px; max-width: 30em; }
.lede__mail { display: inline-block; margin-top: 18px; padding-bottom: 2px; border-bottom: 2px solid var(--ink); font-family: var(--sans); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.lede__side { grid-column: 3; padding-top: 8px; }
.kicker { font-family: var(--sans); font-weight: 800; font-size: 17px; letter-spacing: -.02em; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.plain { list-style: none; }
.plain li { border-bottom: 1px solid var(--hair); padding: 10px 0 9px; font-size: 18px; line-height: 1.3; }
.facts { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 0 64px; margin-top: 96px; }
.facts h2 { padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.job { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 8px; padding: 16px 0 17px; border-bottom: 1px solid var(--hair); }
.job__yr { font-family: var(--sans); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-2); padding-top: 5px; }
.job__co { font-family: var(--sans); font-weight: 800; font-size: 20px; letter-spacing: -.025em; line-height: 1.2; }
.job__role { font-style: italic; font-size: 17px; margin: 1px 0 6px; }
.job__desc { font-size: 16.5px; line-height: 1.5; }
.tally { list-style: none; }
.tally li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: baseline; border-bottom: 1px solid var(--hair); padding: 10px 0 9px; font-size: 17px; line-height: 1.3; }
.tally b { font-family: var(--sans); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.stack-top { margin-top: 40px; }
.grp { border-bottom: 1px solid var(--hair); padding: 12px 0 13px; }
.grp h3 { font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: -.01em; margin-bottom: 2px; }
.grp p { font-size: 16.5px; line-height: 1.45; }
.grp p i { color: var(--ink-2); }
.runs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 72px; margin-top: 80px; }
.runs p { font-size: 19px; line-height: 1.55; }
.runs h2 { margin-bottom: 10px; }
.dot { color: var(--ink-2); }
.nb { white-space: nowrap; }
.contact { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: 96px; }
.contact__mail { font-family: var(--sans); font-weight: 800; font-size: clamp(28px, 4.4vw, 58px); letter-spacing: -.05em; line-height: 1; }
.contact__links { display: flex; gap: 26px; flex-wrap: wrap; padding-bottom: 8px; font-family: var(--sans); font-weight: 600; font-size: 16px; }
.contact__links a { padding-bottom: 2px; border-bottom: 1.5px solid var(--ink); }

/* ---------- case notes (written in Master Control, or the page's own) ---------- */
.notes { max-width: 980px; }
.case-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 24px; padding-bottom: 40px; }
.case-grid:last-child { padding-bottom: 0; }
.case-grid__label { font-family: var(--sans); font-weight: 800; font-size: 19px; line-height: 1.3; letter-spacing: -.02em; padding-top: 5px; }
.case-grid__body p { font-size: 22px; line-height: 1.48; max-width: 33em; }
.case-grid__body p + p { margin-top: .8em; }
.case-grid__body .case-tools { margin-top: 14px; font-style: italic; font-size: 18px; color: var(--ink-2); }
.case-tools-list { list-style: none; font-size: 22px; line-height: 1.48; }
.case-grid__body .stack { font-size: 22px; line-height: 1.48; }
.case-grid__body .stack span:not(:last-child)::after { content: "\00a0\00b7 "; color: var(--ink-2); }
.case-image img { width: 100%; }
.case-image + .notes, .gallery + .notes, .read__links + .notes { margin-top: 72px; }
.page-head { padding-bottom: 36px; }
.page-head__kicker { font-style: italic; font-size: 18px; color: var(--ink-2); padding-bottom: 10px; }
.page-head__title { font-family: var(--sans); font-weight: 800; font-size: clamp(40px, 6.2vw, 80px); line-height: .96; letter-spacing: -.05em; margin-left: -.03em; text-wrap: balance; }
.page-head__meta { font-style: italic; font-size: clamp(19px, 2vw, 24px); line-height: 1.3; margin-top: 14px; }

/* billboards and report spreads */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 32px; align-items: end; }
.gallery figure { grid-column: span 12; }
.gallery figure.is-cover { grid-column: span 4; }
.gallery figure.is-beside { grid-column: span 8; }
.gallery img { width: 100%; }
.gallery figcaption { padding-top: 12px; font-family: var(--sans); font-weight: 600; font-size: 14px; }
.gallery--lines figcaption { font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -.035em; padding-top: 16px; }

/* naming */
.naming { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr); align-items: start; scroll-margin-top: 24px; }
.naming + .naming { margin-top: 104px; padding-top: 104px; border-top: 1px solid var(--hair); }
.naming__id { grid-column: 1; }
.naming__id img { width: 100%; outline: 1px solid var(--hair); outline-offset: -1px; }
.naming__id h2 { margin-top: 26px; }
.naming__who { font-style: italic; font-size: 18px; color: var(--ink-2); margin-top: 6px; }
.naming .case-study { grid-column: 3; }
.naming .case-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 28px; }
.naming .case-grid__label { font-size: 17px; padding: 0 0 6px; }
.naming .case-grid__body p { font-size: 20px; line-height: 1.5; }

/* ---------- reading pages: essays, reports, Substack posts ---------- */
.read { padding-block: 68px 0; }
.read__head { max-width: 960px; padding-bottom: 40px; }
.read__kicker { font-style: italic; font-size: 18px; color: var(--ink-2); padding-bottom: 10px; }
.read__title { font-family: var(--sans); font-weight: 800; font-size: clamp(40px, 6.6vw, 88px); line-height: .96; letter-spacing: -.05em; margin-left: -.03em; text-wrap: balance; }
.read__title--long { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.045em; }
.read__deck { font-style: italic; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.32; margin-top: 18px; max-width: 30em; }
.read__body { max-width: 680px; margin-left: calc((100% - 680px) * .34); font-size: 21px; line-height: 1.6; hanging-punctuation: first; overflow-wrap: break-word; }
.read__body > * + * { margin-top: .95em; }
.read__body--cap > p:first-of-type::first-letter { float: left; font-family: var(--serif); font-weight: 400; font-size: 5.05em; line-height: .76; padding: .075em .07em 0 0; }
.read__body h2, .read__body h3 { font-family: var(--sans); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -.035em; margin-top: 2em; text-wrap: balance; }
.read__body h4 { font-family: var(--sans); font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -.015em; margin-top: 1.9em; }
.read__body h3 + h4 { margin-top: 1.1em; }
.read__body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.read__body blockquote { padding-left: 1em; border-left: 2px solid var(--ink); font-style: italic; }
.read__body ul, .read__body ol { padding-left: 1.15em; }
.read__body li + li { margin-top: .3em; }
.read__body img { margin-block: 1.4em; }
.read__body figcaption { font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--ink-2); }
.read__body hr { border: 0; border-top: 1px solid var(--hair); margin-block: 2em; }
.read__body pre { overflow-x: auto; font-size: 15px; line-height: 1.5; }
.read__body .report-figure { font-family: var(--sans); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.read__body .report-figures { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.read__body .report-figures + .report-figures { border-top: 0; margin-top: 0; }
.read__body .report-figures li { margin: 0; padding: 11px 0 10px; border-bottom: 1px solid var(--hair); font-family: var(--sans); font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; }
.read__body .report-note { font-style: italic; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.read__links { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 2.2em; }
.read__link, .lf-more { display: inline-block; padding-bottom: 2px; border-bottom: 1.5px solid var(--ink); font-family: var(--sans); font-weight: 600; font-size: 15px; }
.read__end { padding-bottom: 8px; }

/* Long Form index */
.lf-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 72px; }
.lf-feed__status { font-size: 19px; }
.lf-feed__status a { text-decoration: underline; text-underline-offset: 3px; }
.lf-post__title { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 3vw, 38px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.lf-post__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lf-post__deck { font-style: italic; font-size: 20px; line-height: 1.35; margin-top: 10px; }
.lf-post__excerpt { font-size: 18px; line-height: 1.55; margin-top: 12px; }
.lf-post .lf-more { margin-top: 16px; }
.lf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 36px; }
.lf-card { display: block; }
.lf-card img { width: 100%; }
.lf-card h3 { font-family: var(--sans); font-weight: 800; font-size: 23px; line-height: 1.12; letter-spacing: -.035em; margin-top: 16px; text-wrap: balance; }
.lf-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.lf-card__tag { font-style: italic; font-size: 16px; color: var(--ink-2); margin-top: 5px; }

/* ---------- the billboard dialog ---------- */
html.ooh-open { overflow: hidden; }
.ooh-dialog { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 44px 48px 52px; border: 0; background: var(--page); color: var(--ink); overflow-y: auto; }
.ooh-dialog::backdrop { background: rgba(11, 11, 10, .78); }
.ooh-close { position: sticky; top: 0; float: right; z-index: 2; margin: -20px -24px 0 0; padding: 8px 12px; background: var(--page); border: 1px solid var(--ink); font-family: var(--sans); font-weight: 600; font-size: 14px; cursor: pointer; }
.ooh-dialog h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.045em; margin-bottom: 30px; }
.ooh-dialog .gallery { gap: 40px 32px; }
.ooh-dialog .notes { margin-top: 56px; }
.ooh-dialog .case-grid { grid-template-columns: 170px minmax(0, 1fr); }
.ooh-dialog .case-grid__body p { font-size: 20px; }

/* ---------- small screens ---------- */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .nav__toggle { display: block; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-close { display: inline; }
  #primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--gutter) 22px; background: var(--band); border-top: 1px solid var(--band-hair); }
  .nav[data-open="true"] #primary-nav { display: block; }
  .nav__links { flex-direction: column; gap: 0; font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
  .nav__links a { display: block; padding: 15px 0 14px; border-bottom: 1px solid var(--band-hair); }
  .nav__links a[aria-current], .nav__links a:hover { border-color: var(--band-hair); }
  .nav__links a[aria-current]::before { content: "\25B6"; display: inline-block; font-size: 9px; margin-right: 10px; vertical-align: middle; }

  .room__head { padding-block: 14px 20px; }
  .masthead { padding-block: 0; }
  .room .tv-screen { margin-inline: calc(-1 * var(--gutter)); max-width: none; }
  .cue { align-items: flex-start; padding-block: 14px 26px; }
  .cue__now { gap: 4px 10px; }
  .cue__c { flex-basis: 100%; }
  .cue__ch span { display: none; }
  .room__foot { height: 28px; }

  .page { padding-block: 48px 0; }
  h2.head { font-size: 28px; }
  .listings { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .listing__row { grid-template-columns: 32px minmax(0, 1fr); }
  .listing .t { display: block; margin: 0; }
  .listing .d { display: block; font-size: 15px; }
  .listing li.is-tuned .n::before { left: -13px; font-size: 7px; margin-top: -4px; }

  .work { margin-top: 72px; }
  .work > h2 { padding-bottom: 14px; margin-bottom: 26px; }
  .feature, .feature--flip, .label--wide, .promo__link, .naming, .lede { grid-template-columns: minmax(0, 1fr); }
  .feature__img, .feature--flip .feature__img, .feature > .label, .feature--flip > .label,
  .label--wide > div:first-child, .label--wide > div:last-child, .promo__text, .promo__art,
  .naming__id, .naming .case-study, .lede__side { grid-column: 1; grid-row: auto; }
  .feature > .label { padding-top: 18px; }
  .work > .feature + .feature, .work > .piece + .feature, .work > .piece + .piece, .work > .feature + .piece { margin-top: 56px; }
  .label--wide > div:last-child { margin-top: 6px; }
  .label__line { font-size: 18px; }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .promo__art { margin-top: 36px; }
  .arcade-section { margin-top: 72px; padding-block: 48px 56px; }
  .pager { padding-block: 64px 56px; }
  .foot__inner { flex-direction: column; gap: 10px; }

  .sheet { padding-block: 36px 0; }
  .lede { margin-top: 36px; }
  .lede__side { margin-top: 48px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 64px; }
  .job { grid-template-columns: minmax(0, 1fr); }
  .job__yr { padding: 0 0 3px; }
  .runs { grid-template-columns: minmax(0, 1fr); gap: 44px; margin-top: 56px; }
  .contact { margin-top: 64px; }

  .case-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 30px; }
  .case-grid__label { padding: 0 0 8px; }
  .case-grid__body p, .case-tools-list, .case-grid__body .stack { font-size: 19px; }
  .case-image + .notes, .gallery + .notes, .read__links + .notes { margin-top: 48px; }
  .gallery { gap: 36px 16px; }
  .gallery figure.is-cover, .gallery figure.is-beside { grid-column: span 12; }
  .naming + .naming { margin-top: 64px; padding-top: 64px; }
  .naming .case-study { margin-top: 30px; }

  .read { padding-block: 40px 0; }
  .read__body { margin-left: 0; font-size: 19px; line-height: 1.58; }
  .lf-feed { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .lf-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }

  .ooh-dialog { padding: 28px 20px 36px; }
  .ooh-close { margin: -12px -6px 0 0; }
  .ooh-dialog .case-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .lf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 48px; }
  .facts > div:first-child { grid-column: 1 / -1; }
  .listings { gap: 0 44px; }
  .listing .d { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-ident, .tv-static { transition: none; }
}

@media print {
  .nav, .pager, .cue__ch, .foot__links { display: none; }
  .room { background: none; color: var(--ink); }
}
