/* VOICE OF PRAISE ONE — public site styles */
:root {
  --navy: #0b1f4d;
  --navy-2: #102a63;
  --blue: #1452c2;
  --blue-2: #0e3f9b;
  --sky: #eaf1fb;
  --red: #d71920;
  --gold: #e8c547;
  --maroon: #4a0d1e;
  --ink: #142033;
  --muted: #5b6678;
  --line: #e2e8f1;
  --card: #ffffff;
  --bg: #f5f8fc;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(11, 31, 77, .07);
  --shadow-lg: 0 10px 30px rgba(11, 31, 77, .14);
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Satisfy', cursive;
  --player-h: 0px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg);
  line-height: 1.55; font-size: 16px; padding-bottom: var(--player-h);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.site-header .bar { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand img { width: 58px; height: 58px; border-radius: 50%; }
.brand .name { font-family: var(--head); font-weight: 800; font-size: 1.35rem; letter-spacing: .3px; line-height: 1.05; }
.brand .sub { font-family: var(--head); font-weight: 600; font-size: .7rem; letter-spacing: 3px; text-transform: uppercase; opacity: .9; margin-top: 3px; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .95rem; display: block; white-space: nowrap; }
.main-nav a:hover { background: rgba(255,255,255,.1); }
.main-nav a[aria-current="page"] { background: var(--blue); }
.header-social { display: flex; gap: 10px; align-items: center; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.25); }
.header-social a { color: #fff; display: flex; }
.header-social svg { width: 22px; height: 22px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .header-social { display: none; }
}
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-2); display: none; margin: 0; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .main-nav a { border-radius: 8px; padding: 12px 14px; font-size: 1.05rem; }
  .brand .name { font-size: 1.1rem; }
  .brand img { width: 48px; height: 48px; }
  .site-header .bar { min-height: 66px; }
}
@media (max-width: 380px) { .brand .sub { letter-spacing: 1.5px; } .brand .name { font-size: 1rem; } }

/* ---------- Preview banner ---------- */
.preview-banner { background: var(--gold); color: #3b2c00; text-align: center; padding: 8px 16px; font-weight: 600; font-size: .92rem; }
.badge-draft { display: inline-block; background: var(--gold); color: #3b2c00; font-size: .7rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: .5px; vertical-align: middle; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--navy);
  background: linear-gradient(180deg, #cfe0f5 0%, #eef3f8 55%, #f7f3ea 100%);
}
.hero::before { /* soft clouds */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.85), transparent 45%), radial-gradient(ellipse at 70% 15%, rgba(255,255,255,.7), transparent 40%);
}
.hero .cross-scene { position: absolute; right: 0; top: 0; bottom: 0; width: 34%; background-size: cover; background-position: center top; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.hero .artist-photo { position: absolute; left: 0; bottom: 0; top: 0; width: 36%; display: flex; -webkit-mask-image: linear-gradient(270deg, transparent, #000 35%); mask-image: linear-gradient(270deg, transparent, #000 35%); }
.hero .inner { position: relative; text-align: center; padding: 42px 16px 48px; max-width: 760px; margin: 0 auto; }
.hero .logo { width: 170px; height: 170px; margin: 0 auto 14px; border-radius: 50%; box-shadow: 0 8px 26px rgba(11,31,77,.35); }
.hero h1 { font-weight: 900; font-size: clamp(2rem, 5.4vw, 3.6rem); letter-spacing: -.5px; margin: 0; color: var(--navy); }
.hero .subtitle { font-family: var(--head); font-weight: 500; letter-spacing: .45em; text-transform: uppercase; font-size: clamp(.8rem, 2vw, 1.35rem); margin: 6px 0 4px; color: var(--navy-2); }
.hero .artist { font-family: var(--head); font-weight: 700; letter-spacing: .2em; font-size: clamp(.85rem, 1.8vw, 1.05rem); color: var(--red); margin: 6px 0 10px; }
.hero .tagline { font-family: var(--script); color: var(--blue-2); font-size: clamp(1.2rem, 2.6vw, 1.75rem); margin: 4px 0 20px; }
.hero .verse { position: absolute; right: 24px; bottom: 26px; max-width: 250px; text-align: left; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); font-size: .98rem; }
.hero .verse cite { display: block; font-style: normal; font-weight: 700; margin-top: 6px; }
@media (max-width: 1000px) {
  .hero .cross-scene { width: 100%; opacity: .25; -webkit-mask-image: none; mask-image: none; }
  .hero .artist-photo { display: none; }
  .hero .verse { position: static; margin: 22px auto 0; padding: 0 16px; text-align: center; color: var(--navy); text-shadow: none; max-width: 520px; }
}
@media (max-width: 600px) { .hero .logo { width: 130px; height: 130px; } .hero .inner { padding: 30px 16px 34px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: .92rem; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--blue); background: #fff; color: var(--blue); text-decoration: none; cursor: pointer; line-height: 1.2; min-height: 42px; transition: background .15s, color .15s; }
.btn:hover { background: var(--sky); }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-2); }
.btn.big { font-size: 1.05rem; padding: 14px 30px; letter-spacing: .8px; text-transform: uppercase; background: var(--blue-2); border-color: var(--blue-2); color: #fff; box-shadow: 0 6px 18px rgba(14,63,155,.35); }
.btn.big:hover { background: var(--navy); }
.btn.sm { padding: 6px 14px; font-size: .8rem; min-height: 34px; }
.btn svg { width: 16px; height: 16px; }
.btn.yt { border-color: #ff0000; color: #c00; }
.btn.yt:hover { background: #fff0f0; }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 44px 0; }
.section.alt { background: #fff; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.section-head svg { width: 32px; height: 32px; color: var(--navy); flex-shrink: 0; }
.section-head h2 { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.section-intro { color: var(--muted); margin: 0 0 18px; }
.section-foot { text-align: center; margin-top: 20px; }
.page-title { background: var(--navy); color: #fff; padding: 38px 0; position: relative; overflow: hidden; }
.page-title::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: url('/img/logo-256.png') center/contain no-repeat; opacity: .12; }
.page-title h1 { color: #fff; margin: 0 0 6px; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.page-title p { margin: 0; opacity: .9; max-width: 680px; }

.welcome { display: grid; grid-template-columns: 1fr; gap: 10px; text-align: center; max-width: 820px; margin: 0 auto; }
.welcome h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.welcome p { color: var(--muted); font-size: 1.08rem; white-space: pre-line; }

.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.three-col > div { padding: 0 26px; border-left: 1px solid var(--line); min-width: 0; }
.three-col > div:first-child { padding-left: 0; border-left: 0; }
.three-col > div:last-child { padding-right: 0; }
@media (max-width: 1000px) {
  .three-col { grid-template-columns: 1fr; gap: 40px; }
  .three-col > div { padding: 0; border: 0; }
}

/* ---------- Filter tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.tabs button { font: inherit; font-size: .88rem; padding: 6px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; min-height: 36px; }
.tabs button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.search { width: 100%; max-width: 360px; font: inherit; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 14px; background: #fff; }

/* ---------- Song list ---------- */
.song-list { list-style: none; margin: 0; padding: 0; }
.song-row { display: grid; grid-template-columns: 40px 60px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.song-row .cover { width: 60px; height: 52px; border-radius: 6px; object-fit: cover; background: var(--navy); }
.song-row .meta { min-width: 0; }
.song-row .title { font-weight: 500; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-row .sub { font-size: .8rem; color: var(--muted); }
.song-row .dur { font-size: .78rem; color: var(--muted); }
.song-row .ext { color: var(--blue); display: flex; padding: 6px; }
.song-row .ext svg { width: 20px; height: 20px; }
.song-row.playing .title { color: var(--blue); font-weight: 700; }
.play-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.play-btn:hover { background: var(--blue); }
.play-btn svg { width: 16px; height: 16px; }
.play-btn[disabled] { background: #b8c2d3; cursor: not-allowed; }

/* ---------- Song cards (library) ---------- */
.song-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.song-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 100px; }
.song-card .art { position: relative; aspect-ratio: 1 / 1; background: var(--navy) url('/img/logo-256.png') center/45% no-repeat; }
.song-card .art img { width: 100%; height: 100%; object-fit: cover; }
.song-card .art .play-btn { position: absolute; right: 14px; bottom: -19px; width: 50px; height: 50px; background: var(--blue); box-shadow: 0 6px 16px rgba(20,82,194,.45); }
.song-card .art .play-btn svg { width: 20px; height: 20px; }
.song-card .body { padding: 22px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.song-card h3 { font-size: 1.08rem; margin: 0; }
.song-card .artist { color: var(--muted); font-size: .88rem; }
.song-card .desc { font-size: .9rem; color: #36404f; white-space: pre-line; }
.song-card .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.song-card audio { width: 100%; height: 40px; margin-top: 4px; }
.song-card details { font-size: .9rem; }
.song-card details summary { cursor: pointer; color: var(--blue); font-weight: 500; }
.song-card details p { white-space: pre-line; margin-top: 8px; }
.song-card.highlight { outline: 3px solid var(--gold); }

/* ---------- Video ---------- */
.video-thumb { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; cursor: pointer; border: 0; padding: 0; width: 100%; }
.video-thumb img, .video-thumb video { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.video-thumb .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-thumb .play span { width: 62px; height: 62px; border-radius: 50%; background: rgba(0,0,0,.45); border: 3px solid #fff; display: grid; place-items: center; color: #fff; }
.video-thumb .play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-thumb .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.75); color: #fff; font-size: .75rem; padding: 2px 6px; border-radius: 4px; }
.video-thumb.noimg { background: var(--navy) url('/img/logo-256.png') center/30% no-repeat; }
.video-title { font-weight: 700; margin: 8px 0 0; font-size: 1rem; color: var(--ink); }
.video-sub { font-size: .82rem; color: var(--muted); }
.video-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.video-mini .video-title { font-size: .85rem; font-weight: 500; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 14px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.video-card .desc { font-size: .88rem; color: #36404f; margin: 6px 0 8px; white-space: pre-line; }
.video-card .actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Events ---------- */
.event-list { display: flex; flex-direction: column; gap: 14px; }
.event-card { display: grid; grid-template-columns: 74px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.date-badge { background: var(--blue-2); color: #fff; border-radius: 8px; text-align: center; padding: 8px 4px; font-family: var(--head); align-self: start; }
.date-badge .d { font-size: 1.7rem; font-weight: 700; line-height: 1; }
.date-badge .m { font-size: .8rem; font-weight: 600; text-transform: uppercase; margin-top: 4px; }
.date-badge .y { font-size: .8rem; font-weight: 600; }
.event-card h3 { font-size: 1rem; margin: 0 0 6px; }
.event-card .info { font-size: .84rem; color: var(--muted); display: flex; align-items: flex-start; gap: 6px; margin: 2px 0; }
.event-card .info svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--navy); }
.event-card .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.event-card .more { display: none; margin-top: 10px; }
.event-card.open .more { display: block; }
.event-card .more p { white-space: pre-line; font-size: .92rem; }
.event-card .more img { border-radius: 8px; max-height: 520px; width: auto; margin: 8px 0; cursor: zoom-in; }
.event-card.past { opacity: .75; }
.event-card.past .date-badge { background: #7b869a; }

/* ---------- Posters ---------- */
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.poster-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 800px) { .poster-strip { grid-template-columns: repeat(3, 1fr); } .poster-strip > :nth-child(n+7) { display: none; } }
.poster-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.poster-item button { border: 0; padding: 0; background: #e9eef6; cursor: zoom-in; display: block; width: 100%; }
.poster-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: #e9eef6; }
.poster-strip .poster-item img { aspect-ratio: 1 / 1; object-fit: cover; }
.poster-item .cap { padding: 10px 12px; font-size: .88rem; }
.poster-item .cap strong { display: block; color: var(--navy); }
.poster-item .cap span { color: var(--muted); font-size: .78rem; }
.poster-strip .poster-item .cap { display: none; }

/* ---------- Lightbox / modal ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(4, 10, 25, .45); z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox .box { position: relative; max-width: 1100px; width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; }
.lightbox .frame { width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 120px); background: #000; border-radius: 8px; overflow: hidden; }
.lightbox .frame iframe, .lightbox .frame video { width: 100%; height: 100%; border: 0; display: block; }
.lightbox .cap { color: #fff; margin-top: 12px; text-align: center; }
.lightbox .cap a { color: var(--gold); }
.lightbox .close { position: absolute; top: -6px; right: 0; transform: translateY(-100%); background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; padding: 6px 10px; }

/* ---------- Follow / Subscribe / Contact boxes ---------- */
.bottom-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 1000px) { .bottom-grid { grid-template-columns: 1fr; } }
.follow-box { background: var(--blue-2); color: #fff; border-radius: var(--radius); padding: 26px; text-align: center; }
.follow-box h3 { color: #fff; }
.social-row { display: flex; justify-content: center; gap: 14px; margin: 14px 0; flex-wrap: wrap; }
.social-row a { width: 46px; height: 46px; border-radius: 10px; background: #fff; display: grid; place-items: center; }
.social-row svg { width: 26px; height: 26px; }
.contact-box { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.contact-box ul { list-style: none; padding: 0; margin: 0; }
.contact-box li { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; word-break: break-word; }
.contact-box li svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }

.artist-feature { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; }
.artist-feature .pic { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-lg); }
.artist-feature .pic.photo { border-radius: 16px; }
.artist-feature .eyebrow { font-family: var(--head); font-weight: 700; color: var(--red); letter-spacing: .2em; font-size: .85rem; text-transform: uppercase; }
.artist-feature p { white-space: pre-line; color: #36404f; font-size: 1.05rem; }
@media (max-width: 760px) { .artist-feature { grid-template-columns: 1fr; text-align: center; } .artist-feature .pic { max-width: 220px; margin: 0 auto; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: 1fr; } }
.form label { font-weight: 500; font-size: .9rem; display: block; margin-bottom: 4px; }
.form input, .form textarea, .form select { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid #cdd6e3; border-radius: 8px; background: #fff; color: var(--ink); }
.form textarea { min-height: 150px; resize: vertical; }
.form .err { color: var(--red); font-size: .82rem; margin-top: 4px; min-height: 0; }
.form .invalid input, .form .invalid textarea { border-color: var(--red); }
.form .hp { position: absolute; left: -5000px; }
.notice { padding: 14px 16px; border-radius: 8px; margin-bottom: 14px; }
.notice.ok { background: #e7f6ec; color: #145a2c; border: 1px solid #b6e2c3; }
.notice.bad { background: #fdecec; color: #8a1116; border: 1px solid #f3c0c2; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.empty { text-align: center; color: var(--muted); padding: 26px 16px; background: #fff; border: 1px dashed #cdd6e3; border-radius: var(--radius); font-size: .95rem; }
.loading { color: var(--muted); padding: 20px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #dfe6f3; padding: 30px 0 22px; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr 1fr; gap: 24px; align-items: center; }
.site-footer .brand img { width: 62px; height: 62px; }
.site-footer .tri { font-family: var(--head); font-weight: 600; color: #fff; margin-bottom: 6px; }
.site-footer .tri span { opacity: .6; margin: 0 8px; }
.site-footer .verse { font-size: .9rem; }
.site-footer .links { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 18px; font-size: .9rem; justify-content: start; }
.site-footer a { color: #dfe6f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .small { border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; padding-top: 14px; font-size: .8rem; opacity: .8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.to-top { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid #fff; color: #fff; display: grid; place-items: center; background: none; cursor: pointer; justify-self: end; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr; text-align: center; } .site-footer .brand { justify-content: center; } .site-footer .links { justify-content: center; } .to-top { justify-self: center; } }

/* ---------- Audio player bar ---------- */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--navy); color: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.3); display: none; }
.player.show { display: block; }
.player .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 2fr) auto; align-items: center; gap: 18px; padding: 10px 16px; max-width: 1240px; margin: 0 auto; }
.player .now { display: flex; align-items: center; gap: 10px; min-width: 0; }
.player .now img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; background: #000; }
.player .now .t { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .now .a { font-size: .78rem; opacity: .8; }
.player .ctrls { display: flex; align-items: center; gap: 6px; }
.player button { background: none; border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.player button:hover { background: rgba(255,255,255,.1); }
.player button svg { width: 20px; height: 20px; }
.player .pp { background: #fff; color: var(--navy); width: 46px; height: 46px; }
.player .pp:hover { background: var(--gold); }
.player .seek { display: flex; align-items: center; gap: 10px; font-size: .75rem; font-variant-numeric: tabular-nums; }
.player .vol { display: flex; align-items: center; gap: 6px; }
.player input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; width: 100%; height: 24px; cursor: pointer; }
.player input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--p, 0%), rgba(255,255,255,.3) var(--p, 0%)); }
.player input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); }
.player input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
.player input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; margin-top: -5px; }
.player input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.player .vol input { width: 90px; }
.player .x { width: 32px; height: 32px; opacity: .7; }
@media (max-width: 760px) {
  .player .wrap { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "now ctrls vol" "seek seek seek"; gap: 4px 6px; padding: 8px 12px; }
  .player .now { grid-area: now; } .player .ctrls { grid-area: ctrls; } .player .seek { grid-area: seek; } .player .vol { grid-area: vol; }
  .player .vol input, .player .vol .x { display: none; }
  .player .ctrls .prev, .player .ctrls .next { display: none; }
}
.site-footer .brand .name { font-size: 1.15rem; }
.hero .verse { background: rgba(11, 31, 77, .62); padding: 12px 16px; border-radius: 10px; margin: 0; }
@media (max-width: 1000px) { .hero .verse { background: none; padding: 0 16px; margin: 22px auto 0; } }
/* Show posters at their natural shape (never cropped) on the posters page */
.poster-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; }
.poster-grid .poster-item img { aspect-ratio: auto; height: auto; }
.poster-strip .poster-item img { aspect-ratio: 4 / 3; }

.hero .artist-photo > div { flex: 1; background-size: cover; background-position: center 18%; }
.hero .artist-photo > div + div { -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); margin-left: -8%; }
.artist-feature .pic.photo { object-position: center 22%; }
.hero .artist-photo { width: 31%; -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }
.hero .artist-photo > div + div { margin-left: -12%; }
@media (max-width: 1180px) { .hero .artist-photo { width: 26%; } .hero .artist-photo > div + div { display: none; } }
/* Single banner photo (e.g. a cut-out of the artist) shown whole, like the poster */
.hero .artist-photo.single { width: 40%; -webkit-mask-image: none; mask-image: none; align-items: flex-end; }
.hero .artist-photo.single img { width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 6px 18px rgba(11,31,77,.25)); }
@media (min-width: 1001px) {
  .hero.has-photo .inner { margin-left: 39%; margin-right: 19%; max-width: none; }
  .hero.has-photo h1 { font-size: clamp(2rem, 3.3vw, 3.1rem); }
  .hero.has-photo .subtitle { letter-spacing: .3em; font-size: clamp(.8rem, 1.3vw, 1.1rem); }
  .hero.has-photo .tagline { font-size: clamp(1.1rem, 1.7vw, 1.5rem); }
}
@media (max-width: 1000px) {
  .hero.has-photo { display: flex; flex-direction: column; }
  .hero.has-photo .inner { order: 1; }
  .hero.has-photo .verse { order: 2; }
  .hero .artist-photo.single { display: flex !important; order: 3; position: relative; width: 100%; max-width: 520px; margin: 18px auto 0; padding: 0 16px; }
}
.hero .artist-photo.single img { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
@media (min-width: 1001px) { .hero.has-photo .verse { right: 16px; max-width: 228px; font-size: .92rem; } }

/* Keep the name "VOICE OF PRAISE ONE" on one line at every screen size (it scales down instead of wrapping) */
.hero h1, .brand .name { white-space: nowrap; }
.hero h1 { font-size: clamp(1.25rem, 7.4vw, 3.6rem); }
.hero .tagline { text-wrap: balance; }
.welcome h2 { font-size: clamp(1.15rem, 4.6vw, 2rem); }
.site-footer .brand .name { font-size: clamp(.95rem, 1.35vw, 1.15rem); }
@media (min-width: 1001px) {
  .hero.has-photo h1 { font-size: clamp(1.4rem, 3.55vw, 3.4rem); }
}
@media (max-width: 380px) { .site-header .brand .name { font-size: .95rem; } }
/* Medium laptop widths: place the verse under the button so it never covers the tagline */
@media (min-width: 1001px) and (max-width: 1299px) {
  .hero.has-photo .verse { position: relative; right: auto; bottom: auto; margin: -22px 19% 30px 39%; max-width: none; text-align: center; background: none; padding: 0 12px; color: var(--navy); text-shadow: none; }
}
.hero .btn.big { white-space: nowrap; }
@media (max-width: 420px) { .hero .btn.big { font-size: clamp(.78rem, 3.9vw, 1rem); padding: 13px 20px; letter-spacing: .4px; } }
@media (max-width: 360px) {
  .site-header .bar { gap: 8px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand img { width: 40px; height: 40px; }
  .site-header .brand .sub { letter-spacing: 1.2px; font-size: .62rem; }
  .menu-btn { padding: 6px; }
}

/* Footer: the name column always fits its content; other columns never overlap it */
.site-footer .cols { grid-template-columns: max-content minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 24px 32px; }
.site-footer .cols > * { min-width: 0; }
@media (max-width: 1180px) {
  .site-footer .cols { grid-template-columns: max-content minmax(0, 1fr); align-items: start; }
}
@media (max-width: 900px) {
  .site-footer .cols { grid-template-columns: 1fr; justify-items: center; }
}

/* ---------- Buy & Support ---------- */
.btn.buy { background: var(--gold); border-color: var(--gold); color: #2b2100; }
.btn.buy:hover { background: #f1d35f; }
.btn.give { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.btn.give:hover { background: #6a1430; }
.song-card .btn.buy { width: 100%; margin-top: 4px; }
.buy-chip { color: #7a5a00; background: #fff4cf; border-radius: 999px; padding: 1px 8px; font-weight: 700; text-decoration: none; font-size: .74rem; }
.buy-chip:hover { background: var(--gold); }
.support-band { background: linear-gradient(120deg, var(--maroon), #2a0a14 60%, var(--navy)); color: #fff; }
.support-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-block: 34px; }
.support-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.25rem, 2.6vw, 1.7rem); text-wrap: balance; }
.support-band p { margin: 0; opacity: .9; max-width: 60ch; }
.support-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.support-band .btn.give { background: #fff; color: var(--maroon); border-color: #fff; }
.support-band .btn.give:hover { background: #f3e6ea; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }
.support-text { font-size: 1.12rem; color: #36404f; white-space: pre-line; max-width: 62ch; }
.support-verse { margin: 18px 0 0; padding: 14px 18px; border-left: 4px solid var(--gold); background: #fffaf0; border-radius: 0 10px 10px 0; font-style: italic; color: #3b3220; }
.support-verse cite { font-style: normal; font-weight: 700; display: block; margin-top: 6px; color: var(--maroon); }
.give-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.give-box h2 { font-size: 1.25rem; }
.give-btns { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.give-btns .btn { justify-content: center; font-size: 1rem; min-height: 48px; }
.bank { border-top: 1px solid var(--line); padding-top: 14px; }
.bank-h { font-family: var(--head); font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.bank pre { font-family: var(--body); font-size: 1rem; white-space: pre-wrap; word-break: break-word; background: var(--bg); border-radius: 8px; padding: 12px; margin: 0 0 10px; user-select: all; }
.copied { margin-left: 10px; font-size: .85rem; color: #146c32; }
.give-note { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }

/* ---------- Give everywhere ---------- */
.main-nav a.nav-give { background: var(--gold); color: #2b2100; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.main-nav a.nav-give svg { width: 15px; height: 15px; color: var(--maroon); }
.main-nav a.nav-give:hover { background: #f1d35f; }
.main-nav a.nav-give[aria-current="page"] { background: var(--gold); box-shadow: 0 0 0 2px #fff inset; }
.give-mini { display: none; align-items: center; gap: 5px; background: var(--gold); color: #2b2100; font-family: var(--head); font-weight: 700; font-size: .85rem; text-decoration: none; padding: 8px 12px; border-radius: 999px; margin-left: auto; white-space: nowrap; }
.give-mini svg { width: 14px; height: 14px; color: var(--maroon); }
@media (max-width: 1080px) { .give-mini { display: inline-flex; } .site-header .menu-btn { margin-left: 0; } }
@media (max-width: 360px) { .give-mini { padding: 7px 9px; font-size: .78rem; } }

.give-strip { background: linear-gradient(120deg, var(--maroon), #2a0a14 70%); color: #fff; }
.give-strip-inner { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; padding-block: 26px; }
.give-strip h2 { color: #fff; font-size: 1.25rem; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.give-strip h2 svg { width: 20px; height: 20px; color: var(--gold); }
.give-strip p { margin: 0; opacity: .88; max-width: 42ch; }
.gs-text { flex: 1 1 260px; min-width: 0; }
.gs-bank, .band-bank { flex: 1 1 340px; min-width: 0; }
.gs-bank pre, .band-bank pre { font-family: var(--body); font-size: .98rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 10px; padding: 12px 14px; margin: 0 0 8px; user-select: all; }
.gs-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.give-strip .btn.sm, .support-band .gs-actions .btn.sm { background: #fff; color: var(--maroon); border-color: #fff; }
.give-strip .copied, .support-band .copied { color: var(--gold); margin-left: 0; }
.gs-links { display: flex; gap: 10px; flex-wrap: wrap; }
.give-strip .btn.give { background: var(--gold); border-color: var(--gold); color: #2b2100; }
.band-bank .bank-h { font-family: var(--head); font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.support-band-inner > div:first-child { flex: 1 1 280px; min-width: 0; }
@media (max-width: 1460px) {
  .menu-btn { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-2); display: none; margin: 0; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .main-nav a { border-radius: 8px; padding: 12px 14px; font-size: 1.05rem; }
  .main-nav a.nav-give { justify-content: flex-start; }
  .give-mini { display: inline-flex; }
  .site-header .menu-btn { margin-left: 0; }
  .header-social { display: none; }
}
@media (max-width: 480px) {
  .site-header .bar { gap: 8px; }
  .site-header .brand { gap: 8px; min-width: 0; }
  .site-header .brand img { width: 40px; height: 40px; }
  .site-header .brand .name { font-size: clamp(.8rem, 4.3vw, 1.05rem); }
  .site-header .brand .sub { font-size: .58rem; letter-spacing: 1.4px; }
  .give-mini { padding: 7px 10px; font-size: .8rem; }
  .menu-btn { padding: 6px; }
  .menu-btn svg { width: 26px; height: 26px; }
}
@media (max-width: 400px) {
  .give-mini span { display: none; }
  .give-mini { padding: 8px; }
  .give-mini svg { width: 16px; height: 16px; }
}

/* ---------- PAY NOW ---------- */
.btn.pay-now { background: var(--gold); border-color: var(--gold); color: #2b2100; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.btn.pay-now:hover { background: #f1d35f; }
.btn.pay-now svg { color: var(--maroon); }
.btn[disabled] { opacity: .7; cursor: wait; }
.give-strip .btn.pay-now { font-size: 1rem; padding: 12px 26px; min-height: 48px; }
.support-band .btn.pay-now { box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.pay-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-form legend { font-weight: 500; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; min-height: 44px; padding: 8px 14px; border: 1.5px solid #cdd6e3; border-radius: 10px; font-weight: 700; color: var(--navy); background: #fff; font-variant-numeric: tabular-nums; }
.chip input:checked + span { border-color: var(--maroon); background: #fbeff2; color: var(--maroon); box-shadow: 0 0 0 1px var(--maroon); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.big-pay { width: 100%; font-size: 1.1rem; min-height: 54px; }
.secure-note { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 0; }
.secure-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: #146c32; }
button.buy-chip { border: 0; cursor: pointer; font-family: inherit; }
.site-toast { position: fixed; left: 50%; bottom: calc(16px + var(--player-h) + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow-lg); max-width: min(92vw, 460px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 300; font-size: .95rem; }
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }
.site-toast.bad { background: #8a1116; }
.pay-result { text-align: center; }
.pay-result h1 { font-size: 1.6rem; }
.pay-ok { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: #e3f5e9; color: #146c32; display: grid; place-items: center; }
.pay-ok svg { width: 30px; height: 30px; }
@media (prefers-reduced-motion: reduce) { .site-toast { transition: none; } }
.dl-hint { display: flex; gap: 6px; align-items: center; margin-top: 6px; color: #146c32; }
.dl-hint svg { width: 16px; height: 16px; flex-shrink: 0; }
.dl-box { background: #fffaf0; border: 1px solid #f0e2b5; border-radius: 12px; padding: 16px; margin: 14px 0; }
.dl-box .btn svg { width: 18px; height: 18px; }
.pay-form .amounts[hidden] { display: none; }

/* ---------- Song page ---------- */
.song-link { color: inherit; text-decoration: none; }
.song-link:hover { color: var(--blue); text-decoration: underline; }
.dl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--line); font-size: .85rem; }
.dl-label { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 500; }
.dl-label svg { width: 15px; height: 15px; }
.dl-link { font-weight: 700; color: var(--blue-2); text-decoration: none; padding: 4px 10px; border-radius: 999px; background: var(--sky); }
.dl-link:hover { background: var(--blue); color: #fff; }
.btn svg { flex-shrink: 0; }
.song-hero { background: linear-gradient(180deg, #e7eef9, var(--bg)); padding-block: 26px 40px; }
.back-link { display: inline-block; margin-bottom: 16px; font-weight: 500; text-decoration: none; }
.song-hero-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 760px) { .song-hero-grid { grid-template-columns: 1fr; gap: 22px; } .song-cover { max-width: 320px; } }
.song-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); background: var(--navy); }
.song-info .eyebrow { font-family: var(--head); font-weight: 700; color: var(--red); letter-spacing: .2em; font-size: .8rem; text-transform: uppercase; }
.song-info h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin: 6px 0 6px; text-wrap: balance; }
.song-meta { color: var(--muted); margin-bottom: 10px; }
.song-desc { white-space: pre-line; color: #36404f; max-width: 62ch; }
.song-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 20px; }
.big-listen { width: 64px; height: 64px; border-radius: 50%; padding: 0; }
.big-listen svg { width: 26px; height: 26px; }
.listen-label { font-family: var(--head); font-weight: 700; color: var(--navy); margin-right: 8px; }
.download-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); max-width: 560px; }
.download-panel h2 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.download-panel h2 svg { width: 18px; height: 18px; color: var(--blue); }
.download-list { display: grid; gap: 8px; }
.dl-item { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.dl-item strong { color: var(--navy); }
.dl-item span { grid-column: 1; font-size: .84rem; color: var(--muted); }
.dl-item::after { content: "Download"; grid-column: 2; grid-row: 1 / span 2; font-family: var(--head); font-weight: 700; font-size: .82rem; color: #fff; background: var(--blue); padding: 8px 14px; border-radius: 999px; }
.dl-item:hover { border-color: var(--blue); }
.song-video h2, .lyrics-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin: 0; }
.song-video h2 svg, .lyrics-head h2 svg { width: 26px; height: 26px; color: var(--navy); }
.song-video video, .yt-wrap { display: block; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; margin: 16px 0 12px; }
.yt-wrap { background: none; aspect-ratio: auto; }
.video-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.lyrics-wrap { max-width: 820px; }
.lyrics-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.lyrics-text { white-space: pre-line; font-size: 1.15rem; line-height: 1.85; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 22px 26px; color: #1d2636; max-width: 64ch; overflow-wrap: anywhere; }
@media (max-width: 600px) { .lyrics-text { font-size: 1.05rem; padding: 16px 16px; } }

/* ---------- Testimonies & comments ---------- */
.testimony-wrap h2 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin: 0 0 6px; }
.testimony-wrap h2 svg { width: 26px; height: 26px; color: var(--navy); }
.tc-count { color: var(--muted); font-weight: 600; font-size: 1rem; }
.tc-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .tc-grid { grid-template-columns: 1fr; } }
.tc-list { display: grid; gap: 14px; }
.tc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.tc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.tc-badge { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 3px 9px; border-radius: 999px; background: #fbeff2; color: var(--maroon); }
.tc-badge.is-comment { background: var(--sky); color: var(--blue-2); }
.tc-date { font-size: .8rem; color: var(--muted); }
.tc-text { white-space: pre-line; margin: 0 0 8px; font-size: 1.02rem; line-height: 1.65; overflow-wrap: anywhere; }
.tc-who { font-weight: 700; color: var(--navy); font-size: .92rem; }
.tc-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: relative; }
.tc-form h3 { margin: 0; font-size: 1.15rem; }
.tc-type { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; }
.tc-form .hint { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- Recommended messages ---------- */
.msg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.msg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; scroll-margin-top: 100px; }
.msg-card.highlight { outline: 3px solid var(--gold); }
.msg-card .video-thumb { border-radius: 0; background: var(--navy) url('/img/logo-256.png') center/26% no-repeat; }
.msg-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.msg-callout { font-family: var(--script); color: var(--maroon); font-size: 1.3rem; line-height: 1.2; }
.msg-card h3 { margin: 0; font-size: 1.1rem; text-wrap: balance; }
.msg-meta { font-size: .84rem; color: var(--muted); }
.msg-desc { margin: 2px 0 0; font-size: .92rem; color: #36404f; white-space: pre-line; }
.msg-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 4px; }
.share-label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.share-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; height: 34px; min-width: 34px; display: inline-grid; place-items: center; cursor: pointer; padding: 0 6px; }
.share-btn svg { width: 22px; height: 22px; }
.share-btn.copy { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; font: inherit; font-size: .82rem; font-weight: 700; color: var(--blue-2); }
.share-btn.copy svg { width: 15px; height: 15px; }
.share-btn:hover { border-color: var(--blue); }
.short-link { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.msg-verse { margin-top: 32px; max-width: 680px; }

/* ---------- Posters A–Z ---------- */
.az-index { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--bg); padding: 8px 0; }
.az-index a { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-family: var(--head); font-weight: 800; color: var(--navy); text-decoration: none; }
.az-index a:hover { background: var(--navy); color: #fff; }
.az-group { scroll-margin-top: 150px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.az-group:last-child { border-bottom: 0; }
.az-letter { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 1.6rem; margin: 0 0 14px; }
@media (max-width: 900px) { .az-index { top: calc(66px + env(safe-area-inset-top, 0px)); } }

/* ---------- Posters gallery (dark, even frames, A–Z) ---------- */
.gallery-section { background: linear-gradient(180deg, var(--navy) 0%, #081536 100%); color: #fff; }
.gallery-tabs button { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.gallery-tabs button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #2b2100; font-weight: 700; }
.pg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 960px) { .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pg-grid { grid-template-columns: 1fr; gap: 22px; } }
.pg-tile { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pg-frame { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #050d24; box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08); transition: transform .2s, box-shadow .2s; }
.pg-frame:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.45), 0 0 0 2px var(--gold); }
.pg-frame:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.pg-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(18px) brightness(.55); }
.pg-img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.pg-tile figcaption { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; }
.pg-tile strong { font-family: var(--head); font-size: 1.05rem; color: #fff; line-height: 1.3; }
.pg-cat { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.pg-desc { font-size: .88rem; color: #c9d3e6; white-space: pre-line; }
@media (prefers-reduced-motion: reduce) { .pg-frame { transition: none; } .pg-frame:hover { transform: none; } }
/* Description previews (full text on the song page and in the poster viewer) */
.pg-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.song-card .desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lightbox .cap { max-width: 760px; }
.lb-desc { white-space: pre-line; font-size: .92rem; line-height: 1.55; opacity: .92; margin-top: 6px; max-height: 28vh; overflow-y: auto; text-align: left; }
.lightbox img { max-height: calc(100vh - 260px); }
/* Studio information (About page) */
.studio-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; max-width: 640px; }
.studio-facts > div { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; padding: 10px 14px; }
.studio-facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.studio-facts dd { margin: 2px 0 0; font-family: var(--head); font-weight: 800; color: var(--navy); overflow-wrap: anywhere; }
@media (max-width: 520px) { .studio-facts { grid-template-columns: 1fr; } }
/* Official brand signature */
.brand-signature { display: flex; flex-direction: column; gap: 2px; font-family: var(--head); text-transform: uppercase; line-height: 1.25; }
.brand-signature .bs-name { font-weight: 900; font-size: 1.05rem; color: #fff; letter-spacing: .02em; }
.brand-signature .bs-type { font-weight: 700; font-size: .78rem; letter-spacing: .16em; color: var(--gold); }
.brand-signature .bs-founder { font-weight: 700; font-size: .78rem; letter-spacing: .1em; color: #dfe6f3; margin-top: 4px; }
.brand-signature .bs-full { font-weight: 600; font-size: .74rem; letter-spacing: .1em; color: #b9c4d8; }
.brand-signature.on-light { display: inline-flex; margin: 16px 0 4px; padding: 14px 18px; border-radius: 12px; background: var(--navy); }
@media (max-width: 900px) { .site-footer .brand-signature { align-items: center; } }
.brand-signature .bs-founder a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.brand-signature .bs-founder a:hover { color: var(--gold); }
.hero .artist-link { color: inherit; text-decoration: none; border-bottom: 2px solid rgba(215,25,32,.35); }
.hero .artist-link:hover { border-bottom-color: var(--red); }

/* ---------- About the Founder ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 800px) { .founder-grid { grid-template-columns: 1fr; gap: 24px; } .founder-photo { max-width: 300px; margin: 0 auto; } }
.founder-photo { margin: 0; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border-radius: 18px; box-shadow: var(--shadow-lg); background: var(--navy); }
.founder-photo img:not(.photo) { aspect-ratio: 1; object-fit: contain; padding: 18px; }
.founder-grid .eyebrow { font-family: var(--head); font-weight: 700; color: var(--red); letter-spacing: .2em; font-size: .8rem; text-transform: uppercase; }
.founder-name { font-size: clamp(2rem, 5vw, 3rem); margin: 6px 0 2px; }
.founder-full { color: var(--muted); margin-bottom: 16px; }
.founder-full strong { color: var(--navy); letter-spacing: .04em; }
.founder-bio { white-space: pre-line; font-size: 1.06rem; color: #2d3748; max-width: 66ch; }
.founder-quote { margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--gold); background: #fffaf0; border-radius: 0 12px 12px 0; font-style: italic; color: #3b3220; max-width: 66ch; }
.founder-quote cite { display: block; font-style: normal; font-weight: 700; margin-top: 6px; color: var(--maroon); }
.founder-names { max-width: 860px; }
.founder-names h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.founder-note { font-size: 1.06rem; color: #2d3748; max-width: 66ch; }
.name-table-wrap { overflow-x: auto; margin: 18px 0 8px; }
.name-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .98rem; }
.name-table th, .name-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.name-table thead th { background: var(--navy); color: #fff; font-family: var(--head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.name-table tbody th { font-family: var(--head); color: var(--navy); white-space: nowrap; }
.name-table tr:last-child th, .name-table tr:last-child td { border-bottom: 0; }
.founder-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.brand-signature.on-light .bs-founder a { color: #fff; }

/* Footer v3: the studio signature always keeps each line whole; columns never overlap */
.site-footer .brand-signature span { white-space: nowrap; }
.site-footer .tri { display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; }
.site-footer .tri span { margin: 0 8px; }
.site-footer .cols { grid-template-columns: max-content minmax(0, 1fr) max-content auto; gap: 24px 36px; }
@media (max-width: 1440px) {
  .site-footer .cols { grid-template-columns: max-content minmax(0, 1fr); grid-template-areas: none; align-items: start; }
}
@media (max-width: 900px) {
  .site-footer .cols { grid-template-columns: 1fr; justify-items: center; }
  .site-footer .tri { justify-content: center; }
}

/* ---------- Hymns ---------- */
.hymn-wrap { max-width: 900px; }
.hymn-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.hymn-tools .search { margin: 0; max-width: 420px; flex: 1 1 260px; }
.hymn-count { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hymn-list { display: grid; gap: 14px; margin-top: 12px; }
.hymn { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.hymn.highlight { outline: 3px solid var(--gold); }
.hymn-head { display: flex; gap: 14px; align-items: center; }
.hymn-no { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--maroon); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.hymn-titles { min-width: 0; }
.hymn h2 { font-size: 1.2rem; margin: 0; text-wrap: balance; }
.hymn-credit { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.hymn-desc { margin: 10px 0 0; color: #36404f; white-space: pre-line; }
.hymn-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.hymn-words { white-space: pre-line; margin-top: 14px; padding: 18px 22px; background: #fffaf0; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; font-size: 1.08rem; line-height: 1.85; color: #1d2636; overflow-wrap: anywhere; }
@media (max-width: 600px) { .hymn-words { padding: 14px 14px; font-size: 1.02rem; } }
.hymn-verse { margin-top: 30px; }
@media (max-width: 1640px) { .header-social { display: none; } }

/* ---------- Support the Music (voluntary gift via Wise) ---------- */
.btn.give-gift { background: var(--gold); border-color: var(--gold); color: #2b2100; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.btn.give-gift:hover { background: #f1d35f; }
.btn.give-gift svg { color: var(--maroon); }
.btn.give-gift.big-gift { width: 100%; font-size: 1.08rem; min-height: 56px; }
.gift-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 860px) { .gift-grid { grid-template-columns: 1fr; gap: 22px; } }
.gift-h { font-size: clamp(1.5rem, 3.2vw, 2rem); }
.gift-msg { font-size: 1.15rem; line-height: 1.7; color: #253046; max-width: 60ch; }
.gift-points { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.gift-points li { position: relative; padding-left: 30px; color: #36404f; }
.gift-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e3f5e9; color: #146c32; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.gift-box { background: linear-gradient(160deg, var(--maroon), #2a0a14); color: #fff; border-radius: 16px; padding: 26px 24px; text-align: center; box-shadow: var(--shadow-lg); }
.gift-box h3 { color: #fff; margin: 6px 0 16px; font-size: 1.3rem; }
.gift-icon { width: 40px; height: 40px; color: var(--gold); }
.gift-small { font-size: .86rem; opacity: .85; margin: 14px 0 0; }
.gift-soon { opacity: .9; margin: 0; }
.band-note { font-size: .88rem; opacity: .8; margin-top: 8px !important; }
/* Gift steps */
.gift-steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }
.gift-steps span { font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.12); color: #e6d6dc; }
.gift-steps span.on { background: var(--gold); color: #2b2100; }
.gift-amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.gift-amt { font: inherit; font-weight: 800; min-height: 48px; border-radius: 10px; border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-variant-numeric: tabular-nums; }
.gift-amt:hover { border-color: var(--gold); }
.gift-amt.sel { background: var(--gold); border-color: var(--gold); color: #2b2100; }
#gift-other { text-align: left; margin-bottom: 12px; }
#gift-other label { display: block; font-size: .85rem; margin-bottom: 4px; }
#gift-other input { width: 100%; font: inherit; padding: 11px 13px; border-radius: 8px; border: 0; }
.gift-err { color: #ffd7d9; font-size: .88rem; min-height: 1.2em; margin-bottom: 6px; }
.gift-back { background: none; border: 0; color: #e6d6dc; cursor: pointer; margin-top: 12px; font: inherit; font-size: .9rem; text-decoration: underline; }
.gift-wise-note { background: rgba(255,255,255,.1); border-radius: 8px; padding: 8px 10px; }
.gift-qr { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px; background: rgba(255,255,255,.08); border-radius: 12px; text-align: left; }
.gift-qr img { width: 120px; height: 120px; background: #fff; border-radius: 8px; padding: 4px; flex-shrink: 0; }
.gift-qr p { margin: 0; font-size: .86rem; }
@media (max-width: 420px) { .gift-qr { flex-direction: column; text-align: center; } }
.gift-or { margin: 14px 0 8px; font-size: .82rem; opacity: .75; text-transform: uppercase; letter-spacing: .1em; }
.btn.gift-wise-alt { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; width: 100%; }
.btn.gift-wise-alt:hover { background: rgba(255,255,255,.1); }

/* ---------- Playlists ---------- */
.playlist { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin: 0 0 24px; box-shadow: 0 4px 16px rgba(11,31,77,.06); }
.playlist.highlight { box-shadow: 0 0 0 3px var(--gold); }
.pl-head { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.pl-cover { width: 170px; height: 170px; object-fit: cover; border-radius: 10px; background: var(--navy); flex-shrink: 0; box-shadow: 0 6px 18px rgba(11,31,77,.25); }
.pl-info { flex: 1 1 260px; min-width: 0; }
.pl-kicker { font-family: var(--head); font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.pl-info h2 { margin: 4px 0 4px; font-size: clamp(1.4rem, 3.4vw, 2rem); overflow-wrap: anywhere; }
.pl-meta { color: #5a6478; font-size: .9rem; }
.pl-desc { margin: 8px 0 0; }
.pl-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pl-songs { padding: 0; margin: 0; }
.pl-strip { margin: 0 0 22px; }
.pl-strip-h { font-size: 1.2rem; margin: 0 0 10px; }
.pl-strip-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.pl-chip { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; max-width: 280px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); text-decoration: none; }
.pl-chip:hover { background: var(--sky); }
.pl-chip img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.pl-chip span { display: flex; flex-direction: column; min-width: 0; }
.pl-chip strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-chip small { color: #5a6478; }
@media (max-width: 560px) { .pl-cover { width: 120px; height: 120px; } .playlist { padding: 14px; } }
.home-pl { margin: 18px 0 0; }
.cat-tabs { align-items: center; margin: 14px 0 0; }
.pl-strip-row + .pl-strip-h { margin-top: 16px; }
.pl-strip { margin-top: 20px; }
.cat-tabs .cat-lbl { font-family: var(--head); font-weight: 600; font-size: .85rem; color: var(--navy); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cat-chip { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--sky); color: var(--navy); text-decoration: none; }
.cat-chip:hover { background: var(--gold); }

/* Song writer credit (the writer is the owner of the song) */
.song-writer { margin: 0 0 4px; font-size: 1.05rem; }
.song-writer strong { color: inherit; letter-spacing: .3px; }
.song-writer span { opacity: .75; font-size: .9rem; }
.lyrics-credit { margin: 0 0 12px; color: #5a6478; }
.lyrics-credit strong { color: var(--navy); }

/* Guiding Principle (About page) */
.principle { max-width: 820px; text-align: center; }
.principle h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 18px; }
.principle-text p { font-size: 1.12rem; line-height: 1.75; color: #36404f; margin: 0 0 14px; white-space: pre-line; }
.principle-text p:last-child { font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 1.2rem; margin-top: 20px; }
.principle-sign { margin: 18px 0 0; font-weight: 600; color: var(--navy); }
.rights-note { margin: 18px 0 0; font-size: .85rem; color: #5a6478; }

/* Our Mission page */
.mission { max-width: 860px; }
.mission-intro p { font-size: 1.15rem; line-height: 1.75; color: #36404f; margin: 0 0 12px; }
.mission-intro p:first-child { font-size: 1.25rem; color: var(--navy); font-weight: 500; }
.mission-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.mission-toc a { font-size: .85rem; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); text-decoration: none; }
.mission-toc a:hover { background: var(--sky); }
.mission-sec { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin: 0 0 18px; scroll-margin-top: 90px; }
.mission-sec h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.25rem, 3vw, 1.5rem); margin: 0 0 12px; }
.mission-sec h2 .n { flex: 0 0 auto; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: 1rem; }
.mission-sec p { color: #36404f; line-height: 1.7; margin: 0 0 10px; }
.mission-sec p:last-child { margin-bottom: 0; }
.mission-badge { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 14px 0; padding: 16px; border-radius: 12px; background: var(--navy); color: #fff; text-align: center; }
.mission-badge strong { font-family: var(--head); font-size: 1.3rem; letter-spacing: 1px; }
.mission-badge span { color: var(--gold); font-weight: 500; }
.mission-sec.foundation { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(232,197,71,.35); }
.mission-key { font-family: var(--head); font-weight: 700; color: var(--navy) !important; font-size: 1.15rem; }
.mission-close { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; margin: 30px 0 0; padding: 26px 16px; border-radius: 14px; background: var(--navy); color: #fff; }
.mission-close strong { font-family: var(--head); font-size: clamp(1.3rem, 3.5vw, 1.8rem); letter-spacing: 1px; }
.mission-close span { color: var(--gold); font-weight: 500; }
@media (max-width: 560px) { .mission-sec { padding: 18px 16px; } }
.presented-by { margin: 0 0 2px; font-size: .9rem; color: #5a6478; letter-spacing: .3px; }
.presented-by strong { color: var(--navy); }
.submit-note { margin: 0 0 4px; font-size: .92rem; background: var(--sky); border: 1px solid var(--line); color: var(--ink); }

/* Homepage picture (wide banner) */
.promo-sec { padding: 28px 0; background: var(--bg); }
.promo-link { display: block; max-width: 960px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(11,31,77,.25); transition: transform .2s; }
.promo-link[href]:hover { transform: translateY(-2px); }
.promo-link img { display: block; width: 100%; height: auto; }
@media (max-width: 560px) { .promo-sec { padding: 18px 0; } .promo-link { border-radius: 10px; } }
.founder-end { margin-top: 22px; }
.founder-end .founder-links { margin-top: 16px; }

/* About: ministry sections */
.ministry { max-width: 1040px; }
.center-h { text-align: center; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 14px; padding: 22px 24px; scroll-margin-top: 90px; }
.mv-card p, .ministry article p { color: #36404f; line-height: 1.7; margin: 0 0 10px; }
.mv-card .eyebrow { margin-bottom: 8px; }
.ministry h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.verse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 14px; }
.verse-card { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px 58px; }
.verse-card .vn { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; font-size: .9rem; }
.verse-card blockquote { margin: 0 0 8px; font-style: italic; color: #36404f; line-height: 1.6; }
.verse-card figcaption { font-family: var(--head); font-weight: 700; color: var(--navy); font-size: .9rem; }
.ministry-cats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ministry-cats li { padding: 7px 14px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 600; font-size: .9rem; }
.support-ministry { margin-top: 22px; }
.support-ministry h2 { margin-top: 0; }
#mission .mv-card, #purpose { scroll-margin-top: 90px; }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } .mv-card { padding: 18px 16px; } }
.mv-h { font-size: clamp(1.3rem, 3vw, 1.6rem); margin: 0 0 10px; color: var(--navy); }

/* Footer (clean layout: the name appears once, long lines wrap instead of overlapping) */
.site-footer .cols.v2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; grid-template-areas: none; gap: 24px 40px; align-items: center; text-align: left; justify-items: stretch; }
.site-footer .cols.v2 > * { min-width: 0; }
.site-footer .foot-brand { display: flex; align-items: center; gap: 14px; }
.site-footer .foot-logo img { width: 62px; height: 62px; display: block; }
.site-footer .cols.v2 .brand-signature span { white-space: normal; }
.site-footer .foot-nav { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.site-footer .cols.v2 .tri { justify-content: flex-start; }
@media (max-width: 1100px) {
  .site-footer .cols.v2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer .cols.v2 .foot-nav { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .site-footer .cols.v2 { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .site-footer .foot-brand { flex-direction: column; }
  .site-footer .cols.v2 .brand-signature { align-items: center; }
  .site-footer .cols.v2 .tri { justify-content: center; }
  .site-footer .foot-nav { flex-direction: column; }
  .site-footer .cols.v2 .links { justify-content: center; }
}

/* Flyer in the top banner */
.hero .hero-flyer { display: block; z-index: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 28px rgba(11,31,77,.35); border: 3px solid #fff; transition: transform .2s; }
.hero .hero-flyer[hidden] { display: none; }
.hero .hero-flyer[href]:hover { transform: translateY(-50%) scale(1.02); }
.hero .hero-flyer img { display: block; width: 100%; height: auto; }
@media (min-width: 1001px) {
  .hero.has-flyer .hero-flyer { position: absolute; right: 1.2%; width: 17.6%; top: 50%; transform: translateY(-50%); }
  .hero.has-flyer .cross-scene { opacity: .55; }
}
@media (min-width: 1300px) {
  .hero.has-flyer .hero-flyer { top: 42%; transform: translateY(-50%); }
  .hero.has-flyer .hero-flyer[href]:hover { transform: translateY(-50%) scale(1.02); }
}
@media (max-width: 1000px) {
  .hero.has-flyer { display: flex; flex-direction: column; }
  .hero.has-flyer .inner { order: 1; }
  .hero.has-flyer .hero-flyer { order: 2; position: relative; width: calc(100% - 32px); max-width: 560px; margin: 0 auto 6px; }
  .hero.has-flyer .hero-flyer[href]:hover { transform: scale(1.02); }
  .hero.has-flyer .verse { order: 3; }
  .hero.has-flyer .artist-photo.single { order: 4; }
}
@media (min-width: 1001px) and (max-width: 1299px) {
  .hero.has-flyer .hero-flyer { top: auto; bottom: 24px; transform: none; }
  .hero.has-flyer .hero-flyer[href]:hover { transform: scale(1.02); }
}
@media (min-width: 1300px) and (max-width: 1799px) {
  .hero.has-flyer .hero-flyer { top: 28px; transform: none; }
  .hero.has-flyer .hero-flyer[href]:hover { transform: scale(1.02); }
}
/* Banner without a photo: the flyer takes the left side on wide screens, and sits under the button on smaller ones */
@media (min-width: 1500px) {
  .hero.has-flyer:not(.has-photo) .hero-flyer { left: 32px; right: auto; top: 50%; bottom: auto; width: min(560px, calc((100% - 820px) / 2 - 32px)); transform: translateY(-50%); }
  .hero.has-flyer:not(.has-photo) .hero-flyer[href]:hover { transform: translateY(-50%) scale(1.02); }
}
@media (max-width: 1499px) {
  .hero.has-flyer:not(.has-photo) { display: flex; flex-direction: column; }
  .hero.has-flyer:not(.has-photo) .inner { order: 1; padding-bottom: 24px; }
  .hero.has-flyer:not(.has-photo) .hero-flyer { order: 2; position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; width: calc(100% - 32px); max-width: 560px; margin: 0 auto 28px; }
  .hero.has-flyer:not(.has-photo) .hero-flyer[href]:hover { transform: scale(1.02); }
  .hero.has-flyer:not(.has-photo) .verse { order: 3; }
}
@media (min-width: 1001px) and (max-width: 1499px) {
  .hero.has-flyer:not(.has-photo) .verse { position: relative; right: auto; bottom: auto; margin: 0 auto 30px; max-width: 520px; text-align: center; background: none; padding: 0 16px; color: var(--navy); text-shadow: none; }
}
/* Banner without a background picture: the verse is shown in navy text */
.hero .cross-scene[hidden] { display: none; }
@media (min-width: 1001px) { .hero.no-bg .verse { background: rgba(255,255,255,.75); color: var(--navy); text-shadow: none; border: 1px solid rgba(11,31,77,.12); } }

/* ---------- Homepage like the example layout ---------- */
.home-row2 { padding-top: 10px; border-top: 1px solid var(--line); }
.subscribe-box { background: #f3f7fd; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.subscribe-box p { margin: 0 0 14px; color: #36404f; }
.subscribe-form { display: flex; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 4px; gap: 4px; }
.subscribe-form input[type=email] { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 8px 14px; font: inherit; font-size: .92rem; outline: none; }
.subscribe-form:focus-within { box-shadow: 0 0 0 3px rgba(232,197,71,.6); }
.subscribe-form .btn { min-height: 38px; padding: 8px 18px; }
.subscribe-form .hp { position: absolute; left: -9999px; }
.sub-msg { margin-top: 10px; font-size: .9rem; min-height: 1.2em; }
.sub-msg.ok { color: #145a2c; } .sub-msg.bad { color: #8a1116; }
@media (max-width: 400px) { .subscribe-form { flex-direction: column; border-radius: 14px; } .subscribe-form .btn { width: 100%; } }
/* Header: menu shown in one line on laptops too (it folds into the menu button on smaller screens) */
@media (min-width: 1241px) and (max-width: 1460px) {
  .menu-btn { display: none; }
  .give-mini { display: none; }
  .main-nav { position: static; display: block; margin-left: auto; background: none; box-shadow: none; }
  .main-nav ul { flex-direction: row; padding: 0; gap: 2px; }
  .main-nav a { padding: 7px 10px; font-size: .86rem; border-radius: 999px; }
  .site-header .brand img { width: 50px; height: 50px; }
  .site-header .brand .name { font-size: 1.12rem; }
}
@media (min-width: 1641px) { .main-nav a { padding: 8px 11px; } .header-social { margin-left: 4px; } }
/* Banner like the example: flyer on the left, name and button beside it, verse underneath (computers) */
@media (min-width: 1001px) {
  .hero.has-flyer:not(.has-photo) { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 36px; padding: 34px max(28px, calc((100% - 1440px) / 2)); }
  .hero.has-flyer:not(.has-photo) .hero-flyer { grid-column: 1; grid-row: 1 / span 2; order: 0; position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; width: 100%; max-width: 680px; margin: 0; justify-self: end; }
  .hero.has-flyer:not(.has-photo) .hero-flyer[href]:hover { transform: scale(1.015); }
  .hero.has-flyer:not(.has-photo) .inner { grid-column: 2; grid-row: 1; order: 0; padding: 0; margin: 0; max-width: none; }
  .hero.has-flyer:not(.has-photo) .logo { width: 120px; height: 120px; margin-bottom: 10px; }
  .hero.has-flyer:not(.has-photo) h1 { font-size: clamp(1.6rem, 3.3vw, 3.3rem); }
  .hero.has-flyer:not(.has-photo) .subtitle { letter-spacing: .32em; font-size: clamp(.8rem, 1.25vw, 1.15rem); }
  .hero.has-flyer:not(.has-photo) .tagline { font-size: clamp(1.05rem, 1.7vw, 1.55rem); margin-bottom: 16px; }
  .hero.has-flyer:not(.has-photo) .verse { grid-column: 2; grid-row: 2; order: 0; position: static; align-self: start; margin: 18px auto 0; max-width: 520px; text-align: center; padding: 10px 16px; }
}
/* Banner exactly like the example: picture left · name in the middle · verse on the right (wide screens) */
@media (min-width: 1200px) {
  .hero.has-flyer:not(.has-photo) { grid-template-columns: minmax(0, 34%) minmax(0, 1fr) minmax(0, 20%); grid-template-rows: auto; column-gap: 32px; padding: 30px max(28px, calc((100% - 1560px) / 2)); }
  .hero.has-flyer:not(.has-photo) .hero-flyer { grid-column: 1; grid-row: 1; max-width: 560px; }
  .hero.has-flyer:not(.has-photo) .inner { grid-column: 2; grid-row: 1; }
  .hero.has-flyer:not(.has-photo) h1 { font-size: clamp(1.6rem, 2.7vw, 3.1rem); }
  .hero.has-flyer:not(.has-photo) .subtitle { letter-spacing: .3em; font-size: clamp(.75rem, 1.05vw, 1.1rem); }
  .hero.has-flyer:not(.has-photo) .tagline { font-size: clamp(1rem, 1.45vw, 1.5rem); }
  .hero.has-flyer:not(.has-photo) .verse { grid-column: 3; grid-row: 1; align-self: end; margin: 0 0 6px; text-align: left; max-width: 300px; }
}
.bottom-grid.two { grid-template-columns: 1.8fr 1fr; }
@media (max-width: 1000px) { .bottom-grid.two { grid-template-columns: 1fr; } }

/* ---------- Books ---------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 22px; }
.book-card { display: flex; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.book-card.highlight { outline: 3px solid var(--gold); }
.book-cover { flex: 0 0 150px; }
.book-cover img, .book-nocover { width: 150px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 20px rgba(11,31,77,.3); display: block; cursor: zoom-in; }
.book-nocover { display: grid; place-items: center; background: linear-gradient(160deg, var(--navy), var(--maroon)); color: #fff; font-family: var(--head); font-weight: 800; text-align: center; padding: 12px; cursor: default; overflow-wrap: anywhere; }
.book-body { min-width: 0; }
.book-body h2 { font-size: 1.3rem; margin: 0 0 4px; }
.book-sub { color: var(--navy-2); font-weight: 500; margin-bottom: 4px; }
.book-meta { color: var(--muted); font-size: .88rem; margin-bottom: 8px; }
.book-desc { color: #36404f; white-space: pre-line; margin: 0 0 12px; }
.book-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 520px) { .book-card { flex-direction: column; align-items: center; text-align: center; } .book-actions { justify-content: center; } }
@media (min-width: 1641px) { .main-nav ul { gap: 0; } .main-nav a { padding: 8px 10px; font-size: .92rem; } }

/* ---------- Testimonies, Q&A and prayer request ---------- */
.form-msg { margin-top: 10px; font-size: .92rem; min-height: 1.2em; }
.form-msg.ok { color: #145a2c; } .form-msg.bad { color: #8a1116; }
.tc-form .hp { position: absolute; left: -9999px; }
.tc-form > div { margin-bottom: 12px; }
#tf { margin-bottom: 14px; }
.qa-list { display: grid; gap: 12px; }
.qa-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.qa-item summary { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-q { flex: 0 0 auto; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--head); font-weight: 800; font-size: .9rem; }
.qa-q.a { background: var(--gold); color: var(--navy); }
.qa-a { display: flex; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); color: #36404f; white-space: pre-line; line-height: 1.65; }
.qa-who { margin-top: 8px; font-size: .82rem; color: var(--muted); padding-left: 40px; }
.prayer-box { border-top: 4px solid var(--gold); }
@media (max-width: 900px) { .tc-grid { grid-template-columns: 1fr; } }
/* Menu with Testimonies and Q&A: compact on all computer screens so it always fits on one line */
@media (min-width: 1241px) {
  .main-nav ul { gap: 0; }
  .main-nav a { padding: 7px 9px; font-size: .86rem; }
}
@media (min-width: 1461px) { .menu-btn, .give-mini { display: none; } .main-nav { position: static; display: block; background: none; box-shadow: none; } .main-nav ul { flex-direction: row; padding: 0; } }
@media (max-width: 1799px) { .header-social { display: none; } }
@media (min-width: 1800px) { .site-header .container.bar { max-width: 1560px; } .main-nav a { padding: 7px 11px; font-size: .9rem; } }

/* Homepage rows close up when blocks are switched OFF */
[data-sec][hidden] { display: none !important; }
@media (min-width: 1001px) {
  .three-col[data-n="2"] { grid-template-columns: repeat(2, 1fr); }
  .three-col[data-n="1"], .bottom-grid[data-n="1"] { grid-template-columns: 1fr; }
  .bottom-grid[data-n="2"] { grid-template-columns: 1.6fr 1fr; }
}
@media (min-width: 901px) { .home-tp[data-n="1"] { grid-template-columns: 1fr; } }
.badge-off { background: #8a1116; color: #fff; margin-left: 4px; }

/* ---------- Weekly activities ---------- */
.date-badge.weekly { background: var(--maroon); }
.date-badge.weekly .m { margin: 0 0 4px; font-size: .7rem; letter-spacing: .5px; }
.date-badge.weekly .d { font-size: 1.35rem; }
.activity-card.highlight { outline: 3px solid var(--gold); }
.act-desc { margin: 6px 0 0; font-size: .92rem; color: #36404f; }
.weekly-title { margin: 4px 0 0; font-family: var(--head); font-weight: 800; letter-spacing: .12em; color: var(--maroon); text-transform: uppercase; }
.weekly-help { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; }
.weekly-help h3 { margin: 0 0 6px; font-size: 1.05rem; }
.weekly-help p { margin: 0 0 10px; color: #36404f; }
.weekly-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.weekly-contact a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; overflow-wrap: anywhere; }
.weekly-contact svg { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; }
.site-off-banner { background: #8a1116; color: #fff; }

/* Written messages */
.msg-read-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px; background: linear-gradient(135deg, var(--navy), var(--maroon)); color: var(--gold); font-family: var(--head); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.msg-read-head svg { width: 24px; height: 24px; }
.msg-text { margin: 10px 0 4px; }
.msg-text summary { cursor: pointer; font-weight: 700; color: var(--blue-2); }
.msg-text-body { white-space: pre-line; margin-top: 10px; line-height: 1.75; color: #1d2636; font-size: 1.02rem; overflow-wrap: anywhere; }
.msg-grid { align-items: start; }

/* ---------- Posts ---------- */
.posts-wrap { max-width: 820px; }
.post-list { display: grid; gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--maroon); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.post-card.highlight { outline: 3px solid var(--gold); }
.post-cat { display: inline-block; font-family: var(--head); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); background: #fbeff2; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.post-card h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin: 0 0 8px; }
.post-aud { font-style: italic; color: var(--navy-2); margin: 0 0 16px; font-weight: 500; }
.post-img { width: 100%; border-radius: 10px; margin: 0 0 16px; cursor: zoom-in; }
.post-body { white-space: pre-line; font-size: 1.1rem; line-height: 1.85; color: #1d2636; overflow-wrap: anywhere; }
.post-by { margin-top: 14px; font-weight: 700; color: var(--navy); }
.post-card .share-row { margin-top: 18px; }
@media (max-width: 560px) { .post-card { padding: 20px 16px; } .post-body { font-size: 1.04rem; } }

/* ---------- Owner: edit the text on a page ---------- */
.edit-fab { position: fixed; left: 16px; bottom: calc(16px + var(--player-h, 0px)); z-index: 60; background: #8a1116; color: #fff; font-family: var(--head); font-weight: 700; font-size: .85rem; padding: 10px 16px; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.edit-fab:hover { background: #6d0d12; }
.edit-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #8a1116; color: #fff; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; box-shadow: 0 -6px 18px rgba(0,0,0,.3); }
.edit-bar .edit-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.edit-bar .btn { background: #fff; color: #8a1116; border-color: #fff; }
.edit-bar .btn.primary { background: var(--gold); border-color: var(--gold); color: #2b2100; }
body.editing { padding-bottom: 90px; }
body.editing [data-tk] { outline: 1px dashed rgba(138,17,22,.45); outline-offset: 2px; border-radius: 3px; cursor: text; }
body.editing [data-tk]:hover { background: rgba(232,197,71,.18); }
body.editing [data-tk]:focus { outline: 2px solid #8a1116; background: #fffbe8; color: #111; }

/* Lighter background behind the video / photo viewer: the page stays visible, text keeps a dark backing */
.lightbox .cap { background: rgba(4, 10, 25, .8); padding: 8px 14px; border-radius: 10px; }
.lightbox .close { background: rgba(4, 10, 25, .8); border-radius: 50%; width: 46px; height: 46px; padding: 0; display: grid; place-items: center; }

/* Song pictures play the song with one click */
.art-play { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.art-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.song-row .cover[data-play], .song-row .title[data-play] { cursor: pointer; }
.row-more { color: var(--blue-2, #1652c4); font-weight: 600; }
/* Folded lyrics */
.lyrics-fold { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; overflow: hidden; }
.lyrics-fold summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; user-select: none; }
.lyrics-fold summary::-webkit-details-marker { display: none; }
.lyrics-fold .lf-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--navy); }
.lyrics-fold .lf-title svg { width: 24px; height: 24px; }
.lyrics-fold .lf-hint { margin-left: auto; color: #5a6478; font-size: .95rem; font-weight: 600; }
.lyrics-fold .lf-close, .lyrics-fold[open] .lf-open { display: none; }
.lyrics-fold[open] .lf-close { display: inline; }
.lyrics-fold .lf-chev { width: 12px; height: 12px; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg); transition: transform .2s; margin: -4px 4px 0 0; }
.lyrics-fold[open] .lf-chev { transform: rotate(-135deg); margin-top: 4px; }
.lyrics-fold summary:hover { background: #f4f7fd; }
.lyrics-fold .lyrics-text { margin: 0 18px 14px; }
.lyrics-fold .lf-dl { margin: 0 18px 18px; }
.lyrics-fold.sm { margin: 10px 0 4px; }
.lyrics-fold.sm summary { padding: 9px 12px; }
.lyrics-fold.sm .lf-title { font-size: 1rem; }
.lyrics-fold.sm .lf-title svg { width: 18px; height: 18px; }
.lyrics-fold.sm .lf-hint { font-size: .85rem; }
.lyrics-fold.sm .lyrics-text { font-size: 1rem; line-height: 1.7; padding: 14px 16px; margin: 0 10px 10px; max-height: 420px; overflow-y: auto; }
.lyrics-fold.sm .lf-dl { margin: 0 10px 12px; }
