/* Replacement for the LayerSlider hero (no eval, no plugin).
   Geometry copied from the live slider: 1000x600 stage, responsiveUnder 1240,
   background 1280x720 centred, layers scaled with the stage. 1cqw on .sn-hero-stage = stage width / 100. */
.sn-hero { container-type: inline-size; width: 100%; }
.sn-hero-in { position: relative; overflow: hidden; height: min(600px, 48.387cqw); animation: sn-fade .35s linear both; }
.sn-hero-bg { position: absolute; left: 50%; top: 50%; width: min(1280px, 103.226cqw); height: min(720px, 58.065cqw);
  max-width: none !important; transform: translate(-50%, -50%); }
.sn-hero-stage { position: absolute; top: 0; left: 50%; height: 100%; width: min(1000px, 80.645cqw);
  transform: translateX(-50%); container-type: inline-size; }
.sn-hero-stage > * { position: absolute; margin: 0; padding: 0; white-space: nowrap; line-height: normal; }
.sn-hero-person { left: 0; top: 6.2cqw; width: 46.3cqw; height: auto; max-width: none !important;
  animation: sn-fade 3s cubic-bezier(.86, 0, .07, 1) .05s both; }
.sn-hero h1 { left: 45.1cqw; top: 21.6cqw; color: #000; font-family: 'Courgette', cursive; font-size: 5.1cqw; letter-spacing: 0;
  transform-origin: right 50% 0; animation: sn-in-right 2s cubic-bezier(.86, 0, .07, 1) 3s both; }
.sn-hero h2 { left: 49.6cqw; top: 34cqw; color: #685e59; font-family: 'Open Sans', sans-serif; font-style: italic;
  font-weight: normal; font-size: 2.5cqw; transform-origin: left 50% 0; animation: sn-in-left 3s cubic-bezier(.86, 0, .07, 1) 3.5s both; }
@keyframes sn-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sn-in-right { from { opacity: 0; transform: perspective(500px) translateX(5cqw) rotateY(60deg); }
  to { opacity: 1; transform: perspective(500px) translateX(0) rotateY(0); } }
@keyframes sn-in-left { from { opacity: 0; transform: perspective(500px) translateX(-5cqw) rotateY(-60deg); }
  to { opacity: 1; transform: perspective(500px) translateX(0) rotateY(0); } }
@media (prefers-reduced-motion: reduce) { .sn-hero * , .sn-hero-in { animation: none !important; } }
