/* ============================================================
   Direction A — Centered Ceremonial
   Symmetric, processional. Each door emerges from the fog,
   one fold at a time, centered like a ceremony.
   ============================================================ */

/* ---------- Header ---------- */

.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3.5rem);
}

.site-head nav ul {
  list-style: none;
  display: flex;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.site-head nav a {
  font-family: var(--font-caption);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sepia-soft);
  transition: color 0.5s ease;
}

.site-head nav a:hover { color: var(--first-light); }

@media (max-width: 760px) {
  .site-head { justify-content: center; }
  .site-head nav { display: none; } /* doors are the page itself; scroll is the nav */
}

/* ---------- Hero ---------- */

.hero { flex-direction: column; text-align: center; }

.hero-inner { padding: 0 1.5rem; }

.hero .caption { margin-bottom: clamp(1.25rem, 3vh, 2.5rem); }

.hero h1 {
  font-size: clamp(3.4rem, 13vw, 11rem);
  letter-spacing: 0.06em;
  color: var(--sepia);
}

.hero-line {
  margin-top: clamp(1.5rem, 3.5vh, 3rem);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.descend {
  position: absolute;
  bottom: clamp(2rem, 6vh, 4rem);
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 1px;
  height: 64px;
  overflow: hidden;
}

.descend span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--first-light));
  animation: descend 2.8s var(--ease-drift) infinite;
}

@keyframes descend {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

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

/* ---------- Breath ---------- */

.breath { text-align: center; }

.breath-inner { padding: 0 1.5rem; max-width: 52ch; }

.poem.big {
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  line-height: 1.4;
  color: var(--sepia);
}

.breath .caption { margin-top: clamp(2rem, 5vh, 3.5rem); }

/* ---------- Doors ---------- */

.door { text-align: center; padding: clamp(4rem, 10vh, 7rem) 1.5rem; }

.door-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 46rem;
}

.door h2 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  letter-spacing: 0.05em;
  margin: clamp(0.8rem, 2vh, 1.4rem) 0 clamp(1.6rem, 4vh, 3rem);
}

.door figure {
  width: min(34rem, 86vw);
  aspect-ratio: 4 / 3;
}

.door .poem {
  margin-top: clamp(1.8rem, 4.5vh, 3.2rem);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: var(--sepia);
}

.door-body {
  margin-top: 1.1rem;
  max-width: 44ch;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--sepia-soft);
}

/* ---------- Invitation ---------- */

.invite { text-align: center; overflow: hidden; }

.invite-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% 78%, rgba(216, 162, 146, 0.34) 0%, rgba(216, 162, 146, 0) 70%);
  pointer-events: none;
}

.invite-inner { position: relative; padding: 0 1.5rem; }

.invite-line {
  margin-top: clamp(2rem, 5vh, 3.5rem);
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
}

.invite .caption { margin-top: 1.6rem; }
