/* InnoFund Elementor Elements — all component selectors are plugin scoped. */
:where(.elementor-widget-innofund-hero, .elementor-widget-innofund-service-grid, .elementor-widget-innofund-insights-grid, .elementor-widget-innofund-testimonials, .elementor-widget-innofund-expert-spotlight, .elementor-widget-innofund-metric-stage, .elementor-widget-innofund-faq, .elementor-widget-innofund-form, .elementor-widget-innofund-contact-locations, .elementor-widget-innofund-expert-grid, .if-related-faqs, .if-single--structured) {
  --ifx-ink: #130d1c;
  --ifx-deep: #252046;
  --ifx-indigo: #322d5e;
  --ifx-violet: #8e44a0;
  --ifx-mist: #f7f1f8;
  --ifx-line: rgba(50, 45, 94, 0.16);
  --ifx-white: #fff;
  --ifx-text-on-light: var(--if-text-on-light, #130d1c);
  --ifx-muted-on-light: var(--if-muted-on-light, #625b68);
  --ifx-text-on-dark: var(--if-text-on-dark, #fff);
  --ifx-muted-on-dark: var(--if-muted-on-dark, rgba(255, 255, 255, 0.76));
  --ifx-radius: clamp(1.25rem, 2.5vw, 2.25rem);
  --ifx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ifx-type-hero: var(--if-type-hero, clamp(4rem, 7.2vw, 7.75rem));
  --ifx-type-section: var(--if-type-section, clamp(2.75rem, 4.8vw, 5rem));
  --ifx-type-card: var(--if-type-card, clamp(1.45rem, 2.15vw, 2.15rem));
  --ifx-type-metric: var(--if-type-metric, clamp(4rem, 8vw, 7rem));
  --ifx-type-metric-small: var(--if-type-metric-small, clamp(2.6rem, 4.5vw, 4.25rem));
  --ifx-type-body-lg: var(--if-type-body-lg, clamp(1.03rem, 1.25vw, 1.17rem));
  --ifx-type-body: var(--if-type-body, 1rem);
  --ifx-type-small: var(--if-type-small, 0.84rem);
  --ifx-type-label: var(--if-type-label, 0.72rem);
  --ifx-type-button: var(--if-type-button, 0.74rem);
  --ifx-cta-height: var(--if-cta-height, 3.2rem);
  --ifx-cta-padding: var(--if-cta-padding, 0.8rem 1.25rem);
  --ifx-cta-tracking: var(--if-cta-tracking, 0.05em);
  font-family: "Google Sans", "Montserrat", Arial, sans-serif;
}

.ifx-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.2rem;
  color: var(--ifx-violet);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: var(--ifx-type-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ifx-eyebrow::before {
  width: 1.7rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.ifx-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.45rem;
  min-height: var(--ifx-cta-height);
  padding: var(--ifx-cta-padding);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: var(--ifx-type-button);
  font-weight: 700;
  letter-spacing: var(--ifx-cta-tracking);
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.ifx-button--primary,
a.ifx-button--primary {
  color: #fff;
  background: var(--ifx-violet);
}

.ifx-button--primary:hover,
.ifx-button--primary:focus-visible,
a.ifx-button--primary:hover,
a.ifx-button--primary:focus-visible {
  color: #fff;
  background: var(--ifx-indigo);
  box-shadow: 0 14px 34px rgba(19, 13, 28, 0.22);
}

.ifx-button--text,
a.ifx-button--text {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.ifx-button--text:hover,
.ifx-button--text:focus-visible,
a.ifx-button--text:hover,
a.ifx-button--text:focus-visible {
  border-color: var(--ifx-violet);
  color: #fff;
  background: var(--ifx-violet);
  box-shadow: 0 14px 34px rgba(19, 13, 28, 0.16);
}

.ifx-button:focus-visible,
.ifx-card a:focus-visible,
.ifx-form :where(input, textarea, button, a):focus-visible,
.ifx-metric-stage button:focus-visible,
.ifx-contact-locations :where(a, button, [tabindex]):focus-visible,
.ifx-expert-grid :where(a, button, [tabindex]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Hero */
.ifx-hero {
  --ifx-hero-bg: #130d1c;
  --ifx-hero-text: #fff;
  --ifx-hero-accent: #8e44a0;
  position: relative;
  display: flex;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  align-items: flex-end;
  min-height: 100svh;
  padding-block: clamp(7rem, 12vw, 11rem) clamp(3rem, 7vw, 6.5rem);
  padding-inline: max(var(--if-gutter, clamp(1rem, 3.5vw, 3rem)), calc((100vw - var(--if-shell, 1440px)) / 2));
  overflow: hidden;
  border-radius: 0;
  color: var(--ifx-hero-text);
  background:
    radial-gradient(circle at 78% 25%, color-mix(in srgb, var(--ifx-hero-accent) 32%, transparent), transparent 33%),
    linear-gradient(135deg, var(--ifx-hero-bg), var(--ifx-indigo));
  isolation: isolate;
}

.ifx-hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  content: "";
}

.ifx-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
}

.ifx-hero .ifx-eyebrow {
  color: color-mix(in srgb, var(--ifx-hero-accent) 55%, #fff);
}

:is(h1, h2, h3, p).ifx-hero__title {
  max-width: 13ch;
  margin: 0;
  color: inherit;
  font-size: var(--ifx-type-hero);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.ifx-hero__title > span,
.ifx-hero__title > em {
  display: block;
}

.ifx-hero__title > em {
  margin-top: 0.08em;
  color: color-mix(in srgb, var(--ifx-hero-accent) 48%, #fff);
  font-weight: 450;
}

.ifx-hero__description {
  max-width: 670px;
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
  color: color-mix(in srgb, var(--ifx-hero-text) 72%, transparent);
  font-size: var(--ifx-type-body-lg);
  line-height: 1.58;
}

.ifx-hero__description > :first-child,
.ifx-hero__description > :last-child {
  margin-block: 0;
}

.ifx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
  margin-top: 2rem;
}

.ifx-hero__trails {
  position: absolute;
  z-index: -1;
  inset: -15% -25% 8% 32%;
  pointer-events: none;
  transform: rotate(-9deg);
}

.ifx-hero__trails i {
  position: absolute;
  left: 8%;
  width: 115%;
  height: clamp(2px, 0.7vw, 9px);
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--ifx-hero-accent) 58%, transparent) 18%,
    color-mix(in srgb, var(--ifx-hero-accent) 82%, #d9b7e4) 50%,
    color-mix(in srgb, var(--ifx-hero-accent) 58%, transparent) 82%,
    transparent
  );
  box-shadow: 0 0 8px var(--ifx-hero-accent), 0 0 26px color-mix(in srgb, var(--ifx-hero-accent) 42%, transparent);
  filter: blur(0.5px);
  opacity: 0.78;
  transform-origin: center;
}

.ifx-hero__trails i::after {
  position: absolute;
  z-index: 1;
  top: -30%;
  bottom: -30%;
  left: -30%;
  width: 30%;
  border-radius: 50%;
  opacity: 0.52;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 22%,
    rgba(255, 255, 255, 0.54) 50%,
    rgba(255, 255, 255, 0.72) 58%,
    rgba(217, 183, 228, 0.14) 74%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation: ifx-fibre-sheen 11s ease-in-out infinite alternate;
  content: "";
}

.ifx-hero__trails i:nth-child(1) { top: 16%; transform: rotate(5deg) scaleX(0.92); }
.ifx-hero__trails i:nth-child(2) { top: 39%; height: clamp(4px, 1vw, 14px); opacity: 0.95; }
.ifx-hero__trails i:nth-child(3) { top: 62%; transform: rotate(-5deg) scaleX(0.78); opacity: 0.62; }
.ifx-hero__trails i:nth-child(4) { top: 78%; transform: rotate(7deg) scaleX(0.63); opacity: 0.38; }

.ifx-hero__trails i:nth-child(1)::after { animation-duration: 11s; animation-delay: -3s; }
.ifx-hero__trails i:nth-child(2)::after { animation-duration: 13s; animation-delay: -8s; }
.ifx-hero__trails i:nth-child(3)::after { animation-duration: 15s; animation-delay: -11s; }
.ifx-hero__trails i:nth-child(4)::after { animation-duration: 12s; animation-delay: -5s; }

@keyframes ifx-fibre-sheen {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(440%, 0, 0); }
}

/* Native query grids */
.ifx-query-section__header {
  max-width: 900px;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.ifx-query-section__header h2 {
  margin: 0;
  color: var(--ifx-ink);
  font-size: var(--ifx-type-section);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.ifx-query-section__intro {
  max-width: 680px;
  margin: 1.5rem 0 0;
  color: color-mix(in srgb, var(--ifx-ink) 68%, transparent);
  font-size: var(--ifx-type-body-lg);
  line-height: 1.6;
}

.ifx-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ifx-card {
  --ifx-card-bg: #f7f1f8;
  --ifx-card-text: #130d1c;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 25rem;
  overflow: hidden;
  border: 1px solid var(--ifx-line);
  border-radius: var(--ifx-radius);
  color: var(--ifx-card-text);
  background: var(--ifx-card-bg);
  flex-direction: column;
  transition: border-color 320ms ease, box-shadow 320ms ease;
}

.ifx-card::after {
  display: none;
  content: none;
}

.ifx-card:hover {
  z-index: 1;
  border-color: color-mix(in srgb, var(--ifx-violet) 50%, transparent);
  box-shadow: 0 26px 65px rgba(19, 13, 28, 0.16);
}

.ifx-card__media {
  display: block;
  height: 13rem;
  overflow: hidden;
}

.ifx-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ifx-ease);
}

.ifx-card:hover .ifx-card__image {
  transform: scale(1.04);
}

.ifx-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  flex: 1;
  flex-direction: column;
}

.ifx-card__meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.ifx-card__meta,
.ifx-card__date {
  margin: 0 0 1rem;
  color: color-mix(in srgb, currentColor 58%, transparent);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: var(--ifx-type-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ifx-card__meta a {
  color: inherit;
  text-decoration: none;
}

h3.ifx-card__title {
  max-width: 17ch;
  margin: 0;
  color: inherit;
  font-size: var(--ifx-type-card);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.ifx-card__title a {
  color: inherit;
  text-decoration: none;
}

.ifx-card__excerpt {
  margin: 1.2rem 0 0;
  color: color-mix(in srgb, currentColor 68%, transparent);
  line-height: 1.55;
}

.ifx-card a.ifx-card__link {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.45rem;
  width: fit-content;
  min-height: var(--ifx-cta-height);
  margin-top: auto;
  padding: var(--ifx-cta-padding);
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: var(--ifx-type-button);
  font-weight: 700;
  letter-spacing: var(--ifx-cta-tracking);
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.ifx-card a.ifx-card__link:hover,
.ifx-card a.ifx-card__link:focus-visible {
  border-color: var(--ifx-violet);
  color: #fff;
  background: var(--ifx-violet);
}

.ifx-service-grid--bento .ifx-service-card:nth-child(6n + 1) a.ifx-card__link:hover,
.ifx-service-grid--bento .ifx-service-card:nth-child(6n + 1) a.ifx-card__link:focus-visible,
.ifx-service-grid--bento .ifx-service-card:nth-child(6n + 4) a.ifx-card__link:hover,
.ifx-service-grid--bento .ifx-service-card:nth-child(6n + 4) a.ifx-card__link:focus-visible {
  border-color: #fff;
  color: var(--ifx-ink);
  background: #fff;
}

.ifx-service-grid--bento .ifx-service-card:nth-child(6n + 1),
.ifx-service-grid--bento .ifx-service-card:nth-child(6n + 5) {
  grid-column: span 2;
}

.ifx-service-grid--bento .ifx-service-card:nth-child(6n + 1) {
  --ifx-card-bg: #322d5e;
  --ifx-card-text: #fff;
}

.ifx-service-grid--bento .ifx-service-card:nth-child(6n + 4) {
  --ifx-card-bg: #8e44a0;
  --ifx-card-text: #fff;
}

.ifx-insight-card {
  min-height: 28rem;
  --ifx-card-bg: #fff;
}

/* Insights editorial mosaic: the legacy featured/list rhythm in the current system. */
.ifx-insights-grid {
  --ifx-insights-gap: 1.25rem;
}

.ifx-insights-grid .ifx-card-grid,
.ifx-insights-mosaic,
.ifx-insights-mosaic__group,
.ifx-insights-mosaic__list {
  gap: var(--ifx-insights-gap);
}

.ifx-insights-mosaic {
  display: grid;
}

.ifx-insights-mosaic__group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "list feature";
  min-height: clamp(34rem, 44vw, 42rem);
}

.ifx-insights-mosaic__group--featured-left {
  grid-template-areas: "feature list";
}

.ifx-insights-mosaic__group--single {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "feature";
  min-height: clamp(23rem, 36vw, 32rem);
}

.ifx-insights-mosaic__list {
  display: grid;
  grid-area: list;
  grid-auto-rows: minmax(0, 1fr);
  min-width: 0;
}

.ifx-insight-mosaic-card {
  position: relative;
  min-width: 0;
  min-height: 10.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ifx-radius);
  color: var(--ifx-text-on-dark);
  background:
    radial-gradient(circle at 88% 12%, rgba(217, 183, 228, 0.24), transparent 34%),
    linear-gradient(135deg, var(--ifx-deep), var(--ifx-indigo));
  box-shadow: 0 16px 45px rgba(19, 13, 28, 0.08);
  transition: border-color 260ms ease, box-shadow 300ms ease, background-color 260ms ease;
}

.ifx-insight-mosaic-card--featured {
  grid-area: feature;
  min-height: 100%;
}

.ifx-insight-mosaic-card:hover,
.ifx-insight-mosaic-card:focus-within {
  border-color: color-mix(in srgb, var(--ifx-violet) 72%, #fff);
  box-shadow: 0 24px 60px rgba(19, 13, 28, 0.18);
}

.ifx-insight-mosaic-card__link {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border-radius: inherit;
  color: inherit;
  text-decoration: none;
}

.ifx-insight-mosaic-card a.ifx-insight-mosaic-card__link,
.ifx-insight-mosaic-card a.ifx-insight-mosaic-card__link:link,
.ifx-insight-mosaic-card a.ifx-insight-mosaic-card__link:visited,
.ifx-insight-mosaic-card a.ifx-insight-mosaic-card__link:hover,
.ifx-insight-mosaic-card a.ifx-insight-mosaic-card__link:focus,
.ifx-insight-mosaic-card a.ifx-insight-mosaic-card__link:focus-visible {
  color: var(--ifx-text-on-dark);
  text-decoration: none;
}

.ifx-insight-mosaic-card__link:focus-visible {
  outline: 2px solid var(--ifx-white);
  outline-offset: -5px;
}

.ifx-insight-mosaic-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.ifx-insight-mosaic-card__wash {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 13, 28, 0.35), rgba(19, 13, 28, 0.9)),
    linear-gradient(110deg, rgba(50, 45, 94, 0.35), rgba(142, 68, 160, 0.16));
  transition: background-color 260ms ease, opacity 260ms ease;
}

.ifx-insight-mosaic-card:not(.ifx-insight-mosaic-card--has-image) .ifx-insight-mosaic-card__wash {
  opacity: 0.24;
  background:
    repeating-linear-gradient(135deg, transparent 0 4.5rem, rgba(217, 183, 228, 0.1) 4.5rem 4.6rem),
    radial-gradient(circle at 100% 100%, rgba(142, 68, 160, 0.42), transparent 44%);
}

.ifx-insight-mosaic-card:hover .ifx-insight-mosaic-card__wash,
.ifx-insight-mosaic-card:focus-within .ifx-insight-mosaic-card__wash {
  opacity: 0.92;
}

.ifx-insight-mosaic-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-width: 0;
  padding: clamp(1.4rem, 2.8vw, 2.4rem);
  flex-direction: column;
}

.ifx-insight-mosaic-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-right: 2.8rem;
}

.ifx-insight-mosaic-card__category,
.ifx-insight-mosaic-card__date {
  color: var(--ifx-text-on-dark);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: var(--ifx-type-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  opacity: 0.82;
}

.ifx-insight-mosaic-card__category {
  display: inline-flex;
  min-height: 2rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  align-items: center;
  color: var(--ifx-white);
  background: rgba(255, 255, 255, 0.1);
}

.ifx-insight-mosaic-card__story {
  display: block;
  max-width: 34rem;
  margin-top: auto;
  padding-top: 2rem;
}

h3.ifx-insight-mosaic-card__title {
  max-width: 24ch;
  margin: 0;
  color: var(--ifx-text-on-dark);
  font-size: var(--ifx-type-card);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.ifx-insight-mosaic-card--featured h3.ifx-insight-mosaic-card__title {
  max-width: 18ch;
  font-size: var(--ifx-type-card);
}

.ifx-insight-mosaic-card__excerpt {
  display: block;
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--ifx-muted-on-dark);
  font-size: var(--ifx-type-body);
  line-height: 1.55;
}

.ifx-insight-mosaic-card__arrow {
  position: absolute;
  top: clamp(1.4rem, 2.8vw, 2.4rem);
  right: clamp(1.4rem, 2.8vw, 2.4rem);
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: var(--ifx-white);
  background: rgba(255, 255, 255, 0.08);
  place-items: center;
}

.ifx-editor-notice {
  padding: 1rem 1.2rem;
  border: 1px dashed #8e44a0;
  color: #322d5e;
  background: #f7f1f8;
}

/* Testimonials: a native query component, with content owned by WordPress. */
.ifx-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Only the Elementor widget becomes a rail; native sector layouts stay intact.
   CSS scrolling remains usable without JavaScript; JS adds paging controls. */
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__grid {
  --ifx-testimonial-columns: 2;
  --ifx-testimonial-gap: 24px;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--ifx-testimonial-gap);
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 0 .75rem;
}
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__grid > .ifx-testimonial-card {
  flex: 0 0 calc((100% - (var(--ifx-testimonial-columns) - 1) * var(--ifx-testimonial-gap)) / var(--ifx-testimonial-columns));
  scroll-snap-align: start;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__grid:focus-visible {
  outline: 2px solid var(--ifx-violet);
  outline-offset: 4px;
}
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__controls[hidden] { display: none; }
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__position {
  margin: 0;
  color: var(--ifx-muted);
  font-size: 1rem;
  line-height: 1.5;
}
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__arrows { display: flex; gap: .65rem; }
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--ifx-line);
  border-radius: 50%;
  color: var(--ifx-indigo);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__arrow:is(:hover,:focus-visible):not([aria-disabled="true"]) {
  color: #fff;
  background: var(--ifx-indigo);
  border-color: var(--ifx-indigo);
  box-shadow: none;
  transform: none;
}
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__arrow .if-icon { color: inherit; font-size: 1.25rem; }
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__arrow:focus-visible { outline: 2px solid var(--ifx-violet); outline-offset: 3px; }
.ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__arrow[aria-disabled="true"] { opacity: .45; cursor: default; }
@media (max-width: 767px) {
  .ifx-testimonials[data-ifx-testimonials] .ifx-testimonials__grid { --ifx-testimonial-columns: 1; }
}

.ifx-testimonial-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(24rem, 34vw, 31rem);
  padding: clamp(1.7rem, 3vw, 2.8rem);
  overflow: hidden;
  border: 1px solid var(--ifx-line);
  border-radius: var(--ifx-radius);
  color: var(--ifx-ink);
  background: var(--ifx-mist);
  flex-direction: column;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  transition: border-color 300ms ease, box-shadow 350ms ease;
}

.ifx-testimonial-card--dark {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ifx-white);
  background: linear-gradient(135deg, var(--ifx-indigo), color-mix(in srgb, var(--ifx-indigo) 82%, var(--ifx-violet)));
}

.ifx-testimonial-card--light {
  background: color-mix(in srgb, var(--ifx-mist) 88%, #d9b7e4);
}

.ifx-testimonial-card:hover,
.ifx-testimonial-card:focus-within {
  border-color: color-mix(in srgb, var(--ifx-violet) 52%, transparent);
  box-shadow: 0 28px 75px rgba(19, 13, 28, 0.12);
}

.ifx-testimonial-card__header {
  display: grid;
  min-height: 4rem;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
}

.ifx-testimonial-card__logo {
  display: flex;
  width: min(11rem, 48%);
  height: 4rem;
  padding: 0.5rem 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(19, 13, 28, 0.1);
  border-radius: 0.55rem;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.ifx-testimonial-card__logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.ifx-testimonial-card--light .ifx-testimonial-card__logo {
  padding: 0;
  border-color: transparent;
  background: transparent;
}

.ifx-testimonial-card--light .ifx-testimonial-card__logo img {
  mix-blend-mode: multiply;
}

.ifx-testimonial-card__source-icon {
  display: inline-flex;
  width: 2.35rem;
  aspect-ratio: 1;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  justify-self: end;
  color: inherit;
  opacity: 0.82;
  transition: opacity 220ms ease, filter 220ms ease;
}

.ifx-testimonial-card__source-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

a.ifx-testimonial-card__source-icon:hover,
a.ifx-testimonial-card__source-icon:focus-visible {
  color: inherit;
  opacity: 1;
  filter: drop-shadow(0 0 0.45rem color-mix(in srgb, currentColor 30%, transparent));
}

.ifx-testimonial-card--dark .ifx-testimonial-card__source-icon,
.ifx-testimonial-card--dark a.ifx-testimonial-card__source-icon:hover,
.ifx-testimonial-card--dark a.ifx-testimonial-card__source-icon:focus-visible {
  color: #fff !important;
}

.ifx-testimonial-card--dark .ifx-testimonial-card__source-icon svg {
  fill: #fff !important;
}

a.ifx-testimonial-card__source-icon:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid currentColor;
  outline-offset: 0.25rem;
}

.ifx-testimonial-card__review {
  display: grid;
  margin: auto 0 0;
  gap: clamp(0.9rem, 1.6vw, 1.35rem);
}

.ifx-testimonial-card__rating {
  display: flex;
  justify-self: center;
  color: inherit;
  font-size: var(--ifx-type-label);
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
}

.ifx-testimonial-card__star--empty {
  opacity: 0.28;
}

.ifx-testimonial-card__quote {
  margin: 0;
  color: inherit;
  font-size: var(--ifx-type-card);
  font-style: normal;
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.ifx-testimonial-card__quote p,
.ifx-testimonial-card__details {
  margin: 0;
}

.ifx-testimonial-card__attribution {
  padding-top: 1.2rem;
  border-top: 1px solid color-mix(in srgb, currentColor 46%, transparent);
  color: color-mix(in srgb, currentColor 68%, transparent);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: var(--ifx-type-label);
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.ifx-testimonial-card__name {
  display: block;
  color: inherit;
  font-weight: 700;
}

.ifx-testimonial-card__name a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

/* An opt-in, unboxed testimonial presentation. Existing card instances retain
 * their original tones; quotations, ratings and provenance stay CPT-owned. */
.elementor .ifx-testimonials--editorial .ifx-testimonial-card {
  min-height: 0;
  padding: 2rem 0 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--ifx-line);
  border-radius: 0;
  color: var(--ifx-ink);
  background: transparent;
  box-shadow: none;
  gap: 1.75rem;
  transform: none;
  transition: none;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card__header {
  min-height: 4.5rem;
  gap: 1rem;
  align-items: center;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card__logo {
  width: min(10rem, 100%);
  height: 4.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  justify-content: flex-start;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

/* This existing square asset includes white padding above and below the
 * landscape wordmark. Frame the wordmark rather than shrinking that canvas;
 * keep contain as the safe default for other client logos. */
.elementor .ifx-testimonials--editorial .ifx-testimonial-card__logo img[src*="/Terra-Farmer-1-150x150-1.jpg"] {
  object-fit: cover;
  object-position: center;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card__source-icon {
  width: auto;
  min-width: 2.75rem;
  min-height: 2.75rem;
  aspect-ratio: auto;
  gap: 0.5rem;
  color: var(--ifx-indigo);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 1;
  filter: none;
  text-decoration: none;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card__source-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card--without-logo .ifx-testimonial-card__header {
  min-height: 0;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card--without-logo .ifx-testimonial-card__source-icon {
  grid-column: 1 / -1;
  justify-self: start;
}

.elementor .ifx-testimonials--editorial a.ifx-testimonial-card__source-icon:is(:hover, :focus-visible) {
  color: var(--ifx-violet);
  filter: none;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card__review {
  margin: 0;
  gap: 1.25rem;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card__rating {
  justify-self: start;
  color: var(--ifx-violet);
  font-size: 1rem;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card__quote,
.elementor .ifx-testimonials--editorial .ifx-testimonial-card__quote p {
  color: var(--ifx-ink);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card__attribution {
  padding-top: 0.25rem;
  margin-top: auto;
  border: 0;
  color: var(--ifx-muted-on-light);
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.6;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card__name {
  color: var(--ifx-ink);
  font-size: 1rem;
  font-weight: 600;
}

.elementor .ifx-testimonials--editorial .ifx-testimonial-card__details {
  margin-top: 0.25rem;
  color: var(--ifx-muted-on-light);
  font-size: 1rem;
}

/* Expert spotlight: reusable identity paired with page-local editorial context. */
.ifx-expert-spotlight {
  position: relative;
  color: var(--ifx-ink);
}

.ifx-expert-spotlight__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  grid-template-areas: "profile content";
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: stretch;
}

.ifx-expert-spotlight--reverse .ifx-expert-spotlight__inner {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  grid-template-areas: "content profile";
}

.ifx-expert-spotlight__content {
  grid-area: content;
  align-self: center;
  min-width: 0;
  padding-block: clamp(1.25rem, 4vw, 4rem);
}

:is(h1, h2, h3, p).ifx-expert-spotlight__heading {
  max-width: 15ch;
  margin: 0;
  color: var(--ifx-ink);
  font-size: var(--ifx-type-section);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.ifx-expert-spotlight__body {
  max-width: 66ch;
  margin-top: 1.65rem;
  color: color-mix(in srgb, var(--ifx-ink) 72%, transparent);
  font-size: var(--ifx-type-body-lg);
  line-height: 1.62;
}

.ifx-expert-spotlight__body > :first-child,
.ifx-expert-spotlight__assurance div > :first-child {
  margin-top: 0;
}

.ifx-expert-spotlight__body > :last-child,
.ifx-expert-spotlight__assurance div > :last-child {
  margin-bottom: 0;
}

.ifx-expert-spotlight__assurances {
  display: grid;
  padding: 0;
  margin: clamp(2rem, 4vw, 3.25rem) 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ifx-line);
  list-style: none;
}

.ifx-expert-spotlight__assurance {
  min-width: 0;
  padding: 1.2rem 1.25rem 1.2rem 0;
  border-bottom: 1px solid var(--ifx-line);
}

.ifx-expert-spotlight__assurance:nth-child(even) {
  padding-inline: 1.25rem 0;
  border-left: 1px solid var(--ifx-line);
}

.ifx-expert-spotlight__assurance h3 {
  margin: 0;
  color: var(--ifx-deep);
  font-size: var(--ifx-type-body);
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ifx-expert-spotlight__assurance div {
  margin-top: 0.45rem;
  color: color-mix(in srgb, var(--ifx-ink) 65%, transparent);
  font-size: var(--ifx-type-small);
  line-height: 1.5;
}

.ifx-expert-spotlight__profile {
  position: relative;
  z-index: 0;
  display: flex;
  grid-area: profile;
  min-width: 0;
  min-height: clamp(31rem, 42vw, 39rem);
  padding: clamp(2rem, 4.5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ifx-radius);
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  color: var(--ifx-white);
  background: linear-gradient(145deg, var(--ifx-ink), var(--ifx-indigo));
  box-shadow: 0 28px 70px rgba(19, 13, 28, 0.16);
  isolation: isolate;
}

.ifx-expert-spotlight__profile::after {
  position: absolute;
  z-index: -1;
  right: -22%;
  bottom: -28%;
  width: 64%;
  aspect-ratio: 1;
  border: clamp(2.25rem, 5vw, 4rem) solid rgba(217, 179, 226, 0.09);
  border-radius: 50%;
  content: "";
}

.ifx-expert-spotlight__portrait {
  width: clamp(8.5rem, 14vw, 11rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
}

.ifx-expert-spotlight__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ifx-expert-spotlight__credentials {
  display: flex;
  position: absolute;
  top: clamp(2rem, 4.5vw, 4rem);
  right: clamp(2rem, 4.5vw, 4rem);
  max-width: 48%;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  list-style: none;
}

.ifx-expert-spotlight__credential {
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.ifx-expert-spotlight__credential img {
  width: auto;
  max-width: 7rem;
  height: auto;
  max-height: 2.75rem;
  object-fit: contain;
}

.ifx-expert-spotlight__identity {
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
  padding-top: 0;
}

:is(h2, h3, h4, p).ifx-expert-spotlight__name {
  margin: 0;
  color: inherit;
  font-size: var(--ifx-type-card);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.ifx-expert-spotlight__role {
  margin: 0.5rem 0 0;
  color: color-mix(in srgb, var(--ifx-white) 76%, transparent);
  font-size: var(--ifx-type-body);
  line-height: 1.45;
}

.ifx-expert-spotlight__proof-points {
  display: grid;
  padding: 1.5rem 0 0;
  margin: 1.5rem 0 0;
  gap: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  list-style: none;
}

.ifx-expert-spotlight__proof-points li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  color: color-mix(in srgb, var(--ifx-white) 88%, transparent);
  font-size: var(--ifx-type-small);
  font-weight: 560;
  line-height: 1.5;
}

.ifx-expert-spotlight__proof-points li::before {
  color: color-mix(in srgb, var(--ifx-violet) 50%, var(--ifx-white));
  font-family: "Material Symbols Rounded";
  font-size: var(--ifx-type-body);
  font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 20;
  line-height: 1.3;
  content: "arrow_forward";
}

.ifx-expert-spotlight__cta {
  margin-top: 1.65rem;
}

/* Metric stage */
.ifx-metric-stage {
  --ifx-metric-bg: #fff;
  --ifx-metric-value: #322d5e;
  --ifx-metric-accent: #8e44a0;
  position: relative;
  min-height: clamp(34rem, 78svh, 52rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border-radius: var(--ifx-radius);
  color: var(--ifx-ink);
  background: linear-gradient(to bottom, var(--ifx-metric-bg) 67%, color-mix(in srgb, var(--ifx-metric-accent) 10%, var(--ifx-metric-bg)));
}

.ifx-metric-stage::before {
  position: absolute;
  top: 24%;
  left: 50%;
  width: min(95%, 72rem);
  height: 36rem;
  border: 1px dashed color-mix(in srgb, var(--ifx-metric-accent) 22%, transparent);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  content: "";
}

.ifx-metric-stage__header {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ifx-metric-stage__header .ifx-eyebrow {
  justify-content: center;
}

.ifx-metric-stage__header h2 {
  margin: 0;
  font-size: var(--ifx-type-body-lg);
  font-weight: 500;
}

.ifx-metric-stage__slides {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(3rem, 8vw, 7rem);
}

.ifx-metric-stage__slide {
  display: flex;
  min-height: 19rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.ifx-metric-stage.ifx-is-ready .ifx-metric-stage__slide {
  display: none;
}

.ifx-metric-stage.ifx-is-ready .ifx-metric-stage__slide.is-active {
  display: flex;
  animation: ifx-metric-in 620ms var(--ifx-ease) both;
}

@keyframes ifx-metric-in {
  from { opacity: 0; filter: blur(10px); transform: translateY(1.5rem); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.ifx-metric-stage__value {
  margin: 0;
  color: var(--ifx-metric-value);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: var(--ifx-type-metric);
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.82;
}

.ifx-metric-stage__label {
  max-width: 30rem;
  margin: 1.4rem 0 0;
  font-size: var(--ifx-type-body-lg);
  font-weight: 600;
}

.ifx-metric-stage__context {
  max-width: 38rem;
  margin: 0.7rem 0 0;
  color: color-mix(in srgb, var(--ifx-ink) 58%, transparent);
  font-size: var(--ifx-type-small);
}

.ifx-metric-stage__controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.ifx-metric-stage__controls button {
  display: inline-grid;
  min-width: 2.65rem;
  min-height: 2.65rem;
  padding: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--ifx-ink) 20%, transparent);
  border-radius: 999px;
  color: var(--ifx-ink);
  background: color-mix(in srgb, #fff 72%, transparent);
  cursor: pointer;
  place-items: center;
}

.ifx-metric-stage__dots {
  display: flex;
  gap: 0.2rem;
}

.ifx-metric-stage__controls .ifx-metric-stage__dot {
  min-width: 1.6rem;
  border-color: transparent;
  background: transparent;
}

.ifx-metric-stage__dot span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ifx-ink) 24%, transparent);
}

.ifx-metric-stage__dot.is-active span {
  background: var(--ifx-metric-accent);
  box-shadow: 0 0 0 0.3rem color-mix(in srgb, var(--ifx-metric-accent) 15%, transparent);
}

.ifx-metric-stage__controls .ifx-metric-stage__pause {
  min-width: 4.8rem;
  margin-left: 0.35rem;
  font-size: var(--ifx-type-button);
}

/* Static proof-board presentation. Story-mode selectors above remain unchanged. */
.ifx-metric-stage--proof-grid {
  min-height: 0;
  isolation: isolate;
}

.ifx-metric-stage--proof-grid::before {
  z-index: 0;
  top: auto;
  right: -8rem;
  bottom: -12rem;
  left: auto;
  width: 28rem;
  height: 28rem;
  border-style: solid;
  opacity: 0.28;
  box-shadow: none;
  transform: none;
}

.ifx-metric-stage--proof-grid .ifx-metric-stage__header {
  max-width: 52rem;
  text-align: left;
}

.ifx-metric-stage--proof-grid .ifx-metric-stage__header .ifx-eyebrow {
  justify-content: flex-start;
}

.ifx-metric-stage--proof-grid .ifx-metric-stage__header h2 {
  color: var(--ifx-ink);
  font-size: var(--ifx-type-section);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.ifx-metric-stage__proof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 0.85fr);
  grid-template-rows: repeat(var(--ifx-proof-rows, 1), minmax(0, 1fr));
  gap: clamp(0.8rem, 1.7vw, 1.35rem);
  padding: 0;
  margin: clamp(2.5rem, 6vw, 5rem) 0 0;
  list-style: none;
}

.ifx-metric-stage__proof-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 8.25rem;
  padding: clamp(1.35rem, 2.8vw, 2.4rem);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ifx-metric-value) 13%, transparent);
  border-radius: clamp(1.1rem, 2vw, 1.8rem);
  background: color-mix(in srgb, var(--ifx-metric-bg) 91%, var(--ifx-metric-accent));
  box-shadow: 0 18px 50px rgba(19, 13, 28, 0.07);
  flex-direction: column;
  justify-content: center;
}

.ifx-metric-stage__proof-card::after {
  display: none;
  content: none;
}

.ifx-metric-stage__proof-card--primary {
  grid-row: 1 / -1;
  min-height: clamp(22rem, 30vw, 28rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--ifx-metric-accent) 32%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--ifx-metric-accent) 13%, var(--ifx-metric-bg)), var(--ifx-metric-bg));
}

.ifx-metric-stage--proof-grid .ifx-metric-stage__value {
  position: relative;
  z-index: 1;
  font-size: var(--ifx-type-metric-small);
  overflow-wrap: anywhere;
}

.ifx-metric-stage--proof-grid .ifx-metric-stage__proof-card--primary .ifx-metric-stage__value {
  font-size: var(--ifx-type-metric);
}

.ifx-metric-stage--proof-grid .ifx-metric-stage__label {
  position: relative;
  z-index: 1;
  max-width: 26rem;
  margin-top: 0.8rem;
  font-size: var(--ifx-type-body);
  line-height: 1.25;
}

.ifx-metric-stage--proof-grid .ifx-metric-stage__proof-card--primary .ifx-metric-stage__label {
  max-width: 34rem;
  margin-top: 1.25rem;
  font-size: var(--ifx-type-body-lg);
}

.ifx-metric-stage--proof-grid .ifx-metric-stage__context {
  position: relative;
  z-index: 1;
  max-width: 31rem;
  margin-top: 0.55rem;
  line-height: 1.45;
}

/* FAQ accordion */
.ifx-faq {
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  color: var(--ifx-ink);
}

.ifx-faq__header {
  align-self: start;
}

.ifx-faq__header h2 {
  max-width: 10ch;
  margin: 0;
  color: inherit;
  font-size: var(--ifx-type-section);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.ifx-faq__intro {
  max-width: 34rem;
  margin: 1.35rem 0 0;
  color: var(--ifx-muted-on-light);
  font-size: var(--ifx-type-body-lg);
  line-height: 1.6;
}

.ifx-faq__cta {
  margin-top: 1.65rem;
}

.ifx-faq__items {
  border-top: 1px solid var(--ifx-line);
}

.ifx-faq__item {
  border-bottom: 1px solid var(--ifx-line);
}

.ifx-faq__item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2.2vw, 1.8rem) 0;
  align-items: center;
  color: var(--ifx-indigo);
  cursor: pointer;
  font-size: var(--ifx-type-body-lg);
  font-weight: 620;
  line-height: 1.3;
  list-style: none;
}

.ifx-faq__item summary::-webkit-details-marker {
  display: none;
}

.ifx-faq__item summary:focus-visible {
  outline: 2px solid var(--ifx-violet);
  outline-offset: 0.35rem;
}

.ifx-faq__icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid color-mix(in srgb, var(--ifx-indigo) 24%, transparent);
  border-radius: 50%;
  color: var(--ifx-violet);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 260ms var(--ifx-ease);
  place-items: center;
}

.ifx-faq__item[open] .ifx-faq__icon {
  border-color: var(--ifx-violet);
  color: #fff;
  background: var(--ifx-violet);
  transform: rotate(45deg);
}

.ifx-faq__answer {
  max-width: 49rem;
  padding: 0 4.1rem 1.6rem 0;
  color: var(--ifx-muted-on-light);
  line-height: 1.65;
}

.ifx-faq__answer > :first-child {
  margin-top: 0;
}

.ifx-faq__answer > :last-child {
  margin-bottom: 0;
}

/* Contact locations: one proportioned map, with a shared marker coordinate space. */
.ifx-contact-locations {
  color: var(--ifx-ink);
}

.ifx-contact-locations__header,
.ifx-expert-grid__header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
}

.ifx-contact-locations__heading,
.ifx-expert-grid__heading {
  min-width: 0;
}

.ifx-contact-locations__header h2,
.ifx-expert-grid__heading h2 {
  max-width: 19ch;
  margin: 0;
  color: var(--ifx-ink);
  font-size: clamp(2.25rem, 3.8vw, 3.75rem);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-wrap: balance;
}

.ifx-contact-locations__intro,
.ifx-expert-grid__intro {
  max-width: 38rem;
  margin: 0;
  color: var(--ifx-muted-on-light);
  font-size: var(--ifx-type-body-lg);
  line-height: 1.6;
}

.ifx-contact-locations__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 1.35fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, auto);
  align-items: center;
  gap: 1.5rem clamp(1rem, 2vw, 2rem);
}

.ifx-contact-locations__map {
  display: flex;
  min-width: 0;
  grid-column: 2;
  grid-row: 1 / 3;
  align-items: center;
  flex-direction: column;
}

.ifx-contact-locations__map-canvas {
  position: relative;
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 3 / 4;
  flex: none;
}

.ifx-contact-locations .ifx-contact-locations__map-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ifx-contact-locations .ifx-contact-locations__marker {
  position: absolute;
  z-index: 2;
  top: var(--ifx-marker-y);
  left: var(--ifx-marker-x);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ifx-indigo);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.ifx-contact-locations__marker::before,
.ifx-contact-locations__marker::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 240ms var(--ifx-ease), opacity 240ms ease, background 240ms ease;
}

.ifx-contact-locations__marker::before {
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgba(142, 68, 160, 0.3);
  background: rgba(142, 68, 160, 0.1);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
}

.ifx-contact-locations__marker::after {
  width: 0.4rem;
  height: 0.4rem;
  border: 1px solid #fff;
  background: var(--ifx-indigo);
}

.ifx-contact-locations__marker-label {
  position: absolute;
  top: 50%;
  left: calc(50% + 0.6rem);
  padding: 0.35rem 0.55rem;
  border-radius: 0.25rem;
  color: var(--ifx-indigo);
  background: rgba(251, 248, 251, 0.88);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.ifx-contact-locations__marker:is(:hover, :focus-visible, .is-active)::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.ifx-contact-locations__marker:is(:hover, :focus-visible, .is-active)::after {
  background: var(--ifx-violet);
  transform: translate(-50%, -50%) scale(1.9);
}

.ifx-contact-locations__marker:is(:hover, :focus-visible, .is-active) .ifx-contact-locations__marker-label {
  color: #fff;
  background: var(--ifx-indigo);
  transform: translate(0.45rem, -50%);
}

.ifx-contact-locations__cards { display: contents; }

.ifx-contact-office {
  display: flex;
  min-width: 0;
  padding: clamp(1.25rem, 2.3vw, 2rem);
  border: 0;
  border-radius: 1.1rem;
  flex-direction: column;
  color: var(--ifx-ink);
  background: rgba(255, 255, 255, 0.65);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.ifx-contact-office:nth-child(1) { grid-column: 1; grid-row: 1; }
.ifx-contact-office:nth-child(2) { grid-column: 3; grid-row: 1; }
.ifx-contact-office:nth-child(3) { grid-column: 1; grid-row: 2; }
.ifx-contact-office:nth-child(4) { grid-column: 3; grid-row: 2; }

.ifx-contact-office:is(:hover, :focus-within, .is-active) {
  background: #fff;
  box-shadow: 0 12px 36px rgba(37, 32, 70, 0.06);
}

.ifx-contact-office__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ifx-contact-office__header p,
.ifx-contact-office__header h3,
.ifx-contact-office address,
.ifx-contact-office__links { margin: 0; }

.ifx-contact-office__header p {
  margin-bottom: 0.45rem;
  color: var(--ifx-violet);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ifx-contact-office__header h3 {
  color: var(--ifx-indigo);
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.ifx-contact-locations .ifx-contact-office__select {
  display: grid;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--ifx-line);
  border-radius: 50%;
  place-items: center;
  color: var(--ifx-violet);
  background: transparent;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease;
}

.ifx-contact-office__select .if-icon { font-size: 1.1rem; }

.ifx-contact-office.is-active .ifx-contact-office__select,
.ifx-contact-locations .ifx-contact-office__select:is(:hover, :focus-visible) {
  border-color: var(--ifx-indigo);
  color: #fff;
  background: var(--ifx-indigo);
}

.ifx-contact-office address {
  color: var(--ifx-muted-on-light);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.6;
}

.ifx-contact-office__links {
  display: grid;
  padding: 1.25rem 0 0;
  list-style: none;
  gap: 0.65rem;
}

.ifx-contact-office__links li {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.5rem;
}

.ifx-contact-office__links .if-icon {
  color: var(--ifx-violet);
  font-size: 1rem;
}

.ifx-contact-locations .ifx-contact-office__links a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ifx-indigo);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.ifx-contact-locations .ifx-contact-office__links a:is(:hover, :focus-visible) {
  color: var(--ifx-violet);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ifx-contact-locations__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 2.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--ifx-line);
}

.ifx-contact-locations__coverage { max-width: 45rem; }
.ifx-contact-locations__count { display: none; }

.ifx-contact-locations__coverage h3,
.ifx-contact-locations__coverage p { margin: 0; }

.ifx-contact-locations__coverage h3 {
  margin-bottom: 0.6rem;
  color: var(--ifx-indigo);
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ifx-contact-locations__coverage div > p {
  color: var(--ifx-muted-on-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ifx-contact-locations__social { flex: none; }

.ifx-contact-locations__social > p {
  margin: 0 0 0.8rem;
  color: var(--ifx-indigo);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ifx-contact-locations__social ul {
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
}

.ifx-contact-locations .ifx-contact-locations__social a {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--ifx-line);
  border-radius: 50%;
  place-items: center;
  color: var(--ifx-indigo);
  background: transparent;
  transition: color 180ms ease, background 180ms ease;
}

.ifx-contact-locations .ifx-contact-locations__social a:is(:hover, :focus-visible) {
  border-color: var(--ifx-indigo);
  color: #fff;
  background: var(--ifx-indigo);
}

.ifx-contact-locations__social-icon,
.ifx-contact-locations__social-icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

/* Shared Expert portrait grid for both contact selections and the full team. */
.ifx-expert-grid { color: var(--ifx-ink); }
.ifx-expert-grid__intro-wrap { display: flex; align-items: flex-start; flex-direction: column; gap: 1rem; }
.ifx-expert-grid__controls { display: none; gap: 0.6rem; }
.ifx-expert-grid__controls button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--ifx-line);
  border-radius: 50%;
  place-items: center;
  color: var(--ifx-indigo);
  background: #fff;
  cursor: pointer;
}
.ifx-expert-grid__controls button:hover:not(:disabled) { color: #fff; background: var(--ifx-indigo); }
.ifx-expert-grid__controls button:disabled { opacity: 0.35; cursor: default; }
.ifx-expert-grid__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3.5rem clamp(1.25rem, 2.4vw, 2.25rem);
}
.ifx-expert-card {
  display: flex;
  min-width: 0;
  border: 0;
  border-radius: 0;
  flex-direction: column;
  color: var(--ifx-ink);
  background: transparent;
  box-shadow: none;
}
.ifx-expert-card__media {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 4 / 4.65;
  flex: none;
  border-radius: 0.5rem;
  place-items: center;
  background: #eee7f2;
}
.ifx-expert-card__portrait-link { display: block; width: 100%; height: 100%; }
.ifx-expert-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 500ms var(--ifx-ease);
}
/* Every team portrait responds equally, including cards without a profile link. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ifx-expert-card:is(:hover, :focus-within) .ifx-expert-card__media img { transform: scale(1.025); }
}
.ifx-expert-card__initial { color: var(--ifx-indigo); font-size: 5rem; font-weight: 600; }
.ifx-expert-card__body {
  display: flex;
  min-height: 0;
  padding: 1.1rem 0 0;
  flex: 1;
  flex-direction: column;
}
.ifx-expert-grid .ifx-expert-card h3 {
  margin: 0;
  color: var(--ifx-ink);
  font-size: clamp(1.3rem, 1.7vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.ifx-expert-grid .ifx-expert-card h3 a { color: inherit; text-decoration: none; transition: color 180ms ease; }
.ifx-expert-grid .ifx-expert-card h3 a:is(:hover, :focus-visible) { color: var(--ifx-violet); }
.ifx-expert-card__role { margin: 0.4rem 0 0; color: var(--ifx-indigo); font-size: 0.95rem; line-height: 1.45; }
.ifx-expert-card__proof { margin: 0.65rem 0 0; color: var(--ifx-muted-on-light); font-size: 0.86rem; line-height: 1.55; }
.ifx-expert-card__actions {
  display: flex;
  padding-top: 1.2rem;
  margin-top: auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ifx-expert-grid .ifx-expert-card__action {
  position: relative;
  display: inline-flex;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--ifx-line);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--ifx-indigo);
  background: transparent;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.ifx-expert-grid .ifx-expert-card__action:is(:hover, :focus-visible) {
  border-color: var(--ifx-indigo);
  color: #fff;
  background: var(--ifx-indigo);
}
.ifx-expert-card__action .if-icon { color: inherit; font-size: 1.15rem; }
.ifx-expert-card__action svg { width: 1rem; height: 1rem; fill: currentColor; }
.ifx-expert-card__tooltip {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  z-index: 4;
  padding: 0.35rem 0.55rem;
  border-radius: 0.3rem;
  color: #fff;
  background: var(--ifx-indigo);
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.2rem);
  transition: opacity 160ms ease, transform 160ms ease;
}
.ifx-expert-card__action:is(:hover, :focus-visible) .ifx-expert-card__tooltip { opacity: 1; transform: translate(-50%, 0); }
.ifx-expert-grid .ifx-expert-card__action--text {
  width: auto;
  height: auto;
  min-height: 2.75rem;
  padding-inline: 0.4rem;
  border: 0;
  border-radius: 0;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 650;
}
.ifx-expert-grid .ifx-expert-card__action--text:is(:hover, :focus-visible) {
  color: var(--ifx-violet);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.ifx-expert-grid__cta { margin-top: clamp(2rem, 4vw, 3.5rem); }

/* Form */
.ifx-form-shell {
  --ifx-form-bg: #fff;
  --ifx-form-text: #130d1c;
  --ifx-form-accent: #8e44a0;
  padding: clamp(1.5rem, 5vw, 4.5rem);
  border-radius: var(--ifx-radius);
  color: var(--ifx-form-text);
  background: var(--ifx-form-bg);
}

.ifx-form-shell__header {
  max-width: 700px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.ifx-form-shell__header h2 {
  margin: 0;
  color: inherit;
  font-size: var(--ifx-type-card);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.ifx-form-shell__intro {
  max-width: 620px;
  margin: 1.3rem 0 0;
  color: color-mix(in srgb, var(--ifx-form-text) 68%, transparent);
  font-size: var(--ifx-type-body-lg);
  line-height: 1.6;
}

.ifx-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.ifx-field {
  min-width: 0;
}

.ifx-field--full {
  grid-column: 1 / -1;
}

.ifx-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: var(--ifx-type-label);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ifx-field :where(input:not([type="checkbox"]), textarea) {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--ifx-form-text) 20%, transparent);
  border-radius: 0.9rem;
  color: var(--ifx-form-text);
  background: color-mix(in srgb, var(--ifx-form-bg) 94%, var(--ifx-form-text));
  box-shadow: none;
}

.ifx-field input:not([type="checkbox"]) {
  min-height: 3.25rem;
  padding: 0.65rem 0.85rem;
}

.ifx-field textarea {
  min-height: 9rem;
  padding: 0.85rem;
  resize: vertical;
}

.ifx-field :where(input, textarea)[aria-invalid="true"] {
  border-color: #a31d36;
  box-shadow: 0 0 0 2px rgba(163, 29, 54, 0.12);
}

.ifx-field__error {
  display: block;
  min-height: 1.1rem;
  margin-top: 0.3rem;
  color: #8f1630;
  font-size: var(--ifx-type-label);
  line-height: 1.35;
}

.ifx-field--consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.7rem;
  margin-top: 1.2rem;
  align-items: start;
}

.ifx-field--consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  accent-color: var(--ifx-form-accent);
}

.ifx-field--consent label {
  margin: 0;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

.ifx-field--consent .ifx-field__error {
  grid-column: 2;
}

.ifx-form__privacy-link {
  color: var(--ifx-form-accent);
}

.ifx-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ifx-form__required-note {
  margin: 0;
  color: color-mix(in srgb, var(--ifx-form-text) 55%, transparent);
  font-size: var(--ifx-type-label);
}

.ifx-form__submit[disabled] {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.ifx-form__status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  font-weight: 600;
}

.ifx-form__status.is-error {
  color: #8f1630;
}

.ifx-form__status.is-success {
  color: #1f6b45;
}

.ifx-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Retired cursor effect: hide any old overlay retained in an editor/cache. */
.ifx-pointer-glow__surface { display: none !important; }

:where(.ifx-query-section, .ifx-expert-spotlight, .ifx-metric-stage, .ifx-form-shell, .ifx-contact-locations, .ifx-expert-grid) .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
	.ifx-contact-locations__header,
	.ifx-expert-grid__header {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.35rem;
	}

	.ifx-contact-locations__stage {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto auto auto;
	}

	.ifx-contact-locations__map {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.ifx-contact-office:nth-child(1) { grid-column: 1; grid-row: 2; }
	.ifx-contact-office:nth-child(2) { grid-column: 2; grid-row: 2; }
	.ifx-contact-office:nth-child(3) { grid-column: 1; grid-row: 3; }
	.ifx-contact-office:nth-child(4) { grid-column: 2; grid-row: 3; }

	.ifx-contact-locations__footer {
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 1.75rem;
	}

	.ifx-expert-grid__intro-wrap {
		align-items: flex-start;
	}

	.ifx-expert-grid__rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ifx-expert-grid--all .ifx-expert-grid__rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ifx-expert-spotlight__inner,
	.ifx-expert-spotlight--reverse .ifx-expert-spotlight__inner {
		grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
		gap: clamp(2rem, 4vw, 3.5rem);
	}

	.ifx-expert-spotlight__profile {
		min-height: 31rem;
	}

  .ifx-service-grid--bento .ifx-service-card:nth-child(n) {
    grid-column: auto;
  }

  .ifx-insights-mosaic__group,
  .ifx-insights-mosaic__group--featured-left {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "feature"
      "list";
    min-height: 0;
  }

  .ifx-insights-mosaic__list {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    grid-auto-rows: minmax(12rem, auto);
  }

  .ifx-insight-mosaic-card--featured {
    min-height: clamp(25rem, 58vw, 34rem);
  }

  .ifx-metric-stage__proof-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.85fr);
  }
}

@media (max-width: 900px) {
  .ifx-faq {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ifx-faq__header h2 {
    max-width: 14ch;
  }

	.ifx-expert-spotlight__inner,
	.ifx-expert-spotlight--reverse .ifx-expert-spotlight__inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"content"
			"profile";
	}

	.ifx-expert-spotlight__content {
		padding-block: 0;
	}
}

@media (max-width: 767px) {
	.ifx-contact-locations__header,
	.ifx-expert-grid__header {
		margin-bottom: 2.5rem;
	}

	.ifx-contact-locations__header h2,
	.ifx-expert-grid__heading h2 {
		max-width: none;
		font-size: clamp(2.1rem, 8.5vw, 2.7rem);
	}

	.ifx-contact-locations__stage {
		display: flex;
		flex-direction: column;
		gap: 0.85rem;
	}

	.ifx-contact-locations__map {
		width: 100%;
		order: -1;
		margin-bottom: 1.5rem;
	}

	.ifx-contact-locations__map-canvas {
		max-width: 22rem;
	}

	.ifx-contact-office {
		width: 100%;
	}

	.ifx-contact-locations__coverage {
		grid-template-columns: minmax(0, 1fr);
	}

	.ifx-contact-locations__count {
		width: 4.2rem;
		height: 4.2rem;
		font-size: 2rem;
	}

	.ifx-contact-locations__social ul {
		align-items: center;
		flex-direction: row;
	}

	.ifx-expert-grid {
		overflow: hidden;
	}

	.ifx-expert-grid__intro-wrap {
		align-items: stretch;
	}

	.ifx-expert-grid__controls {
		display: flex;
	}

	.ifx-expert-grid__rail {
		display: grid;
		overflow-x: auto;
		padding: 0.15rem 0.1rem 1rem;
		grid-auto-columns: minmax(16.5rem, 84vw);
		grid-auto-flow: column;
		grid-template-columns: none;
		gap: 0.9rem;
		scroll-behavior: smooth;
		scroll-padding-inline: 0.1rem;
		scroll-snap-type: x mandatory;
		overscroll-behavior-inline: contain;
		-webkit-overflow-scrolling: touch;
	}

	.ifx-expert-card {
		scroll-snap-align: start;
	}

	.ifx-expert-card__body {
		min-height: 0;
	}

	.ifx-expert-grid--all {
		overflow: visible;
	}

	.ifx-expert-grid--all .ifx-expert-grid__controls {
		display: none;
	}

	.ifx-expert-grid--all .ifx-expert-grid__rail {
		overflow: visible;
		padding: 0;
		grid-auto-columns: auto;
		grid-auto-flow: row;
		grid-template-columns: minmax(0, 1fr);
		gap: 2.5rem;
		scroll-padding-inline: 0;
		scroll-snap-type: none;
	}

	.ifx-expert-grid--all .ifx-expert-card {
		scroll-snap-align: none;
	}

	.ifx-expert-grid__cta {
		width: 100%;
	}

	.ifx-expert-spotlight__inner,
	.ifx-expert-spotlight--reverse .ifx-expert-spotlight__inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"content"
			"profile";
	}

	.ifx-expert-spotlight__content {
		padding-block: 0;
	}

	.ifx-expert-spotlight__assurances {
		grid-template-columns: minmax(0, 1fr);
	}

	.ifx-expert-spotlight__assurance:nth-child(even) {
		padding-inline: 0;
		border-left: 0;
	}

	.ifx-expert-spotlight__profile {
		min-height: 30rem;
	}

  .ifx-hero {
    min-height: 80svh;
    padding: 7rem 1.35rem 2.25rem;
  }

  .ifx-hero__title {
    max-width: none;
  }

  .ifx-hero__trails {
    inset: -5% -85% 28% 12%;
    opacity: 0.75;
  }

  .ifx-card-grid,
  .ifx-testimonials__grid,
  .ifx-form__grid {
    grid-template-columns: 1fr;
  }

  .ifx-insights-mosaic__list {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(12rem, auto);
  }

  .ifx-insight-mosaic-card--featured {
    min-height: 25rem;
  }

  .ifx-insight-mosaic-card__meta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .ifx-testimonial-card {
    min-height: 23rem;
  }

  .ifx-metric-stage--proof-grid {
    padding: 1.5rem;
  }

  .ifx-metric-stage__proof-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    margin-top: 2.5rem;
  }

  .ifx-metric-stage__proof-card--primary {
    grid-row: auto;
    min-height: 21rem;
  }

  .ifx-metric-stage__proof-card {
    min-height: 11rem;
  }

  .ifx-field--full {
    grid-column: auto;
  }

  .ifx-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .ifx-form__submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
	.ifx-expert-spotlight__credentials {
		position: static;
		max-width: 100%;
		margin-top: 1rem;
		justify-content: flex-start;
	}

	.ifx-expert-spotlight__identity {
		margin-top: 1.5rem;
		padding-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
  .ifx-hero__trails i::after,
  .ifx-metric-stage.ifx-is-ready .ifx-metric-stage__slide.is-active {
    animation: none;
  }

  .ifx-hero__trails i::after {
    opacity: 0.32;
    transform: translate3d(220%, 0, 0);
  }

  .ifx-card,
  .ifx-card__image,
  .ifx-button,
  .ifx-insight-mosaic-card,
  .ifx-insight-mosaic-card__wash,
  .ifx-testimonial-card,
  .ifx-pointer-glow__surface,
  .ifx-contact-office,
  .ifx-contact-office::before,
  .ifx-contact-locations__marker::before,
  .ifx-contact-locations__marker::after,
  .ifx-contact-locations__marker-label,
  .ifx-contact-office__select,
  .ifx-contact-locations__social-link,
  .ifx-expert-card,
  .ifx-expert-card__action,
  .ifx-expert-card__tooltip,
  .ifx-expert-card__media img,
  .ifx-expert-grid__rail {
    transition: none;
  }

  .ifx-card:hover,
  .ifx-button:hover,
  .ifx-testimonial-card:hover,
  .ifx-contact-office:is(:hover, :focus-visible, .is-active),
  .ifx-expert-card:is(:hover, :focus-within) {
    transform: none;
  }

  .ifx-metric-stage.ifx-is-ready .ifx-metric-stage__slide {
    display: flex;
    min-height: auto;
    padding: 2rem 0;
    border-top: 1px solid color-mix(in srgb, var(--ifx-ink) 14%, transparent);
  }

  .ifx-metric-stage__value {
    font-size: var(--ifx-type-metric);
  }

  .ifx-metric-stage__controls {
    display: none;
  }
}
