/* ============ NYANGAJO SDA CHURCH — DASHBOARD DESIGN SYSTEM ============ */

:root {
  --primary: #2563EB;        /* Dashboard blue */
  --primary-dark: #1D4ED8;
  --primary-deep: #0F1B3D;   /* Deep navy for accent panels */
  --accent: #F59E0B;         /* Amber — used sparingly for warm highlights */
  --accent-soft: #FDE9C8;
  --secondary: #0EA5A4;      /* Teal — secondary status color */
  --positive: #16A34A;       /* Live/open status green */
  --bg-light: #F6F8FB;       /* App background */
  --bg-surface: #FFFFFF;
  --bg-inset: #EEF2F8;
  --border: #E3E8F0;
  --text-main: #101828;
  --text-muted: #667085;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 16px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(16, 24, 40, 0.06);
  --btn-text: #FFFFFF;
}

[data-theme="dark"] {
  --primary: #60A5FA;
  --primary-dark: #3B82F6;
  --primary-deep: #060B1A;
  --accent: #FBBF24;
  --accent-soft: #3F2E0A;
  --secondary: #2DD4BF;
  --positive: #34D399;
  --bg-light: #0A0F1E;
  --bg-surface: #10162B;
  --bg-inset: #151C33;
  --border: #232B45;
  --text-main: #F1F5F9;
  --text-muted: #8B95AC;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.55);
  --glass-bg: rgba(16, 22, 43, 0.92);
  --glass-border: rgba(255, 255, 255, 0.08);
  --btn-text: #0A0F1E;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3 { font-family: 'Sora', sans-serif; font-weight: 600; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; transition: color 0.2s ease; }
img { max-width: 100%; display: block; border-radius: var(--radius); }
button { font-family: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary); font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); display: inline-block; }
.eyebrow.on-dark { color: var(--accent); }
.eyebrow.on-dark::before { background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- HEADER / NAV ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
header.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; max-width: 1160px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-size: 1.05rem; color: var(--text-main); text-decoration: none; font-weight: 700; }
.brand svg, .brand-logo { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; }
.brand-logo { object-fit: cover; }
.brand .brand-sub { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; font-weight: 500; }

.navlinks { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.navlinks a {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  position: relative; padding: 4px 0; transition: color 0.2s ease;
}
.navlinks a:hover { color: var(--text-main); }
.navlinks a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--primary);
  transition: width 0.3s ease; border-radius: 2px;
}
.navlinks a:hover::after, .navlinks a[aria-current="page"]::after { width: 100%; }
.navlinks a[aria-current="page"] { color: var(--text-main); font-weight: 600; }

.nav-cta {
  background: var(--primary); color: #fff; padding: 9px 18px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.87rem; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: all 0.2s ease; white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fff; }

.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--text-main); position: relative; transition: 0.2s; border-radius: 2px;
}
.menu-btn span::before { position: absolute; top: -7px; }
.menu-btn span::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
  .navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--bg-surface); padding: 20px 28px; gap: 16px; border-top: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .navlinks.open { display: flex; }
  .nav-cta { display: none; }
  .menu-btn { display: block; }
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.theme-toggle:hover { background: var(--border); }
.theme-toggle svg { width: 18px; height: 18px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- HERO (dashboard overview style) ---------- */
.hero {
  position: relative; padding: 64px 0 0; overflow: hidden;
  background:
    radial-gradient(1200px 480px at 15% -10%, rgba(37,99,235,0.10), transparent 60%),
    var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  max-width: 1160px; margin: 0 auto; padding: 40px 28px 60px;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; padding-bottom: 40px; } }
.hero h1 { color: var(--text-main); font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.12; font-weight: 700; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.65; max-width: 46ch; margin-top: 18px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 30px; display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-family: 'IBM Plex Mono', monospace; font-size: 0.76rem; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--positive); animation: blink 2.4s ease-in-out infinite; box-shadow: 0 0 0 4px rgba(22,163,74,0.15); }
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0.4; } }

/* dashboard status panel — hero signature element */
.status-panel {
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.status-panel-head {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 20px;
  border-bottom: 1px solid var(--border); background: var(--bg-inset);
}
.status-panel-head .label { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(22,163,74,0.12); color: var(--positive); padding: 5px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; font-family: 'IBM Plex Mono', monospace; }
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--positive); }
.status-panel-body { padding: 6px 8px; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px; border-radius: var(--radius-sm); }
.status-row + .status-row { border-top: 1px solid var(--border); }
.status-row-name { font-weight: 600; font-size: 0.95rem; color: var(--text-main); }
.status-row-day { color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }
.status-row-time { font-family: 'IBM Plex Mono', monospace; font-weight: 600; color: var(--primary); font-size: 0.95rem; white-space: nowrap; }
.status-panel-foot { padding: 14px 20px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-muted); background: var(--bg-inset); }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-surface); box-shadow: var(--shadow-sm); }
.stat-cell { padding: 22px 24px; border-right: 1px solid var(--border); }
.stat-cell:last-child { border-right: none; }
.stat-num { font-family: 'Sora', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--text-main); }
.stat-label { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } .stat-cell:nth-child(2) { border-right: none; } .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--border); } }

/* page hero (interior pages) */
.page-hero { position: relative; padding: 56px 0 44px; background: var(--bg-inset); border-bottom: 1px solid var(--border); }
.page-hero-stars { display: none; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--text-main); margin-top: 10px; max-width: 22ch; }
.page-hero p { color: var(--text-muted); margin-top: 14px; max-width: 56ch; line-height: 1.65; font-size: 1rem; }
.wave { display: none; }

.quicklinks{ display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin-top: -1px; }
@media (max-width:820px){ .quicklinks{ grid-template-columns:1fr; } }
.quicklink { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text-main); transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.quicklink:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.quicklink h3 { font-size: 1rem; }
.quicklink p { color: var(--text-muted); font-size: 0.87rem; line-height: 1.5; }
.quicklink span.arrow { color: var(--primary); font-weight: 600; font-size: 0.83rem; margin-top: 6px; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  background: var(--primary); color: #fff; padding: 12px 22px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; border: 1px solid var(--primary); display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s ease; cursor: pointer; font-size: 0.92rem; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fff; }
.btn-ghost {
  padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; color: var(--text-main);
  border: 1px solid var(--border); transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 8px; background: var(--bg-surface);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-outline-dark {
  padding: 11px 20px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; color: var(--primary);
  border: 1px solid var(--primary); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s ease;
}
.btn-outline-dark:hover { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }

/* ---------- SECTION HEADS ---------- */
.section { padding: 72px 0; }
.section.on-navy { background: var(--primary-deep); }
.section.on-teal { background: var(--secondary); color: #fff; }
.section-head { max-width: 680px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 10px; color: var(--text-main); }
.section-head p { color: var(--text-muted); margin-top: 14px; line-height: 1.65; font-size: 1rem; }
.section.on-navy .section-head h2 { color: #fff; }
.section.on-navy .section-head p { color: rgba(241,245,249,0.7); }

/* ---------- GRIDS / CARDS ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(37,99,235,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary);
}
.card-icon svg { width: 22px; height: 22px; stroke: currentColor; }
.card h3 { font-size: 1.1rem; color: var(--text-main); }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.card a.link { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 0.87rem; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
.card a.link:hover { text-decoration: underline; color: var(--primary-dark); }

.card-dark {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px;
  transition: all 0.2s ease;
}
.card-dark:hover { background: rgba(255,255,255,0.07); transform: translateY(-3px); border-color: rgba(255,255,255,0.2); }
.card-dark h3 { color: #fff; font-size: 1.1rem; }
.card-dark p { color: rgba(241,245,249,0.75); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.card-dark a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.87rem; display: inline-flex; align-items: center; gap: 6px; }
.card-dark a:hover { color: #fff; }

/* ---------- DATA TABLE (service times) ---------- */
.tide-table { max-width: 820px; margin: 0 auto; border-radius: var(--radius); background: var(--bg-surface); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--border); }
.tide-table-head { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 24px; padding: 12px 32px; background: var(--bg-inset); border-bottom: 1px solid var(--border); font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 600; }
.tide-row { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 24px; padding: 20px 32px; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.tide-row:hover { background: var(--bg-inset); }
.tide-row:last-child { border-bottom: none; }
.tide-time { font-family: 'IBM Plex Mono', monospace; font-size: 1rem; color: var(--primary); font-weight: 700; }
.tide-name { font-family: 'Sora', sans-serif; font-size: 1.02rem; color: var(--text-main); font-weight: 600; }
.tide-day { color: var(--text-muted); font-size: 0.85rem; margin-top: 3px; }
.tide-tag { background: rgba(37,99,235,0.1); color: var(--primary); padding: 5px 11px; border-radius: 20px; font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; text-align: right; font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  .tide-table-head { display: none; }
  .tide-row { grid-template-columns: 1fr; gap: 10px; padding: 18px 20px; }
  .tide-tag { justify-self: start; }
}

/* ---------- INFO / RECORD TABLE (contact page) ---------- */
.info-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-card-head { background: var(--primary-deep); color: #fff; padding: 18px 24px; font-family: 'Sora', sans-serif; font-size: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.info-card-title { font-size: 1.02rem; line-height: 1.3; font-weight: 700; }
.contact-logo, .footer-logo { width: 40px; height: 40px; object-fit: contain; border-radius: var(--radius-sm); background: #fff; padding: 4px; }
.info-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 0.92rem; align-items: center; }
.info-row:last-child { border-bottom: none; }
.info-row dt { color: var(--text-muted); font-weight: 600; font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.info-row dd { margin: 0; line-height: 1.6; color: var(--text-main); }
.info-row dd a { color: var(--primary); text-decoration: none; font-weight: 500; }
.info-row dd a:hover { text-decoration: underline; color: var(--primary-dark); }
@media (max-width: 560px) { .info-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 18px; } }

/* ---------- FORMS ---------- */
.form-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--text-main); }
.form-row input, .form-row select, .form-row textarea {
  font-family: 'Inter', sans-serif; font-size: 0.95rem; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--bg-light); color: var(--text-main); transition: all 0.15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--primary); background: var(--bg-surface); box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-two { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; }

/* ---------- FOOTER ---------- */
footer { background: var(--bg-inset); padding: 64px 0 32px; color: var(--text-main); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text-main); font-family: 'Sora', sans-serif; font-size: 1.05rem; margin-bottom: 14px; font-weight: 700; }
.footer-brand svg { width: 26px; height: 26px; }
footer p.desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; max-width: 32ch; }
footer h4 { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; font-weight: 700; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
footer ul a { color: var(--text-main); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
footer ul a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 28px; color: var(--text-muted); font-size: 0.82rem; }
.social-row { display: flex; gap: 14px; }
.social-row a { color: var(--text-muted); background: var(--bg-surface); border: 1px solid var(--border); padding: 9px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.social-row a:hover { color: var(--primary); border-color: var(--primary); }
.social-row svg { width: 18px; height: 18px; }

/* Custom Additions */
.whatsapp-btn {
  background: #25D366; color: #fff; font-weight: 600; padding: 11px 20px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25); transition: all 0.2s;
}
.whatsapp-btn:hover { background: #128C7E; transform: translateY(-1px); }
.whatsapp-icon { width: 18px; height: 18px; fill: currentColor; }

/* Dynamic Layout Adjustments */
.series-card { border-radius: var(--radius); overflow: hidden; }

/* ---------- CHOIR: GALLERY ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-inset); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
  background: linear-gradient(180deg, rgba(15,27,61,0) 0%, rgba(15,27,61,0.75) 100%);
  color: #fff; font-size: 0.8rem; font-weight: 500;
}
.gallery-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--text-muted); text-align: center; padding: 16px;
  background: repeating-linear-gradient(135deg, var(--bg-inset), var(--bg-inset) 10px, var(--bg-surface) 10px, var(--bg-surface) 20px);
}
.gallery-placeholder svg { width: 28px; height: 28px; stroke: var(--primary); flex-shrink: 0; }
.gallery-placeholder span { font-size: 0.72rem; font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.02em; }

/* ---------- CHOIR: VIDEO EMBED ---------- */
.video-frame {
  position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border); background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
