/* ===== BASE: colours (light + dark), reset, layout — loaded on every page =====
   Colours come from the church logo: deep navy, royal blue, gold. */
:root {
  --hf: radial-gradient(circle at 92% -30%, rgba(230, 189, 79, .28), transparent 45%), linear-gradient(120deg, rgba(16, 32, 72, .95), rgba(32, 62, 114, .92));
  --hf-solid: linear-gradient(160deg, #122650, #1f3f78);
  --on-brand: #fff;
  --accent: #e6bd4f;
  --hover: rgba(255, 255, 255, .14);
  --ink: #12233b;
  --paper: #fff;
  --soft: #ffffff;
  --card: #fff;
  --line: rgba(18, 35, 59, .12);
  --shadow: 0 6px 22px rgba(18, 35, 59, .10);
  --logo-radius: 50px;
  --font: "Poppins", "Noto Sans Tamil", "Segoe UI", "Nirmala UI", Latha, Arial, sans-serif
}

[data-theme="dark"] {
  --hf: radial-gradient(circle at 92% -30%, rgba(230, 189, 79, .18), transparent 45%), linear-gradient(120deg, rgba(7, 14, 32, .95), rgba(16, 30, 62, .92));
  --hf-solid: linear-gradient(160deg, #08112a, #14264f);
  --ink: #e8eef8;
  --paper: #0d1424;
  --soft: #141e35;
  --card: #18233d;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 6px 22px rgba(0, 0, 0, .45);
  color-scheme: dark
}

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

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

body {
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-size: clamp(15px, 1vw + 12px, 17px);
  transition: background .3s, color .3s
}

a {
  color: inherit;
  text-decoration: none
}

ul {
  list-style: none
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px
}

body.sabbath {
  overflow: hidden
}



.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.intro-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-screen.intro-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 768px) {
  .intro-video {
    object-fit: contain;
  }
}

@media (max-width: 767px) {
  .intro-video {
    object-fit: cover;
  }
}



@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes shine {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.gospel {
  flex: 1;
  width: min(1100px, 100% - 32px);
  margin: clamp(24px, 5vw, 56px) auto
}

.gospel>* {
  animation: rise .7s both
}

.gospel>*:nth-child(2) {
  animation-delay: .12s
}

.gospel>*:nth-child(3) {
  animation-delay: .24s
}

.tidings {
  font-size: clamp(1.4em, 4vw, 2em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  font-size: 20px;
}



.parable {
  background: var(--soft);
  padding: clamp(18px, 3vw, 30px);
  border-radius: 16px;
  box-shadow: var(--shadow)
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }
}