/* ==========================================================================
   ACMLA — 香港基督徒音樂事工協會洛杉磯分會
   Modern Portable Static Website Design System
   ========================================================================== */

:root {
  /* Color Palette — Soft Lavender Sanctuary, Royal Plum & Warm Gold */
  --ink-950: #1b1233;
  --ink-900: #281a4b;
  --ink-800: #36255e;
  --ink-700: #463a66;
  --ink-600: #5d517c;
  --ink-500: #756994;
  --ink-300: #d0c4e6;
  --ink-200: #e3daf2;
  --ink-100: #efe9f9;

  --purple-600: #6b46c1;
  --purple-500: #7e57c2;
  --purple-100: #ede5fb;
  --purple-50: #f6f2fd;

  --gold-600: #a86f1c;
  --gold-500: #c98a2e;
  --gold-400: #dfa447;
  --gold-300: #f2bf5e;
  --gold-100: #f7ecda;
  --gold-50: #f4ecfb;

  --surface-canvas: #f3eefb;
  --surface-card: #fcfaff;
  --surface-subtle: #e8dff6;

  /* Typography */
  --font-serif: 'Noto Serif TC', Georgia, 'Times New Roman', serif;
  --font-sans: 'Noto Sans TC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang TC', 'Microsoft JhengHei', sans-serif;

  /* Spacing & Layout */
  --container-max: 1180px;
  --header-height: 88px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(40, 26, 75, 0.06);
  --shadow-md: 0 10px 30px rgba(40, 26, 75, 0.09);
  --shadow-lg: 0 20px 50px rgba(40, 26, 75, 0.16);

  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-800);
  background-color: var(--surface-canvas);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--ink-900);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink-950);
  line-height: 1.35;
  margin-top: 0;
  font-weight: 700;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(27, 18, 51, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(242, 191, 94, 0.22);
  height: var(--header-height);
}

.site-header .container {
  max-width: 1260px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  flex-shrink: 0;
}

.brand:hover {
  color: #ffffff;
}

.brand-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 2px 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.76);
  letter-spacing: 0.03em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.62rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.1);
}

.nav-caret {
  width: 14px;
  height: 14px;
  opacity: 0.78;
  transition: transform var(--transition);
}

.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 190px;
  background: #241744;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(10, 6, 22, 0.42);
  padding: 0.45rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-sm);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-300);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(168, 111, 28, 0.34);
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 138, 46, 0.46);
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 2px;
  margin-left: 0.35rem;
  gap: 2px;
  flex-shrink: 0;
}

.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.56rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  line-height: 1.2;
  white-space: nowrap;
}

.lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.lang-btn.active {
  background: var(--gold-500);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(168, 111, 28, 0.35);
}

.lang-switch-mobile {
  display: flex;
  width: 100%;
  margin-left: 0;
  padding: 4px;
}

.lang-switch-mobile .lang-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
}

html[lang="en"] .brand-sub {
  font-size: 0.67rem;
}

html[lang="en"] .nav-link {
  padding: 0.45rem 0.5rem;
  font-size: 0.84rem;
}

html[lang="en"] .nav-cta {
  padding: 0.48rem 0.95rem;
  font-size: 0.84rem;
  margin-left: 0.35rem;
}

html[lang="en"] .hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.95rem);
}

/* Mobile Menu Button */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  color: #ffffff;
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--ink-950);
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-group {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin-bottom: 0.5rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-links a {
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-300);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.55rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(168, 111, 28, 0.28);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(168, 111, 28, 0.38);
}

.btn-dark {
  background: var(--ink-900);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--ink-800);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink-300);
  color: var(--ink-800);
}

.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
  background: var(--gold-50);
}

.btn-outline-light {
  background: rgba(14, 22, 40, 0.45);
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--ink-950);
  border-color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1.05rem;
  font-size: 0.86rem;
}

/* ==========================================================================
   Hero & Page Banners
   ========================================================================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-color: var(--ink-950);
  color: #ffffff;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.92;
  filter: brightness(1.06) contrast(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(27, 18, 51, 0.62) 0%,
    rgba(40, 26, 75, 0.34) 52%,
    rgba(27, 18, 51, 0.14) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-shadow: 0 2px 16px rgba(14, 22, 40, 0.65);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(14, 22, 40, 0.58);
  border: 1px solid rgba(242, 191, 94, 0.65);
  color: var(--gold-300);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.15rem, 4.8vw, 3.6rem);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  line-height: 1.24;
}

.hero-motto {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--gold-300);
  letter-spacing: 0.14em;
  margin-bottom: 1.35rem;
}

.hero-lead {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Inner Page Banner */
.page-banner {
  position: relative;
  background-color: var(--ink-950);
  color: #ffffff;
  padding: 4.5rem 0 3.75rem;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.92;
  filter: brightness(1.06) contrast(1.02);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(35, 22, 68, 0.56) 0%,
    rgba(54, 37, 94, 0.3) 56%,
    rgba(35, 22, 68, 0.12) 100%
  );
}

.page-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-shadow: 0 2px 14px rgba(20, 12, 42, 0.68);
}

.page-banner .eyebrow {
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  display: block;
}

.page-banner h1 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
  margin-bottom: 0.75rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Sections & Cards
   ========================================================================== */
.section {
  padding: 4.75rem 0;
}

/* Tighter vertical rhythm between blocks on the main page */
body[data-page="home"] .section {
  padding: 2.35rem 0;
}

body[data-page="home"] .section-header {
  margin-bottom: 1.4rem;
}

body[data-page="home"] .section-dark {
  padding: 3rem 0;
}

@media (max-width: 768px) {
  body[data-page="home"] .section {
    padding: 1.85rem 0;
  }
}

.section-alt {
  background: var(--surface-subtle);
}

.section-dark {
  background: var(--ink-950);
  color: #ffffff;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-header {
  max-width: 700px;
  margin-bottom: 2.75rem;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

.section-dark .section-kicker {
  color: var(--gold-300);
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--ink-600);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.78);
}

.card {
  background: var(--surface-card);
  border: 1px solid rgba(107, 70, 193, 0.14);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 70, 193, 0.35);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Scripture / Quote Block */
.scripture-card {
  position: relative;
  background: linear-gradient(135deg, var(--ink-900), var(--ink-950));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.scripture-card::before {
  content: "“";
  position: absolute;
  top: -1.5rem;
  left: 1.5rem;
  font-family: Georgia, serif;
  font-size: 8rem;
  color: rgba(242, 191, 94, 0.14);
  line-height: 1;
  pointer-events: none;
}

.scripture-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.85;
  color: #ffffff;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.scripture-ref {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 0.08em;
}

/* Event Cards */
.event-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid rgba(107, 70, 193, 0.14);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--purple-500);
  transition: transform var(--transition), box-shadow var(--transition);
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.event-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold-100);
  color: var(--gold-600);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 0.85rem;
}

.event-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.event-venue {
  font-weight: 600;
  color: var(--ink-800);
  font-size: 0.94rem;
  margin-bottom: 0.25rem;
}

.event-venue-en {
  font-size: 0.88rem;
  color: var(--ink-600);
  margin-bottom: 0.35rem;
}

.event-address {
  font-size: 0.86rem;
  color: var(--ink-500);
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--ink-200);
}

/* Faith Articles */
.faith-list {
  display: grid;
  gap: 1.1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faith-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--surface-card);
  border: 1px solid rgba(14, 22, 40, 0.08);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faith-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.faith-item p {
  margin: 0;
  font-size: 1.03rem;
  color: var(--ink-800);
}

/* Timeline (History) */
.decade-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  position: sticky;
  top: calc(var(--header-height) + 12px);
  z-index: 50;
  background: rgba(243, 238, 251, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(107, 70, 193, 0.16);
  box-shadow: var(--shadow-sm);
}

.decade-pill {
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-700);
  background: var(--surface-card);
  border: 1px solid var(--ink-200);
}

.decade-pill:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #ffffff;
}

.timeline-decade {
  scroll-margin-top: 150px;
  margin-bottom: 3.5rem;
}

.timeline-decade-heading {
  display: inline-block;
  font-size: 1.5rem;
  padding: 0.45rem 1.4rem;
  background: var(--ink-900);
  color: var(--gold-300);
  border-radius: var(--radius-pill);
  margin-bottom: 1.75rem;
}

.timeline-list {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--gold-300);
  display: grid;
  gap: 1.35rem;
}

.timeline-entry {
  position: relative;
  background: var(--surface-card);
  border: 1px solid rgba(14, 22, 40, 0.07);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.timeline-entry::before {
  content: "";
  position: absolute;
  left: -2.42rem;
  top: 1.6rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid var(--surface-canvas);
  box-shadow: 0 0 0 2px var(--gold-400);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 0.45rem;
}

.timeline-entry--with-media {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 370px);
  gap: 1.5rem;
  align-items: start;
}

.timeline-figure {
  margin: 0;
}

.timeline-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(14, 22, 40, 0.08);
  box-shadow: var(--shadow-sm);
}

.timeline-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: var(--ink-500);
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .timeline-entry--with-media {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .timeline-figure {
    max-width: 500px;
  }
}

/* Photo Albums Grid */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink-200);
  background: var(--surface-card);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
}

.filter-pill.active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--gold-300);
}

.search-input {
  padding: 0.55rem 1rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  min-width: 240px;
  background: var(--surface-card);
  color: var(--ink-900);
}

.search-input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 138, 46, 0.15);
}

.album-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(14, 22, 40, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  color: inherit;
}

.album-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.album-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-900);
}

.album-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.album-card:hover .album-thumb {
  transform: scale(1.06);
}

.album-count {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(14, 22, 40, 0.8);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.album-body {
  padding: 1.15rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.album-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: 0.3rem;
}

.album-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-950);
  margin-bottom: 0.6rem;
}

.album-cta {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-600);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.album-card:hover .album-cta {
  color: var(--gold-600);
}

/* Newsletter Cards */
.newsletter-card {
  background: var(--surface-card);
  border: 1px solid rgba(14, 22, 40, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.newsletter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.newsletter-cover {
  aspect-ratio: 3 / 4;
  background: var(--surface-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.newsletter-body h3 {
  font-size: 1.08rem;
  margin: 0;
}

/* Donation Cards */
.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.qr-brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.qr-img {
  width: 176px;
  height: 176px;
  object-fit: contain;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
}

.footnote-box {
  background: var(--surface-subtle);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-600);
}

.footnote-box p:last-child {
  margin-bottom: 0;
}

/* Media Download List (Reborn) */
.track-list {
  display: grid;
  gap: 0.65rem;
}

.track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  background: var(--surface-card);
  border: 1px solid rgba(14, 22, 40, 0.08);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  color: var(--ink-900);
}

.track-row:hover {
  border-color: var(--gold-500);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
  color: var(--ink-950);
}

.track-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.track-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.track-title {
  font-weight: 600;
  font-size: 0.96rem;
}

.track-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-600);
  background: var(--gold-50);
  border: 1px solid rgba(201, 138, 46, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Forms */
.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-800);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--ink-900);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 138, 46, 0.16);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Video Grid */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  box-shadow: var(--shadow-md);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Photo Grid */
.photo-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.photo-trio img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Local Album Gallery & Lightbox */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--ink-900);
  border: 1px solid rgba(107, 70, 193, 0.14);
  cursor: pointer;
  padding: 0;
  display: block;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.gallery-tile:hover img {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(16, 10, 32, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-toolbar {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  z-index: 2;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}

.lightbox-btn:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #ffffff;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-nav:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-name {
  font-family: var(--font-serif);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.footer-heading {
  font-family: var(--font-serif);
  color: var(--gold-300);
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-300);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.05rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.48rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.social-btn:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-btn--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
}

.social-btn--instagram:hover {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
  border-color: #dd2a7b;
  box-shadow: 0 6px 16px rgba(221, 42, 123, 0.35);
}

.social-btn--youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.35);
}

.home-social-strip {
  margin-top: 2rem;
  padding-top: 1.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home-social-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.85rem;
}

.home-social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.home-social-link span.handle {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.home-social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.home-social-link--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.home-social-link--instagram:hover {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
  border-color: #dd2a7b;
  box-shadow: 0 8px 20px rgba(221, 42, 123, 0.4);
}

.home-social-link--youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.social-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.social-card-icon--facebook {
  background: #1877f2;
}

.social-card-icon--instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
}

.social-card-icon--youtube {
  background: #ff0000;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom a:hover {
  color: var(--gold-300);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .photo-trio {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 66vh;
    padding: 4rem 0 3.5rem;
  }
  .section {
    padding: 3.25rem 0;
  }
  .scripture-card {
    padding: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .track-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Featured Music Video Promo Modal */
.mv-title-link {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition);
}

.mv-title-link:hover {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mv-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(14, 9, 28, 0.84);
  backdrop-filter: blur(6px);
}

.mv-modal.open {
  display: flex;
  animation: mvModalFadeIn 0.25s ease;
}

@keyframes mvModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mv-modal-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem 2rem 1.75rem;
  border-radius: var(--radius-lg, 16px);
  background: linear-gradient(135deg, #241744, var(--ink-950));
  color: #ffffff;
  border: 1px solid rgba(242, 191, 94, 0.34);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.mv-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.mv-modal-close:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #ffffff;
}

.mv-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .mv-modal-card {
    padding: 1.5rem 1.25rem 1.35rem;
  }
}
