:root {
  color-scheme: light;
  --paper: #fbf8f2;
  --cream: #f3ede3;
  --ink: #241e1d;
  --muted: #625751;
  --line: #dcd3c6;
  --wine: #792c44;
  --wine-deep: #551d32;
  --rose: #efc0bf;
  --serif: "Baskervville", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.15rem, 5vw, 5.75rem);
  --width: 76rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: .07em; }
a:hover { color: var(--wine); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #b7591b; outline-offset: 5px; border-radius: 1px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.07; text-wrap: balance; }
h1 { font-size: clamp(2.85rem, 6.5vw, 6rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2.15rem, 4.3vw, 3.8rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); letter-spacing: -.032em; }
.wrap { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link, .skip { position: absolute; padding: .7rem 1.25rem; z-index: 10; left: .5rem; top: -.25rem; transform: translateY(-120%); background: var(--ink); color: white; }
.skip-link:focus, .skip:focus { transform: translateY(0); color: white; }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(.75rem, 3vw, 3rem); min-height: 5.25rem; }
.wordmark { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -.065em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark i, .wordmark em { font-weight: 400; letter-spacing: -.075em; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: clamp(.65rem, 1.9vw, 2rem); }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .84rem; font-weight: 550; text-decoration: none; white-space: nowrap; }
.site-nav a:not(.header-newsletter)::after { content: ""; height: 1px; position: absolute; bottom: .4rem; inset-inline: 0; transform: scaleX(0); transform-origin: left; background: var(--wine); transition: transform .2s; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.site-nav .header-newsletter { min-height: 2.25rem; padding: .15rem .9rem; border: 1px solid #b9a899; color: var(--wine-deep); }
.site-nav .header-newsletter:hover, .site-nav .header-newsletter[aria-current="page"] { background: var(--cream); border-color: var(--wine-deep); }
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff7eb; background: #2a1821; }
.hero-backdrop { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25,17,22,.84), rgba(30,17,24,.60) 39%, rgba(38,14,23,.05) 73%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0,.86fr); align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem); padding-block: clamp(2.8rem, 5.1vw, 5.2rem); }
.hero-copy { max-width: 44rem; }
.eyebrow, .kicker, .meta, .series-meta { font-size: .7rem; font-weight: 650; line-height: 1.55; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow, .kicker { color: var(--wine); }
.hero .eyebrow { display: flex; align-items: center; gap: .8rem; color: var(--rose); }
.hero .eyebrow::before { content: ""; width: 2.2rem; flex: 0 0 auto; height: 1px; background: currentColor; }
.hero-title { margin-top: clamp(.8rem,1.4vw,1.3rem); font-size: clamp(3.3rem, 6.05vw, 6.2rem); line-height: .99; letter-spacing: -.05em; }
.hero-title em { font-weight: 400; color: #f9e1d7; }
.hero-description { max-width: 48ch; margin-top: clamp(1.15rem,2.4vw,1.75rem); color: #ebded8; font-size: clamp(.99rem, 1.5vw, 1.12rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; margin-top: 1.6rem; }
.button { min-height: 2.85rem; display: inline-flex; align-items: center; justify-content: center; padding: .68rem 1.3rem; border: 1px solid var(--wine); background: var(--wine); color: #fff9f2; font-size: .88rem; font-weight: 650; line-height: 1.35; text-decoration: none; transition: background-color .18s, border-color .18s, color .18s; }
.button:hover { border-color: var(--wine-deep); background: var(--wine-deep); color: #fff9f2; }
.button.secondary { color: var(--wine); background: transparent; border-color: #b39594; }
.button.secondary:hover { color: var(--wine-deep); border-color: var(--wine-deep); background: #f0e5de; }
.hero .button, .newsletter-band .button { background: #fff4e4; border-color: #fff4e4; color: #391d23; }
.hero .button:hover, .newsletter-band .button:hover { background: #eccfc3; border-color: #eccfc3; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.65rem; color: var(--wine); font-weight: 600; font-size: .88rem; text-decoration: underline; text-underline-offset: .3em; }
.hero .text-link, .newsletter-band .text-link { color: #f8e5d8; }
.hero a:not(.button):hover, .newsletter-band a:not(.button):hover { color: white; }
.hero-art { display: block; justify-self: center; width: min(64%, 18.5rem); text-decoration: none; position: relative; perspective: 800px; }
.hero-cover { width: 100%; height: auto; border-radius: 1px; box-shadow: 2px 3px 4px #0d0909a6, 11px 18px 27px #10070aa8; transform: rotate(-3deg) rotateY(-4deg); transition: transform .35s cubic-bezier(.2,.6,.2,1); }
.hero-art:hover .hero-cover, .hero-art:focus-visible .hero-cover { transform: translateY(-4px) rotate(-1deg); }
.section { padding-block: clamp(3.1rem, 6vw, 5.75rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-heading, .section-head { display: flex; align-items: end; justify-content: space-between; gap: .7rem 1.5rem; margin-bottom: clamp(1.55rem, 2.8vw, 2.4rem); }
.section-heading .eyebrow { margin-bottom: .5rem; }
.section-heading .text-link { flex-shrink: 0; }
.book-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(1.6rem, 3.5vw, 3.5rem) clamp(1rem,2.7vw,2.6rem); }
.book-tile { min-width: 0; }
.cover-link { display: block; position: relative; width: 100%; aspect-ratio: 2/3; line-height: 0; text-decoration: none; }
.cover-link img { width: 100%; height: 100%; object-fit: contain; object-position: left bottom; transition: transform .26s ease, filter .26s ease; transform-origin: center bottom; }
.book-tile:hover .cover-link img, .cover-link:focus-visible img { transform: translateY(-4px); filter: drop-shadow(0 8px 5px #32232224); }
.book-info { padding-top: 1.05rem; }
.book-info .meta, .series-meta, .detail-meta { color: var(--muted); }
.book-info h3 { margin-top: .32rem; }
.book-info h3 a { text-decoration: none; }
.book-info h3 a:hover { text-decoration: underline; }
.series-list { border-top: 1px solid var(--line); }
.series-row { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 1.15rem; padding: 1.15rem 2.75rem 1.15rem 0; border-bottom: 1px solid var(--line); }
.series-name { font-family: var(--serif); color: var(--ink); font-size: clamp(1.35rem,2.5vw,2.1rem); line-height: 1.15; letter-spacing: -.035em; text-decoration: none; }
.series-name::after { content: "↗"; font-family: var(--sans); position: absolute; right: .2rem; top: 50%; translate: 0 -50%; color: var(--wine); font-size: 1.1rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.series-row:hover .series-name::after { transform: translate(2px,-2px); }
.series-meta { max-width: 45%; text-align: right; }
.page-intro { padding-block: clamp(2.75rem,5.5vw,5.6rem) clamp(1.4rem,3.2vw,3rem); }
.page-intro .eyebrow, .detail-copy .eyebrow { margin-bottom: .8rem; }
.page-intro p:not(.eyebrow):not(.kicker) { max-width: 58ch; font-size: clamp(1rem,1.6vw,1.16rem); color: var(--muted); margin-top: 1rem; }
.filter-nav, .filters { display: flex; gap: .35rem 1.3rem; align-items: baseline; flex-wrap: wrap; padding-block: .7rem; border-block: 1px solid var(--line); color: var(--wine); }
.filter-nav ul, .filters ul { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem 1.3rem; list-style: none; padding: 0; }
.filter-nav a, .filters a { display: inline-block; padding: .45rem 0; font-size: .84rem; font-weight: 600; text-decoration: none; }
.filter-nav a:hover, .filter-nav a:focus-visible, .filters a:hover { text-decoration: underline; }
.library-groups > section, .order-group { scroll-margin-top: 1.5rem; }
.order-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.order-list li { display: flex; align-items: baseline; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.order-number { color: var(--wine); min-width: 2.15rem; font-size: .77rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.order-list a { text-decoration: none; font-family: var(--serif); font-size: 1.24rem; }
.order-list a:hover { text-decoration: underline; }
.book-detail { display: grid; grid-template-columns: minmax(0, .52fr) minmax(0,1.1fr); gap: clamp(2rem,6.5vw,7rem); align-items: center; padding-block: clamp(2.6rem,4.7vw,4.6rem); }
.detail-art { width: 100%; display: flex; justify-content: center; }
.detail-art img { width: auto; height: auto; max-height: 30rem; box-shadow: 0 4px 8px #472f2314, 0 12px 30px #472f2319; }
.detail-copy { min-width: 0; }
.detail-title { font-size: clamp(2.7rem, 5.4vw, 5.25rem); }
.detail-meta { margin-top: 1rem; font-size: .97rem; }
.breadcrumb { color: var(--muted); font-size: .8rem; margin-bottom: clamp(1.1rem,2.2vw,2rem); }
.breadcrumb a { text-decoration-color: #b5a69b; }
.affiliate-note, .privacy { max-width: 57ch; color: var(--muted); font-size: .79rem; line-height: 1.55; margin-top: .85rem; }
.book-body { border-top: 1px solid var(--line); padding-block: clamp(2.25rem,4.5vw,4.6rem); }
.prose { max-width: 47rem; }
.prose h2 { margin-bottom: 1.2rem; }
.prose p, .prose blockquote { color: #3e3530; font-family: var(--serif); font-size: clamp(1.12rem,1.85vw,1.35rem); line-height: 1.62; }
.prose p + p, .prose p + blockquote, .prose blockquote + p { margin-top: .9em; }
.prose ul, .prose ol { margin-block: 1.1rem; }
.book-nav { border-top: 1px solid var(--line); padding-block: 1.25rem 2.8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.2rem; }
.book-nav a { color: var(--wine); }
.newsletter-band { isolation: isolate; position: relative; color: #fff4e6; background: #482433; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(2.6rem,5.1vw,4.6rem); }
.newsletter-inner .eyebrow { color: var(--rose); margin: 0 0 .55rem; }
.newsletter-inner h2 { max-width: 26ch; }
.newsletter-inner p:not(.eyebrow) { max-width: 49ch; color: #eadad2; margin: .7rem 0 0; }
.newsletter-inner > .button { flex-shrink: 0; }
.site-footer { background: var(--cream); color: #3d3530; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.25rem 2.4rem; align-items: baseline; justify-content: space-between; padding-block: 2.1rem 2.5rem; }
.footer-inner nav, .footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.15rem; }
.footer-inner nav a, .footer-links a { display: inline-block; padding-block: .4rem; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.footer-inner { font-size: .82rem; }
.footer-inner .affiliate-note { margin: 0; }
@media (min-width: 62rem) {
  .page-books .book-grid, .page-audiobooks .book-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (max-width: 54rem) {
  .header-inner { gap: .5rem 1.3rem; }
  .site-nav { gap: .25rem .9rem; }
  .site-nav a { font-size: .8rem; }
  .hero-art { width: min(79%,15.5rem); }
  .hero-inner { grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); }
  .book-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .page-home .book-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 43rem) {
  .header-inner { display: block; min-height: 0; padding-block: .85rem .4rem; }
  .wordmark { font-size: 2rem; }
  .site-nav { margin-top: .3rem; justify-content: start; gap: 0 clamp(.75rem,3.2vw,1.2rem); }
  .site-nav a { min-height: 2.35rem; }
  .site-nav .header-newsletter { min-height: 2.1rem; padding: 0; border: 0; color: var(--wine); text-decoration: underline; }
  .hero-inner { grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); grid-template-rows: auto auto auto auto; gap: 0 1rem; padding-block: 2.1rem; }
  .hero-copy { display: contents; }
  .hero .eyebrow { grid-area: 1 / 1; gap: .45rem; align-self: end; font-size: .63rem; }
  .hero .eyebrow::before { width: 1rem; }
  .hero-title { grid-area: 2 / 1; align-self: start; font-size: clamp(2.5rem,8.4vw,3.7rem); margin-top: .75rem; }
  .hero-description { grid-area: 3 / 1 / 4 / -1; margin-top: 1.35rem; max-width: 50ch; }
  .hero .actions { grid-area: 4 / 1 / 5 / -1; margin-top: 1.2rem; gap: .45rem 1.1rem; }
  .hero-art { grid-area: 1 / 2 / 3 / 3; width: min(79%,11rem); justify-self: center; }
  .hero::before { background: linear-gradient(90deg,#1d131a99,#1d131a20), linear-gradient(to top,#21151de6,transparent 70%); }
  .section-heading, .section-head { align-items: baseline; flex-wrap: wrap; margin-bottom: 1.35rem; }
  .section-heading .text-link { min-height: 2rem; }
  .book-grid, .page-home .book-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.65rem 1rem; }
  .book-info { padding-top: .7rem; }
  .book-info .meta, .series-meta { font-size: .62rem; letter-spacing: .095em; }
  .series-row { flex-wrap: wrap; gap: .2rem; padding: .9rem 2rem .9rem 0; }
  .series-meta { width: 100%; max-width: 100%; text-align: left; }
  .book-detail { grid-template-columns: minmax(0,.54fr) minmax(0,1fr); gap: 1.2rem; align-items: start; padding-block: 2rem; }
  .detail-copy .eyebrow { font-size: .64rem; }
  .detail-title { font-size: clamp(2.1rem,8vw,3.6rem); }
  .detail-meta { font-size: .86rem; margin-top: .75rem; }
  .newsletter-inner { display: block; }
  .newsletter-inner > .button, .newsletter-inner > .text-link { margin-top: 1.35rem; }
  .footer-inner { display: grid; gap: .9rem; }
}
@media (max-width: 34rem) {
  .book-detail { grid-template-columns: minmax(0,.50fr) minmax(0,1fr); align-items: center; gap: .2rem 1.15rem; }
  .detail-copy { display: contents; }
  .detail-copy .breadcrumb { grid-column: 1 / -1; grid-row: 1; margin: 0 0 1rem; }
  .detail-art { grid-column: 1; grid-row: 2 / 6; align-self: start; }
  .detail-copy .eyebrow { grid-column: 2; grid-row: 2; margin: 0; align-self: end; }
  .detail-copy h1 { grid-column: 2; grid-row: 3; }
  .detail-meta { grid-column: 2; grid-row: 4; align-self: start; }
  .detail-copy > .actions, .detail-copy > .affiliate-note, .detail-copy > p:not(.eyebrow):not(.detail-meta) { grid-column: 1 / -1; }
}
@media (max-width: 23rem) {
  .site-nav { column-gap: .7rem; }
  .site-nav a { font-size: .75rem; }
  .hero-title { font-size: 2.38rem; }
  .hero .eyebrow { letter-spacing: .075em; }
  .hero-art { width: 86%; }
  .actions { gap: .5rem .7rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: copy-in .55s ease-out both; }
  .hero-art { animation: art-in .75s cubic-bezier(.2,.65,.2,1) both; }
  @keyframes copy-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes art-in { from { opacity: .3; translate: 6px 6px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .newsletter-band, .actions, .book-nav, .filter-nav, .skip-link { display: none; }
  .wrap { width: 100%; }
  body { background: white; color: black; }
  .hero { background: white; color: black; }
  .hero-backdrop, .hero::before { display: none; }
  .book-tile { break-inside: avoid; }
}
.hero .affiliate-note { color: #dbc9c8; font-size: .74rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .45rem; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; display: inline-block; color: #88786d; margin-right: .45rem; }
.footer-brand > p { margin-top: .65rem; color: var(--muted); }
.prose > h2:not(:first-child) { margin-top: 1.65rem; }
@media (max-width: 43rem) {
  .hero .affiliate-note { grid-column: 1 / -1; grid-row: 5; }
}
@media (max-width: 34rem) {
  .detail-copy > .goodreads-link { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 43rem) {
  .header-inner { position: relative; }
  .site-nav .header-newsletter { position: absolute; right: 0; top: .85rem; min-height: 2rem; padding: .2rem .65rem; border: 1px solid var(--line); text-decoration: none; }
}
.about-story { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); align-items: center; gap: clamp(2rem,7vw,6rem); }
.about-photo { width: 100%; }
.page-about .page-intro, .page-newsletter .page-intro, .page-privacy .page-intro { padding-bottom: 0; }
.page-about .about-story, .page-newsletter .page-intro + section, .page-privacy .page-intro + section { padding-top: 2rem; }
@media (max-width: 43rem) {
  .about-story { grid-template-columns: 1fr; }
}
