/* 24/7UNO — Manifiesto. Editorial-first, typography-only companion page.
   Reuses tokens, font-face, .mono, .brand-spine, .env-grain, and reduced-motion
   rules from styles.css. Everything below is manifesto-specific. */

/* ── Static environment ────────────────────────────────────────────────────
   No live track here → no cover-art background. A subtle signal-red anchor
   glow keeps the visual link with the player. Grain still reused from styles.css. */
.manifiesto-page {
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(227, 0, 0, .10) 0%, transparent 60%),
    radial-gradient(90% 60% at 50% 100%, rgba(227, 0, 0, .06) 0%, transparent 65%),
    var(--bg);
}

/* ── Layout shell ──────────────────────────────────────────────────────────
   Long-scroll editorial. Big gaps between sections; each chapter owns a screen. */
.manifiesto {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding:
    clamp(28px, 4vw, 56px)
    clamp(24px, 5vw, 88px)
    clamp(56px, 8vh, 120px)
    clamp(52px, 6vw, 88px); /* left padding leaves room for the brand spine */
  display: flex;
  flex-direction: column;
  gap: clamp(96px, 18vh, 220px);
}

/* ── Topbar ────────────────────────────────────────────────────────────────
   Same logo placeholder as the player. Return-to-radio link on the right. */
.m-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(-24px, -4vh, 0px); /* pull toward the hero — belongs to it */
}
.m-return {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-muted);
  text-decoration: none;
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition:
    color        var(--dur-med) var(--ease-out-quart),
    border-color var(--dur-med) var(--ease-out-quart),
    background   var(--dur-med) var(--ease-out-quart);
}
.m-return:hover { color: var(--text); border-color: var(--border-strong); background: rgba(255,255,255,.05); }
.m-return-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal-glow);
  animation: pulse 2s ease-in-out infinite; /* same keyframe as the player */
}

/* ── Hero ──────────────────────────────────────────────────────────────────
   Three-line statement of the tagline itself, one line per phrase. Statement
   scale is deliberately larger than the player's np-title cap — this IS the
   editorial thesis, it should read louder than any single track name. */
.m-hero {
  min-height: clamp(72vh, 88vh, 92dvh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(32px, 6vh, 64px);
}
.m-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: var(--fw-semibold);
  margin: 0;
}
.m-eyebrow::before {
  content: "";
  width: 32px; height: 2px;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal-glow);
}
.m-statement {
  font-family: var(--font-display);
  font-weight: 400;
  /* Mobile lower bound is tuned so the longest phrase ("la sensación") fits on
     one line at 375px — the three <span> blocks are meant as one-phrase-per-line
     and any mid-phrase wrap reads as an accidental break. */
  font-size: clamp(2.4rem, 10vw, 10.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: pretty;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .55);
}
.m-statement span { white-space: nowrap; }
.m-statement span {
  display: block;
  transition: color var(--dur-slow) var(--ease-out-quart);
}
/* Third phrase carries the signal accent — anchors the tally identity. */
.m-statement span:nth-child(3) { color: var(--signal); text-shadow: 0 0 40px var(--signal-glow), 0 2px 30px rgba(0,0,0,.5); }
.m-subhead {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 48ch;
  margin: 0;
}

/* ── Chapters (01 / 02 / 03) ───────────────────────────────────────────────
   Editorial slate → title → deck (large pull-quote) → body. Column-constrained
   text; the section header can extend beyond it for typographic drama. */
.m-chapter {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vh, 40px);
  max-width: 1080px;
}
.m-slate {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: var(--fw-semibold);
}
.m-slate::before {
  content: "";
  width: 32px; height: 2px;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal-glow);
}
.m-chapter-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 10vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: pretty;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .5);
}
.m-deck {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 22ch;
  margin: clamp(8px, 2vh, 20px) 0 0;
}
.m-body {
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.65;
  color: var(--text);
  max-width: 60ch;
  margin: 0;
}

/* ── Outro CTA ─────────────────────────────────────────────────────────────
   Massive single-word statement + a return-to-air button. */
.m-outro {
  min-height: clamp(70vh, 88vh, 92dvh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(40px, 6vh, 80px);
}
.m-cta-statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 15vw, 12rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--signal);
  text-shadow: 0 0 60px var(--signal-glow), 0 2px 40px rgba(0, 0, 0, .5);
  margin: 0;
}
.m-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 30px 18px 26px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: .76rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  align-self: flex-start;
  transition:
    transform    var(--dur-fast) var(--ease-spring),
    border-color var(--dur-med)  var(--ease-out-quart),
    background   var(--dur-med)  var(--ease-out-quart),
    box-shadow   var(--dur-med)  var(--ease-out-quart);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.m-cta-btn:hover {
  transform: translateY(-2px);
  border-color: var(--signal);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 30px 2px var(--signal-glow), 0 12px 34px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.m-cta-btn:active { transform: scale(.97); }
.m-cta-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal-glow);
  animation: pulse 2s ease-in-out infinite;
}

/* ── Footer ────────────────────────────────────────────────────────────────
   Reuses the player's .footer / .mono styles. Nothing manifesto-specific here
   beyond a small margin — the base .footer rules cover the rest. */
.manifiesto .footer { margin-top: clamp(48px, 8vh, 96px); }

/* ── Reduced motion ────────────────────────────────────────────────────────
   Player already respects this via styles.css. Manifesto only adds decor here
   that needs stilling — the tally dots and CTA lift. */
@media (prefers-reduced-motion: reduce) {
  .m-return-dot, .m-cta-dot { animation: none; }
  .m-cta-btn { transition: border-color .2s ease, background .2s ease; }
  .m-cta-btn:hover { transform: none; }
}
