/* ══════════════════════════════════════════════════════════════════════════
   LAZOS DE LUZ ETERNA — Landing page editorial/comercial
   ══════════════════════════════════════════════════════════════════════════
   Sistema de diseño heredado y extendido de legend4/portada.css para que
   esta web de presentación y la plataforma de lectura compartan una misma
   identidad: noche profunda, dorado antiguo, pergamino. La paleta no es
   decorativa — cada acento está atado a algo del mundo (cobre = la voz
   marginal del Cronista, granate = el vínculo/la sangre, verde = el bosque).

   Dispositivo estructural propio de esta página: la "glosa" — una nota
   marginal en la voz del Cronista que acompaña los bloques editoriales,
   igual que un archivero anotaría al margen de una fuente. No es un
   adorno; es el propio narrador de la saga entrando en la página.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg-deep:      #0c0a14;
  --bg-shadow:    #16121e;
  --bg-card:      #1c1828;
  --bg-card-soft: #221d30;
  --bg-overlay:   rgba(12, 10, 20, 0.86);

  --gold:         #d4a960;
  --gold-bright:  #e9c47e;
  --gold-deep:    #8a6d3a;
  --copper:       #c47a4a;
  --copper-soft:  #e3a079;

  --burgundy:     #7a2640;
  --burgundy-soft:#a8455f;
  --forest:       #2a5d4f;
  --forest-soft:  #4d8a76;
  --mist:         #6b8a8a;

  --text-primary: #f0e6cc;
  --text-soft:    #cdc4ad;
  --text-muted:   #948a76;

  --border-gold:        rgba(212, 169, 96, 0.28);
  --border-gold-strong: rgba(212, 169, 96, 0.52);
  --border-soft:        rgba(212, 169, 96, 0.14);

  --font-display:   'Cinzel', 'Cormorant Garamond', serif;
  --font-editorial: 'Cormorant Garamond', 'Lora', serif;
  --font-reading:   'Lora', Georgia, serif;

  --max-content: 1180px;
  --max-text: 62ch;

  --radius-sm: 3px;
  --radius-md: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-reading);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--bg-deep); padding: 12px 20px;
  font-family: var(--font-display); font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ══════════════════════════════════════════════════════════════════════════
   FONDO ATMOSFÉRICO
   ══════════════════════════════════════════════════════════════════════════ */
.bg-atmosphere {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 20% 15%, rgba(122, 38, 64, 0.16) 0%, transparent 62%),
    radial-gradient(ellipse 50% 45% at 82% 70%, rgba(42, 93, 79, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(212, 169, 96, 0.05) 0%, transparent 75%),
    var(--bg-deep);
}

/* ══════════════════════════════════════════════════════════════════════════
   TIPOGRAFÍA COMPARTIDA
   ══════════════════════════════════════════════════════════════════════════ */
.overline {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--copper-soft);
  margin: 0 0 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text-primary);
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.section-lede {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 23px);
  color: var(--text-soft);
  max-width: var(--max-text);
  line-height: 1.55;
}
.sigil-glyph { color: var(--gold); }

/* Glosa marginal — la voz del Cronista entrando en el margen del texto */
.glosa {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 16.5px;
  color: var(--copper-soft);
  line-height: 1.6;
  border-left: 1px solid var(--border-gold-strong);
  padding-left: 18px;
}
.glosa::before {
  content: '✦ Nota del Cronista';
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

/* ══════════════════════════════════════════════════════════════════════════
   TOPBAR
   ══════════════════════════════════════════════════════════════════════════ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: linear-gradient(to bottom, rgba(12,10,20,0.96) 0%, rgba(12,10,20,0.7) 80%, transparent 100%);
  backdrop-filter: blur(6px);
  transition: padding 0.3s ease;
}
.topbar__sigil { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.topbar__mark {
  font-size: 20px; color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(212,169,96,0.35));
}
.topbar__name {
  font-family: var(--font-display); font-size: 14px;
  letter-spacing: 0.08em; color: var(--text-primary);
}
.topbar__nav {
  display: flex; gap: 30px; list-style: none; margin: 0; padding: 0;
}
.topbar__nav a {
  text-decoration: none; font-family: var(--font-display); font-size: 12px;
  letter-spacing: 0.06em; color: var(--text-soft);
  padding-bottom: 4px; border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.topbar__nav a:hover, .topbar__nav a:focus-visible { color: var(--gold-bright); border-color: var(--border-gold-strong); }

.topbar__cta {
  font-family: var(--font-display); font-size: 11.5px; letter-spacing: 0.08em;
  color: var(--bg-deep); background: var(--gold);
  padding: 10px 20px; border-radius: var(--radius-sm);
  text-decoration: none; white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}
.topbar__cta:hover { background: var(--gold-bright); transform: translateY(-1px); }

.nav-toggle {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  flex-direction: column;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ''; display: block; width: 22px; height: 1px; background: var(--text-primary);
  position: relative; transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle::before { transform: translateY(-6px); }
.nav-toggle::after { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-1px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 140px 40px 90px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to top, var(--bg-deep) 0%, rgba(12,10,20,0.55) 38%, rgba(12,10,20,0.35) 60%, rgba(12,10,20,0.75) 100%),
    linear-gradient(to right, rgba(12,10,20,0.55) 0%, rgba(12,10,20,0.15) 45%, rgba(12,10,20,0.55) 100%),
    url('../assets/img/gateway_landscape.png');
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.06);
  transition: transform 6s cubic-bezier(.16,1,.3,1);
}
.hero.is-loaded .hero__bg { transform: scale(1); }

.hero__content { max-width: 760px; }
.hero__overline {
  font-family: var(--font-editorial); font-style: italic;
  font-size: 16px; color: var(--copper-soft); letter-spacing: 0.02em;
  margin: 0 0 18px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(46px, 8vw, 92px);
  line-height: 1.02;
  color: var(--text-primary);
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
  margin: 0 0 10px;
}
.hero__subtitle {
  font-family: var(--font-editorial);
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--text-soft);
  margin: 0 0 26px;
}
.hero__tagline {
  font-family: var(--font-editorial); font-style: italic;
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--gold-bright);
  max-width: 52ch;
  line-height: 1.5;
  margin: 0 0 38px;
  padding-left: 18px;
  border-left: 2px solid var(--border-gold-strong);
}
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 12.5px; letter-spacing: 0.07em;
  padding: 16px 30px; border-radius: var(--radius-sm);
  text-decoration: none; transition: all 0.28s ease; cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary { background: var(--gold); color: var(--bg-deep); }
.btn--primary:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212,169,96,0.22); }
.btn--ghost { border-color: var(--border-gold-strong); color: var(--text-primary); }
.btn--ghost:hover { background: rgba(212,169,96,0.08); border-color: var(--gold-bright); }
.btn--sm { padding: 12px 22px; font-size: 11.5px; }

.scroll-cue {
  position: absolute; left: 40px; bottom: 34px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--text-muted); text-decoration: none;
}
.scroll-cue svg { width: 14px; height: 14px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ══════════════════════════════════════════════════════════════════════════
   ESTRUCTURA GENERAL DE SECCIÓN
   ══════════════════════════════════════════════════════════════════════════ */
.section {
  padding: 110px 40px;
  border-top: 1px solid var(--border-soft);
}
.section--tight { padding-top: 80px; padding-bottom: 80px; }
.section--card { background: var(--bg-shadow); }
.section__inner { max-width: var(--max-content); margin: 0 auto; }
.section__head { margin-bottom: 56px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head .section-lede { margin-top: 16px; }
.section__head--center .section-lede { margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════════════════════════════════════
   TRÁILER
   ══════════════════════════════════════════════════════════════════════════ */
.trailer {
  max-width: var(--max-content); margin: 0 auto;
  text-align: center;
}
.trailer__frame {
  position: relative;
  margin-top: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  aspect-ratio: 16 / 9;
  background: #000;
}
.trailer__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.trailer__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(12,10,20,0.55), rgba(12,10,20,0.15) 55%);
  transition: background 0.3s ease;
}
.trailer__play-btn {
  width: 84px; height: 84px; border-radius: 50%;
  border: 1px solid var(--border-gold-strong);
  background: rgba(12,10,20,0.55);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.trailer__play-btn svg { width: 26px; height: 26px; fill: var(--gold-bright); margin-left: 4px; }
.trailer__frame:hover .trailer__play-btn { transform: scale(1.08); border-color: var(--gold-bright); background: rgba(12,10,20,0.7); }
.trailer__frame.is-playing .trailer__play { opacity: 0; pointer-events: none; }
.trailer__badge {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--text-primary); background: rgba(12,10,20,0.65);
  border: 1px solid var(--border-gold); padding: 6px 12px; border-radius: 20px;
}
.trailer__caption {
  font-family: var(--font-editorial); font-style: italic; color: var(--text-muted);
  font-size: 15px; margin-top: 20px;
}

/* ══════════════════════════════════════════════════════════════════════════
   LA OBRA — editorial con glosas marginales
   ══════════════════════════════════════════════════════════════════════════ */
.obra__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 60px;
  align-items: start;
}
.obra__text {
  font-family: var(--font-reading);
  font-size: 18.5px;
  line-height: 1.85;
  color: var(--text-soft);
  max-width: 66ch;
}
.obra__text p { margin-bottom: 1.4em; }
.obra__glosas { display: flex; flex-direction: column; gap: 46px; padding-top: 60px; }

.pull-quote {
  font-family: var(--font-editorial); font-style: italic;
  font-size: clamp(20px, 2.4vw, 25px);
  color: var(--gold-bright);
  line-height: 1.5;
  max-width: 58ch;
  margin: 44px 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--border-gold-strong);
}
.pull-quote cite {
  display: block; font-style: normal; font-family: var(--font-display);
  font-size: 11.5px; letter-spacing: 0.08em; color: var(--text-muted);
  margin-top: 12px;
}

@media (max-width: 880px) {
  .obra__layout { grid-template-columns: 1fr; }
  .obra__glosas { padding-top: 0; flex-direction: row; overflow-x: auto; gap: 24px; }
  .glosa { min-width: 240px; flex: 0 0 auto; }
}

/* ══════════════════════════════════════════════════════════════════════════
   EL CRONISTA
   ══════════════════════════════════════════════════════════════════════════ */
.cronista {
  display: grid; grid-template-columns: 220px 1fr; gap: 50px; align-items: center;
}
.cronista__sigil {
  width: 180px; height: 180px; border-radius: 50%;
  border: 1px solid var(--border-gold-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.1em;
  color: var(--gold);
  background: radial-gradient(circle at 35% 30%, rgba(212,169,96,0.12), transparent 70%);
  position: relative;
}
.cronista__sigil::before {
  content: ''; position: absolute; inset: 14px; border-radius: 50%;
  border: 1px solid var(--border-gold);
}
.cronista__text p { color: var(--text-soft); font-size: 17.5px; max-width: 60ch; }
@media (max-width: 720px) {
  .cronista { grid-template-columns: 1fr; text-align: left; }
  .cronista__sigil { width: 120px; height: 120px; font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PROTAGONISTAS — díptico
   ══════════════════════════════════════════════════════════════════════════ */
.diptych {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: start;
}
.diptych__divider {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 20px 34px 0;
  color: var(--gold-deep);
}
.diptych__divider .rune { font-size: 22px; color: var(--gold); }
.diptych__divider .lazo-label {
  writing-mode: vertical-rl; font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.14em; color: var(--text-muted);
}
.character {
  padding: 10px 24px;
}
.character--reverse { text-align: right; }
.character--reverse .character__meta,
.character--reverse .character__sigil-wrap { justify-content: flex-end; }
.character__sigil-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.character__sigil { width: 56px; height: 56px; flex-shrink: 0; }
.character__eyebrow {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.1em;
  color: var(--text-muted);
}
.character__name {
  font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px);
  color: var(--text-primary); margin: 4px 0 0;
}
.character__role {
  font-family: var(--font-editorial); font-style: italic; font-size: 17px;
  color: var(--copper-soft); margin: 6px 0 20px;
}
.character p { color: var(--text-soft); font-size: 16.5px; }
.character .pull-quote { margin: 24px 0 0; font-size: 17px; }
.character--reverse .pull-quote { border-left: none; border-right: 2px solid var(--border-gold-strong); padding-left: 0; padding-right: 22px; text-align: right; margin-left: auto; }
.character--reverse .character__sigil-wrap { flex-direction: row-reverse; }

.lazo-caption {
  text-align: center; max-width: 46ch; margin: 50px auto 0;
  font-family: var(--font-editorial); font-style: italic;
  color: var(--text-soft); font-size: 18px; line-height: 1.6;
}

@media (max-width: 860px) {
  .diptych { grid-template-columns: 1fr; }
  .diptych__divider { flex-direction: row; padding: 24px 0; }
  .diptych__divider .lazo-label { writing-mode: horizontal-tb; }
  .character--reverse { text-align: left; }
  .character--reverse .character__meta, .character--reverse .character__sigil-wrap { justify-content: flex-start; flex-direction: row; }
  .character--reverse .pull-quote { border-left: 2px solid var(--border-gold-strong); border-right: none; padding-left: 22px; padding-right: 0; text-align: left; margin-left: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   EL MUNDO
   ══════════════════════════════════════════════════════════════════════════ */
.world__map {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  margin-bottom: 46px;
}
.world__map img { width: 100%; }
.world__map::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,10,20,0.55), transparent 40%);
  pointer-events: none;
}
.world__names {
  position: absolute; left: 28px; bottom: 22px; right: 28px;
  font-family: var(--font-display); font-size: 12px; letter-spacing: 0.08em;
  color: var(--text-soft);
}
.region-index {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 40px;
}
.region-index__item { border-top: 1px solid var(--border-soft); padding-top: 16px; }
.region-index__name { font-family: var(--font-display); font-size: 15.5px; color: var(--gold-bright); margin-bottom: 8px; }
.region-index__desc { font-size: 15.5px; color: var(--text-soft); }
.world__cta { margin-top: 48px; text-align: center; }

/* ══════════════════════════════════════════════════════════════════════════
   DOS CAMINOS
   ══════════════════════════════════════════════════════════════════════════ */
.paths {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.path {
  padding: 52px 44px;
  position: relative;
}
.path--book {
  background: linear-gradient(160deg, rgba(122,38,64,0.14), rgba(28,24,40,0.4));
  border-right: 1px solid var(--border-gold);
}
.path--web {
  background: linear-gradient(160deg, rgba(42,93,79,0.16), rgba(28,24,40,0.4));
}
.path__icon { width: 46px; height: 46px; margin-bottom: 22px; }
.path__label {
  font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 10px;
}
.path__title {
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 27px);
  color: var(--text-primary); margin-bottom: 16px;
}
.path p { color: var(--text-soft); font-size: 16px; }
.path__list { list-style: none; padding: 0; margin: 20px 0 26px; font-size: 15px; color: var(--text-soft); }
.path__list li { position: relative; padding-left: 18px; margin-bottom: 9px; }
.path__list li::before { content: '·'; position: absolute; left: 0; color: var(--gold); }

.bridge-line {
  max-width: 60ch; margin: 50px auto 0; text-align: center;
  font-family: var(--font-editorial); font-style: italic;
  font-size: clamp(18px, 2vw, 21px); color: var(--gold-bright); line-height: 1.6;
}

.transparency-note {
  max-width: 720px; margin: 60px auto 0;
  border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  padding: 30px 34px; display: flex; gap: 22px; align-items: flex-start;
}
.transparency-note svg { width: 26px; height: 26px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.transparency-note h4 { font-family: var(--font-display); font-size: 14.5px; letter-spacing: 0.03em; margin-bottom: 8px; color: var(--text-primary); }
.transparency-note p { font-size: 15px; color: var(--text-muted); }

@media (max-width: 780px) {
  .paths { grid-template-columns: 1fr; }
  .path--book { border-right: none; border-bottom: 1px solid var(--border-gold); }
}

/* ══════════════════════════════════════════════════════════════════════════
   VOCES DEL ARCHIVO — galería + reproductor
   ══════════════════════════════════════════════════════════════════════════ */
.gallery {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  margin-bottom: 60px;
}
.gallery__item {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.3s ease;
}
.gallery__item:hover { border-color: var(--border-gold-strong); }
.gallery__item .frame { aspect-ratio: 3/4; overflow: hidden; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) brightness(0.92);
  transition: transform 0.6s cubic-bezier(.16,1,.3,1), filter 0.4s ease;
}
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.gallery__caption {
  padding: 12px 12px 14px;
  border-top: 1px solid var(--border-soft);
}
.gallery__name { font-family: var(--font-display); font-size: 11.5px; color: var(--text-primary); letter-spacing: 0.02em; line-height: 1.3; }
.gallery__role { font-family: var(--font-editorial); font-style: italic; font-size: 11.5px; color: var(--text-muted); display: block; margin-top: 4px; line-height: 1.35; }
.gallery__note {
  font-family: var(--font-editorial); font-style: italic; color: var(--text-muted);
  font-size: 15px; text-align: center; margin-bottom: 50px;
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

.player {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  border: 1px solid var(--border-gold); border-radius: var(--radius-md);
  padding: 26px 30px; max-width: 720px; margin: 0 auto;
  background: var(--bg-card);
}
.player__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border-gold-strong);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.25s ease;
}
.player__btn:hover { background: rgba(212,169,96,0.1); }
.player__btn svg { width: 16px; height: 16px; fill: var(--gold-bright); }
.player__info { min-width: 0; }
.player__title { font-family: var(--font-display); font-size: 14px; color: var(--text-primary); margin-bottom: 4px; }
.player__meta { font-family: var(--font-editorial); font-style: italic; font-size: 14px; color: var(--text-muted); }
.player__bar { height: 2px; background: var(--border-gold); border-radius: 2px; margin-top: 10px; position: relative; overflow: hidden; }
.player__bar-fill { position: absolute; inset: 0; width: 0%; background: var(--gold); transition: width 0.15s linear; }
.player__time { font-family: var(--font-display); font-size: 11px; color: var(--text-muted); white-space: nowrap; }

.sound-note {
  max-width: 640px; margin: 30px auto 0; text-align: center;
  font-size: 15px; color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════════
   CRÓNICAS DE ËAVORN
   ══════════════════════════════════════════════════════════════════════════ */
.chronicle-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.chronicle-card {
  border: 1px solid var(--border-gold); border-radius: var(--radius-md);
  padding: 34px; background: var(--bg-card);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.chronicle-card:hover { border-color: var(--border-gold-strong); transform: translateY(-3px); }
.chronicle-card__badge {
  align-self: flex-start;
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.1em;
  color: var(--copper-soft); border: 1px solid var(--border-gold); border-radius: 20px;
  padding: 5px 12px;
}
.chronicle-card__title { font-family: var(--font-display); font-size: 21px; color: var(--text-primary); }
.chronicle-card__kicker { font-family: var(--font-editorial); font-style: italic; font-size: 15px; color: var(--copper-soft); }
.chronicle-card p { color: var(--text-soft); font-size: 15.5px; }
.chronicle-card__foot { margin-top: auto; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.06em; color: var(--text-muted); }

@media (max-width: 780px) { .chronicle-cards { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════════════
   AUTOR
   ══════════════════════════════════════════════════════════════════════════ */
.author {
  display: flex; align-items: center; gap: 44px;
}
.author__mark {
  width: 100px; height: 100px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--border-gold-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--gold); font-size: 26px;
  background: radial-gradient(circle at 35% 30%, rgba(212,169,96,0.14), transparent 70%);
}
.author p { color: var(--text-soft); font-size: 17px; max-width: 62ch; }
.author__name { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.08em; color: var(--gold-bright); margin-bottom: 10px; display: block; }
@media (max-width: 640px) { .author { flex-direction: column; text-align: center; } }

/* ══════════════════════════════════════════════════════════════════════════
   CTA FINAL — LISTA DE ESPERA
   ══════════════════════════════════════════════════════════════════════════ */
.cta-final {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(212,169,96,0.08), transparent 70%),
    var(--bg-shadow);
}
.cta-final__inner { max-width: 620px; margin: 0 auto; }
.waitlist-form {
  display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center;
}
.waitlist-form input[type="email"] {
  flex: 1 1 280px; min-width: 0;
  background: var(--bg-card); border: 1px solid var(--border-gold);
  color: var(--text-primary); padding: 15px 18px; border-radius: var(--radius-sm);
  font-family: var(--font-reading); font-size: 15px;
}
.waitlist-form input[type="email"]::placeholder { color: var(--text-muted); }
.waitlist-form input[type="email"]:focus { outline: none; border-color: var(--gold-bright); }
.waitlist-form button { flex: 0 0 auto; }
.waitlist-note { font-size: 13.5px; color: var(--text-muted); margin-top: 16px; }
.waitlist-success { display: none; color: var(--gold-bright); font-family: var(--font-editorial); font-style: italic; margin-top: 20px; }
.waitlist-success.is-visible { display: block; }

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.footer {
  padding: 60px 40px 40px;
  border-top: 1px solid var(--border-soft);
}
.footer__inner {
  max-width: var(--max-content); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px;
}
.footer__sigil { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 12px; }
.footer__brand p { font-size: 14px; color: var(--text-muted); max-width: 36ch; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer__nav a { text-decoration: none; font-size: 14px; color: var(--text-soft); }
.footer__nav a:hover { color: var(--gold-bright); }
.footer__social { display: flex; gap: 16px; margin-top: 16px; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.footer__social svg { width: 14px; height: 14px; fill: var(--text-soft); }
.footer__social a:hover { border-color: var(--gold-bright); }
.footer__social a:hover svg { fill: var(--gold-bright); }
.footer__legal {
  max-width: var(--max-content); margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 12.5px; color: var(--text-muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — NAV MÓVIL Y AJUSTES GENERALES
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .topbar { padding: 16px 22px; }
  .topbar__nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 82vw);
    background: var(--bg-shadow); flex-direction: column; gap: 0;
    padding: 100px 32px 32px; transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.16,1,.3,1);
    border-left: 1px solid var(--border-gold);
    overflow-y: auto;
  }
  .topbar__nav.is-open { transform: translateX(0); }
  .topbar__nav a { padding: 16px 0; border-bottom: 1px solid var(--border-soft); width: 100%; font-size: 14px; }
  .topbar__cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 120px 22px 70px; }
  .section { padding: 80px 22px; }
}

@media (max-width: 640px) {
  .cronista, .author { text-align: left; }
}
