:root {
  --cream: #FBF6EE;
  --paper: #FFFDF9;
  --ink: #2B2420;
  --ink-soft: #5E534C;
  --ember: #C8573A;
  --ember-dark: #A4432B;
  --butter: #F2C46D;
  --sage: #7A9A7E;
  --sage-light: #E3ECE1;
  --blush: #F6DCD3;
  --line: #E6DCCD;
  --radius: 18px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ember-dark); }
a:hover { color: var(--ember); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: 42px; }
.brand span { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.35rem; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ember-dark); }

/* hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.hero-art { background: var(--paper); border: 2px solid var(--ink); border-radius: 28px; padding: 28px; box-shadow: 8px 8px 0 var(--butter); }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid var(--ink); }
.btn-primary { background: var(--ember); color: #fff; border-color: var(--ember); }
.btn-primary:hover { background: var(--ember-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* sections */
section { padding: 48px 0; }
.section-intro { max-width: 40em; color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .icon { width: 64px; height: 64px; margin-bottom: 12px; }
.card .tag { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.tag-kids { background: var(--blush); }
.tag-cozy { background: #F8E7C2; }
.tag-large { background: var(--sage-light); }
.card p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coming { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; margin: 24px 0 0; }
.coming li { background: var(--cream); border: 1.5px dashed var(--line); border-radius: 14px; padding: 14px 18px; font-weight: 700; }
.coming li small { display: block; font-weight: 400; color: var(--ink-soft); }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.how div { border-left: 4px solid var(--butter); padding-left: 16px; }
.how p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

.follow { text-align: center; }
.follow p { color: var(--ink-soft); }

.prose { max-width: 42em; }
.prose h2 { margin-top: 1.4em; }
.page-head { padding-top: 52px; padding-bottom: 8px; }

/* book pages */
.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.book-cover { width: 100%; height: auto; border-radius: 10px; box-shadow: 10px 12px 0 var(--butter); border: 2px solid var(--ink); }
.facts { padding-left: 1.2em; color: var(--ink-soft); }
.facts li { margin-bottom: .35em; }
.note { color: var(--ink-soft); font-size: .98rem; margin-top: 18px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.thumbs img { width: 100%; height: auto; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; }
.cards a.card { text-decoration: none; color: inherit; display: block; }
.cards a.card:hover { border-color: var(--ember); }
@media (max-width: 820px) { .book { grid-template-columns: 1fr; } .thumbs { grid-template-columns: repeat(2, 1fr); } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .95rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; }
  .cards, .how { grid-template-columns: 1fr; }
  .coming { grid-template-columns: 1fr; }
  .nav { gap: 12px; }
  body { font-size: 17px; }
}
@media (max-width: 640px) {
  .site-header { position: static; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
  .brand span { white-space: nowrap; }
  .hero { padding-top: 36px; }
}
