/* =============================================================
   MAKONI TABERNACLE — DESIGN SYSTEM
   A cinematic, editorial aesthetic for the End-Time Message.
   ============================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Color */
  --ink:        #0a0e1a;
  --ink-2:      #11162a;
  --ink-3:      #1a2138;
  --ink-glass:  rgba(10, 14, 26, 0.72);
  --bone:       #f4efe3;
  --bone-dim:   #ddd6c5;
  --bone-mid:   #b8b1a1;
  --gold:       #c9a55a;
  --gold-bright:#e8c98a;
  --gold-deep:  #8a6f3a;
  --ember:      #a83a2b;
  --ember-glow: #d4574a;
  --mist:       rgba(244, 239, 227, 0.7);
  --mist-2:     rgba(244, 239, 227, 0.35);
  --hairline:   rgba(201, 165, 90, 0.22);
  --hairline-2: rgba(244, 239, 227, 0.08);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Scale */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: 6rem;
  --s-7: 9rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);

  /* Layout */
  --content-max: 1280px;
  --content-pad: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 76px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- BASE ---------- */
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Film grain overlay — gives every page atmospheric texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- TYPE ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.display-xxl {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.5rem, 13vw, 11rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.display-lg {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.display-md {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.italic, em { font-style: italic; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 500;
}

p { color: var(--mist); font-size: clamp(0.95rem, 1.1vw, 1.05rem); }
p.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--bone); line-height: 1.5; }

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}

.section {
  padding: var(--s-7) 0;
  position: relative;
}

@media (max-width: 768px) {
  .section { padding: var(--s-5) 0; }
}

/* Alt section bg (subtle band) */
.section--raised { background: var(--ink-2); }
.section--bone   { background: var(--bone); color: var(--ink); }
.section--bone p { color: rgba(10,14,26,0.7); }

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ---------- NAVBAR ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, padding 0.3s;
  padding: 1.25rem 0;
}
.nav.scrolled {
  background: var(--ink-glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--hairline-2);
  padding: 0.5rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hairline);
}
.brand__text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
  font-weight: 500;
}

.nav__menu { display: flex; align-items: center; gap: 0.25rem; }
.nav__menu a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bone-dim);
  transition: color 0.25s;
}
.nav__menu a:hover, .nav__menu a.active { color: var(--gold); }
.nav__menu a.active::before {
  content: '·';
  color: var(--gold);
  position: absolute;
  left: -2px;
  font-size: 1.2rem;
  top: 50%;
  transform: translateY(-55%);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  margin-left: 0.5rem;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  transition: all 0.3s;
}
.nav__cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.nav__cta__dot {
  width: 6px; height: 6px;
  background: var(--ember-glow);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

/* Lang toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.lang-toggle button {
  padding: 0.4rem 0.7rem;
  color: var(--bone-dim);
  transition: all 0.2s;
}
.lang-toggle button.active { background: var(--gold); color: var(--ink); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
}
.nav__toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--bone);
  position: relative;
  transition: 0.3s;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 18px; height: 1.5px;
  background: var(--bone);
  transition: 0.3s;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: var(--s-7) 0 var(--s-5);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s var(--ease-smooth);
  transform: scale(1.05);
  animation: kenBurns 20s ease-in-out infinite alternate;
}
.hero__slide.active { opacity: 1; }

@keyframes kenBurns {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.15) translate(-2%, -1%); }
}

.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 100%, rgba(10,14,26,0.35) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10,14,26,0.5) 0%, rgba(10,14,26,0.55) 40%, rgba(10,14,26,0.95) 100%);
  z-index: -1;
}

.hero__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-4);
  align-items: end;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero__heading h1 {
  color: var(--bone);
  margin-bottom: 1.5rem;
}
.hero__heading h1 .line {
  display: block;
  overflow: hidden;
}
.hero__heading h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: revealUp 1.2s var(--ease-out) forwards;
}
.hero__heading h1 .line:nth-child(2) > span { animation-delay: 0.15s; }
.hero__heading h1 .line:nth-child(3) > span { animation-delay: 0.3s; }

@keyframes revealUp {
  to { transform: translateY(0); }
}

.hero__heading h1 em {
  font-style: italic;
  color: var(--gold-bright);
}

.hero__sub {
  max-width: 36ch;
  color: var(--mist);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.8s forwards;
}

.hero__cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1s forwards;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.2s forwards;
  text-align: right;
}
@media (max-width: 900px) {
  .hero__meta { align-items: flex-start; text-align: left; }
}
.hero__meta-block {
  border-right: 1px solid var(--hairline);
  padding-right: 1.25rem;
}
@media (max-width: 900px) {
  .hero__meta-block { border-right: none; border-left: 1px solid var(--hairline); padding-right: 0; padding-left: 1.25rem; }
}
.hero__meta-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.hero__meta-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--bone);
}

/* Side rail with vertical text */
.hero__rail {
  position: absolute;
  left: max(1.5rem, calc((100vw - var(--content-max)) / 2 + 1rem));
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--mist-2);
  text-transform: uppercase;
  z-index: 1;
}
.hero__rail::before {
  content: '';
  display: block;
  width: 1px; height: 48px;
  background: var(--hairline);
  margin: 0 auto 1.5rem;
}
@media (max-width: 1100px) { .hero__rail { display: none; } }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 2.5s var(--ease-in-out) infinite;
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(8px); }
}
@media (max-width: 768px) { .scroll-cue { display: none; } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 165, 90, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--hairline);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--ember {
  background: var(--ember);
  color: var(--bone);
}
.btn--ember:hover {
  background: var(--ember-glow);
  transform: translateY(-2px);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--ink-2);
  overflow: hidden;
  padding: 1.5rem 0;
}
.marquee__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: scroll-x 35s linear infinite;
  width: max-content;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  color: var(--bone);
}
.marquee__item::after {
  content: '✦';
  color: var(--gold);
  font-size: 0.9em;
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- SECTION HEADER ---------- */
.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  align-items: end;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--hairline);
}
@media (max-width: 768px) {
  .section__head { grid-template-columns: 1fr; gap: var(--s-2); }
}

.section__head h2 { color: var(--bone); }
.section--bone .section__head h2 { color: var(--ink); }
.section--bone .section__head { border-bottom-color: rgba(10,14,26,0.15); }
.section--bone .eyebrow { color: var(--gold-deep); }
.section--bone .eyebrow::before { background: var(--gold-deep); }

/* ---------- CARDS ---------- */
.card {
  background: var(--ink-2);
  border: 1px solid var(--hairline-2);
  padding: var(--s-3);
  position: relative;
  transition: all 0.5s var(--ease-out);
}
.card:hover {
  border-color: var(--hairline);
  transform: translateY(-4px);
}
.card__num {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
}

.section--bone .card {
  background: #fff;
  border-color: rgba(10,14,26,0.08);
}
.section--bone .card:hover { border-color: var(--gold); }

/* News (Updates) card */
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.news-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  margin: calc(-1 * var(--s-3)) calc(-1 * var(--s-3)) var(--s-3);
}
.news-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.news-card:hover .news-card__image img { transform: scale(1.05); }
.news-card__date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.news-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--bone);
}
.section--bone .news-card__title { color: var(--ink); }
.news-card__body {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- GRIDS ---------- */
.grid { display: grid; gap: var(--s-3); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }

/* ---------- TWO-COLUMN EDITORIAL ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  align-items: center;
}
@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; gap: var(--s-3); }
}

.editorial__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.editorial__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}
.editorial__image:hover img { transform: scale(1.04); }
.editorial__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  transform: translate(16px, 16px);
  pointer-events: none;
}

/* Map embed variant — iframe instead of img */
.editorial__image--map {
  aspect-ratio: 4/5;
  background: var(--ink-2);
}
.editorial__image--map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: contrast(1.02) saturate(0.92);
}

.editorial__text h2 { margin-bottom: 1.5rem; }
.editorial__text p { margin-bottom: 1.25rem; line-height: 1.7; }

/* Pull quote */
.pullquote {
  margin: 2rem 0;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 2px solid var(--gold);
}
.pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--bone);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.section--bone .pullquote p { color: var(--ink); }
.pullquote cite {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ---------- SERVICE / COUNTDOWN ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--hairline);
  background: var(--ink-2);
}
@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; }
}

.service-block__count {
  padding: var(--s-4);
  border-right: 1px solid var(--hairline);
  background:
    radial-gradient(circle at 80% 20%, rgba(201,165,90,0.08), transparent 50%),
    var(--ink-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 900px) {
  .service-block__count { border-right: none; border-bottom: 1px solid var(--hairline); }
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 1.25rem 0;
}
.countdown__cell {
  text-align: center;
  padding: 1rem 0.5rem;
  background: var(--ink-3);
  border: 1px solid var(--hairline-2);
}
.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--gold-bright);
  display: block;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist-2);
  margin-top: 0.5rem;
  display: block;
}
.countdown--live .countdown__cell {
  background: var(--ember);
  border-color: var(--ember-glow);
}
.countdown--live .countdown__num { color: var(--bone); }

.service-block__schedule {
  padding: var(--s-4);
}
.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline-2);
}
.schedule-item:last-child { border-bottom: 0; }
.schedule-item__day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bone);
}
.schedule-item__time {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold);
}

/* ---------- LEADER CARDS ---------- */
.leader-card {
  background: var(--ink-2);
  border: 1px solid var(--hairline-2);
  overflow: hidden;
  position: relative;
  transition: all 0.5s var(--ease-out);
}
.leader-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.leader-card__img {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.leader-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s var(--ease-out);
  filter: saturate(0.85);
}
.leader-card:hover .leader-card__img img { transform: scale(1.04); filter: saturate(1); }
.leader-card__body { padding: 1.5rem; }
.leader-card__role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.leader-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bone);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.leader-card__bio {
  font-size: 0.85rem;
  color: var(--mist);
  margin-bottom: 1rem;
  line-height: 1.55;
}
.leader-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  border-top: 1px solid var(--hairline-2);
  padding-top: 0.75rem;
  width: 100%;
}

/* ---------- SERMON CARDS ---------- */
.sermon-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--ink-2);
  border: 1px solid var(--hairline-2);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.sermon-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}
.sermon-card:hover::before { transform: scaleY(1); }
.sermon-card:hover { background: var(--ink-3); border-color: var(--hairline); }

.sermon-card__date {
  text-align: center;
  padding-right: 1.5rem;
  border-right: 1px solid var(--hairline-2);
}
.sermon-card__day {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--bone);
  line-height: 1;
}
.sermon-card__month {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-top: 0.35rem;
}

.sermon-card__info { min-width: 0; }
.sermon-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--bone);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.sermon-card__preacher {
  font-size: 0.85rem;
  color: var(--mist);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sermon-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  color: var(--gold);
  margin-left: 0.5rem;
}

.sermon-card__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .sermon-card { grid-template-columns: 1fr; }
  .sermon-card__date {
    display: flex; gap: 0.75rem; align-items: baseline;
    padding-right: 0; border-right: 0;
    border-bottom: 1px solid var(--hairline-2); padding-bottom: 0.75rem;
  }
  .sermon-card__day { font-size: 1.5rem; }
  .sermon-card__actions { width: 100%; }
}

/* ---------- FORMS ---------- */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--ink-3);
  border: 1px solid var(--hairline-2);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  border-radius: 4px;
}
.form-textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: 0;
  border-color: var(--gold);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--mist-2); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Checkbox/radio styling */
.form-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--mist);
  margin-right: 1.5rem;
  cursor: pointer;
}
.form-check input { accent-color: var(--gold); }

/* ---------- FILTER BAR ---------- */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hairline-2);
}
.filter-chip {
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid var(--hairline-2);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-chip:hover { color: var(--gold); border-color: var(--gold); }
.filter-chip.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.search-input {
  flex: 1; min-width: 220px;
  padding: 0.65rem 1rem;
  background: var(--ink-2);
  border: 1px solid var(--hairline-2);
  color: var(--bone);
  font-size: 0.9rem;
  border-radius: 100px;
}
.search-input:focus { outline: 0; border-color: var(--gold); }

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-2);
}
.gallery-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,0.92), transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-tile:hover .gallery-tile__overlay { opacity: 1; }
.gallery-tile__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bone);
}
.gallery-tile__date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10,14,26,0.95);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
}
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 50px; height: 50px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--bone);
  font-size: 1.5rem;
  display: grid; place-items: center;
}
.lightbox__close:hover { background: var(--gold); color: var(--ink); }

/* ---------- TESTIMONY CARDS ---------- */
.testimony-card {
  background: var(--ink-2);
  border: 1px solid var(--hairline-2);
  padding: 2rem;
  position: relative;
  transition: all 0.5s var(--ease-out);
}
.testimony-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.testimony-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem; left: 1rem;
  font-family: var(--font-display);
  font-size: 7rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
}
.testimony-card__body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--bone);
  margin-bottom: 1.5rem;
  position: relative;
}
.testimony-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline-2);
}
.testimony-card__name {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--bone);
  font-size: 0.95rem;
}
.testimony-card__role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--hairline);
  padding: var(--s-5) 0 var(--s-3);
  position: relative;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; }
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer__col ul li {
  margin-bottom: 0.5rem;
}
.footer__col a {
  color: var(--bone-dim);
  font-size: 0.9rem;
  transition: color 0.25s;
}
.footer__col a:hover { color: var(--gold); }

.newsletter-form {
  display: flex;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 1rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: transparent;
  border: 0;
  color: var(--bone);
  font-size: 0.9rem;
}
.newsletter-form input:focus { outline: 0; }
.newsletter-form input::placeholder { color: var(--mist-2); }
.newsletter-form button {
  padding: 0.85rem 1.5rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--gold-bright); }

.footer__brand-line {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--bone);
  line-height: 1;
  letter-spacing: -0.02em;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--hairline-2);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-3);
  border-top: 1px solid var(--hairline-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--mist-2);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__social { display: flex; gap: 1rem; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--hairline-2);
  border-radius: 50%;
  color: var(--bone-dim);
  transition: all 0.3s;
}
.footer__social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- SCROLL REVEALS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.5rem; }
.hide-mobile { display: initial; }
@media (max-width: 768px) { .hide-mobile { display: none; } }

/* ---------- ANIMATIONS ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- CUSTOM CURSOR (desktop only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.25s, height 0.25s, background 0.25s;
    mix-blend-mode: difference;
  }
  .cursor-dot.hover { width: 24px; height: 24px; background: var(--bone); }
}
@media (hover: none) or (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* ---------- MOBILE NAV PANEL ---------- */
@media (max-width: 1024px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .lang-toggle { margin-left: auto; margin-right: 0.5rem; }

  .nav__menu.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 99;
    padding: var(--s-5) var(--s-3);
  }
  .nav__menu.is-open a {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--bone);
    padding: 0.5rem 1rem;
  }
  .nav__menu.is-open a.active { color: var(--gold); }
}

/* ---------- PRINT ---------- */
@media print {
  .nav, .footer, .scroll-progress, .cursor-dot, body::after { display: none; }
  body { background: white; color: black; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
