@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap");

:root {
  --ink: #202522;
  --muted: #6d7771;
  --cream: #f2f5ef;
  --paper: #fbfbf6;
  --surface: #ffffff;
  --surface-soft: #eef4ee;
  --teal: #0b5d4b;
  --teal-dark: #0f4c5c;
  --gold: #dce96f;
  --coral: #5f806c;
  --mustard: #d8e4d8;
  --line: rgba(23, 33, 31, 0.13);
  --shadow: 0 24px 70px rgba(6, 31, 25, 0.18);
  --soft-shadow: 0 16px 44px rgba(6, 31, 25, 0.1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(23, 79, 60, 0.12), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(95, 128, 108, 0.12), transparent 28rem),
    linear-gradient(180deg, #fbfbf6 0%, #eef4ee 46%, #fbfbf6 100%);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.opening-flash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 58%, rgba(10, 22, 38, 0.42), rgba(255, 255, 255, 0.34) 30%, rgba(10, 22, 38, 0.94) 100%);
  animation: opening-disappear 3.2s ease forwards;
}

.opening-flash::after {
  content: "";
  position: absolute;
  width: min(560px, 82vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 22, 38, 0.5), rgba(10, 22, 38, 0.18) 42%, transparent 68%);
  filter: blur(20px);
  opacity: 0.72;
}

.opening-cross {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(250px, 42vw);
  height: min(350px, 58vw);
  transform: translate(-50%, -50%);
  opacity: 0;
  filter:
    drop-shadow(0 0 16px rgba(255, 255, 255, 1))
    drop-shadow(0 0 54px rgba(255, 255, 255, 0.82))
    drop-shadow(0 0 118px rgba(255, 255, 255, 0.6));
  animation: cross-light-fade 3.2s ease forwards;
}

.opening-cross::before,
.opening-cross::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), #ffffff 38%, #ffffff 62%, rgba(255, 255, 255, 0.42));
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.96),
    0 0 34px rgba(255, 255, 255, 0.82),
    0 0 72px rgba(255, 255, 255, 0.58);
}

.opening-cross::before {
  width: clamp(24px, 4.4vw, 42px);
  height: 100%;
  transform: translate(-50%, -50%);
}

.opening-cross::after {
  width: 82%;
  height: clamp(22px, 3.8vw, 36px);
  top: 29%;
  transform: translateX(-50%);
}

.opening-name {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  -webkit-text-stroke: 2px rgba(10, 22, 38, 0.42);
  text-shadow:
    0 4px 22px rgba(10, 22, 38, 0.72),
    0 0 10px rgba(255, 255, 255, 1),
    0 0 28px rgba(255, 255, 255, 0.92),
    0 0 62px rgba(255, 255, 255, 0.86),
    0 0 96px rgba(255, 255, 255, 0.58);
  animation: jesus-flash 3.2s ease-in-out 1 forwards;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: none;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 3vw, 42px);
  width: 100%;
  padding: 18px clamp(18px, 7vw, 124px);
  overflow: visible;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
  will-change: transform, background;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: transparent;
  pointer-events: none;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(231, 247, 252, 0.18);
  background:
    linear-gradient(90deg, rgba(15, 76, 92, 0.96), rgba(11, 93, 75, 0.94) 62%, rgba(15, 76, 92, 0.86)),
    #0f4c5c;
  box-shadow: 0 18px 42px rgba(15, 76, 92, 0.28);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.site-header.is-scrolled::before {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.1), transparent 24%, rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 12% 0%, rgba(180, 235, 211, 0.12), transparent 18rem);
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.logo-glass {
  position: relative;
  display: grid;
  width: clamp(60px, 5.6vw, 76px);
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform-origin: center;
  animation: logo-card-arrive 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition: transform 180ms ease;
  will-change: transform;
}

.logo-glass::before {
  content: "";
  position: absolute;
  left: 22%;
  top: 48%;
  z-index: 2;
  width: 54%;
  height: 36%;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 210, 0.82) 0%, rgba(255, 224, 32, 0.42) 34%, transparent 72%);
  clip-path: polygon(3% 88%, 3% 34%, 25% 66%, 50% 12%, 75% 66%, 97% 34%, 97% 88%);
  opacity: 0.22;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: opacity, filter, transform;
  animation: crown-glow 2.8s ease-in-out infinite;
}

.logo-glass::after {
  content: "";
  position: absolute;
  left: 22%;
  top: 48%;
  z-index: 3;
  width: 54%;
  height: 36%;
  border-radius: 6px;
  background:
    linear-gradient(112deg, transparent 28%, rgba(255, 255, 255, 0.92) 45%, rgba(255, 242, 111, 0.82) 52%, transparent 68%);
  clip-path: polygon(3% 88%, 3% 34%, 25% 66%, 50% 12%, 75% 66%, 97% 34%, 97% 88%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transform: translate3d(-26%, 0, 0) rotate(-7deg);
  will-change: opacity, transform;
  animation: crown-w-shine-sweep 3.8s ease-in-out infinite 0.7s;
}

.brand:hover .logo-glass {
  transform: translate3d(0, -3px, 0) scale(1.015);
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: auto;
  height: 112%;
  max-width: 118%;
  object-fit: contain;
  filter:
    drop-shadow(0 5px 10px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 10px rgba(226, 255, 238, 0.18));
  transform-origin: center;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  color: #ffffff;
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  line-height: 1.05;
}

.brand-copy small {
  color: rgba(232, 244, 237, 0.82);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Arial Black", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(0.67rem, 0.76vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.nav a {
  position: relative;
  border-radius: 0;
  padding: 10px 0;
  color: inherit;
  transition: color 160ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover {
  color: #ffffff;
}

.nav a.is-active {
  color: #dcf56e;
}

.nav a:hover::after,
.nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.mobile-header-actions,
.site-search-panel {
  display: none;
}

.mobile-header-actions {
  margin-left: auto;
}

.mobile-icon-button,
.search-submit {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
}

.mobile-icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
}

.mobile-icon-button:hover,
.mobile-icon-button.is-active {
  border-color: rgba(220, 233, 111, 0.54);
  background: rgba(220, 233, 111, 0.14);
}

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

.menu-toggle span + span {
  margin-top: 5px;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.search-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.hero {
  position: relative;
  min-height: min(860px, calc(100svh + 80px));
  overflow: hidden;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(134px, 13vw, 190px) clamp(20px, 5vw, 72px) clamp(138px, 12vw, 180px);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  transform: none;
}

.hero::before {
  bottom: clamp(18px, 2vw, 28px);
  z-index: 1;
  height: clamp(86px, 8vw, 134px);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 180' preserveAspectRatio='none'%3E%3Cpath d='M0 42 C420 110 1120 110 1600 42 L1600 180 L0 180 Z' fill='%23b1e2da' fill-opacity='0.58'/%3E%3C/svg%3E")
    bottom center / 100% 100% no-repeat;
}

.hero::after {
  bottom: -1px;
  z-index: 2;
  height: clamp(96px, 9vw, 150px);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 180' preserveAspectRatio='none'%3E%3Cpath d='M0 38 C420 104 1120 104 1600 38 L1600 180 L0 180 Z' fill='%23fbfbf6'/%3E%3C/svg%3E")
    bottom center / 100% 100% no-repeat;
}

.hero-slideshow,
.hero-slideshow img,
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slideshow {
  z-index: -3;
  background: #0f4c5c;
}

.hero-video {
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.88;
  filter: saturate(1.14) contrast(1.06) brightness(1.05);
}

.hero-slideshow img {
  object-fit: cover;
  object-position: center 38%;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 1600ms ease-in-out, transform 6800ms ease;
}

.hero-slideshow img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slideshow img:nth-child(2) {
  object-position: center 42%;
}

.hero-slideshow img:nth-child(3) {
  object-position: center 45%;
}

.hero-slideshow img:nth-child(4) {
  object-position: center 34%;
}

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 80% 18%, rgba(142, 244, 197, 0.16), transparent 22rem),
    linear-gradient(180deg, rgba(15, 76, 92, 0.62), rgba(11, 93, 75, 0.5) 56%, rgba(15, 76, 92, 0.58)),
    linear-gradient(90deg, rgba(11, 93, 75, 0.36), rgba(15, 76, 92, 0.24) 54%, rgba(11, 93, 75, 0.32));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(780px, 100%);
  color: white;
  display: grid;
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #d8fff0;
  backdrop-filter: blur(12px);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: inherit;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", "Lucida Handwriting", cursive;
  font-weight: 700;
  font-size: clamp(3.25rem, 7.6vw, 7rem);
  line-height: 1.05;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.05rem, 4.6vw, 4.4rem);
  text-wrap: balance;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  font-weight: 900;
}

.hero-copy {
  max-width: 620px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 1.8vw, 1.24rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.slide-dot {
  width: 34px;
  height: 8px;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  transition: width 220ms ease, background 220ms ease, transform 220ms ease;
}

.slide-dot:hover,
.slide-dot.is-active {
  width: 58px;
  background: #d8e4d8;
  transform: translateY(-1px);
}

.button,
button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, #174f3c, #083628);
  color: white;
  box-shadow: 0 14px 32px rgba(8, 54, 40, 0.24);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  backdrop-filter: blur(14px);
}

.button.dark,
button {
  background: var(--teal-dark);
  color: white;
}

.button.light {
  border: 1px solid rgba(8, 54, 40, 0.16);
  background: white;
  color: var(--teal-dark);
}

.service-panel {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(24px, 5vw, 58px);
  width: min(390px, calc(100% - 36px));
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(145%);
  transform: translateZ(0);
  transition: transform 180ms ease;
}

.service-panel:hover {
  transform: translate3d(0, -3px, 0);
}

.service-panel::before,
.service-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.service-panel::before {
  inset: -20% -56%;
  z-index: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.48) 50%, transparent 60%);
  opacity: 0;
  transform: translate3d(-42%, 0, 0) rotate(10deg);
  will-change: opacity, transform;
  animation: service-card-shine 7.5s ease-in-out infinite;
}

.service-panel::after {
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(23, 79, 60, 0.08) 44.5% 45.5%, transparent 46% 100%);
  background-size: 38px 38px;
  opacity: 0.26;
}

.service-panel > * {
  position: relative;
  z-index: 1;
}

.service-panel span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-panel span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(23, 79, 60, 0.12);
  will-change: opacity, transform;
  animation: service-dot-pulse 2.8s ease-in-out infinite;
}

.service-invite {
  display: block;
  margin-top: 10px;
  color: var(--teal-dark);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
}

.service-panel em {
  display: block;
  margin-top: 6px;
  color: var(--coral);
  font-style: normal;
  font-weight: 900;
  will-change: transform;
  animation: service-day-pulse 3.4s ease-in-out infinite;
}

.service-panel strong {
  position: relative;
  display: block;
  margin-top: 8px;
  padding-bottom: 7px;
  font-size: 1.46rem;
}

.service-panel strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(180px, 72%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--mustard), var(--coral), var(--teal));
  transform: scaleX(0.72);
  transform-origin: left;
  will-change: opacity, transform;
  animation: service-time-line 3.8s ease-in-out infinite;
}

.service-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.service-pastor {
  display: inline-flex;
  margin-top: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(23, 79, 60, 0.1);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

section:not(.hero) {
  padding: clamp(72px, 10vw, 126px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(1140px, 100%);
  margin: 0 auto 34px;
}

.section-heading h2 {
  max-width: 740px;
}

.welcome-section {
  position: relative;
  margin-top: -1px;
  padding-top: clamp(82px, 8vw, 124px) !important;
  padding-bottom: clamp(60px, 7vw, 96px) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 170, 211, 0.08), transparent 26rem),
    linear-gradient(180deg, #fbfbf6 0%, #ffffff 100%);
}

.welcome-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.welcome-script {
  margin: 0 0 28px;
  color: #15bde8;
  font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", "Lucida Handwriting", cursive;
  font-size: clamp(3.2rem, 6.2vw, 5.4rem);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow: 0 14px 34px rgba(17, 154, 194, 0.18);
}

.welcome-text {
  max-width: 1000px;
  margin: 0 auto;
  color: #4a5550;
  font-size: clamp(1.03rem, 1.45vw, 1.22rem);
  line-height: 1.68;
  text-align: left;
}

.welcome-text strong {
  color: #222a26;
  font-weight: 900;
}

.phone-showcase-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  overflow: hidden;
  min-height: clamp(620px, 55vw, 760px);
  padding-top: clamp(76px, 8vw, 120px) !important;
  padding-bottom: clamp(76px, 8vw, 120px) !important;
  background:
    radial-gradient(circle at 18% 32%, rgba(21, 189, 232, 0.1), transparent 22rem),
    linear-gradient(90deg, #ffffff 0 50%, #e8e8e6 50% 100%);
}

.phone-showcase-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 50%;
  height: auto;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 84%, rgba(3, 18, 15, 0.12), transparent 17rem),
    radial-gradient(circle at 68% 26%, rgba(255, 255, 255, 0.62), transparent 16rem);
}

.phone-showcase-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  justify-self: center;
  text-align: center;
}

.phone-showcase-copy h2 {
  max-width: 100%;
  margin: 0 auto;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.phone-showcase-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px auto 0;
  color: #111917;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.65;
}

.online-social-actions {
  display: grid;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.online-social-actions a {
  display: inline-flex;
  width: min(220px, 64vw);
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #15bde8;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(21, 189, 232, 0.22);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.online-social-actions a:hover {
  background: #0b5d4b;
  box-shadow: 0 18px 34px rgba(11, 93, 75, 0.2);
  transform: translateY(-2px);
}

.phone-stage {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  height: clamp(500px, 44vw, 650px);
  margin: 0 auto;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.phone-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(180px, 15.5vw, 250px);
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.phone-card-left {
  z-index: 1;
}

.phone-card-center {
  z-index: 3;
}

.phone-card-right {
  z-index: 2;
}

.phone-label {
  display: block;
  width: fit-content;
  margin: 0 auto 12px;
  border: 1px solid rgba(15, 76, 92, 0.12);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(6, 31, 25, 0.08);
}

.iphone-frame {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border: 9px solid #080b0d;
  border-radius: clamp(34px, 3.2vw, 48px);
  background: #080b0d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    18px 26px 42px rgba(3, 18, 15, 0.24),
    0 42px 72px rgba(3, 18, 15, 0.16);
}

.iphone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 4;
  width: 34%;
  height: 18px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(36, 40, 43, 0.98), rgba(1, 4, 6, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.iphone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: clamp(24px, 2.6vw, 38px);
  background: #091013;
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
}

.split > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-section {
  --intro-grid-x: 0px;
  --intro-grid-y: 0px;
  --intro-grid-x-alt: 0px;
  --intro-grid-y-alt: 0px;
  --intro-sheen-x: 0px;
  --intro-sheen-y: 0px;
  --intro-sheen-x-alt: 0px;
  --intro-sheen-y-alt: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0 7%, #e8f6f3 7% 9%, #0f4c5c 35%, #0b5d4b 70%, #f7fffd 100%);
}

.intro-section::before,
.intro-section::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 138vw;
  pointer-events: none;
  transform: translateX(-50%);
}

.intro-section::before {
  top: clamp(16px, 4vw, 48px);
  z-index: 0;
  height: min(390px, 46%);
  border-radius: 0 0 50% 50% / 0 0 18% 24%;
  opacity: 0.96;
  background:
    radial-gradient(circle at 34% 10%, rgba(255, 255, 255, 0.28), transparent 15rem),
    linear-gradient(104deg, #0f4c5c 0%, #0b5d4b 48%, #0f4c5c 100%);
  background-position:
    var(--intro-grid-x) var(--intro-grid-y),
    var(--intro-grid-x-alt) var(--intro-grid-y-alt);
  background-size: 120% 100%, 140% 100%;
  filter: drop-shadow(0 16px 0 rgba(15, 76, 92, 0.28));
  transform: translate3d(calc(-50% + var(--intro-sheen-x)), var(--intro-sheen-y), 0) rotate(-1deg);
  transition: opacity 180ms ease;
}

.intro-section::after {
  bottom: clamp(22px, 5vw, 64px);
  z-index: 0;
  height: min(410px, 54%);
  border-radius: 50% 50% 0 0 / 18% 24% 0 0;
  opacity: 0.98;
  background:
    linear-gradient(96deg, #0b5d4b 0%, #0f4c5c 52%, #0b5d4b 100%),
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.2), transparent 16rem);
  background-position:
    var(--intro-grid-x-alt) var(--intro-grid-y-alt),
    var(--intro-grid-x) var(--intro-grid-y);
  background-size: 135% 100%, 100% 100%;
  box-shadow:
    0 -18px 0 rgba(15, 76, 92, 0.28),
    0 26px 0 rgba(177, 226, 218, 0.62);
  transform: translate3d(calc(-50% + var(--intro-sheen-x-alt)), var(--intro-sheen-y-alt), 0) rotate(1deg);
}

.intro-section:hover::before {
  opacity: 0.9;
}

.intro-section > * {
  position: relative;
  z-index: 1;
}

.intro-section .eyebrow {
  color: #c9f7e7;
}

.intro-section .section-heading h2 {
  color: #ffffff;
  text-shadow: 0 12px 34px rgba(0, 70, 120, 0.28);
}

.intro-grid,
.events-grid {
  width: min(1140px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid article,
.event-card {
  min-height: 220px;
  padding: 30px;
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.intro-grid article {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 255, 251, 0.78));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.intro-grid article::before {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--mustard));
}

.intro-grid p,
.event-card p,
.ministry-item p {
  margin: 0;
  color: var(--muted);
}

.focus-panel {
  width: min(1140px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 18px;
}

.focus-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(244, 255, 251, 0.68));
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
}

.focus-tab {
  min-height: 46px;
  border-radius: 16px;
  padding: 10px;
  background: transparent;
  color: var(--teal-dark);
  font-size: 0.88rem;
}

.focus-tab:hover,
.focus-tab.is-active {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
}

.focus-card {
  min-height: 150px;
  padding: 26px;
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 20%, rgba(77, 220, 193, 0.18), transparent 18rem),
    linear-gradient(135deg, #0f4c5c, #0b5d4b 62%, #0f4c5c);
  color: white;
  box-shadow: var(--shadow);
}

.focus-card span {
  color: #9ff4d5;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.focus-card h3 {
  margin-top: 10px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.focus-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.ministries-section {
  background: #f5f8fb;
}

.ministry-list {
  width: min(1140px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border-top: 0;
}

.ministry-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 24px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.ministry-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: #dff8ec;
  color: #0d6b49;
  font-weight: 800;
}

.lessons-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(23, 79, 60, 0.1), transparent 22rem),
    radial-gradient(circle at 88% 80%, rgba(95, 128, 108, 0.12), transparent 22rem),
    linear-gradient(180deg, #ffffff, #eef8f3);
}

.lessons-grid {
  width: min(1140px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lesson-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 30px;
  border: 1px solid rgba(23, 79, 60, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.lesson-card::before {
  content: "";
  display: block;
  width: 52px;
  height: 5px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--mustard));
}

.lesson-card::after {
  content: "";
  position: absolute;
  right: -52px;
  top: -52px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 223, 189, 0.28), transparent 68%);
  pointer-events: none;
}

.lesson-card span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.lesson-card h3 {
  max-width: 14ch;
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 1.06;
}

.lesson-card p {
  margin: 16px 0 24px;
  color: var(--muted);
}

.gallery-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(23, 79, 60, 0.12), transparent 22rem),
    radial-gradient(circle at 18% 78%, rgba(95, 128, 108, 0.13), transparent 20rem),
    linear-gradient(180deg, #ffffff, #f5f8fb);
}

.gallery-section .section-heading {
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 380px);
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: 28px;
}

.gallery-section .section-heading h2 {
  max-width: 670px;
}

.gallery-section .section-heading > p {
  max-width: 380px;
  justify-self: end;
}

.gallery-album {
  width: min(1140px, 100%);
  margin: 0 auto;
}

.gallery-album + .gallery-album {
  margin-top: 42px;
}

.gallery-album-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(23, 79, 60, 0.12);
}

.gallery-album-heading h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.gallery-album-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-folder-grid {
  width: min(1140px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-folder {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 0;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  border: 1px solid rgba(23, 79, 60, 0.12);
  border-radius: 22px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 248, 243, 0.9));
  color: var(--ink);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.folder-tab {
  position: absolute;
  left: 20px;
  top: 0;
  width: 42%;
  height: 28px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  opacity: 0.18;
}

.gallery-folder img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(7, 25, 48, 0.16);
  transition: transform 420ms ease, filter 420ms ease;
}

.folder-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 4px 2px;
}

.folder-meta h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 1.08rem;
  line-height: 1.1;
}

.folder-meta p {
  margin: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(95, 128, 108, 0.1);
  color: #0d6b49;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.gallery-folder:hover,
.gallery-folder:focus-visible {
  border-color: rgba(23, 79, 60, 0.24);
  box-shadow: 0 26px 60px rgba(7, 25, 48, 0.16);
  outline: none;
  transform: translateY(-5px);
}

.gallery-folder:hover img,
.gallery-folder:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.video-feature {
  width: min(1140px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(23, 79, 60, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 244, 238, 0.82));
  box-shadow: var(--soft-shadow);
}

.video-feature-copy {
  padding: 14px;
}

.video-feature-copy h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(1.7rem, 2.8vw, 3rem);
  line-height: 1;
}

.video-feature-copy p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.video-feature video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #071626;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(6, 31, 25, 0.14);
}

.tribute-feature {
  border-color: rgba(11, 93, 75, 0.18);
  background:
    radial-gradient(circle at 82% 12%, rgba(185, 238, 218, 0.4), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 246, 241, 0.86));
}

.tribute-feature .eyebrow {
  color: var(--teal);
}

.tribute-feature video {
  border-color: rgba(255, 255, 255, 0.42);
}

.birthday-section {
  background:
    radial-gradient(circle at 12% 24%, rgba(95, 128, 108, 0.12), transparent 22rem),
    radial-gradient(circle at 88% 76%, rgba(23, 79, 60, 0.1), transparent 22rem),
    linear-gradient(180deg, #eef8f3, #ffffff);
}

.birthday-card {
  width: min(1140px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(23, 79, 60, 0.12);
  border-radius: 26px;
  padding: clamp(20px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.birthday-card-copy span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.birthday-card-copy h3 {
  margin: 10px 0 0;
  color: var(--teal-dark);
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  line-height: 1.04;
}

.birthday-card-copy p {
  margin: 14px 0 0;
  color: var(--muted);
}

.birthday-media {
  display: grid;
  gap: 16px;
}

.birthday-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 79, 60, 0.12);
  border-radius: 20px;
  background: #fff7fb;
  box-shadow: 0 18px 44px rgba(7, 25, 48, 0.12);
}

.birthday-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.birthday-frame-square {
  width: min(420px, 100%);
  justify-self: end;
}

.birthday-frame-square img {
  aspect-ratio: 1 / 1;
}

.gallery-grid {
  width: min(1140px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  padding: 0;
  background: #071626;
  color: white;
  cursor: pointer;
  box-shadow: var(--soft-shadow);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gallery-wide {
  grid-column: auto;
}

.gallery-tall {
  grid-row: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 500ms ease, filter 500ms ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 38%, rgba(7, 22, 38, 0.86)),
    linear-gradient(120deg, rgba(23, 79, 60, 0.28), transparent 36%);
  opacity: 0.88;
  transition: opacity 180ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 2;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.45) 50%, transparent 58%);
  opacity: 0;
  transform: translateX(-28%) rotate(8deg);
  transition: opacity 180ms ease, transform 620ms ease;
}

.gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 70px rgba(7, 25, 48, 0.2);
  outline: none;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.08);
}

.gallery-item:hover::before,
.gallery-item:focus-visible::before {
  opacity: 0.68;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateX(34%) rotate(8deg);
}

.events-section {
  background: linear-gradient(180deg, #f6fbf8, #ffffff);
  overflow-x: hidden;
}

.events-layout {
  width: min(1140px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.events-main {
  min-width: 0;
  display: grid;
  gap: 28px;
}

.events-layout .section-heading {
  width: 100%;
  margin: 0 0 34px;
}

.events-layout .events-grid {
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.events-layout .theme-sidecard {
  width: 100%;
  margin: 0;
}

.event-card {
  background: white;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 26px;
  background: white;
  color: var(--ink);
}

.event-portrait-featured {
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(142, 244, 197, 0.18), transparent 18rem),
    linear-gradient(135deg, #ffffff 0 52%, #eef8f3 100%);
}

.event-image {
  position: relative;
  overflow: hidden;
  background: #071626;
  aspect-ratio: 16 / 7;
}

.event-video-frame {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(142, 244, 197, 0.16), transparent 18rem),
    linear-gradient(135deg, #0f4c5c, #0b5d4b);
}

.event-portrait-frame {
  width: min(360px, calc(100% - 44px));
  aspect-ratio: 9 / 16;
  justify-self: center;
  margin: 24px;
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(7, 25, 48, 0.2);
}

.event-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 68%;
  background: #071626;
}

.event-portrait-frame .event-video {
  object-position: center center;
}

.event-slideshow {
  isolation: isolate;
}

.event-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 720ms ease, transform 1100ms ease;
}

.event-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.event-slide-controls {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(5, 21, 36, 0.5);
}

.event-dot {
  display: block;
  flex: 0 0 auto;
  width: 14px;
  min-width: 0;
  height: 6px;
  min-height: 0;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transition: width 180ms ease, background 180ms ease;
}

.event-dot.is-active {
  width: 24px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

.event-featured-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 26px clamp(24px, 4vw, 40px);
}

.event-portrait-featured .event-featured-copy {
  align-content: center;
  padding: clamp(28px, 5vw, 54px) clamp(24px, 5vw, 56px);
}

.event-featured time {
  color: var(--teal);
}

.event-featured h3 {
  margin: 8px 0 0;
  font-size: clamp(1.6rem, 2.3vw, 2.4rem);
  line-height: 1.04;
}

.event-featured p {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.event-featured time,
.event-featured h3,
.event-featured p,
.speaker-highlight {
  grid-column: 1 / -1;
}

.speaker-highlight {
  display: grid;
  gap: 3px;
  padding: 12px 16px;
  border-left: 4px solid var(--coral);
  border-radius: 16px;
  background: #eef8f3;
}

.speaker-highlight span {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.speaker-highlight strong {
  color: var(--teal-dark);
  font-size: 1rem;
}

.event-featured > .event-featured-copy > span {
  width: fit-content;
  border: 1px solid rgba(23, 79, 60, 0.22);
  border-radius: 999px;
  padding: 10px 14px;
  background: #eef8f3;
  color: var(--teal-dark);
  font-weight: 900;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(7, 25, 48, 0.14);
}

.event-card time {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 800;
}

.event-pastor {
  display: block;
  margin-top: 12px;
  color: var(--teal-dark);
  font-size: 0.96rem;
}

.message-section {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 22%, rgba(122, 223, 189, 0.18), transparent 20rem),
    linear-gradient(135deg, #0f4c5c, #0b5d4b 58%, #0f4c5c);
  color: white;
}

.message-section > *:not(.theme-mark) {
  position: relative;
  z-index: 1;
}

.theme-mark {
  position: absolute;
  right: clamp(18px, 8vw, 112px);
  bottom: 8px;
  width: min(360px, 42vw);
  opacity: 0.1;
  filter: grayscale(1) brightness(2.5);
  pointer-events: none;
}

.message-section .eyebrow {
  color: #bfffe8;
}

.message-section h2 {
  max-width: 760px;
}

.theme-verse {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.04rem;
}

.theme-sidecard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: auto;
  padding: clamp(28px, 3.2vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  box-shadow: 0 28px 80px rgba(7, 25, 48, 0.18);
}

.theme-sidecard > div {
  min-width: 0;
}

.theme-sidecard .theme-mark {
  right: -34px;
  bottom: -28px;
  width: min(300px, 86%);
  opacity: 0.12;
}

.theme-sidecard h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.theme-sidecard .button {
  margin-top: 0;
  white-space: nowrap;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 520px);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
  background:
    radial-gradient(circle at 14% 30%, rgba(95, 128, 108, 0.09), transparent 18rem),
    var(--cream);
}

.contact-copy p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(23, 79, 60, 0.16);
  border-radius: 999px;
  padding: 7px 14px 7px 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(7, 25, 48, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: white;
  flex: 0 0 auto;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.instagram-icon {
  background:
    radial-gradient(circle at 30% 100%, #fed373 0 22%, transparent 40%),
    radial-gradient(circle at 10% 20%, #feda75 0 16%, transparent 34%),
    linear-gradient(135deg, #405de6, #833ab4 34%, #c13584 56%, #fd1d1d 76%, #f77737);
}

.instagram-icon rect,
.instagram-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.instagram-icon circle:last-child {
  fill: currentColor;
  stroke: none;
}

.facebook-icon {
  background: #1877f2;
}

.facebook-icon svg {
  width: 19px;
  height: 19px;
  transform: translate(1px, 3px);
}

.facebook-icon path {
  fill: currentColor;
}

.social-link:hover {
  border-color: rgba(95, 128, 108, 0.36);
  background: white;
  transform: translateY(-2px);
}

.copy-status,
.form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--soft-shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #31413c;
  font-size: 0.91rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

body.gallery-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(52px, 1fr) minmax(0, 960px) minmax(52px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 84px clamp(18px, 4vw, 52px) 42px;
  background:
    radial-gradient(circle at 50% 44%, rgba(23, 79, 60, 0.22), transparent 32rem),
    rgba(4, 12, 22, 0.88);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  backdrop-filter: blur(14px);
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.gallery-lightbox figure {
  grid-column: 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.gallery-lightbox img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #071626;
}

.gallery-lightbox figcaption {
  padding: 14px 18px 16px;
  color: white;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-close,
.gallery-nav {
  width: 48px;
  min-height: 48px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 1.8rem;
  backdrop-filter: blur(14px);
  transition: background 160ms ease, transform 160ms ease;
}

.gallery-close:hover,
.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: scale(1.06);
}

.gallery-close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.gallery-prev {
  justify-self: end;
}

.gallery-next {
  justify-self: start;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #071626;
  color: white;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.visitor-counter {
  width: fit-content;
  border: 1px solid rgba(191, 255, 232, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}

.visitor-counter strong {
  color: #bfffe8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 18;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(8, 54, 40, 0.86);
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(16px);
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.events-section .section-heading.reveal,
.events-section .event-card.reveal {
  opacity: 0;
  transform: translate3d(84px, 0, 0);
  transition-duration: 780ms;
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.events-section .section-heading.reveal.is-visible,
.events-section .event-card.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.events-section .events-grid .event-card:nth-child(2).reveal {
  transition-delay: 90ms;
}

.events-section .events-grid .event-card:nth-child(3).reveal {
  transition-delay: 160ms;
}

.events-section .event-featured.reveal {
  transform: translate3d(104px, 0, 0);
}

.events-section .event-featured.reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

@media (max-width: 700px) {
  .events-section .section-heading.reveal,
  .events-section .event-card.reveal,
  .events-section .event-featured.reveal {
    transform: translate3d(38px, 0, 0);
  }

  .events-section .section-heading.reveal.is-visible,
  .events-section .event-card.reveal.is-visible,
  .events-section .event-featured.reveal.is-visible {
    transform: translate3d(0, 0, 0);
  }
}

.event-featured .event-image,
.event-featured .event-featured-copy {
  will-change: transform, opacity;
}

.event-featured.reveal .event-image {
  opacity: 0;
  transform: translate3d(56px, 0, 0) scale(0.97);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.event-featured.reveal .event-featured-copy {
  opacity: 0;
  transform: translate3d(86px, 0, 0);
  transition: opacity 760ms ease 120ms, transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms;
}

.event-featured.reveal.is-visible .event-image,
.event-featured.reveal.is-visible .event-featured-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.intro-grid article,
.ministry-item {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.intro-grid article:hover,
.ministry-item:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 79, 60, 0.22);
  box-shadow: 0 26px 60px rgba(7, 25, 48, 0.14);
}

@media (min-width: 1025px) and (max-width: 1368px) {
  .site-header {
    gap: 0;
    padding: 14px clamp(42px, 6vw, 78px);
  }

  .brand {
    gap: 12px;
    max-width: 310px;
  }

  .logo-glass {
    width: clamp(58px, 5vw, 72px);
  }

  .brand-copy {
    max-width: 190px;
  }

  .brand-copy strong {
    font-size: 0.94rem;
    white-space: nowrap;
  }

  .brand-copy small {
    font-size: 0.56rem;
    line-height: 1.08;
    letter-spacing: 0.055em;
  }

  .nav {
    position: static;
    gap: clamp(17px, 1.8vw, 26px);
    margin-left: auto;
    font-size: clamp(0.61rem, 0.7vw, 0.72rem);
    letter-spacing: 0.15em;
    transform: none;
    white-space: nowrap;
  }

  .hero {
    min-height: min(900px, calc(100svh + 170px));
    align-content: center;
    padding-top: clamp(118px, 10vw, 150px);
    padding-bottom: clamp(120px, 10vw, 150px);
  }

  .hero-content {
    width: min(760px, 100%);
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(4.35rem, 6.7vw, 6.05rem);
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .service-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(430px, 78vw);
    margin: 28px auto 0;
    padding: 22px;
  }

  .service-panel strong {
    font-size: 1.32rem;
  }

  .service-panel p {
    font-size: 0.95rem;
  }
}

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 96px;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    min-height: 72px;
    padding: 8px 14px;
    border-radius: 0;
    background:
      linear-gradient(90deg, rgba(15, 76, 92, 0.96), rgba(11, 93, 75, 0.94) 66%, rgba(15, 76, 92, 0.9)),
      #0f4c5c;
    box-shadow: 0 14px 34px rgba(4, 22, 18, 0.22);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    transform: translate3d(0, 0, 0);
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: auto;
    justify-content: flex-start;
    gap: 8px;
  }

  .brand-copy {
    display: grid;
    min-width: 0;
    gap: 1px;
  }

  .brand-copy strong {
    overflow: hidden;
    color: #ffffff;
    font-size: clamp(0.78rem, 2.5vw, 0.98rem);
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-copy small {
    overflow: hidden;
    color: rgba(232, 244, 237, 0.78);
    font-size: clamp(0.48rem, 1.8vw, 0.62rem);
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo-glass {
    flex: 0 0 auto;
    width: 48px;
    border-radius: 0;
  }

  .mobile-header-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    z-index: 4;
    display: grid;
    width: auto;
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 2px;
    max-height: calc(100svh - 102px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid rgba(211, 230, 219, 0.16);
    border-radius: 22px;
    background:
      linear-gradient(135deg, rgba(4, 22, 18, 0.98), rgba(7, 49, 37, 0.96)),
      rgba(5, 28, 23, 0.96);
    box-shadow: 0 26px 70px rgba(3, 16, 14, 0.34);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
  }

  .nav a {
    min-width: 0;
    padding: 14px 16px;
    font-size: inherit;
    border-radius: 14px;
    text-align: left;
    white-space: nowrap;
  }

  .nav a::after {
    left: 16px;
    right: auto;
    bottom: 8px;
    width: 28px;
  }

  .nav a:hover,
  .nav a.is-active {
    background: rgba(255, 255, 255, 0.08);
  }

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

  .site-search-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    z-index: 5;
    display: block;
    padding: 12px;
    border: 1px solid rgba(211, 230, 219, 0.16);
    border-radius: 22px;
    background:
      linear-gradient(135deg, rgba(4, 22, 18, 0.98), rgba(7, 49, 37, 0.96)),
      rgba(5, 28, 23, 0.96);
    box-shadow: 0 26px 70px rgba(3, 16, 14, 0.34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
  }

  .site-search-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .site-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .site-search input {
    min-width: 0;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font: inherit;
    outline: none;
  }

  .site-search input::placeholder {
    color: rgba(255, 255, 255, 0.58);
  }

  .site-search input:focus {
    border-color: rgba(220, 233, 111, 0.58);
    box-shadow: 0 0 0 3px rgba(220, 233, 111, 0.12);
  }

  .search-submit {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
  }

  .search-results {
    display: grid;
    gap: 4px;
    margin-top: 10px;
  }

  .search-result {
    display: block;
    border-radius: 14px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 750;
  }

  .search-result:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  .search-empty {
    margin: 10px 4px 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 118px;
    min-height: auto;
    align-items: start;
    align-content: start;
  }

  .hero-video {
    display: block;
    object-position: center 42%;
    opacity: 0.82;
  }

  .hero::before {
    bottom: 16px;
    height: 74px;
  }

  .hero::after {
    bottom: -1px;
    height: 88px;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 78% 20%, rgba(142, 244, 197, 0.16), transparent 16rem),
      linear-gradient(180deg, rgba(15, 76, 92, 0.68), rgba(11, 93, 75, 0.56) 58%, rgba(15, 76, 92, 0.62)),
      linear-gradient(0deg, rgba(15, 76, 92, 0.22), rgba(11, 93, 75, 0.16));
  }

  .intro-section::before {
    top: 24px;
    width: 186vw;
    height: 260px;
  }

  .intro-section::after {
    bottom: 54px;
    width: 190vw;
    height: 290px;
  }

  h1 {
    max-width: 10ch;
  }

  .service-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(560px, 100%);
    margin: 34px auto 0;
  }

  .split,
  .intro-grid,
  .focus-panel,
  .ministry-list,
  .lessons-grid,
  .events-layout,
  .events-grid,
  .phone-showcase-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .phone-showcase-section {
    background:
      radial-gradient(circle at 50% 10%, rgba(21, 189, 232, 0.1), transparent 24rem),
      linear-gradient(180deg, #ffffff 0 42%, #e8e8e6 42% 100%);
  }

  .phone-showcase-section::before {
    inset: 42% 0 0;
    width: auto;
  }

  .phone-showcase-copy {
    justify-self: center;
  }

  .theme-sidecard {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
    min-height: auto;
  }

  .theme-sidecard h2 {
    max-width: 13ch;
  }

  .phone-stage {
    height: clamp(560px, 82vw, 760px);
    margin-top: 20px;
  }

  .phone-card {
    width: clamp(190px, 26vw, 260px);
  }

  .gallery-section .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-section .section-heading h2,
  .gallery-section .section-heading > p {
    max-width: 100%;
  }

  .gallery-section .section-heading > p {
    justify-self: start;
  }

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

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

  .gallery-folder-grid {
    width: min(760px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-feature {
    grid-template-columns: 1fr;
  }

  .video-feature-copy {
    padding: 8px 8px 0;
  }

  .birthday-card {
    grid-template-columns: 1fr;
  }

  .gallery-album-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .gallery-wide,
  .gallery-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 82px 14px 28px;
  }

  .gallery-lightbox figure {
    grid-column: 1;
  }

  .event-featured {
    grid-template-columns: 1fr;
  }

  .event-portrait-frame {
    width: min(340px, 72vw);
    margin: 22px auto 0;
  }

  .event-featured-copy {
    grid-template-columns: 1fr;
  }

  .event-slide-controls {
    right: 8px;
    bottom: 8px;
    gap: 4px;
    padding: 4px;
  }

  .event-dot {
    width: 9px;
    height: 5px;
  }

  .event-dot.is-active {
    width: 15px;
  }

  .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .gallery-nav:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .gallery-prev {
    left: 14px;
  }

  .gallery-next {
    right: 14px;
  }

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

  .theme-sidecard {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .theme-sidecard h2 {
    max-width: 13ch;
  }
}

@media (min-width: 700px) and (max-width: 1024px) {
  .site-header {
    padding: 10px 18px;
  }

  .logo-glass {
    width: 58px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
  }

  .brand-copy small {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .hero {
    padding-top: 124px;
    padding-bottom: 124px;
  }

  .hero-content {
    width: min(760px, 100%);
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(4.4rem, 8vw, 6.15rem);
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .service-panel {
    width: min(520px, 76vw);
    margin-top: 30px;
  }
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 86px;
  }

  body {
    overflow-x: hidden;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    width: 100%;
    min-height: 72px;
    padding: 7px 10px;
    border-radius: 0;
    transform: translate3d(0, 0, 0);
  }

  .nav {
    left: 10px;
    right: 10px;
    gap: 2px;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }

  .nav a {
    min-width: 0;
    padding: 13px 14px;
    font-size: inherit;
  }

  .site-search-panel {
    left: 10px;
    right: 10px;
  }

  .brand-logo {
    width: auto;
    height: 104%;
    max-width: 108%;
  }

  .brand {
    flex: 1 1 0;
    max-width: 100%;
    padding-right: 88px;
    gap: 7px;
  }

  .brand-copy {
    display: grid;
    max-width: calc(100vw - 158px);
  }

  .brand-copy strong {
    font-size: clamp(0.78rem, 3.7vw, 0.95rem);
  }

  .brand-copy small {
    font-size: clamp(0.46rem, 2.25vw, 0.58rem);
    letter-spacing: 0.06em;
  }

  .logo-glass {
    width: 40px;
    border-radius: 0;
  }

  .mobile-icon-button {
    width: 36px;
    height: 36px;
  }

  .mobile-header-actions {
    position: fixed !important;
    top: 18px;
    right: 10px;
    z-index: 3;
    display: flex !important;
    gap: 6px;
    margin-left: 0;
    transform: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: auto;
    padding: 96px 18px 56px;
  }

  .hero-content {
    width: min(100%, 430px);
    margin: 0 auto;
    opacity: 1;
    transform: none;
  }

  h1 {
    max-width: 8.8ch;
    font-size: clamp(2.65rem, 11.4vw, 3.45rem);
    line-height: 1.04;
    text-wrap: wrap;
  }

  .hero-copy {
    max-width: 100%;
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-badges {
    margin-top: 18px;
  }

  .hero-actions {
    width: 100%;
    margin-top: 22px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .phone-showcase-section {
    padding-top: 48px !important;
    padding-bottom: 68px !important;
  }

  .phone-showcase-copy {
    text-align: center;
  }

  .phone-showcase-copy h2 {
    max-width: 100%;
  }

  .phone-showcase-copy > p:not(.eyebrow) {
    margin-left: auto;
    font-size: 1rem;
  }

  .online-social-actions {
    gap: 12px;
    margin-top: 22px;
  }

  .phone-stage {
    height: 690px;
    margin-top: 30px;
  }

  .phone-card {
    width: min(60vw, 218px);
  }

  .phone-label {
    margin-bottom: 8px;
    padding: 6px 10px;
    font-size: 0.64rem;
  }

  .iphone-frame {
    border-width: 7px;
    border-radius: 34px;
  }

  .iphone-frame::before {
    top: 8px;
    height: 15px;
  }

  .welcome-section {
    padding-top: 58px !important;
    padding-bottom: 52px !important;
  }

  .welcome-script {
    margin-bottom: 20px;
    font-size: clamp(2.85rem, 14vw, 4rem);
  }

  .welcome-text {
    font-size: 1rem;
    line-height: 1.62;
  }

  .social-link {
    flex: 1 1 160px;
  }

  .hero-controls {
    justify-content: center;
  }

  .slide-dot {
    flex: 1;
  }

  .service-panel {
    width: min(100%, 390px);
    margin-top: 24px;
    padding: 22px;
  }

  .gallery-section .section-heading {
    margin-bottom: 22px;
  }

  .gallery-section .section-heading h2 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.35rem);
    line-height: 0.98;
  }

  .gallery-section .section-heading > p {
    font-size: 1rem;
  }

  .intro-grid article,
  .gallery-item,
  .event-card,
  .contact-form {
    padding: 22px;
  }

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

  .gallery-folder-grid {
    grid-template-columns: 1fr;
  }

  .video-feature {
    padding: 12px;
  }

  .event-portrait-frame {
    width: min(300px, 76vw);
    margin-top: 16px;
    border-radius: 20px;
  }

  .video-feature video {
    border-radius: 16px;
  }

  .gallery-item {
    padding: 0;
  }

  .ministry-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .theme-sidecard {
    padding: 26px;
    border-radius: 26px;
    gap: 18px;
  }

  .theme-sidecard h2 {
    max-width: 11ch;
    font-size: clamp(2.55rem, 12.4vw, 3.4rem);
    line-height: 1;
  }

  .theme-sidecard .theme-verse {
    max-width: 100%;
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .theme-sidecard .button {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .theme-sidecard .theme-mark {
    right: -42px;
    bottom: -12px;
    width: 82%;
    opacity: 0.08;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 700px) {
    .site-header {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      transform: translate3d(0, 0, 0);
    }

    .hero {
      min-height: auto !important;
      padding-top: 96px !important;
      transform: translate3d(0, 0, 0);
    }

    .hero-slideshow,
    .hero-video,
    .hero-overlay {
      min-height: 100%;
      transform: translate3d(0, 0, 0);
    }

    .hero-content {
      transform: translate3d(0, 0, 0);
    }
  }
}

@keyframes jesus-flash {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1.1);
  }

  13% {
    opacity: 0.52;
    transform: scale(1.02);
    filter: brightness(1.8);
  }

  25%,
  72% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1.1);
  }

  100% {
    opacity: 0;
    transform: scale(0.98);
    filter: brightness(2.1);
  }
}

@keyframes cross-light-fade {
  0%,
  20% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }

  36%,
  72% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes logo-card-arrive {
  0% {
    opacity: 0;
    transform: translate3d(-10px, 8px, 0) scale(0.94);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes logo-soft-breathe {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.025);
  }
}

@keyframes logo-glass-glint {
  0%,
  44%,
  100% {
    opacity: 0.46;
    transform: translate3d(-2px, 0, 0);
  }

  58% {
    opacity: 0.86;
    transform: translate3d(8px, 0, 0);
  }
}

@keyframes logo-shading-sweep {
  0%,
  48% {
    opacity: 0;
    transform: translate3d(-58%, 0, 0) rotate(10deg);
  }

  58% {
    opacity: 0.86;
  }

  74%,
  100% {
    opacity: 0;
    transform: translate3d(58%, 0, 0) rotate(10deg);
  }
}

@keyframes crown-glow {
  0%,
  100% {
    opacity: 0.22;
    filter: blur(1px) brightness(1);
    transform: scale(0.94);
  }

  48%,
  58% {
    opacity: 0.76;
    filter: blur(1.5px) brightness(1.5);
    transform: scale(1.1);
  }
}

@keyframes crown-shine-sweep {
  0%,
  46% {
    opacity: 0;
    transform: translate3d(-26%, 0, 0) rotate(-8deg);
  }

  56% {
    opacity: 0.88;
  }

  72%,
  100% {
    opacity: 0;
    transform: translate3d(28%, 0, 0) rotate(-8deg);
  }
}

@keyframes crown-w-shine-sweep {
  0%,
  42% {
    opacity: 0;
    transform: translate3d(-38%, 0, 0) rotate(-7deg);
  }

  54% {
    opacity: 0.9;
  }

  72%,
  100% {
    opacity: 0;
    transform: translate3d(38%, 0, 0) rotate(-7deg);
  }
}

@keyframes service-card-shine {
  0%,
  54% {
    opacity: 0;
    transform: translate3d(-42%, 0, 0) rotate(10deg);
  }

  62% {
    opacity: 0.8;
  }

  78%,
  100% {
    opacity: 0;
    transform: translate3d(42%, 0, 0) rotate(10deg);
  }
}

@keyframes service-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.58;
    transform: scale(1.35);
  }
}

@keyframes service-day-pulse {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(2px);
  }
}

@keyframes service-time-line {
  0% {
    opacity: 0.72;
    transform: scaleX(0.72);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.72;
    transform: scaleX(0.72);
  }
}

@keyframes opening-disappear {
  0%,
  72% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening-flash {
    animation-duration: 0.9s;
  }

  .opening-name {
    animation: none;
  }

  .opening-cross {
    animation: none;
    opacity: 0.68;
  }

  .service-panel,
  .service-panel::before,
  .service-panel::after,
  .service-panel span,
  .service-panel span::before,
  .service-panel em,
  .service-panel strong::after {
    animation: none;
  }

  .logo-glass,
  .logo-glass::before,
  .logo-glass::after,
  .brand-logo {
    animation: none;
  }

  .gallery-item,
  .gallery-item img,
  .gallery-item::before,
  .gallery-item::after,
  .gallery-lightbox {
    transition: none;
  }

  .hero-slideshow img {
    transition: none;
  }
}
