:root {
  --forest: #2c6144;
  --forest-deep: #173b2a;
  --forest-soft: #397455;
  --helix: #78a943;
  --helix-bright: #b6d981;
  --stone: #f4f6ef;
  --stone-deep: #e4ebdc;
  --charcoal: #233129;
  --muted: #4d6055;
  --border: #d8e4d8;
}
[hidden] { display: none !important; }
.site-header.header-overlay { background: linear-gradient(to bottom, #151a17c9, #151a1700); }
.site-header.is-scrolled, .site-header:not(.header-overlay) { background: #173b2af7; }
.header-inner .brand img { width: 108px; }
.hero .eyebrow { color: #d1e9b4; }
.hero .signature { display: block; margin-top: 1.15rem; font-weight: 700; }
.hero .signature br { display: block; }
.page-heading { padding-top: calc(var(--header) + clamp(2.5rem, 8vw, 5.5rem)); }
.page-heading h1 { max-width: 900px; }
.page-heading .reading { margin-inline: auto; }
.media-frame, .media-frame img { min-height: 0; }
.media-frame img { height: auto; max-height: 590px; object-fit: cover; }
.media-frame.fit-image img { object-fit: contain; max-height: 550px; }
.media-copy h3 { margin-top: 1.4rem; }
.media-copy p:last-child, .cta-band p:last-child, .reading p:last-child { margin-bottom: 0; }
.brand-band, .image-group, .social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.8rem; }
.image-group img[src*="about-matthew-4-3"] { padding: .65rem; background: var(--forest-deep); border-radius: .5rem; }
.image-group { margin: 1rem 0 1.8rem; }
.features-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin-top: 1.5rem; }
.features-list h3 { margin-top: .35rem; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.article-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: white; box-shadow: var(--shadow-soft); }
.article-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card > div { padding: clamp(1.2rem, 3vw, 2rem); }
.article-content { margin-inline: auto; overflow-wrap: anywhere; }
.article-content h2 { margin-top: 2.1rem; font-size: clamp(1.35rem, 3vw, 1.9rem); }
.article-cover { width: min(100%, 1000px); height: auto; margin: 1.5rem auto 0; border-radius: var(--radius); }
.article-content h3 { margin-top: 1.5rem; }
.event-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; padding: clamp(1.35rem, 5vw, 2.8rem); background: var(--stone-deep); border: 1px solid var(--border); border-radius: var(--radius); }
.event-card h2 { font-size: clamp(1.35rem, 2.8vw, 2.15rem); }
.event-card p:last-child { margin-bottom: 0; }
.event-card .event-links { display: grid; justify-items: start; gap: .65rem; }
.engagement-panel { border: 1px solid var(--border); padding: clamp(1.1rem, 4vw, 2.65rem); border-radius: var(--radius); background: white; }
.engagement-panel + .engagement-panel { margin-top: 1.45rem; }
.engagement-panel p { max-width: 740px; }
.embed { display: block; width: 100%; margin-top: 1.35rem; border: 1px solid var(--border); border-radius: .65rem; background: #fff; }
.booking-embed { height: 650px; }
.resource-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1rem;
  max-width: 960px;
}
.resource-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  background: var(--stone-deep);
}
.resource-action h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); }
.resource-action p:last-child { margin-bottom: 0; }
.newsletter-panel { justify-content: center; }
.newsletter-embed { display: block; width: 100%; height: 402px; border: 0; border-radius: 0.9rem; }
.video-embed { height: auto; aspect-ratio: 16 / 9; }
.conversation-links { display: flex; flex-wrap: wrap; gap: .9rem 1.6rem; margin: 0 0 1.5rem; }
.site-footer { background: #132f22; }
.footer-main { gap: clamp(1.6rem, 5vw, 4rem); }
.footer-bottom { display: block; }
.footer-bottom p + p { margin-top: .65rem; }
.footer-main .footer-cookie-settings { margin-top: .75rem; }
.legal { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .event-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .article-grid, .features-list { grid-template-columns: 1fr; }
  .resource-actions { grid-template-columns: 1fr; }
  .newsletter-embed { height: 438px; }
  .footer-main { display: grid; }
  .booking-embed { height: 700px; }
}
.ciro-mark { display: inline-flex; align-items: center; min-height: 44px; }

/* Keep the photos unfiltered and use each page's focal point when the viewport is narrow. */
.hero { min-height: min(850px, 92svh); }
.hero.compact { min-height: min(650px, 84svh); }
.hero::before { display: none; }
.hero-content, .hero.compact .hero-content {
  width: min(54%, 650px);
  padding: calc(var(--header) + 1.75rem) 0 clamp(2rem, 5vw, 4.75rem);
}
.hero h1, .hero.compact h1 { font-size: clamp(2.3rem, 4.35vw, 4.1rem); text-wrap: pretty; }
.hero h1, .hero .eyebrow { text-shadow: 0 2px 6px #121715; }
.hero .hero-content > p:not(.eyebrow) { text-shadow: 0 1px 4px #121715; }
.hero .contact-intro { font-weight: 800; }
.hero .hero-actions { margin-top: 1.15rem; }

.brand-strip { padding: .85rem 0; }
.brand-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: .9rem 1rem;
  text-align: center;
}
.brand-band .eyebrow { margin: 0; line-height: 1.45; }
.brand-band img { width: min(100%, 250px); height: auto; max-height: 116px; object-fit: contain; }
.brand-band img:first-child { justify-self: start; }
.brand-band img:last-child { justify-self: end; }
.ciro-mark img { width: min(100%, 175px); height: auto; }

#planning-help { margin-bottom: 1.6rem; }
.card-grid .image-card, .card-grid .image-card a { min-height: 350px; }
.card-grid .image-card img { height: 100%; }
.card-grid .image-card a { padding-top: 3.8rem; }
.feature-split { align-items: stretch; }
.feature-split .media-frame { position: relative; min-height: 26rem; }
.feature-split .media-frame img { position: absolute; inset: 0; max-height: none; height: 100%; }
.feature-split .media-copy {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 4vw, 2.6rem);
}

.relationship-diagram { width: min(100%, 880px); margin: 1.8rem auto 2.4rem; text-align: center; }
.relationship-root {
  display: grid; justify-items: center; gap: .6rem; width: fit-content; max-width: 100%;
  margin: 0 auto; padding: 1rem 1.5rem; border-radius: var(--radius);
  background: var(--forest-deep); color: var(--white);
}
.relationship-root img { width: 115px; height: auto; }
.relationship-branches {
  --branch-line: #517d62;
  position: relative; list-style: none; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem;
  margin: 0; padding: 2.5rem 0 0;
}
.relationship-branches::before {
  content: ''; position: absolute; top: 0; left: 50%; height: 1rem; border-left: 2px solid var(--branch-line);
}
.relationship-branches::after {
  content: ''; position: absolute; top: 1rem; left: calc(16.667% - .267rem); right: calc(16.667% - .267rem);
  border-top: 2px solid var(--branch-line);
}
.relationship-branches li {
  position: relative; display: grid; place-items: center; padding: 1rem .65rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--stone); font-weight: 800;
}
.relationship-branches li::before {
  content: ''; position: absolute; bottom: 100%; left: 50%; height: 1.55rem; border-left: 2px solid var(--branch-line);
}
.relationship-branches li::after {
  content: ''; position: absolute; top: -.55rem; left: calc(50% - .21rem);
  width: .49rem; height: .49rem; border: solid var(--branch-line); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.relationship-diagram + .reading, .relationship-diagram ~ .reading { margin-inline: auto; }
.article-card-poster { display: grid; grid-template-rows: auto 1fr; align-content: start; }
.article-card-poster picture, picture.article-cover { display: block; }
.article-card-poster img, .article-cover img { width: 100%; height: auto; object-fit: contain; }
.article-card-poster img, .article-cover-wide { aspect-ratio: 2 / 1; object-fit: contain; background: #092b24; }
@media (max-width: 640px) {
  .article-card-poster picture img { aspect-ratio: 1; }
}
.article-cover { overflow: hidden; }

.contact-form { max-width: 820px; margin-top: 1.5rem; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; margin-bottom: .95rem; }
.contact-field { display: block; font-weight: 800; }
.contact-field input, .contact-field select, .contact-field textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .7rem .78rem;
  border: 1px solid #93a69a; border-radius: .45rem; background: #fbfcfa; color: var(--charcoal);
}
.contact-field textarea { resize: vertical; }
.contact-consent { margin: 1.15rem 0; padding: .9rem; border: 1px solid var(--border); border-radius: .45rem; }
.contact-consent legend { font-weight: 800; }
.contact-consent label { display: flex; gap: .55rem; align-items: baseline; }
.contact-consent p { margin: .6rem 0 0 1.5rem; }
.contact-honeypot { position: absolute; left: -9999px; }
.contact-status { margin-top: 1rem; padding: .65rem .8rem; background: var(--stone-deep); border-radius: .45rem; }
.contact-status.is-error { color: #7e221c; background: #fff1ed; }

.conflict-disclosure h1 { margin: 0 auto 1.75rem; max-width: 940px; }
.conflict-prose { max-width: 940px; margin: 0 auto; }
.conflict-prose li p { margin-bottom: .25rem; }
.conflict-table-wrap { margin: 2rem 0; overflow-wrap: anywhere; }
.conflict-table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: left; }
.conflict-table thead th { background: var(--forest-deep); color: var(--white); }
.conflict-table th, .conflict-table td { padding: clamp(.85rem, 2.4vw, 1.5rem); vertical-align: top; border: 1px solid #a8bab0; }
.conflict-table thead th:first-child { width: 20%; }
.conflict-table th p:last-child, .conflict-table td p:last-child { margin-bottom: 0; }
.conflict-table tbody th { font-weight: 700; }
.conflict-table tbody tr:nth-child(odd) { background: var(--white); }

@media (max-width: 900px) {
  .hero { min-height: min(760px, 92svh); }
  .hero.compact { min-height: min(610px, 90svh); }
  .hero .hero-media { object-position: var(--hero-mobile-focus, center); }
  .hero::before {
    display: block;
    background: linear-gradient(to top, #121212eb 0%, #121212c2 33%, #1212124d 58%, transparent 79%);
  }
  .hero-content, .hero.compact .hero-content { width: min(100%, 620px); padding-bottom: 2rem; }
  .feature-split .media-frame { min-height: 0; }
  .feature-split .media-frame img { position: static; width: 100%; height: auto; max-height: 720px; object-fit: contain; }
}
@media (max-width: 640px) {
  .hero { min-height: min(680px, 92svh); }
  .hero.compact { min-height: min(580px, 90svh); }
  .hero h1, .hero.compact h1 { font-size: clamp(1.95rem, 8vw, 3.15rem); }
  .brand-band .eyebrow { grid-area: 1 / 1 / 2 / -1; }
  .brand-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .brand-band img:first-child, .brand-band img:last-child { justify-self: center; }
  .brand-band img { width: min(100%, 180px); max-height: 86px; }
  .relationship-branches { gap: .35rem; }
  .relationship-branches li { font-size: .82rem; padding-inline: .25rem; overflow-wrap: anywhere; }
  .relationship-branches::after { left: calc(16.667% - .117rem); right: calc(16.667% - .117rem); }
  .contact-fields { grid-template-columns: 1fr; }
  .conflict-table-wrap { overflow-x: auto; }
  .conflict-table { min-width: 34rem; }
}

.ciro-mark { padding: .5rem; background: #fff; border-radius: .28rem; }
