:root {
  --ink: #171512;
  --paper: #f3eee5;
  --cream: #fbf7ef;
  --stone: #b9b0a4;
  --wine: #6d2432;
  --line: rgba(23,21,18,.16);
}

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

a { color: inherit; text-decoration: none; }
a:hover { opacity: .72; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 5vw;
  background: rgba(243,238,229,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand { display: flex; align-items: center; gap: .9rem; }
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-name { font-size: .88rem; letter-spacing: .16em; }

.nav { display: flex; gap: 1.5rem; font: 600 .73rem/1 Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 5vw;
  padding: 7vw 8vw;
  background: var(--cream);
}

.eyebrow {
  margin: 0 0 1rem;
  font: 700 .68rem/1.3 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
}

h1, h2, h3 { margin-top: 0; font-weight: 500; }
h1 { margin-bottom: 1.7rem; font-size: clamp(3.4rem, 8vw, 7.5rem); line-height: .9; letter-spacing: -.05em; }
h2 { margin-bottom: 1.2rem; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .96; letter-spacing: -.04em; }
h3 { margin-bottom: .7rem; font-size: 1.8rem; }

.hero-text { max-width: 640px; font-size: 1.2rem; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.button { padding: .9rem 1.2rem; border: 1px solid var(--ink); font: 700 .76rem Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.button-dark { background: var(--ink); color: var(--cream); }
.text-link { font-style: italic; }

.hero-logo-wrap { display: flex; justify-content: center; align-items: center; }
.hero-logo {
  width: min(31vw, 390px);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(23,21,18,.10));
}

.manifesto {
  padding: 3.2rem 8vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}
.manifesto p { margin: 0; }

.section { padding: 7rem 8vw; }
.section-heading { max-width: 760px; margin-bottom: 3.2rem; }
.section-heading > p:last-child { max-width: 630px; font-size: 1.1rem; }

.book-grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(4, minmax(0,1fr)); align-items: start; }
.book-card { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.book-cover,
.book-cover-image {
  aspect-ratio: 2 / 3;
  width: 100%;
  border: 1px solid rgba(23,21,18,.25);
  box-shadow: 0 14px 30px rgba(23,21,18,.08);
}
.book-cover {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.book-cover-image { object-fit: cover; background: #ddd3c6; }
.book-cover strong { font-size: clamp(1.6rem, 3vw, 3.2rem); line-height: .92; font-weight: 500; letter-spacing: -.04em; }
.cover-kicker, .cover-footer { font: 700 .65rem/1.4 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.cover-joyful { background: #3b2c2c; color: #f0d6ba; }
.cover-barf { background: #d7d1c7; }
.cover-journal { background: var(--wine); color: #f7eadf; }
.cover-coloring {
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,.20), transparent 18%),
    linear-gradient(145deg, #c2a0a2 0%, #755c68 48%, #3f5550 100%);
  color: #fff7ef;
}
.book-info p { margin-top: 0; }
.tag, .coming { font: 700 .66rem Arial, sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.tag { color: var(--wine); }
.coming { display: inline-block; padding-top: .3rem; border-top: 1px solid var(--line); }

.section-dark {
  padding: 7rem 8vw;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 8vw;
}
.about-copy { max-width: 680px; font-size: 1.18rem; }
.small { margin-top: 2rem; font: 700 .68rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #c7beb2; }

.journal-placeholder {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 2.2rem 0;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: 1.1rem;
}
.journal-placeholder span { font: 700 .7rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }

.contact {
  padding: 7rem 8vw;
  background: #ded7cc;
}
.contact > a { font-size: clamp(1.4rem, 3vw, 2.5rem); border-bottom: 1px solid var(--ink); }
.social-link { margin-top: 2rem; display: flex; gap: 1rem; font: 700 .72rem Arial, sans-serif; letter-spacing: .11em; text-transform: uppercase; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.7rem 5vw;
  background: var(--ink);
  color: var(--paper);
  font: 700 .66rem Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer div { display: flex; gap: 1.2rem; }

.legal { max-width: 900px; margin: 0 auto; padding: 7rem 8vw; }
.legal h1 { font-size: clamp(3rem, 7vw, 6rem); }
.notice { padding: 1rem; border: 1px solid var(--wine); background: rgba(109,36,50,.06); }

@media (max-width: 1180px) {
  .book-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 850px) {
  .site-header { align-items: flex-start; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-logo-wrap { margin-top: 2rem; }
  .hero-logo { width: min(72vw, 320px); }
  .book-grid { grid-template-columns: 1fr; }
  .book-cover, .book-cover-image { max-width: 440px; width: 100%; }
  .section-dark { grid-template-columns: 1fr; }
  .journal-placeholder, .footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand-logo { width: 50px; height: 50px; }
  .brand-name { font-size: .72rem; letter-spacing: .11em; }
}
