:root {
  --bg: #101112;
  --panel: #17191a;
  --panel-2: #202326;
  --top: #464b4e;
  --text: #f4f1ec;
  --muted: #b8b1aa;
  --soft: #d6c5a3;
  --sage: #cfe3d2;
  --wine: #7d4d55;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --hero-a: #101112;
  --hero-b: #1d2320;
  --hero-c: #3b3034;
  --hero-d: #806f52;
  --hero-cover: linear-gradient(90deg, rgba(16, 17, 18, .93), rgba(16, 17, 18, .64));
  --light-glow: rgba(207, 227, 210, .15);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f5f1ea;
  --panel: #fffaf2;
  --panel-2: #ebe3d6;
  --top: #f0e8dc;
  --text: #1b1a18;
  --muted: #625b52;
  --soft: #8d6f3f;
  --sage: #315f4a;
  --wine: #7d4d55;
  --line: rgba(31, 28, 24, .14);
  --shadow: 0 22px 60px rgba(70, 55, 32, .16);
  --hero-a: #f7f2e8;
  --hero-b: #e6eee4;
  --hero-c: #d8c6ba;
  --hero-d: #b89b69;
  --hero-cover: linear-gradient(90deg, rgba(245, 241, 234, .9), rgba(245, 241, 234, .58));
  --light-glow: rgba(49, 95, 74, .14);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.cursor-light {
  position: fixed;
  inset: auto auto 0 0;
  width: 340px;
  height: 340px;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, var(--light-glow), transparent 68%);
  transform: translate(-50%, -50%);
  z-index: 0;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--top) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--text);
}
.brand img {
  width: 74px;
  height: auto;
  filter: invert(1);
  mix-blend-mode: screen;
}
[data-theme="light"] .brand img {
  filter: none;
  mix-blend-mode: multiply;
}
.brand span { max-width: 150px; font-size: 14px; line-height: 1.1; }
.theme-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.theme-toggle:hover { color: var(--sage); border-color: color-mix(in srgb, var(--sage) 45%, transparent); }
.theme-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid currentColor;
  box-shadow: inset -5px -3px 0 currentColor;
}
[data-theme="light"] .theme-icon {
  box-shadow: none;
  background: currentColor;
}
.menu {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.menu a {
  padding: 12px 13px;
  border: 1px solid transparent;
  color: var(--text);
}
.menu a:hover,
.menu a.active {
  color: var(--sage);
  border-color: rgba(207, 227, 210, .24);
  background: rgba(0, 0, 0, .1);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 20%), var(--light-glow), transparent 24%),
    linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 42%, var(--hero-c) 74%, var(--hero-d) 100%);
}
.hero { min-height: calc(100vh - 92px); display: grid; align-items: center; }
.page-hero { padding: 104px 0 74px; }
.hero:after,
.page-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-cover);
}
.hero-grid,
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.home-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,.44), rgba(0,0,0,.58)),
    radial-gradient(circle at var(--mx, 50%) var(--my, 28%), rgba(214, 197, 163, .26), transparent 20%),
    linear-gradient(120deg, rgba(46,36,26,.8), rgba(17,17,17,.82)),
    repeating-linear-gradient(90deg, #27190f 0 80px, #4b3528 80px 160px, #201914 160px 240px);
}
.home-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.18), transparent 9%),
    linear-gradient(90deg, rgba(0,0,0,.55), transparent 45%, rgba(0,0,0,.48));
  filter: blur(.2px);
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 86px 0 90px;
}
.home-kicker {
  color: #f3ad28;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.home-hero h1 {
  max-width: 760px;
  margin: 18px 0 4px;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 500;
  text-transform: uppercase;
}
.home-hero p {
  margin-bottom: 32px;
  color: #f1ae2d;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}
.home-search {
  width: min(480px, 92vw);
  height: 52px;
  display: grid;
  grid-template-columns: 1fr 54px;
  border: 2px solid rgba(255,255,255,.76);
  background: rgba(0,0,0,.34);
}
.home-search input,
.mini-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  padding: 0 18px;
  font: inherit;
  text-transform: uppercase;
}
.home-search input { color: #fff; }
.home-search button,
.mini-search button {
  border: 0;
  border-left: 1px solid rgba(255,255,255,.45);
  background: transparent;
  color: inherit;
  position: relative;
}
.home-search button:before,
.mini-search button:before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 2px solid currentColor;
  border-radius: 999px;
}
.home-search button:after,
.mini-search button:after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 10px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 54px;
  width: min(560px, 94vw);
}
.quick-card {
  min-height: 112px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 18px 10px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}
.quick-card span { font-size: 28px; color: #fff; }
.hero-dots {
  position: absolute;
  left: max(24px, calc((100vw - 1160px) / 2));
  top: 250px;
  z-index: 3;
  display: grid;
  gap: 12px;
}
.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.58);
}
.hero-dots span:first-child { background: #f3ad28; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 4;
  width: 54px;
  height: 48px;
  background: rgba(255,255,255,.36);
  transform: translateX(-50%);
}
.scroll-cue:after {
  content: "";
  position: absolute;
  left: 20px;
  top: 15px;
  width: 13px;
  height: 13px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}
.home-intro,
.feature-tiles,
.whats-new {
  background: #f5f5f3;
  color: #373331;
}
[data-theme="dark"] .home-intro,
[data-theme="dark"] .feature-tiles,
[data-theme="dark"] .whats-new {
  background: #f5f5f3;
  color: #373331;
}
.home-intro { padding: 54px 0 38px; }
.narrow { width: min(720px, calc(100% - 40px)); text-align: center; }
.narrow p { margin: 0; color: #5f5955; font-size: 18px; line-height: 1.7; }
.feature-tiles { padding: 24px 0 18px; }
.tile-grid {
  width: min(820px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1.05fr 1.45fr;
  grid-auto-rows: 126px;
  gap: 8px;
}
.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0,0,0,.58), rgba(0,0,0,.18)),
    linear-gradient(120deg, #5c3b24, #b08b56);
}
.tile:nth-child(2) { background: linear-gradient(135deg, rgba(0,0,0,.45), rgba(0,0,0,.1)), linear-gradient(120deg, #6b582e, #d0b078); }
.tile:nth-child(3) { background: linear-gradient(135deg, rgba(0,0,0,.45), rgba(0,0,0,.1)), linear-gradient(120deg, #867463, #ddd0bc); }
.tile:nth-child(4) { background: linear-gradient(135deg, rgba(0,0,0,.45), rgba(0,0,0,.1)), linear-gradient(120deg, #40322a, #8f7c68); }
.tile-wide { grid-column: span 1; }
.tile span { font-weight: 700; }
.tile strong {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  font-size: 30px;
  font-weight: 300;
}
.whats-new { padding: 34px 0 74px; }
.home-section-title {
  margin: 0 0 30px;
  color: #efa51e;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}
.news-grid {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 54px;
}
.featured-event {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.76)),
    linear-gradient(120deg, #b99155, #4f3b2d);
}
.news-label {
  margin-bottom: auto;
  color: #efa51e;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.featured-event strong { font-size: 18px; text-transform: uppercase; }
.featured-event p { margin: 4px 0 0; color: rgba(255,255,255,.78); font-size: 13px; }
.updates h3 {
  margin: 0 0 22px;
  color: #77706b;
  font-size: 16px;
  text-transform: uppercase;
}
.updates article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.updates span {
  height: 48px;
  display: grid;
  place-items: center;
  background: #efa51e;
  color: #fff;
  font-weight: 900;
}
.updates strong { color: #efa51e; text-transform: uppercase; font-size: 13px; }
.updates p { margin: 2px 0 0; color: #77706b; font-size: 13px; }
.home-footer-band {
  padding: 54px 0;
  background: #1d0d04;
  color: #fff;
}
.footer-actions {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr;
  gap: 54px;
}
.home-footer-band h2 {
  margin-bottom: 18px;
  color: #efa51e;
  font-size: 14px;
  text-transform: uppercase;
}
.quick-links div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
}
.quick-links a,
.service-times p { color: rgba(255,255,255,.72); font-size: 13px; }
.mini-search {
  height: 46px;
  display: grid;
  grid-template-columns: 1fr 46px;
  background: #fff;
  color: #7b736d;
}
.mini-search button { color: #efa51e; border-left: 1px solid #e1ded8; }
.map-strip {
  position: relative;
  min-height: 270px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0,0,0,.06) 1px, transparent 1px),
    #e9e4dc;
  background-size: 72px 72px;
}
.map-strip:before {
  content: "";
  position: absolute;
  top: 56px;
  width: 32px;
  height: 32px;
  border-radius: 999px 999px 999px 0;
  background: #efa51e;
  transform: rotate(-45deg);
}
.contact-float {
  position: relative;
  z-index: 1;
  width: min(360px, calc(100% - 40px));
  padding: 28px 30px;
  text-align: center;
  background: #312923;
  color: #fff;
}
.contact-float span { color: #efa51e; font-weight: 900; text-transform: uppercase; }
.contact-float p { color: rgba(255,255,255,.72); }
.contact-float a { color: #efa51e; font-weight: 900; text-transform: uppercase; font-size: 13px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 44px;
  padding: 70px 0;
}
.motion-ring {
  position: absolute;
  right: 9vw;
  top: 16vh;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(214, 197, 163, .55);
  transform: rotate(20deg);
  animation: drift 18s linear infinite;
  z-index: 1;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.kicker:before { content: ""; width: 42px; height: 2px; background: var(--sage); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }
h1 { max-width: 820px; margin-bottom: 22px; font-size: clamp(44px, 7vw, 84px); }
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); }
.hero-copy p,
.page-hero p {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
}
.tagline { color: var(--text) !important; font-size: clamp(22px, 3vw, 34px) !important; font-weight: 900; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--sage);
  background: var(--sage);
  color: #101112;
  font-weight: 900;
}
.btn.secondary { background: transparent; color: var(--text); border-color: rgba(255,255,255,.3); }
.btn.disabled { opacity: .65; pointer-events: none; }
.hero-panel,
.quote-card,
.contact-card,
.person,
.card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
}
.hero-panel { padding: 34px; min-height: 310px; display: flex; flex-direction: column; justify-content: end; }
.hero-panel span,
.quote-card span { color: var(--soft); font-weight: 900; text-transform: uppercase; font-size: 12px; }
.hero-panel strong,
.quote-card strong { display: block; margin: 12px 0; font-size: 28px; line-height: 1.1; }
.hero-panel p,
.quote-card p { color: var(--muted); margin-bottom: 0; }
.section { padding: 82px 0; background: var(--bg); }
.section.alt { background: color-mix(in srgb, var(--panel-2) 45%, var(--bg)); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head h2,
.cta h2 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 17px; }
.grid-3,
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.grid-2,
.contact-grid,
.content-grid,
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}
.card,
.person,
.quote-card,
.contact-card {
  padding: 28px;
}
.card h2,
.card h3,
.person h3,
.contact-card h2,
.prose h2 { color: var(--text); font-size: 24px; margin-bottom: 14px; }
.card p,
.person p,
.prose p,
.contact-card p { color: var(--muted); margin-bottom: 0; }
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--text); }
.values-card {
  margin-top: 24px;
}
.values-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}
.values-lines p {
  margin: 0;
}
.stack { display: grid; gap: 14px; }
.mini {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 22px 24px;
  border-left: 3px solid var(--sage);
  background: var(--panel);
}
.mini span { color: var(--muted); }
.text-link { display: inline-flex; margin-top: 18px; color: var(--sage); font-weight: 900; }
.cta { padding: 58px 0; background: var(--panel-2); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin-bottom: 0; max-width: 720px; }
.beliefs-list { display: grid; gap: 16px; }
.belief {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.belief span { color: var(--soft); font-weight: 900; font-size: 22px; }
.belief h2 { margin-bottom: 8px; font-size: 24px; }
.belief p { color: var(--muted); margin-bottom: 0; }
.schedule { display: grid; gap: 12px; }
.schedule-row {
  display: grid;
  grid-template-columns: 190px 1fr 160px;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.schedule-row span { color: var(--sage); font-weight: 900; }
.schedule-row strong { font-size: 18px; }
.schedule-row em { color: var(--muted); font-style: normal; text-align: right; }
.map-placeholder {
  min-height: 260px;
  margin-top: 20px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  background:
    linear-gradient(45deg, color-mix(in srgb, var(--text) 5%, transparent) 25%, transparent 25% 50%, color-mix(in srgb, var(--text) 5%, transparent) 50% 75%, transparent 75%),
    #121314;
  background-size: 28px 28px;
}
.footer { padding: 42px 0; color: var(--muted); background: color-mix(in srgb, var(--bg) 92%, #000); }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; }
.footer p { margin: 6px 0 0; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes drift {
  from { transform: rotate(20deg) translate3d(0, 0, 0); }
  50% { transform: rotate(200deg) translate3d(24px, 18px, 0); }
  to { transform: rotate(380deg) translate3d(0, 0, 0); }
}
@media (max-width: 920px) {
  .nav { min-height: auto; padding: 14px 18px; flex-wrap: wrap; }
  .brand img { width: 58px; }
  .theme-toggle { margin-left: auto; }
  .menu-toggle { display: block; }
  .menu {
    display: none;
    width: 100%;
    margin-left: 0;
    padding: 12px 0 6px;
    flex-direction: column;
    align-items: stretch;
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 10px; }
  .hero { min-height: auto; }
  .home-hero { min-height: auto; }
  .home-hero-inner { padding: 66px 0 84px; }
  .hero-dots { display: none; }
  .quick-actions,
  .tile-grid,
  .news-grid,
  .footer-actions { grid-template-columns: 1fr; }
  .quick-actions { max-width: 360px; }
  .tile-grid { grid-auto-rows: 128px; }
  .hero-grid,
  .grid-3,
  .grid-2,
  .contact-grid,
  .content-grid,
  .split,
  .ministry-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 64px 0; }
  .hero-panel { min-height: 240px; }
  .section { padding: 62px 0; }
  .schedule-row { grid-template-columns: 1fr; gap: 6px; }
  .schedule-row em { text-align: left; }
  .cta-inner,
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ring { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* Premium monochrome church layout */
body {
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}
h1, h2, h3,
.brand span {
  font-family: Georgia, "Times New Roman", serif;
}
.cursor-light { display: none; }
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  background: linear-gradient(180deg, rgba(0,0,0,.48), transparent);
  border-bottom: 1px solid rgba(255,255,255,.16);
  backdrop-filter: none;
}
.nav {
  min-height: 76px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.brand,
.menu a,
.theme-toggle,
.menu-toggle {
  color: #fff;
}
.brand img {
  width: 62px;
  filter: invert(1) grayscale(1) contrast(1.5);
  mix-blend-mode: screen;
}
.brand span {
  max-width: 110px;
  font-size: 12px;
  line-height: .98;
  letter-spacing: 0;
}
.theme-toggle {
  display: none;
}
.menu {
  margin-left: auto;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0;
}
.menu a {
  padding: 8px 0;
  border: 0;
  opacity: .86;
}
.menu a:hover,
.menu a.active {
  color: #fff;
  background: transparent;
  opacity: 1;
}
.menu a.active:after,
.menu a:hover:after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto 0;
  background: #fff;
}
.premium-hero,
.page-hero {
  position: relative;
  min-height: 580px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.22)),
    radial-gradient(circle at var(--mx, 70%) var(--my, 30%), rgba(255,255,255,.13), transparent 18%),
    linear-gradient(125deg, #070707 0%, #2c2c2c 45%, #0e0e0e 100%);
}
.premium-hero:before,
.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .42;
  filter: grayscale(1);
  background:
    radial-gradient(ellipse at 72% 42%, rgba(255,255,255,.4) 0 5%, transparent 23%),
    radial-gradient(ellipse at 38% 55%, rgba(255,255,255,.28) 0 6%, transparent 24%),
    repeating-linear-gradient(112deg, rgba(255,255,255,.07) 0 2px, transparent 2px 58px);
}
.premium-hero:after,
.page-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.5));
}
.premium-hero-copy,
.page-hero .wrap {
  position: relative;
  z-index: 2;
}
.premium-hero-copy {
  padding-top: 78px;
}
.pretitle,
.page-hero .kicker,
.story-title span,
.join-copy span,
.giving-card span,
.sermon-note span {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.premium-hero h1,
.page-hero h1 {
  max-width: 680px;
  margin: 14px 0 24px;
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: .98;
  font-weight: 900;
}
.page-hero p,
.premium-hero p {
  max-width: 620px;
  color: rgba(255,255,255,.78);
}
.outline-link,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.countdown-band {
  position: relative;
  padding: 70px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.7)),
    repeating-linear-gradient(90deg, #151515 0 90px, #1f1f1f 90px 180px);
}
.countdown-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: center;
}
.sermon-note h2 {
  max-width: 370px;
  margin: 10px 0 16px;
  font-size: 24px;
  line-height: 1.1;
}
.sermon-note p { color: rgba(255,255,255,.7); }
.small-button { color: #111; background: #fff; border-color: #fff; }
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.countdown strong {
  display: grid;
  gap: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .9;
}
.countdown span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
}
.white-story,
.join-section {
  padding: 92px 0;
  color: #111;
  background: #fff;
}
.story-layout {
  display: grid;
  grid-template-columns: .9fr 1.6fr;
  gap: 70px;
}
.story-title span,
.join-copy span,
.giving-card span {
  color: #111;
}
.story-title h2,
.join-copy h2,
.centered-call h2,
.giving-card h2,
.section-head h2,
.prose h2 {
  margin: 8px 0 18px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: .98;
  font-weight: 900;
}
.story-title p,
.join-copy p,
.section-head p,
.prose p,
.card p,
.person p,
.contact-card p,
.belief p {
  color: #555;
}
.story-tabs nav {
  display: flex;
  gap: 28px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 800;
}
.story-tabs nav a:first-child {
  color: #b08a62;
}
.photo-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.photo-pair span,
.community-photo {
  min-height: 205px;
  filter: grayscale(1);
  background:
    linear-gradient(135deg, rgba(0,0,0,.08), rgba(0,0,0,.42)),
    repeating-linear-gradient(115deg, #e8e8e8 0 18px, #9f9f9f 18px 36px, #d5d5d5 36px 72px);
}
.photo-pair span:last-child {
  background:
    linear-gradient(135deg, rgba(0,0,0,.08), rgba(0,0,0,.5)),
    repeating-linear-gradient(55deg, #f1f1f1 0 22px, #aaa 22px 44px, #dadada 44px 76px);
}
.sermon-banner,
.giving-banner {
  min-height: 330px;
  display: grid;
  align-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.52)),
    repeating-linear-gradient(112deg, #080808 0 90px, #252525 90px 180px, #111 180px 270px);
}
.centered-call,
.giving-card {
  max-width: 720px;
}
.play-mark {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 20px;
}
.centered-call p,
.giving-card p {
  color: rgba(255,255,255,.76);
}
.join-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.community-photo {
  min-height: 330px;
}
.text-link.dark {
  color: #111;
  border-bottom: 1px solid currentColor;
}
.giving-banner {
  text-align: left;
}
.giving-card span,
.giving-card h2,
.giving-card .outline-link {
  color: #fff;
}
.section {
  padding: 92px 0;
  background: #fff;
  color: #111;
}
.section.alt {
  background: #f6f6f6;
}
.card,
.person,
.quote-card,
.contact-card,
.belief,
.schedule-row {
  border: 0;
  background: #f7f7f7;
  color: #111;
  box-shadow: none;
}
.grid-3,
.grid-2,
.contact-grid,
.content-grid,
.split,
.ministry-grid {
  gap: 28px;
}
.card h2,
.card h3,
.person h3,
.contact-card h2,
.belief h2 {
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
}
.belief {
  border-bottom: 1px solid #ddd;
  background: #fff;
}
.belief span,
.schedule-row span,
.kicker,
.text-link {
  color: #111;
}
.schedule-row {
  border-bottom: 1px solid #ddd;
}
.map-placeholder {
  background:
    linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0,0,0,.06) 1px, transparent 1px),
    #e8e8e8;
  background-size: 52px 52px;
}
.footer {
  padding: 50px 0;
  background: #090909;
  color: rgba(255,255,255,.62);
}
.footer strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
}
@media (max-width: 920px) {
  .topbar { position: absolute; }
  .nav { padding: 14px 18px; }
  .menu {
    padding: 14px;
    background: rgba(0,0,0,.86);
  }
  .premium-hero,
  .page-hero {
    min-height: 560px;
  }
  .premium-hero-copy {
    padding-top: 92px;
  }
  .countdown-grid,
  .story-layout,
  .join-grid,
  .countdown,
  .photo-pair {
    grid-template-columns: 1fr;
  }
  .countdown {
    gap: 22px;
    text-align: left;
  }
  .countdown strong {
    grid-template-columns: 90px 1fr;
    align-items: end;
  }
  .white-story,
  .join-section,
  .section {
    padding: 66px 0;
  }
  .story-tabs nav {
    flex-wrap: wrap;
  }
}

/* Lovable reference layout */
:root {
  --lovable-bg: #faf9f6;
  --lovable-panel: #fffdf9;
  --lovable-line: #ded8cf;
  --lovable-text: #211d1b;
  --lovable-muted: #706a65;
  --lovable-accent: #c98758;
  --lovable-shadow: 0 24px 46px rgba(48, 37, 27, .12);
}
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 52% 58%, rgba(201, 135, 88, .08), transparent 22rem),
    var(--lovable-bg);
  color: var(--lovable-text);
  font-family: Arial, Helvetica, sans-serif;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, .96);
  border-bottom: 1px solid var(--lovable-line);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 70px;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
  gap: 32px;
}
.brand {
  color: var(--lovable-text);
  gap: 12px;
  text-transform: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #bfb8ae;
  border-radius: 999px;
  flex: 0 0 auto;
}
.brand-mark:before {
  content: "";
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--lovable-accent);
  transform: rotate(45deg);
}
.brand-copy {
  display: grid;
  gap: 2px;
}
.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}
.brand-copy small {
  color: #8b8580;
  font-size: 10px;
  letter-spacing: .36em;
  text-transform: uppercase;
}
.menu {
  margin-left: auto;
  gap: 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .32em;
}
.menu a {
  color: var(--lovable-text);
  opacity: .82;
  padding: 28px 0 25px;
  border: 0;
}
.menu a:hover,
.menu a.active {
  color: var(--lovable-accent);
  opacity: 1;
}
.menu a.active:after,
.menu a:hover:after {
  display: none;
}
.menu-toggle {
  color: var(--lovable-text);
  border-color: var(--lovable-line);
}
.page-hero,
.premium-hero {
  min-height: auto;
  display: block;
  padding: 104px 0 76px;
  color: var(--lovable-text);
  background:
    radial-gradient(circle at 64% 42%, rgba(201, 135, 88, .08), transparent 24rem),
    var(--lovable-bg);
}
.page-hero:before,
.page-hero:after,
.premium-hero:before,
.premium-hero:after {
  display: none;
}
.page-hero .wrap,
.premium-hero-copy {
  position: relative;
  z-index: 1;
}
.kicker,
.page-hero .kicker,
.section-head .kicker,
.pretitle {
  display: block;
  color: var(--lovable-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
}
.kicker:before,
.page-hero .kicker:before {
  display: none;
}
h1, h2, h3,
.page-hero h1,
.section-head h2,
.prose h2,
.card h2,
.card h3,
.person h3,
.contact-card h2,
.belief h2 {
  color: var(--lovable-text);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}
.page-hero h1 {
  max-width: 760px;
  margin: 22px 0 34px;
  font-size: clamp(46px, 6vw, 70px);
  line-height: 1.08;
}
.lovable-hero h1 {
  max-width: 840px;
}
.page-hero p {
  max-width: 720px;
  color: var(--lovable-muted);
  font-size: 18px;
  line-height: 1.85;
}
.section {
  padding: 92px 0;
  background:
    radial-gradient(circle at 48% 70%, rgba(201, 135, 88, .06), transparent 22rem),
    var(--lovable-bg);
  color: var(--lovable-text);
  border-top: 1px solid rgba(222, 216, 207, .7);
}
.section.alt {
  background:
    radial-gradient(circle at 48% 58%, rgba(201, 135, 88, .08), transparent 24rem),
    var(--lovable-bg);
}
.content-grid {
  grid-template-columns: .95fr 1.05fr;
  gap: 96px;
}
.section-head {
  max-width: 860px;
  margin-bottom: 48px;
}
.section-head h2,
.prose h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4.2vw, 46px);
  line-height: 1.15;
}
.prose p {
  color: var(--lovable-muted);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 22px;
}
.grid-3 {
  gap: 24px;
}
.grid-2 {
  gap: 26px;
}
.card,
.person,
.quote-card,
.contact-card {
  min-height: 182px;
  padding: 36px 34px;
  border: 1px solid var(--lovable-line);
  border-radius: 3px;
  background: rgba(255, 253, 249, .74);
  box-shadow: var(--lovable-shadow);
}
.card h2,
.card h3,
.person h3,
.contact-card h2 {
  margin-bottom: 22px;
  font-size: 27px;
  line-height: 1.2;
}
.card p,
.person p,
.quote-card p,
.contact-card p {
  color: var(--lovable-muted);
  font-size: 15px;
  line-height: 1.85;
}
.pastor-bio {
  display: grid;
  gap: 14px;
}
.pastor-bio p {
  margin: 0;
}
.pastor-instagram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin: 2px 0 22px;
  padding: 13px 24px;
  border: 0;
  border-radius: 8px;
  background: #707070;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(24, 24, 24, .14);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.pastor-instagram-button:hover {
  background: #5f5f5f;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(24, 24, 24, .18);
}
.values-card {
  margin-top: 24px;
}
.values-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}
.values-lines p {
  margin: 0;
}
.person:before {
  content: "";
  width: 64px;
  height: 64px;
  display: block;
  margin-bottom: 30px;
  border: 1px solid #ddb990;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(201,135,88,.09), transparent 70%);
}
.person h3 + p:before {
  content: "P R E S B Í T E R I O  —  C U I D A D O  E  E N S I N O";
  display: block;
  margin: -6px 0 18px;
  color: var(--lovable-accent);
  font-size: 11px;
  letter-spacing: .46em;
  line-height: 1.8;
}
.beliefs-list {
  gap: 0;
}
.belief {
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--lovable-line);
  background: transparent;
  box-shadow: none;
}
.belief span {
  color: var(--lovable-accent);
  font-family: Georgia, "Times New Roman", serif;
}
.belief p {
  color: var(--lovable-muted);
}
.schedule-row {
  border: 1px solid var(--lovable-line);
  border-radius: 3px;
  background: rgba(255,253,249,.72);
  box-shadow: var(--lovable-shadow);
}
.schedule-row span {
  color: var(--lovable-accent);
}
.schedule-row em,
.lead,
.section-head p {
  color: var(--lovable-muted);
}
.btn,
.outline-link,
.small-button {
  border: 1px solid var(--lovable-text);
  background: transparent;
  color: var(--lovable-text);
  border-radius: 0;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.btn.secondary {
  color: var(--lovable-text);
  border-color: var(--lovable-line);
}
.map-placeholder {
  border-color: var(--lovable-line);
  background:
    linear-gradient(90deg, rgba(112,106,101,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(112,106,101,.08) 1px, transparent 1px),
    #eee9e2;
  background-size: 48px 48px;
}
.map-placeholder iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}
.map-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--lovable-text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.map-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 260px;
  margin-top: 22px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--lovable-line);
  background:
    linear-gradient(90deg, rgba(112,106,101,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(112,106,101,.08) 1px, transparent 1px),
    #eee9e2;
  background-size: 48px 48px;
  color: var(--lovable-text);
  text-decoration: none;
  align-content: center;
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #211d1b;
  box-shadow: 0 0 0 10px rgba(33,29,27,.1), 0 0 0 22px rgba(33,29,27,.05);
  transform: translate(-50%, -50%);
}
.map-card span,
.map-card strong,
.map-card em,
.map-card small {
  position: relative;
  z-index: 1;
}
.map-card span {
  color: var(--lovable-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.map-card strong {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}
.map-card em {
  color: var(--lovable-muted);
  font-style: normal;
}
.map-card small {
  width: fit-content;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #707070;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.location-panel {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--lovable-line);
  background:
    linear-gradient(90deg, rgba(112,106,101,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(112,106,101,.08) 1px, transparent 1px),
    #eee9e2;
  background-size: 46px 46px;
}
.location-panel::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 28px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #211d1b;
  box-shadow: 0 0 0 10px rgba(33,29,27,.1), 0 0 0 22px rgba(33,29,27,.05);
}
.location-panel span {
  color: var(--lovable-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.location-panel h3 {
  margin: 0;
  max-width: 72%;
  color: var(--lovable-text);
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  line-height: 1;
}
.location-panel p {
  margin: 0;
  color: var(--lovable-muted);
  font-size: 16px;
}
.location-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin-top: 12px;
  padding: 13px 22px;
  border-radius: 8px;
  background: #707070;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.footer {
  background: var(--lovable-bg);
  border-top: 1px solid var(--lovable-line);
  color: var(--lovable-muted);
}
.footer strong {
  color: var(--lovable-text);
  font-weight: 400;
}
@media (max-width: 920px) {
  .topbar { position: sticky; }
  .nav {
    width: min(100% - 28px, 680px);
    padding: 14px 0;
  }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { letter-spacing: .26em; }
  .menu {
    gap: 0;
    padding: 10px 0;
    background: var(--lovable-bg);
    border-top: 1px solid var(--lovable-line);
  }
  .menu a {
    color: var(--lovable-text);
    padding: 12px 0;
  }
  .page-hero {
    padding: 68px 0 52px;
  }
  .page-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }
  .content-grid,
  .grid-3,
  .grid-2,
  .contact-grid,
  .ministry-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section {
    padding: 64px 0;
  }
  .card,
  .person,
  .quote-card,
  .contact-card {
    padding: 28px 24px;
  }
  .values-lines {
    grid-template-columns: 1fr;
  }
}

/* Lovable home with extracted images */
.home-route .topbar {
  position: absolute;
  background: linear-gradient(180deg, rgba(14,10,7,.72), rgba(14,10,7,.18));
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.home-route .brand,
.home-route .menu a,
.home-route .menu-toggle {
  color: #fff;
}
.home-route .brand-mark {
  border-color: rgba(255,255,255,.6);
}
.lovable-home-hero {
  min-height: 590px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8,6,4,.82), rgba(8,6,4,.42), rgba(8,6,4,.78)),
    var(--image-hero),
    #120f0c;
  background-size: cover;
  background-position: center;
}
.lovable-home-hero .wrap {
  padding-top: 80px;
}
.lovable-home-hero .kicker {
  color: rgba(255,255,255,.76);
}
.lovable-home-hero h1 {
  max-width: 760px;
  margin: 26px 0 34px;
  color: #fff;
  font-size: clamp(48px, 7vw, 76px);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lovable-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .36em;
  text-transform: uppercase;
}
.arrow-link:after {
  content: "→";
  font-size: 22px;
  letter-spacing: 0;
}
.arrow-link.light {
  color: #fff;
}
.encounter-section {
  min-height: 388px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8,8,8,.78), rgba(8,8,8,.6)),
    var(--image-encounter),
    #111;
  background-size: cover;
  background-position: center;
}
.encounter-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
.encounter-copy .kicker,
.giving-section .kicker {
  color: #d0a06d;
}
.encounter-copy h2 {
  max-width: 620px;
  margin: 20px 0 18px;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 40px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}
.encounter-copy p {
  max-width: 540px;
  color: rgba(255,255,255,.72);
  font-weight: 700;
  line-height: 1.75;
}
.solid-button {
  display: inline-flex;
  margin-top: 26px;
  min-height: 42px;
  align-items: center;
  padding: 12px 28px;
  background: #c8915f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.encounter-section .countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  color: #fff;
}
.encounter-section .countdown strong {
  color: #fff;
  font-size: clamp(42px, 5vw, 58px);
}
.encounter-section .countdown p {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.home-tabs-section,
.community-section {
  padding: 92px 0;
  background:
    radial-gradient(circle at 52% 60%, rgba(201,135,88,.07), transparent 24rem),
    var(--lovable-bg);
}
.tabs-layout {
  display: grid;
  grid-template-columns: .9fr 1.8fr;
  gap: 72px;
}
.tabs-intro h2,
.community-section h2,
.giving-section h2 {
  margin: 0 0 30px;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1.15;
  font-weight: 400;
}
.tabs-intro p,
.community-section p {
  color: var(--lovable-muted);
  line-height: 1.85;
}
.tabs-nav {
  display: flex;
  gap: 34px;
  border-bottom: 1px solid var(--lovable-line);
}
.tabs-nav a {
  padding: 0 0 26px;
  color: #6f6861;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}
.tabs-nav a.active {
  color: var(--lovable-accent);
  border-bottom: 1px solid var(--lovable-accent);
}
.tabs-content {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr;
  gap: 32px;
  margin-top: 32px;
}
.bible-photo {
  min-height: 324px;
  background: var(--image-bible) center / cover no-repeat;
}
.tabs-content article {
  padding: 38px 34px;
  background: #f1eee9;
}
.tabs-content p {
  color: var(--lovable-muted);
  line-height: 1.85;
}
.messages-band {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5,5,5,.75), rgba(5,5,5,.58)),
    var(--image-encounter),
    #0d0d0d;
  background-size: cover;
  background-position: center;
}
.messages-band h2 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 400;
}
.messages-band p {
  max-width: 580px;
  margin: 0 auto;
  color: rgba(255,255,255,.74);
  font-weight: 700;
}
.messages-band .play-mark {
  margin-bottom: 8px;
}
.community-grid,
.giving-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.community-image {
  min-height: 310px;
  background: var(--image-community) center / cover no-repeat;
}
.giving-section {
  padding: 110px 0;
  background: #15100d;
  color: #fff;
}
.giving-image {
  min-height: 256px;
  filter: grayscale(1);
  background: var(--image-giving) center / cover no-repeat;
}
.giving-section h2 {
  color: #fff;
}
.giving-section p {
  max-width: 560px;
  color: rgba(255,255,255,.72);
  font-weight: 700;
  line-height: 1.8;
}
.outline-light-button {
  display: inline-flex;
  margin-top: 20px;
  min-height: 44px;
  align-items: center;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.home-route .footer {
  background: #15100d;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
}
.home-route .footer strong {
  color: #fff;
}
@media (max-width: 920px) {
  .home-route .topbar {
    position: absolute;
  }
  .home-route .menu {
    background: rgba(21,16,13,.94);
  }
  .lovable-home-hero {
    min-height: 640px;
  }
  .encounter-grid,
  .tabs-layout,
  .tabs-content,
  .community-grid,
  .giving-grid,
  .encounter-section .countdown {
    grid-template-columns: 1fr;
  }
  .tabs-nav {
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .home-tabs-section,
  .community-section,
  .giving-section {
    padding: 68px 0;
  }
}

/* Home layout based on the requested reference */
.home-hero-format {
  min-height: 640px;
  position: relative;
  display: grid;
  align-content: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, .88), rgba(8, 7, 6, .48), rgba(8, 7, 6, .72)),
    var(--image-hero),
    #120f0c;
  background-size: cover;
  background-position: center;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 56px;
  align-items: center;
  padding-top: 96px;
}
.home-hero-copy {
  max-width: 720px;
}
.home-hero-copy span,
.home-hero-links a {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 700;
}
.home-hero-copy h1 {
  margin: 16px 0 22px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
}
.home-hero-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
  line-height: 1.7;
}
.home-hero-links {
  display: grid;
  gap: 28px;
}
.home-hero-links a {
  display: block;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, .32);
  line-height: 1.45;
}
.hero-action-wrap {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
}
.hero-action-bar {
  width: min(640px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .24);
}
.hero-action-bar a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.hero-action-primary {
  background: #c8915f;
}
.hero-action-secondary {
  background: rgba(52, 52, 52, .94);
}
.hero-action-secondary:after {
  content: "→";
  margin-left: 18px;
  font-size: 18px;
}
.home-welcome-section {
  padding: 78px 0 86px;
  background: #fff;
  color: var(--lovable-text);
}
.home-centered-title {
  margin: 0 0 42px;
  color: #c08a55;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
}
.home-welcome-grid {
  display: grid;
  grid-template-columns: 1.05fr .88fr .62fr;
  gap: 46px;
  align-items: center;
}
.home-photo-collage {
  min-height: 300px;
  position: relative;
}
.collage-photo,
.home-side-photo {
  display: block;
  background-size: cover;
  background-position: center;
}
.collage-small {
  width: 42%;
  aspect-ratio: 1 / 1.18;
  position: absolute;
  left: 0;
  top: 38px;
  z-index: 2;
}
.collage-large {
  width: 78%;
  aspect-ratio: 1.35 / 1;
  position: absolute;
  right: 0;
  bottom: 0;
}
.home-side-photo {
  min-height: 245px;
}
.home-welcome-copy h3 {
  margin: 0 0 16px;
  color: #211d1b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.22;
}
.home-welcome-copy p {
  color: #5d5752;
  font-size: 15px;
  line-height: 1.85;
}
.gold-outline-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 10px 18px;
  border: 1px solid #d8b47d;
  color: #9a6d3d;
  font-size: 12px;
  font-weight: 800;
}
.gold-outline-button:after {
  content: "→";
  font-size: 18px;
}
.home-foundations-section {
  padding: 72px 0;
  background: #f6f1ea;
}
.home-foundations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.foundation-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid #dfd2c2;
  background: rgba(255, 253, 249, .86);
}
.foundation-card span {
  display: block;
  margin-bottom: 18px;
  color: #c08a55;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.foundation-card p {
  margin: 0;
  color: #5d5752;
  font-size: 15px;
  line-height: 1.75;
}
@media (max-width: 920px) {
  .home-hero-format {
    min-height: 720px;
    align-content: start;
  }
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 118px;
  }
  .home-hero-copy h1 {
    font-size: clamp(38px, 12vw, 54px);
  }
  .home-hero-links {
    gap: 14px;
  }
  .hero-action-wrap {
    width: min(100% - 28px, 680px);
    bottom: 28px;
  }
  .hero-action-bar,
  .home-welcome-grid,
  .home-foundations-grid {
    grid-template-columns: 1fr;
  }
  .home-welcome-section {
    padding: 62px 0 66px;
  }
  .home-photo-collage {
    min-height: 260px;
  }
  .home-side-photo {
    min-height: 220px;
  }
}

.home-route {
  background: #fff;
}
.home-route .topbar,
.home-route .footer {
  display: none;
}
.home-exact-start {
  width: 100%;
  margin: 0;
  background: #fff;
}
.home-exact-slice {
  width: 100%;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.home-exact-slice-1,
.home-exact-slice-2,
.home-exact-slice-3,
.home-exact-slice-4,
.home-exact-slice-5 {
  aspect-ratio: 1280 / 205;
}
.home-exact-slice-6 {
  aspect-ratio: 1280 / 204;
}

/* Functional home rebuilt from the reference image */
.home-route .topbar,
.home-route .footer {
  display: block;
}
.home-route .topbar {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  z-index: 20;
  background: linear-gradient(180deg, rgba(15, 11, 8, .76), rgba(15, 11, 8, .08));
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.home-route .brand,
.home-route .menu a,
.home-route .menu-toggle {
  color: #fff;
}
.home-route .brand img {
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}
.home-route .menu a.active,
.home-route .menu a:hover {
  color: #f0c38c;
}
.home-route .menu-toggle span {
  background: #fff;
}
.home-route .footer {
  background: #15100d;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .72);
}
.home-route .footer strong,
.home-route .footer a {
  color: #fff;
}
.home-hero-format {
  min-height: 100vh;
  padding: 84px 0 120px;
}
.home-hero-copy span,
.home-hero-links a {
  letter-spacing: .28em;
  text-transform: uppercase;
}
.home-hero-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}
.home-hero-links a,
.hero-action-bar a,
.gold-outline-button,
.solid-button,
.foundation-card {
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.home-hero-links a:hover {
  transform: translateX(4px);
  border-left-color: #f0c38c;
}
.hero-action-bar a:hover,
.gold-outline-button:hover,
.solid-button:hover {
  transform: translateY(-2px);
}
.foundation-card {
  display: block;
  color: inherit;
}
.foundation-card:hover {
  transform: translateY(-4px);
  border-color: #c08a55;
}
.encounter-section .countdown div {
  display: grid;
  gap: 8px;
}
.encounter-section .countdown span {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
@media (max-width: 920px) {
  .home-route .menu {
    background: rgba(21, 16, 13, .96);
  }
  .home-hero-format {
    min-height: 760px;
    padding-bottom: 120px;
  }
  .hero-action-bar {
    grid-template-columns: 1fr;
  }
  .home-hero-links a {
    padding: 14px 0 14px 16px;
  }
}

/* Stable functional home */
.home-route {
  background: #fff;
  color: #211d1b;
}
.home-route .topbar {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  z-index: 20;
  background: linear-gradient(180deg, rgba(35, 30, 26, .72), rgba(35, 30, 26, .24), rgba(35, 30, 26, 0));
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
}
.home-route .nav {
  width: min(100%, 980px);
  min-height: 58px;
  margin: 0 auto;
  padding: 0 22px;
  gap: 44px;
}
.home-route .brand {
  flex: 0 0 auto;
  color: #fff;
  text-transform: none;
}
.home-route .brand img {
  display: none;
}
.home-route .brand span {
  max-width: 94px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: .92;
}
.home-route .menu {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 22px;
  margin-left: 0;
}
.home-route .menu a {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .88);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .48em;
}
.home-route .menu a.active,
.home-route .menu a:hover {
  color: #fff;
  background: transparent;
  border: 0;
}
.home-route .menu-toggle {
  color: #fff;
}
.home-route .menu-toggle span {
  background: #fff;
}
.home-route .footer {
  display: block;
  background: #17130f;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .72);
}
.home-route .footer strong,
.home-route .footer a {
  color: #fff;
}
.home-hero-format {
  min-height: 690px;
  padding: 122px 0 112px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #211d1b;
  background:
    linear-gradient(90deg, rgba(248, 245, 239, .96) 0%, rgba(248, 245, 239, .9) 47%, rgba(248, 245, 239, .42) 70%, rgba(248, 245, 239, .12) 100%),
    var(--image-hero),
    #f8f5ef;
  background-size: cover;
  background-position: center;
}
.home-hero-format:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(248, 245, 239, 0), #fff);
  pointer-events: none;
}
.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 58px;
  align-items: center;
  padding: 0 0 42px;
}
.home-hero-copy {
  max-width: 980px;
}
.home-hero-copy span {
  display: block;
  margin-bottom: 18px;
  color: rgba(33, 29, 27, .74);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.home-hero-copy h1 {
  width: min(900px, 100%);
  margin: 0 0 24px;
  color: #211d1b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7.6vw, 104px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .96;
}
.home-hero-copy p {
  width: min(960px, 100%);
  margin: 0;
  color: #211d1b;
  font-size: 14px;
  line-height: 1.65;
}
.home-hero-links {
  display: grid;
  gap: 26px;
  align-self: end;
  padding-bottom: 50px;
}
.home-hero-links a {
  display: block;
  padding: 0 0 0 16px;
  border-left: 1px solid rgba(33, 29, 27, .32);
  color: #211d1b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}
.hero-action-wrap {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  width: min(620px, calc(100% - 32px));
  transform: translateX(-50%);
}
.hero-action-bar {
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  box-shadow: 0 20px 48px rgba(18, 14, 10, .22);
}
.hero-action-bar a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.hero-action-primary {
  background: #c08a55;
}
.hero-action-secondary {
  background: #383838;
}
.hero-action-secondary:after {
  content: ">";
  margin-left: 16px;
  font-size: 16px;
}
.home-welcome-section {
  padding: 82px 0 88px;
  background: #fff;
  color: #211d1b;
}
.home-centered-title {
  margin: 0 0 44px;
  color: #c08a55;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}
.home-welcome-grid {
  display: grid;
  grid-template-columns: 1.05fr .88fr .62fr;
  gap: 46px;
  align-items: center;
}
.home-photo-collage {
  min-height: 300px;
  position: relative;
}
.collage-photo,
.home-side-photo {
  display: block;
  background-size: cover;
  background-position: center;
}
.collage-small {
  width: 42%;
  aspect-ratio: 1 / 1.18;
  position: absolute;
  left: 0;
  top: 38px;
  z-index: 2;
}
.collage-large {
  width: 78%;
  aspect-ratio: 1.35 / 1;
  position: absolute;
  right: 0;
  bottom: 0;
}
.home-side-photo {
  min-height: 245px;
}
.home-welcome-copy h3 {
  margin: 0 0 16px;
  color: #211d1b;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.22;
}
.home-welcome-copy p {
  margin: 0 0 16px;
  color: #5d5752;
  font-size: 15px;
  line-height: 1.85;
}
.gold-outline-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  padding: 10px 18px;
  border: 1px solid #d8b47d;
  color: #9a6d3d;
  font-size: 12px;
  font-weight: 800;
}
.gold-outline-button:after {
  content: ">";
  font-size: 16px;
}
.home-foundations-section {
  padding: 72px 0;
  background: #f6f1ea;
}
.home-foundations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.foundation-card {
  min-height: 190px;
  display: block;
  padding: 26px;
  border: 1px solid #dfd2c2;
  background: rgba(255, 253, 249, .9);
  color: inherit;
}
.foundation-card span {
  display: block;
  margin-bottom: 18px;
  color: #c08a55;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.foundation-card p {
  margin: 0;
  color: #5d5752;
  font-size: 15px;
  line-height: 1.75;
}
.home-hero-links a,
.hero-action-bar a,
.gold-outline-button,
.solid-button,
.foundation-card {
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.home-hero-links a:hover {
  transform: translateX(4px);
  border-left-color: #c08a55;
  color: #9a6d3d;
}
.hero-action-bar a:hover,
.gold-outline-button:hover,
.solid-button:hover {
  transform: translateY(-2px);
}
.foundation-card:hover {
  transform: translateY(-4px);
  border-color: #c08a55;
}
@media (max-width: 980px) {
  .home-route .nav {
    width: 100%;
    min-height: 68px;
  }
  .home-route .brand img {
    display: block;
    width: 44px !important;
  }
  .home-route .brand span {
    max-width: 130px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
  }
  .home-route .menu {
    gap: 0;
    justify-content: flex-start;
    background: rgba(21, 16, 13, .96);
  }
  .home-route .menu a {
    padding: 14px 16px;
    font-size: 11px;
    letter-spacing: .18em;
  }
  .home-hero-format {
    min-height: 760px;
    padding: 104px 0 126px;
    align-items: start;
    background:
      linear-gradient(180deg, rgba(248, 245, 239, .98) 0%, rgba(248, 245, 239, .9) 58%, rgba(248, 245, 239, .65) 100%),
      var(--image-hero),
      #f8f5ef;
    background-position: center top;
  }
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 0;
  }
  .home-hero-copy h1 {
    font-size: clamp(44px, 14vw, 66px);
    line-height: 1;
  }
  .home-hero-copy p {
    font-size: 14px;
  }
  .home-hero-links {
    gap: 12px;
    padding-bottom: 0;
  }
  .home-hero-links a {
    padding: 10px 0 10px 14px;
  }
  .hero-action-wrap {
    bottom: 24px;
  }
  .hero-action-bar,
  .home-welcome-grid,
  .home-foundations-grid {
    grid-template-columns: 1fr;
  }
  .home-welcome-section {
    padding: 62px 0 66px;
  }
  .home-photo-collage {
    min-height: 260px;
  }
  .home-side-photo {
    min-height: 220px;
  }
}
@media (max-width: 560px) {
  .home-hero-format {
    min-height: 800px;
  }
  .home-hero-copy h1 {
    font-size: clamp(42px, 13.6vw, 58px);
  }
  .hero-action-bar a {
    min-height: 54px;
  }
}

/* Reference-faithful home proportions */
.home-route .cursor-light {
  display: none;
}
.home-route .topbar {
  height: 58px;
  background: linear-gradient(180deg, rgba(55, 52, 48, .78), rgba(77, 73, 68, .58));
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
}
.home-route .nav {
  width: min(100%, 930px);
  min-height: 58px;
  height: 58px;
  padding: 0 20px;
  gap: 48px;
}
.home-route .brand span {
  max-width: 112px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: .9;
  letter-spacing: 0;
  text-transform: none;
}
.home-route .menu {
  gap: 26px;
}
.home-route .menu a {
  padding: 7px 0;
  color: rgba(255, 255, 255, .86);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-route .menu a.active,
.home-route .menu a:hover {
  color: #fff;
}
.home-hero-format {
  min-height: 548px;
  padding: 58px 0 0;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(247, 245, 239, .98) 0%, rgba(247, 245, 239, .96) 55%, rgba(247, 245, 239, .72) 78%, rgba(247, 245, 239, .5) 100%),
    var(--image-hero),
    #f7f5ef;
  background-size: cover;
  background-position: center;
}
.home-hero-format:after {
  display: none;
}
.home-hero-grid {
  width: min(992px, calc(100% - 40px));
  min-height: 392px;
  grid-template-columns: minmax(0, 780px) 150px;
  gap: 26px;
  align-items: end;
  padding: 0 0 20px;
}
.home-hero-copy {
  max-width: 780px;
}
.home-hero-copy span {
  margin: 0 0 12px;
  color: #171514;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
.home-hero-copy h1 {
  width: 100%;
  margin: 0 0 16px;
  color: #1d1a18;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 88px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: .95;
}
.home-hero-copy p {
  width: min(960px, calc(100vw - 72px));
  margin: 0;
  color: #1f1d1b;
  font-size: 14px;
  line-height: 1.45;
}
.home-hero-links {
  gap: 8px;
  align-self: end;
  padding: 0 0 2px;
}
.home-hero-links a {
  padding: 0;
  border-left: 0;
  color: #1f1d1b;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}
.home-hero-links a:hover {
  transform: none;
  color: #9a6d3d;
}
.hero-action-wrap {
  left: 50%;
  bottom: 0;
  width: min(720px, calc(100% - 40px));
}
.hero-action-bar {
  grid-template-columns: 1fr .78fr;
  box-shadow: none;
}
.hero-action-bar a {
  min-height: 58px;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.hero-action-primary {
  background: #bd8152;
}
.hero-action-secondary {
  background: #343332;
}
.home-welcome-section {
  padding: 58px 0 76px;
}
.home-centered-title {
  margin-bottom: 34px;
  font-size: 36px;
  letter-spacing: 0;
}
.home-welcome-grid {
  width: min(992px, 100%);
  margin: 0 auto;
  grid-template-columns: 1.05fr .9fr .62fr;
  gap: 34px;
}
.home-photo-collage {
  min-height: 286px;
}
.home-welcome-copy h3 {
  font-size: 22px;
  letter-spacing: 0;
}
.home-welcome-copy p {
  font-size: 14px;
  line-height: 1.7;
}
.home-foundations-grid {
  width: min(992px, 100%);
  margin: 0 auto;
}
@media (max-width: 980px) {
  .home-route .topbar {
    height: auto;
  }
  .home-route .nav {
    width: 100%;
    min-height: 68px;
    height: auto;
    gap: 16px;
  }
  .home-route .brand img {
    display: block;
    width: 42px !important;
  }
  .home-route .brand span {
    max-width: 140px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.08;
    text-transform: uppercase;
  }
  .home-route .menu {
    gap: 0;
  }
  .home-route .menu a {
    padding: 14px 16px;
    font-size: 11px;
  }
  .home-hero-format {
    min-height: 720px;
    padding-top: 88px;
    background:
      linear-gradient(180deg, rgba(247, 245, 239, .98) 0%, rgba(247, 245, 239, .92) 70%, rgba(247, 245, 239, .78) 100%),
      var(--image-hero),
      #f7f5ef;
    background-position: center top;
  }
  .home-hero-grid {
    width: min(100% - 32px, 640px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 22px;
    align-content: start;
    align-items: start;
    padding-bottom: 118px;
  }
  .home-hero-copy h1 {
    font-size: 50px;
    line-height: 1;
  }
  .home-hero-copy p {
    width: 100%;
  }
  .home-hero-links {
    gap: 7px;
  }
  .hero-action-wrap {
    width: min(100% - 32px, 640px);
    bottom: 24px;
  }
  .hero-action-bar {
    grid-template-columns: 1fr;
  }
  .home-welcome-grid,
  .home-foundations-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .home-hero-format {
    min-height: 760px;
  }
  .home-hero-copy h1 {
    font-size: 43px;
  }
  .home-centered-title {
    font-size: 32px;
  }
}

/* Simple professional home, based on the latest visual reference. */
.home-route {
  background: #fffaf3;
}
.home-route .topbar {
  position: sticky;
  top: 0;
  inset: 0 0 auto 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(55, 52, 48, .9), rgba(77, 73, 68, .78));
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
}
.home-route .nav {
  max-width: 1180px;
  min-height: 96px;
}
.home-route .brand {
  color: #fff;
}
.home-route .brand img {
  width: 72px !important;
}
.home-route .brand span {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0;
}
.home-route .menu a {
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-route .menu a.active,
.home-route .menu a:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
}
.home-route .menu-toggle span {
  background: #fff;
}
.simple-home-hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  padding: 132px 0 88px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4,7,12,.88) 0%, rgba(4,7,12,.7) 42%, rgba(4,7,12,.28) 100%),
    var(--home-hero-photo, var(--image-hero)) center / cover no-repeat;
}
.simple-home-hero-inner {
  max-width: 1180px;
}
.simple-home-kicker {
  margin: 0 0 18px;
  color: rgba(255,255,255,.92);
  font-size: 20px;
  font-weight: 900;
}
.simple-home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: 0;
}
.simple-home-lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.7;
}
.simple-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.simple-home-actions a,
.simple-home-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid #c98116;
  color: #fff;
  background: #c98116;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}
.simple-home-actions a + a {
  background: transparent;
  border-color: rgba(255,255,255,.5);
}
.simple-home-welcome,
.simple-home-paths {
  background: #fffaf3;
  color: #26215f;
}
.simple-home-welcome {
  padding: 72px 0 82px;
}
.simple-home-welcome h2,
.simple-home-paths h2 {
  margin: 0 auto 50px;
  color: #c98116;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0;
}
.simple-home-welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 52px;
  align-items: center;
}
.simple-home-collage {
  position: relative;
  min-height: 340px;
}
.simple-home-photo {
  display: block;
  background-position: center;
  background-size: cover;
  box-shadow: 0 20px 42px rgba(39,33,24,.14);
}
.simple-home-photo-main {
  width: 82%;
  height: 320px;
  margin-left: auto;
}
.simple-home-photo-small {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 42%;
  height: 190px;
  border: 10px solid #fffaf3;
}
.simple-home-copy h3 {
  max-width: 500px;
  margin: 0 0 20px;
  color: #26215f;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.18;
}
.simple-home-copy p {
  max-width: 560px;
  margin: 0 0 28px;
  color: #4b4f66;
  font-size: 17px;
  line-height: 1.75;
}
.simple-home-copy a {
  background: transparent;
  color: #c98116;
}
.simple-home-paths {
  padding: 74px 0 90px;
  border-top: 1px solid rgba(38,33,95,.1);
}
.simple-home-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.simple-home-path-grid a {
  display: grid;
  gap: 16px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(38,33,95,.14);
  background: #fff;
  color: #26215f;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(39,33,24,.08);
}
.simple-home-path-grid span {
  color: #26215f;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.05;
}
.simple-home-path-grid p {
  margin: 0;
  color: #5f6378;
  font-size: 15px;
  line-height: 1.65;
}
.home-route .footer {
  background: #fffaf3;
  border-top-color: rgba(38,33,95,.1);
}
.home-route .footer strong,
.home-route .footer a {
  color: #26215f;
}
@media (max-width: 900px) {
  .home-route .nav {
    min-height: 78px;
  }
  .home-route .brand img {
    width: 56px !important;
  }
  .home-route .menu {
    background: rgba(7,8,11,.94);
    border: 1px solid rgba(255,255,255,.12);
  }
  .simple-home-hero {
    min-height: 620px;
    padding-top: 116px;
    background:
      linear-gradient(90deg, rgba(4,7,12,.9) 0%, rgba(4,7,12,.68) 100%),
      var(--home-hero-photo, var(--image-hero)) center / cover no-repeat;
  }
  .simple-home-welcome-grid,
  .simple-home-path-grid {
    grid-template-columns: 1fr;
  }
  .simple-home-photo-main {
    width: 88%;
  }
  .simple-home-path-grid a {
    min-height: auto;
  }
}
@media (max-width: 560px) {
  .simple-home-hero {
    min-height: 640px;
    padding-bottom: 70px;
  }
  .simple-home-hero h1 {
    font-size: 44px;
  }
  .simple-home-lead {
    font-size: 16px;
  }
  .simple-home-welcome {
    padding-top: 54px;
  }
  .simple-home-welcome h2,
  .simple-home-paths h2 {
    margin-bottom: 34px;
    font-size: 34px;
  }
  .simple-home-collage {
    min-height: 300px;
  }
  .simple-home-photo-main {
    width: 100%;
    height: 260px;
  }
  .simple-home-photo-small {
    width: 52%;
    height: 140px;
    bottom: -18px;
  }
  .simple-home-copy {
    padding-top: 18px;
  }
}

/* Critical home correction: keep the header in normal flow and away from the hero text. */
.home-route .topbar {
  position: sticky !important;
  top: 0 !important;
  inset: auto 0 auto 0 !important;
  z-index: 100 !important;
  background: linear-gradient(180deg, rgba(55, 52, 48, .94), rgba(77, 73, 68, .82)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .18) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14) !important;
}
.home-route .simple-home-hero {
  padding-top: clamp(88px, 9vw, 132px) !important;
}

/* Critical home menu correction: remove the box behind the active item. */
.home-route .menu a,
.home-route .menu a.active,
.home-route .menu a:hover,
.home-route .menu a:focus {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.home-route .menu a.active {
  color: #fff !important;
}
