:root {
  --paper: #f5f2eb;
  --ink: #1d1d1b;
  --muted: #77756e;
  --line: #d7d2c7;
  --red: #d24732;
  --yellow: #e7ae3c;
  --blue: #164b57;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.site-header { max-width: 1240px; margin: auto; height: 88px; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 11px; align-items: center; font: 700 17px/1 "DM Mono", monospace; letter-spacing: .11em; }
.brand-name small { display: block; margin-top: 3px; color: var(--muted); font-size: 7px; letter-spacing: .28em; }
.brand-mark { width: 29px; height: 29px; display: grid; place-items: center; color: var(--paper); background: var(--red); font: 500 18px "Playfair Display", serif; letter-spacing: 0; }
.main-nav { display: flex; gap: 35px; margin-left: 130px; font-size: 13px; }
.main-nav a { position: relative; padding: 34px 0; color: var(--muted); }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active:after { content: ""; height: 2px; position: absolute; right: 0; bottom: -1px; left: 0; background: var(--red); }
.header-actions { display: flex; gap: 19px; align-items: center; }
.icon-button, .menu-button { border: 0; color: var(--ink); background: transparent; font-size: 27px; line-height: 1; }
.language-switch { padding: 5px 0; border: 0; color: var(--muted); background: transparent; font: 10px "DM Mono", monospace; letter-spacing: .08em; }
.language-switch strong { color: var(--red); font-weight: 500; }
.language-switch span { margin: 0 4px; color: var(--line); }
.subscribe-link { padding: 12px 17px; border: 1px solid var(--ink); font-size: 12px; }
.subscribe-link span { margin-left: 13px; font-size: 16px; }
.menu-button { display: none; font-size: 22px; }
.hero { max-width: 1240px; min-height: 560px; margin: auto; padding: 75px 42px 63px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-bottom: 1px solid var(--line); }
.eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 19px; color: var(--muted); font: 11px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 25px; height: 1px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
h1 { max-width: 580px; margin-bottom: 27px; font-size: clamp(56px, 7vw, 92px); line-height: .96; letter-spacing: -.055em; }
em { color: var(--red); font-style: italic; }
.hero-description { max-width: 350px; margin-bottom: 28px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.text-link, .read-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 5px; border-bottom: 1px solid var(--red); font: 12px "DM Mono", monospace; }
.text-link span, .read-link span { color: var(--red); font-size: 17px; }
.hero-art { position: relative; min-height: 390px; }
.sun { position: absolute; top: -25px; right: 10%; width: 300px; height: 300px; border-radius: 50%; background: var(--yellow); opacity: .9; }
.hero-label { position: absolute; top: 24px; right: 3%; z-index: 3; color: var(--red); font: 11px "DM Mono", monospace; writing-mode: vertical-rl; }
.book { position: absolute; display: flex; flex-direction: column; justify-content: space-between; padding: 17px; box-shadow: 10px 12px 16px rgba(29,29,27,.12); }
.book-back { top: 43px; left: 19%; width: 188px; height: 274px; color: #ece5d4; background: #6b2532; transform: rotate(-12deg); font: 14px/1.1 "DM Mono", monospace; }
.book-middle { top: 69px; left: 39%; width: 176px; height: 270px; color: #d64d34; background: #233d4a; transform: rotate(9deg); font: 14px/1.1 "DM Mono", monospace; }
.book-front { top: 92px; left: 27%; z-index: 2; width: 187px; height: 282px; color: var(--ink); background: #dcae3d; transform: rotate(-2deg); }
.book-title { margin-top: 31px; font: 500 38px/1 "Playfair Display", serif; letter-spacing: -.06em; }
.book-author { font: 10px "DM Mono", monospace; }
.spark { position: absolute; right: 12%; bottom: 10px; z-index: 3; color: var(--red); font-size: 31px; }
.section-block { max-width: 1240px; margin: auto; padding: 75px 42px 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 39px; }
.section-heading h2 { margin: 0; font-size: 43px; line-height: 1; letter-spacing: -.04em; }
.section-heading .text-link { margin-bottom: 4px; }
.featured-review { display: grid; grid-template-columns: 38% 1fr; min-height: 370px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.featured-cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 370px; padding: 29px 32px; color: #f7e9dc; background: var(--red); }
.cover-kicker, .cover-author { font: 11px "DM Mono", monospace; letter-spacing: .08em; }
.cover-title { font: 46px/.9 "Playfair Display", serif; letter-spacing: -.06em; }
.cover-title strong { font-weight: 700; }
.cover-rule { width: 53px; border-top: 1px solid #f7e9dc; }
.featured-content { padding: 42px 48px; display: flex; flex-direction: column; }
.review-meta, .card-type { display: flex; gap: 21px; color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; }
.featured-content h3 { margin: 41px 0 18px; font-size: 40px; line-height: 1.05; letter-spacing: -.04em; }
.featured-content > p { max-width: 470px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.review-footer { display: flex; align-items: center; gap: 25px; margin-top: auto; }
.rating { display: flex; gap: 10px; align-items: center; font: 11px "DM Mono", monospace; }
.rating strong { font-size: 17px; }
.rating span { color: var(--yellow); letter-spacing: 1px; }
.bookmark, .small-bookmark { border: 0; color: var(--red); background: transparent; font-size: 25px; }
.bookmark.saved, .small-bookmark.saved { color: var(--red); }
.read-link { margin-left: auto; }
.books-section { padding-top: 0; }
.section-heading.compact { margin-bottom: 27px; }
.slider-controls { display: flex; gap: 8px; }
.slider-controls button { width: 38px; height: 38px; border: 1px solid var(--line); color: var(--ink); background: transparent; }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.book-card { display: grid; grid-template-columns: 38% 1fr; gap: 21px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.mini-cover { position: relative; min-height: 185px; padding: 15px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 4px 5px 11px rgba(0,0,0,.1); }
.blue-cover { color: #e9e9d8; background: var(--blue); }.yellow-cover { color: #252525; background: #dbb144; }.red-cover { color: #ffe4ca; background: #9c2d27; }
.mini-cover:after { content: ""; position: absolute; right: -25px; bottom: -30px; width: 85px; height: 85px; border-radius: 50%; border: 1px solid currentColor; }
.mini-cover-title { max-width: 105px; font: 21px/.9 "Playfair Display", serif; letter-spacing: -.05em; }
.mini-cover-author { font: 8px "DM Mono", monospace; }
.card-info { position: relative; padding-top: 4px; }
.card-type { margin-bottom: 20px; font-size: 9px; }
.small-bookmark { position: absolute; top: -7px; right: -4px; font-size: 21px; }
.card-info h3 { margin: 0 0 5px; font-size: 21px; line-height: 1.1; }
.card-info p { margin: 0; color: var(--muted); font-size: 12px; }
.newsletter { display: flex; justify-content: space-between; align-items: center; padding: 72px max(42px, calc((100% - 1156px) / 2)); color: #f6f1e7; background: var(--blue); }
.eyebrow.light { color: #abc2c4; }.newsletter h2 { margin: 0; font-size: 43px; line-height: 1.05; letter-spacing: -.04em; }.newsletter h2 em { color: var(--yellow); }
.newsletter-form { width: 360px; }.newsletter-form label { display: block; margin-bottom: 11px; color: #abc2c4; font: 10px "DM Mono", monospace; text-transform: uppercase; }
.input-row { display: flex; border-bottom: 1px solid #abc2c4; }.input-row input { width: 100%; padding: 9px 0; border: 0; outline: 0; color: #f6f1e7; background: transparent; }.input-row input::placeholder { color: #abc2c4; }.input-row button { padding: 0 0 7px 15px; border: 0; color: var(--yellow); background: transparent; font-size: 25px; }
.form-note { margin: 12px 0 0; color: #abc2c4; font-size: 11px; }
.site-footer { max-width: 1240px; margin: auto; padding: 33px 42px; display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 30px; align-items: center; color: var(--muted); font-size: 11px; }
.footer-brand { color: var(--ink); }.site-footer p { margin: 0; line-height: 1.6; }.footer-links { display: flex; gap: 20px; }.footer-links a:hover { color: var(--red); }.site-footer small { font: 10px "DM Mono", monospace; }
.toast { position: fixed; right: 24px; bottom: 24px; padding: 13px 17px; color: white; background: var(--red); font-size: 12px; opacity: 0; transform: translateY(15px); transition: .25s ease; pointer-events: none; }.toast.show { opacity: 1; transform: translateY(0); }
@media (max-width: 760px) {
  .site-header { height: 72px; padding: 0 21px; }.main-nav { position: absolute; top: 72px; right: 0; left: 0; z-index: 10; display: none; flex-direction: column; gap: 0; margin: 0; padding: 10px 21px; background: var(--paper); border-bottom: 1px solid var(--line); }.main-nav.open { display: flex; }.main-nav a { padding: 12px 0; }.main-nav a.active:after { display: none; }.subscribe-link, .icon-button { display: none; }.menu-button { display: block; }
  .hero { display: block; min-height: auto; padding: 52px 21px 50px; }.hero-art { min-height: 345px; margin-top: 20px; transform: scale(.88); transform-origin: left center; }.sun { right: 0; }.book-back { left: 9%; }.book-middle { left: 35%; }.book-front { left: 23%; }
  .section-block { padding: 57px 21px; }.section-heading { align-items: start; }.section-heading h2, .newsletter h2 { font-size: 35px; }.section-heading > .text-link { display: none; }
  .featured-review { display: block; }.featured-cover { min-height: 300px; }.featured-content { min-height: 330px; padding: 29px 23px; }.featured-content h3 { margin-top: 34px; font-size: 32px; }.review-footer { gap: 13px; }
  .book-grid { grid-template-columns: 1fr; gap: 28px; }.book-card { grid-template-columns: 31% 1fr; }.mini-cover { min-height: 155px; }.slider-controls { display: none; }
  .newsletter { display: block; padding: 56px 21px; }.newsletter-form { width: 100%; margin-top: 35px; }.site-footer { padding: 30px 21px; grid-template-columns: 1fr 1fr; gap: 22px; }.site-footer small { text-align: right; }.footer-links { grid-column: 1 / -1; }
}
