/* Primary Music — free flip charts for Primary music leaders.
   Warm, cute, friendly. One shared stylesheet for the whole site. */

:root {
  --cream: #fdf6ec;
  --cream-2: #fbeed9;
  --ink: #4a3a32;
  --ink-soft: #7a6a60;
  --coral: #d65a4a;
  --coral-dark: #b8433a;
  --coral-soft: #fbe3de;
  --teal: #3f8f83;
  --teal-soft: #dff0ec;
  --sunny: #f2b441;
  --sunny-soft: #fdf3d7;
  --white: #fffdf9;
  --border: #eadfc8;
  --radius: 18px;
  --shadow: 0 4px 18px rgba(74, 58, 50, 0.10);
}

* { box-sizing: border-box; }

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.65;
}

h1, h2, h3 {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: 2.6rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.9rem; margin: 2.2rem 0 0.8rem; }
h3 { font-size: 1.35rem; margin: 1.4rem 0 0.5rem; }

p { margin: 0 0 1rem; }

a { color: var(--coral-dark); }
a:hover { color: var(--coral); }

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

/* ---------- layout ---------- */
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--sunny);
  position: static;
}
.header-inner {
  max-width: 980px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-size: 1.5rem; font-weight: 800; color: var(--coral);
  text-decoration: none; line-height: 1.1;
}
.brand small { display: block; font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.04em; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; font-weight: 800; color: var(--ink);
  padding: 8px 14px; border-radius: 999px;
}
.nav a:hover { background: var(--coral-soft); color: var(--coral-dark); }
.nav a.cta { background: var(--coral); color: #fff; }
.nav a.cta:hover { background: var(--coral-dark); color: #fff; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
  padding: 56px 0 44px;
  text-align: center;
}
.hero h1 { font-size: 3rem; }
.hero .lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 640px; margin: 0 auto 1.6rem; }
.hero .badge {
  display: inline-block; background: var(--sunny-soft); color: #8a6210;
  font-weight: 800; font-size: 0.95rem; padding: 6px 16px; border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--coral); color: #fff;
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-weight: 800; font-size: 1.15rem; text-decoration: none;
  padding: 13px 28px; border-radius: 999px;
  box-shadow: 0 4px 0 var(--coral-dark);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { color: #fff; transform: translateY(2px); box-shadow: 0 2px 0 var(--coral-dark); }
.btn-teal { background: var(--teal); box-shadow: 0 4px 0 #2f6d64; }
.btn-teal:hover { box-shadow: 0 2px 0 #2f6d64; }
.btn-big { font-size: 1.3rem; padding: 16px 36px; }

/* ---------- cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px; margin: 1.5rem 0 2rem;
}
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 0.4rem; font-size: 1.4rem; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--coral-dark); }
.card-body p { color: var(--ink-soft); font-size: 1rem; flex: 1; }
.meta { font-size: 0.92rem; font-weight: 800; color: var(--teal); margin-bottom: 0.5rem; }

/* ---------- flip-chart list ---------- */
.song-list { list-style: none; margin: 0; padding: 0; }
.song-list li {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 20px; overflow: hidden;
}
.song-list a.row { display: flex; gap: 20px; padding: 18px; text-decoration: none; color: var(--ink); align-items: center; }
.song-list a.row:hover { background: var(--cream-2); }
.song-list img { width: 170px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--border); }
.song-list h3 { margin: 0 0 0.3rem; }
.song-list p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* ---------- song page ---------- */
.song-hero { padding: 40px 0 8px; }
.song-hero .meta { font-size: 1rem; }
.download-box {
  background: var(--teal-soft); border: 2px dashed var(--teal);
  border-radius: var(--radius); padding: 26px 28px; text-align: center;
  margin: 1.8rem 0;
}
.download-box p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.download-box .btn { margin-bottom: 0.4rem; }
.download-box .fine { font-size: 0.9rem; color: var(--ink-soft); margin: 0.6rem 0 0; }
.preview-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin: 1.2rem 0 2rem;
}
.preview-grid figure { margin: 0; }
.preview-grid img { border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.preview-grid figcaption { font-size: 0.92rem; color: var(--ink-soft); text-align: center; padding-top: 8px; }
.callout {
  background: var(--sunny-soft); border-left: 6px solid var(--sunny);
  border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 1.6rem 0;
}
.callout p { margin: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; padding: 10px 0 10px 52px; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 8px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--coral); color: #fff; font-family: "Baloo 2", sans-serif; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}

/* ---------- about ---------- */
.about {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 34px; margin: 2rem 0;
}
.about h2 { margin-top: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink); color: #f3e9dc; margin-top: 3rem; padding: 34px 0 40px;
}
.site-footer a { color: #ffd9a8; }
.site-footer p { margin: 0 0 0.6rem; font-size: 1rem; }
.site-footer .small { font-size: 0.9rem; opacity: 0.85; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.3rem; }
  .hero { padding: 40px 0 32px; }
  .song-list a.row { flex-direction: column; align-items: stretch; }
  .song-list img { width: 100%; }
  .about { padding: 22px 20px; }
  .download-box { padding: 20px 16px; }
}
