.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}
.container.narrow { width: min(calc(100% - 2rem), 760px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 236, .92);
  border-bottom: 1px solid rgba(222, 213, 199, .82);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand strong { display: block; font-size: 1.08rem; }
.brand small { color: var(--muted); font-size: .75rem; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: white;
  box-shadow: 0 7px 18px rgba(48, 59, 92, .12);
}
.brand-mark--platform {
  background: #fbf8f2;
  border: 1px solid var(--border);
}
.brand-mark--platform img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.55);
}
.main-nav { display: flex; gap: .35rem; align-items: center; }
.main-nav a {
  padding: .45rem .72rem;
  text-decoration: none;
  color: var(--muted);
  border-radius: 10px;
}
.main-nav a:hover { background: var(--surface-soft); color: var(--text); }

.hero { padding: clamp(4rem, 8vw, 7rem) 0 4rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); margin-bottom: 1rem; letter-spacing: -.03em; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.7rem 0 1rem; }
.foundation-note { font-size: .86rem; color: var(--muted); max-width: 620px; }

.section, .page-section { padding: 3.5rem 0 5rem; }
.section-heading { max-width: 720px; margin-bottom: 1.8rem; }
.section-heading h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.site-footer { border-top: 1px solid var(--border); color: var(--muted); }
.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .85rem;
}

/* AJR-014A — shell, navigation and page rhythm */
.site-header {
  background: rgba(248, 245, 239, .88);
  border-bottom-color: rgba(207, 196, 179, .68);
  box-shadow: 0 8px 30px rgba(42, 48, 76, .045);
}
.header-inner { min-height: 78px; }
.brand { gap: .78rem; }
.brand strong { color: var(--accent-deep); letter-spacing: -.015em; }
.brand-mark {
  box-shadow: 0 3px 0 rgba(52, 61, 99, .08), 0 10px 22px rgba(42, 48, 76, .10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.brand:hover .brand-mark { transform: translateY(-1px) rotate(-1deg); box-shadow: 0 4px 0 rgba(52, 61, 99, .08), 0 13px 25px rgba(42, 48, 76, .13); }
.main-nav {
  padding: .25rem;
  border: 1px solid rgba(221, 213, 200, .72);
  border-radius: 14px;
  background: rgba(255,255,255,.52);
}
.main-nav a {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: .42rem .78rem;
  font-weight: 700;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.main-nav a:hover { background: rgba(255,255,255,.86); color: var(--accent-strong); }
.main-nav a.is-current {
  color: var(--accent-deep);
  background: #fff;
  box-shadow: 0 2px 0 rgba(194,161,95,.20), 0 6px 14px rgba(42,48,76,.08);
}
.main-nav a.is-current::after {
  content: "";
  position: absolute;
  inset-inline: .7rem;
  bottom: .16rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--brand-warm), transparent);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: clamp(4.2rem, 8vw, 7rem);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}
.hero::before {
  width: 360px; height: 360px;
  inset-inline-end: -110px; top: 20px;
  background: radial-gradient(circle, rgba(75,85,126,.10), rgba(75,85,126,0) 70%);
}
.hero::after {
  width: 280px; height: 280px;
  inset-inline-start: -90px; bottom: -90px;
  background: radial-gradient(circle, rgba(194,161,95,.10), rgba(194,161,95,0) 70%);
}
.hero h1 { color: var(--accent-deep); text-wrap: balance; }
.hero-lead { line-height: 2; }
.section--soft {
  border-block: 1px solid rgba(221,213,200,.55);
  background:
    linear-gradient(180deg, rgba(232,234,243,.42), rgba(248,245,239,.52)),
    var(--bg);
}
.page-section { min-height: calc(100vh - 150px); }
.site-footer { background: rgba(255,255,255,.28); }
.footer-inner { min-height: 78px; }
.footer-prayer { color: color-mix(in srgb, var(--muted) 86%, var(--brand-warm)); }

/* AJR-014C9 footer information links */
.footer-signature { display: flex; gap: .65rem; align-items: center; flex-wrap: wrap; }
.footer-links { display: flex; gap: .85rem; align-items: center; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .86rem; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
