.xp-hero {
  
  background: url("../../assets/hero_top.webp?v=bd1d0dcb") center / auto 100% no-repeat;
  background-image: image-set(
    url("../../assets/hero_top.avif?v=49f43925") type("image/avif"),
    url("../../assets/hero_top.webp?v=bd1d0dcb") type("image/webp"));
  background-color: #070605;   
  filter: none;   
  transition: none;
}
.xp-frame { z-index: 6; }
@media (max-aspect-ratio: 115/100) {
  .xp-hero {
    background-size: auto 63%;
    background-image: image-set(
      url("../../assets/hero_m.avif?v=ca97452d") type("image/avif"),
      url("../../assets/hero_m.webp?v=84455abc") type("image/webp"));
  }
}
@media (max-aspect-ratio: 80/100)  { .xp-hero { background-size: auto 43%; } }
@media (max-aspect-ratio: 80/100) {
  .xp-hero {
    
    background-image: url("../../assets/hero_p.webp?v=32f39c5d");
    background-size: cover;
    background-position: center;
  }
  .xp-intro .hero-left {
    top: calc(var(--edge) + 96px);   
    transform: none;
  }
}
.xp-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(1 - var(--dis, 0));
  background: linear-gradient(102deg,
    rgba(5, 3, 2, 0.66) 0%,
    rgba(5, 3, 2, 0.40) 24%,
    rgba(5, 3, 2, 0.10) 44%,
    transparent 58%);
}
.xp-intro .hero-over,
.xp-intro .hero-rule,
.xp-intro .hero-cta { opacity: var(--sec, 1); }
.xp-intro .hero-h1 {
  transform: translateY(calc(var(--dis, 0) * -1.5rem));
  filter: blur(calc(var(--dis, 0) * var(--dis, 0) * 5px));
  -webkit-mask-image: linear-gradient(to top,
    #000 calc(111% - var(--dis, 0) * 136%),
    transparent calc(133% - var(--dis, 0) * 136%));
  mask-image: linear-gradient(to top,
    #000 calc(111% - var(--dis, 0) * 136%),
    transparent calc(133% - var(--dis, 0) * 136%));
  will-change: transform, filter;
}
.hero-dust {
  position: fixed;
  z-index: var(--z-hud);
  pointer-events: none;
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .xp-intro .hero-h1 { transform: none; filter: none; }
  .hero-dust { display: none !important; }
}
.hero-boot {
  position: absolute;
  left: 50%;
  bottom: var(--edge-v);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  padding: var(--s6) var(--s10) var(--s4);
  pointer-events: none;
  text-align: center;
  color: var(--gold-hi);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-boot::before {
  content: "";
  position: absolute;
  inset: -10% -6%;
  background: radial-gradient(60% 70% at 50% 55%,
    rgba(5, 4, 3, 0.72), rgba(5, 4, 3, 0.32) 55%, transparent 78%);
  z-index: -1;
}
@media (max-aspect-ratio: 80/100) { .hero-boot::before { display: none; } }
.hero-boot .hb-num {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 4.4ch;
  gap: 0.14em;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.4rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums;
  color: var(--ivory);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}
.hero-boot .hb-num i { font-style: normal; }
.hero-boot .hb-num small {
  font-family: var(--font-text);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tr-micro);
  color: var(--gold-55);
  transform: translateY(0.35em);
}
.hero-boot .hb-rail {
  position: relative;
  width: clamp(150px, 21vw, 280px);
  height: 1px;
  background: rgba(219, 182, 106, 0.22);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.hero-boot .hb-rail i {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .hero-boot .hb-rail i { transition: none; }
}
.hero-boot .hb-txt {
  font-family: var(--font-text);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tr-micro);
  text-transform: uppercase;
  color: var(--txt-55);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
body.xp-booting .hero-cta { opacity: 0 !important; pointer-events: none; visibility: hidden; }
body.xp-booting .hero-cta,
body.xp-booting .hero-cta *,
body.xp-booting .hero-cta *::before,
body.xp-booting .hero-cta *::after { animation: none !important; }
body:not(.xp-booting) .hero-boot { opacity: 0; visibility: hidden; }
body.xp-nogl .hero-boot { display: none; }
.xp-intro .hero-sub {
  max-width: 34ch;
  margin: 1.1rem 0 0;
  font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.15rem);
  line-height: 1.5;
  font-weight: 500;
  color: oklch(99% 0.008 85);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 2px 14px rgba(0, 0, 0, 0.55);
  opacity: var(--sec, 1);
}
@media (max-aspect-ratio: 80/100) { .xp-intro .hero-sub { max-width: 26ch; } }
html.kf-stroezh .xp-hero,
html.kf-stroezh .xp-intro .hero-left,
html.kf-stroezh .xp-intro .hero-cta,
html.kf-stroezh .hero-dust { display: none; }   
html.kf-stroezh .xp-stage canvas { transition: opacity 0.6s ease; }
html.kf-stroezh body.xp-booting .xp-stage canvas { opacity: 0; }
@media (prefers-reduced-motion: reduce) { html.kf-stroezh .xp-stage canvas { transition: none; } }
