:root {
  --color-bg: #050608;
  --color-text: #f8f8f5;
  --color-shadow: rgba(0, 0, 0, 0.58);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --radius-full: 9999px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -3rem;
  z-index: 50;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #000000;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-4);
}

.page-shell {
  min-height: 100dvh;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  background-color: #0a0b0d;
  background-image: url('./assets/background.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-backdrop,
.hero-vignette,
.hero-floor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-backdrop {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 0;
}

.hero-vignette {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.18) 18%,
      rgba(0, 0, 0, 0.08) 50%,
      rgba(0, 0, 0, 0.18) 82%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0) 22%,
      rgba(0, 0, 0, 0) 74%,
      rgba(0, 0, 0, 0.54) 100%
    );
  z-index: 1;
}

.hero-floor {
  inset: auto 0 0;
  height: 24vh;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(7, 7, 7, 0.3) 38%,
    rgba(0, 0, 0, 0.58) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(92vw, 42rem);
  display: grid;
  justify-items: center;
  gap: clamp(0.5rem, 1vw, 1rem);
  margin-top: clamp(-2rem, -4vh, -0.5rem);
  padding-inline: var(--space-4);
  filter: drop-shadow(0 12px 22px var(--color-shadow));
}

.hero-logo {
  width: min(78vw, 37.5rem);
}

.hero-tagline {
  width: min(58vw, 34.375rem);
}

.hero-development {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(2.5rem, 6vh, 4.5rem);
  transform: translateX(-50%);
  width: min(70vw, 47.5rem);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.48));
}

@media (max-width: 900px) {
  .hero {
    background-position: center center;
  }

  .hero-content {
    width: min(94vw, 34rem);
    margin-top: clamp(-1rem, -1vh, 0rem);
  }

  .hero-logo {
    width: min(80vw, 31rem);
  }

  .hero-tagline {
    width: min(72vw, 24rem);
  }

  .hero-development {
    width: min(82vw, 34rem);
    bottom: clamp(2rem, 5vh, 3.5rem);
  }
}

@media (max-width: 640px) {
  .hero {
    background-position: 56% center;
  }

  .hero-content {
    width: min(100vw, 24rem);
    margin-top: clamp(-4rem, -6vh, -1.5rem);
    gap: var(--space-2);
    padding-inline: var(--space-6);
  }

  .hero-logo {
    width: min(82vw, 19rem);
  }

  .hero-tagline {
    width: min(78vw, 15.5rem);
  }

  .hero-development {
    width: min(88vw, 21rem);
    bottom: clamp(1.75rem, 4.5vh, 2.75rem);
  }

  .hero-vignette {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.24) 20%,
        rgba(0, 0, 0, 0.18) 50%,
        rgba(0, 0, 0, 0.34) 80%,
        rgba(0, 0, 0, 0.82) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.12) 24%,
        rgba(0, 0, 0, 0.1) 68%,
        rgba(0, 0, 0, 0.68) 100%
      );
  }
}
