:root {
  color-scheme: light;
  --paper: #f7f1e5;
  --ink: #17283b;
  --wine: #611f2d;
  --gold: #eed096;
  --line: #ded4c2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, .brand, .book, .mini { font-family: Georgia, serif; }
.wrap { width: min(1120px, 90%); margin-inline: auto; }
.masthead, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.masthead { padding-block: 1.25rem; }
.brand { font-size: 1.6rem; font-weight: bold; text-decoration: none; }
.brand span { color: #966c30; }
.brand em { font-weight: normal; }
nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }
nav a { font-size: .9rem; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.hero { background: var(--ink); color: #fff4df; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 570px; align-items: stretch; }
.hero-copy { padding: clamp(2.4rem, 6vw, 5rem) 1rem clamp(2rem, 5vw, 4rem) 0; z-index: 1; }
.eyebrow, small { font: 700 .7rem/1.5 system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { color: var(--gold); }
h1 { margin: .25em 0; font-size: clamp(3.2rem, 7.5vw, 7.4rem); line-height: .87; letter-spacing: -.075em; font-weight: 500; }
h1 i { color: var(--gold); font-weight: 400; }
.intro { max-width: 39ch; color: #f2e7d4; margin-block: 1.6rem; }
.button { display: inline-flex; gap: 1.5rem; align-items: center; background: var(--gold); color: var(--ink); padding: .8rem 1rem; text-decoration: none; font-weight: 700; font-size: .86rem; }
.button:hover { background: #fae3b2; }
.stage { display: grid; place-items: center; min-height: 460px; position: relative; isolation: isolate; background: radial-gradient(ellipse at 47% 42%, #755050 0%, #492c3b 42%, #17283b 76%); }
.stage::before { content: ""; position: absolute; width: min(90%, 430px); aspect-ratio: 1; border: 1px solid #eed09660; border-radius: 50%; z-index: -1; }
.stage::after { content: "✦"; position: absolute; right: 7%; top: 16%; color: var(--gold); font-size: 2rem; }
.book { width: clamp(175px, 24vw, 285px); aspect-ratio: .68; display: flex; flex-direction: column; justify-content: space-between; text-align: center; padding: 1.4rem .7rem; border: 5px double #d5ab71; transform: rotate(-8deg); box-shadow: inset 8px 0 #14040740, 8px 5px #dbc8a7, 18px 22px 40px #090b14bb; }
.cover-holiday { background: var(--wine); color: #ffe4ab; }
.star { font-size: 2rem; line-height: 1; }
.cover-title { font-size: clamp(1.7rem, 3.2vw, 3.3rem); line-height: .91; letter-spacing: -.05em; }
.cover-rule { height: 1px; width: 40%; background: currentColor; margin-inline: auto; }
.catalogue { padding-block: clamp(2.4rem, 7vw, 5rem); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .75rem; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; }
.section-title h2 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 0; font-weight: 500; letter-spacing: -.055em; }
.section-title p, article p { color: #504b44; }
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 3vw, 2.2rem); }
article { scroll-margin-top: 1.5rem; }
article h3 { font-size: 1.5rem; line-height: 1.15; margin: 1rem 0 .45rem; }
article p { margin: 0; }
.tile { display: grid; place-items: center; aspect-ratio: 1.3; }
.tile-holiday { background: #dfbbb5; }
.tile-med { background: #ead4a6; }
.tile-365 { background: #ced5c4; }
.mini { width: 42%; aspect-ratio: .72; padding: .8rem .35rem; display: flex; flex-direction: column; justify-content: space-around; text-align: center; box-shadow: 3px 1px #fff3da, 8px 8px 15px #1c1c1c3d; transform: rotate(-5deg); line-height: 1.05; font-size: clamp(.85rem, 1.7vw, 1.55rem); }
.mini small { font-size: clamp(.4rem, .75vw, .62rem); }
.cover-med { background: #b94a30; color: #fff1bd; }
.cover-365 { background: #294c3d; color: #f3e7ae; }
.cover-365 b { font-size: 2em; }
footer { border-top: 1px solid var(--line); }
.foot { padding-block: 1.4rem; font-size: .85rem; }
@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { min-height: 335px; margin-inline: -5vw; }
  .stage::before { width: 280px; }
  .shelf { grid-template-columns: 1fr; gap: 2rem; }
  .mini { max-width: 155px; font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Each book uses one third of the shared cover-art image. */
.book, .mini {
  background-image: url("portadas.webp");
  background-repeat: no-repeat;
  background-size: 300% 100%;
  color: #fff3da;
  justify-content: flex-start;
  align-items: center;
  aspect-ratio: .59;
}
.cover-holiday { background-position: left center; }
.cover-med { background-position: center center; }
.cover-365 { background-position: right center; }
.book {
  border: 1px solid #deb477;
  gap: clamp(.55rem, 1.65vw, 1.3rem);
  padding-top: 9%;
  width: clamp(178px, 22vw, 258px);
  transform: rotate(-6deg);
}
.cover-title { font-size: clamp(1.7rem, 3.2vw, 2.85rem); }
.cover-subtitle { font-size: clamp(.38rem, .68vw, .62rem); letter-spacing: .06em; }
.mini {
  width: 43%;
  gap: .55rem;
  padding-top: 6%;
  font-size: clamp(.72rem, 1.5vw, 1.25rem);
}
.cover-365 b { font-size: 1.7em; }
@media (max-width: 700px) {
  .stage { min-height: 390px; }
  .book { padding-top: 1.25rem; }
  .mini { font-size: clamp(1.05rem, 4vw, 1.4rem); }
}
.masthead { min-height: 76px; }
.hero {
  background: #210e10 url("mesa-navidad.webp") center 48% / cover no-repeat;
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1a090de8 0%, #211018c2 38%, #280b1240 85%);
  z-index: -1;
}
.hero-grid { min-height: 610px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.stage { background: none; }
.stage::before { border-color: #eed09642; }
.stage::after { display: none; }
.stage .book { width: clamp(190px, 23vw, 285px); }
.section-title { margin-bottom: 2rem; }
.shelf article { background: #fffaf0; border: 1px solid var(--line); padding-bottom: 1.6rem; }
.shelf article h3, .shelf article p { margin-inline: 1.25rem; }
.shelf article p { font-size: .95rem; }
.tile { aspect-ratio: 1.2; overflow: hidden; }
.tile-holiday { background: radial-gradient(ellipse at 40% 40%, #eacac0, #cda09d); }
.tile-med { background: radial-gradient(ellipse at 40% 40%, #f3e5c4, #d5bc8a); }
.tile-365 { background: radial-gradient(ellipse at 40% 40%, #e5e9d8, #bfcab2); }
.mini { width: 41%; box-shadow: 3px 1px #fff3da, 12px 14px 22px #291b2345; }
.feature { background: #213b32; color: #fff4df; }
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(1rem, 5vw, 4rem); padding-block: 3rem; }
.feature h2 { font-size: clamp(2.2rem, 4.5vw, 4.3rem); line-height: 1; font-weight: 400; margin: .25em 0; letter-spacing: -.05em; }
.feature-grid > p { max-width: 46ch; }
@media (max-width: 700px) {
  .hero-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero { background-position: 64% center; }
  .hero::before { background: linear-gradient(#1b090ef0, #1c080db0 55%, #1c080d4a); }
  .stage { min-height: 380px; }
  .mini { width: 42%; max-width: 152px; }
  .tile { aspect-ratio: 1.3; }
  .feature-grid { padding-block: 2rem; gap: .3rem; }
}

.brand { display: inline-flex; gap: .6rem; align-items: center; }
.brand .brand-name { color: var(--ink); }
.brand-crest { object-fit: contain; flex: none; }
.foot .brand-crest { width: 36px; height: 36px; }
.cover-crest { object-fit: contain; flex: none; filter: drop-shadow(0 2px 3px #100b0b80); }
.book { padding-top: clamp(.85rem, 2.3vw, 2rem); gap: clamp(.35rem, 1vw, .75rem); }
.book .cover-crest { width: clamp(40px, 5vw, 66px); height: auto; }
.book .cover-title { font-size: clamp(1.45rem, 3vw, 2.65rem); text-shadow: 0 2px 5px #1a0809; }
.mini { padding: clamp(.35rem, 1vw, .75rem) .35rem 0; gap: .25rem; }
.mini .cover-crest { width: min(32%, 38px); height: auto; }
.mini > span { text-shadow: 0 1px 5px #100b0b; }
#cassden-365 { scroll-margin-top: 1rem; }
