/* ==========================================================================
   frankbennardo.com
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */

:root {
  --ink: #f2f0ed;
  --ink-dim: #a9a49d;
  --ink-faint: #8b857c;

  --bg: #0b0b0d;
  --bg-raise: #141418;
  --bg-raise-2: #1c1c22;

  --line: #2a2a31;
  --line-soft: #202026;

  --accent: #e8b14c;
  --accent-warm: #f0c877;
  --accent-deep: #b8832c;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.5);
  --shadow-2: 0 10px 30px -12px rgb(0 0 0 / 0.75);
  --shadow-3: 0 26px 60px -20px rgb(0 0 0 / 0.85);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --wrap: 1200px;
  --header-h: 62px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------- baseline */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: #15120b;
}

/* ------------------------------------------------------------- primitives */

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--accent);
  color: #15120b;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus {
  left: 0;
}

.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;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgb(11 11 13 / 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgb(11 11 13 / 0.92);
  border-bottom-color: var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  line-height: 1.08;
}
.brand b {
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.brand span {
  font-size: 0.64rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* nav ---------------------------------------------------------------------*/

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  position: relative;
  padding: 0.45rem 0.75rem;
  border-radius: 99px;
  font-size: 0.86rem;
  color: var(--ink-dim);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover {
  color: var(--ink);
  background: rgb(255 255 255 / 0.06);
}
.nav a[aria-current="true"],
.nav a.is-active {
  color: var(--accent);
}

.nav .nav-cta {
  margin-left: 0.4rem;
  padding: 0.45rem 0.95rem;
  color: #15120b;
  background: var(--accent);
  font-weight: 600;
}
.nav .nav-cta:hover {
  background: var(--accent-warm);
  color: #15120b;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-right: -8px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: rgb(255 255 255 / 0.07); }
.nav-toggle span {
  position: relative;
  display: block;
  width: 19px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.28s var(--ease), background 0.15s linear;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.28s var(--ease), top 0.2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------- hero
   Two halves. Left: the portrait, bleeding the full height of the band, with
   the headline laid over it so the type masks part of the photo. Right: the
   mixing console, behind the streaming badges.

   All three children are placed explicitly — grid resolves explicitly-placed
   items before auto-placed ones, so leaving any to auto-placement pushes the
   listen panel onto a second row.
   ------------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: min(88svh, 760px);
  padding-top: var(--header-h);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  isolation: isolate;
}

.hero-figure {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 079 is a wide landscape frame, so `cover` in this tall column shows the
     whole height and he ends up small and centred. object-position slides him
     right, clear of the headline; the scale crops in so he reads at portrait
     size. transform-origin keeps his face anchored while it zooms. */
  object-position: 6% 30%;
  transform: scale(1.1);
  transform-origin: 56% 30%;
  filter: grayscale(0.2) contrast(1.04);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, rgb(11 11 13 / 0.1) 55%),
    linear-gradient(to right, rgb(11 11 13 / 0.74), rgb(11 11 13 / 0.14) 66%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: 3rem var(--gutter) 3.5rem;
  max-width: 640px;
  margin-left: max(0px, calc((100vw - var(--wrap)) / 2));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent-deep);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 26px rgb(0 0 0 / 0.6);
}
.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  max-width: 44ch;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  margin-bottom: 1.9rem;
  text-shadow: 0 1px 16px rgb(0 0 0 / 0.7);
}

.hero-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.hero-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.88rem;
  color: var(--ink-dim);
  background: rgb(20 20 24 / 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    transform 0.2s var(--ease), background 0.2s var(--ease);
}
.hero-jump a:hover {
  color: var(--ink);
  border-color: var(--accent-deep);
  background: rgb(28 28 34 / 0.85);
  transform: translateY(-2px);
}
.hero-jump svg { width: 16px; height: 16px; flex: none; }

/* listen panel — the console --------------------------------------------- */

.hero-listen {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(1.25rem, 4vw, 3.25rem);
  overflow: hidden;
}
.hero-listen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--studio);
  background-size: cover;
  background-position: center;
  filter: saturate(0.8) brightness(0.5);
}
.hero-listen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, transparent 45%),
    linear-gradient(to left, rgb(11 11 13 / 0.35), rgb(11 11 13 / 0.8));
}
.hero-listen > * { position: relative; z-index: 1; }

.hero-listen h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.4rem;
}
.hero-listen p {
  color: var(--ink-dim);
  font-size: 0.93rem;
  margin-bottom: 1.35rem;
}

/* The four store badges are all ~2.72:1, so they scale as one set. The artwork
   fills the tile width rather than sitting at a fixed pixel height — that way
   it grows with the panel at every breakpoint instead of floating in space. */
.badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.4vw, 0.9rem);
  width: 100%;
  max-width: 540px;
}
.badges a {
  display: grid;
  place-items: center;
  padding: clamp(0.45rem, 1.4vw, 0.8rem);
  background: rgb(0 0 0 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.badges a:hover {
  transform: translateY(-3px);
  border-color: var(--accent-deep);
  background: rgb(0 0 0 / 0.75);
}
.badges img {
  width: 100%;
  height: auto;
  /* reserve the box before the image loads, and keep all four identical */
  aspect-ratio: 2.72 / 1;
  object-fit: contain;
}

/* ------------------------------------------------------------------ section */

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  position: relative;
}
.section + .section { padding-top: 0; }

/* The hero already fades into the page background, so a full section's worth
   of padding on top of that left a dead band under the portrait — on a wide
   screen it read as the end of the page. Keep just enough that the first
   heading peeks above the fold and invites the scroll. */
.hero + .section {
  padding-top: clamp(1.25rem, 2.2vw, 2.25rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 2rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.section-head > div { flex: 1 1 22rem; }

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}
.section-head p {
  margin-top: 0.6rem;
  color: var(--ink-dim);
  max-width: 62ch;
  font-size: 0.97rem;
}

.link-out {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--accent);
  white-space: nowrap;
  transition: gap 0.2s var(--ease);
}
.link-out:hover { gap: 0.75rem; }
.link-out svg { width: 15px; height: 15px; }

/* filter chips ------------------------------------------------------------ */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
}
.chip {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.82rem;
  color: var(--ink-dim);
  transition: all 0.2s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink-faint); }
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #15120b;
  font-weight: 600;
}

/* --------------------------------------------------------------- song grid */

.songs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.song {
  position: relative;
  width: 100%;
  text-align: left;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raise);
  border: 1px solid var(--line-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.song:hover,
.song:focus-visible {
  transform: translateY(-5px);
  border-color: var(--accent-deep);
  box-shadow: var(--shadow-2);
}

.song-art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-raise-2);
}
.song-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s var(--ease);
}
.song:hover .song-art img {
  transform: scale(1.06);
}

.song-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(11 11 13 / 0.85), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.song:hover .song-art::after { opacity: 1; }

.song-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #15120b;
  opacity: 0;
  transform: translateY(8px) scale(0.85);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.song:hover .song-play,
.song:focus-visible .song-play {
  opacity: 1;
  transform: none;
}
.song-play svg { width: 16px; height: 16px; }

.song-meta {
  padding: 0.75rem 0.85rem 0.9rem;
}
.song-meta h3 {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.song-meta small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.74rem;
  color: var(--ink-faint);
}

.song-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 0.17rem 0.5rem;
  border-radius: 99px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgb(11 11 13 / 0.78);
  backdrop-filter: blur(4px);
  color: var(--accent);
  border: 1px solid rgb(232 177 76 / 0.3);
}

/* compilations teaser card ------------------------------------------------- */

.song.song-link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-style: dashed;
  border-color: var(--line);
  background: linear-gradient(160deg, var(--bg-raise-2), var(--bg-raise));
}
.song.song-link .song-art {
  display: grid;
  place-items: center;
  background: none;
}
.song.song-link .vinyl {
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 11%, transparent 11.5%),
    radial-gradient(circle at 50% 50%, #0d0d10 11.5% 17%, transparent 17.5%),
    repeating-radial-gradient(circle at 50% 50%, #191920 0 2px, #101014 2px 4px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
  transition: transform 0.6s var(--ease);
}
.song.song-link:hover .vinyl { transform: rotate(45deg); }

/* ------------------------------------------------------------ video grids */

.videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.3rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.videos.videos-feature > li:first-child {
  grid-column: 1 / -1;
}
@media (min-width: 860px) {
  .videos.videos-feature > li:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.video {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
  text-align: left;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-raise);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.video:hover,
.video:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent-deep);
  box-shadow: var(--shadow-2);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-raise-2);
}
.videos-feature > li:first-child .video,
.videos-feature > li:first-child .video-thumb {
  height: 100%;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.3s var(--ease);
}
.video:hover .video-thumb img {
  transform: scale(1.05);
  filter: brightness(0.85);
}
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(11 11 13 / 0.92) 2%, rgb(11 11 13 / 0.12) 60%);
}

.video-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem 1.05rem;
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
}
.video-body h3 {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.video-body small {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-dim);
  font-size: 0.78rem;
}
.videos-feature > li:first-child h3 { font-size: 1.25rem; }

.play-badge {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(232 177 76 / 0.15);
  border: 1px solid var(--accent-deep);
  color: var(--accent);
  backdrop-filter: blur(6px);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.video:hover .play-badge {
  background: var(--accent);
  color: #15120b;
  transform: scale(1.08);
}
.play-badge svg { width: 15px; height: 15px; margin-left: 2px; }

.more-btn {
  display: flex;
  margin: 1.5rem auto 0;
  background: var(--bg-raise);
}
.more-btn:hover { background: var(--bg-raise-2); }

/* lightbox caption link out to the episode write-up */
.lightbox-title a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  transition: gap 0.2s var(--ease);
}
.lightbox-title a:hover { gap: 0.6rem; }
.lightbox-title svg { width: 14px; height: 14px; }

/* ----------------------------------------------------------------- podcast */

.podcast-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.podcast-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.podcast-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  margin-bottom: 1.25rem;
}
.podcast-aside h3 {
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}
.podcast-aside p {
  color: var(--ink-dim);
  font-size: 0.9rem;
}

.episodes {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}
.episodes li { border-bottom: 1px solid var(--line-soft); }

.episode {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.35rem 1.1rem;
  align-items: baseline;
  padding: 1.1rem 0.35rem;
  transition: background 0.2s var(--ease), padding-inline 0.2s var(--ease);
}
.episode:hover {
  background: rgb(255 255 255 / 0.025);
  padding-inline: 0.8rem;
}
.episode-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.episode h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.episode:hover h3 { color: var(--accent); }
.episode .guest {
  color: var(--accent);
  font-weight: 500;
}
.episode p {
  grid-column: 2;
  margin-top: 0.3rem;
  color: var(--ink-dim);
  font-size: 0.87rem;
  max-width: 68ch;
}
.episode .tag {
  grid-column: 2;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.episode-go {
  grid-row: 1 / span 2;
  grid-column: 3;
  align-self: center;
  color: var(--ink-faint);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.episode:hover .episode-go {
  color: var(--accent);
  transform: translateX(3px);
}
.episode-go svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- ventures */

.ventures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(0.9rem, 2vw, 1.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.venture {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem 1.4rem 1.4rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--bg-raise-2), var(--bg-raise));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.venture:hover {
  transform: translateY(-5px);
  border-color: var(--accent-deep);
  box-shadow: var(--shadow-2);
}
.venture-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 1.1rem;
  display: grid;
  place-items: center;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  background: #fff;
}
.venture-logo img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.venture h3 {
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.venture .role {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.venture p {
  color: var(--ink-dim);
  font-size: 0.89rem;
  margin-bottom: 1.1rem;
}
.venture .link-out { margin-top: auto; }

/* -------------------------------------------------------------- about band */

.about {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--bg-raise-2), var(--bg));
}
.about-portrait {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(0.2);
}
.about h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 0.9rem; }
.about p {
  color: var(--ink-dim);
  max-width: 62ch;
  margin-bottom: 0.9rem;
}
.about .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 99px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.btn:hover {
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #15120b;
  font-weight: 600;
}
.btn-primary:hover { background: var(--accent-warm); border-color: var(--accent-warm); }

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

.site-footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-block: 2.75rem 2rem;
  border-top: 1px solid var(--line-soft);
  background: #08080a;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}
.footer-nav a {
  font-size: 0.86rem;
  color: var(--ink-dim);
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: var(--accent); }

.socials { display: flex; gap: 0.5rem; }
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-dim);
  transition: all 0.2s var(--ease);
}
.socials a:hover {
  color: var(--accent);
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}
.socials svg { width: 17px; height: 17px; }

.colophon {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------------ dialog */

dialog.modal {
  width: min(560px, calc(100vw - 2rem));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-raise);
  color: var(--ink);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
dialog.modal::backdrop {
  background: rgb(5 5 7 / 0.82);
  backdrop-filter: blur(5px);
}
dialog.modal[open] {
  animation: pop 0.3s var(--ease);
}
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(11 11 13 / 0.7);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  backdrop-filter: blur(6px);
  transition: all 0.2s var(--ease);
}
.modal-close:hover { color: var(--ink); background: var(--bg-raise-2); }
.modal-close svg { width: 15px; height: 15px; }

.modal-head {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.modal-head img {
  width: 92px;
  height: 92px;
  flex: none;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
  padding-right: 2rem;
}
.modal-head .note {
  color: var(--ink-dim);
  font-size: 0.88rem;
}

.modal-body { padding: 1.25rem 1.5rem 1.5rem; }
.modal-body > p.label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.8rem;
}

.listen-list {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.listen-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-raise-2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.listen-list a:hover {
  border-color: var(--accent-deep);
  transform: translateX(3px);
}
.listen-list .ico {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.05);
}
.listen-list svg { width: 17px; height: 17px; }
.listen-list .go { margin-left: auto; color: var(--ink-faint); }
.listen-list .go svg { width: 14px; height: 14px; }

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

dialog.lightbox {
  width: min(1100px, calc(100vw - 2rem));
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
dialog.lightbox::backdrop {
  background: rgb(4 4 6 / 0.92);
  backdrop-filter: blur(7px);
}
.lightbox-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
}
.lightbox-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox-title {
  margin-top: 0.9rem;
  color: var(--ink-dim);
  font-size: 0.9rem;
  text-align: center;
}
dialog.lightbox .modal-close {
  top: -14px;
  right: -8px;
  background: var(--bg-raise);
}

/* ------------------------------------------------------- compilations page */

.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 5.5rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 480px;
  background: radial-gradient(ellipse at 30% 0%, rgb(232 177 76 / 0.16), transparent 62%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  margin-bottom: 1rem;
}
.page-hero p {
  color: var(--ink-dim);
  max-width: 58ch;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
}
.page-hero p + p { margin-top: 0.7rem; }

/* player ------------------------------------------------------------------ */

.player {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(20 20 24 / 0.93);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-2);
}

.player-art {
  width: 62px;
  height: 62px;
  flex: none;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-raise-2);
  border: 1px solid var(--line);
}

.player-main { min-width: 0; }

.player-now {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}
.player-now strong {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-now span {
  font-size: 0.79rem;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pbtn {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  transition: all 0.2s var(--ease);
}
.pbtn:hover:not(:disabled) { color: var(--ink); border-color: var(--ink-faint); }
.pbtn:disabled { opacity: 0.35; cursor: default; }
.pbtn svg { width: 14px; height: 14px; }

.pbtn-main {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-color: var(--accent);
  color: #15120b;
}
.pbtn-main:hover:not(:disabled) {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: #15120b;
}
.pbtn-main svg { width: 16px; height: 16px; }

.scrub {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.scrub time {
  font-size: 0.73rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  flex: none;
  min-width: 34px;
}
.scrub time:last-child { text-align: right; }

input[type="range"] {
  flex: 1;
  min-width: 40px;
  height: 20px;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(
    to right,
    var(--accent) 0 var(--pct, 0%),
    var(--line) var(--pct, 0%) 100%
  );
}
input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(
    to right,
    var(--accent) 0 var(--pct, 0%),
    var(--line) var(--pct, 0%) 100%
  );
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgb(232 177 76 / 0.2);
  transition: transform 0.15s var(--ease);
}
input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.2); }

.player-extra {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.volume { width: 76px; }

/* tracklists -------------------------------------------------------------- */

.album {
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}
.album h2 {
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  margin-bottom: 0.3rem;
}
.album .album-sub {
  color: var(--ink-faint);
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
}

.tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}
.tracks li { border-bottom: 1px solid var(--line-soft); }

.track {
  display: grid;
  grid-template-columns: 34px 46px 1fr auto auto;
  gap: 0.9rem;
  align-items: center;
  width: 100%;
  padding: 0.7rem 0.5rem;
  text-align: left;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease);
}
.track:hover { background: rgb(255 255 255 / 0.03); }

.track-n {
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  text-align: center;
  position: relative;
}
.track:hover .track-n .n,
.track.is-current .track-n .n { opacity: 0; }

.track-n .cue {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.track:hover .track-n .cue,
.track.is-current .track-n .cue { opacity: 1; }
.track-n svg { width: 13px; height: 13px; }

.track-art {
  width: 46px;
  height: 46px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--bg-raise-2);
}

.track-info { min-width: 0; }
.track-info strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s var(--ease);
}
.track.is-current .track-info strong { color: var(--accent); }
.track-info span {
  display: block;
  font-size: 0.79rem;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-len {
  font-size: 0.79rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.track-dl {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-faint);
  opacity: 0;
  transition: all 0.2s var(--ease);
}
.track:hover ~ .track-dl,
li:hover .track-dl,
.track-dl:focus-visible { opacity: 1; }
.track-dl:hover { color: var(--accent); background: rgb(255 255 255 / 0.06); }
.track-dl svg { width: 15px; height: 15px; }

/* a sleeve for tracks that never had one ---------------------------------- */

.track-art-blank {
  display: block;
  background:
    radial-gradient(circle at 50% 50%, var(--accent-deep) 0 9%, transparent 9.5%),
    radial-gradient(circle at 50% 50%, #0d0d10 9.5% 14%, transparent 14.5%),
    repeating-radial-gradient(circle at 50% 50%, #1d1d24 0 2px, #121216 2px 4px);
}
img.player-art.track-art-blank { object-fit: cover; }

/* ------------------------------------------------------------- the gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(0.6rem, 1.4vw, 1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-raise);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.shot:hover,
.shot:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent-deep);
  box-shadow: var(--shadow-2);
  z-index: 1;
}
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.04);
  transition: transform 0.5s var(--ease), filter 0.35s var(--ease);
}
.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1);
}

.shot-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 0.7rem 0.6rem;
  font-size: 0.74rem;
  line-height: 1.35;
  text-align: left;
  color: var(--ink);
  background: linear-gradient(to top, rgb(11 11 13 / 0.93), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shot:hover .shot-cap,
.shot:focus-visible .shot-cap {
  opacity: 1;
  transform: none;
}

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

dialog.photobox {
  width: min(1000px, calc(100vw - 2rem));
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
dialog.photobox::backdrop {
  background: rgb(4 4 6 / 0.93);
  backdrop-filter: blur(7px);
}
.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
}
.photo-frame img {
  width: 100%;
  max-height: min(76svh, 760px);
  object-fit: contain;
  margin-inline: auto;
}
.photo-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.9rem;
}
.photo-cap {
  flex: 1;
  color: var(--ink-dim);
  font-size: 0.9rem;
  text-align: center;
}
.photo-count {
  font-size: 0.76rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.photo-nav {
  display: flex;
  gap: 0.4rem;
  flex: none;
}
dialog.photobox .modal-close {
  top: -14px;
  right: -8px;
  background: var(--bg-raise);
}

/* equalizer bars on the playing row --------------------------------------- */

.eq {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}
.track.is-playing .track-n .cue { opacity: 0; }
.track.is-playing .eq { display: flex; }
.eq i {
  width: 2px;
  background: var(--accent);
  border-radius: 1px;
  animation: eq 0.9s ease-in-out infinite;
}
.eq i:nth-child(1) { height: 60%; animation-delay: -0.2s; }
.eq i:nth-child(2) { height: 100%; animation-delay: -0.5s; }
.eq i:nth-child(3) { height: 45%; animation-delay: -0.8s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}

/* ---------------------------------------------------------------- reveal fx */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .podcast-layout { grid-template-columns: 1fr; }
  .podcast-aside {
    position: static;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.25rem;
    align-items: center;
  }
  .podcast-cover { margin-bottom: 0; }
}

@media (max-width: 880px) {
  :root { --header-h: 58px; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: rgb(11 11 13 / 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease),
      visibility 0.35s;
  }
  body.nav-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    padding: 0.85rem 0.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.98rem;
  }
  .nav a:hover { background: none; }
  .nav .nav-cta {
    margin: 0.9rem 0 0;
    border-radius: 99px;
    text-align: center;
    justify-content: center;
    border-bottom: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-figure {
    grid-column: 1;
    grid-row: 1;
    min-height: 68svh;
  }
  .hero-figure img {
    /* no second column to balance against here, so centre him and ease off
       the zoom — the headline sits across his chest rather than his face */
    object-position: 50% 22%;
    transform: scale(1.04);
    transform-origin: 50% 25%;
  }
  .hero-figure::after {
    background:
      linear-gradient(to top, var(--bg) 1%, rgb(11 11 13 / 0.42) 50%, rgb(11 11 13 / 0.22)),
      linear-gradient(to right, rgb(11 11 13 / 0.5), rgb(11 11 13 / 0.2));
  }
  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    margin-left: 0;
    padding-bottom: 2.5rem;
  }
  .hero-listen {
    grid-column: 1;
    grid-row: 2;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }
  .hero-listen::after {
    background: linear-gradient(to bottom, var(--bg), rgb(11 11 13 / 0.78) 25%, rgb(11 11 13 / 0.85));
  }

  .about { grid-template-columns: 1fr; }
  .about-portrait { max-width: 230px; aspect-ratio: 1; }
}

@media (max-width: 620px) {
  .songs { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .videos { grid-template-columns: 1fr; }

  .podcast-aside { grid-template-columns: 1fr; }
  .podcast-cover { max-width: 190px; }

  .episode {
    grid-template-columns: auto 1fr;
    gap: 0.25rem 0.8rem;
  }
  .episode-go { display: none; }

  .player {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.85rem;
  }
  .player-art {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
  }
  .player-now {
    padding-left: 60px;
    min-height: 48px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.1rem;
  }
  /* stacked flex items size to content, so they need an explicit cap or the
     long "artist · album" line runs past the card edge */
  .player-now strong,
  .player-now span { width: 100%; }
  .player-extra { display: none; }

  .track {
    grid-template-columns: 26px 42px 1fr auto;
    gap: 0.7rem;
  }
  .track-dl { display: none; }

  .footer-grid { flex-direction: column; }
}

@media (max-width: 380px) {
  .songs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* only drop the streaming badges to one column on the very narrowest phones —
   the 2×2 block holds together down to about 340px */
@media (max-width: 339px) {
  .badges { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ a11y / print */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-listen, .player, dialog { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------- podcast episode modal */

dialog.modal-wide {
  width: min(720px, calc(100vw - 2rem));
  max-height: calc(100svh - 3rem);
}
dialog.modal-wide .dialog-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100svh - 3rem);
}

.ep-head {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem 1.5rem 1.2rem;
  flex: none;
}
.ep-head img {
  width: 84px;
  height: 84px;
  flex: none;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--line);
}
.ep-tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.ep-head h2 {
  font-size: 1.3rem;
  line-height: 1.15;
  padding-right: 2rem;
}
.ep-guest {
  margin-top: 0.25rem;
  color: var(--ink-dim);
  font-size: 0.88rem;
}

.ep-player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
  padding: 0.9rem 1.5rem;
  border-block: 1px solid var(--line-soft);
  background: var(--bg-raise-2);
}
.ep-player .scrub { flex: 1; }
.ep-player .pbtn { text-decoration: none; }

.ep-body {
  padding: 1.25rem 1.5rem 1.6rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ep-body p {
  color: var(--ink-dim);
  font-size: 0.93rem;
  margin-bottom: 0.85rem;
}

.ep-shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}
.ep-shot {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-raise-2);
}
.ep-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ep-shot figcaption {
  padding: 0.45rem 0.6rem;
  font-size: 0.72rem;
  color: var(--ink-faint);
}

.ep-videos {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  margin-bottom: 1.1rem;
}
.ep-videos .video-body { padding: 0.7rem 0.75rem; }
.ep-videos .video-body h3 { font-size: 0.82rem; }
.ep-videos .play-badge { width: 32px; height: 32px; }
.ep-videos .play-badge svg { width: 12px; height: 12px; }

.ep-links { margin-top: 0.5rem; }
.ep-links .ico { background: rgb(232 177 76 / 0.12); color: var(--accent); }
.ep-links a { font-size: 0.87rem; }

/* the episode rows are buttons now, so kill the default button styling */
button.episode {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}
button.episode .episode-go svg { width: 15px; height: 15px; }

@media (max-width: 620px) {
  .ep-head { padding: 1.2rem 1.1rem 1rem; gap: 0.85rem; }
  .ep-head img { width: 62px; height: 62px; }
  .ep-head h2 { font-size: 1.1rem; }
  .ep-player { padding: 0.8rem 1.1rem; gap: 0.5rem; }
  .ep-body { padding: 1.1rem 1.1rem 1.4rem; }
  .ep-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ep-videos { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- CAT-5 page */

.cat5-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(1.75rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-soft);
}
.cat5-block:last-child { border-bottom: 0; }
.cat5-block.is-flipped .cat5-figure { order: -1; }

.cat5-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.9rem;
}
.cat5-copy p {
  color: var(--ink-dim);
  margin-bottom: 0.85rem;
  max-width: 62ch;
}

.cat5-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-raise);
}
.cat5-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.cat5-figure figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.site-shot {
  margin: 2rem 0 0;
  max-width: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-raise);
}
.site-shot img { width: 100%; height: auto; }
.site-shot figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

#cat5-approvals { max-width: 620px; }
#cat5-approvals .ico { background: rgb(232 177 76 / 0.12); color: var(--accent); }

@media (max-width: 820px) {
  .cat5-block { grid-template-columns: 1fr; }
  .cat5-block.is-flipped .cat5-figure { order: 0; }
}
