/* Spring of Life Evangelistic Ministry — v4 "Welcome Home"
   International church-brand design language (ref: ICGC, Elevation, Hillsong):
   bright white canvas, bold grotesk display type, photography-led sections,
   brand gold for action, deep navy for anchor blocks.
   Type: Bricolage Grotesque (display) + Public Sans (body).
   Radius rule: buttons = pill, cards/media = 20px, inputs = 12px.
   Theme: light, locked. Navy blocks (watch band, footer) are brand anchors.
   html.g = GSAP active (CSS reveal fallback disabled). */

:root {
  --paper: #ffffff;
  --paper-warm: #f6f5f1;
  --ink: #101319;
  --ink-soft: #545b69;
  --ink-faint: #8a90a0;
  --line: #e8e6e0;
  --navy: #0a1628;
  --navy-800: #13253f;
  --gold: #c9962e;
  --gold-bright: #dcae4e;
  --gold-deep: #8f6a1c;
  --gold-soft: #f6ecd8;
  --radius-card: 20px;
  --radius-input: 12px;
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}

.display-hero { font-size: clamp(2.9rem, 7vw, 5.6rem); }
.display-xl { font-size: clamp(2.4rem, 5vw, 4rem); }
.display-lg { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.display-md { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 58ch;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 16px 32px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    box-shadow 250ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }

.btn-gold { background: var(--gold); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover {
    background: var(--gold-bright);
    box-shadow: 0 12px 32px rgba(201, 150, 46, 0.35);
    transform: translateY(-1px);
  }
}

.btn-ink { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover { background: #2a2f3a; transform: translateY(-1px); }
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
}

.btn-white { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-white:hover { background: var(--gold-bright); color: var(--ink); transform: translateY(-1px); }
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (hover: hover) and (pointer: fine) {
  .btn-ghost-light:hover { background: rgba(255, 255, 255, 0.24); }
}

.text-link {
  position: relative;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 3px;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { color: var(--gold-deep); }
  .text-link:hover::after { transform: scaleX(0.4); }
}

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  font-weight: 600;
}
.announce .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.announce .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  margin-right: 8px;
}
@media (prefers-reduced-motion: no-preference) {
  .announce .live-dot { animation: pulse 2s ease-in-out infinite; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.announce a { color: var(--gold-bright); text-decoration: none; font-weight: 700; }
.announce a:hover { text-decoration: underline; }
@media (max-width: 700px) { .announce .hide-sm { display: none; } }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(16, 19, 25, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  transition: height 300ms var(--ease-out);
}
.site-header.scrolled .header-inner { height: 64px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 3px;
  transition: width 300ms var(--ease-out), height 300ms var(--ease-out);
}
.site-header.scrolled .brand img { width: 38px; height: 38px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.site-nav a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  padding-bottom: 4px;
  transition: color 200ms var(--ease-out);
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--ink); }
  .site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
}
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
.site-nav .nav-cta {
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 999px;
  transition: background-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.site-nav .nav-cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .site-nav .nav-cta:hover { background: var(--gold-bright); color: #fff; }
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 250ms var(--ease-out), opacity 200ms var(--ease-out);
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    padding: 14px 24px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(16, 19, 25, 0.08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; font-size: 1.06rem; }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--gold-deep); }
  .site-nav .nav-cta { margin-top: 12px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(88svh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -10%;
  bottom: 0;
  z-index: 0;
  will-change: transform;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform-origin: center 45%;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img { animation: kenburns 28s var(--ease-out) forwards; }
}
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
}
.hero-bg video.playing { opacity: 1; }
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(6, 12, 22, 0.82) 0%, rgba(6, 12, 22, 0.35) 45%, rgba(6, 12, 22, 0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 90px;
  padding-bottom: clamp(56px, 8vh, 100px);
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 9px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 26px;
}
.hero-chip svg { color: var(--gold-bright); }
.h-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.h-line > span { display: block; }
.hero-content h1 { max-width: 14ch; }
.hero-sub {
  margin: 22px 0 34px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Quick action tiles ---------- */

.tiles-band { margin-top: -56px; position: relative; z-index: 5; }
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 24px 22px;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(16, 19, 25, 0.08);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 56px rgba(16, 19, 25, 0.12);
    border-color: rgba(201, 150, 46, 0.5);
  }
}
.tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.tile h3 { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.01em; }
.tile p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.tile .tile-go {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-deep);
}
@media (max-width: 980px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */

.section { position: relative; padding: clamp(72px, 10vw, 130px) 0; overflow: clip; }
.section-tight { position: relative; padding: clamp(48px, 6vw, 84px) 0; overflow: clip; }
.section-warm { background: var(--paper-warm); }

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}
.sec-head h2 { margin-top: 14px; max-width: 22ch; }

/* Identity statement */
.identity {
  text-align: center;
}
.identity .statement {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  line-height: 1.16;
  max-width: 26ch;
  margin: 22px auto 0;
}
.identity .statement em {
  font-style: normal;
  color: var(--gold);
}

/* ---------- Watch band (dark) ---------- */

.watch-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.watch-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
}
.watch-media {
  position: relative;
  display: block;
  min-height: 100%;
}
.watch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  opacity: 0.88;
  transition: transform 600ms var(--ease-out), opacity 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .watch-media:hover img { transform: scale(1.03); opacity: 0.7; }
}
.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 36px rgba(6, 12, 22, 0.5);
  transition: transform 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .watch-media:hover .play-badge { transform: translate(-50%, -50%) scale(1.1); }
}
.watch-copy { padding: clamp(32px, 5vw, 64px); }
.watch-copy .kicker { color: var(--gold-bright); }
.watch-copy h2 { margin: 14px 0 14px; }
.watch-copy p { color: rgba(255, 255, 255, 0.78); margin-bottom: 26px; max-width: 44ch; }
.watch-list { list-style: none; margin-bottom: 30px; }
.watch-list li { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.watch-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.watch-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 200ms var(--ease-out), padding-left 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .watch-list a:hover { color: var(--gold-bright); padding-left: 12px; }
}
.watch-list svg { flex: none; color: var(--gold-bright); }
@media (max-width: 900px) {
  .watch-grid { grid-template-columns: 1fr; }
}

/* ---------- Sabbath planner ---------- */

.sabbath-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.sabbath-copy h2 { margin: 14px 0 18px; }
.sabbath-copy > p { color: var(--ink-soft); margin-bottom: 18px; max-width: 50ch; }
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--gold-deep);
  background: var(--gold-soft);
  border: 1px solid rgba(201, 150, 46, 0.4);
  border-radius: 999px;
  padding: 10px 22px;
  margin-bottom: 26px;
}
.countdown:empty { display: none; }
.times-list { list-style: none; border-top: 1px solid var(--line); margin-bottom: 28px; }
.times-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.times-list .t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.times-list .d { color: var(--ink-soft); font-size: 0.96rem; }
.times-list .d strong { color: var(--ink); font-weight: 700; }
.sabbath-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.sabbath-media img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}
.sabbath-media figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 16px 20px;
  color: var(--ink);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sabbath-media figcaption svg { flex: none; color: var(--gold-deep); }
@media (max-width: 900px) {
  .sabbath-grid { grid-template-columns: 1fr; }
}

/* ---------- Ministry cards ---------- */

.ministry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.min-card {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  aspect-ratio: 4 / 4.6;
  background: var(--navy);
}
.min-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .min-card:hover img { transform: scale(1.05); }
}
.min-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 12, 22, 0.88) 0%, rgba(6, 12, 22, 0.25) 45%, rgba(6, 12, 22, 0.05) 100%);
}
.min-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 24px 26px;
}
.min-card-body h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); margin-bottom: 6px; }
.min-card-body p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); line-height: 1.5; }
.min-card-body .go {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-bright);
}
@media (max-width: 980px) { .ministry-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ministry-grid { grid-template-columns: 1fr; } }

/* ---------- Prayer strip ---------- */

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.prayer-grid figure {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.prayer-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .prayer-grid figure:hover img { transform: scale(1.04); }
}
.prayer-grid figure:nth-child(2) { transform: translateY(22px); }
.prayer-grid figure:nth-child(4) { transform: translateY(22px); }
.prayer-foot {
  margin-top: 54px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.prayer-foot p {
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 1.02rem;
}
@media (max-width: 900px) {
  .prayer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Gallery marquee ---------- */

.marquee-section { overflow: hidden; }
.marquee { display: flex; gap: 16px; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .marquee { animation: marquee 46s linear infinite; }
  .marquee:hover { animation-play-state: paused; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee figure {
  flex: none;
  width: clamp(250px, 28vw, 400px);
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.marquee img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Devotion ---------- */

.devotion-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(34px, 5vw, 64px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(16, 19, 25, 0.07);
}
.devotion-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: var(--gold);
  border-radius: 0 0 4px 4px;
}
.devo-date {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.devo-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 18px;
}
.devo-verse {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  font-weight: 500;
  color: var(--gold-deep);
  max-width: 54ch;
  margin: 0 auto 10px;
}
.devo-ref {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 24px;
}
.devo-body { color: var(--ink-soft); max-width: 60ch; margin: 0 auto 26px; text-align: left; }
.devo-prayer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: 54ch;
  margin: 0 auto;
  color: var(--ink-soft);
  font-style: italic;
}
.devo-prayer strong {
  display: block;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.devo-note { margin-top: 24px; font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- Serve / involvement ---------- */

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.serve-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .serve-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(16, 19, 25, 0.08); }
}
.serve-card .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold-deep);
  display: inline-block;
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.serve-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.serve-card p { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 900px) { .serve-grid { grid-template-columns: 1fr; } }

/* ---------- Big CTA ---------- */

.cta-photo {
  position: relative;
  color: #fff;
  text-align: center;
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: clamp(72px, 10vw, 130px) clamp(24px, 4vw, 60px);
}
.cta-photo .cta-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -16%;
  bottom: 0;
  z-index: 0;
  will-change: transform;
}
.cta-photo .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(6, 12, 22, 0.72), rgba(6, 12, 22, 0.6));
}
.cta-photo > .cta-inner { position: relative; z-index: 2; }
.cta-photo h2 { max-width: 20ch; margin: 0 auto 16px; }
.cta-photo p { color: rgba(255, 255, 255, 0.88); max-width: 50ch; margin: 0 auto 32px; }

/* ---------- Page hero (interior) ---------- */

.page-hero {
  position: relative;
  color: #fff;
  padding: clamp(96px, 16vh, 170px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.page-hero .page-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .page-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(6, 12, 22, 0.85) 0%, rgba(6, 12, 22, 0.45) 60%, rgba(6, 12, 22, 0.35) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .kicker { color: var(--gold-bright); }
.page-hero h1 { margin-top: 14px; }
.page-hero .lede { margin-top: 18px; color: rgba(255, 255, 255, 0.88); }

/* ---------- Content blocks (interior) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.split.reverse > .split-media { order: 2; }
.split-media .media-clip {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(16, 19, 25, 0.12);
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-copy h2 { margin: 14px 0 18px; }
.split-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.split-copy p:last-of-type { margin-bottom: 0; }
.split-copy .btn, .split-copy .text-link { margin-top: 14px; display: inline-flex; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > .split-media { order: 0; }
}

.principles { border-top: 1px solid var(--line); }
.principle {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(20px, 4vw, 70px);
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.principle h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.principle p { color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 700px) {
  .principle { grid-template-columns: 1fr; gap: 10px; }
}

.project-figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(16, 19, 25, 0.12);
}
.project-figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.prose { max-width: 66ch; }
.prose p { color: var(--ink-soft); margin-bottom: 18px; }
.duo-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 38px 0;
}
.duo-figures img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
}
@media (max-width: 700px) { .duo-figures { grid-template-columns: 1fr; } }

/* Sermons */
.sermon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 48px);
}
.sermon h3 { margin: 20px 0 8px; font-size: 1.3rem; }
.sermon p { color: var(--ink-soft); font-size: 0.97rem; max-width: 55ch; }
.sermon .frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(16, 19, 25, 0.12);
}
.sermon iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .sermon-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 24px 60px rgba(16, 19, 25, 0.07);
}
.contact-form h2 { margin-bottom: 8px; }
.contact-form .form-sub { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-input);
  background: var(--paper-warm);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 150, 46, 0.18);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.contact-info h2 { margin-bottom: 10px; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 24px; max-width: 46ch; }
.info-block {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.info-block:last-of-type { border-bottom: 1px solid var(--line); }
.info-block .ib-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
}
.info-block h3 { font-size: 1.02rem; margin-bottom: 3px; }
.info-block p, .info-block a { color: var(--ink-soft); font-size: 0.95rem; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .info-block a:hover { color: var(--gold-deep); text-decoration: underline; }
}
.map-frame {
  margin-top: 32px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 18px 44px rgba(16, 19, 25, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out);
  z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(64px, 9vw, 100px) 0 0;
  margin-top: clamp(72px, 10vw, 130px);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-top h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  max-width: 18ch;
}
.footer-top h2 em { font-style: normal; color: var(--gold-bright); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: clamp(32px, 5vw, 76px);
  padding: 48px 0;
}
.footer-brand .brand { margin-bottom: 18px; color: #fff; }
.footer-brand .brand img { border-color: transparent; }
.footer-brand .brand-name small { color: var(--gold-bright); }
.footer-brand p { font-size: 0.94rem; max-width: 38ch; }
.site-footer h4 {
  font-family: var(--font-body);
  font-weight: 700;
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: 0.95rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, 0.75); text-decoration: none; transition: color 200ms var(--ease-out); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (CSS fallback; disabled when GSAP drives) ---------- */

@media (prefers-reduced-motion: no-preference) {
  html:not(.g) .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  }
  html:not(.g) .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Ambient motion (decorative only; transform/opacity; off main thread) ---------- */

.amb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(64px);
  opacity: 0.5;
  z-index: 1;
  will-change: transform;
}
.amb-gold { background: radial-gradient(circle, rgba(212, 164, 60, 0.34), transparent 65%); }
.amb-blue { background: radial-gradient(circle, rgba(64, 130, 190, 0.30), transparent 65%); }
.amb-soft { opacity: 0.32; }

@media (prefers-reduced-motion: no-preference) {
  .amb-a { animation: amb-a 26s var(--ease-in-out) infinite alternate; }
  .amb-b { animation: amb-b 34s var(--ease-in-out) infinite alternate; }
}
@keyframes amb-a {
  from { transform: translate3d(-6%, -4%, 0) scale(1); }
  to { transform: translate3d(10%, 8%, 0) scale(1.18); }
}
@keyframes amb-b {
  from { transform: translate3d(6%, 5%, 0) scale(1.12); }
  to { transform: translate3d(-9%, -7%, 0) scale(0.94); }
}

/* Ripple rings — the "spring" motif */
.ripples {
  position: absolute;
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 0;
}
.ripples i {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(201, 150, 46, 0.4);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.35);
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: no-preference) {
  .ripples i { animation: ripple 10s linear infinite; }
  .ripples i:nth-child(2) { animation-delay: 3.3s; }
  .ripples i:nth-child(3) { animation-delay: 6.6s; }
}
@media (prefers-reduced-motion: reduce) {
  .ripples i { opacity: 0.16; transform: scale(0.8); }
  .ripples i:nth-child(2) { transform: scale(1); opacity: 0.1; }
  .ripples i:nth-child(3) { display: none; }
}
@keyframes ripple {
  0% { transform: scale(0.35); opacity: 0; }
  10% { opacity: 0.45; }
  70% { opacity: 0.1; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Gold button sheen sweep */
.btn-gold, .site-nav .nav-cta {
  position: relative;
  overflow: hidden;
}
.btn-gold::before, .site-nav .nav-cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: translateX(-180%) skewX(-18deg);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn-gold:hover::before, .site-nav .nav-cta:hover::before {
    transform: translateX(340%) skewX(-18deg);
    transition: transform 700ms var(--ease-out);
  }
}

/* Hero scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  z-index: 2;
}
.scroll-cue i {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold-bright);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue i { animation: cue 2.4s var(--ease-in-out) infinite; }
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(15px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* Devotion card: slow breathing glow */
@media (prefers-reduced-motion: no-preference) {
  .devotion-card { animation: devo-glow 7s var(--ease-in-out) infinite alternate; }
}
@keyframes devo-glow {
  from { box-shadow: 0 24px 60px rgba(16, 19, 25, 0.07), 0 0 0px rgba(212, 164, 60, 0); }
  to { box-shadow: 0 24px 60px rgba(16, 19, 25, 0.07), 0 0 44px rgba(212, 164, 60, 0.22); }
}

/* Sections that host ripples need stacking context for content */
.identity .wrap, .section > .wrap { position: relative; z-index: 1; }
.site-footer { position: relative; overflow: clip; }
.site-footer > .wrap { position: relative; z-index: 1; }
