/* EREDITÀ — nach dem EREDITÀ Design System (Linee Guida v1.0, 10.2026 · tokens/eredita-tokens.css) */
@font-face { font-family: "Michroma"; src: url("../fonts/Michroma-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

.er-page {
  /* Colori */
  --e-navy-profondo: #0F1D3A; --e-azzurro-riga: #16294D; --e-notte: #0A1429;
  --e-bianco: #EFEBEC; --e-oro: #C99A1E; --e-grigio-lana: #9CA4B8;
  /* Tipografia */
  --e-font-display: "Michroma", "Eurostile", sans-serif;
  --e-font-text: "EB Garamond", Garamond, serif;
  --e-font-meta: "IBM Plex Mono", ui-monospace, monospace;
  /* Movimento */
  --e-dur-reveal: 1200ms; --e-ease-piega: cubic-bezier(.65, 0, .35, 1);
  background: #060D1C;
}
/* Footer geht nahtlos in den dunklen Rand der Sektion über */
.er-page .footer { background: #060D1C; border-top: 0; }

/* Gessato: Vignette + zweistufige Nadelstreifen (feine Linien + Lichtlinie jede 4.) */
.er {
  position: relative; min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 128px var(--gutter) 160px; overflow: hidden; color: var(--e-bianco);
  background-color: var(--e-navy-profondo);
  background-image:
    linear-gradient(180deg, rgba(6,13,28,0) 70%, #060D1C 100%),
    radial-gradient(ellipse 75% 65% at 50% 45%, rgba(6,13,28,0) 0, rgba(6,13,28,.88) 100%),
    repeating-linear-gradient(90deg, transparent 0 37px, rgba(176,186,210,.16) 37px 38px),
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(156,164,184,.09) 9px 10px);
}

/* Etichetta: doppelter Rand, innen gestrichelt wie eine Steppnaht, Radius max. 2 px */
.er__tag { display: inline-block; padding: 3px; background: var(--e-notte); border: 1px solid var(--e-oro); border-radius: 2px; }
.er__tag span { display: block; padding: 6px 14px; border: 1px dashed var(--e-oro); border-radius: 1px; font: 500 11px/1.4 var(--e-font-meta); letter-spacing: .16em; text-transform: uppercase; color: var(--e-oro); }

/* Logotipo: Michroma, 16 % Laufweite, Zeilenhöhe ≥ 1,35 für den Akzent */
.er h1 { margin: 48px 0 0; padding-left: .16em; font: 400 clamp(34px, 6vw, 88px)/1.35 var(--e-font-display); letter-spacing: .16em; text-transform: uppercase; hyphens: none; }
.er__claim { margin: 24px 0 0; font: italic 400 clamp(20px, 2.2vw, 28px)/1.4 var(--e-font-text); color: var(--e-bianco); }

/* Countdown wie A5 · Drop-Countdown: Kacheln mit Azzurro-Riga-Rahmen */
.er__cd { display: flex; gap: clamp(8px, 1.6vw, 16px); margin-top: 56px; }
.er__cd div { display: flex; flex-direction: column; align-items: center; gap: 10px; width: clamp(72px, 10vw, 128px); padding: clamp(16px, 2vw, 24px) 0; border: 1px solid var(--e-azzurro-riga); background: rgba(10,20,41,.55); }
.er__cd b { font: 400 clamp(26px, 3.6vw, 52px)/1.2 var(--e-font-display); font-variant-numeric: tabular-nums; color: var(--e-bianco); }
.er__cd span { font: 500 clamp(9px, 1vw, 11px)/1.4 var(--e-font-meta); letter-spacing: .16em; text-transform: uppercase; color: var(--e-grigio-lana); }
.er__date { margin-top: 40px; font: 500 13px/1.5 var(--e-font-meta); letter-spacing: .16em; text-transform: uppercase; color: var(--e-oro); }

/* Nastro coordinate: Kumamoto immer links, Stuttgart rechts */
.er__coords { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; display: flex; align-items: center; gap: 20px; font: 500 11px/1.5 var(--e-font-meta); letter-spacing: .14em; text-transform: uppercase; color: var(--e-grigio-lana); }
.er__coords i { flex: 1; height: 1px; background: var(--e-azzurro-riga); }
@media (max-width: 720px) {
  .er__coords { flex-direction: column; gap: 6px; bottom: 28px; font-size: 10px; }
  .er__coords i { flex: none; width: 1px; height: 14px; }
}

/* Rivelazione: 1200 ms, Easing „Piega“, kein Bounce */
@keyframes erReveal { from { opacity: 0; transform: translateY(16px); } }
.er > * { animation: erReveal var(--e-dur-reveal) var(--e-ease-piega) both; }
.er > :nth-child(2) { animation-delay: 120ms; }
.er > :nth-child(3) { animation-delay: 240ms; }
.er > :nth-child(4) { animation-delay: 360ms; }
.er > :nth-child(5) { animation-delay: 480ms; }
.er > :nth-child(6) { animation-delay: 600ms; }
@media (prefers-reduced-motion: reduce) { .er > * { animation: none; } }
