:root {
  --bg-1: #070b14;
  --bg-2: #0d1524;
  --bg-3: #121d2f;
  --panel: rgba(14, 21, 34, 0.88);
  --panel-soft: rgba(18, 29, 45, 0.8);
  --panel-strong: rgba(10, 16, 27, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --white: #f8f9ff;
  --text: #ebf0ff;
  --muted: #b3bfd7;
  --gold: #f5c977;
  --gold-soft: #ffdb8b;
  --purple: #8c7bfd;
  --purple-soft: #b7a7ff;
  --ink: #0a111d;
  --success: #8de9c0;
  --error: #ffb4a2;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(140, 123, 253, 0.15), transparent 25%),
    radial-gradient(circle at right 15%, rgba(245, 201, 119, 0.12), transparent 28%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 40%, var(--bg-3));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 85%);
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

p,
ul,
li,
h1,
h2,
h3 {
  margin: 0;
}

img {
  border: 0;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(12, 18, 30, 0.76);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.brand span,
.brand small {
  display: block;
  color: var(--white);
  line-height: 1;
}

.brand span {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--ink);
  box-shadow: 0 18px 35px rgba(245, 201, 119, 0.25);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-top: 20px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(19, 29, 45, 0.9), rgba(12, 18, 30, 0.9)),
    url('assets/worshipteam.jpg') center/cover no-repeat;
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold-soft);
  margin-bottom: 16px;
}

.hero-copy h1,
.panel-intro h2,
.story-copy h2,
.visit-copy-block h2 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  max-width: 640px;
  font-size: clamp(3.2rem, 5vw, 6rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.scripture-ticker {
  margin-top: 26px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(245, 201, 119, 0.2);
  background: linear-gradient(135deg, rgba(245, 201, 119, 0.09), rgba(140, 123, 253, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ticker-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.scripture-ticker p {
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
}

.scripture-ticker small {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  padding: 0;
}

.mini-stats li {
  min-width: 170px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.mini-stats strong,
.mini-stats span {
  display: block;
}

.mini-stats strong {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
}

.visual-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.large-card {
  grid-row: span 2;
  min-height: 420px;
}

.small-card {
  height: 195px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.feature-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(18, 29, 45, 0.72);
  box-shadow: var(--shadow);
}

.feature-tag {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(140, 123, 253, 0.14);
  border: 1px solid rgba(140, 123, 253, 0.26);
  color: var(--purple-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 700;
}

.panel {
  margin-top: 20px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(12, 18, 30, 0.8);
  box-shadow: var(--shadow);
}

.panel-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.panel-intro h2,
.story-copy h2,
.visit-copy-block h2 {
  color: var(--white);
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 600;
}

.panel-copy {
  max-width: 480px;
  color: var(--muted);
  line-height: 1.75;
}

.service-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(18, 29, 45, 0.9), rgba(12, 18, 30, 0.9));
}

.service-card.alt {
  background: linear-gradient(160deg, rgba(23, 18, 38, 0.9), rgba(12, 18, 30, 0.9));
}

.service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.service-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.service-badge {
  display: inline-flex;
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  background: rgba(245, 201, 119, 0.12);
  border: 1px solid rgba(245, 201, 119, 0.3);
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-time {
  font-size: clamp(2.1rem, 3vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.7;
}

.countdown {
  margin-top: 22px;
  font-weight: 700;
  color: var(--gold-soft);
}

.fb-status {
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 600;
}

.live-banner {
  overflow: hidden;
  background: #b91c1c;
  color: #fff;
  padding: 10px 0;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.live-banner-track {
  display: flex;
  width: max-content;
  animation: live-banner-scroll 14s linear infinite;
}

.live-banner-track span {
  padding: 0 24px;
  white-space: nowrap;
}

@keyframes live-banner-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-banner-track {
    animation: none;
  }
}

.facebook-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.facebook-wrap iframe {
  width: 100%;
  aspect-ratio: 560 / 314;
  display: block;
}

.visit-layout,
.story-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
}

.visit-copy-block {
  display: grid;
  gap: 16px;
}

.visit-copy-block p,
.story-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.quick-facts div {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.quick-facts strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.quick-facts span,
.quick-facts a {
  color: var(--muted);
  text-decoration: none;
  line-height: 1.7;
}

.expectation-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(18, 29, 45, 0.96), rgba(10, 16, 27, 0.96));
}

.expectation-card h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1.7rem;
}

.expectation-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}

.expectation-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.expectation-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.53em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 18px rgba(245, 201, 119, 0.6);
}

.story-media {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.story-copy {
  display: grid;
  gap: 18px;
}

.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.map-actions {
  margin-top: 22px;
}

.announcement-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.announcement-list li {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
}

.announcement-label {
  color: var(--gold-soft);
  font-weight: 700;
  margin-right: 8px;
}

.announcement-text {
  color: var(--text);
  line-height: 1.7;
  border-radius: 8px;
  padding: 0.08rem 0.2rem;
}

.announcement-text:focus {
  outline: 2px solid rgba(140, 123, 253, 0.6);
  background: rgba(255, 255, 255, 0.03);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

#connect-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.025);
  color: var(--white);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(179, 191, 215, 0.7);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(245, 201, 119, 0.38);
  border-color: transparent;
}

.message-label {
  grid-column: 1 / -1;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.response {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  margin-top: 10px;
  font-weight: 700;
  color: var(--success);
}

.response.show {
  opacity: 1;
  transform: translateY(0);
}

.response.error {
  color: var(--error);
}

.pulse {
  animation: pulse 1.8s infinite;
}

footer {
  margin-top: 22px;
  padding: 18px 22px 10px;
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@media (max-width: 920px) {
  .topbar,
  .panel-intro,
  .visit-layout,
  .story-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .topbar {
    gap: 18px;
    justify-items: start;
    padding: 18px 18px 20px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .panel-intro {
    align-items: start;
  }

  .service-layout,
  .feature-band,
  .form-grid,
  .quick-facts {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    grid-template-columns: 1fr 1fr;
  }

  .large-card {
    grid-column: 1 / -1;
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 18px, 1200px);
  }

  .topbar {
    padding: 16px;
  }

  .main-nav {
    gap: 12px 18px;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    display: grid;
  }

  .mini-stats {
    display: grid;
    gap: 12px;
  }

  .hero {
    padding: 20px 18px;
  }

  .hero-copy h1 {
    font-size: 3.1rem;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .map-wrap iframe {
    height: 260px;
  }
}
