* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
  background: #0a1018;
}

#bg {
  position: fixed;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.logo-wrap {
  position: fixed;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}

.logo {
  display: block;
  width: min(60vw, 460px);
  height: auto;
}

.contact-bar {
  position: fixed;
  z-index: 2;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #ffffff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  transform: translateX(-50%);
}

.contact-email {
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: inherit;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.social-link img {
  display: block;
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.contact-email:hover,
.social-link:hover {
  opacity: 0.68;
}

.social-link:hover {
  transform: translateY(-2px);
}

.contact-email:focus-visible,
.social-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 5px;
}

@media (max-width: 480px) {
  .contact-bar {
    bottom: max(18px, env(safe-area-inset-bottom));
    gap: 14px;
  }

  .contact-email {
    font-size: 10px;
    letter-spacing: 0.045em;
  }
}

@media (min-width: 769px) and (orientation: landscape) {
  .logo {
    width: 280px;
  }
}
