/* Little Words — /songs/songs.css
   Page chrome for the chant hub and the 20 chant pages. The player itself is
   songs/shared/chant-engine.css; nothing here reaches into it. */

body.lw-app { background: var(--lw-bg, #FFFBF5); margin: 0; color: var(--lw-ink, #1E2A4A);
  font-family: var(--lw-font-body, system-ui, sans-serif); -webkit-text-size-adjust: 100%; }
main { max-width: 1080px; margin: 0 auto; padding: 0 16px 56px; }
h1, h2, h3 { font-family: var(--lw-font-display, system-ui); line-height: 1.15; }
a { color: var(--lw-primary-deep, #BE4327); }

/* ───────────────────────────────────────────────────────────── hub hero */
.hub-hero { padding: 30px 0 18px; max-width: 760px; }
.hub-hero h1 { font-size: clamp(1.9rem, 7vw, 2.9rem); margin: 0 0 12px; }
.hub-hero p { font-size: clamp(1rem, 3.6vw, 1.14rem); line-height: 1.62; margin: 0 0 12px;
  color: var(--lw-ink-soft, #4A4A4A); }
.hub-hero-honest { background: var(--lw-bg-warm, #FFF0E8); border-radius: var(--lw-radius, 16px);
  padding: 12px 16px; font-size: .98rem !important; color: var(--lw-ink, #1E2A4A) !important; }

/* ──────────────────────────────────────────────────────────── the shelves */
.hub-sec { margin: 34px 0 0; }
.hub-sec h2 { font-size: clamp(1.35rem, 5vw, 1.75rem); margin: 0 0 6px; }
.sec-blurb { margin: 0 0 16px; max-width: 720px; line-height: 1.6;
  color: var(--lw-ink-soft, #4A4A4A); font-size: .98rem; }

.song-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.song-tile { display: flex; flex-direction: column; background: var(--lw-surface, #fff);
  border: 1px solid var(--lw-line, #EFE9DF); border-radius: var(--lw-radius-lg, 24px);
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--lw-shadow-soft, 0 2px 10px rgba(30,42,74,.07));
  transition: translate 160ms var(--lw-ease-out, ease), box-shadow 160ms ease; }
.song-tile:hover { translate: 0 -3px; box-shadow: var(--lw-shadow, 0 6px 24px rgba(30,42,74,.10)); }
.song-tile .cover { position: relative; display: block; aspect-ratio: 16 / 9;
  background: var(--lw-bg-warm, #FFF0E8); }
.song-tile .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge-chant { position: absolute; top: 10px; left: 10px; background: var(--lw-primary-deep, #BE4327);
  color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; font-family: var(--lw-font-body, system-ui); }
.song-tile .body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 6px; }
.song-tile h3 { margin: 0; font-size: 1.16rem; }
.song-tile .fam { margin: 0; font-size: .82rem; font-weight: 700;
  color: var(--lw-primary-deep, #BE4327); }
.song-tile .desc { margin: 0; font-size: .92rem; line-height: 1.5;
  color: var(--lw-ink-soft, #4A4A4A); }
.song-tile .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.song-tile .meta span { background: var(--lw-bg-warm, #FFF0E8); border-radius: 999px;
  padding: 4px 10px; font-size: .76rem; font-weight: 700; color: var(--lw-ink, #1E2A4A); }

/* ───────────────────────────────────────────────────── how / faq / cross */
.hub-how { margin: 46px 0 0; }
.hub-how h2, .hub-faq h2, .hub-cross h2 { font-size: clamp(1.35rem, 5vw, 1.75rem); margin: 0 0 16px; }
.how-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.how-card { background: var(--lw-surface, #fff); border: 1px solid var(--lw-line, #EFE9DF);
  border-radius: var(--lw-radius, 16px); padding: 18px 16px; }
.how-card .emo { font-size: 1.7rem; line-height: 1; display: block; margin-bottom: 8px; }
.how-card h3 { margin: 0 0 6px; font-size: 1.06rem; }
.how-card p { margin: 0; font-size: .93rem; line-height: 1.58; color: var(--lw-ink-soft, #4A4A4A); }

.hub-faq { margin: 46px 0 0; max-width: 820px; }
.hub-faq details { border-bottom: 1px solid var(--lw-line, #EFE9DF); }
.hub-faq summary { cursor: pointer; padding: 15px 0; font-weight: 750; font-size: 1.02rem;
  min-height: 44px; display: flex; align-items: center; }
.hub-faq p { margin: 0 0 16px; line-height: 1.62; color: var(--lw-ink-soft, #4A4A4A); font-size: .96rem; }

.hub-cross { margin: 46px 0 0; }
.hub-cross ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.hub-cross li { background: var(--lw-surface, #fff); border: 1px solid var(--lw-line, #EFE9DF);
  border-radius: var(--lw-radius, 16px); padding: 14px 15px; line-height: 1.55; font-size: .94rem;
  color: var(--lw-ink-soft, #4A4A4A); }
.hub-cross a { font-weight: 750; }
.hub-byline { margin: 36px 0 0; font-size: .84rem; color: var(--lw-ink-faint, #8A8177); }

/* ─────────────────────────────────────────────────────── a chant page */
.chant-wrap { max-width: 760px; margin: 0 auto; }
.chant-head { padding: 26px 0 10px; text-align: center; }
.chant-kind { margin: 0 0 8px; font-size: .88rem; font-weight: 700;
  color: var(--lw-ink-soft, #4A4A4A); display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; justify-content: center; }
.chant-badge { background: var(--lw-primary-deep, #BE4327); color: #fff; border-radius: 999px;
  padding: 4px 11px; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.chant-head h1 { font-size: clamp(1.75rem, 7vw, 2.6rem); margin: 0 0 10px; }
.chant-goal { margin: 0 auto 12px; max-width: 560px; line-height: 1.6;
  color: var(--lw-ink-soft, #4A4A4A); font-size: 1rem; }
.chant-facts { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin: 0; }
.chant-facts span { background: var(--lw-bg-warm, #FFF0E8); border-radius: 999px; padding: 5px 12px;
  font-size: .8rem; font-weight: 700; }
.chant-host { min-height: 430px; }
.chant-ns { padding: 22px; background: var(--lw-surface, #fff); border-radius: var(--lw-radius, 16px);
  border: 1px solid var(--lw-line, #EFE9DF); line-height: 1.6; }

.chant-words, .chant-why { margin: 42px 0 0; }
.chant-words h2, .chant-why h2, .chant-more h2 { font-size: clamp(1.25rem, 5vw, 1.6rem); margin: 0 0 10px; }
.chant-words-lede { margin: 0 0 16px; color: var(--lw-ink-soft, #4A4A4A); line-height: 1.6; font-size: .96rem; }
.chant-script { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.chant-script li { display: grid; grid-template-columns: 108px 1fr; gap: 12px; align-items: baseline;
  padding: 10px 12px; border-radius: 12px; margin-bottom: 4px; }
.chant-script .s-tag { font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; color: var(--lw-ink-faint, #8A8177); }
.chant-script .s-txt { font-size: 1.02rem; line-height: 1.5; }
.chant-script .s-call { background: var(--lw-surface, #fff); border: 1px solid var(--lw-line, #EFE9DF); }
.chant-script .s-call .s-txt { font-family: var(--lw-font-display, system-ui); font-weight: 750; }
.chant-script .s-say { background: transparent; }
.chant-script .s-say .s-txt { color: var(--lw-ink-soft, #4A4A4A); font-style: italic; }
.chant-script .s-gap { background: #E7F6EE; border: 1px dashed #6BAF8D; }
.chant-script .s-gap .s-tag { color: #2F6B4F; }
.chant-script .s-gap .s-txt { color: #2F6B4F; font-weight: 700; }

.chant-why p { line-height: 1.65; color: var(--lw-ink-soft, #4A4A4A); margin: 0 0 12px; }
.chant-why-list { padding-left: 20px; margin: 14px 0 0; }
.chant-why-list li { line-height: 1.6; margin-bottom: 10px; color: var(--lw-ink-soft, #4A4A4A); }
.chant-why-list strong { color: var(--lw-ink, #1E2A4A); }

.chant-more { margin: 42px 0 0; }
.chant-more ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.chant-more a { display: flex; gap: 11px; align-items: center; text-decoration: none; color: inherit;
  background: var(--lw-surface, #fff); border: 1px solid var(--lw-line, #EFE9DF);
  border-radius: var(--lw-radius, 16px); padding: 9px; min-height: 68px; }
.chant-more img { width: 96px; height: 54px; object-fit: cover; border-radius: 10px; flex: 0 0 auto;
  background: var(--lw-bg-warm, #FFF0E8); }
.chant-more span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.chant-more strong { font-family: var(--lw-font-display, system-ui); font-size: .98rem; }
.chant-more em { font-style: normal; font-size: .78rem; color: var(--lw-ink-faint, #8A8177); }
.chant-more-all { margin: 14px 0 0; font-weight: 750; }

@media (max-width: 460px) {
  main { padding: 0 12px 44px; }
  .chant-script li { grid-template-columns: 1fr; gap: 3px; }
  .song-grid { grid-template-columns: 1fr; }
}
