/* Homepage-only cinematic treatment. The established artwork, audio engine and site shell remain intact. */
.home-cinematic {
  background:
    radial-gradient(circle at 78% 12%, rgba(142, 7, 24, .13), transparent 32rem),
    var(--ink);
}

.home-cinematic .hero {
  background: #030303;
  border-bottom: 1px solid rgba(255, 254, 250, .14);
  isolation: isolate;
  min-height: clamp(48rem, calc(100svh - 4.8rem), 64rem);
  overflow: hidden;
}

.home-cinematic .hero-art {
  background:
    radial-gradient(ellipse at 74% 38%, rgba(223, 16, 39, .18), transparent 42%),
    linear-gradient(115deg, #030303 4%, #090708 52%, #020202 100%);
  inset: 0;
  overflow: hidden;
}

.home-cinematic .hero-art::before,
.home-cinematic .hero-art::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.home-cinematic .hero-art::before {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, .94) 0%, rgba(3, 3, 3, .55) 36%, transparent 72%),
    linear-gradient(0deg, #030303 0%, transparent 30%, rgba(3, 3, 3, .2) 74%, #030303 100%),
    radial-gradient(ellipse at 72% 42%, transparent 20%, rgba(0, 0, 0, .57) 74%);
  z-index: 2;
}

.home-cinematic .hero-art::after {
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.44'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: .13;
  z-index: 4;
}

.home-cinematic .hero-grid {
  background-image:
    linear-gradient(rgba(255, 254, 250, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 254, 250, .07) 1px, transparent 1px);
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .5) 42%, transparent 82%);
  opacity: .28;
  z-index: 3;
}

.home-cinematic .hero-artwork {
  filter: brightness(.67) contrast(1.22) saturate(.82);
  margin-top: 3.8rem;
  max-width: none;
  transform: scale(1.035);
  transform-origin: 66% 38%;
  width: 100%;
}

.home-cinematic .hero .container {
  align-items: end;
  min-height: inherit;
  padding-bottom: clamp(4.75rem, 9vw, 8rem);
  padding-top: clamp(20rem, 56vw, 43rem);
  z-index: 6;
}

.home-cinematic .hero-copy {
  max-width: 49rem;
  padding: clamp(1.25rem, 3vw, 2.2rem) clamp(1rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.35rem) 0;
  position: relative;
}

.home-cinematic .hero-copy::before {
  background: linear-gradient(90deg, var(--acid), rgba(223, 16, 39, .08));
  box-shadow: 0 0 2rem rgba(223, 16, 39, .45);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.home-cinematic .hero .eyebrow {
  color: var(--paper);
  text-shadow: 0 0 1.4rem rgba(223, 16, 39, .9);
}

.home-cinematic .hero .display {
  filter: drop-shadow(0 .18rem .1rem rgba(0, 0, 0, .75));
  max-width: 8.6ch;
  text-shadow: .035em .035em 0 rgba(223, 16, 39, .55);
}

.home-cinematic .hero .lede {
  color: rgba(255, 254, 250, .82);
  margin-left: 0;
  max-width: 34rem;
  text-shadow: 0 .12rem .8rem #000;
}

.home-cinematic .hero-stamp {
  color: rgba(255, 254, 250, .72);
  z-index: 7;
}

.home-cinematic .home-video-section {
  background:
    linear-gradient(180deg, #030303, transparent 9rem),
    radial-gradient(circle at 82% 26%, rgba(142, 7, 24, .19), transparent 30rem);
  border-bottom: 1px solid var(--line);
  padding-top: clamp(4.5rem, 9vw, 7.5rem);
}

.home-cinematic .home-video-intro {
  align-items: end;
  display: grid;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2rem, 5vw, 3.8rem);
}

.home-cinematic .home-video-intro > p {
  color: var(--muted);
  margin: 0;
  max-width: 34rem;
}

.home-cinematic .home-video-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.8rem); }

.home-cinematic .home-video-slot {
  background: linear-gradient(145deg, #101010, #050505 66%, #1d0308);
  border: 1px solid rgba(255, 254, 250, .2);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .34);
  min-width: 0;
  overflow: hidden;
}

.home-cinematic .home-video-frame {
  align-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(rgba(255, 254, 250, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 254, 250, .035) 1px, transparent 1px),
    radial-gradient(circle at 65% 38%, rgba(223, 16, 39, .18), transparent 38%),
    #050505;
  background-size: 2.4rem 2.4rem, 2.4rem 2.4rem, auto, auto;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.home-cinematic .home-video-frame::before {
  border: 1px solid rgba(255, 254, 250, .16);
  content: "";
  inset: clamp(.65rem, 1.6vw, 1.2rem);
  pointer-events: none;
  position: absolute;
}

.home-cinematic .home-video-index {
  color: rgba(223, 16, 39, .44);
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 900;
  left: clamp(1rem, 3vw, 2.2rem);
  letter-spacing: -.1em;
  line-height: .72;
  position: absolute;
  top: clamp(1rem, 3vw, 2.2rem);
}

.home-cinematic .home-video-state {
  border: 1px solid rgba(255, 254, 250, .48);
  color: var(--paper);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
  padding: .8rem 1rem;
  position: relative;
  text-transform: uppercase;
}

.home-cinematic .home-video-caption {
  align-items: center;
  display: flex;
  font-size: .7rem;
  justify-content: space-between;
  letter-spacing: .12em;
  padding: 1rem 1.15rem;
  text-transform: uppercase;
}

.home-cinematic .home-video-caption span { color: var(--muted); }
.home-cinematic .home-video-caption strong { color: var(--acid); }

.home-cinematic .home-video-poster,
.home-cinematic .home-video-player,
.home-cinematic .home-video-player iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.home-cinematic .home-video-poster {
  object-fit: cover;
  opacity: 1;
  transform: scale(1.035);
  transition: opacity .8s ease;
  z-index: 1;
}

.home-cinematic .home-video-player {
  background: #050505;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .8s ease;
  z-index: 2;
}

.home-cinematic .home-video-player iframe {
  pointer-events: none;
  transform: scale(1.025);
}

.home-cinematic .home-video-frame--youtube::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, .5), transparent 35%, transparent 68%, rgba(18, 0, 4, .42)), linear-gradient(0deg, rgba(0, 0, 0, .38), transparent 42%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.home-cinematic .home-video-frame--youtube.is-youtube-playing .home-video-player { opacity: .88; }
.home-cinematic .home-video-frame--youtube.is-youtube-playing .home-video-poster { opacity: 0; }
.home-cinematic .home-video-frame--youtube .home-video-index,
.home-cinematic .home-video-frame--youtube .home-video-state { z-index: 4; }
.home-cinematic .home-video-frame--youtube .home-video-index { mix-blend-mode: screen; }
.home-cinematic .home-video-frame--youtube .home-video-state { backdrop-filter: blur(.35rem); background: rgba(0, 0, 0, .42); }

.main-cinematic-feature { background: #050505; border: 1px solid rgba(255, 254, 250, .2); box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, .5); isolation: isolate; margin-top: clamp(2.2rem, 5vw, 4.5rem); padding: clamp(.55rem, 1.2vw, .9rem); position: relative; }
.main-cinematic-frame { aspect-ratio: 16 / 9; background: #020202; overflow: hidden; position: relative; z-index: 2; }
.main-cinematic-poster,
.main-cinematic-player,
.main-cinematic-player iframe { border: 0; height: 100%; inset: 0; position: absolute; width: 100%; }
.main-cinematic-poster { object-fit: cover; opacity: .72; transform: scale(1.025); transition: opacity .55s ease; z-index: 1; }
.main-cinematic-player { opacity: 0; transition: opacity .55s ease; z-index: 2; }
.main-cinematic-player iframe { pointer-events: auto; }
.main-cinematic-feature[data-youtube-state="playing"] .main-cinematic-player,
.main-cinematic-feature[data-youtube-state="paused"] .main-cinematic-player,
.main-cinematic-feature[data-youtube-state="ended"] .main-cinematic-player { opacity: 1; }
.main-cinematic-feature[data-youtube-state="playing"] .main-cinematic-poster { opacity: 0; }
.main-cinematic-play { align-items: center; background: rgba(3, 3, 3, .86); border: 1px solid rgba(255, 254, 250, .72); border-radius: 50%; bottom: .65rem; color: var(--acid); display: inline-flex; height: 2.85rem; justify-content: center; left: .65rem; padding: 0; position: absolute; transition: background .2s ease, opacity .2s ease, transform .2s ease; width: 2.85rem; z-index: 4; }
.main-cinematic-play > span[aria-hidden="true"] { font-size: 1rem; margin-left: .12rem; }
.main-cinematic-play:hover, .main-cinematic-play:focus-visible { background: var(--acid); color: #050505; transform: translateY(-.12rem); }
.main-cinematic-play[hidden] { display: none; }
.main-cinematic-status { background: rgba(0, 0, 0, .72); bottom: .65rem; color: #ddd; font-size: .63rem; left: .65rem; letter-spacing: .1em; margin: 0; padding: .42rem .58rem; position: absolute; text-transform: uppercase; z-index: 4; }
.main-cinematic-fire { filter: blur(.15rem) saturate(1.25); inset: clamp(-.65rem, -1vw, -.4rem); overflow: hidden; pointer-events: none; position: absolute; z-index: 0; }
.main-cinematic-fire::before,
.main-cinematic-fire::after,
.main-cinematic-fire span { background: radial-gradient(ellipse at 50% 100%, #ffb000 0 7%, #ee2508 18%, rgba(181, 5, 22, .92) 34%, transparent 67%); content: ""; position: absolute; }
.main-cinematic-fire::before { height: 34%; left: -4%; right: -4%; top: -17%; transform: rotate(180deg); }
.main-cinematic-fire::after { bottom: -17%; height: 34%; left: -4%; right: -4%; }
.main-cinematic-fire span { bottom: -18%; height: 136%; width: 18%; }
.main-cinematic-fire span:nth-child(1) { left: -9%; transform: rotate(90deg); }
.main-cinematic-fire span:nth-child(2) { right: -9%; transform: rotate(-90deg); }
.main-cinematic-fire span:nth-child(3) { background: radial-gradient(ellipse, rgba(255, 78, 0, .36), transparent 66%); inset: -8%; height: auto; width: auto; }
@media (prefers-reduced-motion: no-preference) {
  .main-cinematic-fire::before { animation: trebledeff-fire-top 2.4s ease-in-out infinite alternate; }
  .main-cinematic-fire::after { animation: trebledeff-fire-bottom 1.9s ease-in-out infinite alternate-reverse; }
  .main-cinematic-fire span:nth-child(1) { animation: trebledeff-fire-left 2.1s ease-in-out infinite alternate; }
  .main-cinematic-fire span:nth-child(2) { animation: trebledeff-fire-right 2.7s ease-in-out infinite alternate-reverse; }
  .main-cinematic-fire span:nth-child(3) { animation: trebledeff-fire-glow 1.6s ease-in-out infinite alternate; }
}
@keyframes trebledeff-fire-top { to { filter: hue-rotate(-8deg); transform: rotate(180deg) translate3d(2%, -6%, 0) scaleY(1.18); } }
@keyframes trebledeff-fire-bottom { to { filter: brightness(1.25); transform: translate3d(-2%, -7%, 0) scaleY(1.2); } }
@keyframes trebledeff-fire-left { to { transform: rotate(90deg) translate3d(3%, -6%, 0) scaleY(1.15); } }
@keyframes trebledeff-fire-right { to { transform: rotate(-90deg) translate3d(-3%, -7%, 0) scaleY(1.2); } }
@keyframes trebledeff-fire-glow { to { opacity: .55; transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .main-cinematic-fire::before, .main-cinematic-fire::after, .main-cinematic-fire span { animation: none !important; } }

.home-cinematic .surface,
.home-cinematic .surface-alt {
  background-image: linear-gradient(120deg, rgba(223, 16, 39, .035), transparent 42%);
}

.home-cinematic .service-card {
  background-image: linear-gradient(145deg, rgba(255, 254, 250, .025), transparent 48%, rgba(142, 7, 24, .12));
  position: relative;
}

.home-cinematic .service-card::after {
  background: var(--acid);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  width: 100%;
}

.home-cinematic .service-card:hover::after { transform: scaleX(1); }

.home-cinematic .listen-banner {
  background:
    radial-gradient(circle at 84% 28%, rgba(255, 254, 250, .18), transparent 24rem),
    linear-gradient(125deg, #a4081b, var(--acid) 46%, #770512);
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, .32), 0 0 3rem rgba(223, 16, 39, .15);
  overflow: hidden;
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .home-cinematic .hero-artwork { animation: home-cinema-drift 18s ease-in-out infinite alternate; }
  .home-cinematic .hero-art::after { animation: home-cinema-grain .65s steps(2, end) infinite; }
  .home-cinematic .hero-copy { animation: home-cinema-reveal .9s cubic-bezier(.2, .8, .2, 1) both; }

  @supports (animation-timeline: view()) {
    .home-cinematic main > :where(.section, .marquee) {
      animation: home-cinema-section-in linear both;
      animation-range: entry 5% cover 28%;
      animation-timeline: view();
    }
  }
}

@keyframes home-cinema-drift {
  from { transform: scale(1.035) translate3d(-.35%, 0, 0); }
  to { transform: scale(1.075) translate3d(.55%, -.65%, 0); }
}

@keyframes home-cinema-grain {
  0% { transform: translate3d(-1.5%, 1%, 0) scale(1.04); }
  50% { transform: translate3d(1%, -1.5%, 0) scale(1.04); }
  100% { transform: translate3d(.5%, 1.25%, 0) scale(1.04); }
}

@keyframes home-cinema-reveal {
  from { opacity: 0; transform: translate3d(0, 1.35rem, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes home-cinema-section-in {
  from { opacity: .52; transform: translate3d(0, 1.8rem, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (min-width: 60rem) {
  .home-cinematic .hero { min-height: clamp(48rem, calc(100svh - 5.1rem), 62rem); }
  .home-cinematic .hero .container { grid-template-columns: minmax(0, .9fr) minmax(15rem, 1.1fr); padding-top: 9rem; }
  .home-cinematic .hero-copy { align-self: end; grid-column: 1; }
  .home-cinematic .hero-artwork { height: 100%; margin: 0; object-fit: cover; object-position: center; position: absolute; }
}

@media (min-width: 48rem) {
  .home-cinematic .home-video-intro { grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .85fr); }
  .home-cinematic .home-video-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 59.99rem) {
  .home-cinematic .hero-art::before {
    background:
      linear-gradient(0deg, #030303 6%, rgba(3, 3, 3, .7) 32%, transparent 64%),
      radial-gradient(ellipse at 55% 26%, transparent 14%, rgba(0, 0, 0, .48) 78%);
  }
}

@media (max-width: 41.99rem) {
  .home-cinematic .hero { min-height: clamp(43rem, 100svh, 54rem); }
  .home-cinematic .hero-artwork { height: 62%; margin: 4.25rem 0 0; object-fit: cover; object-position: 58% center; }
  .home-cinematic .hero .container { padding-bottom: 4.6rem; padding-top: min(31rem, calc(13rem + 50vw)); }
  .home-cinematic .hero-copy { padding-right: .35rem; }
  .home-cinematic .hero .display { font-size: clamp(3.05rem, 15.2vw, 5.25rem); }
  .home-cinematic .hero .lede { font-size: 1rem; max-width: 29rem; }
  .home-cinematic .hero-stamp { bottom: 1rem; right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-cinematic .hero-artwork,
  .home-cinematic .hero-art::after,
  .home-cinematic .hero-copy,
  .home-cinematic main > :where(.section, .marquee) { animation: none !important; transform: none; }
}
