/* ==========================================================================
   Saint Therese of the Child Jesus — Maronite Catholic Church
   Design System: Maronite Heritage (Deep Burgundy, Antique Gold & Warm Cream)
   ========================================================================== */

:root {
  --burgundy-950: #2b0912;
  --burgundy-900: #4a0f1e;
  --burgundy-800: #66172b;
  --burgundy-700: #822039;
  --burgundy-100: #f7ebee;

  --gold-600: #9f7523;
  --gold-500: #c2963c;
  --gold-400: #d8b15b;
  --gold-200: #ecdcba;
  --gold-100: #f7f0e2;

  --cedar-800: #234739;
  --cedar-100: #e8f0ec;

  --cream-50: #fbf9f5;
  --cream-100: #f3ede2;
  --cream-200: #e7decb;
  --surface: #ffffff;

  --ink-900: #1f1719;
  --ink-700: #3d3235;
  --ink-500: #6b5d60;

  --border: rgba(102, 23, 43, 0.12);
  --border-gold: rgba(194, 150, 60, 0.35);

  --shadow-sm: 0 2px 8px rgba(43, 9, 18, 0.06);
  --shadow-md: 0 10px 28px rgba(43, 9, 18, 0.09);
  --shadow-lg: 0 20px 50px rgba(43, 9, 18, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1180px;
  --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-700);
  background-color: var(--cream-50);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--burgundy-800);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-600);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--burgundy-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: var(--radius-sm);
}

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

.container--narrow {
  max-width: 820px;
}

/* ---------- Top Info Bar ---------- */
.top-bar {
  background: var(--burgundy-950);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(216, 177, 91, 0.2);
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 8px 0;
}

.top-bar__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.86);
}

.top-bar__item svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

.top-bar a:hover {
  color: var(--gold-400);
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(43, 9, 18, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--burgundy-900);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover { color: var(--burgundy-900); }

.brand__emblem {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--burgundy-800), var(--burgundy-950));
  border: 2px solid var(--gold-400);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--burgundy-900);
}

.brand__sub {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--burgundy-900);
  cursor: pointer;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.nav-item {
  position: relative;
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-700);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-trigger:hover,
.nav-link.is-active,
.nav-item.is-active > .nav-trigger {
  color: var(--burgundy-800);
  background: var(--burgundy-100);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1200;
}

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

.nav-dropdown a {
  display: block;
  padding: 9px 13px;
  border-radius: 6px;
  font-size: 0.94rem;
  color: var(--ink-700);
  font-weight: 500;
}

.nav-dropdown a:hover,
.nav-dropdown a.is-active {
  background: var(--gold-100);
  color: var(--burgundy-900);
}

.nav-cta {
  margin-left: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--burgundy-800), var(--burgundy-900));
  color: #fff;
  box-shadow: 0 4px 14px rgba(102, 23, 43, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--burgundy-700), var(--burgundy-800));
  color: #fff;
  box-shadow: 0 8px 20px rgba(102, 23, 43, 0.32);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  box-shadow: 0 4px 14px rgba(159, 117, 35, 0.3);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--burgundy-950);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--burgundy-900);
  border-color: #fff;
}

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

.btn--outline:hover {
  background: var(--burgundy-800);
  color: #fff;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: var(--burgundy-950);
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.45) saturate(1.08);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(43, 9, 18, 0.9) 0%,
    rgba(74, 15, 30, 0.72) 52%,
    rgba(43, 9, 18, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 86px 0 116px;
  max-width: 740px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 16px;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold-400);
  opacity: 0.7;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  margin-bottom: 18px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 30px;
  max-width: 620px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Page Header (Subpages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--burgundy-950) 0%, var(--burgundy-800) 100%);
  color: #fff;
  padding: 58px 0 54px;
  border-bottom: 4px solid var(--gold-500);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(216, 177, 91, 0.16), transparent 55%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: var(--gold-400);
}

.breadcrumbs a:hover {
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 10px;
}

.page-hero__subtitle {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 720px;
}

/* ---------- Quick Info Strip (Overlaps Home Hero) ---------- */
.quick-strip {
  position: relative;
  z-index: 10;
  margin-top: -58px;
  margin-bottom: 40px;
}

.quick-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--burgundy-100);
  color: var(--burgundy-800);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.info-card h2,
.info-card h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--burgundy-900);
}

.info-card p {
  margin: 0;
  font-size: 0.98rem;
}

.schedule-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--cream-200);
  font-size: 0.97rem;
}

.schedule-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.schedule-list strong {
  color: var(--burgundy-900);
}

/* ---------- Sections & Ornamental Dividers ---------- */
.section {
  padding: 68px 0;
}

.section--alt {
  background: var(--cream-100);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--dark {
  background: linear-gradient(135deg, var(--burgundy-950), var(--burgundy-800));
  color: #fff;
}

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.section-header__eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 8px;
  display: block;
}

.section--dark .section-header__eyebrow {
  color: var(--gold-400);
}

.section-header p {
  color: var(--ink-500);
  margin: 10px 0 0;
  font-size: 1.06rem;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px auto 0;
  color: var(--gold-500);
}

.ornament::before,
.ornament::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold-400);
}

/* ---------- Cards & Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-100);
  color: var(--gold-600);
  margin-bottom: 12px;
}

.card__tag--cedar {
  background: var(--cedar-100);
  color: var(--cedar-800);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--burgundy-900);
}

.card p {
  margin: 0 0 18px;
  color: var(--ink-500);
  flex-grow: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--burgundy-800);
  font-size: 0.95rem;
}

.card__link:hover {
  color: var(--gold-600);
  gap: 10px;
}

/* Image Cards (Albums, Highlights) */
.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
  color: inherit;
}

.media-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-200);
}

.media-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.media-card:hover .media-card__thumb img {
  transform: scale(1.06);
}

.media-card__badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(43, 9, 18, 0.82);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.media-card__body {
  padding: 20px 22px 22px;
}

.media-card__body h3 {
  margin: 0 0 6px;
  color: var(--burgundy-900);
}

.media-card__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-500);
}

/* ---------- Quote / Pastoral Callout ---------- */
.quote-band {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 18px;
  color: #fff;
}

.quote-band cite {
  display: block;
  font-style: normal;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 24px;
}

/* ---------- Prose / Long-form Articles ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}

.prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}

.prose__byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--cream-200);
  font-size: 0.94rem;
  color: var(--ink-500);
}

.prose p {
  margin: 0 0 1.25em;
  font-size: 1.05rem;
  line-height: 1.78;
}

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

.prose h2 {
  margin: 1.8em 0 0.6em;
  color: var(--burgundy-900);
  font-size: 1.65rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold-200);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  background: var(--gold-100);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--burgundy-900);
}

.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.sidebar-box h3 {
  font-size: 1.3rem;
  color: var(--burgundy-900);
  margin-bottom: 14px;
}

.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.sidebar-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-700);
}

.sidebar-nav a:hover,
.sidebar-nav a.is-active {
  background: var(--burgundy-100);
  color: var(--burgundy-900);
}

/* ---------- Founder Bio Page ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.portrait-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.portrait-card__caption {
  padding: 20px;
  border-top: 3px solid var(--gold-500);
}

.portrait-card__caption h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: var(--burgundy-900);
}

.timeline {
  list-style: none;
  margin: 18px 0 0;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--gold-400);
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}

.timeline li {
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--burgundy-800);
  border: 2px solid var(--gold-400);
}

/* ---------- Glossary (Foreign Terms) ---------- */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.term-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--burgundy-800);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.term-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.term-card__word {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--burgundy-900);
  margin: 0;
}

.term-card__lang {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-600);
}

.term-card__lang--aramaic {
  background: var(--cedar-100);
  color: var(--cedar-800);
}

.term-card p {
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- Searchable Book of Readings ---------- */
.readings-toolbar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
  display: grid;
  gap: 16px;
}

.search-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.search-input {
  flex: 1 1 280px;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-200);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--cream-50);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-input:focus {
  border-color: var(--burgundy-800);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(102, 23, 43, 0.1);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--cream-50);
  color: var(--ink-700);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.pill:hover {
  border-color: var(--gold-500);
  color: var(--burgundy-900);
}

.pill.is-active {
  background: var(--burgundy-800);
  border-color: var(--burgundy-800);
  color: #fff;
}

.readings-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-500);
}

.reading-list {
  display: grid;
  gap: 14px;
}

.reading-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.reading-item[open] {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.reading-item summary {
  list-style: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reading-item summary::-webkit-details-marker { display: none; }

.reading-item__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reading-item__season {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
}

.reading-item__title {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--burgundy-900);
}

.reading-item__citation {
  font-size: 0.94rem;
  color: var(--ink-500);
}

.reading-item__chevron {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--burgundy-800);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}

.reading-item[open] .reading-item__chevron {
  transform: rotate(180deg);
  background: var(--burgundy-800);
  color: #fff;
}

.reading-item__body {
  padding: 0 24px 26px;
  border-top: 1px solid var(--cream-200);
}

.reading-item__intro {
  font-style: italic;
  color: var(--burgundy-800);
  font-weight: 600;
  margin: 18px 0 14px;
}

.reading-item__closing {
  margin-top: 16px;
  font-weight: 700;
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

/* ---------- Photo Gallery Grid & Lightbox ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-200);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  display: block;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.07);
}

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

.lightbox.is-open {
  display: flex;
}

.lightbox__stage {
  position: relative;
  max-width: min(92vw, 1280px);
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.lightbox__close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(43, 9, 18, 0.7);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(43, 9, 18, 0.7);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__nav:hover, .lightbox__close:hover {
  background: var(--gold-500);
  color: var(--burgundy-950);
}

.lightbox__bar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.lightbox__bar a {
  color: var(--gold-400);
  font-weight: 600;
}

/* ---------- Embeds (Calendar, Map, YouTube, PDF) ---------- */
.embed-frame {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.video-ratio {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

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

.map-frame iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
}

.calendar-frame iframe {
  width: 100%;
  height: 680px;
  border: 0;
  display: block;
}

.pdf-frame {
  width: 100%;
  height: 760px;
  border: 0;
  display: block;
}

/* ---------- Contact Form ---------- */
.form-stack {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--cream-50);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--burgundy-800);
  background: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--burgundy-950);
  color: rgba(255, 255, 255, 0.82);
  border-top: 4px solid var(--gold-500);
  padding: 58px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h3 {
  color: var(--gold-400);
  font-size: 1.22rem;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Utility Helpers ---------- */
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.text-muted { color: var(--ink-500); }

.copy-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--burgundy-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--gold-400);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 4000;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  .quick-strip__grid,
  .grid-4,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-box {
    position: static;
  }
}

@media (max-width: 860px) {
  .top-bar { display: none; }

  .site-header__inner {
    gap: 10px;
    min-height: 66px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .brand__emblem {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 1.15rem;
  }

  .brand__sub {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 3px solid var(--gold-500);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 20px;
    display: none;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link,
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 11px 12px;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--gold-400);
    border-radius: 0;
    margin: 4px 0 8px 14px;
    padding: 4px 0 4px 10px;
    display: none;
  }

  .nav-item.is-open > .nav-dropdown {
    display: block;
  }

  .nav-cta {
    margin: 12px 0 0;
    text-align: center;
  }

  .founder-grid,
  .grid-2,
  .grid-3,
  .glossary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .brand__emblem { width: 34px; height: 34px; }
  .brand__name { font-size: 1.05rem; }
  .brand__sub { font-size: 0.65rem; }
  .nav-toggle { padding: 7px 10px; font-size: 0.88rem; }
  .quick-strip { margin-top: -32px; }
  .quick-strip__grid,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 460px; }
  .hero__content { padding: 60px 0 78px; }
  .section { padding: 48px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lightbox__nav { width: 38px; height: 38px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .calendar-frame iframe { height: 520px; }
  .pdf-frame { height: 500px; }
}
