/* ==========================================================================
   Home (index.html) — full-screen reel, name, tagline, "enter"
   Vertical rhythm: the name is centred at 50% and is 8.855vw × 0.9 tall,
   so its bottom edge sits at 50% + 3.985vw; tagline and button stack below it.
   ========================================================================== */
.hero {
  --name-bottom: calc(50% + 3.985vw);
  --tagline-top: calc(var(--name-bottom) + clamp(12px, 1.4vw, 22px));
  --tagline-size: clamp(13px, 1.15vw, 17px);
  --enter-gap: clamp(18px, 2.2vw, 32px);
  position: fixed;
  inset: 0;
  overflow: hidden;
  cursor: pointer; /* a click anywhere enters (landing.js) */
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
}

.hero-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: 8.855vw;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-shadow: 0 2px 24px #0003;
  pointer-events: none;
}
.hero-tagline {
  position: absolute;
  top: var(--tagline-top);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  font-size: var(--tagline-size);
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-align: center;
  text-shadow: 0 1px 12px #0008;
  pointer-events: none;
}
.hero-enter {
  position: absolute;
  top: calc(var(--tagline-top) + var(--tagline-size) * 1.3 + var(--enter-gap));
  left: 50%;
  transform: translateX(-50%);
  min-height: 60px;
  min-width: 184px;
  padding: 0 40px;
  font-size: 17px;
  letter-spacing: 0.2em;
  text-transform: lowercase;
}

@media (max-width: 700px) {
  .hero-enter {
    min-height: 52px;
    min-width: 148px;
    padding: 0 28px;
    font-size: 15px;
    letter-spacing: 0.16em;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .hero {
    --enter-gap: 12px;
  }
  .hero-enter {
    min-height: 48px;
    font-size: 15px;
  }
}

/* language toggle — top-right corner */
.lang-toggle {
  position: absolute;
  top: var(--top);
  right: var(--edge);
}
