:root {
  --paper: #f4ead7;
  --paper-strong: #fff8eb;
  --ink: #14110d;
  --muted: #5f5648;
  --teal: #00595a;
  --teal-deep: #003f40;
  --rust: #b66f34;
  --line: rgba(20, 17, 13, 0.16);
  --shadow: rgba(20, 17, 13, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(244, 234, 215, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  padding: 92px clamp(20px, 6vw, 76px) 48px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/cover-hero-atmosphere.jpg");
  background-size: min(50vw, 720px) auto;
  background-repeat: no-repeat;
  background-position: right 3vw center;
  opacity: 0.24;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 234, 215, 0.98) 0%, rgba(244, 234, 215, 0.92) 48%, rgba(244, 234, 215, 0.18) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  max-width: 1180px;
  min-height: calc(82svh - 140px);
  margin: 0 auto;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.03;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.4rem, 8.4vw, 7.2rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-tagline {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--teal-deep);
  font-size: clamp(1.25rem, 2vw, 1.95rem);
  line-height: 1.18;
}

.hero-description {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 1.75vw, 1.55rem);
  line-height: 1.42;
}

.release-note {
  margin: 18px 0 0;
  color: var(--rust);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-cover {
  align-self: center;
  justify-self: center;
  width: min(100%, 370px);
  box-shadow: 0 24px 70px var(--shadow);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid var(--teal);
  border-radius: 4px;
  background: transparent;
  color: var(--teal-deep);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  color: var(--paper-strong);
}

.button:hover {
  transform: translateY(-1px);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
}

.section h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4.3vw, 4.5rem);
}

.section h3 {
  margin: 34px 0 12px;
  color: var(--teal-deep);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

p,
li {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
}

.lede {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.35;
}

.author-bio p {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.35;
}

.author-section {
  max-width: 860px;
}

.author-actions {
  margin-top: 30px;
}

.book-description p {
  max-width: 720px;
}

.rule {
  width: 82px;
  height: 3px;
  margin: 24px 0;
  background: var(--rust);
}

.sample-callout {
  padding: 30px 0 0;
}

.sample-title {
  color: var(--teal-deep);
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.quote-line {
  border-left: 3px solid var(--rust);
  margin: 28px 0;
  padding-left: 20px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.45;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  padding-left: 20px;
}

.faq {
  display: grid;
  gap: 24px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.faq-item h3 {
  margin-top: 0;
}

.site-footer {
  padding: 36px clamp(20px, 6vw, 76px);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
}

.page {
  padding-top: 64px;
}

.page-hero {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 6vw, 76px) clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 940px;
  margin: 0 auto;
}

.page h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

.page h1.chapter-title,
.page h1.interior-title {
  max-width: 820px;
  font-size: clamp(2.55rem, 6vw, 5.4rem);
  line-height: 1.08;
  text-transform: none !important;
}

body.page .page-hero h1.chapter-title,
body.page .page-hero h1.interior-title {
  text-transform: none !important;
}

.chapter {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 52px);
}

.chapter p {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.82;
}

.chapter .break {
  margin: 36px 0;
  color: var(--rust);
  text-align: center;
  letter-spacing: 0.18em;
}

.chapter-cta {
  margin-top: clamp(54px, 8vw, 88px);
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.chapter-cta h2 {
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}

@media (max-width: 820px) {
  .site-header {
    position: sticky;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: auto;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 78svh;
    padding-top: 24px;
    padding-bottom: 34px;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    background: rgba(244, 234, 215, 0.8);
  }

  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    gap: 14px;
  }

  .hero-cover {
    display: block;
    order: -1;
    width: min(40vw, 168px);
    box-shadow: 0 14px 42px rgba(20, 17, 13, 0.16);
  }

  h1 {
    font-size: clamp(2.45rem, 10.8vw, 3.8rem);
  }

  .hero-tagline {
    margin-top: 12px;
    font-size: 1.15rem;
  }

  .hero-description {
    margin-top: 12px;
    font-size: 1.02rem;
    line-height: 1.43;
  }

  .release-note {
    margin-top: 14px;
  }

  .actions {
    margin-top: 18px;
  }

  .section {
    padding-top: 44px;
    padding-bottom: 50px;
  }

  .page-hero {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .page h1.chapter-title,
  .page h1.interior-title {
    font-size: clamp(2.25rem, 10vw, 3.8rem);
  }
  }

  .topic-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .page-hero,
  .site-footer,
  .chapter-cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .chapter {
    max-width: none;
    padding: 0;
  }

  .chapter p {
    color: #000;
    font-size: 12pt;
    line-height: 1.55;
  }
}

@media (max-width: 520px) {
  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 340px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .nav {
    gap: 9px;
    font-size: 0.78rem;
  }

  .page-hero {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .section {
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .author-bio p {
    font-size: 1.22rem;
    line-height: 1.34;
  }
}
