/* Grand Opening invitation (see invite.2fa3062b.js): website first, then a ribbon to cut, then the invitation rises out of the page */
.iv{position:fixed;inset:0;z-index:2147483200;display:flex;align-items:center;justify-content:center;padding:1rem;font-family:var(--f,sans-serif);overflow:hidden}
.iv-dim{position:absolute;inset:0;background:rgba(8,2,3,0);transition:background .9s ease}
.iv.ribbon-on .iv-dim{background:rgba(8,2,3,.34)}
.iv.card-on .iv-dim{background:radial-gradient(ellipse at 50% 40%,rgba(96,10,16,.93),rgba(8,2,3,.97) 78%)}
.iv.out .iv-dim{background:rgba(8,2,3,0)}
.iv-confetti{position:absolute;inset:0;pointer-events:none;z-index:9}   /* in FRONT of the invitation: the confetti falls over it, not behind it */
.iv-glow{position:absolute;inset:-20%;background:conic-gradient(from 0deg,rgba(255,215,120,0),rgba(255,215,120,.16),rgba(255,215,120,0) 25%,rgba(200,8,8,.18) 50%,rgba(255,215,120,0) 75%);pointer-events:none;opacity:0;transition:opacity 1s}
.iv.card-on .iv-glow{opacity:1}
@keyframes ivSpin{to{transform:rotate(360deg)}}
/* a small close button for the ribbon screen */
.iv-rx{position:absolute;top:max(.8rem,env(safe-area-inset-top));right:.8rem;z-index:7;width:2.2rem;height:2.2rem;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:1.45rem;line-height:1;cursor:pointer;box-shadow:0 0 0 .07rem rgba(255,255,255,.35);opacity:0;transition:opacity .4s .6s}
.iv.ribbon-on .iv-rx{opacity:1}.iv.card-on .iv-rx{display:none}
.iv-rx:hover{background:#C80808}
/* the ribbon: two satin halves meet at a gold bow; the scissors wait below it */
.iv-ribbon{position:absolute;left:0;right:0;top:42%;height:5rem;margin-top:-2.5rem;z-index:4;pointer-events:none}
.rb{position:absolute;top:0;height:100%;width:50%;display:flex;align-items:center;background:linear-gradient(180deg,#7a0a10 0,#b8121a 22%,#DC1414 48%,#b8121a 74%,#730911 100%);border-top:.2rem solid #f2d27a;border-bottom:.2rem solid #f2d27a;box-shadow:0 .8rem 1.8rem rgba(0,0,0,.45);color:#fff;font:800 1.25rem/1 var(--f,sans-serif);letter-spacing:.3em;text-shadow:0 .1rem .2rem rgba(0,0,0,.45)}
.rb span{padding:0 4.2rem;width:100%}
.rb-l{left:0;justify-content:flex-end;text-align:right;transform-origin:0 50%;transform:translateX(-103%)}
.rb-r{right:0;justify-content:flex-start;text-align:left;transform-origin:100% 50%;transform:translateX(103%)}
.iv.ribbon-on .rb-l,.iv.ribbon-on .rb-r{transform:none;transition:transform .75s cubic-bezier(.2,.9,.25,1)}
.rb-bow{position:absolute;left:50%;top:50%;width:6.4rem;height:5.4rem;margin:-2.7rem 0 0 -3.2rem;z-index:2;opacity:0;transform:scale(.3);transition:opacity .3s .5s,transform .6s .5s cubic-bezier(.2,1.4,.4,1);filter:drop-shadow(0 .3rem .5rem rgba(0,0,0,.45))}
.rb-bow svg{display:block;width:100%;height:100%}
.iv.ribbon-on .rb-bow{opacity:1;transform:none}
.rb-cut{position:absolute;left:50%;top:100%;width:4.2rem;height:4.2rem;margin:.8rem 0 0 -2.1rem;padding:0;border:0;border-radius:50%;background:rgba(12,4,5,.72);box-shadow:0 0 0 .12rem #f2c74b,0 .5rem 1.2rem rgba(0,0,0,.5);cursor:pointer;pointer-events:auto;opacity:0;transform:translateY(1rem);transition:opacity .4s .8s,transform .5s .8s}
.rb-cut svg{display:block;width:70%;height:70%;margin:15%;overflow:visible}
.iv.ribbon-on .rb-cut{opacity:1;transform:none;animation:rbBob 1.6s ease-in-out 1.4s infinite}
@keyframes rbBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-.35rem)}}
.rb-cut .sc{transform-box:view-box;transform-origin:32px 34px;transition:transform .22s ease}
.rb-cut .sc.a{transform:rotate(-14deg)}.rb-cut .sc.b{transform:rotate(14deg)}
.iv.ribbon-on .rb-cut .sc.a{animation:rbA 1.2s ease-in-out 1.4s infinite}.iv.ribbon-on .rb-cut .sc.b{animation:rbB 1.2s ease-in-out 1.4s infinite}
@keyframes rbA{0%,100%{transform:rotate(-14deg)}45%,55%{transform:rotate(-2deg)}}@keyframes rbB{0%,100%{transform:rotate(14deg)}45%,55%{transform:rotate(2deg)}}
.iv.cutting .rb-cut .sc.a,.iv.cut .rb-cut .sc.a{animation:none;transform:rotate(4deg)}.iv.cutting .rb-cut .sc.b,.iv.cut .rb-cut .sc.b{animation:none;transform:rotate(-4deg)}
.iv.cutting .rb-cut,.iv.cut .rb-cut{animation:none;transform:translateY(-3.6rem) scale(1.1);transition:transform .26s ease,opacity .3s .15s}
.rb-hint{position:absolute;left:50%;top:100%;width:max-content;max-width:92vw;margin:5.6rem 0 0;transform:translateX(-50%);padding:.5rem 1.1rem;border-radius:999px;background:rgba(12,4,5,.78);box-shadow:0 0 0 .07rem rgba(242,199,75,.7);text-align:center;color:#fff;font:700 1.05rem/1.2 var(--f,sans-serif);letter-spacing:.04em;opacity:0;transition:opacity .4s 1s}
.iv.ribbon-on .rb-hint{opacity:1;animation:rbPulse 1.6s ease-in-out 1.5s infinite}
@keyframes rbPulse{0%,100%{opacity:1}50%{opacity:.45}}
.iv.cutting .rb-hint,.iv.cut .rb-hint{opacity:0;animation:none;transition:opacity .2s}
/* after the cut: the halves swing down like curtains and fade, the bow drops, a ring of light spreads */
.iv.cut .rb-l{transform:rotate(86deg);opacity:0;transition:transform .9s cubic-bezier(.55,0,.9,.45),opacity .45s .5s}
.iv.cut .rb-r{transform:rotate(-86deg);opacity:0;transition:transform .9s cubic-bezier(.55,0,.9,.45),opacity .45s .5s}
.iv.cut .rb-bow{opacity:0;transform:translateY(5rem) rotate(30deg) scale(.5);transition:transform .8s cubic-bezier(.5,0,.9,.5),opacity .4s .4s}
.iv-ring{position:absolute;left:50%;top:42%;width:6rem;height:6rem;margin:-3rem 0 0 -3rem;border-radius:50%;border:.28rem solid rgba(255,224,138,.95);box-shadow:0 0 2.4rem rgba(255,215,120,.9),inset 0 0 2rem rgba(255,215,120,.6);opacity:0;transform:scale(.2);z-index:3;pointer-events:none}
.iv.cut .iv-ring{animation:ivRing .9s ease-out forwards}
@keyframes ivRing{0%{opacity:.85;transform:scale(.25)}100%{opacity:0;transform:scale(5)}}
/* the invitation window rises out of the middle of the page */
.iv-card{position:relative;z-index:6;display:flex;flex-direction:column;max-height:100%;border-radius:1.3rem;overflow:hidden;background:#0b0506;box-shadow:0 0 0 .08rem rgba(255,255,255,.18),0 2rem 5rem rgba(0,0,0,.7),0 0 4rem rgba(200,8,8,.35);
  opacity:0;visibility:hidden;transform:translateY(8vh) scale(.18);transform-origin:50% 42%}
.iv.card-on .iv-card{opacity:1;visibility:visible;transform:none;filter:none;transition:transform .95s cubic-bezier(.2,.9,.25,1.12),opacity .45s ease}
.iv.out .iv-card{opacity:0;transform:perspective(1500px) translateX(-6%) rotateY(-62deg) scale(.88);transform-origin:0 50%;transition:transform 1s cubic-bezier(.45,0,.2,1),opacity .75s ease .25s}   /* closing: the invitation turns away like a page, then fades */
.iv.out .iv-ribbon,.iv.out .iv-rx{opacity:0;transition:opacity .3s}
/* small round buttons: close (top right), sound (bottom left), skip arrow (bottom right) */
.iv-x,.iv-snd,.iv-skip{position:absolute;z-index:6;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;cursor:pointer;box-shadow:0 0 0 .07rem rgba(255,255,255,.32);transition:background .2s}
.iv-x{top:.6rem;right:.6rem;width:2.2rem;height:2.2rem;font-size:1.45rem;line-height:1}
.iv-snd{left:.7rem;bottom:.7rem;width:2.2rem;height:2.2rem}.iv-snd svg,.iv-skip svg{width:1.15rem;height:1.15rem}
.iv-skip{right:.7rem;bottom:.7rem;width:2.2rem;height:2.2rem}
.iv-x:before,.iv-snd:before,.iv-skip:before{content:"";position:absolute;inset:-.5rem}          /* bigger area to press than the small picture */
.iv-x:hover,.iv-snd:hover,.iv-skip:hover{background:#C80808}
.iv-snd.hint{animation:ivHint 1.4s ease-in-out infinite}
@keyframes ivHint{0%,100%{box-shadow:0 0 0 .07rem rgba(255,255,255,.32)}50%{box-shadow:0 0 0 .3rem rgba(242,183,5,.7)}}
.iv-x:focus-visible,.iv-rx:focus-visible,.rb-cut:focus-visible,.iv-skip:focus-visible,.iv-snd:focus-visible,.iv-enter:focus-visible,.iv-cal:focus-visible{outline:.15rem solid #fff;outline-offset:.15rem}
/* video */
.iv-stage[hidden]{display:none}
.iv-vs{position:relative;height:min(90vh,52rem);height:min(90svh,52rem);aspect-ratio:9/16;background:#000}
.iv-video{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.iv-prog{position:absolute;left:0;right:0;bottom:0;height:.2rem;background:rgba(255,255,255,.2);z-index:4}.iv-prog i{display:block;width:0;height:100%;background:#C80808}
/* poster (tall: phones and portrait screens) */
.iv-ps{display:flex;flex-direction:column;min-height:0;max-height:min(94vh,60rem);max-height:min(94svh,60rem);animation:ivPoster .9s cubic-bezier(.2,.9,.25,1.1) both}
@keyframes ivPoster{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
.iv-scroll{position:relative;flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.iv-poster{display:block;height:min(calc(94vh - 6.2rem),52rem);height:min(calc(94svh - 6.2rem),52rem);width:auto;max-width:none;aspect-ratio:1414/2000;-webkit-user-drag:none;image-rendering:auto}
/* a band of light sweeps across the poster once it appears */
.iv-scroll:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 36%,rgba(255,255,255,.55) 50%,transparent 64%);transform:translateX(-130%)}
.iv.is-poster .iv-scroll:after{animation:ivShine 1.7s .6s ease-out 1 forwards}
@keyframes ivShine{to{transform:translateX(130%)}}
.iv-zoomhint{position:absolute;left:.6rem;top:.6rem;padding:.3rem .65rem;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font:700 .72rem/1 var(--f,sans-serif);opacity:0;pointer-events:none;transition:opacity .3s}.iv-zoomhint.on,.iv.zoomed .iv-zoomhint{opacity:1}
.iv-foot{position:relative;flex:0 0 auto;min-height:3.3rem;display:flex;flex-direction:column;justify-content:center;padding:.4rem 3.4rem;background:#120708}
.iv-count{height:.2rem;margin:0;border-radius:1rem;background:rgba(255,255,255,.15);overflow:hidden;transition:opacity .3s}.iv-count i{display:block;width:100%;height:100%;background:#f2b705}.iv-count.off{opacity:0}
.iv-btns{display:flex;gap:.6rem;justify-content:center;flex-wrap:wrap}
.iv-cal,.iv-enter{padding:.75rem 1.3rem;border:0;border-radius:999px;font:700 .9rem/1 var(--f,sans-serif);text-decoration:none;cursor:pointer;transition:transform .2s,background .2s}
.iv-cal{background:#2a1a1b;color:#fff;box-shadow:0 0 0 .08rem rgba(255,255,255,.28)}.iv-enter{background:#C80808;color:#fff}
.iv-cal:hover,.iv-enter:hover{transform:translateY(-.1rem)}.iv-enter:hover{background:#DC1414}
/* zoomed poster (phones and tablets): a tap shows it much larger, drag to move around */
.iv.zoomed .iv-scroll{display:block;overflow:auto}
.iv.zoomed .iv-poster{width:240%!important;max-width:none!important;height:auto!important;cursor:zoom-out}
.iv-ps .iv-poster{cursor:default}
@media(pointer:coarse),(max-width:1100px){.iv-ps .iv-poster{cursor:zoom-in}}
/* phones: the card is the whole screen (the poster is as before) */
@media(max-width:700px){
  .iv{padding:0}.iv-card{width:100%;height:100%;max-height:none;border-radius:0}
  .iv-vs{width:100%;height:100%;aspect-ratio:auto}
  .iv-ps{height:100%;max-height:none}.iv-scroll{display:grid;justify-items:center;align-items:start}
  .iv-poster{width:100%;height:auto;max-width:100%}
  .iv-x{top:max(.6rem,env(safe-area-inset-top))}
  .iv-foot{padding:.7rem 3.2rem .9rem}.iv-cal,.iv-enter{padding:.7rem 1rem;font-size:.85rem}
  .iv-ribbon{height:3.9rem;margin-top:-1.95rem}.rb{font-size:.7rem;letter-spacing:.1em}.rb span{padding:0 2.9rem;white-space:nowrap}.rb-bow{width:4.9rem;height:4.1rem;margin:-2.05rem 0 0 -2.45rem}
  .rb-cut{width:3.5rem;height:3.5rem;margin:.6rem 0 0 -1.75rem}.rb-hint{margin-top:4.7rem;font-size:.92rem}
}
/* a short screen (phone turned sideways): poster scrolls, readable width */
@media(orientation:landscape) and (max-height:540px){
  .iv-vs{height:100%;max-height:100%}.iv-card{max-height:100%}
  .iv-poster{height:auto;width:min(100vw - 2rem,34rem)}.iv-ps{max-height:100%}
  .iv-ribbon{top:36%}
}
/* tablets and computers held wide: the LANDSCAPE poster (the poster cut in two and put side by side), so it fills the screen */
@media(min-width:900px) and (orientation:landscape) and (min-height:541px){
  .iv-ps{max-height:none}
  .iv-poster{width:min(94vw,calc((100vh - 6.6rem) * 2.704),112rem);width:min(94vw,calc((100svh - 6.6rem) * 2.704),112rem);height:auto;aspect-ratio:2834/1048}
  .iv-scroll{overflow:hidden}
  .iv-foot{padding:.6rem 3.4rem .7rem}
  .iv-vs{height:min(90vh,60rem);height:min(90svh,60rem)}
}
@media(prefers-reduced-motion:reduce){.iv *,.iv{transition:none!important;animation:none!important}.iv-card{transform:none;filter:none}}
/* the promo bar link */
.promo .iv-open{font-weight:700}
@media print{.iv{display:none}}

/* landed rose petals lie BEHIND the invitation (along the bottom edge) so they never cover its writing; falling ones stay in front */
.iv-pile{position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none}
@media(max-width:700px){.iv{align-items:flex-start}.iv-card{height:calc(100% - 3.4rem)}}
/* the falling petals stay in FRONT of the poster; the ones that have landed lie behind it along the bottom edge. On phones the card is only as tall as the poster, so the petals have the empty space under it */
@media(max-width:700px){.iv.is-poster .iv-card{height:auto;max-height:calc(100% - 3.4rem)}.iv.is-poster .iv-ps{height:auto;max-height:none}}

/* video: a dark strip UNDER the picture holds the sound and skip icons, so they never sit on the picture (the phone number and website at its bottom stay clear) */
.iv-vs{margin-bottom:3.2rem;height:calc(min(90vh,52rem) - 3.2rem);height:calc(min(90svh,52rem) - 3.2rem)}
@media(max-width:700px){.iv-vs{height:calc(100% - 3.2rem)}}
@media(orientation:landscape) and (max-height:540px){.iv-vs{height:calc(100% - 3.2rem);max-height:none}}
@media(min-width:900px) and (orientation:landscape) and (min-height:541px){.iv-vs{height:calc(min(90vh,60rem) - 3.2rem);height:calc(min(90svh,60rem) - 3.2rem)}}
.iv.is-poster .iv-vs{margin-bottom:0}
.iv-vs .iv-skip{bottom:-2.9rem}   /* the skip arrow sits in the dark strip under the video, like the sound icon */

/* small ring while the video is still loading */
.iv-spin{position:absolute;left:50%;top:50%;width:2.6rem;height:2.6rem;margin:-1.3rem 0 0 -1.3rem;border:.2rem solid rgba(255,255,255,.35);border-top-color:#C80808;border-radius:50%;opacity:0;pointer-events:none;animation:ivSpin .9s linear infinite;transition:opacity .2s}
.iv.buffering .iv-spin{opacity:1}
@keyframes ivSpin{to{transform:rotate(360deg)}}

/* while the invitation is open the page behind it stands still (nothing competes with the video) */
html.iv-on body>*:not(.iv),html.iv-on body>*:not(.iv) *{animation-play-state:paused!important}
.iv{contain:layout paint}

/* smooth in and out: the whole invitation layer fades (opening .7 s, closing .9 s) and the page behind shows up gently */
.iv{opacity:0;transition:opacity .7s ease}
.iv.open,.iv.card-on,.iv.ribbon-on{opacity:1}
.iv.out{opacity:0;transition:opacity .9s ease .3s}
.iv.out .iv-dim{transition:background 1s ease .1s}
@media(prefers-reduced-motion:reduce){.iv,.iv.out{transition:opacity .25s linear}}

/* phones: the light sweep over the poster no longer makes the poster area wider than the screen (that is what pushed the poster to the left after zooming back) */
@media(max-width:700px){.iv:not(.zoomed) .iv-scroll{overflow-x:hidden}.iv-scroll:after{inset:0;overflow:hidden}}
@media(prefers-reduced-motion:reduce){.iv.out .iv-card{transform:none;transition:opacity .25s linear}}
