/* ==========================================================================
   /podcast  (podcast.html + podcast.js)
   Everything here is scoped to body.pc-page. Brand tokens come from styles.css.
   ========================================================================== */

.pc-page {
  --pc-serif: 'Bauer Bodoni', 'Georgia', serif;
  --pc-ink: var(--sage-deeper);
  --pc-radius: 18px;
  background: var(--warm-white);
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
}

.pc-page h1, .pc-page h2, .pc-page h3 { font-family: var(--pc-serif); font-weight: 400; color: var(--pc-ink); }

.pc-wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.pc-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--sage-text); margin: 0 0 14px;
}
.pc-section { padding: clamp(64px, 8vw, 110px) 0; }
.pc-section__head { max-width: 720px; margin-bottom: 40px; }
.pc-section__head h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; margin: 0 0 12px; }
.pc-section__head p { font-size: 18px; line-height: 1.7; color: var(--text-light); margin: 0; }

/* ---------- Hero ---------- */
.pc-hero {
  position: relative;
  padding: clamp(150px, 16vw, 190px) 0 0;
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 55%, var(--rose-pale) 100%);
  overflow: hidden;
}
.pc-hero__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: end;
}
.pc-hero__copy { padding-bottom: clamp(56px, 7vw, 96px); }
.pc-hero h1 { font-size: clamp(44px, 6.4vw, 82px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.pc-hero__with {
  font-family: var(--font-script); font-size: clamp(34px, 4.4vw, 54px); color: var(--teal);
  line-height: 1; margin: 6px 0 26px; display: block;
}
.pc-hero__lede { font-size: 19px; line-height: 1.7; max-width: 520px; margin: 0 0 30px; }
.pc-follow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pc-follow__btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 50px;
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--charcoal);
  background: #fff; border: 1.5px solid var(--border); transition: border-color .25s, transform .25s, box-shadow .25s;
}
.pc-follow__btn:hover { border-color: var(--sage); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(78,94,67,.12); }
.pc-follow__btn svg, .pc-follow__btn img { width: 22px; height: 22px; flex: none; }
.pc-follow__btn--spotify svg { color: #1db954; }
.pc-follow__here { font-size: 15px; color: var(--sage-text); text-decoration: none; padding: 8px 4px; font-weight: 600; }
.pc-follow__here:hover { text-decoration: underline; }
.pc-stats {
  list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-size: 15px; color: var(--text-light);
}
.pc-stats li { display: flex; align-items: baseline; gap: 6px; }
.pc-stats strong { font-family: var(--pc-serif); font-weight: 400; font-size: 26px; color: var(--pc-ink); }

.pc-hero__art { position: relative; align-self: end; justify-self: center; width: min(100%, 440px); }
.pc-hero__disc {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 92%; aspect-ratio: 1; border-radius: 50%; background: var(--teal-pale);
}
.pc-hero__disc::after {
  content: ''; position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: var(--orange-light); top: 4%; right: 2%;
}
.pc-hero__photo { position: relative; display: block; width: 100%; height: auto; }

/* ---------- Newest episode ---------- */
.pc-newest { background: var(--sage-deeper); color: var(--cream); padding: clamp(56px, 7vw, 88px) 0; }
.pc-newest__card { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.pc-newest__cover { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--pc-radius); object-fit: cover; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.pc-newest .pc-eyebrow { color: var(--teal-light); }
.pc-newest h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; margin: 0 0 14px; }
.pc-newest h2 a { color: inherit; text-decoration: none; }
.pc-newest h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.pc-newest__meta { font-size: 14px; color: var(--sage-pale); margin: 0 0 16px; }
.pc-newest__summary { font-size: 17px; line-height: 1.7; color: var(--sage-pale); margin: 0 0 26px; max-width: 640px; }
.pc-newest__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.pc-newest__apps { margin: 18px 0 0; font-size: 14px; opacity: .85; }
.pc-newest__apps a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.pc-newest__notes { color: #fff; font-weight: 600; font-size: 15px; }

.pc-play-btn {
  display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer;
  background: var(--orange); color: var(--charcoal); font: 700 15px/1 'Open Sans', sans-serif;
  padding: 14px 26px 14px 16px; border-radius: 50px; transition: transform .2s, background .2s;
}
.pc-play-btn:hover { background: var(--orange-light); transform: translateY(-1px); }
.pc-play-btn__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--charcoal); color: var(--orange); display: grid; place-items: center; }
.pc-play-btn__icon svg { width: 13px; height: 13px; }

/* ---------- Start here ---------- */
.pc-start { background: var(--warm-white); }
.pc-start__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pc-pick {
  display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 22px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--pc-radius);
  transition: border-color .25s, box-shadow .25s;
}
.pc-pick:hover { border-color: var(--sage-light); box-shadow: 0 10px 30px rgba(78,94,67,.08); }
.pc-pick__if { font-size: 14px; font-weight: 600; color: var(--rose-text); margin: 0; }
.pc-pick h3 { font-size: 23px; line-height: 1.22; margin: 0; flex: 1; }
.pc-pick h3 a { color: inherit; text-decoration: none; }
.pc-pick h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pc-pick__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.pc-pick__len { font-size: 14px; color: var(--text-light); }

.pc-mini-play {
  display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--sage); background: transparent;
  color: var(--pc-ink); font: 600 14px/1 'Open Sans', sans-serif; padding: 9px 16px 9px 10px; border-radius: 50px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.pc-mini-play svg { width: 18px; height: 18px; }
.pc-mini-play:hover, .pc-mini-play.is-playing { background: var(--sage-deeper); border-color: var(--sage-deeper); color: var(--cream); }

/* ---------- Every episode ---------- */
.pc-library { background: var(--cream); }
.pc-tools { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.pc-search {
  position: relative; max-width: 520px;
}
.pc-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-light); pointer-events: none; }
.pc-search input {
  width: 100%; font: 16px 'Open Sans', sans-serif; color: var(--text); padding: 15px 18px 15px 48px;
  border: 1.5px solid var(--border); border-radius: 50px; background: #fff;
}
.pc-search input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-pale); }
.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chip {
  font: 600 14px/1 'Open Sans', sans-serif; padding: 10px 16px; border-radius: 50px; cursor: pointer;
  border: 1.5px solid var(--border); background: #fff; color: var(--text); transition: all .2s;
}
.pc-chip:hover { border-color: var(--sage); }
.pc-chip[aria-pressed="true"] { background: var(--sage-deeper); border-color: var(--sage-deeper); color: var(--cream); }
.pc-count { font-size: 14px; color: var(--text-light); margin: 0; }

.pc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.pc-row {
  display: grid; grid-template-columns: 46px 1fr auto; gap: 18px; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--border);
}
.pc-row__play {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--sage); background: #fff;
  color: var(--pc-ink); display: grid; place-items: center; cursor: pointer; transition: all .2s;
}
.pc-row__play svg { width: 16px; height: 16px; }
.pc-row__play:hover, .pc-row__play.is-playing { background: var(--sage-deeper); border-color: var(--sage-deeper); color: var(--cream); }
.pc-row__title { font-family: var(--pc-serif); font-size: 21px; line-height: 1.25; color: var(--pc-ink); text-decoration: none; }
.pc-row__title:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pc-row__meta { display: block; font-size: 13px; color: var(--text-light); margin-top: 4px; }
.pc-row__len { font-size: 14px; color: var(--text-light); white-space: nowrap; }
.pc-more { margin-top: 28px; text-align: center; }
.pc-more button {
  font: 600 14px/1 'Open Sans', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
  padding: 15px 30px; border-radius: 50px; border: 1.5px solid var(--sage); background: transparent; color: var(--pc-ink);
}
.pc-more button:hover { background: var(--sage-deeper); color: var(--cream); border-color: var(--sage-deeper); }
.pc-empty { padding: 28px 4px; color: var(--text-light); font-size: 16px; }

/* ---------- Reviews ---------- */
.pc-reviews { background: var(--warm-white); }
.pc-reviews__grid { columns: 3 300px; column-gap: 20px; }
.pc-review {
  break-inside: avoid; margin: 0 0 20px; padding: 26px 24px; border-radius: var(--pc-radius);
  background: var(--rose-pale);
}
.pc-review:nth-child(3n+2) { background: var(--teal-pale); }
.pc-review:nth-child(3n) { background: var(--orange-pale); }
.pc-review__stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; margin: 0 0 10px; }
.pc-review__title { font-weight: 700; color: var(--charcoal); margin: 0 0 8px; font-size: 16px; }
.pc-review blockquote { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--text); }
.pc-review figcaption { font-size: 14px; color: var(--text-light); }
.pc-reviews__more { margin-top: 12px; font-size: 15px; }
.pc-reviews__more a { color: var(--sage-text); font-weight: 600; }

/* ---------- Host ---------- */
.pc-host { background: var(--rose-pale); }
.pc-host__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pc-host__art { position: relative; max-width: 380px; justify-self: center; width: 100%; }
.pc-host__art::before {
  content: ''; position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: 88%; aspect-ratio: 1; border-radius: 50%; background: var(--orange-pale);
}
.pc-host__art img { position: relative; width: 100%; height: auto; display: block; }
.pc-host h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; margin: 0 0 20px; }
.pc-host h2 .pc-script { font-family: var(--font-script); color: var(--rose-text-large); font-size: 1.15em; }
.pc-host p { font-size: 18px; line-height: 1.8; margin: 0 0 16px; max-width: 600px; }

/* ---------- Close ---------- */
.pc-close { background: var(--warm-white); text-align: center; }
.pc-close h2 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 14px; }
.pc-close p { font-size: 18px; line-height: 1.7; color: var(--text-light); max-width: 560px; margin: 0 auto 28px; }
.pc-close__also { margin-top: 22px !important; font-size: 15px !important; }
.pc-follow--center { justify-content: center; }
.pc-close__work { margin: 64px auto 0; padding-top: 52px; border-top: 1px solid var(--border); max-width: 620px; }
.pc-close__work h3 { font-size: clamp(26px, 3vw, 32px); margin: 0 0 10px; }
.pc-close__work p { font-size: 17px; margin-bottom: 24px; }
.pc-close__also a { color: var(--sage-text); font-weight: 600; }

/* ---------- Sticky player ---------- */
.pc-player {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); z-index: 1100;
  width: min(760px, calc(100% - 24px)); background: var(--charcoal); color: #fff; border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.3); padding: 12px 16px 12px 12px;
  display: grid; grid-template-columns: 52px auto 1fr auto; gap: 14px; align-items: center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1); visibility: hidden;
}
.pc-player.is-open { transform: translate(-50%, 0); visibility: visible; }
.pc-player__cover { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.pc-player__toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--orange); color: var(--charcoal);
  display: grid; place-items: center; cursor: pointer;
}
.pc-player__toggle svg { width: 16px; height: 16px; }
.pc-player__mid { min-width: 0; }
.pc-player__title {
  font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #fff; text-decoration: none; display: block; margin-bottom: 6px;
}
.pc-player__title:hover { text-decoration: underline; }
.pc-player__bar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #cfcac5; font-variant-numeric: tabular-nums; }
.pc-player__bar input[type=range] { flex: 1; accent-color: var(--orange); min-width: 0; }
.pc-player__side { display: flex; gap: 6px; align-items: center; }
.pc-player__side button {
  background: transparent; border: 1px solid #5a5a5a; color: #fff; border-radius: 50px; cursor: pointer;
  font: 600 12px/1 'Open Sans', sans-serif; padding: 8px 10px;
}
.pc-player__side button:hover { border-color: #aaa; }
.pc-player__close { border: 0 !important; font-size: 18px !important; padding: 4px 6px !important; }
.pc-player__follow {
  background: var(--orange); color: var(--charcoal); border-radius: 50px; text-decoration: none;
  font: 700 12px/1 'Open Sans', sans-serif; padding: 9px 12px; white-space: nowrap;
}
.pc-player__follow:hover { filter: brightness(1.06); }
.pc-nudge {
  position: absolute; left: 12px; right: 12px; bottom: calc(100% + 10px);
  background: #fff; color: var(--charcoal); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.22); border: 1px solid var(--border);
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s;
}
.pc-nudge.is-open { opacity: 1; transform: none; }
.pc-nudge p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.pc-nudge__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pc-nudge__go {
  background: var(--sage-deeper); color: #fff; text-decoration: none; border-radius: 50px;
  font: 700 13px/1 'Open Sans', sans-serif; padding: 11px 18px;
}
.pc-nudge__no { background: none; border: 0; color: var(--text-light); font: 600 13px/1 'Open Sans', sans-serif; cursor: pointer; padding: 8px; }
.pc-has-player .hp-footer { padding-bottom: 110px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pc-start__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .pc-wrap { padding: 0 16px; }
  .pc-hero { padding-top: 110px; }
  .pc-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .pc-hero__copy { padding-bottom: 32px; }
  .pc-hero__art { width: min(78%, 320px); }
  .pc-newest__card { grid-template-columns: 1fr; }
  .pc-newest__cover { width: 160px; }
  .pc-start__grid { grid-template-columns: 1fr; }
  .pc-row { grid-template-columns: 42px 1fr; gap: 14px; }
  .pc-row__play { width: 42px; height: 42px; }
  .pc-row__len { display: none; }
  .pc-row__title { font-size: 19px; }
  .pc-host__grid { grid-template-columns: 1fr; }
  .pc-host__art { max-width: 260px; }
  .pc-player { grid-template-columns: auto 1fr auto; padding: 10px 12px; }
  .pc-player__cover { display: none; }
  .pc-player__speed { display: none; }
  .pc-player #pc-player-back { display: none; }
  .pc-follow__btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-player, .pc-follow__btn, .pc-play-btn, .pc-nudge { transition: none; }
}
