:root {
  --black: #05070d;
  --ink: #0c1221;
  --blue: #1458dc;
  --blue-light: #5c8ef7;
  --gold: #e9bd56;
  --gold-light: #ffe39b;
  --cream: #f5f0e6;
  --muted: #aab3c3;
  --line: rgba(233, 189, 86, .25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background: var(--black);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 10px clamp(20px, 5vw, 76px);
  background: rgba(5, 7, 13, .86);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Cormorant Garamond", serif; font-size: 1.24rem; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 54px; height: 54px; object-fit: cover; object-position: 50% 33%; border-radius: 8px; }
nav { display: flex; gap: clamp(18px, 3vw, 38px); }
nav a { color: #d8deea; font-size: .84rem; font-weight: 600; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: var(--gold-light); }

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: center;
  overflow: hidden;
  padding: clamp(70px, 11vw, 150px) clamp(20px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 82% 40%, rgba(20,88,220,.20), transparent 31%), linear-gradient(115deg, #05070d 32%, #091125 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: 52%; top: 58%; border: 1px solid rgba(233,189,86,.16); transform: translate(-50%,-50%) rotate(45deg); }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; line-height: .98; }
h1 { max-width: 800px; font-size: clamp(3.4rem, 7.3vw, 7.1rem); font-weight: 600; letter-spacing: -.045em; }
h2 { font-size: clamp(2.65rem, 5vw, 5rem); font-weight: 600; letter-spacing: -.035em; }
h3 { font-size: clamp(2.2rem, 3.7vw, 4rem); font-weight: 600; }
.hero-lede { max-width: 660px; margin: 28px 0 36px; color: #c6cedd; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 14px; color: #070a10; background: var(--gold); border: 1px solid var(--gold); font-size: .88rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover, .button:focus-visible { background: var(--gold-light); }
.text-link { color: var(--gold); font-weight: 700; text-underline-offset: 4px; }
.text-link:hover, .text-link:focus-visible { color: var(--gold-light); }
.hero-mark { width: min(44vw, 590px); aspect-ratio: 1; justify-self: end; background: url("assets/dragaud-house-press-logo.png") center/contain no-repeat; filter: drop-shadow(0 28px 46px rgba(0,0,0,.44)); }

.blog-hero { min-height: auto; grid-template-columns: minmax(0, 1fr) minmax(220px, .48fr); }
.blog-hero h1 { font-size: clamp(3.4rem, 7vw, 6.5rem); }
.blog-hero .hero-mark { width: min(34vw, 410px); background-image: url("assets/dragaud-house-press-logo.png"); }
.blog-feed { max-width: 980px; margin: 0 auto; }
.blog-post { padding: clamp(34px, 6vw, 70px); background: linear-gradient(140deg, rgba(20,88,220,.16), rgba(8,11,19,.98) 62%); border: 1px solid var(--line); }
.blog-post + .blog-post { margin-top: clamp(30px, 5vw, 54px); }
.blog-post time { display: block; margin-bottom: 18px; color: var(--blue-light); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.blog-post h2 { margin-bottom: 30px; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.blog-post p { color: #c5ccda; font-size: 1.08rem; }
.blog-post .signature { color: var(--gold); font-size: 2rem; }

.section { padding: clamp(84px, 11vw, 150px) clamp(20px, 7vw, 110px); }
.section-heading { max-width: 820px; margin-bottom: clamp(48px, 7vw, 82px); }
.section-heading > p:last-child { max-width: 650px; color: var(--muted); }
.books { background: #080b13; }
.book-card { display: grid; grid-template-columns: minmax(230px, 420px) minmax(0, 1fr); gap: clamp(36px, 8vw, 120px); align-items: center; max-width: 1240px; margin: 0 auto clamp(96px, 13vw, 170px); }
.book-card:last-child { margin-bottom: 0; }
.book-card:nth-of-type(3) .cover-wrap { order: 2; }
.cover-wrap { position: relative; padding: 20px; }
.cover-wrap::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); transform: translate(16px, 16px); }
.cover-wrap img { position: relative; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 26px 60px rgba(0,0,0,.55); }
.different-light-cover { background: #07101d; }
.different-light-cover img { aspect-ratio: auto; height: auto; object-fit: contain; background: #07101d; }
.book-type, .product-type { margin: 0 0 14px; color: var(--blue-light); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.subtitle { margin: 18px 0 28px; color: var(--gold-light); font-family: "Cormorant Garamond", serif; font-size: 1.35rem; font-weight: 600; }
.book-copy > p:not(.book-type):not(.subtitle) { max-width: 680px; color: #bfc7d5; }
.availability { display: inline-block; margin-top: 14px; padding-top: 14px; color: var(--gold); border-top: 1px solid var(--line); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.buy-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.buy-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; color: #070a10; background: var(--gold); border: 1px solid var(--gold); font-size: .95rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.buy-button:hover, .buy-button:focus-visible { background: var(--gold-light); color: #070a10; transform: translateY(-2px); }
.buy-button-secondary { color: var(--gold); background: transparent; }
.buy-button-secondary:hover, .buy-button-secondary:focus-visible { color: #070a10; background: var(--gold); }

.coming-soon { background: radial-gradient(circle at 11% 10%, rgba(20,88,220,.23), transparent 29%), radial-gradient(circle at 88% 82%, rgba(233,189,86,.14), transparent 28%), #0a1020; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coming-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); max-width: 1320px; margin: 0 auto; }
.coming-card { display: grid; grid-template-columns: minmax(180px, .76fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: center; padding: clamp(22px, 3vw, 38px); background: linear-gradient(145deg, rgba(12,24,50,.94), rgba(5,8,16,.97)); border: 1px solid rgba(233,189,86,.36); box-shadow: 14px 16px 0 rgba(0,0,0,.2); }
.coming-cover { position: relative; padding: 13px; }
.coming-cover::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(233,189,86,.45); transform: translate(10px, 10px); }
.coming-cover img { position: relative; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 18px 38px rgba(0,0,0,.5); }
.coming-card h3 { font-size: clamp(2.15rem, 3.4vw, 3.45rem); }
.coming-card .book-copy > p:not(.book-type):not(.subtitle) { color: #c4ccda; }
.coming-card .book-type { color: #8db4ff; }

.childrens-books { background: radial-gradient(circle at 12% 18%, rgba(233,189,86,.13), transparent 27%), radial-gradient(circle at 90% 74%, rgba(20,88,220,.22), transparent 31%), #091226; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.childrens-books .section-heading > p:last-child { color: #c5ccda; }
.children-book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 52px); max-width: 1320px; margin: 0 auto; }
.child-book-card { display: grid; grid-template-columns: minmax(150px, .72fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: center; padding: clamp(20px, 3vw, 34px); background: linear-gradient(140deg, rgba(11, 25, 52, .96), rgba(5, 9, 18, .96)); border: 1px solid rgba(233,189,86,.30); box-shadow: 16px 18px 0 rgba(5,7,13,.28); }
.children-cover { position: relative; padding: 12px; }
.children-cover::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(233,189,86,.46); transform: translate(9px, 9px); }
.children-cover img { position: relative; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 18px 35px rgba(0,0,0,.45); }
.children-cover.santa-cover img { aspect-ratio: 4 / 3; object-fit: cover; }
.child-book-card h3 { font-size: clamp(2.1rem, 3.3vw, 3.35rem); }
.child-book-card .book-copy > p:not(.book-type):not(.subtitle) { color: #c5ccda; }
.child-book-card .book-type { color: #89aefa; }


.story { display: grid; grid-template-columns: minmax(110px, .34fr) minmax(0, 1.5fr); gap: clamp(30px, 7vw, 100px); background: linear-gradient(130deg, #0c1530, #070a12 72%); }
.story-number { color: transparent; -webkit-text-stroke: 1px rgba(233,189,86,.4); font-family: "Cormorant Garamond", serif; font-size: clamp(6rem, 16vw, 15rem); font-weight: 700; line-height: .7; }
.story-copy { max-width: 900px; }
.story-copy h2 { margin-bottom: 42px; }
.story-copy > p:not(.eyebrow):not(.signature) { color: #c5ccda; font-size: 1.08rem; }
.signature { margin: 34px 0 0; color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 2rem; font-style: italic; }

.dedication { display: grid; place-items: center; background: #070a12; }
.dedication-card { width: min(100%, 940px); padding: clamp(42px, 7vw, 80px); text-align: center; background: linear-gradient(140deg, rgba(20,88,220,.22), rgba(7,10,18,.94) 62%); border: 1px solid rgba(233,189,86,.38); box-shadow: 18px 18px 0 rgba(233,189,86,.11); }
.dedication-card h2 { margin-bottom: 28px; color: var(--gold-light); }
.dedication-card > p:not(.eyebrow):not(.signature) { max-width: 700px; margin: 0 auto; color: #d6dce8; font-family: "Cormorant Garamond", serif; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.3; }
.dedication-card .signature { margin-top: 30px; }

.merch { background: radial-gradient(circle at 10% 12%, rgba(20,88,220,.18), transparent 28%), #080b13; color: var(--cream); border-top: 1px solid var(--line); }
.merch .eyebrow { color: var(--gold); }
.merch .section-heading > p:last-child { color: var(--muted); }
.merch-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(22px, 4vw, 50px); }
.product-card { overflow: hidden; background: white; box-shadow: 0 18px 44px rgba(12,18,33,.12); }
.product-card > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.book-sticker-card > img { padding: 18px; object-fit: contain; background: linear-gradient(135deg, #e4e8f0, #ffffff); }
.product-info { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 24px; }
.product-info h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.product-info > span { flex: none; color: #8d6517; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.merch-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); max-width: 1320px; margin: 0 auto; }
.merch-category { display: grid; grid-template-rows: auto 1fr; overflow: hidden; color: var(--cream); background: linear-gradient(145deg, #101a31, #070a12); border: 1px solid rgba(233,189,86,.34); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.merch-category:hover, .merch-category:focus-visible { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 45px rgba(0,0,0,.28); }
.merch-category > img { display: block; width: 100%; aspect-ratio: 4 / 3; padding: clamp(18px, 3vw, 30px); object-fit: contain; background: linear-gradient(145deg, #f1f2f5, #dce2eb); }
.merch-category-copy { display: grid; align-content: start; gap: 12px; padding: clamp(22px, 3vw, 34px); }
.merch-category-copy .eyebrow { margin: 0; font-size: .7rem; }
.merch-category-copy strong { font: 600 clamp(2.2rem, 3vw, 3.25rem)/.98 "Cormorant Garamond", Georgia, serif; }
.merch-category-copy > span:not(.eyebrow):not(.merch-category-link) { min-height: 3.5em; color: #bac4d5; }
.merch-category-link { margin-top: 8px; color: var(--gold-light); font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.merch-page-hero { padding-top: clamp(44px, 7vw, 86px); padding-bottom: clamp(52px, 7vw, 90px); background: radial-gradient(ellipse at 85% 22%, rgba(20,88,220,.22), transparent 30%), linear-gradient(145deg, #091226, #05070d 68%); border-bottom: 1px solid var(--line); }
.back-link { display: inline-block; margin-bottom: clamp(32px, 5vw, 58px); color: var(--gold-light); font-size: .9rem; font-weight: 600; text-decoration: none; text-underline-offset: 4px; }
.back-link:hover, .back-link:focus-visible { text-decoration: underline; }
.merch-page-hero > h1 { max-width: 1000px; font-size: clamp(3.2rem, 7vw, 6.6rem); }
.merch-page-lede { max-width: 760px; margin: 24px 0 54px; color: #c5ccda; font-size: clamp(1.05rem, 1.7vw, 1.24rem); }
.merch-feature, .sticker-feature { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 100px); align-items: center; max-width: 1180px; padding: clamp(24px, 4vw, 48px); background: linear-gradient(135deg, rgba(13,26,52,.98), rgba(5,8,16,.98)); border: 1px solid rgba(233,189,86,.38); }
.shirt-print-standard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr); gap: clamp(24px, 6vw, 80px); align-items: center; max-width: 1180px; padding: clamp(26px, 4vw, 48px); background: linear-gradient(135deg, rgba(13,26,52,.98), rgba(5,8,16,.98)); border: 1px solid rgba(233,189,86,.38); }
.shirt-print-standard h2 { max-width: 520px; color: var(--gold-light); font-size: clamp(2.6rem, 5vw, 4.4rem); }
.shirt-print-standard ul { margin: 0; padding-left: 22px; color: #d0d7e4; font-size: 1rem; }
.shirt-print-standard li { margin: 10px 0; padding-left: 5px; }
.merch-feature > img, .sticker-feature > img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 24px 52px rgba(0,0,0,.38); }
.merch-feature h2, .sticker-feature h2, .journal-copy h2, .journal-note h2 { margin-bottom: 22px; color: var(--gold-light); font-size: clamp(2.3rem, 4.3vw, 4.1rem); }
.merch-feature p:not(.eyebrow), .sticker-feature p:not(.eyebrow), .journal-copy p:not(.eyebrow), .journal-note p:not(.eyebrow) { color: #c5ccda; }
.concept-note { display: inline-block; margin-top: 18px; padding-top: 13px; color: var(--gold); border-top: 1px solid var(--line); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.merch-products { background: #080b13; }
.merch-products .section-heading { margin-bottom: clamp(36px, 5vw, 56px); }
.cover-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 1320px; margin: 0 auto; }
.cover-product { overflow: hidden; background: linear-gradient(150deg, #10182a, #06080e); border: 1px solid rgba(233,189,86,.24); }
.cover-product > img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #0c1221; }
.cover-product > div { min-height: 116px; padding: 16px 18px 20px; }
.cover-product > div > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cover-product h3 { margin-top: 9px; color: var(--cream); font-size: clamp(1.5rem, 2vw, 2.1rem); line-height: 1.03; }
.shirt-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shirt-product-grid > :last-child { grid-column: 2; }
.concept-disclaimer { max-width: 1320px; margin: 28px auto 0; color: #9da9bc; font-size: .92rem; text-align: center; }
.sticker-hero { background: radial-gradient(ellipse at 88% 14%, rgba(233,189,86,.14), transparent 26%), linear-gradient(145deg, #091226, #05070d 68%); }
.sticker-feature { grid-template-columns: minmax(250px, .78fr) minmax(0, 1fr); }
.sticker-feature > img { padding: 12px; object-fit: contain; background: #030509; }
.sticker-product-grid .cover-product > img { aspect-ratio: 1; object-fit: contain; padding: 16px; background: #030509; }
.sticker-product-grid .cover-product > div { min-height: 102px; }
.journal-hero { background: radial-gradient(ellipse at 14% 84%, rgba(233,189,86,.12), transparent 27%), linear-gradient(145deg, #091226, #05070d 68%); }
.journal-feature { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1fr); gap: clamp(34px, 8vw, 108px); align-items: center; max-width: 1180px; padding: clamp(24px, 4vw, 48px); background: linear-gradient(135deg, rgba(13,26,52,.98), rgba(5,8,16,.98)); border: 1px solid rgba(233,189,86,.38); }
.journal-image { overflow: hidden; border: 1px solid rgba(233,189,86,.4); }
.journal-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.journal-copy ul { padding-left: 20px; color: #c5ccda; }
.journal-copy li { margin: 8px 0; padding-left: 4px; }
.journal-note { display: flex; justify-content: space-between; align-items: center; gap: 40px; background: #080b13; border-top: 1px solid var(--line); }
.journal-note > div { max-width: 720px; }
.journal-note .button { flex: none; }

footer { display: grid; justify-items: center; padding: 72px 20px 42px; text-align: center; background: #020305; }
footer img { width: min(260px, 64vw); margin-bottom: 18px; }
footer p { margin: 4px 0; color: #b8c0cf; }
footer .footer-blog-link { color: var(--gold); font-weight: 600; text-underline-offset: 4px; }
footer .footer-blog-link:hover, footer .footer-blog-link:focus-visible { color: var(--gold-light); }
footer .copyright { margin-top: 26px; color: #707989; font-size: .78rem; }

@media (max-width: 840px) {
  .site-header { min-height: 68px; }
  .brand span { display: none; }
  .brand img { width: 46px; height: 46px; }
  nav { gap: 18px; }
  nav a { font-size: .72rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 76px; }
  .blog-hero { grid-template-columns: 1fr; }
  .hero-mark { grid-row: 1; width: min(82vw, 480px); justify-self: center; margin-bottom: 30px; }
  .hero::after { display: none; }
  .book-card { grid-template-columns: minmax(0, 1fr); }
  .book-card:nth-of-type(3) .cover-wrap { order: 0; }
  .cover-wrap { width: min(82vw, 380px); margin: auto; }
  .coming-grid { grid-template-columns: 1fr; }
  .coming-card { grid-template-columns: minmax(170px, 270px) minmax(0, 1fr); }
  .children-book-grid { grid-template-columns: 1fr; }
  .child-book-card { grid-template-columns: minmax(150px, 270px) minmax(0, 1fr); }
  .story { grid-template-columns: 1fr; }
  .story-number { font-size: 7rem; }
  .merch-grid { grid-template-columns: 1fr; }
  .merch-category-grid { grid-template-columns: 1fr; max-width: 620px; }
  .merch-category { grid-template-columns: minmax(180px, .8fr) minmax(0, 1fr); grid-template-rows: auto; }
  .merch-category > img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .merch-feature, .sticker-feature, .journal-feature { grid-template-columns: minmax(0, 1fr); }
  .shirt-print-standard { grid-template-columns: minmax(0, 1fr); }
  .merch-feature > img, .sticker-feature > img { width: min(100%, 500px); margin: 0 auto; }
  .cover-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shirt-product-grid > :last-child { grid-column: auto; }
  .journal-image { width: min(100%, 560px); margin: 0 auto; }
  .journal-note { align-items: start; flex-direction: column; }
}

@media (max-width: 520px) {
  nav { max-width: calc(100vw - 84px); gap: 12px; overflow-x: auto; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a { flex: none; font-size: .78rem; letter-spacing: .03em; }
  h1 { font-size: clamp(3rem, 15vw, 4.25rem); }
  .section { padding-inline: 18px; }
  .product-info { align-items: start; flex-direction: column; }
  .merch-category { grid-template-columns: 1fr; }
  .merch-category > img { min-height: 0; aspect-ratio: 4 / 3; }
  .cover-product > div { min-height: 100px; padding: 13px; }
  .cover-product h3 { font-size: 1.45rem; }
  .coming-card { grid-template-columns: 1fr; }
  .coming-cover { width: min(72vw, 300px); margin: auto; }
  .child-book-card { grid-template-columns: 1fr; }
  .children-cover { width: min(72vw, 300px); margin: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Consistent book presentation and mobile navigation. */
section[id] { scroll-margin-top: 110px; }
.book-card:nth-of-type(3) .cover-wrap { order: 0; }
.cover-wrap, .coming-cover, .children-cover { padding: 16px; border: 1px solid var(--line); background: #07101d; }
.cover-wrap::before, .coming-cover::before, .children-cover::before { display: none; }
.cover-wrap img, .different-light-cover img, .coming-cover img, .children-cover img, .children-cover.santa-cover img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.coming-grid, .children-book-grid { max-width: 1240px; }
.coming-card, .child-book-card { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 28px; padding: 28px; box-shadow: none; }
.coming-cover, .children-cover { width: min(100%, 280px); margin-inline: auto; }
.coming-card h3, .child-book-card h3 { font-size: clamp(2.1rem, 3.3vw, 3.35rem); line-height: 1.08; overflow-wrap: break-word; }
.book-copy h1 { font-size: clamp(2.7rem, 5.2vw, 5rem); line-height: 1.05; overflow-wrap: break-word; }
.buy-links { align-items: stretch; }
.buy-button { min-width: 180px; text-align: center; }
.merch-category-copy strong { line-height: 1.1; }
.cover-product > img { object-fit: contain; padding: 14px; }
.product-card { color: var(--ink); }
@media (max-width: 1100px) {
  .site-header { gap: 16px; padding-inline: 20px; }
  .site-header nav { min-width: 0; overflow-x: auto; }
  .site-header nav a { flex-shrink: 0; }
}
@media (max-width: 840px) {
  .book-card { gap: 32px; margin-bottom: 72px; }
  .coming-card, .child-book-card { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 64px; }
  .section-heading { margin-bottom: 36px; }
}
@media (max-width: 520px) {
  .site-header { padding-inline: 12px; gap: 12px; }
  .site-header nav { max-width: calc(100vw - 82px); }
  .coming-card, .child-book-card { padding: 20px; }
  .buy-links { display: grid; grid-template-columns: 1fr; }
  .buy-button { width: 100%; min-width: 0; }
  .cover-wrap { width: min(100%, 340px); }
}

/* Keep edition buttons aligned while retaining each book's own price. */
.buy-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(100%, 520px); }
.buy-button, .buy-button-secondary { width: 100%; min-width: 0; min-height: 56px; padding: 14px 16px; color: #070a10; background: var(--gold); border: 1px solid var(--gold); font-size: .95rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.buy-button:hover, .buy-button:focus-visible, .buy-button-secondary:hover, .buy-button-secondary:focus-visible { background: var(--gold-light); color: #070a10; }
@media (max-width: 520px) { .buy-links { grid-template-columns: 1fr; } }

/* Shared price panels: same geometry for every edition and title. */
.buy-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(100%, 460px); align-items: stretch; }
.edition-price { display: grid; grid-template-rows: 18px 30px 40px; gap: 6px; min-width: 0; padding: 12px; border: 1px solid var(--line); background: #0c1221; text-align: left; }
.edition-format { color: var(--muted); font-size: .68rem; font-weight: 700; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; }
.edition-amount { display: flex; align-items: center; color: var(--gold-light); font-size: 1rem; font-weight: 700; line-height: 1.25; font-variant-numeric: tabular-nums; }
.edition-price .buy-button { width: 100%; min-height: 40px; height: 40px; padding: 8px 10px; font-size: .78rem; line-height: 1.15; }
#books .book-card { align-items: start; }
#books .book-copy { padding-top: 16px; }
#books .book-copy > p > a[href^="/books/"] { color: var(--gold); font-size: .9rem; font-weight: 600; text-underline-offset: 4px; }
.coming-card h2 { font-size: clamp(2.1rem, 3.3vw, 3.35rem); line-height: 1.08; overflow-wrap: break-word; }
@media (max-width: 520px) {
 .buy-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
 .edition-price { padding: 12px; gap: 8px; }
 .edition-amount { font-size: 1rem; }
 .edition-price .buy-button { font-size: .78rem; }
}
@media (max-width: 350px) { .buy-links { grid-template-columns: 1fr; } }

/* Matching published editions across the home, catalog and detail pages. */
.book-light .book-copy { color: var(--ink); }
.edition-price .buy-button { display: flex; align-items: center; justify-content: center; }
.coming-grid > .coming-card .book-copy { display: flex; flex-direction: column; height: 100%; }
.coming-grid > .coming-card .buy-links { margin-top: auto; padding-top: 16px; }
@media (max-width: 520px) {
 .edition-format { font-size: .68rem; letter-spacing: .04em; }
}


/* Compact, book-specific edition controls: same layout, accent drawn from each cover. */
.book-load-bearing { --edition-accent: #e9bd56; --edition-panel: #0c1221; }
.book-faithfully { --edition-accent: #e7b849; --edition-panel: #12111a; }
.book-different-light { --edition-accent: #e9bd56; --edition-panel: #0c1221; }
.buy-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 440px); align-items: stretch; }
.edition-price { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 18px 22px; align-items: center; gap: 2px 10px; min-width: 0; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--edition-accent, var(--gold)) 36%, var(--line)); border-radius: 8px; background: var(--edition-panel, #0c1221); text-align: left; }
.edition-format { grid-column: 1; grid-row: 1; color: var(--muted); font-size: .65rem; font-weight: 700; line-height: 18px; letter-spacing: .07em; text-transform: uppercase; }
.edition-amount { grid-column: 1; grid-row: 2; color: var(--edition-accent, var(--gold-light)); font-size: .96rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.edition-price .buy-button, .edition-price .buy-button-secondary { grid-column: 2; grid-row: 1 / span 2; justify-self: end; width: auto; min-width: 0; min-height: 34px; height: 34px; padding: 7px 10px; border: 1px solid var(--edition-accent, var(--gold)); border-radius: 6px; color: #070a10; background: var(--edition-accent, var(--gold)); font-size: .72rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.edition-price .buy-button:hover, .edition-price .buy-button:focus-visible { background: var(--gold-light); border-color: var(--gold-light); color: #070a10; transform: translateY(-1px); }
.button { min-height: 36px; padding: 8px 12px; border-radius: 6px; font-size: .82rem; }
@media (max-width: 520px) {
  .buy-links { grid-template-columns: 1fr; gap: 8px; width: 100%; }
  .edition-price { padding: 9px 11px; }
  .edition-price .buy-button, .edition-price .buy-button-secondary { min-height: 32px; height: 32px; padding: 6px 9px; font-size: .7rem; }
}
