/* -------------------------------------------------- */
/* Reset                                               */
/* -------------------------------------------------- */

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

html,
body {
  height: 100%;
}

body {
  background: #000;
  color: #C6DAB4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

/* -------------------------------------------------- */
/* Layout                                              */
/* -------------------------------------------------- */

.page {
  min-height: 100vh;
  min-height: 100svh; /* better viewport unit on mobile browsers */
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 2rem;
}

/* -------------------------------------------------- */
/* Type                                                */
/* -------------------------------------------------- */

.logo {
  font-family: "Newsreader", serif;
  font-weight: 300;
  font-size: clamp(4.4rem, 5.6vw + 3.2rem, 8rem); /* scales up to 80px */
  letter-spacing: -0.02em; /* -2% */
  line-height: 1;
}

.tagline {
  font-family: "Host Grotesk", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0; /* 0% */
  font-size: clamp(0.9rem, 1.4vw + 0.7rem, 1.4375rem); /* scales up to 23px */
  line-height: 1.4;
  margin-top: 1.5rem;
  max-width: 26ch;
}

.status {
  font-family: "Host Grotesk", sans-serif;
  font-weight: 400;
  font-size: clamp(0.8rem, 0.5vw + 0.7rem, 0.9375rem);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.02em;
  margin-top: 0.85rem;
}

.contact {
  font-family: "Host Grotesk", sans-serif;
  font-weight: 400;
  font-size: clamp(0.8rem, 0.5vw + 0.7rem, 0.9375rem);
  text-align: center;
  padding: 2rem 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
}

.contact .arrow {
  display: inline-block;
}

.contact a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

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

a:focus-visible {
  outline: 1px solid #C6DAB4;
  outline-offset: 4px;
}

/* -------------------------------------------------- */
/* Entrance (respects reduced-motion by default)       */
/* -------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .contact {
    opacity: 0;
    animation: fade-in 0.8s ease-out forwards;
  }

  .contact {
    animation-delay: 0.15s;
  }

  @keyframes fade-in {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
