/* eMastered Studio campaign
   One signal moves through a cinematic hero, four chapter pairs, and a held close. */

:root {
  --canvas: #121317;
  --surface: #212428;
  --tertiary: #1f242f;
  --raised: #333741;
  --ink: #f5f5f6;
  --soft: #cecfd2;
  --muted: #94969c;
  --accent: #af0058;
  --accent-hover: #860043;
  --brand-edge: #ff1a8d;
  --brand-mid: #d8046e;
  --product-hover-palette: #a409ad, #d8046e, #0044ff, #a409ad;
  --signal-start: #ff003e;
  --signal-end: #a409ad;
  --font-display: "Montserrat", "Helvetica Neue", sans-serif;
  --font-body: "Inter", "Helvetica Neue", sans-serif;
  --container: 1280px;
  --gutter: 32px;
  --outer-radius: 24px;
  --screen-radius: 10px;
  --header-h: 72px;
  --signal-amp: 0.16;
  --signal-chroma: 0;
  --signal-lanes: 1;
  --signal-playhead: 0;

  --sc-canvas: var(--canvas);
  --sc-surface: var(--surface);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--soft);
  --sc-accent: var(--brand-edge);
  --sc-accent-ink: #ffffff;
  --sc-font-display: var(--font-display);
  --sc-font-text: var(--font-body);
  --sc-maxw: var(--container);
  --sc-gutter: var(--gutter);
  --sc-r-lg: var(--outer-radius);
}

/* Wheel inertia owns desktop scroll interpolation. Keep its frame writes
   instant so the engine's anchor-link smoothing cannot damp them a second time. */
html[data-scroll-inertia="enabled"] {
  scroll-behavior: auto;
}

/* Direct-fading chapter film and editorial broken grid */

.chapter-pair {
  --chapter-bg: #17191e;
  --chapter-ink: #f5f5f6;
  --chapter-soft: rgb(206 207 210 / 0.72);
  --chapter-line: rgb(255 255 255 / 0.14);
  --chapter-surface: #111318;
  position: relative;
  background: var(--chapter-bg);
}

.chapter-pair--mix {
  --chapter-bg: #17191e;
}

.chapter-pair--master {
  --chapter-bg: #15171c;
  --chapter-ink: #f5f5f6;
  --chapter-soft: rgb(206 207 210 / 0.72);
  --chapter-line: rgb(255 255 255 / 0.14);
  --chapter-surface: #111318;
}

.chapter-pair--release {
  --chapter-bg: #15171c;
}

.chapter-pair--promote {
  --chapter-bg: #121317;
}

.chapter-pair .act-transition,
.chapter-pair .transition-viewport {
  background: var(--chapter-bg);
}

.transition-viewport {
  position: fixed;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  will-change: visibility;
  animation: transition-viewport-pass 1s linear both paused;
  animation-delay: calc(var(--sc-vp, var(--sc-p, 0)) * -1s);
}

@keyframes transition-viewport-pass {
  0% {
    visibility: hidden;
  }

  0.01%,
  99.99% {
    visibility: visible;
  }

  100% {
    visibility: hidden;
  }
}

.chapter-pair .transition-grade {
  z-index: 2;
}

.chapter-pair .chapter-feature {
  position: relative;
  z-index: 5;
  display: block;
  min-height: 155vh;
  min-height: 155svh;
  margin-top: -78vh;
  margin-top: -78svh;
  padding-block: clamp(180px, 24svh, 260px) clamp(108px, 13svh, 168px);
  overflow: clip;
  color: var(--chapter-ink);
  background: transparent;
}

.chapter-feature .chapter-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto auto;
  gap: clamp(28px, 3.4vw, 58px) clamp(16px, 2.1vw, 34px);
  align-items: start;
  min-height: 0;
}

[data-chapter-content] > *:not([data-distribution-reveal]) {
  opacity: 1 !important;
}

[data-chapter-content] > [data-section-reveal] {
  opacity: 0 !important;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 620ms var(--sc-ease-out) var(--section-reveal-delay, 0ms),
    transform 620ms var(--sc-ease-out) var(--section-reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-chapter-content] > [data-section-reveal].is-visible {
  opacity: 1 !important;
  transform: none;
}

[data-rail-reveal],
[data-rail-reveal-group] > * {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 620ms var(--sc-ease-out) var(--section-reveal-delay, 0ms),
    transform 620ms var(--sc-ease-out) var(--section-reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-rail-reveal].is-visible,
[data-rail-reveal-group].is-visible > * {
  opacity: 1;
  transform: none;
}

.chapter-grid__title {
  grid-column: 1 / 5;
  grid-row: 1;
  margin: 0;
  color: var(--chapter-ink);
  font-family: var(--font-display);
  font-size: 88px !important;
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.78 !important;
  text-wrap: balance;
}

.chapter-grid__quote {
  grid-column: 1 / 7;
  grid-row: 2;
  max-width: 36ch;
  margin: 0;
  color: var(--brand-edge);
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-align: left;
  text-wrap: pretty;
}

.chapter-grid__headline {
  grid-column: 2 / 12;
  grid-row: 3;
  max-width: 21ch;
  margin: clamp(24px, 3vw, 46px) 0 clamp(18px, 2vw, 30px);
  color: var(--chapter-soft);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.chapter-grid__headline p {
  margin: 0;
}

[data-quote-fill]:not([data-quote-fill-ready="true"]) {
  color: transparent;
}

.quote-fill__visual {
  display: block;
}

.quote-fill__line {
  display: block;
}

.quote-fill__word {
  display: inline-block;
  white-space: nowrap;
}

.quote-fill__char {
  position: relative;
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 0;
}

.quote-fill__char::after {
  position: absolute;
  inset: 0;
  color: var(--chapter-soft);
  -webkit-text-stroke: 0;
  content: attr(data-quote-char);
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition:
    clip-path 320ms var(--sc-ease-out) var(--quote-fill-delay, 0ms),
    opacity 180ms linear var(--quote-fill-delay, 0ms);
  will-change: clip-path, opacity;
}

[data-quote-row].is-visible .quote-fill__char::after {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

.chapter-grid__visual {
  min-width: 0;
  margin: 0;
}

.chapter-grid__visual--1 {
  grid-column: 1 / 9;
  grid-row: 4;
}

.chapter-grid__visual--2 {
  grid-column: 9 / 13;
  grid-row: 4;
  align-self: end;
  margin-top: clamp(96px, 15vw, 220px);
}

.chapter-grid__visual--3 {
  grid-column: 3 / 8;
  grid-row: 5;
  margin-top: clamp(16px, 2vw, 32px);
}

@media (min-width: 901px) {
  .chapter-feature--release .chapter-grid__visual--2 {
    margin-top: clamp(18px, 2vw, 30px);
  }

  .chapter-feature--promote .chapter-grid__visual--1 {
    grid-column: 2 / 7;
  }

  .chapter-feature--promote .chapter-grid__visual--2 {
    grid-column: 8 / 11;
    align-self: start;
    margin-top: clamp(210px, 22vw, 340px);
  }

  .chapter-feature--promote .chapter-grid__visual--3 {
    grid-column: 4 / 9;
  }
}

.chapter-grid__visual .product-frame__glass {
  width: 100%;
  height: auto;
  padding: 0;
  border-color: var(--chapter-line);
  border-radius: clamp(14px, 1.6vw, 24px);
  background: var(--chapter-surface);
  box-shadow: 0 34px 86px rgb(0 0 0 / 0.26), inset 0 1px 0 rgb(255 255 255 / 0.1);
}

.chapter-grid__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  background: var(--chapter-surface);
  object-fit: contain;
}

.chapter-feature--promote .chapter-grid__visual--1 img {
  background: #000;
}

.chapter-grid__visual figcaption {
  margin-top: 12px;
  color: var(--chapter-soft);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chapter-grid__visual.is-stemify-detail .product-frame__glass,
.chapter-grid__visual.is-waveform .product-frame__glass,
.chapter-grid__visual.is-controls .product-frame__glass,
.chapter-grid__visual.is-release-detail .product-frame__glass,
.chapter-grid__visual.is-front-phone .product-frame__glass,
.chapter-grid__visual.is-rear-phone .product-frame__glass {
  aspect-ratio: 16 / 10;
}

.chapter-grid__visual.is-stemify-detail img,
.chapter-grid__visual.is-waveform img,
.chapter-grid__visual.is-controls img,
.chapter-grid__visual.is-release-detail img,
.chapter-grid__visual.is-front-phone img,
.chapter-grid__visual.is-rear-phone img {
  height: 100%;
  object-fit: cover;
}

.chapter-grid__visual.is-stemify-detail img {
  object-position: 72% center;
}

.chapter-grid__visual.is-waveform img {
  object-position: 78% 37%;
}

.chapter-grid__visual.is-controls img {
  object-position: 78% 84%;
}

.chapter-grid__visual.is-release-detail img {
  object-position: 55% 62%;
}

.chapter-grid__visual.is-front-phone img {
  object-position: 66% center;
}

.chapter-grid__visual.is-rear-phone img {
  object-position: 88% center;
}

.chapter-grid__description {
  grid-column: 9 / 13;
  grid-row: 5;
  align-self: start;
  max-width: 38ch;
  margin: clamp(8px, 1.25vw, 18px) 0 0;
  color: var(--chapter-soft);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.68;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .chapter-pair .chapter-feature {
    min-height: 0;
    margin-top: -16svh;
    padding-block: clamp(120px, 18svh, 172px) 96px;
    background: transparent;
  }

  .chapter-feature .chapter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 30px 18px;
  }

  .chapter-grid__title {
    grid-column: 1 / 5;
    grid-row: 1;
    font-size: clamp(48px, 9vw, 76px) !important;
  }

  .chapter-grid__quote {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .chapter-grid__headline {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    max-width: none;
    margin-top: 24px;
    font-size: clamp(36px, 7vw, 58px);
  }

  .chapter-grid__headline .quote-fill__visual {
    width: 100%;
  }

  .chapter-grid__headline .quote-fill__line {
    display: inline;
  }

  .chapter-grid__headline .quote-fill__line + .quote-fill__line::before {
    content: " ";
  }

  .chapter-grid__visual--1 {
    grid-column: 1 / 7;
    grid-row: 4;
  }

  .chapter-grid__visual--2 {
    grid-column: 3 / 7;
    grid-row: 5;
    margin-top: 0;
  }

  .chapter-grid__visual--2[data-sc-parallax],
  .chapter-grid__description[data-sc-parallax] {
    transform: none !important;
  }

  .chapter-grid__visual--3 {
    grid-column: 1 / 5;
    grid-row: 6;
    margin-top: -18px;
  }

  .chapter-grid__description {
    grid-column: 2 / 7;
    grid-row: 7;
    margin-top: 18px;
  }
}

@media (max-width: 620px) {
  .chapter-pair .chapter-feature {
    margin-top: -10svh;
    padding-block: 108px 82px;
    background: transparent;
  }

  .chapter-feature .chapter-grid {
    gap: 26px 12px;
  }

  .chapter-grid__title {
    grid-column: 1 / 6;
    font-size: 44px !important;
  }

  .chapter-grid__quote {
    grid-column: 1 / 7;
    font-size: clamp(19px, 6vw, 27px);
  }

  .chapter-grid__headline {
    max-width: 100%;
    font-size: clamp(32px, 8.5vw, 40px);
  }

  .chapter-grid__visual--2 {
    grid-column: 2 / 7;
  }

  .chapter-grid__visual--3 {
    grid-column: 1 / 6;
  }

  .chapter-grid__description {
    grid-column: 1 / 7;
  }
}

.sc-static .transition-viewport {
  position: absolute;
  opacity: 1;
  visibility: visible;
  animation: none;
}

.sc-static .transition-stage {
  overflow: hidden;
}

.sc-static .chapter-pair .chapter-feature {
  margin-top: 0;
  background: var(--chapter-bg);
}

@media (prefers-reduced-motion: reduce) {
  .chapter-pair .chapter-feature {
    margin-top: 0;
    background: var(--chapter-bg);
  }

  [data-chapter-content] > [data-section-reveal] {
    opacity: 1 !important;
    transform: none;
    transition: none;
  }

  [data-rail-reveal],
  [data-rail-reveal-group] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .quote-fill__char {
    color: var(--chapter-soft);
    -webkit-text-stroke: 0;
  }

  [data-quote-row] {
    opacity: 1;
  }

  .quote-fill__char::after {
    display: none;
  }

  .chapter-grid__visual {
    transform: none !important;
  }
}

html {
  background: var(--canvas);
  max-width: 100%;
  overflow-x: hidden;
  scroll-padding-top: var(--header-h);
}

body {
  position: relative;
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70vw 56vw at 86% -18%, rgb(175 0 88 / 0.14), transparent 64%),
    linear-gradient(180deg, #15161a, var(--canvas) 42%, #101115);
}

#app,
main {
  position: relative;
}

main {
  z-index: 1;
}

img,
video,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

::selection {
  background: var(--brand-edge);
  color: #fff;
}

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

noscript {
  display: block;
  min-height: 100svh;
  padding: 40px;
  background: var(--canvas);
  color: var(--ink);
}

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

.skip {
  position: fixed;
  z-index: 180;
  top: 10px;
  left: 14px;
  padding: 10px 15px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip:focus {
  transform: translateY(0);
}

[data-sc-progress] {
  position: fixed;
  z-index: 170;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--signal-start), var(--signal-end));
  transform: scaleX(0);
  transform-origin: left center;
}

.sc-grain {
  position: fixed;
  z-index: 150;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.section-shell {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--brand-edge);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.button-primary,
.button-secondary,
.campaign-bar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  --gx: 50%;
  --gy: 50%;
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 44px rgb(175 0 88 / 0.28);
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(140px circle at var(--gx) var(--gy), rgb(255 255 255 / 0.28), transparent 72%);
  transition: opacity 180ms ease;
}

.button-primary span {
  position: relative;
  z-index: 1;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-hover);
  box-shadow: 0 20px 54px rgb(175 0 88 / 0.42);
  transform: translateY(-2px);
}

.button-primary:hover::before,
.button-primary:focus-visible::before {
  opacity: 1;
}

/* Campaign chrome */

.campaign-bar {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  height: var(--header-h);
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: linear-gradient(180deg, rgb(8 9 12 / 0.9), rgb(8 9 12 / 0.58));
  backdrop-filter: blur(18px) saturate(120%);
}

.wordmark,
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.wordmark img,
.footer-wordmark img {
  width: auto;
  height: 23px;
  filter: brightness(0) invert(1);
}

.product-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.product-nav__link {
  position: relative;
  padding: 9px 11px;
  border-radius: 999px;
  color: rgb(206 207 210 / 0.62);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.product-nav__link:hover,
.product-nav__link:focus-visible,
.product-nav__link.is-current {
  color: var(--ink);
  background: rgb(255 255 255 / 0.06);
}

.product-nav__link.is-current::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-edge);
  box-shadow: 0 0 12px rgb(255 26 141 / 0.8);
  transform: translateX(-50%);
}

.campaign-bar__cta {
  min-height: 38px;
  padding-inline: 16px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 11px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.campaign-bar__cta:hover,
.campaign-bar__cta:focus-visible {
  background: var(--brand-edge);
  color: #fff;
  transform: translateY(-1px);
}

/* Persistent lifecycle signal */

.signal-rail {
  position: fixed;
  z-index: 105;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 16px;
  left: max(24px, calc((100vw - var(--container)) / 2));
  height: 66px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.9;
  border-top: 1px solid rgb(255 255 255 / 0.11);
  border-bottom: 1px solid rgb(255 255 255 / 0.045);
  background: linear-gradient(180deg, rgb(10 11 14 / 0.06), rgb(10 11 14 / 0.68));
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.signal-rail__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.signal-rail__guide {
  fill: none;
  stroke: rgb(245 245 246 / 0.11);
  stroke-width: 1;
}

.signal-rail__wave,
.signal-rail__lane {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 180ms ease;
}

.signal-rail__wave {
  stroke-width: 1.7;
  filter: drop-shadow(0 0 calc(3px + (var(--signal-chroma) * 7px)) rgb(216 4 110 / 0.54));
}

.signal-rail__lane {
  stroke-width: 1.2;
}

.signal-rail__playhead {
  stroke-width: 1;
  opacity: 0.78;
  filter: drop-shadow(0 0 5px rgb(255 26 141 / 0.64));
}

.signal-rail__node {
  fill: var(--brand-edge);
  stroke: rgb(245 245 246 / 0.8);
  stroke-width: 1;
}

.signal-rail__nodes {
  transition: opacity 180ms ease;
}

.signal-rail__caption,
.signal-rail__state-label {
  fill: rgb(245 245 246 / 0.62);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-rail__caption {
  font-size: 10px;
  transition: opacity 180ms ease;
}

:root[data-signal-state="visitor"] .signal-rail {
  bottom: 82px;
}

:root[data-signal-state="peak"] .signal-rail {
  visibility: hidden;
  opacity: 0;
}

/* Shared product imagery */

.product-frame {
  position: relative;
  min-width: 0;
}

.product-frame__glass {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --light-x: 18%;
  --light-y: 12%;
  position: relative;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: var(--outer-radius);
  background: var(--surface);
  box-shadow: 0 28px 68px rgb(0 0 0 / 0.32), inset 0 1px 0 rgb(255 255 255 / 0.1);
  transform: perspective(1500px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.product-frame__glass:not(.border-glow-card)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(420px 260px at var(--light-x) var(--light-y), rgb(255 255 255 / 0.12), transparent 66%);
  mix-blend-mode: screen;
}

.product-frame__glass:not(.border-glow-card):hover {
  border-color: rgb(255 26 141 / 0.34);
  box-shadow: 0 34px 86px rgb(0 0 0 / 0.42), inset 0 1px 0 rgb(255 255 255 / 0.12);
}

.product-frame img {
  width: 100%;
  height: 100%;
  border-radius: var(--screen-radius);
  background: #eef0f4;
  object-fit: contain;
}

.product-frame figcaption {
  margin-top: 12px;
  color: rgb(148 150 156 / 0.8);
  font-size: 11px;
}

/* React Bits BorderGlow, adapted to the native product-card renderer. */

@property --a {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@keyframes spin {
  to {
    --a: 360deg;
  }
}

.product-frame > .product-frame__glass.border-glow-card {
  --edge-proximity: 0;
  --a: 0deg;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --border-radius: 28px;
  --glow-padding: 40px;
  --glass-frame: 8px;
  --cone-spread: 25;
  --fill-opacity: 0.5;
  --card-bg: #120f17;
  --glow-color: hsl(40deg 80% 80% / 100%);
  --glow-color-60: hsl(40deg 80% 80% / 60%);
  --glow-color-50: hsl(40deg 80% 80% / 50%);
  --glow-color-40: hsl(40deg 80% 80% / 40%);
  --glow-color-30: hsl(40deg 80% 80% / 30%);
  --glow-color-20: hsl(40deg 80% 80% / 20%);
  --glow-color-10: hsl(40deg 80% 80% / 10%);
  --edge-glow-gradient: conic-gradient(from var(--a), var(--product-hover-palette));
  display: grid;
  box-sizing: border-box;
  isolation: isolate;
  overflow: visible;
  padding: var(--glass-frame);
  border: 0;
  border-radius: var(--border-radius);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.035) 46%, rgb(255 255 255 / 0.09)),
    rgb(18 15 23 / 0.72);
  box-shadow:
    0 30px 72px rgb(0 0 0 / 0.36),
    inset 0 0 0 1px rgb(255 255 255 / 0.16),
    inset 0 1px 0 rgb(255 255 255 / 0.18),
    inset 0 -1px 0 rgb(0 0 0 / 0.32);
  -webkit-backdrop-filter: blur(16px) saturate(1.24);
  backdrop-filter: blur(16px) saturate(1.24);
}

.border-glow-card::before,
.border-glow-card::after,
.border-glow-card > .border-glow-card__edge {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  box-sizing: border-box;
  transition: opacity 0.25s ease-out;
}

.border-glow-card:not(:hover)::before,
.border-glow-card:not(:hover)::after,
.border-glow-card:not(:hover) > .border-glow-card__edge {
  opacity: 0;
  transition: opacity 0.75s ease-in-out;
}

.border-glow-card::before {
  background: var(--edge-glow-gradient);
  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  -webkit-mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    #000 calc(var(--cone-spread) * 1%),
    transparent calc((var(--cone-spread) + 15) * 1%),
    transparent calc((100 - var(--cone-spread) - 15) * 1%),
    #000 calc((100 - var(--cone-spread)) * 1%)
  );
  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    #000 calc(var(--cone-spread) * 1%),
    transparent calc((var(--cone-spread) + 15) * 1%),
    transparent calc((100 - var(--cone-spread) - 15) * 1%),
    #000 calc((100 - var(--cone-spread)) * 1%)
  );
}

.border-glow-card::after {
  z-index: 0;
  background: var(--edge-glow-gradient) padding-box;
  opacity: calc(var(--fill-opacity) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mix-blend-mode: soft-light;
  -webkit-mask-image:
    linear-gradient(to bottom, #000, #000),
    radial-gradient(ellipse at 50% 50%, #000 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, #000 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, #000 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, #000 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, #000 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, #000 15%, #000 85%, transparent 95%);
  mask-image:
    linear-gradient(to bottom, #000, #000),
    radial-gradient(ellipse at 50% 50%, #000 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, #000 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, #000 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, #000 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, #000 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, #000 15%, #000 85%, transparent 95%);
  -webkit-mask-composite: xor, source-over, source-over, source-over, source-over, source-over;
  mask-composite: subtract, add, add, add, add, add;
}

.border-glow-card > .border-glow-card__edge {
  inset: calc(var(--glow-padding) * -1);
  z-index: 0;
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
  -webkit-mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    #000 2.5%,
    transparent 10%,
    transparent 90%,
    #000 97.5%
  );
  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    #000 2.5%,
    transparent 10%,
    transparent 90%,
    #000 97.5%
  );
}

.border-glow-card > .border-glow-card__edge::before,
.border-glow-card > .border-glow-card__edge::after {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  box-sizing: border-box;
  border-radius: inherit;
  background: var(--edge-glow-gradient);
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.border-glow-card > .border-glow-card__edge::before {
  padding: var(--glass-frame);
  opacity: 0.96;
  filter: blur(6px) saturate(1.45);
}

.border-glow-card > .border-glow-card__edge::after {
  padding: var(--glass-frame);
  box-shadow:
    inset 0 0 6px var(--glow-color-20),
    0 0 8px var(--glow-color-10);
  filter: saturate(1.18);
}

@media (hover: hover) and (pointer: fine) {
  .product-frame__glass.border-glow-card:hover {
    animation: spin 3s linear infinite;
  }
}

.border-glow-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: calc(var(--border-radius) - var(--glass-frame));
  background: var(--card-bg);
}

.chapter-grid__visual.is-stemify-detail .product-frame__glass.border-glow-card,
.chapter-grid__visual.is-waveform .product-frame__glass.border-glow-card,
.chapter-grid__visual.is-controls .product-frame__glass.border-glow-card,
.chapter-grid__visual.is-release-detail .product-frame__glass.border-glow-card,
.chapter-grid__visual.is-front-phone .product-frame__glass.border-glow-card,
.chapter-grid__visual.is-rear-phone .product-frame__glass.border-glow-card {
  aspect-ratio: auto;
}

.chapter-grid__visual.is-stemify-detail .border-glow-card__inner,
.chapter-grid__visual.is-waveform .border-glow-card__inner,
.chapter-grid__visual.is-controls .border-glow-card__inner,
.chapter-grid__visual.is-release-detail .border-glow-card__inner,
.chapter-grid__visual.is-front-phone .border-glow-card__inner,
.chapter-grid__visual.is-rear-phone .border-glow-card__inner {
  aspect-ratio: 16 / 10;
}

.product-frame__glass.border-glow-card .border-glow-card__inner > img {
  border-radius: inherit;
}

@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .product-frame__glass.border-glow-card {
    animation: none !important;
  }

  .border-glow-card::before,
  .border-glow-card::after,
  .border-glow-card > .border-glow-card__edge {
    opacity: 0 !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .border-glow-card::before,
  .border-glow-card::after,
  .border-glow-card > .border-glow-card__edge {
    display: none;
  }
}

/* Act I: full-bleed film plus live upload */

.hero-parallax-sequence {
  position: relative;
  background: #0d0e12;
}

.hero-media-fixed {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  background: #0d0e12;
}

.hero-parallax-sequence.is-media-active .hero-media-fixed {
  visibility: visible;
}

.hero-parallax-sequence > .act-hero {
  position: relative;
  z-index: 1;
}

.hero-parallax-sequence > .act-audition {
  position: relative;
  z-index: 4;
}

.act-hero,
.act-peak,
.act-transition,
.chapter-feature {
  position: relative;
}

.hero-stage,
.peak-stage {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  contain: paint;
}

.hero-stage {
  min-height: 720px;
  background: transparent;
}

.hero-poster,
.hero-film,
.peak-poster,
.peak-film,
.transition-poster,
.transition-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-focus-x, 50%) var(--media-focus-y, 50%);
}

.hero-poster,
.peak-poster,
.transition-poster {
  z-index: 0;
  opacity: 1;
  transition: opacity 360ms ease, object-position 280ms ease;
}

.hero-poster {
  filter: grayscale(0.35) brightness(0.68) contrast(1.08) blur(1px);
  transform: scale(1.03);
}

.hero-film,
.peak-film,
.transition-film {
  z-index: 1;
  opacity: 0;
  filter: saturate(0.62) contrast(1.05) brightness(0.68);
  transition: opacity 360ms ease, filter 500ms ease, object-position 280ms ease;
}

.hero-film {
  filter: saturate(0.82) contrast(1.05) brightness(0.88);
}

.sc-has-clip .hero-film,
.sc-has-clip .peak-film,
.sc-has-clip .transition-film {
  opacity: 1;
}

.sc-has-clip .hero-poster,
.sc-has-clip .peak-poster,
.sc-has-clip .transition-poster {
  opacity: 0;
}

[data-media-mode="poster"] .hero-film,
[data-media-mode="poster"] .peak-film,
[data-media-mode="poster"] .transition-film {
  display: none;
}

[data-media-mode="poster"] .hero-poster,
[data-media-mode="poster"] .peak-poster,
[data-media-mode="poster"] .transition-poster {
  opacity: 1;
}

.hero-scrim,
.peak-scrim {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgb(7 8 11 / 0.88) 0%, rgb(7 8 11 / 0.6) 38%, rgb(7 8 11 / 0.22) 68%, rgb(7 8 11 / 0.38) 100%),
    linear-gradient(0deg, rgb(7 8 11 / 0.64), transparent 48%);
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(470px, 1.12fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  height: 100%;
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 80px;
}

.hero-copy {
  align-self: center;
  max-width: 660px;
}

.hero-copy h1 {
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(54px, 5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero-deck {
  max-width: 600px;
  margin-top: 26px;
  color: rgb(206 207 210 / 0.8);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-copy .button-primary {
  margin-top: 30px;
}

.hero-upload-shell {
  width: min(100%, 590px);
  justify-self: end;
}

/* Act II: editorial A/B clarity */

.act-audition {
  position: relative;
  z-index: 4;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding-block: clamp(110px, 14vw, 190px);
  background: #f3f4f6;
  color: #111827;
}

.audition-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(560px, 1.38fr);
  align-items: center;
  gap: clamp(56px, 8vw, 124px);
}

.ab-copy .eyebrow {
  color: var(--accent);
}

.ab-copy h2 {
  max-width: 7ch;
  color: #111827;
  font-size: clamp(50px, 5.8vw, 84px);
  font-weight: 800;
}

.ab-copy > p:not(.eyebrow) {
  max-width: 440px;
  margin-top: 24px;
  color: #475467;
  font-size: 17px;
  line-height: 1.65;
}

.ab-legend {
  display: grid;
  grid-template-columns: auto minmax(52px, 1fr) auto;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  margin-top: 34px;
  color: #344054;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ab-legend i {
  height: 2px;
  background: linear-gradient(90deg, #94969c, var(--signal-start), var(--signal-end));
}

.act-audition .product-frame__glass {
  padding: 10px;
  border-color: rgb(17 24 39 / 0.12);
  background: #e9ebef;
  box-shadow: 0 30px 76px rgb(17 24 39 / 0.16), inset 0 1px 0 #fff;
}

.mastering-frame {
  align-self: center;
}

.mastering-frame .product-frame__glass {
  aspect-ratio: 1.47 / 1;
}

.mastering-frame figcaption {
  color: #667085;
}

/* Functional genre A/B instrument */

.genre-player {
  --demo-volume: 82%;
  --player-pad: clamp(18px, 2.4vw, 30px);
  --player-body-top: #1a1c21;
  --tab-recessed: #101217;
  width: 100%;
  overflow: hidden;
  padding: 0 var(--player-pad) var(--player-pad);
  border: 1px solid rgb(17 24 39 / 0.14);
  border-radius: var(--outer-radius);
  background: linear-gradient(145deg, #1a1c21 0%, #111318 100%);
  color: var(--ink);
  box-shadow: 0 32px 84px rgb(17 24 39 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.1);
}

.genre-player__header,
.genre-player__track-row,
.genre-player__volume {
  display: flex;
  align-items: center;
}

.genre-player__header {
  min-height: 64px;
  margin-inline: calc(var(--player-pad) * -1);
  background: var(--tab-recessed);
  border-bottom: 1px solid rgb(255 255 255 / 0.09);
}

.genre-player__tabs {
  display: grid;
  align-self: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
}

.genre-player__tab {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 100%;
  min-height: 64px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.09);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.025), transparent 72%), var(--tab-recessed);
  color: rgb(206 207 210 / 0.52);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.genre-player__tab:first-child {
  border-top-left-radius: calc(var(--outer-radius) - 1px);
}

.genre-player__tab:last-child {
  border-top-right-radius: calc(var(--outer-radius) - 1px);
}

.genre-player__tab + .genre-player__tab {
  border-left: 1px solid rgb(255 255 255 / 0.065);
}

.genre-player__tab::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -3px;
  left: -1px;
  height: 4px;
  background: var(--player-body-top);
  opacity: 0;
}

.genre-player__tab:not([aria-selected="true"]):hover {
  color: rgb(255 255 255 / 0.9);
  background: linear-gradient(180deg, #181a20 0%, #111318 100%);
}

.genre-player__tab[aria-selected="true"] {
  z-index: 2;
  border-bottom-color: var(--player-body-top);
  color: #fff;
  background: var(--player-body-top);
  box-shadow:
    inset 0 2px 0 var(--brand-edge),
    inset 1px 0 0 rgb(255 255 255 / 0.1),
    inset -1px 0 0 rgb(255 255 255 / 0.1),
    0 10px 22px rgb(0 0 0 / 0.14);
}

.genre-player__tab[aria-selected="true"]::after {
  opacity: 1;
}

.genre-player__tab:focus-visible {
  z-index: 1;
  outline: 2px solid #fff;
  outline-offset: -2px;
}

.genre-player__match {
  color: rgb(206 207 210 / 0.65);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.genre-player__track-row {
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
}

.genre-player__track-row strong {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.genre-player__track-meta {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  white-space: nowrap;
}

.genre-player__time {
  flex: 0 0 auto;
  color: rgb(206 207 210 / 0.58);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.genre-player__display {
  padding-block: 16px 20px;
}

.genre-player__wave-scrub {
  position: relative;
  width: 100%;
  height: clamp(92px, 10vw, 124px);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.055);
  border-radius: var(--screen-radius);
  background: #0b0c10;
  cursor: ew-resize;
  touch-action: pan-y;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.genre-player__wave-scrub:hover {
  border-color: rgb(255 255 255 / 0.18);
}

.genre-player__wave-scrub:focus-visible {
  border-color: transparent;
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: none;
}

.genre-player__wave {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.genre-player__transport {
  display: grid;
  grid-template-columns: 50px minmax(130px, 1fr) minmax(178px, 204px);
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
}

.genre-player__play {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.045);
  color: #fff;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.genre-player__play svg {
  width: 20px;
  height: 20px;
}

.genre-player__pause-icon {
  display: none;
}

.genre-player[data-playing="true"] .genre-player__play-icon {
  display: none;
}

.genre-player[data-playing="true"] .genre-player__pause-icon {
  display: inline;
}

.genre-player__play:hover,
.genre-player__play:focus-visible {
  border-color: var(--brand-edge);
  background: var(--accent);
  transform: translateY(-1px);
}

.genre-player__volume {
  min-width: 0;
  width: min(100%, 150px);
  justify-self: end;
  gap: 10px;
  color: rgb(206 207 210 / 0.66);
}

.genre-player__volume svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.genre-player__volume-slider {
  appearance: none;
  width: 100%;
  min-width: 80px;
  height: 20px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.genre-player__volume-slider::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5f5f6 0 var(--demo-volume), rgb(255 255 255 / 0.16) var(--demo-volume) 100%);
}

.genre-player__volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.38);
}

.genre-player__volume-slider::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
}

.genre-player__volume-slider::-moz-range-progress {
  height: 3px;
  border-radius: 999px;
  background: #f5f5f6;
}

.genre-player__volume-slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.38);
}

.genre-player__ab-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 42px;
  overflow: hidden;
  padding: 3px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.035);
  color: rgb(206 207 210 / 0.54);
  cursor: pointer;
  transition: border-color 160ms ease;
}

.genre-player__ab-switch::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: inherit;
  background: linear-gradient(110deg, var(--brand-edge), var(--signal-end));
  box-shadow: 0 8px 24px rgb(175 0 88 / 0.28);
  transform: translateX(0);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.genre-player__ab-switch[data-side="mastered"]::before {
  transform: translateX(100%);
}

.genre-player__ab-switch span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.genre-player__ab-switch[data-side="original"] span:first-child,
.genre-player__ab-switch[data-side="mastered"] span:last-child {
  color: #fff;
}

.genre-player__ab-switch:hover {
  border-color: rgb(255 255 255 / 0.32);
}

.genre-player__ab-switch:focus-visible {
  outline-color: #fff;
}

/* Four chapter transitions: a sticky progress proxy drives a viewport-fixed
   film plate; the plate never travels with document flow. */

.act-transition {
  height: 270vh;
  height: 270svh;
  overflow: visible;
  background: #090a0d;
}

.transition-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: visible;
  background: transparent;
  pointer-events: none;
}

.transition-media {
  position: absolute;
  inset: 0;
  opacity: 1;
  transform: scale(1.055);
  animation: transition-media-motion-pass 1s linear both paused;
  animation-delay: calc(var(--sc-vp, var(--sc-p, 0)) * -1s);
}

.transition-poster {
  filter: saturate(0.8) contrast(1.08) brightness(0.72);
}

.transition-film {
  opacity: 0;
  filter: saturate(0.9) contrast(1.08) brightness(0.78);
}

.act-transition:not(.sc-has-clip) .transition-poster,
.act-peak:not(.sc-has-clip) .transition-poster,
.act-transition.sc-has-clip .transition-film,
.act-peak.sc-has-clip .transition-film,
.act-transition .transition-film.sc-has-clip,
.act-peak .transition-film.sc-has-clip {
  will-change: opacity;
  animation: transition-media-opacity-pass 1s linear both paused;
  animation-delay: calc(var(--sc-vp, var(--sc-p, 0)) * -1s);
}

.act-transition.sc-has-clip .transition-poster,
.act-peak.sc-has-clip .transition-poster {
  opacity: 0;
  animation: none;
}

.transition-grade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(72% 64% at 8% 86%, rgb(6 7 10 / 0.84), transparent 68%),
    linear-gradient(0deg, rgb(6 7 10 / 0.58), transparent 46%);
  opacity: 0;
  animation: transition-grade-pass 1s linear both paused;
  animation-delay: calc(var(--sc-vp, var(--sc-p, 0)) * -1s);
}

.transition-title {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: clamp(92px, 13vh, 150px);
  left: 0;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  animation: transition-title-pass 1s linear both paused;
  /* Follow the frame the decoder has actually painted, not the scroll target.
     This keeps the chapter name behind the artist's emotional payoff even on
     a fast wheel or a decoder that needs an extra beat to resolve a seek. */
  animation-delay: calc(var(--sc-media-p, var(--sc-vp, var(--sc-p, 0))) * -1s);
}

.transition-title p {
  margin-bottom: 10px;
  color: rgb(245 245 246 / 0.66);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.transition-title h2 {
  color: var(--ink);
  font-size: clamp(72px, 11vw, 164px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-shadow: 0 18px 52px rgb(0 0 0 / 0.42);
}

.act-transition--mix .transition-media {
  --media-focus-x: 54%;
  --media-focus-y: 50%;
}

.act-transition--master .transition-media {
  --media-focus-x: 58%;
  --media-focus-y: 50%;
}

.act-transition--release .transition-media {
  --media-focus-x: 50%;
  --media-focus-y: 50%;
}

.act-transition--promote .transition-media {
  --media-focus-x: 48%;
  --media-focus-y: 50%;
}

@keyframes transition-media-motion-pass {
  0%,
  8% {
    transform: scale(1.055);
  }

  20%,
  56% {
    transform: scale(1.014);
  }

  78%,
  100% {
    transform: scale(1);
  }
}

@keyframes transition-media-opacity-pass {
  0%,
  8% {
    opacity: 0;
  }

  20%,
  72% {
    opacity: 1;
  }

  98%,
  100% {
    opacity: 0;
  }
}

@keyframes transition-grade-pass {
  0%,
  12%,
  98%,
  100% {
    opacity: 0;
  }

  24%,
  72% {
    opacity: 1;
  }
}

@keyframes transition-title-pass {
  0%,
  58% {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  66%,
  82% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  92%,
  100% {
    opacity: 0;
    transform: translate3d(0, -12px, 0);
  }
}

/* Product chapters */

.chapter-feature {
  display: grid;
  align-items: center;
  min-height: 84vh;
  min-height: 84svh;
  overflow: clip;
  padding-block: clamp(72px, 8vw, 112px);
}

.chapter-feature__inner {
  position: relative;
}

.chapter-feature h2 {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  line-height: 0.92;
}

.chapter-feature__copy > p,
.master-feature__copy > p,
.release-feature__copy > p,
.promote-feature__copy > p {
  max-width: 560px;
  margin-top: 24px;
  color: rgb(206 207 210 / 0.72);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  text-wrap: pretty;
}

.chapter-feature strong {
  font-family: var(--font-display);
}

.chapter-feature--mix {
  background:
    radial-gradient(48vw 36vw at 88% 84%, rgb(175 0 88 / 0.15), transparent 72%),
    #17191e;
}

.chapter-feature--mix .chapter-feature__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(560px, 0.72fr);
  align-items: center;
  gap: clamp(52px, 7vw, 112px);
}

.chapter-products {
  padding: 0;
  margin-top: 36px;
  list-style: none;
}

.chapter-products li {
  display: grid;
  grid-template-columns: minmax(92px, 0.36fr) 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.chapter-products li:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.chapter-products strong {
  color: var(--ink);
  font-size: 13px;
}

.chapter-products span {
  color: rgb(206 207 210 / 0.58);
  font-size: 12px;
}

.chapter-products li.is-signal-active strong {
  color: var(--brand-edge);
}

.mix-proof {
  position: relative;
  min-width: 0;
  height: clamp(470px, 55vw, 650px);
}

.mix-proof .product-frame {
  position: absolute;
}

.mix-proof__stemify {
  top: 0;
  right: 0;
  width: 92%;
  height: 68%;
}

.mix-proof__atom {
  bottom: 0;
  left: 0;
  width: 61%;
  height: 43%;
  z-index: 2;
}

.mix-proof .product-frame__glass,
.master-feature__proof .product-frame__glass,
.release-feature__proof .product-frame__glass,
.promote-feature__proof .product-frame__glass {
  width: 100%;
  height: 100%;
  padding: 6px;
  border-radius: 18px;
}

.mix-proof img,
.master-feature__proof img,
.release-feature__proof img,
.promote-feature__proof img {
  background: #111318;
  object-fit: cover;
}

.mix-proof__stemify img {
  object-position: center;
}

.mix-proof__atom img {
  object-position: center 22%;
}

.chapter-feature--master {
  min-height: 92vh;
  min-height: 92svh;
  background: #f3f4f6;
  color: #111827;
}

.chapter-feature--master .chapter-feature__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.4fr) minmax(560px, 0.72fr);
  align-items: center;
  gap: clamp(52px, 7vw, 112px);
}

.master-feature__copy {
  max-width: 460px;
}

.master-feature__copy h2 {
  max-width: 11ch;
  color: #111827;
}

.master-feature__copy > p {
  color: #475467;
}

.master-feature__copy > strong {
  display: inline-block;
  margin-top: 26px;
  color: var(--accent);
  font-size: 12px;
}

.master-feature__proof {
  width: 100%;
  height: auto;
  aspect-ratio: 1040 / 600;
}

.master-feature__proof .product-frame__glass {
  border-color: rgb(17 24 39 / 0.12);
  background: #e7e9ed;
  box-shadow: 0 28px 70px rgb(17 24 39 / 0.16), inset 0 1px 0 #fff;
}

.master-feature__proof img {
  object-position: center;
}

.chapter-feature--release {
  background: var(--tertiary);
}

.chapter-feature--release .chapter-feature__inner {
  display: grid;
  grid-template-columns: minmax(560px, 1.15fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 0;
}

.release-feature__proof {
  width: 100%;
  height: clamp(450px, 62vh, 620px);
}

.release-feature__proof img {
  object-position: center 10%;
}

.release-feature__copy {
  position: relative;
  z-index: 2;
  margin-left: clamp(-104px, -7vw, -64px);
  padding: clamp(38px, 5vw, 68px) 0 clamp(38px, 5vw, 68px) clamp(38px, 5vw, 68px);
  border-top: 1px solid rgb(255 255 255 / 0.14);
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
  background: linear-gradient(90deg, #15171c 0 86%, transparent);
}

.release-feature__copy h2 {
  max-width: 8ch;
}

.release-feature__copy > strong,
.promote-feature__copy > strong {
  display: inline-block;
  margin-top: 26px;
  color: var(--brand-edge);
  font-size: 12px;
}

.chapter-feature--promote {
  min-height: 88vh;
  min-height: 88svh;
  background:
    radial-gradient(50vw 44vw at 94% 42%, rgb(164 9 173 / 0.13), transparent 72%),
    #121317;
}

.chapter-feature--promote .chapter-feature__inner {
  min-height: clamp(540px, 68vh, 680px);
}

.promote-feature__copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 0;
  width: min(580px, 48%);
  padding: 44px 46px 44px 0;
  background: linear-gradient(90deg, #121317 0 82%, transparent);
  translate: 0 -50%;
}

.promote-feature__copy h2 {
  max-width: 9ch;
}

.promote-feature__proof {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
}

.linkbio-frame {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: clamp(22px, 2.4vw, 36px);
  background: #eef0f5;
  box-shadow: 0 34px 84px rgb(0 0 0 / 0.46), inset 0 1px 0 rgb(255 255 255 / 0.42);
}

.linkbio-frame img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #eef0f5;
  object-fit: cover;
  object-position: right center;
}

/* Final act: the finished-listen film dissolves into the Studio aperture. */

.act-peak {
  background: #090a0d;
}

.peak-viewport {
  background: #090a0d;
}

.act-peak .peak-viewport {
  animation-name: peak-viewport-pass;
}

.act-peak .peak-media {
  animation-name: peak-media-motion-pass;
}

.act-peak:not(.sc-has-clip) .peak-poster,
.act-peak.sc-has-clip .peak-film,
.act-peak .peak-film.sc-has-clip {
  animation-name: peak-media-opacity-pass;
}

.peak-stage {
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

.peak-finale {
  position: fixed;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  animation: peak-finale-visibility-pass 1s linear both paused;
  animation-delay: calc(var(--sc-vp, var(--sc-p, 0)) * -1s);
}

.peak-scrim {
  background:
    radial-gradient(ellipse at 58% 43%, transparent 18%, rgb(9 10 13 / 0.3) 54%, rgb(9 10 13 / 0.86) 100%),
    linear-gradient(0deg, rgb(9 10 13 / 0.88), transparent 52%);
  animation-name: peak-grade-pass;
}

.peak-aperture {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgb(175 0 88 / 0.17), transparent 35%);
  opacity: 0;
  pointer-events: none;
  animation: peak-aperture-field-pass 1s linear both paused;
  animation-delay: calc(var(--sc-vp, var(--sc-p, 0)) * -1s);
}

.peak-aperture__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.04);
  pointer-events: none;
  will-change: transform, opacity;
  animation: peak-aperture-ring-pass 1s linear both paused;
  animation-delay: calc((var(--sc-vp, var(--sc-p, 0)) * -1s) + var(--aperture-delay, 0s));
}

.peak-aperture__ring--outer {
  --aperture-delay: 0.016s;
  width: 120vmax;
  border-color: rgb(255 255 255 / 0.06);
}

.peak-aperture__ring--middle {
  --aperture-delay: 0.008s;
  width: min(92vmin, 1080px);
  border-color: rgb(255 255 255 / 0.095);
}

.peak-aperture__ring--inner {
  width: min(58vmin, 680px);
  border-color: rgb(255 255 255 / 0.15);
}

.peak-close-copy {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  width: min(1040px, calc(100% - 64px));
  opacity: 0;
  visibility: hidden;
  text-align: center;
  translate: -50% -50%;
  transform: translate3d(0, 34px, 0) scale(0.985);
  will-change: transform, opacity;
  animation: peak-close-copy-pass 1s linear both paused;
  animation-delay: calc(var(--sc-vp, var(--sc-p, 0)) * -1s);
}

.peak-close-copy .eyebrow {
  color: var(--ink);
  opacity: 0.72;
}

.peak-close-copy h2 {
  color: var(--ink);
  font-size: clamp(68px, 10vw, 148px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.87;
  text-shadow: 0 18px 60px rgb(0 0 0 / 0.42);
}

.peak-close-copy .button-primary {
  margin-top: 38px;
  pointer-events: auto;
}

.act-peak .site-footer {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 12px, 0);
  pointer-events: auto;
  animation: peak-footer-pass 1s linear both paused;
  animation-delay: calc(var(--sc-vp, var(--sc-p, 0)) * -1s);
}

@keyframes peak-finale-visibility-pass {
  0%,
  71.99% {
    visibility: hidden;
  }

  72%,
  100% {
    visibility: visible;
  }
}

@keyframes peak-viewport-pass {
  0% {
    visibility: hidden;
  }

  0.01%,
  100% {
    visibility: visible;
  }
}

@keyframes peak-media-motion-pass {
  0%,
  8% {
    transform: scale(1.055);
  }

  20%,
  100% {
    transform: scale(1.014);
  }
}

@keyframes peak-media-opacity-pass {
  0%,
  8% {
    opacity: 0;
  }

  20%,
  62% {
    opacity: 1;
  }

  72% {
    opacity: 0.5;
  }

  82%,
  100% {
    opacity: 0;
  }
}

@keyframes peak-grade-pass {
  0%,
  12%,
  82%,
  100% {
    opacity: 0;
  }

  24%,
  62% {
    opacity: 1;
  }
}

@keyframes peak-aperture-field-pass {
  0%,
  72% {
    opacity: 0;
  }

  82%,
  100% {
    opacity: 1;
  }
}

@keyframes peak-aperture-ring-pass {
  0%,
  72% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.04);
  }

  76% {
    opacity: 0.42;
    transform: translate3d(-50%, -50%, 0) scale(0.5);
  }

  80.4%,
  100% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
}

@keyframes peak-close-copy-pass {
  0%,
  86.99% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 28px, 0) scale(0.88);
  }

  87% {
    opacity: 0;
    visibility: visible;
    transform: translate3d(0, 28px, 0) scale(0.88);
  }

  92% {
    opacity: 0.16;
    visibility: visible;
    transform: translate3d(0, 19px, 0) scale(0.925);
  }

  97% {
    opacity: 0.7;
    visibility: visible;
    transform: translate3d(0, 6px, 0) scale(0.982);
  }

  99.8%,
  100% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes peak-footer-pass {
  0%,
  95% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 12px, 0);
  }

  95.01% {
    visibility: visible;
  }

  99.8%,
  100% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
}

.site-footer {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  width: 100%;
  height: var(--header-h);
  min-height: var(--header-h);
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
  border-top: 1px solid rgb(255 255 255 / 0.12);
  background:
    linear-gradient(0deg, rgb(8 9 12 / 0.98), rgb(8 9 12 / 0.9)),
    #08090c;
  backdrop-filter: blur(18px) saturate(120%);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer-link {
  color: rgb(206 207 210 / 0.6);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-link:hover,
.footer-link:focus-visible,
.footer-link.is-current {
  color: var(--ink);
}

.site-footer > p {
  color: rgb(148 150 156 / 0.7);
  font-size: 10px;
}

/* Responsive */

@media (max-width: 1120px) {
  :root {
    --gutter: 24px;
  }

  .product-nav__link {
    padding-inline: 8px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(430px, 1.18fr);
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(50px, 6.4vw, 76px);
  }

  .audition-grid {
    grid-template-columns: minmax(250px, 0.56fr) minmax(500px, 1.44fr);
    gap: 48px;
  }

  .chapter-feature--mix .chapter-feature__inner {
    grid-template-columns: minmax(260px, 0.4fr) minmax(520px, 0.6fr);
    gap: 44px;
  }

  .promote-feature__copy {
    width: min(500px, 46%);
  }
}

@media (max-width: 960px) {
  .chapter-feature--master .chapter-feature__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .master-feature__copy {
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .act-hero {
    --hero-mobile-foreground-shift: 0px;
  }

  .product-nav {
    display: none;
  }

  .campaign-bar {
    grid-template-columns: 1fr auto;
  }

  .hero-stage {
    height: auto;
    min-height: calc(1000px + var(--hero-mobile-foreground-shift));
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 28px;
    height: auto;
    min-height: calc(1000px + var(--hero-mobile-foreground-shift));
    padding-top: calc(var(--header-h) + 36px + var(--hero-mobile-foreground-shift));
    padding-bottom: 96px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(48px, 9vw, 76px);
  }

  .hero-deck {
    max-width: 570px;
    margin-top: 18px;
  }

  .hero-copy .button-primary {
    margin-top: 22px;
  }

  .hero-upload-shell {
    width: min(100%, 620px);
    justify-self: center;
  }

  .hero-upload-shell .widget {
    min-height: 392px;
  }

  .hero-upload-shell .widget-bay {
    min-height: 220px;
  }

  .audition-grid {
    grid-template-columns: 1fr;
  }

  .audition-grid {
    gap: 56px;
  }

  .ab-copy h2 {
    max-width: 12ch;
  }

  .chapter-feature--mix .chapter-feature__inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .chapter-feature__copy {
    max-width: 680px;
  }

  .mix-proof {
    width: min(100%, 760px);
    justify-self: end;
  }

  .chapter-feature--release .chapter-feature__inner {
    grid-template-columns: 1fr;
  }

  .chapter-feature--master .chapter-feature__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .master-feature__copy {
    max-width: 680px;
  }

  .release-feature__proof {
    width: min(100%, 760px);
  }

  .release-feature__copy {
    width: min(620px, calc(100% - 48px));
    margin: -72px 0 0 auto;
    padding-right: 28px;
    background: #15171c;
  }

  .promote-feature__copy {
    width: min(480px, 52%);
  }

}

/* Settled fallback for Save-Data, slow connections, or a missing motion runtime.
   The media policy removes video URLs in these states, so the page must expose
   the resolved poster narrative without depending on ScrollCraft variables. */
.sc-static .sc-grain,
.sc-static .hero-film,
.sc-static .peak-film,
.sc-static .transition-film {
  display: none !important;
}

.sc-static .hero-poster,
.sc-static .peak-poster,
.sc-static .transition-poster {
  opacity: 1 !important;
}

.sc-static .act-hero.sc-act--pinned,
.sc-static .act-transition.sc-act--pinned,
.sc-static .act-peak.sc-act--pinned {
  height: auto !important;
}

.sc-static .hero-stage,
.sc-static .peak-stage {
  position: relative !important;
  top: auto !important;
}

.sc-static .hero-media-fixed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  visibility: visible;
}

.sc-static .act-transition {
  height: auto;
  min-height: 0;
}

.sc-static .transition-stage {
  position: relative;
  top: auto;
  height: min(62svh, 620px);
}

.sc-static .transition-media,
.sc-static .transition-grade,
.sc-static .transition-title {
  opacity: 1;
  animation: none !important;
  transform: none;
}

.sc-static [data-sc-cue],
.sc-static [data-sc-in],
.sc-static [data-sc-stagger] > * {
  opacity: 1 !important;
  transform: none !important;
}

.sc-static .peak-viewport {
  visibility: hidden !important;
  opacity: 0 !important;
}

.sc-static .peak-finale {
  position: absolute;
  visibility: visible !important;
  animation: none !important;
}

.sc-static .peak-aperture,
.sc-static .peak-close-copy,
.sc-static .act-peak .site-footer {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
}

.sc-static .peak-aperture__ring {
  opacity: 1 !important;
  animation: none !important;
  transform: translate3d(-50%, -50%, 0) scale(1) !important;
}

/* Compact layout still uses the live media engine. Poster-only behavior is
   controlled by `.sc-static`, which is reserved for accessibility, data-saving,
   slow-network, and runtime-failure fallbacks. Keeping those concerns separate
   prevents mobile CSS from hiding a video that JavaScript has successfully
   loaded and painted. */
@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }

  .hero-media-fixed {
    --media-focus-x: var(--hero-focus-tablet-x, 55%);
    --media-focus-y: 30%;
  }

  .act-transition--mix .transition-media {
    --media-focus-x: 66%;
    --media-focus-y: 20%;
  }

  .act-transition--master .transition-media {
    --media-focus-x: 58%;
    --media-focus-y: 30%;
  }

  .act-transition--release .transition-media {
    --media-focus-x: 33%;
    --media-focus-y: 18%;
  }

  .act-transition--promote .transition-media {
    --media-focus-x: 78%;
    --media-focus-y: 28%;
  }

  .act-peak .peak-media {
    --media-focus-x: 71%;
    --media-focus-y: 30%;
  }

  .signal-rail {
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 28px;
  }

  :root[data-signal-state="preview"] .signal-rail {
    visibility: hidden;
    opacity: 0;
  }

  .signal-rail__caption,
  .signal-rail__state-label,
  .signal-rail__nodes {
    display: none;
  }

  .transition-title {
    bottom: 58px;
  }

  .chapter-feature {
    min-height: 0;
    padding-block: 82px;
  }

  .chapter-feature--master,
  .chapter-feature--promote {
    min-height: 0;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer nav {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 18px;
  }

  .hero-media-fixed {
    --media-focus-x: var(--hero-focus-phone-x, 54%);
  }

  .act-transition--mix .transition-media {
    --media-focus-x: 63%;
  }

  .act-transition--master .transition-media {
    --media-focus-x: 57%;
  }

  .act-transition--release .transition-media {
    --media-focus-x: 36%;
  }

  .act-transition--promote .transition-media {
    --media-focus-x: 72%;
  }

  .act-peak .peak-media {
    --media-focus-x: 66%;
  }

  .campaign-bar {
    padding-inline: 18px;
  }

  .campaign-bar__cta {
    min-height: 36px;
    padding-inline: 13px;
    font-size: 10px;
  }

  .wordmark img,
  .footer-wordmark img {
    height: 20px;
  }

  .hero-stage {
    min-height: calc(920px + var(--hero-mobile-foreground-shift));
    height: auto;
  }

  .hero-layout {
    height: auto;
    min-height: calc(920px + var(--hero-mobile-foreground-shift));
    padding-top: calc(104px + var(--hero-mobile-foreground-shift));
    padding-bottom: 88px;
  }

  .hero-copy h1 {
    max-width: 11.5ch;
    font-size: clamp(43px, 13.2vw, 66px);
  }

  .hero-deck {
    font-size: 15px;
  }

  .hero-copy .button-primary {
    width: 100%;
  }

  .act-audition {
    padding-block: 94px;
  }

  .genre-player {
    --player-pad: 18px;
    padding: 0 var(--player-pad) var(--player-pad);
    border-radius: 24px;
  }

  .genre-player__header {
    align-items: stretch;
    min-height: 56px;
  }

  .genre-player__tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .genre-player__tab {
    min-height: 56px;
    padding-inline: 6px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .genre-player__track-row strong {
    font-size: 19px;
  }

  .genre-player__track-meta {
    gap: 4px;
  }

  .genre-player__wave-scrub {
    height: 96px;
  }

  .genre-player__transport {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
  }

  .genre-player__ab-switch {
    grid-column: 1 / -1;
  }

  .genre-player__volume {
    width: min(100%, 150px);
    justify-self: end;
  }

  .ab-copy h2 {
    font-size: 44px;
  }

  .ab-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .mastering-frame .product-frame__glass {
    aspect-ratio: auto;
  }

  .product-frame__glass {
    padding: 5px;
    border-radius: 18px;
    transform: none !important;
  }

  .product-frame img {
    border-radius: 8px;
  }

  .transition-stage {
    height: clamp(360px, 54svh, 500px);
  }

  .transition-title {
    bottom: 48px;
  }

  .transition-title h2 {
    font-size: clamp(58px, 20vw, 96px);
  }

  .chapter-feature {
    padding-block: 72px;
  }

  .chapter-feature h2 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .chapter-products li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mix-proof {
    height: 430px;
  }

  .mix-proof__stemify {
    width: 100%;
    height: 64%;
  }

  .mix-proof__atom {
    width: 68%;
    height: 42%;
  }

  .master-feature__copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .master-feature__copy > strong {
    grid-column: 1;
    margin-top: 0;
  }

  .master-feature__proof {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .release-feature__proof {
    height: 390px;
  }

  .release-feature__copy {
    width: calc(100% - 18px);
    margin-top: -42px;
    padding: 34px 24px;
  }

  .chapter-feature--promote .chapter-feature__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .promote-feature__copy,
  .promote-feature__proof {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
  }

  .promote-feature__copy {
    order: 1;
    padding: 0 0 34px;
    background: none;
    translate: none;
    transform: none;
  }

  .promote-feature__proof {
    order: 2;
    height: 430px;
  }

  .peak-stage {
    height: 100svh;
    min-height: 680px;
  }

  .peak-close-copy {
    width: calc(100% - 36px);
  }

  .peak-close-copy h2 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .peak-close-copy .button-primary {
    width: min(100%, 340px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer > p {
    display: none;
  }
}

@media (max-width: 900px) and (max-height: 650px) {
  .hero-layout {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .sc-grain,
  .hero-film,
  .peak-film,
  .transition-film {
    display: none !important;
  }

  .hero-poster,
  .peak-poster,
  .transition-poster {
    opacity: 1 !important;
  }

  .act-hero.sc-act--pinned,
  .act-transition.sc-act--pinned,
  .act-peak.sc-act--pinned {
    height: auto !important;
  }

  .hero-stage,
  .peak-stage {
    position: relative !important;
    top: auto !important;
  }

  .act-transition {
    height: auto;
  }

  .transition-stage {
    position: relative;
    top: auto;
    height: min(62svh, 620px);
    overflow: hidden;
  }

  .transition-viewport {
    position: absolute;
    opacity: 1;
    visibility: visible;
    animation: none !important;
  }

  .transition-media,
  .transition-poster,
  .transition-film,
  .transition-grade,
  .transition-title {
    opacity: 1;
    animation: none !important;
    transform: none;
  }

  .act-peak .peak-viewport {
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .peak-finale {
    position: absolute;
    visibility: visible !important;
    animation: none !important;
  }

  .peak-aperture,
  .peak-close-copy,
  .act-peak .site-footer {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transform: none !important;
  }

  .peak-aperture__ring {
    opacity: 1 !important;
    animation: none !important;
    transform: translate3d(-50%, -50%, 0) scale(1) !important;
  }

  [data-sc-cue],
  [data-sc-in],
  [data-sc-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .product-frame__glass {
    transform: none !important;
  }
}

/* Keep the shared broken grid authoritative over the retired chapter variants. */
.chapter-feature .chapter-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto auto;
  gap: clamp(28px, 3.4vw, 58px) clamp(16px, 2.1vw, 34px);
  align-items: start;
  min-height: 0;
}

@media (max-width: 900px) {
  .chapter-feature .chapter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 30px 18px;
  }
}

@media (max-width: 620px) {
  .chapter-feature .chapter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 26px 12px;
  }
}
