:root {
  --paper: #fff6ea;
  --ink: #2a0e14;
  --muted: #6d4638;
  --butter: #ffc857;
  --cherry: #e23b2f;
  --stripe: #c4232a;
  --card: #fffdf8;
  --max: 42rem;
  --wide: 68rem;
  --display: "Fraunces", "Iowan Old Style", serif;
  --body: "Nunito", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 200, 87, 0.45), transparent 28%),
    linear-gradient(180deg, #fffaf2 0%, var(--paper) 40%, #f6e2cc 100%);
  line-height: 1.6;
}

a { color: var(--cherry); }

.marquee {
  background: repeating-linear-gradient(
    90deg,
    var(--stripe) 0 18px,
    #fff6ea 18px 32px
  );
  color: var(--ink);
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.45rem 1rem;
}

.site-header,
.site-footer,
main {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.25rem 1.4rem;
}

.site-header,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
}

.brand-lockup img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.nav a[aria-current="page"] {
  color: var(--cherry);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-top: 0.5rem;
}

.hero img {
  width: 180px;
  height: 180px;
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--cherry);
}

h1, h2, h3 { font-family: var(--display); line-height: 1.15; }

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.kicker {
  margin: 0 0 0.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cherry);
  font-size: 0.85rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
}

.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
}

.btn-fill {
  background: var(--ink);
  color: var(--butter);
}

.btn-line {
  border: 2px solid var(--ink);
  color: var(--ink);
}

.shelves {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 3rem;
}

.shelves article {
  background: var(--card);
  border-top: 6px solid var(--butter);
  padding: 1rem 1rem 1.2rem;
  box-shadow: 0 10px 0 rgba(42, 14, 20, 0.06);
}

.shelves h2 { margin: 0 0 0.4rem; font-size: 1.35rem; }
.shelves p { margin: 0; color: var(--muted); }

.legal { max-width: var(--max); padding-bottom: 3rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.3rem; }
.meta { color: var(--muted); }
.note {
  background: #fff;
  border-left: 6px solid var(--butter);
  padding: 0.8rem 1rem;
  color: var(--muted);
}

.site-footer {
  border-top: 2px dashed rgba(42, 14, 20, 0.25);
  color: var(--muted);
}

@media (max-width: 800px) {
  .hero, .shelves { grid-template-columns: 1fr; }
  .hero img { width: 120px; height: 120px; }
}
