@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/BebasNeue-Regular.ttf") format("truetype");
  font-display: swap;
}
.welcome-splash[hidden] { display: none; }
.welcome-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: hidden;
  color: #fff;
  background: #08160d;
  font-family: system-ui, sans-serif;
  isolation: isolate;
  --welcome-image: url("assets/splash-team.webp");
  transition: opacity 650ms ease, visibility 650ms ease;
}
@supports (background-image: image-set(url("assets/splash-team.avif") type("image/avif"), url("assets/splash-team.webp") type("image/webp"))) {
  .welcome-splash {
    --welcome-image: image-set(url("assets/splash-team.avif") type("image/avif"), url("assets/splash-team.webp") type("image/webp"));
  }
}
.welcome-splash--exit { opacity: 0; visibility: hidden; pointer-events: none; }
.welcome-splash__photo, .welcome-splash__shade { position: absolute; inset: 0; }
.welcome-splash__photo {
  background: var(--welcome-image) center 42% / cover no-repeat;
  animation: welcome-photo 3.8s cubic-bezier(.15,.55,.3,1) both, welcome-monochrome 3.8s linear both;
}
.welcome-splash__shade {
  background: linear-gradient(90deg, rgba(6,20,15,.9), rgba(7,22,17,.43) 60%, rgba(7,22,17,.25)),
    linear-gradient(0deg, rgba(6,18,14,.82), transparent 55%);
}
.welcome-splash__content {
  position: absolute;
  left: 24px;
  top: 50%;
  translate: 0 -50%;
  right: 24px;
  text-align: center;
  color: rgba(255,255,255,.48);
  animation: welcome-copy 950ms 200ms both;
}
.welcome-splash__title {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .01em;
  text-shadow: 0 6px 40px rgba(0,0,0,.4);
}
.welcome-splash__founded { margin-top: 12px; font-family: "Bebas Neue", "Arial Narrow", sans-serif; font-size: clamp(20px, 2.4vw, 32px); }
.welcome-splash__founded::before, .welcome-splash__founded::after { content: "—"; margin: 0 .5em; font-weight: 400; }
.welcome-splash__content p { margin: 12px auto 0; max-width: 650px; font-size: clamp(14px, 1.5vw, 18px); font-weight: 400; }
.welcome-splash__topics { margin-top: clamp(26px, 5vh, 52px); font-family: "Bebas Neue", "Arial Narrow", sans-serif; font-size: clamp(17px, 2vw, 24px); letter-spacing: .06em; }
@keyframes welcome-photo { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes welcome-monochrome { from { filter: grayscale(0); } to { filter: grayscale(1); } }
@keyframes welcome-copy { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .welcome-splash__photo {
    background-image: var(--welcome-image),
      linear-gradient(rgba(6,20,15,.7), rgba(6,20,15,.7)),
      var(--welcome-image);
    background-size: contain, cover, cover;
    background-position: center 36%, center, center;
    background-repeat: no-repeat;
  }
  .welcome-splash__shade { background: linear-gradient(0deg, rgba(6,20,15,.94), rgba(6,20,15,.38) 75%); }
  .welcome-splash__title { font-size: clamp(40px, 10vw, 60px); }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-splash, .welcome-splash * { animation: none !important; transition: none !important; }
}
