/* Approved homepage listening journey; intentionally scoped to the homepage. */
.home-page .shell { max-width: 1440px; }
.home-intro { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(24px,4vw,64px); padding-block: 52px 42px; }
.home-intro-copy { min-width: 0; }
.home-eyebrow { margin: 0 0 13px; color: #ffaad5; font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.home-intro h1 { margin: 0; font-size: clamp(32px,3.65vw,54px); line-height: 1.3; letter-spacing: -.035em; font-weight: 900; }
.home-intro h1 span { color: #ff8bc8; }
/* Keep the host introduction legible against the studio photograph. */
.home-hosts {
  max-width: 520px;
  margin-top: 22px;
  padding: 2px 0 3px 16px;
  border-inline-start: 2px solid #ab5783;
  background: linear-gradient(90deg, #100a13d9, #100a1399 75%, transparent);
}
.home-intro-tags {
  margin: 0 0 7px;
  color: #fff0f8;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.45;
  font-weight: 750;
}
.home-intro-description { margin: 0; color: #e1d1dc; font-size: 15px; line-height: 1.72; }
.home-hosts-names { color: #fff1f8; font-weight: 700; }
.home-hosts-listen {
  display: inline-block;
  width: 100%;
  margin-top: 8px;
  color: #d3bdcd;
  font-size: 14px;
  line-height: 1.8;
}
.home-hosts-listen a {
  display: inline-block;
  max-width: 100%;
  color: #ffb7d9;
  text-decoration: underline;
  text-underline-offset: .25em;
  text-decoration-color: #945a77;
}
.home-hosts-listen a u, .home-platform-title a u { text-decoration: none; }
.home-hosts-profile { margin-inline-start: .4em; font-weight: 700; }
.home-hosts a:hover, .home-platform-title a:hover { color: #fff; text-decoration-color: currentColor; }
.home-hosts a:focus-visible, #listen-platforms a:focus-visible { outline: 2px solid #a6fff3; outline-offset: 3px; }
.home-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.home-cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 21px; min-height: 52px; border-radius: 12px; font-size: 16px; font-weight: 850; border: 1px solid #945476; transition: transform .18s, border-color .18s; }
.home-cta-primary { background: linear-gradient(115deg,#ff71bd,#f147a2); border-color: #ff9dd3; color: #260c21; box-shadow: 0 6px 26px #f147a22b; }
.home-cta-secondary { color: #ffe4f4; background: #1e0e1c; }
.home-cta:hover { transform: translateY(-2px); border-color: #ffc2e2; }
.home-cta:focus-visible,.home-start-card a:focus-visible { outline: 3px solid #b9fff5; outline-offset: 5px; }
.home-intro-art { position: relative; min-width: 0; border: 1px solid #773353; border-radius: 22px; overflow: hidden; background: #190b19; box-shadow: 0 20px 55px #0005; }
.home-intro-art img { display: block; width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; }
.home-intro-art p { margin: 0; padding: 12px 16px; color: #e5b9d1; font-size: 11px; letter-spacing: .12em; text-align: center; border-top: 1px solid #773353; }
.home-start { padding-block: 10px 40px; scroll-margin-top: 100px; }
.home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.home-section-heading .home-eyebrow { margin-bottom: 7px; }
.home-section-heading h2 { margin: 0; font-size: clamp(24px,2.4vw,32px); line-height: 1.4; }
.home-section-heading > p { margin: 0 0 4px; font-size: 14px; color: #cbb6c5; }
.home-start-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.home-start-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid #6e3555; border-radius: 16px; overflow: hidden; background: linear-gradient(150deg,#251023,#120b15); transition: transform .18s,border-color .18s; }
.home-start-card:hover { transform: translateY(-3px); border-color: #ff95cc; }
.home-start-card > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #170c17; display: block; }
.home-start-copy { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.home-start-interest { color: #ffacd4; font-size: 12px; font-weight: 750; }
.home-start-copy h3 { margin: 9px 0 10px; font-size: clamp(20px,1.8vw,25px); line-height: 1.4; }
.home-start-main > p { color: #cdb8c8; font-size: 14px; line-height: 1.8; margin: 0 0 22px; }
.home-start-main > .home-view-count { color: #ffb9dc; font-size: 17px; font-weight: 800; }
.home-start-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.home-start-bottom > span { color: #f3d3e5; font-size: 13px; }
/* The title also opens the card. The pink action has its own native link on top. */
.home-start-card .rank-title::after { content: ""; position: absolute; inset: 0; }
.home-start-bottom .rank-cta { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 46px; touch-action: manipulation; font-weight: 750; color: #260c21; background: #ff89c6; padding: 10px 12px; border-radius: 9px; font-size: 13px; }
.home-page .content-band { padding-block: 28px 32px; }
.home-page .linktree-promo { margin-top: 18px; }
/* Wide-screen hero: enlarge the original cover into the copy with a soft fade. */
@media(min-width:761px) {
  .home-intro { position: relative; isolation: isolate; display: flex; min-height: clamp(470px,43vw,620px); padding-block: 64px; }
  .home-intro-copy { position: relative; z-index: 1; width: 48%; max-width: 600px; text-shadow: 0 2px 18px #08050b; }
  .home-hosts { text-shadow: 0 1px 4px #08050b; }
  .home-intro-art { position: absolute; inset: 0 0 0 auto; width: 86%; border: 0; border-radius: 0; background: none; box-shadow: none; pointer-events: none; -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 16%,rgba(0,0,0,.58) 34%,#000 51%); mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 16%,rgba(0,0,0,.58) 34%,#000 51%); }
  .home-intro-art img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 58% top; }
  .home-intro-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(10,5,13,.12),transparent 18%,transparent 72%,#0a050d); }
  .home-intro-art p { display: none; }
}
@media(max-width:1000px) {
  .home-intro { gap: 24px; padding-top: 34px; }
  .home-start-copy { padding: 15px; }
  .home-start-bottom { align-items: start; flex-direction: column; }
}
@media(max-width:760px) {
  .home-page .shell { width: calc(100% - 36px); }
  .home-intro { grid-template-columns: 1fr; padding-block: 28px 30px; gap: 25px; }
  .home-intro h1 { font-size: clamp(29px,7.7vw,46px); }
  .home-hosts { max-width: none; margin-top: 18px; padding-inline-start: 12px; background: none; }
  .home-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 21px; }
  .home-cta { font-size: 14px; padding: 13px 8px; gap: 5px; }
  .home-intro-art { border-radius: 15px; }
  .home-intro-art p { padding: 9px; font-size: 10px; }
  .home-section-heading { display: block; margin-bottom: 17px; }
  .home-section-heading > p { margin-top: 10px; }
  .home-start { padding-block: 0 16px; scroll-margin-top: 22px; }
  .home-page .latest-band { padding-top: 16px; }
  .home-start-grid { grid-template-columns: 1fr; gap: 13px; }
  .home-start-card { display: grid; grid-template-columns: clamp(118px,28vw,176px) minmax(0,1fr); align-items: center; padding: 14px; gap: 0 13px; }
  .home-start-card > img { grid-column: 1; grid-row: 1; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; border-radius: 8px; margin: 0; }
  .home-start-copy { display: contents; }
  .home-start-main { grid-column: 2; grid-row: 1; min-width: 0; }
  .home-start-copy h3 { font-size: 18px; line-height: 1.45; margin: 6px 0 8px; }
  .home-start-main > .home-view-count { font-size: 15px; margin-bottom: 0; }
  .home-start-interest { font-size: 11px; }
  .home-start-bottom { grid-column: 1 / -1; grid-row: 2; margin-top: 0; padding-top: 10px; flex-direction: row; align-items: center; gap: 8px; }
  .home-start-bottom > span { font-size: 12px; }
  .home-start-bottom .rank-cta { font-size: 13px; padding: 9px 14px; }
}
@media(max-width:360px) {
  .home-start-card { grid-template-columns: 96px minmax(0,1fr); padding: 12px; column-gap: 10px; }
  .home-start-copy h3 { font-size: 17px; }
  .home-cta { font-size: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .home-cta,.home-start-card { transition: none; }
}

/* The listening guide follows the same reading order at every width. */
.home-page .linktree-promo-inner {
  display: block;
  padding-block: clamp(28px, 3.5vw, 50px);
}
.home-page .linktree-promo-copy {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 2fr);
  gap: clamp(24px, 3.2vw, 48px);
  align-items: start;
}
.home-platform-intro { max-width: 34rem; }
.home-platform-intro .linktree-promo-label { margin-bottom: 9px; }
.home-platform-intro h2 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.32;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-platform-intro .home-platform-lead {
  margin-top: 12px;
  color: #dfcdd9;
  font-size: 15px;
  line-height: 1.75;
}
.home-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.home-platform-grid .home-platform {
  margin: 0;
  padding: clamp(16px, 1.5vw, 22px);
  border: 1px solid #57334d;
  border-top: 2px solid var(--platform-accent);
  border-radius: 12px;
  background: #211320;
  color: #e3d3dd;
  font-size: 15px;
  line-height: 1.78;
}
.home-platform-apple { --platform-accent: #df9beb; }
.home-platform-soundon { --platform-accent: #91d8c7; }
.home-platform-title {
  display: inline-block;
  width: 100%;
  margin-bottom: 8px;
  color: var(--platform-accent);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 750;
  line-height: 1.5;
}
.home-platform-title a { text-decoration: underline; text-underline-offset: .24em; text-decoration-thickness: 1px; }
.home-platform-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 32px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #513145;
}
.home-platform-more { margin: 0; color: #d5bfce; font-size: 14px; line-height: 1.75; }
.home-platform-more a { color: #f8d9ed; text-underline-offset: .22em; }
.home-platform-footer .linktree-promo-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: clamp(24rem, 32vw, 29rem);
}
.home-platform-footer .linktree-promo-actions a {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 64px;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  scroll-margin-block: 88px;
}
.home-platform-footer .linktree-promo-actions a:active { box-shadow: inset 0 2px 6px #18354140; }
@media (min-width: 581px) {
  /* The fixed shortcut sits to the right of this row. */
  .home-platform-footer { padding-inline-end: 212px; }
}
@media (max-width: 1080px) {
  .home-page .linktree-promo-copy { grid-template-columns: 1fr; gap: 18px; }
  .home-platform-intro { max-width: 40rem; }
  .home-platform-footer { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-platform-footer .linktree-promo-actions { width: min(100%, 33rem); }
  .home-platform-footer .linktree-promo-actions a { min-height: 60px; font-size: 17px; }
}
@media (max-width: 680px) {
  .home-platform-grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .home-platform-footer .linktree-promo-actions { width: 100%; gap: 12px; }
  .home-platform-footer .linktree-promo-actions a { min-height: 56px; padding: 12px 14px; font-size: 16px; }
  /* Leave room below the footer links for the fixed shortcut. */
  .home-page .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 399px) {
  .home-platform-footer .linktree-promo-actions { grid-template-columns: minmax(0, 1fr); }
}

/* Weekly release artwork and shared timing. The static card is the first frame. */
.episode-promo {
  --promo-light-time: 800ms;
  --promo-art-time: 650ms;
  --promo-title-delay: 240ms;
  position: relative;
  margin-top: 20px;
  max-width: 520px;
  border: 1px solid #814563;
  border-radius: 14px;
  background: linear-gradient(115deg,#281223,#130d17);
  box-shadow: 0 8px 26px #05020840;
}
.promo-link {
  display: grid;
  grid-template-columns: minmax(90px,36%) 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px;
  color: #fff2fa;
  text-decoration: none;
}
.promo-art { position: relative; display: grid; overflow: hidden; border-radius: 8px; }
.promo-art img { display: block; width: 100%; height: auto; }
.promo-art::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,transparent 22%,#ff6ab357 45%,#7deaff54 53%,transparent 74%);
  opacity: 0;
}
.promo-copy { display: grid; gap: 5px; min-width: 0; }
.promo-kicker { color: #ffb4d9; font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.promo-copy strong { font-size: clamp(15px,1.16vw,19px); line-height: 1.45; text-wrap: pretty; }
.promo-listen { color: #ffc3e1; font-size: 14px; font-weight: 750; min-height: 22px; }
.promo-listen span { padding-left: .25em; }
.promo-play {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #241222;
  color: #f9b9da;
  font: 21px/1 system-ui,sans-serif;
  cursor: pointer;
}
.promo-play[hidden], .home-actions [hidden] { display: none; }
.promo-link:focus-visible,.promo-play:focus-visible { outline: 3px solid #a6fff3; outline-offset: 2px; }
.swipe-track { display: none; }
@keyframes promo-light {
  0% { opacity: 0; transform: translateX(-55%); }
  28% { opacity: .9; }
  100% { opacity: 0; transform: translateX(72%); }
}
@keyframes promo-art-reveal {
  from { transform: scale(1.06); filter: brightness(.76); }
  to { transform: scale(1); filter: brightness(1); }
}
@keyframes promo-title-reveal {
  from { opacity: .7; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@keyframes home-sign-light {
  from { text-shadow: 0 0 0 transparent; }
  60% { text-shadow: 0 0 13px #ff72c2a8; }
  to { text-shadow: 0 0 5px #ff72c250; }
}
@media (prefers-reduced-motion: no-preference) {
  .episode-promo.is-playing .promo-art::after { animation: promo-light var(--promo-light-time) ease-out; }
  .episode-promo.is-playing .promo-art img { animation: promo-art-reveal var(--promo-art-time) 90ms ease-out backwards; }
  .episode-promo.is-playing .promo-copy strong { animation: promo-title-reveal 390ms var(--promo-title-delay) ease-out backwards; }
}
@media (max-width: 760px) {
  .home-intro { padding-top: 14px; }
  .home-intro-copy { display: flex; flex-direction: column; align-items: stretch; }
  .episode-promo { order: -1; margin: 0 0 22px; max-width: none; }
  .promo-link { display: block; padding: 0; }
  .promo-art { border-radius: 13px 13px 0 0; }
  .promo-art img { aspect-ratio: 16 / 9; max-height: 35svh; object-fit: contain; background: #180c16; }
  .promo-copy { padding: 12px 14px 14px; gap: 6px; text-shadow: none; }
  .promo-copy strong { font-size: clamp(16px,4.4vw,21px); line-height: 1.4; }
  .promo-listen {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: #ff98cd;
    color: #260b1f;
    min-height: 38px;
    padding: 6px 14px;
    margin-top: 2px;
  }
  .promo-play { bottom: 10px; right: 10px; width: 44px; height: 44px; }
}
@media (max-width: 760px), (any-pointer: coarse) {
  #latestEpisodeRail { scroll-snap-type: x mandatory; }
  #latestEpisodeRail .episode-tile { scroll-snap-align: start; }
  .swipe-track {
    display: block;
    width: 68px;
    height: 3px;
    margin: 6px auto 0;
    background: #553348;
    border-radius: 3px;
    opacity: 0;
    pointer-events: none;
  }
  .swipe-track i { display: block; width: 22px; height: 100%; border-radius: inherit; background: #ff72b9; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .home-page .brand-word { animation: home-sign-light 640ms ease-out both; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference),
       (any-pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .swipe-track { transition: opacity 140ms ease-out; }
  .swipe-track.is-active { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page, .home-page * { scroll-behavior: auto; }
}

/* The two soft masks follow the signs in the original studio artwork.
   Match the photograph's cover crop and position as the hero changes shape. */
.home-intro-art { --studio-intro-time: 3s; }
@keyframes studio-room-power {
  0%, 6% { filter: brightness(.64); }
  19% { filter: brightness(.83); }
  30% { filter: brightness(1.035); }
  42%, 100% { filter: brightness(1); }
}
@keyframes studio-sign-power {
  0%, 7% { opacity: .77; }
  18% { opacity: .42; }
  28%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-intro-art.is-warming img {
    animation: studio-room-power var(--studio-intro-time) ease-in-out both;
  }
  .home-intro-art.is-warming::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1672 / 941;
    pointer-events: none;
    background: url('/assets/studio-sign-shade.svg') center / 100% 100% no-repeat;
    animation: studio-sign-power var(--studio-intro-time) ease-in-out both;
  }
}
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .home-intro-art.is-warming::before {
    height: 100%;
    aspect-ratio: auto;
    background-size: cover;
    background-position: 58% top;
  }
}

/* Only the visible shortcut and its open menu should intercept taps on the homepage. */
.home-page .bada-fab { pointer-events: none; }
.home-page .bada-fab-toggle { pointer-events: auto; }
