:root {
  --bg: #0e1013;
  --panel: #17191e;
  --panel-2: #1d2026;
  --ink: #f4efe6;
  --muted: #b9b4ac;
  --accent: #b6464b;
  --accent-soft: #dc7b7f;
  --teal: #6b9d9a;
  --line: rgba(244, 239, 230, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(182,70,75,.12), transparent 28rem),
    radial-gradient(circle at 10% 60%, rgba(107,157,154,.08), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--ink);
  color: var(--bg);
  padding: .7rem 1rem;
  border-radius: .4rem;
}

.site-header {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  letter-spacing: .16em;
  font-weight: 800;
  font-size: .95rem;
}
.nav { display: flex; gap: 1.25rem; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
}
.nav a:hover, .nav a:focus { color: var(--ink); }

.hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 5.5rem 0;
}
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--accent-soft);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .18em;
}
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 500;
}
h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  font-weight: 500;
}
.hero-text {
  max-width: 680px;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--accent); color: white; }
.button.primary:hover { background: #c9555a; }
.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.02);
}
.button.secondary:hover { border-color: rgba(244,239,230,.35); }

.cover-wrap { display: grid; place-items: center; }
.book-cover {
  width: min(360px, 78vw);
  aspect-ratio: 2 / 3;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 38%),
    linear-gradient(155deg, #191b20, #101115 67%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.book-cover::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -105px;
  top: -90px;
  border-radius: 50%;
  border: 1px solid rgba(182,70,75,.32);
  box-shadow: 0 0 0 26px rgba(182,70,75,.045), 0 0 0 52px rgba(182,70,75,.025);
}
.cover-kicker {
  font-size: .66rem;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--muted);
}
.cover-title {
  position: absolute;
  left: 2rem;
  bottom: 4.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: .83;
  letter-spacing: -.055em;
}
.cover-author {
  position: absolute;
  left: 2rem;
  bottom: 1.7rem;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--accent-soft);
}
.pulse {
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: 30%;
  height: 56px;
  opacity: .8;
}
.pulse::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 27px;
  height: 1px;
  background: rgba(220,123,127,.45);
}
.pulse span {
  position: absolute;
  top: 27px;
  display: block;
  height: 1px;
  background: var(--accent-soft);
  transform-origin: left center;
}
.pulse span:nth-child(1) { left: 4%; width: 26%; }
.pulse span:nth-child(2) { left: 30%; width: 18%; transform: rotate(-61deg); }
.pulse span:nth-child(3) { left: 38%; width: 28%; transform: rotate(73deg); }
.pulse span:nth-child(4) { left: 49%; width: 14%; transform: rotate(-48deg); }
.pulse span:nth-child(5) { left: 60%; width: 34%; }

.section {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0;
}
.section-heading { margin-bottom: 2rem; }
.novel-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 3rem;
  align-items: start;
}
.novel p, .about-copy p, .follow-text {
  color: var(--muted);
  font-size: 1.07rem;
}
.lede { color: var(--ink) !important; font-size: 1.22rem !important; }
.details-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.details-card div {
  display: grid;
  gap: .18rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.details-card div:last-child { border-bottom: 0; }
.details-card span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .14em;
  font-weight: 800;
}
.details-card strong { font-size: 1rem; }

.quote-band {
  padding: 5.4rem 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(107,157,154,.05), rgba(182,70,75,.08));
}
.quote-band p {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.7rem, 4vw, 3.25rem);
  line-height: 1.2;
}
.about-copy { max-width: 760px; }
.follow { padding-bottom: 7rem; }
.follow-text { max-width: 720px; }

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .88rem;
}
.footer-domain { color: var(--ink); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .cover-wrap { order: -1; }
  .book-cover { width: min(300px, 74vw); }
  .novel-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 600px) {
  .site-header { align-items: flex-start; }
  .nav { gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
  .nav a { font-size: .84rem; }
  .hero { min-height: auto; padding: 3.6rem 0 4.6rem; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .section { padding: 4.5rem 0; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
