/* ============================================================================
   El Método ALIVE · opencode.ai-inspired pass
   ───────────────────────────────────────────────────────────────────────────
   Canvas crema cálido (#fdfcfc) · tinta casi-negra (#201d1d) · 100% flat.
   Tipografía mono (JetBrains) para chrome/body, ABC Gravity preservada
   sólo para el wordmark ALIVE y momentos display puntuales.
============================================================================ */

@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Archivo:wght@400;500;600&display=swap");

@font-face {
  font-family: "ABC Gravity";
  src: url("fonts/ABCGravity-Compressed.otf") format("opentype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ── Surfaces ─────────────────────────────────────────────────────────── */
  /* Inverted: dark canvas, cream ink. Navbar overrides below restore the
     light theme just for the header. */
  --canvas: #0d0d0d;
  --surface-soft: #1c1815;
  --surface-card: #25201d;
  --surface-dark: #201d1d;
  --surface-dark-elev: #302c2c;

  /* ── Ink / text ladder ────────────────────────────────────────────────── */
  --ink: #efe9df;
  --ink-deep: #ffffff;
  --charcoal: #e1ddd6;
  --body: #bdb6aa;
  --mute: #8f897f;
  --stone: #75716b;
  --ash: #5e5a54;

  /* ── Lines ────────────────────────────────────────────────────────────── */
  --hairline: rgba(241, 238, 234, 0.14);
  --hairline-strong: #6a6660;

  /* ── On-dark (text on dark surfaces — TUI/trailer) ────────────────────── */
  --on-dark: #fdfcfc;
  --on-dark-mute: #9a9898;

  /* ── Semantic (TUI only — Apple HIG ramp) ─────────────────────────────── */
  --accent: #007aff;
  --accent-hover: #0056b3;
  --warning: #ff9f0a;
  --danger: #ff3b30;
  --success: #30d158;

  /* ── Type stacks ──────────────────────────────────────────────────────── */
  --font-body: "Crimson Pro", "Iowan Old Style", Georgia, serif;
  --font-mono: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-display: "ABC Gravity", "Anton", "Bebas Neue", "Helvetica Neue Condensed",
                  Impact, sans-serif;

  /* ── Spacing scale ────────────────────────────────────────────────────── */
  --s-xxs: 1px;
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 24px;
  --s-xxl: 32px;
  --s-section: 96px;

  /* ── Radii ───────────────────────────────────────────────────────────── */
  --r-sm: 4px;
  --r-full: 9999px;

  /* ── Container ───────────────────────────────────────────────────────── */
  --content-w: 960px;
  --content-w-wide: 1140px;
}

/* Reset ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--canvas); }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; background: none; border: 0; outline: 0; }
pre { margin: 0; font-family: var(--font-mono); }
::selection { background: var(--ink); color: var(--canvas); }

/* ── Reveal ─────────────────────────────────────────────────────────────── */
/* No opacity change — only a subtle Y translate. This keeps content visible
   from the first paint (and in static screenshots) while still feeling alive. */
.reveal {
  animation: revealIn 500ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes revealIn {
  from { transform: translateY(4px); }
  to   { transform: translateY(0); }
}

/* ============================================================================
   Layout primitives
============================================================================ */
.container {
  max-width: var(--content-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.container.wide { max-width: var(--content-w-wide); }

.section {
  padding-top: var(--s-section);
  padding-bottom: var(--s-section);
  position: relative;
}
.section + .section { border-top: 1px solid var(--hairline); }

/* ── Section label ───────────────────────────────────────────────────────── */
.sec-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  padding-bottom: var(--s-lg);
  margin: 0 0 var(--s-xl);
  border-bottom: 1px solid var(--hairline);
}
.sec-label .marker { color: var(--ink); }
.sec-label .meta {
  margin-left: auto;
  font-weight: 400;
  color: var(--mute);
  font-size: 14px;
}

/* ── Body prose ─────────────────────────────────────────────────────────── */
.prose p {
  margin: 0 0 var(--s-lg);
  max-width: 62ch;
  color: var(--body);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.58;
  text-wrap: pretty;
}
.prose > .reveal:last-child p,
.prose > p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 500; }

/* ── Link inline (manpage style — underlined ink, never blue) ───────────── */
.link-inline {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.link-inline:hover { color: var(--mute); }

/* ── Display heading (ABC Gravity preserved for ALIVE moments) ──────────── */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
}
.display.xl { font-size: clamp(52px, 8vw, 124px); }
.display.l  { font-size: clamp(38px, 5.2vw, 82px); }
.display.m  { font-size: clamp(30px, 3.9vw, 56px); }
.display .line { display: block; }

/* ── Mono caption ───────────────────────────────────────────────────────── */
.caption {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 2;
  color: var(--mute);
}

/* ── Eyebrow (manpage section tag) ──────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: var(--mute);
  margin: 0 0 var(--s-sm);
}

/* ============================================================================
   Buttons
============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  padding: 4px 20px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 120ms linear, color 120ms linear, border-color 120ms linear;
}
.btn-primary {
  background: var(--ink);
  color: var(--canvas);
}
.btn-primary:hover { background: var(--charcoal); }
.btn-primary:active { background: var(--ink-deep); }

.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn-secondary:hover { border-color: var(--ink); }

.btn-ghost {
  color: var(--ink);
  padding: 4px 0;
  height: auto;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--mute); border-color: var(--mute); }

/* ============================================================================
   Navbar — floating glass pill
   ── Capa superior: announcement ticker (crema semitransparente)
   ── Capa inferior: navbar glass (gradiente blanco → transparente + blur)
   Las dos capas comparten un único contenedor con border-radius para
   que parezcan una sola cápsula flotante.
============================================================================ */
.navbar {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 100;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  background: transparent;
  /* Ink ladder for the navbar — light text over dark canvas + glass */
  --ink: #efe9df;
  --mute: rgba(241, 238, 234, 0.6);
  --hairline: rgba(255, 255, 255, 0.10);
}

/* ── Ticker (top layer) ──────────────────────────────────────────────────── */
.nav-ticker {
  position: relative;
  height: 30px;
  background: rgba(241, 237, 231, 0.8);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.nav-ticker-track {
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  padding-left: 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1714;
  animation: navTicker 60s linear infinite;
  will-change: transform;
}
.nav-ticker-item { flex: 0 0 auto; }
@keyframes navTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Main glass navbar (bottom layer) ────────────────────────────────────── */
.nav-main {
  height: 51px;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(21px) saturate(140%);
  -webkit-backdrop-filter: blur(21px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-left: 1px solid rgba(255, 255, 255, 0.10);
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.10);
}
.navbar-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

/* Brand · centered */
.nav-brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.nav-brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 0.85;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  padding-right: 0.32em;
}
.nav-brand-dot {
  position: absolute;
  top: 0.04em;
  right: 0;
  width: 0.16em;
  height: 0.16em;
  border-radius: 50%;
  background: currentColor;
}

/* Links · left */
.nav-links {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  transition: color 120ms linear;
}
.nav-link:hover { color: var(--mute); }
.nav-link .count {
  color: var(--mute);
  font-weight: 400;
  font-size: 12px;
}

/* Actions · right */
.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mute);
}
.lang-toggle .on { color: var(--ink); font-weight: 500; }
.lang-toggle .sep { opacity: 0.5; }

/* CTA pill inside the glass */
.navbar .nav-cta {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  background: rgba(20, 17, 15, 0.78);
  color: #f1eeea;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.navbar .nav-cta:hover { background: rgba(20, 17, 15, 0.92); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .navbar-inner { grid-template-columns: auto 1fr auto; }
  .nav-brand { justify-self: start; }
  .nav-actions { justify-self: end; }
  .navbar .nav-cta { display: none; }
}

/* ============================================================================
   News strip (above hero)
============================================================================ */
.news-strip {
  border-bottom: 1px solid var(--hairline);
  background: var(--canvas);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--body);
}
.news-strip-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge-news {
  display: inline-flex;
  align-items: center;
  background: var(--surface-dark);
  color: var(--on-dark);
  font-size: 14px;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  font-weight: 500;
}
.news-strip a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ============================================================================
   Hero — manpage opening + dark TUI mockup
============================================================================ */
.hero {
  padding-top: 140px;
  padding-bottom: var(--s-section);
}
.hero-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 clamp(28px, 3.5vw, 52px);
  line-height: 1.8;
}
.hero-meta .sep { opacity: 0.5; margin: 0 8px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(48px, 8.2vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 clamp(32px, 4vw, 60px);
  text-wrap: balance;
}
.hero-title .line { display: block; }
.hero-sub-group {
  margin: 0 0 clamp(40px, 5vw, 72px);
}
.hero-sub {
  max-width: 54ch;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.75;
  color: var(--body);
  margin: 0;
  text-wrap: pretty;
}
.hero-sub + .hero-sub { margin-top: 18px; }
.nl-fineprint {
  margin: 10px 0 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: var(--mute);
}
@media (max-width: 640px) {
  .hero-title { line-height: 1.0; }
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Boarding pass hero image ─────────────────────────────────────────── */
.boarding-pass {
  margin: var(--s-section) 0 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: block;
}
.boarding-pass img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

@media (max-width: 760px) {
  .boarding-pass { margin-top: 56px; }
}

/* ── TUI mockup ──────────────────────────────────────────────────────────── */
.tui {
  margin-top: var(--s-section);
  background: var(--surface-dark);
  color: var(--on-dark);
  padding: 48px 32px;
  border-radius: 0;
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
}
.tui-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--on-dark-mute);
  margin-bottom: 32px;
}
.tui-header .dot {
  width: 10px; height: 10px;
  border-radius: var(--r-full);
  background: var(--ash);
  display: inline-block;
}
.tui-header .dot.r { background: #ff5f57; }
.tui-header .dot.y { background: #ffbd2e; }
.tui-header .dot.g { background: #28c940; }
.tui-header .file {
  margin-left: 12px;
  color: var(--on-dark-mute);
}
.tui-wordmark {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(12px, 1.4vw, 18px);
  line-height: 1.05;
  color: var(--on-dark);
  white-space: pre;
  letter-spacing: 0;
  margin: 0 auto 40px;
  text-align: center;
  overflow-x: auto;
}
.tui-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-dark);
}
.tui-line { display: flex; gap: 8px; white-space: pre-wrap; }
.tui-line .prompt { color: var(--success); flex-shrink: 0; }
.tui-line .cmd { color: var(--on-dark); }
.tui-line .out { color: var(--on-dark-mute); padding-left: 16px; }
.tui-line .key { color: var(--accent); }
.tui-line .ok { color: var(--success); }
.tui-line .warn { color: var(--warning); }

.tui-prompt-row {
  background: var(--surface-dark-elev);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--on-dark);
}
.tui-prompt-row .pipe { color: var(--ash); }
.tui-prompt-row .label { color: var(--ash); }
.tui-prompt-row .value { color: var(--on-dark); }
.tui-prompt-row .token {
  color: var(--accent);
  background: rgba(0, 122, 255, 0.12);
  padding: 0 6px;
  border-radius: var(--r-sm);
}

.tui-foot {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--on-dark-mute);
}
.tui-foot kbd {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--surface-dark-elev);
  color: var(--on-dark);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ── Newsletter (mono form) ─────────────────────────────────────────────── */
.nl {
  max-width: 560px;
  margin-top: var(--s-xl);
}
.nl-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.nl input {
  flex: 1;
  height: 40px;
  background: var(--surface-soft);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 120ms linear, background 120ms linear;
}
.nl input::placeholder { color: var(--mute); }
.nl input:focus { border-color: var(--ink); background: var(--canvas); }
.nl-status {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--mute);
  line-height: 1.5;
  min-height: 1.5em;
  max-width: 64ch;
}
.nl-status.error { color: var(--danger); }
.nl-status.done { color: var(--success); }

/* ============================================================================
   What — manpage description
============================================================================ */

/* ============================================================================
   Stages — list-rows with [A] [L] [I] [V] [E] markers
============================================================================ */
.stages-title {
  margin: 0 0 clamp(20px, 2.4vw, 32px);
}
.stages-intro {
  max-width: 60ch;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 clamp(18px, 2vw, 26px);
  text-wrap: pretty;
}
.stages-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 clamp(32px, 4vw, 52px);
}
.stages-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.stage-row {
  display: grid;
  grid-template-columns: 56px 180px 1fr 72px;
  gap: 24px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}
.stage-row .marker {
  color: var(--ink);
  font-weight: 700;
}
.stage-row .stage-name {
  color: var(--ink);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.stage-row .stage-body {
  display: block;
  min-width: 0;
}
.stage-row .stage-desc {
  display: block;
  color: var(--body);
  transition: color 250ms ease;
}
.stage-row .stage-idea {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
  margin-top: 4px;
  text-wrap: pretty;
}
.stage-row .stage-psych {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mute);
  letter-spacing: 0.01em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 250ms ease, opacity 250ms ease, margin-top 250ms ease;
  margin-top: 0;
}
.stage-row:hover .stage-psych,
.stage-row:focus-visible .stage-psych,
.stage-row.is-open .stage-psych {
  max-height: 5em;
  opacity: 1;
  margin-top: 8px;
}
.stage-row:hover .stage-name,
.stage-row:focus-visible .stage-name,
.stage-row.is-open .stage-name { color: var(--ink); }
.stage-row:hover .stage-desc,
.stage-row:focus-visible .stage-desc,
.stage-row.is-open .stage-desc { color: var(--ink); }
.stage-row:focus-visible {
  outline: 1px solid var(--hairline);
  outline-offset: -1px;
  background: var(--surface-soft);
}
@media (prefers-reduced-motion: reduce) {
  .stage-row, .stage-row .stage-psych, .stage-row .stage-desc { transition: none; }
}
.stage-row .stage-num {
  color: var(--mute);
  text-align: right;
  font-size: 14px;
}
.stage-row {
  cursor: pointer;
  align-items: start;
  transition: background 250ms ease;
}
.stage-row:hover,
.stage-row.is-open { background: var(--surface-soft); }

@media (max-width: 760px) {
  .stage-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    row-gap: 4px;
    column-gap: 12px;
  }
  .stage-row .stage-name { grid-column: 2; }
  .stage-row .stage-body { grid-column: 2; }
  .stage-row .stage-num {
    display: block;
    grid-column: 2;
    text-align: left;
    margin-top: 8px;
  }
  .stage-row .stage-psych { max-height: 0; }
  .stage-row.is-open .stage-psych { max-height: 8em; }
}

/* ── Stages footer — big A·L·I·V·E in display type (preserved moment) ──── */
.stages-display-wrap {
  margin-top: var(--s-section);
  padding-top: var(--s-xl);
  border-top: 1px solid var(--hairline);
}
.stages-display {
  display: flex;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--ink);
  gap: clamp(8px, 1.5vw, 24px);
  text-transform: uppercase;
}

/* Per-letter hover · solo alza, sin glass plate */
.sd-letter {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: 0;
  isolation: isolate;
  transition: transform 380ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sd-letter:hover,
.sd-letter:focus-visible {
  transform: translateY(-6px);
}
.sd-letter-char {
  position: relative;
  z-index: 1;
  display: inline-block;
}

/* The glass plate sits BEHIND the letter glyph */
.sd-glass {
  display: none;
}

/* Word reveal slot below the ALIVE row */
.sd-word {
  margin-top: clamp(20px, 2.4vw, 40px);
  min-height: clamp(150px, 16vw, 200px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
}
.sd-word-block {
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 1.4vw, 22px);
  animation: sdBlockIn 460ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.sd-word-text {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.3vw, 20px);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 0.42em;
}
.sd-word-text::before {
  content: "[ ";
  color: var(--mute);
}
.sd-word-text::after {
  content: " ]";
  color: var(--mute);
}
.sd-word-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.7;
  letter-spacing: 0.005em;
  color: var(--mute);
  text-wrap: pretty;
}
.sd-word-hint {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-transform: uppercase;
}
@keyframes sdBlockIn {
  from { transform: translateY(12px); opacity: 0; filter: blur(6px); }
  to   { transform: translateY(0);    opacity: 1; filter: blur(0); }
}

@media (hover: none) {
  .sd-letter { cursor: pointer; }
  .sd-letter.is-hovered { transform: translateY(-6px); }
}

/* ============================================================================
   Trailer
============================================================================ */
.trailer-title {
  margin: 0 0 clamp(16px, 1.8vw, 24px);
}
.trailer-sub {
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--mute);
  margin: 0 0 clamp(36px, 4.5vw, 64px);
  text-wrap: pretty;
}
.trailer-prose { margin-bottom: 20px; }
.trailer-lede {
  font-size: clamp(17px, 1.3vw, 20px) !important;
  line-height: 1.6 !important;
  color: var(--ink) !important;
}
.trailer-closing {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 28px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.trailer-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 840px) {
  .trailer-wrap { grid-template-columns: 1fr; gap: 32px; }
}

.trailer-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trailer-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0.30) 0%, transparent 70%),
    linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.30) 100%);
  pointer-events: none;
}
.trailer-frame image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.trailer-frame-meta {
  position: absolute;
  z-index: 2;
  top: 20px; left: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.trailer-frame-tc {
  position: absolute;
  z-index: 2;
  bottom: 20px; right: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--on-dark);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.trailer-play {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  transition: transform 260ms cubic-bezier(0.2,0.7,0.2,1);
}
.trailer-play-icon {
  width: clamp(72px, 7vw, 96px);
  height: clamp(72px, 7vw, 96px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  display: grid;
  place-items: center;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  padding-left: 4px;
  color: var(--on-dark);
  transition: background 260ms ease, border-color 260ms ease, color 260ms ease;
}
.trailer-play-label {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark);
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}
.trailer-frame:hover .trailer-play { transform: scale(1.04); }
.trailer-frame:hover .trailer-play-icon {
  background: var(--on-dark);
  border-color: var(--on-dark);
  color: #101010;
}
@media (prefers-reduced-motion: reduce) {
  .trailer-play, .trailer-play-icon { transition: none; }
  .trailer-frame:hover .trailer-play { transform: none; }
}

.trailer-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 6, 6, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  animation: tlbIn 240ms ease both;
}
@keyframes tlbIn { from { opacity: 0 } to { opacity: 1 } }
.trailer-lightbox-stage {
  width: min(100%, 1600px);
  aspect-ratio: 16 / 9;
  max-height: 86vh;
  position: relative;
  background: #000;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
}
.trailer-lightbox-stage .trailer-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.trailer-lightbox-close {
  position: absolute;
  top: clamp(14px, 2.4vw, 28px);
  right: clamp(14px, 2.4vw, 28px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.85);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease;
}
.trailer-lightbox-close:hover { color: #fff; border-color: rgba(255,255,255,0.6); }
.trailer-lightbox-close span { opacity: 0.6; font-size: 11px; }

.trailer-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--surface-dark);
}

/* spec table */
.spec {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 32px;
  row-gap: 0;
  font-family: var(--font-mono);
  font-size: 16px;
}
.spec .spec-row {
  display: contents;
}
.spec dt {
  padding: 8px 0;
  font-weight: 400;
  color: var(--mute);
  border-bottom: 1px solid var(--hairline);
}
.spec dd {
  margin: 0;
  padding: 8px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
}

/* ============================================================================
   Book
============================================================================ */
.book-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 840px) {
  .book-grid { grid-template-columns: 1fr; gap: 40px; }
}
.book-cover {
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  aspect-ratio: auto;
  display: block;
  position: relative;
}
.book-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
}
.book-cover-top {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.book-cover-mid {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 14px;
  letter-spacing: -0.005em;
}
.book-cover-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--body);
  margin-top: 12px;
  line-height: 1.5;
}
.book-cover-bottom {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.book-cover-author {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0;
  text-transform: none;
}
.book-cover-tag {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--mute);
  margin-top: 12px;
  text-align: center;
}

.book-text { display: flex; flex-direction: column; gap: 20px; }
.book-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 88px);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}
.book-sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--body);
  margin: 0;
  max-width: 44ch;
}
.book-note {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--body);
  margin: 12px 0 0;
}
.book-note .marker { color: var(--ink); font-weight: 700; }

/* ============================================================================
   Instagram + YouTube — flat cards, hairline border, no shadow
============================================================================ */
.ig-band {
  border-bottom: 1px solid var(--hairline);
  padding: clamp(40px, 5vw, 72px) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 36px);
}
.ig-band-sub {
  max-width: 54ch;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--body);
  margin: 0;
  text-wrap: pretty;
}
.ig-band-handle {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.18em;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: opacity 180ms ease;
}
.ig-band-handle:hover { opacity: 0.6; }
.ig-band-arrow {
  font-family: var(--font-mono);
  font-size: 0.22em;
  line-height: 1;
  margin-top: 0.3em;
  color: var(--mute);
}
.ig-band-cta { align-self: flex-start; }

.ig-embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.ig-embed-card {
  border: 1px solid var(--hairline);
  background: var(--surface-soft);
  padding: 12px;
  min-height: 420px;
}
.ig-embed-card .instagram-media {
  margin: 0 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}
@media (max-width: 840px) {
  .ig-embed-grid { grid-template-columns: 1fr; }
}

.media-grid {
  display: grid;
  gap: 16px;
}
.media-grid.reels { grid-template-columns: repeat(4, 1fr); }
.media-grid.videos { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 840px) {
  .media-grid.reels { grid-template-columns: repeat(2, 1fr); }
  .media-grid.videos { grid-template-columns: 1fr; }
}

.reel-card {
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color 150ms linear;
}
.reel-card:hover { border-color: var(--hairline-strong); }
.reel-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--surface-soft);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.reel-thumb image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.reel-views {
  position: absolute;
  z-index: 2;
  top: 12px; left: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--body);
  background: var(--canvas);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.reel-meta {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
}
.reel-caption {
  color: var(--ink);
  line-height: 1.4;
  font-weight: 400;
}
.reel-handle {
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color 150ms linear;
}
.video-card:hover { border-color: var(--hairline-strong); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,
      transparent 0, transparent 14px,
      rgba(15,0,0,0.04) 14px, rgba(15,0,0,0.04) 15px);
}
.video-thumb .marker-play {
  position: relative;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  padding: 4px 14px;
}
.video-length {
  position: absolute;
  bottom: 8px; right: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 1px 6px;
}
.video-meta {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-body);
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
}
.video-title {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}
.video-views {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.05em;
}

.media-foot {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.media-foot .handle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}

/* ============================================================================
   Author
============================================================================ */
.author-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 840px) {
  .author-grid { grid-template-columns: 1fr; gap: 32px; }
}
.author-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.author-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.author-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg,
      transparent 0, transparent 24px,
      rgba(15,0,0,0.05) 24px, rgba(15,0,0,0.05) 25px);
  pointer-events: none;
  display: none;
}
.author-photo-tag {
  position: absolute;
  bottom: 8px; left: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--mute);
  background: var(--canvas);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
}

.author-name {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.4vw, 100px);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}
.author-role {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 12px 0 24px;
  max-width: 44ch;
}
.author-bio p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 16px;
  max-width: 64ch;
}
.author-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-body);
  font-size: 14px;
}
.author-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
}
.author-link .label {
  color: var(--mute);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
}
.author-link .handle { color: var(--ink); }
.author-link:hover .handle { text-decoration: underline; text-underline-offset: 3px; }

/* press table */
.press-table {
  margin-top: 64px;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
}
.press-table .sec-label { margin-bottom: 0; padding-bottom: 16px; }
.press-rows {
  font-family: var(--font-mono);
  font-size: 16px;
}
.press-row {
  display: grid;
  grid-template-columns: 32px 1fr 200px 100px 24px;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
}
.press-row .idx { color: var(--mute); font-size: 14px; }
.press-row .name { font-weight: 500; }
.press-row .sub { color: var(--body); }
.press-row .date { color: var(--mute); text-align: right; font-size: 14px; }
.press-row .arrow { color: var(--mute); text-align: right; }
.press-row:hover { background: var(--surface-soft); }
.press-row:hover .arrow { color: var(--ink); }

@media (max-width: 760px) {
  .press-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 2px;
  }
  .press-row .idx { display: none; }
  .press-row .sub { color: var(--mute); font-size: 14px; }
  .press-row .name { grid-column: 1; }
  .press-row .arrow { grid-column: 2; grid-row: 1; }
  .press-row .sub { grid-column: 1; }
  .press-row .date { grid-column: 2; grid-row: 2; text-align: left; }
}

/* ============================================================================
   Final CTA — manpage style, all cream
============================================================================ */
.cta-final {
  text-align: left;
}
.cta-final-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 var(--s-xl);
}
.cta-final-title .line { display: block; }
.cta-final-sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  max-width: 64ch;
  margin: 0 0 var(--s-xxl);
}

/* ============================================================================
   Contact (accordion) — manpage [+] / [−] toggle
============================================================================ */
.contact {
  border-top: 1px solid var(--hairline);
}
.contact-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
}
.contact-toggle:hover { color: var(--mute); }
.contact-toggle .marker {
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-mono);
}
.contact-panel {
  padding: 8px 0 64px;
  max-width: 720px;
}
.contact-sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 28px;
  max-width: 64ch;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .contact-form-row { grid-template-columns: 1fr; }
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--mute);
}
.contact-form input,
.contact-form textarea {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 120ms linear, background 120ms linear;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--ink); background: var(--canvas); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-submit { align-self: flex-start; margin-top: 8px; }
.form-done {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  font-family: var(--font-body);
  color: var(--ink);
}
.form-done .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border: 1px solid var(--success);
  color: var(--success);
  border-radius: var(--r-full);
}

/* ============================================================================
   Footer
============================================================================ */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 32px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--body);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 24px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
  border-right: 1px solid var(--hairline);
  text-align: center;
  font-size: 14px;
}
.footer-col:last-child { border-right: 0; }
.footer-col-head {
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-col a { color: var(--ink); }
.footer-col a:hover { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  flex-wrap: wrap;
  color: var(--mute);
  font-size: 14px;
}
.footer-bottom .right { display: flex; gap: 16px; align-items: center; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .footer-col { border-right: 0; text-align: left; padding: 0 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   TWEAKS · data-attribute overrides on <html>
   · data-voz       → magnitud del display (susurro / neutra / anthem)
   · data-aire      → ritmo de los espacios (compacto / neutra / cine)
   · data-cadencia  → tracking del display (cerrada / neutra / aire)
============================================================================ */

/* Voz · escala del display ABC Gravity */
[data-voz="susurro"] .hero-title       { font-size: clamp(36px, 5.4vw, 76px); }
[data-voz="susurro"] .display.xl,
[data-voz="susurro"] .cta-final-title  { font-size: clamp(36px, 5.4vw, 76px); }
[data-voz="susurro"] .display.l,
[data-voz="susurro"] .author-name,
[data-voz="susurro"] .book-title       { font-size: clamp(28px, 3.8vw, 56px); }
[data-voz="susurro"] .display.m        { font-size: clamp(24px, 3vw, 44px); }
[data-voz="susurro"] .stages-display   { font-size: clamp(40px, 6vw, 96px); }

[data-voz="anthem"] .hero-title        { font-size: clamp(72px, 12vw, 180px); }
[data-voz="anthem"] .display.xl,
[data-voz="anthem"] .cta-final-title   { font-size: clamp(72px, 12vw, 180px); }
[data-voz="anthem"] .display.l,
[data-voz="anthem"] .author-name,
[data-voz="anthem"] .book-title        { font-size: clamp(56px, 8.4vw, 132px); }
[data-voz="anthem"] .display.m         { font-size: clamp(44px, 6.4vw, 96px); }
[data-voz="anthem"] .stages-display    { font-size: clamp(96px, 18vw, 280px); }

/* Aire · ritmo del espacio */
[data-aire="compacto"] .section { padding-top: 56px; padding-bottom: 56px; }
[data-aire="compacto"] .hero { padding-top: 48px; }
[data-aire="compacto"] .tui,
[data-aire="compacto"] .boarding-pass { padding: 32px 24px; margin-top: 56px; }
[data-aire="compacto"] .boarding-pass { padding: 0; }
[data-aire="compacto"] .stages-display-wrap { margin-top: 56px; }

[data-aire="cine"] .section { padding-top: 160px; padding-bottom: 160px; }
[data-aire="cine"] .hero { padding-top: 120px; }
[data-aire="cine"] .tui,
[data-aire="cine"] .boarding-pass { padding: 72px 48px; margin-top: 160px; }
[data-aire="cine"] .boarding-pass { padding: 0; }
[data-aire="cine"] .stages-display-wrap { margin-top: 160px; }

/* Cadencia · tracking del display */
[data-cadencia="cerrada"] .display,
[data-cadencia="cerrada"] .hero-title,
[data-cadencia="cerrada"] .book-title,
[data-cadencia="cerrada"] .author-name,
[data-cadencia="cerrada"] .cta-final-title,
[data-cadencia="cerrada"] .book-cover-mid,
[data-cadencia="cerrada"] .stages-display { letter-spacing: -0.04em; }

[data-cadencia="aire"] .display,
[data-cadencia="aire"] .hero-title,
[data-cadencia="aire"] .book-title,
[data-cadencia="aire"] .author-name,
[data-cadencia="aire"] .cta-final-title,
[data-cadencia="aire"] .book-cover-mid,
[data-cadencia="aire"] .stages-display { letter-spacing: 0.06em; }


/* ============================================================================
   REVISIÓN INTEGRAL — evolución editorial (overrides finales)
   Orden: scroll · método 2 col · ALIVE letra por letra · miniserie ·
          libro · autor · youtube · CTA · footer · responsive
============================================================================ */

/* ── Smooth scroll + offset del header flotante ─────────────────────────── */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id], .press-table[id] { scroll-margin-top: 120px; }

/* ── EL MÉTODO · dos columnas: texto + fotografía documental ─────────────── */
.what-title { margin: 0 0 clamp(36px, 4.4vw, 64px); }
.what-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.what-col { min-width: 0; }
.what-closing {
  margin: clamp(32px, 3.6vw, 48px) 0 0;
  padding-top: clamp(24px, 2.6vw, 32px);
  border-top: 1px solid var(--hairline);
  max-width: 34ch;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}
.what-figure {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.what-figure image-slot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hairline);
}
.what-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ── LAS ETAPAS · tabla: jerarquía tipográfica por nivel ─────────────────── */
.stages-title { margin: 0 0 clamp(20px, 2.4vw, 32px); }
.stage-row .marker,
.stage-row .stage-name {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stage-row .stage-desc {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.stage-row .stage-idea {
  font-size: clamp(14px, 1vw, 15.5px);
  line-height: 1.55;
  color: var(--mute);
}
.stage-row:hover .stage-idea,
.stage-row.is-open .stage-idea,
.stage-row:focus-visible .stage-idea { color: var(--body); }
.stage-row .stage-psych {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stage-row .stage-num { font-family: var(--font-mono); }

/* ── ALIVE, LETRA POR LETRA · experiencia visual ─────────────────────────── */
.stages-display-wrap {
  margin-top: clamp(56px, 7vw, 104px);
  padding-top: clamp(32px, 3.6vw, 48px);
  border-top: 1px solid var(--hairline);
}
.sd-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.sd-eyebrow, .sd-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sd-eyebrow { color: var(--ink); }
.sd-hint { color: var(--mute); }
.stages-display {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(4px, 1vw, 16px);
  font-family: var(--font-display);
  font-size: clamp(64px, 15.5vw, 230px);
  line-height: 0.86;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.sd-letter {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: 0;
  color: var(--hairline-strong);
  transition: transform 340ms cubic-bezier(0.2,0.7,0.2,1), color 340ms ease;
}
.sd-letter:hover, .sd-letter:focus-visible { color: var(--ink); }
.sd-letter.is-hovered {
  color: var(--ink);
  transform: translateY(-6px);
}
.sd-letter-char { position: relative; display: inline-block; }

.sd-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.sd-figure {
  margin: 0;
  position: relative;
}
.sd-figure image-slot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hairline);
}
.sd-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.sd-word-text {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 0.34em;
}
.sd-word-text::before, .sd-word-text::after { content: none; }
.sd-concept {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.sd-word-body {
  margin: 6px 0 0;
  max-width: 54ch;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: var(--body);
  text-align: left;
  text-wrap: pretty;
  animation: sdFade 420ms cubic-bezier(0.2,0.7,0.2,1) both;
}
@keyframes sdFade { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) {
  .sd-word-body { animation: none; }
  .sd-letter, .sd-letter.is-hovered { transition: none; transform: none; }
}

/* ── LA MINISERIE · reproductor protagónico ─────────────────────────────── */
.trailer-stage { margin-bottom: clamp(40px, 5vw, 72px); }
.trailer-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.trailer-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.trailer-lede { max-width: 46ch !important; }
.trailer-closing {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 30ch;
  margin: clamp(28px, 3vw, 40px) 0 0;
  padding-top: clamp(20px, 2.2vw, 28px);
  border-top: 1px solid var(--hairline);
}
.trailer-actions { margin-top: clamp(28px, 3vw, 36px); }
.spec-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--hairline);
}

/* ── EL LIBRO · portada como objeto editorial ───────────────────────────── */
.book-grid {
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: clamp(36px, 5.5vw, 88px);
  align-items: center;
}
.book-cover img {
  filter: brightness(1.14) contrast(1.04);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 2px 0 rgba(255,255,255,0.06);
}
.book-desc {
  margin: 18px 0 clamp(24px, 2.6vw, 32px);
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}
.book-spec { margin-top: 0 !important; }
.book-cta { margin-top: clamp(26px, 3vw, 36px); }

/* ── JAVIER LABOURT · cita editorial ────────────────────────────────────── */
.author-photo-img { filter: brightness(1.12) contrast(1.06); }
.author-quote {
  margin: clamp(30px, 3.4vw, 44px) 0 0;
  padding-top: clamp(24px, 2.6vw, 32px);
  border-top: 1px solid var(--hairline);
  max-width: 30ch;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(21px, 2.1vw, 32px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}

/* ── YOUTUBE ────────────────────────────────────────────────────────────── */
.yt-band {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(20px, 2.6vw, 32px);
}
.yt-title { max-width: 22ch; }

/* ── CTA FINAL ──────────────────────────────────────────────────────────── */
.cta-final-title { font-size: clamp(48px, 8vw, 124px); }
.cta-final-subgroup { margin: 0 0 clamp(36px, 4.4vw, 56px); }
.cta-final-sub {
  max-width: 54ch;
  font-size: clamp(16px, 1.15vw, 18px) !important;
  line-height: 1.58 !important;
  margin: 0 !important;
}
.cta-final-sub + .cta-final-sub { margin-top: 16px !important; }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .what-grid, .trailer-wrap, .sd-panel { grid-template-columns: 1fr; }
  .what-figure { order: -1; }
  .what-figure image-slot { aspect-ratio: 16 / 10; }
  .book-grid { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 760px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-cover { max-width: 320px; }
  .stages-display {
    font-size: clamp(52px, 17vw, 96px);
    gap: 2px;
    margin-bottom: 32px;
  }
  .sd-head { margin-bottom: 18px; }
  .what-closing, .trailer-closing, .author-quote { max-width: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}


/* ── Fixes de revisión: separación de párrafos y líneas duplicadas ─────── */
.prose p { margin-bottom: clamp(22px, 2.2vw, 30px); }
.ig-band, .yt-band { border-bottom: 0; padding-bottom: 0; }
#instagram, #youtube { padding-bottom: clamp(56px, 6vw, 80px); }
#instagram .sec-label, #youtube .sec-label { margin-bottom: clamp(28px, 3.2vw, 44px); }


/* ── Ronda 2: pregunta de cierre de la miniserie ────────────────────────── */
.trailer-closing { max-width: 34ch; font-size: clamp(19px, 1.85vw, 27px); }


/* ── Fix: separación real entre párrafos (1.6× el interlineado) ─────────── */
.prose p { margin-bottom: clamp(32px, 3vw, 44px); }
.prose > .reveal:last-child p,
.prose > p:last-child { margin-bottom: 0; }

/* ============================================================================
   Follow — Instagram + YouTube unificados
============================================================================ */
#follow { padding-bottom: clamp(56px, 6vw, 80px); }
#follow .sec-label { margin-bottom: clamp(28px, 3.2vw, 44px); }
.follow-sub { margin-bottom: clamp(32px, 4vw, 56px); }
.follow-rows { border-top: 1px solid var(--hairline); }
.follow-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: clamp(16px, 2vw, 40px); padding: clamp(26px, 3.2vw, 46px) 0; border-bottom: 1px solid var(--hairline); transition: padding-left 240ms ease, opacity 180ms ease; }
.follow-row:hover { padding-left: clamp(8px, 1vw, 18px); }
.follow-kicker { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.follow-name { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 6.4vw, 92px); line-height: 0.9; letter-spacing: -0.01em; color: var(--ink); }
.follow-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-family: var(--font-mono); font-size: clamp(11px, 0.9vw, 13px); letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 0.4em; }
.follow-note { color: var(--mute); }
.follow-handle { color: var(--ink); display: inline-flex; align-items: baseline; gap: 0.5em; }
.follow-arrow { color: var(--mute); display: inline-block; transition: transform 240ms ease; }
.follow-row:hover .follow-arrow { transform: translate(3px, -3px); }
@media (max-width: 720px) {
  .follow-row { grid-template-columns: 1fr; align-items: start; }
  .follow-meta { align-items: flex-start; padding-bottom: 0; margin-top: 16px; }
}

/* Hero · typewriter loop */
.hero-typed .line { display: block; }
.hero-typed .typed-off { visibility: hidden; }
.hero-typed { transition: opacity 600ms ease, filter 600ms ease; }
.hero-typed.is-fading { opacity: 0; filter: blur(4px); }
.typed-caret { display: inline-block; width: 0.06em; height: 0.82em; margin: 0 0.04em 0 0.03em; background: currentColor; vertical-align: -0.04em; animation: typedBlink 1s steps(1) infinite; }
@keyframes typedBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typed-caret { display: none; } }

/* Hero · centrado + explicación con más protagonismo */
.hero-typed { text-align: center; }
.hero-sub-group { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-sub { max-width: 46ch; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.6; color: var(--ink); }
.hero-sub + .hero-sub { margin-top: 22px; }

/* Hero · pase de abordar pegado a la descripción, newsletter debajo */
.hero-sub-group:has(+ *) { margin-bottom: 0; }
.hero .hero-sub-group { margin-bottom: clamp(28px, 3vw, 44px); }
.boarding-pass.boarding-pass-tight { margin-top: 0; }
.hero-cta-row.hero-cta-after { margin-top: clamp(48px, 6vw, 88px); justify-content: center; }

/* ALIVE letra por letra · sección propia tras el pase de abordar */
.alive-letters { padding-top: clamp(40px, 5vw, 72px); }
.stages-display-wrap.is-standalone { margin-top: 0; }
.stages-display { justify-content: center; gap: clamp(2px, 0.6vw, 10px); }

.hero-cta-row.what-cta { margin: clamp(8px, 1vw, 16px) 0 clamp(40px, 5vw, 72px); }

.hero-title.hero-typed { font-size: clamp(30px, 6.4vw, 96px); }
.hero-typed .line { white-space: nowrap; }

/* Boarding pass · primer elemento + brillo al hover */
.boarding-pass.boarding-pass-top { margin-top: 0; margin-bottom: clamp(48px, 6vw, 96px); position: relative; overflow: hidden; }
.boarding-pass-top img { transition: filter 500ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.boarding-pass-top::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(circle 22vw at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.18), rgba(255,255,255,0.06) 45%, transparent 70%); mix-blend-mode: soft-light; opacity: 0; transition: opacity 400ms ease; }
@media (hover: hover) {
  .boarding-pass-top:hover::after { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .boarding-pass-top::after { display: none; } .boarding-pass-top img { transition: none; } }

/* Boarding pass · el 20% final se superpone con lo siguiente */
.boarding-pass.boarding-pass-top { margin-bottom: -8vw; z-index: 0; }
.boarding-pass-top::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to bottom, rgba(1,1,1,0), rgb(1,1,1) 85%); pointer-events: none; z-index: 1; }
.hero .container > *:not(:first-child) { position: relative; z-index: 2; }

/* Hero · pase de abordar fijo al fondo mientras el texto sube por encima */
.hero[data-typed] { padding-top: 0; position: relative; }
.boarding-pass.boarding-pass-top { position: sticky; top: 0; left: auto; right: auto; width: 100%; margin: 0 0 -8vw; z-index: 0; }
.hero-over { position: relative; z-index: 2; }

.boarding-pass-top { opacity: var(--bp-dim, 1); will-change: opacity; }

.footer-mail { display: inline-flex; align-items: baseline; gap: 0.6em; margin: clamp(36px, 4vw, 56px) 0 clamp(24px, 3vw, 36px); font-family: var(--font-mono); font-weight: 400; font-size: clamp(13px, 1.1vw, 15px); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; transition: opacity 200ms ease; }
.footer-mail::before { content: "Contacto"; color: var(--mute); }
html[lang="en"] .footer-mail::before { content: "Contact"; }
.footer-mail::after { content: "↗"; color: var(--mute); transition: transform 200ms ease; }
.footer-mail:hover { opacity: 0.7; }
.footer-mail:hover::after { transform: translate(2px, -2px); }

/* Hero · título alineado a la izquierda, 2 renglones */
.hero-typed { text-align: left; }
.hero-typed .line { white-space: normal; }

.hero-sub-group { align-items: flex-start; text-align: left; }

/* Hero · las cinco etapas bajo la descripción */
.hero-stages { list-style: none; margin: clamp(28px, 3vw, 40px) 0 0; padding: clamp(18px, 2vw, 24px) 0 0; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 10px clamp(20px, 2.6vw, 40px); font-family: var(--font-mono); font-size: clamp(12px, 1vw, 14px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.hero-stage-l { color: var(--ink); }

/* Navbar · todas las secciones, ALIVE al centro */
.navbar-inner { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); column-gap: clamp(16px, 2vw, 32px); }
.nav-links { gap: clamp(12px, 1.4vw, 22px); font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.nav-links-left { justify-self: start; }
.nav-actions { gap: clamp(12px, 1.4vw, 22px); }
.nav-links-right { margin-right: clamp(4px, 0.6vw, 10px); }
.lang-toggle { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; }
.navbar .nav-cta { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; height: 30px; }
@media (max-width: 1180px) { .nav-links { font-size: 10px; letter-spacing: 0.08em; gap: 12px; } }
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .navbar-inner { grid-template-columns: auto 1fr auto; }
  .nav-brand { justify-self: start; }
}

/* Letra por letra · sin fotos, texto protagonista */
.sd-panel.sd-panel-text { display: block; grid-template-columns: none; }
.sd-panel-text .sd-text { max-width: 60rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 1.6vw, 22px); padding: clamp(24px, 3vw, 44px) 0 0; animation: sdTextIn 420ms ease both; }
.sd-panel-text .sd-word-text { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(48px, 7.2vw, 112px); line-height: 0.9; letter-spacing: -0.01em; color: var(--ink); }
.sd-panel-text .sd-concept { font-family: var(--font-mono); font-size: clamp(12px, 1vw, 14px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.sd-panel-text .sd-word-body { max-width: 44ch; text-align: center; margin: clamp(6px, 1vw, 14px) 0 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
@keyframes sdTextIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sd-panel-text .sd-text { animation: none; } }

/* Etapas unificadas · sin títulos ni divisiones */
.alive-letters .stages-display-wrap.is-standalone { border: 0; padding-top: 0; }
.sd-intro { max-width: 46ch; margin: 0 auto clamp(20px, 2.4vw, 32px); text-align: center; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.sd-hint.sd-hint-solo { display: block; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: clamp(8px, 1vw, 16px); }
.sd-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--mute); }
.sd-extra { max-width: 44ch; display: flex; flex-direction: column; gap: 12px; margin-top: clamp(4px, 0.8vw, 10px); }
.sd-idea, .sd-psych { margin: 0; text-align: center; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6; color: var(--mute); text-wrap: pretty; }
.sd-idea { font-style: italic; color: var(--ink); }

/* El método · sin foto, texto a lo ancho */
.what-grid.what-grid-full { display: block; grid-template-columns: none; }
.what-grid-full .what-col, .what-grid-full .prose, .what-grid-full .prose p, .what-grid-full .what-closing { max-width: none; }

/* El método · frase de cierre en letra de texto, no display */
.what-closing { font-family: var(--font-body); font-weight: 300; text-transform: none; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.3; letter-spacing: -0.01em; max-width: 32ch; }

/* Miniserie · texto a lo ancho, ficha técnica desplegable */
.trailer-wrap.trailer-wrap-full { display: block; grid-template-columns: none; }
.trailer-wrap-full .trailer-prose, .trailer-wrap-full .trailer-prose p, .trailer-wrap-full .trailer-closing { max-width: none; }
.spec-collapsible { margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.spec-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(18px, 2vw, 26px) 0; background: none; border: 0; color: var(--ink); cursor: pointer; text-align: left; }
.spec-toggle .spec-label { margin: 0; }
.spec-toggle-icon { font-family: var(--font-mono); font-size: 18px; line-height: 1; color: var(--mute); transition: transform 240ms ease, color 200ms ease; }
.spec-toggle:hover .spec-toggle-icon { color: var(--ink); }
.spec-collapsible.is-open .spec-toggle-icon { transform: rotate(45deg); }
.spec-collapsible .spec { margin: 0; padding-bottom: clamp(20px, 2.4vw, 32px); animation: sdTextIn 320ms ease both; }
.spec-collapsible .spec[hidden] { display: none; }

/* ============================================================================
   Estética "estreno": serif editorial para textos, grotesca espaciada para
   etiquetas. ABC Gravity se mantiene para títulos y el logo.
============================================================================ */
body { font-size: 19px; }
.prose p, .hero-sub, .sd-word-body, .trailer-prose p, .what-closing { font-family: var(--font-body); font-weight: 400; letter-spacing: 0; }
.prose p, .trailer-prose p { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.65; color: var(--ink); }
.hero-sub, .sd-intro { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.6; }
.sd-panel-text .sd-word-body { font-size: clamp(20px, 1.6vw, 24px); color: var(--body); }
.sd-idea, .sd-psych { font-size: clamp(17px, 1.3vw, 19px); }
.what-closing { font-weight: 400; font-style: italic; font-size: clamp(26px, 2.6vw, 38px); }
.trailer-closing { font-family: var(--font-body); font-style: italic; }
.sec-label, .sd-concept, .sd-num, .sd-hint, .spec-label, .hero-meta, .hero-stages, .nav-links, .follow-kicker, .follow-meta, .footer-mail, .nav-ticker-item { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.24em; }
.nav-links { letter-spacing: 0.18em; font-weight: 500; }
.spec dt { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 11px; color: var(--mute); }
.spec dd { font-family: var(--font-body); font-size: clamp(18px, 1.4vw, 21px); color: var(--ink); }
.trailer-closing { text-transform: none; font-weight: 400; letter-spacing: 0; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.3; }
.trailer-prose .trailer-lede { font-family: var(--font-body); font-size: clamp(19px, 1.55vw, 23px); line-height: 1.65; max-width: none; color: var(--ink); text-transform: none; letter-spacing: 0; }

/* ============================================================================
   Revisión tipográfica general · legibilidad + menos cortes de línea
============================================================================ */
/* ALIVE → etapa: menos aire */
.alive-letters .stages-display { margin-bottom: clamp(4px, 0.8vw, 12px); }
.sd-panel-text .sd-text { padding-top: 0; gap: clamp(12px, 1.3vw, 18px); }

/* Hero: párrafos más anchos, menos renglones; menos aire al final */
.hero-sub { max-width: 60ch; }
.hero-stages { max-width: none; }
.hero[data-typed] { padding-bottom: clamp(48px, 5vw, 72px); }

/* Párrafos de lectura: ancho cómodo (~72 caracteres) aunque la sección sea ancha */
.what-grid-full .prose p, .trailer-wrap-full .trailer-prose p, .trailer-prose .trailer-lede { max-width: 68ch; }
.what-grid-full .prose > *:last-child p { margin-bottom: 0; }
.what-grid-full .what-closing, .trailer-wrap-full .trailer-closing { max-width: 40ch; }

/* Etapas: descripción más ancha */
.sd-panel-text .sd-word-body { max-width: 56ch; }
.sd-extra { max-width: 60ch; }
.sd-intro { max-width: 60ch; }

/* Subtítulos y textos secundarios que habían quedado chicos */
.trailer-sub, .book-desc { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.55; max-width: 52ch; color: var(--body); }
.book-sub { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.45; max-width: 36ch; color: var(--ink); }
.author-role { font-size: clamp(18px, 1.35vw, 20px); max-width: none; color: var(--ink); }
#author .author-bio p, #author p:not(.author-role) { font-size: clamp(18px, 1.3vw, 20px); line-height: 1.6; max-width: 62ch; }

/* Botones, links y rótulos de interfaz: grotesca espaciada, no serif */
.btn, .trailer-play, .spec-toggle, .contact-toggle, .author-link, .footer-col a, .footer-col h4, .footer-bottom { font-family: var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.btn { font-size: 12px; }
.author-link, .contact-toggle { font-size: 12px; }
.footer-col a { font-size: 12px; letter-spacing: 0.1em; }
.footer-bottom { font-size: 11px; }
.contact-toggle { white-space: nowrap; }
.spec-toggle .spec-label { border: 0; padding: 0; }

/* Seguinos: mismo ancho que el resto y sin doble línea */
#follow .container.wide { max-width: var(--container, 960px); }
.follow-rows { border-top: 0; }

.hero-title.hero-typed { font-size: clamp(30px, 5.7vw, 86px); }
@media (min-width: 900px) { .hero-typed .line { white-space: nowrap; } }
.what-grid-full .prose p { margin-bottom: clamp(18px, 1.8vw, 26px); }
/* Newsletter final */
.nl-sub, .newsletter p, #newsletter p, #join p { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.55; }
/* Footer alineado con el resto */
.footer .container, .footer > .container { max-width: var(--container, 960px); }
.footer-col-title, .footer-col h3, .footer-col h4, .footer-col > span:first-child { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.22em; font-size: 11px; }
.cta-final-sub { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; max-width: 56ch; }
.trailer-prose .trailer-lede { font-size: clamp(19px, 1.55vw, 23px); }

/* Hero · aparición por oración */
.hero-sentences .part { display: inline; opacity: 0; filter: blur(6px); transition: opacity 700ms ease, filter 700ms ease; }
.hero-sentences .part.is-on { opacity: 1; filter: none; transform: none; }
.hero-sentences.is-fading { opacity: 0; filter: blur(4px); }
@media (prefers-reduced-motion: reduce) { .hero-sentences .part { transition: none; opacity: 1; filter: none; transform: none; } }

/* Hero · etapas grandes + nombre gigante al hover */
.hero-stages { font-size: clamp(16px, 1.5vw, 22px) !important; letter-spacing: 0.16em; gap: 12px clamp(24px, 3vw, 48px); }
.hero-stages li { cursor: default; color: var(--mute); transition: color 250ms ease; position: relative; z-index: 21; }
.hero-stages li.is-hover, .hero-stages li:hover { color: var(--ink); }
.hero-stage-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; pointer-events: none; background: rgba(10, 10, 10, 0.82); opacity: 0; transition: opacity 350ms ease; }
.hero-stage-overlay.is-on { opacity: 1; }
.hero-stage-overlay span { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(72px, 17vw, 300px); line-height: 0.9; letter-spacing: -0.01em; color: var(--ink); animation: stageIn 450ms cubic-bezier(.2,.7,.2,1); }
@keyframes stageIn { from { opacity: 0; transform: scale(0.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (hover: none) { .hero-stages li { cursor: pointer; -webkit-tap-highlight-color: transparent; } }

/* Javier · cita grande en tipografía ALIVE */
.author-quote { font-family: var(--font-body) !important; font-style: italic !important; font-weight: 400; text-transform: none !important; font-size: clamp(32px, 3.4vw, 50px) !important; line-height: 1.2 !important; letter-spacing: 0 !important; max-width: 22ch !important; color: var(--ink); text-wrap: balance; }

/* Navbar · menú móvil */
.nav-burger { display: none; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; color: var(--ink); }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform 250ms ease; }
.navbar.is-menu .nav-burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.navbar.is-menu .nav-burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav-mobile { display: none; }
@media (max-width: 1040px) {
  .nav-burger { display: inline-flex; }
  .nav-mobile:not([hidden]) { display: flex; flex-direction: column; padding: 8px clamp(20px, 5vw, 40px) 20px; background: rgba(10, 10, 10, 0.96); border-top: 1px solid var(--hairline); }
  .nav-mobile-link { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
  .nav-mobile-link:last-child { border-bottom: 0; }
}
@media (max-width: 420px) { .navbar .nav-cta { display: none; } }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-error { margin: 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: #e8a196; }

/* v3 · ajustes */
.hero-sentences .line + .line { margin-top: 0.16em; }
.sd-panel-text.is-empty .sd-text { visibility: hidden; }
.navbar.is-menu .nav-main { height: auto; }
.navbar.is-menu .navbar-inner { height: 51px; }
@media (max-width: 640px) {
  .sec-label { flex-wrap: wrap; row-gap: 6px; }
  .sec-label .meta { margin-left: 0; flex-basis: 100%; white-space: nowrap; }
}
