:root {
  --black: #080808;
  --charcoal: #11100f;
  --paper: #f3eee4;
  --gold: #d4ad62;
  --gold-light: #f1d394;
  --burgundy: #46141d;
  --muted: #b7afa1;
  --line: rgba(212, 173, 98, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--paper); font-family: Inter, sans-serif; font-size: 1rem; line-height: 1.7; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--gold); color: #000; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; min-height: 5.5rem; padding: 0 clamp(1.25rem, 5vw, 5rem); background: linear-gradient(to bottom, rgba(8,8,8,.98), rgba(8,8,8,.78)); border-bottom: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(15px); }
.brand { display: inline-flex; gap: .8rem; align-items: center; text-decoration: none; font-family: "Cormorant Garamond", serif; font-size: 1.15rem; font-weight: 600; letter-spacing: .04em; }
.brand-mark { display: grid; place-items: center; width: 2.35rem; aspect-ratio: 1; border: 1px solid var(--gold); color: var(--gold); font-family: Inter, sans-serif; font-size: .67rem; letter-spacing: .08em; transform: rotate(45deg); }
.brand-mark::first-line { transform: rotate(-45deg); }
.brand .brand-mark { text-indent: 0; }
.brand-mark { line-height: 2.35rem; text-align: center; }
.brand-mark::before { content: ""; }
nav { display: flex; gap: 2rem; align-items: center; }
nav a { color: #ddd5c9; text-decoration: none; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: var(--gold-light); }
.nav-cta { border: 1px solid var(--gold); padding: .65rem 1rem; }
.menu-button { display: none; background: transparent; border: 1px solid var(--line); color: var(--paper); padding: .55rem .8rem; font: inherit; }

.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); padding: 9rem clamp(1.25rem, 8vw, 8rem) 5rem; background: radial-gradient(circle at 77% 45%, rgba(113,34,38,.36), transparent 30%), linear-gradient(115deg, #080808 0%, #100d0c 55%, #1b0d10 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, black, transparent 78%); }
.hero-copy, .hero-art { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1rem; color: var(--gold); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 600; }
h1, h2, h3, blockquote { font-family: "Cormorant Garamond", serif; line-height: .98; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3.35rem, 7.7vw, 7.8rem); font-weight: 600; letter-spacing: -.035em; }
.hero-text { max-width: 42rem; color: #c8c0b4; font-size: clamp(1rem, 1.3vw, 1.18rem); margin: 2rem 0; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.2rem; padding: .75rem 1.35rem; text-decoration: none; text-transform: uppercase; letter-spacing: .11em; font-weight: 600; font-size: .78rem; transition: .25s ease; }
.button-gold { background: var(--gold); color: #16100a; border: 1px solid var(--gold); }
.button-gold:hover, .button-gold:focus-visible { background: var(--gold-light); transform: translateY(-2px); }
.button-ghost { border: 1px solid rgba(255,255,255,.3); color: var(--paper); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--gold); color: var(--gold-light); }
.hero-art { justify-self: center; width: min(100%, 390px); perspective: 1000px; }
.featured-cover { position: relative; z-index: 2; width: 100%; aspect-ratio: 1 / 1.6; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 2rem 1.2rem; text-align: center; color: #fff; background: radial-gradient(circle at 50% 35%, rgba(212,173,98,.18), transparent 24%), linear-gradient(155deg, #2a1117 0%, #080808 48%, #501723 100%); box-shadow: -28px 30px 80px rgba(0,0,0,.65); transform: rotateY(-7deg) rotateZ(1deg); border: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.featured-cover-image { position: relative; z-index: 2; width: 100%; aspect-ratio: 1 / 1.6; object-fit: contain; background: #050505; box-shadow: -28px 30px 80px rgba(0,0,0,.65); transform: rotateY(-7deg) rotateZ(1deg); border: 1px solid rgba(255,255,255,.12); }
.featured-cover::before { content: "III"; position: absolute; inset: 5% 0 auto; color: rgba(212,173,98,.13); font-family: "Cormorant Garamond", serif; font-size: 14rem; line-height: 1; }
.featured-cover small, .featured-cover span { position: relative; text-transform: uppercase; letter-spacing: .16em; font: 600 .62rem Inter, sans-serif; }
.featured-cover small { color: var(--gold-light); margin-bottom: auto; }
.featured-cover strong { position: relative; font: 700 clamp(2.4rem, 4vw, 3.6rem)/.82 "Cormorant Garamond", serif; text-transform: uppercase; text-shadow: 0 5px 25px #000; }
.featured-cover em { position: relative; margin: .8rem 0 1.5rem; color: var(--gold-light); font: 600 1.05rem "Cormorant Garamond", serif; }
.hero-art p { margin: 1.7rem 0 0; text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; }
.hero-art p span { color: var(--gold); margin-right: .8rem; }
.book-halo { position: absolute; width: 120%; aspect-ratio: 1; left: -8%; top: 13%; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 100px rgba(151,47,47,.28); }
.hero-side-note { position: absolute; right: 2rem; bottom: 3rem; writing-mode: vertical-rl; color: rgba(255,255,255,.28); font-size: .68rem; letter-spacing: .28em; }

.series-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 8rem clamp(1.25rem, 8vw, 8rem) 4rem; border-top: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(2.8rem, 5.5vw, 5.8rem); font-weight: 600; }
.series-intro > p { max-width: 42rem; margin: 1rem 0 0; color: var(--muted); font-size: 1.06rem; }
.book-grid { padding: 2rem clamp(1.25rem, 8vw, 8rem) 9rem; display: grid; gap: 7rem; }
.book-card { display: grid; grid-template-columns: minmax(240px, 390px) minmax(0, 1fr); gap: clamp(2rem, 7vw, 8rem); align-items: center; max-width: 1050px; }
.book-card:nth-child(even) { margin-left: auto; }
.book-card:nth-child(even) .cover-shell { order: 2; }
.cover-shell { position: relative; aspect-ratio: 1 / 1.55; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #15100f; border: 1px solid rgba(255,255,255,.1); }
.cover-shell > img { width: 100%; height: 100%; object-fit: contain; background: #050505; }
.cover-one { background: radial-gradient(circle at 50% 27%, rgba(240,203,133,.22), transparent 20%), linear-gradient(150deg, #1c2734, #090b0e 48%, #332316); }
.cover-two { background: radial-gradient(circle at 50% 24%, rgba(174,58,69,.32), transparent 23%), linear-gradient(145deg, #3e1018, #090909 55%, #241018); }
.cover-three { background: radial-gradient(circle at 50% 25%, rgba(212,173,98,.17), transparent 21%), linear-gradient(155deg, #0b0b0b, #46141d 72%, #15100f); }
.cover-shell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.18), transparent 36%, rgba(0,0,0,.94)); }
.cover-type { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 2rem 1rem 1.4rem; }
.cover-type small { color: var(--gold-light); text-transform: uppercase; letter-spacing: .25em; font-weight: 600; }
.cover-type strong { margin: .65rem 0 1rem; font-family: "Cormorant Garamond", serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: .82; text-transform: uppercase; text-shadow: 0 3px 18px #000; }
.cover-type span { color: #ddd4c6; text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; }
.cover-type em { color: var(--gold-light); font: 600 1rem "Cormorant Garamond", serif; margin: -.25rem 0 .85rem; }
.book-details { position: relative; padding: 2rem 0; }
.book-number { display: block; color: rgba(212,173,98,.2); font-family: "Cormorant Garamond", serif; font-size: 7rem; line-height: .7; font-weight: 700; }
.book-details h3 { font-size: clamp(2.3rem, 4.5vw, 4.6rem); margin: 1rem 0 1.4rem; font-weight: 600; }
.book-details p { max-width: 34rem; color: var(--muted); }
.book-details a { display: inline-block; margin-top: 1.2rem; color: var(--gold-light); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; border-bottom: 1px solid var(--gold); padding-bottom: .35rem; }

.quote-band { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; padding: 7rem clamp(1.25rem, 10vw, 11rem); background: var(--burgundy); border-block: 1px solid rgba(255,255,255,.08); }
.quote-band > span { color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 5rem; line-height: 1; opacity: .8; }
blockquote { max-width: 900px; margin: 0 auto; text-align: center; font-size: clamp(2.4rem, 5.2vw, 5rem); font-style: italic; }
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 10rem); align-items: center; padding: 10rem clamp(1.25rem, 10vw, 11rem); background: #0e0d0c; }
.author-portrait { width: min(100%, 430px); aspect-ratio: 4 / 5; border: 1px solid var(--gold); box-shadow: 22px 22px 0 rgba(70,20,29,.5); overflow: hidden; background: var(--burgundy); }
.author-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-copy p:not(.eyebrow) { color: var(--muted); max-width: 45rem; }
.news { text-align: center; padding: 9rem 1.25rem; background: radial-gradient(circle at center, rgba(112,30,38,.3), transparent 48%); }
.news h2 { max-width: 800px; margin: 0 auto; }
.news > p:not(.eyebrow) { max-width: 580px; margin: 1.6rem auto 2.2rem; color: var(--muted); }
footer { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; padding: 2.5rem clamp(1.25rem, 5vw, 5rem); border-top: 1px solid var(--line); color: #948d83; font-size: .78rem; }
.footer-brand { color: var(--paper); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

@media (max-width: 850px) {
  .site-header { min-height: 4.7rem; }
  .brand { font-size: 1rem; }
  .menu-button { display: block; }
  nav { position: absolute; display: none; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 1.2rem; background: #0b0b0b; border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: .6rem; }
  .nav-cta { text-align: center; }
  .hero { grid-template-columns: 1fr; padding-top: 8rem; }
  .hero-art { width: min(75vw, 350px); margin-top: 1rem; }
  .hero-side-note { display: none; }
  .series-intro { grid-template-columns: 1fr; gap: 1rem; padding-top: 6rem; }
  .book-grid { gap: 6rem; }
  .book-card { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .book-card:nth-child(even) .cover-shell { order: initial; }
  .cover-shell { width: min(86vw, 390px); margin-inline: auto; }
  .book-details { text-align: center; }
  .book-details p { margin-inline: auto; }
  .quote-band { gap: .5rem; padding-inline: 1rem; }
  .quote-band > span { font-size: 2.5rem; }
  .about { grid-template-columns: 1fr; padding-top: 7rem; padding-bottom: 7rem; }
  .author-portrait { width: min(75vw, 330px); margin: 0 auto; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 520px) {
  .brand > span:last-child { max-width: 185px; line-height: 1.05; }
  h1 { font-size: clamp(3.2rem, 16vw, 4.7rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .quote-band > span { display: none; }
  .quote-band { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
