/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --black:      #05030100;
  --bg:         #080503;
  --bg-mid:     #0d0805;
  --gold:       #c8942a;
  --gold-dim:   #8a6118;
  --gold-glow:  rgba(200, 148, 42, 0.18);
  --sand:       #e8d4a0;
  --sand-dim:   #a89060;
  --smoke:      rgba(180, 130, 50, 0.04);
  --font-title: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif;
  --font-body:  Georgia, 'Times New Roman', serif;
}

/* ─── Base ───────────────────────────────────────────────── */
html, body {
  height: 100%;
  background: var(--bg);
  color: var(--sand-dim);
  font-family: var(--font-body);
  overflow: hidden;
}

/* ─── Starfield ──────────────────────────────────────────── */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; }
  50%       { opacity: var(--peak, 0.6); }
}

/* ─── Smoke / Haze ───────────────────────────────────────── */
.smoke-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 40% at 20% 80%, rgba(200,148,42,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 30% at 80% 85%, rgba(200,148,42,0.05) 0%, transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translateX(-12px) translateY(0); opacity: 1; }
  to   { transform: translateX(12px)  translateY(-6px); opacity: 0.8; }
}

/* ─── Scene ──────────────────────────────────────────────── */
.scene {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 7vh;
  /* vignette */
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%,   rgba(200,148,42,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 120% 50% at 50% 100%,  rgba(0,0,0,0.85)      0%, transparent 65%),
    radial-gradient(ellipse 40%  100% at 0%   50%, rgba(0,0,0,0.7)       0%, transparent 70%),
    radial-gradient(ellipse 40%  100% at 100% 50%, rgba(0,0,0,0.7)       0%, transparent 70%);
}

/* ─── Ziggurat ───────────────────────────────────────────── */
.ziggurat-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.ziggurat {
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 -6px 40px rgba(200, 148, 42, 0.12))
    drop-shadow(0  0px 80px rgba(200, 148, 42, 0.06));
}

/* ─── Content ────────────────────────────────────────────── */
.content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  /* nudge up above ziggurat */
  margin-bottom: 200px;
}

.eyebrow {
  font-size: clamp(0.6rem, 1.4vw, 0.8rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 0.4s;
}

/* ─── Title ──────────────────────────────────────────────── */
.title {
  font-family: var(--font-title);
  font-weight: normal;
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 1.4s ease forwards 0.7s;
}

.title-ur {
  color: var(--sand);
  text-shadow:
    0 0 60px rgba(200, 148, 42, 0.55),
    0 0 120px rgba(200, 148, 42, 0.25),
    0 2px 4px rgba(0,0,0,0.8);
}

.title-noir {
  color: var(--gold);
  text-shadow:
    0 0 40px rgba(200, 148, 42, 0.7),
    0 0 100px rgba(200, 148, 42, 0.3),
    0 2px 4px rgba(0,0,0,0.8);
  margin-left: 0.18em;
}

/* ─── Subtitle ────────────────────────────────────────────── */
.subtitle {
  font-family: var(--font-title);
  font-size: clamp(0.85rem, 2.4vw, 1.3rem);
  font-style: italic;
  font-weight: normal;
  color: var(--sand-dim);
  letter-spacing: 0.06em;
  margin-top: -0.6rem;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 1.0s;
}

/* ─── Tagline ─────────────────────────────────────────────── */
.tagline {
  font-size: clamp(0.75rem, 2vw, 1.05rem);
  font-style: italic;
  color: var(--sand-dim);
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 1.3s;
}

/* ─── Divider ─────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.5s;
}

.cuneiform {
  font-size: 1.1rem;
  color: var(--gold-dim);
  opacity: 0.7;
}

.rule {
  display: block;
  width: clamp(60px, 12vw, 140px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

/* ─── Coming Soon ─────────────────────────────────────────── */
.coming-soon {
  font-size: clamp(0.65rem, 1.6vw, 0.85rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.8s, pulse 4s ease-in-out infinite 2.8s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 0.45; }
}

/* ─── Footer ──────────────────────────────────────────────── */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  padding: 1rem;
}

.footer-text {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(168, 144, 96, 0.3);
  text-transform: uppercase;
}

/* ─── Entrance animation ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive tweaks ───────────────────────────────────── */
@media (max-width: 600px) {
  .scene {
    justify-content: flex-start;
    padding-top: 10vh;
    padding-bottom: 0;
  }

  .content {
    margin-bottom: 0;
    padding: 0 1.5rem;
  }

  /* Subtitle font size needs a nudge on narrow screens */
  .subtitle {
    font-size: clamp(0.8rem, 4vw, 1rem);
  }

  /* Give font sizes a mobile-specific floor */
  .tagline {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
  }

  .coming-soon {
    font-size: clamp(0.65rem, 2.8vw, 0.85rem);
  }
}
