:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --ink: #24231f;
  --muted: #716e67;
  --accent: #b64c38;
  --line: #d7d1c5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; z-index: 10; top: -80px; left: 16px; padding: 12px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { min-height: 84px; padding: 0 6%; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; font-size: 15px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.wordmark span, .collection-intro h2 span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 34px; }
nav a { font-size: 12px; font-weight: 700; text-decoration: none; }
nav a:hover, footer a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--ink); padding: 13px 17px; }
.nav-cta span { padding-left: 10px; }
.hero { min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; }
.hero-copy { padding: 105px 7% 60px 12%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow, .section-number { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.eyebrow { color: var(--accent); display: flex; align-items: center; gap: 10px; }
.eyebrow-line { display: inline-block; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.hero h1 { margin: 28px 0 22px; font-size: clamp(42px, 4.8vw, 72px); line-height: 1.07; letter-spacing: -.055em; }
h1 em, h2 em, h3 em { font-weight: 400; }
.hero h1 em, .closing h2 em { color: var(--accent); }
.hero-intro { max-width: 410px; margin: 0 0 30px; color: #65625b; font-size: 15px; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 52px; padding: 0 20px; background: var(--ink); color: white; font-size: 12px; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--accent); }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 68px; color: #77736b; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.hero-art { min-width: 0; background: #e7e1d5; display: flex; flex-direction: column; padding: 35px 7% 30px; overflow: hidden; }
.art-label { display: flex; justify-content: space-between; color: #817a6e; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.cover-composition { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 400px; padding: 40px 0; }
.hero-cover { width: 34%; max-width: 205px; height: auto; box-shadow: 0 18px 30px #29251c38; }
.cover-left { transform: rotate(-9deg) translateX(13%); }
.cover-center { position: relative; z-index: 1; width: 38%; max-width: 230px; transform: translateY(-10px); }
.cover-right { transform: rotate(9deg) translateX(-13%); }
.art-caption { margin: 0; display: flex; align-items: center; justify-content: space-between; font-size: 9px; font-weight: 700; color: #817a6e; letter-spacing: .14em; }
.art-caption span { color: var(--accent); font-size: 26px; }
.marquee { min-height: 56px; padding: 14px 6%; display: flex; align-items: center; justify-content: space-around; gap: 22px; overflow: hidden; background: var(--ink); color: #f4f0e9; white-space: nowrap; font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.marquee span:nth-child(even) { color: #d77f66; font-size: 18px; }
.collection { max-width: 1440px; margin: 0 auto; padding: 105px 6% 115px; }
.collection-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 62px; }
.collection-intro h2 { margin: 20px 0 0; font-size: clamp(43px, 5vw, 67px); line-height: 1; letter-spacing: -.05em; }
.collection-intro > p { max-width: 285px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.book-section { padding-top: 28px; border-top: 1px solid var(--ink); scroll-margin-top: 20px; }
.book-section + .book-section { margin-top: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 36px; }
.section-number { color: var(--accent); }
.section-heading h3 { margin: 14px 0 0; font-size: clamp(29px, 3vw, 40px); letter-spacing: -.04em; }
.section-heading h3 em { color: #8a847a; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.book-grid { display: grid; gap: 30px; }
.fiction-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nonfiction-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.book-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.cover-frame { width: 100%; display: flex; align-items: center; justify-content: center; background: #e7e1d7; padding: 28px; }
.fiction-frame { height: 380px; }
.nonfiction-frame { height: 300px; }
.book-card:nth-child(2) .cover-frame { background: #e9e3d8; }
.book-card:nth-child(3) .cover-frame { background: #dedfdc; }
.book-card:nth-child(4) .cover-frame { background: #e4e0d7; }
.cover-frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 9px 18px #28231b30; transition: transform .2s ease; }
.book-card:hover .cover-frame img { transform: translateY(-5px); }
.book-category { margin: 25px 0 12px; color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.book-category span { color: #b1aa9f; padding: 0 4px; }
.book-card h4 { margin: 0 0 12px; font-size: 25px; line-height: 1.16; letter-spacing: -.025em; }
.nonfiction-grid h4 { font-size: 21px; }
.book-card > p:not(.book-category) { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.book-link { margin-top: auto; padding: 0 0 6px; border-bottom: 1px solid var(--accent); font-size: 11px; font-weight: 700; text-decoration: none; }
.book-link span:not(.sr-only) { color: var(--accent); margin-left: 8px; }
.book-link:hover { color: var(--accent); }
.closing { padding: 90px 20px; background: #e8e1d4; text-align: center; }
.closing .eyebrow { justify-content: center; }
.closing h2 { margin: 22px 0 30px; font-size: clamp(40px, 5vw, 63px); line-height: 1.1; letter-spacing: -.05em; }
.button-light { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.button-light:hover { color: white; border-color: var(--accent); }
footer { min-height: 90px; padding: 25px 6%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer p { color: var(--muted); font-size: 12px; }
footer > a:last-child { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-decoration: none; }
footer > a:last-child span { color: var(--accent); padding-left: 8px; }
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-copy { padding: 75px 8%; }
  .hero-note { margin-top: 45px; }
  .cover-composition { min-height: 300px; }
  .fiction-frame { height: 300px; }
  .nonfiction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 55px; }
  .nonfiction-frame { height: 330px; }
}
@media (max-width: 600px) {
  .site-header { min-height: 72px; padding: 18px 5%; flex-wrap: wrap; }
  nav { gap: 20px; }
  nav a { font-size: 11px; }
  .nav-cta { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 6% 55px; }
  .hero h1 { font-size: clamp(41px, 10vw, 58px); }
  .hero-note { margin-top: 40px; }
  .hero-art { min-height: 375px; padding: 25px 6%; }
  .cover-composition { min-height: 270px; padding: 25px 0; }
  .marquee { justify-content: flex-start; }
  .collection { padding: 75px 6% 80px; }
  .collection-intro, .section-heading { align-items: flex-start; flex-direction: column; }
  .collection-intro { padding-bottom: 45px; }
  .section-heading { gap: 12px; }
  .fiction-grid, .nonfiction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px 18px; }
  .fiction-frame, .nonfiction-frame { height: 240px; padding: 18px; }
  .book-card h4, .nonfiction-grid h4 { font-size: 21px; }
  .book-category { line-height: 1.6; }
  .book-section + .book-section { margin-top: 75px; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  footer p { margin: 0 0 8px; }
}
@media (max-width: 360px) {
  .fiction-grid, .nonfiction-grid { grid-template-columns: 1fr; }
  .fiction-frame, .nonfiction-frame { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cover-frame img { transition: none; }
}
