:root {
  --bg: #0b1f2a;
  --bg-2: #102f40;
  --panel: #f7f3ea;
  --panel-2: #ffffff;
  --ink: #10202a;
  --muted: #5a6a73;
  --white: #ffffff;
  --sky: #78c7e8;
  --blue: #1e6f9f;
  --deep-blue: #0b3c5d;
  --gold: #d9a441;
  --gold-dark: #9a6a14;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #f3efe5;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.7rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 31, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #f4d77a);
  color: #172631;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.brand-small {
  display: block;
  color: #bfe8f7;
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 0.62rem 0.8rem;
  border-radius: 999px;
  opacity: 0.92;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.site-nav .nav-cta {
  background: var(--gold);
  color: #10202a;
  opacity: 1;
  margin-left: 0.35rem;
}

.site-nav .nav-cta:hover {
  background: #efc35b;
}

.hero {
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(7, 24, 34, 0.94), rgba(11, 60, 93, 0.76)),
    url("../../images/bg.jpg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -9rem auto;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.26), rgba(217, 164, 65, 0));
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 2.25rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-inner.hero-simple {
  grid-template-columns: 1fr;
  max-width: 980px;
  padding: 4.5rem 1.25rem 3.75rem;
}

.eyebrow {
  color: #ffe3a0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin: 0 0 0.8rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-simple h1 {
  font-size: clamp(2.35rem, 5vw, 4.7rem);
}

.lede {
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  color: #edf8fb;
  max-width: 730px;
  margin: 1.25rem 0 0;
}

.scripture {
  border-left: 4px solid var(--gold);
  padding: 0.85rem 0 0.85rem 1rem;
  margin: 1.5rem 0 0;
  color: #f8fbff;
  font-size: 1.02rem;
}

.scripture cite {
  display: block;
  color: #ffe3a0;
  font-style: normal;
  font-weight: 800;
  margin-top: 0.35rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.12rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: #10202a;
}

.button.primary:hover {
  background: #efc35b;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button.light {
  border-color: rgba(16, 32, 42, 0.25);
  color: var(--deep-blue);
  background: #fff;
}

.hero-card,
.panel-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 1.45rem;
}

.hero-card h2,
.panel-card h2,
.panel-card h3 {
  margin-top: 0;
}

.time-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.time-item {
  padding: 0.9rem;
  background: #f5f8f9;
  border: 1px solid #dce7eb;
  border-radius: 16px;
}

.time-item strong {
  display: block;
  color: var(--deep-blue);
  font-size: 1.04rem;
}

.time-item span {
  color: var(--muted);
}

.section {
  padding: 4.5rem 1.25rem;
}

.section.compact {
  padding: 3rem 1.25rem;
}

.section.alt {
  background: #fff;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--deep-blue);
  margin: 0 0 0.7rem;
}

.section h3 {
  color: var(--deep-blue);
  font-size: 1.35rem;
  line-height: 1.18;
}

.section p {
  font-size: 1.03rem;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: var(--panel-2);
  border: 1px solid rgba(16, 32, 42, 0.09);
  border-radius: var(--radius);
  padding: 1.45rem;
  box-shadow: 0 14px 35px rgba(15, 39, 54, 0.08);
}

.card.feature {
  min-height: 100%;
}

.card h3 {
  margin-top: 0;
}

.card-link {
  color: var(--deep-blue);
  font-weight: 850;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.image-card {
  overflow: hidden;
  padding: 0;
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-card .card-body {
  padding: 1.35rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.round-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 280px;
  width: 100%;
  object-fit: cover;
}

.callout {
  background: linear-gradient(135deg, var(--deep-blue), #164f75);
  color: var(--white);
  border-radius: 30px;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}

.callout h2,
.callout h3 {
  color: var(--white);
}

.callout .muted {
  color: #d5e9f1;
}

.callout .button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
}

.page-tools {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.calendar-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
  align-items: start;
}

.calendar-frame {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 32, 42, 0.10);
}

.calendar-frame iframe {
  display: block;
  width: 100%;
  height: min(75vh, 720px);
  min-height: 560px;
  border: 0;
}

.event-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
  margin: 0;
}

.event-list li {
  padding: 0.86rem 0.95rem;
  background: #f6fafb;
  border: 1px solid #dce9ed;
  border-radius: 16px;
}

.event-list strong {
  display: block;
  color: var(--deep-blue);
}

.resource-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.resource-list a {
  display: block;
  padding: 0.9rem 1rem;
  background: #f6fafb;
  border: 1px solid #dce9ed;
  border-radius: 16px;
  color: var(--deep-blue);
  text-decoration: none;
  font-weight: 800;
}

.resource-list a:hover {
  background: #edf8fc;
  text-decoration: underline;
}

.footer {
  color: var(--white);
  background: var(--bg);
  padding: 3rem 1.25rem;
}

.footer .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.footer a {
  color: #bfe8f7;
}

.footer p {
  margin: 0.2rem 0;
  color: #d6e8ee;
}

.footer strong {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  text-decoration: none;
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(16, 32, 42, 0.15);
  background: #fff;
  color: var(--deep-blue);
  border-radius: 999px;
  padding: 0.45rem 0.68rem;
  font-weight: 850;
  font-size: 0.92rem;
}

.notice {
  background: #fff8e8;
  border: 1px solid #f1d18b;
  border-radius: 18px;
  padding: 1rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: rgba(11, 31, 42, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.65rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 12px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero-inner,
  .split,
  .calendar-shell {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 4.4rem 1.25rem 3.5rem;
  }

  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .footer .container {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .brand-small {
    font-size: 0.64rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .actions,
  .page-tools {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 3.25rem 1rem;
  }

  .calendar-frame iframe {
    min-height: 520px;
  }
}


/* v2 homepage refinements: cleaner front page without photo sections */
.hero.home-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 164, 65, 0.22), rgba(217, 164, 65, 0) 32rem),
    linear-gradient(120deg, #071822 0%, #0b3c5d 54%, #102f40 100%);
}

.link-card {
  border-top: 5px solid var(--gold);
}

.card-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--gold-dark);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.text-split {
  grid-template-columns: 1.08fr 0.92fr;
}

.emphasis-card {
  background: #f8fbfd;
  border: 1px solid #dbeaf0;
}

.emphasis-card .actions {
  margin-top: 1.1rem;
}
