:root {
  --bg: #faf6fb;
  --bg-soft: #f2ebf5;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(88, 22, 88, 0.12);
  --text: #34153a;
  --muted: #725c78;
  --accent: #940B92;
  --accent-2: #c738bd;
  --shadow: 0 20px 48px rgba(96, 25, 95, 0.1);
  --radius: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(148, 11, 146, 0.14), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(199, 56, 189, 0.12), transparent 24%),
    linear-gradient(180deg, #fcf9fd 0%, #faf6fb 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(130deg, transparent 0 45%, rgba(255, 255, 255, 0.16) 50%, transparent 55% 100%);
  pointer-events: none;
}

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

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

button {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(52, 21, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 21, 58, 0.03) 1px, transparent 1px);
  background-size: 130px 130px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  pointer-events: none;
}

.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(250, 246, 251, 0.84);
  border-bottom: 1px solid rgba(88, 22, 88, 0.08);
}

.navbar {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 110;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  position: relative;
  z-index: 3;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-self: end;
  gap: 16px;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-links a,
.login-btn,
.primary-btn,
.ghost-btn,
.menu-toggle {
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.login-btn,
.primary-btn,
.ghost-btn,
.play-pill {
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  white-space: nowrap;
}

.login-btn {
  justify-self: end;
  color: #ffffff;
  background: var(--accent);
  font-weight: 700;
}

.login-btn:hover,
.login-btn:focus-visible,
.primary-btn:hover,
.primary-btn:focus-visible,
.play-pill:hover,
.play-pill:focus-visible {
  transform: translateY(-2px);
}

main {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

.section {
  padding: 84px 0 0;
}

.section-grid {
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
  padding-top: 32px;
}

.hero-copy h1,
.section-heading h2,
.schedule-head h3,
.service-card h3,
.rail-meta h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.06em;
}

.kicker,
.section-label,
.video-chrome,
.frame-copy span,
.hero-stats span,
.rail-meta span,
.media-card span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.kicker {
  color: var(--accent);
  margin: 0 0 18px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.95;
  max-width: 9ch;
}

.hero-copy h1 span {
  color: var(--accent-2);
}

.hero-text,
.section-heading p,
.schedule-body p,
.service-card p,
.rail-meta p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 49ch;
  font-size: 1.05rem;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-btn {
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

.ghost-btn {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.ghost-btn:hover,
.ghost-btn:focus-visible {
  border-color: rgba(88, 22, 88, 0.18);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.hero-stats article,
.schedule-card,
.service-card,
.rail-card,
.media-card,
.video-shell,
.visual-frame {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 249, 245, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stats article {
  border-radius: 12px;
  padding: 18px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.hero-media {
  position: relative;
}

.video-shell {
  border-radius: 18px;
  padding: 18px;
  transform: rotate(-2deg);
}

.video-chrome {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.video-stage {
  position: relative;
  min-height: 560px;
  border-radius: 14px;
  overflow: hidden;
  background: #eaddeb;
  display: grid;
  place-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 10, 28, 0.08), rgba(24, 10, 28, 0.34));
  pointer-events: none;
}

.video-orb,
.video-wave {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

.video-orb {
  width: 240px;
  height: 240px;
  mix-blend-mode: screen;
  opacity: 0.82;
}

.orb-a {
  background: rgba(148, 11, 146, 0.34);
  top: 12%;
  left: 10%;
  animation: floatA 9s ease-in-out infinite;
}

.orb-b {
  background: rgba(199, 56, 189, 0.3);
  right: 12%;
  bottom: 14%;
  animation: floatB 11s ease-in-out infinite;
}

.video-wave {
  inset: auto -10% -18% -10%;
  height: 42%;
  border-radius: 48% 52% 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(148, 11, 146, 0.18));
  animation: sway 10s ease-in-out infinite;
}

.play-pill {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 28px;
  align-items: start;
}

.section-label {
  color: var(--accent);
  margin: 8px 0 0;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.section-heading p {
  max-width: 60ch;
  margin: 10px 0 0;
}

.scroll-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 30vw);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}

.scroll-rail::-webkit-scrollbar {
  height: 10px;
}

.scroll-rail::-webkit-scrollbar-thumb {
  background: rgba(148, 11, 146, 0.18);
  border-radius: 8px;
}

.rail-card,
.media-card,
.service-card {
  scroll-snap-align: start;
}

.rail-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.card-art,
.service-art,
.media-art {
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.art-orange {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28)),
    radial-gradient(circle at 20% 20%, rgba(255, 192, 120, 0.75), transparent 24%),
    linear-gradient(140deg, #ff7f3f, #4f1f16 78%);
}

.art-lime {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3)),
    radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(135deg, #d6ff3f, #18410f 75%);
}

.art-violet {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25)),
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(135deg, #7b61ff, #180d33 80%);
}

.art-blue {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2)),
    radial-gradient(circle at 70% 22%, rgba(199, 56, 189, 0.2), transparent 18%),
    linear-gradient(145deg, #a23dd3, #381145 78%);
}

.rail-meta {
  padding: 22px;
}

.rail-meta span,
.media-card span {
  color: var(--accent);
}

.rail-meta h3,
.service-card h3 {
  margin: 10px 0 8px;
  font-size: 1.55rem;
  line-height: 1.02;
}

.rail-meta p,
.service-card p,
.schedule-body p {
  margin: 0;
}

.worship-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: start;
}

.visual-frame {
  position: relative;
  min-height: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  background: #eaddec;
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(24, 10, 28, 0.04), rgba(24, 10, 28, 0.42));
  pointer-events: none;
  z-index: 1;
}

.worship-photo {
  display: block;
  width: 100%;
  min-height: 620px;
  height: 100%;
  object-fit: cover;
}

.frame-copy {
  position: absolute;
  inset: auto auto 42px 42px;
  z-index: 2;
  max-width: 260px;
  color: #ffffff;
}

.frame-copy strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.3rem;
  line-height: 0.96;
}

.worship-visual {
  position: sticky;
  top: 96px;
}

.worship-list {
  display: grid;
  gap: 16px;
}

.schedule-card {
  border-radius: 14px;
  padding: 24px;
}

.schedule-head {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.schedule-head h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1;
}

.schedule-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 8px;
}

.schedule-day,
.schedule-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 11, 146, 0.14);
}

.schedule-day {
  background: rgba(148, 11, 146, 0.08);
  color: var(--accent);
}

.schedule-status {
  position: relative;
  gap: 10px;
  padding-left: 12px;
  padding-right: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.schedule-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}

.schedule-status[data-state="live"] {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.16);
}

.schedule-status[data-state="live"]::before {
  animation: livePulse 1.2s ease-out infinite;
}

.schedule-status[data-state="soon"] {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.18);
}

.schedule-status[data-state="ongoing"] {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.18);
}

.schedule-status[data-state="next"] {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border-color: rgba(34, 197, 94, 0.18);
}

.schedule-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 24px;
  align-items: start;
}

.schedule-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.schedule-body li {
  color: var(--text);
  font-weight: 600;
}

.media-rail {
  grid-auto-columns: minmax(240px, 24vw);
}

.media-card {
  border-radius: 14px;
  padding: 14px;
}

.media-art {
  border-radius: 10px;
  min-height: 360px;
}

.media-a {
  background: linear-gradient(160deg, #d6ff3f 0%, #25290f 90%);
}

.media-b {
  background: linear-gradient(145deg, #c84bc0 0%, #3d1549 85%);
}

.media-c {
  background: linear-gradient(155deg, #fe9358 0%, #30180f 85%);
}

.media-d {
  background: linear-gradient(145deg, #7b61ff 0%, #1b1432 85%);
}

.media-card span {
  display: block;
  padding: 16px 8px 6px;
}

.service-rail {
  grid-auto-columns: minmax(280px, 28vw);
}

.service-card {
  border-radius: 14px;
  padding: 16px;
}

.service-art {
  border-radius: 10px;
  min-height: 240px;
  margin-bottom: 18px;
}

.art-service-a {
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.14), transparent 20%),
    linear-gradient(145deg, #d6ff3f, #23300e 82%);
}

.art-service-b {
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.14), transparent 20%),
    linear-gradient(145deg, #ff8b5e, #35160a 82%);
}

.art-service-c {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.14), transparent 20%),
    linear-gradient(145deg, #c84bc0, #40134b 82%);
}

.art-service-d {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.14), transparent 20%),
    linear-gradient(145deg, #8d7dff, #1b1335 82%);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 56px 0 28px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 72px;
}

.site-footer p {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@keyframes floatA {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(34px, 32px, 0) scale(1.08); }
}

@keyframes floatB {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-24px, -34px, 0) scale(0.94); }
}

@keyframes sway {
  0%,
  100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(4%) translateY(-4%); }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.28); }
  70% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.profile-page-hero {
  padding-top: 52px;
}

.profile-intro-grid,
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.profile-copy,
.vision-card,
.profile-video-shell,
.pastors-board {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 249, 245, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-copy,
.vision-card {
  border-radius: 14px;
  padding: 28px;
}

.profile-copy h1,
.vision-card h3,
.pastor-copy h3 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.profile-copy h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.profile-copy p,
.vision-card p,
.pastor-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.profile-copy p + p,
.vision-card p + p,
.pastor-copy p + p {
  margin-top: 16px;
}

.profile-video-shell {
  border-radius: 14px;
  overflow: hidden;
  min-height: 540px;
}

.profile-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.pastors-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 0.9fr);
  border-radius: 18px;
  overflow: hidden;
}

.pastor-copy {
  padding: 28px;
}

.pastor-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.pastor-photo {
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

.history-page-hero {
  padding-top: 52px;
}

.history-wide-photo {
  width: 100%;
  min-height: 420px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.history-copy {
  margin-top: 26px;
}

.history-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.history-copy p + p {
  margin-top: 16px;
}

.history-media-copy {
  margin: 4px 8px 8px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.acara-page {
  padding-top: 52px;
}

.acara-toolbar,
.acara-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 249, 245, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.acara-toolbar {
  position: sticky;
  top: 88px;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 18px;
  margin-bottom: 24px;
}

.acara-toolbar-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.acara-count {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(148, 11, 146, 0.08);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.filter-dropdown {
  position: relative;
}

.filter-button,
.filter-option {
  font: inherit;
}

.filter-button {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.filter-button::-webkit-details-marker {
  display: none;
}

.filter-button::after {
  content: "▾";
  font-size: 0.92rem;
  color: var(--accent);
}

.filter-dropdown[open] .filter-button::after {
  transform: rotate(180deg);
}

.filter-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  z-index: 40;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(250, 246, 251, 0.92);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-option::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 6px;
  border: 1px solid rgba(148, 11, 146, 0.28);
  background: rgba(255, 255, 255, 0.9);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.filter-option:hover,
.filter-option:focus-visible,
.filter-option.is-active {
  border-color: rgba(148, 11, 146, 0.18);
  background: rgba(148, 11, 146, 0.08);
  transform: translateY(-1px);
}

.filter-option.is-active::after {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.acara-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.acara-card {
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.acara-card[data-href] {
  cursor: pointer;
}

.acara-card[data-href]:hover,
.acara-card[data-href]:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(148, 11, 146, 0.22);
}

.acara-card[hidden] {
  display: none;
}

.acara-card-image {
  position: relative;
  min-height: 240px;
  background-size: cover;
  background-position: center;
}

.media-item[data-video] .acara-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 8, 20, 0.06), rgba(18, 8, 20, 0.34));
}

.media-item[data-video] {
  cursor: pointer;
}

.media-item[data-video]:hover,
.media-item[data-video]:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(148, 11, 146, 0.22);
}

.media-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(30, 12, 34, 0.16);
  z-index: 1;
}

.media-play::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-40%, -50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--accent);
}

.acara-card-body {
  padding: 22px;
}

.acara-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(148, 11, 146, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.acara-card h3 {
  margin: 14px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.acara-card p,
.acara-card time {
  color: var(--muted);
  line-height: 1.7;
}

.acara-card p {
  margin: 0 0 8px;
}

.acara-card time {
  display: block;
  font-weight: 600;
}

.acara-load-wrap {
  display: flex;
  justify-content: center;
  padding-top: 26px;
}

.acara-load-more {
  min-width: 280px;
}

.acara-load-wrap[hidden] {
  display: none;
}

.acara-detail {
  padding-top: 40px;
}

.acara-back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 600;
}

.acara-back:hover,
.acara-back:focus-visible {
  text-decoration: underline;
}

.acara-detail-hero h1 {
  margin: 14px 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.acara-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.acara-detail-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(148, 11, 146, 0.08);
  color: var(--accent);
  font-weight: 700;
}

.acara-detail-meta time {
  color: var(--muted);
  font-weight: 600;
}

.acara-detail-image {
  width: 100%;
  min-height: 420px;
  margin: 26px 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.acara-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.acara-detail-body,
.acara-detail-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 249, 245, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 28px;
}

.acara-detail-body p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.8;
}

.acara-detail-body h2 {
  margin: 24px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.acara-detail-body ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--text);
}

.acara-detail-card {
  position: sticky;
  top: 96px;
}

.acara-detail-card h3 {
  margin: 0 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.acara-detail-card dl {
  margin: 0 0 22px;
  display: grid;
  gap: 14px;
}

.acara-detail-card dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.acara-detail-card dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 600;
}

.acara-detail-card .primary-btn {
  width: 100%;
}

.video-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 220;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 10, 28, 0.74);
  backdrop-filter: blur(10px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 70px rgba(16, 5, 20, 0.4);
  background: #140916;
}

.video-modal-player {
  display: block;
  width: 100%;
  max-height: min(78vh, 720px);
  background: #000000;
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.blog-page,
.article-page {
  padding-top: 40px;
}

.pelayanan-page {
  padding-top: 40px;
}

.pelayanan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pelayanan-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 249, 245, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pelayanan-card:hover,
.pelayanan-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(148, 11, 146, 0.22);
}

.pelayanan-image {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.pelayanan-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  flex: 1;
}

.pelayanan-body h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.pelayanan-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.pelayanan-body .primary-btn {
  margin-top: auto;
  align-self: flex-start;
}

.blog-feature,
.blog-card,
.article-body {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 249, 245, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.blog-feature,
.blog-card {
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.blog-feature:hover,
.blog-feature:focus-visible,
.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(148, 11, 146, 0.22);
}

.blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 24px;
}

.blog-feature-image,
.blog-card-image,
.article-cover {
  background-size: cover;
  background-position: center;
}

.blog-feature-image {
  min-height: 360px;
}

.blog-feature-body,
.blog-card-body {
  padding: 24px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(148, 11, 146, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-feature h3,
.blog-card h3,
.article-hero h1,
.article-body h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.blog-feature h3 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.blog-card h3 {
  margin: 14px 0 10px;
  font-size: 1.5rem;
  line-height: 1.05;
}

.blog-feature p,
.blog-card p,
.article-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  display: block;
  overflow: hidden;
  border-radius: 18px;
}

.blog-card-image {
  min-height: 220px;
}

.article-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.98;
}

.article-cover {
  min-height: 420px;
  margin: 26px 0;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-body {
  border-radius: 20px;
  padding: 32px;
}

.article-body h2 {
  margin: 26px 0 12px;
  font-size: 1.6rem;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: rgba(148, 11, 146, 0.06);
  border-radius: 0 14px 14px 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .section-heading,
  .worship-layout,
  .profile-intro-grid,
  .vision-mission-grid,
  .pastors-board,
  .pastor-photos,
  .blog-feature,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .acara-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .acara-detail-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pelayanan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .acara-detail-card {
    position: relative;
    top: 0;
  }

  .hero-copy h1 {
    max-width: 11ch;
  }

  .worship-visual {
    position: relative;
    top: 0;
  }

  .profile-video-shell,
  .profile-video,
  .pastor-photo {
    min-height: 420px;
  }

  .pastor-photos {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 920px) {
  .section-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }

  .acara-toolbar {
    top: 78px;
    flex-direction: column;
    align-items: stretch;
  }

  .filter-dropdown,
  .filter-button {
    width: 100%;
  }

  .filter-menu {
    left: 0;
    right: 0;
    min-width: 0;
  }

  .navbar {
    min-height: 84px;
    padding: 14px 0;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    position: relative;
    z-index: 3;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 120;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .navbar.menu-open .nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .navbar.menu-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .navbar.menu-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    justify-self: stretch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .nav-links a,
  .login-btn {
    min-height: 46px;
    width: 100%;
    padding: 0 16px;
    border-radius: 10px;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    border: 1px solid rgba(148, 11, 146, 0.08);
    background: rgba(250, 246, 251, 0.96);
  }

  .login-btn {
    justify-self: stretch;
    width: 100%;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .video-shell {
    transform: rotate(0deg);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 20px, 1240px);
  }

  .section {
    padding-top: 64px;
  }

  .acara-toolbar,
  .acara-card-body,
  .blog-feature-body,
  .blog-card-body,
  .article-body {
    padding: 18px;
  }

  .acara-list,
  .blog-grid,
  .blog-feature {
    grid-template-columns: 1fr;
  }

  .pelayanan-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .navbar {
    gap: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
    border-radius: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 16vw, 4.2rem);
    max-width: 8ch;
  }

  .video-stage {
    min-height: 420px;
  }

  .visual-frame::before {
    min-height: 360px;
  }

  .frame-copy {
    inset: auto auto 26px 26px;
  }

  .frame-copy strong {
    font-size: 1.8rem;
  }

  .schedule-badges {
    justify-self: start;
  }

  .schedule-day,
  .schedule-status {
    width: fit-content;
  }

  .scroll-rail,
  .service-rail,
  .media-rail {
    grid-auto-columns: 82%;
  }

  .schedule-head,
  .schedule-body {
    grid-template-columns: 1fr;
  }

  .schedule-head {
    display: grid;
  }

  .site-footer {
    flex-direction: column;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
