/* Goldfinch English - Free Audio & Resources
   Mobile-first static page for Cloudflare Pages */

:root {
  --navy: #1e2d50;
  --navy-deep: #16223e;
  --cream: #faf6ec;
  --cream-soft: #f3eddc;
  --ink: #2b2b30;
  --gold: #d9a441;
  --plum: #7a4868;
  --sage: #a8b49a;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}

/* Header */
.site-header {
  background: var(--navy);
  text-align: center;
  padding: 28px 16px 22px;
}
.brand-logo {
  height: 120px;
  width: auto;
}
.tagline {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 10px;
}

/* Layout */
main {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 8px;
}

.intro p {
  font-size: 1.02rem;
  margin-bottom: 22px;
}

/* Book cards */
.book-card {
  background: var(--white);
  border: 1px solid #e5ddc9;
  border-radius: 14px;
  padding: 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(30, 45, 80, 0.06);
}

.book-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.book-chip {
  flex: 0 0 auto;
  width: 14px;
  height: 44px;
  border-radius: 7px;
  margin-top: 2px;
}
.chip-gold { background: var(--gold); }
.chip-navy { background: var(--navy); }
.chip-plum { background: var(--plum); }
.chip-sage { background: var(--sage); }

.book-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  color: var(--navy);
  line-height: 1.3;
}

.book-meta {
  font-size: 0.86rem;
  color: #77746a;
  margin-top: 2px;
}

.book-note {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* Audio track */
.track {
  background: var(--cream-soft);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 6px;
}

.track-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.track-title {
  font-weight: 600;
  font-size: 0.98rem;
}

.track-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border-radius: 20px;
  padding: 3px 10px;
}

audio {
  width: 100%;
  height: 44px;
  display: block;
}

.more-coming {
  font-size: 0.85rem;
  color: #8a867a;
  font-style: italic;
  margin-top: 8px;
}

/* Download button (disabled state for now) */
.download-btn {
  display: inline-block;
  border: none;
  border-radius: 10px;
  background: #cfc9b8;
  color: #6d695d;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  cursor: not-allowed;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  text-align: center;
  padding: 26px 16px 30px;
  margin-top: 14px;
}
.footer-bird {
  height: 56px;
  width: auto;
  opacity: 0.9;
  margin-bottom: 10px;
}
.footer-line {
  color: #d8d3c4;
  font-size: 0.92rem;
}
.footer-line a {
  color: var(--gold);
  text-decoration: none;
}
.footer-copy {
  color: #9a957f;
  font-size: 0.8rem;
  margin-top: 8px;
}

/* Larger screens */
@media (min-width: 700px) {
  .brand-logo { height: 150px; }
  main { padding-top: 30px; }
}

/* Module index + blocks */
.module-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}
.module-index a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.module-block {
  margin-top: 20px;
  scroll-margin-top: 14px;
}
.module-block h3 {
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.module-block .more-coming {
  margin-top: 0;
}
