/* ------------------------------------------------------------------
   Fonts
   Body: Instrument Sans (variable, SIL OFL — license in /fonts/OFL.txt),
   self-hosted. Display and mono still use system fonts; to swap the
   display face, add an @font-face like this and put its name first
   in --display below.

   @font-face {
     font-family: 'YourDisplay';
     src: url('fonts/YourDisplay.woff2') format('woff2');
     font-weight: 400;
     font-display: swap;
   }
   ------------------------------------------------------------------ */

@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/InstrumentSans-Variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour */
  --bg: #F2EEE6;
  --ink: #16140F;
  --muted: #4A463D;
  --slate: #857F72;
  --accent: #2B3BFF;
  --rule: rgba(22, 20, 15, 0.14);
  --panel: #E6E1D6;

  /* type — the first name in each stack is the real font, the rest is fallback */
  --display: 'YourDisplay', ui-serif, 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --body: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --section-gap: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; }

a { color: var(--ink); }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: var(--bg); }

section[id] { scroll-margin-top: 72px; }

/* ---------- header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

header .bar {
  padding: 12px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
  align-items: center;
}

#ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  cursor: pointer;
  user-select: none;
}

#ticker .place { display: inline-flex; gap: 8px; align-items: baseline; }
#ticker .mark { color: var(--ink); }
#ticker span { white-space: pre; }
#ticker .num { font-variant-numeric: tabular-nums; }
.wx-short { display: none; }

header nav {
  display: flex;
  gap: 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

header nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 120ms, border-color 120ms;
}

header nav a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- layout ---------- */

.wrap { padding: 0 var(--gutter); }

/* ---------- masthead ---------- */

#top { padding: clamp(40px, 7vw, 96px) 0 var(--section-gap); }

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 17vw, 260px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 0;
}

.masthead-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px clamp(24px, 4vw, 48px);
  margin-top: clamp(32px, 5vw, 64px);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.masthead-meta p { margin: 0; text-wrap: pretty; }

#tagline {
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 28ch;
}

/* the "say hi" line — a button that opens the chat */
#aside {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
  justify-self: end;
  align-self: start;
  text-align: right;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.3em;
  transition: color 140ms;
}

#aside:hover, #aside[aria-expanded="true"] { color: var(--accent); }
#aside:focus-visible, .talk-close:focus-visible, .talk-send:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

#aside .arrow { display: inline-block; transition: transform 200ms var(--ease); }
#aside:hover .arrow { transform: translateX(4px); }

/* status dot — pulsing when I'm around, hollow when I'm not */
.talk-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--slate);
  transform: translateY(-0.05em);
}

.talk-dot.is-online {
  background: var(--accent);
  border-color: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ---------- sections: label rail + body on a 12-col grid ---------- */

#about, #work, #listening, #watching {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 24px);
  row-gap: 20px;
  padding-bottom: var(--section-gap);
}

#about .label, #work .label, #listening .label, #watching .label { grid-column: 1 / span 4; }
#about .body, #work .body, #listening .body, #watching .body { grid-column: 5 / -1; }

#about .body, #listening .body {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

.label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 20px;
}

#work .label, #watching .label { padding-top: 0; }
#watching[hidden] { display: none; }

/* section numbers count themselves, so a hidden section never leaves a gap */
body { counter-reset: sec; }
#about, #work, #listening, #watching, #contact { counter-increment: sec; }
.idx { color: var(--slate); margin-right: 6px; }
.idx::before { content: '(' counter(sec, decimal-leading-zero) ')'; }

.note {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: var(--slate);
  margin: 10px 0 0;
  max-width: 24ch;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
}

.prose p { margin: 0; text-wrap: pretty; }

.prose .lede {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 26ch;
}

.ink {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.accent { color: var(--accent); }

/* ---------- figures ---------- */

figure { margin: 0; }

.frame {
  background: var(--panel);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 420ms var(--ease);
  will-change: transform;
}

.frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

figure:hover .frame { transform: translateY(-6px); }
figure[data-nozoom] .frame { cursor: default; }
figure[data-nozoom]:hover .frame { transform: none; }
@media (hover: none) { figure:hover .frame { transform: none; } }

figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--slate);
  margin-top: 10px;
  transition: color 320ms ease;
}

figure:hover figcaption { color: var(--ink); }

.hero { margin-bottom: var(--section-gap); }
.hero img { object-position: 50% 0; } /* the slide title sits near the top edge */

#pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 32px);
  padding-bottom: var(--section-gap);
  align-items: start;
}

#pair .offset { padding-top: clamp(0px, 10vw, 140px); }

/* ---------- work ---------- */

.jobs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.jobs li {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 104px;
  gap: 4px 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left 300ms var(--ease);
}

.jobs li:hover { padding-left: 12px; }
.jobs li:hover .company { color: var(--accent); }

.company {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 200ms;
}

.role { font-size: 14px; line-height: 1.45; color: var(--muted); }

.years {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

/* ---------- listening ---------- */

.np {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 36px);
  align-items: flex-start;
}

/* 206 = 160 sleeve + the 46px slot the record slides into.
   Shrinking this makes the record cover the track text. */
#deck {
  position: relative;
  width: 206px;
  height: 160px;
  flex: 0 0 auto;
  cursor: pointer;
}

#vinyl {
  position: absolute;
  top: 0;
  left: 46px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: #121110;
  animation: spin var(--spin, 9s) linear infinite;
}

#vinyl img, #sleeve img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#sleeve {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  background: var(--panel);
  box-shadow: 0 1px 0 var(--rule), 0 8px 24px rgba(22, 20, 15, 0.12);
  transition: transform 420ms var(--ease);
}

#deck:hover #sleeve { transform: translateX(-46px); }
#deck.pulled #sleeve,
#deck.pulled:hover #sleeve { transform: translateX(-100%) rotate(-3deg); }

.track {
  flex: 1 1 200px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.track-artist {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.track-artist, .track-title { overflow-wrap: anywhere; }

.track-title { font-size: 15px; line-height: 1.5; color: var(--muted); }

.track-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

/* pulsing dot while something is actually playing */
.track-meta.live::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.05em;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse { 50% { opacity: 0.25; } }

@media (prefers-reduced-motion: reduce) {
  .track-meta.live::before, .talk-dot.is-online, #talk { animation: none; }
}

/* ---------- now watching ---------- */

/* two films side by side, each with its own rule on top */
.films {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 36px);
  row-gap: 8px;
  align-items: start;
}

.film {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0 8px;
  border-top: 1px solid var(--ink);
}

.film-poster {
  display: block;
  aspect-ratio: 2 / 3;
  background: var(--panel);
  overflow: hidden;
  transition: transform 300ms var(--ease);
}

.film-poster img { width: 100%; height: 100%; display: block; object-fit: cover; }
.film:hover .film-poster { transform: translateY(-3px); }

.film-info { min-width: 0; display: flex; flex-direction: column; gap: 6px; }

.film-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }

.film-title {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  transition: color 200ms;
}

.film-title:hover { color: var(--accent); }

.film-year, .film-date {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.film-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }

.stars {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.film-review {
  margin: 4px 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  white-space: pre-line;
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.film-review.note-only { font-style: italic; color: var(--slate); display: block; }

.watching-more {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.watching-more a { text-decoration-color: var(--accent); text-underline-offset: 0.25em; }

/* ---------- footer ---------- */

#contact {
  border-top: 1px solid var(--ink);
  padding: 20px 0 clamp(44px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px clamp(24px, 5vw, 56px);
  justify-content: space-between;
  align-items: flex-start;
}

.links { flex: 1 1 300px; }
.links .label { padding-top: 0; margin-bottom: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 140ms, color 140ms, border-color 140ms;
}

.pill:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.colophon {
  flex: 0 1 240px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--slate);
}

.colophon p { margin: 0; }
.colophon .credit { margin-top: 8px; }

.colophon a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 0.25em;
  transition: color 120ms, text-decoration-color 120ms;
}

.colophon a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* ---------- talk to me ---------- */

#talk {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 55;
  width: min(380px, calc(100vw - 2 * var(--gutter)));
  height: min(540px, calc(100vh - 2 * var(--gutter)));
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--ink);
  box-shadow: 0 24px 60px rgba(22, 20, 15, 0.2);
  animation: rise 320ms var(--ease) both;
}

#talk[hidden] { display: none; }

.talk-head { flex: 0 0 auto; padding: 16px 18px 14px; border-bottom: 1px solid var(--rule); }

.talk-head-top { display: flex; align-items: center; gap: 12px; }

.talk-title {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.talk-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.talk-close {
  appearance: none;
  background: none;
  border: 0;
  padding: 0 2px;
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.talk-close:hover { color: var(--accent); }

.talk-sub { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

.talk-thread {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overscroll-behavior: contain;
}

.talk-empty {
  margin: auto;
  max-width: 24ch;
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--slate);
}

.talk-bubble {
  max-width: 82%;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.talk-bubble.visitor { align-self: flex-end; background: var(--ink); color: var(--bg); }
.talk-bubble.host { align-self: flex-start; background: var(--panel); color: var(--ink); border-left: 2px solid var(--accent); }

.talk-composer { flex: 0 0 auto; padding: 12px 18px 14px; border-top: 1px solid var(--rule); }

#talk-form { display: flex; gap: 8px; align-items: flex-end; }

#talk-message {
  flex: 1 1 auto;
  min-width: 0;
  resize: none;
  max-height: 100px;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 8px 0;
  outline: none;
}

#talk-message::placeholder { color: var(--slate); }
#talk-message:focus { border-bottom-color: var(--accent); }

.talk-send {
  flex: 0 0 auto;
  appearance: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 140ms, color 140ms, border-color 140ms;
}

.talk-send:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.talk-send:disabled { opacity: 0.5; cursor: default; }

.talk-form-status { margin: 8px 0 0; min-height: 0; font-size: 12px; color: var(--accent); }
.talk-form-status:empty { display: none; }

.talk-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--slate);
}

/* honeypot: hidden from people, visible to naive bots */
.talk-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- lightbox ---------- */

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(242, 238, 230, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 64px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
  cursor: zoom-out;
}

#lightbox.open { opacity: 1; pointer-events: auto; }

#lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  transform: scale(0.98);
  transition: transform 300ms var(--ease);
}

#lightbox.open #lightbox-img { transform: scale(1); }

#lightbox-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(16px, 3vw, 32px);
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--slate);
}

/* ---------- motion ---------- */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

header { animation: fade 700ms var(--ease) both; }
h1 { animation: rise 800ms var(--ease) 80ms both; }
.masthead-meta { animation: rise 800ms var(--ease) 240ms both; }
.hero { animation: rise 800ms var(--ease) 400ms both; }

/* hidden only when JS is running, so the page never depends on it to be readable */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

.js [data-reveal].in { opacity: 1; transform: none; }

[data-para] > img { will-change: transform; }

/* custom cursor — pointer devices only */
@media (hover: hover) and (pointer: fine) {
  html.cursorized, html.cursorized * { cursor: none !important; }

  #cur {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
  }

  #cur .blob {
    position: absolute;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 260ms var(--ease), height 260ms var(--ease), margin 260ms var(--ease), background 200ms, border-color 200ms;
  }

  #cur span {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bg);
    opacity: 0;
    white-space: nowrap;
    transition: opacity 160ms;
  }

  #cur.label .blob { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  #cur.label span { opacity: 1; }

  #cur.link .blob {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    background: transparent;
    border: 1.5px solid var(--accent);
  }
}

@media (prefers-reduced-motion: reduce) {
  header, h1, .masthead-meta, .hero { animation: none; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  #vinyl { animation: none; }
}

/* ---------- mobile ---------- */

@media (max-width: 860px) {
  #about .label, #work .label, #listening .label, #watching .label { grid-column: 1 / -1; padding-top: 12px; }
  #work .label, #watching .label { padding-top: 0; }
  #about .body, #work .body, #listening .body, #watching .body { grid-column: 1 / -1; }
  #about .label, #listening .label { border-top: 1px solid var(--rule); }
  #about .body, #listening .body { border-top: 0; padding-top: 0; }

  /* stacked: no empty column to slide the sleeve into on hover (click still pulls it) */
  #deck:hover #sleeve { transform: none; }
}

@media (max-width: 640px) {
  .hero .frame { aspect-ratio: 4/3 !important; }
  .hero img { object-position: 40% 0; }

  #pair { grid-template-columns: 1fr; }
  #pair .offset { padding-top: 0; }

  .jobs li { grid-template-columns: 1fr auto; gap: 2px 14px; padding: 14px 0; }
  .company { grid-column: 1 / -1; }

  .films { grid-template-columns: 1fr; }
  .film { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .role { grid-column: 1; }
  .years { grid-column: 2; }

  #deck { width: 180px; height: 140px; }
  #vinyl, #sleeve { width: 140px; height: 140px; }
  #vinyl { left: 40px; }
  .np { gap: 14px; }
  .track { flex: 1 1 120px; min-width: 0; }

  header .bar { gap: 6px 0; }
  #ticker { width: 100%; gap: 4px 18px; font-size: 11px; }
  header nav { width: 100%; gap: 18px; }

  .masthead-meta { grid-template-columns: 1fr; }
  #aside { justify-self: start; text-align: left; }

  /* chat becomes a bottom sheet */
  #talk {
    right: 0;
    left: 0;
    bottom: 0;
    width: auto;
    height: min(78vh, 560px);
    border-width: 1px 0 0;
  }

  .wx-full { display: none; }
  .wx-short { display: inline; }
}
