:root {
  --paper: #f3f1ec;
  --sheet: #faf8f3;
  --ink: #1a1816;
  --muted: #5c574e;
  --line: #cfc9bb;
  --soft: #e7e3d9;
  --accent: #b8321b;
  --accent-ink: #fff;
  --lead: #4a4640;
  --lead-ink: #e9e4d8;
  --iron: #2b2926;
  --wood: #2a211a;
  --wood-hi: #3a2d22;
  --serif: 'IM Fell English', Georgia, serif;
  --sans: 'Ubuntu', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151412;
    --sheet: #1d1b18;
    --ink: #ece8e1;
    --muted: #a39d92;
    --line: #3a362f;
    --soft: #2a2723;
    --accent: #ef7b5c;
    --accent-ink: #151412;
    --lead: #6b665c;
    --lead-ink: #151412;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* grano de papel */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .26 0 0 0 0 .2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { body::before { opacity: .12; mix-blend-mode: screen; } }

a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.sello, .grabado {
  background: var(--accent);
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}
.sello { --m: url('sello.svg'); }
.grabado { --m: url('grabado.svg'); }

/* ───────── Portada ───────── */
.portada {
  position: relative;
  min-height: 100svh;
  padding: 7vh 6vw 8vh;
  display: grid;
  align-content: end;
  overflow: hidden;
}
.portada__sello {
  position: absolute;
  right: 3vw; top: 5vh;
  width: min(40vw, 36rem, 62vh); aspect-ratio: 1;
  opacity: .9;
  transform: rotate(-9deg);
  animation: estampa 2.6s var(--ease) both .3s;
}
.portada__marca {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4rem, 15vw, 15rem);
  line-height: .95;
  letter-spacing: -.03em;
  margin-left: -.04em;
  position: relative;
}
.portada__lema {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  line-height: 1.15;
  margin-top: 1.6rem;
  max-width: 14em;
}
.portada__nota {
  position: relative;
  margin-top: 1.6rem;
  max-width: 24rem;
  color: var(--muted);
  font-size: .95rem;
}
.portada__baja {
  position: relative;
  margin-top: 2.2rem;
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; width: max-content;
  border-bottom: 1px solid var(--ink); padding-bottom: .3rem;
}
.portada__baja svg { animation: baja 1.8s ease-in-out infinite; }
@keyframes baja { 50% { transform: translateY(4px); } }
@keyframes estampa {
  0% { transform: scale(1.5) rotate(-22deg); opacity: 0; }
  55% { transform: scale(.97) rotate(-8deg); opacity: .95; }
  100% { transform: scale(1) rotate(-9deg); opacity: .9; }
}

/* ───────── Composición ───────── */
.compose { height: 560vh; position: relative; }
.stage {
  position: sticky; top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(10rem, 19rem) minmax(0, 46rem);
  grid-template-rows: 1fr auto;
  column-gap: 4vw;
  padding: 5vh 6vw 0 10vw;
  justify-content: start;
  overflow: hidden;
}
.margen { grid-row: 1; align-self: center; font-size: .8rem; color: var(--muted); }
.margen__lamina { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.margen__fase { font-family: var(--serif); font-size: 2.1rem; line-height: 1.05; color: var(--ink); margin: .3rem 0 1.4rem; }
.margen__cuenta { font-variant-numeric: tabular-nums; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.margen__nota { margin-top: 1.6rem; font-style: italic; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; max-width: 17rem; border-top: 1px solid var(--line); padding-top: .9rem; }

.hoja {
  grid-row: 1; align-self: center;
  position: relative;
  transform: rotate(-.5deg);
  margin-top: 16vh; /* deja lugar arriba para el tornillo y la palanca de la prensa */
}
.pliego, .forma {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.05vw, 1.75rem);
  line-height: 1.5;
  font-kerning: none;
  padding: clamp(1.4rem, 3.2vw, 2.8rem);
}
.pliego {
  background: var(--sheet);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -22px rgba(0,0,0,.45);
  position: relative;
  min-height: 100%;
}
.pliego__texto { opacity: 0; filter: blur(2px); transition: opacity .9s ease, filter .9s ease; text-wrap: pretty; }
.pliego.impreso .pliego__texto { opacity: 1; filter: none; }
.pliego__sello {
  position: absolute; right: -3.6rem; bottom: -4.8rem;
  width: clamp(7rem, 14vw, 11rem); aspect-ratio: 1;
  opacity: 0;
}
.pliego.estampado .pliego__sello { animation: estampa 1s var(--ease) both; }

/* la forma: tipo de plomo, al revés */
.forma {
  position: absolute; inset: 0;
  background: var(--iron);
  border: .7rem solid #1b1917;
  outline: 1px solid #000;
  transform: scaleX(-1);
  text-align: right;
  transition: opacity .8s ease .1s, transform .8s var(--ease);
}
.forma.suelta { opacity: 0; transform: scaleX(-1) translateY(2.5rem); pointer-events: none; }
.forma .w { display: inline-block; white-space: nowrap; }
.forma .t {
  display: inline-block;
  background: var(--lead);
  color: var(--lead-ink);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.14);
  opacity: 0;
  transform: translateY(-1.1em) rotate(var(--r, 0deg));
}
.forma .t.puesto { opacity: 1; transform: none; transition: opacity .12s linear, transform .22s var(--ease); }
/* el tipo que llega volando ya está a la vista: se asienta con un golpe seco */
.forma .t.puesto.asienta { transition: none; animation: asienta .26s cubic-bezier(.2, .9, .3, 1); }
@keyframes asienta {
  0% { transform: translateY(-.32em) scale(1.14, 1.06); filter: brightness(1.7); }
  55% { transform: translateY(.07em) scale(.97, .94); filter: none; }
  100% { transform: none; }
}
.forma .t.ultimo { background: var(--ink); color: var(--paper); }
/* entintado: el rodillo deja la cara del tipo negra y lustrosa */
.forma .t.tinta { background: #8f887a; color: #070605; text-shadow: 0 0 1px rgba(0,0,0,.6); transition: background .2s, color .2s; }
.forma .t.tinta.ultimo { background: #8f887a; color: #070605; }

/* tipo que vuela desde la caja hasta la forma */
.vuelo {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  display: grid; place-items: center;
  background: var(--lead); color: var(--lead-ink);
  font-family: var(--serif); font-kerning: none;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.2), 0 8px 14px rgba(0,0,0,.45);
  will-change: transform;
}

/* rodillo de entintar */
.rodillo {
  position: absolute; top: -1.4rem; bottom: -1.4rem; left: 0; width: 2.1rem; z-index: 3;
  transform: translateX(var(--rod, -3rem));
  pointer-events: none; opacity: var(--rod-op, 0);
}
.rodillo::before { /* el cilindro de cuero entintado */
  content: ''; position: absolute; inset: 0; border-radius: 1.05rem;
  background: linear-gradient(90deg, #050403, #2a2420 35%, #0b0908 70%, #000);
  box-shadow: 0 8px 14px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.05);
}
.rodillo::after { /* mango y soporte de hierro */
  content: ''; position: absolute; left: 50%; top: -.9rem; bottom: -.9rem; width: .35rem; margin-left: -.175rem;
  background: linear-gradient(90deg, #5d5750, #2a2724); z-index: -1; border-radius: 2px;
}

/* ─── la prensa: platina de hierro con tornillo y palanca ─── */
.prensa {
  position: absolute; inset: -.7rem -.9rem; z-index: 4;
  transform: translateY(var(--baja, -130%));
  background:
    radial-gradient(circle at 18% 28%, rgba(120,70,36,.55), transparent 22%),
    radial-gradient(circle at 82% 70%, rgba(110,62,30,.5), transparent 26%),
    radial-gradient(circle at 60% 15%, rgba(120,70,36,.35), transparent 18%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #4a443d, #2c2823 55%, #1c1916);
  border: 5px solid #0d0b09;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.12), inset 0 -10px 18px rgba(0,0,0,.55), 0 34px 50px -18px rgba(0,0,0,.8);
  pointer-events: none;
}
/* remaches en las esquinas */
.prensa::before {
  content: ''; position: absolute; inset: .55rem;
  background:
    radial-gradient(circle, #8a8174 0 .22rem, #2a2622 .26rem .38rem, transparent .4rem) top left / 1rem 1rem no-repeat,
    radial-gradient(circle, #8a8174 0 .22rem, #2a2622 .26rem .38rem, transparent .4rem) top right / 1rem 1rem no-repeat,
    radial-gradient(circle, #8a8174 0 .22rem, #2a2622 .26rem .38rem, transparent .4rem) bottom left / 1rem 1rem no-repeat,
    radial-gradient(circle, #8a8174 0 .22rem, #2a2622 .26rem .38rem, transparent .4rem) bottom right / 1rem 1rem no-repeat;
}
.prensa::after { /* marca fundida en la platina */
  content: 'GUTMBRG · FUNDICIÓN'; position: absolute; left: 0; right: 0; bottom: .6rem; text-align: center;
  font: 400 .62rem/1 var(--serif); letter-spacing: .5em; color: rgba(236,228,210,.28); text-shadow: 0 1px 0 rgba(0,0,0,.7);
}
.prensa .tornillo {
  position: absolute; left: 50%; bottom: 100%; width: 3.4rem; margin-left: -1.7rem; height: min(10vh, 5.5rem);
  background: repeating-linear-gradient(172deg, #7a736a 0 .42rem, #15120f .42rem .84rem);
  background-position: 0 var(--rosca, 0px);
  box-shadow: inset 8px 0 8px rgba(255,255,255,.14), inset -10px 0 10px rgba(0,0,0,.6);
  border-radius: 3px 3px 0 0;
}
.prensa .tornillo::before { /* la tuerca del tornillo */
  content: ''; position: absolute; left: -.9rem; right: -.9rem; bottom: -.2rem; height: 2.6rem;
  background: linear-gradient(90deg, #17140f, #4b453c 40%, #15120f);
  border: 3px solid #0b0907; border-radius: 3px;
}
.prensa .palanca { /* barra con bolas de hierro que gira sobre el tornillo */
  position: absolute; left: 50%; top: -1.2rem; width: min(70vw, 34rem); height: .85rem; margin-left: calc(min(70vw, 34rem) / -2);
  transform: scaleX(var(--giro, 1));
  background: linear-gradient(180deg, #6c655b, #1d1a16);
  border-radius: .45rem; box-shadow: 0 5px 8px rgba(0,0,0,.6);
}
.prensa .palanca::before, .prensa .palanca::after {
  content: ''; position: absolute; top: -.7rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #8d857a, #26221e 62%, #0b0907);
}
.prensa .palanca::before { left: -1.1rem; } .prensa .palanca::after { right: -1.1rem; }
.hoja.golpe { animation: golpe .34s cubic-bezier(.2, .9, .3, 1); }
@keyframes golpe {
  0% { transform: rotate(-.5deg) translateY(0); } 20% { transform: rotate(-.2deg) translateY(7px); }
  45% { transform: rotate(-.8deg) translateY(-2px); } 100% { transform: rotate(-.5deg) translateY(0); }
}

/* caja de tipos */
.caja {
  grid-column: 1 / -1; grid-row: 2;
  margin: 3vh -6vw 0 -10vw;
  padding: 1rem 6vw 1.2rem 10vw;
  background: linear-gradient(180deg, var(--wood-hi), var(--wood));
  border-top: 5px solid #120d09;
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 5px;
}
.caja i {
  font-style: normal; font-family: var(--serif); text-transform: uppercase;
  text-align: center; line-height: 1;
  padding: .5rem 0 .45rem;
  font-size: clamp(.8rem, 1.6vw, 1.15rem);
  color: #b9a98f; background: #1a130d; border-radius: 2px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.6);
  transition: background .12s, color .12s, transform .12s;
}
.caja i.on { background: var(--paper); color: var(--ink); transform: translateY(-3px); }

/* ───────── Índice ───────── */
.indice { padding: 18vh 6vw 16vh; }
.indice__titulo {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 7rem); line-height: .95;
  letter-spacing: -.02em; max-width: 9em;
}
.indice__lista { list-style: none; padding: 0; margin: 12vh 0 0; }
.indice__lista li {
  display: grid; grid-template-columns: minmax(4rem, 14vw) 1fr;
  column-gap: 2vw; padding: 2.2rem 0;
  border-top: 1px solid var(--ink);
}
.indice__lista li:nth-child(2) { margin-left: 9vw; }
.indice__lista li:nth-child(3) { margin-left: 18vw; }
.indice__num { font-family: var(--serif); font-size: clamp(3rem, 9vw, 8rem); line-height: .8; grid-row: 1 / 3; color: var(--ink); }
.indice__lista h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1; }
.indice__lista p { color: var(--muted); max-width: 30rem; margin-top: .6rem; }

/* ───────── Replay: la huella formándose ───────── */
.replay {
  padding: 16vh 6vw 18vh;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; column-gap: 5vw;
  border-top: 1px solid var(--ink);
}
.replay__huella { margin-left: -4vw; }
.replay__huella svg { display: block; width: 100%; max-width: 36rem; height: auto; overflow: visible; }
.replay .tk { stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; transition: stroke .25s, opacity .25s; }
.replay .tk.off { stroke: var(--line); opacity: .55; }
.replay .ring { fill: none; stroke: var(--accent); stroke-width: 1; }
.replay .ring.thin { stroke-width: .5; }
.replay .hg { fill: var(--accent); }
.replay .hc { font: 400 9px var(--sans); letter-spacing: .1em; text-transform: uppercase; fill: var(--accent); }
.replay__col { padding-top: 6vh; }
.replay__rotulo { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.replay__titulo { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1; margin: .8rem 0 1.8rem; max-width: 10em; }
.replay__hoja {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.4;
  background: var(--sheet); padding: 1.6rem 1.8rem; min-height: 9.5rem;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(0,0,0,.5);
  transform: rotate(.4deg);
}
.replay__hoja::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.12em; background: var(--ink); animation: parpadeo 1s steps(1) infinite; }
@keyframes parpadeo { 50% { opacity: 0; } }
.replay__nota { margin-top: 1.6rem; color: var(--muted); font-size: .92rem; max-width: 26rem; }

/* ───────── Honestidad ───────── */
.honestidad {
  padding: 14vh 6vw;
  display: grid; justify-items: start; gap: 1.6rem;
  background: var(--soft);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.honestidad__rotulo { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.honestidad__texto { font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.8rem); line-height: 1.22; max-width: 24em; margin-left: 12vw; }
.honestidad__texto em { font-style: italic; }
.boton {
  margin-left: 12vw;
  display: inline-block; text-decoration: none;
  background: var(--ink); color: var(--paper);
  padding: .95rem 1.7rem; font-weight: 500; letter-spacing: .02em;
  transition: transform .2s var(--ease);
}
.boton:hover { transform: translate(2px, 2px); }

/* ───────── Biblioteca ───────── */
.biblioteca {
  background: linear-gradient(180deg, #17120e, #0f0b08);
  color: #e6dccb;
  padding: 16vh 6vw 14vh;
}
.biblioteca__cab { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; }
.biblioteca h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 10vw, 9rem); line-height: .85; }
.biblioteca__cab p { max-width: 24rem; color: #b9a98f; font-size: .95rem; }
.estantes { margin-top: 10vh; display: grid; gap: 3rem; }
.estante {
  display: flex; align-items: flex-end; justify-content: safe center; gap: 4px;
  padding: 0 1.5rem;
  border-bottom: 14px solid #3a2a1c;
  box-shadow: 0 10px 14px -8px rgba(0,0,0,.8);
  min-height: 12rem; overflow-x: auto;
}
.lomo {
  --w: 3rem;
  flex: none; width: var(--w); height: var(--h, 14rem);
  appearance: none; border: 0; border-radius: 3px 3px 0 0; cursor: pointer;
  font-family: var(--serif); font-size: 1.05rem; color: #e8d7b6;
  background: var(--c); position: relative;
  box-shadow: inset 3px 0 0 rgba(255,255,255,.08), inset -3px 0 0 rgba(0,0,0,.35);
  transform: rotate(var(--r, 0deg)); transform-origin: bottom center;
  transition: transform .3s var(--ease);
}
.lomo::before, .lomo::after {
  content: ''; position: absolute; left: 0; right: 0; height: 3px; background: rgba(232,215,182,.55);
}
.lomo::before { top: 14%; } .lomo::after { bottom: 14%; }
.lomo span { writing-mode: vertical-rl; text-orientation: mixed; white-space: nowrap; display: block; margin: 0 auto; }
.lomo:hover, .lomo:focus-visible { transform: translateY(-14px) rotate(calc(var(--r, 0deg) - 1.2deg)); outline: none; }
.inclina-der { --r: 8deg; transform-origin: bottom right; margin-right: 2.1rem; }
.inclina-izq { --r: -9deg; transform-origin: bottom left; margin-left: 1.9rem; }
.plano { width: var(--h); height: var(--w, 3rem); margin: 0 .6rem; border-radius: 3px 0 0 3px; box-shadow: inset 0 3px 0 rgba(255,255,255,.08), inset 0 -3px 0 rgba(0,0,0,.35); }
.plano::before, .plano::after { top: 0; bottom: 0; left: auto; right: auto; width: 3px; height: auto; }
.plano::before { left: 9%; } .plano::after { right: 9%; }
.plano span { writing-mode: horizontal-tb; }
.t1 { --c: #3d2a1d; } .t2 { --c: #2c3430; } .t3 { --c: #4a3622; } .t4 { --c: #2f2623; }

.folio {
  border: 0; padding: clamp(1.6rem, 4vw, 3rem);
  width: min(38rem, 92vw);
  background: var(--sheet); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.folio::backdrop { background: rgba(10,7,5,.78); }
.folio__cerrar { position: absolute; right: .8rem; top: .8rem; background: none; border: 0; color: var(--ink); cursor: pointer; padding: .4rem; }
.folio__tomo { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.folio__titulo { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; margin: .4rem 0 1.2rem; }
.folio__texto { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; white-space: pre-line; }
.folio__estado { margin-top: 1.4rem; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .8rem; }
.folio__enlace { display: inline-block; margin-top: .8rem; font-weight: 500; }

/* ───────── Colofón ───────── */
.colofon { padding: 10vh 6vw 8vh; background: #0f0b08; color: #b9a98f; display: grid; gap: 1.6rem; justify-items: center; text-align: center; }
.colofon__grabado { width: 3.6rem; aspect-ratio: 3 / 4; }
.colofon a { color: inherit; text-underline-offset: .2em; }
.colofon p { font-family: var(--serif); font-style: italic; max-width: 32rem; }

/* ───────── Móvil ───────── */
@media (max-width: 899px) {
  .stage { grid-template-columns: 1fr; margin-left: 0; padding: 3vh 5vw 0; }
  .margen { display: none; }
  .hoja { grid-column: 1; align-self: center; }
  .caja { grid-template-columns: repeat(14, 1fr); margin: 2vh -5vw 0; padding: .7rem 5vw .8rem; gap: 3px; }
  .portada__nota { margin-left: 0; }
  .replay { grid-template-columns: 1fr; row-gap: 2rem; }
  .replay__huella { margin-left: 0; max-width: 22rem; }
  .indice__lista li { grid-template-columns: 3.4rem 1fr; }
  .indice__lista li:nth-child(n) { margin-left: 0; }
  .honestidad__texto, .boton { margin-left: 0; }
  .biblioteca__cab { grid-template-columns: 1fr; }
  .lomo { --w: 2.5rem; }
}

/* ───────── Sin animación ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .compose { height: auto; }
  .stage { position: static; height: auto; padding-bottom: 8vh; }
  .caja, .forma, .prensa, .rodillo, .margen__nota { display: none; }
  .replay__hoja::after { animation: none; }
  .pliego__texto { opacity: 1; filter: none; }
  .pliego__sello { opacity: .9; }
  .portada__sello, .portada__baja svg, .pliego.estampado .pliego__sello { animation: none; }
  .lomo { transition: none; }
}

/* ───────── Portada: bloque, fila y ver post ───────── */
.portada__bloque { width: max-content; max-width: 100%; position: relative; }
.portada__fila { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.2rem; }
.portada__fila .portada__baja { margin-top: 0; }
.portada__redes { display: flex; gap: .7rem; }
.ver {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  font: 500 .85rem/1 var(--sans, Ubuntu, sans-serif); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); background: transparent; border: 1px solid var(--ink); padding: .65rem .9rem;
  transition: background .2s, color .2s;
}
.ver:hover, .ver:focus-visible { background: var(--ink); color: var(--paper); outline: none; }

.post { width: min(40rem, 94vw); }
.post__img { display: block; width: 100%; height: auto; margin-top: .9rem; border: 1px solid var(--line); }
@media (max-width: 899px) { .portada__fila { gap: 1rem; } }

.ver svg[viewBox] { color: #0a66c2; }
.ver[data-post='linkedin'] svg { color: #0a66c2; }
@media (max-width: 899px) {
  .portada { align-content: start; padding-top: calc(8vh + 52vw + 1.5rem); }
  .portada__sello { width: 52vw; right: 8vw; top: 6vh; }
  .portada__bloque { width: 100%; }
  .portada__fila { flex-direction: column; align-items: flex-start; gap: 1.1rem; margin-top: 1.6rem; }
  .portada__redes { gap: .7rem; }
}
