:root {
  --bg: #f3efe4;
  --panel: #ffffff;
  --panel-soft: #fbf8ef;
  --ink: #192c2a;
  --muted: #5e6d69;
  --line: rgba(25, 44, 42, 0.12);
  --accent: #6b2d8f;
  --accent-2: #d58d12;
  --green: #1d6948;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(28, 38, 35, 0.08);
  --max: 1140px;
  --body: Arial, Helvetica, sans-serif;
  --head: "Orbitron", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at top center, rgba(214, 173, 82, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f3ea 0, var(--bg) 100%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 239, 228, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.page,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
}

.site-header__inner {
  padding: 16px 18px 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand__image {
  display: block;
  width: 150px;
  height: auto;
}

.section-title h2,
.card h2,
.card h3,
.site-footer strong {
  font-family: var(--head);
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  padding: 10px 14px;
  font: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 9px 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 999px;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}

.nav-item__trigger {
  display: inline-flex;
  align-items: center;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  display: none;
  flex-direction: column;
  padding: 8px 0;
  background: #121212;
  border: 1px solid #2b2b2b;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  z-index: 8;
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  border-radius: 0;
  font-size: 0.85rem;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  display: flex;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(107, 45, 143, 0.08);
  text-decoration: none;
}

.page {
  padding: 20px 18px 40px;
}

.section {
  padding: 26px 0;
  scroll-margin-top: 110px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.72fr);
  gap: 20px;
  align-items: start;
}

.hero__full {
  grid-column: 1 / -1;
}

.hero__copy {
  grid-column: 1;
}

.hero__sidebar {
  grid-column: 2;
}

.hero__full,
.hero__copy,
.hero__sidebar {
  min-width: 0;
}

.hero__full {
  display: grid;
  gap: 12px;
}

.hero__logo {
  width: min(150px, 34vw);
  margin: 0 0 6px 20px;
}

.hero__strap {
  margin: 0;
  text-align: center;
  color: var(--accent-2);
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  letter-spacing: 0.06em;
}

.hero__strap span:first-child {
  color: #f39a1e;
}

.hero__strap--alt {
  color: #8d44ad;
}

.hero__slider {
  position: relative;
  overflow: hidden;
  padding: 10px;
  max-width: 100%;
}

.slider-stage {
  position: relative;
}

.slide {
  display: none;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.slide.is-active {
  display: block;
}

.slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 18%;
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.slider-arrow--left {
  left: 8px;
}

.slider-arrow--right {
  right: 8px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 12px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(107, 45, 143, 0.28);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--accent);
}

.hero__copy {
  padding: 12px 2px;
  line-height: 1.72;
  font-size: 1rem;
}

.hero__sidebar {
  display: grid;
  gap: 16px;
}

.hero__copy,
.hero__sidebar {
  margin-top: 2px;
}

.card {
  padding: 18px;
}

.notes-card ul,
.content-card ul,
.content-card ol {
  line-height: 1.75;
  margin: 10px 0 0;
  padding-left: 20px;
}

.notes-card ul ul {
  margin-top: 4px;
}

.prayer-card {
  display: grid;
  gap: 10px;
}

.prayer-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prayer-table-wrap th,
.prayer-table-wrap td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.prayer-table-wrap th {
  color: var(--muted);
  font-weight: 700;
}

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
}

.button {
  border: 0;
  cursor: pointer;
}

.button--primary {
  color: #fff;
  background: linear-gradient(145deg, var(--green), #2a845d);
}

.ai-form .button--primary {
  width: fit-content;
  padding: 11px 18px;
}

.button-link {
  color: var(--accent);
  background: rgba(107, 45, 143, 0.08);
}

.donate-card {
  text-align: center;
  display: grid;
  gap: 12px;
}

.split-callout {
  display: none;
}

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

.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-title {
  margin-bottom: 14px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.ai-shell,
.content-grid {
  display: grid;
  gap: 18px;
}

.ai-shell {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

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

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

.content-card {
  line-height: 1.8;
}

.content-card img {
  margin-bottom: 12px;
  border-radius: 14px;
}

.pill-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(107, 45, 143, 0.08);
}

.map-frame {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.contact-form,
.ai-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea,
.ai-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font: inherit;
  background: var(--panel-soft);
}

.ai-answer {
  display: grid;
  align-content: start;
  gap: 10px;
}

.ai-toggle {
  justify-self: start;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(107, 45, 143, 0.08);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ai-toggle[aria-expanded="true"] {
  background: var(--accent);
  color: #fff;
}

.ai-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  line-height: 1.7;
  white-space: pre-wrap;
}

.ai-panel__eyebrow {
  margin: 0;
}

.ai-sources {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  line-height: 1.6;
}

.ai-sources li {
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.ai-source-badge {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(107, 45, 143, 0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-source-excerpt {
  color: var(--muted);
  font-size: 0.93rem;
}

.membership-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 0;
}

.membership-table th,
.membership-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.membership-table th {
  width: 30%;
  color: var(--accent);
}

.ai-answer__meta {
  margin: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 18px max(18px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
}

.site-footer > div {
  min-width: 220px;
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer {
  background: #6b1c70;
  color: #f3a12a;
  border-top: 0;
  margin-top: 30px;
  padding-top: 18px;
  padding-bottom: 18px;
  max-width: none;
  width: 100%;
}

.site-footer p,
.site-footer a,
.site-footer strong {
  color: #f3a12a;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.tile {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  color: #fff;
  box-shadow: none;
}

.tile--purple {
  background: #8d44ad;
}

.tile span,
.tile strong {
  font-family: var(--head);
}

.tile span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.tile strong {
  font-size: 1rem;
}

.donate-hero {
  margin: 16px 0 20px;
  min-height: 260px;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("./assets/image8.png") center/cover no-repeat;
}

.donate-hero__overlay {
  min-height: 260px;
  display: grid;
  place-items: center;
  gap: 14px;
  color: #fff;
  text-align: center;
  padding: 24px;
}

.donate-hero__overlay h3 {
  margin: 0;
  font-family: var(--head);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}

.contact-layout {
  display: grid;
  gap: 18px;
}

.contact-form-wrap {
  display: grid;
  gap: 18px;
}

.contact-details {
  line-height: 1.8;
}

.map-frame--overlay {
  position: relative;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  min-height: 320px;
}

.map-frame--overlay iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.map-frame__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  max-width: 210px;
  padding: 12px 14px;
  border-radius: 4px;
}

.map-frame__badge strong,
.map-frame__badge p {
  display: block;
  margin: 0;
  line-height: 1.35;
}

.quick-links .tile {
  border-radius: 0;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(248, 244, 235, 0.96);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.loader__emblem {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent), #8d46b1);
}

.loader__text {
  display: grid;
  gap: 2px;
}

.loader__text strong,
.card h2,
.card h3 {
  font-family: var(--head);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tile {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border-radius: 2px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.tile--purple {
  background: linear-gradient(145deg, #8d46b1, #6d2f8e);
}

.tile span,
.tile strong {
  font-family: var(--head);
}

.tile span {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.tile strong {
  font-size: 1rem;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(107, 45, 143, 0.08);
}

.content-section .card + .card {
  margin-top: 0;
}

.section {
  margin-bottom: 6px;
}

@media (max-width: 1024px) {
  .hero,
  .ai-shell,
  .content-grid,
  .content-grid--wide,
  .quick-links,
  .contact-form-wrap {
    grid-template-columns: 1fr;
  }

  .brand__image {
    width: 130px;
  }

  .map-frame__badge {
    max-width: 180px;
  }
}

@media (max-width: 780px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 6px;
  }

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

  .site-nav a {
    padding-inline: 0;
  }

  .hero__slider {
    padding: 12px;
  }

  .slide img {
    height: 240px;
  }

  .site-nav {
    gap: 8px;
  }

  .nav-item {
    width: 100%;
  }

  .dropdown {
    position: static;
    min-width: 0;
    width: 100%;
  }

  .quick-links {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .page,
  .site-header__inner,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
}
