/* Holy Voltage Radio homepage v2 (2026-11-04): Signal From Heaven hero, current media first,
   capped release row. Loaded after voltage-core/site.css and overrides only what changed. */

/* ---------- Sky layers ---------- */
.sky-poster, .sky { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
.sky-poster { background: url('/assets/home-v2/sky-poster-1440.webp') center top / cover no-repeat, #05050f; }
@media (max-aspect-ratio: 1/1) { .sky-poster { background-image: url('/assets/home-v2/sky-poster-390.webp'); } }
.sky { display: block; opacity: 0; transition: opacity .9s cubic-bezier(.2,.8,.2,1); }
.sky.is-live { opacity: 1; }
.motion-off .sky { display: none; }
@media (prefers-reduced-motion: reduce) { .sky { display: none; } }
/* Below the hero the sky dims so the content bands stay calm and readable. */
.sky, .sky-poster { transition: opacity .9s cubic-bezier(.2,.8,.2,1), filter .9s; }
.past-hero .sky.is-live, .past-hero .sky-poster { opacity: .45; }
.grain { opacity: .05; animation: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: auto; min-height: 100vh; min-height: 100svh; display: grid; align-items: end;
  padding: calc(var(--top-h) + 14vh) var(--pad) clamp(40px, 9vh, 96px); align-content: center; }
.hero-inner { position: relative; max-width: 1100px; margin: 0 auto; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-inner::before { content: ''; position: absolute; z-index: -1; inset: -10% -20% -14%; pointer-events: none;
  background: radial-gradient(56% 58% at 50% 56%, rgba(2,2,6,.55) 0%, rgba(2,2,6,.25) 55%, transparent 80%); }
.hero .eyebrow { margin-bottom: 20px; }
.hero .mega { justify-content: center; max-width: 9em; text-shadow: none;
  filter: drop-shadow(0 0 28px rgba(255,244,220,.16)) drop-shadow(0 10px 36px rgba(0,0,0,.7)); }
.hero .lede { margin: 22px auto 0; text-align: center; text-shadow: 0 1px 14px rgba(2,2,6,.95); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-pill { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 16px 8px 8px; border-radius: 999px;
  text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; background: rgba(8,8,20,.6); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px var(--line-strong) inset; transition: box-shadow .25s; max-width: 100%; }
.hero-pill:hover { box-shadow: 0 0 0 1px rgba(34,230,255,.7) inset, 0 0 30px -8px rgba(34,230,255,.5); }
.hero-pill b { flex: none; padding: 6px 10px; border-radius: 999px; font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: #0a0414; background: linear-gradient(90deg, #22e6ff, #8b5cff 60%, #ff2bd6); }
.hero-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn .play-icon { flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-actions, .hero-pill { animation: hvr-fade-up .5s var(--rv-ease) .3s both; }
}
.motion-off .hero-actions, .motion-off .hero-pill { animation: none; }

/* ---------- Now: current media ---------- */
.now { position: relative; z-index: 1; padding: clamp(72px, 11vh, 128px) var(--pad); background: linear-gradient(180deg, rgba(2,2,6,.55), rgba(2,2,6,.9) 18%); border-top: 1px solid var(--line); }
.now::before { content: ''; position: absolute; left: var(--pad); right: var(--pad); top: -1px; height: 1px; background: var(--spectrum); opacity: .6; }
.now-head { max-width: 1240px; margin: 0 auto 40px; }
.now-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px; max-width: 1240px; margin: 0 auto; }
.now-video { grid-row: 1 / span 2; display: grid; gap: 18px; align-content: start; }
.now-frame, .now-mini-frame { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; overflow: hidden; background: #000;
  border-radius: 18px; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--line-strong), 0 30px 90px -30px rgba(139,92,255,.55); }
.now-frame img, .now-mini-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.now-frame:hover img, .now-mini-frame:hover img { transform: scale(1.03); filter: brightness(1.06); }
.now-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: rgba(2,2,6,.5); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset, 0 0 40px rgba(34,230,255,.25); transition: transform .3s var(--ease), background .3s; }
.now-play::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; transform: translateX(3px);
  border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.now-play-sm { width: 50px; height: 50px; }
.now-play-sm::after { border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
.now-frame:hover .now-play, .now-mini-frame:hover .now-play { transform: scale(1.08); background: rgba(139,92,255,.5); }
.now-title { margin: 0; font: 900 clamp(34px, 3.4vw, 54px)/.92 var(--display); text-transform: uppercase; }
.now-title a { text-decoration: none; }
.now-line { margin: 8px 0 16px; color: var(--muted); font-size: 16px; max-width: 46ch; }
.now-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.now-actions .link { display: inline-flex; align-items: center; min-height: 44px; }
.link-btn { background: none; border: 0; border-bottom: 1px solid var(--line-strong); cursor: pointer; padding: 0 2px; min-height: 44px; }
.now-album, .now-mini { display: grid; gap: 18px; align-items: center; padding: 18px; border-radius: 18px; background: rgba(10,10,24,.66);
  box-shadow: 0 0 0 1px var(--line) inset; backdrop-filter: blur(14px); }
.now-album { grid-template-columns: 132px minmax(0, 1fr); }
.now-cover img { width: 132px; height: 132px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 20px 50px -20px rgba(34,230,255,.5); }
.now-album .now-title { font-size: clamp(30px, 2.6vw, 42px); }
.now-album .now-line { font-size: 15px; margin-bottom: 12px; }
.now-mini { grid-template-columns: 172px minmax(0, 1fr); }
.now-mini-frame { border-radius: 12px; }
.now-mini-title { margin: 0 0 6px; font: 900 28px/.95 var(--display); text-transform: uppercase; }
.now .station { max-width: 1240px; margin: 20px auto 0; padding: 18px; border-radius: 18px; background: rgba(10,10,24,.66); box-shadow: 0 0 0 1px var(--line) inset; }
.now .station-copy::before { display: none; }
.now .station-title { font-size: clamp(32px, 3vw, 46px); }

/* ---------- Releases: one capped row ---------- */
.releases { overflow: hidden; }
.rel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: 1240px; margin: 0 auto 36px; }
.rel-nav { display: flex; gap: 10px; flex: none; }
.rel-nav .round:disabled { opacity: .35; cursor: default; }
.releases.no-scroll .rel-nav { display: none; }
.rel-row { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 18px) / 6);
  column-gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rel-row::-webkit-scrollbar { display: none; }
.rel-row:focus-visible { outline: 2px solid var(--violet); outline-offset: 6px; }
.rel { scroll-snap-align: start; min-width: 0; }
.rel article { display: grid; gap: 4px; }
.rel-art { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1; margin-bottom: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 24px 60px -30px rgba(0,0,0,.9); }
.rel-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rel-art:hover img { transform: scale(1.04); }
.rel-new .rel-art { box-shadow: 0 0 0 1px rgba(34,230,255,.55), 0 0 50px -12px rgba(34,230,255,.5), 0 0 80px -30px rgba(255,43,214,.5); }
.rel-tag { position: absolute; left: 10px; top: 10px; padding: 5px 8px; border-radius: 6px; background: rgba(2,2,6,.8); font: 700 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.rel-title { margin: 0; font: 900 24px/.98 var(--display); text-transform: uppercase; }
.rel-title a { text-decoration: none; }
.rel-title a:hover { color: #fff; text-shadow: 0 0 18px rgba(34,230,255,.6); }
.rel-meta { margin: 2px 0 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .04em; color: var(--muted); }
.rel-actions { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.rel-play { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(34,230,255,.5);
  background: rgba(34,230,255,.08); color: var(--cyan); font: 700 13px/1 var(--body); cursor: pointer; }
.rel-play .play-icon { border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; }
.rel-go { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--text); }
.rel-go:hover { color: var(--cyan); }
.all-btn { margin: 34px auto 0; display: flex; width: max-content; }

/* ---------- Capped lists ---------- */
.ll.capped li:nth-child(n+5), .carry.capped li:nth-child(n+6) { display: none; }
.band#long-listen .all-btn { margin-top: 26px; }
.support-line { grid-column: 1 / -1; margin: 6px 0 0; color: var(--dim); font-size: 14px; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .rel-row { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
  .now-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .now-video { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .hero { padding: calc(var(--top-h) + 12vh) var(--pad) calc(40px + env(safe-area-inset-bottom)); min-height: 100svh; }
  .hero .mega { font-size: clamp(54px, 16.5vw, 86px); line-height: .9; }
  .hero .lede { font-size: 16.5px; margin-top: 16px; max-width: 30ch; text-wrap: balance; }
  .hero-actions { width: 100%; margin-top: 24px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; min-height: 52px; }
  .hero-pill { font-size: 13px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: 14px; }

  .now { padding: 64px var(--pad); }
  .now-head { margin-bottom: 26px; }
  .now .h2 { font-size: clamp(40px, 12vw, 60px); }
  .now-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .now-video { grid-column: auto; gap: 14px; }
  .now-play { width: 60px; height: 60px; }
  .now-album { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 14px; align-items: start; }
  .now-cover img { width: 92px; height: 92px; }
  .now-album .now-line { display: none; }
  .now-album .now-actions { grid-column: 1 / -1; }
  .now-album > div { display: contents; }
  .now-album .kicker { grid-column: 2; margin-top: 6px; }
  .now-album .now-title { grid-column: 2; font-size: 30px; }
  .now-album .now-actions .btn { flex: 1 1 auto; justify-content: center; min-height: 48px; }
  .now-mini { grid-template-columns: 128px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .now-mini-title { font-size: 22px; }
  .now .station { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 14px; }
  .now .station-copy .feature-line { display: none; }
  .now .station-title { font-size: 34px; }
  .now .feature-actions .btn { flex: 1 1 auto; justify-content: center; min-height: 48px; }

  .releases { padding: 64px 0; }
  .rel-head { padding: 0 var(--pad); margin-bottom: 22px; }
  .rel-head .h2 { font-size: clamp(40px, 12vw, 60px); }
  .rel-nav .round { width: 42px; height: 42px; }
  /* Swipe row: ~1.6 cards visible so the next one peeks in. */
  .rel-row { grid-auto-columns: 62%; column-gap: 14px; padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
  .rel-title { font-size: 22px; }
  .releases .all-btn { margin: 26px var(--pad) 0; width: auto; justify-content: center; min-height: 52px; }

  .band, .story, .letter { padding: 64px var(--pad); }
  .ll.capped li:nth-child(n+4) { display: none; }
  .carry.capped li:nth-child(n+5) { display: none; }
  .band#long-listen .all-btn { width: 100%; justify-content: center; }
  .doors a { padding: 16px 4px; }
  .doors .t { font-size: 30px; }
  .doors .d { font-size: 14px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div, .stats div + div { padding: 16px 0 6px; border-top: 1px solid var(--line); }
  .stats div:nth-child(-n+2) { border-top: 0; }
  .stats div:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--line); }
  .stats div:nth-child(even) { padding-left: 14px; }
  .stats dt { font-size: 10.5px; }
  .stats dd { font-size: clamp(30px, 9vw, 44px); }
  .story-copy .h2 { font-size: clamp(38px, 11vw, 56px); }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero { padding-top: calc(var(--top-h) + 16vh); }
  .hero .lede { display: none; }
}

/* Containment: nothing in the hero may widen the page on a phone. */
.hero { grid-template-columns: minmax(0, 1fr); }
.hero-inner { min-width: 0; }
.hero-inner > * { max-width: 100%; }
.hero-pill { min-width: 0; }
.hero-pill span { min-width: 0; }
.grain { inset: 0; }
.hero { overflow-x: clip; }
.hero-inner::before { inset: -10% -6% -14%; }
/* Hero headline: lit from above, a smooth white-to-silver fall-off (no hard chrome band). */
.hero .chrome-text { background: linear-gradient(180deg, #ffffff 0%, #f6f4ff 55%, #cfd3ea 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Polish (vision QA): tags sit low on the art, card text truncates cleanly, matched actions. */
.rel-tag { top: auto; bottom: 10px; }
.rel-title a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-go { min-height: 40px; padding: 0 14px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line-strong) inset; font-size: 13px; gap: 6px; }
.rel-go:hover { box-shadow: 0 0 0 1px var(--cyan) inset; }
.rel-actions { flex-wrap: nowrap; gap: 8px; }
.now-play { top: auto; bottom: 16px; left: 16px; right: auto; margin: 0; }
@media (max-width: 760px) {
  .rel-row { grid-auto-columns: 74%; }
  .rel-title { font-size: 21px; }
  .rel-head { align-items: end; }
  .rel-head .h2 { font-size: clamp(38px, 11vw, 54px); }
  .now-play { width: 52px; height: 52px; bottom: 12px; left: 12px; }
  .now-play::after { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
  .now-album { align-items: center; }
  .now-album .kicker { align-self: end; margin: 0; }
  .now-album .now-title { align-self: start; }
  .now-cover { grid-row: 1 / span 2; }
  .ll-go { width: 44px; height: 44px; }
  .ll-row { grid-template-columns: 64px minmax(0,1fr) 44px; }
  .releases { padding-bottom: 48px; }
}
/* The release row bleeds to the screen edge on phones (the section itself has no side padding). */
@media (max-width: 760px) { .band.releases { padding-left: 0; padding-right: 0; } }
/* Past the hero, the sky almost disappears so it never reads as a smear under the header. */
.past-hero .sky.is-live, .past-hero .sky-poster { opacity: .12; }
/* Room for the card glow inside the scroller (overflow-x forces vertical clipping). */
.rel-row { padding-top: 14px; padding-bottom: 14px; margin-top: -14px; margin-bottom: -14px; }
@media (min-width: 761px) { .rel-row { padding-left: 14px; padding-right: 14px; margin-left: auto; margin-right: auto; max-width: 1268px; scroll-padding: 0 14px; } }
/* Equal cards: long no-wrap titles must not widen their grid track. */
.rel article { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.rel article > * { min-width: 0; }
.rel-go { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1360px) { .rel-actions { flex-wrap: wrap; } }

.sky-poster, .sky.is-live, .past-hero .sky.is-live, .past-hero .sky-poster { opacity: var(--sky-o, 1); }
.sky { transition: opacity .6s cubic-bezier(.2,.8,.2,1); }
.now-actions .link, .now-mini .link { border-bottom: 0; padding-bottom: 0; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.now-actions .link:hover, .now-mini .link:hover { text-decoration-color: var(--cyan); }

/* Titles may take two lines (clamped) instead of being cut mid-word; desktop actions wrap. */
.rel-title a { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2em; }
@media (min-width: 761px) { .rel-actions { flex-wrap: wrap; } }

/* Throne Room Fire album launch: big on every screen */
.trf-launch { position: relative; z-index: 1; padding: clamp(56px, 9vh, 112px) var(--pad); border-top: 1px solid var(--line);
  background: radial-gradient(120% 80% at 50% 0%, rgba(139,92,246,.22), transparent 60%), radial-gradient(80% 60% at 85% 100%, rgba(255,43,214,.14), transparent 70%), rgba(2,2,6,.92); }
.trf-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.trf-art { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 1; box-shadow: 0 30px 80px -30px rgba(139,92,246,.6), 0 0 0 1px rgba(255,255,255,.08); }
.trf-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trf-title { margin: 14px 0 0; font: 900 clamp(48px, 7vw, 108px)/.88 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.trf-line { margin: 18px 0 0; max-width: 34ch; font-size: clamp(16px, 1.3vw, 19px); opacity: .86; }
.trf-count { margin: 18px 0 0; min-height: 1.2em; font: 700 13px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.trf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 760px) {
  .trf-launch { padding-top: 44px; padding-bottom: 52px; }
  .trf-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .trf-art { width: min(100%, 440px); margin: 0 auto; border-radius: 14px; }
  .trf-copy .eyebrow { justify-content: center; }
  .trf-title { font-size: clamp(46px, 14vw, 72px); }
  .trf-line { margin-left: auto; margin-right: auto; }
  .trf-actions .btn { flex: 1 1 100%; justify-content: center; min-height: 52px; }
}
@media (max-width: 760px) {
  .trf-inner { gap: 18px; }
  .trf-title { margin-top: 10px; }
  .trf-line { margin-top: 12px; font-size: 15.5px; }
  .trf-count { margin-top: 12px; font-size: 15px; }
  .trf-actions { margin-top: 18px; gap: 10px; }
}

/* Full album video showcase (Nov 6) */
.trf-art.trf-video{position:relative;aspect-ratio:16/9;padding:0;border:0;cursor:pointer;background:#000;width:100%}
.trf-video .trf-play{position:absolute;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:50%;background:rgba(5,5,10,.55);box-shadow:0 0 0 2px rgba(255,255,255,.85) inset,0 10px 40px -10px rgba(139,92,246,.8);transition:transform .2s ease}
.trf-video .trf-play::after{content:"";position:absolute;left:34px;top:26px;border-left:24px solid #fff;border-top:16px solid transparent;border-bottom:16px solid transparent}
.trf-video:hover .trf-play,.trf-video:focus-visible .trf-play{transform:scale(1.08)}
.trf-video .trf-badge{position:absolute;left:12px;bottom:12px;padding:7px 11px;border-radius:999px;background:rgba(5,5,10,.72);font:700 11px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:#fff}
@media (max-width:760px){.trf-art.trf-video{width:100%;border-radius:14px}.trf-video .trf-play{width:68px;height:68px;margin:-34px 0 0 -34px}.trf-video .trf-play::after{left:27px;top:20px;border-left-width:20px;border-top-width:14px;border-bottom-width:14px}}
