:root {
  --ink: #0b0b0b;
  --paper: #f4efe9;
  --cream: #e9dfd3;
  --red: #a81726;
  --red-bright: #d2343f;
  --green: #17352f;
  --muted: #a9a39c;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.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 {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 5vw, 5rem);
}
.brand { text-decoration: none; display: grid; line-height: 1.1; }
.brand span { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 600; letter-spacing: .03em; }
.brand small { margin-top: .4rem; color: var(--muted); font-size: .67rem; letter-spacing: .2em; text-transform: uppercase; }
nav { display: flex; gap: clamp(1.2rem, 3vw, 2.8rem); }
nav a { position: relative; text-decoration: none; color: var(--cream); font-size: .75rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 1px; background: var(--red-bright); transition: right .25s ease; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  padding: 9rem clamp(1.25rem, 7vw, 8rem) 5rem;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 54vw;
  aspect-ratio: 1;
  border-radius: 50%;
  right: -22vw;
  top: 12vh;
  background: radial-gradient(circle, rgba(168,23,38,.34), rgba(23,53,47,.14) 45%, transparent 70%);
  z-index: -1;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, #4c2226, transparent); }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 1.25rem; color: var(--red-bright); font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 500; line-height: .96; text-wrap: balance; }
h1 { font-size: clamp(4.1rem, 8vw, 8.4rem); letter-spacing: -.04em; }
h1 em, h2 em { color: var(--red-bright); font-weight: 500; }
.hero-text { max-width: 620px; margin: 2rem 0 0; color: #c8c0b8; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: .9rem 1.55rem; text-decoration: none; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.button-primary { background: var(--red); border: 1px solid var(--red); transition: background .2s, border-color .2s; }
.button-primary:hover, .button-primary:focus-visible { background: #c02433; border-color: #c02433; }
.text-link { text-underline-offset: .35rem; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero-art { position: relative; justify-self: center; width: min(100%, 500px); }
.hero-art img { position: relative; z-index: 2; width: 100%; height: auto; box-shadow: -24px 32px 48px rgba(0,0,0,.56); border: 1px solid #443538; }
.cover-shadow { position: absolute; z-index: 1; inset: 4% -4% -3% 5%; border: 1px solid rgba(210,52,63,.42); transform: rotate(1.5deg); }
.vertical-note { position: absolute; right: 1rem; bottom: 5rem; margin: 0; color: #58534e; font-size: .65rem; letter-spacing: .28em; writing-mode: vertical-rl; }

.book-section {
  position: relative;
  display: grid;
  grid-template-columns: .25fr .9fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(6rem, 12vw, 11rem) clamp(1.25rem, 7vw, 8rem);
  background: var(--paper);
  color: var(--ink);
}
.section-number { color: var(--red); font-family: var(--display); font-size: 1.25rem; }
.book-intro h2, .about-heading h2, .release-copy h2 { font-size: clamp(3.2rem, 5.3vw, 6.2rem); letter-spacing: -.035em; }
.book-copy { max-width: 650px; color: #35312d; }
.book-copy p:first-child { margin-top: 0; font-family: var(--display); font-size: 1.45rem; line-height: 1.45; }
.pull-quote { grid-column: 2 / 4; margin: clamp(3rem, 7vw, 7rem) 0 0; padding: clamp(2rem, 5vw, 4rem) 0 0; border-top: 1px solid #c8bdb3; }
.pull-quote p { margin: 0; color: var(--green); font-family: var(--display); font-size: clamp(2.7rem, 5vw, 6rem); font-style: italic; line-height: 1; }

.about-section {
  position: relative;
  min-height: 78vh;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: clamp(2.5rem, 8vw, 10rem);
  padding: clamp(6rem, 12vw, 11rem) clamp(1.25rem, 8vw, 10rem);
  background: var(--green);
  overflow: hidden;
}
.about-mark { position: absolute; left: -2rem; bottom: -11rem; color: rgba(255,255,255,.035); font-family: var(--display); font-size: min(60vw, 42rem); font-weight: 700; line-height: 1; }
.about-heading, .about-copy { position: relative; z-index: 2; }
.about-heading h2 em { color: #e4b8ab; }
.about-copy { max-width: 700px; color: #d6dfdc; }
.about-copy p { max-width: 62ch; }
.about-copy p:first-child { margin-top: 0; font-family: var(--display); font-size: 1.3rem; line-height: 1.55; color: white; }

.release-section {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  align-items: center;
  gap: clamp(2rem, 8vw, 9rem);
  padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 8vw, 10rem);
  background: #120f10;
}
.release-date { display: grid; justify-items: center; padding: 2rem; border: 1px solid #432328; }
.release-date span { color: #b9aaa5; font-size: .72rem; letter-spacing: .35em; }
.release-date strong { color: var(--red-bright); font-family: var(--display); font-size: clamp(8rem, 18vw, 15rem); font-weight: 500; line-height: .8; }
.release-copy { max-width: 740px; }
.release-copy > p:not(.eyebrow) { max-width: 640px; color: #bdb4af; }
.availability { display: inline-block; margin-top: 1.3rem; padding-bottom: .35rem; border-bottom: 1px solid var(--red-bright); color: var(--paper); font-size: .73rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.contact-section {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: clamp(3rem, 10vw, 10rem);
  padding: clamp(6rem, 11vw, 9rem) clamp(1.25rem, 8vw, 10rem);
  background: var(--red);
}
.contact-copy h2 { max-width: 850px; font-size: clamp(3.5rem, 6vw, 7rem); }
.contact-section .eyebrow { color: #f1c7c3; }
.contact-details { max-width: 560px; }
.contact-details p { margin: 0 0 2rem; color: #f2dcd7; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.45; }
.contact-button { max-width: 100%; border: 1px solid rgba(255,255,255,.5); background: var(--paper); color: var(--ink); overflow-wrap: anywhere; transition: background .2s, color .2s; }
.contact-button:hover, .contact-button:focus-visible { background: var(--ink); color: var(--paper); }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2rem clamp(1.25rem, 5vw, 5rem); border-top: 1px solid #292426; color: #8f8985; font-size: .72rem; }
.footer-brand { color: var(--paper); font-family: var(--display); font-size: 1.2rem; text-decoration: none; }
footer p { margin: 0; }
.footer-end { display: flex; align-items: center; justify-self: end; gap: 1.5rem; }
.footer-end a { color: var(--cream); text-underline-offset: .25rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 2px solid #f05b66; outline-offset: 4px; }

@media (max-width: 860px) {
  .site-header { position: fixed; padding: 1rem 1.25rem; background: rgba(11,11,11,.94); backdrop-filter: blur(12px); }
  .brand span { font-size: 1.35rem; }
  .menu-button { display: grid; gap: 6px; width: 2.65rem; height: 2.65rem; place-content: center; padding: 0; color: white; background: transparent; border: 1px solid #403638; }
  .menu-button span:not(.sr-only) { display: block; width: 18px; height: 1px; background: currentColor; }
  nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; gap: 0; padding: 1rem 1.25rem 1.5rem; background: rgba(11,11,11,.97); border-top: 1px solid #2c2527; }
  nav.open { display: flex; }
  nav a { padding: .8rem 0; }
  .hero { grid-template-columns: 1fr; padding-top: 9rem; text-align: left; }
  .hero-art { width: min(72vw, 300px); margin: 1.5rem auto 2rem; }
  .hero-art img { width: auto; max-width: 100%; max-height: 50svh; margin: 0 auto; object-fit: contain; box-shadow: -14px 20px 32px rgba(0,0,0,.5); }
  .hero-art .cover-shadow { display: none; }
  .vertical-note { display: none; }
  .book-section { grid-template-columns: 1fr; }
  .section-number { display: none; }
  .pull-quote { grid-column: auto; }
  .about-section, .release-section, .contact-section { grid-template-columns: 1fr; }
  .about-section { min-height: auto; gap: 2rem; padding: 5.5rem 1.5rem; }
  .about-heading h2 { font-size: clamp(3.25rem, 13vw, 4.75rem); line-height: .98; }
  .about-copy p:first-child { font-size: 1.2rem; line-height: 1.6; }
  .about-copy { font-size: 1rem; line-height: 1.75; }
  .release-date { justify-self: stretch; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-end { flex-direction: column; justify-self: center; gap: .5rem; }
}

@media (max-width: 520px) {
  .brand small { display: none; }
  h1 { font-size: clamp(3.5rem, 18vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .hero-art { width: min(70vw, 280px); }
  .hero-art img { max-height: 48svh; }
  .book-intro h2, .release-copy h2 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .about-heading h2 { font-size: clamp(3rem, 12.5vw, 4rem); }
  .about-copy p { margin-bottom: 1.35rem; }
}

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