@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;600&display=swap');

:root {
  --ink: #17202a;
  --muted: #64707c;
  --paper: #f5f2eb;
  --white: #ffffff;
  --accent: #243b53;
  --line: #d7d2c8;
  --shadow: 0 20px 50px rgba(23,32,42,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
}
h1, h2, h3, .brand {
  font-family: "Crimson Pro", Georgia, serif;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(3rem, 7vw, 6.7rem); font-weight: 600; max-width: 900px; }
h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
p { max-width: 720px; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(22px, 5vw, 80px);
  background: rgba(245,242,235,.92);
  border-bottom: 1px solid rgba(215,210,200,.8);
  backdrop-filter: blur(14px);
}
.brand { font-size: 1.7rem; text-decoration: none; font-weight: 600; }
nav { display: flex; gap: 22px; }
nav a { text-decoration: none; font-size: .95rem; }
nav a:hover { text-decoration: underline; }

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 5vw;
  padding: clamp(60px, 9vw, 130px) clamp(22px, 6vw, 95px);
  overflow: hidden;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  font-size: .79rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.lead { font-family: "Crimson Pro", Georgia, serif; font-size: 1.42rem; color: #394552; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  padding: 13px 18px;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--accent);
  font-weight: 600;
}
.button.primary { background: var(--accent); color: white; }
.button.secondary { background: transparent; }
.hero-art { position: relative; min-height: 590px; }
.cover {
  position: absolute;
  width: min(64%, 390px);
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.cover.front { left: 4%; top: 8%; transform: rotate(-4deg); z-index: 2; }
.cover.back { right: 0; bottom: 3%; transform: rotate(5deg); }

.section {
  padding: clamp(70px, 10vw, 140px) clamp(22px, 8vw, 130px);
  border-top: 1px solid var(--line);
}
.section-heading { margin-bottom: 70px; }
.book {
  display: grid;
  grid-template-columns: minmax(220px, 370px) minmax(280px, 680px);
  gap: clamp(35px, 7vw, 100px);
  align-items: center;
  margin: 0 auto 110px;
  max-width: 1150px;
}
.book.reverse { grid-template-columns: minmax(280px, 680px) minmax(220px, 370px); }
.book.reverse img { grid-column: 2; }
.book.reverse div { grid-column: 1; grid-row: 1; }
.book img { width: 100%; box-shadow: var(--shadow); }
.book-number { color: var(--accent); font-weight: 600; letter-spacing: .05em; }
.book p { font-family: "Crimson Pro", Georgia, serif; font-size: 1.28rem; }

.coming-soon {
  max-width: 900px;
  margin: 0 auto;
  padding: 45px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.42);
}
.author {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8vw;
  background: var(--accent);
  color: white;
}
.author .eyebrow { color: #d9e2ec; }
.author p { font-family: "Crimson Pro", Georgia, serif; font-size: 1.35rem; }

.contact { text-align: center; }
.contact p { margin-left: auto; margin-right: auto; }
.mail-link {
  display: inline-block;
  margin: 20px 0;
  font-family: "Crimson Pro", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  font-weight: 600;
  text-decoration-thickness: 1px;
}
.small { font-size: .88rem; color: var(--muted); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 5vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
.footer-note { font-style: italic; }

@media (max-width: 800px) {
  nav { gap: 12px; font-size: .85rem; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-art { min-height: 500px; }
  .book, .book.reverse { grid-template-columns: 1fr; }
  .book.reverse img, .book.reverse div { grid-column: 1; grid-row: auto; }
  .book img { max-width: 330px; margin: 0 auto; }
  .author { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
