/* Skepto arrival V8. Canon-derived silent film; every animation is optional. */
.skepto-intro {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center; isolation: isolate;
  background: #070606; color: #f9f6ef;
  transition: opacity .35s ease, visibility .35s ease;
}
.skepto-intro[hidden] { display: none !important; }
.skepto-intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.skepto-intro__scene {
  position: relative; width: min(100vw, 720px);
  height: 100svh; height: 100dvh; max-height: 100%;
  display: grid; place-items: center; overflow: hidden;
}
.skepto-intro__film,
.skepto-intro__fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.skepto-intro__fallback { display: grid; place-items: center; z-index: 0; background: #070606; }
.skepto-intro__fallback img { width: 100%; height: 100%; object-fit: contain; }
.skepto-intro__film { z-index: 1; display: block; object-fit: contain; }
.skepto-intro__skip {
  position: absolute; z-index: 4;
  right: max(16px, env(safe-area-inset-right));
  top: max(20px, env(safe-area-inset-top));
  min-width: 90px; min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(249,246,239,.55);
  border-radius: 999px;
  background: rgba(10,9,11,.75); color: #f9f6ef;
  font: 600 13px/1 'DM Sans',sans-serif;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.skepto-intro__skip:focus-visible { outline: 3px solid #f16c68; outline-offset: 4px; }
.skepto-intro__smiley {
  position: absolute; z-index: 3;
  width: clamp(43px,12vw,63px); aspect-ratio: 1;
  right: clamp(17%,22vw,31%); bottom: clamp(12%,15dvh,25%);
  border-radius: 50%; background: #b6ead8;
  border: 3px solid #f9f6ef;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  transform: translate3d(70px,25px,0) scale(.4) rotate(28deg);
  opacity: 0; pointer-events: none;
  animation: skeptosmile-arrive .76s cubic-bezier(.2,1.28,.2,1) 3.18s forwards;
}
.skepto-intro__smiley::before {
  content: ''; position: absolute; top: 32%; left: 27%;
  width: 6px; height: 7px; background: #27272a; border-radius: 50%;
  box-shadow: 17px 0 #27272a;
}
.skepto-intro__smiley::after {
  content: ''; position: absolute; width: 40%; height: 22%;
  left: 29%; top: 50%;
  border: 2.5px solid #27272a; border-top: 0;
  border-radius: 0 0 24px 24px;
}
@keyframes skeptosmile-arrive {
  0% { opacity: 0; transform: translate3d(70px,25px,0) scale(.4) rotate(28deg); }
  74% { opacity: 1; transform: translate3d(-5px,-6px,0) scale(1.08) rotate(-8deg); }
  100% { opacity: 1; transform: translate3d(0,0,0) scale(1) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .skepto-intro { transition: none; }
  .skepto-intro__film { display: none; }
  .skepto-intro__smiley { animation: none; opacity: 0; }
}
