:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #252420;
  --muted: #615a52;
  --accent: #85452f;
  --line: #ddd5c9;
  --sand: #f2ece3;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font: 400 1em/1.06 var(--serif); overflow-wrap: break-word; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #ead5c5; color: var(--ink); }
.shell { width: min(1120px, 100% - clamp(36px, 8vw, 112px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 12px; top: 12px; transform: translateY(-180%); padding: .7rem 1rem; background: var(--paper); }
.skip:focus { transform: none; }
#contenido:focus { outline: none; }

.site-header { background: #fffdf9; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 69px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; font: 1.1rem/1.2 var(--serif); text-decoration: none; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #b49a85; color: var(--accent); font: .78rem var(--serif); letter-spacing: -.04em; }
.site-header ul, .site-footer ul, .socials, .link-list { list-style: none; margin: 0; padding: 0; }
.site-header ul { display: flex; flex-wrap: wrap; gap: 0 clamp(.85rem, 2.5vw, 2.1rem); }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; position: relative; text-decoration: none; font-size: 1rem; }
.site-header nav a:is([aria-current], .nav-section) { color: var(--accent); }
.site-header nav a:is([aria-current], .nav-section)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; }

.hero { position: relative; isolation: isolate; container-type: inline-size; border-bottom: 1px solid var(--line); }
.hero-backdrop { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 50% 38%, #f9f5ed, #f0e7da 100%); }
.hero-inner { width: min(1440px, 100% - clamp(24px, 4vw, 64px)); min-height: 280px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: clamp(.75rem, 2vw, 2rem); align-items: center; align-content: center; text-align: center; padding-block: 2.1rem; }
.hero-copy { min-width: 0; }
.hero-art { width: 92%; justify-self: end; transform: translateX(calc((100cqw - min(1440px, 100cqw - clamp(24px, 4vw, 64px))) / 2 - clamp(12px, 1.8vw, 24px))); }
.hero-art img { width: 100%; }
.kicker { color: var(--accent); font-size: .7rem; line-height: 1.4; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-label { margin-bottom: 1rem; letter-spacing: .24em; }
.hero h1 { font-size: clamp(2.5rem, 7.15vw, 6.15rem); letter-spacing: -.063em; white-space: nowrap; }
.hero-rule { display: flex; align-items: center; justify-content: center; gap: .65rem; margin-top: 1.35rem; color: var(--accent); font-size: .72rem; }
.hero-rule span { width: 39px; height: 1px; background: #bca28d; }

.home-content { padding-block: clamp(2.2rem, 5.5vw, 4.6rem) clamp(3rem, 7vw, 6rem); }
.spotlight { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); align-items: center; gap: clamp(1.6rem, 6.3vw, 6.5rem); }
.spotlight-art { display: grid; place-items: center; min-width: 0; padding: clamp(1rem, 2vw, 1.75rem); background: #eae2d6; }
.spotlight-art img { width: min(100%, 400px); }
.spotlight h2 { margin: .35rem 0 .3rem; font-size: clamp(3.15rem, 7vw, 6.05rem); letter-spacing: -.06em; }
.edition { color: var(--muted); font-size: clamp(.94rem, 1.65vw, 1.18rem); }
.spotlight-excerpt { max-width: 39ch; margin-top: 1.25rem; font: 1.16rem/1.48 var(--serif); }
.spotlight-excerpt p + p { margin-top: .8em; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 46px; padding: .63rem 1.1rem; background: var(--ink); border: 1px solid var(--ink); color: #fffdf9; font-size: .87rem; font-weight: 650; text-align: center; text-decoration: none; }
.button:hover { background: var(--accent); border-color: var(--accent); color: #fffdf9; }
.button.outline { background: transparent; border-color: #a68d7c; color: #6c3827; }
.button.outline:hover { background: #ede0d5; border-color: var(--accent); }
.book-line { margin-top: 1.35rem; color: var(--muted); font-size: .77rem; }
.book-line span { margin-inline: .2rem; color: var(--accent); }
.text-link { color: #713e2b; font-weight: 650; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--ink); }
.section-link { display: inline-block; margin-top: 1.4rem; }

.section { margin-top: clamp(2.65rem, 6.6vw, 5.35rem); padding-top: clamp(1.3rem, 3vw, 2.1rem); border-top: 1px solid var(--line); }
.section > h2, .catalogue-feature h2 { margin-bottom: clamp(1.15rem, 2.9vw, 1.85rem); font-size: clamp(1.9rem, 4.1vw, 3.2rem); letter-spacing: -.045em; }
.project-grid, .download-grid, .quote-grid, .video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2.6vw, 1.75rem); }
.project-card a { display: block; height: 100%; border: 1px solid var(--line); background: #fffdf9; text-decoration: none; }
.project-card img { width: 100%; }
.project-info { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: .6rem; padding: clamp(.9rem, 3vw, 1.5rem); }
.project-info .kicker { grid-column: 1 / -1; margin-bottom: .4rem; }
.project-info h3 { font-size: clamp(1.45rem, 3vw, 2.12rem); }
.card-arrow { color: var(--accent); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 3.2vw, 2.4rem); }
.archive-card a { display: grid; grid-template-columns: clamp(84px, 9.4vw, 128px) minmax(0, 1fr); align-items: center; gap: .85rem; text-decoration: none; }
.archive-card img { width: 100%; }
.archive-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); }
.archive-card p { margin-top: .5rem; color: var(--muted); font-size: .79rem; }
.download-card { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); align-items: stretch; background: #fffdf9; border: 1px solid var(--line); }
.download-art { display: grid; place-items: center; min-width: 0; padding: clamp(.55rem, 2vw, 1.3rem); background: var(--sand); }
.download-art img { width: auto; max-height: 130px; box-shadow: 1px 2px 8px #30221824; }
.download-info { align-self: center; padding: clamp(.65rem, 2.6vw, 1.45rem); }
.download-info h3 { font-size: clamp(1.2rem, 2.7vw, 1.85rem); }
.download-info p { margin: .4rem 0 .55rem; color: var(--muted); font-size: .78rem; }
.download-info a { display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; font-size: .9rem; }
.app-downloads { margin-top: clamp(.9rem, 2.6vw, 1.75rem); }
.app-card { grid-template-columns: minmax(0, .35fr) minmax(0, 1fr); }
.app-art { color: var(--accent); }
.app-art svg { width: 64px; max-width: 100%; height: auto; }
.app-art img { width: 96px; box-shadow: none; }

.interior { padding-block: clamp(1.8rem, 5vw, 4.1rem) clamp(3.5rem, 8vw, 7rem); }
.page-heading { margin-bottom: clamp(1.8rem, 4.8vw, 3.7rem); }
.page-heading h1, .book-heading h1 { margin-top: .4rem; font-size: clamp(2.6rem, 6.65vw, 5.4rem); letter-spacing: -.058em; }
.catalogue-feature { display: grid; grid-template-columns: clamp(93px, 20vw, 190px) 1fr; gap: clamp(1rem, 5vw, 3.5rem); align-items: center; padding: clamp(1rem, 4vw, 2.65rem); background: var(--sand); }
.catalogue-feature :is(h2, h3) { margin: .3rem 0 .4rem; font-size: clamp(1.9rem, 4.1vw, 3.2rem); letter-spacing: -.045em; }
.catalogue-feature a { display: inline-block; margin-top: .7rem; }
.catalogue-archive { display: grid; gap: clamp(1rem, 3vw, 2rem); }
.back { display: inline-block; margin-bottom: 1.5rem; font-size: .88rem; }
.book-head { display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, 1fr); gap: clamp(1.2rem, 5vw, 4.5rem); align-items: center; }
.book-head-art { display: grid; place-items: center; background: var(--sand); padding: clamp(1rem, 2.5vw, 2rem); }
.book-head-art img { width: min(100%, 270px); box-shadow: 4px 7px 18px #30221826; }
.book-head-wide { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); }
.book-head-wide .book-head-art { padding: 0; }
.book-head-wide img { width: 100%; box-shadow: none; }
.book-heading .edition { margin-top: .55rem; }
.book-heading .claim { max-width: 48ch; margin-block: 1.2rem; font-size: .83rem; line-height: 1.6; letter-spacing: .02em; }
.archive-page .book-head { grid-template-columns: minmax(0, .38fr) minmax(0, 1fr); }
.archive-page .book-head-art img { width: min(100%, 190px); }
.archive-page .book-heading > p:last-child { margin-top: .5rem; }
.prose { max-width: 67ch; font: clamp(1.06rem, 1.85vw, 1.24rem)/1.72 var(--serif); }
.prose > * + * { margin-top: 1em; }
.prose ul { padding-left: 1.35em; }
.prose li + li { margin-top: .5em; }
.prose a { font: 650 .91rem var(--sans); }
.novella-tagline { max-width: 78ch; margin-bottom: 1.2rem; color: var(--muted); font: .78rem/1.65 var(--sans); letter-spacing: .04em; }
.reading-media > :not(h2) { max-width: 820px; }
.book-illustration { max-width: 820px; margin-top: 2rem; }
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.product-gallery figure { display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; gap: .65rem; background: var(--sand); padding: clamp(.6rem, 2vw, 1.25rem); }
.product-gallery img { width: auto; max-height: 330px; }
.product-gallery figcaption { color: var(--muted); font-size: .82rem; text-align: center; }
.reading-media > .physical-video { width: 100%; max-width: 680px; background: var(--ink); }
.subheading { margin: 1.85rem 0 .8rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.quote-grid { margin-top: 1rem; }
.quote-grid figure { padding: 1.2rem; border-left: 2px solid #a2684c; background: var(--sand); }
.quote-grid blockquote { font: 1.25rem/1.25 var(--serif); }
.quote-grid figcaption, .note { margin-top: .65rem; color: var(--muted); font-size: .83rem; }
.reading-media > .video-card, .video-feature { max-width: 680px; }
.video-card, .podcast-card, .review-card { display: block; background: #fffdf9; border: 1px solid var(--line); text-decoration: none; }
.video-art { display: grid; place-items: center; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #252420; }
.video-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 3.3rem; height: 3.3rem; padding-left: .15rem; border-radius: 50%; background: #1e1b17; border: 1px solid #fffaf0; color: #fffaf0; }
.video-card:hover .play { background: var(--accent); }
.video-caption { display: grid; gap: .2rem; padding: .75rem 1rem; font-size: .93rem; }
.video-caption > span { color: var(--muted); font-size: .78rem; }
.video-feature { margin-bottom: 1rem; }
.podcast-art { display: grid; place-items: center; aspect-ratio: 16/9; background: #064272; overflow: hidden; }
.podcast-art img { width: auto; height: 100%; object-fit: contain; min-height: 0; }
.review-art { display: grid; place-items: center; aspect-ratio: 16/9; padding: 1.25rem; background: var(--sand); }
.review-art img { width: 100%; height: 100%; max-width: 150px; max-height: 150px; object-fit: contain; }
.review-art img[src$="goodreads-resenas.svg"] { height: auto; max-width: 220px; }
.review-art img[src$="instagram-resenas.webp"] { clip-path: inset(12.5% round 20%); transform: scale(1.3); }
details { margin-top: 1rem; border: 1px solid var(--line); padding: .75rem 1rem; }
summary { width: fit-content; padding: .25rem 0; color: #713e2b; font-weight: 650; cursor: pointer; }
.book-page [aria-labelledby="opiniones"] summary { font-size: clamp(1.125rem, 2vw, 1.25rem); }
details .video-grid, details .link-list { margin-top: .8rem; }
.link-list { display: flex; flex-wrap: wrap; gap: .6rem 1rem; font-size: .88rem; }
.press-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.press-links li { border-bottom: 1px solid var(--line); }
.press-links a { display: block; padding: .75rem 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.6rem; max-width: 790px; }
.facts div { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .8rem; font-weight: 650; }
.facts dd { margin: 0; }
.author-layout { display: grid; grid-template-columns: minmax(0, .63fr) minmax(0, 1fr); align-items: start; gap: clamp(1.4rem, 5vw, 4rem); }
.author-layout figure { max-width: 400px; }
.contact-card { max-width: 720px; padding: clamp(1.2rem, 4vw, 2.8rem); background: var(--sand); }
.contact-card > p:first-child { max-width: 46ch; }
.contact-email { display: inline-block; margin-block: .8rem 1.2rem; font: clamp(1.12rem, 3.4vw, 2.1rem)/1.2 var(--serif); overflow-wrap: anywhere; }
.contact-social > h2 { font-size: clamp(1.6rem, 3.3vw, 2.25rem); }

.site-footer { background: #efe8de; border-top: 1px solid var(--line); }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1.5rem 2rem; padding-block: 2.1rem; }
.footer-main > div { display: grid; gap: .35rem; }
.footer-main > div > a:last-child { font-size: .86rem; }
.footer-name { font: 1.28rem/1.25 var(--serif); text-decoration: none; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.site-footer nav a { display: inline-flex; min-height: 34px; align-items: center; font-size: .84rem; text-decoration: none; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; }
.socials a { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .48rem .65rem; border: 1px solid #baa995; text-decoration: none; font-size: .8rem; }
.socials a:hover { border-color: var(--accent); }
.socials svg { width: 17px; height: 17px; flex: none; }
.contact-social .socials a { padding-inline: .85rem; font-size: .91rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; padding-block: .85rem 1.15rem; border-top: 1px solid #d2c7b8; color: var(--muted); font-size: .75rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 32px; }
.legal-page .page-heading { max-width: 880px; }
.legal-copy { max-width: 74ch; font-size: .95rem; line-height: 1.75; }
.legal-copy .section { margin-top: 2.2rem; padding-top: 1.25rem; }
.legal-copy .section > h2 { margin-bottom: .75rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.legal-copy p + p { margin-top: .8em; }
.legal-copy ul { padding-left: 1.2rem; }
.legal-copy li + li { margin-top: .5rem; }
.legal-copy a { overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 670px) {
  .header-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: .1rem; padding-top: .55rem; }
  .wordmark { min-height: 38px; }
  .site-header ul { gap: 0 clamp(.58rem, 3vw, 1.25rem); }
  .site-header nav a { font-size: .95rem; }
  .hero-inner { min-height: 190px; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-block: 1.5rem; }
  .hero-art { width: min(74%, 312px); }
  .hero h1 { font-size: clamp(2.55rem, 9.6vw, 4rem); white-space: normal; }
  .hero-rule { margin-top: 1.05rem; }
  .spotlight, .book-head, .book-head-wide, .archive-page .book-head, .author-layout { grid-template-columns: minmax(0, 1fr); }
  .spotlight-art img { width: min(100%, 340px); }
  .book-head-art img { width: min(70%, 225px); }
  .book-head-wide img { width: 100%; }
  .project-grid, .download-grid { grid-template-columns: minmax(0, 1fr); }
  .archive-card a { gap: .6rem; }
}

@media (max-width: 475px) {
  .archive-grid, .quote-grid, .video-grid, .press-links { grid-template-columns: minmax(0, 1fr); }
  .download-card { grid-template-columns: minmax(0, .48fr) minmax(0, 1fr); }
  .facts { gap: 0 .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
