:root {
  --bg: #f4f0e7;
  --paper: #fbf8f1;
  --ink: #25251f;
  --muted: #69685f;
  --forest: #334234;
  --forest-dark: #202a22;
  --rust: #9a5d3f;
  --line: #d7d0c3;
  --white: #ffffff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

a { color: inherit; }
img { max-width: 100%; }

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

.narrow { max-width: 760px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 240, 231, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: 700 .72rem/1 Arial, sans-serif;
  letter-spacing: .12em;
}

nav { display: flex; gap: 28px; }
nav a {
  font: 700 .78rem/1 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-decoration: none;
}
nav a:hover { color: var(--rust); }

.hero {
  padding: 92px 0 100px;
  min-height: 650px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(154,93,63,.12), transparent 25%),
    linear-gradient(180deg, var(--paper), var(--bg));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  font: 700 .76rem/1.2 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
}

h1, h2, h3 { line-height: 1.08; margin-top: 0; }
h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 600;
  letter-spacing: -.045em;
}
h2 {
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -.035em;
}
h3 { font-size: 2.2rem; margin-bottom: 18px; }

.lead {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-block;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font: 700 .78rem/1 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--forest); border-color: var(--forest); }
.button-secondary:hover { background: var(--paper); }

.trail-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--forest-dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
}

.trail-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.25;
}

.trail-badge {
  position: absolute;
  top: 34px;
  right: 34px;
  z-index: 2;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  font: 700 .8rem/1 Arial, sans-serif;
  letter-spacing: .12em;
}

.trail-line {
  position: absolute;
  height: 2px;
  background: rgba(255,255,255,.24);
  transform-origin: left center;
}
.line-one { width: 115%; top: 25%; left: -12%; transform: rotate(23deg); }
.line-two { width: 120%; top: 48%; left: -8%; transform: rotate(-18deg); }
.line-three { width: 100%; top: 68%; left: 10%; transform: rotate(31deg); }

.section { padding: 100px 0; }
.section p { font-size: 1.08rem; color: var(--muted); }
.section-dark { background: var(--forest-dark); color: var(--white); }
.section-dark p { color: #d6d7d0; }
.section-heading { margin-bottom: 38px; }

.book-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 54px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.035);
}

.book-cover-placeholder {
  aspect-ratio: 2 / 3;
  padding: 28px 22px;
  background: #d8c9ae;
  color: #27261f;
  box-shadow: 0 20px 40px rgba(0,0,0,.24);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  text-transform: uppercase;
}
.book-cover-placeholder strong {
  font-size: 2.25rem;
  line-height: .95;
  letter-spacing: -.03em;
}
.book-cover-placeholder .small {
  font: 700 .67rem/1.2 Arial, sans-serif;
  letter-spacing: .14em;
}

.book-status {
  margin: 0 0 8px !important;
  color: #d79a73 !important;
  font: 700 .75rem/1.2 Arial, sans-serif !important;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.book-copy p { max-width: 650px; }
.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  font-weight: 700;
}
.text-link:hover { border-color: var(--white); }

.closing { text-align: center; }
.closing .narrow { margin: 0 auto; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font: .82rem/1.5 Arial, sans-serif;
}
.footer-wrap p { margin: 0; }

@media (max-width: 820px) {
  .hero { padding: 70px 0 76px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .trail-card { min-height: 320px; }
  .book-card { grid-template-columns: 1fr; }
  .book-cover-placeholder { width: min(100%, 280px); margin: 0 auto; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 68px; }
  .brand-text { font-size: .92rem; }
  nav { gap: 14px; }
  nav a { font-size: .68rem; letter-spacing: .08em; }
  .section { padding: 72px 0; }
  .book-card { padding: 26px; gap: 34px; }
  .footer-wrap { flex-direction: column; }
}
