/* "Walk with us" — the veil over the film's first frame (js/opener.js). Only its button opens it (and lets the sound start). */
.opener {
  /* reaches below the screen, fading out at its foot, so the edge sliding up is soft, not a line */
  position: fixed; top: 0; left: 0; right: 0; height: calc(100% + 22vh); z-index: 30;
  display: flex; align-items: center; justify-content: center; padding: 2rem 1.3rem calc(2rem + 22vh);
  text-align: center;
  background: radial-gradient(120% 70% at 50% 40%, rgba(10,14,42,0.38) 0%, rgba(8,10,30,0.72) 70%, rgba(6,8,24,0.86) 100%);
  backdrop-filter: blur(14px) saturate(0.9); -webkit-backdrop-filter: blur(14px) saturate(0.9);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 22vh), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 22vh), transparent);
  transition: transform 1.25s cubic-bezier(0.65, 0, 0.3, 1), opacity 0.45s ease 0.9s;
  -webkit-tap-highlight-color: transparent; will-change: transform;
}
.opener-inner { display: flex; flex-direction: column; align-items: center; }
.opener-kicker {
  font-family: var(--display); font-style: italic; letter-spacing: 0.18em; text-transform: uppercase;
  font-size: clamp(0.72rem, 2.4vw, 0.9rem); color: var(--text-dim); text-shadow: var(--glyph-halo);
}
/* the seal: a fine gold double ring around the GP monogram (assets/logo-gp.svg, traced from the couple's logo) */
.opener-seal {
  width: clamp(8rem, 34vw, 10rem); aspect-ratio: 1; margin: 1.5rem 0 1.3rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,207,135,0.7);
  box-shadow: 0 0 0 5px rgba(255,207,135,0.08), 0 0 0 6px rgba(255,207,135,0.4), 0 0 40px rgba(255,190,110,0.22),
    inset 0 0 28px rgba(255,190,110,0.12);
  background: radial-gradient(circle at 50% 40%, rgba(255,215,160,0.10), rgba(10,14,42,0.25) 70%);
}
.opener-logo { width: 60%; height: auto; filter: drop-shadow(0 0 10px rgba(255,190,110,0.3)); }
.opener-names { font-family: var(--script); font-size: clamp(2.3rem, 9vw, 3.2rem); line-height: 1.1; color: var(--text-hi);
  text-shadow: var(--glyph-halo); word-spacing: 0.12em; }
html[data-lang="ta"] .opener-names, html[data-lang="te"] .opener-names { font-family: var(--body); font-size: clamp(1.6rem, 6.5vw, 2.3rem); }
.opener-date { margin-top: 0.6rem; font-family: var(--display); letter-spacing: 0.22em; text-transform: uppercase;
  font-size: clamp(0.8rem, 2.6vw, 0.98rem); color: var(--text-gold); }
.opener-btn { margin-top: 2.2rem; padding: 0.85rem 2.2rem; font-size: clamp(0.92rem, 3.2vw, 1.02rem); letter-spacing: 0.06em;
  animation: opener-breathe 2.8s ease-in-out infinite; }
@keyframes opener-breathe { 50% { box-shadow: 0 0 0 7px rgba(255,207,135,0.16), 0 8px 30px rgba(255,190,110,0.35); } }

/* while the veil is up: the languages stay usable on top; the sound button waits underneath; no scrolling yet */
html.opener-up .site-nav { z-index: 31; }
html.opener-up .sound-toggle { opacity: 0; pointer-events: none; }
html.opener-up, html.opener-up body { overflow: hidden; overscroll-behavior: none; }
.opener { touch-action: none; }

/* opening: the veil slides up and away like a page being scrolled, then fades */
.opener.is-open { transform: translateY(-100%); opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .opener { transition: opacity 0.6s ease; }
  .opener.is-open { transform: none; }
  .opener-btn { animation: none; }
}
