/* ---------- Tokens ---------- */
:root {
  --cream: #faf7f1;
  --cream-2: #f2ece0;
  --ink: #23303b;
  --ink-soft: #566773;
  --navy: #1f3a4d;
  --navy-2: #17303f;
  --gold: #c1922f;
  --gold-soft: #d8b25e;
  --line: #e6ddcd;
  --white: #ffffff;
  --brand-text: var(--navy);
  --radius: 16px;
  --shadow: 0 18px 50px -22px rgba(31, 58, 77, .35);
  --maxw: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --serif: "Inter", Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --sans: "Inter", Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Dark theme ---------- */
/* Surfaces and text flip; brand navy/gold stay. --brand-text keeps accent
   text/borders legible against dark card surfaces. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream: #15222c;
    --cream-2: #101b23;
    --white: #1c2c37;
    --ink: #eaf0f3;
    --ink-soft: #a6b6c1;
    --line: #2b3c48;
    --brand-text: #9fc4de;
    --shadow: 0 18px 50px -22px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  --cream: #15222c;
  --cream-2: #101b23;
  --white: #1c2c37;
  --ink: #eaf0f3;
  --ink-soft: #a6b6c1;
  --line: #2b3c48;
  --brand-text: #9fc4de;
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, .6);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, iframe, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
section { scroll-margin-top: 84px; }
.eyebrow {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 14px;
}
.eyebrow.light { color: var(--gold-soft); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 48px);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--navy); border-radius: 9px; flex: none;
}
.brand-mark svg { width: 20px; height: 20px; fill: var(--gold-soft); }
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); }
.brand-text em { font-style: normal; color: var(--ink-soft); font-weight: 500; }
.header-right { display: flex; align-items: center; gap: clamp(12px, 2vw, 20px); }
.fb-icon {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; color: var(--navy); border: 1px solid var(--line);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.fb-icon svg { width: 20px; height: 20px; fill: currentColor; }
.fb-icon:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-1px); }
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; color: var(--ink-soft); background: none; cursor: pointer;
  border: 1px solid var(--line);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.theme-toggle svg { width: 19px; height: 19px; fill: currentColor; }
.theme-toggle:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-1px); }
/* Icon reflects the theme that IS active (moon = switch to dark, sun = switch to light) */
.icon-sun { display: none; }
.icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.nav a:not(.nav-cta) {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid transparent;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.nav a:not(.nav-cta):hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.nav-cta {
  background: var(--navy); color: #fff !important; padding: 9px 18px; border-radius: 999px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav-cta:hover { background: var(--navy-2); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .25s var(--ease); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--brand-text); color: var(--brand-text); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.text-link { color: var(--brand-text); font-weight: 600; border-bottom: 2px solid var(--gold-soft); padding-bottom: 2px; }
.text-link:hover { border-color: var(--brand-text); }

/* ---------- Hero + combined schedule ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) clamp(18px, 5vw, 48px) clamp(22px, 3vw, 36px);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero-schedule {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(8px, 2vw, 20px) clamp(18px, 5vw, 48px) clamp(46px, 7vw, 84px);
  scroll-margin-top: 84px;
}
.hero-schedule .eyebrow { text-align: center; }
.hero-schedule .schedule { margin-top: 18px; padding-left: 0; padding-right: 0; }
.hero h1 { font-size: clamp(29px, 4vw, 45px); margin-bottom: 20px; }
.hero-lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 44ch; margin: 0 0 28px; }
.hero-times { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.time-pill {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.time-pill.subtle { background: transparent; box-shadow: none; border-style: dashed; }
.time-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.time-value { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.time-pill.subtle .time-value { color: var(--ink-soft); font-size: 16px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card { position: relative; }
.hero-photo {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); background: var(--cream-2);
  aspect-ratio: 4 / 3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Section head ---------- */
.section-head { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 5vw, 48px); }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }

/* ---------- Services ---------- */
.services { padding: clamp(46px, 7vw, 88px) 0; }
.schedule {
  max-width: 880px; margin: 34px auto 0; padding: 0 clamp(18px, 5vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.sched-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 3px solid var(--gold); padding: 26px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sched-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sched-day {
  font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--brand-text);
  padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}
.sched-list { list-style: none; margin: 0; padding: 0; }
.sched-list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.s-name { font-weight: 500; color: var(--ink); white-space: nowrap; }
.s-dot { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.s-time { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--brand-text); white-space: nowrap; }
.svc-foot { text-align: center; color: var(--ink-soft); margin: 26px 0 0; font-style: italic; }

/* ---------- About ---------- */
.about { background: var(--cream-2); padding: clamp(52px, 8vw, 96px) 0; }
.about-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 5vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.about-text h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; }
.about-text p { color: var(--ink-soft); margin: 0 0 16px; }
.about-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.about-features li {
  display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.feat-icon {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--cream); border-radius: 12px; font-size: 22px;
}
.about-features h3 { font-size: 19px; margin-bottom: 3px; }
.about-features p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- Event ---------- */
.event { padding: clamp(46px, 7vw, 84px) clamp(18px, 5vw, 48px); }
.event-inner {
  max-width: var(--maxw); margin: 0 auto; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #f4eee2; border-radius: 24px; padding: clamp(34px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.event-inner::after {
  content: "✝"; position: absolute; right: -10px; bottom: -40px;
  font-size: 240px; color: rgba(216,178,94,.10); line-height: 1; pointer-events: none;
}
.event-tag {
  display: inline-block; background: var(--gold); color: #23180a;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.event h2 { font-size: clamp(26px, 4vw, 40px); color: #fff; max-width: 20ch; }
.event-when { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 24px); color: var(--gold-soft); margin: 12px 0 16px; }
.event-desc { max-width: 60ch; color: #d9cfbf; margin: 0 0 22px; }
.event-meta { font-size: 15px; color: #c8bda9; position: relative; z-index: 1; }

.s-name em { font-style: normal; font-size: 12px; letter-spacing: .04em; color: var(--gold); font-weight: 600; }

/* ---------- Beliefs ---------- */
.beliefs { padding: clamp(52px, 8vw, 96px) 0; }
.beliefs-intro { max-width: 62ch; margin: 16px auto 0; color: var(--ink-soft); text-wrap: balance; }
.belief-grid {
  max-width: 880px; margin: 40px auto 0; padding: 0 clamp(18px, 5vw, 48px);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.belief-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.belief-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.belief-card h3 { font-size: 21px; color: var(--brand-text); margin-bottom: 10px; }
.belief-card p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.scripture {
  max-width: 720px; margin: 40px auto 0; padding: 0 clamp(18px, 5vw, 48px);
  text-align: center; font-family: var(--serif); font-size: clamp(19px, 2.4vw, 25px);
  font-style: italic; color: var(--ink); line-height: 1.4;
}
.scripture cite {
  display: block; margin-top: 14px; font-family: var(--sans); font-style: normal;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600;
}

/* ---------- Who we are not (distinction) ---------- */
.distinct { padding: 0 0 clamp(52px, 8vw, 96px); }
.distinct-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 5vw, 48px); }
.distinct-head { text-align: center; max-width: 66ch; margin: 0 auto; }
.distinct-head h2 { font-size: clamp(28px, 4vw, 44px); }
.distinct-lede { color: var(--ink-soft); margin: 16px auto 0; text-wrap: balance; }
.distinct-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 42px 0 0;
  align-items: start;
}
.distinct-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 32px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.distinct-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.distinct-tag {
  display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.is-church .distinct-tag { background: var(--navy); color: #fff; }
.is-family .distinct-tag { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }
.distinct-card-note {
  font-family: var(--serif); font-style: italic; color: var(--ink-soft);
  font-size: 16px; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.distinct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.distinct-list li { position: relative; padding-left: 26px; color: var(--ink); font-size: 15.5px; }
.distinct-list li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.is-family .distinct-list li::before { background: var(--ink-soft); opacity: .45; }
.distinct-quote {
  max-width: 100%; margin: 44px auto 0; text-align: center;
  font-family: var(--serif); font-size: clamp(17px, 2vw, 23px); font-style: italic;
  color: var(--ink); line-height: 1.4; text-wrap: balance;
}
.distinct-quote cite {
  display: block; margin-top: 14px; font-family: var(--sans); font-style: normal;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600;
}

/* ---------- Visit ---------- */
.visit { background: var(--cream-2); padding: clamp(52px, 8vw, 96px) 0; }
.visit-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 5vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center;
}
.visit-text h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.visit-text > p { color: var(--ink-soft); margin: 0 0 24px; }
.visit-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 0 0 28px; }
.visit-facts > div:nth-child(1) { grid-column: 1; grid-row: 1; } /* Address */
.visit-facts > div:nth-child(2) { grid-column: 2; grid-row: 1; } /* Sunday */
.visit-facts > div:nth-child(3) { grid-column: 2; grid-row: 2; } /* Wednesday, under Sunday */
.visit-facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 3px; }
.visit-facts dd { margin: 0; font-weight: 500; color: var(--ink); }
.visit-map {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
  background: var(--cream); min-height: 340px;
}
.visit-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Contact ---------- */
.contact {
  background: var(--navy); color: #f4eee2;
  padding: clamp(56px, 8vw, 100px) clamp(18px, 5vw, 48px); text-align: center;
}
.contact-inner { max-width: 760px; margin: 0 auto; }
.contact h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); }
.contact-lede { color: #cdc3b2; margin: 16px auto 30px; max-width: 52ch; }
.contact-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.contact-links a {
  border: 1.5px solid rgba(216,178,94,.5); color: #f4eee2; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.contact-links a:hover { background: var(--gold); border-color: var(--gold); color: #23180a; }
.contact-methods { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 0 0 26px; }
.contact-method {
  display: flex; flex-direction: column; gap: 4px; min-width: 220px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(216,178,94,.35);
  border-radius: var(--radius); padding: 18px 24px; text-align: left;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.contact-method:hover { background: rgba(255,255,255,.12); border-color: var(--gold); transform: translateY(-2px); }
.cm-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.cm-value { font-family: var(--serif); font-size: 21px; font-weight: 600; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: #c8bda9; padding: 40px clamp(18px, 5vw, 48px); }
.foot-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 18px; color: #f4eee2; }
.foot-addr { margin: 10px 0 4px; font-size: 15px; }
.foot-copy { margin: 0; font-size: 13px; color: #8f8676; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 60px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 0 16px; transform: translateY(-120%); transition: transform .3s var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 24px; width: 100%; text-align: center; }
  .nav-cta { margin: 8px auto 0; width: max-content; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; }
  .about-grid, .visit-grid { grid-template-columns: 1fr; }
  .schedule { grid-template-columns: 1fr; }
  .belief-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .belief-grid { grid-template-columns: 1fr; }
  .distinct-grid { grid-template-columns: 1fr; }
  .contact-method { min-width: 0; width: 100%; }
}
@media (max-width: 600px) {
  .event-inner::after { display: none; }
}
@media (max-width: 480px) {
  .visit-facts { grid-template-columns: 1fr; }
  .visit-facts > div:nth-child(1),
  .visit-facts > div:nth-child(2),
  .visit-facts > div:nth-child(3) { grid-column: 1; grid-row: auto; }
  .hero-times { flex-direction: column; }
  .time-pill { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }
