:root {
  --blue-950: #0b2442;
  --blue-900: #12345d;
  --blue-800: #1f4f8f;
  --blue-700: #2d63a8;
  --blue-600: #447bbb;
  --blue-200: #c9dcef;
  --blue-100: #e7f0f8;
  --blue-050: #f3f7fb;
  --gold-600: #b58b37;
  --gold-500: #c9a24d;
  --gold-300: #dfc98f;
  --cream: #f8f6f0;
  --paper: #ffffff;
  --ink: #12243a;
  --text: #33465a;
  --muted: #68798b;
  --line: #d9e3ed;
  --shadow: 0 22px 60px rgba(11, 36, 66, 0.11);
  --shadow-soft: 0 14px 34px rgba(11, 36, 66, 0.07);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue-800);
  text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--blue-950);
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.75rem, 6.2vw, 5.9rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.05rem, 4.2vw, 3.65rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0 0 1.2rem;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--blue-950);
  border-radius: 8px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(248, 246, 240, 0.91);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-color: rgba(31, 79, 143, 0.12);
  box-shadow: 0 8px 28px rgba(11, 36, 66, 0.08);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--blue-950);
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  filter: drop-shadow(0 5px 10px rgba(11, 36, 66, 0.12));
}

.brand-seal {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 5px 10px rgba(11, 36, 66, 0.12));
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-name {
  margin-top: 0.32rem;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 700;
}

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

.site-nav a {
  position: relative;
  color: var(--blue-950);
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.38rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-950);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: center;
  padding: clamp(5rem, 9vw, 8rem) 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(68, 123, 187, 0.28), transparent 32%),
    linear-gradient(135deg, #f9fbfd 0%, var(--blue-100) 60%, #d6e6f4 100%);
}

.hero::after {
  position: absolute;
  right: -14rem;
  bottom: -18rem;
  width: 38rem;
  height: 38rem;
  content: "";
  border: 1px solid rgba(31, 79, 143, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(31, 79, 143, 0.035),
    0 0 0 180px rgba(31, 79, 143, 0.025);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 52, 93, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 52, 93, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--gold-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 760px;
  margin-top: 1.6rem;
  color: var(--blue-950);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.52;
}

.hero-purpose {
  max-width: 700px;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--blue-800);
  box-shadow: 0 12px 30px rgba(31, 79, 143, 0.24);
}

.button-primary:hover {
  background: var(--blue-900);
}

.button-secondary {
  color: var(--blue-950);
  border-color: rgba(31, 79, 143, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  background: #fff;
}

.button-full {
  width: 100%;
}

.hero-art,
.section-art,
.membership-art,
.history-art {
  margin: 0;
}

.hero-art {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: var(--shadow);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-art figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.75rem 0.9rem;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  background: rgba(11, 36, 66, 0.76);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  line-height: 1.4;
}

.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  scroll-margin-top: 84px;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  margin: 0 auto clamp(2.8rem, 5vw, 4.7rem);
  text-align: center;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.identity-section {
  background: var(--cream);
}

.identity-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.identity-content {
  max-width: 760px;
  font-size: 1.1rem;
}

.identity-content p:first-child::first-letter {
  float: left;
  margin: 0.05em 0.12em 0 0;
  color: var(--gold-600);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 0.82;
}

.christ-feature {
  position: relative;
  overflow: hidden;
}

.christ-feature-king {
  color: rgba(255,255,255,0.8);
  background:
    radial-gradient(circle at 20% 20%, rgba(68,123,187,0.42), transparent 28%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.christ-feature-teaching {
  background: var(--blue-050);
}

.christ-feature-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.christ-feature-layout.reverse .section-art {
  order: 2;
}

.section-art {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.section-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.christ-feature-copy {
  max-width: 650px;
}

.christ-feature-king h2,
.christ-feature-king h3 {
  color: #fff;
}

.christ-feature-king .eyebrow {
  color: var(--gold-300);
}

.christ-feature-king .christ-feature-copy p {
  color: rgba(255,255,255,0.73);
}

.beliefs-section {
  background: #eef4f9;
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.belief-card {
  min-height: 100%;
  padding: 1.55rem;
  border: 1px solid rgba(31, 79, 143, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 10px 24px rgba(11,36,66,0.035);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.belief-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 77, 0.55);
  box-shadow: var(--shadow-soft);
}

.belief-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--gold-600);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.belief-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.membership-section {
  background: var(--cream);
}

.membership-lead-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.membership-intro {
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-left: 5px solid var(--gold-500);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: var(--blue-950);
  font-size: 1.14rem;
}

.membership-intro p {
  margin-bottom: 0;
}

.membership-art {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.membership-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

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

.process-card {
  padding: 1.55rem;
  border: 1px solid rgba(31, 79, 143, 0.11);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 28px rgba(11, 36, 66, 0.05);
}

.process-card > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--blue-950);
  border-radius: 50%;
  background: var(--gold-300);
  font-weight: 800;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.recognition-note,
.affiliation-note {
  padding: clamp(1.7rem, 4vw, 2.4rem);
  border-radius: var(--radius-lg);
}

.recognition-note {
  border: 1px solid rgba(201, 162, 77, 0.3);
  background: #f7f1e3;
}

.affiliation-note {
  color: rgba(255,255,255,0.8);
  background: var(--blue-900);
}

.affiliation-note h3 {
  color: #fff;
}

.recognition-note p:last-child,
.affiliation-note p:last-child {
  margin-bottom: 0;
}

.wedding-section {
  color: rgba(255,255,255,0.79);
  background:
    radial-gradient(circle at 75% 25%, rgba(201,162,77,0.2), transparent 26%),
    linear-gradient(145deg, var(--blue-900), var(--blue-950));
}

.wedding-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.wedding-section h2 {
  color: #fff;
}

.wedding-section .eyebrow {
  color: var(--gold-300);
}

.history-section {
  background: var(--blue-050);
}

.history-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: stretch;
  gap: clamp(2rem, 6vw, 5rem);
}

.history-art {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.history-art img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.history-panel {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.timeline-item {
  position: relative;
  padding: 1.45rem;
  border-top: 4px solid var(--gold-500);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.timeline-item > span {
  display: none;
}

.small-label {
  margin-bottom: 0.35rem;
  color: var(--gold-600);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.library-section {
  color: rgba(255,255,255,0.78);
  background:
    radial-gradient(circle at 10% 0%, rgba(68,123,187,0.3), transparent 27%),
    var(--blue-950);
}

.library-section h2,
.library-section h3 {
  color: #fff;
}

.library-heading {
  max-width: 820px;
  margin-bottom: 3rem;
}

.library-heading > p:last-child {
  color: rgba(255,255,255,0.62);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.library-card {
  grid-column: span 2;
  padding: 1.7rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.055);
}

.library-card:nth-child(4),
.library-card:nth-child(5) {
  grid-column: span 3;
}

.library-card p {
  color: rgba(255,255,255,0.62);
}

.library-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.3rem;
  display: grid;
  place-items: center;
  color: var(--blue-950);
  border-radius: 13px;
  background: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.status-chip {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  color: var(--gold-300);
  border: 1px solid rgba(223, 201, 143, 0.25);
  border-radius: 999px;
  background: rgba(223, 201, 143, 0.08);
  font-size: 0.78rem;
  font-weight: 650;
}

.contact-section {
  background: var(--cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.7fr);
  gap: clamp(2.5rem, 8vw, 7rem);
}

.contact-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card dl {
  margin: 0 0 1.5rem;
}

.contact-card dl > div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 0.25rem 0 0;
  color: var(--blue-950);
  font-size: 1.08rem;
  font-weight: 650;
}

.contact-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.status-section {
  padding: 0 0 clamp(5rem, 9vw, 8rem);
  background: var(--cream);
}

.status-box {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-950));
  box-shadow: var(--shadow);
}

.status-box h2 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.status-box > p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.75);
}

.site-footer {
  padding: 4.5rem 0 1.5rem;
  color: rgba(255,255,255,0.7);
  background: #071a31;
  text-align: center;
}

.footer-logo-wrap {
  display: grid;
  justify-items: center;
}

.footer-seal {
  width: 190px;
  height: 190px;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.28));
}

.footer-church-name {
  max-width: 660px;
  margin: 1.5rem auto 0;
  color: #fff;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

.footer-location {
  margin: 0.45rem 0 0;
  color: rgba(255,255,255,0.54);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.footer-links a {
  color: rgba(255,255,255,0.78);
}

.footer-status {
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-status p {
  max-width: 900px;
  margin-inline: auto;
  color: rgba(255,255,255,0.5);
  font-size: 0.91rem;
}

.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}

.privacy-main {
  min-height: 70vh;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.privacy-content {
  max-width: 840px;
}

.privacy-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
}

.privacy-content h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}

.privacy-content .effective-date {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1050px) {
  .hero-layout,
  .identity-layout,
  .christ-feature-layout,
  .membership-lead-layout,
  .wedding-layout,
  .history-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .christ-feature-layout.reverse .section-art {
    order: 0;
  }

  .hero-art {
    max-width: 650px;
  }

  .hero-art img {
    aspect-ratio: 16 / 10;
  }

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

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

  .history-art img {
    min-height: 420px;
    aspect-ratio: 16 / 9;
  }

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

  .library-card,
  .library-card:nth-child(4),
  .library-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 110;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto auto;
    width: min(88vw, 400px);
    height: 100dvh;
    padding: 7rem 2rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
    background: var(--cream);
    box-shadow: -20px 0 50px rgba(11, 36, 66, 0.16);
    transform: translateX(110%);
    transition: transform 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    font-size: 1.12rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.nav-open {
    overflow: hidden;
  }

  .status-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1rem;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-kicker {
    font-size: 0.62rem;
  }

  .brand-name {
    font-size: 0.8rem;
  }

  .brand img,
  .brand-seal {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: auto;
    padding-top: 4.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .belief-grid,
  .process-grid,
  .recognition-grid,
  .timeline,
  .library-grid {
    grid-template-columns: 1fr;
  }

  .hero-art figcaption {
    position: static;
    color: var(--muted);
    background: #fff;
    border-radius: 0;
  }

  .footer-seal {
    width: 160px;
    height: 160px;
  }
}


/* Version 3.1 — church-first identity */
.church-identity-note {
  margin: 1.6rem 0;
  padding: 1.35rem 1.5rem;
  color: var(--blue-950);
  border-left: 5px solid var(--gold-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--blue-100);
  box-shadow: var(--shadow-soft);
}

.church-identity-note strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.18rem;
}

.hero-art img,
.section-art img,
.membership-art img,
.history-art img {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.footer-tagline {
  margin: 0.4rem 0 0;
  color: var(--gold-300);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}


/* Version 3.02 fixes */
.notfound-seal {
  display: block;
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 18px rgba(11, 36, 66, 0.16));
}

@media (max-width: 1050px) {
  .hero-art {
    max-width: 700px;
    margin-inline: auto;
  }

  .hero-art img {
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  }

  .history-art img {
    min-height: 0;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  }
}

@media (max-width: 720px) {
  .hero-art img,
  .history-art img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    aspect-ratio: auto;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  }

  .history-art {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  }
}


/* Version 3.03 logo refinement */
.brand-mark {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 5px 10px rgba(11, 36, 66, 0.14));
}

.footer-seal {
  width: 220px;
  height: 220px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.28));
}

.notfound-seal {
  display: block;
  width: 140px;
  height: 140px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 18px rgba(11, 36, 66, 0.16));
}

.brand {
  gap: 0.9rem;
}

.brand-name {
  margin-top: 0.22rem;
}

@media (max-width: 720px) {
  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .footer-seal {
    width: 180px;
    height: 180px;
  }
}


/* Version 3.04 — one plain replaceable logo asset */
.brand-logo {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 10px;
}

.footer-logo {
  width: min(240px, 58vw);
  height: auto;
  max-height: 240px;
  object-fit: contain;
}

.notfound-logo {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .footer-logo {
    width: min(200px, 62vw);
    max-height: 200px;
  }
}


/* Version 3.05 — refined type scale and section hierarchy */
:root {
  --display-max: 4.7rem;
  --section-title-max: 3rem;
  --feature-title-max: 2.75rem;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 4.9vw, var(--display-max));
  line-height: 1.06;
  letter-spacing: -0.042em;
}

h2 {
  font-size: clamp(1.9rem, 3.1vw, var(--section-title-max));
  line-height: 1.14;
  letter-spacing: -0.028em;
}

h3 {
  line-height: 1.28;
  text-wrap: pretty;
}

.hero {
  min-height: auto;
  padding: clamp(5.25rem, 8vw, 7.25rem) 0;
}

.hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: clamp(3rem, 6vw, 5.25rem);
}

.hero-copy {
  max-width: 720px;
}

.hero-title {
  max-width: 11.8ch;
}

.hero-lead {
  max-width: 680px;
  margin-top: 1.45rem;
  font-size: clamp(1.16rem, 1.6vw, 1.42rem);
  line-height: 1.57;
}

.hero-purpose {
  max-width: 650px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-art {
  max-width: 560px;
  justify-self: end;
}

.section {
  padding: clamp(4.75rem, 7.5vw, 7rem) 0;
}

.section-heading {
  max-width: 660px;
}

.section-heading.centered {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-title {
  max-width: 17ch;
}

.section-heading.centered .section-title {
  max-width: 22ch;
  margin-inline: auto;
}

.identity-layout {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 7vw, 6rem);
}

.identity-content {
  font-size: 1.06rem;
}

.feature-title {
  max-width: 16ch;
  font-size: clamp(1.95rem, 3vw, var(--feature-title-max));
}

.christ-feature-copy {
  max-width: 610px;
}

.christ-feature-copy p,
.wedding-copy p {
  max-width: 62ch;
}

.membership-section .section-heading.centered {
  max-width: 800px;
}

.membership-section .section-title {
  max-width: 24ch;
}

.history-panel .section-title,
.library-heading .section-title,
.contact-section .section-title {
  max-width: 18ch;
}

.status-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
}

.belief-card h3 {
  font-size: 1.2rem;
}

.library-card h3 {
  font-size: 1.2rem;
}

@media (max-width: 1050px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-title {
    max-width: 13ch;
  }

  .hero-art {
    width: min(100%, 620px);
    max-width: 620px;
    justify-self: start;
  }

  .identity-layout {
    grid-template-columns: 1fr;
  }

  .section-title,
  .feature-title {
    max-width: 22ch;
  }
}

@media (max-width: 720px) {
  :root {
    --display-max: 3.45rem;
    --section-title-max: 2.45rem;
    --feature-title-max: 2.3rem;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, var(--display-max));
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, var(--section-title-max));
  }

  .hero {
    padding: 3.8rem 0 4.75rem;
  }

  .hero-title {
    max-width: 10.8ch;
  }

  .hero-lead {
    font-size: 1.12rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-title,
  .feature-title,
  .section-heading.centered .section-title,
  .membership-section .section-title {
    max-width: none;
  }
}
