/* Perspective is applied to presentation layers, keeping navigation and forms flat. */
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine){
  .depth-hero{perspective:1100px;perspective-origin:50% 50%}
  .depth-hero .hero-film{transform:translate3d(var(--drift-x,0px),var(--drift-y,0px),-90px) rotateX(var(--depth-pitch,0deg)) rotateY(var(--depth-yaw,0deg)) scale(1.11);transition:transform .7s ease-out}
  .depth-hero .hero-vignette{transform:translateZ(-35px) scale(1.07)}
  .depth-hero .embers{transform:translate3d(calc(var(--drift-x,0px) * -1),calc(var(--drift-y,0px) * -1),30px) scale(1.05);transition:transform .65s ease-out}
  .depth-hero .hero-copy{bottom:145px;transform:translate3d(calc(var(--drift-x,0px) * -.6),calc(var(--drift-y,0px) * -.6),65px) rotateX(calc(var(--depth-pitch,0deg) * -.25)) rotateY(calc(var(--depth-yaw,0deg) * -.25));transform-style:preserve-3d;transition:transform .7s ease-out}
  .depth-hero .hero-copy h1{transform:translateZ(24px) rotate(-1deg);text-shadow:1px 1px #62755c,2px 2px #52634c,3px 3px #40513c,4px 4px #344531,5px 5px #263824,6px 6px #182d18,10px 15px 30px #000b}
  .depth-hero .hero-copy h1 span{text-shadow:1px 1px #62755c,2px 2px #52634c,3px 3px #40513c,4px 4px #344531,5px 5px #263824,6px 6px #182d18,10px 15px 30px #000b}
  .depth-hero .hero-actions{transform:translateZ(38px)}
  .depth-hero .hero-actions .button{box-shadow:0 8px 0 #4d6240,0 16px 24px #0006}
  .js .reveal:not(.in-view){transform:perspective(1200px) rotateX(7deg) translateY(30px)}
  .depth-frame,.js .depth-frame.in-view{transform:perspective(1400px) rotateX(var(--frame-pitch,2deg)) rotateY(var(--frame-yaw,-3deg));transition:transform .65s ease-out,box-shadow .65s ease-out;box-shadow:8px 12px 0 #06100bcc,25px 30px 50px #0006}
  .depth-frame:focus-within{transform:none}
  .depth-frame img{backface-visibility:hidden}
}
@media(prefers-reduced-motion:reduce){.depth-hero .hero-copy,.depth-hero .hero-actions,.depth-frame,.depth-frame.in-view{transform:none!important}}
