/* Homepage only: the whole photo stays still while shade and copy enter together. */
@media screen {
 .hero.hero-slide{
  --hero-in:1040ms;
  --hero-delay:120ms;
  --hero-ease:cubic-bezier(.22,.68,.25,1);
  display:grid;
  align-items:center;
  min-height:min(54.53125vw,820px);
  isolation:isolate;
  background:#0f0f0f;
 }
 .hero.hero-slide .hero-photo{
   inset:0;
   width:100%;
   height:100%;
   opacity:1;
   object-fit:contain;
   object-position:right center;
   z-index:0;
 }
 .hero.hero-slide::after{
   inset:0 auto 0 0;
   width:clamp(710px,72%,1300px);
   max-width:100%;
   z-index:1;
   pointer-events:none;
   background:linear-gradient(90deg,rgba(10,10,10,.93),rgba(10,10,10,.88) 35%,rgba(10,10,10,.69) 66%,rgba(10,10,10,.24) 87%,rgba(10,10,10,0));
 }
 .hero.hero-slide .hero-content{
   padding-block:clamp(52px,7vw,102px);
 }
 @media(max-width:760px){
  .hero.hero-slide{
   align-items:stretch;
   min-height:0;
  }
  .hero.hero-slide .hero-photo{
   position:relative;
   inset:auto;
   height:auto;
   aspect-ratio:1920/1047;
   display:block;
   object-position:center top;
  }
  .hero.hero-slide::after{
   inset:clamp(74px,20vw,158px) 0 0 0;
   width:100%;
   background:
    linear-gradient(0deg,#0f0f0f 64%,rgba(15,15,15,.94) 79%,rgba(15,15,15,.1) 96%,transparent),
    linear-gradient(90deg,rgba(15,15,15,.64),transparent 86%);
  }
  .hero.hero-slide .hero-content{
   margin-top:clamp(-66px,-9vw,-34px);
   padding-block:12px 44px;
  }
  .hero.hero-slide h1{font-size:clamp(2.85rem,10.6vw,5rem)}
 }
 @media(prefers-reduced-motion:no-preference){
  .hero.hero-slide::after{
   animation:ftm-hero-shade-in var(--hero-in) var(--hero-ease) var(--hero-delay) both;
  }
  .hero.hero-slide .hero-content{
   animation:ftm-hero-copy-in var(--hero-in) var(--hero-ease) var(--hero-delay) both;
  }
  .hero.hero-slide:focus-within .hero-content{animation:none}
  @keyframes ftm-hero-shade-in{
   from{transform:translate3d(-101%,0,0)}
   to{transform:translate3d(0,0,0)}
  }
  @keyframes ftm-hero-copy-in{
   from{transform:translate3d(clamp(-130px,-10vw,-40px),0,0);opacity:0}
   18%{opacity:.18}
   to{transform:translate3d(0,0,0);opacity:1}
  }
 }
}
