:root {
  --background: #fbf7f4;
  --foreground: #211a1b;
  --primary: #7b3546;
  --primary-foreground: #fffaf8;
  --border: #dfcbc9;
  --rose: #b97582;
  --rose-light: #f1dcdd;
  --wine: #592536;
  --ink-soft: #66585a;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Trebuchet MS", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--rose-light); color: var(--wine); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: grid;
  width: min(100% - 48px, 1240px);
  min-height: 96px;
  transform: translateX(-50%);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(89, 37, 54, .18);
}
.wordmark {
  width: max-content;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .04em;
}
.wordmark span { font-style: italic; }
nav { display: flex; gap: clamp(22px, 3vw, 44px); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
nav a, .social-links a, .text-link { transition: color 180ms ease; }
nav a:hover, .social-links a:hover, .text-link:hover { color: var(--primary); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  border-bottom: 1px solid var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: 900px;
  grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr);
  overflow: hidden;
  background: radial-gradient(circle at 12% 24%, rgba(185,117,130,.16), transparent 32%), linear-gradient(110deg, #ead6d6 0 45%, #faf5f2 45% 100%);
  padding: 156px max(24px, calc((100vw - 1240px) / 2)) 86px;
}
.hero::before, .hero::after { position: absolute; content: ""; border: 1px solid rgba(123,53,70,.18); border-radius: 50%; }
.hero::before { width: 430px; height: 430px; right: -245px; top: 180px; }
.hero::after { width: 610px; height: 610px; right: -330px; top: 90px; }
.hero-art { position: relative; z-index: 2; align-self: center; justify-self: center; width: min(78%, 390px); }
.cover-frame { position: relative; transform: rotate(-1.4deg); }
.cover-frame::before { position: absolute; z-index: -1; inset: 14px -16px -18px 16px; content: ""; background: rgba(61,27,38,.16); filter: blur(20px); }
.cover-frame img { display: block; width: 100%; height: auto; border: 7px solid rgba(255,253,251,.8); box-shadow: 0 24px 60px rgba(61,27,38,.2); }
.edition-note { display: block; margin-top: 28px; color: var(--wine); font-family: var(--font-display); font-size: 14px; font-style: italic; letter-spacing: .03em; text-align: center; }

.hero-copy { z-index: 2; align-self: center; max-width: 680px; padding-left: clamp(38px, 6vw, 96px); }
.eyebrow { margin: 0 0 18px; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, blockquote { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.08; }
h1 { max-width: 660px; font-size: clamp(48px, 5.4vw, 78px); letter-spacing: -.035em; }
h1 em { color: var(--primary); font-weight: 400; }
.hero-deck { max-width: 580px; margin: 30px 0 34px; color: var(--ink-soft); font-family: var(--font-display); font-size: 19px; line-height: 1.65; }
.hero-actions, .social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border: 1px solid transparent; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--wine); box-shadow: 0 10px 28px rgba(89,37,54,.2); color: var(--primary-foreground); }
.button-primary:hover { background: #6b2d41; box-shadow: 0 14px 32px rgba(89,37,54,.25); }
.button-light { margin-top: 30px; border-color: rgba(255,255,255,.42); background: #fffaf8; color: var(--wine); }
.text-link { display: inline-flex; align-items: center; gap: 9px; border-bottom: 1px solid rgba(89,37,54,.3); font-family: var(--font-display); font-size: 16px; font-style: italic; }

.release-strip { display: grid; margin-top: 52px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.release-strip div { padding: 22px 18px 0 0; }
.release-strip div + div { padding-left: 18px; border-left: 1px solid var(--border); }
.release-strip span, .release-strip strong { display: block; }
.release-strip span { margin-bottom: 2px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.release-strip strong { font-family: var(--font-display); font-size: 16px; font-weight: 400; }

.promise { display: flex; min-height: 86px; align-items: center; justify-content: center; gap: clamp(14px, 2.8vw, 44px); padding: 20px 28px; background: var(--wine); color: #f8eaea; font-family: var(--font-display); font-size: 14px; font-style: italic; letter-spacing: .04em; }
.promise i { width: 4px; height: 4px; border-radius: 50%; background: var(--rose); }

.book-section, .about-section { display: grid; width: min(100% - 48px, 1160px); margin: 0 auto; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 150px); padding: 140px 0; }
.section-heading { position: sticky; top: 50px; align-self: start; }
h2 { font-size: clamp(38px, 4.4vw, 58px); letter-spacing: -.025em; }
.synopsis { color: #493e40; font-family: var(--font-display); font-size: 17px; line-height: 1.9; }
.synopsis p { margin: 0 0 26px; }
.synopsis p:first-child::first-letter { float: left; margin: 8px 8px 0 0; color: var(--primary); font-size: 64px; line-height: .76; }

.arc-section { display: grid; min-height: 600px; grid-template-columns: 1fr 1fr; background: #ecdada; }
.arc-card { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(60px, 8vw, 130px) max(34px, calc((100vw - 1160px) / 2)); background: var(--wine); color: #fff8f5; }
.arc-icon { color: #e7bfc5; font-family: var(--font-display); font-size: 34px; line-height: 1; }
.arc-card .eyebrow { margin-top: 30px; color: #e7bfc5; }
.arc-card h2 { max-width: 500px; }
.arc-card > p:not(.eyebrow) { max-width: 560px; margin: 26px 0 0; color: #eedde0; }
.arc-section blockquote { position: relative; align-self: center; max-width: 570px; padding: 90px clamp(40px, 7vw, 110px); color: var(--wine); font-size: clamp(32px, 3.5vw, 49px); font-style: italic; }
.arc-section blockquote::before { position: absolute; top: 35px; left: clamp(40px, 7vw, 110px); content: "“"; color: rgba(123,53,70,.25); font-size: 110px; font-style: normal; line-height: 1; }

.about-section { grid-template-columns: .62fr 1.38fr; align-items: start; }
.author-thumbnail { position: relative; width: min(100%, 340px); padding: 10px; transform: rotate(-1deg); border: 1px solid var(--border); background: #fffdfb; box-shadow: 0 22px 55px rgba(61,27,38,.14); }
.author-thumbnail::after { position: absolute; inset: 20px -16px -16px 20px; z-index: -1; content: ""; border: 1px solid rgba(123,53,70,.22); }
.author-thumbnail img { display: block; width: 100%; height: auto; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy > p:not(.eyebrow) { color: #493e40; font-family: var(--font-display); font-size: 17px; line-height: 1.9; margin: 0 0 1.4em; }
.about-copy > p:not(.eyebrow):last-of-type { margin-bottom: 0; }
.social-links { margin-top: 36px; gap: 14px 30px; }
.social-links a { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.social-icon { width: 17px; height: 17px; flex: none; }
.goodreads-mark { font-family: Georgia, serif; font-size: 23px; font-weight: 700; line-height: 1; }

.contact-section { display: grid; width: min(100% - 48px, 1160px); margin: 0 auto; grid-template-columns: .75fr 1.25fr; gap: clamp(60px, 10vw, 140px); padding: 130px 0; }
.contact-intro { align-self: start; }
.contact-intro h2 { max-width: 430px; }
.contact-intro > p:not(.eyebrow) { max-width: 430px; margin: 28px 0 0; color: var(--ink-soft); font-family: var(--font-display); font-size: 17px; line-height: 1.8; }
.contact-form { position: relative; display: grid; gap: 22px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--border); background: #fffdfb; box-shadow: 0 22px 55px rgba(61,27,38,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form > label, .form-row label { display: grid; gap: 8px; color: var(--wine); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 0; background: #fffaf8; color: var(--foreground); font: 16px/1.5 var(--font-body); padding: 13px 14px; transition: border-color 180ms ease, box-shadow 180ms ease; }
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(123,53,70,.12); }
.contact-form button { cursor: pointer; font-family: var(--font-body); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.form-note { margin: 0; color: var(--ink-soft); font-size: 11px; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.final-cta { display: flex; align-items: center; flex-direction: column; padding: 115px 24px; background: #ead6d6; text-align: center; }
.final-cta h2 { max-width: 760px; margin-bottom: 36px; }
footer { display: grid; min-height: 120px; width: min(100% - 48px, 1240px); margin: 0 auto; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 24px; color: var(--ink-soft); font-family: var(--font-display); font-size: 12px; }
footer p:nth-child(2) { text-align: center; font-style: italic; }
footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; background: linear-gradient(180deg, #ead6d6 0 50%, #faf5f2 50% 100%); padding-top: 136px; }
  .hero-art { width: min(64%, 360px); }
  .hero-copy { max-width: 720px; padding: 74px 0 20px; }
  .book-section, .about-section, .contact-section { grid-template-columns: 1fr; gap: 50px; padding: 100px 0; }
  .section-heading { position: static; }
  .arc-section { grid-template-columns: 1fr; }
  .author-thumbnail { width: min(72%, 300px); }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 36px); min-height: 78px; }
  .wordmark { font-size: 20px; }
  .header-cta { font-size: 10px; }
  .hero { padding: 116px 22px 52px; }
  .hero-art { width: min(80%, 330px); }
  .hero-copy { padding-top: 66px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-deck { font-size: 17px; }
  .release-strip { grid-template-columns: 1fr; }
  .release-strip div, .release-strip div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--border); }
  .promise { flex-wrap: wrap; gap: 10px 18px; padding-block: 24px; }
  .book-section, .about-section, .contact-section { width: calc(100% - 40px); padding: 82px 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .synopsis, .about-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.8; }
  .arc-card { padding: 72px 24px; }
  .arc-section blockquote { padding: 100px 24px 84px; }
  .arc-section blockquote::before { left: 24px; }
  .final-cta { padding: 86px 22px; }
  footer { display: flex; min-height: 180px; width: calc(100% - 40px); align-items: flex-start; justify-content: center; flex-direction: column; gap: 10px; }
  footer p, footer p:nth-child(2), footer p:last-child { margin: 0; text-align: left; }
}

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