/* Frame 02 — STATEMENT
   Pure typographic luxury-ad moment. Black void, centered editorial stack.
   Patek / Hermès print-ad register: gold + cream on black, generous breathing,
   no chrome, no motion beyond opacity. */

.frame[data-frame="02"] {
  background: #000000;
  overflow: hidden;
}

.frame[data-frame="02"] .statement {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 3.4vh, 40px);
  padding: clamp(24px, 6vh, 64px) clamp(24px, 6vw, 80px);
  text-align: center;
}

/* 1 — eyebrow */
.frame[data-frame="02"] .statement-eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.78);
  opacity: 0;
  padding-left: 0.4em; /* trim trailing letter-spacing whitespace */
}

/* 2, 5 — thin gold rules */
.frame[data-frame="02"] .statement-rule {
  display: block;
  width: 120px;
  height: 1px;
  background: var(--gold-base);
  opacity: 0;
}

/* 3 — muted editorial italic */
.frame[data-frame="02"] .statement-line {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.45;
  opacity: 0;
  max-width: 56ch;
}
.frame[data-frame="02"] .statement-line--muted {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 400;
  color: rgba(245, 243, 238, 0.78);
  letter-spacing: 0.005em;
}

/* 4 — gold editorial italic, the emotional center */
.frame[data-frame="02"] .statement-line--gold {
  font-size: clamp(28px, 3.0vw, 34px);
  font-weight: 600;
  color: var(--gold-base);
  letter-spacing: 0.005em;
  text-shadow: 0 0 24px rgba(184, 134, 11, 0.18);
}

/* 6 — display caps tagline */
.frame[data-frame="02"] .statement-display {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 26px);
  letter-spacing: 0.38em;
  color: var(--gold-pale);
  text-transform: uppercase;
  padding-left: 0.38em;
  opacity: 0;
}

/* 7 — fine italic */
.frame[data-frame="02"] .statement-fine {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  opacity: 0;
}

/* Scroll hint — bottom, fades out once user starts forward. */
.frame[data-frame="02"] .statement-hint {
  position: absolute;
  left: 50%;
  bottom: 4vh;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--ink-muted);
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  animation: statement-hint-in 1.4s var(--ease-default) 3.6s forwards;
}
.frame[data-frame="02"] .statement-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 10px auto 0;
  background: linear-gradient(to bottom, var(--gold-base), transparent);
  animation: statement-hint-pulse 1.8s var(--ease-default) infinite;
}

/* Sequential reveal — pure opacity fades, no movement.
   Delays:  1@0.0  2@0.4  3@0.9  4@1.5 (slower + brighter)  5@2.3  6@2.7  7@3.2
   Last line lands by ~3.5s. */
.frame[data-frame="02"].is-active [data-step="1"] {
  animation: statement-fade 0.9s var(--ease-default) 0.10s forwards;
}
.frame[data-frame="02"].is-active [data-step="2"] {
  animation: statement-fade-rule 0.9s var(--ease-default) 0.45s forwards;
}
.frame[data-frame="02"].is-active [data-step="3"] {
  animation: statement-fade 0.9s var(--ease-default) 0.95s forwards;
}
/* Gold line: slower fade + glow brightens as it lands. */
.frame[data-frame="02"].is-active [data-step="4"] {
  animation: statement-fade-gold 1.4s var(--ease-default) 1.55s forwards;
}
.frame[data-frame="02"].is-active [data-step="5"] {
  animation: statement-fade-rule 0.9s var(--ease-default) 2.35s forwards;
}
.frame[data-frame="02"].is-active [data-step="6"] {
  animation: statement-fade 0.9s var(--ease-default) 2.75s forwards;
}
.frame[data-frame="02"].is-active [data-step="7"] {
  animation: statement-fade 0.9s var(--ease-default) 3.25s forwards;
}

@keyframes statement-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes statement-fade-rule {
  from { opacity: 0; }
  to   { opacity: 0.85; }
}

@keyframes statement-fade-gold {
  0%   { opacity: 0; color: #8a6510; text-shadow: 0 0 0 rgba(184, 134, 11, 0); }
  60%  { opacity: 0.85; color: var(--gold-base); }
  100% { opacity: 1; color: var(--gold-pale); text-shadow: 0 0 28px rgba(212, 168, 74, 0.28); }
}

@keyframes statement-hint-in {
  to { opacity: 1; }
}
@keyframes statement-hint-pulse {
  0%   { transform: translateY(-8px); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* Reduced motion: render the entire composition immediately. */
.frame[data-frame="02"].is-reduced [data-step="1"],
.frame[data-frame="02"].is-reduced [data-step="3"],
.frame[data-frame="02"].is-reduced [data-step="4"],
.frame[data-frame="02"].is-reduced [data-step="6"],
.frame[data-frame="02"].is-reduced [data-step="7"],
.frame[data-frame="02"].is-reduced .statement-hint {
  animation: none;
  opacity: 1;
}
.frame[data-frame="02"].is-reduced [data-step="2"],
.frame[data-frame="02"].is-reduced [data-step="5"] {
  animation: none;
  opacity: 0.85;
}
.frame[data-frame="02"].is-reduced [data-step="4"] {
  color: var(--gold-pale);
  text-shadow: 0 0 28px rgba(212, 168, 74, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .frame[data-frame="02"] .statement-hint::after { animation: none; opacity: 0.5; }
}
