/* Seasonal draft. The supplied background and official logo remain unchanged. */
:root {
  color-scheme: dark;
  --paper: #07162b;
  --ink: #fbf0d6;
  --muted: #d1d8e2;
  --orange: #e1b75e;
  --line: #dcb77540;
  --gold: #d6ad59;
  --night: #061326;
  --panel: #07162be6;
}
html { background: var(--night); scroll-padding-top: 28px; }
body { background: transparent; isolation: isolate; position:relative; }
main, body > footer { position:relative; z-index:1; }
.christmas-background {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url('assets/christmas-background-4k.png') center center / cover no-repeat;
  background-image: image-set(url('assets/christmas-background-4k.webp') type('image/webp'), url('assets/christmas-background-4k.png') type('image/png'));
}
.christmas-background::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #020d2280, #020d221a 60%, transparent);
}
::selection { background: var(--gold); color: var(--night); }
a, button, input { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.skip-link { position: absolute; top: 12px; left: 5%; z-index: 10; padding: 12px 18px; background: var(--ink); color: var(--night); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
header, main { max-width: 1600px; }
header { position: relative; z-index: 2; display: block; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: transparent; }
.header-content { display: flex; width: 100%; max-width: 1600px; margin: 0 auto; padding: 24px 5% 12px; gap: 36px; align-items: flex-start; justify-content: space-between; }
header::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: 31px; height: 64px; border: 0; border-radius: 0; background: #071b35b8; backdrop-filter: blur(5px); pointer-events: none; }
header .brand { width: clamp(280px, 31vw, 440px); margin-left: -2.8%; }
header .brand img { filter: drop-shadow(0 0 12px #fff2c80d); }
nav { gap: clamp(22px, 3vw, 48px); font-size: 14px; padding-top: 0; margin-top: 7px; height: 64px; align-items: center; }
nav a { padding: 12px 0; border-bottom: 1px solid transparent; }
nav a:hover { color: var(--orange); border-bottom-color: var(--line); }
.hero { display: flex; align-items: flex-start; min-height: max(550px, calc(100svh - 204px)); padding: 20px 5% 110px; }
.hero-copy { max-width: 850px; }
.eyebrow { color: var(--orange); font-size: 11px; letter-spacing: 2.5px; }
.hero h1 { font-size: clamp(70px, 7.8vw, 124px); line-height: 1.01; letter-spacing: -2px; margin: 22px 0; text-shadow: 0 3px 30px #020c2180; }
.hero .intro { font: 32px/1.4 'Libre Caslon Display', Georgia, serif; color: var(--ink); max-width: 650px; margin: 22px 0 32px; }
.button { background: var(--gold); color: var(--night); border: 1px solid var(--gold); border-radius: 4px; font-weight: 500; gap: 22px; }
.button:hover { background: #ebc77d; border-color: #ebc77d; }
.hero .button { font: 23px/1.3 'Libre Caslon Display', Georgia, serif; padding: 17px 28px; }
.hero-foot { color: #e5e1d7; font-size: 12px; margin-top: 24px; }
.collection { padding: 80px 5% 90px; border: 1px solid var(--line); border-radius: 14px; background: #06152b96; backdrop-filter: blur(5px); }
.section-heading { display: block; text-align: center; max-width: 820px; margin: 0 auto 54px; }
.section-heading > .eyebrow { max-width: none; margin: 0 auto; color: var(--orange); font-size: 11px; line-height: 1.7; }
.section-heading h2 { font-size: clamp(55px, 5.3vw, 80px); line-height: 1.04; margin: 22px 0; }
.section-heading > p:not(.eyebrow) { max-width: 680px; margin: 28px auto 0; font-size: 16px; line-height: 1.8; }
.collection-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.filters { gap: 8px; margin: 0; flex-wrap: wrap; }
.filters button { border: 1px solid transparent; border-radius: 4px; font-size: 13px; padding: 15px 17px; min-height: 48px; }
.filters button:hover { background: #f8edd915; }
.filters button.active { background: var(--ink); color: var(--night); border-color: var(--ink); }
.filters span { margin-left: 10px; opacity: .7; font-size: 11px; }
.book-search { width: 290px; flex-shrink: 0; }
.book-search input { width: 100%; min-height: 49px; padding: 14px 17px; background: #142b4b80; border: 1px solid #e6d4af65; border-radius: 4px; color: var(--ink); font: 14px 'DM Sans', sans-serif; }
.book-search input::placeholder { color: #c7ced9; }
.results-count { color: var(--muted); font-size: 12px; margin: 24px 0 35px; }
.book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.book-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid #d6b87850; border-radius: 7px; padding: 26px; background: #061426d9; box-shadow: 0 15px 35px #00000016; }
.book-card .art-button { height: 310px; padding: 0; background: transparent; border-radius: 0; }
.book-card:nth-child(n) .art-button { background: transparent; }
.art-button img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; aspect-ratio: auto; border-radius: 0; box-shadow: 0 8px 22px #0005; }
.art-button:hover { transform: translateY(-4px); }
.category { color: var(--orange); font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: 1.8px; margin: 28px 0 13px; }
.book-card h3 { font-size: clamp(29px, 2.6vw, 40px); line-height: 1.08; margin-bottom: 17px; }
.book-card p.description { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 24px; min-height: 0; }
.card-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.card-footer { margin-top: 0; padding-top: 0; gap: 8px; align-items: flex-start; flex-direction: column; }
.status { display: flex; align-items: center; min-height: 43px; color: #e4c480; font-size: 12px; line-height: 1.6; }
.card-footer button { font-size: 12px; color: #dae0e9; min-height: 43px; text-align: left; }
.card-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; }
.card-actions > button, .card-actions > a { width: 135px; }
.sample-button, .amazon-button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; padding: 11px 14px; border-radius: 4px; margin: 0; width: auto; gap: 8px; }
.sample-button { border: 1px solid #d3dce38c; background: transparent; color: var(--ink); }
.sample-button:hover { background: #f9efdb18; }
.empty { background: var(--panel); }
.story-spotlight { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 12%; padding: 110px 9%; }
.spotlight-copy h2 { font-size: clamp(48px, 5vw, 74px); line-height: 1.05; }
.spotlight-copy > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.9; max-width: 365px; }
.hero-art { max-width: 390px; margin: 0 auto; padding: 22px 22px 0; background: #061426e6; border: 1px solid var(--line); border-radius: 7px; }
.hero-art img { width: 100%; max-height: 390px; height: auto; object-fit: contain; border-radius: 0; }
.hero-art figcaption { position: static; padding: 24px 0 28px; background: transparent; border: 0; box-shadow: none; }
.hero-art figcaption span { color: var(--orange); font-size: 9px; }
.hero-art strong { font-size: 32px; line-height: 1.1; margin: 12px 0 18px; }
.hero-art button { font-size: 13px; padding: 8px 0; }
.upcoming { margin: 0 5%; padding: 45px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); gap: 8%; }
.upcoming .text-link { display: inline; text-align: left; background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.9; padding: 6px 0; }
.upcoming .text-link:hover { color: var(--orange); }
.about { margin: 60px 5% 70px; padding: 55px 4%; background: var(--panel); border: 1px solid var(--line); border-radius: 7px; gap: 10%; align-items: start; }
.about-label { padding-top: 6px; position: sticky; top: 40px; }
.about-label > span { color: var(--orange); }
.about .bio { font-size: 25px; line-height: 1.6; }
footer { max-width: 1600px; margin: auto; padding: 25px 5% 40px; border-top-color: var(--line); background: #061326b3; }
footer .brand { width: 250px; }
footer p { font-size: 12px; }
dialog { background: #08182e; border-color: #ddbd7966; box-shadow: 0 30px 100px #0008; }
dialog::backdrop { background: #010a1ce0; backdrop-filter: blur(8px); }
.detail h2 { color: var(--ink); }
.detail .eyebrow { color: var(--orange); }
.detail .sample-button { background: transparent; color: var(--ink); border: 1px solid #d3dce38c; margin-right: 10px; }
.detail .amazon-button { margin-top: 4px; }
.close { min-width: 44px; min-height: 44px; top: 4px; right: 8px; }
@media (min-width: 1600px) { .collection { margin: 0 2%; padding-left: 3%; padding-right: 3%; } }
@media (max-width: 1100px) {
  .christmas-background { background-position: 72% center; }
  .book-grid { gap: 22px; }
  .book-card { padding: 22px; }
  .book-card .art-button { height: 270px; }
  .collection-tools { gap: 12px; }
  .book-search { width: 235px; }
  .filters button { padding: 14px 12px; }
  .filters span { margin-left: 6px; }
}
@media (max-width: 900px) {
  .header-content { gap: 18px; }
  header .brand { width: 320px; }
  nav { gap: 22px; font-size: 12px; }
  .hero { min-height: 650px; padding-top: 70px; }
  .hero h1 { font-size: clamp(66px, 9.5vw, 85px); }
  .hero .intro { max-width: 440px; font-size: 28px; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-tools { flex-wrap: wrap; }
  .book-search { width: 100%; }
  .book-card .art-button { height: 300px; }
  .book-card h3 { font-size: 34px; }
  .story-spotlight { gap: 7%; padding: 85px 6%; }
  .upcoming { padding: 30px; }
}
@media (max-width: 600px) {
  .christmas-background { background-position: 79% center; }
  .christmas-background::after { background: linear-gradient(90deg, #020d22a6, #020d2240); }
  .header-content { padding: 16px 6% 0; flex-direction: column; gap: 8px; align-items: flex-start; }
  header::before { top: auto; bottom: 0; height: 44px; }
  header .brand { width: min(330px, 100%); margin-left: -5%; }
  nav { width: 100%; justify-content: space-between; gap: 10px; font-size: 12px; padding-top: 0; margin-top: 0; height: 44px; }
  nav a { padding: 13px 0; }
  .hero { min-height: 570px; padding: 56px 6% 90px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.5px; max-width: 300px; }
  .hero h1 { font-size: clamp(54px, 12.2vw, 72px); line-height: 1.05; letter-spacing: -1.3px; margin: 22px 0; }
  .hero .intro { font-size: 26px; max-width: 320px; margin: 24px 0 30px; }
  .hero .button { font-size: 21px; padding: 16px 23px; }
  .hero-foot { max-width: 230px; line-height: 1.7; font-size: 11px; }
  .collection { padding: 50px 6%; border-radius: 10px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading .eyebrow { font-size: 9px; letter-spacing: 1.7px; }
  .section-heading h2 { font-size: 53px; line-height: 1.05; }
  .section-heading > p:not(.eyebrow) { font-size: 14px; margin-top: 22px; }
  .collection-tools { gap: 20px; }
  .filters { width: 100%; gap: 3px; justify-content: space-between; }
  .filters button { padding: 12px 7px; font-size: 11px; min-height: 44px; }
  .filters span { font-size: 9px; margin-left: 5px; }
  .book-grid { grid-template-columns: 1fr; gap: 30px; }
  .book-card { padding: 25px; }
  .book-card .art-button { height: 320px; }
  .book-card h3 { font-size: 36px; }
  .book-card p.description { font-size: 14px; line-height: 1.8; }
  .category { margin-top: 25px; }
  .card-actions { gap: 8px; }
  .sample-button, .amazon-button { font-size: 11px; padding: 11px 13px; min-height: 44px; }
  .story-spotlight { grid-template-columns: 1fr; gap: 32px; padding: 65px 8%; }
  .spotlight-copy h2 { font-size: 53px; }
  .spotlight-copy > p:last-child { font-size: 14px; }
  .hero-art { margin: 0 auto; }
  .upcoming { padding: 28px; gap: 10px; }
  .upcoming h2, .about h2 { font-size: 49px; }
  .about { margin: 40px 6%; padding: 32px 27px; gap: 22px; }
  .about-label { position: static; }
  .about .bio { font-size: 24px; }
  footer { padding: 25px 6% 35px; gap: 16px; }
  footer .brand { width: 250px; margin-left: -5%; }
  footer p { max-width: 100%; margin: 0; }
  .detail h2 { font-size: 38px; }
}
@media (max-width: 360px) {
  .filters button { font-size: 10px; padding-inline: 6px; }
  .book-card { padding: 20px; }
  .book-card .art-button { height: 275px; }
  .card-bottom { gap: 10px; }
  .card-actions > button, .card-actions > a { width: 126px; }
  .amazon-button, .sample-button { padding-inline: 10px; font-size: 10px; }
}

/* Book covers keep their original proportions. */
.book-object { --cover-height:310px; position:relative; display:block; width:min(100%,calc(var(--cover-height) * var(--cover-ratio))); aspect-ratio:var(--cover-ratio); flex-shrink:0; isolation:isolate; }
.book-object > .book-cover { position:relative; z-index:1; display:block; width:100%; height:100%; max-width:none; max-height:none; aspect-ratio:auto; object-fit:contain; border-radius:1px; box-shadow:2px 4px 0 #d4c6a033, 5px 7px 12px #02091766; }
.book-card .art-button { --cover-height:310px; height:var(--cover-height); position:relative; display:flex; align-items:flex-end; justify-content:center; overflow:visible; }
.book-card .book-object { --cover-height:inherit; }
.book-grid { row-gap:38px; padding-top:0; }
.book-card { isolation:isolate; }
.hero { position:relative; }
.hero-copy { position:relative; z-index:2; }
.hero-book-scene { --cover-height:280px; position:absolute; width:430px; height:505px; right:6%; bottom:15px; margin:0; }
.hero-book-button { position:relative; z-index:1; border:0; padding:0; width:100%; height:100%; background:none; color:inherit; display:flex; justify-content:flex-end; align-items:flex-end; text-align:left; }
.hero-book-button .book-object { --cover-height:inherit; }
.hero-secondary-book { position:absolute; z-index:2; right:calc(var(--cover-height) * .8 + 3px); bottom:0; width:var(--cover-height); height:var(--cover-height); padding:0; border:0; background:none; }
.hero-secondary-book .book-object { --cover-height:inherit; }
.hero-book-scene::after { content:''; position:absolute; z-index:3; right:-12px; bottom:-8px; width:calc(var(--cover-height) * 1.8 + 30px); height:9px; border-top:1px solid #d9b77688; border-radius:2px; background:linear-gradient(#4c5363,#132338); box-shadow:0 5px 8px #0005; pointer-events:none; }
.hero-art { --cover-height:340px; width:100%; max-width:440px; padding:28px 46px 0; }
.hero-art > .book-object { --cover-height:inherit; margin:0 auto; }
.hero-art figcaption { padding-top:30px; }
.section-heading { margin-bottom:54px; }
.upcoming { margin-top:0; }
.about-label { min-width:0; }
.detail-cover-scene { --cover-height:min(62vh,470px); position:relative; padding:0 25px 10px; display:flex; justify-content:center; align-items:flex-end; }
.detail-cover-scene .book-object { --cover-height:inherit; }
.footer-logo { display:block; width:clamp(280px,30vw,360px); flex-shrink:0; line-height:0; }
.footer-logo img { display:block; width:100%; height:auto; object-fit:contain; }
@media(max-width:1100px) {
 .book-card .art-button { --cover-height:270px; }
 .hero-book-scene { --cover-height:245px; width:380px; height:435px; right:5%; }
}
@media(max-width:900px) {
 .book-card .art-button { --cover-height:300px; }
 .hero { padding-bottom:300px; min-height:800px; }
 .hero-book-scene { --cover-height:220px; width:340px; height:395px; }
 .hero-art { --cover-height:300px; padding-inline:38px; }
}
@media(max-width:600px) {
 .book-search input { font-size:16px; }
 .hero { flex-direction:column; min-height:0; padding-bottom:40px; }
 .hero-copy { max-width:100%; }
 .hero-foot { max-width:none; }
 .hero-book-scene { --cover-height:190px; position:relative; width:min(330px,100%); height:350px; right:auto; bottom:auto; margin:24px 0 0 auto; }
 .book-card .art-button { --cover-height:320px; }
 .book-grid { row-gap:32px; padding-top:0; }
 .section-heading { padding:0; margin-bottom:34px; }
 .section-heading > p:not(.eyebrow) { margin-left:auto; margin-right:auto; text-align:center; min-height:0; }
 .hero-art { --cover-height:300px; padding:24px 38px 0; }
 .upcoming { margin-top:0; }
 .about-label { position:static; padding-right:0; min-height:0; }
 .detail-cover-scene { --cover-height:270px; width:min(100%,300px); margin:auto; padding:0 22px 10px; }
 .footer-logo { width:min(320px,100%); }
}
@media(max-width:360px) {
 .book-card .art-button { --cover-height:275px; }
 .hero-book-scene { --cover-height:min(160px,calc((100vw - 46px) / 1.8)); height:calc(var(--cover-height) * 1.8 + 8px); }
 .hero-book-scene::after { right:-5px; width:calc(var(--cover-height) * 1.8 + 16px); }
 .hero-art { padding-inline:32px; }
 .section-heading > p:not(.eyebrow) { margin-left:auto; font-size:14px; }
}
