/* Lumivelle / HW / LD03 — white skin over the H&W VSL kit
   (assets/main/css/vsl-kit.css, loaded first): plum headline, player with
   the kit's single green button under it at the pitch, "As featured in"
   band. The kit runs the stage; this file is the look.

   Where the page departs from the kit, same calls as the Oculume page:
     - on stage the headline shrinks a little; the player only widens (to
       the screen edges on phones) with a slight zoom
     - at the pitch nothing changes but the button appearing: the player and
       the headline keep the size they had (the kit would shrink both) */

:root {
  /* One family in two roles: Inter Tight for the headline and the band,
     Inter for the button. The original loaded seven (Poppins, Roboto,
     Montserrat, Inter Tight, Ubuntu, Red Hat Display, Google Sans). */
  --font-display: "Inter Tight", Inter, "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, "Helvetica Neue", Arial, sans-serif;

  /* The video is 1080×1330 (padding 123.15% in the embed). */
  --vsl-player-ratio: 0.812;

  /* --rest-reserve is this page's own: the screen height the headline takes
     on landing, so the whole player fits under it. On stage the headline
     shrinks, so the kit's --vsl-stage-reserve is a little smaller. */
  --rest-reserve: 180px;
  --vsl-stage-reserve: 160px;
  --rest-w: min(var(--vsl-player-w), (var(--vsl-screen-h) - var(--rest-reserve)) * var(--vsl-player-ratio));

  /* On stage the headline shrinks a little; at the pitch it stays. */
  --vsl-headline: 30px;
  --vsl-headline-stage: 26px;
  --vsl-headline-pitch: var(--vsl-headline-stage);
  --vsl-headline-m: clamp(18px, 5.4vw, 22px);
  --vsl-headline-stage-m: clamp(16px, 4.9vw, 20px);
  --vsl-headline-pitch-m: var(--vsl-headline-stage-m);

  --plum: #935094;
  --cocoa: #543c3c;
  --rose: #c47a8a;
  --paper: #fff;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--vsl-bg);
  color: var(--cocoa);
  font-family: var(--font-body);
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: var(--vsl-maxw);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- Headline ---------------------------------------------------------- */

.vsl-headline {
  padding: 24px 0 14px;
  text-align: center;
}

.vsl-headline h1 {
  color: var(--plum);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.2;
  text-wrap: balance;
}

.vsl-headline em {
  color: var(--cocoa);
  font-style: normal;
  font-weight: 700;
}

/* Sound never turned on: at the pitch the headline keeps its landing size
   (the kit's pitch size is the stage one here). */
body.is-revealed:not(.is-stripped) .vsl-headline h1 {
  font-size: var(--vsl-headline);
}

@media (max-width: 640px) {
  body.is-revealed:not(.is-stripped) .vsl-headline h1 {
    font-size: var(--vsl-headline-m);
  }
}

/* ---- Player ------------------------------------------------------------ */

.vsl-video {
  padding-bottom: 6px;
}

/* On landing the whole player is on screen (--rest-w); the kit copies that
   width when the stage opens. At the pitch the player keeps the size it
   had, where the kit would give width back: --rest-w if the sound never
   came on, the stage size if it did. The button below is brought into view
   by the reveal scroll ("fit"). */
.vsl-video__box,
body.is-revealed .vsl-video__box {
  --stage-w: var(--rest-w);
}

body.is-revealed.is-stripped .vsl-video__box {
  --stage-w: max(
    var(--vsl-rest-w),
    min(var(--vsl-player-w-stage), (var(--vsl-screen-h) - var(--vsl-stage-reserve)) * var(--vsl-player-ratio))
  );
}

/* Sound on: the player widens to the screen edges (the kit drops the gutter
   on phones) with a slight zoom that peaks and settles as it lands. Box and
   gutter share one duration, so the growth reads as one move. */
.vsl-video__gutter,
.vsl-video__box {
  transition-duration: 0.7s;
}

body.is-stage .vsl-video__box {
  animation: lvZoom 0.8s var(--vsl-ease);
}

@keyframes lvZoom {
  0%,
  100% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.02);
  }
}

/* ---- Offer (the kit's button) ------------------------------------------ */

.vsl-cta {
  padding-top: 8px;
}

.vsl-cta__button {
  font-size: 30px;
}

/* ---- As featured in ---------------------------------------------------- */

.press {
  margin-top: 24px;
  padding: 40px 16px 44px;
  background: var(--rose);
  color: var(--paper);
  text-align: center;
}

.press__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 8.4vw, 40px);
  font-weight: 900;
  line-height: 1.1;
}

.press__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 7vw, 48px);
  margin-top: 32px;
}

.press__logos img {
  width: auto;
  height: 58px;
}

.press__logos img[alt="ABC News"] {
  height: 72px;
}

/* ---- Reduced motion ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  body.is-stage .vsl-video__box {
    animation: none;
  }
}

/* ---- LumiVelle Native SmartPlayer (VTurb-style UI) --------------------- */

vturb-smartplayer {
  display: block;
  width: 100%;
}

vturb-smartplayer:not([data-ovt-ready]) {
  position: relative;
  aspect-ratio: 540 / 666;
  border-radius: 14px;
  background: #0d090d;
  box-shadow: 0 12px 34px rgba(84, 60, 60, 0.18);
  overflow: hidden;
}

vturb-smartplayer:not([data-ovt-ready])::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 999px;
  border: 2.5px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(244, 63, 94, 0.78);
  animation: lvSkelSpin 0.75s linear infinite;
}

@keyframes lvSkelSpin {
  to {
    transform: rotate(360deg);
  }
}

.lvsp-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 540 / 666;
  background: #0d090d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(84, 60, 60, 0.18);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.lvsp-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lvsp-unmute {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(20, 10, 22, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  cursor: pointer;
  z-index: 4;
}

.lvsp-unmute[hidden],
.lvsp-paused[hidden],
.lvsp-resume[hidden] {
  display: none !important;
}

.lvsp-unmute__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: linear-gradient(155deg, rgba(147, 80, 148, 0.96), rgba(125, 30, 80, 0.96));
  color: #fff;
  padding: 20px 26px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
  text-align: center;
  max-width: 280px;
  animation: lvspPulse 1.65s ease-in-out infinite;
}

.lvsp-unmute__top {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.lvsp-unmute__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.lvsp-unmute__cta {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@keyframes lvspPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.lvsp-paused {
  position: absolute;
  inset: 0;
  background: rgba(15, 8, 16, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.lvsp-paused__pill {
  background: rgba(125, 30, 80, 0.95);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.lvsp-resume {
  position: absolute;
  inset: 0;
  background: rgba(22, 12, 24, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 5;
}

.lvsp-resume__box {
  width: 100%;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  color: #fff;
}

.lvsp-resume__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 4px;
}

.lvsp-resume__btn {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
}

.lvsp-resume__btn--primary {
  background: #18a558;
  color: #fff;
}

.lvsp-resume__btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.lvsp-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 6;
}

.lvsp-bar__fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #935094, #e05388);
  transition: width 0.35s linear;
}
