:root {
  --background: #fbfdff;
  --foreground: #132235;
  --navy: #06264b;
  --deep-blue: #0c3d68;
  --blue: #1975b8;
  --pale-blue: #f2f8fd;
  --gold: #c69a39;
  --gold-soft: #fff4d7;
  --white: #ffffff;
  --muted: #627185;
  --line: #d8e6f0;
  --shadow: 0 20px 50px rgb(6 38 75 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, Helvetica, sans-serif;
}

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

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

.site-shell {
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(248 252 255 / 94%), rgb(255 255 255 / 100%) 42%),
    var(--background);
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 12px 42px;
  border-bottom: 1px solid rgb(216 230 240 / 72%);
  background: rgb(251 253 255 / 88%);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--deep-blue);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a,
.footer-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-cta {
  min-height: 44px;
  padding: 0 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
}

.button {
  padding: 0 24px;
  font-size: 0.94rem;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgb(6 38 75 / 15%);
}

.button-primary {
  background: var(--navy);
  color: var(--white);
}

.button-secondary {
  border-color: rgb(12 61 104 / 22%);
  background: rgb(255 255 255 / 72%);
  color: var(--navy);
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-section {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: 126px 42px 58px;
  color: var(--navy);
  background:
    linear-gradient(90deg, rgb(251 253 255 / 98%) 0%, rgb(242 248 253 / 90%) 52%, rgb(232 245 252 / 86%) 100%),
    var(--pale-blue);
}

.hero-section::before {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  content: "";
  background: linear-gradient(0deg, rgb(6 38 75 / 9%), rgb(6 38 75 / 0%));
}

.hero-watermark {
  position: absolute;
  z-index: -1;
  right: 3%;
  bottom: 8%;
  width: 620px;
  max-width: 54vw;
  opacity: 0.17;
  filter: saturate(0.92);
}

.hero-content,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  display: grid;
  gap: 20px;
  max-width: 760px;
  margin-left: max(0px, calc((100% - 1120px) / 2));
}

.section-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: 5.7rem;
  line-height: 0.94;
  text-transform: uppercase;
}

.hero-date {
  width: fit-content;
  margin: 0;
  padding: 12px 18px;
  border-left: 5px solid var(--gold);
  background: rgb(255 255 255 / 70%);
  color: var(--deep-blue);
  font-size: 2rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 670px;
  margin: 0;
  color: #24364b;
  font-size: 1.35rem;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  border: 1px solid rgb(12 61 104 / 16%);
  border-radius: 8px;
  background: rgb(255 255 255 / 72%);
  padding: 10px 13px;
  color: var(--deep-blue);
  font-weight: 720;
}

.hero-pastor {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-ribbon {
  position: absolute;
  right: 42px;
  bottom: 32px;
  display: flex;
  max-width: calc(100% - 84px);
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-ribbon span {
  border-radius: 8px;
  background: rgb(255 255 255 / 78%);
  padding: 10px 14px;
  box-shadow: 0 10px 26px rgb(6 38 75 / 8%);
}

.hero-ribbon span:first-child {
  background: var(--gold-soft);
  color: #765613;
}

.section {
  padding: 94px 0;
}

.intro-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro-grid,
.pastor-grid,
.video-grid,
.location-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.intro-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.intro-grid h2,
.section-heading h2,
.pastor-copy h2,
.video-copy h2,
.location-copy h2,
.final-cta h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 2.7rem;
  line-height: 1.05;
}

.intro-grid p,
.pastor-copy p,
.video-copy p,
.location-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.topic-card,
.event-card,
.map-card,
.video-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 255 255 / 86%);
  box-shadow: var(--shadow);
}

.topic-card {
  position: relative;
  overflow: hidden;
  min-height: 282px;
  padding: 28px;
}

.topic-card::after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 3px;
  content: "";
  background: var(--gold);
}

.topic-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.topic-number {
  color: rgb(25 117 184 / 18%);
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.8;
}

.topic-motif {
  border-radius: 999px;
  background: var(--pale-blue);
  padding: 8px 12px;
  color: var(--deep-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.topic-card h3 {
  margin: 0 0 13px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.28;
}

.topic-card p,
.event-card span,
.address-block p,
.reference-text,
.footer-brand span {
  color: var(--muted);
}

.topic-card p {
  margin: 0;
  line-height: 1.65;
}

.pastor-section,
.location-section {
  background: var(--pale-blue);
}

.pastor-grid {
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
}

.pastor-image {
  overflow: hidden;
  border: 1px solid rgb(216 230 240 / 82%);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.pastor-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 52% 20%;
}

.pastor-copy {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.pastor-copy p {
  font-size: 1.16rem;
}

.video-grid,
.location-grid {
  grid-template-columns: 0.82fr 1.18fr;
}

.video-copy,
.location-copy {
  display: grid;
  gap: 20px;
  align-content: start;
}

.video-frame {
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 16 / 9;
}

.video-frame iframe,
.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.event-section {
  background: var(--white);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.event-card {
  min-height: 160px;
  padding: 24px;
}

.event-card span {
  display: block;
  margin-bottom: 18px;
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.event-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.22;
}

.address-block {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  border-radius: 8px;
  background: var(--navy);
  padding: 24px;
}

.address-block p {
  margin: 0;
  color: rgb(255 255 255 / 84%);
  line-height: 1.6;
}

.address-block strong {
  border-radius: 8px;
  background: var(--gold-soft);
  padding: 14px 18px;
  color: #765613;
  font-size: 1.1rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-card {
  overflow: hidden;
  height: 430px;
  background:
    linear-gradient(rgb(255 255 255 / 10%), rgb(255 255 255 / 10%)),
    var(--white);
}

.final-cta {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgb(6 38 75 / 96%), rgb(12 61 104 / 95%)),
    var(--navy);
  color: var(--white);
}

.final-cta-inner {
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 860px;
}

.final-cta h2 {
  color: var(--white);
  font-size: 3.4rem;
  text-transform: uppercase;
}

.final-cta p {
  margin: 0;
  color: rgb(255 255 255 / 84%);
  font-size: 1.22rem;
  line-height: 1.7;
}

.final-cta strong {
  color: var(--gold-soft);
  font-size: 1.15rem;
}

.final-cta blockquote {
  margin: 12px 0 0;
  border-left: 4px solid var(--gold);
  padding-left: 18px;
  color: rgb(255 255 255 / 90%);
  font-size: 1.08rem;
  line-height: 1.7;
}

.final-cta cite {
  display: block;
  margin-top: 6px;
  color: var(--gold-soft);
  font-style: normal;
  font-weight: 800;
}

.site-footer {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 34px 42px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--navy);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--deep-blue);
  font-size: 0.92rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up both;
  animation-timeline: view();
  animation-range: entry 2% cover 24%;
}

.hero-content.reveal {
  animation: hero-up 760ms ease both;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports not (animation-timeline: view()) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-content.reveal {
    animation: hero-up 760ms ease both;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

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

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 10px 22px;
  }

  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 4.2rem;
  }

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

  .intro-grid,
  .pastor-grid,
  .video-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .pastor-image {
    max-width: 430px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    padding: 9px 16px;
  }

  .brand-mark span {
    display: none;
  }

  .brand-mark img {
    width: 46px;
    height: 46px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.76rem;
  }

  .hero-section {
    min-height: 100svh;
    padding: 94px 20px 34px;
  }

  .hero-watermark {
    right: -36%;
    bottom: 12%;
    max-width: none;
    width: 520px;
    opacity: 0.12;
  }

  .hero-content,
  .section-inner {
    width: 100%;
  }

  .hero-content {
    gap: 16px;
  }

  .hero-content h1 {
    font-size: 3.05rem;
    line-height: 1;
  }

  .hero-date {
    padding: 10px 14px;
    font-size: 1.28rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

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

  .button-row,
  .button {
    width: 100%;
  }

  .hero-ribbon {
    position: static;
    justify-content: flex-start;
    max-width: none;
    margin: 26px 0 0;
  }

  .section {
    padding: 66px 20px;
  }

  .intro-grid h2,
  .section-heading h2,
  .pastor-copy h2,
  .video-copy h2,
  .location-copy h2 {
    font-size: 2.05rem;
  }

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

  .topic-card {
    min-height: auto;
    padding: 24px;
  }

  .topic-number {
    font-size: 3.2rem;
  }

  .pastor-image img {
    height: 430px;
  }

  .video-copy .button,
  .location-copy .button {
    width: 100%;
  }

  .address-block {
    display: grid;
    gap: 18px;
  }

  .address-block strong {
    width: fit-content;
    white-space: normal;
  }

  .map-card {
    height: 360px;
  }

  .final-cta {
    padding: 72px 20px;
  }

  .final-cta h2 {
    font-size: 2.4rem;
  }

  .site-footer {
    display: grid;
    padding: 30px 20px;
  }
}
