:root {
  color-scheme: dark;
  --background: #111111;
  --accent: #007ac5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--background);
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
}

.bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 2rem;
  text-align: left;
}

.logo-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.logo-wrap {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: clamp(8rem, 22vw, 13rem);
  overflow: visible;
  --logo-pulse: 0.5;
}

.logo,
.logo-glow {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.logo-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  filter: url("#logo-blue-glow");
  mix-blend-mode: screen;
  opacity: calc(0.10 + var(--logo-pulse) * 0.45);
}

.logo-box {
  position: absolute;
  inset: -6%;
  pointer-events: none;
  background: #003455;
  -webkit-mask-image: url("/Logo.png");
  mask-image: url("/Logo.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  filter: blur(14px);
  mix-blend-mode: screen;
  opacity: calc(0.1 + var(--logo-pulse) * 0.1);
}

.logo {
  position: relative;
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
  animation: logo-wobble 8.5s ease-in-out infinite;
}

@keyframes logo-wobble {
  0%,
  100% {
    transform: rotate(-0.7deg);
  }

  50% {
    transform: rotate(0.7deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo {
    animation: none;
  }

  .logo-wrap {
    --logo-pulse: 0.45;
  }
}

.brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem 1.25rem 1.2rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.brand h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  white-space: nowrap;
}

.brand h1 span {
  color: var(--white);
}

.brand h1 strong {
  color: var(--accent);
  font-weight: 700;
}

.brand p {
  margin: 0.4rem 0 0 0.25em;
  color: rgba(255, 255, 255, 0.72);
  font-family: Outfit, sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.social svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.social:hover,
.social:focus-visible {
  color: var(--white);
  border-color: var(--accent);
  background: rgba(0, 122, 197, 0.16);
  outline: none;
}

@media (max-width: 480px) {
  .landing {
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
  }

  .logo-wrap {
    width: min(48vw, 10rem);
  }

  .socials {
    justify-content: center;
  }
}
