:root {
  --ink: #10100f;
  --ink-soft: #1a1916;
  --paper: #f4ead8;
  --paper-light: #fffaf0;
  --paper-muted: #d8cbb5;
  --line: rgba(244, 234, 216, 0.18);
  --muted: #b6aa96;
  --ochre: #b77a22;
  --green: #325842;
  --navy: #243653;
  --wine: #6d2b2d;
  --sage: #87937d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 6px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper-light);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(183, 122, 34, 0.11), transparent 34%),
    radial-gradient(ellipse at 82% 14%, rgba(135, 147, 125, 0.08), transparent 32%),
    linear-gradient(180deg, #15120f 0%, #10100f 46%, #0d0d0c 100%),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(7deg, rgba(244, 234, 216, 0.024) 0, rgba(244, 234, 216, 0.024) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.11) 0, rgba(0, 0, 0, 0.11) 1px, transparent 1px, transparent 42px),
    linear-gradient(115deg, rgba(244, 234, 216, 0.045), transparent 22%, rgba(109, 43, 45, 0.035) 64%, transparent 100%);
  mix-blend-mode: normal;
  opacity: 0.55;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--paper-light);
  color: var(--ink);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(244, 234, 216, 0.14);
  background: rgba(16, 16, 15, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.brand span {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 22px;
  color: var(--paper-muted);
  font-size: 14px;
}

.nav-links a {
  border-bottom: 1px solid transparent;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--paper-light);
  border-color: var(--ochre);
}

.social-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.social-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(244, 234, 216, 0.2);
  border-radius: 50%;
  color: var(--paper-muted);
  background: rgba(244, 234, 216, 0.045);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-strip a:hover,
.social-strip a:focus-visible {
  transform: translateY(-1px);
  color: var(--ink);
  border-color: var(--paper);
  background: var(--paper);
}

.social-strip img {
  width: 16px;
  height: 16px;
  opacity: 0.92;
  transition: filter 160ms ease, opacity 160ms ease;
}

.social-strip a:hover img,
.social-strip a:focus-visible img {
  filter: invert(1);
  opacity: 1;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 74px 0 44px;
}

.hero-copy {
  max-width: 680px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 8vw, 104px);
  letter-spacing: 0;
}

.hero-title em,
.serif-accent {
  color: var(--paper);
  font-style: italic;
}

.hero-lead {
  margin: 26px 0 0;
  max-width: 620px;
  color: var(--paper-muted);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

.hero-actions,
.button-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 34px;
  max-width: 620px;
  border-left: 3px solid var(--ochre);
  padding: 2px 0 2px 16px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid rgba(244, 234, 216, 0.28);
  border-radius: var(--radius);
  color: var(--paper-light);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(244, 234, 216, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--paper);
  background: rgba(244, 234, 216, 0.11);
}

.button.primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.button.purchase {
  min-height: 54px;
  padding: 15px 22px;
  background: linear-gradient(135deg, var(--paper-light), var(--paper));
  color: var(--ink);
  border-color: var(--paper-light);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
  font-size: 15px;
}

.button.purchase:hover,
.button.purchase:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  border-left: 1px solid rgba(244, 234, 216, 0.16);
  padding-left: 34px;
  display: grid;
  align-content: center;
}

.portrait-frame,
.launch-frame {
  position: relative;
  width: min(380px, 100%);
  margin-left: auto;
  border: 1px solid rgba(244, 234, 216, 0.22);
  background: rgba(244, 234, 216, 0.07);
  box-shadow: var(--shadow);
}

.launch-frame {
  width: min(470px, 100%);
  overflow: hidden;
}

.launch-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 39px;
  height: 24%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(16, 16, 15, 0.72), rgba(16, 16, 15, 0));
}

.portrait-frame img,
.launch-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.88) contrast(1.04);
}

.portrait-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  color: var(--paper-muted);
  font-size: 12px;
  border-top: 1px solid rgba(244, 234, 216, 0.16);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cover-rail {
  margin: -70px 0 0 auto;
  width: min(520px, 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.cover-rail a {
  display: block;
  width: clamp(58px, 8vw, 96px);
  transition: transform 180ms ease, filter 180ms ease;
  transform-origin: bottom center;
}

.cover-rail a:hover,
.cover-rail a:focus-visible {
  z-index: 3;
  filter: brightness(1.08);
}

.cover-rail a img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: contain;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(244, 234, 216, 0.2);
}

.cover-rail a:nth-child(1) { transform: translateY(18px) rotate(-4deg); }
.cover-rail a:nth-child(2) { transform: translateY(2px) rotate(-2deg); }
.cover-rail a:nth-child(3) { transform: translateY(-10px); }
.cover-rail a:nth-child(4) { transform: translateY(4px) rotate(2deg); }
.cover-rail a:nth-child(5) { transform: translateY(20px) rotate(4deg); }
.cover-rail a:nth-child(1):hover,
.cover-rail a:nth-child(1):focus-visible { transform: translateY(4px) rotate(-2deg) scale(1.13); }
.cover-rail a:nth-child(2):hover,
.cover-rail a:nth-child(2):focus-visible { transform: translateY(-10px) rotate(-1deg) scale(1.13); }
.cover-rail a:nth-child(3):hover,
.cover-rail a:nth-child(3):focus-visible { transform: translateY(-22px) scale(1.13); }
.cover-rail a:nth-child(4):hover,
.cover-rail a:nth-child(4):focus-visible { transform: translateY(-8px) rotate(1deg) scale(1.13); }
.cover-rail a:nth-child(5):hover,
.cover-rail a:nth-child(5):focus-visible { transform: translateY(6px) rotate(2deg) scale(1.13); }

section {
  padding: 86px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.55fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 62px);
}

.section-head p,
.wide-text {
  color: var(--paper-muted);
  margin: 0;
  font-size: 17px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.book-card {
  border: 1px solid rgba(244, 234, 216, 0.16);
  border-radius: var(--radius);
  background: rgba(244, 234, 216, 0.045);
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.book-card a.cover-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 0;
  aspect-ratio: 2 / 3;
}

.book-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
}

.book-body {
  padding: 18px 16px 16px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.book-body h3 {
  font-size: 24px;
}

.book-body p {
  color: var(--paper-muted);
  margin: 12px 0 0;
  font-size: 14px;
}

.meta-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(244, 234, 216, 0.12);
  padding: 8px 0;
}

.book-body .button {
  margin-top: auto;
  width: 100%;
}

.accent-ochre { border-top: 4px solid var(--ochre); }
.accent-green { border-top: 4px solid var(--green); }
.accent-navy { border-top: 4px solid var(--navy); }
.accent-wine { border-top: 4px solid var(--wine); }
.accent-sage { border-top: 4px solid var(--sage); }

.series-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}

.series-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
}

.series-copy {
  color: var(--paper-muted);
  font-size: 18px;
}

.series-copy p {
  margin: 0 0 18px;
}

.author-section {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.author-section img {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  align-self: start;
  justify-self: start;
  border: 1px solid rgba(244, 234, 216, 0.18);
  box-shadow: var(--shadow);
}

.author-section h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.author-section p,
.page-copy p {
  color: var(--paper-muted);
  font-size: 17px;
  margin: 20px 0 0;
}

.redirect-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
}

.redirect-band h2 {
  font-size: clamp(26px, 4vw, 42px);
}

.redirect-band p {
  margin: 10px 0 0;
  color: var(--paper-muted);
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid rgba(244, 234, 216, 0.14);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.page-hero {
  padding: 72px 0 42px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(42px, 7vw, 84px);
}

.page-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--paper-muted);
  font-size: 20px;
}

.book-page {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.book-cover-large {
  position: sticky;
  top: 104px;
}

.book-cover-large img {
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: var(--shadow);
  border: 1px solid rgba(244, 234, 216, 0.2);
}

.purchase-panel {
  margin-top: 24px;
  border-top: 1px solid rgba(244, 234, 216, 0.16);
  border-bottom: 1px solid rgba(244, 234, 216, 0.16);
  padding: 22px 0;
}

.purchase-panel p {
  margin: 0 0 14px;
  color: var(--paper-muted);
  font-size: 15px;
}

.page-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-top: 40px;
}

.quote-line {
  margin: 0 0 28px;
  padding-left: 20px;
  border-left: 3px solid var(--ochre);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.25;
}

.breadcrumb {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  border-bottom: 1px solid rgba(244, 234, 216, 0.2);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.related-grid a {
  border: 1px solid rgba(244, 234, 216, 0.16);
  padding: 14px;
  border-radius: var(--radius);
  color: var(--paper-muted);
  min-height: 92px;
}

.related-grid strong {
  display: block;
  color: var(--paper-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.1;
}

.press-preview {
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.press-grid,
.profile-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.press-card,
.profile-card,
.contact-card {
  min-height: 126px;
  border: 1px solid rgba(244, 234, 216, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(244, 234, 216, 0.045);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.press-card:hover,
.press-card:focus-visible,
.profile-card:hover,
.profile-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(244, 234, 216, 0.38);
  background: rgba(244, 234, 216, 0.075);
}

.press-card span,
.profile-card span,
.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.press-card strong,
.profile-card strong,
.contact-card strong {
  display: block;
  margin-top: 12px;
  color: var(--paper-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.12;
}

.contact-card strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  word-break: break-word;
}

.contact-card p {
  margin: 12px 0 0;
  color: var(--paper-muted);
}

.profile-card {
  min-height: 96px;
}

.profile-card strong {
  font-size: 22px;
}

.profile-card small {
  display: block;
  margin-top: 8px;
  color: var(--paper-muted);
  font-size: 13px;
}

@media (max-width: 1020px) {
  .hero,
  .section-head,
  .series-panel,
  .author-section,
  .book-page,
  .redirect-band {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-visual {
    border-left: 0;
    border-top: 1px solid rgba(244, 234, 216, 0.16);
    padding: 34px 0 0;
    min-height: auto;
  }

  .portrait-frame,
  .cover-rail {
    margin-left: 0;
  }

  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-cover-large {
    position: static;
    max-width: 360px;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    align-items: flex-start;
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links,
  .social-strip {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 720px) {
  .nav {
    width: min(100% - 28px, var(--max));
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow: visible;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-bottom: 4px;
  }

  .social-strip {
    overflow: visible;
    flex-wrap: wrap;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  section {
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 36px;
  }

  .books-grid,
  .related-grid,
  .press-grid,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cover-rail {
    justify-content: flex-start;
    margin-top: 18px;
    flex-wrap: nowrap;
    gap: 7px;
  }

  .cover-rail a {
    transform: none !important;
    width: min(17vw, 58px);
  }

  .cover-rail a:hover,
  .cover-rail a:focus-visible {
    transform: translateY(-8px) scale(1.08) !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
