/* ==========================================================================
   Holy Temple Apostolic Faith Church — site styles
   Palette pulled from the church logo: crimson cross + gold ring.
   ========================================================================== */

:root {
  --wine-950: #24040a;
  --wine-900: #3a0710;
  --wine-800: #550a1a;
  --wine-700: #700f24;
  --wine-600: #8f152f;
  --crimson: #b3203a;
  --gold: #d6a332;
  --gold-600: #b8861c;
  --gold-300: #f1d27f;
  --gold-100: #fbf0d2;
  --cream: #fbf7f0;
  --sand: #f4ebdd;
  --ink: #1f1517;
  --ink-soft: #4a3d40;
  --muted: #7a6a6d;
  --line: rgba(31, 21, 23, 0.12);
  --white: #fff;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(58, 7, 16, 0.08);
  --shadow: 0 18px 50px -18px rgba(58, 7, 16, 0.35);
  --shadow-lg: 0 40px 80px -30px rgba(36, 4, 10, 0.55);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--wine-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--crimson); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.2; }
p { margin: 0 0 1.1em; }
em.accent, .accent { font-style: italic; color: var(--gold); font-weight: 500; }
::selection { background: var(--gold-300); color: var(--wine-900); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--wine-900); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--wine-700); --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 0.95rem/1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(58, 7, 16, 0.55); }
.btn svg { width: 1.1em; height: 1.1em; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { --btn-bg: linear-gradient(135deg, var(--gold-300), var(--gold) 55%, var(--gold-600)); --btn-fg: var(--wine-900); background: var(--btn-bg); }
.btn--gold:hover { box-shadow: 0 14px 34px -10px rgba(214, 163, 50, 0.7); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255, 255, 255, 0.45); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--wine-700); border-color: var(--wine-700); }
.btn--outline:hover { --btn-fg: var(--white); background: var(--wine-700); }
.btn--sm { padding: 0.7em 1.2em; font-size: 0.85rem; }
.btn--lg { padding: 1.15em 2em; font-size: 1.02rem; }

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75em;
  font: 800 0.76rem/1 var(--font-body);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .eyebrow--gold { color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); line-height: 1.7; }
.on-dark .lead { color: rgba(255, 255, 255, 0.78); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--sand { background: var(--sand); }
.section--dark {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(214, 163, 50, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(179, 32, 58, 0.45), transparent 60%),
    var(--wine-900);
  color: var(--white);
}
.section--dark h2, .section--dark h3 { color: var(--white); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.3s, height 0.4s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 66px;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(58, 7, 16, 0.35);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand__mark { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25)); }
.site-header.is-scrolled .brand__mark { filter: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.01em; }
.brand__sub { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  position: relative;
  color: inherit; text-decoration: none;
  font-weight: 600; font-size: 0.93rem;
  padding: 0.6em 0.85em;
  border-radius: 999px;
  transition: background 0.25s;
}
.nav__link:hover { color: inherit; background: rgba(255, 255, 255, 0.12); }
.site-header.is-scrolled .nav__link:hover { background: rgba(112, 15, 36, 0.07); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--gold);
}
.nav .btn { margin-left: 0.75rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid currentColor; background: transparent; color: inherit;
  cursor: pointer; position: relative; z-index: 120;
}
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.menu-open .nav-toggle { color: var(--white); }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(214, 163, 50, 0.25), transparent 60%),
    var(--wine-900);
  color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 0.25rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.6rem); font-weight: 500;
  color: var(--white); text-decoration: none; padding: 0.2em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(12px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s, color 0.2s;
}
.mobile-menu a:not(.btn):hover, .mobile-menu a[aria-current="page"] { color: var(--gold-300); }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.04s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.08s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.12s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.16s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: 0.2s; }
.mobile-menu .btn { margin-top: 1.5rem; align-self: flex-start; }
.mobile-menu__meta { margin-top: auto; padding-top: 2rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); }
.mobile-menu__meta a { color: var(--gold-300) !important; font: inherit !important; border: 0 !important; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex; align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(9rem, 16vw, 11rem);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.08); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(36, 4, 10, 0.94) 0%, rgba(58, 7, 16, 0.78) 42%, rgba(58, 7, 16, 0.25) 100%),
    linear-gradient(0deg, rgba(36, 4, 10, 0.9) 0%, transparent 45%);
}
.hero__glow {
  position: absolute; z-index: -1; width: 720px; height: 720px; right: -200px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 163, 50, 0.35), transparent 65%);
  filter: blur(10px);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5em 1em 0.5em 0.6em; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
}
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(214, 163, 50, 0.25); }
.hero__title { font-size: clamp(3rem, 8.2vw, 6.6rem); font-weight: 500; line-height: 0.98; margin-bottom: 1.5rem; }
.hero__title .ring-word { position: relative; display: inline-block; font-style: italic; color: var(--gold-300); white-space: nowrap; }
.ring-word svg { position: absolute; left: -9%; top: -6%; width: 122%; height: 126%; overflow: visible; pointer-events: none; }
.ring-word ellipse {
  fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; opacity: 0.9;
  stroke-dasharray: 700; stroke-dashoffset: 700;
  animation: drawRing 1.8s 0.6s var(--ease) forwards;
}
@keyframes drawRing { to { stroke-dashoffset: 0; } }
.hero__text { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 560px; color: rgba(255, 255, 255, 0.82); margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.next-service {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--shadow-lg);
}
.next-service__label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300); }
.next-service__label .live { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); animation: pulse 1.8s infinite; display: none; }
.next-service.is-live .live { display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.next-service__name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; line-height: 1.15; margin: 0.6rem 0 0.2rem; }
.next-service__when { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin: 1.2rem 0 1.3rem; }
.countdown div { text-align: center; padding: 0.7rem 0.2rem; border-radius: 12px; background: rgba(36, 4, 10, 0.35); border: 1px solid rgba(255, 255, 255, 0.1); }
.countdown b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.next-service__addr { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.next-service__addr svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold-300); }
.next-service__addr a { color: var(--white); }

.scroll-cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 20px; display: none; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Service times ribbon ---------- */
.times { position: relative; z-index: 5; margin-top: clamp(-7rem, -11vw, -5.5rem); }
.times__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.time-card { background: var(--white); padding: 1.7rem 1.6rem; position: relative; transition: background 0.3s; }
.time-card:hover { background: var(--gold-100); }
.time-card__day { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--crimson); }
.time-card__time { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 500; line-height: 1; margin: 0.6rem 0 0.4rem; color: var(--wine-900); }
.time-card__time small { font-size: 0.45em; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.05em; margin-left: 4px; color: var(--muted); }
.time-card__name { font-weight: 600; color: var(--ink-soft); margin: 0; line-height: 1.4; }
.time-card.is-next::before { content: "Up next"; position: absolute; top: 1.3rem; right: 1.3rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; background: var(--gold); color: var(--wine-900); padding: 0.35em 0.7em; border-radius: 999px; }

/* ---------- Welcome split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--flip > :first-child { order: 2; }
.media-stack { position: relative; }
.media-stack__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__badge {
  position: absolute; right: -24px; bottom: 40px;
  background: var(--wine-800); color: var(--white);
  padding: 1.4rem 1.6rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 230px;
}
.media-stack__badge b { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 500; line-height: 1; color: var(--gold-300); }
.media-stack__badge span { font-size: 0.9rem; opacity: 0.85; }
.media-stack__ring { position: absolute; left: -40px; top: -40px; width: 180px; height: 180px; border: 2px solid var(--gold); border-radius: 50%; opacity: 0.5; z-index: -1; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 500; color: var(--wine-700); line-height: 1; }
.stat span { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* ---------- Beliefs ---------- */
.belief { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.belief__verse {
  position: relative; padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.belief__verse::before { content: "\201C"; position: absolute; top: -0.35em; left: 0.2em; font-family: var(--font-display); font-size: 9rem; line-height: 1; color: var(--gold); opacity: 0.9; }
.belief__verse blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.35; font-weight: 400; font-style: italic; }
.belief__verse cite { display: block; margin-top: 1.2rem; font-style: normal; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold-300); }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.pillar { padding: 1.2rem 1.3rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.3s, transform 0.4s var(--ease); }
.pillar:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }
.pillar h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.pillar p { margin: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); }
.pillar small { display: inline-block; margin-top: 0.5rem; font-weight: 700; color: var(--gold-300); font-size: 0.78rem; letter-spacing: 0.06em; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--crimson) 60%, var(--wine-800)); }
.tl-item { display: grid; grid-template-columns: 150px 1fr; gap: 3rem; padding-bottom: 2.8rem; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 150px; top: 8px; width: 16px; height: 16px; margin-left: -7px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); box-shadow: 0 0 0 6px rgba(214, 163, 50, 0.15); }
.section--sand .tl-item::before { background: var(--sand); }
.tl-item__year { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; color: var(--wine-700); line-height: 1; text-align: right; padding-right: 0.5rem; }
.tl-item__year small { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.45rem; }
.tl-item__body h3 { margin-bottom: 0.4rem; }
.tl-item__body p { color: var(--ink-soft); margin: 0 0 0.8em; }
.tl-item__body p:last-child { margin: 0; }

/* Home timeline teaser: horizontal */
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; }
.milestones::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--crimson)); opacity: 0.6; }
.milestone { position: relative; padding-top: 3.4rem; }
.milestone::before { content: ""; position: absolute; top: 18px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--sand); border: 3px solid var(--gold); }
.milestone b { font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; color: var(--wine-700); display: block; line-height: 1; margin-bottom: 0.6rem; }
.milestone p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Pastor ---------- */
.pastor { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.portrait { position: relative; width: clamp(200px, 26vw, 300px); aspect-ratio: 1; }
.portrait__img { position: absolute; inset: 14px; border-radius: 50%; overflow: hidden; background: var(--wine-800); box-shadow: var(--shadow); }
.portrait__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.15); }
.portrait::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); }
.portrait::after { content: ""; position: absolute; inset: -10% -18%; border-radius: 50%; border: 2px solid var(--gold); opacity: 0.45; transform: rotate(-14deg) scaleY(0.42); top: 62%; bottom: -22%; }
.pastor__name { font-size: clamp(2rem, 4vw, 3rem); }
.pastor__title { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--crimson); margin-bottom: 1.2rem; }

.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.8rem; }
.facts li { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.facts b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--wine-700); line-height: 1.1; }
.facts span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* ---------- Ministries bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(230px, auto); gap: 1.1rem; }
.tile {
  position: relative; overflow: hidden;
  grid-column: span 2;
  padding: 1.8rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
a.tile:hover { color: var(--ink); transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.tile--wide { grid-column: span 3; }
.tile--xl { grid-column: span 4; grid-row: span 2; }
.tile--dark { background: linear-gradient(160deg, var(--wine-700), var(--wine-900)); color: var(--white); border: 0; }
a.tile--dark:hover { color: var(--white); }
.tile--gold { background: linear-gradient(150deg, var(--gold-300), var(--gold) 60%, var(--gold-600)); color: var(--wine-900); border: 0; }
a.tile--gold:hover { color: var(--wine-900); }
.tile--photo { color: var(--white); border: 0; justify-content: flex-end; min-height: 380px; }
a.tile--photo:hover { color: var(--white); }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile--photo:hover img { transform: scale(1.05); }
.tile--photo { isolation: isolate; }
.tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(36, 4, 10, 0.92) 0%, rgba(58, 7, 16, 0.35) 55%, rgba(58, 7, 16, 0.1) 100%); }
.tile__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-100); color: var(--wine-700); margin-bottom: auto; }
.tile--dark .tile__icon { background: rgba(255, 255, 255, 0.1); color: var(--gold-300); }
.tile--gold .tile__icon { background: rgba(58, 7, 16, 0.1); color: var(--wine-800); }
.tile__icon svg { width: 26px; height: 26px; }
.tile h3 { margin: 1.5rem 0 0.4rem; }
.tile--xl h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.tile p { margin: 0; font-size: 0.95rem; opacity: 0.8; }
.tile__more { margin-top: 1rem; font-weight: 700; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.tile__more svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
a.tile:hover .tile__more svg { transform: translateX(4px); }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; list-style: none; padding: 0; }
.chips li { font-size: 0.8rem; font-weight: 700; padding: 0.4em 0.85em; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.2); }
.chips--light li { background: var(--gold-100); border-color: transparent; color: var(--wine-800); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(241, 210, 127, 0.35), transparent 70%),
    linear-gradient(120deg, var(--wine-800), var(--crimson));
  color: var(--white);
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.cta-band__cross { position: absolute; right: -40px; bottom: -80px; width: 320px; opacity: 0.08; z-index: -1; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Visit / map ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.25rem; align-items: stretch; }
.visit__card { padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.visit__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--sand); box-shadow: var(--shadow); position: relative; }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(0.85) contrast(1.02); }
.info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 0.9rem; align-items: start; }
.info-list .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-100); color: var(--wine-700); }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list b { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.info-list span, .info-list a { font-weight: 600; color: var(--ink); text-decoration: none; }
.info-list a:hover { color: var(--crimson); text-decoration: underline; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(4rem, 8vw, 6rem);
  color: var(--white);
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(214, 163, 50, 0.25), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(179, 32, 58, 0.55), transparent 60%),
    var(--wine-900);
}
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; mix-blend-mode: luminosity; }
.page-hero::after {
  content: ""; position: absolute; z-index: -1; right: max(-120px, -8vw); top: 50%; width: min(620px, 70vw); aspect-ratio: 1; transform: translateY(-40%);
  border-radius: 50%; border: 2px solid rgba(214, 163, 50, 0.35);
  box-shadow: inset 0 0 0 40px rgba(214, 163, 50, 0.03), inset 0 0 0 80px rgba(214, 163, 50, 0.03);
}
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 500; max-width: 900px; margin-bottom: 1rem; }
.page-hero h1 em { color: var(--gold-300); font-weight: 400; }
.page-hero p { max-width: 640px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, 0.8); margin: 0; }
.crumbs { display: flex; gap: 0.5rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.6); margin-bottom: 1.4rem; }
.crumbs a { color: var(--gold-300); text-decoration: none; }

.subnav { position: sticky; top: 66px; z-index: 50; background: rgba(251, 247, 240, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 0.35rem; list-style: none; margin: 0; padding: 0.7rem 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 0.5em 1.05em; border-radius: 999px; font-weight: 700; font-size: 0.88rem; text-decoration: none; color: var(--ink-soft); white-space: nowrap; transition: background 0.25s, color 0.25s; }
.subnav a:hover { background: rgba(112, 15, 36, 0.07); color: var(--wine-700); }
.subnav a.is-active { background: var(--wine-700); color: var(--white); }

.prose { max-width: 720px; }
.prose p { color: var(--ink-soft); }
.prose .dropcap::first-letter { float: left; font-family: var(--font-display); font-size: 4.6rem; line-height: 0.85; padding: 0.08em 0.1em 0 0; color: var(--crimson); }
.pullquote { margin: 2.5rem 0; padding: 0.3rem 0 0.3rem 1.6rem; border-left: 3px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.5vw, 1.9rem); line-height: 1.35; color: var(--wine-800); }

.scripture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.scripture { padding: 1.8rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.scripture__ref { display: inline-block; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wine-700); background: var(--gold-100); padding: 0.45em 0.8em; border-radius: 999px; margin-bottom: 1rem; }
.scripture h3 { margin-bottom: 0.5rem; }
.scripture p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
.scripture__num { position: absolute; right: 1rem; top: 0.2rem; font-family: var(--font-display); font-size: 5rem; font-weight: 600; color: var(--gold-100); line-height: 1; z-index: 0; }
.scripture > *:not(.scripture__num) { position: relative; z-index: 1; }

/* Leadership */
.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; }
.leader {
  padding: 1.6rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.leader:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.leader--lead { background: linear-gradient(160deg, var(--wine-700), var(--wine-900)); color: var(--white); border: 0; }
.leader__mono { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--wine-800); background: linear-gradient(135deg, var(--gold-300), var(--gold)); }
.leader__name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; line-height: 1.2; }
.leader__role { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crimson); }
.leader--lead .leader__role { color: var(--gold-300); }
.leader__mail { margin-top: auto; padding-top: 1rem; font-size: 0.88rem; font-weight: 600; word-break: break-all; display: inline-flex; gap: 0.45rem; align-items: center; }
.leader__mail svg { width: 16px; height: 16px; flex: none; }
.leader--lead .leader__mail { color: var(--gold-300); }

/* Cards / documents */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { padding: 1.8rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.card h3 { margin: 1.1rem 0 0.4rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
.card .tile__icon { margin: 0; }
.doc-list { display: grid; gap: 0.8rem; }
.doc {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-weight: 700; transition: border-color 0.25s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.doc:hover { color: var(--ink); border-color: var(--gold); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.doc__ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--wine-700); color: var(--white); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; }
.doc small { display: block; font-weight: 600; color: var(--muted); font-size: 0.82rem; }
.doc svg.arrow { width: 20px; height: 20px; margin-left: auto; color: var(--wine-700); flex: none; }

.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.space { background: var(--white); padding: 1.6rem; }
.space b { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; color: var(--wine-700); line-height: 1; }
.space h3 { font-size: 1.1rem; margin: 0.6rem 0 0.25rem; }
.space p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* Events */
.week { display: grid; gap: 0.75rem; }
.event {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 1.25rem; align-items: center;
  padding: 1rem 1.2rem 1rem 1rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.event:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.event__date { text-align: center; padding: 0.7rem 0.3rem; border-radius: 14px; background: var(--sand); line-height: 1; }
.event__date span { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson); }
.event__date b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--wine-900); margin-top: 0.25rem; }
.event__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.2; margin: 0 0 0.2rem; }
.event__meta { font-size: 0.9rem; color: var(--muted); font-weight: 600; margin: 0; }
.event__desc { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.event__tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.45em 0.8em; border-radius: 999px; background: var(--gold-100); color: var(--wine-800); white-space: nowrap; }
.event.is-today { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 163, 50, 0.18); }
.event.is-today .event__date { background: var(--wine-700); }
.event.is-today .event__date span { color: var(--gold-300); }
.event.is-today .event__date b { color: var(--white); }
.event--special .event__date { background: linear-gradient(135deg, var(--gold-300), var(--gold)); }
.empty { padding: 2.5rem; text-align: center; border-radius: var(--radius-lg); border: 2px dashed rgba(112, 15, 36, 0.2); color: var(--muted); }
.empty h3 { color: var(--wine-800); margin-bottom: 0.4rem; }
.empty p { margin: 0 auto; max-width: 440px; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label, .field legend { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.45rem; padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.85em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(214, 163, 50, 0.2); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { display: inline-block; padding: 0.55em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream); font-weight: 700; font-size: 0.88rem; cursor: pointer; transition: all 0.2s; user-select: none; }
.check input:checked + span { background: var(--wine-700); border-color: var(--wine-700); color: var(--white); }
.check input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form__note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: 12px; background: var(--gold-100); color: var(--wine-800); font-weight: 600; }
.form-status.is-visible { display: block; }
.directions { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.directions input { flex: 1; min-width: 0; font: inherit; padding: 0.85em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream); }
.directions input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214, 163, 50, 0.2); }

.note {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  background: var(--gold-100); border: 1px solid rgba(184, 134, 28, 0.25); color: var(--wine-900);
}
.note svg { width: 26px; height: 26px; color: var(--gold-600); }
.note p { margin: 0 0 0.6em; font-size: 0.97rem; }
.note p:last-child { margin: 0; }

.give-hero-card {
  padding: clamp(2rem, 4vw, 2.8rem); border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); text-align: center;
}
.give-hero-card h2 { font-size: 1.9rem; }
.give-hero-card .btn { width: 100%; margin-top: 0.5rem; }
.give-hero-card small { display: block; margin-top: 1rem; color: var(--muted); font-size: 0.82rem; }
.page-hero--split .container { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--wine-950); color: rgba(255, 255, 255, 0.72); padding: clamp(4rem, 8vw, 6rem) 0 2rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(900px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand .brand { color: var(--white); margin-bottom: 1.2rem; }
.footer__brand p { max-width: 320px; font-size: 0.95rem; }
.footer__tagline { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--gold-300); margin-bottom: 0.5rem; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer__times li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(255, 255, 255, 0.12); padding-bottom: 0.55rem; }
.footer__times b { color: var(--white); font-weight: 600; }
.footer__bottom { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

/* ==========================================================================
   Motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.hero .rise { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero .rise { opacity: 1; transform: none; }
  .ring-word ellipse { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .next-service { max-width: 460px; }
  .times__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile--wide { grid-column: span 1; }
  .tile--xl { grid-column: span 2; grid-row: span 1; }
  .spaces { grid-template-columns: repeat(2, 1fr); }
  .page-hero--split .container { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .split, .belief, .visit, .cta-band { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .media-stack { max-width: 520px; }
  .media-stack__badge { right: 16px; }
  .milestones { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .milestones::before { display: none; }
  .milestone::before { background: var(--sand); }
  .pastor { grid-template-columns: 1fr; }
  .scripture-grid, .cards { grid-template-columns: 1fr; }
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 0.6rem; padding-left: 2.2rem; }
  .tl-item::before { left: 7px; }
  .tl-item__year { text-align: left; padding: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1.15rem; }
  .brand__mark { width: 38px; height: 38px; }
  .hero { padding-bottom: 8.5rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .times__grid { grid-template-columns: 1fr 1fr; }
  .time-card { padding: 1.3rem 1.1rem; }
  .time-card.is-next::before { top: auto; bottom: 1rem; right: 1rem; }
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .bento { grid-template-columns: 1fr; }
  .tile--xl { grid-column: span 1; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .event { grid-template-columns: 64px 1fr; gap: 0.9rem; }
  .event__tag { grid-column: 2; justify-self: start; }
  .event__date b { font-size: 1.6rem; }
  .spaces { grid-template-columns: 1fr 1fr; }
  .space { padding: 1.2rem; }
  .directions { flex-direction: column; }
  .cta-band__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .times__grid { grid-template-columns: 1fr; }
  .countdown b { font-size: 1.3rem; }
}

/* ---------- Layout helpers ---------- */
.split--wide { grid-template-columns: 1.25fr 0.75fr; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card--span2 { grid-column: span 2; }
.cards > .tile { grid-column: auto; min-height: 0; }
.sticky-md { position: sticky; top: 130px; }
.tile--glass { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--white); }
.tile--glass .tile__icon { background: rgba(255, 255, 255, 0.1); color: var(--gold-300); }
.leader__mono svg { width: 26px; height: 26px; }
.space b svg { width: 36px; height: 36px; stroke-width: 1.5; }
.inline-ico { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.page-hero--split .container > div:first-child { min-width: 0; }

@media (max-width: 860px) {
  .split--wide { grid-template-columns: 1fr; }
  .sticky-md { position: static; }
  .cards { grid-template-columns: 1fr; }
  .card--span2 { grid-column: auto; }
}
@media (max-width: 480px) {
  .cards--2 { grid-template-columns: 1fr; }
}
[hidden] { display: none !important; }

/* ---------- Fixes ---------- */
.section--dark .tile--gold h3 { color: var(--wine-900); }
.field .check { display: inline-block; margin: 0; font-size: inherit; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 700; }
.tl-item__year { padding-right: 1.6rem; }
.leader__mail { word-break: normal; overflow-wrap: anywhere; align-items: flex-start; }
.leader__mail svg { margin-top: 3px; }
.visit__map::before { content: "Loading map…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 600; z-index: 0; }
.visit__map iframe { position: relative; z-index: 1; }
@media (max-width: 860px) { .tl-item__year { padding-right: 0; } }
@media (max-width: 600px) {
  .time-card.is-next::before { top: 0.95rem; bottom: auto; right: 0.8rem; font-size: 0.56rem; padding: 0.3em 0.6em; }
}
@media (max-width: 600px) {
  .time-card.is-next { background: var(--gold-100); box-shadow: inset 0 3px 0 var(--gold); }
  .time-card.is-next::before { display: none; }
}

/* ---------- Pastor portrait: cutout rising out of a crimson disc ---------- */
.pop-portrait { position: relative; width: clamp(250px, 30vw, 360px); aspect-ratio: 4 / 5; flex: none; }
.pop-portrait__disc {
  position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(241, 210, 127, 0.35), transparent 45%),
    radial-gradient(circle at 50% 40%, var(--crimson), var(--wine-800) 62%, var(--wine-950));
  box-shadow: var(--shadow-lg);
}
.pop-portrait__disc::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  border: 2px solid var(--gold); opacity: 0.55;
}
.pop-portrait__frame {
  position: absolute; inset: 0;
  border-radius: 0 0 50% 50% / 0 0 40% 40%;
  overflow: hidden;
}
.pop-portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: drop-shadow(0 10px 18px rgba(36, 4, 10, 0.45)); }
@media (max-width: 860px) { .pop-portrait { width: min(300px, 80vw); margin-inline: auto; } }

/* Couple photo under the pastor portrait (About page) */
.couple { margin: 2.5rem 0 0; width: clamp(250px, 30vw, 360px); }
.couple img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.couple figcaption { margin-top: 0.8rem; text-align: center; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 860px) { .couple { width: min(300px, 80vw); margin: 2rem auto 0; } }

/* ==========================================================================
   Home hero — featured layout: centered content, pastors' photo, prominent
   next-service card overlapping the photo
   ========================================================================== */
.hero--feature { align-items: center; padding-top: calc(var(--header-h) + 36px); }
.hero--feature::before {
  background:
    linear-gradient(90deg, rgba(36, 4, 10, 0.92) 0%, rgba(58, 7, 16, 0.78) 50%, rgba(58, 7, 16, 0.55) 100%),
    linear-gradient(0deg, rgba(36, 4, 10, 0.9) 0%, transparent 45%);
}
.hero--feature .hero__inner { max-width: 1160px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4vw, 3.5rem); }
.hero--feature .hero__title { font-size: clamp(3rem, 7vw, 6rem); }

.hero__feature { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.hero-photo { position: relative; margin: 0; width: clamp(280px, 26vw, 350px); }
.hero-photo__frame {
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  border: 3px solid rgba(241, 210, 127, 0.75);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 12px rgba(241, 210, 127, 0.08);
}
.hero-photo__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero-photo__tag {
  position: absolute; top: 18%; right: calc(100% - 28px); width: max-content; max-width: 230px;
  padding: 0.7rem 1rem; border-radius: 14px;
  background: rgba(255, 255, 255, 0.96); color: var(--wine-900); box-shadow: var(--shadow);
  font-size: 0.82rem; font-weight: 800; line-height: 1.35;
}
.hero-photo__tag span { font-weight: 600; color: var(--muted); }

.next-service--feature {
  align-self: flex-start; width: min(400px, 100%); margin-top: -110px; z-index: 2;
  padding: 1.8rem;
  background: linear-gradient(160deg, rgba(112, 15, 36, 0.9), rgba(36, 4, 10, 0.94));
  border: 1.5px solid rgba(241, 210, 127, 0.55);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(214, 163, 50, 0.08), 0 0 60px -10px rgba(214, 163, 50, 0.35);
}
.next-service--feature .next-service__label { font-size: 0.78rem; }
.next-service--feature .next-service__name { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.next-service--feature .countdown b { font-size: 2rem; color: var(--gold-300); }
.next-service--feature .countdown div { background: rgba(0, 0, 0, 0.28); border-color: rgba(241, 210, 127, 0.18); }

@media (max-width: 1080px) {
  .hero--feature .hero__inner { grid-template-columns: 1fr; }
  .hero__feature { align-items: center; margin-top: 1rem; }
  .hero-photo { width: min(320px, 78vw); }
  .hero-photo__tag { top: -16px; right: auto; left: 50%; transform: translateX(-50%); max-width: 90%; text-align: center; font-size: 0.74rem; padding: 0.55rem 0.9rem; }
  .next-service--feature { align-self: center; width: min(460px, 100%); margin-top: -120px; }
}

/* Hero feature — larger photo and card */
.hero--feature .hero__inner { max-width: 1360px; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.hero-photo { width: clamp(340px, 34vw, 500px); }
.hero--feature { min-height: max(760px, 100svh); }
.next-service--feature { width: min(470px, 100%); padding: 2.1rem; margin-top: -150px; }
.next-service--feature .next-service__name { font-size: clamp(1.9rem, 2.8vw, 2.5rem); }
.next-service--feature .next-service__when { font-size: 1.05rem; }
.next-service--feature .countdown { gap: 0.65rem; }
.next-service--feature .countdown div { padding: 0.95rem 0.2rem; }
.next-service--feature .countdown b { font-size: 2.5rem; }
.next-service--feature .next-service__addr { font-size: 0.95rem; }
.hero-photo__tag { font-size: 0.9rem; max-width: 260px; }
@media (max-width: 1080px) {
  .hero-photo { width: min(440px, 86vw); }
  .next-service--feature { width: min(520px, 100%); margin-top: -130px; }
}
@media (max-width: 600px) {
  .next-service--feature { padding: 1.5rem; }
  .next-service--feature .countdown b { font-size: 1.9rem; }
}
.hero--feature { padding-top: calc(var(--header-h) + 20px); }
.hero--feature .hero__inner { max-width: 1280px; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.hero-photo { width: clamp(340px, 31vw, 460px); }
.next-service--feature { margin-top: -190px; }
@media (max-width: 1080px) {
  .hero--feature .hero__inner { grid-template-columns: 1fr; }
  .next-service--feature { margin-top: -130px; }
  .hero-photo { width: min(440px, 86vw); }
}
@media (max-width: 1080px) {
  .hero-photo { margin-top: 3.2rem; }
  .hero-photo__tag { top: -3rem; }
}
.tile--tall { grid-row: span 2; }
@media (max-width: 1080px) { .tile--tall { grid-row: auto; } }
/* Hero without the countdown card: photo alone, centered in its column */
.hero__feature { align-items: center; }
.hero-photo { width: clamp(340px, 32vw, 470px); }
@media (max-width: 1080px) { .hero-photo { width: min(400px, 84vw); } }
/* Name tag centered below the pastors' photo (all screen sizes) */
.hero-photo__tag,
.hero-photo .hero-photo__tag {
  position: static; transform: none; display: block;
  width: fit-content; max-width: 100%; margin: 1.1rem auto 0;
  text-align: center; font-size: 0.9rem; padding: 0.75rem 1.2rem;
}
@media (max-width: 1080px) {
  .hero-photo { margin-top: 1rem; }
  .hero-photo .hero-photo__tag { font-size: 0.8rem; }
}

/* ---------- Larger header brand (logo + church name) ---------- */
:root { --header-h: 96px; }
.site-header.is-scrolled { --header-h: 78px; }
.brand { gap: 0.9rem; }
.brand__mark { width: 62px; height: 62px; }
.brand__name { font-size: 1.85rem; }
.brand__sub { font-size: 0.74rem; letter-spacing: 0.18em; margin-top: 7px; }
.site-header.is-scrolled .brand__mark { width: 50px; height: 50px; }
.site-header.is-scrolled .brand__name { font-size: 1.55rem; }
.brand__mark, .brand__name { transition: width 0.4s var(--ease), height 0.4s var(--ease), font-size 0.4s var(--ease); }
.subnav { top: 78px; }
.footer__brand .brand__mark { width: 56px; height: 56px; }
@media (max-width: 1280px) { .nav__link { padding: 0.6em 0.6em; font-size: 0.9rem; } }
@media (max-width: 600px) {
  :root { --header-h: 80px; }
  .site-header.is-scrolled { --header-h: 70px; }
  .brand__mark, .site-header.is-scrolled .brand__mark { width: 48px; height: 48px; }
  .brand__name, .site-header.is-scrolled .brand__name { font-size: 1.45rem; }
  .brand__sub { display: block; font-size: 0.56rem; letter-spacing: 0.14em; margin-top: 5px; }
  .subnav { top: 70px; }
}
:root { --app-dark: var(--wine-900); --app-deep: var(--wine-950); }

/* ==========================================================================
   Church app
   ========================================================================== */
/* When opened from the home screen: keep the header clear of the phone's status bar / notch */
.is-app .site-header { padding-top: env(safe-area-inset-top); height: calc(var(--header-h) + env(safe-area-inset-top)); }
.is-app .hero, .is-app .page-hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 32px); }
.is-app .mobile-menu { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 24px); }
.is-app .site-footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.container { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }

/* Install banner */
.app-banner {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 150;
  display: grid; grid-template-columns: 48px 1fr auto auto; gap: 0.75rem; align-items: center;
  max-width: 520px; margin-inline: auto; padding: 0.75rem 0.6rem 0.75rem 0.8rem;
  border-radius: 20px; background: var(--white); color: var(--ink);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line);
  transform: translateY(140%); transition: transform 0.5s var(--ease);
}
.app-banner.is-open { transform: none; }
.app-banner img { width: 48px; height: 48px; border-radius: 12px; }
.app-banner__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.app-banner__text b { font-size: 0.95rem; }
.app-banner__text span { font-size: 0.8rem; color: var(--muted); }
.app-banner__close { width: 34px; height: 34px; border: 0; background: transparent; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.app-banner__close:hover { background: rgba(0, 0, 0, 0.06); }

/* iPhone instructions sheet */
.app-sheet { position: fixed; inset: 0; z-index: 300; background: rgba(10, 4, 8, 0.55); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.app-sheet.is-open { opacity: 1; }
.app-sheet__panel {
  position: relative; width: 100%; max-width: 480px; padding: 2rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--white); color: var(--ink); border-radius: 26px 26px 0 0; text-align: center;
  transform: translateY(40px); transition: transform 0.4s var(--ease);
}
.app-sheet.is-open .app-sheet__panel { transform: none; }
@media (min-width: 600px) { .app-sheet { align-items: center; } .app-sheet__panel { border-radius: 26px; } }
.app-sheet__icon { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 0.8rem; box-shadow: var(--shadow-sm); }
.app-sheet h3 { font-size: 1.4rem; margin-bottom: 1.1rem; }
.app-sheet__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.06); font-size: 1.4rem; cursor: pointer; color: var(--ink); }
.app-steps { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.7rem; text-align: left; }
.app-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 0.8rem; align-items: start; padding: 0.85rem 1rem; border-radius: 14px; background: var(--sand); font-size: 0.97rem; line-height: 1.45; }
.app-steps__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--app-dark); color: var(--gold-300); font-weight: 800; }
.app-steps__ico { display: inline-flex; vertical-align: -4px; color: #0a84ff; }

/* Get the App page */
.app-hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.app-hero .hero__actions { margin-top: 1.8rem; }
.app-status { margin-top: 1rem; color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; min-height: 1.5em; }
.phone {
  justify-self: center; width: min(290px, 78vw); aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #2b2b2e, #0d0d0f); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.phone__screen {
  height: 100%; border-radius: 34px; overflow: hidden; position: relative;
  background: radial-gradient(circle at 30% 10%, rgba(241, 210, 127, 0.25), transparent 50%), linear-gradient(170deg, #3a4a7a, #1b2340 60%, #0f1426);
  display: grid; grid-template-columns: repeat(4, 1fr); align-content: start; gap: 18px 10px; padding: 64px 16px 16px;
}
.phone__screen::before { content: "9:41"; position: absolute; top: 16px; left: 26px; font-size: 0.8rem; font-weight: 700; color: #fff; }
.phone__app { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 0.62rem; color: rgba(255, 255, 255, 0.9); text-align: center; }
.phone__app i { width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, 0.16); display: block; }
.phone__app img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 3px rgba(241, 210, 127, 0.8), 0 8px 20px rgba(0, 0, 0, 0.5); }
.phone__app--ours { animation: appPulse 2.4s ease-in-out infinite; }
@keyframes appPulse { 50% { transform: scale(1.08); } }
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.how__card { padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.how__card h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem; }
.how__card .app-steps li { background: var(--cream); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature { padding: 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.feature .tile__icon { margin-bottom: 0.9rem; }
.feature b { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.feature span { font-size: 0.9rem; color: var(--muted); }
.qr-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 4vw, 2.8rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.qr { width: 220px; height: 220px; padding: 10px; border-radius: 18px; background: #fff; border: 2px solid var(--gold); }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-url { font-weight: 800; color: var(--ink); word-break: break-all; }
@media (max-width: 900px) {
  .app-hero .container, .how, .qr-card { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .qr-card { justify-items: center; text-align: center; }
}
/* Print only the QR card (for bulletins) */
@media print {
  body * { visibility: hidden !important; }
  .qr-card, .qr-card * { visibility: visible !important; }
  .qr-card { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; border: 2px solid #999; }
  .qr-card .btn { display: none !important; }
}
.how__card h3 svg { width: 28px; height: 28px; flex: none; color: var(--gold-600); }
.mobile-menu a.mobile-menu__app { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1rem; font-family: var(--font-body); font-size: 1rem; font-weight: 700; border: 0; color: var(--gold-300); }
.mobile-menu__app img { width: 36px; height: 36px; border-radius: 9px; }
.is-app .mobile-menu__app { display: none !important; }

/* ==========================================================================
   Content from the App Editor (js/live-content.js)
   ========================================================================== */
.times__grid.is-dynamic { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .times__grid.is-dynamic { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 380px) { .times__grid.is-dynamic { grid-template-columns: 1fr !important; } }

/* Latest news strip */
.news-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.news-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.news-card__date { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson); margin-bottom: 0.4rem; }
.news-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.news-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 860px) { .news-strip { grid-template-columns: 1fr; } }

/* Latest message */
.sermon { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.sermon__video { position: relative; aspect-ratio: 16 / 9; width: 100%; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--wine-950); cursor: pointer; box-shadow: var(--shadow); }
.sermon__video img, .sermon__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.sermon__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; background: rgba(214, 163, 50, 0.95); color: var(--wine-950); }
.sermon__play svg { width: 28px; height: 28px; margin-left: 4px; }
@media (max-width: 860px) { .sermon { grid-template-columns: 1fr; } }

/* Special events from the editor */
.event__cal { display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none; }
.event__cal svg { width: 14px; height: 14px; }
.event__img { margin-top: 0.8rem; border-radius: 12px; max-height: 220px; width: auto; }

/* ---------- Set Your House in Order (Homegoing360) ---------- */
.house {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--wine-900), var(--wine-700)); color: var(--cream);
  box-shadow: var(--shadow);
}
.house::before {
  content: ""; position: absolute; z-index: -1; left: -60px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 163, 50, 0.28), transparent 70%);
}
.house__top { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); }
.house__icon { width: 72px; height: 72px; flex: none; border-radius: 20px; display: grid; place-items: center; background: rgba(214, 163, 50, 0.14); color: var(--gold); }
.house__icon svg { width: 36px; height: 36px; }
.house__text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0.3em; color: var(--white); }
.house__text p { margin: 0; max-width: 60ch; color: rgba(251, 247, 240, 0.82); font-size: 1.05rem; }
.house__steps {
  display: grid; grid-template-columns: 1fr 310px; gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(28px, 4vw, 40px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.house__step-label { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-weight: 800; font-size: 1.05rem; }
.house__step-label span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--gold); color: var(--wine-950); font-size: 0.9rem; }
.house__hint { margin: 0 0 16px; color: rgba(251, 247, 240, 0.7); font-size: 0.93rem; }
.house__step--go { display: flex; flex-direction: column; align-items: flex-start; }
.house__step--go .house__hint { margin: 12px 0 0; }
.house__step--go.is-ready .house__btn { animation: house-pulse 2s infinite; }
@keyframes house-pulse { 0% { box-shadow: 0 0 0 0 rgba(214, 163, 50, 0.6); } 70% { box-shadow: 0 0 0 16px rgba(214, 163, 50, 0); } 100% { box-shadow: 0 0 0 0 rgba(214, 163, 50, 0); } }
.house__videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
/* Buttons center their content vertically by default; pin the thumbnail to the top so all three line up */
.hvideo { display: flex; flex-direction: column; justify-content: flex-start; align-self: start; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.hvideo__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--wine-950); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.6); }
.hvideo__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.3s; opacity: 0.9; }
.hvideo:hover .hvideo__thumb img { transform: scale(1.05); opacity: 1; }
.hvideo__play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(214, 163, 50, 0.95); color: var(--wine-950); display: grid; place-items: center; transition: transform 0.3s var(--ease); }
.hvideo:hover .hvideo__play { transform: scale(1.1); }
.hvideo__play svg { width: 18px; height: 18px; margin-left: 3px; }
.hvideo__done { position: absolute; left: 8px; top: 8px; display: none; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: rgba(36, 4, 10, 0.8); color: var(--gold-300); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; }
.hvideo.is-watched .hvideo__done { display: inline-flex; }
.hvideo__title { display: block; margin-top: 10px; font-weight: 700; font-size: 0.95rem; line-height: 1.35; }
.house__give { display: flex; gap: 12px; align-items: flex-start; margin: clamp(24px, 3vw, 32px) 0 0; padding: 14px 18px; border-radius: 14px; background: rgba(214, 163, 50, 0.12); border: 1px solid rgba(214, 163, 50, 0.28); font-size: 0.95rem; color: rgba(251, 247, 240, 0.88); }
.house__give svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 1px; }
.house__give strong { color: var(--gold-300); }
/* Video lightbox */
.vmodal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 16px; background: rgba(15, 2, 5, 0.86); backdrop-filter: blur(4px); }
.vmodal[hidden] { display: none; }
.vmodal__box { width: min(960px, 100%); }
.vmodal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.vmodal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--cream); }
.vmodal__bar strong { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.vmodal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center; }
.vmodal__close svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .house__steps { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .house__top { flex-direction: column; align-items: flex-start; }
  .house__videos { grid-template-columns: 1fr; gap: 10px; }
  .hvideo { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; }
  .hvideo__title { margin-top: 0; }
  .hvideo__play { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .hvideo__play svg { width: 14px; height: 14px; }
  .house__step--go .house__btn { width: 100%; }
}
[hidden] { display: none !important; }
