/* Stand-alone coming-soon teaser. Self-contained (does not load site.css), no
   inline styles — the site ships a strict CSP (style-src 'self'). */

:root {
  --gold: #d4a574;
  --gold-bright: #f4cc98;
  --text: #ccd3dd;
  --text-strong: #f1f5fa;
  --text-muted: #8691a0;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text);
  font: 16px/1.6 "Bahnschrift", "Segoe UI", Tahoma, sans-serif;
  background-color: #070a0f;
}

/* ---- Looping background reel -------------------------------------------- */
.teaser-video-shell {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #070a0f url("../media/ZuluHotel_Background.da2fd0c03b9d.png") center / cover no-repeat;
}

.teaser-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96) brightness(0.42) contrast(1.05);
  transform: scale(1.03);
}

.teaser-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 30%, rgba(212, 165, 116, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(6, 9, 14, 0.55), rgba(6, 9, 14, 0.86));
}

/* ---- Language switch ---------------------------------------------------- */
.teaser-lang {
  position: fixed;
  top: clamp(14px, 3vw, 26px);
  right: clamp(14px, 3vw, 26px);
  display: inline-flex;
  gap: 8px;
  z-index: 2;
}

.teaser-lang-pill {
  min-width: 46px;
  padding: 7px 12px;
  text-align: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  background: rgba(8, 12, 18, 0.5);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: 160ms ease;
}

.teaser-lang-pill:hover,
.teaser-lang-pill.is-active {
  color: var(--gold-bright);
  border-color: rgba(212, 165, 116, 0.5);
  background: rgba(212, 165, 116, 0.12);
}

/* ---- Content ------------------------------------------------------------ */
.teaser-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  text-align: center;
  padding: 24px;
  animation: teaser-rise 900ms ease both;
}

.teaser-eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: clamp(0.72rem, 2vw, 0.86rem);
  color: var(--gold);
}

/* Same wordmark style as the site header (.brand-copy strong in site.css):
   the Palatino serif name — scaled up for the hero teaser. */
.teaser-brand {
  margin: 0;
  font-weight: 400;
  line-height: 1.02;
}

.teaser-brand-name {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-strong);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 165, 116, 0.18);
}

/* ---- Countdown ---------------------------------------------------------- */
.teaser-countdown {
  margin: clamp(28px, 6vw, 46px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 1fr));
  gap: clamp(8px, 2.4vw, 18px);
  max-width: 560px;
}

.cd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 2.4vw, 20px) 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 17, 24, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cd-num {
  font-size: clamp(1.9rem, 7vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.cd-label {
  font-size: clamp(0.62rem, 1.8vw, 0.78rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

/* Launched state — swap the grid for a single celebratory line. */
.teaser-countdown.is-launched {
  display: block;
  border: 0;
  background: none;
  font-size: clamp(1.6rem, 6vw, 2.8rem);
  font-weight: 800;
  color: var(--gold-bright);
}

@keyframes teaser-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teaser-content {
    animation: none;
  }
}

@media (max-width: 420px) {
  .teaser-countdown {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .cd-cell {
    border-radius: 13px;
  }
}
