:root {
  --ink: #303436;
  --muted: #69706f;
  --line: #ddd8cf;
  --brand: #a20d2a;
  --blue: #142b44;
  --green: #557465;
  --green-dark: #426454;
  --primary: #142b44;
  --primary-dark: #0f2134;
  --accent: #557465;
  --accent-dark: #426454;
  --cream: #f5f1ea;
  --soft: #f7f6f2;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 48px rgba(48, 52, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  line-height: 1.65;
  background: var(--white);
}

a {
  color: inherit;
}

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

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid rgba(221, 216, 207, 0.75);
}

.nav-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: min(310px, 58vw);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #3e4546;
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a,
.nav-parent {
  text-decoration: none;
}

.main-nav > a,
.nav-parent {
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav > a {
  padding: 9px 12px;
}

.main-nav > a:hover,
.nav-parent:hover,
.nav-group.is-open .nav-parent {
  background: var(--primary);
  color: var(--white);
}

.nav-group {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: default;
}

.nav-parent::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  margin-top: -4px;
  transform: rotate(45deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 3;
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-group:hover .nav-dropdown,
.nav-group.is-open .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: var(--primary);
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 86px 0;
  background: var(--cream);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(15, 33, 52, 0.72), rgba(15, 33, 52, 0.36) 52%, rgba(15, 33, 52, 0.08)),
    linear-gradient(0deg, rgba(15, 33, 52, 0.35), transparent 38%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 430px);
  align-items: center;
  gap: 56px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label.is-important {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  line-height: 1;
  box-shadow: 0 10px 24px rgba(162, 13, 42, 0.18);
}

.hero .eyebrow {
  color: #e9ded0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
.section-title {
  font-family: "Merriweather", Georgia, serif;
}

h1 {
  max-width: 780px;
  margin: 0 0 22px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2,
.section-title {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 650px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.hero-copy h1,
.hero-copy p,
.hero-copy .eyebrow {
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button,
button,
.document-row b,
.quick-content b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 0;
  background: var(--primary);
  color: var(--white);
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
button:hover,
.document-row:hover b,
.quick-card:hover b {
  background: var(--primary-dark);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
}

.button.secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.hero-cta {
  box-sizing: border-box;
  min-width: 140px;
  height: 48px;
  min-height: 48px;
  padding: 0 24px;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.hero-cta.secondary {
  border: 0;
}

.hero-slider {
  position: relative;
  min-height: 360px;
  border-radius: 26px;
  background: transparent;
}

.hero-backgrounds,
.hero-background {
  position: absolute;
  inset: 0;
}

.hero-backgrounds {
  z-index: 0;
}

.hero-background {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.9s ease, transform 5s ease;
}

.hero-background.is-active {
  opacity: 1;
  transform: scale(1);
}

.slider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 360px;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 26px 28px 78px;
  border: 1px solid rgba(221, 216, 207, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
  transform: translateY(0);
}

.slide span {
  position: absolute;
  left: 28px;
  top: 18px;
  color: var(--brand);
  font-weight: 900;
}

.slide h2 {
  color: var(--blue);
  margin-top: 20px;
  overflow: visible;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.slide p {
  margin: 0;
}

.slide p {
  display: -webkit-box;
  color: var(--ink);
  max-height: 4.95em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.slide a {
  color: var(--primary);
  font-weight: 800;
}

.slider-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.slider-button {
  width: 38px;
  min-height: 38px;
  padding: 0;
  background: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
}

.section {
  padding: 76px 0;
}

.intro-section {
  background: var(--soft);
}

.intro-panel {
  max-width: 980px;
}

.intro-panel p {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-panel .button {
  margin-top: 12px;
}

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

.featured-news-carousel {
  position: relative;
}

.featured-news-track {
  position: relative;
  min-height: 0;
}

.featured-news-slide {
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(48, 52, 54, 0.08);
}

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

.featured-news-media {
  margin: 0;
  background: #eef2f5;
}

.featured-news-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1024 / 243;
  object-fit: cover;
}

.featured-news-copy {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  align-items: center;
  gap: 36px;
  padding: 30px 32px 34px;
}

.featured-news-text h2 {
  margin: 0;
  color: var(--blue);
}

.featured-news-text p:last-child {
  margin: 0;
  color: var(--muted);
}

.featured-news-action {
  display: flex;
  justify-content: flex-end;
  padding-right: 72px;
}

.featured-news-action .button {
  width: min(100%, 260px);
  justify-content: center;
}

.featured-news-controls {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 8px;
}

.featured-news-button {
  width: 40px;
  min-height: 40px;
  padding: 0;
  background: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}

.muted {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
}

.notice,
.service-panel,
.accordion details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(48, 52, 54, 0.06);
}

.notice-carousel,
.notice-list {
  position: relative;
}

.notice-track {
  display: grid;
  gap: 14px;
}

.notice-carousel .notice-track {
  position: relative;
  display: block;
}

.notice-page {
  display: grid;
  gap: 14px;
}

.notice-carousel .notice-page {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.notice-carousel .notice-page.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.notice {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 18px;
  overflow: hidden;
}

.notice img {
  width: 100%;
  height: 170px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.notice h2 {
  color: var(--blue);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.text-link {
  color: var(--primary);
  font-weight: 800;
}

.notice-controls {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.notice-button {
  width: 38px;
  min-height: 38px;
  padding: 0;
  background: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
}

.notice p,
.rich-text,
.page-hero p,
.service-panel p,
.gallery-head p,
.hymn-panel p {
  color: var(--muted);
}

.document-list {
  display: grid;
  gap: 12px;
}

.document-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--white);
  text-decoration: none;
}

.document-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--cream);
  color: var(--primary);
}

.document-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.document-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.document-row:hover {
  box-shadow: 0 12px 32px rgba(48, 52, 54, 0.08);
}

.document-row small {
  display: block;
  color: var(--muted);
}

.document-row b {
  flex: 0 0 auto;
  min-height: 38px;
  font-size: 0.82rem;
}

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

.quick-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  box-shadow: none;
}

.quick-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #e4dfd4;
}

.quick-media.is-placeholder::before,
.gallery-item.is-placeholder::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(16, 42, 67, 0.16), rgba(85, 116, 101, 0.22)),
    radial-gradient(circle at 72% 22%, rgba(162, 13, 42, 0.16), transparent 30%);
}

.quick-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.quick-card:hover .quick-media img {
  transform: scale(1.04);
}

.quick-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 12px;
  padding: 22px 18px;
  text-align: center;
  align-items: center;
}

.quick-content strong {
  color: var(--blue);
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.25;
}

.quick-content small {
  color: var(--muted);
  font-size: 0.94rem;
}

.quick-content b {
  min-height: 38px;
  margin-top: auto;
  font-size: 0.82rem;
}

.gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 24px;
}

.gallery-head p {
  margin: 0;
}

.gallery-carousel {
  position: relative;
}

.gallery-item {
  position: relative;
  display: none;
  height: 560px;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: var(--cream);
}

.gallery-item.is-active {
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  max-width: min(420px, calc(100% - 36px));
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

.gallery-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  box-shadow: 0 10px 28px rgba(48, 52, 54, 0.14);
  transform: translateY(-50%);
}

.gallery-button:hover {
  background: var(--white);
}

.gallery-button.is-prev {
  left: 18px;
}

.gallery-button.is-next {
  right: 18px;
}

.hymn-section {
  padding-top: 0;
}

.hymn-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 32px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--cream);
}

.hymn-panel h2 {
  margin-bottom: 12px;
}

.hymn-panel audio {
  width: 100%;
}

.audio-placeholder {
  display: grid;
  min-height: 98px;
  place-items: center;
  border: 1px dashed #b9b1a4;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 800;
}

.page-hero {
  padding: 70px 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  color: var(--blue);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 1.08rem;
}

.service-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 33, 52, 0.76), rgba(15, 33, 52, 0.34)),
    linear-gradient(0deg, rgba(15, 33, 52, 0.32), transparent 45%);
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--cream) center/cover no-repeat;
  transform: scale(1.02);
}

.service-hero-content {
  position: relative;
  z-index: 1;
}

.service-hero .eyebrow,
.service-hero h1,
.service-hero p {
  color: var(--white);
}

.service-hero h1 {
  max-width: 820px;
}

.service-hero p {
  max-width: 700px;
  font-size: 1.08rem;
}

.service-section {
  background: var(--soft);
}

.anchor-nav {
  position: sticky;
  top: 86px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding: 14px 0;
  background: rgba(247, 246, 242, 0.94);
  backdrop-filter: blur(10px);
}

.anchor-nav a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.anchor-nav a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.service-intro {
  margin-bottom: 34px;
}

.service-intro p {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-list {
  display: grid;
  gap: 34px;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: 42px;
  padding: 34px;
  scroll-margin-top: 110px;
}

.service-panel:nth-child(even) .service-copy {
  order: 2;
}

.service-panel:nth-child(even) .service-media {
  order: 1;
}

.service-copy {
  min-width: 0;
}

.service-panel h2 {
  color: var(--blue);
}

.service-panel p {
  margin-bottom: 0;
}

.service-media {
  align-self: stretch;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
}

.service-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.service-link-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.project-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 33, 52, 0.78), rgba(15, 33, 52, 0.38)),
    linear-gradient(0deg, rgba(15, 33, 52, 0.28), transparent 42%);
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--cream) center/cover no-repeat;
  transform: scale(1.02);
}

.project-hero-content {
  position: relative;
  z-index: 1;
}

.project-hero .eyebrow,
.project-hero h1,
.project-hero p {
  color: var(--white);
}

.project-hero h1 {
  max-width: 820px;
}

.project-hero p {
  max-width: 720px;
  font-size: 1.08rem;
}

.project-section {
  background: var(--soft);
}

.project-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.project-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(48, 52, 54, 0.06);
}

.project-sidebar strong {
  color: var(--blue);
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.25;
}

.project-sidebar span {
  color: var(--muted);
  font-size: 0.92rem;
}

.project-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}

.project-index a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
}

.project-index a:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.project-main {
  min-width: 0;
}

.project-intro {
  margin-bottom: 22px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--cream);
}

.project-intro p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
}

.project-accordion details {
  scroll-margin-top: 110px;
}

.project-accordion summary {
  display: grid;
  gap: 8px;
  list-style: none;
}

.project-accordion summary::-webkit-details-marker {
  display: none;
}

.project-accordion summary span {
  color: var(--blue);
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.2rem;
}

.project-accordion summary small {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

.content-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.content-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 33, 52, 0.78), rgba(15, 33, 52, 0.38)),
    linear-gradient(0deg, rgba(15, 33, 52, 0.26), transparent 42%);
}

.content-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--cream) center/cover no-repeat;
  transform: scale(1.02);
}

.content-hero-content {
  position: relative;
  z-index: 1;
}

.content-hero .eyebrow,
.content-hero h1,
.content-hero p {
  color: var(--white);
}

.content-hero h1 {
  max-width: 820px;
}

.content-hero p {
  max-width: 720px;
  font-size: 1.08rem;
}

.content-section {
  background: var(--soft);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

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

.content-layout.is-wide .content-panel .rich-text {
  max-width: none;
}

.content-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(48, 52, 54, 0.06);
}

.content-panel .rich-text {
  max-width: 840px;
}

.content-cards {
  display: grid;
  gap: 14px;
}

.content-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  text-decoration: none;
}

.content-card h2 {
  font-size: 1.35rem;
}

.content-card p {
  color: var(--muted);
}

.content-card b {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-documents {
  margin-top: 26px;
}

.content-faqs {
  grid-column: 1 / -1;
}

.testimonial-intro {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.testimonial-intro h2 {
  margin-bottom: 18px;
  color: var(--blue);
}

.testimonial-intro p {
  margin-right: auto;
  margin-left: auto;
}

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

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 8px;
  left: 20px;
  color: rgba(20, 43, 68, 0.13);
  font-family: "Merriweather", Georgia, serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
}

.testimonial-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.75;
}

.testimonial-card figcaption {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion details {
  padding: 0;
}

.accordion summary {
  padding: 18px 20px;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.accordion .rich-text {
  padding: 0 20px 20px;
}

.rich-text {
  max-width: 820px;
}

.rich-text h2,
.rich-text h3 {
  margin: 30px 0 12px;
  color: var(--blue);
}

.rich-text h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.rich-text h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rich-text p:first-child {
  margin-top: 0;
}

.rich-text ul,
.rich-text ol {
  margin: 16px 0 22px;
  padding-left: 22px;
  color: var(--muted);
}

.rich-text li + li {
  margin-top: 10px;
}

.rich-text a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.video-embed {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  border-radius: var(--radius);
  background: var(--blue);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-left,
.footer-right {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
}

.footer-right {
  align-items: flex-end;
  text-align: right;
}

.footer-brand {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand span {
  margin: 0 4px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.footer-grid a {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-grid .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 180ms ease, transform 180ms ease;
}

.footer-grid .social-link:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-partner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-partner img {
  max-width: 126px;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 12px;
  }

  .nav-group {
    padding: 0;
  }

  .nav-parent {
    width: 100%;
    justify-content: space-between;
    padding: 12px;
  }

  .nav-dropdown {
    position: static;
    display: none;
    gap: 2px;
    width: 100%;
    min-width: 0;
    padding: 4px 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: none;
    transition: none;
  }

  .nav-group.is-open .nav-dropdown {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown a {
    width: 100%;
    padding: 10px 12px 10px 18px;
    white-space: normal;
  }

  .hero-grid,
  .split,
  .service-panel,
  .gallery-head,
  .hymn-panel,
  .featured-news-copy {
    grid-template-columns: 1fr;
  }

  .featured-news-action {
    justify-content: flex-start;
    padding-right: 0;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-slider {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .hero {
    min-height: calc(100vh - 86px);
  }

  .service-panel .service-media {
    order: 1;
  }

  .service-panel .service-copy {
    order: 2;
  }

  .anchor-nav,
  .project-sidebar {
    position: static;
  }

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

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

@media (max-width: 560px) {
  .hero,
  .section,
  .page-hero,
  .service-hero {
    padding: 46px 0;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-slider {
    width: calc(100% - 32px);
    min-height: 320px;
    height: 320px;
    margin: 10px auto 0;
  }

  .slider {
    width: 100%;
    min-height: 320px;
    height: 320px;
  }

  .slide {
    position: absolute;
    inset: 0;
    min-height: 0;
    padding: 24px 24px 72px;
  }

  .slide h2 {
    font-size: clamp(1.65rem, 9vw, 2.45rem);
  }

  .slide p {
    display: block;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: initial;
  }

  .featured-news-copy {
    padding: 24px;
  }

  .featured-news-controls {
    position: static;
    justify-content: flex-end;
    margin: 14px 18px 18px;
  }

  .featured-news-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 24px;
  }

  .quick-card {
    min-height: 0;
  }

  .hero-slider,
  .gallery-item {
    min-height: 320px;
    height: 320px;
  }

  .gallery-item {
    min-height: 430px;
    height: 430px;
  }

  .service-hero {
    min-height: 430px;
  }

  .project-hero {
    min-height: 430px;
    padding: 46px 0;
  }

  .content-hero {
    min-height: 390px;
    padding: 46px 0;
  }

  .service-panel {
    padding: 22px;
  }

  .service-panel .service-media {
    order: 1;
  }

  .service-panel .service-copy {
    order: 2;
  }

  .content-panel {
    padding: 22px;
  }

  .service-media,
  .service-media img {
    min-height: 280px;
  }

  .slider-controls {
    right: 36px;
    bottom: 36px;
  }

  .document-row,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-left,
  .footer-right,
  .footer-partner {
    width: 100%;
  }

  .footer-right {
    align-items: flex-start;
    text-align: left;
  }

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

  .footer-partner {
    align-items: flex-start;
    justify-content: flex-start;
  }
}
