/* DTL 2.0 — refinement pass */
:root {
  --ink: #080808;
  --ink-soft: #0d0d0c;
  --paper: #f1ede5;
  --paper-deep: #d7cdbc;
  --gold: #bfa05e;
  --gold-light: #dcc58f;
  --wine: #591923;
  --line: rgba(191, 160, 94, .2);
  --shell: min(1240px, calc(100vw - 72px));
}

body {
  background: #080808;
}

.site-header {
  height: 76px;
  background: linear-gradient(180deg, rgba(4,4,4,.9), rgba(4,4,4,.35) 70%, transparent);
}

.site-header.is-scrolled,
.site-header.menu-active {
  border-bottom-color: rgba(191, 160, 94, .14);
  background: rgba(7, 7, 7, .91);
  box-shadow: 0 12px 45px rgba(0,0,0,.18);
}

.brand { gap: 13px; }
.brand img { width: 38px; height: 38px; }
.brand-word strong { font-size: 19px; letter-spacing: .055em; }
.brand-word small { margin-top: 6px; color: rgba(220,197,143,.72); font-size: 7px; letter-spacing: .3em; }

.desktop-nav { gap: clamp(17px, 1.7vw, 27px); }
.desktop-nav a { color: rgba(241,237,229,.67); font-size: 9px; letter-spacing: .19em; }
.desktop-nav .nav-authors { padding: 9px 14px; border-color: rgba(191,160,94,.28); }

.hero { min-height: 100svh; }
.hero-media img { animation: hero-v2-in 2.2s ease-out both; }
.hero-shade {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.43) 0%, rgba(0,0,0,.34) 45%, rgba(0,0,0,.72) 100%),
    linear-gradient(180deg, rgba(4,4,4,.28) 0%, rgba(4,4,4,.06) 48%, rgba(4,4,4,.94) 100%);
}

.hero-content {
  width: min(980px, calc(100vw - 50px));
  margin-top: 2vh;
}

.hero-content::before {
  width: 1px;
  height: clamp(30px, 6vh, 62px);
  display: block;
  margin: 0 auto 24px;
  content: "";
  background: linear-gradient(transparent, rgba(220,197,143,.78));
}

.hero .eyebrow {
  margin-bottom: 26px;
  color: rgba(229,210,166,.92);
  letter-spacing: .42em;
}

.hero h1 {
  max-width: 970px;
  font-size: clamp(62px, 8vw, 108px);
  line-height: .88;
  letter-spacing: -.052em;
  text-shadow: 0 3px 38px rgba(0,0,0,.92);
}

.hero h1 em { color: #e4d3ae; }

.hero-lead {
  margin-top: 25px;
  color: rgba(241,237,229,.66);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
}

.hero-actions { margin-top: 37px; }

.button {
  min-height: 48px;
  padding: 13px 23px;
  border-color: rgba(191,160,94,.58);
  background: #d7bf8b;
  letter-spacing: .22em;
  box-shadow: 0 14px 45px rgba(0,0,0,.16);
}

.button-dark,
.button-light {
  border-color: rgba(217,195,145,.34);
  color: rgba(241,237,229,.88);
  background: rgba(7,7,7,.5);
  backdrop-filter: blur(12px);
}

.button:hover { transform: translateY(-1px); }

.scroll-cue { bottom: 20px; color: rgba(241,237,229,.46); letter-spacing: .3em; }
.scroll-cue::after { height: 31px; opacity: .55; }

.manifesto {
  position: relative;
  padding: clamp(110px, 14vw, 190px) 24px;
  border-bottom: 1px solid rgba(191,160,94,.1);
  background: #080808;
}

.manifesto::before {
  display: block;
  margin-bottom: 34px;
  color: rgba(191,160,94,.68);
  content: "MANIFIESTO · 01";
  font-size: 8px;
  letter-spacing: .36em;
}

.manifesto blockquote {
  max-width: 1040px;
  font-size: clamp(42px, 6.3vw, 80px);
  line-height: .98;
}

.manifesto p { max-width: 600px; margin-top: 34px; color: #857f75; line-height: 1.85; }

.feature {
  min-height: max(780px, 96svh);
  border-bottom: 1px solid rgba(191,160,94,.1);
}

.feature-overlay {
  background:
    linear-gradient(90deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.73) 35%, rgba(5,5,5,.06) 73%),
    linear-gradient(0deg, rgba(5,5,5,.78), transparent 55%);
}

.feature-content { padding-top: 150px; padding-bottom: 95px; }
.feature-copy { max-width: 610px; padding-left: 28px; border-left: 1px solid rgba(191,160,94,.3); }
.display-title { font-size: clamp(72px, 10vw, 132px); }
.feature h2 small { margin-top: 29px; color: rgba(241,237,229,.83); line-height: 1.08; }
.feature-copy > p { margin-top: 28px; color: rgba(241,237,229,.58); line-height: 1.8; }

.section { padding: clamp(105px, 12vw, 165px) 0; }
.section-heading { margin-bottom: 60px; }
.section-heading h2,
.editorial-copy h2,
.page-intro h1 { line-height: .91; }

.archive-preview,
.entre-preview,
.catalogue { position: relative; }

.archive-preview::before,
.entre-preview::before,
.catalogue::before,
.worlds::before,
.authors-preview::before {
  position: absolute;
  top: 34px;
  left: max(36px, calc((100vw - min(1240px, calc(100vw - 72px))) / 2));
  color: rgba(191,160,94,.48);
  font-size: 8px;
  letter-spacing: .32em;
}

.archive-preview::before { content: "ARCHIVO · 03"; }
.worlds::before { content: "UNIVERSOS · 04"; color: rgba(89,25,35,.56); }
.entre-preview::before { content: "ENTRE PÁGINAS · 05"; }
.catalogue::before { content: "BIBLIOTECA · 06"; }
.authors-preview::before { content: "AUTORES · 07"; color: rgba(89,25,35,.58); }

.archive-preview { background: #0a0a09; }
.editorial-split { gap: clamp(55px, 8vw, 120px); }
.editorial-image { overflow: hidden; }
.editorial-image::before { inset: 18px; border-color: rgba(222,199,146,.34); }
.editorial-image img { aspect-ratio: 16 / 10; transition: transform 1.1s cubic-bezier(.18,.7,.2,1), filter .7s ease; }
.editorial-image:hover img { transform: scale(1.018); filter: saturate(.86) contrast(1.04); }
.editorial-copy > p { line-height: 1.85; }

.worlds { position: relative; padding-top: clamp(110px, 13vw, 175px); background: #ede8de; }
.world-grid { gap: 14px; }
.world-card { min-height: 540px; }
.world-card::after { background: linear-gradient(0deg, rgba(0,0,0,.96), rgba(0,0,0,.06) 68%); }
.world-info { padding: 34px; }
.world-info h3 { margin-top: 10px; font-size: clamp(34px, 3.7vw, 51px); }
.world-info p { margin-top: 7px; color: rgba(241,237,229,.58); }
.world-info span { color: #d7bd84; letter-spacing: .26em; }

.entre-preview { background: #080808; }
.catalogue { background: #0b0b0a; }
.books-grid { gap: 44px 22px; }
.book-cover { box-shadow: 0 24px 50px rgba(0,0,0,.36); }
.book h3 { margin-top: 18px; color: rgba(241,237,229,.92); font-size: 22px; }
.book p { color: #79746b; letter-spacing: .15em; }

.authors-preview { position: relative; background: #e7dfd2; }
.authors-preview .editorial-image::before { border-color: rgba(89,25,35,.24); }

.site-footer { padding-top: 88px; background: #060606; }
.footer-grid { gap: 70px; }
.footer-brand p { color: #827c73; font-size: 24px; }
.footer-column a { color: #9f988c; }

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(5,5,5,.94), rgba(5,5,5,.35) 53%, rgba(5,5,5,.05)),
    linear-gradient(0deg, rgba(5,5,5,.94), transparent 70%);
}

.page-intro { padding-bottom: 95px; }
.page-intro h1 { max-width: 850px; font-size: clamp(58px, 7vw, 92px); }
.dossier { border-color: rgba(191,160,94,.18); }
.tool-card { border-color: rgba(89,25,35,.18); background: rgba(255,255,255,.2); }

@keyframes hero-v2-in {
  from { opacity: .35; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 820px) {
  :root { --shell: min(calc(100% - 34px), 690px); }
  .site-header { height: 70px; }
  .hero-content::before { height: 34px; margin-bottom: 16px; }
  .hero h1 { max-width: 650px; font-size: clamp(55px, 14vw, 82px); }
  .hero-lead { max-width: none; font-size: 8px; letter-spacing: .26em; }
  .feature-overlay { background: linear-gradient(0deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.64) 49%, rgba(5,5,5,.06) 84%); }
  .feature-copy { padding-left: 0; border-left: 0; }
  .archive-preview::before,
  .entre-preview::before,
  .catalogue::before,
  .worlds::before,
  .authors-preview::before { left: 17px; }
}

@media (max-width: 560px) {
  .hero-content { width: calc(100vw - 30px); margin-top: 0; }
  .hero .eyebrow { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(50px, 15.2vw, 69px); line-height: .9; }
  .hero-actions { margin-top: 29px; }
  .scroll-cue { display: none; }
  .manifesto { padding-top: 105px; padding-bottom: 105px; }
  .manifesto blockquote { font-size: clamp(39px, 12vw, 58px); }
  .feature { min-height: 780px; }
  .feature-content { padding-bottom: 62px; }
  .display-title { font-size: 76px; }
  .section { padding-top: 115px; padding-bottom: 100px; }
  .world-card, .world-card:first-child { min-height: 510px; }
  .books-grid { gap: 32px 15px; }
}
