/* ============================================================
   Inspire Faith Church — Main Stylesheet
   Parent: Blocksy  |  Version: 2.0.0
   ============================================================ */

/* ── 1. CSS CUSTOM PROPERTIES ──────────────────────────────── */
:root {
  --ifc-teal:     #336666;
  --ifc-teal-dk:  #2a5454; /* hover only */
  --ifc-teal-lt:  #336666; /* alias */
  --ifc-brown:    #5A4B3B;
  --ifc-stone:    #3A3530;
  --ifc-cream:    #F6EFE7;
  --ifc-gold:     #C7AC6E;
  --ifc-gold-lt:  #C7AC6E; /* alias */
  --ifc-dark:     #1A1A1A;
  --ifc-black:    #1A1A1A; /* alias */
  --ifc-white:    #FFFFFF;
  --ifc-mid:      #918C81; /* alias → stone */
  --ifc-border:   #E0DADA;
  --ifc-heading:  'Plus Jakarta Sans', 'Gotham', sans-serif;
  --ifc-body:     'Montserrat', sans-serif;
  --ifc-mono:     'JetBrains Mono', monospace;
  --ifc-max-w:    1200px;
  --ifc-pad:      7rem 1.5rem;
  --ifc-ease:     0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── 2. RESET / BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; overflow-x: hidden; }
a { color: inherit; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
html { scroll-behavior: smooth; }

.ifc-page {
  font-family: var(--ifc-body);
  color: var(--ifc-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── 3. SCROLL ANIMATIONS ─────────────────────────────────── */
.ifc-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ifc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.ifc-reveal--delay-1 { transition-delay: 0.1s; }
.ifc-reveal--delay-2 { transition-delay: 0.2s; }
.ifc-reveal--delay-3 { transition-delay: 0.3s; }
.ifc-reveal--delay-4 { transition-delay: 0.4s; }
.ifc-reveal--left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ifc-reveal--right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ifc-reveal--left.is-visible,
.ifc-reveal--right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── 4. LAYOUT ────────────────────────────────────────────── */
.ifc-container {
  width: 100%;
  max-width: var(--ifc-max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Backgrounds */
.ifc-bg--cream { background: var(--ifc-cream); }
.ifc-bg--white { background: var(--ifc-white); }
.ifc-bg--dark  { background: var(--ifc-dark); color: #fff; }
.ifc-bg--teal  { background: var(--ifc-teal); color: #fff; }
.ifc-bg--black { background: var(--ifc-black); color: #fff; }
.ifc-bg--light { background: var(--ifc-cream); }
.ifc-bg--navy  { background: var(--ifc-dark); color: #fff; }
.ifc-bg--gold  { background: var(--ifc-gold); color: #fff; }

.ifc-text--center { text-align: center; }

/* ── 5. TYPOGRAPHY ────────────────────────────────────────── */
.ifc-eyebrow {
  display: inline-block;
  font-family: var(--ifc-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ifc-teal);
  margin-bottom: 1rem;
}
.ifc-bg--dark .ifc-eyebrow,
.ifc-bg--teal .ifc-eyebrow,
.ifc-bg--black .ifc-eyebrow { color: var(--ifc-gold); }

/* Force white text on all dark backgrounds — !important beats Blocksy customizer */
.ifc-bg--dark .ifc-heading-xl,
.ifc-bg--dark .ifc-heading-lg,
.ifc-bg--dark .ifc-heading-md,
.ifc-bg--teal .ifc-heading-xl,
.ifc-bg--teal .ifc-heading-lg,
.ifc-bg--teal .ifc-heading-md,
.ifc-bg--black .ifc-heading-xl,
.ifc-bg--black .ifc-heading-lg,
.ifc-bg--black .ifc-heading-md { color: #ffffff !important; }

/* Also target any h1-h4 directly inside dark sections */
.ifc-bg--dark h1, .ifc-bg--dark h2, .ifc-bg--dark h3, .ifc-bg--dark h4,
.ifc-bg--teal h1, .ifc-bg--teal h2, .ifc-bg--teal h3, .ifc-bg--teal h4,
.ifc-bg--black h1, .ifc-bg--black h2, .ifc-bg--black h3, .ifc-bg--black h4 { color: #ffffff !important; }

/* Accessible buttons on all dark-bg CTAs */
.ifc-bg--dark .ifc-btn--primary,
.ifc-bg--teal .ifc-btn--primary,
.ifc-bg--black .ifc-btn--primary { background: var(--ifc-gold); color: #0e2a3a; border-color: var(--ifc-gold); }
.ifc-bg--dark .ifc-btn--secondary,
.ifc-bg--teal .ifc-btn--secondary,
.ifc-bg--black .ifc-btn--secondary { background: var(--ifc-gold); color: #0e2a3a; border-color: var(--ifc-gold); }
.ifc-bg--dark .ifc-btn--outline,
.ifc-bg--teal .ifc-btn--outline,
.ifc-bg--black .ifc-btn--outline { color: #ffffff; border-color: #ffffff; }
.ifc-bg--dark .ifc-btn--outline:hover,
.ifc-bg--teal .ifc-btn--outline:hover,
.ifc-bg--black .ifc-btn--outline:hover { background: #ffffff; color: #0e2a3a; }

.ifc-heading-xl {
  font-family: var(--ifc-heading);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}
.ifc-heading-lg {
  font-family: var(--ifc-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.ifc-heading-md {
  font-family: var(--ifc-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}
.ifc-body-lg {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: var(--ifc-stone) !important;
  line-height: 1.75;
  max-width: 52ch;
}
.ifc-body-lg p { color: var(--ifc-stone) !important; }
.ifc-bg--dark .ifc-body-lg,
.ifc-bg--teal .ifc-body-lg,
.ifc-bg--black .ifc-body-lg { color: rgba(255,255,255,0.75) !important; }
.ifc-bg--dark .ifc-body-lg p,
.ifc-bg--teal .ifc-body-lg p,
.ifc-bg--black .ifc-body-lg p { color: rgba(255,255,255,0.75) !important; }

.ifc-body { font-size: 1rem; line-height: 1.75; color: var(--ifc-stone) !important; }
.ifc-body p { color: var(--ifc-stone) !important; }
.ifc-bg--dark .ifc-body,
.ifc-bg--teal .ifc-body { color: rgba(255,255,255,0.75) !important; }
.ifc-bg--dark .ifc-body p,
.ifc-bg--teal .ifc-body p { color: rgba(255,255,255,0.75) !important; }

/* ── 6. DIVIDER ───────────────────────────────────────────── */
.ifc-divider {
  width: 40px;
  height: 2px;
  background: var(--ifc-gold);
  border: none;
  margin: 1.25rem 0;
}
.ifc-section-header--center .ifc-divider { margin: 1.25rem auto; }

/* ── 7. SECTION HEADER ────────────────────────────────────── */
.ifc-section-header { margin-bottom: 3rem; }
.ifc-section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── 8. BUTTONS ───────────────────────────────────────────── */
.ifc-btn {
  display: inline-block;
  font-family: var(--ifc-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  padding: 1rem 2.25rem;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--ifc-ease);
  white-space: nowrap;
  border: 2px solid transparent;
}
.ifc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.ifc-btn--primary {
  background: var(--ifc-teal);
  color: #fff;
  border-color: var(--ifc-teal);
}
.ifc-btn--primary:hover {
  background: var(--ifc-teal-dk);
  border-color: var(--ifc-teal-dk);
}
.ifc-btn--secondary {
  background: var(--ifc-gold);
  color: var(--ifc-dark);
}
.ifc-btn--secondary:hover {
  background: var(--ifc-gold-lt);
}
.ifc-btn--dark {
  background: var(--ifc-dark);
  color: #fff;
}
.ifc-btn--dark:hover {
  background: #000;
}
.ifc-btn--gold {
  background: var(--ifc-gold);
  color: var(--ifc-dark);
}
.ifc-btn--gold:hover {
  background: var(--ifc-gold-lt);
}
.ifc-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.ifc-btn--outline:hover {
  background: #fff;
  color: var(--ifc-dark);
  border-color: #fff;
}
.ifc-btn--outline-dark {
  background: transparent;
  color: var(--ifc-dark);
  border-color: var(--ifc-dark);
}
.ifc-btn--outline-dark:hover {
  background: var(--ifc-dark);
  color: #fff;
}
.ifc-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.ifc-btn-group--center {
  justify-content: center;
}

/* ── 9. NAV ───────────────────────────────────────────────── */
.ifc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.ifc-nav--transparent {
  background: transparent;
}
.ifc-nav--solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.ifc-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.ifc-nav__logo svg {
  height: 32px;
  width: auto;
}
.ifc-nav__logo-text {
  font-family: var(--ifc-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: color var(--ifc-ease);
}
.ifc-nav--transparent .ifc-nav__logo-text { color: #fff; }
.ifc-nav--solid .ifc-nav__logo-text { color: var(--ifc-dark); }
.ifc-nav--transparent .ifc-nav__logo svg .logo-fill { fill: #fff; }
.ifc-nav--solid .ifc-nav__logo svg .logo-fill { fill: var(--ifc-dark); }
.ifc-nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ifc-nav__links a {
  font-family: var(--ifc-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--ifc-ease);
}
.ifc-nav--transparent .ifc-nav__links a { color: rgba(255,255,255,0.85); }
.ifc-nav--transparent .ifc-nav__links a:hover { color: #fff; }
.ifc-nav--solid .ifc-nav__links a { color: var(--ifc-stone); }
.ifc-nav--solid .ifc-nav__links a:hover { color: var(--ifc-teal); }
.ifc-nav__cta {
  font-family: var(--ifc-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  transition: all var(--ifc-ease);
}
.ifc-nav--transparent .ifc-nav__cta {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.ifc-nav--transparent .ifc-nav__cta:hover {
  background: #fff;
  color: var(--ifc-dark);
  border-color: #fff;
}
.ifc-nav--solid .ifc-nav__cta {
  background: var(--ifc-teal);
  color: #fff;
  border: 1px solid var(--ifc-teal);
}
.ifc-nav--solid .ifc-nav__cta:hover {
  background: var(--ifc-teal-dk);
}

/* ── 10. SERVICE STRIP ────────────────────────────────────── */
.ifc-service-strip {
  background: var(--ifc-cream);
  padding: 0.875rem 1.5rem;
  text-align: center;
}
.ifc-service-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.5rem;
  font-family: var(--ifc-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ifc-brown);
}
.ifc-service-strip__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ifc-service-strip__icon {
  width: 14px;
  height: 14px;
  color: var(--ifc-teal);
  flex-shrink: 0;
}

/* ── 11. HERO ─────────────────────────────────────────────── */
.ifc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ifc-black);
}
.ifc-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s linear;
}
.ifc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.72) 50%, rgba(0,0,0,0.82) 100%);
}
.ifc-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--ifc-max-w);
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
}
.ifc-hero__content {
  max-width: 720px;
}
.ifc-hero .ifc-heading-xl { color: #fff; }
.ifc-hero .ifc-body-lg { color: #ffffff !important; margin-bottom: 2.5rem; }
.ifc-hero .ifc-eyebrow { color: var(--ifc-gold); }

/* Hero scroll indicator */
.ifc-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--ifc-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}
.ifc-hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.ifc-hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ifc-gold);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  50.01% { top: -100%; }
  100% { top: 100%; }
}

/* ── 12. INVOLVEMENT / CARDS ──────────────────────────────── */
.ifc-involvement {
  padding: var(--ifc-pad);
}
.ifc-involvement__header {
  text-align: center;
  margin-bottom: 4rem;
}
.ifc-involvement__header .ifc-divider { margin-left: auto; margin-right: auto; }
.ifc-involvement__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ifc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  background: var(--ifc-white);
  border: 1px solid var(--ifc-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.ifc-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--ifc-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ifc-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(51,102,102,0.12);
  transform: translateY(-4px);
}
.ifc-card:hover::before {
  transform: scaleX(1);
}
.ifc-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--ifc-teal);
}
.ifc-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.ifc-card__title {
  font-family: var(--ifc-heading);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--ifc-dark);
}
.ifc-card__text {
  font-size: 0.9375rem;
  color: var(--ifc-stone);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.5rem;
}
.ifc-card__link {
  font-family: var(--ifc-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ifc-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--ifc-ease), color var(--ifc-ease);
}
.ifc-card__link::after {
  content: "\2192";
  transition: transform var(--ifc-ease);
}
.ifc-card__link:hover {
  gap: 0.75rem;
  color: var(--ifc-teal-dk);
}

/* Feature card (highlighted) */
.ifc-card--highlight,
.ifc-card--feature {
  background: var(--ifc-teal);
  border-color: var(--ifc-teal);
}
.ifc-card--highlight::before,
.ifc-card--feature::before {
  background: var(--ifc-gold);
}
.ifc-card--highlight:hover,
.ifc-card--feature:hover {
  box-shadow: 0 16px 48px rgba(51,102,102,0.25);
  border-color: var(--ifc-teal);
}
.ifc-card--highlight .ifc-card__title,
.ifc-card--feature .ifc-card__title { color: #fff; }
.ifc-card--highlight .ifc-card__text,
.ifc-card--feature .ifc-card__text { color: rgba(255,255,255,0.7); }
.ifc-card--highlight .ifc-card__link,
.ifc-card--feature .ifc-card__link { color: var(--ifc-gold); }
.ifc-card--highlight .ifc-card__icon,
.ifc-card--feature .ifc-card__icon { color: var(--ifc-gold); }

/* ── 13. CONTENT SECTIONS ─────────────────────────────────── */
.ifc-content-section {
  padding: var(--ifc-pad);
}
.ifc-content-section__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.ifc-content-section--has-image .ifc-content-section__inner,
.ifc-content-section--split .ifc-content-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.ifc-content-section__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.ifc-content-section__body .ifc-body p {
  margin: 0 0 1rem;
}
.ifc-content-section__body .ifc-body p:last-child {
  margin-bottom: 0;
}

/* ── 14. QUOTE STRIP ──────────────────────────────────────── */
.ifc-quote-strip {
  padding: 4rem 1.5rem;
  text-align: center;
  background: var(--ifc-dark);
  color: var(--ifc-white);
}
.ifc-quote-strip__quote {
  max-width: 700px;
  margin: 0 auto;
}
.ifc-quote-strip__quote p {
  font-family: var(--ifc-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}
.ifc-quote-strip__quote cite {
  font-style: normal;
  color: var(--ifc-gold);
}
.ifc-quote-strip__text {
  font-family: var(--ifc-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 700px;
  margin: 0 auto;
}
.ifc-bg--dark .ifc-quote-strip__text { color: rgba(255,255,255,0.85); }

/* ── 15. CTA SECTION ──────────────────────────────────────── */
.ifc-cta {
  padding: var(--ifc-pad);
}
.ifc-cta__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.ifc-cta .ifc-heading-lg { margin-bottom: 1rem; }
.ifc-cta .ifc-body-lg { margin-bottom: 2.5rem; }
.ifc-cta .ifc-btn-group { justify-content: center; }

/* ── 16. FOOTER ───────────────────────────────────────────── */
.ifc-footer {
  background: var(--ifc-black);
  color: rgba(255,255,255,0.45);
  padding: 5rem 1.5rem 2rem;
}
.ifc-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
}
.ifc-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ifc-footer__brand svg { height: 24px; }
.ifc-footer__brand-name {
  font-family: var(--ifc-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
}
.ifc-footer__tagline {
  font-size: 0.8125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.ifc-footer__social {
  display: flex;
  gap: 0.75rem;
}
.ifc-footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-family: var(--ifc-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all var(--ifc-ease);
}
.ifc-footer__social a:hover {
  border-color: var(--ifc-teal);
  color: var(--ifc-teal);
}
.ifc-footer__col-title {
  font-family: var(--ifc-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin: 0 0 1.5rem;
}
.ifc-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ifc-footer__col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--ifc-ease);
}
.ifc-footer__col ul a:hover { color: var(--ifc-gold); }
.ifc-footer__bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ifc-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}
.ifc-footer__bottom a {
  color: rgba(255,255,255,0.25);
  text-decoration: none;
}

/* ── 17. SKIP LINK ───────────────────────────────────────── */
.ifc-skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--ifc-teal);
  color: #fff;
  font-family: var(--ifc-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s ease;
}
.ifc-skip-link:focus {
  top: 1rem;
}

/* ── 18. FOCUS STATES ────────────────────────────────────── */
.ifc-btn:focus-visible,
.ifc-nav__cta:focus-visible,
.ifc-nav__links a:focus-visible,
.ifc-card__link:focus-visible,
.ifc-footer__col ul a:focus-visible,
.ifc-footer__social a:focus-visible {
  outline: 3px solid var(--ifc-gold);
  outline-offset: 2px;
}
.ifc-nav__hamburger:focus-visible,
.ifc-mobile-nav__close:focus-visible {
  outline: 3px solid var(--ifc-gold);
  outline-offset: 2px;
}

/* ── 19. HAMBURGER BUTTON ────────────────────────────────── */
.ifc-nav__hamburger {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: inherit;
  transition: color var(--ifc-ease);
}
.ifc-nav__hamburger svg {
  width: 24px;
  height: 24px;
}
.ifc-nav--transparent .ifc-nav__hamburger { color: #fff; }
.ifc-nav--solid .ifc-nav__hamburger { color: var(--ifc-dark); }

/* ── 20. MOBILE NAV ──────────────────────────────────────── */
.ifc-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ifc-mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.ifc-mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  width: 320px;
  max-width: 85vw;
  background: var(--ifc-white);
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.ifc-mobile-nav.is-open {
  transform: translateX(0);
}

.ifc-mobile-nav__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--ifc-dark);
}
.ifc-mobile-nav__close svg {
  width: 24px;
  height: 24px;
}

.ifc-mobile-nav a {
  font-family: var(--ifc-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ifc-dark);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ifc-border);
  transition: color var(--ifc-ease);
}
.ifc-mobile-nav a:hover {
  color: var(--ifc-teal);
}
.ifc-mobile-nav .ifc-btn {
  font-size: 0.75rem;
  text-align: center;
}

/* Body scroll lock when mobile nav is open */
body.ifc-nav-open {
  overflow: hidden;
}

/* ── 21. HERO STAGGER ANIMATION ──────────────────────────── */
.ifc-hero__content .ifc-eyebrow,
.ifc-hero__content .ifc-heading-xl,
.ifc-hero__content .ifc-body-lg,
.ifc-hero__content .ifc-btn-group {
  opacity: 0;
  transform: translateY(30px);
  animation: heroStagger 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.ifc-hero__content .ifc-eyebrow    { animation-delay: 0.2s; }
.ifc-hero__content .ifc-heading-xl { animation-delay: 0.4s; }
.ifc-hero__content .ifc-body-lg    { animation-delay: 0.6s; }
.ifc-hero__content .ifc-btn-group  { animation-delay: 0.8s; }

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

/* Ken Burns effect on hero background */
.ifc-hero__bg {
  animation: kenBurns 20s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* ── 22. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .ifc-involvement__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .ifc-content-section--has-image .ifc-content-section__inner,
  .ifc-content-section--split .ifc-content-section__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .ifc-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .ifc-nav__links { display: none; }
  .ifc-nav__cta--desktop { display: none; }
  .ifc-nav__hamburger { display: block; }
  .ifc-nav { padding: 0 1.25rem; }
}

@media (max-width: 600px) {
  :root { --ifc-pad: 4.5rem 1.25rem; }
  .ifc-hero { min-height: 90vh; }
  .ifc-hero__scroll { display: none; }
  .ifc-footer__inner { grid-template-columns: 1fr; }
  .ifc-btn-group { flex-direction: column; align-items: flex-start; }
  .ifc-cta .ifc-btn-group { align-items: center; }
}

/* ── 23. BLOCK EDITOR / BLOCKSY OVERRIDES ──────────────────── */

/* Strip default padding/margin from content wrapper */
.entry-content { padding: 0 !important; margin: 0 !important; }
.page-header    { display: none !important; }

body { background: var(--ifc-white) !important; }

/* Break wp:html blocks out of Blocksy's content max-width
   so full-bleed sections (hero, strips, CTAs) span 100vw */
.entry-content > .wp-block-html {
  margin-left:  calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  width:        100vw !important;
  max-width:    none !important;
}

/* Remove any side padding Blocksy adds to the content column */
.entry-content,
.ct-container .entry-content,
.page-content,
article .entry-content {
  max-width: none !important;
  width: 100% !important;
}
.site-main { padding: 0 !important; }

/* Full-width blocks break out of any Blocksy content constraint */
.wp-block-group.alignfull,
.wp-block-cover.alignfull {
	width: 100%;
	max-width: 100%;
}

/* Remove default block margin that Blocksy adds */
.wp-block-group,
.wp-block-cover {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* ── 24. WP ADMIN BAR FIX ─────────────────────────────────── */
/* Push fixed nav below admin bar when logged in */
.admin-bar .ifc-nav { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .ifc-nav { top: 46px; }
}

/* ── 25. PHP PAGE TEMPLATES — FULL WIDTH ───────────────────── */
/* Ensure our custom PHP templates break out of any Blocksy container */
.ifc-main {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}
.ifc-main .ifc-hero,
.ifc-main .ifc-content-section,
.ifc-main .ifc-involvement,
.ifc-main .ifc-cta,
.ifc-main .ifc-service-strip {
  width: 100%;
  max-width: none;
}

/* ─── Home redesign components ─────────────────────────────── */
.ifc-heading--caps { text-transform: uppercase; letter-spacing: 0.02em; }

.ifc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.ifc-split--reverse > *:first-child { order: 2; }
@media (max-width: 720px) {
  .ifc-split { grid-template-columns: 1fr; gap: 3rem; }
  .ifc-split--reverse > *:first-child { order: 0; }
}

.ifc-polaroid-stack { position: relative; height: 520px; max-width: 440px; margin: 0 auto; }
.ifc-polaroid-stack .ifc-polaroid.is-dimmed { filter: brightness(0.72); pointer-events: none; }
.ifc-polaroid {
  position: absolute; top: 50%; left: 50%;
  width: 360px;
  background: #fff;
  padding: 18px 18px 64px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.28);
}
.ifc-polaroid img { width: 100%; height: 380px; object-fit: cover; display: block; pointer-events: none; }
.ifc-polaroid { transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s ease, filter 0.4s ease; }
.ifc-polaroid:nth-child(1) { transform: translate(calc(-50% - 40px), calc(-50% - 20px)) rotate(-9deg); }
.ifc-polaroid:nth-child(2) { transform: translate(calc(-50% + 30px), calc(-50% - 35px)) rotate(5deg);  z-index: 2; }
.ifc-polaroid:nth-child(3) { transform: translate(calc(-50% - 20px), calc(-50% + 25px)) rotate(-3deg); z-index: 3; }
.ifc-polaroid:nth-child(4) { transform: translate(calc(-50% + 45px), calc(-50% + 15px)) rotate(8deg);  z-index: 4; }
.ifc-polaroid:nth-child(1).is-hovered { transform: translate(calc(-50% - 40px), calc(-50% - 30px)) rotate(0deg) scale(1.08); }
.ifc-polaroid:nth-child(2).is-hovered { transform: translate(calc(-50% + 30px), calc(-50% - 50px)) rotate(0deg) scale(1.08); }
.ifc-polaroid:nth-child(3).is-hovered { transform: translate(calc(-50% - 20px), calc(-50% + 10px)) rotate(0deg) scale(1.08); }
.ifc-polaroid:nth-child(4).is-hovered { transform: translate(calc(-50% + 45px), calc(-50%)) rotate(0deg) scale(1.08); }
.ifc-polaroid.is-hovered { z-index: 10 !important; box-shadow: 0 40px 80px rgba(0,0,0,.4) !important; cursor: pointer; }

.ifc-involve-card { background: #f5ece0; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.ifc-involve-card__media {
  position: relative; height: 260px;
  background-size: cover; background-position: center;
  border-radius: 18px; margin: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: flex-start; padding-left: 2rem;
}
.ifc-involve-card__media::before { content: ""; position: absolute; inset: 0; background: rgba(29,78,78,0.78); mix-blend-mode: multiply; }
.ifc-involve-card__media::after  { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,78,78,0.25), rgba(29,78,78,0.55)); }
.ifc-involve-card__media--no-image { background-color: var(--ifc-teal); }
.ifc-involve-card__media--no-image::before,
.ifc-involve-card__media--no-image::after { display: none; }
.ifc-involve-card__title {
  position: relative; margin: 0; z-index: 2; text-align: left;
  color: #fff; font-family: var(--ifc-heading);
  font-size: 3rem; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase;
}
.ifc-involve-card__body { padding: 1.5rem 1.75rem 2rem; color: var(--ifc-stone); }
.ifc-involve-card__text { margin: 0 0 1.5rem; font-size: 1rem; line-height: 1.6; color: var(--ifc-stone); }
.ifc-involve-card__link {
  font-family: var(--ifc-mono, monospace); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ifc-dark); text-decoration: none;
}

.ifc-cta--ocean {
  position: relative;
  background-color: var(--ifc-dark, #0e2a3a);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.ifc-cta--ocean::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,42,58,0.55), rgba(14,42,58,0.72));
}
.ifc-cta--ocean > * { position: relative; z-index: 1; }
.ifc-cta--ocean,
.ifc-cta--ocean .ifc-heading-lg,
.ifc-cta--ocean .ifc-body-lg,
.ifc-cta--ocean p { color: #ffffff !important; }
.ifc-cta--ocean .ifc-eyebrow { color: var(--ifc-gold, #d4a857) !important; }

/* Accessible buttons on dark CTA — WCAG AA compliant */
.ifc-cta--ocean .ifc-btn--primary,
.ifc-cta--ocean .ifc-btn--secondary {
  background: var(--ifc-gold, #d4a857) !important;
  color: #0e2a3a !important;
  border: 2px solid var(--ifc-gold, #d4a857) !important;
}
.ifc-cta--ocean .ifc-btn--primary:hover,
.ifc-cta--ocean .ifc-btn--secondary:hover {
  background: #e8be6c !important;
  border-color: #e8be6c !important;
}
.ifc-cta--ocean .ifc-btn--outline {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}
.ifc-cta--ocean .ifc-btn--outline:hover {
  background: #ffffff !important;
  color: #0e2a3a !important;
}

.ifc-hero { position: relative; min-height: 100vh; }
.ifc-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 30vh;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 60%, #fff 100%);
}
.ifc-hero__scroll { color: #1a1a1a !important; z-index: 4; }
.ifc-hero__scroll-line { background: #1a1a1a !important; }

.ifc-vision-statement {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ifc-teal, #1d4e4e);
  font-family: var(--ifc-heading);
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ifc-teal, #1d4e4e);
  line-height: 1.3;
}

/* ── ABOUT PAGE ──────────────────────────────────────────────── */

/* Mission photo stack */
.about-photo-stack { position: relative; height: 480px; width: 100%; min-width: 340px; max-width: 480px; margin: 0 auto; }
.about-photo { position: absolute; background: #fff; padding: 14px 14px 54px; box-shadow: 0 20px 50px rgba(0,0,0,0.22); }
.about-photo img { width: 300px; height: 240px; object-fit: cover; display: block; pointer-events: none; }
.about-photo--1 { top: 10px; left: 0; transform: rotate(-5deg); z-index: 1; }
.about-photo--2 { top: 110px; left: 80px; transform: rotate(4deg); z-index: 2; }

/* Vision clip photo */
.about-clip-photo { position: relative; display: flex; justify-content: center; align-items: flex-start; padding-top: 2rem; }
.about-clip-photo__clip { width: 32px; height: 80px; background: var(--ifc-gold); position: absolute; top: -10px; left: 50%; transform: translateX(-50%); border-radius: 4px 4px 0 0; z-index: 3; }
.about-clip-photo__clip::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 16px; height: 56px; border: 3px solid rgba(0,0,0,0.25); border-radius: 3px 3px 0 0; background: transparent; }
.about-clip-photo__frame { background: #fff; padding: 14px 14px 50px; box-shadow: 0 25px 60px rgba(0,0,0,0.25); transform: rotate(-2deg); position: relative; z-index: 2; }
.about-clip-photo__frame img { width: 320px; height: 380px; object-fit: cover; display: block; }

/* Values grid */
.about-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.about-value-card { position: relative; background-size: cover; background-position: center; border-radius: 12px; overflow: hidden; padding: 2rem 1.5rem; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.about-value-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.about-value-card__overlay { position: absolute; inset: 0; background: rgba(29,78,78,0.82); mix-blend-mode: multiply; }
.about-value-card__overlay::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%); }
.about-value-card__title { position: relative; z-index: 2; font-family: var(--ifc-heading); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; margin-bottom: 0.5rem; line-height: 1.1; }
.about-value-card__text { position: relative; z-index: 2; font-size: 0.8125rem; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 0.75rem; }
.about-value-card__link { position: relative; z-index: 2; font-family: var(--ifc-mono); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ifc-gold); }
@media (max-width: 900px) { .about-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .about-values-grid { grid-template-columns: 1fr; } }

/* Beliefs image */
.about-beliefs-image { border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.about-beliefs-image img { width: 100%; height: 500px; object-fit: cover; display: block; }

/* Leadership */
.about-lead-heading { font-family: var(--ifc-heading); font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--ifc-dark); margin: 0.5rem 0 1rem; }
.about-lead-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.about-lead-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; display: block; border-radius: 4px; }

/* ── CONTACT PAGE ─────────────────────────────────────────────── */

/* Narrow container for centered form */
.ifc-container--narrow { max-width: 680px; }

/* Info split: gold left / map right */
.ifc-contact-info__left { background: var(--ifc-gold); padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.ifc-contact-info__label { font-family: var(--ifc-heading); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin: 0 0 0.5rem; }
.ifc-contact-info__value { color: rgba(255,255,255,0.85); font-size: 1rem; margin: 0; }
.ifc-contact-info__value a { color: rgba(255,255,255,0.85); text-decoration: none; }
.ifc-contact-info__right { position: relative; overflow: hidden; }
.ifc-contact-info__map { width: 100%; height: 100%; min-height: 400px; display: block; border: none; }
.ifc-contact-info__address-pill { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 100px; padding: 1rem 2rem; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 24px rgba(0,0,0,0.18); color: var(--ifc-dark); font-size: 0.95rem; }

@media (max-width: 768px) {
  .ifc-contact-info { grid-template-columns: 1fr; }
  .ifc-contact-info__left { padding: 3rem 2rem; }
  .ifc-contact-info__address-pill { white-space: normal; text-align: center; width: calc(100% - 4rem); }
}
.about-lead-photo--2 { margin-top: 3rem; }

/* ── CONNECT PAGE ─────────────────────────────────────────────── */

/* Next Steps section */
.connect-steps { position: relative; padding: 6rem 0; background-color: var(--ifc-dark); }
.connect-steps__overlay { position: absolute; inset: 0; background: rgba(14,42,58,0.65); }
.connect-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Step cards (image overlay style) */
.connect-step-card { position: relative; background-color: var(--ifc-teal); background-size: cover; background-position: center; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.connect-step-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,42,58,0.88) 0%, rgba(14,42,58,0.3) 60%, transparent 100%); }
.connect-step-card__body { position: relative; z-index: 1; padding: 2rem; }
.connect-step-card__title { font-family: var(--ifc-heading); font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin: 0 0 0.75rem; line-height: 1.1; }
.connect-step-card__text { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.6; margin: 0 0 1rem; }
.connect-step-card__link { font-family: var(--ifc-heading); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ifc-gold); cursor: pointer; }

/* Give section image */
.connect-give__image img { width: 100%; max-height: 480px; object-fit: cover; display: block; }

/* heading size */
.ifc-heading-md { font-family: var(--ifc-heading); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ifc-dark); margin: 0.5rem 0 1rem; }

@media (max-width: 900px) {
  .connect-steps__grid { grid-template-columns: 1fr; }
}
