:root {
  --ink: #140f0c;
  --ink-soft: #1e1713;
  --cream: #f3ece3;
  --cream-dim: #d8cfc3;
  --gold: #c4a574;
  --gold-soft: rgba(196, 165, 116, 0.28);
  --muted: #b9a99a;
  --line: rgba(243, 236, 227, 0.12);
  --serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--cream); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 10;
}

.skip:focus { left: 0.75rem; top: 0.75rem; }

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav a { color: var(--cream-dim); text-decoration: none; }
.nav a:hover { color: var(--gold); }

.hero {
  padding: 5.5rem 0 4.25rem;
  text-align: center;
}

.kicker {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.hero-rule {
  width: 4.5rem;
  height: 1px;
  margin: 1.6rem auto 1.4rem;
  background: var(--gold);
  border: 0;
}

.lede {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--cream-dim);
  font-size: 1.15rem;
}

.section {
  padding: 1rem 0 4.5rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.01em;
  text-align: center;
}

.section-intro {
  margin: 0 auto 2.4rem;
  max-width: 38rem;
  text-align: center;
  color: var(--cream-dim);
}

.books {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.book {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.15rem;
  background: var(--ink-soft);
  border: 1px solid var(--line);
}

.cover {
  margin: 0;
  background: #0c0908;
}

.cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.book-meta {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
}

.book h3 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.15;
}

.hook {
  margin: 0 0 1rem;
  color: var(--cream-dim);
  font-size: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--gold-soft);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.series-link {
  margin: 2rem 0 0;
  text-align: center;
}

.newsletter {
  margin: 0 0 4.5rem;
  padding: 2.4rem 1.6rem;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter h2 { margin-bottom: 0.8rem; }

.newsletter p {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  color: var(--cream-dim);
}

.kit-form {
  max-width: 28rem;
  margin: 0 auto;
}

.kit-form .formkit-form[data-uid="0346f5164e"] {
  max-width: 100%;
  min-width: 0 !important;
  margin: 0 auto;
  box-shadow: none;
}

.kit-form .formkit-background {
  display: none;
}

.kit-form .formkit-header h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.kit-form noscript {
  margin: 0;
}

.kit-form noscript a {
  color: var(--gold);
  font-weight: 500;
}

.site-footer {
  padding: 0 0 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .books { grid-template-columns: 1fr; }
  .hero { padding: 3.8rem 0 3rem; }
}

@media (max-width: 560px) {
  .site-header { flex-direction: column; gap: 0.7rem; }
  .book { grid-template-columns: 110px 1fr; }
  .hero h1 { font-size: 3rem; }
}
