:root {
  --ember: #1E140E;
  --ember-text: #F6E9CF;
  --ember-soft: #E7D9BC;
  --parchment: #F3E7CC;
  --parchment-deep: #E9D9B5;
  --ink: #2A1B12;
  --ink-soft: #4A3826;
  --brown: #7A4B1E;
  --gold: #E3A935;
  --muted: #6B5A44;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: 'Karla', sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .88; }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: 'Fraunces', serif; }
.hand { font-family: 'Kalam', cursive; }

/* top bar */
.nav {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 24px; max-width: 1120px; margin: 0 auto; padding: 18px 24px 0;
  position: relative; z-index: 2;
}
.nav .brand { font-family: 'Fraunces', serif; font-size: 20px; }
.nav .back { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--ember-soft); }
.nav svg { width: 18px; height: 18px; }

/* firelight hero */
.hero {
  position: relative; overflow: hidden; background: var(--ember); color: var(--ember-text);
  min-height: 36rem;
}
.hero .glow { position: absolute; left: 50%; border-radius: 50%; }
.hero .g1 { bottom: -380px; width: 900px; height: 900px; margin-left: -450px; background: #D9692A; opacity: .14; }
.hero .g2 { bottom: -250px; width: 600px; height: 600px; margin-left: -300px; background: #E37F2C; opacity: .3; }
.hero .g3 { bottom: -120px; width: 320px; height: 320px; margin-left: -160px; background: var(--gold); opacity: .75; }
.hero .star { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--ember-text); opacity: .5; }
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 84px 24px 150px; text-align: center; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .18em; color: #E8B66A; }
.hero h1 {
  margin: 16px 0 0; font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 1.02;
}
.hero h1 em { font-style: italic; }
.hero .tag { margin: 24px auto 0; max-width: 560px; font-family: 'Kalam', cursive; font-size: 30px; line-height: 1.3; color: #F3D9A4; }
.hero .blurb { margin: 20px auto 0; max-width: 560px; color: var(--ember-soft); }

/* compact bar used on song pages */
.bar { background: var(--ember); color: var(--ember-text); padding-bottom: 18px; }

/* latest song */
.section { padding: 96px 0; }
.kicker { font-family: 'Kalam', cursive; font-size: 22px; color: var(--brown); }
.section h2 { margin: 4px 0 0; font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.12; }
.date { margin-top: 6px; font-size: 15px; color: var(--muted); }

.featured { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; margin-top: 40px; }
.featured .video { flex: 1 1 520px; min-width: 0; }
.featured .notes { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }

.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--ember); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.note h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: 'Kalam', cursive; font-weight: 700; font-size: 24px; color: var(--brown); }
.note h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.note p { margin: 6px 0 0; color: var(--ink-soft); }
.note a, .intro a { text-decoration: underline; }
.intro p { margin: 0 0 14px; font-size: 20px; color: var(--ink-soft); }

.read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; border-bottom: 2px solid var(--ink); }

/* song cards */
.more { background: var(--parchment-deep); padding: 80px 0; }
.more h2 { margin: 0; font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.15; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 40px; }
.card { display: block; }
.card .thumb { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--ember); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card h3 { margin: 14px 0 0; font-family: 'Fraunces', serif; font-weight: 400; font-size: 24px; line-height: 1.2; }
.card .date { margin-top: 2px; }
.card p { margin: 8px 0 0; font-size: 16px; color: var(--ink-soft); }

.empty { text-align: center; max-width: 640px; margin: 0 auto; }
.empty p { color: var(--ink-soft); }

/* buttons and calls to action */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px;
  background: var(--gold); color: var(--ember); font-weight: 600;
}
.btn.dark { background: var(--ink); color: var(--ember-text); border-radius: 14px; padding: 14px 30px; }
.center { text-align: center; }
.cta { padding: 88px 0; }
.cta .quote { margin: 8px 0 0; font-family: 'Fraunces', serif; font-style: italic; font-size: 24px; line-height: 1.45; }
.cta .btn { margin-top: 28px; }

/* previous / next */
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; }
.pager a { font-weight: 600; border-bottom: 2px solid var(--ink); }

/* footer */
.footer { padding: 48px 0; background: var(--ember); color: var(--ember-text); }
.footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.footer .name { font-family: 'Fraunces', serif; font-size: 22px; }
.footer .sub { margin-top: 2px; font-family: 'Kalam', cursive; font-size: 20px; color: var(--ember-soft); }
.footer .url { font-size: 16px; color: var(--ember-soft); }

.back-arrow, .arrow { width: 18px; height: 18px; }
