/* Cinematic scroll layout — see cinematic.js. Motion = transform/opacity only. */
.cine .rv { opacity: 1 !important; transform: none !important; } /* the cinema engine drives the reveals */
.cine-bar {
  position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 45; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 60%, white), var(--gold));
  transform-origin: 0 50%; transform: scaleX(0); will-change: transform;
}

/* ---- title scene ---- */
.cine-title { position: relative; height: 240svh; }
.ct-pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden; padding: 0 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; will-change: transform, opacity;
  background: radial-gradient(ellipse 80% 55% at 50% 45%, color-mix(in srgb, var(--soft) 55%, transparent), transparent 70%);
}
.ct-pin p { margin: 0; }
.ct-eyebrow { color: var(--gold); font-size: 13px; letter-spacing: .4em; margin-bottom: 10px !important; }
.ct-name { margin: 0; font-family: var(--f-script); font-weight: 400; font-size: calc(clamp(58px, 17vw, 124px) * var(--ss)); line-height: 1.05; color: var(--ink); will-change: transform, opacity; }
.ct-name.b, .ct-join, .ct-date { opacity: 0; }
.ct-join { color: var(--muted); font-size: 15px; letter-spacing: .4em; margin: 6px 0 !important; will-change: transform, opacity; }
.ct-line { display: block; width: 140px; height: 1px; margin: 22px 0 8px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); will-change: transform; }
.ct-date { color: var(--text); font-size: 14px; letter-spacing: .32em; will-change: transform, opacity; }
.ct-hint { position: absolute; bottom: 28px; color: var(--muted); font-size: 11px; letter-spacing: .32em; }
.ct-hint::after { content: ''; display: block; width: 1px; height: 30px; margin: 8px auto 0; background: linear-gradient(var(--gold), transparent); animation: schHint 1.8s ease-in-out infinite; transform-origin: top; }

/* ---- 3D rise-in ---- */
.cine-rise { transform-origin: 50% 0; will-change: transform, opacity; opacity: 0; }

/* ---- stacking event cards ---- */
.cine #events > .eyebrow, .cine #events > .sec-title { will-change: transform, opacity; }
.cine #events .event { position: sticky; top: calc(76px + var(--i, 0) * 16px); transform-origin: 50% 0; will-change: transform; }
.cine #events .event + .event { margin-top: 34vh; }
.cine #events .event::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--bg); opacity: var(--dim, 0); pointer-events: none; }
.cine #events { padding-bottom: 18vh; }

/* ---- horizontal gallery ---- */
.cine #gallery.hs { height: calc(100svh + var(--hs, 0px)); }
.hs-pin { position: sticky; top: 60px; height: calc(100svh - 60px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.cine #gallery.hs .gallery { display: flex; gap: 14px; width: max-content; will-change: transform; }
.cine #gallery.hs .gallery button { width: min(72vw, 340px); aspect-ratio: 3 / 4; flex: none; grid-column: auto; }

@media (prefers-reduced-motion: reduce) { .cine-rise { opacity: 1; } .ct-name.b, .ct-join, .ct-date { opacity: 1; } .ct-line { transform: none; } }
