/* Higgsfield video layers sit exactly over each still image and under every hotspot. */
.artboard>.scene-video{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .9s ease;pointer-events:none}
.artboard>.scene-video.is-live{opacity:1}
.artboard>.scene-loop{-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.artboard>.castle-film{transition:opacity .5s ease}
.artboard>.castle-flight{transition:opacity .3s ease}
/* The film opens the real doors, so the painted door leaves step aside once video is running. */
.castle-home .exterior.has-live-video .gate-leaf,.castle-home .exterior.has-live-video .gate-light,.castle-home .exterior.filming .gate-leaf,.castle-home .exterior.filming .gate-light{visibility:hidden}
.castle-home .exterior .intro-copy,.castle-home .exterior .gate-target,.castle-home .exterior .scene-bottom,.castle-home .exterior .scene-shade,.scroll-cue{transition:opacity .45s}
.castle-home .exterior.filming .intro-copy,.castle-home .exterior.filming .gate-target,.castle-home .exterior.filming .scene-bottom,.castle-home .exterior.filming .scene-shade,.castle-home .exterior.filming .scroll-cue{opacity:0;pointer-events:none}
.castle-home .great-hall .hall-door,.castle-home .great-hall .hall-heading,.castle-home .great-hall .scene-bottom,.castle-home .great-hall .hall-mobile-controls{transition:opacity .35s}
.castle-home .great-hall.flying .hall-door,.castle-home .great-hall.flying .hall-heading,.castle-home .great-hall.flying .scene-bottom,.castle-home .great-hall.flying .hall-mobile-controls{opacity:0;pointer-events:none}
/* Arriving from the film, the hall's labels wait until the camera has settled, then fade in. */
.castle-home .great-hall.settling .hall-door,.castle-home .great-hall.settling .hall-heading,.castle-home .great-hall.settling .scene-bottom,.castle-home .great-hall.settling .hall-mobile-controls{opacity:0;pointer-events:none}
.castle-home .great-hall:not(.settling):not(.flying) .hall-heading{transition:opacity .8s ease}
/* Moving between castle pages (a flight landing in its room, the way back to the hall, the menu) dissolves instead of cutting. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.45s;animation-timing-function:cubic-bezier(.4,0,.2,1)}
.scroll-cue{position:absolute;left:50%;bottom:30px;z-index:5;transform:translateX(-50%);margin:0;display:flex;flex-direction:column;align-items:center;gap:8px;color:#f3e6c8;font-size:11px;letter-spacing:2.2px;text-transform:uppercase;text-shadow:0 1px 12px #000c;pointer-events:none}
.scroll-cue:after{content:'';width:1px;height:34px;background:linear-gradient(#f3e6c8,transparent);animation:scroll-cue 2.2s ease-in-out infinite}
@keyframes scroll-cue{0%{transform:scaleY(0);transform-origin:top}45%{transform:scaleY(1);transform-origin:top}55%{transform:scaleY(1);transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}
.film-skip{position:absolute;right:28px;bottom:28px;z-index:6;min-height:44px;padding:0 18px;border:1px solid #f3e6c855;border-radius:3px;background:#0b1019a6;color:#f3e6c8;font:inherit;font-size:12px;letter-spacing:1.6px;text-transform:uppercase;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .4s .8s}
.castle-home .exterior.filming:not(.scrubbing) .film-skip{opacity:1;pointer-events:auto}
@media(max-width:760px){
 .scroll-cue{display:none}
 .film-skip{right:16px;bottom:20px}
}
.castle-paused .scroll-cue:after{animation:none}
@media(prefers-reduced-motion:reduce){.artboard>.scene-video,.scroll-cue{display:none}::view-transition-old(root),::view-transition-new(root){animation:none}}
