@charset "UTF-8";
/* ============================================================
   CINEMATIC INTRO — full-screen hero video gate (homepage only)
   Plays once per session, then hands over to the site.
   ============================================================ */

/* ── Page state while the intro is showing ─────────────── */
body.intro-open {
  overflow: hidden;
  height: 100vh;
}
body.intro-open .site-header {
  transform: translateY(-102%);
  opacity: 0;
  pointer-events: none;
}
body.intro-open .cookie,
body.intro-open .actionbar,
body.intro-open .to-top {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* header drops in once the visitor enters */
.site-header {
  transition: box-shadow 0.25s var(--ease),
              transform 0.85s var(--ease) 0.12s,
              opacity 0.6s var(--ease) 0.18s;
}

/* ── Overlay ───────────────────────────────────────────── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--purple-deep);
  overflow: hidden;
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.intro[hidden] { display: none; }
.intro.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.1s var(--ease), transform 1.6s var(--ease);
}
.intro__video.is-playing { opacity: 1; }
/* gentle settle as the outro takes over */
.intro__video.is-dimming {
  opacity: 0.18;
  transform: scale(1.045);
}

/* readability veil — sits between video and text */
.intro__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(30, 16, 40, 0.30) 0%, rgba(30, 16, 40, 0.66) 100%),
    linear-gradient(to top, rgba(52, 30, 68, 0.78) 0%, rgba(52, 30, 68, 0.1) 42%, rgba(52, 30, 68, 0.45) 100%);
  pointer-events: none;
  transition: opacity 1s var(--ease);
}
.intro.is-outro .intro__veil { opacity: 0.62; }

/* ── Caption lines ─────────────────────────────────────── */
.intro__captions {
  position: relative;
  z-index: 2;
  /* share the same grid cell as the outro card, otherwise auto-placement
     drops the captions into a second row and they sit below centre */
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 100%;
  padding-inline: var(--gut);
  pointer-events: none;
}
.intro__line {
  grid-area: 1 / 1;
  margin: 0;
  max-width: 20ch;
  text-align: center;
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  font-weight: 500;
  font-size: clamp(1.8rem, 5.8vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(20, 8, 28, 0.6),
               0 2px 16px rgba(20, 8, 28, 0.55),
               0 6px 44px rgba(20, 8, 28, 0.5);
  visibility: hidden;
}
.intro__line.is-active { visibility: visible; }

/* word mask — the clean rise/exit */
.intro__line .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.intro__line .w > i {
  display: inline-block;
  font-style: inherit;
  transform: translateY(112%);
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.intro__line.is-in .w > i { transform: translateY(0); }
.intro__line.is-out .w > i {
  transform: translateY(-112%);
  transition-duration: 0.62s;
}

/* ── Outro card ────────────────────────────────────────── */
.intro__outro {
  position: relative;
  z-index: 3;
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  align-content: center;
  max-height: 100dvh;
  gap: 0.35rem;
  text-align: center;
  padding-inline: var(--gut);
  /* sits a touch above dead centre so it reads as the focal point */
  margin-top: -5vh;
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), visibility 1s;
}
.intro__outro.is-in {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* the brand lockup, large and central */
.intro__logo {
  width: clamp(230px, 38vw, 460px);
  /* never let the lockup push the button off a short screen */
  max-height: 34vh;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 8px 40px rgba(20, 8, 28, 0.55));
}
.intro__sub {
  font-family: 'Karla', sans-serif;
  font-size: clamp(0.86rem, 1.9vw, 1.05rem);
  color: rgba(255, 255, 255, 0.76);
  max-width: 46ch;
  margin: 0.7rem 0 1.9rem;
}
.intro__enter {
  font-size: 1.05rem;
  padding: 19px 46px;
  box-shadow: 0 10px 40px rgba(239, 197, 52, 0.4);
}
.intro__enter .lotus {
  width: 18px;
  height: 18px;
  color: currentColor;
  margin: 0;
}
.intro__note {
  font-family: 'Karla', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.5rem;
}

/* ── Skip + sound + progress ───────────────────────────── */
.intro__skip {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Karla', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(20, 8, 28, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-pill);
  padding: 10px 20px;
  backdrop-filter: blur(6px);
  transition: background-color 0.25s var(--ease-soft), color 0.25s var(--ease-soft),
              border-color 0.25s var(--ease-soft), opacity 0.5s var(--ease);
}
.intro__skip:hover {
  background: #fff;
  color: var(--purple-deep);
  border-color: #fff;
}
.intro.is-outro .intro__skip { opacity: 0; pointer-events: none; }

.intro__sound {
  position: absolute;
  bottom: 26px;
  right: 22px;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 8, 28, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  transition: background-color 0.25s var(--ease-soft), color 0.25s var(--ease-soft), opacity 0.5s var(--ease);
}
.intro__sound.is-available { display: grid; }
.intro__sound:hover { background: #fff; color: var(--purple-deep); }
.intro__sound svg { width: 20px; height: 20px; fill: currentColor; }
.intro.is-outro .intro__sound { opacity: 0; pointer-events: none; }

.intro__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.16);
  transition: opacity 0.6s var(--ease);
}
.intro__progress > i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transform-origin: left;
}
.intro.is-outro .intro__progress { opacity: 0; }

/* ── Small screens ─────────────────────────────────────── */
@media (max-width: 600px) {
  .intro__line { max-width: 14ch; }
  .intro__skip { top: 16px; right: 16px; padding: 9px 16px; font-size: 0.72rem; }
  .intro__sound { bottom: 20px; right: 16px; }
  .intro__enter { padding: 17px 34px; font-size: 0.98rem; }
}

/* short/landscape phones — keep the card on screen */
@media (max-height: 560px) {
  .intro__line { font-size: clamp(1.4rem, 5vw, 2.2rem); }
  .intro__logo { width: clamp(170px, 26vw, 260px); margin-bottom: 0.2rem; }
  .intro__sub { margin: 0.4rem 0 1rem; }
  .intro__outro { margin-top: -2vh; }
  .intro__note { display: none; }
}

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .intro, .intro__video, .intro__outro, .intro__line .w > i, .site-header {
    transition-duration: 0.001ms !important;
  }
  .intro__video { display: none; }
  .intro__captions { display: none; }
  .intro { background: var(--purple-deep); }
  .intro__outro { opacity: 1; transform: none; visibility: visible; }
  .intro__progress { display: none; }
}

/* ── No JavaScript: never trap the visitor behind the gate ─ */
@media (scripting: none) {
  .intro { display: none; }
}
