:root {
  --brand: #012944;
  --brand-light: #024a7a;
  --brand-muted: rgba(1, 41, 68, 0.12);
  --ink: #0a1628;
  --ink-soft: #3d4f63;
  --line: rgba(1, 41, 68, 0.1);
  --surface: #ffffff;
  --surface-2: #f4f7fa;
  --page: #e8eef3;
  --accent: #012944;
  --accent-2: #0369a1;
  --accent-muted: rgba(1, 41, 68, 0.1);
  --gold: #b8956a;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 4px 24px rgba(1, 41, 68, 0.06), 0 1px 3px rgba(1, 41, 68, 0.04);
  --shadow-lg: 0 20px 50px -20px rgba(1, 41, 68, 0.18);
  --max: 1200px;
  --wrap-inline: 1.35rem;
  --bleed-left: max(var(--wrap-inline), env(safe-area-inset-left));
  --bleed-right: max(var(--wrap-inline), env(safe-area-inset-right));
  --header-h: 4.25rem;
  --nav-offset: var(--header-h);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(1, 41, 68, 0.08), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(1, 41, 68, 0.04), transparent 45%),
    var(--page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

body > main {
  flex: 1;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--brand-light); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--bleed-right) 0 var(--bleed-left);
}

/* Break out of .wrap padding for full-bleed bands (avoids 100vw mobile shift) */
.full-bleed {
  width: auto;
  max-width: none;
  margin-left: calc(-1 * var(--bleed-left));
  margin-right: calc(-1 * var(--bleed-right));
}

main.wrap {
  padding-top: 0;
  padding-bottom: 2.5rem;
}

.verse-of-the-day + main.wrap,
.featured-events + main.wrap {
  padding-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.88);
  pointer-events: none;
}
@media (min-width: 769px) {
  .site-header::before {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}
.site-header.is-nav-open {
  z-index: 100;
  background: var(--surface);
}
.site-header.is-nav-open::before {
  background: var(--surface);
}
.site-header .inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem max(var(--wrap-inline), env(safe-area-inset-right)) 0.75rem max(var(--wrap-inline), env(safe-area-inset-left));
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: var(--header-h);
}
.site-header__tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}
.site-header__lang {
  flex: 0 0 auto;
}
.mobile-nav-backdrop {
  display: none;
}

/* Live now banner (live stream section) */
.live-now-banner[hidden] {
  display: none;
}
.live-now-banner__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  background: #fdf2f4;
  border: 1px solid rgba(196, 30, 58, 0.14);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: live-now-badge-glow 2.2s ease-in-out infinite;
}
.live-now-banner__dot {
  position: relative;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #c41e3a;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.5);
  animation: live-now-pulse 1.4s ease-out infinite;
}
.live-now-banner__dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #c41e3a;
  animation: live-now-dot-blink 1.4s ease-in-out infinite;
}
.live-now-banner__dot::after {
  content: "";
  position: absolute;
  inset: -0.4rem;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.22);
  animation: live-now-halo 1.4s ease-out infinite;
}
.live-now-banner__text {
  font-family: var(--font);
}
@keyframes live-now-badge-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.08);
    border-color: rgba(196, 30, 58, 0.14);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(196, 30, 58, 0.06);
    border-color: rgba(196, 30, 58, 0.32);
  }
}
@keyframes live-now-pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.5); }
  70% { box-shadow: 0 0 0 0.65rem rgba(196, 30, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0); }
}
@keyframes live-now-dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@keyframes live-now-halo {
  0% { transform: scale(0.8); opacity: 0.75; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .live-now-banner__status,
  .live-now-banner__dot,
  .live-now-banner__dot::before,
  .live-now-banner__dot::after {
    animation: none;
  }
}

/* Bible verse of the day */
.verse-of-the-day {
  background: linear-gradient(135deg, var(--brand) 0%, #023556 100%);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.verse-of-the-day__inner {
  padding: 1.35rem max(var(--wrap-inline), env(safe-area-inset-right)) 1.5rem max(var(--wrap-inline), env(safe-area-inset-left));
  text-align: center;
}
.verse-of-the-day__title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}
.verse-of-the-day__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto 0.75rem;
  max-width: 52rem;
  border: none;
  padding: 0;
}
.verse-of-the-day__text::before,
.verse-of-the-day__text::after { content: none; }
.verse-of-the-day__reference {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.verse-of-the-day__reference a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.verse-of-the-day__reference a:hover {
  color: var(--gold);
}

/* Featured upcoming events (between verse of the day and main content) */
.featured-events {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border-bottom: 3px solid var(--gold);
  box-sizing: border-box;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.featured-events::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent-2));
}
.featured-events__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.65rem max(var(--wrap-inline), env(safe-area-inset-right)) 1.75rem max(var(--wrap-inline), env(safe-area-inset-left));
}
.featured-events__kicker {
  margin: 0 0 0.4rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.featured-events__title {
  margin: 0 0 1.35rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.featured-events__title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  margin: 0.75rem auto 0;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0.85;
}
.featured-events__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.featured-events__card {
  margin: 0;
}
.featured-events .event-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: center;
  width: 100%;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.featured-events .event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--brand));
}
.featured-events .event-card__aside {
  flex-shrink: 0;
  gap: 0.65rem;
  min-width: 5.25rem;
}
.featured-events .event-card__date {
  min-width: 5.25rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--brand) 0%, #023556 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(1, 41, 68, 0.18);
}
.featured-events .event-card__day,
.featured-events .event-card__month {
  color: rgba(255, 255, 255, 0.82);
}
.featured-events .event-card__num {
  color: #fff;
  font-size: 1.85rem;
  margin: 0.15rem 0;
}
.featured-events .event-card__time {
  margin: 0;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  white-space: nowrap;
}
.featured-events .event-card__body {
  min-width: 0;
}
.featured-events .event-card__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.12rem, 2.2vw, 1.35rem);
  line-height: 1.25;
}
.featured-events .event-card__desc {
  margin: 0.35rem 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52rem;
}
.featured-events .event-card__meta {
  margin: 0.75rem 0 0;
}
.featured-events .event-card__meta--location {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  max-width: 52rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink);
}
.featured-events .location-icon,
.featured-events .event-card__location-icon {
  margin-top: 0.15rem;
  color: var(--brand);
}
.featured-events .event-card__link {
  margin-top: 0.85rem;
  font-size: 0.94rem;
}
.featured-events .event-card__registration {
  margin-top: 0.85rem;
  max-width: 28rem;
}

.brand {
  display: block;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(100%, 28rem);
}
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 0.85rem + 1.35vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1.1;
  white-space: normal;
}
.brand__slogan {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font);
  font-size: clamp(0.6875rem, 0.55rem + 0.65vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  line-height: 1.25;
}
.brand:hover .brand__name { color: var(--accent-2); }

.nav-primary {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  min-width: 0;
}
.nav-item.nav-link,
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  padding: 0.62rem 1.2rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(15, 13, 26, 0.04);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.1s;
  white-space: nowrap;
}
.nav-item.nav-link:hover,
.nav-dropdown__trigger:hover,
.nav-dropdown__trigger:focus-visible {
  border-color: rgba(1, 41, 68, 0.35);
  background: var(--accent-muted);
  color: var(--brand);
  box-shadow: 0 4px 16px rgba(1, 41, 68, 0.1);
  outline: none;
}
.nav-item.nav-link:active,
.nav-dropdown__trigger:active { transform: scale(0.98); }
.nav-dropdown {
  position: relative;
  display: inline-flex;
}
.nav-dropdown__trigger {
  cursor: pointer;
}
.nav-dropdown__trigger[aria-expanded="true"] {
  border-color: rgba(1, 41, 68, 0.45);
  background: var(--accent-muted);
  color: var(--brand);
  box-shadow: 0 0 0 3px rgba(1, 41, 68, 0.12);
}
.nav-dropdown__chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.1rem);
  transition: transform 0.15s;
}
.nav-dropdown__trigger[aria-expanded="true"] .nav-dropdown__chevron {
  transform: rotate(-135deg) translateY(0.1rem);
}
.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 80;
  min-width: 12rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 13, 26, 0.14);
}
.nav-dropdown__panel[hidden] {
  display: none;
}
.nav-dropdown__link {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-dropdown__link:hover,
.nav-dropdown__link:focus-visible {
  background: var(--accent-muted);
  color: var(--brand);
  outline: none;
}

@media (min-width: 769px) {
  .site-header .inner {
    flex-wrap: nowrap;
    align-items: center;
  }
  .nav-primary {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: none;
    box-shadow: none;
    overflow: visible;
    padding: 0;
    margin-left: auto;
    margin-right: 0.45rem;
  }
}

html[lang^="fr"] .site-header .inner {
  gap: 0.5rem 0.65rem;
}
html[lang^="fr"] .brand {
  flex: 0 1 auto;
  max-width: none;
}
html[lang^="fr"] .brand__slogan {
  font-size: clamp(0.625rem, 0.48rem + 0.4vw, 0.75rem);
  line-height: 1.2;
}
html[lang^="fr"] .nav-primary {
  gap: 0.35rem;
}
html[lang^="fr"] .nav-item.nav-link,
html[lang^="fr"] .nav-dropdown__trigger {
  padding: 0.5rem 0.75rem;
  font-size: clamp(0.82rem, 0.7rem + 0.35vw, 0.92rem);
}
@media (min-width: 769px) {
  html[lang^="fr"] .brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  html[lang^="fr"] .brand__name {
    white-space: nowrap;
    font-size: clamp(0.7rem, 0.2rem + 0.9vw, 1.28rem);
    letter-spacing: -0.04em;
  }
  html[lang^="fr"] .brand__slogan {
    white-space: nowrap;
    font-size: clamp(0.58rem, 0.12rem + 0.55vw, 0.72rem);
  }
}

.language-menu {
  position: relative;
  display: inline-flex;
}
.language-menu__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 13, 26, 0.04);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.language-menu__trigger:hover,
.language-menu__trigger:focus-visible {
  border-color: rgba(1, 41, 68, 0.35);
  box-shadow: 0 0 0 3px rgba(1, 41, 68, 0.12);
  outline: none;
}
.language-menu__trigger:active {
  transform: scale(0.98);
}
.language-menu__trigger[aria-expanded="true"] {
  border-color: rgba(1, 41, 68, 0.45);
  box-shadow: 0 0 0 3px rgba(1, 41, 68, 0.12);
}
.language-flag {
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
}
.language-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}
.language-menu__panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 80;
  min-width: 11.5rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 13, 26, 0.14);
}
.language-menu__panel[hidden] {
  display: none;
}
.language-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.language-menu__item + .language-menu__item {
  margin-top: 0.15rem;
}
.language-menu__option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.15s;
}
.language-menu__option:hover {
  background: var(--accent-muted);
  color: var(--brand);
}
.language-menu__option.is-active {
  background: rgba(1, 41, 68, 0.08);
  color: var(--brand);
}
.language-menu__label {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 13, 26, 0.04);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}
.nav-toggle:hover {
  border-color: rgba(1, 41, 68, 0.35);
  background: var(--accent-muted);
}
.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0 auto;
  border-radius: 1px;
  background: var(--brand);
  transition: transform 0.2s, opacity 0.2s;
}
.site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .site-header {
    background: var(--surface);
  }
  .site-header .inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
  }
  .site-header__tools {
    position: relative;
    z-index: 75;
    margin-left: auto;
  }
  .brand {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding-inline-end: 0.35rem;
    max-width: none;
  }
  .brand__name {
    font-size: clamp(0.95rem, 4.6vw, 1.2rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
  }
  .brand__slogan {
    display: block;
    margin-top: 0.15rem;
    font-size: clamp(0.65rem, 2.9vw, 0.8rem);
    line-height: 1.25;
    color: var(--ink-soft);
  }
  html[lang^="fr"] .brand__name {
    font-size: clamp(0.85rem, 4.1vw, 1.05rem);
  }
  html[lang^="fr"] .brand__slogan {
    font-size: clamp(0.58rem, 2.5vw, 0.72rem);
    line-height: 1.2;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-primary {
    position: fixed;
    top: var(--nav-offset);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.85rem var(--bleed-right) 2rem var(--bleed-left);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, var(--brand) 0%, #023556 100%);
    box-shadow: none;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .site-header.is-nav-open .nav-primary,
  html.is-mobile-nav-open > .nav-primary,
  body.is-mobile-nav-open > .nav-primary {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-dropdown__trigger {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .nav-primary a,
  .nav-item.nav-link,
  .nav-dropdown__trigger {
    display: block;
    flex: none;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 1.05rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    text-align: left;
    font-size: 1.12rem;
    letter-spacing: 0.01em;
    white-space: normal;
  }
  .nav-dropdown {
    display: block;
    width: 100%;
  }
  .nav-dropdown__panel {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav-dropdown__link {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    white-space: normal;
  }
  .nav-dropdown__chevron {
    margin-left: auto;
    border-color: rgba(255, 255, 255, 0.85);
  }
  .nav-primary a:hover,
  .nav-item.nav-link:hover,
  .nav-item.nav-link:focus-visible,
  .nav-dropdown__trigger:hover,
  .nav-dropdown__trigger:focus-visible,
  .nav-dropdown__link:hover,
  .nav-dropdown__link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: none;
  }
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 65;
    margin: 0;
    background: rgba(15, 13, 26, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  html.is-mobile-nav-open > .mobile-nav-backdrop,
  body.is-mobile-nav-open > .mobile-nav-backdrop,
  .site-header.is-nav-open .mobile-nav-backdrop {
    opacity: 1;
    visibility: visible;
  }
  html.is-mobile-nav-open > .nav-primary {
    z-index: 70;
  }
  html.is-mobile-nav-open > .mobile-nav-backdrop {
    z-index: 65;
  }
  .mobile-nav-backdrop[hidden] {
    display: none !important;
  }
  .language-menu__panel {
    position: fixed;
    top: var(--nav-offset);
    left: 0;
    right: 0;
    z-index: 60;
    width: auto;
    min-width: 0;
    padding: 0.85rem max(var(--wrap-inline), env(safe-area-inset-right)) 1rem max(var(--wrap-inline), env(safe-area-inset-left));
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(15, 13, 26, 0.12);
  }
  .language-menu__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1rem;
  }
  .language-menu__item + .language-menu__item {
    margin-top: 0;
  }
}

html.is-mobile-nav-open,
body.is-mobile-nav-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

html.is-mobile-nav-open > .nav-primary,
body.is-mobile-nav-open > .nav-primary {
  touch-action: pan-y;
}

@media (max-width: 768px) {
  body.is-language-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }
}

.btn-ghost:hover { background: rgba(1, 41, 68, 0.18); color: var(--brand); }

/* Welcome & three-column content */
#welcome { scroll-margin-top: calc(var(--header-h) + 1rem); }
.welcome-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  text-align: center;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  line-height: 1.2;
}
.three-column-grid,
.two-column-grid {
  display: grid;
  gap: 2rem 2.5rem;
  align-items: start;
}
.three-column-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.two-column-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.three-column-col,
.two-column-col {
  min-width: 0;
}
.column-image {
  margin: 0 0 1.25rem;
}
.column-image img {
  display: block;
  width: 100%;
  max-width: 14rem;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.rich-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.rich-text p { margin: 0 0 1rem; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.65rem;
}
.rich-text a {
  color: var(--accent-2);
  font-weight: 600;
}
.rich-text strong { color: var(--ink); font-weight: 600; }
.column-kicker {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand) !important;
  margin-bottom: 0.85rem !important;
}
.info-block {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.info-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
#scripture-quotes {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.scripture-quotes-section {
  width: auto;
  max-width: none;
  margin-left: calc(-1 * var(--bleed-left));
  margin-right: calc(-1 * var(--bleed-right));
  padding: 0 0 2.75rem;
  box-sizing: border-box;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.scripture-quotes-section__hero {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, var(--sq-bg-color, var(--surface-2)) 0%, var(--surface) 100%);
  border-bottom: none;
}
.scripture-quotes-section__hero::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--sq-header-color, var(--gold)), rgba(184, 149, 106, 0.45));
}
.scripture-quotes-section__hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem max(var(--wrap-inline), env(safe-area-inset-right)) 1.85rem max(var(--wrap-inline), env(safe-area-inset-left));
  text-align: center;
}
.scripture-quotes-section__inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--surface);
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.scripture-quotes-section:has(.scripture-quotes-section__hero) .scripture-quotes-section__inner::before {
  display: none;
}
.scripture-quotes-section:not(:has(.scripture-quotes-section__hero)) .scripture-quotes-section__inner::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--sq-header-color, var(--gold)), rgba(184, 149, 106, 0.45));
}
.scripture-quotes-section__header {
  margin: 0;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.5;
  color: var(--sq-header-color, var(--gold));
  font-weight: 600;
}
.scripture-quotes-section__header-reference {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  opacity: 0.85;
}
.scripture-quotes-section__header-text {
  display: block;
  font-style: italic;
}
.scripture-quotes-section__body {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem max(var(--wrap-inline), env(safe-area-inset-right)) 2.25rem max(var(--wrap-inline), env(safe-area-inset-left));
}
.scripture-quotes-section:has(.scripture-quotes-section__hero) .scripture-quotes-section__body {
  padding-top: 1.75rem;
}
.scripture-quotes-section__verses {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.scripture-quotes-section__verses:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.scripture-quotes-section__verse {
  margin: 0 0 1.15rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.scripture-quotes-section__verse:last-child {
  margin-bottom: 0;
}
.scripture-quotes-section__verse-reference {
  display: inline;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand);
  margin-right: 0.4rem;
}
.scripture-quotes-section__quotes-block {
  margin-top: 0.15rem;
}
.scripture-quotes-section__quotes-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.35;
}
.scripture-quotes-section__quotes-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0.75rem auto 0;
  border-radius: 2px;
  background: var(--sq-header-color, var(--gold));
  opacity: 0.65;
}
.scripture-quotes-section__quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.scripture-quotes-section__quote {
  margin: 0;
  width: 100%;
  padding: 1.15rem 1.35rem 1.2rem 1.45rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--sq-header-color, var(--gold));
}
.scripture-quotes-section__quote-title {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand);
  line-height: 1.45;
}
.scripture-quotes-section__quote-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.scripture-quotes-section__footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.scripture-quotes-section__author {
  margin: 0;
  text-align: right;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.scripture-quotes-section__author cite {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
}

@media (max-width: 640px) {
  .featured-events__inner {
    padding-top: 1.35rem;
    padding-bottom: 1.45rem;
  }
  .featured-events .event-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.15rem 1.15rem 1.2rem 1.25rem;
    align-items: start;
  }
  .featured-events .event-card__aside {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
  }
  .featured-events .event-card__date {
    flex-direction: row;
    gap: 0.55rem;
    min-width: 0;
    width: fit-content;
    padding: 0.55rem 0.85rem;
  }
  .featured-events .event-card__num {
    font-size: 1.35rem;
    margin: 0;
  }
  .scripture-quotes-section__hero-inner {
    padding: 1.75rem max(var(--wrap-inline), env(safe-area-inset-right)) 1.35rem max(var(--wrap-inline), env(safe-area-inset-left));
  }
  .scripture-quotes-section:has(.scripture-quotes-section__hero) .scripture-quotes-section__body {
    padding-top: 1.35rem;
  }
  .scripture-quotes-section__body {
    padding: 1.5rem max(var(--wrap-inline), env(safe-area-inset-right)) 1.75rem max(var(--wrap-inline), env(safe-area-inset-left));
  }
  .scripture-quotes-section__quote {
    padding: 1rem 1rem 1.05rem 1.1rem;
  }
}

.fellowship-section {
  margin-top: 2.75rem;
}
.fellowship-section__times {
  max-width: 52rem;
  margin: 0 auto 1.35rem;
}
.fellowship-section .welcome-title {
  margin-bottom: 1.35rem;
}
.fellowship-quote {
  margin: 0 auto 1.75rem;
  max-width: 52rem;
  padding: 1.25rem 1.35rem 1.2rem 1.45rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.fellowship-quote__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink-soft);
}
.fellowship-quote__footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
}
.fellowship-quote__reference {
  font-family: var(--font);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
}
.fellowship-quote__author {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink-soft);
}
.fellowship-section__grid {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .fellowship-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "location travel";
  }
  .fellowship-panel--location { grid-area: location; }
  .fellowship-panel--travel { grid-area: travel; }
}
.fellowship-panel {
  position: relative;
  padding: 1.35rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.fellowship-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-2));
}
.fellowship-panel__kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.fellowship-panel__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.fellowship-panel__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--brand);
}
.fellowship-times {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 520px) {
  .fellowship-panel--times .fellowship-times {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.fellowship-time {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.05rem 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}
.fellowship-time__day {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.fellowship-time__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.fellowship-time__when {
  margin-top: 0.15rem;
  font-size: 0.94rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.fellowship-panel__location-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.85rem 0.95rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.fellowship-panel__location-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, var(--surface));
  color: var(--brand);
}
.fellowship-panel__location-icon-wrap .location-icon {
  width: 1.05rem;
  height: 1.05rem;
}
.fellowship-panel__address {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink);
  background: none;
  border: none;
  border-radius: 0;
}
.fellowship-panel__address p {
  margin: 0;
}
.fellowship-panel__map {
  aspect-ratio: 16 / 10;
  min-height: 10rem;
  border-radius: var(--radius-sm);
}
.fellowship-panel__map-link {
  margin: 0.85rem 0 0;
}
.fellowship-panel__directions {
  display: inline-flex;
  font-size: 0.92rem;
}
.fellowship-panel__travel-text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
/* Legacy fellowship-card selectors (contact preview etc.) */
.fellowship-card {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.fellowship-section .service-times.fellowship-card {
  margin-top: 0;
}
.directions-link {
  font-size: 0.9rem;
  font-weight: 500;
}
.welcome-section {
  padding: 2.5rem 0 1.5rem;
}
.map-section {
  padding: 0 0 2.5rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.map-panel {
  padding: 0;
  overflow: hidden;
}
.map-shell--wide {
  aspect-ratio: 21 / 9;
  min-height: 280px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.meeting-address {
  line-height: 1.65;
}
.meeting-address p { margin: 0; }
.standard-page-body {
  padding-bottom: 3rem;
  max-width: 48rem;
}

@media (max-width: 960px) {
  .three-column-grid,
  .two-column-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .three-column-col--2,
  .two-column-col + .two-column-col {
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
  }
  .three-column-col--3 {
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
  }
}

@media (min-width: 961px) {
  .three-column-col--2,
  .two-column-col + .two-column-col {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }
}

.hero { padding: 2.75rem 0 2.25rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
  }
}
.hero-copy { min-width: 0; }
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.8vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  color: var(--ink);
}
.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0;
  line-height: 1.5;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

#fellowship { scroll-margin-top: calc(var(--header-h) + 1rem); }
#fellowship-map { scroll-margin-top: calc(var(--header-h) + 1rem); }
.service-times {
  margin-top: 1.35rem;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(15, 13, 26, 0.04);
  min-width: 0;
  max-width: 100%;
}
.fellowship-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.service-times-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.service-times-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.service-times-list li:last-child { border-bottom: none; padding-bottom: 0; }
.service-times .service-desc {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.service-times .day { font-weight: 600; color: var(--ink); }
.service-times .service-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.35;
}
.service-times .time {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  font-weight: 500;
  flex-shrink: 0;
}
.fellowship-location {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.fellowship-location-prefix {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.fellowship-address {
  margin: 0 0 0.85rem;
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.55;
}
.map-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 16 / 10;
  min-height: 220px;
  border: 1px solid var(--line);
}
.map-shell iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  border: 0;
}
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

section.block {
  padding: 1.75rem 0 2.25rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
section.block.scripture-quotes-section {
  padding-top: 0;
  padding-bottom: 2.75rem;
}
.section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 0.4rem;
}
section.block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}
section.block h2.welcome-title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  text-align: center;
  color: var(--gold);
  margin: 0 0 2rem;
  line-height: 1.2;
}
.lede {
  color: var(--ink-soft);
  margin: 0 0 1.35rem;
  max-width: 40em;
  font-size: 1.02rem;
}

.home-section__inner {
  position: relative;
}

.home-section--width-narrow .home-section__inner {
  max-width: 42rem;
  margin-inline: auto;
}

.home-section--width-wide .home-section__inner {
  max-width: 56rem;
  margin-inline: auto;
}

.home-section--width-full {
  width: auto;
  max-width: none;
  margin-left: calc(-1 * var(--bleed-left));
  margin-right: calc(-1 * var(--bleed-right));
  padding-inline: var(--bleed-left) var(--bleed-right);
}

.home-section--muted {
  background: linear-gradient(180deg, #f7f9fb 0%, #eef3f7 100%);
  border-block: 1px solid rgba(1, 41, 68, 0.08);
}

.home-section--brand {
  background: linear-gradient(135deg, rgba(1, 41, 68, 0.06) 0%, rgba(1, 41, 68, 0.12) 100%);
  border-block: 1px solid rgba(1, 41, 68, 0.1);
}

.home-section--dark {
  background: linear-gradient(180deg, #012944 0%, #023556 100%);
  color: #fff;
}

.home-section--dark .section-kicker,
.home-section--dark .lede,
.home-section--dark .home-section__intro {
  color: rgba(255, 255, 255, 0.82);
}

.home-section--dark h2,
.home-section--dark h2.welcome-title {
  color: #fff;
}

.home-section--dark .home-faq-item,
.home-section--dark .home-gallery-item__frame {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.home-section--highlight {
  background:
    linear-gradient(180deg, rgba(184, 134, 11, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
  border-block: 1px solid rgba(184, 134, 11, 0.18);
}

.home-section--align-center .home-section__inner {
  text-align: center;
}

.home-section--align-center .lede,
.home-section--align-center .home-section__intro {
  margin-inline: auto;
}

.home-section--align-center .two-column-grid,
.home-section--align-center .home-gallery-grid,
.home-section--align-center .home-faq-list,
.home-section--align-center .home-video-embed,
.home-section--align-center .home-download-section__action {
  text-align: initial;
}

.home-section--align-center .home-download-section__action {
  display: flex;
  justify-content: center;
}

.home-section__content {
  max-width: 48rem;
}

.home-section--align-center .home-section__content {
  margin-inline: auto;
}

.live-heading-banner {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.3;
  margin: 0 0 0.65rem;
  color: var(--brand);
  padding: 0.15rem 0 0.85rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.live-heading-banner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(5.5rem, 35%);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.85;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.9;
}
.panel > * { position: relative; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1.2rem;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-ghost {
  background: var(--accent-muted);
  color: var(--accent);
}
.btn-ghost:hover { background: rgba(67, 56, 202, 0.22); color: #3730a3; }

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(1, 41, 68, 0.18);
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.btn-download:hover {
  background: var(--brand-light);
  color: #fff;
  box-shadow: 0 4px 14px rgba(1, 41, 68, 0.22);
}
.btn-download__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.video-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0c0a14;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.home-video-embed {
  margin-top: 1rem;
}
.video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  border: 0;
}
.video-shell iframe:not([src]) {
  visibility: hidden;
}
.home-video-embed iframe {
  visibility: visible;
}
.video-shell.is-live iframe,
.video-shell.is-loading iframe {
  visibility: visible;
}
.video-shell.is-offline {
  background: #1a1520;
}
.video-shell__offline {
  position: absolute;
  inset: 0;
  background-color: #1a1520;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.video-shell__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-shell__offline-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(12, 10, 20, 0) 45%, rgba(12, 10, 20, 0.72) 100%);
}
.video-shell__offline-message {
  margin: 0;
  max-width: 36em;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(1, 41, 68, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.45;
}

section#live.block {
  padding: 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.live-stream-header {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(135deg, var(--brand) 0%, #023556 100%);
  border-bottom: 3px solid var(--gold);
  box-sizing: border-box;
}
.live-stream-header__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--bleed-right) 1.15rem var(--bleed-left);
  text-align: center;
  box-sizing: border-box;
}
section#live .live-heading-banner {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.2);
  margin-bottom: 0.5rem;
  width: 100%;
  text-align: center;
}
section#live .live-heading-banner::after {
  background: linear-gradient(90deg, var(--gold), #d4b896);
  left: 50%;
  transform: translateX(-50%);
}
section#live .live-stream-copy[hidden] {
  display: none !important;
}
section#live .live-stream-lede {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto;
  max-width: 40em;
}
section#live .live-stream-lq-hint {
  margin-top: 0.35rem;
  font-size: 0.98rem;
}
section#live .live-now-banner {
  margin-top: 0.85rem;
  text-align: center;
}
.live-stream-player {
  padding: 0 max(var(--wrap-inline), env(safe-area-inset-right)) 2rem max(var(--wrap-inline), env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  gap: 0;
}
.live-stream-quality {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto 1rem;
  padding: 0 max(var(--wrap-inline), env(safe-area-inset-left)) 0 max(var(--wrap-inline), env(safe-area-inset-right));
}
.live-stream-quality[hidden] {
  display: none !important;
}
.live-quality-btn {
  min-width: 10rem;
}
.live-stream-player .video-shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  border-radius: var(--radius-sm);
  min-height: 200px;
}
section#live.block + .welcome-section {
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .live-stream-header {
    width: auto;
    max-width: none;
    margin-left: calc(-1 * var(--bleed-left));
    margin-right: calc(-1 * var(--bleed-right));
  }
  .live-stream-player.wrap {
    max-width: none;
    margin-left: calc(-1 * var(--bleed-left));
    margin-right: calc(-1 * var(--bleed-right));
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 1.5rem;
    box-sizing: border-box;
  }
  .live-stream-player .video-shell {
    order: -1;
    max-width: 100%;
    width: 100%;
    margin: 0;
    border-radius: 0;
  }
  .live-stream-quality {
    order: 1;
    margin-top: 0;
    padding: 0.85rem max(var(--wrap-inline), env(safe-area-inset-left)) 0 max(var(--wrap-inline), env(safe-area-inset-right));
    border-top: 1px solid var(--line);
    max-width: none;
  }
}

@media (max-width: 879px) {
  .map-shell:not(.map-shell--compact) {
    aspect-ratio: 2 / 1;
    min-height: 0;
    max-height: 11rem;
  }
  .fellowship-card__map,
  .fellowship-panel__map {
    min-height: 10rem;
  }
}

.archive-section { padding-bottom: 3rem; }
.archive-admin-bar {
  margin: 0 0 1rem;
  padding: 0.65rem 1rem;
  background: rgba(1, 41, 68, 0.08);
  border: 1px dashed rgba(1, 41, 68, 0.22);
  border-radius: var(--radius-sm);
  text-align: center;
}
.archive-admin-bar__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.archive-admin-bar__link:hover {
  color: var(--accent-2);
  text-decoration: underline;
}
.archive-disclosure {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}
.archive-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.4rem 1.4rem 1.4rem 1.55rem;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border-bottom: 1px solid transparent;
  transition: background 0.2s;
}
.archive-disclosure[open] .archive-summary { border-bottom-color: var(--line); }
.archive-summary:hover {
  background: linear-gradient(180deg, #e4ebf0 0%, #fafbfc 100%);
}
.archive-summary::-webkit-details-marker { display: none; }
.archive-summary::marker { content: ""; }
.archive-summary-main { flex: 1; min-width: 12rem; }
.archive-section .welcome-title {
  margin-bottom: 1.5rem;
}
.archive-summary .archive-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.archive-summary-meta {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.archive-summary-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.toggle-hint {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}
.toggle-hint .when-open { display: none; }
.archive-disclosure[open] .toggle-hint .when-open { display: inline; }
.archive-disclosure[open] .toggle-hint .when-closed { display: none; }
.chevron {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.15s;
  flex-shrink: 0;
}
.archive-summary:hover .chevron { background: var(--surface-2); }
.chevron svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--accent);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.archive-disclosure[open] .chevron { transform: rotate(180deg); }
.archive-body {
  padding: 1.4rem 1.55rem 1.55rem;
  background: var(--surface);
}
.archive-body .lede { margin-bottom: 1.25rem; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.15rem;
  align-items: start;
}
.archive-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.archive-card:not([open]) > :not(.archive-card__header) {
  display: none;
}
.archive-card[open]:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(1, 41, 68, 0.18);
}
.archive-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, rgba(1, 41, 68, 0.06) 0%, rgba(1, 41, 68, 0.02) 100%);
  border-bottom: 1px solid transparent;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}
.archive-card__header::-webkit-details-marker { display: none; }
.archive-card__header::marker { content: ""; }
.archive-card[open] .archive-card__header {
  border-bottom-color: var(--line);
}
.archive-card__header:hover {
  background: linear-gradient(135deg, rgba(1, 41, 68, 0.09) 0%, rgba(1, 41, 68, 0.03) 100%);
}
.archive-card__header:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: -2px;
}
.archive-card__header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.archive-card__chevron {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: transform 0.2s ease, background 0.15s ease;
}
.archive-card__chevron svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.archive-card[open] .archive-card__chevron {
  transform: rotate(180deg);
}
.archive-card__year {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.archive-card__count {
  flex-shrink: 0;
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid var(--line);
}
.archive-card__periods {
  list-style: none;
  margin: 0;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.archive-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.archive-card__link-text {
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.35;
}
.archive-card__link-icon {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.archive-card__link-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.archive-card__link:hover {
  color: var(--brand);
  background: rgba(1, 41, 68, 0.06);
  border-color: rgba(1, 41, 68, 0.12);
}
.archive-card__link:hover .archive-card__link-icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateX(2px);
}
.archive-card__link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.site-footer {
  padding: 2.5rem 1rem 2rem;
  margin-top: auto;
  flex-shrink: 0;
  border-top: 3px solid var(--gold);
  background: var(--brand);
  color: rgba(255, 255, 255, 0.85);
}

.footer-main__grid {
  display: grid;
  gap: 2rem;
  text-align: left;
  align-items: start;
}

@media (min-width: 720px) {
  .footer-main__grid--two-col {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 3rem;
  }
}

.footer-panel {
  display: grid;
  gap: 0.85rem;
}

.footer-panel__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.footer-panel__block--social {
  margin-top: 0.35rem;
}

.footer-panel--contact .footer-social {
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.footer-contact-entries,
.contact-entries {
  display: grid;
  gap: 0.85rem;
}

.footer-contact-entries .contact-entries__person,
.contact-entries__person {
  display: grid;
  gap: 0.35rem;
}

.contact-entries__line {
  margin: 0;
  line-height: 1.5;
}

.contact-entries__label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-right: 0.35rem;
}

.contact-page .contact-entries__label {
  color: var(--ink);
}

.contact-entries__name {
  font-weight: 600;
  margin-right: 0.35rem;
}

.contact-entries__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-entries__link:hover {
  color: var(--gold);
}

.footer-quick-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-quick-links__item {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.footer-quick-links__label {
  font-weight: 600;
  margin-right: 0.35rem;
}

.footer-quick-links__link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-quick-links__link:hover {
  color: var(--gold);
}

.footer-admin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.footer-admin .footer-links {
  margin: 0;
}
.footer-admin__form { margin: 0; display: inline; }
.footer-admin__link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.footer-admin__link:hover {
  color: var(--gold);
  text-decoration: underline;
}
.footer-admin__button { text-decoration: underline; text-underline-offset: 2px; }
.footer-blessing {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
  margin: 0;
  line-height: 1.55;
}
.footer-bottom {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  justify-items: center;
}
.footer-bottom__blessing {
  max-width: 42rem;
  margin: 0;
  font-size: 1rem;
  text-align: center;
}
.footer-bottom__blessing strong {
  display: block;
  margin-top: 0.45rem;
  color: #fff;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font);
  letter-spacing: 0.02em;
}
.footer-blessing strong {
  display: block;
  margin-top: 0.55rem;
  color: #fff;
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font);
  letter-spacing: 0.02em;
}

.page-header {
  padding: 2rem 0 1rem;
}
.page-header h1,
.page-header .welcome-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--gold);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.archive-period-page {
  padding-bottom: 3.5rem;
}

.archive-period-page__header {
  padding-bottom: 0.5rem;
}

.archive-period-page__header .archive-period-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1.5rem;
  text-align: left;
  color: var(--gold);
  line-height: 1.15;
}

.archive-period-empty {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}

.archive-period-empty__card {
  width: min(100%, 42rem);
  padding: 2.5rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  text-align: center;
}

.archive-period-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  color: var(--brand);
}

.archive-period-empty__btn {
  margin: 0;
}

@media (min-width: 48rem) {
  .archive-period-empty__card {
    padding: 3rem 2rem;
  }
}
.video-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  align-items: stretch;
  width: 100%;
}
@media (min-width: 768px) {
  .video-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
}
.video-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
}
.video-item__date {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink, #1a2744);
}
.video-item__title {
  flex: 1 1 auto;
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink, #1a2744);
}
.video-item .embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0c0a14;
}
.video-item .embed-wrap iframe,
.video-item .embed-wrap video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border: 0;
}
.video-item .embed-wrap .sync-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
}
.youtube-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.youtube-video-player__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.youtube-video-player__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.youtube-video-player__play:hover {
  background: rgba(0, 0, 0, 0.2);
}
.youtube-video-player__icon {
  display: block;
  width: 4.25rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: #f03;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  position: relative;
}
.youtube-video-player__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.95rem;
  border-color: transparent transparent transparent #fff;
}
.youtube-video-player.is-playing iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
.video-item__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
}
.video-item__download {
  text-decoration: none;
}

.sync-video-player {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(145deg, #1a2744, #0c0a14);
}
.sync-video-player__open {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.5rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
}
.sync-video-player__open:hover {
  color: #fff;
}
.sync-video-player__icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.35);
  font-size: 1.45rem;
  line-height: 1;
}
.sync-video-player__label {
  font-size: 1.05rem;
  font-weight: 700;
}
.sync-video-player__hint {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.sync-download-banner {
  margin-bottom: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sync-download-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}
.sync-download-banner__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.5;
  flex: 1;
  min-width: min(100%, 16rem);
}
.sync-download-banner__text strong {
  color: var(--ink);
}
.sync-download-banner__btn {
  flex-shrink: 0;
}

.custom-page-content {
  padding-bottom: 3rem;
}
.custom-page-content iframe,
.custom-page-content video {
  max-width: 100%;
}

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.is-revealed {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.is-revealed > * {
  opacity: 1;
  transform: none;
}
.reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.is-revealed > *:nth-child(6) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Contact page */
.contact-page {
  padding-bottom: 3rem;
}
.contact-page__intro {
  text-align: center;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: -1rem auto 2rem;
}
.contact-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}
.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.contact-info__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--brand);
}
.contact-info__heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 1.25rem 0 0.5rem;
}
.contact-info__heading:first-of-type {
  margin-top: 0;
}
.contact-info__address,
.contact-info__plain,
.contact-info__times,
.contact-info__text {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.contact-info__list {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  line-height: 1.6;
}
.contact-info__list li + li {
  margin-top: 0.35rem;
}
.contact-info__list--plain li + li {
  margin-top: 0.5rem;
}
.contact-info__label {
  display: inline-block;
  min-width: 3.25rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-info__link {
  font-weight: 600;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.contact-info__link:hover {
  color: var(--gold);
}
.contact-info__map {
  aspect-ratio: 16 / 10;
  min-height: 11rem;
  margin-top: 0.35rem;
}
.contact-info__map-link {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
}
.contact-info__map-link a {
  font-weight: 600;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.contact-info__map-link a:hover {
  color: var(--gold);
}
.contact-form .required-mark {
  color: #c41e3a;
  font-weight: 700;
}
.contact-form__required-note {
  margin: -0.35rem 0 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.contact-form-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.contact-form-section__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1.25rem;
  color: var(--brand);
}
.contact-form {
  text-align: left;
}
.contact-form .form-field {
  margin-bottom: 1rem;
}
.contact-form .form-field--message textarea {
  min-height: 14rem;
}
.contact-form__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.contact-form__actions .contact-form__required-note {
  margin: 0;
}
.recaptcha-notice {
  margin: 0;
  max-width: 28rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.recaptcha-notice a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.event-registration-form .recaptcha-notice {
  margin-top: 0.25rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--surface-2);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(1, 41, 68, 0.35);
  box-shadow: 0 0 0 3px var(--accent-muted);
}
.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}
.contact-form .field-error {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: #b42318;
}
.contact-form__errors {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.contact-success {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover {
  background: var(--brand-light);
}
.btn-primary:active {
  transform: scale(0.98);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Announcement banner */
.announcement-banner {
  width: 100%;
}
.announcement-banner__item {
  background: var(--banner-bg, var(--accent));
  color: var(--banner-fg, #fff);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.announcement-banner__viewport {
  overflow: hidden;
  width: 100%;
  padding: 0.65rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
}
.announcement-banner__viewport.is-static {
  -webkit-mask-image: none;
  mask-image: none;
}
.announcement-banner__track {
  width: 100%;
}
.announcement-banner__scroll {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  flex-wrap: nowrap;
  padding: 0 max(var(--wrap-inline), env(safe-area-inset-right)) 0 max(var(--wrap-inline), env(safe-area-inset-left));
}
.announcement-banner__viewport.is-static .announcement-banner__scroll {
  width: 100%;
  min-width: 100%;
  justify-content: center;
}
.announcement-banner__viewport.is-marquee .announcement-banner__scroll {
  min-width: 0;
  will-change: transform;
}
.announcement-banner__viewport.is-marquee:hover .announcement-banner__scroll {
  animation-play-state: paused;
}
@keyframes announcement-marquee-fallback {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-1 * var(--marquee-distance, 50%)), 0, 0); }
}
.announcement-banner__content {
  display: inline-flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem 1rem;
  white-space: nowrap;
  font-size: 0.94rem;
  line-height: 1.45;
}
.announcement-banner__viewport.is-marquee .announcement-banner__content,
.announcement-banner__viewport.is-marquee .announcement-banner__content * {
  white-space: nowrap;
  max-width: none;
}
.announcement-banner__viewport.is-marquee .announcement-banner__message :is(p, div, li, h1, h2, h3, h4, h5, h6) {
  display: inline;
  margin: 0;
}
.announcement-banner__title {
  font-weight: 700;
}
.announcement-banner__message,
.announcement-banner__message * {
  display: inline;
  white-space: nowrap;
}
.announcement-banner__link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.announcement-banner__link:hover {
  opacity: 0.9;
}
@media (prefers-reduced-motion: reduce) {
  .announcement-banner__viewport.is-marquee .announcement-banner__scroll {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    width: 100%;
  }
  .announcement-banner__content {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
  }
  .announcement-banner__content--clone { display: none !important; }
}

/* Announcement popup */
.announcement-popup {
  border: none;
  padding: 0;
  max-width: min(92vw, 28rem);
  background: transparent;
}
.announcement-popup::backdrop {
  background: rgba(15, 13, 26, 0.55);
  backdrop-filter: blur(4px);
}
.announcement-popup__panel {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.announcement-popup__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--popup-accent, var(--accent));
}
.announcement-popup__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.announcement-popup__close:hover {
  background: var(--accent-muted);
  color: var(--accent);
}
.announcement-popup__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 2rem 0.65rem 0;
  color: var(--ink);
}
.announcement-popup__message {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.55;
}
.announcement-popup__link {
  margin-top: 0.25rem;
}

/* Upcoming events */
#events {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.events-section {
  padding-bottom: 0.5rem;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}
.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.event-card__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-width: 4.5rem;
}
.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: var(--accent-muted);
  color: var(--accent);
  text-align: center;
  line-height: 1.1;
}
.event-card__day {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.event-card__num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0.1rem 0;
}
.event-card__month {
  font-size: 0.72rem;
  font-weight: 600;
}
.event-card__time {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--ink-soft);
}
.event-card__body {
  min-width: 0;
}
.event-card__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 0.45rem;
  color: var(--ink);
}
.event-card__meta {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.event-card__meta--location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.location-icon,
.event-card__location-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--accent);
}
.event-card__label {
  font-weight: 700;
  color: var(--ink);
  margin-right: 0.35rem;
}
.event-card__desc {
  margin: 0.5rem 0 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.event-card__link {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}
.event-card__link:hover {
  text-decoration: underline;
}

.event-card__registration {
  margin-top: 0.75rem;
}
.event-card__register-btn {
  display: inline-block;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent);
  list-style: none;
}
.event-card__register-btn::-webkit-details-marker {
  display: none;
}
.event-card__registration[open] .event-card__register-btn {
  margin-bottom: 0.75rem;
}
.event-registration-form {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.15rem;
}
.event-registration-form .form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.event-registration-form .required-mark {
  color: var(--accent);
}
.event-registration-form input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--surface);
}
.event-registration-form input:focus {
  outline: 2px solid var(--accent-muted);
  border-color: var(--accent);
}
.event-registration-form .field-hint {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
}
.event-registration-form__submit {
  justify-self: start;
  margin-top: 0.15rem;
}
.event-registration-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.event-card__registration-success {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .archive-summary {
    flex-direction: column;
    align-items: stretch;
  }
  .archive-summary-actions { justify-content: space-between; }
  .contact-page__layout {
    grid-template-columns: 1fr;
  }
  .event-card {
    grid-template-columns: 1fr;
  }
  .event-card__aside {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
  }
  .event-card__date {
    flex-direction: row;
    gap: 0.5rem;
    width: fit-content;
    min-width: 0;
    padding: 0.45rem 0.75rem;
  }
  .event-card__num {
    font-size: 1.15rem;
    margin: 0;
  }
  .sync-download-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .sync-download-banner__btn {
    width: 100%;
    justify-content: center;
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border: 1px solid rgba(1, 41, 68, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn-secondary:hover {
  background: var(--surface-2);
  border-color: rgba(1, 41, 68, 0.35);
}

.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  background: rgba(1, 41, 68, 0.96);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}
.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-consent__text {
  margin: 0;
  max-width: 42rem;
  line-height: 1.5;
}
.cookie-consent__text a {
  color: var(--gold);
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-shrink: 0;
}
.cookie-consent__accept,
.cookie-consent__decline {
  flex-shrink: 0;
}
.cookie-consent__accept {
  background: var(--gold);
  color: var(--brand);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.cookie-consent__accept:hover {
  background: #d4b896;
  color: var(--brand);
}
.cookie-consent__accept:active {
  transform: scale(0.98);
}
.cookie-consent__decline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  font-weight: 600;
}
.cookie-consent__decline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
}
.footer-contact__link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-contact__link:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.15s, transform 0.15s;
}
.footer-social__link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.footer-social__link svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}
.footer-admin .footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
}
.footer-admin .footer-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-copyright {
  margin: 0 auto;
  max-width: none;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
}

.live-stream-header__row {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  text-align: center;
}
.live-stream-actions {
  display: flex;
  gap: 0.75rem;
}
.live-share-btn[hidden] {
  display: none !important;
}

.live-subscribe {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.live-subscribe__label {
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.live-subscribe__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.live-subscribe__form input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
}
.live-subscribe__message {
  margin: 0.75rem 0 0;
  color: var(--brand);
}
.live-subscribe__message.is-error {
  color: #b42318;
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Privacy page */
.privacy-page {
  padding-bottom: 3.5rem;
}

.privacy-page__header {
  padding-bottom: 0.25rem;
}

.privacy-page__title {
  margin-bottom: 1rem;
}

.privacy-page__intro {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.privacy-document {
  max-width: 42rem;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.privacy-document__body {
  padding: 1.85rem 1.6rem 1.35rem;
}

.privacy-content h2 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: -0.01em;
  margin: 1.85rem 0 0.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.privacy-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.privacy-content ul,
.privacy-content ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.privacy-content li + li {
  margin-top: 0.45rem;
}

.privacy-content li::marker {
  color: var(--brand);
}

.privacy-document__footer {
  padding: 1rem 1.6rem 1.4rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(1, 41, 68, 0.025) 0%, rgba(1, 41, 68, 0.05) 100%);
}

.privacy-document__footer p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.privacy-document__footer a {
  font-weight: 600;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.privacy-document__footer a:hover {
  color: var(--accent-2);
}

@media (min-width: 48rem) {
  .privacy-document__body {
    padding: 2.25rem 2rem 1.5rem;
  }

  .privacy-document__footer {
    padding: 1.1rem 2rem 1.5rem;
  }
}

.home-gallery-section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.home-gallery-section__intro {
  max-width: 42rem;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.home-gallery-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.home-gallery-item__frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius-md) + 2px);
  border: 1px solid rgba(1, 41, 68, 0.1);
  background: linear-gradient(145deg, #fff 0%, #f4f7fa 100%);
  box-shadow: 0 10px 28px rgba(1, 41, 68, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(1, 41, 68, 0) 35%, rgba(1, 41, 68, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.home-gallery-item__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  position: relative;
}

.home-gallery-item__icon::before,
.home-gallery-item__icon::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 1px;
}

.home-gallery-item__icon::before {
  width: 1rem;
  height: 1rem;
  top: 0.72rem;
  left: 0.72rem;
  box-shadow: 0.55rem 0.55rem 0 -0.18rem #fff;
  border: 2px solid #fff;
  background: transparent;
}

.home-gallery-item__icon::after {
  width: 0.55rem;
  height: 0.12rem;
  bottom: 0.72rem;
  right: 0.72rem;
  transform: rotate(45deg);
  transform-origin: right center;
}

.home-gallery-item:hover .home-gallery-item__frame,
.home-gallery-item:focus-visible .home-gallery-item__frame {
  transform: translateY(-3px);
  border-color: rgba(1, 41, 68, 0.22);
  box-shadow: 0 18px 36px rgba(1, 41, 68, 0.14);
}

.home-gallery-item:hover img,
.home-gallery-item:focus-visible img {
  transform: scale(1.04);
}

.home-gallery-item:hover .home-gallery-item__overlay,
.home-gallery-item:focus-visible .home-gallery-item__overlay {
  opacity: 1;
}

.home-gallery-item:focus-visible {
  outline: none;
}

.home-gallery-item:focus-visible .home-gallery-item__frame {
  box-shadow: 0 0 0 3px rgba(1, 41, 68, 0.18), 0 18px 36px rgba(1, 41, 68, 0.14);
}

.gallery-lightbox {
  width: min(96vw, 72rem);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.gallery-lightbox::backdrop {
  background: rgba(8, 18, 28, 0.88);
  backdrop-filter: blur(4px);
}

.gallery-lightbox__inner {
  position: relative;
  padding: 1rem;
}

.gallery-lightbox__figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(72vh, 42rem);
}

.gallery-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: min(72vh, 42rem);
  width: auto;
  height: auto;
  border-radius: calc(var(--radius-md) + 2px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #0b1824;
}

.gallery-lightbox__counter {
  margin: 0.85rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover,
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  outline: none;
}

.gallery-lightbox__close {
  top: 0.2rem;
  right: 0.2rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
}

.gallery-lightbox__nav {
  top: 50%;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  transform: translateY(-50%);
}

.gallery-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery-lightbox__nav--prev {
  left: 0.2rem;
}

.gallery-lightbox__nav--next {
  right: 0.2rem;
}

.gallery-lightbox__nav span {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.gallery-lightbox__nav--prev span {
  transform: rotate(-135deg) translateX(0.12rem);
}

.gallery-lightbox__nav--next span {
  transform: rotate(45deg) translateX(-0.12rem);
}

@media (max-width: 768px) {
  .gallery-lightbox {
    width: 100%;
    max-width: 100%;
  }

  .gallery-lightbox__inner {
    padding: 0.75rem 0.35rem 1rem;
  }

  .gallery-lightbox__nav {
    width: 2.6rem;
    height: 2.6rem;
  }

  .gallery-lightbox__close {
    top: 0.35rem;
    right: 0.35rem;
  }
}

.home-faq-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.home-faq-item {
  border: 1px solid rgba(1, 41, 68, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 1rem;
}

.home-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.65rem 0;
}

.home-faq-answer {
  padding-bottom: 0.85rem;
}

.home-download-section .btn-download {
  margin-top: 1rem;
}

.admin-preview-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.75rem 1rem;
  background: #7a4b00;
  color: #fff;
  font-size: 0.92rem;
}

.admin-preview-banner a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}
