/* the frame-sequence canvas: hidden unless the sequence runs; fades in over the poster (frame 1) */
.hero-seq{display:none;opacity:0}
.sky-on .hero-seq{display:block}
.sky-on .hero-seq.on{opacity:1}
/* ============ Hero: 3D scroll skyline (hero-3d.js) — all visitors except reduced-motion/Data Saver ============ */
.sky-on .hero{height:360svh;min-height:0;display:block;padding:0;overflow:visible;background:#1E1F21}
.sky-on .hero .sky-stick{position:sticky;top:0;height:100svh;min-height:620px;display:flex;flex-direction:column;justify-content:flex-end;padding:0 0 70px;overflow:hidden;isolation:isolate}
/* the 3D move: the video layer travels in depth (scale) and drifts vertically as you scroll
   (values set by hero-3d.js). A real perspective()+rotateX() tilt reads well but forces the
   browser to repaint the whole video layer every frame instead of compositing a flat transform
   on the GPU — on this page that pushed scroll frame times from ~17ms to ~50ms. translate3d+scale
   keeps the depth feel (the frame pulls back and down as the page explains the next mood) while
   staying on the fast compositor path. */
.sky-on .hero .pan{transform:translate3d(0,var(--sk-y,0px),0) scale(var(--sk-s,1))!important;transform-origin:50% 100%;will-change:transform;animation:none!important}
.sky-on .hero .hero-content{opacity:var(--sk-op,1);transform:translate3d(0,var(--sk-cy,0px),0)!important;transition:none}
.sky-on .hero .scroll-cue{opacity:var(--sk-op,1)}
.sky-on .hero .hero-dots{display:none}
.sky-on .hero .hero-shade{transition:none}
.sky-on .hero .hero-tag .daypart-label{transition:opacity .4s ease}
@media (prefers-reduced-motion:reduce){.sky-on .hero{height:100svh}}
/* sticky needs no scrolling ancestor: clip (not hidden) keeps the sideways-overflow guard */
.sky-on html,.sky-on body{overflow-x:clip!important}
/* the old scroll-parallax on the frame would drift the picture away from the pinned stage */
.sky-on .hero .frame{translate:none!important;transition:none}
/* the stage panel: carries what used to be the "One rooftop, three moods" section (the time
   label, title, description, perks and booking link), now surfaced as you scroll the hero.
   It fades in as the hero title fades out (inverse of --sk-op, both driven by scroll). */
.sky-cap{position:absolute;left:20px;right:20px;bottom:24px;z-index:3;max-width:480px;
  opacity:calc(1 - var(--sk-op,1));transform:translate3d(0,calc(var(--sk-op,1) * 14px),0);transition:none}
@media (min-width:768px){.sky-cap{left:40px;right:40px;bottom:32px}}
@media (min-width:1200px){.sky-cap{left:max(56px,calc(50% - 720px + 56px));right:max(56px,calc(50% - 720px + 56px));bottom:40px}}
.sky-top{position:absolute;top:104px;right:20px;z-index:3;display:flex;align-items:center;gap:12px;font:600 11px/1 var(--sans,Montserrat,sans-serif);letter-spacing:.22em;text-transform:uppercase;color:var(--lagoon,#9AB6BA);
  opacity:calc(1 - var(--sk-op,1));pointer-events:none}
@media (min-width:768px){.sky-top{right:40px}}
@media (min-width:1200px){.sky-top{right:max(56px,calc(50% - 720px + 56px))}}
.sky-n{font-weight:700;color:var(--cream,#FBF7E2)}
.sky-when{min-width:9ch;text-align:right}
.sky-dots{display:inline-flex;gap:7px;margin-left:2px}
.sky-dots b{width:6px;height:6px;border-radius:50%;background:rgba(251,247,226,.35);transition:background .3s ease,transform .3s ease}
.sky-dots b.on{background:var(--cream,#FBF7E2);transform:scale(1.35)}
.sky-title{margin:0 0 10px;font-family:var(--serif,inherit);font-size:clamp(26px,2.4vw,36px);font-weight:700;color:var(--cream,#FBF7E2);text-shadow:0 4px 24px rgba(30,31,33,.7);text-transform:capitalize}
.sky-desc{margin:0 0 16px;font-size:15px;line-height:1.6;color:var(--cream,#FBF7E2);opacity:.9;text-shadow:0 2px 14px rgba(30,31,33,.8)}
.sky-perks{list-style:none;display:flex;flex-wrap:wrap;gap:8px 10px;margin:0 0 20px;padding:0}
.sky-perks li{font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--cream,#FBF7E2);padding:6px 12px;border-radius:999px;border:1px solid rgba(251,247,226,.3);background:rgba(30,31,33,.35);backdrop-filter:blur(6px)}
.sky-cta{display:inline-flex;align-items:center;gap:8px;font:700 13px/1 var(--sans,Montserrat,sans-serif);letter-spacing:.04em;text-transform:uppercase;color:#1E1F21;background:var(--cream,#FBF7E2);padding:14px 24px;border-radius:999px;text-decoration:none;box-shadow:0 10px 30px rgba(0,0,0,.35);transition:transform .2s ease}
.sky-cta:hover{transform:translateY(-2px)}
.sky-cta::after{content:"→";font-weight:700}
/* perk chips stay off on phones/tablets so the panel doesn't crowd the frame; title,
   description and the booking link are what matter most on a small screen */
@media (max-width:1100px){.sky-perks{display:none}}
@media (max-width:480px){.sky-desc{font-size:14px}.sky-cta{padding:12px 20px;font-size:12px}}

/* Smoothness: blurred glass over a canvas that changes every frame forces the browser to re-blur
   the backdrop on every scroll frame. In sky mode the hero glass uses a slightly deeper flat tint
   instead, which looks the same on the dark scene and costs nothing per frame. */
.sky-on .hero .hero-tag,.sky-on .hero .chips li,.sky-on .hero .btn-line,.sky-on .hero .sky-perks li{-webkit-backdrop-filter:none;backdrop-filter:none}
.sky-on .hero .hero-tag,.sky-on .hero .chips li{background:rgba(30,31,33,.58)}
.sky-on .hero .btn-line{background:rgba(38,39,41,.42)}
.sky-on .hero .sky-perks li{background:rgba(30,31,33,.5)}
.sky-on .hero-seq{will-change:transform;transform:translateZ(0)}
