/**
 * PCF Elements widget styles.
 *
 * Contract: every themable value is read as var(--pcf-*, fallback). The PCF theme
 * supplies the variables from its design-token panel; the fallbacks keep every
 * widget presentable on any other theme. Fallbacks must equal the token defaults.
 */

/* --------------------------------------------------------------- shared */

.pcf-section {
  position: relative;
  padding-block: var(--pcf-section-gap, 80px);
  overflow: hidden;
}

.pcf-section--alt {
  background: var(--pcf-color-surface-alt, #edf4fd);
}

/* Set from the shared "Section Background" control. The class lands on the
   Elementor widget wrapper, so the background covers the full section width
   rather than stopping at the inner container. */
.pcf-bg--alt > .pcf-section,
.pcf-bg--alt .pcf-section {
  background: var(--pcf-color-surface-alt, #edf4fd);
}
.pcf-bg--high > .pcf-section,
.pcf-bg--high .pcf-section {
  background: var(--pcf-color-surface-high, #d8e9fb);
}
.pcf-bg--plain > .pcf-section,
.pcf-bg--plain .pcf-section {
  background: var(--pcf-color-surface, #ffffff);
}
.pcf-section--high {
  background: var(--pcf-color-surface-high, #d8e9fb);
}

.pcf-container {
  max-width: var(--pcf-container, 1200px);
  margin-inline: auto;
  padding-inline: var(--pcf-gutter, 24px);
}

.pcf-icon {
  font-size: 1.5em;
  line-height: 1;
  vertical-align: middle;
  user-select: none;
}

/* accent modifiers — set a local accent consumed by card internals */
.pcf-accent--primary {
  --pcf-accent: var(--pcf-color-primary, #024e9c);
}
.pcf-accent--secondary {
  /* Deepened brand orange so accent text/fills using it clear WCAG AA against
     light surfaces; derived from the token, consistent with donate buttons. */
  --pcf-accent: color-mix(in srgb, var(--pcf-color-secondary, #f07d0a), #000 24%);
}
.pcf-accent--tertiary {
  --pcf-accent: var(--pcf-color-tertiary, #4ca512);
}

/* section heading */
.pcf-section-head {
  margin-bottom: 56px;
}
.pcf-section-head--center {
  text-align: center;
}
.pcf-section-head__eyebrow {
  display: block;
  color: var(--pcf-color-primary, #024e9c);
  font-size: var(--pcf-small-size, 14px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pcf-section-head__title {
  color: var(--pcf-color-primary, #024e9c);
  margin-bottom: 16px;
}
.pcf-section-head__bar {
  display: inline-block;
  width: 96px;
  height: 4px;
  border-radius: var(--pcf-radius-btn, 999px);
  /* Carries all three brand colours from the logo instead of a single flat
     orange, so the rule under every heading ties back to the mark. */
  background: linear-gradient(
    90deg,
    var(--pcf-color-secondary, #f07d0a),
    var(--pcf-color-tertiary, #4ca512) 55%,
    var(--pcf-color-primary-alt, #0c7bd8)
  );
}

/* buttons — duplicated from the PCF theme (identical values) so widgets
   remain standalone under any theme */
.pcf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 32px;
  border: 0;
  border-radius: var(--pcf-radius-btn, 999px);
  font-family: var(--pcf-font-body, inherit);
  font-size: var(--pcf-p-size, 16px);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}
.pcf-btn--donate {
  /* Deepened brand orange so white label text clears WCAG AA (4.5:1);
     derived from the token — bright --pcf-color-secondary stays the accent. */
  background: color-mix(in srgb, var(--pcf-color-secondary, #f07d0a), #000 24%);
  color: var(--pcf-color-text-invert, #ffffff);
}
.pcf-btn--donate:hover {
  transform: scale(1.05);
  color: var(--pcf-color-text-invert, #ffffff);
}
.pcf-btn--primary {
  background: var(--pcf-color-primary, #024e9c);
  color: var(--pcf-color-text-invert, #ffffff);
}
.pcf-btn--primary:hover {
  background: var(--pcf-color-primary-alt, #0c7bd8);
  color: var(--pcf-color-text-invert, #ffffff);
}
.pcf-btn--outline {
  background: transparent;
  color: var(--pcf-color-text-invert, #ffffff);
  border: 2px solid color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 40%, transparent);
  backdrop-filter: blur(4px);
}
.pcf-btn--outline:hover {
  background: var(--pcf-color-text-invert, #ffffff);
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-btn--lg {
  padding: 20px 40px;
  font-size: calc(var(--pcf-p-size, 16px) + 2px);
}
.pcf-btn--xl {
  padding: 24px 64px;
  font-size: var(--pcf-h4-size, 20px);
}

@keyframes pcf-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--pcf-color-secondary, #f07d0a) 70%, transparent);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px transparent;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 transparent;
  }
}
.pcf-btn--pulse {
  animation: pcf-pulse 2s infinite;
}
.pcf-btn--pulse:hover {
  animation-play-state: paused;
}

/* floating decorative icons */
@keyframes pcf-drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(15px, -15px) rotate(5deg);
  }
  66% {
    transform: translate(-10px, -25px) rotate(-5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}
.pcf-floater {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
  animation: pcf-drift 12s ease-in-out infinite;
  font-size: 60px;
  color: currentColor;
}
/* Hero decoration belongs on the RIGHT, behind the copy. These used to sit at
   left: 15% / left: 5% with z-index 5 — directly over the headline, which is
   left-aligned — so the icons drifted across the words as they animated. */
.pcf-floater--1 {
  top: 20%;
  right: 8%;
  z-index: 2;
  font-size: clamp(40px, 5vw, 72px);
  color: #fff;
  opacity: 0.16;
}
.pcf-floater--2 {
  right: 18%;
  bottom: 26%;
  z-index: 2;
  font-size: clamp(32px, 3.5vw, 52px);
  color: #fff;
  opacity: 0.12;
  animation-delay: -4s;
}
/* Below the desktop breakpoint the hero copy spans the full width, so there is
   no empty right-hand side left for them to sit in. */
@media (max-width: 960px) {
  .pcf-floater--1,
  .pcf-floater--2 {
    display: none;
  }
}
.pcf-floater--band {
  top: 40px;
  right: 40px;
  color: #fff;
  font-size: 48px;
}
.pcf-floater--quotes {
  top: 40px;
  right: 40px;
  color: var(--pcf-color-primary, #024e9c);
  font-size: 64px;
}
.pcf-floater--cta-1 {
  top: 0;
  left: 0;
  color: #fff;
  opacity: 0.1;
  font-size: 96px;
}
.pcf-floater--cta-2 {
  bottom: 0;
  right: 0;
  color: #fff;
  opacity: 0.1;
  font-size: 72px;
  animation-delay: -4s;
}

@media (prefers-reduced-motion: reduce) {
  .pcf-floater,
  .pcf-btn--pulse {
    animation: none;
  }
}

/* ----------------------------------------------------------------- hero */

/*
 * Slides stack in one grid cell (not absolute), so the hero GROWS when a
 * slide's content is taller than the viewport instead of clipping, and the
 * slide padding reserves space for the fixed header above and the
 * counter/dots + divider zone below — content can never overlap them.
 */
.pcf-hero {
  position: relative;
  display: grid;
  min-height: var(--pcf-hero-height, max(100vh, var(--pcf-hero-min, 700px)));
  overflow: hidden;
  color: var(--pcf-color-text-invert, #ffffff);
}

.pcf-hero__slides {
  display: grid;
}
.pcf-hero__slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  /* Each slide is at least the full section height, so its background image
     always covers the whole hero (no grey gap) — on every screen size — while
     still growing if the content is taller than the viewport. */
  min-height: var(--pcf-hero-height, max(100vh, var(--pcf-hero-min, 700px)));
  padding-top: calc(var(--pcf-header-height, 76px) + var(--pcf-topbar-height, 0px) + 32px);
  padding-bottom: 176px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.9s;
}
.pcf-hero__slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.pcf-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  /* Per-slide focal point, set inline by the widget. Without it every photo is
     centre-cropped, which pushed subjects that sit off-centre out of frame. */
  background-position: var(--pcf-hero-focus, center);
  /* The incoming photo settles out of a slight push-in, so a change of slide
     reads as a camera move rather than a plain dissolve. */
  transform: scale(1.07);
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.pcf-hero__slide.is-active .pcf-hero__bg {
  transform: scale(1);
}
/* First slide renders its image as a real <img> for a discoverable LCP; make
   it fill the slide exactly like the CSS background it replaces. The parent
   selector raises specificity above Elementor's `.elementor img{height:auto}`
   (0,1,1) so the height:100% / object-fit actually win. */
.pcf-hero__bg .pcf-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pcf-hero-focus, center);
}
@keyframes pcf-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}
/* Ken Burns owns the transform, so it replaces the push-in rather than
   fighting it — running both would leave the scale flickering between them. */
.pcf-hero__slide.is-active .pcf-hero__bg--kenburns {
  animation: pcf-kenburns 20s ease-out infinite alternate;
  transition: none;
}

.pcf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--pcf-color-overlay, #04305c) 80%, transparent),
    color-mix(in srgb, var(--pcf-color-overlay, #04305c) 40%, transparent) 55%,
    transparent
  );
}

/* explicit breathing room above/below the slide content, in addition to the
   reserved header / meta zones on .pcf-hero__slide */
.pcf-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: 48px;
}
.pcf-hero__inner {
  max-width: var(--pcf-hero-inner-max, 48rem);
  display: grid;
  gap: 28px;
  justify-items: start;
}

.pcf-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Deepened brand orange so white text clears WCAG AA (4.5:1). */
  background: color-mix(in srgb, var(--pcf-color-secondary, #f07d0a), #000 24%);
  color: var(--pcf-color-text-invert, #ffffff);
  font-size: var(--pcf-small-size, 14px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: var(--pcf-radius-btn, 999px);
  box-shadow: var(--pcf-shadow-lg);
}
.pcf-hero__pill .pcf-icon {
  font-size: 16px;
}

.pcf-hero__title {
  margin: 0;
  color: var(--pcf-color-text-invert, #ffffff);
  font-size: clamp(
    calc(var(--pcf-h1-size, 48px) * 0.75),
    5vw,
    calc(var(--pcf-h1-size, 48px) * 1.5)
  );
  line-height: 1.1;
}

.pcf-hero__highlight {
  position: relative;
  display: inline-block;
  color: var(--pcf-color-secondary, #f07d0a);
}
.pcf-hero__highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 8px;
  background: var(--pcf-color-secondary, #f07d0a);
  border-radius: 100% 10% 80% 5%;
  opacity: 0.4;
  z-index: -1;
}

.pcf-hero__text {
  margin: 0;
  max-width: 36rem;
  color: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 90%, transparent);
  font-size: calc(var(--pcf-p-size, 16px) + 4px);
  line-height: 1.6;
}

.pcf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 8px;
}

/* staggered entrance for the active slide */
@keyframes pcf-slideup {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.pcf-hero__slide.is-active .pcf-hero__pill,
.pcf-hero__slide.is-active .pcf-hero__title,
.pcf-hero__slide.is-active .pcf-hero__text,
.pcf-hero__slide.is-active .pcf-hero__actions {
  opacity: 0;
  animation: pcf-slideup 0.8s ease-out forwards;
}
.pcf-hero__slide.is-active .pcf-hero__title {
  animation-delay: 0.2s;
}
.pcf-hero__slide.is-active .pcf-hero__text {
  animation-delay: 0.4s;
}
.pcf-hero__slide.is-active .pcf-hero__actions {
  animation-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .pcf-hero__bg--kenburns {
    animation: none;
  }
  .pcf-hero__slide.is-active .pcf-hero__pill,
  .pcf-hero__slide.is-active .pcf-hero__title,
  .pcf-hero__slide.is-active .pcf-hero__text,
  .pcf-hero__slide.is-active .pcf-hero__actions {
    animation: none;
    opacity: 1;
  }
}

.pcf-hero__arrows {
  position: absolute;
  inset-block: 0;
  inset-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 32px;
  pointer-events: none;
  z-index: 4;
}
.pcf-hero__arrow {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 30%, transparent);
  background: transparent;
  color: var(--pcf-color-text-invert, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}
.pcf-hero__arrow:hover {
  background: var(--pcf-color-text-invert, #ffffff);
  color: var(--pcf-color-overlay, #04305c);
}

.pcf-hero__meta {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  z-index: 4;
  pointer-events: none;
}
.pcf-hero__counter {
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  font-size: calc(var(--pcf-p-size, 16px) + 2px);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 12px color-mix(in srgb, var(--pcf-color-overlay, #04305c) 80%, transparent);
}
.pcf-hero__counter-sep {
  margin-inline: 8px;
  opacity: 0.4;
}
.pcf-hero__dots {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}
.pcf-hero__dot {
  width: 48px;
  height: 4px;
  border: 0;
  border-radius: var(--pcf-radius-btn, 999px);
  background: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 30%, transparent);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}
.pcf-hero__dot:hover {
  background: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 60%, transparent);
}
.pcf-hero__dot.is-active {
  background: var(--pcf-color-text-invert, #ffffff);
}

.pcf-hero__divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
}
.pcf-hero__divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}
.pcf-hero__divider path {
  fill: var(--pcf-color-background, #f7f9fc);
}

@media (max-width: 960px) {
  .pcf-hero__arrows {
    display: none;
  }
  .pcf-hero__slide {
    padding-bottom: 152px;
  }
  .pcf-hero__meta {
    bottom: 80px;
  }
}
@media (max-width: 640px) {
  .pcf-hero__slide {
    padding-bottom: 124px;
  }
  .pcf-hero__meta {
    bottom: 72px;
    justify-content: center;
  }
  .pcf-hero__counter {
    display: none;
  }
  .pcf-hero__dots {
    gap: 10px;
  }
  .pcf-hero__dot {
    width: 32px;
  }
}

/* ---------------------------------------------------------------- stats */

.pcf-stats {
  position: relative;
  z-index: 30;
}
.pcf-stats--overlap {
  margin-top: -48px;
}

/* Raises a widget that deliberately overlaps the section above it. The inner
   z-index is not enough on its own: .pcf-reveal animates `transform`, and any
   transform other than `none` creates a stacking context, so the child's
   z-index cannot escape the wrapper. Applied to the wrapper by
   pcf_el_apply_overlap_lift() wherever the widget is used, on every page.
   Kept below the header (z-index 50) so the fixed bar still wins. */
.pcf-lift {
  position: relative;
  z-index: 30;
}

.pcf-stats__grid {
  display: grid;
  grid-template-columns: repeat(var(--pcf-stats-cols, 4), 1fr);
  gap: var(--pcf-gutter, 24px);
}

.pcf-stats__card {
  background: color-mix(in srgb, var(--pcf-color-surface, #ffffff) 90%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--pcf-color-surface-high, #d8e9fb);
  border-radius: var(--pcf-radius-lg, 32px);
  box-shadow: var(--pcf-shadow-card);
  padding: 32px;
  text-align: center;
  transition: transform 0.3s ease;
}
.pcf-stats__card:hover {
  transform: translateY(-8px);
}

.pcf-stats__icon {
  font-size: 36px;
  color: var(--pcf-accent, var(--pcf-color-primary, #024e9c));
  margin-bottom: 8px;
}
.pcf-stats__value {
  font-family: var(--pcf-font-heading, inherit);
  font-size: var(--pcf-h2-size, 32px);
  line-height: var(--pcf-h2-lh, 40px);
  font-weight: 700;
  color: var(--pcf-accent, var(--pcf-color-primary, #024e9c));
}
.pcf-stats__label {
  color: var(--pcf-color-text-muted, #4a5568);
  font-size: var(--pcf-small-size, 14px);
  font-weight: 700;
}

@media (max-width: 960px) {
  .pcf-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .pcf-stats__grid {
    grid-template-columns: 1fr;
  }
  .pcf-stats--overlap {
    margin-top: 24px;
  }
}

/* ---------------------------------------------------------------- about */

.pcf-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pcf-about__media {
  position: relative;
}
.pcf-about__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pcf-about__img {
  border-radius: var(--pcf-radius-lg, 32px);
  overflow: hidden;
  box-shadow: var(--pcf-shadow-lg);
}
.pcf-about__img--1 {
  transform: translateY(32px);
}
.pcf-about__img img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.pcf-about__badge {
  position: absolute;
  bottom: -40px;
  right: -16px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--pcf-color-tertiary, #4ca512);
  color: var(--pcf-color-text-invert, #ffffff);
  border: 8px solid var(--pcf-color-surface, #ffffff);
  box-shadow: var(--pcf-shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(12deg);
  padding: 12px;
}
.pcf-about__badge-value {
  font-family: var(--pcf-font-heading, inherit);
  font-size: var(--pcf-h4-size, 20px);
  font-weight: 700;
}
.pcf-about__badge-label {
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 700;
}

.pcf-about__body {
  display: grid;
  gap: 28px;
  justify-items: start;
}
.pcf-about__heading {
  color: var(--pcf-color-primary, #024e9c);
  margin: 0;
}
.pcf-about__text {
  color: var(--pcf-color-text-muted, #4a5568);
  margin: 0;
}

.pcf-about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pcf-gutter, 24px);
  width: 100%;
}
.pcf-about__feature {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--pcf-radius, 16px);
  background: var(--pcf-color-surface-alt, #edf4fd);
  border: 1px solid var(--pcf-color-surface-high, #d8e9fb);
  transition: background-color 0.3s ease;
}
.pcf-about__feature:hover {
  background: var(--pcf-color-surface, #ffffff);
}
.pcf-about__feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pcf-accent, var(--pcf-color-primary, #024e9c));
  color: var(--pcf-color-text-invert, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pcf-about__feature-title {
  margin: 0 0 4px;
  color: var(--pcf-accent, var(--pcf-color-primary, #024e9c));
}
.pcf-about__feature-text {
  margin: 0;
  font-size: var(--pcf-small-size, 14px);
  color: var(--pcf-color-text-muted, #4a5568);
}

@media (max-width: 960px) {
  .pcf-about__grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }
}
@media (max-width: 640px) {
  .pcf-about__features {
    grid-template-columns: 1fr;
  }
  .pcf-about__badge {
    right: 0;
  }
}

/* --------------------------------------------------------------- causes */

.pcf-causes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pcf-cause-card {
  background: var(--pcf-color-surface, #ffffff);
  border-radius: var(--pcf-radius-lg, 32px);
  overflow: hidden;
  box-shadow: var(--pcf-shadow-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.pcf-cause-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pcf-shadow-lg);
}

.pcf-cause-card__media {
  position: relative;
  height: 224px;
  overflow: hidden;
}
.pcf-cause-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pcf-cause-card:hover .pcf-cause-card__media img {
  transform: scale(1.1);
}

.pcf-cause-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--pcf-accent, var(--pcf-color-tertiary, #4ca512));
  color: var(--pcf-color-text-invert, #ffffff);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--pcf-radius-btn, 999px);
}

.pcf-cause-card__body {
  padding: 32px;
  display: grid;
  gap: 20px;
  align-content: start;
  flex: 1;
}
.pcf-cause-card__title {
  margin: 0;
  color: var(--pcf-color-text, #0b1f33);
}

.pcf-cause-card__stats {
  display: flex;
  justify-content: space-between;
  font-size: var(--pcf-small-size, 14px);
  font-weight: 700;
}
.pcf-cause-card__track {
  width: 100%;
  height: 8px;
  background: var(--pcf-color-border, #cfe2f7);
  border-radius: var(--pcf-radius-btn, 999px);
  overflow: hidden;
}
.pcf-cause-card__fill {
  height: 100%;
  border-radius: var(--pcf-radius-btn, 999px);
  background: linear-gradient(
    90deg,
    var(--pcf-color-primary, #024e9c),
    var(--pcf-color-tertiary, #4ca512)
  );
}
.pcf-cause-card__btn {
  width: 100%;
  margin-top: auto;
}

.pcf-causes__empty {
  padding: 40px;
  text-align: center;
  border: 2px dashed var(--pcf-color-border, #cfe2f7);
  border-radius: var(--pcf-radius, 16px);
  color: var(--pcf-color-text-muted, #4a5568);
}

@media (max-width: 960px) {
  .pcf-causes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .pcf-causes__grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------- band */

.pcf-band {
  position: relative;
  overflow: hidden;
  /* Solid base first: contrast checkers read background-color, not the
     gradient image, so this guarantees the white text is measured against a
     dark base rather than the page background showing through. */
  background-color: var(--pcf-color-primary, #024e9c);
  background-image: linear-gradient(
    135deg,
    var(--pcf-color-primary, #024e9c) 0%,
    var(--pcf-color-tertiary, #4ca512) 100%
  );
  color: var(--pcf-color-text-invert, #ffffff);
  padding-block: calc(var(--pcf-section-gap, 80px) * 0.8);
}

.pcf-band__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pcf-band__body {
  display: grid;
  gap: 16px;
}
.pcf-band__heading {
  margin: 0;
  color: var(--pcf-color-text-invert, #ffffff);
}
.pcf-band__text {
  margin: 0;
  color: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 80%, transparent);
}
.pcf-band__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.pcf-band__trust .pcf-icon {
  color: color-mix(in srgb, var(--pcf-color-tertiary, #4ca512) 35%, #fff);
}

.pcf-band__box {
  background: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 10%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 20%, transparent);
  border-radius: var(--pcf-radius-lg, 32px);
  padding: 32px;
}

.pcf-band__amounts {
  display: grid;
  /* Fluid rather than a fixed three, and deliberately not a breakpoint: these
     labels are currency amounts whose width depends on what an editor enters.
     "₨ 500" fits three-up on a phone, "₨ 10,000" does not — so the track count
     follows the content instead of the viewport. */
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.pcf-band__amount {
  display: block;
  text-align: center;
  background: var(--pcf-color-text-invert, #ffffff);
  color: var(--pcf-color-primary, #024e9c);
  font-weight: 700;
  padding: 14px 12px;
  line-height: 1.3;
  border-radius: var(--pcf-radius, 16px);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;
}
.pcf-band__amount:hover {
  background: var(--pcf-color-primary, #024e9c);
  color: var(--pcf-color-text-invert, #ffffff);
  transform: translateY(-2px);
}
.pcf-band__amount--active {
  background: var(--pcf-color-primary-alt, #0c7bd8);
  color: var(--pcf-color-text-invert, #ffffff);
  box-shadow: inset 0 2px 6px color-mix(in srgb, var(--pcf-color-overlay, #04305c) 45%, transparent);
}
.pcf-band__other {
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-family: inherit;
  font-size: var(--pcf-p-size, 16px);
  padding: 14px 12px;
  line-height: 1.3;
  border-radius: var(--pcf-radius, 16px);
  border: 1px solid color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 30%, transparent);
  background: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 20%, transparent);
  color: var(--pcf-color-text-invert, #ffffff);
  outline: none;
}
.pcf-band__other::placeholder {
  color: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 60%, transparent);
}
.pcf-band__other:focus {
  border-color: var(--pcf-color-text-invert, #ffffff);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 35%, transparent);
}
.pcf-band__btn {
  width: 100%;
}

/* embedded GiveWP (legacy) form: restyle for the dark glass panel */
.pcf-band__box .give-form-wrap {
  margin: 0;
}
.pcf-band__box .give-form,
.pcf-band__box .give-form label,
.pcf-band__box .give-form legend,
.pcf-band__box .give-form .give-label,
.pcf-band__box .give-form .give-total-wrap,
.pcf-band__box .give-form p {
  color: var(--pcf-color-text-invert, #ffffff);
}
.pcf-band__box .give-form input[type="text"],
.pcf-band__box .give-form input[type="email"],
.pcf-band__box .give-form input[type="tel"],
.pcf-band__box .give-form input[type="url"],
.pcf-band__box .give-form select,
.pcf-band__box .give-form textarea,
.pcf-band__box .give-form .give-text-input {
  background: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 15%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 30%, transparent) !important;
  border-radius: var(--pcf-radius-sm, 8px) !important;
  color: var(--pcf-color-text-invert, #ffffff) !important;
}
.pcf-band__box .give-form .give-currency-symbol {
  background: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 25%, transparent) !important;
  border-color: color-mix(
    in srgb,
    var(--pcf-color-text-invert, #ffffff) 30%,
    transparent
  ) !important;
  color: var(--pcf-color-text-invert, #ffffff) !important;
}
.pcf-band__box .give-form .give-donation-levels-wrap .give-btn {
  background: var(--pcf-color-text-invert, #ffffff) !important;
  color: var(--pcf-color-primary, #024e9c) !important;
  border: 0 !important;
  border-radius: var(--pcf-radius, 16px) !important;
  font-weight: 700 !important;
}
.pcf-band__box .give-form .give-donation-levels-wrap .give-btn.give-default-level {
  background: var(--pcf-color-primary-alt, #0c7bd8) !important;
  color: var(--pcf-color-text-invert, #ffffff) !important;
  box-shadow: inset 0 2px 6px color-mix(in srgb, var(--pcf-color-overlay, #04305c) 45%, transparent) !important;
}
.pcf-band__box #give-purchase-button {
  width: 100%;
}
.pcf-band__box .give-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  background: transparent !important;
}
.pcf-band__box .give-form .give-form-title,
.pcf-band__box .give-goal-progress {
  display: none;
}
.pcf-band__box .give-form #give-final-total-wrap .give-donation-total-label,
.pcf-band__box .give-form #give-final-total-wrap .give-final-total-amount {
  background: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 15%, transparent) !important;
  border-color: color-mix(
    in srgb,
    var(--pcf-color-text-invert, #ffffff) 30%,
    transparent
  ) !important;
  color: var(--pcf-color-text-invert, #ffffff) !important;
}

@media (max-width: 960px) {
  .pcf-band__grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------- team */

.pcf-team__subtext {
  max-width: 36rem;
  margin: -32px auto 56px;
  text-align: center;
  color: var(--pcf-color-text-muted, #4a5568);
}

.pcf-team__grid {
  display: grid;
  grid-template-columns: repeat(var(--pcf-team-cols, 5), 1fr);
  gap: var(--pcf-gutter, 24px);
}

.pcf-team__member {
  text-align: center;
}
.pcf-team__photo {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 4px solid var(--pcf-color-surface, #ffffff);
  box-shadow: var(--pcf-shadow-card);
  transition: border-color 0.3s ease;
}
.pcf-team__member:hover .pcf-team__photo {
  border-color: var(--pcf-color-primary, #024e9c);
}
.pcf-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcf-team__name {
  margin: 0 0 4px;
  color: var(--pcf-color-text, #0b1f33);
}
.pcf-team__role {
  margin: 0;
  font-size: 12px;
  color: var(--pcf-color-primary, #024e9c);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 960px) {
  .pcf-team__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .pcf-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------- testimonials */

/*
 * 3-position carousel: all cards render in a relative stage; JS only moves the
 * is-center / is-left / is-right classes, CSS transitions animate the swap.
 * The stage height follows the center card (set inline by widgets.js).
 */
.pcf-quotes__stage {
  position: relative;
  transition: height 0.55s ease;
}

.pcf-quotes__item {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(680px, 56%);
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) scale(0.7);
  transition:
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.6s ease,
    visibility 0.6s;
  z-index: 1;
  will-change: transform, opacity;
}
.pcf-quotes__item.is-center {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  z-index: 3;
}
.pcf-quotes__item.is-left,
.pcf-quotes__item.is-right {
  opacity: 0.38;
  visibility: visible;
  z-index: 2;
  cursor: pointer;
}
.pcf-quotes__item.is-left {
  transform: translateX(-50%) translateX(-78%) scale(0.78);
}
.pcf-quotes__item.is-right {
  transform: translateX(-50%) translateX(78%) scale(0.78);
}
.pcf-quotes__item.is-left:hover,
.pcf-quotes__item.is-right:hover {
  opacity: 0.6;
}

.pcf-quotes__stage--single .pcf-quotes__item {
  position: relative;
  left: auto;
  margin-inline: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  width: min(720px, 100%);
}

.pcf-quotes__card {
  position: relative;
  margin: 0;
  background: var(--pcf-color-surface, #ffffff);
  border: 1px solid var(--pcf-color-border, #cfe2f7);
  border-radius: var(--pcf-radius-lg, 32px);
  padding: 48px;
  box-shadow: var(--pcf-shadow-card);
}
.pcf-quotes__item.is-center .pcf-quotes__card {
  border-color: color-mix(
    in srgb,
    var(--pcf-color-primary, #024e9c) 25%,
    var(--pcf-color-surface, #ffffff)
  );
}

.pcf-quotes__mark {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 64px;
  color: var(--pcf-color-primary-alt, #0c7bd8);
  opacity: 0.2;
}
.pcf-quotes__text {
  position: relative;
  margin: 0 0 24px;
  font-style: italic;
  font-size: calc(var(--pcf-p-size, 16px) + 2px);
  line-height: 1.7;
  color: var(--pcf-color-text, #0b1f33);
}
.pcf-quotes__author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pcf-quotes__author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.pcf-quotes__author strong {
  display: block;
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-quotes__author em {
  font-style: normal;
  font-size: var(--pcf-small-size, 14px);
  color: var(--pcf-color-text-muted, #4a5568);
}

.pcf-quotes__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.pcf-quotes__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--pcf-color-border, #cfe2f7);
  background: var(--pcf-color-surface, #ffffff);
  color: var(--pcf-color-primary, #024e9c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}
.pcf-quotes__arrow:hover {
  background: var(--pcf-color-primary, #024e9c);
  color: var(--pcf-color-text-invert, #ffffff);
}

@media (max-width: 960px) {
  .pcf-quotes__item {
    width: 100%;
  }
  .pcf-quotes__item.is-left,
  .pcf-quotes__item.is-right {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .pcf-quotes__card {
    padding: 32px;
  }
}

/* -------------------------------------------------------------- gallery */

.pcf-gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.pcf-gallery__heading {
  margin: 0;
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-gallery__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-gallery__all:hover {
  text-decoration: underline;
}

.pcf-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 16px;
}
.pcf-gallery__item {
  position: relative;
  display: block;
  /* Matches every other top-level grid tile — cause, project, stats, event.
     It was the only one rounded at 16px, which showed wherever a gallery sat
     on the same page as those cards. */
  border-radius: var(--pcf-radius-lg, 32px);
  overflow: hidden;
  box-shadow: var(--pcf-shadow-sm);
}
.pcf-gallery__item:nth-child(5n + 1) {
  grid-row: span 2;
}
.pcf-gallery__item:nth-child(5n + 4) {
  grid-row: span 2;
}
.pcf-gallery__item:nth-child(5n) {
  grid-column: span 2;
}

.pcf-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.pcf-gallery__item:hover img {
  transform: scale(1.1);
}

.pcf-gallery__hover {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--pcf-color-primary, #024e9c) 40%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pcf-color-text-invert, #ffffff);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pcf-gallery__hover .pcf-icon {
  font-size: 40px;
}
.pcf-gallery__item:hover .pcf-gallery__hover {
  opacity: 1;
}

@media (max-width: 960px) {
  .pcf-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
}
@media (max-width: 640px) {
  .pcf-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    /* Square-ish tiles that scale with the viewport instead of a fixed height. */
    grid-auto-rows: 42vw;
  }
  /* Reset the desktop mosaic spans so the two-column grid stays even and gapless. */
  .pcf-gallery__item:nth-child(5n + 1),
  .pcf-gallery__item:nth-child(5n + 4),
  .pcf-gallery__item:nth-child(5n) {
    grid-row: span 1;
    grid-column: span 1;
  }
}

/* --------------------------------------------------------------- events */

.pcf-events__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pcf-event {
  display: flex;
  background: var(--pcf-color-surface, #ffffff);
  border-radius: var(--pcf-radius-lg, 32px);
  overflow: hidden;
  box-shadow: var(--pcf-shadow-card);
  transition: box-shadow 0.3s ease;
}
.pcf-event:hover {
  box-shadow: var(--pcf-shadow-lg);
}

.pcf-event__media {
  width: 33%;
  flex-shrink: 0;
}
.pcf-event__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcf-event__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.pcf-event__meta {
  margin: 0 0 4px;
  /* Deepened brand orange so this label text clears WCAG AA (4.5:1). */
  color: color-mix(in srgb, var(--pcf-color-secondary, #f07d0a), #000 24%);
  font-weight: 700;
  font-size: var(--pcf-small-size, 14px);
}
.pcf-event__title {
  margin: 0 0 8px;
  color: var(--pcf-color-text, #0b1f33);
}
.pcf-event__text {
  margin: 0;
  font-size: var(--pcf-small-size, 14px);
  color: var(--pcf-color-text-muted, #4a5568);
}
.pcf-event__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--pcf-color-primary, #024e9c);
  transition: gap 0.3s ease;
}
.pcf-event__link:hover {
  gap: 14px;
}

@media (max-width: 960px) {
  .pcf-events__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .pcf-event {
    flex-direction: column;
  }
  .pcf-event__media {
    width: 100%;
    height: 192px;
  }
}

/* ------------------------------------------------------------------ cta */

.pcf-cta {
  position: relative;
  overflow: hidden;
  background: var(--pcf-color-text, #0b1f33);
  color: var(--pcf-color-text-invert, #ffffff);
  padding-block: calc(var(--pcf-section-gap, 80px) * 1.2);
  text-align: center;
}

.pcf-cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  justify-items: center;
}
.pcf-cta__heading {
  margin: 0;
  color: var(--pcf-color-text-invert, #ffffff);
  font-size: calc(var(--pcf-h1-size, 48px) * var(--pcf-hscale, 1));
  line-height: 1.15;
}
.pcf-cta__text {
  margin: 0;
  max-width: 42rem;
  color: var(--pcf-color-footer-text, #bbd9f7);
}

.pcf-cta__form {
  width: 100%;
  max-width: 30rem;
}
.pcf-cta__notice {
  margin: 0 0 16px;
  padding: 12px 20px;
  border-radius: var(--pcf-radius, 16px);
  font-weight: 600;
  color: var(--pcf-color-text-invert, #ffffff);
}
.pcf-cta__notice--ok {
  background: color-mix(in srgb, var(--pcf-color-tertiary, #4ca512) 55%, transparent);
}
.pcf-cta__notice--err {
  background: color-mix(in srgb, #c0392b 55%, transparent);
}
.pcf-cta__simple-form {
  display: flex;
  gap: 16px;
}
.pcf-cta__simple-form input {
  flex: 1;
  padding: 16px 24px;
  border-radius: var(--pcf-radius-btn, 999px);
  border: 1px solid color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 20%, transparent);
  background: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 10%, transparent);
  color: var(--pcf-color-text-invert, #ffffff);
  font-size: var(--pcf-p-size, 16px);
  outline: none;
}
.pcf-cta__simple-form input::placeholder {
  color: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 50%, transparent);
}
.pcf-cta__simple-form input:focus {
  box-shadow: 0 0 0 2px var(--pcf-color-secondary, #f07d0a);
}

.pcf-cta__donate {
  margin-top: 24px;
  display: grid;
  gap: 24px;
  justify-items: center;
}
.pcf-cta__line {
  margin: 0;
  font-family: var(--pcf-font-heading, inherit);
  font-size: var(--pcf-h4-size, 20px);
  font-weight: 600;
}

@media (max-width: 640px) {
  .pcf-cta__simple-form {
    flex-direction: column;
  }
}

/* ------------------------------------------------------------ page hero */
/* Shared inner-page banner — reserves the fixed-header zone like the slider. */

.pcf-accent--primary-alt {
  --pcf-accent: var(--pcf-color-primary-alt, #0c7bd8);
}

.pcf-phero {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: max(
    var(--pcf-phero-min, 500px),
    calc(var(--pcf-header-height, 76px) + var(--pcf-topbar-height, 0px) + 320px)
  );
  padding-top: calc(var(--pcf-header-height, 76px) + var(--pcf-topbar-height, 0px) + 24px);
  padding-bottom: 48px;
  overflow: hidden;
  background: var(--pcf-color-primary-alt, #0c7bd8);
  color: var(--pcf-color-text-invert, #ffffff);
}
.pcf-phero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.pcf-phero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--pcf-color-primary, #024e9c) 80%, transparent),
    transparent 75%
  );
}
.pcf-phero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.pcf-phero__inner {
  max-width: 42rem;
  display: grid;
  gap: 20px;
  justify-items: start;
}
.pcf-phero__title {
  margin: 0;
  color: inherit;
  font-size: calc(var(--pcf-h1-size, 48px) * var(--pcf-hscale, 1));
  line-height: 1.15;
}
.pcf-phero__highlight {
  display: block;
  color: color-mix(in srgb, var(--pcf-color-secondary, #f07d0a) 30%, #fff);
}
.pcf-phero__text {
  margin: 0;
  max-width: 32rem;
  font-size: calc(var(--pcf-p-size, 16px) + 2px);
  line-height: 1.6;
  opacity: 0.92;
}
.pcf-phero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

/* ---------------------------------------------------------------- story */

.pcf-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pcf-story__media {
  position: relative;
}
.pcf-story__glow {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pcf-color-secondary, #f07d0a) 30%, transparent);
  filter: blur(40px);
}
.pcf-story__img {
  border-radius: var(--pcf-radius-lg, 32px);
  overflow: hidden;
  box-shadow: var(--pcf-shadow-card);
}
.pcf-story__img img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.pcf-story__card {
  position: absolute;
  bottom: -32px;
  right: -16px;
  background: var(--pcf-color-surface, #ffffff);
  padding: 24px 28px;
  border-radius: var(--pcf-radius, 16px);
  box-shadow: var(--pcf-shadow-lg);
}
.pcf-story__card-title {
  margin: 0;
  font-family: var(--pcf-font-heading, inherit);
  font-size: var(--pcf-h4-size, 20px);
  font-weight: 700;
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-story__card-text {
  margin: 0;
  font-size: var(--pcf-small-size, 14px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--pcf-color-text-muted, #4a5568);
}
.pcf-story__body {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.pcf-story__eyebrow {
  background: color-mix(in srgb, var(--pcf-color-tertiary, #4ca512) 10%, transparent);
  color: var(--pcf-color-tertiary, #4ca512);
  padding: 4px 16px;
  border-radius: var(--pcf-radius-btn, 999px);
  font-weight: 700;
  font-size: var(--pcf-small-size, 14px);
  letter-spacing: 0.05em;
}
.pcf-story__heading {
  margin: 0;
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-story__text p {
  color: var(--pcf-color-text-muted, #4a5568);
}
.pcf-story__text > :last-child {
  margin-bottom: 0;
}
.pcf-story__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 8px;
}
.pcf-story__divider {
  width: 1px;
  height: 48px;
  background: var(--pcf-color-border, #cfe2f7);
}
.pcf-story__stat {
  display: flex;
  flex-direction: column;
}
.pcf-story__stat-value {
  font-family: var(--pcf-font-heading, inherit);
  font-size: calc(var(--pcf-h2-size, 32px) * 0.95);
  font-weight: 700;
  color: var(--pcf-color-primary, #024e9c);
  line-height: 1.2;
}
.pcf-story__stat-label {
  font-size: var(--pcf-small-size, 14px);
  color: var(--pcf-color-text-muted, #4a5568);
}

@media (max-width: 960px) {
  .pcf-story__grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }
  .pcf-story__card {
    right: 0;
  }
}

/* -------------------------------------------------------- feature cards */

.pcf-fcards__grid {
  display: grid;
  grid-template-columns: repeat(var(--pcf-fcards-cols, 2), 1fr);
  gap: var(--pcf-gutter, 24px);
}
.pcf-fcards__card {
  background: var(--pcf-color-surface, #ffffff);
  box-shadow: var(--pcf-shadow-card);
  transition: transform 0.3s ease;
}
.pcf-fcards__card:hover {
  transform: translateY(-8px);
}

.pcf-fcards--panels .pcf-fcards__card {
  padding: 48px;
  border-radius: var(--pcf-radius-lg, 32px);
  border: 1px solid color-mix(in srgb, var(--pcf-color-border, #cfe2f7) 50%, transparent);
}
.pcf-fcards--panels .pcf-fcards__icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: var(--pcf-radius, 16px);
  background: color-mix(
    in srgb,
    var(--pcf-accent, var(--pcf-color-primary, #024e9c)) 10%,
    transparent
  );
  color: var(--pcf-accent, var(--pcf-color-primary, #024e9c));
  margin-bottom: 28px;
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
}
.pcf-fcards--panels .pcf-fcards__card:hover .pcf-fcards__icon {
  background: var(--pcf-accent, var(--pcf-color-primary, #024e9c));
  color: var(--pcf-color-text-invert, #ffffff);
}
.pcf-fcards--panels .pcf-fcards__icon .pcf-icon {
  font-size: 36px;
}
.pcf-fcards--panels .pcf-fcards__title {
  margin: 0 0 16px;
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-fcards--panels .pcf-fcards__text {
  margin: 0;
  color: var(--pcf-color-text-muted, #4a5568);
  font-size: calc(var(--pcf-p-size, 16px) + 2px);
  line-height: 1.7;
}

.pcf-fcards--values .pcf-fcards__card {
  padding: 32px;
  text-align: center;
  /* Top-level card in a four-column grid, so it takes the card radius. */
  border-radius: var(--pcf-radius-lg, 32px);
  border-bottom: 4px solid var(--pcf-accent, var(--pcf-color-primary, #024e9c));
}
.pcf-fcards--values .pcf-fcards__icon {
  color: var(--pcf-accent, var(--pcf-color-primary, #024e9c));
}
.pcf-fcards--values .pcf-fcards__icon .pcf-icon {
  font-size: 48px;
}
.pcf-fcards--values .pcf-fcards__title {
  margin: 12px 0 8px;
  font-size: var(--pcf-h4-size, 20px);
  line-height: var(--pcf-h4-lh, 28px);
  color: var(--pcf-color-text, #0b1f33);
}
.pcf-fcards--values .pcf-fcards__text {
  margin: 0;
  font-size: var(--pcf-small-size, 14px);
  line-height: 1.6;
  color: var(--pcf-color-text-muted, #4a5568);
}

@media (max-width: 960px) {
  .pcf-fcards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .pcf-fcards__grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------- cta card */

.pcf-ctacard__card {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  background: var(--pcf-color-surface-high, #d8e9fb);
  border-radius: var(--pcf-radius-lg, 32px);
  padding: 48px;
  text-align: center;
  overflow: hidden;
}
.pcf-ctacard__card--bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--pcf-color-primary, #024e9c),
    var(--pcf-color-secondary, #f07d0a),
    var(--pcf-color-tertiary, #4ca512)
  );
}
.pcf-ctacard__heading {
  margin: 0 0 16px;
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-ctacard__text {
  margin: 0 auto 32px;
  max-width: 40rem;
  color: var(--pcf-color-text-muted, #4a5568);
}
.pcf-ctacard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.pcf-btn--ghost {
  background: transparent;
  color: var(--pcf-color-primary, #024e9c);
  border: 2px solid var(--pcf-color-primary, #024e9c);
}
.pcf-btn--ghost:hover {
  background: var(--pcf-color-primary, #024e9c);
  color: var(--pcf-color-text-invert, #ffffff);
}
.pcf-btn--ghost:hover .pcf-icon {
  transform: rotate(12deg);
}
.pcf-btn--ghost .pcf-icon {
  transition: transform 0.3s ease;
}

/* ------------------------------------------------- team: square variant */

.pcf-team--square .pcf-team__member {
  text-align: left;
}
.pcf-team--square .pcf-team__photo {
  border-radius: var(--pcf-radius, 16px);
  border: 2px solid var(--pcf-color-surface, #ffffff);
  filter: grayscale(1);
  transition:
    filter 0.5s ease,
    border-color 0.3s ease;
}
.pcf-team--square .pcf-team__member:hover .pcf-team__photo {
  filter: grayscale(0);
  border-color: var(--pcf-color-primary, #024e9c);
}
.pcf-team--square .pcf-team__name {
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-team--square .pcf-team__role {
  color: var(--pcf-color-secondary, #f07d0a);
  font-size: 12px;
}
.pcf-team--square .pcf-team__bio {
  margin: 8px 0 0;
  font-size: var(--pcf-small-size, 14px);
  line-height: var(--pcf-small-lh, 20px);
  color: var(--pcf-color-text-muted, #4a5568);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pcf-team--square .pcf-team__member:hover .pcf-team__bio {
  opacity: 1;
}

@media (max-width: 960px) {
  /* bios always visible where hover is unreliable */
  .pcf-team--square .pcf-team__bio {
    opacity: 1;
  }
}

/* ------------------------------------------------- stats: band variant */

.pcf-stats--band {
  background: var(--pcf-color-primary, #024e9c);
  padding-block: calc(var(--pcf-section-gap, 80px) * 0.9);
}
.pcf-stats--band .pcf-stats__card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}
.pcf-stats--band .pcf-stats__card:hover {
  transform: none;
}
.pcf-stats--band .pcf-stats__icon {
  display: none;
}
.pcf-stats--band .pcf-stats__value {
  color: var(--pcf-color-text-invert, #ffffff);
  font-size: 48px;
  line-height: 1.15;
}
.pcf-stats--band .pcf-stats__value span:last-child {
  color: color-mix(in srgb, var(--pcf-color-secondary, #f07d0a) 30%, #fff);
  font-size: 24px;
}
.pcf-stats--band .pcf-stats__label {
  color: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 80%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .pcf-stats--band .pcf-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pcf-stats--band .pcf-stats__value {
    font-size: 36px;
  }
}

/* -------------------------------------------------- page hero: eyebrow */

.pcf-phero__pill {
  display: inline-block;
  background: color-mix(in srgb, var(--pcf-color-tertiary, #4ca512) 25%, #fff);
  color: var(--pcf-color-tertiary, #4ca512);
  padding: 6px 18px;
  border-radius: var(--pcf-radius-btn, 999px);
  font-size: var(--pcf-small-size, 14px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ------------------------------------------------ causes: project cards */

.pcf-causes__grid--projects {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.pcf-project-card {
  display: flex;
  flex-direction: column;
  background: var(--pcf-color-surface, #ffffff);
  border: 1px solid color-mix(in srgb, var(--pcf-color-border, #cfe2f7) 50%, transparent);
  border-radius: var(--pcf-radius-lg, 32px);
  overflow: hidden;
  box-shadow: var(--pcf-shadow-card);
  transition: transform 0.3s ease;
}
.pcf-project-card:hover {
  transform: translateY(-8px);
}

.pcf-project-card__media {
  position: relative;
  height: 224px;
  overflow: hidden;
}
.pcf-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pcf-project-card:hover .pcf-project-card__media img {
  transform: scale(1.05);
}

.pcf-project-card__chip {
  position: absolute;
  top: 16px;
  left: 16px;
  background: color-mix(in srgb, var(--pcf-accent, var(--pcf-color-tertiary, #4ca512)) 20%, #fff);
  color: var(--pcf-accent, var(--pcf-color-tertiary, #4ca512));
  font-size: var(--pcf-small-size, 14px);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--pcf-radius-btn, 999px);
}

.pcf-project-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: var(--pcf-gutter, 24px);
}
.pcf-project-card__title {
  margin: 0;
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-project-card__text {
  margin: 0;
  flex: 1;
  color: var(--pcf-color-text-muted, #4a5568);
}
.pcf-project-card__metric {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.pcf-project-card__metric-label {
  font-size: var(--pcf-small-size, 14px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--pcf-color-text-muted, #4a5568);
}
.pcf-project-card__metric-value {
  font-family: var(--pcf-font-heading, inherit);
  font-size: var(--pcf-h4-size, 20px);
  font-weight: 600;
  color: var(--pcf-color-secondary, #f07d0a);
}
.pcf-project-card__btn {
  width: 100%;
}

/* -------------------------------------------------- team: profile cards */

.pcf-team--cards .pcf-team__grid {
  gap: 32px;
}
.pcf-team--cards .pcf-team__member {
  text-align: center;
  background: var(--pcf-color-surface, #ffffff);
  border-radius: var(--pcf-radius-lg, 32px);
  padding: 32px;
  box-shadow: var(--pcf-shadow-card);
  transition: transform 0.3s ease;
}
.pcf-team--cards .pcf-team__member:hover {
  transform: translateY(-8px);
}
.pcf-team--cards .pcf-team__photo {
  width: 128px;
  margin-inline: auto;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px var(--pcf-color-surface, #ffffff),
    0 0 0 8px var(--pcf-color-border, #cfe2f7);
  margin-bottom: 24px;
}
.pcf-team--cards .pcf-team__member:hover .pcf-team__photo {
  box-shadow:
    0 0 0 4px var(--pcf-color-surface, #ffffff),
    0 0 0 8px var(--pcf-color-primary, #024e9c);
}
.pcf-team--cards .pcf-team__name {
  color: var(--pcf-color-text, #0b1f33);
}
.pcf-team--cards .pcf-team__role {
  color: var(--pcf-color-secondary, #f07d0a);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.pcf-team--cards .pcf-team__bio {
  opacity: 1;
}

@media (max-width: 960px) {
  .pcf-team--cards .pcf-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .pcf-team--cards .pcf-team__grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------- testimonials: spotlight */

.pcf-quotes--spotlight {
  position: relative;
  overflow: hidden;
  background: var(--pcf-color-primary, #024e9c);
  color: var(--pcf-color-text-invert, #ffffff);
  padding-block: var(--pcf-section-gap, 80px);
}
.pcf-quotes--spotlight .pcf-section-head__eyebrow {
  color: color-mix(in srgb, var(--pcf-color-secondary, #f07d0a) 30%, #fff);
}
.pcf-quotes--spotlight .pcf-section-head__title {
  color: var(--pcf-color-text-invert, #ffffff);
}

.pcf-quotes__spotgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pcf-gutter, 24px);
  text-align: left;
}
.pcf-quotes__spotcard {
  margin: 0;
  background: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 10%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 15%, transparent);
  border-radius: var(--pcf-radius-lg, 32px);
  padding: 32px;
}
.pcf-quotes__spotcard .pcf-quotes__author {
  margin-bottom: 20px;
}
.pcf-quotes__spotcard .pcf-quotes__author img {
  width: 64px;
  height: 64px;
  border: 2px solid var(--pcf-color-secondary, #f07d0a);
}
.pcf-quotes__spotcard .pcf-quotes__author strong {
  color: var(--pcf-color-text-invert, #ffffff);
}
.pcf-quotes__spotcard .pcf-quotes__author em {
  color: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 75%, transparent);
}
.pcf-quotes__spotquote {
  margin: 0;
}
.pcf-quotes__spotquote p {
  margin: 0;
  font-style: italic;
  color: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 90%, transparent);
}

@media (max-width: 960px) {
  .pcf-quotes__spotgrid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------- feature cards: glass */

.pcf-fcards--glass .pcf-fcards__card {
  padding: 32px;
  text-align: center;
  border-radius: var(--pcf-radius, 16px);
  background: color-mix(in srgb, var(--pcf-color-surface, #ffffff) 80%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--pcf-color-surface-high, #d8e9fb);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pcf-fcards--glass .pcf-fcards__icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(
    in srgb,
    var(--pcf-accent, var(--pcf-color-primary, #024e9c)) 10%,
    transparent
  );
  color: var(--pcf-accent, var(--pcf-color-primary, #024e9c));
}
.pcf-fcards--glass .pcf-fcards__icon .pcf-icon {
  font-size: 36px;
}
.pcf-fcards--glass .pcf-fcards__title {
  margin: 0;
  font-size: var(--pcf-h4-size, 20px);
  line-height: var(--pcf-h4-lh, 28px);
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-fcards--glass .pcf-fcards__text {
  margin: 0;
  color: var(--pcf-color-text-muted, #4a5568);
}
.pcf-fcards__link {
  font-weight: 700;
  color: var(--pcf-color-secondary, #f07d0a);
}
.pcf-fcards__link:hover {
  text-decoration: underline;
  color: var(--pcf-color-secondary, #f07d0a);
}

/* --------------------------------------------- cta newsletter: card */

.pcf-cta--card {
  background: transparent;
  padding-block: var(--pcf-section-gap, 80px);
  text-align: center;
}
.pcf-cta--card .pcf-cta__inner {
  position: relative;
  max-width: 900px;
  background: var(--pcf-color-primary, #024e9c);
  border-radius: var(--pcf-radius-lg, 32px);
  padding: 64px 48px;
  overflow: hidden;
  box-shadow: var(--pcf-shadow-xl);
}
.pcf-cta--card .pcf-cta__inner::before,
.pcf-cta--card .pcf-cta__inner::after {
  content: "";
  position: absolute;
  width: 256px;
  height: 256px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.pcf-cta--card .pcf-cta__inner::before {
  top: -80px;
  right: -80px;
  background: color-mix(in srgb, var(--pcf-color-text-invert, #ffffff) 8%, transparent);
}
.pcf-cta--card .pcf-cta__inner::after {
  bottom: -80px;
  left: -80px;
  background: color-mix(in srgb, var(--pcf-color-secondary, #f07d0a) 15%, transparent);
}
.pcf-cta--card .pcf-cta__heading {
  font-size: calc(var(--pcf-h2-size, 32px) * var(--pcf-hscale, 1));
  line-height: 1.2;
}

/* ---------------------------------------------------- contact + faq */

.pcf-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.pcf-contact__grid--single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
}

.pcf-contact__heading {
  margin: 0 0 12px;
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-contact__text {
  margin: 0 0 28px;
  color: var(--pcf-color-text-muted, #4a5568);
}

.pcf-contact__notice {
  padding: 14px 20px;
  border-radius: var(--pcf-radius-sm, 8px);
  font-weight: 700;
  margin-bottom: 24px;
}
.pcf-contact__notice--ok {
  background: color-mix(in srgb, var(--pcf-color-tertiary, #4ca512) 12%, #fff);
  color: var(--pcf-color-tertiary, #4ca512);
}
.pcf-contact__notice--err {
  background: color-mix(in srgb, #ba1a1a 10%, #fff);
  color: #93000a;
}

.pcf-contact__form {
  display: grid;
  gap: 20px;
}
.pcf-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pcf-gutter, 24px);
}
.pcf-contact__field {
  display: grid;
  gap: 8px;
}
.pcf-contact__label {
  font-size: var(--pcf-small-size, 14px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pcf-color-text-muted, #4a5568);
}
.pcf-contact__form input[type="text"],
.pcf-contact__form input[type="email"],
.pcf-contact__form select,
.pcf-contact__form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--pcf-color-border, #cfe2f7);
  border-radius: var(--pcf-radius-sm, 8px);
  background: var(--pcf-color-surface-alt, #edf4fd);
  color: var(--pcf-color-text, #0b1f33);
  font-family: inherit;
  font-size: var(--pcf-p-size, 16px);
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.pcf-contact__form input:focus,
.pcf-contact__form select:focus,
.pcf-contact__form textarea:focus {
  border-color: var(--pcf-color-primary, #024e9c);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--pcf-color-primary, #024e9c) 25%, transparent);
}
.pcf-contact__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.pcf-contact__submit {
  width: 100%;
}

.pcf-faq {
  display: grid;
  gap: 16px;
}
.pcf-faq__item {
  background: color-mix(in srgb, var(--pcf-color-surface, #ffffff) 80%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--pcf-color-surface-high, #d8e9fb);
  border-radius: var(--pcf-radius, 16px);
  overflow: hidden;
}
.pcf-faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--pcf-font-heading, inherit);
  font-size: var(--pcf-h4-size, 20px);
  font-weight: 600;
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-faq__chevron {
  transition: transform 0.3s ease;
}
.pcf-faq__item.is-open .pcf-faq__chevron {
  transform: rotate(180deg);
}
.pcf-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.pcf-faq__a-inner {
  overflow: hidden;
  padding-inline: 24px;
  color: var(--pcf-color-text-muted, #4a5568);
}
.pcf-faq__item.is-open .pcf-faq__a {
  grid-template-rows: 1fr;
}
.pcf-faq__item.is-open .pcf-faq__a-inner {
  padding-bottom: 24px;
}

@media (max-width: 960px) {
  .pcf-contact__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .pcf-contact__row {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------- map */

.pcf-map {
  position: relative;
  height: var(--pcf-map-h, 500px);
  overflow: hidden;
  background: var(--pcf-color-surface-high, #d8e9fb);
}
.pcf-map__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* Tint the raster OpenStreetMap embed toward the theme's cool palette
     (can't style tiles across origins). Full colour returns on hover. */
  filter: grayscale(0.5) sepia(0.25) hue-rotate(175deg) saturate(0.8) brightness(1.02);
  transition: filter 0.4s ease;
}
.pcf-map:hover .pcf-map__frame,
.pcf-map:focus-within .pcf-map__frame {
  filter: grayscale(0) contrast(1);
}

.pcf-map__card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: color-mix(in srgb, var(--pcf-color-surface, #ffffff) 92%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--pcf-color-border, #cfe2f7);
  border-radius: var(--pcf-radius, 16px);
  box-shadow: var(--pcf-shadow-xl);
  padding: 28px 32px;
  max-width: 340px;
  text-align: center;
  pointer-events: auto;
}
.pcf-map__icon {
  color: var(--pcf-color-secondary, #f07d0a);
  font-size: 48px;
}
.pcf-map__title {
  margin: 8px 0 4px;
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-map__address {
  margin: 0 0 16px;
  font-size: var(--pcf-small-size, 14px);
  color: var(--pcf-color-text-muted, #4a5568);
}
.pcf-map__btn {
  width: 100%;
}

@media (max-width: 640px) {
  .pcf-map__card {
    max-width: calc(100% - 32px);
    padding: 20px;
  }
}

/* --------------------------------------------- page hero: center style */

.pcf-phero--center .pcf-phero__overlay {
  background: color-mix(in srgb, var(--pcf-color-text, #0b1f33) 60%, transparent);
}
.pcf-phero--center .pcf-phero__inner {
  max-width: 52rem;
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}
.pcf-phero--center .pcf-phero__text {
  margin-inline: auto;
}
.pcf-phero--center .pcf-phero__actions {
  justify-content: center;
}

/* -------------------------------------------------- stats: bar variant */

.pcf-stats--bar .pcf-stats__grid {
  grid-template-columns: repeat(var(--pcf-stats-cols, 4), 1fr);
  gap: 0;
  background: var(--pcf-color-surface, #ffffff);
  border: 1px solid var(--pcf-color-surface-high, #d8e9fb);
  border-radius: var(--pcf-radius-lg, 32px);
  box-shadow: var(--pcf-shadow-card);
  padding: 40px 16px;
}
.pcf-stats--bar .pcf-stats__card {
  background: transparent;
  border: 0;
  border-left: 1px solid color-mix(in srgb, var(--pcf-color-border, #cfe2f7) 50%, transparent);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 8px 24px;
}
.pcf-stats--bar .pcf-stats__card:first-child {
  border-left: 0;
}
.pcf-stats--bar .pcf-stats__card:hover {
  transform: none;
}
.pcf-stats--bar .pcf-stats__icon {
  display: none;
}
.pcf-stats--bar .pcf-stats__value {
  color: var(--pcf-color-primary, #024e9c);
}
.pcf-stats--bar .pcf-stats__label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

@media (max-width: 960px) {
  .pcf-stats--bar .pcf-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
  .pcf-stats--bar .pcf-stats__card:nth-child(odd) {
    border-left: 0;
  }
}
@media (max-width: 640px) {
  .pcf-stats--bar .pcf-stats__grid {
    grid-template-columns: 1fr;
  }
  .pcf-stats--bar .pcf-stats__card {
    border-left: 0;
  }
}

/* ---------------------------------------------------------- project rows */

.pcf-prows__list {
  display: grid;
  gap: 120px;
}

.pcf-prow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.pcf-prow--flip .pcf-prow__media {
  order: 2;
}

.pcf-prow__media {
  position: relative;
}
.pcf-prow__backdrop {
  position: absolute;
  inset: 0;
  border-radius: var(--pcf-radius-lg, 32px);
  background: color-mix(in srgb, var(--pcf-accent, var(--pcf-color-primary, #024e9c)) 35%, #fff);
  opacity: 0.5;
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
}
.pcf-prow--flip .pcf-prow__backdrop {
  transform: rotate(3deg);
}
.pcf-prow:hover .pcf-prow__backdrop {
  transform: rotate(0deg);
}

.pcf-prow__img {
  position: relative;
  border-radius: var(--pcf-radius-lg, 32px);
  overflow: hidden;
  border: 1px solid var(--pcf-color-surface-high, #d8e9fb);
  box-shadow: var(--pcf-shadow-card);
  background: var(--pcf-color-surface, #ffffff);
}
.pcf-prow__img img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.pcf-prow:hover .pcf-prow__img img {
  transform: scale(1.05);
}

.pcf-prow__badge {
  position: absolute;
  bottom: -24px;
  right: -16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pcf-color-surface, #ffffff);
  border: 1px solid var(--pcf-color-surface-high, #d8e9fb);
  border-radius: var(--pcf-radius, 16px);
  box-shadow: var(--pcf-shadow-lg);
  padding: 16px 20px;
}
.pcf-prow--flip .pcf-prow__badge {
  right: auto;
  left: -16px;
}
.pcf-prow__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(
    in srgb,
    var(--pcf-accent, var(--pcf-color-primary, #024e9c)) 10%,
    transparent
  );
  color: var(--pcf-accent, var(--pcf-color-primary, #024e9c));
}
.pcf-prow__badge-value {
  display: block;
  font-family: var(--pcf-font-heading, inherit);
  font-size: var(--pcf-h4-size, 20px);
  font-weight: 700;
  color: var(--pcf-color-text, #0b1f33);
  line-height: 1.2;
}
.pcf-prow__badge-label {
  display: block;
  font-size: var(--pcf-small-size, 14px);
  font-weight: 700;
  color: var(--pcf-color-text-muted, #4a5568);
}

.pcf-prow__body {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.pcf-prow__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--pcf-accent, var(--pcf-color-primary, #024e9c)) 15%, #fff);
  color: var(--pcf-accent, var(--pcf-color-primary, #024e9c));
  padding: 8px 20px;
  border-radius: var(--pcf-radius-btn, 999px);
  font-size: var(--pcf-small-size, 14px);
  font-weight: 700;
}
.pcf-prow__pill .pcf-icon {
  font-size: 18px;
}
.pcf-prow__title {
  margin: 0;
  color: var(--pcf-color-text, #0b1f33);
}
.pcf-prow__text {
  color: var(--pcf-color-text-muted, #4a5568);
}
.pcf-prow__text > p:first-child {
  font-size: calc(var(--pcf-p-size, 16px) + 2px);
  line-height: 1.6;
}
.pcf-prow__text > :last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .pcf-prows__list {
    gap: 96px;
  }
  .pcf-prow {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .pcf-prow--flip .pcf-prow__media {
    order: 0;
  }
  .pcf-prow__badge {
    right: 8px;
  }
  .pcf-prow--flip .pcf-prow__badge {
    left: 8px;
  }
}
