:root {
  --ink: #1f2522;
  --muted: #657069;
  --paper: #f7f2e8;
  --surface: #fffaf0;
  --line: rgba(31, 37, 34, 0.14);
  --forest: #24483a;
  --moss: #6f7f55;
  --clay: #a65f46;
  --sea: #236a82;
  --shadow: 0 22px 70px rgba(31, 37, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Avenir, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 64px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(31, 37, 34, 0.09);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.site-nav {
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88vh;
  padding: 160px clamp(20px, 6vw, 80px) 92px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

.hero-media::after {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 31, 28, 0.82), rgba(18, 31, 28, 0.42) 52%, rgba(18, 31, 28, 0.22)),
    linear-gradient(0deg, rgba(18, 31, 28, 0.55), rgba(18, 31, 28, 0.08) 42%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f7c79b;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 10vw, 8.7rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.7rem);
}

h3 {
  font-size: 1.28rem;
}

.hero-lede {
  max-width: 650px;
  margin: 26px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.contact-section {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--forest);
  color: #fff;
}

.hero .button-primary {
  background: #fff;
  color: var(--forest);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
}

.intro-band {
  padding: 24px clamp(20px, 6vw, 80px);
  background: var(--forest);
  color: #fff;
}

.intro-band p {
  max-width: 1100px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.35;
  text-align: center;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 80px);
}

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

.section-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-copy strong {
  color: var(--ink);
}

.book-showcase {
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(260px, 1fr);
  gap: 26px;
  align-items: stretch;
}

.book-showcase > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.book-list {
  display: grid;
  gap: 14px;
}

.book-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.book-list span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.book-list p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.excerpt-section {
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  background: #e9efe7;
}

.excerpt-image img {
  width: 100%;
  min-height: 520px;
  max-height: 680px;
  object-fit: cover;
  border-radius: 8px;
}

blockquote {
  margin: 0;
  padding: 0;
}

blockquote p {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1.22;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.author-section {
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
}

.author-photo img {
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-section {
  justify-content: space-between;
  margin: 0 clamp(20px, 6vw, 80px) clamp(70px, 8vw, 120px);
  padding: clamp(36px, 5vw, 58px);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.contact-section > div {
  max-width: 760px;
}

.contact-section .eyebrow {
  color: #f7c79b;
}

.contact-section h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.contact-section p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-section .button-primary {
  flex: 0 0 auto;
  background: #fff;
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .site-nav {
    display: none;
  }

  .section,
  .excerpt-section,
  .author-section {
    grid-template-columns: 1fr;
  }

  .book-showcase {
    grid-template-columns: 1fr;
  }

  .book-showcase > img,
  .excerpt-image img {
    min-height: auto;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 84vh;
    padding-top: 118px;
    padding-bottom: 62px;
  }

  h1 {
    font-size: clamp(3.35rem, 19vw, 5.2rem);
  }

  .button {
    width: 100%;
  }

  .intro-band p {
    text-align: left;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .book-list article {
    padding: 18px;
  }

  .contact-section {
    align-items: stretch;
  }
}
