:root {
  color-scheme: dark;
  --fade-duration: 1.5s;
  --text: #f6f8fb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #0b0f1a;
  color: var(--text);
  font-family: "Special Gothic Expanded One", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  isolation: isolate;
}

.bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity var(--fade-duration) ease-in-out;
  will-change: opacity;
}

.bg-layer.is-visible {
  opacity: 1;
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__panel {
  width: min(92vw, 760px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  max-width:600px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.95s ease, transform 0.95s ease;
}

.hero__logo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__headline {
  margin: 0;
  margin-top: 50px;
  color: var(--text);
  font-size: clamp(18px, 2.8vw, 18px);
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width:600px;
  display: inline-block;
  padding: clamp(6px, 1vw, 12px) clamp(12px, 2vw, 18px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero__headline.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .hero__headline {
    letter-spacing: 0.06em;
  }
}

@media (min-width: 1080px) {
  .hero__headline {
    font-size: clamp(16px, 1.7vw, 18px);
    letter-spacing: 0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-layer {
    transition: none;
  }

  .hero__logo,
  .hero__headline {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
