/* Layout: one dark screening room. Letterboxed showreel up top, a single projector-style
   carousel for the work, quiet text sections below. Accent used only for marks and focus. */
:root {
  --ink: #0d0c0a;        /* room */
  --ink-2: #161411;      /* raised surfaces */
  --ink-3: #221f1a;      /* placeholders, rails */
  --paper: #ece7df;      /* text */
  --mute: #9c9488;       /* secondary text */
  --sand: #cbb596;       /* accent */
  --line: rgba(236, 231, 223, 0.13);

  --f-display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
a, button { -webkit-tap-highlight-color: transparent; }
.play:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--sand); color: var(--ink); }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.label {
  font: 500 11px/1 var(--f-mono);
  letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
}

/* header */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
/* logo lockup: ML mark as tall as both text lines; CINEMATOGRAPHY spaced to the exact width of the name */
.mark { text-decoration: none; display: flex; align-items: center; gap: 14px; }
.mark-logo { flex: none; width: 40px; height: 40px; display: block; }
.mark-logo path { fill: var(--sand); }
.mark-logo .mark-frame { fill: none; stroke: var(--sand); stroke-width: 2.2; stroke-linecap: square; }
.mark-text { display: grid; gap: 6px; justify-items: start; }
.mark-text b { font: 800 24px/.86 var(--f-display); letter-spacing: .07em; text-transform: uppercase; color: var(--paper); transition: color .2s; }
.mark-text span { font: 500 12px/1 var(--f-mono); letter-spacing: .505em; text-transform: uppercase; color: var(--sand); }
.mark:hover .mark-text b { color: var(--sand); }
@media (max-width: 420px) {
  .mark { gap: 11px; }
  .mark-logo { width: 33px; height: 33px; }
  .mark-text { gap: 5px; }
  .mark-text b { font-size: 20px; }
  .mark-text span { font-size: 10px; }
}

.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); opacity: .8; padding-block: 6px;
}
.nav a:hover { opacity: 1; color: var(--sand); }

/* hero: letterboxed silent showreel */
.hero { position: relative; background: #000; }
.hero-frame {
  position: relative; width: 100%;
  aspect-ratio: 2.39 / 1; min-height: 520px; max-height: 88vh;
  overflow: hidden; background: var(--ink-3);
}
.hero-frame iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%; /* resized in site.js to cover the frame */
  transform: translate(-50%, -50%); border: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-frame iframe.on { opacity: 1; }
.hero-frame::after { /* shade for legibility */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,12,10,.55) 0%, rgba(13,12,10,0) 30%, rgba(13,12,10,0) 50%, rgba(13,12,10,.9) 100%);
}
.hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-copy {
  position: absolute; inset: auto 0 0 0; z-index: 2;
}
.hero-copy .wrap { padding-block: 0 clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.hero h1 {
  margin: 0; font: 800 clamp(56px, 10.5vw, 168px)/.84 var(--f-display);
  text-transform: uppercase; letter-spacing: .01em; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--sand); }
.hero .role { margin: 18px 0 0; font: 500 12px/1.4 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--paper); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-side { display: grid; gap: 14px; justify-items: end; }
.now { margin: 0; font: 500 11px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); text-align: right; }
.now a { color: var(--paper); text-decoration: none; margin-left: 6px; }
.now a:hover { color: var(--sand); }
@media (max-width: 820px) { .hero-side { justify-items: start; } .now { text-align: left; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 20px; border: 1px solid var(--line); background: rgba(13,12,10,.4);
  color: var(--paper); text-decoration: none; cursor: pointer; backdrop-filter: blur(6px);
  transition: border-color .2s, background .2s, color .2s;
}
.btn:hover { border-color: var(--sand); color: var(--sand); }
.btn.solid { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.btn.solid:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn svg { width: 12px; height: 12px; fill: currentColor; }

.timecode {
  position: absolute; z-index: 2; right: var(--gutter); top: 50%; transform: translateY(-50%);
  white-space: nowrap; writing-mode: vertical-rl; font: 500 10px/1 var(--f-mono); letter-spacing: .3em; color: var(--mute);
}

/* sections */
/* one rhythm for every section: equal space above and below, a hairline between sections */
:root { --sec: clamp(56px, 7vw, 104px); }
section { padding-block: var(--sec); }
main > section + section:not(#reel) { border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 18px 32px; margin-bottom: 36px; }
.sec-head h2 {
  margin: 0; font: 700 clamp(40px, 6vw, 84px)/.9 var(--f-display); text-transform: uppercase; letter-spacing: .01em;
}

/* filters */
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button {
  font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute); background: none; border: 1px solid transparent; padding: 10px 12px; cursor: pointer;
}
.filters button:hover { color: var(--paper); }
.filters button[aria-pressed="true"] { color: var(--paper); border-color: var(--line); }
.filters button sup { color: var(--sand); font-size: 9px; margin-left: 4px; }

/* carousel */
.stage {
  position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 100%;
  background: var(--ink-3); overflow: hidden;
}
.stage .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.stage .slide.active { opacity: 1; z-index: 1; }
.poster { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ink-3); }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.slide.active .poster img { transform: scale(1.02); }
.poster .ph { /* shown until a thumbnail loads */
  font: 800 clamp(40px, 8vw, 120px)/.9 var(--f-display);
  color: rgba(236,231,223,.08); text-align: center; padding-inline: 24px; text-wrap: balance;
}
.poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,12,10,.75), rgba(13,12,10,0) 45%);
}
.play {
  position: absolute; z-index: 2; inset: 0; margin: auto; width: 64px; height: 64px; padding: 0;
  border: 0; background: none; border-radius: 0;
  display: grid; place-items: center; cursor: pointer; color: var(--paper); opacity: .9;
  transition: transform .25s ease, color .25s, opacity .25s;
}
.play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; filter: drop-shadow(0 1px 6px rgba(0,0,0,.55)); }
.play:hover { transform: scale(1.08); color: var(--sand); opacity: 1; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: #000; }

.arrow {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: rgba(13,12,10,.45); border: 1px solid var(--line); color: var(--paper);
}
.arrow:hover { border-color: var(--sand); color: var(--sand); }
.arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.arrow.prev { left: 14px; } .arrow.next { right: 14px; }
.stage.playing .arrow { display: none; }

.slate {
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px 28px;
  padding-block: 22px; border-bottom: 1px solid var(--line);
}
.slate .count { font: 500 13px/1 var(--f-mono); letter-spacing: .1em; color: var(--sand); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slate .title { min-width: 0; font: 700 clamp(28px, 3.6vw, 48px)/1 var(--f-display); letter-spacing: .02em; }
.slate .meta { text-align: right; }
.slate .meta a { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.slate .meta a:hover { color: var(--sand); }

.rail {
  display: flex; gap: 10px; overflow-x: auto; padding-block: 18px 6px;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent;
}
.rail button {
  flex: 0 0 auto; width: clamp(132px, 15vw, 196px); aspect-ratio: 16/9; position: relative;
  background: var(--ink-3); border: 0; padding: 0; cursor: pointer; scroll-snap-align: start;
  opacity: .45; transition: opacity .25s; overflow: hidden; color: var(--paper);
}
.rail button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rail button span {
  position: absolute; left: 8px; right: 8px; bottom: 7px; text-align: left; z-index: 1;
  font: 600 10px/1.2 var(--f-mono); letter-spacing: .08em;
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
}
.rail button:hover, .rail button.active { opacity: 1; }
.rail button.active::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -2px 0 var(--sand); }

/* credits under the carousel */
.credits {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px clamp(24px, 5vw, 72px);
  padding-block: 22px 4px; align-items: start;
}
.about-film { margin: 0; max-width: 62ch; color: var(--paper); font-size: 15px; line-height: 1.7; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 24px; }
.facts div { min-width: 0; }
.facts dt { font: 500 10px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--paper); overflow-wrap: anywhere; }
.credits:not(:has(.about-film)) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 820px) { .credits { grid-template-columns: minmax(0, 1fr); } }

/* recent work band */
.band { border-block: 1px solid var(--line); padding-block: clamp(48px, 7vw, 88px); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.band p { margin: 10px 0 0; max-width: 52ch; color: var(--mute); }
.band h3 { margin: 0; font: 700 clamp(30px, 4vw, 54px)/.95 var(--f-display); text-transform: uppercase; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about h2 { margin: 0; font: 700 clamp(40px, 6vw, 84px)/.9 var(--f-display); text-transform: uppercase; }
.about .lede { margin: 0 0 22px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; max-width: 34ch; text-wrap: pretty; }
.about p { max-width: 62ch; color: var(--mute); margin: 0 0 16px; }
.specs { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.specs li { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.specs b { display: block; font: 700 30px/1 var(--f-display); color: var(--paper); font-variant-numeric: tabular-nums; }
.specs span { font: 500 10px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* contact */
.contact { padding-bottom: var(--sec); }
.contact h2 { margin: 0 0 28px; font: 800 clamp(48px, 9vw, 150px)/.86 var(--f-display); text-transform: uppercase; }
.contact h2 a { text-decoration: none; }
.contact h2 a:hover { color: var(--sand); }
.contact-row { display: flex; flex-wrap: wrap; gap: 18px 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.contact-row a { font: 500 13px/1.4 var(--f-mono); letter-spacing: .06em; text-decoration: none; color: var(--paper); }
.contact-row a:hover { color: var(--sand); }
.contact-row .label { display: block; margin-bottom: 8px; }

footer { padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }

/* lightbox for full showreel */
.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(5,5,4,.94);
  display: grid; place-items: center; padding: 16px;
}
.lightbox .frame { width: min(1400px, 100%); aspect-ratio: 16/9; max-height: 86vh; background: #000; position: relative; }
.lightbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox .close {
  position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px;
  font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  background: none; border: 1px solid var(--line); color: var(--paper); padding: 12px 14px; cursor: pointer;
}
.lightbox .close:hover { border-color: var(--sand); color: var(--sand); }

/* load-in */
.reveal { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.reveal.d2 { animation-delay: .15s; } .reveal.d3 { animation-delay: .3s; }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }

@media (max-width: 820px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .hero-frame { aspect-ratio: 4 / 5; min-height: 0; max-height: 80vh; }
  .timecode { display: none; }
  .nav a.hide-sm { display: none; }
  .slate { grid-template-columns: auto 1fr; }
  .slate .meta { grid-column: 1 / -1; text-align: left; }
  .arrow { width: 40px; height: 40px; }
  .play { width: 48px; height: 48px; }
  .play svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .reveal { animation: none; }
  .stage .slide, .poster img, .hero-frame iframe { transition: none; }
}
footer a { text-decoration: none; } footer a:hover { color: var(--sand); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-copy .wrap { justify-content: flex-end; }

/* no edge of the still peeking out around a playing video */
.stage.playing { background: #000; }
.stage.playing .slide { visibility: hidden; }
.stage iframe { top: -1px; bottom: auto; left: -1px; right: auto; width: calc(100% + 2px); height: calc(100% + 2px); }

/* arrows hidden while a film plays, back when it is paused */
.stage.playing.is-paused .arrow { display: grid; }

/* ---------- daylight theme ----------
   The page turns to warm paper; the hero, carousel and lightbox stay a dark screen,
   because they sit on top of film stills. */
:root[data-theme="light"] {
  --ink: #f1ede6;
  --ink-2: #e8e2d8;
  --ink-3: #ddd6ca;
  --paper: #1a1814;
  --mute: #6a6257;
  --sand: #7a6446;
  --line: rgba(26, 24, 20, 0.14);
  color-scheme: light;
}
:root[data-theme="light"] .top,
:root[data-theme="light"] .hero,
:root[data-theme="light"] .stage,
:root[data-theme="light"] .rail button,
:root[data-theme="light"] .lightbox {
  --ink: #0d0c0a; --ink-2: #161411; --ink-3: #221f1a;
  --paper: #ece7df; --mute: #9c9488; --sand: #cbb596;
  --line: rgba(236, 231, 223, 0.13);
}
:root[data-theme="light"] .grain { opacity: .045; }
:root[data-theme="light"] .rail { scrollbar-color: #c9c1b4 transparent; }
body { transition: background-color .35s ease, color .35s ease; }

/* theme switch in the menu */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; margin: 0;
  background: none; border: 0; cursor: pointer; color: var(--paper); opacity: .8;
  font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
}
.theme-toggle:hover { opacity: 1; color: var(--sand); }
.theme-toggle svg { width: 14px; height: 14px; flex: none; }
.theme-toggle svg rect { fill: none; stroke: currentColor; stroke-width: 1.5; }
.theme-toggle svg path { fill: currentColor; }
.theme-toggle:focus:not(:focus-visible) { outline: none; }
@media (max-width: 520px) { .theme-toggle .tt-label { display: none; } }

/* ---------- podcast: The Breakdown ---------- */
.podcast .sec-head { align-items: end; margin-bottom: 18px; }
.podcast .sec-head .label { margin: 0 0 14px; }
.pod-ext { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); text-decoration: none; padding-block: 6px; }
.pod-ext:hover { color: var(--sand); }
.pod-intro { margin: 0 0 clamp(32px, 4vw, 52px); max-width: 64ch; color: var(--mute); }

.pod {
  display: grid; grid-template-columns: 112px minmax(0, 1fr);
  grid-template-areas: "art head" "desc desc" "player player";
  grid-template-rows: auto; gap: 0 clamp(24px, 3vw, 40px); align-items: center;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
/* small, quiet cover: ML x The Breakdown (microphone in the same viewfinder style) */
.pod-art {
  grid-area: art; align-self: start; width: 112px; aspect-ratio: 1; position: relative;
  border: 1px solid var(--line); display: grid; place-items: center;
}
.pa-marks { display: flex; align-items: center; gap: 7px; }
.pa-mark { width: 27px; height: 27px; display: block; }
.pa-mark path { fill: var(--mute); }
.pa-mark .pa-frame { fill: none; stroke: var(--mute); stroke-width: 2.2; stroke-linecap: square; }
.pa-ml { opacity: .6; }
.pa-mic path { fill: var(--sand); }
.pa-mic .pa-frame { stroke: var(--sand); }
.pa-x { font: 500 9px/1 var(--f-mono); color: var(--mute); }
.pa-ep, .pa-name { position: absolute; left: 0; right: 0; text-align: center; font: 500 7.5px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.pa-ep { top: 11px; }
.pa-ep b { font-weight: 500; color: var(--paper); }
.pa-name { bottom: 11px; }
.pod-head { grid-area: head; }
.pod-head .label { margin: 0 0 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.pod-head .label #podNo { color: var(--sand); }
.pod-head h3 { margin: 0; font: 700 clamp(30px, 3.6vw, 52px)/.95 var(--f-display); text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
.pod-topic { margin: 8px 0 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.4; color: var(--paper); }
.pod-desc { grid-area: desc; margin: 28px 0 0; max-width: 62ch; color: var(--mute); font-size: 15px; line-height: 1.65; }

.player { grid-area: player; align-self: end; margin-top: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.pl-buttons { display: flex; align-items: center; gap: 4px; }
.player button { background: none; border: 0; color: var(--paper); cursor: pointer; padding: 0; }
.player button:hover { color: var(--sand); }
.player button:focus:not(:focus-visible) { outline: none; }
.pl-play { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line) !important; }
.pl-play:hover { border-color: var(--sand) !important; }
.pl-play svg { width: 16px; height: 16px; fill: currentColor; }
.pl-play .i-play { margin-left: 2px; }
.pl-play .i-pause, .player.is-playing .pl-play .i-play { display: none; }
.player.is-playing .pl-play .i-pause { display: block; }
.player.is-loading .pl-play { animation: pl-pulse 1s ease-in-out infinite; }
@keyframes pl-pulse { 50% { opacity: .45; } }
.pl-skip, .pl-speed { font: 500 11px/1 var(--f-mono) !important; letter-spacing: .06em; color: var(--mute) !important; width: 44px; height: 44px; }
.pl-skip:hover, .pl-speed:hover { color: var(--sand) !important; }
.pl-track { min-width: 0; }
.pl-times { display: flex; justify-content: space-between; margin-top: 8px; font: 500 11px/1 var(--f-mono); letter-spacing: .06em; color: var(--mute); font-variant-numeric: tabular-nums; }
#plSeek {
  -webkit-appearance: none; appearance: none; width: 100%; height: 18px; margin: 0; background: none; cursor: pointer; --p: 0%;
}
#plSeek::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--sand) var(--p), var(--line) var(--p)); }
#plSeek::-moz-range-track { height: 2px; background: var(--line); }
#plSeek::-moz-range-progress { height: 2px; background: var(--sand); }
#plSeek::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; margin-top: -4px; background: var(--paper); border: 0; border-radius: 0; }
#plSeek::-moz-range-thumb { width: 10px; height: 10px; background: var(--paper); border: 0; border-radius: 0; }
#plSeek:focus:not(:focus-visible) { outline: none; }

.pod-list { list-style: none; margin: 0; padding: 0; }
/* five episodes visible, the rest scrolls with a slim bar */
.pod-list.scrolls {
  overflow-y: auto; overscroll-behavior: contain; padding-right: 14px;
  border-bottom: 1px solid var(--line);
}
/* Firefox only: Chrome and Safari use the always-visible bar below */
@supports not selector(::-webkit-scrollbar) { .pod-list.scrolls { scrollbar-width: thin; scrollbar-color: var(--sand) var(--line); } }
.pod-list.scrolls li:last-child .pod-row { border-bottom: 0; }
.pod-list.scrolls::-webkit-scrollbar { width: 4px; -webkit-appearance: none; }
.pod-list.scrolls::-webkit-scrollbar-track { background: var(--line); }
.pod-list.scrolls::-webkit-scrollbar-thumb { background: var(--sand); }
.pod-row {
  width: 100%; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 18px; align-items: baseline; gap: 18px;
  padding: 16px 0; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--paper); text-align: left; cursor: pointer; font: inherit;
}
.pod-row:focus:not(:focus-visible) { outline: none; }
.pr-no, .pr-dur { font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; color: var(--mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr-title { min-width: 0; font-size: 15px; line-height: 1.4; }
.pr-title b { font-weight: 600; }
.pr-title span { color: var(--mute); }
.pod-row:hover .pr-title b, .current .pr-title b { color: var(--sand); }
.current .pr-no { color: var(--sand); }
.pr-state { align-self: center; width: 10px; height: 10px; }
.current .pr-state { background: var(--sand); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.playing .pr-state { clip-path: none; background: linear-gradient(90deg, var(--sand) 0 35%, transparent 35% 65%, var(--sand) 65%); }
.pod-more {
  margin-top: 22px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  background: none; border: 1px solid var(--line); color: var(--paper); padding: 14px 18px; cursor: pointer;
}
.pod-more:hover { border-color: var(--sand); color: var(--sand); }

@media (max-width: 820px) {
  .pod { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "art head" "desc desc" "player player"; grid-template-rows: auto; gap: 0 18px; }
  .pod-head .label { margin-bottom: 10px; }
  .player { grid-template-columns: auto auto; grid-template-areas: "btn speed" "track track"; gap: 12px; }
  .pl-buttons { grid-area: btn; }
  .pl-speed { grid-area: speed; justify-self: end; }
  .pl-track { grid-area: track; }
  .pod-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; }
  .pr-no { grid-column: 1; }
  .pr-dur { grid-column: 2; grid-row: 1; }
  .pr-title { grid-column: 1 / -1; }
  .pr-state { display: none; }
}
/* small phones: Reel and Contact are already buttons in the hero, keep the menu on one line */
@media (max-width: 480px) { .nav a.hide-xs { display: none; } .nav { flex-wrap: nowrap; } .top .wrap { gap: 12px; } }
.pod-links { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 820px) { .pod { grid-template-columns: 88px minmax(0, 1fr); } .pod-art { width: 88px; } .pa-mark { width: 21px; height: 21px; } .pa-marks { gap: 5px; } .pa-ep { top: 8px; font-size: 7px; } .pa-name { bottom: 8px; font-size: 6px; letter-spacing: .14em; } }
#plBack { text-align: left; width: 34px; }
