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

html,
body {
  height: 100%;
  overflow: hidden;
  background-color: #070a0f;
  color: #e8dcc4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.bg-picture,
.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 42% center;
  user-select: none;
  pointer-events: none;
}

@media (orientation: landscape) and (max-aspect-ratio: 14/10) {
  .bg-image {
    object-position: 28% center;
  }
}

@media (orientation: portrait) {
  .bg-image {
    object-position: center 22%;
  }
}

@media (orientation: portrait) and (min-aspect-ratio: 10/16) {
  .bg-image {
    object-position: center top;
  }
}

.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  text-align: center;
  padding: 2.25rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  background: linear-gradient(
    to top,
    rgba(6, 9, 14, 0.88) 0%,
    rgba(6, 9, 14, 0.48) 62%,
    rgba(6, 9, 14, 0) 100%
  );
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 94, 0.24);
  background: rgba(7, 10, 15, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(232, 220, 196, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(212, 175, 106, 0.65);
  color: #f4ead5;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 162, 94, 0.16);
}

.social-link:focus-visible {
  outline: 2px solid #d4af6a;
  outline-offset: 2px;
}

.social-icon {
  flex-shrink: 0;
}

.footer-note {
  font-size: clamp(0.65rem, 1.05vw, 0.75rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(232, 220, 196, 0.58);
  max-width: 92vw;
  text-wrap: balance;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .social-link {
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  }

  .social-link:hover,
  .social-link:focus-visible {
    transform: none;
  }
}
