/* Opened invitations fill their viewport; catalogue phone previews keep their frame. */
html.fullscreen-opening,html.fullscreen-opening body{margin:0;max-width:100%;overflow-x:clip}
.fullscreen-opening .sample-bar{display:none!important}
.fullscreen-opening :is(.invitation-video-opening,.palace-opening.welcome,#envelope,.meadow-opening){width:100%!important;max-width:none!important;height:100vh!important;height:100dvh!important;min-height:0!important;inset:0!important;margin:0!important;padding:0!important;overflow:hidden}
.fullscreen-opening .invitation-video-stage{inset:0;left:0;top:0;width:100%;height:100%;transform:none;container-type:inline-size}
.fullscreen-opening .invitation-video-stage>video{width:100%;height:100%;max-width:none!important;object-fit:cover!important;object-position:center}
.fullscreen-opening :is(#welcome,.palace-opening) .welcome-card:has(.welcome-intro-video){width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;aspect-ratio:auto;box-shadow:none}
.fullscreen-opening :is(#welcomeIntroVideo,.welcome-opening-poster,#palaceOpeningVideo){width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center}
/* Royal Linen and Ivory Heirloom store a portrait film inside a landscape file. */
.fullscreen-opening #welcome :is(#welcomeIntroVideo,.welcome-opening-poster){inset:auto!important;top:50%!important;left:50%!important;width:auto!important;max-width:none!important;height:max(100vh,177.632vw)!important;height:max(100dvh,177.632vw)!important;object-fit:contain!important;transform:translate(-50%,-50%)}
.fullscreen-opening .invitation-video-opening[aria-label^="Ivory Heirloom"] .invitation-video-stage>video{position:absolute;inset:auto;top:50%;left:50%;width:auto!important;height:max(100vh,156.977vw);height:max(100dvh,156.977vw);transform:translate(-50%,-50%);object-fit:contain!important}
.fullscreen-opening .moonlit-video-window{inset:0;left:0;top:0;width:100%;height:100%;transform:none;box-shadow:none}
/* This film includes side bars in its source. Crop its central portrait composition. */
.fullscreen-opening .moonlit-video-window>:is(video,.moonlit-frozen-scene){inset:auto;top:50%;left:50%;width:auto!important;max-width:none!important;height:max(100vh,177.632vw);height:max(100dvh,177.632vw);transform:translate(-50%,-50%);object-fit:contain}
.fullscreen-opening .moonlit-video-stage::before{display:none}
.fullscreen-opening .moonlit-frame-scroll{inset:8% max(6%,calc((100% - 900px)/2)) 9%}
html.fullscreen-opening .journey-shell .journey-cover{position:relative;width:100vw!important;max-width:none!important;height:100vh!important;height:100dvh!important;min-height:0!important;margin-left:calc(50% - 50vw);padding:0!important;overflow:hidden!important}
html.fullscreen-opening .journey-cover .cover-card,html.fullscreen-opening .journey-cover .cover-card[data-opening-video="wild-jasmine"]{position:absolute;inset:0;width:100%!important;max-width:none!important;height:100%!important;margin:0;perspective:none}
html.fullscreen-opening .journey-cover .cover-card>.theme-preview{position:absolute;inset:0;width:100%!important;height:100%!important;max-height:none;aspect-ratio:auto!important;outline:0;box-shadow:none;container-type:inline-size}
html.fullscreen-opening .journey-cover .theme-preview>:is(img,video,svg){display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center}
.fullscreen-opening .journey-cover>.journey-kicker{position:absolute;z-index:4;top:max(20px,env(safe-area-inset-top));left:8%;width:84%;max-width:none;margin:0;text-align:center}
.fullscreen-opening .journey-cover>.cover-guest{position:absolute;z-index:4;bottom:100px;left:8%;width:84%;margin:0;text-align:center}
.fullscreen-opening .journey-cover>.cover-footnote{position:absolute;z-index:4;bottom:16px;left:8%;width:84%;margin:0;text-align:center;font-size:12px}
.fullscreen-opening .journey-cover>[data-open-invitation]:not(.digitrika-opening-overlay){position:absolute;z-index:5;bottom:max(38px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:90%;margin:0}
.fullscreen-opening #welcome:has(.butterfly-open-invitation){padding:0;overflow:hidden}
.fullscreen-opening #welcome:has(.butterfly-open-invitation) .welcome-card{width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;border:0;box-shadow:none;justify-content:center;padding:clamp(16px,3vh,36px) clamp(22px,6vw,80px)}
.fullscreen-opening #envelope .envelope-card{width:100%;max-width:none;height:100%;aspect-ratio:auto}
.fullscreen-opening #envelope .envelope-card :is(img,video),.fullscreen-opening #meadow-opening>:is(img,video){width:100%;height:100%;max-width:none;object-fit:cover!important;object-position:center!important}
.fullscreen-opening .page-surface>.invitation{overflow:visible}
.fullscreen-opening .page-surface .cover{width:100vw;height:100vh;height:100dvh;margin-left:calc(50% - 50vw)}
.fullscreen-opening .page-surface .cover .cover-photo{object-fit:cover;object-position:center 25%}
.fullscreen-opening .page-surface .cover-copy{bottom:max(30px,env(safe-area-inset-bottom));padding-inline:max(24px,calc((100% - 700px)/2))}
.fullscreen-opening .fullscreen-envelope-greeting{transform:none!important;width:min(65vw,260px)!important}
.fullscreen-opening .fullscreen-envelope-greeting-holder{top:30%!important}
.fullscreen-opening .fullscreen-envelope-tap{transform:none!important;width:180px!important}
.fullscreen-opening .fullscreen-envelope-tap-holder{bottom:max(12%,64px)!important}
/* The planner uses the same full-bleed opening artwork at every breakpoint. */
html.fullscreen-opening .wp-cover-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
html.fullscreen-opening .wp-cover-copy{top:6%;left:5%;right:5%;width:auto;transform:none}
/* Keep the invitation itself edge-to-edge after the opening finishes. */
html.fullscreen-opening .journey-shell{width:100%;max-width:none;margin:0;box-shadow:none}
html.fullscreen-opening .journey-section{padding-inline:clamp(22px,5vw,96px)}
html.fullscreen-opening .journey-section-head{max-width:800px;margin-inline:auto}
html.fullscreen-opening .welcome-letter{max-width:800px;margin-inline:auto}
html.fullscreen-opening .is-framed-finished .moonlit-frame-scroll{inset:0;background:var(--garden-paper,#f8f0e3)}
html.fullscreen-opening .is-framed-finished .moonlit-frame-scroll :is(.journey-section,.journey-countdown,.journey-footer){padding:clamp(36px,6vw,80px) clamp(22px,5vw,96px)!important}
html.fullscreen-opening .is-framed-finished .moonlit-frame-scroll>.invitation-video-copy{padding:clamp(40px,7vw,90px) 24px}
html.fullscreen-opening .is-framed-finished .invitation-video-people{opacity:1!important;transform:none!important}
html.fullscreen-opening .is-framed-finished .garden-vows-invited{display:none}
html.fullscreen-opening .page-surface>.invitation{--nocturne-unit:min(1vw,6px);width:100%;max-width:none;box-shadow:none}
html.fullscreen-opening .silk-background{width:100vw}
html.fullscreen-opening .page-surface :is(.countdown-values,.rsvp-form){max-width:800px;margin-inline:auto}
html.fullscreen-opening .page-surface :is(.reception,.accommodation) p{max-width:700px}
html.fullscreen-opening #meadow-frame{width:100%;max-width:none!important;margin:0;box-shadow:none}
html.fullscreen-opening #meadow-content .invitation-blocks-color{width:100%;max-width:none!important}
html.fullscreen-opening .invitation-desktop-decor{display:none}
html.fullscreen-opening #meadow-content video[style*="--meadow-bg-layer-w"]{width:100vw!important;object-fit:cover!important}
/* Royal Linen Kerala retains its original interior dimensions. */
html.fullscreen-opening:where(:not([data-client-variant="kerala"])) .hero:has(.hero-frame){width:100%;max-width:none;padding-inline:0}
html.fullscreen-opening:where(:not([data-client-variant="kerala"])) .hero>.hero-frame{width:100%;max-width:none;height:max(580px,calc(100dvh - 190px))}
html.fullscreen-opening:where(:not([data-client-variant="kerala"])) .hero-frame>.hero-art{height:100%;object-fit:cover}
html.fullscreen-opening:where(:not([data-client-variant="kerala"])) :is(.site-header,.section-inner){max-width:none}
html.fullscreen-opening:where(:not([data-client-variant="kerala"])) :is(.client-chapter,.kerala-section){max-width:none;width:100%}
html.fullscreen-opening:where(:not([data-client-variant="kerala"])) :is(.wp-page-header,.wp-page-main,.wp-planner){max-width:none}
@media(min-width:900px){
  html.fullscreen-opening .is-framed-finished .moonlit-frame-scroll :is(.story-layout,.wishes-layout,.journey-countdown,.form-pair){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html.fullscreen-opening .is-framed-finished .moonlit-frame-scroll .guide-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(min-width:900px){html.fullscreen-opening .wp-cover-copy{top:5%;left:15%;right:15%}html.fullscreen-opening .wp-cover h1>span{font-size:32px}html.fullscreen-opening .wp-cover h1>em{font-size:80px}html.fullscreen-opening .wp-cover-names{margin-top:14px}html.fullscreen-opening .wp-cover-copy:before{content:"";position:absolute;z-index:-1;inset:-40px -12vw;background:radial-gradient(ellipse,#f7f7e7e0,transparent 72%);pointer-events:none}}
@media(max-height:500px){.fullscreen-opening .journey-cover>.journey-kicker{top:12px;font-size:11px}.fullscreen-opening .journey-cover>.cover-guest{bottom:72px;font-size:13px}.fullscreen-opening .journey-cover>.cover-footnote{bottom:8px;font-size:10px}.fullscreen-opening #welcome:has(.butterfly-open-invitation) .welcome-card{padding:12px 28px}html.fullscreen-opening .wp-cover-copy{top:3%;left:4%;right:auto;width:45%}html.fullscreen-opening .wp-cover h1>span{font-size:22px}html.fullscreen-opening .wp-cover h1>em{font-size:48px;margin-top:7px}html.fullscreen-opening .wp-cover-names{margin-top:8px}}
