:root {
  --cream: #faf7f0;
  --cream-deep: #f3eee3;
  --white: #fffcf7;
  --gold: #d4a84b;
  --gold-soft: #e8c97a;
  --navy: #1b2a4a;
  --navy-soft: #2c4068;
  --ink: #243049;
  --muted: #5c6678;
  --line: rgba(27, 42, 74, 0.1);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.05rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.wrap-wide { width: min(1280px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.brand-name {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 500;
  font-style: italic;
  color: var(--navy);
  max-width: 22rem;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}

.nav { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  font-size: 0.92rem;
  color: var(--navy-soft);
  font-weight: 500;
}
.nav a:hover, .nav a.is-active { color: var(--navy); }
.nav a.is-active { border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-size: 1.3rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1a140c;
}

.hero-media,
.hero video,
.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero video { opacity: 0; pointer-events: none; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 16, 28, 0.55) 0%, rgba(12, 16, 28, 0.22) 42%, rgba(250, 247, 240, 0.15) 72%, var(--cream) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8rem 1.25rem 6rem;
  max-width: 920px;
}

.hero-copy .section-kicker {
  color: #f0d48a;
  animation: fadeSlide 1s ease both;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 500;
  color: #fffaf0;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 40px rgba(0,0,0,0.25);
  animation: fadeSlide 1.15s 0.12s ease both;
}

.hero-copy p.lead {
  margin-top: 1.4rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: rgba(255, 248, 235, 0.92);
  font-family: var(--serif);
  font-style: italic;
  animation: fadeSlide 1.2s 0.28s ease both;
}

.hero-copy .hero-actions {
  animation: fadeSlide 1.2s 0.42s ease both;
}

.hero .btn-ghost {
  border-color: rgba(255,250,240,0.7);
  color: #fffaf0;
}

.hero-actions { margin-top: 2rem; display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1b2a4a; }
.btn-ghost { background: transparent; border: 1px solid var(--navy); color: var(--navy); }

section { padding: 8.5rem 0; }
.section-cinematic { padding: 10rem 0; }
.section-kicker {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  font-weight: 500;
  margin: 0.4rem 0 1rem;
}
.muted { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(27,42,74,0.04);
}
.card h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin: 0.4rem 0 0.6rem; }

.glass-card {
  background: rgba(255, 252, 247, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 2.1rem 1.8rem;
  box-shadow: 0 24px 50px rgba(27, 42, 74, 0.08);
  transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  will-change: transform;
}
.glass-card h3 { font-family: var(--serif); font-size: 1.55rem; color: var(--navy); margin: 0.45rem 0 0.7rem; }
.glass-card:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: rgba(212, 168, 75, 0.55);
  background: rgba(255, 252, 247, 0.82);
  box-shadow: 0 30px 60px rgba(27, 42, 74, 0.12);
}
form.glass-card:hover { transform: none; }

.beliefs-band {
  position: relative;
  background:
    linear-gradient(180deg, rgba(250,247,240,0.55), rgba(250,247,240,0.82)),
    url("../images/hero-morning.jpg") center/cover fixed;
}

.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up.is-in {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.28s; }

.welcome-photo {
  border-radius: 24px;
  width: 100%;
  object-fit: cover;
  min-height: 380px;
  box-shadow: 0 30px 70px rgba(27,42,74,0.12);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #1b2a4a;
  box-shadow: 0 18px 40px rgba(27,42,74,0.12);
}

.video-poster {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 22px 48px rgba(27, 42, 74, 0.14);
}
.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.video-poster:hover img { transform: scale(1.04); }
.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,24,40,0.12), rgba(18,24,40,0.48));
}
.play-orb {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #1b2a4a;
}
.play-orb span {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 252, 247, 0.88);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  transition: transform 0.4s ease, background 0.4s ease;
}
.play-orb svg { width: 28px; height: 28px; margin-left: 4px; }
.video-poster:hover .play-orb span {
  transform: scale(1.06);
  background: #fff;
}
.video-caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fffaf0;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.about-stage {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.4rem;
  align-items: center;
}

.exhibit-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem;
  color: #fffaf0;
  background:
    linear-gradient(180deg, rgba(18,24,40,0.15) 10%, rgba(18,24,40,0.72) 100%),
    url("../images/bible-sun.jpg") center/cover;
}
.exhibit-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fffaf0;
  margin: 0.35rem 0 0.55rem;
}
.exhibit-card p { color: rgba(255,250,240,0.9); margin-bottom: 1.1rem; }
.exhibit-card .btn-gold { align-self: flex-start; }

.upcoming-stack { display: grid; gap: 1rem; }
.upcoming-heading {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--navy);
  font-weight: 500;
  margin: 0.2rem 0 0.4rem;
}
.upcoming-item {
  background: rgba(255, 252, 247, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: 0 16px 36px rgba(27, 42, 74, 0.06);
}
.upcoming-item h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--navy);
  margin: 0.25rem 0 0.45rem;
}
.upcoming-item .btn { margin-top: 0.7rem; }

.seminar-band {
  background: linear-gradient(180deg, #fff9ef 0%, var(--cream) 100%);
}
.seminar-panel {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2.6rem;
  align-items: start;
}
.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-soft);
}
.form .hint { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.form [data-success] {
  color: #2c5a3c;
  background: #e8f4ea;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
  background: linear-gradient(180deg, #fff8ea, var(--cream));
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--navy);
  font-weight: 500;
}

.prose p { margin-bottom: 1rem; }
.prose h2 { font-family: var(--serif); color: var(--navy); font-size: 1.8rem; margin: 1.8rem 0 0.6rem; }

.form { display: grid; gap: 0.85rem; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
.form textarea { min-height: 140px; resize: vertical; }

.detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
}
.detail-pills span {
  background: #fff8ea;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.88rem;
  color: var(--navy);
}
.key-box {
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  margin-top: 1.2rem;
}

.seminar-hero h1 { max-width: 18ch; }
.seminar-lead { margin-top: 0.75rem; font-size: 1.08rem; }
.presenter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.presenter-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1rem 0.65rem 0.65rem;
  box-shadow: 0 10px 24px rgba(27,42,74,0.05);
}
.presenter-chip .avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f0d48a, #d4a84b);
  color: #1b2a4a;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.presenter-chip h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0;
}
.presenter-chip p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 16px 40px rgba(27,42,74,0.06); }
.book-details a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.book-form { max-width: 560px; }

.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.programme {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.programme th, .programme td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.programme th { background: #fff4dc; color: var(--navy); font-size: 0.85rem; letter-spacing: 0.04em; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.7rem;
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq details p { margin-top: 0.6rem; color: var(--muted); }
.brochure-list {
  margin: 0.75rem 0 0.2rem 1.1rem;
  color: var(--muted);
}
.brochure-list li { margin: 0.35rem 0; }

.site-footer {
  background: #fff9ef;
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.6rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { font-family: var(--serif); color: var(--navy); font-size: 1.2rem; margin-bottom: 0.6rem; }
.site-footer a { color: var(--muted); display: block; margin: 0.25rem 0; }
.legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }

.reveal { opacity: 0; transform: translateY(18px); animation: fadeUp .8s ease forwards; }
.reveal:nth-child(2) { animation-delay: .1s; }
.reveal:nth-child(3) { animation-delay: .2s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes kenburns {
  from { transform: scale(1) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 980px) {
  section, .section-cinematic { padding: 5.2rem 0; }
  .grid-3, .grid-2, .footer-grid, .about-stage, .seminar-panel, .presenter-row, .learn-grid { grid-template-columns: 1fr; }
  .beliefs-band { background-attachment: scroll; }
  .hero-copy h1 { color: #fffaf0; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 76px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.4rem;
    border-bottom: 1px solid var(--line);
    gap: 0.9rem;
  }
  .nav.is-open { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy * { animation: none !important; }
  .reveal-up { opacity: 1; transform: none; transition: none; }
  .glass-card { transition: none; }
}