/* October 23: one continuous moving collage, edge to edge.
   The shared app owns video loading, visibility and motion preferences. */
:root {
  --pink: #68e6ed;
  --acid: #68e6ed;
  --white: #f5f1e6;
  --orange: #f79446;
  --lime: #c8ed68;
  --line: #303b38;
}

.dream { background: #030604; min-height: 700px; }
.landscape {
  inset: 0;
  background-image: url('/october-23/assets/hero-seedance-forward-20261020.webp');
  background-position: center;
  filter: none;
  transform: none;
  opacity: 1;
  mask-image: none;
  -webkit-mask-image: none;
}
.motion-enabled .landscape { animation: none; }
.motion-art {
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  mask-image: none;
  -webkit-mask-image: none;
}
.portrait-art, .dream-video {
  object-fit: cover;
  object-position: 62% 50%;
  transform: none;
}
.motion-enabled .portrait-art { animation: none; }
.dream-shade {
  background:
    linear-gradient(90deg, #030604bf 0%, #0306048c 22%, #03060425 47%, transparent 75%),
    linear-gradient(0deg, #030604ee, #03060422 25%, transparent 56%, #0306040c 76%, #0306046b);
}
.dream-shade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 78% 30%, #68e6ed14, transparent 57%), radial-gradient(ellipse at 25% 85%, #f7944612, transparent 64%);
  opacity: .7;
}
.motion-enabled .dream-shade::before { animation: collage-atmosphere 17s ease-in-out infinite alternate; }
.motion-paused .dream-shade::before { animation-play-state: paused; }
.dream-grain { opacity: .04; }
.dream-topline { top: 34px; right: 90px; }
.night-label { font-size: 10px; letter-spacing: .1em; }
.night-label i { background: var(--orange); box-shadow: 0 0 15px #f7944670; }
.hero-copy { left: 5.5%; top: 29%; text-shadow: 0 2px 26px #03060440; }
.hero-copy > .eyebrow { color: var(--lime); }
.hero-copy h2 {
  font-size: clamp(70px, 7.7vw, 137px);
  line-height: 1.03;
  margin: 22px 0 23px;
  letter-spacing: -.016em;
}
.hero-copy p { font-size: 12px; line-height: 1.8; margin: 0 0 25px; }
.ticket-button { box-shadow: 4px 4px 0 #030604; }
.ticket-note { color: #d0d3c6; }
.dream-bottomline { right: 36px; bottom: 28px; }
.night-divider {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 13px 5.5%;
  overflow: hidden;
  background: var(--pink);
  color: var(--black);
  font: 10px/1.4 var(--mono);
  letter-spacing: .09em;
  white-space: nowrap;
}
.night-divider span:first-child { font: 20px/1 var(--display); letter-spacing: 0; }
.details { padding-top: 55px; padding-bottom: 65px; }
.last-call { background: var(--orange); }
.last-call h2 > span { color: var(--black); }
.round-ticket:hover { color: var(--orange); }
#sound-toggle:disabled { cursor: default; opacity: .72; }

@keyframes collage-atmosphere { from { opacity: .4; } to { opacity: 1; } }

@media (min-width: 1800px) {
  .hero-copy h2 { font-size: 137px; }
}
@media (min-width: 901px) and (max-height: 850px) {
  .dream { min-height: 610px; }
  .hero-copy { top: 26%; }
  .hero-copy h2 { font-size: clamp(72px, 7.2vw, 115px); }
}
@media (max-width: 1050px) {
  .hero-copy { left: 5%; top: 30%; }
  .hero-copy h2 { font-size: clamp(65px, 8vw, 84px); }
  .dream-topline { font-size: 8px; }
}
/* Preserve both outstretched hands when a landscape fills a tall window.
   The soft scene edge dissolves into the same image used as ambient color. */
@media (min-width: 701px) and (max-width: 1050px), (min-width: 701px) and (max-aspect-ratio: 4/3) {
  .landscape { background-image: url('/october-23/assets/dunes-layer-20261020.webp'); filter: blur(18px) brightness(.66); transform: scale(1.06); }
  .motion-art {
    top: clamp(38px, 8vh, 82px);
    bottom: auto;
    height: auto;
    aspect-ratio: 16 / 9;
    mask-image: linear-gradient(180deg, transparent, #000 8%, #000 76%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 76%, transparent);
  }
  .portrait-art, .dream-video { object-fit: contain; object-position: center; }
}
@media (max-width: 700px) {
  .dream { min-height: 700px; }
  .landscape {
    display: block;
    background-image: url('/october-23/assets/hero-seedance-forward-20261020-mobile.webp');
    background-position: 50% 32%;
    filter: blur(24px) brightness(.6) saturate(.85);
    transform: scale(1.08);
  }
  .motion-art {
    inset: 0;
    bottom: auto;
    width: 100%;
    height: min(100%, calc(100vw * 16 / 9 + 64px));
    mask-image: linear-gradient(180deg, transparent, #000 9%, #000 68%, transparent 96%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 68%, transparent 96%);
  }
  /* This portrait contains the whole landscape collage. Contain is deliberate:
     a tall phone must never crop off either raised hand to fill its width. */
  .portrait-art, .dream-video { object-fit: contain; object-position: 50% 64px; transform: none; }
  .dream-shade {
    background: linear-gradient(0deg, #030604 0%, #030604e3 12%, #03060491 30%, #03060412 59%, transparent 80%, #03060466 100%);
  }
  .dream-topline { top: 32px; left: auto; right: 80px; }
  .night-label { font-size: 7px; letter-spacing: .04em; gap: 7px; }
  .hero-copy { left: 23px; right: 18px; top: auto; bottom: 51px; }
  .hero-copy > .eyebrow { font-size: 7px; }
  .hero-copy h2 { font-size: clamp(56px, 14vw, 86px); line-height: 1.04; margin: 14px 0 18px; }
  .hero-copy p { font-size: 10px; margin-bottom: 20px; }
  .dream-bottomline { right: 20px; bottom: 18px; }
  .night-divider { gap: 22px; padding: 12px 23px; font-size: 8px; letter-spacing: .03em; }
  .night-divider span:first-child { font-size: 17px; }
  .night-divider span:nth-child(n+3) { display: none; }
  .details { padding: 36px 23px 42px; }
}
@media (max-width: 365px) {
  .hero-copy { left: 18px; }
  .hero-copy h2 { font-size: 51px; }
  .night-label { max-width: 108px; justify-content: flex-end; text-align: right; line-height: 1.4; }
  .details { padding-left: 18px; padding-right: 18px; }
  .night-divider { padding-left: 18px; padding-right: 18px; gap: 15px; }
}
