:root {
  --accent: #f6c67a;
  --text: #f5f2ee;
  --muted: #b6b0a8;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Playfair Display", "Times New Roman", serif;
  color: var(--text);
  background: #000;
  overflow: hidden;
}

body.unlocked {
  overflow: auto;
}

main {
  min-height: 100vh;
}

.section {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.hero-inner {
  text-align: center;
  display: grid;
  gap: 18px;
  place-items: center;
}

.logo-wrap {
  display: inline-flex;
  gap: 14px;
  align-items: baseline;
  justify-content: center;
  animation: logo-in 1.2s ease-out both;
  margin-bottom: 18px;
}

.logo-svg {
  width: clamp(46px, 6.5vw, 68px);
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.35));
}

.logo-text {
  font-family: "Poppins", "Archivo Black", "Manrope", "Inter", "Unbounded", sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 200;
  letter-spacing: 3px;
  margin: 0;
}

.tagline {
  margin: 0;
  font-size: 20px;
  color: #fff;
}

.tagline .letter {
  opacity: 0;
  display: inline-block;
  animation: letter-in 0.6s ease forwards;
}

.tagline .space {
  width: 0.35em;
}

.tagline .letter:nth-child(1) {
  animation-delay: 2.5s;
}

.tagline .letter:nth-child(2) {
  animation-delay: 2.54s;
}

.tagline .letter:nth-child(3) {
  animation-delay: 2.58s;
}

.tagline .letter:nth-child(4) {
  animation-delay: 2.62s;
}

.tagline .letter:nth-child(5) {
  animation-delay: 2.66s;
}

.tagline .letter:nth-child(6) {
  animation-delay: 2.7s;
}

.tagline .letter:nth-child(7) {
  animation-delay: 2.74s;
}

.tagline .letter:nth-child(8) {
  animation-delay: 2.78s;
}

.tagline .letter:nth-child(9) {
  animation-delay: 2.82s;
}

.tagline .letter:nth-child(10) {
  animation-delay: 2.86s;
}

.tagline .letter:nth-child(11) {
  animation-delay: 2.9s;
}

.tagline .letter:nth-child(12) {
  animation-delay: 2.94s;
}

.tagline .letter:nth-child(13) {
  animation-delay: 2.98s;
}

.tagline .letter:nth-child(14) {
  animation-delay: 3.02s;
}

.tagline .letter:nth-child(15) {
  animation-delay: 3.06s;
}

.tagline .letter:nth-child(16) {
  animation-delay: 3.1s;
}

.tagline .letter:nth-child(17) {
  animation-delay: 3.14s;
}

.tagline .letter:nth-child(18) {
  animation-delay: 3.18s;
}

.tagline .letter:nth-child(19) {
  animation-delay: 3.22s;
}

.tagline .letter:nth-child(20) {
  animation-delay: 3.26s;
}

.tagline .letter:nth-child(21) {
  animation-delay: 3.3s;
}

.tagline .letter:nth-child(22) {
  animation-delay: 3.34s;
}

.tagline .letter:nth-child(23) {
  animation-delay: 3.38s;
}

.tagline .letter:nth-child(24) {
  animation-delay: 3.42s;
}

.tagline .letter:nth-child(25) {
  animation-delay: 3.46s;
}

.tagline .letter:nth-child(26) {
  animation-delay: 3.5s;
}

.tagline .letter:nth-child(27) {
  animation-delay: 3.54s;
}

.tagline .letter:nth-child(28) {
  animation-delay: 3.58s;
}

.tagline .letter:nth-child(29) {
  animation-delay: 3.62s;
}

.tagline .letter:nth-child(30) {
  animation-delay: 3.66s;
}

.tagline .letter:nth-child(31) {
  animation-delay: 3.7s;
}

.tagline .letter:nth-child(32) {
  animation-delay: 3.74s;
}

.tagline .letter:nth-child(33) {
  animation-delay: 3.78s;
}

.tagline .letter:nth-child(34) {
  animation-delay: 3.82s;
}

.tagline .letter:nth-child(35) {
  animation-delay: 3.86s;
}

.tagline .letter:nth-child(36) {
  animation-delay: 3.9s;
}

.tagline .letter:nth-child(37) {
  animation-delay: 3.94s;
}

.tagline .letter:nth-child(38) {
  animation-delay: 3.98s;
}

.scroll-cta {
  border: none;
  background: transparent;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  margin-top: 12px;
  padding: 6px;
  animation: arrow-in 1.2s ease-out 4.58s both, arrow-bounce 1.4s ease-in-out 5.78s infinite;
}

.scroll-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.message {
  background: #000;
}

.message-nav {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.state-message .message-nav {
  opacity: 1;
  pointer-events: auto;
}

.home-link {
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
}

.home-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.message-inner {
  font-size: clamp(18px, 2.6vw, 34px);
  text-align: center;
  max-width: none;
  line-height: 1.4;
  white-space: normal;
  text-wrap: balance;
}

@keyframes logo-in {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(14px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes text-in {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes letter-in {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrow-in {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 600px) {
  .logo-svg {
    width: 46px;
  }

  .logo-text {
    font-size: 20px;
    letter-spacing: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
