/* zone-echoes.css — History. Sepia, ink, burnt ocre, one wax-red accent. Slow, page-turn movement. */

.zone-echoes {
  --bg: #1c140f;
  --surface: #2a1f17;
  --text: #ecdcb8;
  --text-dim: #b9a684;
  --accent: #8c2b1f;   /* wax-red */
  --accent-2: #cb9c6d; /* burnt ocre, brightened for AA on --surface (E2.1) */
  --font-head: "Playfair Display", "Libre Baskerville", Georgia, serif;
  --font-body: "Libre Baskerville", Georgia, serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --speed: 700ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
  background: var(--bg);
  color: var(--text);
  /* E33/registro 15: reaplica a família da zona onde a classe pousar no DOM (body da zona,
     ou <section class="zone-detail zone-echoes"> na home) — sem isso, texto sem font-family
     própria herda o system-ui já computado no body.home. */
  font-family: var(--font-body);
}

.zone-echoes,
.zone-echoes .site-nav {
  background-image:
    radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0px, transparent 1px, transparent 3px);
}

.zone-echoes .site-nav {
  background-color: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-2) 40%, transparent);
}

.zone-echoes a:hover { color: var(--accent-2); }

.zone-echoes .btn { background: var(--accent); color: var(--text); }
.zone-echoes .btn--outline { color: var(--text); }

.zone-echoes .chip { border-color: var(--accent-2); }

/* the "page-turn" reveal: content eases in slowly, letter-spacing settles */
.zone-echoes .reveal {
  animation: echoes-turn var(--speed) var(--ease) both;
}
@keyframes echoes-turn {
  from { opacity: 0; transform: rotateY(-6deg) translateX(-14px); letter-spacing: .04em; }
  to   { opacity: 1; transform: none; letter-spacing: normal; }
}

.zone-echoes .byline { color: var(--accent-2); font-style: italic; }

/* skip-link sits on an --accent chip; --bg (this zone's dark canvas) reads as near-black
   text on the wax-red chip. --text is the token this design already uses for on-accent
   foregrounds (see .btn above) — AA fix E2.1. */
.zone-echoes .skip-link { color: var(--text); }

.zone-echoes .cover-frame {
  border: 1px solid color-mix(in srgb, var(--accent-2) 55%, transparent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--bg) 40%, transparent), 0 30px 60px -30px #000;
}

@media (prefers-reduced-motion: reduce) {
  .zone-echoes .reveal { animation: none; }
}
