:root {
  color-scheme: light;
  --ink: #171918;
  --muted: #5f6662;
  --paper: #fbfbf8;
  --panel: #ffffff;
  --soft: #eef4f1;
  --line: #cfd8d2;
  --gold: #a47135;
  --deep: #183331;
  --shadow: 0 20px 60px rgba(19, 38, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(170, 123, 54, 0.22);
  background: rgba(251, 251, 248, 0.92);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-size: 22px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--gold);
}

.hero {
  min-height: calc(78svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
  padding: clamp(42px, 7vw, 86px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

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

.eyebrow,
.line {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: Optima, Candara, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.96;
  font-weight: 500;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.16;
  font-weight: 500;
}

.hero p,
.section p {
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  font-family: Optima, Candara, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.button.primary {
  background: var(--gold);
  color: #ffffff;
}

.button.secondary {
  color: var(--gold);
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.hero-art img {
  width: min(100%, 520px);
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(170, 123, 54, 0.3);
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(56px, 8vw, 108px) clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(170, 123, 54, 0.18);
}

.books-section {
  background: linear-gradient(180deg, #fbfbf8 0%, var(--soft) 100%);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.book-card {
  min-width: 0;
  min-height: 220px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(28, 23, 18, 0.06);
}

.book-card.muted {
  background: rgba(255, 255, 255, 0.58);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 84px);
  background: var(--deep);
  color: #ffffff;
}

.split p {
  color: rgba(255, 255, 255, 0.72);
}

.about {
  max-width: 980px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(170, 123, 54, 0.22);
  color: var(--muted);
  font-family: Optima, Candara, "Segoe UI", sans-serif;
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    order: -1;
  }

  .book-grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: 100vw;
    max-width: 100vw;
  }

  .hero-copy,
  .hero-copy p,
  .hero-actions,
  .hero-art,
  .section-heading,
  .book-grid,
  .book-card,
  .split > div,
  .about {
    width: 100%;
    max-width: min(340px, calc(100vw - 50px));
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px 28px;
  }

  h1 {
    font-size: 39px;
    line-height: 1.02;
  }

  h1 span {
    display: block;
  }

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