/* ==========================================================================
   Humboldt Raven Society — hoja de estilos
   Paleta: tinta (negro cálido), hueso, sangre (rojo del emblema), latón.
   ========================================================================== */

:root {
  --ink:        #0c0a09;
  --ink-2:      #14110f;
  --ink-3:      #1d1815;
  --bone:       #ece2ce;
  --bone-soft:  #c8bca5;
  --mute:       #8f8473;
  --blood:      #a3191c;
  --blood-hi:   #c9282b;
  --brass:      #b8955a;
  --line:       rgba(236, 226, 206, 0.14);
  --line-2:     rgba(236, 226, 206, 0.28);

  --f-display: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --f-sc:      "IM Fell English SC", "IM Fell English", Georgia, serif;
  --f-body:    "Spectral", Georgia, "Times New Roman", serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0875rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--blood); color: var(--bone); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Grano de papel antiguo */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.2rem;
  display: inline-flex; align-items: center; gap: 0.8em;
}
.eyebrow::before { content: ""; width: 2.2em; height: 1px; background: currentColor; opacity: .7; }
.mono { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--bone-soft); max-width: 58ch; font-weight: 300; }
em, .accent { font-style: italic; }
.blood { color: var(--blood-hi); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em 1.6em;
  font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--blood); background: var(--blood); color: var(--bone);
  cursor: pointer; border-radius: 0;
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out), color .35s var(--ease-out), transform .35s var(--ease-out);
}
.btn:hover { background: var(--blood-hi); border-color: var(--blood-hi); transform: translateY(-2px); }
.btn .arrow { transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--bone); }
.btn--ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--sm { padding: 0.7em 1.1em; font-size: 0.7rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link-u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out);
  padding-bottom: 2px;
}
.link-u:hover, .link-u.is-active { background-size: 100% 1px; }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--ink);
  transition: opacity .8s var(--ease-out), visibility .8s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash img { width: min(42vw, 220px); animation: splashIn 1.4s var(--ease-out) both; }
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashIn { from { opacity: 0; transform: scale(.92); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(12, 10, 9, 0.94);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-scrolled, .site-header.is-solid { background: rgba(12, 10, 9, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--f-sc); font-size: 1.12rem; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; }
.brand img { width: 30px; height: auto; }
.brand small { display: block; font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.24em; color: var(--mute); margin-top: 4px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--f-sc); font-size: 1.02rem; color: var(--bone-soft); transition: color .3s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--bone); }
.nav-tools { display: flex; align-items: center; gap: 0.75rem; }
.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.6em 0.9em; border: 1px solid var(--line-2);
  transition: border-color .3s, background .3s;
}
.cart-link:hover { border-color: var(--bone); }
.cart-link svg { width: 16px; height: 16px; }
.cart-count {
  min-width: 1.6em; height: 1.6em; padding: 0 .35em;
  display: inline-grid; place-items: center;
  background: var(--blood); color: var(--bone); border-radius: 99px; font-size: 0.66rem; letter-spacing: 0;
}
.cart-count.is-bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  position: relative;
}
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--bone); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.nav-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .brand small { display: none; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem;
    padding: 2rem var(--gutter) 4rem;
    background: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility .45s;
  }
  .nav-links a { font-size: clamp(2rem, 9vw, 3rem); color: var(--bone); }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--ink); }
  .cart-link .cart-label { display: none; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s !important; }
.reveal-d2 { transition-delay: .16s !important; }
.reveal-d3 { transition-delay: .24s !important; }

.split-word { display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(4px); animation: wordIn 1.1s var(--ease-out) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }

/* ---------- Hero con linterna ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 3rem) 0 clamp(3rem, 8vh, 6rem);
  isolation: isolate;
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 45%; filter: contrast(1.06) saturate(.85); transform: scale(1.04); }
/* Carrusel de portada */
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s var(--ease-out); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide img { transform: scale(1.04); transition: transform 9s linear; }
.hero-slide.is-active img { transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) { .hero-slide img, .hero-slide.is-active img { transform: scale(1.04); transition: none; } }
.hero-ctrl { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; margin-top: 1rem; pointer-events: auto; }
.hero-arrow { width: 38px; height: 38px; border: 1px solid var(--line-2); background: rgba(12,10,9,.35); color: var(--bone); cursor: pointer; font-size: .95rem; transition: background .3s, border-color .3s; }
.hero-arrow:hover { background: var(--blood); border-color: var(--blood); }
.hero-count { min-width: 5.5em; text-align: center; color: var(--bone) !important; }
.hero-dots { display: flex; justify-content: flex-end; gap: 6px; margin: .9rem 0 .6rem; }
.hero-dot { width: 34px; height: 18px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; align-items: center; }
.hero-dot span { display: block; height: 2px; background: rgba(236,226,206,.3); position: relative; overflow: hidden; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--blood-hi); transform: scaleX(0); transform-origin: 0 50%; }
.hero-dot.is-active span::after { animation: dotFill var(--hero-delay, 6.5s) linear forwards; }
.hero-dot.is-done span::after { transform: scaleX(1); }
[data-hero-carousel].is-paused ~ .hero-meta .hero-dot.is-active span::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero-meta [data-cap-a], .hero-meta [data-cap-b] { transition: opacity .5s; }
.hero-meta.is-swapping [data-cap-a], .hero-meta.is-swapping [data-cap-b] { opacity: 0; }
.lantern {
  --lx: 40%; --ly: 42%; --r: 260px;
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle var(--r) at var(--lx) var(--ly), rgba(12,10,9,0) 0%, rgba(12,10,9,.35) 45%, rgba(12,10,9,.9) 100%),
    linear-gradient(180deg, rgba(12,10,9,.25) 0%, rgba(12,10,9,0) 30%, rgba(12,10,9,.75) 100%);
  pointer-events: none;
}
.lantern::after {
  /* resplandor cálido de la llama */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle calc(var(--r) * .7) at var(--lx) var(--ly), rgba(214, 150, 70, .14), transparent 70%);
  mix-blend-mode: screen;
}
.hero-content { position: relative; width: 100%; }
.hero-title {
  font-size: clamp(2.7rem, 7.2vw, 6.6rem);
  line-height: .98;
  max-width: 13ch;
  text-wrap: balance;
  margin-bottom: 1.6rem;
}
.hero-title em { color: var(--blood-hi); }
.hero-sub { max-width: 46ch; color: var(--bone-soft); font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem); font-weight: 300; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-meta {
  position: absolute; right: var(--gutter); bottom: clamp(3rem, 8vh, 6rem);
  text-align: right; max-width: 22ch;
}
.hero-meta .mono { display: block; line-height: 1.9; }
.hero-hint { color: var(--bone-soft); opacity: .7; }
@media (max-width: 760px) {
  .hero-meta { top: calc(var(--nav-h) + .8rem); bottom: auto; max-width: none; }
  .hero-meta .mono, .hero-ctrl { display: none; }
  .hero-dots { margin: 0; }
  .hero-dot { width: 26px; }
}

/* ---------- Marquesina de nombres científicos ---------- */
.taxa {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 1.1rem 0;
  background: var(--ink-2);
}
.taxa-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.taxa-track > span { display: inline-flex; align-items: baseline; gap: .8rem; white-space: nowrap; padding-right: 2.2rem; }
.taxa-track i { font-family: var(--f-display); font-style: italic; font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); color: var(--bone); }
.taxa-track small { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.taxa-track > span::after { content: "✦"; font-style: normal; color: var(--blood); font-size: .8rem; margin-left: 1.4rem; align-self: center; }
.taxa:hover .taxa-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(5rem, 11vw, 9.5rem); position: relative; }
.section--alt { background: var(--ink-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); text-wrap: balance; }
.section-head h2 em { color: var(--blood-hi); }
.section-head .lead { margin: 0; }
.numeral { font-family: var(--f-display); font-style: italic; color: var(--blood-hi); margin-right: .25em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Gabinetes (departamentos) ---------- */
.cabinets {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(150px, 15vw, 210px);
  gap: clamp(10px, 1.2vw, 18px);
}
.cabinet {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1rem, 2vw, 1.6rem);
  background: var(--ink-3);
}
.cabinet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.75) brightness(.78); transition: transform 1.2s var(--ease-out), filter .8s var(--ease-out); }
.cabinet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,10,9,0) 30%, rgba(12,10,9,.92) 100%); }
.cabinet:hover img { transform: scale(1.06); filter: saturate(1) brightness(.9); }
.cabinet .mono { color: var(--brass); margin-bottom: .5rem; }
.cabinet h3 { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.3rem); max-width: 16ch; text-wrap: balance; }
.cabinet p { color: var(--bone-soft); font-size: .95rem; margin: .6rem 0 0; max-width: 40ch; }
.cabinet .go { position: absolute; top: 1.1rem; right: 1.1rem; width: 42px; height: 42px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .35s, border-color .35s, transform .5s var(--ease-out); }
.cabinet:hover .go { background: var(--blood); border-color: var(--blood); transform: rotate(-45deg); }
.cab-a { grid-column: span 7; grid-row: span 2; }
.cab-b { grid-column: span 5; grid-row: span 2; }
.cab-c { grid-column: span 4; grid-row: span 2; }
.cab-d { grid-column: span 4; grid-row: span 2; }
.cab-e { grid-column: span 4; grid-row: span 2; }
@media (max-width: 860px) {
  .cabinets { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .cab-a { grid-column: span 2; grid-row: span 2; }
  .cab-b, .cab-c, .cab-d, .cab-e { grid-column: span 1; grid-row: span 1; }
  .cabinet p { display: none; }
}
@media (max-width: 520px) {
  .cabinets { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .cab-a, .cab-b, .cab-c, .cab-d, .cab-e { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Productos ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.product { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line); transition: border-color .4s; }
.product:hover { border-color: var(--line-2); }
.product-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.product-media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.15) saturate(.85); transition: transform 1s var(--ease-out), filter .6s; }
.product:hover .product-media img { transform: scale(1.05); filter: none; }
.tag {
  position: absolute; left: 12px; top: 12px;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--bone); color: var(--ink); padding: .35em .6em;
}
.tag--blood { background: var(--blood); color: var(--bone); }
.product-body { padding: 1.2rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-body .mono { margin-bottom: .55rem; }
.product-body h3 { font-size: 1.45rem; line-height: 1.12; margin-bottom: .55rem; }
.product-body .desc { color: var(--bone-soft); font-size: .93rem; line-height: 1.55; flex: 1; }
.product-buy { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px dashed var(--line); }
.price { font-family: var(--f-display); font-size: 1.35rem; }
.price small { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; color: var(--mute); margin-left: .3em; }
.buy-controls { display: flex; gap: .45rem; align-items: center; }
.select {
  appearance: none; -webkit-appearance: none;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c8bca5'/%3E%3C/svg%3E") no-repeat right .6em center;
  border: 1px solid var(--line-2); padding: .55em 1.8em .55em .7em;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; cursor: pointer; border-radius: 0;
}
.btn-add.is-added { background: var(--ink); border-color: var(--brass); color: var(--brass); }
.ship-note { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); margin: 0 0 .9rem; }
.ship-strip { background: var(--ink-2); border-bottom: 1px solid var(--line); }
.ship-strip ul { list-style: none; margin: 0; padding: .9rem 0; display: flex; flex-wrap: wrap; gap: .4rem 2rem; font-size: .88rem; color: var(--bone-soft); }
.ship-strip li::before { content: "✦"; color: var(--blood-hi); font-size: .7em; margin-right: .6em; vertical-align: middle; }
.ship-strip strong { color: var(--bone); font-weight: 500; }
.ship-hint { margin: 0 0 .4rem; font-size: .82rem; color: var(--brass); font-style: italic; }
[hidden] { display: none !important; }

/* ---------- Formulario de pago ---------- */
.checkout { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.checkout fieldset { border: 0; border-top: 1px solid var(--line); margin: 0 0 1.8rem; padding: 1.6rem 0 0; min-width: 0; }
.checkout legend { font-family: var(--f-display); font-size: 1.7rem; padding: 0 .6rem 0 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; margin-top: .6rem; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.select--field { width: 100%; padding: .75em 2em .75em .85em; font-family: var(--f-body); font-size: .95rem; letter-spacing: 0; }
.field input:invalid:not(:placeholder-shown):not(:focus) { border-color: rgba(201,40,43,.6); }
.pay-option { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line-2); margin-top: .7rem; cursor: pointer; transition: border-color .3s, background .3s; }
.pay-option:has(input:checked) { border-color: var(--blood); background: rgba(163,25,28,.1); }
.pay-option input { accent-color: var(--blood-hi); width: 18px; height: 18px; margin-top: .2rem; flex: none; }
.pay-option strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; }
.pay-option small { display: block; color: var(--bone-soft); font-size: .88rem; line-height: 1.5; margin-top: .2rem; }
.pay-option.is-disabled { opacity: .55; cursor: not-allowed; }
.form-error { border: 1px solid var(--blood); background: rgba(163,25,28,.14); padding: .8rem 1rem; font-size: .92rem; }
.btn--pay { width: 100%; padding-block: 1.15em; font-size: .8rem; }
.btn--pay[disabled] { opacity: .6; }

/* ---------- Tienda: barra de departamentos ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); position: relative; overflow: clip; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); max-width: 16ch; text-wrap: balance; margin-bottom: 1.4rem; }
.page-hero h1 em { color: var(--blood-hi); }
.page-hero .bg { position: absolute; inset: 0; z-index: -1; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4); }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(12,10,9,.4) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 50%); }

.dept-bar { position: sticky; top: var(--nav-h); z-index: 50; background: rgba(12,10,9,.96); border-bottom: 1px solid var(--line); }
.dept-bar ul { display: flex; gap: .4rem; list-style: none; margin: 0; padding: .8rem 0; overflow-x: auto; overflow-y: visible; scrollbar-width: none; }
.dept-bar ul::-webkit-scrollbar { display: none; }
.dept-bar a { display: block; white-space: nowrap; padding: .55em 1em; border: 1px solid var(--line); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-soft); transition: all .3s; }
.dept-bar a:hover, .dept-bar a.is-active { border-color: var(--blood); color: var(--bone); background: rgba(163,25,28,.18); }

.dept { padding-block: clamp(4rem, 8vw, 6.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 60px); }
.dept-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem 4rem; margin-bottom: 2.8rem; align-items: end; }
.dept-head h2 { font-size: clamp(2rem, 4vw, 3.6rem); text-wrap: balance; }
.dept-head .lead { margin: 0; }
@media (max-width: 860px) { .dept-head { grid-template-columns: 1fr; } }

/* ---------- Cartografía de lo Salvaje ---------- */
.atlas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.atlas-figure { position: relative; aspect-ratio: 1; border: 1px solid var(--line); background: var(--ink-3); overflow: hidden; }
.atlas-figure > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(1) contrast(1.2); mix-blend-mode: luminosity; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.contours path { fill: none; stroke: var(--bone-soft); stroke-width: 1; opacity: .55; stroke-dasharray: var(--len, 2400); stroke-dashoffset: var(--len, 2400); transition: stroke-dashoffset 3.2s var(--ease-out); }
.contours path.hot { stroke: var(--blood-hi); opacity: .9; stroke-width: 1.4; }
.is-visible .contours path, .contours.is-visible path { stroke-dashoffset: 0; }
.atlas-pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--blood-hi); box-shadow: 0 0 0 0 rgba(201,40,43,.6); animation: pin 2.6s ease-out infinite; }
.atlas-pin::after { content: attr(data-label); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); }
@keyframes pin { 0% { box-shadow: 0 0 0 0 rgba(201,40,43,.55); } 100% { box-shadow: 0 0 0 22px rgba(201,40,43,0); } }
@media (prefers-reduced-motion: reduce) { .atlas-pin { animation: none; } }
.atlas-legend { position: absolute; left: 14px; bottom: 12px; right: 14px; display: flex; justify-content: space-between; }
.services { list-style: none; margin: 2rem 0 2.4rem; padding: 0; border-top: 1px solid var(--line); }
.services li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.services .n { font-family: var(--f-display); font-style: italic; color: var(--blood-hi); font-size: 1.3rem; }
.services h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.services p { margin: 0; color: var(--bone-soft); font-size: .95rem; }
@media (max-width: 860px) { .atlas { grid-template-columns: 1fr; } }

/* ---------- Biblioteca (libros de terror) ---------- */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: clamp(1.4rem, 2.5vw, 2.4rem); }
.book { perspective: 900px; }
.cover {
  position: relative; aspect-ratio: 2 / 3;
  background: var(--c, #3a1414);
  color: var(--bone);
  padding: 1.4rem 1.2rem;
  display: flex; flex-direction: column; justify-content: space-between; text-align: center;
  box-shadow: inset 6px 0 0 rgba(0,0,0,.35), inset 8px 0 0 rgba(255,255,255,.05), 14px 18px 30px rgba(0,0,0,.55);
  transform-origin: left center;
  transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out);
}
.cover::before { content: ""; position: absolute; inset: 10px 10px 10px 16px; border: 1px solid rgba(236,226,206,.35); pointer-events: none; }
.cover::after { content: ""; position: absolute; inset: 15px 15px 15px 21px; border: 1px solid rgba(236,226,206,.15); pointer-events: none; }
.book:hover .cover { transform: rotateY(-14deg); box-shadow: inset 6px 0 0 rgba(0,0,0,.35), 24px 22px 40px rgba(0,0,0,.65); }
@media (hover: none) { .book:hover .cover { transform: none; } }
.cover .yr { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; opacity: .75; }
.cover .t { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.08; text-wrap: balance; }
.cover .orn { font-size: 1.3rem; color: var(--brass); }
.cover .a { font-family: var(--f-sc); font-size: .9rem; letter-spacing: .06em; opacity: .9; }
.book-note { padding-top: 1.1rem; }
.book-note .mono { margin-bottom: .4rem; display: block; }
.book-note p { font-size: .94rem; color: var(--bone-soft); line-height: 1.55; margin: 0; }
.dread { display: inline-flex; gap: 3px; vertical-align: middle; margin-left: .4em; }
.dread i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--blood-hi); }
.dread i.on { background: var(--blood-hi); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2vw, 2rem); }
.post { display: flex; flex-direction: column; }
.post-media { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 1.1rem; border: 1px solid var(--line); background: var(--ink-3); }
.post-media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.2) saturate(.8); transition: transform 1s var(--ease-out), filter .6s; }
.post:hover .post-media img { transform: scale(1.04); filter: none; }
.post .mono { margin-bottom: .6rem; }
.post h3 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.85rem); line-height: 1.1; margin-bottom: .7rem; text-wrap: balance; }
.post p { color: var(--bone-soft); font-size: .95rem; }
.post .more { margin-top: auto; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.post--soon .more { color: var(--mute); }
.post--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.post--feature .post-media { aspect-ratio: 16 / 10; margin: 0; }
.post--feature h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts, .post--feature { grid-template-columns: 1fr; } }

/* ---------- Artículo ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--blood-hi); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }
.article-hero { padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)) 0 2.5rem; text-align: center; }
.article-hero h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); max-width: 18ch; margin: 0 auto 1.4rem; text-wrap: balance; }
.article-hero h1 em { color: var(--blood-hi); }
.article-hero .byline { color: var(--mute); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.article-figure { max-width: 1100px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); padding-inline: var(--gutter); }
.article-figure .frame { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); }
.article-figure img { width: 100%; height: 115%; object-fit: cover; }
figcaption { font-style: italic; color: var(--mute); font-size: .88rem; margin-top: .7rem; }
.prose { max-width: 68ch; margin-inline: auto; padding-inline: var(--gutter); font-size: clamp(1.06rem, 1rem + .25vw, 1.19rem); line-height: 1.75; }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.4rem); margin: 2.6rem 0 1rem; }
.prose p { color: #ddd2bd; }
.prose .dropcap::first-letter { float: left; font-family: var(--f-display); font-size: 4.6em; line-height: .82; padding: .06em .12em 0 0; color: var(--blood-hi); }
.pullquote { margin: 2.8rem 0; padding: 0 0 0 1.6rem; border-left: 2px solid var(--blood); font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.25; color: var(--bone); }
.prose ul { padding-left: 1.2em; color: #ddd2bd; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blood-hi); }
.article-end { max-width: 68ch; margin: 3.5rem auto 0; padding: 2rem var(--gutter) 0; border-top: 1px solid var(--line); display: flex; gap: 1.2rem; align-items: center; }
.article-end img { width: 64px; flex: none; }
.article-end p { margin: 0; color: var(--bone-soft); font-size: .95rem; }

/* ---------- Nosotros ---------- */
.manifesto { font-family: var(--f-display); font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.15; max-width: 24ch; text-wrap: balance; }
.manifesto em { color: var(--blood-hi); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split .frame { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); }
.split .frame img { width: 100%; height: 112%; object-fit: cover; }
.emblem-wrap { display: grid; place-items: center; }
.emblem-wrap img { width: min(100%, 460px); filter: drop-shadow(0 30px 60px rgba(163,25,28,.25)); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pillar { padding: 2rem 2rem 2rem 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: 2rem; }
.pillar:last-child { border-right: 0; }
.pillar h3 { font-size: 1.7rem; margin: .8rem 0 .6rem; }
.pillar p { color: var(--bone-soft); font-size: .96rem; margin: 0; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 1.8rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact-card { border: 1px solid var(--line); padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; transition: border-color .3s, background .3s; }
.contact-card:hover { border-color: var(--blood); background: rgba(163,25,28,.08); }
.contact-card h3 { font-size: 1.6rem; }
.contact-card p { margin: 0; color: var(--bone-soft); font-size: .93rem; }
.contact-card.is-off { opacity: .55; pointer-events: none; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.credits { columns: 2 320px; column-gap: 3rem; font-size: .82rem; color: var(--mute); list-style: none; padding: 0; }
.credits li { break-inside: avoid; margin-bottom: .55rem; }
.credits a { text-decoration: underline; text-decoration-color: var(--line-2); }

/* ---------- Banda Instagram ---------- */
.ig-band { position: relative; overflow: clip; isolation: isolate; text-align: center; }
.ig-band .bg { position: absolute; inset: 0; z-index: -1; }
.ig-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: grayscale(.5); }
.ig-band .bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(12,10,9,.5), var(--ink) 80%); }
.ig-band h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 18ch; margin: 0 auto 1.2rem; text-wrap: balance; }
.ig-band h2 em { color: var(--blood-hi); }
.ig-band .lead { margin: 0 auto 2rem; }
.ig-band .hero-actions { justify-content: center; }

/* ---------- Carrito ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-list { border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 1.1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 92px; height: 115px; object-fit: cover; border: 1px solid var(--line); }
.cart-item h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.cart-item .mono { display: block; margin-bottom: .6rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.qty button { width: 34px; height: 34px; background: transparent; border: 0; cursor: pointer; font-family: var(--f-mono); }
.qty button:hover { background: var(--ink-3); }
.qty span { min-width: 2.2em; text-align: center; font-family: var(--f-mono); font-size: .85rem; }
.cart-item .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.remove { background: none; border: 0; cursor: pointer; color: var(--mute); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; padding: 0; }
.remove:hover { color: var(--blood-hi); }
@media (max-width: 520px) {
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-item img { width: 72px; height: 90px; }
  .cart-item .right { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
}
.cart-empty { padding: 3rem 0; text-align: center; border: 1px dashed var(--line-2); }
.cart-empty p { color: var(--bone-soft); }
.summary { position: sticky; top: calc(var(--nav-h) + 1.5rem); background: var(--ink-2); border: 1px solid var(--line); padding: 1.6rem; }
.summary h2 { font-size: 1.8rem; margin-bottom: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; color: var(--bone-soft); font-size: .95rem; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; color: var(--bone); font-family: var(--f-display); font-size: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.field label { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field textarea { background: var(--ink); border: 1px solid var(--line-2); padding: .75em .85em; border-radius: 0; font-size: .95rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.summary .btn { width: 100%; margin-top: .5rem; }
.summary .note { font-size: .82rem; color: var(--mute); margin: 1rem 0 0; line-height: 1.5; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 150;
  transform: translate(-50%, 140%);
  background: var(--bone); color: var(--ink);
  padding: .9rem 1.2rem; display: flex; gap: 1rem; align-items: center;
  font-size: .92rem; max-width: calc(100% - 32px);
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden;
  transition: transform .6s var(--ease-out), opacity .4s, visibility .6s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast a { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; white-space: nowrap; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand img { width: 110px; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--bone-soft); font-size: .95rem; max-width: 34ch; }
.site-footer h4 { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer li a { color: var(--bone-soft); font-size: .95rem; }
.site-footer li a:hover { color: var(--bone); }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.soon { font-family: var(--f-mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); padding: .15em .45em; margin-left: .4em; color: var(--mute); vertical-align: middle; }

/* ---------- Reducción de movimiento: solo lo intrusivo ---------- */
@media (prefers-reduced-motion: reduce) {
  .taxa-track { animation-duration: 160s; }
}
.pay-title { font-size: clamp(2.6rem, 6.5vw, 5.6rem); max-width: 16ch; text-wrap: balance; margin-bottom: 1.4rem; }
.pay-title em { color: var(--blood-hi); }

/* ---------- Estantería del Cuervo (portadas reales) ---------- */
.shelf-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin-bottom: 1.8rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; }
.shelf-title .mono { color: var(--brass); }
.cover-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: clamp(1.6rem, 2.6vw, 2.6rem) clamp(1rem, 2vw, 2rem); }
.cover-shelf--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .cover-shelf--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cover-card { display: flex; flex-direction: column; gap: .35rem; perspective: 900px; }
.cc-cover { display: block; aspect-ratio: 2 / 3; overflow: hidden; margin-bottom: .7rem; background: var(--ink-3);
  box-shadow: inset 4px 0 0 rgba(0,0,0,.35), 14px 18px 30px rgba(0,0,0,.55); transform-origin: left center;
  transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out); }
.cc-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-card:hover .cc-cover { transform: rotateY(-12deg); box-shadow: 24px 22px 40px rgba(0,0,0,.65); }
@media (hover: none) { .cover-card:hover .cc-cover { transform: none; } }
.cc-title { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.12; text-wrap: balance; }
.cover-card:hover .cc-title { color: var(--blood-hi); }
.cc-sub { font-size: .88rem; color: var(--bone-soft); font-style: italic; line-height: 1.35; }
.cc-pending { color: var(--mute); font-size: .6rem; margin-top: .3rem; }
.cc-rating { display: flex; gap: 2px; margin-top: .3rem; }

/* Cuervos de valoración */
.raven { display: inline-block; width: 30px; color: transparent; }
.raven svg { width: 100%; height: auto; display: block; fill: currentColor; stroke: var(--brass); stroke-width: 2; }
.raven.is-on { color: var(--bone); }
.raven.is-on svg { stroke: var(--bone); }
.cc-rating .raven { width: 20px; }

/* ---------- Página de libro ---------- */
.book-hero { padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.book-hero-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.book-cover { perspective: 1200px; }
.book-cover img { width: 100%; max-width: 380px; margin-inline: auto; box-shadow: inset 4px 0 0 rgba(0,0,0,.35), 30px 36px 60px rgba(0,0,0,.6), 0 0 120px rgba(163,25,28,.12);
  transform: rotateY(-8deg); transform-origin: left center; transition: transform 1s var(--ease-out); }
.book-cover:hover img { transform: rotateY(0); }
.book-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.8rem); text-wrap: balance; margin-bottom: .6rem; }
.book-sub { font-family: var(--f-display); font-style: italic; font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); color: var(--blood-hi); margin-bottom: 1rem; }
.book-author { font-family: var(--f-sc); font-size: 1.2rem; margin-bottom: 1.8rem; }
.book-author span { font-family: var(--f-body); font-size: .95rem; color: var(--bone-soft); }
.book-ficha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0; border-top: 1px solid var(--line); }
.book-ficha div { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.book-ficha dt { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: .2rem; }
.book-ficha dd { margin: 0; font-size: .95rem; color: var(--bone-soft); }
@media (max-width: 860px) {
  .book-hero-grid { grid-template-columns: 1fr; }
  .book-cover img { max-width: 260px; }
}
@media (max-width: 520px) { .book-ficha { grid-template-columns: 1fr; } }
.book-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 960px) { .book-cols { grid-template-columns: 1fr; } }
.book-synopsis .prose { max-width: 64ch; }
.book-source { margin-top: 1.6rem; }
.verdict { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.verdict-card { position: relative; border: 1px solid var(--line-2); background: var(--ink-2); padding: 1.6rem 1.6rem 1.8rem; }
.verdict-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); pointer-events: none; }
.verdict-card .eyebrow { margin-bottom: 1rem; }
.verdict-ravens { display: flex; gap: 6px; }
.verdict-ravens .raven { width: 46px; }
.verdict-ravens.is-empty .raven svg { stroke-dasharray: 4 3; opacity: .7; }
.verdict-score { margin: .9rem 0 0; }
.verdict-score strong { font-family: var(--f-display); font-size: 2rem; font-weight: 400; color: var(--blood-hi); }
.verdict-card--review p:not(.eyebrow) { color: #ddd2bd; font-size: 1.02rem; line-height: 1.7; }
.verdict-mark { position: absolute; right: 1.2rem; top: 1.1rem; width: 34px; opacity: .35; }
.verdict-empty { font-style: italic; color: var(--mute) !important; margin: 0; }
.book-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; padding-block: 2rem 5rem; border-top: 1px solid var(--line); }
.book-nav-link { display: flex; flex-direction: column; gap: .3rem; font-family: var(--f-display); font-size: 1.15rem; }
.book-nav-link:hover span:last-child { color: var(--blood-hi); }
.book-nav-link--next { text-align: right; align-items: flex-end; }
@media (max-width: 640px) {
  .book-nav { grid-template-columns: 1fr 1fr; }
  .book-nav .btn { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
