/* ==========================================================================
   One Percent Better — site styles
   Brand: black & white only · Seriously Nostalgic headlines (one italic turn)
          · Sofia Pro Bold caps labels · the outlined oval · square corners
   ========================================================================== */

@font-face {
  font-family: "Seriously Nostalgic";
  src: url("../assets/fonts/SeriouslyNostalgic-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Seriously Nostalgic";
  src: url("../assets/fonts/SeriouslyNostalgic-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("../assets/fonts/SofiaPro-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("../assets/fonts/SofiaPro-Italic.otf") format("opentype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("../assets/fonts/SofiaPro-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Colour */
  --black: #000;
  --white: #fff;
  --ink-2: rgba(255, 255, 255, 0.7);   /* secondary text, 10:1 on black */
  --ink-3: rgba(255, 255, 255, 0.55);  /* tertiary text, 6:1 on black */
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.4);
  --overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 72%, rgba(0, 0, 0, 0.9) 100%);

  /* Type */
  --serif: "Seriously Nostalgic", Georgia, "Times New Roman", serif;
  --sans: "Sofia Pro", Helvetica, Arial, sans-serif;

  /* Space */
  --gutter: clamp(16px, 5.5vw, 84px);
  --section-y: clamp(96px, 14vw, 200px);
  --header-h: 76px;
  --max: 1680px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 320ms;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.has-player { padding-bottom: 96px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
ol, ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

/* Film grain keeps an all-black page from feeling flat */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 200;
  background: var(--white); color: var(--black); padding: 10px 16px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Type primitives ---------- */
.label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.display-2 {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

/* The oval: a true ellipse on its box, never a pill */
.oval {
  display: inline-grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.oval--sm { font-size: 12px; min-width: 64px; height: 26px; padding: 0 12px; border-width: 1.5px; }
.oval--lg { font-size: 22px; min-width: 150px; height: 58px; padding: 0 28px; border-width: 2.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--white);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.btn svg { font-size: 18px; transition: transform var(--dur) var(--ease-out); }
.btn--solid { background: var(--white); color: var(--black); }
.btn--solid:hover { background: var(--black); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn:hover svg { transform: translate(2px, 2px); }
.btn[type="submit"]:hover svg { transform: translateX(4px); }

.play-btn {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white); color: var(--black);
  transition: transform var(--dur) var(--ease-out);
}
.play-btn:hover { transform: scale(1.06); }
.play-btn svg { font-size: 26px; fill: currentColor; stroke: none; }
.play-btn .i-play { transform: translateX(2px); }
.play-btn .i-pause, .is-playing .play-btn .i-play, .play-btn.is-playing .i-play { display: none; }
.is-playing .play-btn .i-pause, .play-btn.is-playing .i-pause { display: block; }
.play-btn--sm { width: 48px; height: 48px; }
.play-btn--sm svg { font-size: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
  transition: background var(--dur) ease, border-color var(--dur) ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header__logo img { width: clamp(150px, 14vw, 210px); }
.site-nav { display: flex; gap: 36px; }
.site-nav a, .site-header__ep {
  font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
.site-nav a { position: relative; padding: 8px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-header__ep {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 16px;
  border: 1.5px solid var(--white);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.site-header__ep:hover { background: var(--white); color: var(--black); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }

.menu-toggle { display: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--black);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(52px, 15vw, 88px); line-height: 1.05;
  border-bottom: 1px solid var(--line); padding: 8px 0;
}
.mobile-menu__socials { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.mobile-menu__socials a { padding: 10px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  --hero-pb: clamp(32px, 4vw, 56px);
  display: grid;
  align-items: end;
  gap: 40px;
  padding: calc(var(--header-h) + 40px) var(--gutter) var(--hero-pb);
  overflow: hidden;
  isolation: isolate;
}
/* Slow drifting light, the Cominvi headlamp glow translated to pure black & white */
.hero__glow {
  position: absolute; z-index: -1;
  width: 70vmax; height: 70vmax;
  right: -18vmax; top: -22vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04) 55%, transparent 72%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  to { transform: translate(-8vmax, 10vmax) scale(1.1); }
}
.hero__stat {
  position: absolute;
  right: var(--gutter);
  top: 38%;
  display: flex; flex-direction: column; gap: 6px;
  color: var(--ink-2);
}
.hero__content { max-width: 1200px; }
.hero__eyebrow { color: var(--ink-2); margin-bottom: 20px; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(64px, 12.5vw, 230px);
  line-height: 0.9;
  letter-spacing: -0.015em;
  margin-left: -0.04em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__sub {
  max-width: 34ch;
  margin: 28px 0 32px;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-2);
}

.hero__cards {
  position: absolute; right: var(--gutter); bottom: var(--hero-pb);
  display: flex; gap: 16px;
}
.hero-card {
  width: clamp(220px, 17vw, 264px);
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.4);
  display: flex; flex-direction: column;
  padding: 10px;
}
.hero-card__body {
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 10px 8px 18px;
  min-height: 150px;
}
.hero-card__body .oval { align-self: flex-start; }
.hero-card__title {
  font-family: var(--serif); font-size: 22px; line-height: 1.1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-card__big { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; }
.hero-card__meta { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.hero-card__bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 36px; padding: 0 10px;
  background: var(--white); color: var(--black);
  text-align: left;
}
.hero-card__bar svg { fill: currentColor; stroke: none; font-size: 12px; transition: transform var(--dur) var(--ease-out); }
.hero-card__bar:hover svg { transform: translateX(4px); }

/* ---------- Sections ---------- */
.section {
  padding: var(--section-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

/* Latest */
.latest {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 3fr;
  gap: clamp(32px, 6vw, 120px);
  border-top: 1px solid var(--line);
}
.latest__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.latest__aside > .label:first-child { color: var(--ink-2); }
.latest__meta { color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.latest__guest { margin-bottom: 20px; }
.latest__title {
  font-family: var(--serif);
  font-size: clamp(44px, 6.4vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  max-width: 16ch;
  text-wrap: balance;
}
.latest__desc {
  margin-top: 32px;
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 18px;
}
.latest__actions {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
}
.latest__actions > .label { color: var(--ink-3); }
.listen-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.listen-links a, .contact__links a {
  display: inline-flex; gap: 6px; padding: 10px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur-fast);
}
.listen-links a:hover, .contact__links a:hover { border-bottom-color: currentColor; }

/* Episodes */
.episodes { border-top: 1px solid var(--line); }
.episodes__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 56px;
}
.episodes__tools { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.episodes__count { color: var(--ink-3); }
.search {
  display: flex; align-items: center; gap: 12px;
  width: min(420px, 100%);
  border-bottom: 1.5px solid var(--line-strong);
  transition: border-color var(--dur-fast);
}
.search:focus-within { border-bottom-color: var(--white); }
.search svg { color: var(--ink-2); font-size: 18px; }
.search input {
  flex: 1; min-width: 0;
  background: none; border: 0; outline: 0;
  padding: 14px 0; font-size: 17px;
}
.search input::placeholder { color: var(--ink-3); }

.episode-list { border-top: 1px solid var(--line); }
.episode {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr 120px 90px 48px;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.episode::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.35);
  background: rgba(255, 255, 255, 0.05);
  opacity: 0; transition: opacity var(--dur-fast);
  pointer-events: none;
}
.episode:hover::before, .episode.is-current::before { opacity: 1; }
.episode__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.12;
  transition: transform var(--dur) var(--ease-out);
}
.episode:hover .episode__title { transform: translateX(8px); }
.episode__date, .episode__dur { color: var(--ink-2); }
.episode__play {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.episode__play::after { content: ""; position: absolute; inset: -12px 0 -12px -9999px; } /* whole row is the tap target */
.episode__play svg { fill: currentColor; stroke: none; font-size: 16px; }
.episode__play .i-play { transform: translateX(1px); }
.episode__play .i-pause { display: none; }
.episode.is-current.is-playing .episode__play .i-play { display: none; }
.episode.is-current.is-playing .episode__play .i-pause { display: block; }
.episode:hover .episode__play, .episode.is-current .episode__play { background: var(--white); color: var(--black); border-color: var(--white); }

.episodes__empty { padding: 48px 0; color: var(--ink-2); font-family: var(--serif); font-size: 28px; }
.episodes__more { display: flex; justify-content: center; margin-top: 56px; }
.episodes__more[hidden] { display: none; }

/* About */
.about { border-top: 1px solid var(--line); }
.about > .label { color: var(--ink-2); }
.about__statement {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: clamp(36px, 5.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 22ch;
  text-wrap: balance;
}
.about__lede {
  margin: 40px 0 0 auto;
  max-width: 40ch;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink-2);
}
.hosts {
  margin-top: clamp(80px, 10vw, 160px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.host:nth-child(2) { margin-top: clamp(0px, 8vw, 140px); }
.host__photo {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}
.host__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.02);
  transition: transform 900ms var(--ease-out);
}
.host:hover .host__photo img { transform: scale(1.06); }
.host__photo::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.host__name {
  position: absolute; z-index: 1;
  left: clamp(20px, 2.5vw, 36px); bottom: clamp(20px, 2.5vw, 36px); right: 20px;
  display: flex; flex-direction: column; gap: 12px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 60px);
  line-height: 1;
}
.host__body {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start;
  padding-top: 28px;
}
.host__body > p:first-child { color: var(--ink-2); max-width: 40ch; }
.host__stat { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.host__stat-num { font-family: var(--serif); font-style: italic; font-size: clamp(44px, 4.4vw, 72px); line-height: 0.9; }
.host__stat .label { color: var(--ink-2); }

/* Partners */
.partners { border-top: 1px solid var(--line); }
.partners__head { margin-bottom: clamp(48px, 6vw, 88px); }
.partners__head > .label { color: var(--ink-2); margin-bottom: 24px; }
.partners__title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners__grid li + li { border-left: 1px solid var(--line); }
.partner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(200px, 18vw, 280px);
  padding: 48px 32px;
  transition: background var(--dur) ease;
}
.partner img {
  height: var(--logo-h);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out);
}
.partner__visit {
  position: absolute; left: 0; right: 0; bottom: 22px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-2);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out);
}
.partner:hover, .partner:focus-visible { background: rgba(255, 255, 255, 0.04); }
.partner:hover img, .partner:focus-visible img { opacity: 1; transform: translateY(-6px); }
.partner:hover .partner__visit, .partner:focus-visible .partner__visit { opacity: 1; transform: none; }
.partner:focus-visible { outline-offset: -2px; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 7vw, 140px);
  border-top: 1px solid var(--line);
}
.contact__intro > .label { color: var(--ink-2); margin-bottom: 28px; }
.contact__intro > p:not(.label) { margin-top: 32px; max-width: 38ch; color: var(--ink-2); font-size: 19px; }
.contact__email {
  display: inline-block; margin-top: 28px;
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2;
  border-bottom: 1.5px solid var(--line-strong);
  overflow-wrap: anywhere;
  transition: border-color var(--dur-fast);
}
.contact__email:hover { border-bottom-color: var(--white); }
.contact__links { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 4px 28px; }

.contact-form { display: flex; flex-direction: column; gap: 28px; align-self: end; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend {
  font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2);
  padding: 0;
}
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1.5px solid var(--line-strong);
  border-radius: 0;
  padding: 12px 0;
  font-size: 18px;
  outline: 0;
  transition: border-color var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--white); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-bottom-color: #ff8a8a; }
.field__error { color: #ff9d9d; font-size: 14px; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.topics label { position: relative; cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--white); }
.topics input { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; }
.topics span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--line-strong);
  font-size: 15px;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.topics label:hover span { border-color: var(--white); }
.topics input:checked + span { background: var(--white); color: var(--black); border-color: var(--white); }
.topics input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 3px; }
.contact-form .btn { align-self: flex-start; margin-top: 8px; }
.contact-form__status { color: var(--ink-2); min-height: 1.5em; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(80px, 10vw, 140px) var(--gutter) 40px;
  border-top: 1px solid var(--line);
}
.site-footer__logo { width: min(100%, 1400px); margin: 0 auto; }
.site-footer__row {
  margin-top: clamp(48px, 6vw, 96px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  color: var(--ink-2);
}
.site-footer__row nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer__row nav a { padding: 10px 0; transition: color var(--dur-fast); }
.site-footer__row nav a:hover { color: var(--white); }
.to-top {
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1.5px solid var(--line-strong); color: var(--white);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.to-top:hover { background: var(--white); color: var(--black); }
.to-top svg { font-size: 18px; }

/* ---------- Sticky player ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px var(--gutter);
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  animation: rise 420ms var(--ease-out);
}
.player[hidden] { display: none; }
@keyframes rise { from { transform: translateY(100%); } }
.player__info { min-width: 0; }
.player__title {
  font-family: var(--serif); font-size: 20px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__progress { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.player__progress .label { font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 44px; }
.player__progress .label:last-child { text-align: right; }
.player__progress input[type="range"] {
  flex: 1; min-width: 0; height: 24px; margin: 0;
  appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer;
  --pct: 0%;
}
.player__progress input[type="range"]::-webkit-slider-runnable-track {
  height: 2px; background: linear-gradient(to right, var(--white) var(--pct), var(--line-strong) var(--pct));
}
.player__progress input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; border-radius: 50%; background: var(--white);
}
.player__progress input[type="range"]::-moz-range-track { height: 2px; background: var(--line-strong); }
.player__progress input[type="range"]::-moz-range-progress { height: 2px; background: var(--white); }
.player__progress input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--white); }
.player__controls { display: flex; align-items: center; gap: 6px; }
.player__controls > button:not(.play-btn) {
  display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink-2);
  transition: color var(--dur-fast);
}
.player__controls > button:not(.play-btn):hover { color: var(--white); }
.player__controls svg { font-size: 20px; }
.player .play-btn .i-play, .player .play-btn .i-pause { font-size: 18px; }
.player__close { margin-left: 8px; }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1100ms var(--ease-out); }
.js .hero__title .line:nth-child(2) > span { transition-delay: 110ms; }
.js .hero__eyebrow, .js .hero__sub, .js .hero .btn, .js .hero__cards, .js .hero__stat {
  opacity: 0; transition: opacity 900ms ease 450ms;
}
.js.is-loaded .hero__title .line > span { transform: none; }
.js.is-loaded .hero__eyebrow, .js.is-loaded .hero__sub, .js.is-loaded .hero .btn,
.js.is-loaded .hero__cards, .js.is-loaded .hero__stat { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero__title .line > span { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero__cards { position: static; justify-content: flex-start; }
  .hero__stat { top: calc(var(--header-h) + 32px); }
  .episode { grid-template-columns: 80px 1fr 100px 48px; }
  .episode__dur { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav, .site-header__ep { display: none; }
  .menu-toggle {
    display: inline-grid; z-index: 60;
    min-width: 88px; height: 40px; padding: 0 18px;
    font-size: 12px;
  }
  .latest, .contact { grid-template-columns: 1fr; }
  .latest__aside { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
  .latest__meta { flex-direction: row; gap: 16px; }
  .hosts { grid-template-columns: 1fr; }
  .host:nth-child(2) { margin-top: 0; }
  .episodes__tools { align-items: stretch; width: 100%; }
  .search { width: 100%; }
}

@media (hover: none) {
  .partner__visit { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .partners__grid { grid-template-columns: 1fr; }
  .partners__grid li + li { border-left: 0; border-top: 1px solid var(--line); }
  .partner { min-height: 168px; padding: 36px 24px 56px; }
  body { font-size: 16px; }
  .hero { gap: 32px; }
  .hero__stat { display: none; }
  .hero__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-card { width: auto; padding: 8px; }
  .hero-card__body { min-height: 120px; gap: 18px; padding: 6px 4px 12px; }
  .hero-card__title { font-size: 18px; }
  .hero-card__big { font-size: 32px; }
  .hero-card__meta { font-size: 13px; }
  .hero-card__bar { font-size: 11px; padding: 0 8px; }
  .episode { grid-template-columns: 1fr 44px; gap: 12px 16px; padding: 22px 0; }
  .episode__num { grid-column: 1; grid-row: 1; justify-self: start; }
  .episode__title { grid-column: 1; grid-row: 2; }
  .episode__date { grid-column: 1; grid-row: 3; }
  .episode__play { grid-column: 2; grid-row: 1 / span 3; width: 44px; height: 44px; }
  .episode:hover .episode__title { transform: none; }
  .host__body { grid-template-columns: 1fr; gap: 16px; }
  .host__stat { align-items: flex-start; text-align: left; }
  .player { grid-template-columns: 1fr auto; gap: 12px; }
  .player__num { display: none; }
  .player__controls > button[data-player-skip] { display: none; }
  .player__title { font-size: 17px; }
  .site-footer__row { flex-direction: column; align-items: flex-start; }
}
