/* Charlie Meadows — charliemeadows coloring books (a PS Capital Ventures LLC brand)
   Playful kid-brand look: rounded Baloo 2 display type, warm paper tones,
   navy + gold base. Company identity lives in the footer only. */

:root {
  --navy: #10243e;
  --navy-deep: #0a1828;
  --navy-soft: #1b3a5e;
  --gold: #c9a227;
  --gold-light: #e6c766;
  --gold-pale: #f6ead0;
  --paper: #ffffff;
  --paper-tint: #f7f4ec;
  --ink: #1c2b3a;
  --ink-soft: #4a5d70;
  --radius: 18px;
  --shadow: 0 8px 28px rgba(10, 24, 40, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Baloo 2", "Trebuchet MS", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Baloo 2 — rounded display type for the Charlie Meadows brand (self-hosted) */
@font-face {
  font-family: "Baloo 2";
  src: url("assets/baloo2.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1120px, 92%); margin: 0 auto; }
.container.narrow { width: min(760px, 92%); }
.center { text-align: center; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin-top: 0; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); letter-spacing: 0; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 0.8rem; font-weight: 800; font-family: var(--font-display);
  color: var(--gold); margin: 0 0 0.6rem;
}
.eyebrow-light { color: var(--gold-light); }

.gold-text { color: var(--gold); }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 44rem; }
.section-sub { color: var(--ink-soft); max-width: 48rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 1.8rem;
  border-radius: 999px; font-weight: 800; font-family: var(--font-display);
  font-size: 1.02rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { border-color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 600px at 20% 10%, var(--navy-soft) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #fff; padding: 5.5rem 0 4.5rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .lede { color: #d7dee8; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 2.5rem; }
.hero-stats {
  list-style: none; margin: 0; padding: 1.4rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex; gap: 2.2rem; flex-wrap: wrap;
  color: #d7dee8; font-size: 0.95rem;
}
.hero-stats strong { color: var(--gold-light); font-size: 1.15rem; margin-right: 0.35rem; }
.hero-mascot { margin: 0 0 1.75rem; text-align: center; }
.hero-mascot img {
  display: inline-block; width: 100%; max-width: 240px; height: auto;
  border-radius: 1.75rem; box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  animation: mascot-float 6s ease-in-out infinite;
}
@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-tint { background: var(--paper-tint); }
.section-navy { background: var(--navy-deep); color: #fff; }
.section-navy h2 { color: #fff; }
.section-navy p { color: #d7dee8; }

/* ---------- Book grid ---------- */
.book-grid {
  display: grid; gap: 1.6rem; margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.book-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #eee7d6;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease;
}
.book-card:hover { transform: translateY(-4px); }
.book-card img { aspect-ratio: 800 / 1030; object-fit: cover; width: 100%; }
.book-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.book-body h3 { margin: 0 0 0.3rem; }
.book-tag { color: var(--gold); font-weight: 700; font-family: var(--font-display); font-size: 0.95rem; margin: 0 0 0.6rem; }
.book-body > p { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 1rem; flex: 1; }
.book-status { margin: 0; }
.badge {
  display: inline-block; background: var(--gold-pale); color: #7a5f10;
  border: 1px solid var(--gold); border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.85rem;
}

/* ---------- Newsletter form ---------- */
.signup-form {
  display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center;
  margin: 1.8rem 0 1rem;
}
.signup-form input {
  padding: 0.9rem 1.2rem; border-radius: 999px; border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: #fff; font-size: 1rem; min-width: 220px;
}
.signup-form input::placeholder { color: #9fb0c2; }
.signup-form input:focus { outline: none; border-color: var(--gold); }
.fineprint { font-size: 0.85rem; color: var(--ink-soft); }
.section-navy .fineprint { color: #9fb0c2; }

/* ---------- Social ---------- */
.social-row {
  display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center;
  margin: 2rem 0 1rem;
}
.social-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.3rem; border-radius: 999px;
  background: #fff; border: 2px solid #e3dccb; color: var(--navy);
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.social-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.social-btn svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c5d4; padding: 2.5rem 0; }
.footer-inner {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 700; }
.footer-brand img { border-radius: 8px; }
.footer-nav { display: flex; gap: 1.2rem; }
.footer-nav a { color: #b9c5d4; text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: #fff; }
.copyright { margin: 0; font-size: 0.85rem; width: 100%; text-align: center; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.12); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero-mascot img { max-width: 200px; }
  .hero-stats { gap: 1.2rem; }
  .signup-form { flex-direction: column; align-items: stretch; }
  .signup-form input { min-width: 0; }
  .footer-inner { justify-content: center; text-align: center; }
}
