/* ===== Hero on the golden-arch stage photograph =====
   .hero__canvas has the photo's exact aspect (1825 x 862); the booth, prints, strip and sparkles are placed in its percentages
   so they stay locked to the arch and podium at every size. The photo itself never animates. */
.hero { overflow: hidden; }
.hero__grid { min-height: 0; padding-bottom: 0; }
.hero__scene { position: relative; z-index: 2; width: 100%; height: calc(min(190vw, 1500px) / 2.117); overflow: hidden; }
.hero__canvas { position: absolute; top: 0; left: 50%; width: min(190vw, 1500px); aspect-ratio: 1825 / 862; transform: translateX(-73.15%); }
.hero__bgimg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 88%, transparent), linear-gradient(90deg, transparent, #000 10%, #000 92%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent, #000 14%, #000 88%, transparent), linear-gradient(90deg, transparent, #000 10%, #000 92%, transparent); mask-composite: intersect; }

/* booth: 63% of the photo height, feet on the podium surface (83%), centred in the arch (73.15%) */
.hero__booth { position: absolute; z-index: 4; left: 68.14%; top: 20%; height: 63%; aspect-ratio: 0.3367; opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease) 1s, transform 1.4s var(--ease) 1s; filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.28)); }
.hero.in .hero__booth { opacity: 1; transform: none; }
.hero__boothimg { display: block; width: 100%; height: 100%; }
.hero__screen { position: absolute; z-index: 2; border-radius: 4% / 3%; overflow: hidden; transition: box-shadow 0.6s ease; }
.hero[data-step='c1'] .hero__screen, .hero[data-step='flash'] .hero__screen, .hero[data-stage='2'] .hero__screen { box-shadow: 0 0 28px 6px rgba(255, 236, 190, 0.5); }
.hero__flash { position: absolute; z-index: 3; left: -40%; right: -40%; top: 4%; bottom: 30%; background: radial-gradient(ellipse at 56% 44%, rgba(255, 255, 255, 0.8), rgba(255, 244, 214, 0.28) 34%, transparent 64%); opacity: 0; pointer-events: none; }
.hero[data-step='flash'] .hero__flash { animation: flashpop 0.8s ease-out both; }
.hero__shadow { position: absolute; z-index: 3; left: 66.6%; top: 80.6%; width: 13.1%; height: 4.2%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6), transparent 70%); }
.hero__refl { position: absolute; z-index: 3; left: 68.14%; top: 83.2%; height: 8.5%; aspect-ratio: 0.3367 / 0.135; overflow: hidden; opacity: 0.3; -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%); mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%); pointer-events: none; }
.hero__refl img { position: absolute; left: 0; top: 0; width: 100%; height: 740%; transform: scaleY(-1); }

/* floating prints (same animation, parallax and sequencing as before), kept clear of the flowers and candles */
.hero__float { position: absolute; z-index: 6; transform: translate3d(0, var(--py, 0px), 0); pointer-events: none; }
.hero__floatin { padding: 5px; background: var(--ivory); box-shadow: 0 22px 32px -12px rgba(0, 0, 0, 0.9), 0 8px 14px -6px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(201, 164, 92, 0.7); opacity: 0; transform: translateY(26px) rotate(var(--r)); transition: opacity 1s var(--ease) var(--fd), transform 1.2s var(--ease) var(--fd); }
.hero.in .hero__floatin { opacity: 1; transform: rotate(var(--r)); }
.hero__float--a { left: 49.2%; top: 19%; width: 9.2%; }
.hero__float--a .hero__floatin { --r: -5deg; --fd: 1.7s; }
.hero__float--b { left: 87.4%; top: 15%; width: 6.6%; }
.hero__float--b .hero__floatin { --r: 6deg; --fd: 1.85s; }
.hero__pstrip { position: absolute; z-index: 5; left: 62.2%; top: 25%; width: 5.4%; opacity: 0; transform: translate3d(150%, 20%, 0) scale(0.3) rotate(10deg); transform-origin: 50% 30%; transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); pointer-events: none; }
.hero[data-stage='2'] .hero__pstrip { opacity: 1; transform: perspective(900px) rotateY(12deg) rotate(-4deg); }
.hero__pstrip .pstrip__paper { padding: 4px 4px 0; gap: 4px; box-shadow: 0 0 0 1px rgba(201, 164, 92, 0.4), 0 20px 30px -10px rgba(0, 0, 0, 0.9); }
.hero__pstrip .pstrip__frame { margin-inline: 2px; }
.hero__spark { position: absolute; z-index: 6; width: 4px; height: 4px; border-radius: 50%; background: #f6e3ae; box-shadow: 0 0 8px 2px rgba(242, 216, 139, 0.8); animation: twinkle 3.2s ease-in-out infinite; }
.hero__spark--a { left: 64.5%; top: 42%; }
.hero__spark--b { left: 82%; top: 58%; animation-delay: -1s; }
.hero__spark--c { left: 77%; top: 24%; animation-delay: -2s; }
.hero__star { position: absolute; z-index: 6; opacity: 0; transition: opacity 1s ease 2s; animation: twinkle 3.6s ease-in-out infinite; }
.hero.in .hero__star { opacity: 1; }
.hero__star--a { left: 85%; top: 46%; }
.hero__star--b { left: 61%; top: 15%; animation-delay: -1.2s; }
.hero__star--c { left: 71%; top: 93%; animation-delay: -2.2s; }
.hero__cap { position: absolute; z-index: 7; width: max-content; left: 73.15%; top: 90%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border: 1px solid rgba(201, 164, 92, 0.55); border-radius: 999px; background: rgba(8, 8, 8, 0.72); backdrop-filter: blur(6px); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity 1s ease 2s; }
.hero.in .hero__cap { opacity: 1; }
.hero__cap b { font-family: var(--f-accent); font-style: italic; font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--gold); }
.hero__meta { position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin: 0; padding: 0.4rem var(--gutter) 1.6rem; }
.hero__standin { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--muted); }
.hero__pause { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 50%; background: none; color: var(--gold); transition: background-color 0.3s, color 0.3s; }
.hero__pause:hover { background: var(--gold); color: var(--black); }

/* phones: crop the photo to the arch so the booth stays large */
@media (max-width: 699px) {
  .hero__scene { height: calc(272vw / 2.117); margin-top: -1.5rem; }
  .hero__canvas { width: 272vw; }
  .hero__float--a { left: 56%; top: 15%; width: 13%; }
  .hero__float--b { left: 82.5%; top: 12%; width: 9.5%; }
  .hero__pstrip { left: 61.5%; top: 24%; width: 7.2%; }
  .hero__cap { top: 91%; }
  .hero__standin { max-width: 14rem; text-align: center; }
}

/* desktop: the photo is the hero background, copy on its dark left */
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 100svh; padding-bottom: clamp(2rem, 5vh, 3rem); }
  .hero__copy { max-width: min(52vw, 740px); }
  .hero__scene { position: absolute; inset: 0; height: auto; z-index: 1; pointer-events: none; }
  .hero__canvas { top: auto; bottom: 0; height: 86%; width: auto; left: 76vw; }
  .hero__trust { flex-wrap: wrap; max-width: 560px; }
  .hero__trust li:nth-child(2) { border-right: 0; }
  .hero__side { display: none !important; }
  .hero__float, .hero__booth button, .hero__scene .hero__cap { pointer-events: none; }
  .hero__meta { position: absolute; z-index: 4; left: max(var(--gutter), calc((100vw - 1480px) / 2)); bottom: 1rem; padding: 0; }
  .hero__cap { z-index: 7; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__booth, .hero__floatin, .hero__star, .hero__cap { transition: none; opacity: 1; transform: none; }
  .hero__floatin { transform: rotate(var(--r)); }
  .hero__spark, .hero__star { animation: none; }
}
