/* ============================================================
   css/screen-baudrillard.css — Act 1 Order screens (I–IV)
   Full-bleed Giphy GIF background + dark overlay + sparse copy.
   ============================================================ */

.order-screen {
  background: #000;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  justify-content: flex-start;
}

.order-screen .order-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.order-screen .order-gif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  filter: saturate(0.92) contrast(1.02);
}

/* Dark overlay — each Order tints its GIF with its own accent hue.
   Keeps copy legible regardless of the underlying GIF's brightness. */
.order-screen .order-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%);
  mix-blend-mode: normal;
  z-index: 1;
}

.order-screen.order-i   .order-overlay { background: linear-gradient(180deg, rgba(6,16,28,0.62) 0%, rgba(0,0,0,0.82) 100%); }
.order-screen.order-ii  .order-overlay { background: linear-gradient(180deg, rgba(28,16,6,0.62) 0%, rgba(0,0,0,0.82) 100%); }
.order-screen.order-iii .order-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.88) 100%); }
.order-screen.order-iv  .order-overlay { background: linear-gradient(180deg, rgba(22,10,30,0.62) 0%, rgba(0,0,0,0.80) 100%); }

/* ---- Content layout ---- */
.order-screen .order-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  max-width: min(720px, 62vw);
  padding: 140px 64px 80px 80px;
  height: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.order-screen .order-content.entered {
  opacity: 1;
  transform: translateY(0);
}

.order-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.order-tag {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid currentColor;
  background: rgba(0, 0, 0, 0.35);
}

.order-phase {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.order-headline {
  font-family: var(--font-redaction-70);
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.08;
  color: rgba(255, 255, 255, 0.98);
  margin: 0;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-headline .hl-primary {
  font-family: var(--font-redaction-100);
  display: inline-block;
}

.order-headline .hl-italic {
  font-family: var(--font-redaction-50);
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  display: inline-block;
}

.order-headline .redaction-word {
  font-family: inherit;
  color: inherit;
}

.order-body {
  font-family: var(--font-body, 'Space Grotesk'), sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
  max-width: 44em;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

/* ---- Per-order accent colours on headline and tag ---- */
.order-screen.order-i   .order-tag { color: #4FA8E0; }
.order-screen.order-ii  .order-tag { color: #D08060; }
.order-screen.order-iii .order-tag { color: rgba(255,255,255,0.8); }
.order-screen.order-iv  .order-tag { color: #A07ADC; }

.order-screen .redaction-word {
  color: inherit;
  font-style: normal;       /* animated word stays upright even inside italic line */
  font-family: var(--font-redaction-100);
}
.order-screen.order-i   .redaction-word { color: #4FA8E0; }
.order-screen.order-ii  .redaction-word { color: #D08060; }
.order-screen.order-iii .redaction-word { color: rgba(255,255,255,0.98); }
.order-screen.order-iv  .redaction-word { color: #A07ADC; }

/* ---- Reduced motion: no slide-in, no restart flicker ---- */
@media (prefers-reduced-motion: reduce) {
  .order-screen .order-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .order-screen .order-gif {
    transform: none !important;
  }
}

/* ---- Narrow viewports: tighten padding ---- */
@media (max-width: 820px) {
  .order-screen .order-content {
    padding: 120px 32px 80px;
    max-width: 100%;
  }
}
