/* ==========================================================================
   Chapter One Creations — «Primera edición»
   Hoja de estilos única. Sin compilación.
   Índice: 1 fuentes · 2 tokens · 3 base · 4 utilidades · 5 botones · 6 capas fijas
           7 navegación · 8 héroe · 9 manifiesto · 10 proceso · 11 escucha
           12 ilustrada · 13 ediciones · 14 ocasiones · 15 preguntas · 16 final y colofón
           17 hilo · 18 apariciones · 19 responsive · 20 sin movimiento / sin JS
           21 páginas secundarias
   ========================================================================== */

/* 1 · FUENTES (alojadas aquí: nada se pide a Google) ---------------------- */
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfair-display-var-latin.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfair-display-italic-var-latin.woff2') format('woff2');
  font-weight: 400 900; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: 'Poppins'; src: url('../assets/fonts/poppins-300-latin.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../assets/fonts/poppins-400-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../assets/fonts/poppins-500-latin.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../assets/fonts/poppins-600-latin.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

/* 2 · TOKENS ------------------------------------------------------------- */
:root {
  /* marca */
  --ivory: #F5F0E6;      /* marfil */
  --charcoal: #575756;   /* carbón */
  --gold: #C08A2D;       /* dorado */
  --paper: #FBF9F4;      /* blanco roto */
  /* tintas de apoyo */
  --night: #121110;
  --night-2: #1C1A17;
  --ink: #2B2926;
  --muted: #625F5C;              /* texto secundario sobre marfil (5,7:1) */
  --muted-night: #ABA69D;        /* texto secundario sobre noche (7,6:1) */
  --gold-light: #DDB46A;         /* dorado legible sobre noche */
  --gold-deep: #8A5A12;          /* dorado legible sobre marfil (5,2:1) */
  --rule-dark: rgba(43, 41, 38, .14);
  --rule-light: rgba(245, 240, 230, .16);

  --serif: 'Playfair Display', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: clamp(18px, 5vw, 76px);
  --maxw: 1320px;
  --nav-h: 76px;

  --fs-hero: clamp(3rem, 1.2rem + 7.4vw, 8.4rem);
  --fs-h2: clamp(2.25rem, 1.35rem + 3.7vw, 5rem);
  --fs-h3: clamp(1.35rem, 1.12rem + .9vw, 1.85rem);
  --fs-lead: clamp(1.06rem, .98rem + .45vw, 1.34rem);
  --fs-body: clamp(1rem, .97rem + .14vw, 1.0625rem);
  --fs-small: .8125rem;

  /* curvas propias: tinta que se asienta, página que pasa, muelles */
  --ease-ink: cubic-bezier(.19, .86, .24, 1);
  --ease-page: cubic-bezier(.72, 0, .14, 1);
  --ease-out-soft: cubic-bezier(.33, .9, .3, 1);
  --spring: cubic-bezier(.34, 1.42, .44, 1);
  --spring-soft: cubic-bezier(.3, 1.12, .4, 1);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.071, 0.238, 0.445, 0.65, 0.827, 0.963, 1.055, 1.107, 1.126, 1.121, 1.103, 1.077, 1.051, 1.027, 1.009, 0.996, 0.988, 0.984, 0.984, 0.986, 0.989, 0.993, 0.996, 0.998, 1, 1.001, 1.002, 1.002, 1.002, 1.001, 1.001, 1);
    --spring-soft: linear(0, 0.046, 0.154, 0.291, 0.435, 0.571, 0.69, 0.789, 0.867, 0.926, 0.968, 0.997, 1.015, 1.024, 1.028, 1.028, 1.026, 1.022, 1.018, 1.014, 1.01, 1.007, 1.005, 1.003, 1.001, 1, 1, 0.999, 0.999, 0.999, 0.999, 0.999, 1);
  }
}

/* 3 · BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); scroll-padding-top: calc(var(--nav-h) + 8px); }
html.rm, html.no-js { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--sans); font-weight: 400; font-size: var(--fs-body); line-height: 1.65;
  color: var(--ink); background: var(--night);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: -.012em; font-optical-sizing: auto; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
em { font-style: italic; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
[data-theme="paper"] :focus-visible, [data-theme="color"] :focus-visible, .hoja :focus-visible { outline-color: var(--gold-deep); }
::selection { background: var(--gold); color: var(--night); }
main { display: block; position: relative; outline: none; }
.sec:focus { outline: none; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: hidden; overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* 4 · UTILIDADES ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 200; padding: .7rem 1.1rem; background: var(--gold); color: var(--night); font-weight: 600; text-decoration: none; border-radius: 999px; transform: translateY(-160%); transition: transform .4s var(--ease-ink); }
.skip:focus { transform: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; }
.eyebrow__num { font-family: var(--serif); font-style: italic; font-size: 1.35em; letter-spacing: .02em; text-transform: none; color: var(--gold); }
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .55; }
[data-theme="paper"] .eyebrow__num, [data-theme="color"] .eyebrow__num, .hoja .eyebrow__num { color: var(--gold-deep); }

.sec { position: relative; z-index: 0; }
.sec > .wrap, .pin > .wrap { position: relative; z-index: 1; }
.sec-head { display: grid; gap: 1.2rem; max-width: 52rem; }
.sec-head h2 { font-size: var(--fs-h2); }
.sec h2 em, .hero__title em { color: var(--gold-deep); }
[data-theme="night"] h2 em { color: var(--gold-light); }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 38rem; font-weight: 300; }
.nota { font-size: var(--fs-small); color: var(--muted); }
[data-theme="night"] .nota { color: var(--muted-night); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "↗"; font-size: .9em; transition: transform .5s var(--spring); }
.link-arrow:hover::after { transform: translate(2px, -2px); }

/* temas de sección: el fondo lo pinta WebGL; sin WebGL, estos fondos CSS */
[data-theme="night"] { color: var(--ivory); background: radial-gradient(120% 70% at 72% 0%, #26221d 0%, var(--night) 62%) var(--night); }
[data-theme="paper"] { color: var(--ink); background: var(--ivory); }
[data-theme="dawn"] { color: var(--ink); background: linear-gradient(180deg, var(--night) 0%, #2a211b 16%, #8c6a4c 30%, #dcc3a1 44%, #efe3cf 58%, var(--ivory) 74%); }
[data-theme="color"] { color: var(--ink); background:
  radial-gradient(40% 30% at 12% 62%, rgba(242, 166, 186, .38), transparent 70%),
  radial-gradient(36% 28% at 86% 40%, rgba(143, 196, 232, .4), transparent 70%),
  radial-gradient(30% 24% at 64% 88%, rgba(246, 200, 95, .32), transparent 70%),
  var(--ivory); }
html.gl .sec { background: transparent; }
html.gl body { background: transparent; }

/* 5 · BOTONES ------------------------------------------------------------ */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: .85rem 1.65rem; border-radius: 999px;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .01em; line-height: 1.2; text-decoration: none; white-space: nowrap;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd);
  transition: transform .7s var(--spring), background-color .35s var(--ease-ink), color .35s var(--ease-ink), border-color .35s var(--ease-ink), box-shadow .5s var(--ease-ink);
  overflow: hidden; isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--fill, rgba(255,255,255,.14)); transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease-page); }
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: scale(.97); transition-duration: .15s; }
.btn--gold { --bg: var(--gold); --fg: #17130d; --bd: var(--gold); --fill: #d39a37; box-shadow: 0 10px 30px -12px rgba(192, 138, 45, .55); }
.btn--gold:hover { box-shadow: 0 16px 40px -14px rgba(192, 138, 45, .75); }
.btn--ghost { --fg: currentColor; --bd: color-mix(in srgb, currentColor 45%, transparent); --fill: color-mix(in srgb, currentColor 10%, transparent); }
.btn--line { --fg: currentColor; --bd: currentColor; --fill: color-mix(in srgb, currentColor 9%, transparent); }
.btn--ink { --bg: var(--ink); --fg: var(--ivory); --bd: var(--ink); --fill: #3d3a35; }
.btn--sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .875rem; }
.btn__play { width: .7em; height: .8em; fill: currentColor; }
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .btn--ghost { --bd: currentColor; --fill: rgba(128,128,128,.12); }
  .btn--line { --fill: rgba(128,128,128,.12); }
}

/* 6 · CAPAS FIJAS: fondo, grano, cursor, precargador, campaña ----------- */
.bg { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: -2; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease-ink); }
html.gl .bg { opacity: 1; }
.grain { position: fixed; inset: -60px; z-index: 90; pointer-events: none; background: url('../assets/img/grano.png') repeat; background-size: 128px; opacity: .55; mix-blend-mode: overlay; }
html.motion .grain { animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-22px, 14px); } 40% { transform: translate(18px, -30px); } 60% { transform: translate(-34px, -8px); } 80% { transform: translate(26px, 32px); } 100% { transform: translate(0, 0); } }

.cursor { display: none; }
html.fine.motion .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(192, 138, 45, .7); display: grid; place-items: center; transition: width .55s var(--spring), height .55s var(--spring), margin .55s var(--spring), background-color .3s, border-color .3s, opacity .3s; }
.cursor__label { font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--night); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .5s var(--spring); white-space: nowrap; }
.cursor.is-label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-link .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--gold); }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }
html.fine.motion.cursor-on, html.fine.motion.cursor-on a, html.fine.motion.cursor-on button, html.fine.motion.cursor-on summary { cursor: none; }

.preloader { display: none; }
html.is-locked { overflow: hidden; }
html.is-preloading .preloader:not(.is-gone) {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 300; background: var(--night); color: var(--ivory);
  animation: preloader-failsafe .01s 6s forwards; /* si el JS no carga, se aparta solo */
}
@keyframes preloader-failsafe { to { visibility: hidden; opacity: 0; } }
.preloader__sheet { display: grid; justify-items: center; gap: 1.1rem; text-align: center; }
.preloader__label { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); color: var(--muted-night); }
.preloader__num { font-family: var(--serif); font-size: clamp(3.4rem, 2.4rem + 5vw, 7rem); line-height: 1; letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; }
.preloader__n { font-size: .42em; vertical-align: .9em; color: var(--gold-light); letter-spacing: .1em; }
.preloader__digits { display: inline-flex; }
.preloader__roll { display: inline-flex; flex-direction: column; height: 1em; overflow: hidden; }
.preloader__roll > span { display: block; height: 1em; transition: transform 1s var(--spring); }
.preloader.is-done .preloader__roll > span { transform: translateY(-100%); }
.preloader__bar { width: min(240px, 60vw); height: 1px; background: var(--rule-light); overflow: hidden; }
.preloader__bar > span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-ink); }
.preloader.is-leaving { transition: clip-path 1.1s var(--ease-page); clip-path: inset(0 0 100% 0); }

.campana { position: relative; z-index: 120; background: var(--gold); color: #17130d; text-align: center; font-size: .875rem; font-weight: 500; padding: .55rem var(--gutter); }
.campana a { font-weight: 600; margin-left: .4em; }

/* 7 · NAVEGACIÓN --------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2.2rem);
  padding: 0 var(--gutter); color: var(--ivory);
  transition: color .5s var(--ease-ink), transform .7s var(--ease-page), background-color .5s var(--ease-ink), height .5s var(--ease-ink);
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(18, 17, 16, .55); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--rule-light); transition: opacity .5s var(--ease-ink), background-color .5s var(--ease-ink); }
.nav.is-scrolled { --nav-h: 64px; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-light { color: var(--ink); }
.nav.is-light::before { background: rgba(245, 240, 230, .72); border-bottom-color: var(--rule-dark); }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-open { color: var(--ivory); }
.nav.is-open::before { opacity: 0; }
.nav.is-open .nav__cta { visibility: hidden; }
.nav__logo { display: block; flex: none; position: relative; height: 38px; }
.nav__logo-img { height: 100%; width: auto; transition: opacity .5s var(--ease-ink); }
.nav__logo-img--dark { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.nav.is-light .nav__logo-img--dark { opacity: 1; }
.nav.is-light .nav__logo-img--light { opacity: 0; }
.nav__links { display: flex; gap: clamp(1rem, 2.2vw, 2.4rem); margin-left: auto; }
.nav__links a { position: relative; font-size: .875rem; font-weight: 500; letter-spacing: .02em; text-decoration: none; padding: .4rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-page); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { flex: none; }
.nav__cta-short { display: none; }
/* Selector de idioma: en la cabecera desde 1101 px; en pantallas menores, dentro del menú */
.nav__idiomas { display: flex; align-items: center; gap: .15rem; padding-left: clamp(.6rem, 1.2vw, 1.2rem); border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 30%, transparent); }
.nav__idiomas a { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; min-height: 30px; font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-decoration: none; opacity: .62; transition: opacity .3s var(--ease-ink); }
.nav__idiomas a:hover, .nav__idiomas a:focus-visible { opacity: 1; }
.nav__idiomas a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .32em; text-decoration-thickness: 1px; }
.nav__menu { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .2rem 0 .6rem; font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.nav__menu-lines { position: relative; width: 22px; height: 10px; }
.nav__menu-lines::before, .nav__menu-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .5s var(--spring), top .4s var(--ease-ink); }
.nav__menu-lines::before { top: 0; }
.nav__menu-lines::after { top: 8px; }
.nav__menu[aria-expanded="true"] .nav__menu-lines::before { top: 4px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__menu-lines::after { top: 4px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: center; justify-content: safe center; gap: 2.2rem; padding: calc(var(--nav-h) + 1rem) var(--gutter) 2.5rem; overflow-y: auto; background: var(--night); color: var(--ivory); }
.menu[hidden] { display: none; }
.menu__list { display: grid; gap: .2rem; counter-reset: m; }
.menu__list a { display: flex; align-items: baseline; gap: 1rem; padding: .45rem 0; font-family: var(--serif); font-size: clamp(1.7rem, 1.2rem + 3vw, 2.6rem); line-height: 1.15; text-decoration: none; }
.menu__list a > span:first-child { font-style: italic; font-size: .5em; color: var(--gold-light); min-width: 2.2em; }
.menu__nav { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.6rem clamp(2rem, 6vw, 6rem); align-items: end; }
.menu__h { margin-bottom: .6rem; font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-night); }
.menu__mas a { display: inline-block; padding: .28rem 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.2; text-decoration: none; color: var(--gold-light); }
.menu .btn { align-self: flex-start; }
.menu__h--idiomas { margin-top: 1.5rem; }
.menu__mas .menu__idiomas { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
.menu__mas .menu__idiomas a { font-family: var(--sans); font-style: normal; font-size: .9375rem; font-weight: 500; letter-spacing: .03em; color: var(--ivory); opacity: .7; }
.menu__mas .menu__idiomas a:hover, .menu__mas .menu__idiomas a[aria-current="true"] { opacity: 1; color: var(--gold-light); }
html.motion .menu:not([hidden]) .menu__list li { animation: menu-in .8s var(--ease-ink) both; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
html.motion .menu:not([hidden]) .menu__mas { animation: menu-in .8s var(--ease-ink) both; animation-delay: 420ms; }
@keyframes menu-in { from { opacity: 0; transform: translateY(18px); } }

.folio { position: fixed; right: 14px; bottom: 28px; z-index: 80; display: flex; align-items: center; gap: 1rem; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory); mix-blend-mode: difference; opacity: 0; transition: opacity .6s var(--ease-ink); pointer-events: none; }
.folio.is-on { opacity: .8; }
.folio__bar { width: 1px; height: 64px; background: rgba(255,255,255,.3); overflow: hidden; }
.folio__bar > span { display: block; width: 100%; height: 100%; background: currentColor; transform-origin: bottom; transform: scaleY(0); }

/* 8 · HÉROE -------------------------------------------------------------- */
.hero { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--nav-h) + 2vh); overflow: hidden; overflow: clip; }
.hero__inner { align-self: center; display: grid; gap: clamp(1.2rem, 2.4vh, 2rem); padding-block: 4vh 2vh; }
.hero__eyebrow { color: var(--muted-night); }
.hero__title { font-size: min(var(--fs-hero), 10.4vh); line-height: .98; letter-spacing: -.022em; font-weight: 400; max-width: 11.5ch; }
.hero__line { display: block; }
.hero__line--em { color: var(--gold-light); }
.hero__line--em em { color: inherit; }
.hero__w { display: inline-block; }
.hero__lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.55; max-width: 33rem; color: rgba(245, 240, 230, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; padding-bottom: clamp(1.4rem, 4vh, 2.6rem); font-size: var(--fs-small); color: var(--muted-night); }
.hero__motto { font-family: var(--serif); font-size: 1.05rem; color: rgba(245,240,230,.75); }
.hero__cue { display: flex; align-items: center; gap: .9rem; letter-spacing: .14em; text-transform: uppercase; font-size: .6875rem; font-weight: 500; }
.hero__cue-line { position: relative; width: 1px; height: 44px; background: var(--rule-light); overflow: hidden; }
.hero__cue-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold); }
html.motion .hero__cue-line::after { animation: cue 2.4s var(--ease-page) infinite; }
@keyframes cue { 0% { top: -40%; } 60%, 100% { top: 100%; } }

.hero__layers { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.scrap {
  position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r));
  padding: .5rem .9rem .55rem; font-family: var(--serif); font-style: italic; font-size: clamp(.95rem, .85rem + .4vw, 1.25rem); line-height: 1.2; white-space: nowrap;
  color: #3b342b; background: linear-gradient(170deg, #f6efe1, #e9dcc4); border-radius: 2px;
  box-shadow: 0 18px 30px -18px rgba(0,0,0,.8), 0 2px 0 rgba(255,255,255,.4) inset;
  clip-path: polygon(0 6%, 4% 0, 30% 4%, 58% 0, 86% 5%, 100% 0, 98% 52%, 100% 100%, 70% 95%, 40% 100%, 12% 96%, 0 100%, 2% 50%);
  opacity: .9; will-change: transform;
}
.scrap--lg { font-size: clamp(1.1rem, .95rem + .6vw, 1.55rem); }
.scrap--note { background: none; box-shadow: none; clip-path: none; color: var(--gold-light); font-style: normal; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 3rem); opacity: .7; padding: 0; }

/* 9 · MANIFIESTO + IA --------------------------------------------------- */
.manifiesto { height: 230vh; }
.pin { position: relative; }
html.is-motion .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; overflow: clip; }
.manifiesto__pin { display: grid; align-items: center; }
.manifiesto__inner { display: grid; gap: clamp(1.4rem, 4vh, 2.4rem); padding-block: calc(var(--nav-h) + 2vh) 6vh; }
.manifiesto__inner .eyebrow { color: var(--muted-night); }
.manifiesto__text { font-family: var(--serif); font-size: min(clamp(1.75rem, 1.05rem + 2.9vw, 4.1rem), 6.3vh); line-height: 1.16; letter-spacing: -.012em; max-width: 23ch; }
.manifiesto__text .w { display: inline; }
.manifiesto__text .w--key { font-style: italic; color: var(--gold-light); }

.ia { padding-block: clamp(5rem, 14vh, 10rem) clamp(6rem, 18vh, 12rem); }
.ia__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; }
.ia__title { font-size: var(--fs-h2); line-height: 1.02; }
.ia__title em { display: block; color: var(--gold-light); }
.ia__text { display: grid; gap: 1.3rem; font-size: var(--fs-lead); font-weight: 300; line-height: 1.6; color: rgba(245,240,230,.86); max-width: 34rem; }
.ia__close { font-family: var(--serif); font-style: italic; font-size: 1.3em; line-height: 1.3; color: var(--ivory); }

/* 10 · PROCESO: la hoja de partitura ------------------------------------ */
.proceso { height: 430vh; }
.proceso__pin { display: grid; align-items: center; }
.proceso__stage { display: grid; place-items: center; padding-block: calc(var(--nav-h) + 1vh) 3vh; }
.hoja {
  position: relative; width: min(1120px, 100%); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto 1fr auto; gap: 0 clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.6rem, 3.4vw, 3.4rem) clamp(1.4rem, 3.6vw, 3.8rem) clamp(1.4rem, 3vw, 2.6rem);
  background: linear-gradient(180deg, #fdfbf6, #f7f1e5); border-radius: 3px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.7) inset, 0 0 0 1px rgba(60,45,25,.08);
}
.hoja::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(138, 90, 18, .18); pointer-events: none; border-radius: 2px; }
.hoja__title { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .5rem 2rem; padding-bottom: clamp(1rem, 2.4vh, 1.8rem); margin-bottom: clamp(.8rem, 2vh, 1.4rem); border-bottom: 1px solid var(--rule-dark); }
.hoja__title .eyebrow { grid-column: 1 / -1; color: var(--muted); }
.hoja__title h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3.3rem); line-height: 1.04; max-width: 17ch; }
.hoja__title h2 em { color: var(--gold-deep); }
.hoja__credit { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--muted); text-align: right; line-height: 1.35; }
.hoja__staff { position: relative; min-height: 220px; }
.hoja__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hoja__notes .nota-m { transform-box: fill-box; transform-origin: center; }
.hoja__note-word { position: absolute; left: calc(6% + var(--i) * 30%); top: calc(8% + var(--i) * 7%); font-family: var(--serif); font-style: italic; font-size: clamp(.95rem, .85rem + .35vw, 1.2rem); color: var(--gold-deep); transform: rotate(-4deg); white-space: nowrap; }
.hoja__stamp { position: absolute; right: 1%; top: 0; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; border: 1.5px solid var(--gold-deep); color: var(--gold-deep); font-family: var(--serif); font-size: 1.15rem; line-height: 1; text-align: center; transform: rotate(-12deg); }
.hoja__stamp small { display: block; font-family: var(--sans); font-size: .55rem; letter-spacing: .12em; margin-top: -1.4rem; }
.hoja__stamp::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed rgba(138, 90, 18, .45); }
.pasos { position: relative; display: grid; align-content: center; gap: 1.6rem; }
.paso { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; }
.paso__num { font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 2rem + 2vw, 4.2rem); line-height: .9; color: var(--gold-deep); min-width: 1.6ch; }
.paso h3 { font-size: var(--fs-h3); margin-bottom: .55rem; }
.paso p { color: #4a4743; max-width: 30rem; }
.hoja__dots { grid-column: 1 / -1; display: flex; gap: .55rem; justify-content: center; padding-top: 1.2rem; }
.hoja__dots span { width: 28px; height: 2px; border-radius: 2px; background: var(--rule-dark); overflow: hidden; position: relative; }
.hoja__dots span::after { content: ""; position: absolute; inset: 0; background: var(--gold-deep); transform: scaleX(var(--f, 0)); transform-origin: left; }

/* con movimiento: un paso cada vez */
html.is-motion .pasos { display: grid; grid-template-areas: "p"; }
html.is-motion .paso { grid-area: p; }

/* 11 · ESCUCHA ----------------------------------------------------------- */
.escucha { padding-block: clamp(7rem, 20vh, 13rem) clamp(5rem, 12vh, 9rem); }
.pistas { display: grid; gap: clamp(1rem, 2.4vh, 1.6rem); margin-top: clamp(2.6rem, 7vh, 4.5rem); }
.pista {
  position: relative; display: grid; grid-template-columns: auto minmax(12rem, 18rem) minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem);
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.6rem); border-radius: 18px;
  background: rgba(251, 249, 244, .72); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 0 0 1px var(--rule-dark), 0 22px 40px -32px rgba(60, 40, 15, .5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: box-shadow .5s var(--ease-ink);
}
.pista.is-playing { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 0 0 1.5px var(--gold), 0 26px 50px -30px rgba(138, 90, 18, .55); }
.pista__play { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--ivory); background: var(--ink); transition: transform .6s var(--spring), background-color .3s; }
.pista__play:hover { transform: scale(1.07); background: #3a3732; }
.pista__play::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; transform: scale(.85); transition: opacity .4s, transform .6s var(--spring); }
.pista.is-playing .pista__play { background: var(--gold); color: #17130d; }
.pista.is-playing .pista__play::after { opacity: 1; transform: none; }
.pista__icon { width: 14px; height: 16px; fill: currentColor; }
.pista__icon--play { margin-left: 3px; }
.pista__icon--pause, .pista.is-playing .pista__icon--play { display: none; }
.pista.is-playing .pista__icon--pause { display: block; }
.pista__title { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); line-height: 1.1; }
.pista__desc { color: #4a4743; font-size: .9375rem; line-height: 1.45; margin-top: .3rem; }
.pista__meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; margin-top: .45rem; font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pista__onda { position: relative; height: 64px; cursor: pointer; }
.pista__onda canvas { width: 100%; height: 100%; }
.pista__time { font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--muted); min-width: 6.5em; text-align: right; }

.spotify { margin-top: clamp(2.2rem, 5vh, 3.4rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem 2.5rem; align-items: center; padding: clamp(1.3rem, 2.6vw, 2rem); border-radius: 18px; border: 1px dashed rgba(43, 41, 38, .3); }
.spotify h3 { font-size: var(--fs-h3); margin-bottom: .45rem; }
.spotify__copy p { color: #4a4743; max-width: 36rem; font-size: .9375rem; }
.spotify__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.spotify__frame { grid-column: 1 / -1; }
.spotify__frame iframe { display: block; width: 100%; height: 452px; border: 0; border-radius: 12px; background: #1b1b1b; }
.spotify.is-loaded .spotify__actions .btn { display: none; }

/* 12 · LA EDICIÓN ILUSTRADA ---------------------------------------------- */
html.is-motion .ilustrada__scroll { height: 340vh; }
.ilustrada__pin { display: grid; place-items: center; }
.ilustrada__plate { position: relative; width: min(1200px, calc(100% - 2 * var(--gutter))); margin: clamp(5rem, 14vh, 8rem) auto 0; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #2a3466; box-shadow: 0 40px 90px -50px rgba(40, 30, 60, .7); }
.ilustrada__poster, .ilustrada__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ilustrada__canvas { opacity: 0; transition: opacity .6s var(--ease-ink); }
.ilustrada.is-ready .ilustrada__canvas { opacity: 1; }
html.is-motion .ilustrada__plate { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; transform-origin: 50% 50%; will-change: transform, border-radius; }
.ilustrada__captions { display: none; }
html.is-motion .ilustrada__captions { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cap {
  position: absolute; left: var(--gutter); bottom: 10vh; max-width: min(14em, calc(100vw - 2 * var(--gutter)));
  padding: 1.1rem 1.5rem 1.25rem; border-radius: 16px;
  font-family: var(--serif); font-size: clamp(1.6rem, 1rem + 2vw, 2.9rem); line-height: 1.08; letter-spacing: -.01em; color: #fffaf1;
  background: rgba(18, 17, 16, .64); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(30px);
}
@media (hover: hover) { .cap { background: rgba(18, 17, 16, .5); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); } }
.cap .eyebrow { display: flex; margin-bottom: .8rem; font-size: .75rem; color: #fffaf1; }
.cap .eyebrow__num { color: var(--gold-light); }
.cap--low { font-size: clamp(1.25rem, .95rem + 1.2vw, 2rem); bottom: 7vh; left: auto; right: var(--gutter); }
.ilustrada > .ilustrada__body { padding-block: clamp(4rem, 10vh, 7rem) clamp(6rem, 14vh, 10rem); }
.ilustrada__head { display: grid; gap: 1.1rem; max-width: 48rem; }
.ilustrada__head h2 { font-size: clamp(2.6rem, 1.4rem + 5vw, 6.4rem); line-height: .98; }
.bucles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); margin-top: clamp(2.4rem, 6vh, 4rem); }
.bucle { margin: 0; display: grid; gap: .9rem; }
.bucle:nth-child(2) { margin-top: clamp(1rem, 5vh, 3.6rem); }
.bucle__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #e8dfd0; box-shadow: 0 30px 60px -36px rgba(60, 40, 70, .6), 0 0 0 1px rgba(43,41,38,.08); }
.bucle__poster, .bucle__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-ink), opacity .6s var(--ease-ink); }
html.booted.is-motion .bucle__frame video { opacity: 0; }
html.booted.is-motion .bucle__frame video.is-playing { opacity: 1; }
.bucle:hover .bucle__frame video, .bucle:hover .bucle__poster { transform: scale(1.04); }
.bucle figcaption { display: grid; gap: .1rem; font-size: .875rem; color: var(--muted); }
.bucle figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
.ilustrada__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem clamp(2rem, 5vw, 4.5rem); margin-top: clamp(4.5rem, 12vh, 7rem); padding-top: clamp(1.8rem, 4vh, 2.6rem); border-top: 1px solid var(--rule-dark); }
.ilustrada__inc { max-width: 22rem; margin: 0; line-height: 1.5; }
.precio { font-family: var(--serif); font-size: clamp(3.6rem, 2.4rem + 5vw, 7rem); line-height: .9; letter-spacing: -.02em; }
.ilustrada__cta { display: grid; gap: .8rem; justify-items: start; }

/* 13 · LAS EDICIONES ----------------------------------------------------- */
.ediciones__pin { overflow: hidden; overflow: clip; }
html.is-motion .ediciones__pin { display: flex; align-items: center; }
.ediciones__track { position: relative; z-index: 1; display: flex; align-items: stretch; gap: clamp(1.4rem, 3vw, 3rem); padding: clamp(6rem, 14vh, 8rem) var(--gutter) clamp(3rem, 8vh, 5rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
html.is-motion .ediciones__track { overflow: visible; padding-block: calc(var(--nav-h) + 2vh) 4vh; will-change: transform; }
.ediciones__intro { flex: 0 0 min(30rem, 80vw); display: grid; align-content: center; gap: 1.2rem; scroll-snap-align: start; }
.ediciones__intro h2 { font-size: var(--fs-h2); }
.ediciones__hint { display: inline-flex; align-items: center; gap: .8rem; font-size: .6875rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ediciones__hint-arrow { font-size: 1.1rem; }
html.motion .ediciones__hint-arrow { animation: nudge 2s var(--ease-page) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.ediciones__end { flex: 0 0 1px; }

.libro { flex: 0 0 auto; display: grid; grid-template-columns: clamp(220px, 21vw, 300px) minmax(0, 20rem); gap: clamp(1.2rem, 2.4vw, 2.2rem); align-items: center; scroll-snap-align: center; }
.libro__cover {
  --cloth: #ece0c9; --ink-c: #3b2d1f; --frame: rgba(138, 90, 18, .55);
  position: relative; aspect-ratio: 3 / 4.15; display: grid; grid-template-rows: auto auto 1fr auto; justify-items: center; align-content: start; gap: .5rem;
  padding: 1.2rem 1.1rem 1.1rem 1.6rem; border-radius: 3px 8px 8px 3px; color: var(--ink-c); background: var(--cloth);
  box-shadow: inset 6px 0 10px -6px rgba(0,0,0,.35), inset -1px 0 0 rgba(255,255,255,.35), 0 30px 50px -28px rgba(30, 20, 10, .75), 0 6px 14px -8px rgba(30, 20, 10, .45);
  transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transform-style: preserve-3d; transition: transform .9s var(--spring-soft);
}
.libro__cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, rgba(255,255,255,.18), transparent 32%, transparent 70%, rgba(0,0,0,.12)); pointer-events: none; }
.libro__spine { position: absolute; left: 0; top: 0; bottom: 0; width: 14px; border-radius: 3px 0 0 3px; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.05) 60%, rgba(255,255,255,.18)); }
.libro__house { font-size: .5625rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.libro__name { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.85rem); line-height: 1.02; text-align: center; letter-spacing: -.01em; }
.libro__art { display: block; align-self: start; width: 84%; margin-top: .5rem; padding: 5px; border: 1px solid var(--frame); background: rgba(255,255,255,.08); }
.libro__art img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.libro__ed { align-self: end; font-family: var(--serif); font-style: italic; font-size: .8rem; opacity: .85; }
.libro--prologo .libro__cover { --cloth: #e8dcc3; --ink-c: #3f2e1c; }
.libro--capitulo .libro__cover { --cloth: #1f2b47; --ink-c: #f3e9d6; --frame: rgba(221, 180, 106, .6); }
.libro--antologia .libro__cover { --cloth: #5a1e2a; --ink-c: #f1d79f; --frame: rgba(241, 215, 159, .55); }
.libro--ilustrada .libro__cover { --cloth: #f4ead9; --ink-c: #4a2f45; --frame: rgba(200, 120, 150, .5); }
.libro__ficha { display: grid; gap: .55rem; justify-items: start; }
.libro__ficha h3 { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.5rem); }
.libro__sub { font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.libro__precio { font-family: var(--serif); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem); line-height: 1; margin-top: .2rem; }
.libro__desc { color: #4a4743; font-size: .9375rem; line-height: 1.55; }
.libro__list { display: grid; gap: .3rem; margin: .3rem 0 .7rem; font-size: .875rem; color: var(--ink); }
.libro__list li { position: relative; padding-left: 1.2rem; }
.libro__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: .6rem; height: 1px; background: var(--gold-deep); }

.extras { padding-block: clamp(3rem, 8vh, 5rem) clamp(5rem, 12vh, 8rem); }
.extras__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--rule-dark); }
.extras__head h3 { font-size: var(--fs-h3); }
.extras__head p { color: var(--muted); font-size: .9375rem; }
.extras__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-top: 1.6rem; }
.extra { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: .9rem 1.1rem; padding: 1.1rem; border-radius: 14px; background: rgba(251, 249, 244, .7); box-shadow: 0 0 0 1px var(--rule-dark); }
.extra__img { grid-row: 1; width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.extra__img--wave { display: grid; place-items: center; background: var(--night); color: var(--gold); }
.extra__img--wave svg { width: 64px; }
.extra__body h4 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.15; margin-bottom: .3rem; }
.extra__body p { font-size: .875rem; line-height: 1.5; color: #4a4743; }
.extra__precio { grid-row: 2; align-self: center; font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.extra .btn { grid-row: 2; justify-self: end; }

/* 14 · OCASIONES: fichas de catálogo ------------------------------------ */
.ocasiones { padding-block: clamp(5rem, 12vh, 8rem); }
.fichas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); margin-top: clamp(2.4rem, 6vh, 4rem); }
.ficha {
  position: relative; display: grid; align-content: start; gap: .7rem; min-height: 15.5rem;
  padding: 1.5rem 1.6rem 2.6rem; border-radius: 4px; color: var(--ink);
  background: repeating-linear-gradient(180deg, transparent 0 31px, rgba(90, 120, 160, .16) 31px 32px) 0 4.6rem / 100% calc(100% - 4.6rem) no-repeat, linear-gradient(180deg, #fffdf8, #f8f2e6);
  box-shadow: 0 0 0 1px rgba(43,41,38,.1), 0 24px 40px -32px rgba(60, 40, 15, .55);
  transition: transform .8s var(--spring-soft), box-shadow .5s var(--ease-ink);
}
.ficha::before { content: ""; position: absolute; left: 1.25rem; top: 0; bottom: 0; width: 1px; background: rgba(200, 80, 80, .28); }
.ficha::after { content: ""; position: absolute; left: 50%; bottom: .9rem; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--ivory); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.ficha:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 0 0 1px rgba(43,41,38,.12), 0 34px 50px -30px rgba(60, 40, 15, .6); }
.ficha__sig { padding-left: .6rem; font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.ficha h3 { padding-left: .6rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.ficha p:last-child { padding-left: .6rem; color: #4a4743; font-size: .9375rem; line-height: 2rem; margin-top: .1rem; }

/* 15 · PREGUNTAS ---------------------------------------------------------- */
.preguntas { padding-block: clamp(4rem, 10vh, 7rem) clamp(7rem, 20vh, 13rem); }
.preguntas__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.preguntas__head { position: sticky; top: calc(var(--nav-h) + 4vh); }
.preguntas__head a { color: var(--gold-deep); text-underline-offset: 3px; }
.faq { border-top: 1px solid var(--rule-dark); }
.faq__item { border-bottom: 1px solid var(--rule-dark); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.45rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.6rem); line-height: 1.25; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-deep); }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule-dark); transition: transform .7s var(--spring), background-color .3s, border-color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .6s var(--spring); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(180deg); background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 3.5rem 1.6rem 0; color: #4a4743; max-width: 40rem; }
.faq__a a { color: var(--gold-deep); }

/* 16 · FINAL Y COLOFÓN ----------------------------------------------------- */
.final { padding-block: clamp(10rem, 34vh, 20rem) clamp(4rem, 10vh, 7rem); }
.final__inner { display: grid; gap: 1.5rem; justify-items: start; }
.final__inner .eyebrow { color: var(--muted-night); }
.final__title { font-size: clamp(2.8rem, 1.4rem + 6vw, 7.6rem); line-height: .98; letter-spacing: -.022em; max-width: 13ch; }
.final__title em { display: block; color: var(--gold-light); }
.final .lead { color: rgba(245,240,230,.85); }
.final__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }
.colofon { padding-block: clamp(3rem, 8vh, 5rem) 2.2rem; color: var(--ivory); }
.firma { position: relative; display: grid; justify-items: end; gap: .3rem; min-height: 190px; padding-top: 110px; margin-bottom: clamp(2.5rem, 7vh, 4rem); text-align: right; }
.firma__ejemplar { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.firma__ejemplar span { font-variant-numeric: lining-nums; color: var(--gold-light); }
.firma__nota { font-family: var(--serif); font-style: italic; color: var(--muted-night); }
.colofon__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) max-content minmax(0, .65fr) minmax(0, .75fr); gap: 2rem clamp(1.5rem, 3.4vw, 3.4rem); padding-top: 2.4rem; border-top: 1px solid var(--rule-light); }
.colofon__brand img { width: min(210px, 100%); }
.colofon__text { display: grid; gap: .8rem; font-size: .9375rem; color: rgba(245,240,230,.82); max-width: 26rem; }
.colofon__h { font-family: var(--sans); font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-night); margin-bottom: .9rem; }
.colofon__nav ul { display: grid; gap: .45rem; }
.colofon__nav a { text-decoration: none; font-size: .9375rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .55s var(--ease-page); }
.colofon__nav a:hover { background-size: 100% 1px; }
.colofon__copy { margin-top: 3rem; font-size: .75rem; letter-spacing: .08em; color: var(--muted-night); }

/* 17 · EL HILO DORADO ------------------------------------------------------- */
.thread { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; pointer-events: none; display: none; }
.proceso .thread { z-index: 2; }
.ilustrada__pin .thread { z-index: 1; }
html.booted .thread { display: block; }
.thread__path { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="night"] .thread__path { stroke: #d2a14a; }
[data-theme="paper"] .thread__path, [data-theme="color"] .thread__path { stroke: #b07a22; }
.nib { position: absolute; left: 0; top: 0; width: 22px; height: auto; z-index: 2; pointer-events: none; opacity: 0; transform-origin: 50% 97.8%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.tip { position: fixed; left: 0; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #ffe6ad; box-shadow: 0 0 0 3px rgba(192,138,45,.22), 0 0 16px 5px rgba(221,180,106,.5); z-index: 85; pointer-events: none; opacity: 0; transition: opacity .35s; }
.notes .nota-m { fill: #8a5a12; stroke: #8a5a12; stroke-width: 1.3; opacity: 0; transition: fill .6s, stroke .6s; }
.thread.is-gold .notes .nota-m { fill: #c08a2d; stroke: #c08a2d; }
.thread.is-gold .thread__path { stroke: #c08a2d; }

/* 18 · APARICIONES ------------------------------------------------------------ */
html.is-motion .reveal:not(.is-in) { opacity: 0; }
/* Entrada del héroe: la anima el JS fotograma a fotograma. Mientras tanto, «hero-hide» (puesta por el script
   de la cabecera) la oculta; el propio script de la cabecera la retira a los 6 s pase lo que pase. */
html.hero-hide .hero__w, html.hero-hide .hero .hero-in { opacity: 0; }

/* 19 · RESPONSIVE -------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__idiomas { display: none; }
  .nav__cta { margin-left: auto; }
  .pista { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "play info info" "onda onda time"; }
  .pista__play { grid-area: play; }
  .pista__info { grid-area: info; }
  .pista__onda { grid-area: onda; height: 56px; }
  .pista__time { grid-area: time; }
  .colofon__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .extras__list { grid-template-columns: minmax(0, 1fr); }
  .extra { grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; }
  .extra__img { grid-row: auto; }
  .extra__precio, .extra .btn { grid-row: auto; }
  .extra__body { grid-column: 2; }
  .extra__precio { grid-column: 3; justify-self: end; }
  .extra .btn { grid-column: 3; }
  .extra { grid-template-areas: "img body precio" "img body btn"; }
  .extra__img { grid-area: img; }
  .extra__body { grid-area: body; }
  .extra__precio { grid-area: precio; }
  .extra .btn { grid-area: btn; }
}
@media (max-width: 860px) {
  .ia__grid, .preguntas__grid { grid-template-columns: minmax(0, 1fr); }
  .preguntas__head { position: static; }
  .fichas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hoja { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; }
  .hoja__staff { min-height: 150px; margin-bottom: 1rem; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav.is-scrolled { --nav-h: 58px; }
  .nav__logo { height: 30px; }
  .nav__cta { padding-inline: .95rem; font-size: .8125rem; min-height: 40px; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
  .nav { gap: .7rem; }
  .nav__menu-text { display: none; }
  .menu { justify-content: flex-start; gap: 1.3rem; padding-bottom: 1.6rem; }
  .menu__nav { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .menu__list a { padding: .28rem 0; font-size: clamp(1.4rem, 1rem + 3vw, 1.9rem); }
  .nav__menu { padding: 0 .3rem; min-width: 44px; justify-content: center; }
  .hero { padding-top: calc(var(--nav-h) + 1vh); }
  .hero__title { max-width: none; }
  .hero__lead { max-width: 30rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .hero__cue { display: none; }
  .scrap:not(.scrap--note) { display: none; }
  .hero__eyebrow-brand { display: none; }
  .scrap--note { font-size: 1.6rem; opacity: .5; }
  .manifiesto { height: 210vh; }
  .manifiesto__inner { padding-block: 12vh; gap: 1.6rem; }
  .ia__close { font-size: 1.15em; }
  .proceso { height: 400vh; }
  .proceso__stage { padding-block: calc(var(--nav-h) + .5rem) 1rem; }
  .hoja { padding: 1.3rem 1.15rem 1.1rem; }
  .hoja::before { inset: 6px; }
  .hoja__title { grid-template-columns: 1fr; padding-bottom: .9rem; margin-bottom: .6rem; }
  .hoja__title h2 { font-size: clamp(1.5rem, 1.1rem + 2.6vw, 2.1rem); }
  .hoja__credit { text-align: left; font-size: .85rem; }
  .hoja__staff { min-height: 128px; margin-bottom: .6rem; }
  .hoja__stamp { width: 70px; height: 70px; font-size: .95rem; }
  .hoja__stamp small { margin-top: -1rem; font-size: .48rem; }
  .paso { grid-template-columns: 1fr; gap: .3rem; }
  .paso__num { font-size: 2.4rem; }
  .paso p { font-size: .9375rem; line-height: 1.55; }
  .pista { padding: 1rem; gap: .9rem 1rem; border-radius: 14px; }
  .pista__play { width: 50px; height: 50px; }
  .pista__time { min-width: 0; font-size: .75rem; }
  .pista__meta { letter-spacing: .1em; }
  .spotify { grid-template-columns: minmax(0, 1fr); }
  .spotify__frame iframe { height: 380px; }
  .bucles { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .bucle:nth-child(2) { margin-top: 0; }
  .ilustrada__buy { flex-direction: column; align-items: flex-start; }
  .cap { bottom: auto; top: calc(var(--nav-h) + 3vh); right: var(--gutter); max-width: none; font-size: clamp(1.45rem, 1.1rem + 2.4vw, 2rem); padding: .9rem 1.1rem 1rem; }
  .cap--low { top: auto; bottom: 8vh; left: var(--gutter); right: auto; font-size: 1.15rem; }
  .libro { grid-template-columns: minmax(0, 1fr); width: min(78vw, 22rem); align-content: center; gap: 1rem; }
  .libro__cover { width: min(56vw, 230px); }
  .libro__ficha { gap: .4rem; }
  .libro__desc { font-size: .875rem; }
  .libro__list { font-size: .8125rem; margin-bottom: .4rem; }
  .ediciones__intro { flex-basis: min(78vw, 22rem); }
  .ediciones__track { gap: 2.6rem; }
  .extra { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "img body" "precio btn"; padding: 1rem; }
  .extra__img { width: 64px; height: 64px; }
  .extra__precio { justify-self: start; }
  .fichas { grid-template-columns: minmax(0, 1fr); }
  .ficha { min-height: 0; }
  .faq__a p { padding-right: 0; }
  .final__title { font-size: clamp(2.6rem, 1.5rem + 6vw, 4rem); }
  .firma { min-height: 150px; padding-top: 86px; }
  .colofon__grid { grid-template-columns: minmax(0, 1fr); }
  .folio { display: none; }
}
@media (max-width: 380px) {
  .nav__cta { padding-inline: .8rem; font-size: .75rem; }
  .nav__logo { height: 26px; }
}
@media (max-width: 340px) {
  .nav { gap: .45rem; }
  .nav__logo { height: 22px; }
  .nav__cta { padding-inline: .65rem; font-size: .7rem; }
}
@media (min-width: 1101px) and (max-height: 760px) {
  .hoja__staff { min-height: 170px; }
  .proceso__stage { padding-block: calc(var(--nav-h) + .5vh) 1.5vh; }
}

/* 20 · SIN MOVIMIENTO / SIN JS -------------------------------------------------- */
html:not(.is-motion) .manifiesto, html:not(.is-motion) .proceso { height: auto; }
html:not(.is-motion) .manifiesto__inner { padding-block: 16vh 10vh; }
html:not(.is-motion) .proceso__stage { padding-block: 14vh 10vh; }
html:not(.is-motion) .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.6rem; }
html:not(.is-motion) .hoja { grid-template-columns: minmax(0, 1fr); }
html:not(.is-motion) .hoja__staff { min-height: 140px; }
html:not(.is-motion) .hoja__dots { display: none; }
html:not(.is-motion) .ilustrada__scroll { height: auto; }
html:not(.is-motion) .ediciones__scroll { height: auto; }
html:not(.is-motion) .ediciones__track { scroll-padding-inline: var(--gutter); }
html:not(.is-motion) .ediciones__intro { flex-basis: min(26rem, 80vw); }
@media (max-width: 760px) { html:not(.is-motion) .pasos { grid-template-columns: minmax(0, 1fr); } }
html:not(.is-motion) .hoja__note-word { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
}

/* 21 · PÁGINAS SECUNDARIAS -------------------------------------------------- */
.hero--pag { min-height: min(94vh, 54rem); min-height: min(94svh, 54rem); }
.hero--pag .hero__title { font-size: clamp(2.7rem, 1.2rem + 5.4vw, 6.4rem); max-width: 13ch; }
.migas { font-size: var(--fs-small); color: var(--muted-night); }
.migas ol { display: flex; flex-wrap: wrap; gap: .2rem .6rem; }
.migas li + li::before { content: "›"; margin-right: .6rem; opacity: .7; }
.migas a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .55s var(--ease-page); }
.migas a:hover { background-size: 100% 1px; }
.pag { padding-block: clamp(4.5rem, 12vh, 8rem); scroll-margin-top: var(--nav-h); }
.pag__mas { margin-top: clamp(1.6rem, 4vh, 2.4rem); }
.pag .nota { margin-top: 1rem; }
.link-arrow--in::after { content: "→"; }
.link-arrow--in:hover::after { transform: translateX(3px); }
.final--pag { padding-top: clamp(6rem, 18vh, 11rem); }

.ficha--enlace h3 a { text-decoration: none; }
.ficha--enlace h3 a::after { content: ""; position: absolute; inset: 0; }
.ficha__mas { color: var(--gold-deep); font-weight: 500; white-space: nowrap; }

.pista__historia { grid-column: 1 / -1; padding-top: .9rem; border-top: 1px solid var(--rule-dark); color: #4a4743; font-size: .9375rem; line-height: 1.6; }
.pista__historia a { color: var(--gold-deep); text-underline-offset: 3px; white-space: nowrap; }

.obras { display: grid; gap: clamp(3rem, 9vh, 6rem); margin-top: clamp(2.6rem, 7vh, 4.5rem); }
.obra { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3.6rem); align-items: center; scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.obra:nth-child(even) .video { order: 2; }
.obra__texto { display: grid; gap: .8rem; }
.obra__texto h3 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.8rem); }
.obra__texto p:last-child { color: #4a4743; }
.obra__meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #211e1a; box-shadow: 0 30px 60px -36px rgba(60, 40, 70, .6), 0 0 0 1px rgba(43,41,38,.08); }
.video__poster, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video__poster { transition: transform 1.2s var(--ease-ink); }
.video:hover .video__poster { transform: scale(1.03); }
.video__play { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; align-content: end; justify-items: start; gap: .05rem; padding: 1rem 1.25rem; text-align: left; color: #fffaf1; font-weight: 500; background: linear-gradient(180deg, rgba(18,17,16,0) 50%, rgba(18,17,16,.82)); }
.video__disco { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: clamp(56px, 7vw, 78px); aspect-ratio: 1; border-radius: 50%; background: var(--gold); color: #17130d; box-shadow: 0 14px 34px -12px rgba(0,0,0,.6); transition: transform .5s var(--spring); }
.video__play:hover .video__disco { transform: scale(1.08); }
.video__disco svg { width: 30%; margin-left: 6%; fill: currentColor; }
.video__aviso { font-size: .75rem; font-weight: 400; color: rgba(255, 250, 241, .85); }

.etapas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem); margin-top: clamp(2.4rem, 6vh, 4rem); counter-reset: etapa; }
.etapa { display: grid; align-content: start; gap: .6rem; padding-top: 1.1rem; border-top: 1px solid var(--rule-dark); counter-increment: etapa; }
.etapa::before { content: counter(etapa, upper-roman); font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1; color: var(--gold-deep); }
.etapa h3 { font-size: var(--fs-h3); }
.etapa p { color: #4a4743; font-size: .9375rem; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); margin-top: clamp(2.4rem, 6vh, 4rem); }
.edicion { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: 1.4rem; align-items: start; padding: clamp(1.2rem, 2.4vw, 1.8rem); border-radius: 18px; background: rgba(251, 249, 244, .72); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 0 0 1px var(--rule-dark), 0 22px 40px -32px rgba(60, 40, 15, .5); }
.edicion__cover { border-radius: 4px; box-shadow: 0 16px 26px -16px rgba(30, 20, 10, .6); }
.edicion__cuerpo { display: grid; gap: .6rem; justify-items: start; }
.edicion h3 { font-size: var(--fs-h3); }
.edicion__precio { font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 1.2vw, 2.8rem); line-height: 1; }
.edicion ul { display: grid; gap: .3rem; margin-bottom: .4rem; font-size: .875rem; line-height: 1.45; color: #4a4743; }

.citas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); margin-top: clamp(2.4rem, 6vh, 4rem); }
.cita { padding-left: 1.2rem; border-left: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.3; }

.plazos { margin-top: clamp(2.4rem, 6vh, 4rem); border-top: 1px solid var(--rule-dark); }
.plazo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: .4rem 2rem; align-items: baseline; padding-block: 1.3rem; border-bottom: 1px solid var(--rule-dark); }
.plazo dt { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.15; }
.plazo dd { margin: 0; color: #4a4743; }
.plazo a { color: var(--gold-deep); text-underline-offset: 3px; }

.tabla { width: 100%; margin-top: clamp(2.4rem, 6vh, 4rem); border-collapse: collapse; }
.tabla th, .tabla td { padding: 1.1rem 1.2rem 1.1rem 0; border-bottom: 1px solid var(--rule-dark); text-align: left; vertical-align: baseline; }
.tabla thead th { font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tabla tbody th { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; }
.tabla tbody th small { display: block; margin-top: .3rem; font-family: var(--sans); font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.tabla td { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); color: var(--gold-deep); white-space: nowrap; }

/* Empiezan en papel: que no se vea el fondo de noche mientras aparece el WebGL. */
html.pag-clara { background: var(--ivory); }
html.pag-clara:not(.gl) body { background: var(--ivory); }
.legal { padding-block: calc(var(--nav-h) + clamp(2.6rem, 8vh, 5rem)) clamp(4.5rem, 12vh, 8rem); }
.legal__cabeza { display: grid; gap: .9rem; max-width: 46rem; }
.legal__cabeza h1 { font-size: var(--fs-h2); }
.legal .migas { color: var(--muted); }
.prosa { max-width: 46rem; margin-top: clamp(2rem, 5vh, 3rem); }
.prosa h2 { margin: 2.4rem 0 .7rem; font-size: var(--fs-h3); line-height: 1.15; }
.prosa h3 { margin: 1.4rem 0 .4rem; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.prosa p, .prosa ul, .prosa ol { margin-bottom: .9rem; }
.prosa ul { padding-left: 1.2em; list-style: disc; }
.prosa ol { padding-left: 1.4em; list-style: decimal; }
.prosa li { margin-bottom: .35rem; }
.prosa a { color: var(--gold-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prosa__modelo { margin-bottom: .9rem; padding: 1.2rem 1.4rem; border: 1px solid var(--rule-dark); border-radius: 10px; background: rgba(251, 249, 244, .7); }
.prosa__modelo p:last-child { margin-bottom: 0; }
.hueco { padding: 0 .3em; border-radius: 3px; color: #7a1c12; background: #ffe3a3; outline: 1px dashed #b3261e; }

@media (max-width: 1100px) {
  .etapas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .obra { grid-template-columns: minmax(0, 1fr); }
  .obra:nth-child(even) .video { order: 0; }
  .duo, .citas { grid-template-columns: minmax(0, 1fr); }
  .plazo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero--pag { min-height: 0; }
  .hero--pag .hero__inner { padding-block: 7vh 5vh; }
  .etapas { grid-template-columns: minmax(0, 1fr); }
  .edicion { grid-template-columns: minmax(0, 5.5rem) minmax(0, 1fr); gap: 1rem; }
  .tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabla, .tabla tbody, .tabla tr, .tabla tbody th { display: block; }
  .tabla tr { padding-block: 1.1rem; border-bottom: 1px solid var(--rule-dark); }
  .tabla th, .tabla td { padding: 0; border: 0; }
  .tabla tbody th { margin-bottom: .6rem; }
  .tabla td { display: flex; justify-content: space-between; gap: 1rem; padding-top: .3rem; white-space: normal; }
  .tabla td::before { content: attr(data-et); font-family: var(--sans); font-size: .8125rem; color: var(--muted); }
}
