:root{color-scheme:dark;--bg:#131913;--panel:#20271d;--ink:#f6efdc;--muted:#d2cbb9;--gold:#edca86;--line:#ffffff28;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:1rem/1.65 system-ui,sans-serif}a{color:inherit}a:focus-visible{outline:2px solid var(--gold);outline-offset:5px}h1,h2,h3,.brand{font-family:var(--serif);font-weight:400;line-height:1.05;margin:0}h1{font-size:clamp(3rem,7vw,6.7rem);letter-spacing:-.06em}h2{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.04em}h3{font-size:1.65rem}p{margin:0;color:var(--muted)}.wrap{width:min(1160px,calc(100% - 3rem));margin-inline:auto}.top{border-bottom:1px solid var(--line);background:#131913}.bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:76px}.brand{font-size:1.28rem;text-decoration:none}.nav{display:flex;gap:clamp(.85rem,3vw,2rem);flex-wrap:wrap}.nav a{text-decoration:none;font-size:.9rem;padding:.45rem 0;color:var(--muted)}.nav a[aria-current],.nav a:hover{color:var(--gold);border-bottom:1px solid}.hero{position:relative;isolation:isolate;border-bottom:1px solid var(--line);overflow:hidden}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#131913 14%,#131913de 53%,#13191380),url(portada-libro-i.webp) right 53%/70% auto no-repeat}.layout{display:grid;grid-template-columns:1.35fr .65fr;gap:clamp(2rem,7vw,7rem);align-items:center;min-height:640px;padding-block:4.5rem}.copy{display:grid;gap:1.4rem;justify-items:start}.eyebrow{font-size:.88rem;text-transform:uppercase;letter-spacing:.15em;color:var(--gold);font-weight:650}.lede{font-size:1.16rem;max-width:47ch}.button{display:inline-flex;min-height:48px;align-items:center;background:var(--gold);color:#231c12;padding:.7rem 1.15rem;text-decoration:none;font-weight:650;border-radius:3px}.button:hover{background:#ffe0a1}.book{aspect-ratio:5/8;width:100%;max-width:315px;display:block;margin:auto;object-fit:cover;box-shadow:18px 24px 49px #0008}.typographic{display:grid;align-content:space-between;padding:1.65rem;text-align:center;border:1px solid #ffffff45;background:radial-gradient(ellipse at 65% 75%,#a1663c,#412c25 58%,#251e1b);color:#fff2d4}.typographic.third{background:radial-gradient(ellipse at 55% 75%,#806747,#303e37 63%,#202823)}.typographic strong{font:clamp(1.35rem,3.2vw,3rem)/1.07 var(--serif)}.typographic span{font-size:.88rem;letter-spacing:.08em}.section{padding-block:4.4rem}.section h2{margin-bottom:1.5rem}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}.card{background:var(--panel);border:1px solid var(--line);display:grid;gap:.8rem;align-content:start;text-decoration:none;padding:1.35rem;transition:border-color .2s}.card:hover{border-color:var(--gold)}.card .book{width:65%;margin:0 auto 1rem;box-shadow:6px 10px 22px #0007}.card strong{color:var(--gold);font-size:.9rem}.purchase{display:grid;gap:.7rem;border-left:2px solid var(--gold);padding-left:1rem}.purchase h2{font:650 1rem/1.4 system-ui;margin:0}.foot{border-top:1px solid var(--line);padding-block:1.6rem}.foot .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem}.foot a{color:var(--gold)}
@media(max-width:760px){.wrap{width:calc(100% - 2rem)}.bar{align-items:flex-start;flex-direction:column;justify-content:center;padding-block:.9rem;gap:.35rem}.layout{min-height:auto;grid-template-columns:1fr;padding-block:3rem;gap:2.4rem}.layout .book{width:min(70%,270px)}.grid{grid-template-columns:1fr}.card .book{width:min(55%,180px)}.hero:before{background-size:auto,cover}.section{padding-block:3rem}}

.series-hero:before {
  background: linear-gradient(90deg, #131913f0 2%, #1319139e 43%, #13191315 72%),
    url(/camino-de-la-vida.webp) center 57% / cover no-repeat;
}
.series-hero .layout {
  grid-template-columns: minmax(0, 640px);
  min-height: clamp(560px, 55vw, 760px);
}
@media (max-width: 760px) {
  .series-hero:before {
    background: linear-gradient(0deg, #13191315 0%, #131913cf 65%, #131913e8 100%),
      url(/camino-de-la-vida.webp) 90% center / cover no-repeat;
  }
  .series-hero .layout {
    align-items: start;
    min-height: 625px;
    padding-block: 3rem 14rem;
  }
}

img.book-cover {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}
.layout img.book-cover {
  width: min(100%, 240px, 34svh);
}
.card img.book-cover {
  width: min(60%, 160px);
}

.back-cover-copy {
  display: grid;
  gap: 1rem;
  max-width: 68ch;
}
.back-cover-copy strong {
  color: var(--gold);
}

.book-two-hero:before {
  background-image: linear-gradient(90deg, #101821 10%, #101821e8 49%, #1018218c),
    url(/portada-libro-ii.webp);
  background-position: center, right 62%;
}
.book-three-hero:before {
  background: linear-gradient(115deg, #171a19 15%, #242827 70%, #343936);
}
@media (max-width: 760px) {
  .book-two-hero:before {
    background-position: center, center 62%;
  }
}

.author-copy {
  display: grid;
  gap: 1rem;
  max-width: 68ch;
}

.edition-details {
  border-top: 1px solid var(--line);
}
.edition-details dl {
  max-width: 68ch;
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
}
.edition-details dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: .5rem 1rem;
  padding: .65rem 1rem;
}
.edition-details dl > div + div {
  border-top: 1px solid var(--line);
}
.edition-details dt {
  font-weight: 650;
}
.edition-details dd {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 440px) {
  .edition-details dl > div {
    grid-template-columns: 1fr;
    gap: .15rem;
  }
}

.author-layout {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
}
.author-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: #080808;
}
.author-portrait img {
  position: absolute;
  /* The square portrait begins 413 pixels down in the original 710px-wide capture. */
  top: -58.17%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 650px) {
  .author-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .author-portrait {
    max-width: 13rem;
  }
}
