*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }

/* Stand-in for footage until real clips exist: moving stage lights over black, with film grain. */
.stage {
  position: absolute; inset: 0; background: #000; overflow: hidden;
  --a: #ff2d55; --b: #3a5bff;
}
.stage::before {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(40% 55% at 30% 20%, color-mix(in srgb, var(--a) 75%, transparent), transparent 70%),
    radial-gradient(35% 50% at 75% 30%, color-mix(in srgb, var(--b) 70%, transparent), transparent 70%),
    radial-gradient(60% 40% at 50% 110%, rgba(0,0,0,0.9), transparent 70%);
  filter: blur(20px);
  animation: sweep 9s ease-in-out infinite alternate;
}
.stage::after {
  content: ''; position: absolute; inset: 0; opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes sweep {
  0% { transform: translate(-4%, 0) rotate(-3deg); }
  50% { transform: translate(3%, 4%) rotate(2deg); }
  100% { transform: translate(5%, -3%) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) { .stage::before { animation: none; } }
video.stage { width: 100%; height: 100%; object-fit: cover; }

/* Arc shot: a fixed layer behind the page that keeps orbiting the booth the whole way down. Opaque sections cover it, .window gaps show it.
   With a <video> inside, scroll scrubs it; without one, shared.js builds a 3D stand-in booth. */
.orbit { position: fixed; inset: 0; z-index: -1; overflow: hidden; color: #f2f2f2; background: radial-gradient(70% 60% at 50% 45%, #1a0f24, #000 70%); }
.orbit.inline { position: absolute; z-index: auto; }
.orbit video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.orbit-scene { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 30%; }
.orbit-scale { position: absolute; left: 50%; top: 62%; transform-style: preserve-3d; }
.orbit-world, .orbit-world * { position: absolute; transform-style: preserve-3d; }
.orbit-floor { width: 1100px; height: 1100px; left: -550px; top: -550px; transform: rotateX(90deg); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 30%), repeating-radial-gradient(circle, transparent 0 58px, rgba(255,255,255,0.05) 58px 60px), radial-gradient(circle, #120c18, transparent 70%); }
.orbit-box > div { background: #121212; border: 1px solid #2c2c2c; }
.orbit-box > .front { background: linear-gradient(transparent 70%, #ff2d55 70% 74%, transparent 74%), #121212; box-shadow: 0 0 40px rgba(255,45,85,0.25); }
.orbit-box > .top { background: radial-gradient(circle at 25% 50%, #333 0 22px, #1c1c1c 23px 30px, transparent 31px), radial-gradient(circle at 75% 50%, #333 0 22px, #1c1c1c 23px 30px, transparent 31px), linear-gradient(90deg, transparent 44%, #262626 44% 56%, transparent 56%), #161616; }
.orbit-dj > i { width: 90px; height: 200px; left: -45px; top: -200px; }
.orbit-dj > i::before { content: ''; position: absolute; left: 25px; top: 0; width: 40px; height: 46px; border-radius: 50%; background: #1d1d1d; box-shadow: 0 0 18px rgba(120,80,255,0.5); }
.orbit-dj > i::after { content: ''; position: absolute; left: 0; top: 50px; width: 90px; height: 150px; border-radius: 34px 34px 6px 6px; background: #1a1a1a; box-shadow: 0 0 22px rgba(120,80,255,0.35); }
.orbit-light { width: 12px; height: 330px; left: -6px; top: -330px; border-radius: 6px; background: linear-gradient(to top, var(--c), transparent); box-shadow: 0 0 30px var(--c); }
.orbit-head { width: 46px; height: 70px; left: -23px; top: -150px; }
.orbit-head::before { content: ''; position: absolute; left: 12px; top: 0; width: 22px; height: 26px; border-radius: 50%; background: #0b0b0b; }
.orbit-head::after { content: ''; position: absolute; left: 0; top: 26px; width: 46px; height: 44px; border-radius: 20px 20px 0 0; background: #0b0b0b; }
.orbit-hud { position: absolute; top: 76px; left: 24px; right: 24px; display: flex; justify-content: space-between; font: 600 0.78rem/1 ui-monospace, monospace; letter-spacing: 0.1em; z-index: 1; }
.orbit-hud span:first-child::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #ff2b2b; }
.window { position: relative; height: 100svh; color: #f2f2f2; }
.orbit-title { position: absolute; left: 24px; bottom: 28px; font-size: clamp(2.2rem, 6vw, 5.5rem); text-shadow: 0 4px 40px rgba(0,0,0,0.6); }
@media (max-width: 760px) { .orbit-scale { transform: scale(0.55); } }

/* Booking drawer, opened by any [data-book] button (shared.js). Pages style the .sheet inside. */
dialog.book { margin: 0 0 0 auto; width: min(520px, 100%); height: 100%; max-height: none; border: 0; padding: 0; }
dialog.book::backdrop { background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); }
dialog.book[open] { animation: drawer 0.35s cubic-bezier(.2,.8,.2,1); }
@keyframes drawer { from { transform: translateX(48px); opacity: 0; } }
dialog.book .sheet { min-height: 100%; padding: 28px; display: grid; align-content: start; gap: 18px; }

/* Clip details modal, filled by shared.js. Pages set colors and fonts. */
:has(> video[data-clip]) { cursor: pointer; }
dialog.clip { margin: auto; width: min(1000px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; padding: 0; }
dialog.clip::backdrop { background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); }
dialog.clip[open] { animation: pop 0.3s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { transform: scale(0.97); opacity: 0; } }
dialog.clip .clip-sheet { display: grid; gap: 20px; padding: 20px; }
dialog.clip video { width: 100%; max-height: 70svh; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
dialog.clip .clip-info { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
dialog.clip dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
dialog.clip dl div { padding: 10px 12px; }
dialog.clip dd { margin-top: 4px; }
dialog.clip .clip-set { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
dialog.clip .clip-set button { cursor: pointer; }
@media (max-width: 760px) { dialog.clip .clip-info { grid-template-columns: 1fr; } }

/* Featured photo strip (filled by shared.js) and the full-size photo viewer. */
.photos { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.photos button { flex: none; height: min(64svh, 580px); padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #111; cursor: zoom-in; scroll-snap-align: start; }
.photos img { height: 100%; width: auto; max-width: none; transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.photos button:hover img { transform: scale(1.04); }
dialog.photo { margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; padding: 24px; border: 0; background: transparent; cursor: zoom-out; }
dialog.photo::backdrop { background: rgba(0,0,0,0.92); }
dialog.photo img { width: 100%; height: 100%; object-fit: contain; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.draft-note { margin-top: 10px; font-size: 0.85rem; opacity: 0.7; }
