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

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

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #ffffff;
  background-color: #0a0d10; /* fallback shown before / without the image */
}

/* -------------------------------------------------
   Background image (CSS background, not an <img>)
------------------------------------------------- */
.page {
  min-height: 100svh;
  background-image: url("/img/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 8vh, 4rem);

  padding: 8vh 6vw;
  text-align: center;
}

/* -------------------------------------------------
   Logo
------------------------------------------------- */
.logo {
  width: clamp(56px, 9vw, 96px);
  height: auto;
  display: block;
}

/* -------------------------------------------------
   Responsive type: 20px on mobile, up to 40px on desktop
------------------------------------------------- */
.tagline {
  margin: 0;
  max-width: 46ch;
  font-weight: 700;
  line-height: 1.3;
  font-size: clamp(1.25rem, 1vw + 1rem, 2.5rem); /* 20px -> 40px */
}

/* -------------------------------------------------
   Contact links (no default link styling)
------------------------------------------------- */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
}

.contact a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1rem, 0.4vw + 0.85rem, 1.375rem);
  transition: opacity 0.15s ease;
}

.contact a:hover,
.contact a:focus-visible {
  opacity: 0.7;
}

.contact a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
  border-radius: 2px;
}

/* -------------------------------------------------
   Respect reduced motion
------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .contact a {
    transition: none;
  }
}
