/* 2026-05-29: final hero composition override.
   Keep Ladonna clear, keep the book visible, and place Quantum Divide information on the opposite side. */

@media (min-width: 1000px) {
  main#home .hero {
    height: 218svh !important;
    min-height: 1500px !important;
  }

  main#home .hero,
  main#home .hero-pin {
    background:
      radial-gradient(ellipse at 74% 44%, rgba(235, 237, 232, 0.18), transparent 40%),
      linear-gradient(90deg, #100b09 0%, #17110f 31%, #38322d 52%, #67635f 100%) !important;
  }

  main#home .hero-shade {
    z-index: 2 !important;
    background:
      linear-gradient(90deg, rgba(11, 8, 7, 0.88) 0%, rgba(14, 10, 8, 0.62) 32%, rgba(35, 31, 27, 0.2) 56%, rgba(38, 34, 30, 0.16) 100%),
      linear-gradient(180deg, rgba(12, 9, 8, 0) 0%, rgba(12, 9, 8, 0.08) 62%, rgba(12, 9, 8, 0.25) 100%) !important;
  }

  body.home-hero-stage-active main#home .hero-pin .hero-bg img,
  body.home-hero-stage-active main#home .hero-bg img {
    right: clamp(-95px, -4.8vw, -54px) !important;
    top: calc(80px + ((100svh - 80px) * 0.58)) !important;
    width: clamp(1260px, 87vw, 1580px) !important;
    opacity: 1 !important;
    filter: none !important;
    z-index: 4 !important;
  }

  main#home .hero-book-reveal,
  body:not(.home-hero-stage-active) main#home .hero-book-reveal,
  main#home .hero.story-is-complete .hero-book-reveal {
    position: fixed !important;
    z-index: 5 !important;
    left: clamp(300px, 27vw, 520px) !important;
    top: calc(80px + ((100svh - 80px) * 0.53)) !important;
    width: clamp(430px, 31vw, 620px) !important;
    height: min(80svh, 770px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    overflow: visible !important;
    pointer-events: none !important;
    transform:
      translate3d(
        calc(-50% + var(--parallax-x, 0px)),
        calc(-50% + var(--parallax-y, 0px)),
        0
      )
      scale(1) !important;
    filter: drop-shadow(0 34px 54px rgba(0, 0, 0, 0.44)) !important;
  }

  main#home .hero-book-reveal img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  main#home .hero-copy,
  main#home .hero.story-is-complete .hero-copy {
    position: fixed !important;
    z-index: 8 !important;
    left: clamp(82px, 7.2vw, 140px) !important;
    top: calc(80px + ((100svh - 80px) * 0.63)) !important;
    width: min(34vw, 520px) !important;
    max-width: 520px !important;
    min-height: 0 !important;
    padding: clamp(20px, 1.8vw, 28px) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background:
      linear-gradient(90deg, rgba(244, 240, 232, 0.76) 0%, rgba(244, 240, 232, 0.52) 66%, rgba(244, 240, 232, 0) 100%) !important;
    border: 1px solid rgba(255, 252, 244, 0.42) !important;
    box-shadow:
      0 34px 80px rgba(0, 0, 0, 0.18),
      inset 0 0 36px rgba(255, 255, 255, 0.16) !important;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 74%, rgba(0, 0, 0, 0) 100%) !important;
    mask-image: linear-gradient(90deg, #000 0%, #000 74%, rgba(0, 0, 0, 0) 100%) !important;
    transform:
      perspective(1600px)
      translate3d(
        var(--parallax-x, 0px),
        calc(-50% + var(--parallax-y, 0px) + var(--parallax-hover-y, 0px)),
        0
      )
      rotateX(10deg) !important;
    transition: transform 0.4s ease, opacity 0.4s ease !important;
  }

  main#home .hero-release {
    gap: 7px !important;
    margin-bottom: 14px !important;
  }

  main#home .now-available {
    font-size: clamp(0.82rem, 0.9vw, 1rem) !important;
  }

  main#home .release-title {
    font-size: clamp(2.45rem, 3.45vw, 3.95rem) !important;
    line-height: 0.9 !important;
  }

  main#home .release-subtitle {
    font-size: clamp(1rem, 1.25vw, 1.35rem) !important;
  }

  main#home .release-buy-now {
    margin-top: 6px !important;
    min-width: 170px !important;
    min-height: 42px !important;
    font-size: clamp(0.9rem, 1vw, 1.08rem) !important;
  }

  main#home .quantum-storyline {
    max-width: 455px !important;
    margin-top: 12px !important;
    font-size: clamp(1rem, 1.28vw, 1.42rem) !important;
    line-height: 1.24 !important;
  }

  main#home .hero-final-buy {
    display: none !important;
  }

  main#home .intro-band {
    padding: clamp(58px, 7vw, 96px) 0 !important;
    background: rgba(232, 224, 212, 0.94) !important;
  }

  main#home .intro-grid {
    align-items: center !important;
    gap: clamp(40px, 6vw, 90px) !important;
  }

  main#home .intro-grid h2 {
    max-width: 620px !important;
    font-size: clamp(3rem, 4.8vw, 5rem) !important;
    line-height: 0.98 !important;
  }

  main#home .intro-grid > p {
    max-width: 560px !important;
    font-size: clamp(1rem, 1.12vw, 1.16rem) !important;
    line-height: 1.65 !important;
  }
}

@media (max-width: 720px) {
  main#home .hero-pin {
    min-height: 920px !important;
    padding: 468px 0 42px !important;
    overflow: hidden !important;
  }

  main#home .hero-bg img {
    width: min(160vw, 720px) !important;
    left: 50% !important;
    right: auto !important;
    top: 16px !important;
    transform: translateX(-62%) !important;
    opacity: 1 !important;
    filter: none !important;
  }

  main#home .hero-book-reveal,
  main#home .hero.story-is-complete .hero-book-reveal {
    left: clamp(22px, 8vw, 46px) !important;
    top: 82px !important;
    width: min(48vw, 210px) !important;
    z-index: 4 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  main#home .hero-copy,
  main#home .hero.story-is-complete .hero-copy {
    background: transparent !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 16px 20px !important;
    transform: none !important;
  }
}
