:root {
  --night: #111927;
  --night-soft: #192536;
  --night-lift: #26354a;
  --paper: #f3efe6;
  --surface: #fffdf8;
  --ink: #20232a;
  --muted: #665f59;
  --red: #ad3737;
  --gold: #efbd5d;
  --line: #d9cfbf;
  --shadow: 0 24px 70px rgba(5, 9, 16, 0.2);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--night);
  background: var(--gold);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  color: #fff;
  background: var(--night);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.08; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; }
.brand span { margin-top: 6px; color: #c9d0db; font-size: .67rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.nav a { color: #eef1f6; font-size: .76rem; font-weight: 750; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.nav a:hover { color: var(--gold); }

.breadcrumbs { padding-block: 18px; color: #d4dbe5; background: var(--night-soft); font-size: .78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 auto; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #8190a3; }
.breadcrumbs a:hover { color: var(--gold); }

.book-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 15%, rgba(239,189,93,.16), transparent 26rem),
    linear-gradient(135deg, #111927 0%, #1a293c 62%, #2c1f28 100%);
}
.book-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -260px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
  padding-block: clamp(68px, 9vw, 110px);
}
.book-cover { width: min(100%, 280px); height: auto; margin-inline: auto; border-radius: 3px; box-shadow: 0 30px 72px rgba(0,0,0,.42); }
.eyebrow { margin: 0 0 15px; color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.7rem, 6vw, 5.4rem); letter-spacing: -.05em; overflow-wrap: anywhere; hyphens: auto; }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }
.hero-lead { max-width: 720px; margin: 0; color: #dce2ea; font-size: clamp(1.06rem, 1.8vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 21px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--night); background: var(--gold); border-color: var(--gold); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.button-dark { color: #fff; background: var(--night); border-color: var(--night); }

.book-facts { padding-block: 26px; background: #e7dfd2; border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px 28px; margin: 0; }
.facts-grid div { min-width: 0; }
.facts-grid dt { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.facts-grid dd { margin: 3px 0 0; font-weight: 700; }

.content { padding-block: clamp(70px, 9vw, 110px); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(270px, .5fr); gap: clamp(46px, 8vw, 90px); align-items: start; }
.prose { max-width: 760px; }
.prose h2 { margin-bottom: 24px; }
.prose p { margin: 0 0 20px; color: #49454a; font-size: 1.03rem; }
.prose p:last-child { margin-bottom: 0; }
.pullquote { margin: 36px 0 0; padding: 24px 0 24px 27px; color: #2c2b31; border-left: 4px solid var(--red); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; line-height: 1.45; }

.side-card { position: sticky; top: 24px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(39,31,31,.09); }
.side-card h2 { margin-bottom: 18px; font-family: "Segoe UI", Arial, sans-serif; font-size: 1rem; font-weight: 850; letter-spacing: .02em; }
.side-card ul { margin: 0 0 24px; padding-left: 18px; color: var(--muted); }
.side-card li + li { margin-top: 8px; }
.side-card .button { width: 100%; }

.screenplay { padding-block: clamp(68px, 8vw, 100px); background: var(--surface); border-block: 1px solid var(--line); }
.screenplay-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 6vw, 72px); align-items: center; }
.screenplay-card h2 { margin-bottom: 16px; }
.screenplay-card p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--muted); }

.tone { padding-block: clamp(68px, 8vw, 100px); background: #e9e1d5; border-block: 1px solid var(--line); }
.tone-head { max-width: 780px; margin-bottom: 36px; }
.tone-head h2 { margin-bottom: 16px; }
.tone-head p { margin: 0; color: var(--muted); }
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.theme-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.theme-card h3 { margin-bottom: 11px; }
.theme-card p { margin: 0; color: var(--muted); font-size: .91rem; }

.position { padding-block: clamp(68px, 8vw, 100px); }
.position-card { padding: clamp(30px, 5vw, 52px); color: #fff; background: linear-gradient(135deg, var(--night-soft), #101722); border-radius: var(--radius); }
.position-card h2 { margin-bottom: 16px; }
.position-card p { max-width: 820px; margin: 0; color: #d5dce5; }

.series-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.series-link { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.series-link span { display: block; margin-bottom: 5px; color: var(--red); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.series-link strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 500; }
.series-link:hover { border-color: var(--red); }

.site-footer { padding-block: 34px; color: #bfc7d2; background: #0b111b; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .theme-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 28px, 1120px); }
  .header-inner { display: block; padding-block: 17px; }
  .nav { margin-top: 16px; gap: 9px 15px; }
  .nav a { font-size: .69rem; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 58px 68px; }
  .book-cover { width: min(64vw, 240px); }
  h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .screenplay-card { grid-template-columns: 1fr; }
  .screenplay-card .button { width: 100%; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .theme-grid, .series-nav { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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