/* thefoundationband.com — same bones as sayitfancyband.com, dressed for tweens and teens. */
:root {
  --bg: #F4EFE4; --ink: #161B28; --muted: #5A5F6C; --card: #FFFcf6; --line: #D9D0BF;
  --gold: #C9A24A; --gold-bright: #E8C56B; --navy: #1A2744; --navy-deep: #10182C;
  --brick: #8B3A2F; --pill: #F3E6C3; --pill-ink: #5C4310; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1320; --ink: #F3EFE4; --muted: #A8AFC0; --card: #1A2236; --line: #2C354C;
    --pill: #3A3017; --pill-ink: #E8C56B; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1320; --ink: #F3EFE4; --muted: #A8AFC0; --card: #1A2236; --line: #2C354C;
  --pill: #3A3017; --pill-ink: #E8C56B; color-scheme: dark;
}
* { box-sizing: border-box }
html, body { margin: 0; background: var(--bg); color: var(--ink) }
body { font: 18px/1.65 Outfit, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif }
a { color: var(--brick) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a { color: #E8A39A } }
:root[data-theme="dark"] a { color: #E8A39A }
img { max-width: 100%; height: auto; display: block }
h1, h2, h3, .brand, .banner h1 { font-family: Fraunces, Georgia, "Times New Roman", serif; font-optical-sizing: auto }

nav.top { background: var(--navy-deep); color: #f7f1e6; }
nav.top .in { max-width: 1040px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px }
.brand { color: #f7f1e6 !important; text-decoration: none; font-weight: 650; font-size: 22px; letter-spacing: .02em }
.brand span { color: var(--gold-bright); font-weight: 560 }
.themebtn { appearance: none; background: transparent; border: 1px solid rgba(247,241,230,.28); color: inherit; border-radius: 999px; width: 40px; height: 40px; cursor: pointer }
.themebtn:hover { border-color: var(--gold) }
.themebtn .sun { display: none }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .themebtn .sun { display: inline } :root:not([data-theme="light"]) .themebtn .moon { display: none } }
:root[data-theme="dark"] .themebtn .sun { display: inline }
:root[data-theme="dark"] .themebtn .moon { display: none }

.bandhero { position: relative; background: var(--navy-deep) }
.bandhero picture { display: block }
.bandhero img { width: 100%; max-height: 620px; object-fit: cover; object-position: center 42% }
.bandhero .banner { position: absolute; inset: 0 0 auto 0; text-align: center; padding: 22px 16px 0; pointer-events: none }
.bandhero .banner p { margin: 0; color: #f7f1e6; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; font-size: 12px; font-family: Outfit, system-ui, sans-serif }
.bandhero h1 { color: var(--gold-bright); text-shadow: 0 2px 0 #10182C; font-size: clamp(40px, 7vw, 72px); margin: 6px 0 0 }

main { max-width: 1040px; margin: 0 auto; padding: 0 20px 64px }
section { padding: 48px 0 0 }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 0 0 12px; font-weight: 650 }
h3 { font-size: 22px; line-height: 1.2; margin: 0 0 6px }
p { margin: 0 0 14px }
.muted { color: var(--muted) }
.lede { font-size: 20px; max-width: 38em }
.kicker { font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--gold); margin: 0 0 10px; font-family: Outfit, system-ui, sans-serif }

.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border-radius: 999px; background: var(--navy); color: #fff !important; text-decoration: none; font-weight: 700; font-size: 15px; border: 1px solid var(--navy) }
.btn.alt { background: var(--card); color: var(--ink) !important; border-color: var(--gold) }
.btn:hover { filter: brightness(1.08) }

ol.setlist { list-style: none; margin: 16px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card) }
ol.setlist li + li { border-top: 1px solid var(--line) }
ol.setlist a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; color: inherit }
ol.setlist a:hover { background: color-mix(in srgb, var(--gold) 12%, var(--card)) }
ol.setlist .n { font-family: Fraunces, Georgia, serif; font-weight: 650; color: var(--gold); width: 1.6em; text-align: center }
ol.setlist .who { flex: 1; min-width: 0 }
ol.setlist b { display: block; font-size: 18px }
ol.setlist small { display: block; color: var(--muted); font-size: 14px }
ol.setlist .go { font-weight: 700; font-size: 14px; color: var(--brick) }

.goldbox { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 22%, var(--card)), var(--card)); border: 1px solid var(--gold); border-radius: 20px; padding: 22px 24px; margin-top: 8px }
.goldbox .links, .goldbox .cta { display: flex; flex-wrap: wrap; gap: 10px }
.goldbox .links a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--gold); background: var(--card); color: var(--ink) !important; text-decoration: none; font-weight: 700; font-size: 15px }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none }
.pills li { background: var(--pill); color: var(--pill-ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700 }

.songpage { padding-top: 28px }
.songpage .back { margin: 0 0 16px }
.songhead h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 0 0 8px }
.clips { margin: 22px 0 }
.clips video { width: 100%; max-height: 80vh; background: #000; border-radius: 16px }
.buyrow { margin: 16px 0 22px }
.blurb { max-width: 40em }

.lyrics { max-width: 36em }
.lyrics .verse { margin: 0 0 22px }
.lyrics .sec { display: inline-block; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--gold); font-family: Outfit, system-ui, sans-serif; margin-bottom: 4px }

.about { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start; margin-top: 20px }
.about img { border-radius: 16px; width: 160px; height: auto }
@media (max-width: 640px) { .about { grid-template-columns: 1fr } .about img { width: 140px } }

footer { max-width: 1040px; margin: 0 auto; padding: 12px 20px 48px; color: var(--muted); font-size: 15px }
footer a { color: inherit }

.notfound { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 40px 20px }
