/* ---- Neutralize Pro/Integrity stack defaults on this template only ---- */
body:where(.x21-home-2026) { margin: 0; padding: 0; }
:where(.x21-home-2026) h1, :where(.x21-home-2026) h2, :where(.x21-home-2026) h3, :where(.x21-home-2026) h4 {
  margin: 0; letter-spacing: normal; text-transform: none; text-rendering: auto; color: inherit;
}
:where(.x21-home-2026) main ul, :where(.x21-home-2026) footer ul, :where(.x21-home-2026) header ul, :where(.x21-home-2026) .offcanvas ul { margin: 0; padding: 0; list-style: none; }
:where(.x21-home-2026) blockquote { margin: 0; padding: 0; border: 0; font-size: inherit; line-height: inherit; color: inherit; quotes: none; }
:where(.x21-home-2026) a:hover, :where(.x21-home-2026) a:focus { text-decoration: none; }
:where(.x21-home-2026) input[type="email"], :where(.x21-home-2026) input[type="search"] { box-shadow: none; height: auto; margin: 0; line-height: 1.4; }
:where(.x21-home-2026) button { text-shadow: none; box-shadow: none; }
:where(.x21-home-2026) img { border: 0; }

/* Xponent21 homepage mockup. Tokens taken from the live child theme
   (wp-content/themes/xponent21/style.css) and computed styles on xponent21.com. */

:root {
  --navy: #09073c;
  --blue: #40bcdd;
  --green: #9ece61;
  --purple: #6158ce;
  --purple-light: #7169d3;
  --white: #ffffff;
  --card-grey: #e6e6e6;
  --card-light: #f4f2f2;

  --font-body: avenir, "Avenir Next", "Avenir", Mulish, sans-serif;
  --font-head: Mulish, sans-serif;

  --site-max: 1300px;
  --site-width: 92%;
  --radius: 1.5rem;
  --radius-sm: 1rem;
  --pill: 34px;
  --shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 8px 16px rgba(0, 0, 0, .08);
  --section-y: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
figure { margin: 0; }

.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--white); padding: .5rem 1rem; }

.container { width: var(--site-width); max-width: var(--site-max); margin: 0 auto; position: relative; }
.center { text-align: center; }

.c-blue { color: var(--blue); }
.c-green { color: var(--green); }
.c-purple { color: var(--purple); }
.c-white { color: var(--white); }

.h2 {
  font-family: var(--font-head);
  font-size: 2.25rem;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: normal;
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.h2 strong { font-weight: 700; }

.purple-gradient {
  background: var(--purple-light);
  background: linear-gradient(90deg, rgb(113, 105, 211) 0%, rgb(121, 115, 199) 58%, rgb(86, 80, 171) 75%, rgb(69, 61, 170) 100%);
}
.blue-gradient {
  background: var(--blue);
  background: linear-gradient(90deg, rgb(64, 188, 221) 0%, rgb(54, 179, 214) 58%, rgb(59, 167, 196) 75%, rgb(37, 148, 178) 100%);
}

/* Dots background (live: .with-dots-bg) */
.dots-bg { position: relative; isolation: isolate; overflow: hidden; }
.dots-bg::before, .dots-bg::after { content: ""; position: absolute; inset: 0; }
.dots-bg::before {
  background: url("https://xponent21.com/wp-content/themes/xponent21/framework/assets/images/dots.webp") center / contain;
  z-index: -2;
}
.dots-bg::after { background: var(--white); opacity: .4; z-index: -1; }

/* Decorative shapes (live: .shape-global) */
.shape { position: absolute; opacity: .6; z-index: 0; pointer-events: none; }
.shape--circle { width: 5rem; height: 5rem; border-radius: 50%; }
.shape--rect { width: 140px; height: 100px; border-radius: var(--radius-sm); }
.shape--blue { background: var(--blue); }
.shape--green { background: var(--green); }
.shape--purple { background: var(--purple-light); }

/* ---------- Buttons (live: pill with arrow in a circle) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 53px;
  padding: 0 7px 0 1.75rem;
  border-radius: var(--pill);
  border: 0;
  font: inherit;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  background: var(--btn-bg);
  transition: background-color .3s ease;
}
.btn:hover, .btn:focus-visible { background: var(--btn-hover); color: var(--white); }
.btn__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--white);
  color: var(--btn-bg);
  transition: color .3s ease;
}
.btn:hover .btn__icon, .btn:focus-visible .btn__icon { color: var(--btn-hover); }
.btn__icon svg { width: 14px; height: 14px; }
/* Hover pairs match the rest of the site: green→purple, everything else→green */
.btn--green { --btn-bg: var(--green); --btn-hover: var(--purple); }
.btn--blue { --btn-bg: var(--blue); --btn-hover: var(--green); }
.btn--purple { --btn-bg: var(--purple); --btn-hover: var(--green); }
.btn--navy { --btn-bg: var(--navy); --btn-hover: var(--green); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; padding-left: 1.1rem; gap: .75rem; font-size: .9rem; }
.btn--sm .btn__icon { width: 32px; height: 32px; }

.pill {
  display: inline-block; padding: .55rem 1.5rem; border-radius: var(--pill);
  text-decoration: none; font-size: .9rem; line-height: 1.2;
}
.pill { font-family: var(--font-head); font-weight: 700; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.pill--purple { background: var(--purple); color: var(--white); border: 2px solid var(--purple); }
.pill--purple:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.pill--outline { border: 2px solid var(--purple); color: var(--purple); }
.pill--outline:hover { background: var(--green); border-color: var(--green); color: var(--white); }

/* ---------- Header ---------- */
/* Sticky header fix. Pro's integrity-light.css sets overflow-x: hidden on both html and body,
   which makes body its own scroll container and stops the sticky masthead from pinning.
   clip trims sideways overflow the same way without creating a scroll container. */
html:has(> body.x21-home-2026), body.x21-home-2026 { overflow-x: clip; }
html:has(> body.x21-home-2026) { scroll-padding-top: 110px; }

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: 0 3px 25px rgba(0, 0, 0, .15);
}
.masthead__bar { display: flex; align-items: center; gap: 2rem; padding: 17px 0; position: relative; z-index: 2; }
.masthead__logo img { width: 300px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2.75rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .9rem; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; color: var(--navy); padding: .6rem 0;
}
.nav__link:hover { color: var(--purple); }
.nav__caret {
  width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}
.masthead__tools { display: flex; align-items: center; gap: 1.5rem; }
.icon-btn { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--navy); }
.icon-btn svg { width: 17px; height: 17px; display: block; }
.burger { background: none; border: 0; padding: 4px; cursor: pointer; display: grid; gap: 7px; }
.burger span { display: block; width: 34px; height: 3px; border-radius: 2px; background: var(--blue); }

/* Search bar (opened by the header search button) */
.searchbar { border-top: 1px solid #eee; background: var(--white); position: relative; z-index: 1; }
.searchbar[hidden] { display: none; }
.searchbar__form { display: flex; align-items: center; gap: .75rem; padding: 1rem 0; }
.searchbar__form input {
  flex: 1; min-width: 0; font: inherit; color: var(--navy);
  border: 2px solid #e5e5e5; border-radius: var(--pill); padding: .6rem 1.25rem;
}
.searchbar__form input:focus { outline: none; border-color: var(--purple); }

/* Mega menu: Capabilities grouped into three labeled columns */
.mega {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 10px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem;
  width: min(820px, 90vw);
  padding: 2rem 2.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 20px 40px rgba(9, 7, 60, .12);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__item--has-mega:hover .mega,
.nav__item--has-mega:focus-within .mega,
.nav__item--has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__heading {
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  margin: 0 0 .75rem; padding-bottom: .5rem; border-bottom: 2px solid currentColor;
}
.mega__col:nth-child(1) .mega__heading { color: var(--green); }
.mega__col:nth-child(2) .mega__heading { color: var(--blue); }
.mega__col:nth-child(3) .mega__heading { color: var(--purple); }
.mega li a { display: block; padding: .3rem 0; font-size: .9rem; line-height: 1.4; text-decoration: none; }
.mega li a:hover { color: var(--purple); }

/* Off-canvas menu */
.offcanvas { position: fixed; inset: 0; z-index: 60; background: rgba(9, 7, 60, .55); }
.offcanvas[hidden] { display: none; }
.offcanvas__panel {
  font-family: var(--font-head);
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%); overflow-y: auto;
  background: var(--white); padding: 1.5rem 1.75rem 3rem;
}
.offcanvas__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.offcanvas__top img { width: 180px; }
.offcanvas__close { background: none; border: 0; font-size: 2.25rem; line-height: 1; color: var(--navy); cursor: pointer; }
.offcanvas__actions { display: flex; gap: .75rem; margin-bottom: 1.75rem; }
.offcanvas__heading {
  display: block; padding: .8rem 0 .2rem; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; color: var(--navy);
}
.offcanvas__heading:hover { color: var(--purple); }
.offcanvas__sub { margin-left: 1rem; }
.offcanvas__sub .acc summary { font-size: .95rem; padding: .6rem 0; }
.acc { border-bottom: 1px solid #e5e5e5; }
.acc summary {
  list-style: none; cursor: pointer; padding: .8rem 0; font-weight: 700; font-size: 1.05rem; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--purple); }
.acc[open] summary::after { content: "\2212"; }
.acc ul { padding: 0 0 .9rem .9rem; border-left: 3px solid #c9c9d3; margin-bottom: .75rem; }
.acc--green ul { border-left-color: var(--green); }
.acc--blue ul { border-left-color: var(--blue); }
.acc--purple ul { border-left-color: var(--purple); }
.acc li a { display: block; padding: .3rem 0; text-decoration: none; font-size: .95rem; font-weight: 400; color: var(--navy); }
.acc li a:hover, .offcanvas__links a:hover { color: var(--purple); }
.offcanvas__links li { border-bottom: 1px solid #e5e5e5; }
.offcanvas__links a { display: block; padding: .8rem 0; text-decoration: none; font-weight: 700; font-size: 1.05rem; color: var(--navy); }

/* ---------- 1. Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); text-align: center; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: rgba(17, 113, 139, .757); }
.hero__inner {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 8rem 0 7rem; max-width: 960px;
}
.hero__eyebrow {
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.4;
  letter-spacing: .04em; color: var(--green);
  margin-bottom: 1rem;
}
.hero__display {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 2.4rem); line-height: 1.4;
  margin: 0 0 1.5rem; max-width: 16ch;
}
.hero__sub { max-width: 720px; font-size: 1rem; margin-bottom: 2rem; }
.hero__note { font-size: .8rem; opacity: .9; margin: .85rem 0 0; }

/* ---------- 2. Intro ---------- */
.intro { padding: var(--section-y) 0 6rem; }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.intro__text p { font-size: 1rem; }
.intro__media { position: relative; padding: 2rem 0 4rem 3rem; }
.intro__photo { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow); width: 85%; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.intro__graph { position: absolute; z-index: 2; left: 0; bottom: 0; width: 72%; box-shadow: var(--shadow); border-radius: 6px; }
.intro__shape1 { left: 0; top: 30%; }
.intro__shape2 { right: -1.5rem; top: 0; }

/* ---------- 3. Mid-page CTA ---------- */
.midcta { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.midcta__media { position: relative; overflow: hidden; background: #222; }
.midcta__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.midcta__body { display: flex; align-items: center; color: var(--white); }
.midcta__inner { padding: 4rem 2.5rem; max-width: 650px; margin: 0 auto; text-align: center; }
.midcta__inner .h2 { margin-bottom: 1rem; }
.midcta__inner p { margin-bottom: 1.75rem; }

/* ---------- 4. Projects carousel ---------- */
.projects { padding: 6rem 0 2rem; }
.projects__head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 1rem; }
.projects__title { margin: 0; padding-left: 7rem; }
.projects__intro { margin: 0; font-size: 1rem; }
.projects__shape { left: 0; top: -1.5rem; }
.projects__wrap { padding: 2rem 0 2.5rem; }
.projects__shape2 { right: 2%; top: 0; }

.carousel { position: relative; z-index: 1; }
.carousel__track {
  display: flex; gap: 2.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 1.5rem .25rem 2rem; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.pcard {
  flex: 0 0 calc((100% - 2 * 2.2rem) / 3);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--card-grey);
  border-radius: 25.5px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.pcard__img { border-radius: var(--radius-sm); overflow: hidden; background: var(--white); aspect-ratio: 215 / 150; margin-bottom: 1.1rem; box-shadow: var(--shadow); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.label {
  align-self: flex-start;
  font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); padding: 5px 12px; border-radius: 999px; margin-left: 1rem;
}
.label--marketing { background: var(--green); }
.label--tech { background: var(--purple); }
.label--media { background: var(--blue); }
.pcard__title {
  font-family: var(--font-head); font-size: 1.25rem; line-height: 1.4; font-weight: 700;
  padding: .75rem 1rem 1.25rem;
}
.pcard__excerpt {
  padding: 0 1rem; font-size: 1rem;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__highlight {
  border: 2px solid var(--green); border-radius: 25.5px; box-shadow: var(--shadow);
  background: var(--white);
  padding: 1.5rem; text-align: center; font-weight: 700; line-height: 1.6; margin-bottom: 1.5rem;
}
.pcard .btn { margin-top: auto; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.carousel__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: var(--white);
  display: grid; place-items: center; cursor: pointer; transition: background-color .3s ease;
}
.carousel__arrow:hover, .carousel__arrow:focus-visible { background: var(--green); }
.carousel__arrow svg { width: 16px; height: 16px; }
.carousel__dots { display: flex; gap: 12px; }
.carousel__dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: #c9c9d3; cursor: pointer; transition: background-color .3s ease; }
.carousel__dots button:hover { background: var(--green); }
.carousel__dots button[aria-current="true"] { background: var(--navy); }

/* ---------- 5. Services: three pillars ---------- */
.services__band { background: var(--blue); color: var(--white); padding: 3.5rem 0; }
.services__band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.services__band-text { text-align: center; }
.services__band-text p { font-size: 1rem; margin: 0; }
.services__video { aspect-ratio: 16 / 9; background: #000; box-shadow: var(--shadow); }
.services__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.services__cards { padding: 4rem 0; }
.services__cards .container { max-width: 1000px; }
.services__shape1 { left: -3rem; top: 22rem; }
.services__shape2 { right: -3rem; top: 46rem; }

.scard {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: start;
  background: var(--card-light); border-radius: 25.5px; box-shadow: var(--shadow);
  padding: 2rem; margin-bottom: 2.5rem;
}
.scard--reverse { grid-template-columns: 1fr 300px; }
.scard--reverse .scard__media { order: 2; }
.scard__media img, .photo-needed {
  width: 100%; aspect-ratio: 300 / 230; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.photo-needed {
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
  background: repeating-linear-gradient(45deg, #fff, #fff 10px, #f1f0fb 10px, #f1f0fb 20px);
  border: 2px dashed var(--purple); color: var(--purple); font-weight: 700; line-height: 1.4;
}
.scard__title { font-family: var(--font-head); font-size: 1.4rem; line-height: 1.35; font-weight: 700; margin-bottom: .75rem; }
.scard--green .scard__title { color: var(--green); }
.scard--blue .scard__title { color: var(--blue); }
.scard--purple .scard__title { color: var(--purple); }
.scard__body p { font-size: 1rem; }
.scard__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.scard__links a {
  display: inline-block; padding: .4rem .95rem; border-radius: var(--pill);
  background: var(--white); text-decoration: none; font-size: .85rem; line-height: 1.3; font-weight: 700;
  transition: background .2s, color .2s;
}
.scard--green .scard__links a { color: #6f9b37; }
.scard--blue .scard__links a { color: #1f8cab; }
.scard--purple .scard__links a { color: var(--purple); }
.scard__links a:hover { background: var(--navy); color: var(--white); }
.services__cards .center { margin-top: 1rem; }

/* ---------- 6. Partnerships + stats ---------- */
.partners { padding: 4rem 0 3rem; }
.partners__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.partners__text { order: 2; }
.partners__text p { font-size: 1rem; }
.partners__media { position: relative; padding-bottom: 1rem; }
.partners__photo { width: 62%; margin-left: 10%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; }
.partners__shape { left: 0; bottom: 3rem; }
.stats { position: relative; z-index: 2; margin-top: -12rem; display: grid; gap: 1rem; max-width: 380px; }
.stats__lead {
  justify-self: start; margin: 0; padding: .35rem 1rem; border-radius: 999px;
  background: var(--navy); color: var(--white); font-size: .8rem; font-weight: 700; letter-spacing: .03em;
}
.stat-card {
  background: var(--white); border-radius: 25.5px; box-shadow: var(--shadow);
  padding: 1rem 1.5rem; display: flex; align-items: center; gap: 1.25rem;
}
.stat-card:nth-of-type(2) { margin-left: 2.5rem; }
.stat-card:nth-of-type(3) { margin-left: 5rem; }
.stat-card__num { font-family: var(--font-head); font-weight: 700; font-size: 2.75rem; line-height: 1; margin: 0; white-space: nowrap; }
.stat-card__label { margin: 0; font-style: italic; font-size: .9rem; line-height: 1.4; }

/* ---------- Proven results logos (unchanged) ---------- */
.logos { padding: 3rem 0 6rem; }
.logos .h2 { max-width: 780px; margin-left: auto; margin-right: auto; }
.logos__intro { text-align: center; max-width: 800px; margin: 0 auto 3rem; font-size: 1rem; }
.logos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem 2.5rem; align-items: center; }
.logos__grid img { max-height: 95px; width: auto; max-width: 80%; margin: 0 auto; object-fit: contain; }

/* ---------- 7. AI visibility ---------- */
.aivis { box-shadow: 0 8px 16px rgba(0, 0, 0, .06); position: relative; z-index: 1; padding-bottom: 4rem; }
.aivis__band { padding: 3.5rem 0; }
.aivis__band-grid { display: grid; grid-template-columns: 1fr 1fr; }
.aivis__band .h2 { margin: 0; }
.aivis__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
.aivis__text { padding-bottom: 3rem; }
.aivis__text p { font-size: 1rem; margin-bottom: 1.75rem; }
.aivis__media { position: relative; margin-top: -11rem; padding-bottom: 11rem; }
.aivis__photo { position: relative; z-index: 1; width: 60%; margin-left: 15%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.aivis__shape1 { left: 5%; top: 40%; }
.aivis__shape2 { right: 0; top: 4rem; }

.fact {
  position: absolute; z-index: 2; background: var(--white); border-radius: 25.5px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center;
  padding: 1.1rem 1.5rem 2rem; width: min(420px, 85%);
}
.fact__num { display: flex; flex-direction: column; align-items: center; text-align: center; }
.fact__num > span { font-family: var(--font-head); font-weight: 700; font-size: 3.25rem; line-height: 1; }
.fact__num small { font-weight: 700; font-size: .8rem; line-height: 1.3; margin-top: .25rem; }
.fact__text { font-style: italic; font-size: .9rem; line-height: 1.45; margin: 0; }
.fact__src {
  position: absolute; right: 0; bottom: 0; font-size: 10.2px; line-height: 1.2; color: var(--white);
  padding: .35rem 1rem; border-radius: 1rem 0 25.5px 0; text-decoration: none;
}
a.fact__src:hover { text-decoration: underline; }
.fact--purple .fact__num { color: var(--purple); }
.fact--purple .fact__src { background: var(--purple); }
.fact--blue .fact__num { color: var(--blue); }
.fact--blue .fact__src { background: var(--blue); }
.aivis__fact1 { left: 0; bottom: 8.5rem; }
.aivis__fact2 { right: 0; bottom: 0; }

/* ---------- Testimonials (unchanged) ---------- */
.testimonials { padding: 5rem 0 3rem; border-bottom: 1px solid #e5e5e5; }
.tcarousel__track {
  display: flex; gap: 2.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 1.5rem 4% 2rem; scroll-padding: 0 4%; scrollbar-width: none;
}
.tcarousel__track::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 min(640px, 46%); scroll-snap-align: start;
  display: grid; grid-template-columns: auto 1fr; gap: 0 1.5rem;
  border-radius: 2.25rem; padding: 3rem 3.25rem 2.5rem 2.25rem; color: var(--white);
}
.tcard:nth-child(3n + 1) { background: var(--blue); }
.tcard:nth-child(3n + 2) { background: var(--green); }
.tcard:nth-child(3n + 3) { background: var(--purple-light); }
.tcard__mark { font-family: "Playfair Display", serif; font-weight: 700; font-size: 5.5rem; line-height: .85; }
.tcard blockquote { margin: 0; font-size: 1rem; }
.tcard__by { grid-column: 2; text-align: right; margin: 0; font-size: .95rem; }
.tcarousel .carousel__controls { margin-bottom: 0; }

/* ---------- 8. Brands ---------- */
.brands { position: relative; padding: 4rem 0; box-shadow: 0 8px 16px rgba(0, 0, 0, .06); }
.brands__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.brands__text { order: 2; position: relative; }
.brands__text p { font-size: 1rem; margin-bottom: 1.75rem; }
.brands__shape { right: 0; top: -2rem; }
.brands__shape2 { right: 0; bottom: 3rem; width: 70px; }
.brands__logos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; align-items: center; justify-items: center;
}
.brands__rw { grid-column: 1 / -1; width: 260px; }
.brands__crva { text-align: center; }
.brands__crva img { width: 120px; margin: 0 auto; }
.brands__crva figcaption { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
.brands__ahc { width: 150px; grid-row: span 2; position: relative; z-index: 1; }
.brands__carl { width: 160px; }

/* ---------- 9. Insights ---------- */
.insights { padding: 6rem 0 5rem; }
.insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; margin: 3rem 0 3rem; }
.icard {
  display: flex; flex-direction: column; background: var(--card-grey); border-radius: 25.5px; padding: 2rem;
  box-shadow: var(--shadow);
}
.icard__img { display: block; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1.25rem; aspect-ratio: 16 / 10; }
.icard__img img { width: 100%; height: 100%; object-fit: cover; }
.icard__title { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.4; font-weight: 700; padding: 0 .5rem; }
.icard__by { padding: 0 .5rem; font-size: .9rem; margin-bottom: 1rem; }
.icard__excerpt { padding: 0 .5rem; font-size: .9rem; }
.icard .btn { margin-top: auto; }

/* ---------- Footer ---------- */
.newsletter { color: var(--white); padding: 3rem 0; }
.newsletter__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; max-width: 1000px; }
.newsletter__title { font-family: var(--font-head); font-size: 2.1rem; line-height: 1.2; margin: 0 0 .5rem; }
.newsletter__line { margin: 0; font-size: .95rem; }
.newsletter__form { display: flex; align-items: center; background: var(--white); border-radius: var(--pill); padding: 4px; }
.newsletter__form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: .9rem; padding: .5rem 1rem; color: var(--navy); }
.newsletter__form input:focus { outline: none; }

.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 2rem; padding: 3.5rem 0 2rem; }
.footer__brand img { width: 230px; }
.footer__brand p { font-size: .9rem; margin-bottom: 1rem; }
.footer a { text-decoration: none; }
.footer__heading { font-family: var(--font-head); font-weight: 700; color: var(--blue); font-size: 1.1rem; margin: 0 0 .75rem; }
.footer__col ul { margin-bottom: 1.5rem; }
.footer__col li a { display: block; font-size: .9rem; line-height: 1.4; padding: .3rem 0; }
.footer__col li a:hover { color: var(--purple); }
.social { display: flex; gap: .6rem; margin: 1.25rem 0 1.5rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--white); }
.social svg { width: 16px; height: 16px; }
.social--purple { background: var(--purple); }
.social--green { background: var(--green); }
.social--blue { background: var(--blue); }
.social--grey { background: #8a8a93; }
.badges { display: flex; gap: 1rem; align-items: center; }
.badges img { width: 100px; }
.footer__bottom { text-align: center; padding: 1rem 0 3rem; font-size: .9rem; }
.footer__bottom p { max-width: 900px; margin: 0 auto .5rem; }
.footer__bottom a { color: var(--green); font-weight: 700; }

/* ================= Responsive ================= */
@media (max-width: 1200px) {
  .nav__list { gap: 1.75rem; }
  .masthead__logo img { width: 250px; }
  .brands__shape { display: none; }
}

@media (max-width: 979px) {
  :root { --section-y: 3rem; }
  .h2 { font-size: 1.9rem; }
  .nav { display: none; }
  .masthead__tools { margin-left: auto; }

  .hero__inner { padding: 6rem 0 5rem; }

  .intro__grid, .partners__grid, .brands__grid, .services__band-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .partners__text, .brands__text { order: 0; }
  .intro__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .intro__text, .partners__text, .brands__text, .aivis__text,
  .services__band-text, .projects__head, .midcta__inner {
    max-width: 800px; margin-left: auto; margin-right: auto; width: 100%;
  }

  .midcta { grid-template-columns: 1fr; }
  .midcta__media { min-height: 300px; }

  .projects__head { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .projects__title { padding-left: 0; }
  .pcard { flex-basis: calc((100% - 2.2rem) / 2); }

  .scard, .scard--reverse { grid-template-columns: 220px 1fr; gap: 1.75rem; }
  .scard--reverse .scard__media { order: 0; }

  .partners__media { max-width: 560px; margin: 0 auto; width: 100%; }

  .logos__grid { grid-template-columns: repeat(3, 1fr); }

  .aivis__band-grid { grid-template-columns: 1fr; }
  .aivis__grid { grid-template-columns: 1fr; gap: 2rem; }
  .aivis__media { order: -1; margin-top: 2.5rem; max-width: 560px; width: 100%; margin-left: auto; margin-right: auto; }
  .aivis__text { padding-bottom: 0; }

  .tcard { flex-basis: 80%; }

  .insights__grid { grid-template-columns: 1fr 1fr; }
  .insights__grid .icard:last-child { grid-column: 1 / -1; max-width: calc(50% - 1.1rem); justify-self: center; }

  .newsletter__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .container { width: auto; margin: 0 16px; }
  .h2 { font-size: 1.65rem; }
  .h2 br { display: none; }
  .hero__inner { padding: 4.5rem 0 4rem; }
  .hero__eyebrow { font-size: .9rem; }
  .hero__display { font-size: 1.9rem; }

  .intro__media { padding: 1rem 0 3rem 1rem; }

  .midcta__inner { padding: 3rem 16px; }

  .projects { padding-top: 4rem; }
  .projects__shape, .brands__shape { display: none; }
  .pcard { flex-basis: 86%; padding: 1.5rem; }
  .carousel__track { gap: 1rem; }

  .services__cards { padding: 3rem 0; }
  .scard, .scard--reverse { grid-template-columns: 1fr; padding: 1.5rem; margin-bottom: 1.75rem; }
  .scard__title { font-size: 1.25rem; }
  .services__shape1, .services__shape2 { display: none; }

  .stats { margin-top: -6rem; max-width: none; }
  .stat-card:nth-of-type(2), .stat-card:nth-of-type(3) { margin-left: 0; }
  .partners__photo { width: 80%; margin-left: 10%; }

  .logos__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }

  .aivis__media { padding-bottom: 0; }
  .aivis__photo { width: 80%; margin-left: 10%; }
  .fact { position: relative; width: 100%; left: auto; right: auto; bottom: auto; margin-top: 1rem; }
  .aivis__fact1 { margin-top: -3rem; }

  .tcard { flex-basis: 88%; padding: 2rem 1.75rem 2rem 1.25rem; gap: 0 .75rem; }
  .tcard__mark { font-size: 4rem; }

  .insights__grid { grid-template-columns: 1fr; }
  .insights__grid .icard:last-child { max-width: none; }

  .newsletter__title { font-size: 1.7rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel__track, .tcarousel__track { scroll-behavior: auto; }
}

/* ---- Newsletter Gravity Form (production only) ---- */
.newsletter__gf .gform_wrapper { margin: 0; }
.newsletter__gf .gform_heading, .newsletter__gf .gfield_required { display: none; }
.newsletter__gf .gfield_label { color: var(--white) !important; }
.newsletter__gf form { display: flex; align-items: center; gap: .75rem; }
.newsletter__gf .gform_body { flex: 1; min-width: 0; }
.newsletter__gf .gform_footer { margin: 0 !important; padding: 0 !important; flex: none; }
.newsletter__gf .gform_footer button.gform_button { transition: background-color .3s ease; }
.newsletter__gf .gform_footer button.gform_button:hover,
.newsletter__gf .gform_footer button.gform_button:focus-visible { background-color: var(--blue) !important; color: var(--white) !important; }
.newsletter__gf .gform_footer button.gform_button:hover .submit-icon svg,
.newsletter__gf .gform_footer button.gform_button:focus-visible .submit-icon svg { fill: var(--blue) !important; }
