:root {
  --bg: #ececf1;
  --ink: #16171b;
  --ink-soft: #4a4f5a;
  --brand: #6f09c2;
  --brand-deep: #4d048e;
  --panel: #f8f8fb;
  --line: #16171b;
  --dark: #121318;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Chivo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.45;
  position: relative;
}

.site-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(111, 9, 194, 0.2), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(77, 4, 142, 0.2), transparent 30%),
    linear-gradient(145deg, #f3f3f7 0%, #e8e8ef 55%, #f2f2f6 100%);
  z-index: -2;
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  width: 32vmax;
  height: 32vmax;
  border: 2px solid rgba(22, 23, 27, 0.08);
  z-index: -1;
}

.site-bg::before {
  right: -10vmax;
  bottom: 10vmax;
  transform: rotate(18deg);
}

.site-bg::after {
  left: -12vmax;
  top: 25vmax;
  transform: rotate(-14deg);
}

.site-header,
main,
.site-footer {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  gap: 1rem;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: min(80px, 18vw);
  height: auto;
  border: 2px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.site-nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.hero {
  margin-top: 1rem;
  border: 2px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(140deg, #fcfbff 0%, #f8f7fd 100%);
  padding: clamp(1.2rem, 3vw, 2.5rem);
  box-shadow: 0.55rem 0.55rem 0 var(--line);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.73rem;
  font-family: "IBM Plex Mono", monospace;
  color: var(--brand-deep);
}

h1,
h2 {
  line-height: 1.1;
}

h1 {
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(2rem, 6vw, 4rem);
}

h2 {
  margin-top: 0;
}

.hero p {
  max-width: 62ch;
  color: var(--ink-soft);
}

.hero-meta {
  margin-top: 1rem;
  padding-left: 1.1rem;
  color: var(--ink);
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid var(--line);
  padding: 0.62rem 1rem;
  display: inline-block;
}

.btn-solid {
  background: linear-gradient(160deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.btn-outline {
  color: var(--ink);
  background: #fff;
}

.panel-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.panel {
  border: 2px solid var(--line);
  border-radius: 0.9rem;
  background: var(--panel);
  padding: 1rem;
  box-shadow: 0.35rem 0.35rem 0 rgba(22, 23, 27, 0.2);
}

.cta-band {
  margin: 1.6rem 0 2.3rem;
  border: 2px solid var(--line);
  border-radius: 0.9rem;
  background: linear-gradient(100deg, #1a1b22, #14151d 55%, #20212e 100%);
  padding: 1.2rem;
  color: #f4f4fa;
}

.inner-page {
  margin: 1rem auto 2rem;
}

.page-head {
  margin-bottom: 1.2rem;
}

.service-grid,
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

.pricing-grid h2,
.offer-card h2 {
  color: var(--brand-deep);
}

.service-call {
  margin-top: 0.55rem;
}

.offers-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.offer-card {
  background: linear-gradient(180deg, #1a1b22 0%, #121318 100%);
  color: #f3f3fa;
  border-color: var(--brand);
}

.offer-card h2,
.offer-card p {
  color: #f3f3fa;
}

.offer-value {
  margin: 0 0 0.45rem;
  font-size: clamp(1.8rem, 6vw, 2.7rem);
  font-weight: 900;
  color: #b96bff;
}

.two-col-copy {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hours-title {
  margin: 1rem 0 0.45rem;
}

.hours-table-wrap {
  overflow-x: auto;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--line);
  border-radius: 0.6rem;
  overflow: hidden;
  background: #fff;
}

.hours-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hours-table th,
.hours-table td {
  border-bottom: 1px solid rgba(22, 23, 27, 0.2);
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.hours-table thead th {
  background: linear-gradient(160deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.hours-table tbody tr:last-child th,
.hours-table tbody tr:last-child td {
  border-bottom: 0;
}

.home-hours-panel {
  margin-top: 1rem;
}

.faith-page {
  position: relative;
}

.faith-page-body .site-bg {
  background:
    radial-gradient(circle at 14% 10%, rgba(189, 144, 59, 0.3), transparent 30%),
    radial-gradient(circle at 87% 18%, rgba(92, 63, 20, 0.26), transparent 36%),
    linear-gradient(155deg, #f8f3e3 0%, #efe2c8 48%, #e6d4b1 100%);
}

.faith-page-body .site-bg::before,
.faith-page-body .site-bg::after {
  border-color: rgba(96, 70, 28, 0.2);
}

.faith-head {
  border: 2px solid rgba(95, 74, 27, 0.45);
  border-radius: 0.9rem;
  padding: 1rem;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(120, 87, 31, 0.09) 0,
      rgba(120, 87, 31, 0.09) 10px,
      rgba(248, 239, 220, 0.45) 10px,
      rgba(248, 239, 220, 0.45) 20px
    );
  box-shadow: 0.35rem 0.35rem 0 rgba(60, 44, 19, 0.25);
}

.faith-head h1,
.faith-article h2 {
  font-family: "Cinzel", serif;
  letter-spacing: 0.02em;
}

.faith-head h1 {
  color: #4a3715;
  text-wrap: balance;
}

.faith-ornate-frame {
  position: relative;
  border: 3px solid #5f4a1b;
  border-radius: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 10% 8%, rgba(207, 180, 111, 0.22), transparent 34%),
    radial-gradient(circle at 92% 95%, rgba(123, 89, 31, 0.24), transparent 40%),
    linear-gradient(160deg, #f7f0de 0%, #f2e8d2 42%, #ebdfc3 100%);
  box-shadow: 0.45rem 0.45rem 0 rgba(60, 44, 19, 0.35);
}

.faith-ornate-frame::before,
.faith-ornate-frame::after {
  content: "✠";
  position: absolute;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: #7b591f;
}

.faith-ornate-frame::before {
  top: 0.45rem;
  left: 0.65rem;
}

.faith-ornate-frame::after {
  right: 0.65rem;
  bottom: 0.45rem;
}

.faith-ornate-frame {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(230px, 340px) 1fr;
  align-items: start;
}

.faith-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border: 3px solid #5f4a1b;
  border-radius: 0.8rem;
  box-shadow: 0.35rem 0.35rem 0 rgba(60, 44, 19, 0.25);
}

.faith-article {
  border: 2px solid rgba(95, 74, 27, 0.4);
  border-radius: 0.75rem;
  background: rgba(255, 253, 248, 0.86);
  padding: 1rem;
}

.faith-article h2 {
  margin: 0 0 0.55rem;
  color: #4a3715;
}

.faith-article p {
  margin-top: 0;
}

.tracking-shell {
  margin-bottom: 1rem;
}

.embed-placeholder {
  min-height: 320px;
  border: 2px dashed var(--brand);
  border-radius: 0.75rem;
  padding: 1rem;
  background: #fff;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.83rem;
}

.legal-copy .panel {
  max-width: 72ch;
}

.site-footer {
  margin: 2.4rem auto 1.2rem;
  padding-top: 0.8rem;
  border-top: 2px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-links {
  display: flex;
  gap: 0.9rem;
}

.legal-links a {
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.hero,
.panel,
.cta-band,
.site-header,
.site-footer {
  opacity: 0;
  transform: translateY(8px);
  animation: reveal 0.45s ease forwards;
}

.panel:nth-child(2) {
  animation-delay: 0.06s;
}

.panel:nth-child(3) {
  animation-delay: 0.12s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .panel-grid,
  .service-grid,
  .faq-list,
  .two-up,
  .offers-grid,
  .two-col-copy,
  .faith-ornate-frame {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: min(72px, 20vw);
  }
}
