/* Shared page and hero motion. */
html.fl-motion-capable{scroll-behavior:smooth}
html.fl-motion-capable:not(.fl-motion-mounted):not(.fl-motion-timeout) body{visibility:hidden}

/* Display headings share one editorial rule: the opening line leads, the rest recedes. */
.fl-split-heading-light{color:#77818e!important}
.fl-split-heading-light::first-line{color:#0b1420}
.fl-split-heading-dark{color:#818b99!important}
.fl-split-heading-dark::first-line{color:#fff}
.fl-split-heading-light .fl-motion-line:first-child>span{color:#0b1420}
.fl-split-heading-light .fl-motion-line:nth-child(n+2)>span{color:#77818e}
.fl-split-heading-dark .fl-motion-line:first-child>span{color:#fff}
.fl-split-heading-dark .fl-motion-line:nth-child(n+2)>span{color:#818b99}

.fl-page-curtain{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;overflow:hidden;background:#091321;color:#fff;transform:scaleY(1);transform-origin:top;transition:transform .72s cubic-bezier(.77,0,.18,1);pointer-events:auto}
.fl-page-curtain span{font-size:14px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;transition:opacity .2s ease}
.fl-page-curtain i{position:absolute;right:0;bottom:0;left:0;height:4px;background:#f4a91e;transform:scaleX(1);transform-origin:left}
html.fl-motion-entered .fl-page-curtain{transform:scaleY(0);pointer-events:none}
html.fl-motion-entered .fl-page-curtain span{opacity:0}
html.fl-motion-leaving .fl-page-curtain{transform:scaleY(1);transform-origin:bottom;transition-duration:.5s;pointer-events:auto}
html.fl-motion-leaving .fl-page-curtain span{opacity:1;transition-delay:.22s}
html.fl-motion-leaving .fl-page-curtain i{animation:fl-curtain-line .48s cubic-bezier(.65,0,.35,1) both}

html.fl-motion-capable .fl-motion-hero-title:not(.fl-motion-title){opacity:0;transform:translateY(36px);clip-path:inset(0 0 100% 0)}
html.fl-motion-capable .fl-motion-line{display:block;overflow:hidden}
html.fl-motion-capable .fl-motion-line>span{display:block;opacity:0;transform:translateY(112%)}
html.fl-motion-capable .fl-motion-support{opacity:0;transform:translateY(22px)}

html.fl-motion-entered .fl-motion-hero-title:not(.fl-motion-title){opacity:1;transform:translateY(0);clip-path:inset(0 0 0 0);transition:transform .82s cubic-bezier(.22,1,.36,1),clip-path .82s cubic-bezier(.22,1,.36,1),opacity .46s ease;transition-delay:.42s}
html.fl-motion-entered .fl-motion-line>span{opacity:1;transform:translateY(0);transition:transform .78s cubic-bezier(.22,1,.36,1),opacity .45s ease}
html.fl-motion-entered .fl-motion-line:first-child>span{transition-delay:.42s}
html.fl-motion-entered .fl-motion-line:nth-child(2)>span{transition-delay:.51s}
html.fl-motion-entered .fl-motion-support{opacity:1;transform:translateY(0);transition:transform .7s cubic-bezier(.22,1,.36,1),opacity .55s ease;transition-delay:calc(.5s + (var(--fl-motion-order,0) * .07s))}

.fl-scroll-reveal{opacity:0;transform:translateY(34px);transition:transform .82s cubic-bezier(.22,1,.36,1),opacity .6s ease;transition-delay:calc(var(--fl-reveal-order,0) * .07s)}
.fl-scroll-reveal.fl-reveal-from-left{transform:translateX(-34px)}
.fl-scroll-reveal.fl-reveal-from-right{transform:translateX(34px)}
.fl-scroll-reveal.is-visible{opacity:1;transform:translate3d(0,0,0)}

.fl-image-reveal{--fl-reveal-mask:#fff;position:relative;overflow:hidden;isolation:isolate}
.fl-image-reveal:after{content:"";position:absolute;inset:-1px;z-index:4;background:var(--fl-reveal-mask);transform:scaleX(1);transform-origin:right;transition:transform .92s cubic-bezier(.77,0,.18,1);transition-delay:calc(.08s + (var(--fl-reveal-order,0) * .06s));pointer-events:none}
.fl-image-reveal img{transform:scale(1.045);transition:transform 1.15s cubic-bezier(.22,1,.36,1)}
.fl-image-reveal.is-visible:after{transform:scaleX(0)}
.fl-image-reveal.is-visible img{transform:scale(1)}
.fl-image-reveal.is-visible:hover img{transform:scale(1.025)}

@keyframes fl-curtain-line{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}

@media(max-width:640px){
  .fl-page-curtain{transition-duration:.56s}
  html.fl-motion-entered .fl-motion-hero-title:not(.fl-motion-title){transition-duration:.68s}
  html.fl-motion-entered .fl-motion-line>span{transition-duration:.62s}
  html.fl-motion-entered .fl-motion-support{transition-duration:.58s}
  .fl-scroll-reveal{transform:translateY(24px);transition-duration:.68s}
  .fl-scroll-reveal.fl-reveal-from-left,.fl-scroll-reveal.fl-reveal-from-right{transform:translateY(24px)}
  .fl-image-reveal:after{transition-duration:.76s}
}

@media(prefers-reduced-motion:reduce){
  html.fl-motion-capable{scroll-behavior:auto}
  .fl-page-curtain{display:none}
  html.fl-motion-capable .fl-motion-hero-title,
  html.fl-motion-capable .fl-motion-line>span,
  html.fl-motion-capable .fl-motion-support,
  .fl-scroll-reveal{opacity:1;transform:none;clip-path:none;transition:none}
  .fl-image-reveal:after{display:none}
  .fl-image-reveal img{transform:none;transition:none}
}
