:root {
  --cream: #f7f1e8;
  --cream-deep: #ede3d4;
  --paper: #fbf6ee;
  --ink: #2b2622;
  --ink-soft: #5a524b;
  --ink-faint: #8a8076;
  --rule: #d9cbb8;
  --terracotta: #b85c38;
  --terracotta-deep: #9a4a2c;
  --sage: #5c6b54;
  --sage-wash: #e3e8da;
  --gold: #c4a574;
  --shadow: 0 18px 40px rgba(43, 38, 34, 0.12);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}
.wordmark {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--terracotta);
  text-decoration: none;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; text-decoration: none;
  border-radius: 999px; padding: 0.75rem 1.25rem;
  font: 600 0.95rem/1 "Source Sans 3", sans-serif;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.menu-toggle {
  display: none; background: none; border: 0; font-size: 1.4rem; color: var(--ink);
}

.hero { padding: 64px 0 36px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.eyebrow {
  color: var(--terracotta); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.78rem; margin: 0 0 12px;
}
h1, h2, h3 { font-family: Fraunces, "Source Serif Pro", Georgia, serif; font-weight: 560; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.05; margin: 0 0 16px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 12px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; color: var(--ink-faint); font-size: 0.92rem; }
.hero-art {
  background: var(--cream-deep); border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow);
}
.hero-art img { width: 100%; border-radius: 8px; border: 1px solid var(--rule); }

.section { padding: 72px 0; }
.section-head { max-width: 36rem; margin-bottom: 36px; }
.section.alt { background: #f3ebe0; }

.grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 24px rgba(43,38,34,.05);
}
.card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.card .media { background: var(--cream-deep); min-height: 280px; padding: 16px; display: flex; align-items: center; justify-content: center; }
.card .media img { width: 100%; max-height: 360px; object-fit: contain; }
.card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.price { font-family: Fraunces, serif; font-size: 1.6rem; color: var(--ink); }
.card p { margin: 0; color: var(--ink-soft); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.freebie {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.freebie img {
  border-radius: 16px; border: 1px solid var(--rule); box-shadow: var(--shadow);
}

.faq details {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { color: var(--ink-soft); margin: 10px 0 4px; }

.site-footer {
  border-top: 1px solid var(--rule); padding: 36px 0 48px; color: var(--ink-soft);
}
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.legal { padding: 48px 0 80px; }
.legal .prose { max-width: 42rem; }
.legal .prose p, .legal .prose li { color: var(--ink-soft); }
.legal h1 { font-size: 2.4rem; }

.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(43, 38, 34, 0.46);
  display: grid; place-items: center; padding: 24px;
}
.modal-dialog {
  background: var(--paper); width: min(920px, 100%);
  max-height: calc(100vh - 48px); overflow: auto;
  border-radius: 20px; box-shadow: var(--shadow);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 0; }
.modal-close {
  border: 0; background: var(--cream-deep); width: 36px; height: 36px;
  border-radius: 50%; font-size: 1.2rem; cursor: pointer; color: var(--ink);
}
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 22px 28px; }
.gallery { display: grid; gap: 10px; }
.gallery img { border-radius: 12px; border: 1px solid var(--rule); background: var(--cream-deep); }
.thumbs { display: flex; gap: 8px; }
.thumbs button { border: 0; padding: 0; background: none; cursor: pointer; width: 72px; }
.thumbs img { border-radius: 8px; border: 1px solid var(--rule); }
.upsell {
  margin-top: 18px; padding: 14px 16px; border-radius: 12px;
  background: var(--sage-wash); color: var(--ink);
}
.upsell a { color: var(--sage); font-weight: 700; }

@media (max-width: 860px) {
  .hero-grid, .card.featured, .freebie, .modal-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--cream); padding: 16px 20px 22px;
    border-bottom: 1px solid var(--rule);
  }
  .menu-toggle { display: block; }
  .hero { padding-top: 36px; }
}

#checkout-soon {
  position: fixed; z-index: 80; left: 50%; bottom: 24px;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 32px));
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--ink); color: var(--cream);
  padding: 16px 18px; border-radius: 16px;
  box-shadow: var(--shadow);
}
#checkout-soon[hidden] { display: none; }
#checkout-soon p { margin: 0; flex: 1; }
#checkout-soon a { color: #f3d2b8; font-weight: 700; }
.checkout-soon-close {
  border: 0; background: transparent; color: var(--cream);
  font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 2px;
}
