


:root { --band-h: clamp(150px, 24vh, 300px); }

.layer {
  --layer-color: var(--color-sky-wash); 
  position: relative;
  z-index: 2;
  background: transparent; 
}

.layer--white { --layer-color: var(--color-paper); }
.layer--brand { --layer-color: var(--color-deep); }

.layer-wave {
  display: block;
  width: 100%;
  height: var(--band-h);
  fill: var(--layer-color);
  pointer-events: none;
}


.wave-main {
  fill: var(--layer-color);
}

.wave-band {
  pointer-events: none;
}

.wave-band-soft {
  fill: color-mix(in srgb, var(--color-sky-wash) 82%, white);
}

.wave-band-primary {
  fill: color-mix(in srgb, var(--color-deep) 84%, var(--color-primary, #176a8c));
}

.wave-band-accent {
  fill: color-mix(in srgb, var(--color-accent, #d6a928) 88%, white);
}

.wave-streak {
  pointer-events: none;
}

.wave-streak-primary {
  fill: color-mix(in srgb, var(--color-deep) 88%, transparent);
}

.wave-streak-accent {
  fill: color-mix(in srgb, var(--color-accent, #d6a928) 92%, white);
}


.wave-mobile { display: none; }
.wave-desktop { display: block; }

@media (max-width: 768px) {
  .wave-desktop { display: none; }
  .wave-mobile { display: block; }
}


.layer-body {
  background: var(--layer-color);
  position: relative;
  margin-top: -1px;
}


.layer-stack {
  position: relative;
  --stack-radius: clamp(16px, 3vw, 32px);
}


.layer-stack > .hero {
  position: sticky;
  top: 0;
  z-index: 1;
}


.layer-group {
  position: relative;
  border-radius: var(--stack-radius) var(--stack-radius) 0 0;
  overflow: clip;
}

.layer-group-sunday {
  z-index: 2;
  isolation: isolate;
}


.layer-bg {
  position: relative;
  z-index: 0;
}


.layer-content {
  position: relative;
  z-index: 1;
  background: var(--layer-color);
  margin-top: -1px;
}


.sunday-layer-leaves {
 position: absolute;
  z-index: 2;
  inset-inline: 0;
  top: 0;
  height: calc(var(--band-h) + clamp(500px, 50vw, 760px));
  pointer-events: none;

  background:
    url("/images/Nav/shadow.webp")
    no-repeat 100% 26% /    min(1120px, 88vw) auto;

  
  opacity: 0.09;

  clip-path: polygon(
    0 11.5%,
    5% 12%,
    12% 16%,
    20% 24%,
    29% 27%,
    38% 24%,
    49% 16%,
    60% 8%,
    70% 3.5%,
    78% 3%,
    88% 6.5%,
    100% 12%,
    100% 100%,
    0 100%
  );

  -webkit-mask-image:
    radial-gradient(
      ellipse 72% 84% at 94% 32%,
      #000 58%,
      transparent 92%
    );

  mask-image:
    radial-gradient(
      ellipse 72% 84% at 94% 32%,
      #000 58%,
      transparent 92%
    );
}


.sunday-showcase,
.sunday-showcase-copy,
.sunday-showcase-left,
.sunday-showcase-right {
  position: relative;
  z-index: 3;
}


.layer-stack ~ .layer-after-stack {
  position: relative;
  z-index: 4 !important;
  border-radius: var(--stack-radius) var(--stack-radius) 0 0;
}


.cover-stage {
  position: relative;
}


.layer-raise:not(.layer-stack > *) {
  margin-top: calc(-1 * var(--band-h));
}


.layer-stack > .layer-raise {
  margin-top: 0;
  overflow: clip;
}


.layer-raise.crown-hide .layer-wave,
.layer-wave.crown-hide {
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.layer-raise.crown-revealed .layer-wave,
.layer-wave.crown-revealed {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .layer-raise .layer-wave,
  .layer-wave {
    transition: none;
  }
}


.layer--brand, .pastor-continuation { color: var(--color-paper); }
.layer--brand h2, .layer--brand h3, .layer--brand h4,
.layer--brand .text-ink, .layer--brand .text-ink-soft,
.layer--brand .text-primary, .layer--brand .text-body,
.layer--brand .video-showcase-eyebrow,
.layer--brand .video-showcase-eyebrow span,
.pastor-continuation h2:not(.pastor-card *),
.pastor-continuation h3:not(.pastor-card *),
.pastor-continuation h4:not(.pastor-card *),
.pastor-continuation .happening h2,
.pastor-continuation .happening h3,
.pastor-continuation .happening h4,
.pastor-continuation .text-ink, .pastor-continuation .text-ink-soft { color: var(--color-paper); }


.pastor-continuation {
  position: relative;
  
  z-index: 2;
  background: var(--color-paper);
  margin-top: calc(-1 * clamp(10px, 2vw, 24px));
}


.layer-group-sunday { --layer-color: var(--color-paper); }


.sunday-wrap {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(10px, 2vw, 24px);
  text-align: left;
  
  overflow: clip;
}


.sunday-showcase {
  position: relative;
}


.sunday-showcase-copy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
  
  --copy-pad-x: clamp(20px, 5vw, 80px);
  padding: calc(var(--band-h) * 0.55 + 12px + clamp(18px, 2.6vw, 40px)) var(--copy-pad-x) clamp(28px, 4vw, 52px);
  text-align: left;
  padding-bottom: 0px !important;
}

.sunday-showcase-left,
.sunday-showcase-right {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.sunday-showcase-left .video-showcase-eyebrow {
  justify-content: flex-start;
}
.sunday-showcase-left .video-showcase-title {
  margin-top: clamp(6px, 0.9vw, 12px);
}
.sunday-showcase-left .video-showcase-caption {
  margin: clamp(10px, 1.2vw, 16px) 0 0;
  max-width: none; 
}


.sunday-showcase-left .sunday-cta {
  margin-top: clamp(18px, 2.2vw, 30px);
}


.sunday-showcase-right {
  position: relative;
  text-align: left;
}


.sunday-services-glass {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(11, 39, 69, 0.94), rgba(11, 39, 69, 0.96));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 50px -28px rgba(11, 39, 69, 0.7);
}


.sunday-services-glass .sunday-services-title,
.sunday-services-glass .sunday-svc-time,
.sunday-services-glass .sunday-services-note {
  color: #ffffff;
}

.sunday-services-glass .sunday-svc-badge {
  color: #ffffff;
}

.sunday-services-glass .sunday-svc-label {
  color: rgba(255, 255, 255, 0.78);
}

.sunday-services-glass .sunday-services-dash,
.sunday-services-glass .sunday-svc-line {
  background: var(--color-primary, var(--color-gold));
}

.sunday-services-glass .sunday-svc + .sunday-svc {
  border-left-color: rgba(255, 255, 255, 0.18);
}

.sunday-services-glass .sunday-services-foot {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.sunday-services-glass .sunday-services-heart {
  color: var(--color-primary, var(--color-gold));
}


.sunday-showcase .video-showcase-frame {
  border-color: var(--color-glass-border);
  box-shadow: 0 18px 44px rgba(11, 39, 69, 0.14);
}


.sunday-services {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 580px;
  margin-top: clamp(14px, 1.8vw, 26px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sunday-services-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(14px, 1.6vw, 20px) clamp(18px, 2vw, 26px) clamp(8px, 1vw, 12px);
}
.sunday-services-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-nav);
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.sunday-services-title .sunday-services-dash {
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-primary);
  flex: none;
}
.sunday-services-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1;
}
.sunday-services-heart { font-size: 0.92em; }

.sunday-services-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: clamp(10px, 1.4vw, 18px) 0 clamp(14px, 1.8vw, 24px);
}

.sunday-svc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: clamp(10px, 1.2vw, 16px) clamp(8px, 1vw, 14px);
  text-align: center;
}
.sunday-svc + .sunday-svc {
  border-left: 1px solid var(--color-divider);
}

.sunday-svc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(30px, 3vw, 38px);
  height: clamp(30px, 3vw, 38px);
  border-radius: 50%;

  color: var(--color-ink);
}
.sunday-svc-badge svg { width: 100%; height: 100%; }

.sunday-svc-time {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-ink);
}
.sunday-svc-ampm {
  font-family: var(--font-button);
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: 0.08em;

  margin-left: 3px;
  line-height: 0;
}

.sunday-svc-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-button);
  font-size: clamp(9px, 0.8vw, 11px);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.sunday-svc-line {
  width: 26px;
  height: 2px;
  border-radius: 1px;

  margin-top: 2px;
}

.sunday-services-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: clamp(10px, 1.2vw, 14px) clamp(14px, 1.6vw, 20px);
  border-top: 1px solid var(--color-divider);
}


.sunday-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  flex-wrap: nowrap;
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(22px, 2.6vw, 36px);
  width: 100%;
  max-width: 580px;
}
.sunday-cta-text {
  font-family: var(--font-hand);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 20px);
  color: var(--color-primary);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}
.sunday-cta-new {
  margin: 0;
  font-family: var(--font-hand);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--color-primary);
}
.sunday-cta-heart {
  width: 18px;
  height: 18px;

  flex: 0 0 auto;
}

.sunday-cta-btn {
  flex: none;  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-button);
  font-family: var(--font-button);
  font-weight: 800;
  font-size: clamp(14px, 1.1vw, 16px);
  letter-spacing: 0.02em;
  color: var(--color-paper);
  background: var(--color-deep);
  border: 1px solid transparent;
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(11, 39, 69, 0.56);
  transition:
    transform 220ms var(--ease-emphasis),
    box-shadow 220ms var(--ease-emphasis),
    background-color 180ms var(--ease-standard);
}

.sunday-cta-btn:hover {
  background: var(--color-deep-2);
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -14px rgba(11, 39, 69, 0.62);
}

.sunday-cta-arrow {
  width: 24px;
  height: 12px;

  flex: 0 0 auto;
}


.life-together {
  position: relative;
  
  --life-pad-x: clamp(20px, 5vw, 80px);
  
  margin-top: clamp(40px, 4.5vw, 56px);
  padding-bottom: 0;
}


.life-together-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: 0 var(--life-pad-x);
}

.life-together-copy {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
}


.life-together-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: end;
  padding-bottom: 4px;
}


.life-together .story-ribbon-premium {
  
  margin-top: clamp(28px, 3.2vw, 44px);
  margin-inline: 0;
  gap: 0;
}
.life-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-nav);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.life-eyebrow-line {
  width: 40px;

  flex: 0 0 auto;
}

.life-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 900;
  color: var(--color-ink);
  margin: 14px 0 0;
  line-height: 1.08;
}

.life-copy {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--color-ink-soft);
  max-width: 34ch;
  margin: 14px 0 0;
}

.life-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 24px;
  border-radius: var(--radius-button);
  font-family: var(--font-button);
  font-weight: 800;
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0.02em;
  color: var(--color-paper);
  background: var(--color-deep);
  border: 1px solid transparent;
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(11, 39, 69, 0.56);
  transition:
    transform 220ms var(--ease-emphasis),
    box-shadow 220ms var(--ease-emphasis),
    background-color 180ms var(--ease-standard);
}

.life-cta-btn:hover {
  background: var(--color-deep-2);
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -14px rgba(11, 39, 69, 0.62);
}

.life-cta-arrow {
  width: 24px;
  height: 12px;

  flex: 0 0 auto;
}


.life-leaves {
  aspect-ratio: 3 / 2;
  background: url("/images/Nav/leaves.webp") no-repeat left bottom / contain;
  filter: blur(0.4px);
  opacity: 0.98;
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at 42% 55%, black 78%, transparent 98%);
  mask-image: radial-gradient(ellipse 95% 95% at 42% 55%, black 78%, transparent 98%);
  position: absolute;
  z-index: 4;
  width: clamp(140px, 14vw, 214px);
  
  left: -25%;
  bottom: -12%;
  transform: rotate(26deg);
  transform-origin: left bottom;
  pointer-events: none;
  user-select: none;
}

.life-together > :not(.life-leaves) {
  position: relative;
  z-index: 1;
}


.story-ribbon-premium {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  min-width: 0;
}


.story-ribbon-premium .story-panel {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 3 / 3.4;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transform: translate(-170px, -40px) rotate(-5deg) rotateY(-12deg) scale(0.96);
  transform-origin: center;
  transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.95s cubic-bezier(.3, 1.22, .34, 1), filter 0.45s ease;
  will-change: opacity, transform;
}

.story-ribbon-premium .story-panel.reveal-visible {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg) rotateY(0deg) scale(1);
}


@media (min-width: 701px) {
  .story-ribbon-premium .story-panel:nth-child(2).reveal-visible { transition-delay: 100ms; }
  .story-ribbon-premium .story-panel:nth-child(3).reveal-visible { transition-delay: 200ms; }
  .story-ribbon-premium .story-panel:nth-child(4).reveal-visible { transition-delay: 300ms; }

  
  .story-ribbon-premium .story-panel img {
    transition: filter 1.05s cubic-bezier(.22, 1, .36, 1) 480ms, transform 1.4s cubic-bezier(.22, 1, .36, 1);
  }
}


@media (max-width: 700px) {
  .story-ribbon-premium {
    --story-peek: 26px;
    padding-bottom: calc(var(--story-peek) * 3);
  }

  .story-ribbon-premium .story-panel {
    position: sticky;
    top: calc(var(--mpc-header-h, 76px) + var(--story-i, 0) * var(--story-peek));
    aspect-ratio: auto;
    height: clamp(180px, 42vh, 300px);
    opacity: 1;
    transform: translateY(60px);
    transition: opacity 0.6s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1), filter 0.45s ease;
    will-change: transform;
  }

  .story-ribbon-premium .story-panel.reveal-visible {
    transform: translateY(0);
  }
}

.story-ribbon-premium .story-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(0.95) brightness(0.88);
  transform: scale(1.02);
  transition: filter 1.1s cubic-bezier(.22, 1, .36, 1), transform 1.4s cubic-bezier(.22, 1, .36, 1);
}

.story-ribbon-premium .story-panel.is-visible img {
  filter: grayscale(0%) contrast(1) brightness(1);
  transform: scale(1);
}


.story-ribbon-premium .story-panel:nth-child(3) img {
  filter: grayscale(100%) contrast(0.98) brightness(0.78);
}

.story-ribbon-premium .story-panel:nth-child(3).is-visible img {
  filter: grayscale(0%) contrast(1.02) brightness(0.9);
}

@media (hover: hover) and (pointer: fine) {
  

  .story-ribbon-premium:hover .story-panel:not(:hover) img {
    filter: grayscale(0.92) brightness(0.7);
    transition: filter 0.45s ease 0ms;
  }

  .story-ribbon-premium .story-panel:hover {
    filter: grayscale(0) brightness(1);
    transform: translateY(-6px);
    transition:
      opacity 0.7s cubic-bezier(.22, 1, .36, 1),
      transform 0.35s cubic-bezier(.22, 1, .36, 1),
      filter 0.35s ease;
  }

  .story-ribbon-premium .story-panel:hover img {
    filter: grayscale(0%) contrast(1) brightness(1);
    transform: scale(1.06);
    transition: filter 0.35s ease 0ms, transform 0.8s cubic-bezier(.22, 1, .36, 1) 0ms;
  }
}


.story-ribbon-premium .story-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--color-deep) 92%, transparent) 0%,
    color-mix(in srgb, var(--color-deep) 62%, transparent) 42%,
    color-mix(in srgb, var(--color-deep) 14%, transparent) 74%,
    transparent 100%);
  pointer-events: none;
}


.story-ribbon-premium .story-panel-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px clamp(28px, 2.3vw, 34px) clamp(28px, 2.4vw, 36px);
  z-index: 2;
}


.story-ribbon-premium .story-panel-heading {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.9vw, 40px);
  color: var(--color-paper);
  margin: 0;
  line-height: 1.05;
}

.story-ribbon-premium .story-panel-desc {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.45;
  color: var(--color-paper);
  margin: 8px 0 0;
}

.story-ribbon-premium .story-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-button);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.15em;
  transition: letter-spacing 200ms ease;
}

@media (max-width: 1024px) {
  .life-together-head { grid-template-columns: 1fr; align-items: start; }
  .life-together-side { align-items: flex-start; }
  .story-ribbon-premium { grid-template-columns: repeat(2, 1fr); }
  .story-ribbon-premium .story-panel { aspect-ratio: 3 / 3.4; }

  
  .life-together > .life-together-copy { position: static; }
  .life-leaves {
    position: absolute;
    z-index: 4;
    margin-top: 0;
    margin-left: 0;
    left: 0; 
    width: clamp(170px, 22vw, 260px);
    aspect-ratio: 3 / 2;
    top: auto;
    bottom: clamp(-84px, -7vw, -44px); 
    background-size: contain;
    background-position: left bottom;
    transform: rotate(26deg);
    transform-origin: left bottom;
    -webkit-mask-image: radial-gradient(ellipse 95% 95% at 42% 55%, black 78%, transparent 98%);
    mask-image: radial-gradient(ellipse 95% 95% at 42% 55%, black 78%, transparent 98%);
  }
}


@media (max-width: 700px) {
  
  :root { --band-h: clamp(112px, 18vh, 160px); }

  .sunday-layer-leaves {
    height: calc(var(--band-h) + 660px);
    background-size: auto 560px;
    background-position: 68% 8%;
    opacity: 0.06;
    clip-path: polygon(
      0 11.5%,
      8% 11.5%,
      18% 13%,
      30% 16%,
      42% 17%,
      54% 15.5%,
      66% 12.5%,
      76% 9.5%,
      86% 8.5%,
      94% 9.5%,
      100% 11.5%,
      100% 100%,
      0 100%
    );

    -webkit-mask-image:
      radial-gradient(ellipse 115% 82% at 68% 24%, #000 50%, transparent 92%);
    mask-image:
      radial-gradient(ellipse 115% 82% at 68% 24%, #000 50%, transparent 92%);
  }

  .sunday-showcase-copy {
    grid-template-columns: 1fr;
    gap: 22px;
    --copy-pad-x: clamp(14px, 3.4vw, 22px);
    padding: calc(var(--band-h) * 0.4 + 16px) var(--copy-pad-x) 20px;
  }
  .sunday-showcase-left .video-showcase-eyebrow { justify-content: flex-start; }
  .sunday-showcase-left .video-showcase-title { font-size: clamp(30px, 8.6vw, 42px); }
  .sunday-showcase-left .video-showcase-caption { font-size: clamp(14px, 3.8vw, 16px); }
  .sunday-showcase-left .sunday-cta { margin-top: 10px; }

  .sunday-services { max-width: 100%; margin-top: 10px; }

  
  .sunday-cta { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 10px; margin-top: 12px; max-width: 100%; }
  .sunday-cta-text { font-size: clamp(12px, 3.4vw, 15px); gap: 6px; }
  .sunday-cta-text svg.sunday-cta-heart { display: none; }
  .sunday-cta-heart { width: 14px; height: 14px; }
  .sunday-cta-btn { flex: none; align-self: auto; padding: 10px 15px; font-size: clamp(12px, 3.2vw, 14px); gap: 7px; }
  .sunday-cta-arrow { width: 18px; height: 10px; }
  .sunday-services-head { padding: 12px 14px 6px; }
  .sunday-services-note { font-size: clamp(15px, 4.4vw, 18px); }
  .sunday-services-body { padding: 6px 0 10px; }
  .sunday-svc { gap: 4px; padding: 8px 4px; }
  .sunday-svc-badge { width: 24px; height: 24px; }
  .sunday-svc-badge svg { width: 100%; height: 100%; }
  .sunday-svc-time { font-size: clamp(16px, 4.6vw, 22px); }
  .sunday-svc-label { font-size: clamp(7px, 2vw, 9px); letter-spacing: 0.08em; gap: 1px; }
  .sunday-svc-line { width: 18px; }
  .sunday-services-foot { gap: 6px; padding: 8px 10px; }

  
  .life-together {
    margin-top: clamp(40px, 5vw, 60px);
    --life-pad-x: clamp(16px, 4vw, 24px);
  }
  .life-together-head {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 clamp(16px, 4vw, 24px);
  }
  .life-leaves { opacity: 0.92; z-index: -1; left: -24%; width: clamp(200px, 56vw, 280px); height: auto; aspect-ratio: 3 / 2; bottom: clamp(-70px, -14vw, -34px); margin-top: 0; margin-left: 0; background-size: contain; background-position: left bottom; transform: rotate(26deg); transform-origin: left bottom; -webkit-mask-image: radial-gradient(ellipse 100% 120% at 40% 90%, black 55%, transparent 85%); mask-image: radial-gradient(ellipse 100% 120% at 40% 90%, black 55%, transparent 85%); }
  .life-title { font-size: clamp(26px, 7.4vw, 36px); }
  .life-copy { max-width: none; }
  .life-together-side { align-items: flex-end; align-self: auto; padding-bottom: 0; }

  
  .life-together .story-ribbon-premium {
    margin-top: 24px;
    margin-inline: 0;
  }
  .story-ribbon-premium { grid-template-columns: 1fr; gap: 0; }
  .story-ribbon-premium .story-panel { border-radius: 0; margin-inline: auto; width: 100%; }
  .story-ribbon-premium .story-panel-text { padding: 14px 16px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
  .story-ribbon-premium .story-panel-heading { font-size: clamp(30px, 8.2vw, 40px); }
  .story-ribbon-premium .story-panel-desc { font-size: clamp(13px, 3.8vw, 15px); max-width: 40ch; }
  .story-ribbon-premium .story-panel-cta { font-size: 13px; margin-top: 14px; }
}


@media (max-width: 400px) {
  .sunday-svc-time { font-size: clamp(12px, 3.8vw, 16px); }
}


@media (prefers-reduced-motion: reduce) {
  .sunday-cta-btn,
  .story-ribbon-premium .story-panel,
  .story-ribbon-premium .story-panel img,
  .story-ribbon-premium .story-panel::after { transition: none !important; }

  .story-ribbon-premium .story-panel { opacity: 1; transform: none; }
  .story-ribbon-premium .story-panel.reveal-visible { opacity: 1; transform: none; }
  .story-ribbon-premium .story-panel img { filter: none; transform: none; }
  .story-ribbon-premium .story-panel.is-visible img { filter: none; }
  .reveal-init { opacity: 1 !important; transform: none !important; }
  .video-showcase-frame { width: 100% !important; opacity: 1 !important; }
}


.welcome-banner {
  position: relative;
  display: block;
  margin-top: clamp(20px, 3.5vw, 31px);
  padding: clamp(1px, 0.6vw, 64px) clamp(24px, 2.2vw, 60px);
  border-radius: clamp(22px, 2.6vw, 32px);
  background: var(--color-paper);
  box-shadow:
    inset 0 1px 0 var(--color-white-85),
    0 24px 54px -30px rgba(11, 39, 69, 0.25);
}

.welcome-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 74% 38%, var(--color-sky-wash), transparent 42%);
  pointer-events: none;
}

.welcome-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}

.welcome-banner::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(115deg, rgba(247, 247, 243, 0.92) 0%, rgba(247, 247, 243, 0.72) 42%, rgba(247, 247, 243, 0.42) 100%);
  pointer-events: none;
}

.welcome-banner-side {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-top: clamp(20px, 2.4vw, 32px);
  text-align: left;
}

.sunday-showcase-left .welcome-banner-btn {
  min-width: 0;
  justify-content: flex-start;
  gap: 14px;
}

.sunday-showcase-left .sunday-welcome-script {
  transform: rotate(-2deg);
}

@media (min-width: 761px) {
  .welcome-banner-verse-text {
    text-shadow:
      0 1px 0 var(--color-paper),
      0 -1px 0 var(--color-paper),
      1px 0 0 var(--color-paper),
      -1px 0 0 var(--color-paper);
  }
}

.welcome-banner-verse {
  position: relative;
  z-index: 3;
}
.welcome-banner-verse-text {
  position: relative;
  margin: 0;
  font-family: var(--font-display, Georgia, serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3.1vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-deep);
  text-wrap: balance;
}

.welcome-banner-verse .welcome-banner-quote-ref {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: clamp(18px, 2vw, 28px) 0 0;
  font-family: var(--font-body, Georgia, serif);
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-deep);
}

.welcome-banner-verse .welcome-banner-quote-ref span {
  width: clamp(36px, 3.6vw, 58px);
  height: 3px;
  border-radius: 99px;
  background: var(--color-gold);
}

.welcome-banner-btn {
  position: relative;
  z-index: 3;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: clamp(220px, 20vw, 320px);
  height: clamp(54px, 4.6vw, 62px);
  padding: 0 clamp(22px, 2.2vw, 32px);
  border: none;
  border-radius: 999px;
  background: var(--color-deep);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-paper);
  box-shadow: var(--shadow-cta);
  transition: transform 220ms var(--ease-standard, ease), box-shadow 220ms ease;
}

.welcome-banner-btn svg {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform 220ms ease;
}

.welcome-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -16px rgba(11, 39, 69, 0.45);
}

.welcome-banner-btn:hover svg {
  transform: translateX(4px);
}


.sunday-welcome-script {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-family: var(--font-hand, "Caveat", cursive);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1;
  color: var(--color-primary, var(--color-gold));
  position: relative;
  width: fit-content;
  transform: rotate(-2deg);
}

.sunday-welcome-script::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: min(72%, 150px);
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary, var(--color-gold));
  opacity: 0.85;
}

.sunday-welcome-heart {
  font-size: 0.8em;
}


.sunday-services-v2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 620px;
  margin-top: clamp(14px, 1.8vw, 26px);
}

.sunday-services-v2 .sunday-services-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 clamp(14px, 1.6vw, 20px);
}


.sunday-services-v2 .sunday-services-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  grid-template-columns: none;
  padding: 0;
}


.sunday-services-script {
  margin: 0;
  font-family: var(--font-hand, "Caveat", cursive);
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.15;
  text-align: right;
  color: var(--color-text-secondary);
  transform: rotate(-4deg);
  transform-origin: top right;
}

.sunday-services-script-underline {
  position: relative;
}

.sunday-services-script-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary, var(--color-gold));
  transform: rotate(-1.5deg);
}


.sunday-svc-row {
  display: grid;
  grid-template-columns: auto minmax(86px, auto) 1fr auto;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(13px, 1.4vw, 17px) clamp(16px, 1.8vw, 24px);
  border-radius: var(--radius-card);
  background: var(--color-blue-glass);
  border: 1px solid var(--color-blue-glass);
  box-shadow: 0 10px 28px -18px rgba(11, 39, 69, 0.28);
  text-decoration: none;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.sunday-svc-row + .sunday-svc-row {
  margin-top: 10px;
}

.sunday-svc-row:hover {
  background: linear-gradient(135deg, #ffffff, var(--color-glass-surface));
  border-color: rgba(217, 167, 46, 0.45);
  box-shadow: 0 14px 32px -16px rgba(11, 39, 69, 0.32);
  transform: translateY(-1px);
}

.sunday-svc-row .sunday-svc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-button);
  background: var(--color-deep);
  color: var(--color-sky-light);
  box-shadow: 0 3px 10px -4px rgba(11, 39, 69, 0.3);
  flex: none;
}

.sunday-svc-row .sunday-svc-badge svg {
  width: 22px;
  height: 22px;
}

.sunday-svc-row .sunday-svc-time {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 600;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1;
  color: var(--color-deep);
  white-space: nowrap;
}

.sunday-svc-row .sunday-svc-ampm {
  font-family: var(--font-body, Georgia, serif);
  font-size: 0.38em;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-left: 3px;
  vertical-align: super;
}

.sunday-svc-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.sunday-svc-row .sunday-svc-lang {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 700;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.2;
  color: var(--color-deep);
}

.sunday-svc-row .sunday-svc-meta {
  font-family: var(--font-body, Georgia, serif);
  font-size: clamp(11.5px, 0.95vw, 14px);
  color: var(--color-text-secondary);
}

.sunday-svc-row .sunday-svc-meta i {
  font-style: normal;
  opacity: 0.45;
  padding: 0 4px;
}

.sunday-svc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-deep);
  background: var(--color-glass-surface);
  border: 1px solid rgba(217, 167, 46, 0.28);
  flex: none;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.sunday-svc-arrow svg {
  width: 18px;
  height: 18px;
}

.sunday-svc-row:hover .sunday-svc-arrow {
  background: var(--color-deep);
  color: #ffffff;
  transform: translateX(2px);
}


.sunday-services-quote {
  margin-top: clamp(18px, 2.2vw, 30px);
  padding-left: clamp(14px, 1.6vw, 22px);
  border-left: 2px solid var(--color-primary, var(--color-gold));
}

.sunday-services-quote blockquote {
  margin: 0;
  font-family: var(--font-display, Georgia, serif);
  font-style: italic;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.sunday-services-quote-ref {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  font-family: var(--font-body, Georgia, serif);
  font-size: clamp(10px, 0.85vw, 12.5px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.sunday-services-quote-ref span {
  width: 26px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-primary, var(--color-gold));
}


@media (max-width: 1024px) {
  .welcome-banner-verse { max-width: 72%; }
  .welcome-banner-verse-text { font-size: clamp(22px, 2.9vw, 36px); }
  .welcome-banner-bg { opacity: 0.3; }
}

@media (max-width: 760px) {
  .welcome-banner {
    min-height: 0;
    padding: 30px 22px 22px;
    border-radius: var(--radius-card);
  }

  .welcome-banner-verse {
    max-width: 100%;
  }

  .welcome-banner-verse-text {
    font-size: clamp(24px, 6.6vw, 30px);
    line-height: 1.28;
  }

  .welcome-banner-verse .welcome-banner-quote-ref {
    margin-top: 16px;
    font-size: 11px;
    letter-spacing: 0.24em;
  }

  .welcome-banner-verse .welcome-banner-quote-ref span {
    width: 30px;
    height: 2px;
  }

  .welcome-banner-btn {
    width: auto;
    min-width: 0;
    height: 54px;
  }

  .welcome-banner-side {
    justify-content: space-between;
  }

  .welcome-banner-verse {
    max-width: 100%;
    padding-bottom: 4px;
  }

  .welcome-banner-verse-text br {
    display: none;
  }

  .sunday-services-v2 .sunday-services-head {
    flex-direction: column;
    gap: 8px;
  }

  .sunday-services-script {
    text-align: left;
    transform: rotate(-3deg);
    transform-origin: top left;
  }

  .sunday-svc-row {
    grid-template-columns: auto auto 1fr auto;
    gap: 12px;
    padding: 12px 14px;
  }

  .sunday-svc-row .sunday-svc-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .sunday-svc-row .sunday-svc-badge svg {
    width: 19px;
    height: 19px;
  }

  .sunday-svc-arrow {
    width: 30px;
    height: 30px;
  }

  .sunday-svc-arrow svg {
    width: 16px;
    height: 16px;
  }
}


.welcome-banner {
  margin-left: var(--copy-pad-x, clamp(20px, 5vw, 80px));
  margin-right: var(--copy-pad-x, clamp(20px, 5vw, 80px));
  width: auto;
}

@media (max-width: 900px) {
  .welcome-banner {
    margin-left: clamp(16px, 4vw, 40px);
    margin-right: clamp(16px, 4vw, 40px);
  }
}


.home-news {
  position: relative;
  z-index: 4 !important;
  overflow: hidden;
  padding: clamp(10px, 1vw, 15px) clamp(20px, 5vw, 72px) clamp(10px, 1vw, 15px);
  background: var(--color-blue-secondary);
  border-radius: var(--stack-radius) var(--stack-radius) 0 0;
}

.page-blob--tr,
.page-blob--bl {
  z-index: 0;
}
.home-news .page-blob--tr {
  opacity: 0.35;
  width: 420px;
  height: 420px;
  top: -160px;
  right: -140px;
  background: radial-gradient(circle, var(--color-gold-45), transparent 68%);
}
.home-news .page-blob--bl {
  opacity: 0.4;
  width: 380px;
  height: 380px;
  bottom: -150px;
  left: -130px;
  background: radial-gradient(circle, var(--color-gold-45), transparent 68%);
}

.home-news-inner {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.home-news-intro {
  position: relative;
}

.home-news-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--font-body, Georgia, serif);
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.home-news-kicker-line {
  width: clamp(42px, 4.6vw, 62px);
  height: 3px;
  border-radius: 99px;
  background: var(--color-gold);
}

.home-news-title {
  margin: 0;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(33px, 3.6vw, 60px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--color-paper);
}

.home-news-title span {
  color: var(--color-gold);
}

.home-news-description {
  max-width: 460px;
  margin: clamp(16px, 1.9vw, 25px) 0 0;
  font-family: var(--font-body, Georgia, serif);
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--color-glass-white);
}

.home-news-evangelism {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: clamp(280px, 26vw, 365px);
  margin-top: clamp(24px, 2.8vw, 34px);
  padding: 15px 22px 15px 26px;
  border: 2px solid var(--color-brand-yellow, #D9A72E);
  border-radius: 999px;
  color: var(--color-deep);
  font-family: var(--font-body, Georgia, serif);
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--color-brand-yellow, #D9A72E);
  transition: background 250ms ease, color 250ms ease, transform 250ms var(--ease-standard, ease), box-shadow 250ms ease;
}

.home-news-evangelism:hover {
  background: var(--color-sky-light, #E8C55C);
  border-color: var(--color-sky-light, #E8C55C);
  color: var(--color-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px var(--color-navy-50);
}

.home-news-evangelism-arrow {
  font-size: 20px;
  line-height: 1;
}

.home-news-script {
  position: absolute;
  right: -8px;
  bottom: -52px;
  margin: 0;
  transform: rotate(-8deg);
  font-family: var(--font-hand, "Caveat", cursive);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 0.88;
  color: var(--color-glass-border);
  pointer-events: none;
}

.home-news-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  min-height: clamp(300px, 28vw, 380px);
  overflow: hidden;
  border-radius: var(--radius-lg, 22px);
  background: var(--color-paper);
  box-shadow: 0 24px 60px var(--color-navy-50);
}

.home-news-media {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.home-news-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--color-navy-50));
  pointer-events: none;
}

.home-news-date {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  min-width: 72px;
  padding: 11px 13px 9px;
  border-radius: 12px;
  background: var(--color-glass-surface);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  color: var(--color-deep);
}

.home-news-date span {
  font-family: var(--font-display, Georgia, serif);
  font-size: 29px;
  line-height: 0.9;
}

.home-news-date small {
  margin-top: 6px;
  font-family: var(--font-body, Georgia, serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.4vw, 46px);
  color: var(--color-deep);
}

.home-news-body h3 {
  max-width: 520px;
  margin: 0 0 14px;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(26px, 2.9vw, 42px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-deep);
}

.home-news-body p {
  max-width: 540px;
  margin: 0;
  font-family: var(--font-body, Georgia, serif);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.home-news-read {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 16px;
  margin-top: clamp(18px, 2vw, 25px);
  color: var(--color-deep);
  font-family: var(--font-body, Georgia, serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.home-news-read-arrow {
  font-size: 19px;
  line-height: 1;
  transition: transform 200ms ease;
}

.home-news-read:hover .home-news-read-arrow {
  transform: translateX(5px);
}

.home-news-read:hover span:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1000px) {
  .home-news-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .home-news-intro {
    max-width: 650px;
  }
  .home-news-script {
    display: none;
  }
}

@media (max-width: 680px) {
  .home-news-inner {
    gap: 36px;
  }
  .home-news-feature {
    grid-template-columns: 1fr;
    border-radius: var(--radius-card, 17px);
  }
  .home-news-media {
    height: 240px;
    min-height: 0;
  }
  .home-news-body {
    padding: 28px 24px 32px;
  }
  .home-news-body h3 {
    margin: 0 0 12px;
    font-size: clamp(28px, 7vw, 34px);
  }
  .home-news-body p {
    font-size: 15px;
  }
  .home-news-evangelism {
    min-width: 0;
    width: 100%;
    margin-top: 24px;
  }
}


/* ── Latest Sermons (homepage, fetched from YouTube) ────────────────── */
.home-sermons {
  position: relative;
  z-index: 4 !important;
  overflow: hidden;
  padding: clamp(56px, 6vw, 92px) clamp(20px, 5vw, 72px) clamp(64px, 6.5vw, 100px);
  background: var(--color-paper);
}

.home-sermons .page-blob--tr {
  opacity: 0.35;
  width: 420px;
  height: 420px;
  top: -160px;
  right: -140px;
  background: radial-gradient(circle, var(--color-gold-45), transparent 68%);
}
.home-sermons .page-blob--bl {
  opacity: 0.4;
  width: 380px;
  height: 380px;
  bottom: -150px;
  left: -130px;
  background: radial-gradient(circle, var(--color-gold-45), transparent 68%);
}

.home-sermons-inner {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 1240px;
}

.home-sermons-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(18px, 2.5vw, 32px);
  margin-bottom: clamp(28px, 3vw, 44px);
}

.home-sermons-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-body, Georgia, serif);
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.home-sermons-kicker-line {
  width: clamp(42px, 4.6vw, 62px);
  height: 3px;
  border-radius: 99px;
  background: var(--color-gold);
}

.home-sermons-title {
  margin: 0;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(33px, 3.6vw, 60px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--color-deep);
}

.home-sermons-title span {
  color: var(--color-gold);
}

.home-sermons-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 2px solid var(--color-deep);
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-deep);
  font-family: var(--font-body, Georgia, serif);
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 250ms ease, color 250ms ease, transform 250ms var(--ease-standard, ease), box-shadow 250ms ease;
}

.home-sermons-all:hover {
  background: color-mix(in srgb, var(--color-deep) 86%, #ffffff);
  border-color: color-mix(in srgb, var(--color-deep) 86%, #ffffff);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px var(--color-navy-50, rgba(11, 39, 69, 0.5));
}

.home-sermons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.home-sermons-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--color-deep);
}

.home-sermons-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(11, 39, 69, 0.06);
  border: 1px solid rgba(11, 39, 69, 0.12);
  box-shadow: 0 18px 40px -22px rgba(11, 39, 69, 0.35);
}

.home-sermons-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-standard, ease);
}

.home-sermons-card:hover .home-sermons-thumb img {
  transform: scale(1.05);
}

.home-sermons-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-brand-yellow, #D9A72E);
  color: var(--color-deep);
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s var(--ease-standard, ease), box-shadow 0.3s ease;
}

.home-sermons-play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.home-sermons-card:hover .home-sermons-play {
  transform: scale(1.08);
  box-shadow: 0 14px 32px -8px rgba(0, 0, 0, 0.6);
}

.home-sermons-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.home-sermons-date {
  font-family: var(--font-nav, var(--font-body, sans-serif));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.9;
}

.home-sermons-card-title {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.32;
  color: var(--color-deep);
  transition: color 0.25s ease;
}

.home-sermons-card:hover .home-sermons-card-title {
  color: var(--color-gold);
}

/* Loading skeletons while the playlist is fetched */
.home-sermons-card.is-skeleton {
  pointer-events: none;
}

.home-sermons-skeleton-bar {
  display: block;
  border-radius: 8px;
  background: linear-gradient(
    100deg,
    rgba(11, 39, 69, 0.07) 40%,
    rgba(11, 39, 69, 0.16) 50%,
    rgba(11, 39, 69, 0.07) 60%
  );
  background-size: 200% 100%;
  animation: sermonsShimmer 1.4s linear infinite;
}

.home-sermons-card.is-skeleton .home-sermons-thumb {
  background: linear-gradient(
    100deg,
    rgba(11, 39, 69, 0.05) 40%,
    rgba(11, 39, 69, 0.12) 50%,
    rgba(11, 39, 69, 0.05) 60%
  );
  background-size: 200% 100%;
  animation: sermonsShimmer 1.4s linear infinite;
}

.home-sermons-skeleton-bar--date {
  width: 90px;
  height: 11px;
}

.home-sermons-skeleton-bar--title {
  width: 100%;
  height: 20px;
}

@keyframes sermonsShimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── Mobile carousel (phones: <768px). Screens ≥768px keep the row
      of 3; the class is added by LatestSermons.tsx via matchMedia, and
      the media query below is the pre-hydration fallback. ─────────── */
.home-sermons-carousel {
  position: relative;
}

.home-sermons-viewport {
  overflow: hidden;
}

.home-sermons-grid.is-carousel {
  display: flex;
  gap: 0;
  transition: transform 0.55s var(--ease-standard, ease);
  will-change: transform;
}

.home-sermons-grid.is-carousel .home-sermons-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

.home-sermons-arrow {
  display: none;
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 39, 69, 0.35);
  background: rgba(247, 247, 243, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--color-deep);
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(11, 39, 69, 0.35);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-sermons-arrow:hover,
.home-sermons-arrow:focus-visible {
  background: var(--color-brand-yellow, #D9A72E);
  border-color: var(--color-brand-yellow, #D9A72E);
  color: var(--color-deep);
  transform: translateY(-50%) scale(1.05);
}

.home-sermons-arrow--prev {
  left: 10px;
}

.home-sermons-arrow--next {
  right: 10px;
}

.home-sermons-carousel.is-active .home-sermons-arrow {
  display: inline-flex;
}

.home-sermons-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
}

.home-sermons-carousel.is-active .home-sermons-dots {
  display: flex;
}

.home-sermons-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 39, 69, 0.25);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.home-sermons-dot.is-active {
  width: 26px;
  background: var(--color-brand-yellow, #D9A72E);
}

/* Pre-hydration / no-JS fallback on phones: single stacked column (the
   carousel takes over as soon as the component hydrates). */
@media (max-width: 767.98px) {
  .home-sermons-grid:not(.is-carousel) {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .home-sermons-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .home-sermons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
