:root {
  color-scheme: light;
  --ink: #142130;
  --night: #0e1926;
  --deep: #0b1520;
  --paper: #faf7f1;
  --cream: #f2ebdf;
  --white: #fffdf8;
  --gold: #dfbb78;
  --warm: #81551d;
  --line: #d8cbb6;
  --subtle: #4e555c;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, select { color: inherit; font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 92px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.15rem); letter-spacing: -.045em; text-wrap: balance; }
h3 { font-size: clamp(1.7rem, 2.6vw, 2.45rem); letter-spacing: -.035em; }
:focus-visible { outline: 2px solid #97561a; outline-offset: 5px; }
.site-header :focus-visible, .hero :focus-visible, .purchase-card :focus-visible, .footer :focus-visible { outline-color: var(--gold); }
::selection { background: #e6c785; color: var(--deep); }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10; background: var(--white); padding: 10px 16px; }

.site-header { position: sticky; z-index: 3; top: 0; background: var(--deep); border-bottom: 1px solid #ffffff18; color: var(--white); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.identity { display: inline-flex; align-items: center; gap: 12px; font: 1.18rem/1.15 var(--serif); white-space: nowrap; text-decoration: none; }
.identity img { width: 33px; mix-blend-mode: screen; }
.site-nav { display: flex; gap: clamp(16px, 2.7vw, 39px); align-items: center; }
.site-nav a { text-decoration: none; font-size: .86rem; font-weight: 550; white-space: nowrap; color: #e8e1d6; }
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-edition { color: var(--gold); padding: 8px 13px; border: 1px solid #cba15d75; }
.nav-edition span { margin-left: 5px; }
.menu-button { background: transparent; border: 1px solid #cba15d75; color: var(--gold); padding: 6px 11px; min-height: 42px; font-size: .85rem; }
.menu-button span { margin-left: 5px; }

.hero {
  background: radial-gradient(ellipse at 78% 55%, #28364a 0, #172638 33%, transparent 68%), var(--night);
  color: var(--white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 41%;
  background: repeating-radial-gradient(ellipse 94% 134% at 67% 62%, transparent 0 52px, #cba15d18 53px 54px, transparent 55px 105px);
  opacity: .65;
  mask-image: linear-gradient(90deg, transparent, #000 34%);
}
.hero-inner { min-height: 615px; display: grid; grid-template-columns: 1.24fr .76fr; align-items: center; gap: 46px; padding-block: 47px 37px; }
.hero-copy { padding-bottom: 13px; }
.kicker { display: flex; gap: 9px; align-items: center; color: var(--warm); font-size: .72rem; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; line-height: 1.4; }
.hero .kicker, .purchase-card .kicker { color: var(--gold); }
.hero .kicker span { display: inline-block; flex: 0 0 30px; height: 1px; background: currentColor; }
.hero h1 { margin-top: 21px; font-size: clamp(3.85rem, 7.25vw, 7.75rem); letter-spacing: -.063em; line-height: .91; }
.hero h1 em { font-weight: 400; color: var(--gold); }
.subtitle { max-width: 37ch; margin-top: 29px; color: #e8e0d1; font: clamp(1.25rem, 2.28vw, 1.79rem)/1.26 var(--serif); text-wrap: pretty; }
.byline { color: #d6dce3; font-size: .95rem; font-weight: 550; margin-top: 18px; }
.actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 13px; padding: 10px 18px; min-height: 46px; font-size: .86rem; font-weight: 700; text-decoration: none; line-height: 1.35; text-align: center; border: 1px solid transparent; }
.button.primary { background: var(--gold); color: var(--deep); border-color: var(--gold); }
.button.primary:hover { background: #f2d7a3; border-color: #f2d7a3; }
.button.ghost { color: var(--white); border-color: #c9c4b675; }
.button.ghost:hover { background: #ffffff12; }
.button.ink { background: var(--ink); color: var(--white); }
.button.ink:hover { background: #2c4155; }
.cover-wrap { justify-self: center; width: min(100%, 337px); }
.cover-link { display: block; text-decoration: none; }
.cover { width: 100%; box-shadow: -12px 22px 52px #050b13d9, 0 0 0 1px #e4c2876b; transition: transform .2s ease; }
.cover-link:hover .cover { transform: translateY(-4px); }
.cover-expand { display: flex; align-items: center; justify-content: center; gap: 7px; color: #e1d5c2; font-size: .78rem; padding: 10px 0 0; }
.cover-expand span { color: var(--gold); font-size: 1rem; }
.cover-link:hover .cover-expand { text-decoration: underline; text-underline-offset: 4px; }

.edition-strip { background: #eae0ce; border-bottom: 1px solid #ded1bb; }
.edition-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.edition-facts div { padding: 16px 22px 17px; border-left: 1px solid #cdbda4; }
.edition-facts div:first-child { border-left: 0; padding-left: 0; }
.edition-facts dt { color: #6f4a20; font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.edition-facts dd { margin-top: 2px; font-size: .91rem; font-weight: 550; }

.section { padding-block: clamp(54px, 7.3vw, 105px); }
.work-grid, .purchase-grid { display: grid; grid-template-columns: 1fr 1.23fr; gap: clamp(32px, 8vw, 124px); align-items: start; }
.section-intro h2, .author-inner h2, .purchase h2 { margin: 11px 0 20px; }
.section-intro h2, .purchase h2 { text-wrap: initial; }
.section-intro > p:not(.kicker), .purchase-grid > div > p:not(.kicker), .author-inner p:not(.kicker) { color: var(--subtle); max-width: 54ch; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #774c18; font-size: .86rem; font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--ink); text-decoration-thickness: 2px; }
.section-intro .text-link { margin-top: 21px; }
.chapter { border-top: 1px solid var(--line); }
.chapter:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.chapter summary { display: grid; grid-template-columns: 49px 1fr 20px; align-items: center; gap: 14px; padding: 20px 1px; }
.chapter summary:hover .chapter-title { color: var(--warm); }
.chapter-number { font: 2rem/1 var(--serif); color: var(--warm); letter-spacing: -.075em; }
.chapter-title { display: block; font: clamp(1.47rem, 2.5vw, 2.1rem)/1.12 var(--serif); letter-spacing: -.035em; }
.chapter-meta { display: block; margin-top: 5px; color: var(--subtle); font-size: .78rem; }
.details-mark { width: 17px; height: 17px; display: inline-grid; place-items: center; color: var(--warm); }
.details-mark::before, .details-mark::after { content: ""; grid-area: 1/1; width: 13px; height: 1px; background: currentColor; }
.details-mark::after { transform: rotate(90deg); }
details[open] > summary .details-mark::after { transform: rotate(0); }
.chapter-body { margin: -1px 23px 20px 64px; color: var(--subtle); font-size: .93rem; }
.chapter-body .text-link { margin-top: 8px; }

.documents { background: var(--cream); border-block: 1px solid #e7ddce; }
.documents h2 { margin-bottom: 32px; }
.documents-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.document-card { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; background: var(--white); border: 1px solid #d9cbb6; }
.document-card:target { outline: 2px solid #ab7b42; outline-offset: 3px; }
.document-art { position: relative; height: clamp(160px, 19vw, 238px); overflow: hidden; background: radial-gradient(ellipse at 56% 72%, #f5e8d3, #dbceb6); border-bottom: 1px solid #d9cbb6; }
.document-art img { position: absolute; left: 53%; width: clamp(135px, 16vw, 211px); max-width: 54%; top: 11%; background: white; box-shadow: 0 8px 23px #37251034; transform: translateX(-42%) rotate(7deg); }
.document-art img.page-secondary { top: 19%; transform: translateX(-93%) rotate(-11deg); }
.sample-art { background: radial-gradient(ellipse at 55% 65%, #526074, #213245 85%); border-bottom-color: #30445a; }
.sample-art img { transform: translateX(-45%) rotate(8deg); box-shadow: 0 8px 23px #07101c70; }
.document-copy { padding: 23px 26px 0; }
.document-copy h3 { margin: 8px 0 11px; }
.document-copy p:not(.kicker) { color: var(--subtle); max-width: 46ch; }
.document-actions { padding: 19px 26px 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

.author-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(27px, 6vw, 80px); align-items: center; max-width: 875px; }
.author-inner img { width: clamp(74px, 13vw, 123px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; outline: 1px solid #c8a673; outline-offset: 3px; }
.author-inner h2 { font-size: clamp(1.9rem, 3.8vw, 3.65rem); text-wrap: initial; }
.purchase { background: #eee5d7; border-block: 1px solid #e3d6c1; }
.purchase-grid { align-items: start; grid-template-columns: 1fr .85fr; }
.purchase-terms { margin-top: 21px; max-width: 510px; }
.purchase-terms details { border-bottom: 1px solid var(--line); }
.purchase-terms summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; gap: 12px; font-weight: 650; }
.purchase-terms details p { color: var(--subtle); margin-bottom: 14px; font-size: .94rem; }
.purchase-card { position: relative; background: var(--night); color: var(--white); padding: clamp(24px, 4vw, 42px); border-top: 3px solid #b78c4f; }
.purchase-card h3 { margin-top: 9px; }
.purchase-card ul { padding-left: 18px; color: #e3e1df; margin: 18px 0; }
.purchase-card li::marker { color: var(--gold); }
#checkout-notice, #contact-email { color: #d2d5de; font-size: .89rem; }
#price { margin-top: 8px; color: var(--gold); }
#contact-email { margin-top: 14px; }
.collection { padding-block: 38px; }
.collection-inner { display: flex; gap: 22px; align-items: center; }
.collection img { box-shadow: 0 3px 13px #34281c2b; width: 67px; flex: 0 0 auto; }
.collection h2 { margin: 5px 0; font-size: clamp(1.45rem, 2.45vw, 2.2rem); text-wrap: initial; }
.collection p:not(.kicker) { color: var(--subtle); font-size: .87rem; }
.collection .text-link { margin-top: 6px; }
.footer { background: var(--deep); color: #ddd6c7; font-size: .79rem; }
.footer-inner { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 24px; row-gap: 5px; padding-block: 22px; }
.footer a { margin-left: auto; color: var(--gold); text-underline-offset: 3px; }

.reader { padding: 0; color: var(--ink); width: min(760px, calc(100% - 32px)); max-width: none; max-height: 91dvh; border: 1px solid #8d7048; background: var(--paper); box-shadow: 0 15px 55px #0007; }
.reader[open] { display: flex; flex-direction: column; }
.reader::backdrop { background: #05101cdb; }
body:has(.reader[open]) { overflow: hidden; }
.reader-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; }
.reader-head h2 { font-size: clamp(1.22rem, 3.6vw, 1.85rem); margin: 0; }
.reader-original { margin-top: 3px; }
.reader-close { background: transparent; color: var(--ink); border-color: #ab9676; min-height: 42px; padding-block: 5px; }
.reader-close:hover { background: #eae0ce; }
.reader-close span { font-size: 1.2rem; }
.reader-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; background: #eae0ce; border-block: 1px solid #d3c4ab; padding: 7px 20px; }
.reader-button, .reader-tools select { background: var(--white); border: 1px solid #ac987a; min-height: 41px; padding: 4px 9px; border-radius: 0; }
.reader-button { min-width: 43px; font-weight: 700; }
.reader-button:disabled { opacity: .48; cursor: default; }
.reader-button:enabled:hover, .reader-tools select:hover { background: #fcf0d9; }
.reader-count { font-size: .83rem; white-space: nowrap; }
.reader-jump { margin-left: auto; min-width: 0; }
.reader-tools select { max-width: 100%; font-size: .84rem; }
.reader-body { overflow: auto; min-height: 0; overscroll-behavior: contain; padding: 16px; background: #c4b9a9; scrollbar-gutter: stable both-edges; }
.reader-image { margin: 0 auto; width: min(100%, 625px); aspect-ratio: 419.5 / 595.3; background: var(--white); box-shadow: 0 3px 14px #40342a3c; }
.reader[data-mode="portada"] .reader-image { width: min(100%, 450px); }
.reader-error { padding: 16px; background: var(--white); }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 72px); }
  .hero-inner { gap: 25px; min-height: 560px; }
  .cover-wrap { max-width: 300px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 42px); }
  .header-inner { flex-wrap: wrap; min-height: 62px; gap: 0 12px; padding-block: 7px; }
  .identity img { width: 29px; }
  .site-nav { flex-wrap: wrap; flex: 1 0 100%; padding-block: 7px; gap: 8px 18px; }
  .site-nav a { padding-block: 8px; }
  .menu-button:not([hidden]) + .site-nav:not(.is-open) { display: none; }
  .site-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0 4px; }
  .site-nav.is-open a { display: block; min-height: 42px; }
  .site-nav.is-open .nav-edition { width: fit-content; grid-column: span 2; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; padding-block: 42px 27px; gap: 30px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(3rem, 11.4vw, 5.2rem); }
  .subtitle { margin-top: 19px; }
  .byline { margin-top: 13px; }
  .actions { margin-top: 22px; }
  .hero::before { inset: 30% 0 0 0; mask-image: linear-gradient(180deg, transparent, #000 40%); }
  .cover-wrap { max-width: min(235px, 71%); }
  .edition-facts div { padding: 14px 8px 14px 12px; }
  .edition-facts dd { font-size: .8rem; line-height: 1.42; }
  .work-grid, .purchase-grid { grid-template-columns: 1fr; }
  .documents-grid { gap: 16px; }
  .document-copy { padding: 15px 16px 0; }
  .document-actions { padding: 15px 16px 18px; }
}
@media (max-width: 490px) {
  .documents-grid { grid-template-columns: 1fr; }
  .hero .actions { column-gap: 8px; }
  .hero .actions .button { padding-inline: 10px; gap: 5px; font-size: .78rem; }
  .chapter summary { grid-template-columns: 35px 1fr 17px; gap: 9px; }
  .chapter-body { margin-left: 45px; }
  .author-inner { grid-template-columns: 1fr; gap: 16px; }
  .author-inner img { width: 62px; }
  .footer a { margin-left: 0; }
  .reader { width: calc(100% - 16px); max-height: 94dvh; }
  .reader-head, .reader-tools { padding-inline: 10px; }
  .reader-body { padding: 6px; scrollbar-gutter: auto; }
  .reader-jump { margin-left: 0; flex: 1; }
}
@media (max-width: 365px) {
  .wrap { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cover { transition: none; }
}

.arrow { display: inline-block; position: relative; flex: 0 0 auto; width: .68em; height: .68em; }
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { width: 100%; height: 1px; left: 0; top: calc(50% - .5px); background: currentColor; }
.arrow::after { width: 62%; height: 62%; right: 0; top: 19%; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.arrow.diagonal { transform: rotate(-45deg); }
.arrow.down { transform: rotate(90deg); }
.arrow.up { transform: rotate(-90deg); }
.arrow.left { transform: rotate(180deg); }
.menu-icon { display: inline-block; vertical-align: 2px; width: 12px; height: 1px; background: currentColor; box-shadow: 0 4px currentColor, 0 -4px currentColor; }

.excerpt { background: var(--white); border-bottom: 1px solid #e7ddce; }
.excerpt-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.35fr); gap: clamp(26px, 5.7vw, 82px); align-items: start; }
.excerpt-heading h2 { margin: 12px 0 16px; font-size: clamp(2.2rem, 4vw, 3.7rem); text-wrap: initial; }
.excerpt-source { color: var(--warm); font-size: .84rem; }
.excerpt-copy { border-left: 1px solid var(--line); padding-left: clamp(19px, 3.2vw, 43px); font: 1.12rem/1.62 var(--serif); max-width: 65ch; }
.excerpt-copy p + p { margin-top: .95em; }
.excerpt-copy ol { margin-block: .75em 1em; padding-left: 1.5em; }
.excerpt-copy li + li { margin-top: .38em; }
.excerpt-copy li::marker { color: var(--warm); font-variant-numeric: tabular-nums; }
.excerpt-actions, .purchase-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; font-family: var(--sans); }
.purchase-actions .text-link { color: var(--gold); }
.purchase-actions .text-link:hover { color: var(--white); }

.reader-pagination { display: flex; align-items: center; gap: 8px; }
.reader-tools .reader-zoom { min-width: 0; }
.reader-tools .reader-jump { min-width: 0; }
.reader-body:focus-visible { outline-offset: -3px; }
.reader-body[data-zoom="125"] .reader-image { width: min(125%, 781px); max-width: none; }
.reader-body[data-zoom="150"] .reader-image { width: min(150%, 938px); max-width: none; }
.reader-body[data-zoom="200"] .reader-image { width: min(200%, 1250px); max-width: none; }

@media (max-width: 720px) {
  .hero-inner { padding-block: 31px 22px; gap: 23px; }
  .excerpt-grid { grid-template-columns: 1fr; gap: 17px; }
  .excerpt-heading h2 { margin-block: 8px 10px; }
  .excerpt-copy { padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 490px) {
  .reader-pagination { flex: 1 0 100%; }
  .reader-tools .reader-zoom, .reader-tools .reader-jump { flex: 1 1 0; margin: 0; }
  .reader-tools .reader-zoom select, .reader-tools .reader-jump select { width: 100%; }
}

/* Contacto editorial y asistencia en pantallas pequeñas. */
#contact-email, .purchase-support { overflow-wrap: anywhere; }
#contact-email a, .purchase-support a { text-underline-offset: .2em; }
.purchase-support { margin-top: 12px; color: #d2d5de; font-size: .89rem; }

/* ENLACES_PUBLICOS_20261121 */
.catalogue-return{padding-top:18px;padding-bottom:6px;font-size:.9rem}.catalogue-return a{text-decoration:underline;text-underline-offset:4px}.purchase-card #price{font-size:2rem;font-weight:700}.prelaunch-note{margin:20px 0;line-height:1.7}.prelaunch-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:28px}
