/* A brief, homepage-only opening curtain. Content remains usable without JS. */
.landing-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 4rem);
  background: var(--ink, #132514);
  color: var(--paper, #f2efe5);
  overflow: hidden;
  animation: landing-curtain 2.6s cubic-bezier(0.76, 0, 0.24, 1) both;
}
.landing-intro__bottom {
  padding-bottom: 1vh;
}
.landing-intro__caption {
  margin: 0 0 1.5rem 0.4vw;
  color: var(--yellow, #edbd36);
  font: 500 0.7rem/1.4 var(--mono, monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.landing-intro__title {
  display: block;
  margin: 0;
  font: 700 clamp(1.5rem, 10.8vw, 13rem)/0.94 var(--serif, serif);
  letter-spacing: 0;
  font-synthesis: none;
  font-optical-sizing: none;
  font-variation-settings:
    "wght" 700,
    "opsz" 72;
  white-space: nowrap;
}
.landing-intro__word {
  display: inline-block;
  animation: landing-word 1.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes landing-word {
  from {
    opacity: 0;
    transform: translateY(105%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes landing-curtain {
  0%,
  62% {
    transform: translateY(0);
    visibility: visible;
  }
  99% {
    visibility: visible;
  }
  100% {
    transform: translateY(-101%);
    visibility: hidden;
  }
}
.landing-intro.is-dismissed {
  display: none;
}
@media (max-width: 600px) {
  .landing-intro {
    padding: 1.25rem;
  }
  .landing-intro__title {
    font-size: 10.8vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .landing-intro {
    display: none;
    animation: none;
  }
  .landing-intro * {
    animation: none;
  }
}
