@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  height: 100%;
}

body {
  background-color: #072b31;
  color: #f3efe6;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vh, 3.5rem) clamp(1rem, 4vw, 2.5rem);
}

.content {
  --stage: min(92vw, 42rem);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 5.5vw, 3.5rem);
  width: var(--stage);
  text-align: center;
  animation: rise 900ms ease-out both;
}

.logo {
  width: clamp(4.5rem, 14vw, 7.25rem);
  height: auto;
  filter: brightness(0) invert(1);
}

.copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.7rem, 1.8vw, 1.1rem);
  width: max-content;
  max-width: 100%;
}

.coming-soon {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: calc(var(--stage) * 0.145);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f3efe6;
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
}

.subtitle {
  display: block;
  width: max-content;
  max-width: none;
  margin-inline: auto;
  font-size: calc(var(--stage) * 0.045);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: normal;
  word-spacing: normal;
  color: #f3efe6;
  white-space: nowrap;
  text-align: center;
}

.instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3efe6;
  margin-top: clamp(0.25rem, 1.5vw, 1rem);
  transition: opacity 200ms ease, transform 200ms ease;
}

.instagram:hover,
.instagram:focus-visible {
  opacity: 0.8;
  transform: translateY(-2px);
  outline: none;
}

.instagram__icon {
  width: clamp(2.25rem, 5.5vw, 2.85rem);
  height: clamp(2.25rem, 5.5vw, 2.85rem);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .instagram {
    transition: none;
  }
}

/* Very narrow phones: keep the pair locked, just tighten stage slightly */
@media (max-width: 360px) {
  .content {
    --stage: 94vw;
  }
}
