/**
 * Main theme styles.
 *
 * @package LaMKTech
 * @since 0.1.0
 */

/* Prevent horizontal scroll: constrain viewport and ensure box-sizing. */
html {
  overflow-x: hidden;
  box-sizing: border-box;
}
/* Do not set scroll-behavior: smooth on html — it fights GSAP ScrollTrigger (rolling cards pin/scrub, footer, etc.). Same-page # links use JS scrollIntoView in main.js. */
body {
  overflow-x: hidden;
  box-sizing: border-box;
  margin: 0;
  max-width: 100%;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
.site-main {
  overflow-x: clip;
  max-width: 100%;
}
/* Sticky newsletter sidebar uses position:sticky; overflow other than visible on an ancestor breaks it in some engines. */
.site-main.article-single,
.site-main.resource-single {
  overflow-x: visible;
}
html:has(.article-single),
html:has(.resource-single),
body:has(.article-single),
body:has(.resource-single) {
  overflow-x: visible;
}

/*
 * 404 page gradient token.
 */
:root {
  /* Ellipse center pinned to viewport bottom-right. */
  --background-not-found-page-gradient: radial-gradient(
    89.04% 80.08% at right bottom,
    #b3e29c 0%,
    #dffe67 50.7%,
    #e6e7da 100%
  );
}
html:has(body.error404) {
  min-height: 100%;
  background-color: #e6e7da;
}
/*
 * Full-viewport gradient layer: paints behind all in-flow content at true viewport size.
 * Body-level background was easy to wash out (stacking / Tailwind body fill); fixed ::before matches reference saturation.
 */
body.error404 {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: transparent !important;
  background-image: none !important;
}
body.error404::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #e6e7da;
  background-image: var(--background-not-found-page-gradient);
  background-repeat: no-repeat;
  /* One layer = full viewport: ellipse % and `at right bottom` align with the real corner.
	   Oversized background-size was shifting the bright spot toward the center. */
  background-size: 100% 100%;
  background-position: right bottom;
}
/* Transparent header on 404 so .is-scrolled white bar does not mute the hero gradient. */
body.error404 .js-nav-header.header-bar,
body.error404 .js-nav-header.is-scrolled,
body.error404 .js-nav-header.is-scrolled .js-nav-mobile-topbar {
  background-color: transparent !important;
}
.site-main--404 {
  padding-top: 5rem;
  background: transparent;
}
.site-404 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  /* No footer on 404: fill viewport below fixed header. */
  min-height: calc(100dvh - 5rem);
  min-height: calc(100svh - 5rem);
  padding-top: 2rem;
  padding-bottom: 3rem;
  background: transparent;
}
.site-404__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: min(120rem, 1920px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 768px) {
  .site-404__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .site-404 {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}
.site-404__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .site-404__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}
.site-404__numeral {
  margin: 0;
  font-size: 88px;
  font-weight: 400;
  line-height: 1;
  color: #656565;
  letter-spacing: -0.02em;
}
@media (min-width: 1024px) {
  /* Optical align with “Page not found.” cap height (baseline grid sat the numeral low). */
  .site-404__numeral {
    transform: translateY(-0.12em);
  }
}
.site-404__content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.site-404__title {
  margin: 0;
  font-size: 88px;
  font-weight: 400;
  line-height: 1;
  color: #171717;
  letter-spacing: -0.01em;
}
.site-404__description {
  margin: 0;
  font-size: 28px;
  line-height: 24px;
  color: rgb(52, 52, 52);
  max-width: 36rem;
}
.site-404__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 1rem 1.25rem;
  border-radius: 9999px;
  background-color: #171717;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
  align-self: flex-start;
}
.site-404__cta:hover {
  background-color: #000;
  color: #fff;
}
.site-404__cta-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

/* Carousel: horizontal flex track can extend past the viewport; clip at the region root. */
.js-carousel {
  max-width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}

/* Content carousel: slides must not stretch to tallest row height (that caused huge empty bands on mobile). */
@media (max-width: 767px) {
  .js-carousel .js-carousel-viewport > .flex,
  .js-carousel .js-carousel-viewport .embla__container {
    align-items: flex-start;
  }
  /* Outer clips to JS height; inner fills outer so Embla measures a bounded viewport. */
  .js-carousel .js-carousel-viewport-outer {
    transition: height 0.2s ease;
    min-height: 0;
  }
  .js-carousel .js-carousel-viewport-outer .js-carousel-viewport {
    min-height: 0;
    height: 100%;
  }
}

/* Homepage carousel: default section bottom padding is heavy on small screens; tighten slightly. */
@media (max-width: 767px) {
  .site-main .section.section--carousel {
    padding-bottom: 2.75rem;
  }
}

/*
 * Grid slide: flex-basis 2x singles at every tier (sm/md/lg/c-2xl/2xl). Fixes medium crop; small uses 2x2 + wide slide.
 */
@media (max-width: 39.98rem) {
  .js-carousel [role="group"].carousel-slide--grid {
    flex-basis: calc(100% * 12 / 7) !important;
  }
}
@media (min-width: 40rem) {
  .js-carousel [role="group"].carousel-slide--grid {
    flex-basis: 94% !important;
  }
}
@media (min-width: 64rem) {
  .js-carousel [role="group"].carousel-slide--grid {
    flex-basis: 64% !important;
  }
}
@media (min-width: 90rem) {
  .js-carousel [role="group"].carousel-slide--grid {
    flex-basis: 66.68% !important;
  }
}
@media (min-width: 96rem) {
  .js-carousel [role="group"].carousel-slide--grid {
    flex-basis: 50% !important;
  }
}

/*
 * 2x2 inner grid: height must match single aspect-square cards.
 * - Desktop: track align-items stretch (below); grid slide flex chain fills row height = tallest single.
 * - Mobile: track stays flex-start + JS viewport height; use 50cqw (= half grid-slide width ≈ one single width).
 * aspect-ratio 2/1 on full width was wrong when slide width ≠ 2× single (too tall small / too short large).
 */
.js-carousel .carousel-grid-block {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  min-height: 0;
}

@media (max-width: 767px) {
  .js-carousel [role="group"].carousel-slide--grid {
    container-type: inline-size;
  }
  .js-carousel [role="group"].carousel-slide--grid .carousel-grid-block {
    height: 50cqw;
    max-height: 50cqw;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .js-carousel .js-carousel-viewport > .flex,
  .js-carousel .js-carousel-viewport .embla__container {
    align-items: stretch;
  }
  .js-carousel [role="group"].carousel-slide--grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .js-carousel [role="group"].carousel-slide--grid > .h-full {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .js-carousel [role="group"].carousel-slide--grid .carousel-grid-block {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    align-self: stretch;
  }
}

.js-carousel .carousel-grid-block__cell {
  min-height: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
}
.js-carousel .carousel-grid-block__cell > .group {
  min-height: 0;
  height: 100%;
}

/* Header: ensure on top of content and visible shell; transparent until scrolled.
   Force edge-to-edge: margin-inline:auto + max-width on a fixed box can inset the bar; reset margins
   and use left+right (width auto) so the scrolled background spans the full viewport. */
.js-nav-header.header-bar {
  position: fixed;
  z-index: 9999;
  overflow: visible;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: transparent;
}
/* Desktop: full-bleed bar; logo + nav constrained like .section-container (not the bar background). */
.header-bar__inner {
  display: none;
  box-sizing: border-box;
}
@media (min-width: 1280px) {
  .header-bar__inner {
    display: block;
  }
  .header-bar__inner > nav {
    box-sizing: border-box;
    width: 100%;
    max-width: min(120rem, 1920px);
    margin-left: auto;
    margin-right: auto;
    /* Align with .section-container md gutters (xl is always ≥768px). */
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.js-nav-header.is-scrolled {
  background-color: #fff;
}
/* Mobile top bar uses Tailwind bg-transparent; force solid when header is scrolled. */
.js-nav-header.is-scrolled .js-nav-mobile-topbar {
  background-color: #fff;
}
/* Tailwind can win specificity on load; keep transparent over services video hero. */
body:has(.hero.hero--high-impact--legacy-layout)
  .js-nav-header.header-bar:not(.is-scrolled) {
  background-color: transparent !important;
}
body:has(.hero.hero--high-impact--legacy-layout)
  .js-nav-header.header-bar:not(.is-scrolled)
  .js-nav-mobile-topbar {
  background-color: transparent !important;
}

/*
 * Mobile nav: sheet below persistent top bar (logo + hamburger). Top bar stays above sheet/backdrop.
 */
.js-nav-mobile-backdrop.nav-mobile-backdrop {
  z-index: 9990;
  top: var(--nav-mobile-topbar-height, 4.75rem);
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.js-nav-mobile-backdrop.nav-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.js-nav-mobile-overlay.nav-mobile-overlay {
  z-index: 9992;
  top: var(--nav-mobile-topbar-height, 4.75rem);
  right: 0;
  bottom: 0;
  left: auto;
  box-sizing: border-box;
  width: 100%;
  max-width: 384px;
  transform: translateX(100%);
  transition:
    transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
    visibility 0.3s ease;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
}
.nav-mobile-overlay.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.nav-mobile-overlay__stage {
  width: 100%;
  max-width: 100%;
  margin-top: 45px;
  padding-top: 0;
  box-sizing: border-box;
}

.js-nav-header.is-mobile-menu-open .js-nav-mobile-topbar {
  background-color: #fff;
}

/* Sub-panel enter animation (match sheet slide timing). */
.nav-mobile-pane {
  width: 100%;
  min-height: min-content;
}
.nav-mobile-pane--from-right {
  animation: nav-mobile-pane-from-right 0.3s cubic-bezier(0.25, 0.1, 0.25, 1)
    forwards;
}
.nav-mobile-pane--from-left {
  animation: nav-mobile-pane-from-left 0.3s cubic-bezier(0.25, 0.1, 0.25, 1)
    forwards;
}
@keyframes nav-mobile-pane-from-right {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes nav-mobile-pane-from-left {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/*
 * Hamburger trigger: explicit fill so the grey circle shows even when Tailwind arbitrary
 * bg-* utilities are not present in the compiled stylesheet.
 */
.js-nav-mobile-trigger.nav-mobile-trigger {
  background-color: #f0f0f0;
  border-radius: 9999px;
}

/* Hamburger: three lines → X in place (light grey circle on button). */
.nav-mobile-trigger__icon {
  position: relative;
  display: block;
  height: 0.875rem;
  width: 1rem;
}
.nav-mobile-trigger__bar {
  position: absolute;
  left: 0;
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 9px;
  background-color: #343434;
  transform-origin: center;
  transition:
    transform 0.3s ease,
    opacity 0.25s ease,
    top 0.3s ease;
}
.nav-mobile-trigger__bar:nth-child(1) {
  top: 0;
}
.nav-mobile-trigger__bar:nth-child(2) {
  top: 6px;
}
.nav-mobile-trigger__bar:nth-child(3) {
  top: 12px;
}
.js-nav-mobile-trigger.is-open .nav-mobile-trigger__bar:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.js-nav-mobile-trigger.is-open .nav-mobile-trigger__bar:nth-child(2) {
  opacity: 0;
}
.js-nav-mobile-trigger.is-open .nav-mobile-trigger__bar:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Mobile nav rows (see design spec). */
.nav-mobile-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  background: none;
  padding: 1rem 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #343434;
  text-decoration: none;
}
a.nav-mobile-row {
  cursor: pointer;
}
.nav-mobile-row__label {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  letter-spacing: 0.02em;
  color: #343434;
}
.nav-mobile-row__chevron {
  flex-shrink: 0;
  color: #525252;
}
.nav-mobile-row--back .nav-mobile-row__label {
  color: #525252;
}
.nav-mobile-row--back {
  justify-content: flex-start;
  gap: 0.25rem;
}
.nav-mobile-row--back .nav-mobile-row__chevron {
  flex-shrink: 0;
}
.nav-mobile-overlay__divider {
  margin: 0;
  border: 0;
  border-top: 1px solid #e4e4e4;
}
.nav-mobile-overlay__footer {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.nav-mobile-overlay__tagline {
  font-size: 1.5rem;
  line-height: 2rem;
  color: #525252;
}
.nav-mobile-overlay__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #343434;
  text-decoration: none;
}
.nav-mobile-overlay__cta:hover {
  opacity: 0.85;
}

/* High-impact hero layout (title above shell; scroll expands shell). */
.hero.hero--high-impact {
  margin-top: -5rem;
  margin-bottom: 0;
}

/* Homepage inlay only: breathing room before the next section (h2). */
.hero.hero--high-impact:not(.hero--high-impact--legacy-layout) {
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout) {
    margin-bottom: 4rem;
  }
}

.hero-high-impact__wrap {
  padding-top: 7.25rem;
  padding-bottom: 0.875rem;
}
@media (min-width: 768px) {
  .hero-high-impact__wrap {
    padding-top: 11.875rem;
    padding-bottom: 2.375rem;
  }
}
@media (min-width: 1024px) {
  .hero-high-impact__wrap {
    padding-top: 9.5rem;
    padding-bottom: 9rem;
  }
}

/* Exact 80px gap: .section-container adds huge padding-bottom by default; without overriding it the space below the h1 is hundreds of px. */
.hero.hero--high-impact .hero-high-impact__title-row.section-container {
  padding-bottom: 0 !important;
  margin-bottom: 80px;
}

.hero-high-impact__title-row h1 {
  margin-bottom: 0;
}

@media (max-width: 599px) {
  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
    .hero-high-impact__title-row
    h1 {
    font-size: 58px !important;
  }
}

/* Full width of <main>; do not add max-width here or scrolled “full bleed” stops at that container. */
.hero-high-impact__stage {
  width: 100%;
  max-width: 100%;
  max-height: 100vh;
  overflow: visible;
}

/* Homepage inlay: inset via stage padding so shell stays 100% wide — avoids Safari clip-path shift during margin-auto width transitions. */
.hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
  .hero-high-impact__stage {
  max-height: none;
  padding: 0 1.25rem;
  transition: padding 0.4s ease;
}

.hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
  .hero-high-impact__shell {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 34.375rem; /* 550px */
  border-radius: 0;
  overflow: visible;
}

/* Shadow wrapper: filter here so drop-shadow sees the clipped triangle shape from the child */
.hero-high-impact__bg-shadow {
  position: absolute;
  inset: 0;
  filter: drop-shadow(8px 20px 28px rgba(0, 0, 0, 0.6)) drop-shadow(4px 10px 12px rgba(0, 0, 0, 0.4));
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Clip-path on child so shadow is not clipped. translateZ forces GPU compositing so Safari
   recalculates clip-path coordinates in sync with the parent width transition. */
.hero-high-impact__bg-wrapper {
  position: absolute;
  inset: 0;
  -webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.82;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.hero-high-impact__bg-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(30, 40, 60, 0.55) 100%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
    .hero-high-impact__stage {
    padding: 0 2rem;
  }

  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
    .hero-high-impact__shell {
    height: 46.125rem; /* 738px */
  }
}

/*
 * Homepage inlay — mobile: single viewport hero (no nested scrolling).
 * Wrap min-height uses lvh + fill-available (not 100dvh alone) so the band matches visible height.
 */
@media (max-width: 767px) {
  /*
	 * Homepage inlay mobile: use block layout + explicit shell height. Flex + height:100% on the
	 * shell failed here: abs-pos media gives the stage no intrinsic height, so percentage heights
	 * collapsed and the hero vanished below 768px.
	 */
  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout) {
    margin-top: 0;
  }

  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
    .hero-high-impact__wrap {
    padding-top: calc(5.25rem + env(safe-area-inset-top, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    /* Avoid 100vh/100dvh as the effective floor — often shorter than the visible band on iOS; lvh + fill-available track “tall” viewports. */
    min-height: 100vh;
    min-height: 100lvh;
    min-height: -webkit-fill-available;
    display: block;
  }

  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
    .hero-high-impact__title-row.section-container {
    margin-bottom: 1.25rem !important;
  }

  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
    .hero-high-impact__stage {
    width: 100%;
    max-height: none;
    min-height: 650px;
    min-height: max(650px, 56dvh);
  }

  /*
	 * At least 650px; grows with viewport (max) so the card is not stuck to a short 100vh/dvh band.
	 */
  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
    .hero-high-impact__shell {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 650px;
    height: max(650px, 56dvh);
    min-height: 650px;
    min-height: max(650px, 56dvh);
    max-height: none;
    overflow: visible;
  }

  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
    .hero-high-impact__inlay {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    left: 1.25rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    z-index: 1;
    overflow: visible;
  }
}

/* Narrow phones only: taller inlay shell on tall portrait (e.g. iPhone 16); not applied to 481px–767px tablets/small landscape. */
@media (max-width: 480px) {
  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
    .hero-high-impact__stage {
    min-height: clamp(650px, 82dvh, 900px);
  }

  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
    .hero-high-impact__shell {
    height: clamp(650px, 82dvh, 900px);
    min-height: clamp(650px, 82dvh, 900px);
  }
}

.hero.hero--high-impact:not(.hero--high-impact--legacy-layout).is-scrolled
  .hero-high-impact__stage {
  padding: 0;
}

.hero-high-impact__bg-media {
  /* Corners come from shell overflow + radius; no separate radius on media. */
  border-radius: 0;
}

.hero-high-impact__bg-fallback {
  background: linear-gradient(
    155deg,
    rgb(245 245 245) 0%,
    rgb(229 229 229) 50%,
    rgb(250 250 250) 100%
  );
}

/* Inlay: transparent — no background shape. */
.hero-high-impact__inlay {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  overflow: visible;
  position: relative;
}

.hero-high-impact__inlay > nav {
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .hero-high-impact__inlay > nav {
    margin-top: 0.75rem;
  }
}

.hero-high-impact__inlay-body {
  max-width: 70%;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-high-impact__inlay-body {
    max-width: 80%;
  }
}

@media (max-width: 767px) {
  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout)
    .hero-high-impact__inlay-body {
    max-width: 100%;
  }
}

@media (min-width: 96rem) {
  .hero-high-impact__inlay {
    padding: 4rem;
  }
}

/* Primary: pill (dark grey + white text). Secondary: inline text link, not a button. */
.hero-high-impact__cta--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 9999px;
  padding: 13.8px 23px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  background-color: rgb(52, 52, 52);
  color: #ffffff;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
}
.hero-high-impact__cta--primary:hover {
  background-color: #000;
}

.hero-high-impact__cta--secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  color: #171717;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}
.hero-high-impact__cta--secondary:hover {
  opacity: 0.8;
  color: #171717;
}

.hero-high-impact__cta-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  pointer-events: none;
}

/*
 * High-impact hero — services reference: full-width panel, video bg, headline + subcopy + CTA bottom-left.
 * Non-home: shell min-height 100dvh on load; scrollY > 32px adds 32px side inset + 10px radius on shell (see .is-scrolled rules).
 * Filter `lamktech_high_impact_legacy_layout` (default: all pages except front page).
 */
/*
 * Pull into main.pt-20 zone; wrap padding + stage negative margin = video/shell from viewport top
 * behind transparent nav (reference), without a solid band above the hero.
 */
.hero.hero--high-impact--legacy-layout {
  margin-top: -5rem;
  padding-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background-color: transparent;
}
.hero.hero--high-impact--legacy-layout .hero-high-impact__wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-top: 5rem;
  padding-bottom: 2rem;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 768px) {
  .hero.hero--high-impact--legacy-layout .hero-high-impact__wrap {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Services / interior high-impact (not front-page inlay hero): space below full-bleed shell. */
body:not(.home) .hero.hero--high-impact .hero-high-impact__wrap {
  padding-bottom: 220px;
}

.hero.hero--high-impact--legacy-layout .hero-high-impact__stage--services {
  width: 100%;
  max-width: 100%;
  max-height: none;
  margin-top: -5rem;
}
.hero.hero--high-impact--legacy-layout .hero-high-impact__shell--services {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  /* Full viewport behind transparent header on load; homepage uses the inlay shell, not --services. */
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  border-radius: 0;
  transition:
    width 0.4s ease,
    border-radius 0.4s ease,
    margin 0.4s ease;
}
/* Scrolled: 32px inset each side + rounded corners (JS toggles .is-scrolled on section when scrollY > 32). */
.hero.hero--high-impact--legacy-layout.is-scrolled
  .hero-high-impact__shell--services {
  width: calc(100% - 64px);
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
}

/*
 * Viewport > 1920px: wrap full-bleed at top; after scroll (.is-scrolled) match .section-container
 * (min(120rem,1920px) + 2rem gutters). Homepage inlay shell: inset card at top → full width in column when scrolled.
 */
@media (min-width: 1921px) {
  .hero.hero--high-impact .hero-high-impact__wrap {
    box-sizing: border-box;
    width: 100%;
    transition:
      max-width 0.4s ease,
      padding-left 0.4s ease,
      padding-right 0.4s ease;
  }

  /* Full-bleed load: none beats parent %; title row otherwise stays .section-container–wide (looks “scrolled”). */
  .hero.hero--high-impact:not(.is-scrolled) .hero-high-impact__wrap {
    max-width: none !important;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero.hero--high-impact:not(.is-scrolled)
    .hero-high-impact__title-row.section-container {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .hero.hero--high-impact.is-scrolled .hero-high-impact__wrap {
    max-width: min(120rem, 1920px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .hero.hero--high-impact.is-scrolled
    .hero-high-impact__title-row.section-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Guttered wrap: on scroll stage padding goes to 0, shell (always 100%) fills full width. */
  .hero.hero--high-impact:not(.hero--high-impact--legacy-layout).is-scrolled
    .hero-high-impact__stage {
    padding: 0;
  }

  .hero.hero--high-impact--legacy-layout.is-scrolled
    .hero-high-impact__shell--services {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}
.hero.hero--high-impact--legacy-layout .hero-high-impact__bg-media--services {
  border-radius: 0;
}
.hero-high-impact__services-inner {
  position: absolute;
  z-index: 2;
  inset: 0;
  box-sizing: border-box;
  display: flex;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.5rem 1.5rem 2rem;
}
@media (min-width: 768px) {
  .hero-high-impact__services-inner {
    padding: 2rem 2rem 2.75rem;
  }
}
@media (min-width: 1024px) {
  .hero-high-impact__services-inner {
    padding: 2.5rem 2.5rem 3.25rem;
  }
}
.hero-high-impact__services-heading {
  margin: 0 0 40px;
  max-width: min(36rem, 100%);
  font-size: 44px;
  line-height: 1em;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #1f1f1f;
}
@media (min-width: 768px) {
  .hero-high-impact__services-heading {
    font-size: 52px;
  }
}
.hero-high-impact__services-sub {
  margin: 0 0 1.25rem;
  max-width: min(27.625rem, 100%);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  color: #1f1f1f;
}
.hero-high-impact__services-sub p {
  margin: 0;
}
.hero-high-impact__services-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

/* Contained text CTA: match primary CTA button styling with arrow. */
.section--contained-text__inner .section__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 54px;
  padding: 0 1.5rem;
  border-radius: 2rem;
  background-color: #404040;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 400;
  gap: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.section--contained-text__inner .section__cta a:hover {
  background-color: #262626;
}

.section--contained-text__inner .section__cta a svg {
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
}

/* Simple hero (Type = Simple) with image: center all content vertically over background. */
.hero-simple__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
}

/* Dropdowns must stack above header so they are visible when open. */
.js-nav-dropdown {
  z-index: 1060;
}

/* Invisible bridge above the panel so the pointer can move from the trigger into the
   dropdown without leaving the hit target (avoids accidental close over the gap). */
.js-nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 1rem;
  pointer-events: none;
}

.js-nav-dropdown.is-open::before {
  pointer-events: auto;
}

.js-nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Nav item dot visible when dropdown is open. */
.js-nav-item[data-state="open"] .js-nav-dot {
  visibility: visible;
  transform: scale(1);
}

/* Industries mega-menu: center horizontally relative to its trigger. */
.nav-dropdown-mega {
  left: 50%;
  transform: translateX(-50%);
}

/* Industries mega-menu: special box gradient. */
.nav-mega-industries-box {
  background: radial-gradient(
    72.04% 58.81% at 97.17% 100%,
    #dffe67 0%,
    #e6e7da 95%
  );
}

/* Carousel description: font size, family, color. */
.carousel-description,
.carousel-description p {
  font-family: "basisGrotesque", sans-serif;
  font-size: 1rem;
  line-height: 1.4rem;
  color: #343434;
  font-weight: 400;
  max-width: 60rem;
}
.carousel-description--large,
.carousel-description--large p {
  font-family: "basisGrotesque", sans-serif;
  font-size: 2rem;
  line-height: 2rem;
  letter-spacing: -0.038rem;
  color: #adadad;
  max-width: 36.5rem;
  font-weight: 400;
  max-width: 60rem;
}
@media (min-width: 1024px) {
  .carousel-description--large,
  .carousel-description--large p {
    max-width: 50rem;
  }
}
.carousel-description--large strong,
.carousel-description--large b {
  color: #343434;
  font-weight: 400;
}

/* Card styles for industry pages. */
.bg-card {
  background-color: hsl(0 0% 100%);
}
.text-card-foreground {
  color: hsl(0, 0%, 0%);
}
.bg-card-gradient {
  background-image: radial-gradient(
    83.96% 83.96% at 100% 100%,
    #dffe67 0%,
    #f0f0f0 100%
  );
}
.hover\:bg-card-gradient:hover {
  background-image: radial-gradient(
    83.96% 83.96% at 100% 100%,
    #7aa3ef 0%,
    #d6e6ff 100%
  );
}

/* Testimonial card gradient. */
.bg-testemonial-card-gradient {
  background-image: radial-gradient(
    35.23% 35.23% at 50.07% 100%,
    #dffe67 0%,
    #e6e7da 95%
  );
}

/* Contained text section. */
.bg-contained-text-gradient {
  background-image: radial-gradient(
    39.97% 76.26% at 50% 115.31%,
    rgba(179, 226, 156, 0.7) 0%,
    rgba(223, 254, 103, 0.7) 50.7%,
    #e6e7da 100%
  );
}

/* Rolling cards: prevent scroll anchoring jump. */
.prevent-scroll-jump {
  overflow-anchor: none !important;
}

/* Features list: section title + subtitle-1 sizes. */
.section--features-list .section__title {
  font-size: 28px;
}

.section--features-list .text-subtitle-1 {
  font-size: 28px;
  line-height: 1.75rem;
  letter-spacing: -0.031rem;
  margin: 0;
}

/* Info panel (About etc.): left copy, optional full-bleed background art. */
.section--info-panel .info-panel__card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  border: none;
  border-radius: 0.75rem;
  box-shadow: none;
  background-color: #e6efe8;
  background-image: linear-gradient(
    100deg,
    #eef6f0 0%,
    #dfece3 55%,
    #d8e8dd 100%
  );
  padding: 5rem 1.875rem 3.125rem;
}
@media (min-width: 1024px) {
  .section--info-panel .info-panel__card {
    min-height: 28.875rem;
    padding: 4rem 7.375rem 1.563rem 3.125rem;
  }
}
.section--info-panel .info-panel__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.section--info-panel .info-panel__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
@media (min-width: 1024px) {
  .section--info-panel .info-panel__bg-img {
    object-position: center;
  }
}
.section--info-panel .info-panel__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 23.625rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.625rem;
}
@media (min-width: 768px) {
  .section--info-panel .info-panel__inner {
    max-width: 34.813rem;
  }
}
.section--info-panel .info-panel__title {
  margin: 0;
  font-size: 52px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #262626;
  text-align: left;
}
.section--info-panel .info-panel__desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: #262626;
  text-align: left;
}
.section--info-panel .info-panel__desc p {
  margin: 0 0 0.75em;
}
.section--info-panel .info-panel__desc p:last-child {
  margin-bottom: 0;
}

/* Cards grid: section title + strong. */
.section--cards-grid.section-container .section__title {
  max-width: 820px;
}
.section--cards-grid .section__title {
  font-size: 32px;
  color: rgb(141, 141, 141);
  margin-bottom: 0;
}

.section--cards-grid .section__title strong {
  font-weight: normal;
  color: rgb(52, 52, 52);
}

.section--cards-grid .grid-cols-1 {
  margin-top: 88px;
}

@media (min-width: 1921px) {
  .section--cards-grid .cards-grid__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Cards grid cards (title 28px + 80px icon, hover gradient + learn more). */
.section--cards-grid .cards-grid__card {
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: none;
  border-radius: 0.625rem;
  background-color: #f5f5f5;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
  min-height: 26rem;
  transition-property: box-shadow;
  transition-duration: 0.3s;
}
@media (min-width: 768px) {
  .section--cards-grid .cards-grid__card {
    min-height: 32rem;
  }
}
.section--cards-grid .cards-grid__card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.section--cards-grid .cards-grid__card:hover .cards-grid__card-bg,
.section--cards-grid .cards-grid__card:focus-within .cards-grid__card-bg {
  opacity: 1;
}
.section--cards-grid .cards-grid__card-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background-image: radial-gradient(
    83.96% 83.96% at 100% 100%,
    #dffe67 0%,
    #f0f0f0 100%
  );
  transition: opacity 0.3s ease;
}
.section--cards-grid .cards-grid__card:hover .cards-grid__card-gradient,
.section--cards-grid .cards-grid__card:focus-within .cards-grid__card-gradient {
  opacity: 1;
}
.section--cards-grid .cards-grid__card-inner {
  position: relative;
  z-index: 3;
  display: flex;
  box-sizing: border-box;
  height: 100%;
  min-height: inherit;
  flex-direction: column;
  padding: 1.75rem 1.25rem 2rem;
}
.section--cards-grid .cards-grid__card-head {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.section--cards-grid .cards-grid__card-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 5.5rem);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #171717;
}
.section--cards-grid .cards-grid__card-icon-box {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 5rem;
  height: 5rem;
  padding: 0.5rem;
  border-radius: 0.625rem;
  background-color: #fff;
}
.section--cards-grid .cards-grid__card-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.section--cards-grid .cards-grid__card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease;
}
.section--cards-grid .cards-grid__card-desc {
  margin: 0;
  max-width: 19.125rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  color: #525252;
}
.section--cards-grid .cards-grid__card-desc p {
  margin: 0;
}
.section--cards-grid .cards-grid__card-desc p + p {
  margin-top: 0.75rem;
}
.section--cards-grid .cards-grid__card-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 2.5rem;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  color: #171717;
  transition:
    gap 0.3s ease,
    opacity 0.3s ease;
}
.section--cards-grid .cards-grid__card-cta-arrow {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}
.section--cards-grid a.cards-grid__card:focus-visible {
  outline: 2px solid #171717;
  outline-offset: -2px;
}
.section--cards-grid
  .cards-grid__card-head
  > .cards-grid__card-icon-box:only-child {
  margin-left: auto;
}
@media (min-width: 640px) {
  .section--cards-grid .cards-grid__card--has-link .cards-grid__card-body {
    transform: translateY(3.875rem);
  }
  .section--cards-grid .cards-grid__card--has-link:hover .cards-grid__card-body,
  .section--cards-grid
    .cards-grid__card--has-link:focus-within
    .cards-grid__card-body {
    transform: translateY(0);
  }
  .section--cards-grid .cards-grid__card--has-link .cards-grid__card-cta {
    opacity: 0;
    pointer-events: none;
  }
  .section--cards-grid .cards-grid__card--has-link:hover .cards-grid__card-cta,
  .section--cards-grid
    .cards-grid__card--has-link:focus-within
    .cards-grid__card-cta {
    opacity: 1;
    pointer-events: auto;
    gap: 1rem;
  }
}

/* Fixed cards: pills row + CTA — pb-[3.75rem] is not emitted in the prebuilt Tailwind bundle. */
.section--fixed-cards .fixed-cards__pills {
  padding-bottom: 3.75rem;
}
.section--fixed-cards .fixed-cards__pills--before-cta {
  padding-bottom: 0;
}
/* Bottom zone: reserve keeps card height identical to the old in-flow CTA row; link is absolutely positioned. */
.section--fixed-cards .group {
  position: relative;
  overflow: hidden;
}
.section--fixed-cards .fixed-cards__cta-reserve {
  flex-shrink: 0;
  width: 100%;
  min-height: calc(3.75rem + 2rem);
  pointer-events: none;
}
.section--fixed-cards .fixed-cards__cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  padding: 0 1.875rem 3.75rem;
  /* Let the link animate up through the card; clipping is only on .group */
  overflow: visible;
  pointer-events: none;
}

/*
 * Default: top edge of link at bottom of .fixed-cards__cta (top: 100%) — entire control sits below the card face, clipped by .group overflow.
 * Hover: translate up by link height + bottom padding so it lands in the padded zone (matches reference).
 */
.section--fixed-cards .fixed-cards__cta a.fixed-cards__cta-link {
  position: absolute;
  left: 50%;
  top: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  pointer-events: auto;
  transform: translateX(-50%) !important;
  transition:
    transform 0.3s ease,
    gap 0.3s ease;
}
.section--fixed-cards .group:hover .fixed-cards__cta a.fixed-cards__cta-link,
.section--fixed-cards
  .group:focus-within
  .fixed-cards__cta
  a.fixed-cards__cta-link {
  transform: translate(-50%, calc(-100% - 3.75rem)) !important;
  gap: 1rem;
}

.section--fixed-cards .section__title {
  margin: 0 auto 96px auto;
  font-size: 44px;
  color: #000;
}
.section--fixed-cards .section__title strong,
.section--fixed-cards .section__title b {
  font-weight: 400;
  color: #000;
}

/*
 * Section container: centered content band. 120rem matches the design token; min(…, 1920px) keeps a
 * hard pixel cap on ultra-wide viewports if html { font-size } (and thus rem) ever scales up.
 * Full-bleed heroes (.hero.hero--high-impact, .hero-simple, etc.) stay edge-to-edge because their
 * outer <section> does not use .section-container — only title rows / inner bits may.
 * Opt out of the cap: add .section-container--full-bleed (rare).
 * Mobile: 1.25rem gutters — pairs with homepage hero shell calc(100% - 2.5rem). md+: 2rem — pairs with hero calc(100% - 64px).
 */
.section-container {
  box-sizing: border-box;
  width: 100%;
  max-width: min(120rem, 1920px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 5.5rem;
}
.section-container.section-container--full-bleed {
  max-width: none;
}
@media (min-width: 768px) {
  .section-container {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 13.75rem;
  }
}

/* Info panel → next block (e.g. CTA): tight 32px gap instead of default section stack padding. */
.section-container.section--info-panel {
  padding-bottom: 32px;
}

/* Local landing intro (H1 block): vertical rhythm on single LP; not default .section-container stack (5.5rem / 13.75rem). */
.single-local-landing-page .local-landing-intro,
.single_local_landing_page .local-landing-intro {
  padding-top: 80px;
  padding-bottom: 32px;
}

/* Simple hero: .section-container is only for max-width/gutters; no stack spacing below the hero. */
.section-container.hero-simple {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}
/* No-image branch: inner .section-container wraps h1.text-heading-4 (py-20 = 80px bottom) — strip default stack padding so it isn’t doubled with .section-container (5.5rem / 13.75rem). */
.hero-simple > .section-container {
  padding-bottom: 0;
  /* Base .section-container gutters (1.25rem / 2rem) can override Tailwind px-0; zero horizontal padding on this inner wrapper. */
  padding-left: 0;
  padding-right: 0;
}

/* Same layout: outer .hero-simple has mt-19.5 (~78px). When .text-heading-4 sits in the inner .section-container (parent.parent of the heading), drop that top margin so it isn’t stacked twice. */
.section-container.hero-simple:has(> .section-container .text-heading-4) {
  margin-top: 0;
}

/*
 * Stack spacing: default section-container bottom padding is 5.5rem / 13.75rem between sections.
 * The last block in main (often CTA) should leave 72px above the footer.
 */
.site-main > *:last-child.section-container {
  padding-bottom: 72px;
}
.site-main > *:last-child.section-container.hero-simple {
  padding-bottom: 0;
}

/* Privacy Statement: extra breathing room above footer (default last-block padding is 72px). */
.page-slug-privacy-statement .site-main > *:last-child.section-container {
  padding-bottom: 220px;
}

footer.section-container {
  padding-bottom: 40px;
}

/* Privacy and Legal pages: no top/bottom padding on the hero-simple container. */
.page-slug-privacy .section-container.hero-simple,
.page-slug-legal .section-container.hero-simple,
.page-slug-contact .section-container.hero-simple {
  padding-top: 0;
  margin-top: 0;
}

/* Simple hero: h1.text-heading-4 uses px-5/md:px-8 — strip left padding so the title aligns with content below. */
.hero-simple .text-heading-4 {
  padding-left: 0 !important;
}

.page-slug-contact .section--forms__inner {
  padding-left: 0;
}

.page-slug-contact #hubspotFormSection {
  padding-bottom: 6rem;
}

/* Simple page title breadcrumb (e.g. /service-descriptions): home icon › current page. */
body.page-has-title-breadcrumb .hero-simple h1.text-heading-4,
body.page-has-title-breadcrumb .page-simple-content > h1.text-heading-4 {
  padding-bottom: 8px;
}

.page-title-breadcrumb {
  margin: 0;
}
.page-title-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.4rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.25;
  font-weight: 400;
  color: #737373;
}
@media (min-width: 768px) {
  .page-title-breadcrumb__list {
    margin-bottom: 2rem;
  }
}
.page-title-breadcrumb__home {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  vertical-align: middle;
}
.page-title-breadcrumb__home:hover {
  color: #171717;
}
.page-title-breadcrumb__home-icon {
  display: block;
  flex-shrink: 0;
}
.page-title-breadcrumb__item--sep {
  display: inline-flex;
  align-items: center;
  color: #a3a3a3;
}
.page-title-breadcrumb__chevron {
  display: block;
  flex-shrink: 0;
}
.page-title-breadcrumb__link {
  color: inherit;
  text-decoration: none;
}
.page-title-breadcrumb__link:hover {
  color: #171717;
}
.page-title-breadcrumb__current {
  color: #525252;
}

/* Testimonials: no horizontal padding on section — slides use pl-5/md:pl-8 (same as .section-container); viewport bleeds right. */
.section-container--testimonials-carousel {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.section-container--testimonials-carousel .js-carousel-testimonials {
  box-sizing: border-box;
  width: 100%;
  overflow-x: visible;
}

.section-container--testimonials-carousel .js-testimonials-viewport {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  box-sizing: border-box;
}

/* Viewport > 1920px: cap full-bleed testimonials track + other section bands at 1920px centered. */
@media (min-width: 1921px) {
  .pb-section-mobile {
    box-sizing: border-box;
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
  }

  .section--linked-bullets.section--linked-bullets--split {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-container--testimonials-carousel .js-testimonials-viewport {
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
  }
}

.js-carousel-testimonials {
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

.section-container--testimonials-carousel .js-carousel-testimonials {
  overflow-x: visible;
}

.js-carousel-testimonials > .overflow-hidden {
  overflow-x: hidden;
}

.section-container--testimonials-carousel
  .js-carousel-testimonials
  > .js-testimonials-viewport.overflow-hidden {
  overflow-x: hidden;
}

/* Header carries horizontal gutters; title aligns flush inside (no extra pl on .section__title). */
.js-testimonials-header {
  box-sizing: border-box;
  padding-left: 2rem;
  padding-right: 2rem;
}

.js-testimonials-header .section__title {
  padding-left: 0;
}

/* Mobile: card width < viewport so the next slide peeks (see design spec). Single slide stays full width. */
@media (max-width: 767px) {
  .js-carousel-testimonials
    [role="group"][aria-roledescription="slide"]:not(:only-child) {
    flex: 0 0 calc(100vw - 3.75rem) !important;
    max-width: calc(100vw - 3.75rem) !important;
    padding-left: 1.25rem !important;
    padding-right: 0.625rem !important;
    box-sizing: border-box;
  }
}

/* ≥1400px: one card per view (no peek of next). Below 1400px: partial next card (basis from markup). */
@media (min-width: 1400px) {
  .js-carousel-testimonials [role="group"][aria-roledescription="slide"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-right: 2rem !important; /* match pl-5/md:pl-8 left gutter (2rem here) */
  }
}

/* ≥1700px, multiple slides: two ~50% cards; Embla stays slidesToScroll: 1 (one card per arrow click). */
@media (min-width: 1700px) {
  .js-carousel-testimonials:has(
      [role="group"][aria-roledescription="slide"]:nth-child(2)
    )
    .js-testimonials-viewport
    > .flex {
    gap: 1.5rem;
  }

  .js-carousel-testimonials:has(
      [role="group"][aria-roledescription="slide"]:nth-child(2)
    )
    [role="group"][aria-roledescription="slide"] {
    flex: 0 0 calc((100% - 1.5rem) / 2) !important;
    max-width: calc((100% - 1.5rem) / 2) !important;
    padding-right: 0 !important;
  }
}

/* Testimonials arrow buttons. */
.testimonial-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  border: none;
  background-color: #f0f0f0;
  color: #343434;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.testimonial-arrow svg {
  height: 1rem;
  width: 1rem;
}
.testimonial-arrow:disabled {
  cursor: default;
  opacity: 0.5;
}
.testimonial-arrow:not(:disabled):hover {
  background-color: #e4e4e4; /* jet-200 */
}

/* Non-selected slides (peek): flat grey; selected slide keeps testimonial gradient. */
.js-testimonial-card-face.is-testimonial-card-inactive {
  background-image: none !important;
  background-color: #f0f0f0;
}

/* Leaving slide: flat grey until the track finishes moving; class removed in JS so gradient returns when active again. */
.js-testimonial-card-face.is-testimonial-card-exiting {
  background-image: none;
  background-color: #f0f0f0;
}

.js-testimonial-card-face .text-body-l {
  color: rgb(52, 52, 52);
}

/* Section title (subtitle-1 style): shared container max-width for Rolling Accordion, Fixed Cards, Cards Grid, Features List, Info Grid, Testimonials, Carousel. */
.section__title {
  max-width: 960px;
}

.text-body-l {
  color: rgb(101, 101, 101);
}

/* Section headings (h2 only) — do not target div.section__title used for intro copy. */
h2.section__title {
  color: #000;
  font-size: 44px;
  margin: 0 auto;
}

h2.section__title strong {
  font-weight: 400;
  color: #000;
}

.page-slug-home h2.section__title {
  color: #000;
  font-size: 44px;
  margin: 0 auto 44px auto;
}

.page-slug-home .section--carousel h2.section__title {
  margin: 0 0 44px 0 !important;
}

.page-slug-about-us h2.section__title {
  color: rgb(141, 141, 141);
  font-size: 32px;
  margin: 0 0 80px 0;
}

.page-slug-about-us h2.section__title strong {
  color: #000;
  font-weight: 400;
}

.page-slug-about-us .text-subtitle-1 {
  color: #000;
  border-top: 1px solid rgb(228, 228, 228);
  padding-top: 88px;
}

.page-slug-about-us h2.text-subtitle-1 {
  color: #000 !important;
}

.page-slug-about-us .grid-cols-1 p.text-body-l {
  color: #000;
}

@media (max-width: 767px) {
  .page-slug-about-us .grid-cols-1 div.text-body-l {
    margin-bottom: 2rem;
  }
}

/* Linked bullets (ACF LinkedBulletsLayout): 50/50 grid when intro + list; minmax(0,1fr) avoids horizontal overflow. */
.section--linked-bullets {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .section--linked-bullets--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: start;
  }
}
.section--linked-bullets__col--intro,
.section--linked-bullets__col--list {
  min-width: 0;
  max-width: 100%;
}
.section--linked-bullets__col--list {
  display: block;
}
/* Intro copy: ~50–60% of the left column when split (capped to reference max width). */
.section--linked-bullets--split .section--linked-bullets__intro {
  max-width: min(27.688rem, 60%);
}
.section--linked-bullets:not(.section--linked-bullets--split)
  .section--linked-bullets__intro {
  max-width: min(27.688rem, 100%);
}
.section--linked-bullets__intro {
  width: 100%;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #737373;
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* Below md (~720px intent): full-width intro + 28px type; aligns with split breakpoint at 768px. */
@media (max-width: 767px) {
  .section--linked-bullets.section--linked-bullets--split
    .section--linked-bullets__intro,
  .section--linked-bullets:not(.section--linked-bullets--split)
    .section--linked-bullets__intro,
  .section--linked-bullets__intro {
    width: 100%;
    max-width: 100%;
    font-size: 28px;
  }
}
@media (min-width: 768px) {
  .section--linked-bullets__intro {
    font-size: 2rem;
    line-height: 2rem;
  }
}
.section--linked-bullets__intro strong,
.section--linked-bullets__intro b {
  color: #343434;
  font-weight: 400;
}
.section--linked-bullets__list {
  width: 100%;
  max-width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.section--linked-bullets__rule {
  border: 0;
  height: 1px;
  margin: 0 0 1.875rem;
  background-color: #e4e4e4;
}
.section--linked-bullets__row-title {
  font-size: 28px;
  line-height: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.section--linked-bullets__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  list-style: none;
  margin: 1.875rem 0 0;
  padding: 0;
  max-width: 100%;
  min-width: 0;
}
.section--linked-bullets__tag {
  display: inline-flex;
  align-items: center;
  border-radius: 3.75rem;
  border: 1px solid transparent;
  padding: 0.625rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1;
  color: #525252;
  background-color: #f7f7f7;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  text-decoration: none;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.section--linked-bullets__tag:hover {
  background-color: #ebebeb;
  color: #343434;
}

/* Rolling accordion section. */
.section--rolling-accordion .section__title {
  max-width: 775px;
}

/* Services → Strategy page: constrain section title width */
.page-slug-strategy .section__title {
  max-width: 820px;
}

.page-slug-industries .section__title {
  margin: 0;
}

.page-slug-financial-services h2.section__title {
  margin: 0 0 90px 0;
  font-size: 32px;
}

.section--rolling-accordion .rolling-accordion__item {
  border: none;
}
.section--rolling-accordion
  .rolling-accordion__item.is-scroll-expanded
  .rolling-accordion__body {
  min-height: 0;
}
.section--rolling-accordion .rolling-accordion__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
@media (min-width: 768px) {
  .section--rolling-accordion .rolling-accordion__body {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
}
.section--rolling-accordion .rolling-accordion__content {
  color: #141414;
  flex: 1 1 0%;
  font-size: 1.25rem; /* text-xl */
  line-height: 1.5rem;
  max-width: 30.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 2rem 2rem 2rem;
  transition: padding 0.35s ease;
  min-height: 0;
}
@media (min-width: 1271px) {
  .section--rolling-accordion .rolling-accordion__content {
    max-width: none;
  }
}
@media (min-width: 768px) {
  .section--rolling-accordion
    .rolling-accordion__item.is-scroll-expanded
    .rolling-accordion__content {
    padding: 3rem;
    min-height: 16rem;
  }
  .section--rolling-accordion
    .rolling-accordion__item--no-image.is-scroll-expanded
    .rolling-accordion__body {
    min-height: 24rem; /* ~384px open band when there is no photo column */
  }
}
.section--rolling-accordion
  .rolling-accordion__item:not(.is-scroll-expanded)
  .rolling-accordion__content {
  padding: 3rem 2rem; /* 48px top/bottom — unopened row height */
  justify-content: flex-start;
}
.section--rolling-accordion .rolling-accordion__label {
  color: #656565; /* jet-600, subtitle-1 */
  font-size: 1.5rem;
  line-height: 1.75rem;
  letter-spacing: -0.031rem;
  transition:
    color 0.3s ease,
    font-size 0.3s ease,
    line-height 0.3s ease,
    margin 0.3s ease;
}
/* Below md: scroll-driven expand is off — labels are tap targets (see initRollingAccordionMobile). */
@media (max-width: 767px) {
  .section--rolling-accordion .rolling-accordion__label {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}
.section--rolling-accordion
  .rolling-accordion__item.is-scroll-expanded
  .rolling-accordion__label {
  color: #141414;
  font-size: 2rem; /* heading-5 */
  line-height: 2rem;
  letter-spacing: -0.038rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.section--rolling-accordion
  .rolling-accordion__item:not(.is-scroll-expanded)
  .rolling-accordion__label {
  margin-bottom: 0;
}
.section--rolling-accordion .rolling-accordion__text {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}
/* Outer: flex-end bottom-aligns copy when short. No inner scroll — long copy grows the row; page scrolls. */
.section--rolling-accordion
  .rolling-accordion__item.is-scroll-expanded
  .rolling-accordion__text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1 1 auto;
  flex-basis: 0;
  min-height: 256px;
  max-height: none;
  opacity: 1;
  transform: translateY(0);
  overflow: visible;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
}
.section--rolling-accordion
  .rolling-accordion__item.is-scroll-expanded
  .rolling-accordion__text-scroll {
  flex: 0 1 auto;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}
.section--rolling-accordion .rolling-accordion__text ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1.25rem;
  margin: 0 0 1em;
}
.section--rolling-accordion .rolling-accordion__text li {
  list-style-position: outside;
  list-style-type: disc;
}
.section--rolling-accordion .rolling-accordion__image {
  overflow: hidden;
  border-top-right-radius: 0.625rem;
  border-bottom-right-radius: 0.625rem;
  align-self: stretch;
  flex: 0 0 auto;
  max-width: 33rem;
  max-height: 0;
  min-height: 0;
  width: 100%;
  transition: max-height 0.45s ease;
}
@media (min-width: 768px) {
  .section--rolling-accordion
    .rolling-accordion__item.is-scroll-expanded
    .rolling-accordion__image {
    aspect-ratio: 1 / 1;
    max-height: 33rem; /* 528px cap, matches reference max-h-[33rem] */
  }
}
.section--rolling-accordion .rolling-accordion__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* People grid (About / Company page): image grid with overlay bio toggle. */
.js-people-grid {
  row-gap: 3.75rem;
}
@media (min-width: 1921px) {
  .js-people-grid.grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.people-card {
  cursor: pointer;
  transition: box-shadow 0.25s ease;
}
.people-card__media {
  position: relative;
}
.people-card__image {
  transition: filter 0.25s ease;
}
.people-card.is-open .people-card__image {
  filter: blur(4px);
}
.people-card__meta {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  color: #ffffff;
}
.people-card.is-open .people-card__meta {
  opacity: 0;
  visibility: hidden;
}
/* Name + position share one <p> with <br /> between (same type/color). */
.people-card__name {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
}
.people-card__toggle {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  box-sizing: border-box;
  height: 2.25rem;
  width: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
  transition: background-color 0.2s ease;
}
.people-card.is-open .people-card__toggle {
  opacity: 0;
  visibility: hidden;
}
.people-card__toggle:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
.people-card__toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: #ffffff;
}
.people-card__overlay {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  /* Reference: oklab(0.438605 -5.96046e-8 0 / 0.7) — lighter than previous rgba gradient */
  background: oklab(0.438605 0 0 / 0.7);
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.people-card__close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  box-sizing: border-box;
  height: 2.25rem;
  width: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
  transition: background-color 0.2s ease;
}
.people-card__close:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
.people-card__close-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: #ffffff;
}
/* Lucide-style plus / x: geometric center in circle (see design spec). */
.people-card__control-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.people-card__overlay-inner {
  max-height: 100%;
  overflow-y: auto;
}
.people-card.is-open .people-card__overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.people-card__overlay p {
  margin: 0;
}

/* Full Accordion section. */
.section--full-accordion {
  interpolate-size: allow-keywords;
}
.section--full-accordion .section--full-accordion__title {
  max-width: 480px;
  padding-bottom: 5.5rem;
  text-align: center;
  color: rgb(141, 141, 141);
  font-size: 32px;
  line-height: 1.2;
}
.section--full-accordion .section--full-accordion__title * {
  font-size: inherit;
}
.section--full-accordion .section--full-accordion__title strong {
  color: rgb(52, 52, 52);
  font-weight: 400;
}
.section--full-accordion__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  border-radius: 0.625rem;
  max-width: 71.375rem;
  margin-left: auto;
  margin-right: auto;
}
.section--full-accordion__item {
  background-color: rgb(247, 247, 247);
  border-radius: 0.625rem;
  border: none;
  overflow: hidden;
}
/* Smooth height: grid row 0fr ↔ 1fr (button + .is-open; avoids native <details> instant hide on close). */
.section--full-accordion__content-shell {
  display: grid;
  grid-template-rows: 0fr;
  min-height: 0;
  overflow: hidden;
  transition: grid-template-rows 0.75s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.section--full-accordion__item.is-open .section--full-accordion__content-shell {
  grid-template-rows: 1fr;
}
@media (prefers-reduced-motion: reduce) {
  .section--full-accordion__content-shell {
    transition-duration: 0.01ms;
  }
}
.section--full-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  padding: 2.5rem 1.5rem;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.section--full-accordion__label {
  min-width: 0;
  flex: 1 1 auto;
}
@media (min-width: 768px) {
  .section--full-accordion__trigger {
    padding: 2.5rem;
  }
}
.section--full-accordion__trigger:focus {
  outline: none;
}
.section--full-accordion__trigger:focus-visible {
  outline: 2px solid #1f1f1f;
  outline-offset: 3px;
}
.section--full-accordion__label {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.031rem;
  color: #737373;
  transition: color 0.2s ease;
}
.section--full-accordion__item:hover .section--full-accordion__label,
.section--full-accordion__item.is-open .section--full-accordion__label {
  color: #1f1f1f;
}
.section--full-accordion__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background-color: #e7ead7;
  color: #1f1f1f;
  transition:
    transform 0.75s ease,
    background-color 0.75s ease,
    color 0.75s ease;
  flex-shrink: 0;
}
.section--full-accordion__item.is-open .section--full-accordion__icon {
  transform: rotate(45deg);
  background-color: #d6ff4c;
  color: #0c0c0c;
}
/* Grid child: no vertical padding here — padding would set a min height and break 0fr collapse. */
.section--full-accordion__content {
  min-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .section--full-accordion__content {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
.section--full-accordion__inner {
  padding-bottom: 2.5rem;
}
.section--full-accordion__content .text-body-m {
  font-size: 1rem;
  line-height: 1.4rem;
  color: #1f1f1f;
}
.section--full-accordion__content .text-body-s {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #737373;
}
.section--full-accordion__content .text-body-l {
  font-size: 1.125rem;
  line-height: 1.5rem;
  color: #1f1f1f;
}
/* Link chips: same pill row + pill treatment as .articles-list__card-pills */
.section--full-accordion__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}
.section--full-accordion__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 0.875rem;
  border-radius: 60px;
  background-color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  color: #525252;
  border: 0;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.section--full-accordion__badge:hover {
  background-color: #f5f5f5;
  color: #525252;
}
.section--full-accordion__badge:not(a) {
  cursor: default;
}
.section--full-accordion--local-landing .section--full-accordion__title {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}
.section--full-accordion--local-landing .section--full-accordion__title * {
  text-align: left !important;
}
.section--full-accordion--local-landing .section--full-accordion__list {
  max-width: none !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.single-local-landing-page .section--full-accordion__title,
.single-local_landing_page .section--full-accordion__title {
  color: rgb(52, 52, 52);
  font-size: 44px;
}

/* Impactful text: large display copy + inline pill images. */
.section--impactful-text__body {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.08rem;
  color: #343434;
}
@media (min-width: 768px) {
  .section--impactful-text__body {
    font-size: 3rem;
  }
  .section--impactful-text--local-landing .section--impactful-text__body {
    font-size: 64px;
    line-height: 1;
  }
  .single-local-landing-page
    .section--impactful-text--local-landing
    .section--impactful-text__body,
  .single-local_landing_page
    .section--impactful-text--local-landing
    .section--impactful-text__body {
    color: rgb(52, 52, 52);
    font-size: 44px;
    line-height: 1.05;
  }
}
@media (min-width: 1400px) {
  .section--impactful-text__body {
    font-size: 4rem;
  }
  .section--impactful-text--local-landing .section--impactful-text__body {
    font-size: 64px;
    line-height: 1;
  }
  .single-local-landing-page
    .section--impactful-text--local-landing
    .section--impactful-text__body,
  .single-local_landing_page
    .section--impactful-text--local-landing
    .section--impactful-text__body {
    color: rgb(52, 52, 52);
    font-size: 44px;
    line-height: 1.05;
  }
}

/* Local landing: impactful text — inner wrap + body max 1000px; tighter bottom spacing (48px). */
.section--impactful-text--local-landing.section-container {
  padding-bottom: 48px !important;
}
.section--impactful-text--local-landing > div {
  max-width: 1000px;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}
.section--impactful-text--local-landing .section--impactful-text__body {
  max-width: 1000px;
}

.section--info-grid--local-landing .text-body-l.text-jet-900 {
  color: rgb(20, 20, 20);
}

/* Flexible layout: local_pages_categories (hub-style panel + typography). */
.section--local-pages-categories {
  background-color: rgb(247, 247, 247);
  border-radius: 10px;
  padding: 50px;
  margin: 0 2rem 220px 2rem;
}
.section--local-pages-categories .section__title {
  max-width: 658px;
  margin: 0 0 48px 0;
  color: rgb(141, 141, 141);
  font-size: 52px;
  line-height: 52px;
}
.section--local-pages-categories .section__title strong {
  font-weight: 400;
  color: rgb(52, 52, 52);
}
.section--local-pages-categories .text-body-1 {
  max-width: 478px;
  margin: 0 0 48px 0;
  color: rgb(101, 101, 101);
  font-size: 16px;
  line-height: 24px;
}

/* Local landing region hub: “other locations” block (reference layout). */
.section--local-hub-locations__panel {
  background-color: rgb(247, 247, 247);
  padding: 50px;
  border-radius: 10px;
}
/* Headline + intro: narrower measure than the location grid (match reference). */
.section--local-hub-locations__header {
  max-width: 42rem;
  width: 100%;
}
.section--local-hub-locations__heading {
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.08rem;
}
.section--local-hub-locations__heading strong {
  font-weight: normal;
  color: #000;
}
@media (min-width: 768px) {
  .section--local-hub-locations__heading {
    font-size: 52px;
    line-height: 1;
  }
}
.section--local-hub-locations__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 0;
  width: 100%;
}
@media (min-width: 768px) {
  .section--local-hub-locations__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2rem;
  }
}
.section--local-hub-locations__link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  min-height: 80px;
  padding: 1.125rem 0;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 400;
  color: rgb(141, 141, 141);
  text-decoration: none;
  border-top: 1px solid rgb(229, 229, 229);
  border-bottom: 1px solid rgb(229, 229, 229);
  transition: color 0.15s ease;
}
/* Collapse double rule between stacked rows (2-col / 4-col). */
@media (max-width: 767px) {
  .section--local-hub-locations__link:nth-child(n + 3) {
    margin-top: -1px;
  }
}
@media (min-width: 768px) {
  .section--local-hub-locations__link:nth-child(n + 5) {
    margin-top: -1px;
  }
}
.section--local-hub-locations__link:hover,
.section--local-hub-locations__link:focus-visible,
.section--local-hub-locations__link a:hover,
.section--local-hub-locations__link a:focus-visible {
  color: #000;
  text-decoration: none;
}
.section--local-hub-locations__link:focus {
  outline: none;
}
.section--local-hub-locations__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Related Content (Success Stories etc.): match reference RelatedContentLayout. */
.section--related-content__header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 4rem;
  color: #1f1f1f;
}
@media (min-width: 768px) {
  .section--related-content__header {
    flex-direction: row;
    margin-bottom: 5.625rem;
    gap: 0;
  }
}
.section--related-content__title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 400;
  color: #1f1f1f;
  margin: 0;
}
.section--related-content__cta {
  text-decoration: none;
  color: #1f1f1f;
  font-size: 1.125rem;
  line-height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.section--related-content__cta:hover {
  text-decoration: none;
  color: #1f1f1f;
}
.section--related-content__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 4rem;
}
@media (min-width: 640px) {
  .section--related-content__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }
}
@media (min-width: 768px) {
  .section--related-content__grid {
    row-gap: 5.625rem;
  }
}
@media (min-width: 1024px) {
  .section--related-content__grid {
    row-gap: 8rem;
  }
}
@media (min-width: 1280px) {
  .section--related-content__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.section--related-content__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.section--related-content__image {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}
.section--related-content__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section--related-content__card .text-heading-5 {
  font-size: 2rem;
  line-height: 2.5rem;
  letter-spacing: -0.031rem;
  font-weight: 400;
  margin: 0;
}
.section--related-content__grid .text-heading-5 {
  line-height: 1em;
}
.section--related-content__card .text-heading-5 a {
  color: inherit;
  text-decoration: none;
}
.section--related-content__card .text-heading-5 a:hover {
  text-decoration: underline;
}
.section--related-content__card .text-body-m {
  font-size: 1rem;
  line-height: 1.4rem;
  color: #737373;
  margin: 0;
}

/* Certified section (careers): badges 360×160, lead copy 44px, pills centered with 3.75rem radius */
.section--certified {
  overflow-x: hidden;
}
.section--certified__content {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .section--certified__content {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}
.section--certified__badges > div {
  max-width: 100%;
}
.section--certified__badge-img {
  width: 22.5rem; /* 360px */
  height: 10rem; /* 160px */
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 1;
  min-width: 0;
}
.section--certified__lead {
  color: rgb(141, 141, 141);
  font-family: "basisGrotesque", sans-serif;
  font-size: 28px;
  line-height: 1;
  margin: 0;
  overflow-wrap: break-word;
}
@media (min-width: 768px) {
  .section--certified__lead {
    font-size: 44px;
  }
}
.section--certified__lead strong,
.section--certified__lead b {
  color: rgb(52, 52, 52);
  font-weight: 400;
}
.section--certified__description {
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .section--certified__description {
    margin-bottom: 4.5rem;
  }
}
.section--certified__tag {
  font-size: 12px;
  background-color: rgb(247, 247, 247);
}
.section--certified__tag:hover {
  background-color: rgb(235, 235, 235);
}

/* Careers page CTA: 32px description (line-height 1em = 32px); logos up to reference width. */
.section--cta--careers .section--cta__description {
  font-size: 32px !important;
  line-height: 1em;
  font-weight: 400;
}
.section--cta--careers .section--cta__description.text-heading-5,
.section--cta--careers .section--cta__description.text-body-m {
  font-size: 32px !important;
  line-height: 1em !important;
}
.section--cta--careers .section--cta__description p {
  line-height: 1em;
}
.section--cta--careers .section--cta__logos {
  width: 100%;
  max-width: 100%;
}
.section--cta--careers .section--cta__logos-row {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem 1.25rem;
  width: 100%;
  max-width: 100%;
}
.section--cta--careers .section--cta__logo-img {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: min(22.25rem, 100%);
  max-height: none;
  object-fit: contain;
  vertical-align: middle;
  flex: 0 1 auto;
}

/* Stats & Awards: full-width auto-scrolling logo carousel (Partnering with Industry Leaders) */
.section--stats-awards {
  overflow: hidden;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .section--stats-awards {
    padding-bottom: 5rem;
  }
}
.stats-awards__header {
  width: 100%;
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-bottom: 80px;
  box-sizing: border-box;
}
.stats-awards__title {
  color: #000;
  font-size: 44px;
}
.awards__title {
  color: #000;
  font-size: 44px;
}
.stats-awards__title strong,
.stats-awards__title b,
.awards__title strong,
.awards__title b {
  font-weight: 400;
  color: #000;
}
.stats-awards__description {
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 20px;
  margin-bottom: 88px;
  text-align: center;
  color: #525252;
  box-sizing: border-box;
}
.stats-awards-carousel {
  width: 100%;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .stats-awards-carousel {
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
  }
}
.stats-awards-carousel__viewport {
  overflow: hidden;
  width: 100%;
}
/* Use margin between slides (not flex gap) so Embla’s loop measures spacing at the wrap seam. */
.stats-awards-carousel__track {
  display: flex;
  align-items: center;
  touch-action: pan-y;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}
.stats-awards-carousel__card {
  flex-shrink: 0;
  width: 210px;
  height: 210px;
  margin-right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  border-radius: 0.5rem;
  padding: 1rem;
  box-sizing: border-box;
}
.stats-awards-carousel__logo {
  max-width: 100%;
  max-height: 100%;
  width: 90px;
  height: auto;
  object-fit: contain;
  filter: brightness(1);
  border-radius: 10px;
}

/*
 * Rolling cards: .js-rolling-cards-outer uses .section-container for horizontal gutters.
 * Do not apply section-container’s default padding-bottom here — it stacks below the inner
 * content box while the section is ScrollTrigger-pinned and reads as a huge white band.
 * (Layout: section-container + pb-0 on the same node as overflow-hidden.)
 */
.js-rolling-cards-outer.section-container {
  padding-bottom: 0;
}

/* Desktop pin: full viewport min-height on load (Tailwind max-xxl:min-h-screen misses >1440px; h-full collapses without this). */
@media (min-width: 48rem) {
  .js-rolling-cards-wrapper .js-rolling-cards-section {
    min-height: 100vh;
    min-height: 100dvh;
  }
  .js-rolling-cards-wrapper .js-rolling-cards-content {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

/* Rolling cards: outer has .section-container (margins/padding); content box = background + mask. */
.js-rolling-cards-content {
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: #7aa3ef;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  position: relative;
}
.js-rolling-cards-content.js-rolling-cards-content--has-bg {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
/* Fill .js-rolling-cards-content: in-flow height was only min-h-100 because the video is absolute and does not stretch the box. */
.js-rolling-cards-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  min-height: 0;
  pointer-events: none;
}
.js-rolling-cards-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.js-rolling-cards-caption {
  position: absolute;
  bottom: 2.0625rem;
  left: 1.8125rem;
  z-index: 10;
  max-width: 350px;
  padding: 0;
}
@media (min-width: 1024px) {
  .js-rolling-cards-caption {
    max-width: 450px;
    bottom: 2.5rem;
    left: 2rem;
  }
}
.rolling-card h4 {
  margin-bottom: 6px;
}

.min-h-100 {
  min-height: 25rem;
}
.bg-jet-100 {
  background-color: #f0f0f0;
}
.mb-50 {
  margin-bottom: 12.5rem;
}
@media (max-width: 90rem) {
  .max-xxl\:min-h-screen {
    min-height: 100vh;
  }
}
@media (min-width: 90rem) {
  .xxl\:h-209 {
    height: 52.25rem;
  }
  .min-xxl\:mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
  .min-xxl\:max-w-container {
    max-width: min(120rem, 1920px);
  }
}

/* Articles / Resource archives: main spacing and layout (works without Tailwind). */
.site-main.pt-20 {
  padding-top: 5rem;
}
.articles-archive .articles-archive__header {
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .articles-archive .articles-archive__header {
    margin-bottom: 4rem;
  }
}
.articles-archive__header h1,
.articles-archive .text-heading-2 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 400;
  color: #171717;
  margin: 0;
}
@media (min-width: 768px) {
  .articles-archive__header h1,
  .articles-archive .text-heading-2 {
    font-size: 3rem;
  }
}
/* Resource archive: page title 44px */
#resource-archive-wrap .resource-archive__header h1,
#resource-archive-wrap .articles-archive__header h1 {
  font-size: 44px;
  line-height: 1.2;
}

/* Screen-reader only (e.g. search label). */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Resource archive header: title left, search + filter right. */
#resource-archive-wrap .resource-archive__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  #resource-archive-wrap .resource-archive__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}
#resource-archive-wrap .resource-archive__header-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  #resource-archive-wrap .resource-archive__header-actions {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
}
/* Search: pill shape, border #d1d1d1, padding 8px 16px; input no padding/border; button no border/bg/hover */
#resource-archive-wrap .resource-archive__search {
  display: flex;
  align-items: center;
  border-radius: 116px;
  border: 1px solid rgb(209, 209, 209);
  padding: 8px 16px;
  background: #fff;
}
#resource-archive-wrap .resource-archive__search-input {
  min-width: 12rem;
  height: auto;
  border: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #171717;
  background: transparent;
}
#resource-archive-wrap .resource-archive__search-input::placeholder {
  color: #a3a3a3;
}
#resource-archive-wrap .resource-archive__search-input:focus {
  outline: none;
}
/* One clear control: hide native type=search cancel (Chromium/Edge); theme uses .js-resource-search-clear */
#resource-archive-wrap
  .resource-archive__search-input[type="search"]::-webkit-search-cancel-button,
#resource-archive-wrap
  .resource-archive__search-input[type="search"]::-webkit-search-decoration,
.resources-landing
  .resource-archive__search-input[type="search"]::-webkit-search-cancel-button,
.resources-landing
  .resource-archive__search-input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
#resource-archive-wrap
  .resource-archive__search-input[type="search"]::-ms-clear,
.resources-landing .resource-archive__search-input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}
#resource-archive-wrap .resource-archive__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  flex-shrink: 0;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  color: #171717;
  cursor: pointer;
  margin-left: 4px;
}
#resource-archive-wrap .resource-archive__search-btn:hover {
  background: transparent;
  color: #171717;
}
#resource-archive-wrap .resource-archive__search-btn svg {
  width: 16px;
  height: 16px;
}
/* Filter: reference – same height as search, 6px radius, subtle shadow */
#resource-archive-wrap .resource-archive__filter {
  position: relative;
}
#resource-archive-wrap .resource-archive__filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 0.75rem;
  border-radius: 6px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: #171717;
  cursor: pointer;
  transition: color 0.15s ease;
}
#resource-archive-wrap .resource-archive__filter-btn:hover {
  background: transparent;
  box-shadow: none;
  color: #171717;
}
#resource-archive-wrap .resource-archive__filter-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
/* Filter dropdown: light frosted gradient, blur 16px, height fits content, no divider */
#resource-archive-wrap .resource-archive__filter-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 20;
  margin-top: 6px;
  width: 288px;
  min-width: 128px;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 30px;
  line-height: 24px;
  border: 1px solid rgb(209, 209, 209);
  background: rgba(255, 255, 255, 0.35);
  background-image: linear-gradient(
    to right top,
    oklab(1 0 0 / 0.3) 0px,
    oklab(1 0 0 / 0.4) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: visible;
  box-sizing: border-box;
}
#resource-archive-wrap .resource-archive__filter-dropdown.hidden {
  display: none;
}
#resource-archive-wrap .resource-archive__filter-dropdown p,
#resource-archive-wrap
  .resource-archive__filter-dropdown
  .resource-archive__filter-dropdown-title {
  padding: 0 0 8px;
  color: rgb(101, 101, 101);
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  border: none;
  border-bottom: none;
  text-transform: none;
  letter-spacing: normal;
}
#resource-archive-wrap .resource-archive__filter-dropdown a {
  display: block;
  padding: 6px 0;
  color: rgb(0, 0, 0);
  font-size: 14px;
  line-height: 24px;
  letter-spacing: normal;
  text-decoration: none;
  transition: background 0.1s ease;
}
#resource-archive-wrap .resource-archive__filter-dropdown a:hover {
  background: transparent;
  color: rgb(0, 0, 0);
}

/* Articles list: grid for cards (default + resource archives). */
.articles-list__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem 1.5rem;
  align-items: start;
}
@media (min-width: 640px) {
  .articles-list__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .articles-list__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 8rem;
  }
}

/* Search results: extra space below header so first row isn’t tight to search bar. */
.articles-list--search-results .articles-list__grid {
  margin-top: 5rem;
}
@media (min-width: 768px) {
  .articles-list--search-results .articles-list__grid {
    margin-top: 6rem;
  }
}

/* Search autocomplete suggestions (see design spec). */
.resource-archive__search-suggestions {
  background: #fff;
  border: 1px solid rgb(209, 209, 209);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-height: 320px;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 4px 0;
}
.resource-archive__search-suggestion-item {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #171717;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.resource-archive__search-suggestion-item:hover {
  background: rgb(249, 249, 249);
}
.resource-archive__search-suggestion-item .resource-archive__suggestion-title {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  color: rgb(52, 52, 52);
  margin-bottom: 2px;
}
.resource-archive__search-suggestion-item .resource-archive__suggestion-type {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
  color: rgb(101, 101, 101);
}

/* Resources landing page: section header full width, View All right-aligned, no link underlines. */
.resources-landing__nav {
  column-gap: 20px;
  row-gap: 0.5rem;
}
.resources-landing__section-header {
  width: 100%;
}
@media (min-width: 640px) {
  .resources-landing__section-header .resources-landing__view-all {
    margin-left: auto;
  }
}
.resources-landing a:hover {
  text-decoration: none;
}

/* Forms section (Contact page): left-aligned column, title, subtitle, form in beige box. */
.section--forms__inner {
  max-width: 52rem;
  margin-left: 0;
  margin-right: auto;
  padding-top: 0;
  padding-right: 1.25rem;
  padding-bottom: 5.5rem;
  padding-left: 1.25rem;
}
@media (min-width: 768px) {
  .section--forms__inner {
    padding-top: 0;
    padding-right: 2rem;
    padding-bottom: 6.5rem;
    padding-left: 2rem;
  }
}
.section--forms .section--forms__inner {
  padding: 0 0 104px 0;
}
/* Same-page anchors: clear fixed header (~pt-20 / 5rem). */
#hubspotFormSection,
.section--forms__inner[id] {
  scroll-margin-top: 5rem;
}
.section--forms__header {
  margin-bottom: 2.5rem;
}
.section--forms__title {
  margin: 0 0 1rem;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: #171717;
}
@media (min-width: 1024px) {
  .section--forms__title {
    font-size: 3rem;
  }
}
.section--forms__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #525252;
}
.section--forms__subtitle strong {
  font-weight: 700;
}
.section--forms__subtitle a {
  color: #171717;
  text-decoration: underline;
  font-weight: 700;
}
.section--forms__subtitle a:hover {
  text-decoration: underline;
}
/* Form embed: light beige/tan container, same column width. */
.section--forms__form-wrap {
  background: #f5f3ef;
  border-radius: 0.5rem;
  padding: 2rem 1.5rem;
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .section--forms__form-wrap {
    padding: 2.5rem 2rem;
  }
}

/* Map section (Contact / Client Support). */
.section--map h2.section-map-heading {
  font-size: 30px;
  line-height: 28px;
  color: rgb(141, 141, 141);
  max-width: 800px;
  font-weight: 400;
}
.section--map h2.section-map-heading strong {
  color: rgb(52, 52, 52);
  font-weight: normal;
}
.section--map__inner {
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 4rem;
}
.section--map__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .section--map__layout {
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
  }
}
.section--map__map-shell {
  width: 100%;
}
@media (min-width: 1024px) {
  .section--map__map-shell {
    width: 59%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
  }
}
/* Client-support: region dropdown above map */
.section--map__region-select {
  width: 100%;
  max-width: 18rem;
}
/* Client-support: regions activated only by clicking map; hide region dropdown on desktop. */
.section--map--client-support .section--map__region-select {
  display: none !important;
}
/* Contact + client-support: “Select a location” picker only below 1024px when the map shell is hidden (matches .section--map__layout row breakpoint). */
/* Same node uses .section--map__location-picker (display:flex below) — compound selector so flex rules don’t override hide on large screens. */
.section--map__location-select-wrap--mobile-only.section--map__location-picker {
  display: none !important;
}
@media (max-width: 1023px) {
  .section--map--source-contact:has(.js-map-location-picker)
    .section--map__map-shell,
  .section--map--source-client-support:has(.js-map-location-picker)
    .section--map__map-shell {
    display: none !important;
  }
  .section--map--source-contact:has(.js-map-location-picker)
    .section--map__location-select-wrap--mobile-only.section--map__location-picker,
  .section--map--source-client-support:has(.js-map-location-picker)
    .section--map__location-select-wrap--mobile-only.section--map__location-picker {
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.25rem;
  }
}
/* Custom location picker: listbox + trigger (not native select). */
.section--map__location-picker {
  position: relative;
  width: 100%;
}
.section--map__location-picker:not(
  .section--map__location-select-wrap--mobile-only
) {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.section--map__location-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.4;
  font-family: inherit;
  text-align: left;
  color: #737373;
  background: #f5f5f5;
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}
.section--map__location-picker-trigger:hover,
.section--map__location-picker-trigger:focus {
  background-color: #efefef;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}
.section--map__location-picker-trigger:focus:not(:focus-visible) {
  box-shadow: none;
}
.section--map__location-picker-trigger:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}
.section--map__location-picker-trigger.has-selection
  .section--map__location-picker-label {
  color: #171717;
}
.section--map__location-picker-label {
  flex: 1;
  min-width: 0;
  padding-right: 0.75rem;
}
.section--map__location-picker-chevron {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.section--map__location-picker-trigger[aria-expanded="true"]
  .section--map__location-picker-chevron {
  transform: rotate(180deg);
}
.section--map__location-picker-panel {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 0.75rem 0 0.5rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}
.section--map__location-picker-panel[hidden] {
  display: none !important;
}
.section--map__location-picker-panel-title {
  margin: 0 0 0.35rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.3;
  font-weight: 400;
  color: #737373;
}
.section--map__location-picker-options {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0 0.5rem 0.25rem;
  max-height: min(50vh, 20rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.section--map__location-picker-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
  line-height: 1.35;
  font-family: inherit;
  text-align: left;
  color: #171717;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.section--map__location-picker-option:hover,
.section--map__location-picker-option:focus {
  background: #f5f5f5;
  outline: none;
}
.section--map__location-picker-option:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08);
}
.section--map__location-picker-option.is-selected,
.section--map__location-picker-option[aria-selected="true"] {
  background: #f0f0f0;
}
.section--map__location-picker-panel-foot {
  display: flex;
  justify-content: center;
  padding: 0.25rem 0 0.15rem;
}
.section--map__location-picker-panel-chevron {
  display: block;
}
.section--map__region-select-input {
  width: 100%;
  padding: 0.6rem 2rem 0.6rem 0.75rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #171717;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23525252' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
}
.section--map__region-select-input:hover,
.section--map__region-select-input:focus {
  border-color: #a3a3a3;
  outline: none;
}
/* Client-support: region location list overlay on map (must sit above SVG) */
.section--map__region-locations {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* JS will set left/top/transform to center popup on the clicked region. */
}
.section--map__region-locations:not([hidden]) {
  pointer-events: auto;
}
/* Ensure popup is visible when shown (override any [hidden] UA style) */
.section--map__region-locations[hidden] {
  display: none !important;
}
.section--map__region-locations:not([hidden]) {
  display: flex !important;
}
.section--map__region-locations-inner {
  background: #fff;
  border-radius: 0.625rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
  min-width: 12rem;
  max-width: 90%;
}
.section--map__region-location-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 1.25rem;
  border: none;
  background: transparent;
  font-size: 1rem;
  line-height: 1.35;
  color: #171717;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.section--map__region-location-btn:hover {
  background: #f5f5f5;
}
.section--map__region-location-arrow {
  font-size: 1.1rem;
  color: #737373;
  margin-left: 0.5rem;
}
/* Dimmed pins (client-support: not in selected region) */
.section--map__pin.section--map__pin--dimmed {
  opacity: 0.35;
}
.section--map__pin.section--map__pin--dimmed:hover {
  opacity: 0.5;
}
.section--map__details {
  width: 100%;
}
@media (min-width: 1024px) {
  .section--map__details {
    width: 41%;
  }
}
.section--map__map-bg {
  position: relative;
  z-index: 0;
  width: 100%;
  background: #f5f5f5;
  border-radius: 0.625rem;
  overflow: hidden;
}
.section--map__map-media {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}
/*
 * Single coordinate box for map + pins (793×685 = map_bg.svg / map_regions.svg viewBox).
 * Reference contact map: height tracks column width only — no max-height: vh/cqh (avoids vertical scaling with viewport height).
 */
.section--map__map-graphic {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 793 / 685;
  height: auto;
}
@media (min-width: 1024px) {
  .section--map__layout > .section--map__map-shell > .section--map__map-bg {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .section--map__layout
    > .section--map__map-shell
    > .section--map__map-bg
    > .section--map__map-media {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
  }
}
.section--map__map-graphic > .section--map__map-image,
.section--map__map-graphic > .section--map__map-svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  box-sizing: border-box;
  z-index: 0;
}
.section--map__map-graphic > .section--map__map-image {
  object-fit: contain;
  object-position: center;
}
.section--map__map-graphic > .section--map__map-svg {
  pointer-events: auto;
}
.section--map__map-svg .section--map__region-highlight {
  fill: transparent;
  pointer-events: none;
  /* Draw stroke above fill so region borders stay crisp over the tinted fill. */
  paint-order: stroke fill;
  stroke-width: 1;
}
/* Rollover matches selected intensity; fill-opacity lets #E4E4E4 / #D2D2D2 linework show through. */
.section--map__map-svg .section--map__region-highlight.is-hovered,
.section--map__map-svg .section--map__region-highlight.is-highlighted {
  fill: #e4fb5e !important;
  fill-opacity: 0.85 !important;
  stroke: #b8b8b8 !important;
  stroke-opacity: 1 !important;
  transition:
    fill 0.2s ease,
    fill-opacity 0.2s ease;
}
/* Only region paths (with id) receive hover/click; others do not block. */
.section--map__map-svg path:not([id]) {
  pointer-events: none;
}
.section--map__map-svg path[id] {
  cursor: pointer;
}
/* Center region shipped with fill="#FFF" in SVG; match west/east/canada (#f7f7f7) without redeploying the asset. */
.section--map__map-svg path#center-region {
  fill: #f7f7f7;
}
/* Hit-layer clones (no id) must receive clicks; override path:not([id]) */
.section--map__map-svg path.section--map__region-hit {
  pointer-events: auto !important;
  pointer-events: all !important;
  cursor: pointer;
}
/* Cloned map/state linework drawn above highlight + hit layer (no extra pointer target). */
.section--map__map-svg .section--map__linework-overlay {
  pointer-events: none;
}
.section--map__map-svg .section--map__linework-overlay path {
  pointer-events: none !important;
}
/* Client-support with region SVG: hide location pins (interaction is region → popup → location card). */
.section--map--client-support .section--map__pins {
  display: none;
}
.section--map__pins {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.section--map__pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  border: none;
  padding: 0;
  background: transparent;
  z-index: 1;
}
.section--map__pin-icon {
  width: 16px;
  height: 16px;
}
.section--map__pin-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%) scale(0);
  white-space: nowrap;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: #f5f5f5;
  color: #171717;
  font-size: 11px;
  line-height: 1.2;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
  z-index: 2;
}
.section--map__pin:hover .section--map__pin-label {
  transform: translate(-50%, -120%) scale(1);
}
.section--map__pin.is-active .section--map__pin-label {
  transform: translate(-50%, -120%) scale(1);
  background: #e4fb5e;
}
/* Location card stacks: only location cards have [data-location-index]; keep [hidden] enforced. */
.section--map__card-stack[hidden],
.js-map-card[data-location-index][hidden] {
  display: none !important;
}
.section--map__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.section--map__card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* Main content card – same bg as action cards below. */
.section--map__card {
  border-radius: 0.625rem;
  padding: 1.75rem 1.5rem;
}
.section--map__card--default,
.section--map__card--main {
  background: #f5f5f5;
  min-height: 6rem;
}
.section--map__card--default:not([hidden]) {
  display: block;
}
.section--map__card-title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 400;
  color: #171717;
}
.section--map__card-body {
  font-size: 1rem;
  line-height: 22.4px;
  color: #525252;
  margin-bottom: 1rem;
}
.section--map__card-hours {
  font-size: 16px;
  line-height: 1.4;
  color: #525252;
  margin: 0 0 0.5rem;
}
.section--map__card-address {
  font-size: 16px;
  line-height: 1.5;
  color: #525252;
  margin: 0 0 0.75rem;
}
.section--map__card-link {
  margin: 0 0 0.5rem;
  font-size: 16px;
}
.section--map__card-link-anchor {
  font-size: 16px;
  color: #171717;
  text-decoration: underline;
}
.section--map__card-link-anchor:hover {
  color: #171717;
}
/* Action cards (grey, with arrow) – Call Us / Learn more. */
.section--map__card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #f5f5f5;
  border-radius: 0.625rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}
.section--map__card-action:hover {
  background: #ebebeb;
}
.section--map__card-action--call {
  color: rgb(101, 101, 101);
}
.section--map__card-action-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.section--map__card-action-label {
  font-size: 18px;
  color: rgb(23, 23, 23);
}
.section--map__card-action-value {
  font-size: 16px;
  font-weight: 400;
  color: rgb(101, 101, 101);
}
.section--map__card-action-sublabel {
  display: block;
  font-size: 16px;
  color: rgb(101, 101, 101);
  margin-top: 0.15rem;
}
.section--map__card-action-sublabel a {
  color: rgb(101, 101, 101);
  text-decoration: none;
}
.section--map__card-action-sublabel a:hover {
  color: #171717;
}
.section--map__card-action--learn .section--map__card-action-icon {
  text-decoration: none;
  color: inherit;
}
.section--map__card-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #e4fb5e;
  color: #3d4a1e;
  flex-shrink: 0;
}
.section--map__card-action-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.section--map--local-landing
  .section--map__map-bg.local-landing__map-embed
  iframe {
  display: block;
  width: 100%;
  min-height: 21rem;
  border: 0;
}
@media (min-width: 1024px) {
  .section--map--local-landing
    .section--map__map-bg.local-landing__map-embed
    iframe {
    min-height: 30rem;
  }
}

/* Card link: clickable block (article + resource cards). */
.articles-list__card-link {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
  text-decoration: none;
  color: inherit;
  border-radius: 0.5rem;
  cursor: pointer;
  min-height: 100%;
}
.articles-list__card-link:hover .articles-list__card-title,
.articles-list__card-link:focus .articles-list__card-title {
  text-decoration: underline;
}
.articles-list__card-link:focus {
  outline: none;
}

/* Resource archive (CPT listing): title 28px / 1em, no hover underline */
#resource-archive-wrap .articles-list__card-title {
  font-size: 28px;
  line-height: 1em;
}
#resource-archive-wrap
  .articles-list__card-link:hover
  .articles-list__card-title,
#resource-archive-wrap
  .articles-list__card-link:focus
  .articles-list__card-title {
  text-decoration: none;
}
#resource-archive-wrap
  .articles-list__card-link--featured
  .articles-list__card-title {
  font-size: 28px;
  line-height: 1em;
}

/* Card media (image or placeholder). */
.articles-list__card-media {
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: #e4e4e4;
  width: 100%;
  height: 20.75rem;
}
.articles-list__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card content block. */
.articles-list__card-content {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}
.articles-list__card-title {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 400;
  color: #171717;
  margin: 0;
}
.articles-list__card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.articles-list__card-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #404040;
}
.articles-list__card-label:hover {
  text-decoration: underline;
}
.articles-list__card-date {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #525252;
}
.articles-list__card-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}
.articles-list__card-pills span,
.articles-list__card-pills a {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 0.875rem;
  border-radius: 60px;
  background-color: #f5f5f5;
  font-size: 0.75rem;
  line-height: 1;
  color: #525252;
  border: 1px solid transparent;
}
.articles-list__card-pills a:hover {
  background-color: #e4e4e4;
}

/* Featured card spacing. */
.articles-list__featured {
  margin-top: 5rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .articles-list__featured {
    margin-bottom: 5rem;
  }
}
@media (min-width: 1024px) {
  .articles-list__featured {
    margin-top: 9.375rem;
    margin-bottom: 9.375rem;
  }
}

/* Load more button (articles + resource archives). */
.articles-archive__load-more {
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) {
  .articles-archive__load-more {
    margin-top: 3.375rem;
  }
}
.articles-archive__load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background-color: #171717;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
  width: 100%;
  cursor: pointer;
  border: none;
}
@media (min-width: 768px) {
  .articles-archive__load-more-btn {
    width: auto;
  }
}
.articles-archive__load-more-btn:hover {
  background-color: #262626;
}
.articles-archive__load-more-btn svg {
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
}
/* After AJAX / last page: must beat inline critical CSS `display:flex!important` on #resource-archive-wrap (inc/resource-styles.php). */
#resource-archive-wrap .articles-archive__load-more.is-hidden,
.articles-archive__load-more.is-hidden {
  display: none !important;
}

/* Articles: featured card. Mobile = stacked (image on top). Desktop = 2 columns, 20px gap, left content (2px border-top), right image. */
.articles-list__card-link--featured .articles-list__card-content {
  border-top: 2px solid #e4e4e4;
}
.articles-list__card-link--featured {
  gap: 20px;
  flex-direction: column-reverse;
  border-bottom: 2px solid #e4e4e4;
  padding-bottom: 5rem;
}
.articles-list__card-link--featured .articles-list__card-media {
  height: 20rem;
}
.articles-list__card-link--featured .articles-list__card-title {
  font-size: 28px;
  line-height: 1.25;
}
@media (min-width: 640px) {
  .articles-list__card-link--featured .articles-list__card-media {
    height: 24rem;
  }
}
@media (min-width: 768px) {
  .articles-list__card-link--featured {
    border-bottom: none;
    padding-bottom: 0;
  }
}
@media (min-width: 1024px) {
  .articles-list__card-link--featured {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
  }
  .articles-list__card-link--featured .articles-list__card-content {
    grid-column: 1;
    grid-row: 1;
    border-bottom: none !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    text-align: left !important;
    min-height: 37.125rem;
  }
  .articles-list__card-link--featured .articles-list__card-media {
    grid-column: 2;
    grid-row: 1;
    min-height: 37.125rem;
    height: 37.125rem;
  }
  .articles-list__card-link--featured .articles-list__card-title {
    font-size: 28px;
    line-height: 1.25;
  }
}

/* Article single: top spacing (clear fixed header) + narrow center wrapper (match design spec) */
.article-single {
  padding-top: 5rem;
}
.article-single__wrap {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 6.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  overflow: visible;
}
@media (min-width: 768px) {
  .article-single__wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.article-single__body {
  width: 100%;
  overflow: visible;
}
.article-single__grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  overflow: visible;
}
@media (min-width: 1024px) {
  .article-single__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(23rem, 1fr);
    gap: 24px;
  }
}
.article-single__content {
  width: 100%;
  max-width: 916px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  overflow: visible;
}
@media (min-width: 768px) {
  .article-single__content {
    margin-left: 0;
  }
}
@media (min-width: 1024px) {
  .article-single__content {
    justify-self: start;
  }
}
.article-single__sidebar {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .article-single__sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 5rem;
    align-self: start;
    max-width: 446px;
    justify-self: end;
    z-index: 1;
  }
}
.article-single__intro {
  line-height: 1.5;
  color: #404040;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .article-single__intro {
    font-size: 1.5rem;
  }
}
.article-single__divider {
  border: 0;
  border-top: 1px solid #e4e4e4;
  margin-bottom: 2rem;
}
.prose-blog {
  max-width: none;
  font-size: 1rem;
  line-height: 1.5;
  color: #171717;
}
.prose-blog h1,
.prose-blog h2,
.prose-blog h3 {
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-size: 1.5rem;
}
.prose-blog a {
  color: #404040;
  text-decoration: underline;
}
.prose-blog a:hover {
  text-decoration: none;
}

/* Article single: hero with image – aspect-ratio 5/2; image covers container */
.article-hero__with-image {
  aspect-ratio: 5 / 2;
}
.article-hero__with-image .article-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 767px) {
  .article-hero__with-image {
    aspect-ratio: auto;
    min-height: 12rem;
  }
  .article-hero__with-image .article-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Article/resource single: hero when there is no featured image (centered title + deck + meta row; reference case study) */
.article-hero--text-only {
  background: #ffffff;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .article-hero--text-only {
    margin-bottom: 2.5rem;
  }
}
.article-hero--text-only .article-hero__text-only-inner {
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 1.25rem 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .article-hero--text-only .article-hero__text-only-inner {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
}
.article-hero__title--text-only {
  font-size: 52px;
  line-height: 52px;
  padding-bottom: 110px;
}
.article-hero--text-only .article-hero__title--text-only {
  margin: 0 auto;
  font-weight: 400;
  color: #171717;
  letter-spacing: -0.02em;
  text-align: center;
}
@media (max-width: 767px) {
  .article-hero--text-only .article-hero__title--text-only {
    font-size: clamp(1.75rem, 0.35rem + 5vw, 52px);
    line-height: 1.1;
  }
}
.article-hero--text-only .article-hero__deck {
  margin-top: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 28px;
  line-height: 28px;
  color: #404040;
  text-align: center;
}
.article-hero--text-only .article-hero__meta-bar {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
@media (min-width: 640px) {
  .article-hero--text-only .article-hero__meta-bar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}
.article-hero--text-only .article-hero__meta-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .article-hero--text-only .article-hero__meta-left {
    justify-content: flex-start;
  }
}
.article-hero--text-only .article-hero__label--text-only {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  color: #171717;
  text-decoration: underline;
}
.article-hero--text-only .article-hero__label--text-only:hover {
  color: #171717;
  text-decoration: underline;
}
.article-hero--text-only .article-hero__date--text-only {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #737373;
  font-weight: 400;
}
.article-hero--text-only .article-hero__tags--text-only {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}
@media (min-width: 640px) {
  .article-hero--text-only .article-hero__tags--text-only {
    justify-content: flex-end;
    flex: 1;
    min-width: min(100%, 12rem);
  }
}
.article-hero--text-only .article-hero__pill--text-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 60px;
  border: 1px solid transparent;
  background-color: #f5f5f5;
  padding: 0.625rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
  color: #525252;
  transition: background-color 0.15s ease;
}
.article-hero--text-only .article-hero__pill--text-only:hover {
  background-color: #e4e4e4;
}

/* Case study inline quote: quotation marks match testimonial cards (section-testimonials.php); explicit size + jet-100 fill if utilities omit on singles */
.case-study-client-quote__marks {
  display: none;
  width: 4.625rem;
  height: 4.625rem;
  flex-shrink: 0;
  align-self: flex-start;
}
@media (min-width: 768px) {
  .case-study-client-quote__marks {
    display: block;
  }
}
.case-study-client-quote__marks path {
  fill: #f0f0f0;
}

/* Case study: repeated headline in main column (below hero, above quote); width follows .article-single__content */
.case-study-content__column-headline {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 0.5rem + 2.5vw, 2.75rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #171717;
  text-align: left;
  max-width: 100%;
}
@media (min-width: 768px) {
  .case-study-content__column-headline {
    font-size: 2.75rem;
    line-height: 1.1;
  }
}

/* Case study: Service + solution_applied_text (ACF) */
.case-study-content__service-applied__label {
  font-size: 18px;
  font-weight: 400;
}
.case-study-content__service-applied__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.25rem;
}
/* Each item is typically <li><a>…</a></li>; contents lets anchors sit in one flex row (true inline flow). */
.case-study-content__service-applied__body li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}
.case-study-content__service-applied__body li a {
  display: inline;
  text-decoration: none;
  font-weight: 600;
}
/* Pasted HTML often includes <br> inside links; hide so labels stay on one line */
.case-study-content__service-applied__body li a br {
  display: none;
}

.article-hero__title {
  margin: 0;
}
@media (min-width: 768px) {
  .article-hero__with-image .article-hero__title {
    font-size: 52px;
    line-height: 1;
  }
}
/* Hero category pills: same light pill style as elsewhere (bg-jet-50, text-jet-600 in template) */

/* Article single: HubSpot form in sidebar – inherit theme fonts; match reference button/inputs */
.article-sidebar .hubspot-form-wrapper.article-sidebar__hubspot--fonts,
.article-sidebar
  .hubspot-form-wrapper.article-sidebar__hubspot--fonts
  .hs-form {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-weight: inherit;
}
.article-sidebar .hubspot-form-wrapper .hs-form fieldset {
  border: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}
.article-sidebar .hubspot-form-wrapper .hs-form-field {
  margin-bottom: 1rem;
}
.article-sidebar .hubspot-form-wrapper .hs-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e4e4e4;
  border-radius: 0.5rem;
  font-size: inherit;
  color: #171717;
  background: #fff;
  font-family: inherit;
}
.article-sidebar .hubspot-form-wrapper .hs-button.primary,
.article-sidebar .hubspot-form-wrapper .custom-submit-button {
  display: inline-block;
  background: #171717;
  color: #fff;
  font-weight: 500;
  font-family: inherit;
  font-size: inherit;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  margin-top: 1rem;
}
.article-sidebar .hubspot-form-wrapper .custom-submit-button:hover {
  background: #333;
}

/* Article single: content + sidebar (match design spec) */
.article-single__intro {
  line-height: 1.5;
}
.article-single__entry p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}
.article-single__entry p:last-child {
  margin-bottom: 0;
}
.article-single__entry blockquote {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid #e5e5e5;
  font-style: italic;
  color: #525252;
}
.article-single__entry strong {
  font-weight: 700;
  color: #171717;
}

/* Article footer CTA: same layout/styles as section-cta (services); spacing only */
.article-footer-cta {
  padding-top: 3rem;
}
@media (min-width: 768px) {
  .article-footer-cta {
    padding-top: 4rem;
  }
}
/* Right-side placeholder when no image: green gradient + subtle shapes */
.article-footer-cta__visual-placeholder {
  background: linear-gradient(180deg, #d4e08a 0%, #b8d96a 40%, #9bcb4a 100%);
  position: relative;
}
.article-footer-cta__visual-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.25) 0%,
    transparent 55%
  );
  pointer-events: none;
}
.article-footer-cta__visual-placeholder::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: 10%;
  width: 60%;
  height: 50%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Forms block (HubSpot): section id matches Theme #hubspotFormSection for anchor + title line-height at lg */
@media (min-width: 1024px) {
  #hubspotFormSection .lg\:text-heading-5 {
    line-height: 1em;
  }
}

/* Contact page: forms block tuning */
.section--forms__inner {
  max-width: 62.5rem; /* ~1000px */
}

/* Title */
.section--forms__title {
  margin: 0 0 1rem;
  font-family: "basisGrotesque", sans-serif;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 400;
  color: rgb(141, 141, 141);
}

/* Title strong */
.section--forms__title strong {
  color: rgb(52, 52, 52);
}

/* Form container gradient */
.section--forms__form-wrap {
  background-image: radial-gradient(
    57.6% 51.54% at 100% 105.06%,
    rgba(179, 226, 156, 0.7) 0%,
    rgba(223, 254, 103, 0.7) 50.7%,
    rgb(230, 231, 218) 100%
  );
}

/* Contact forms tuning */

/* 1) Remove top margin on forms inner */
.section--forms__inner {
  margin-top: 0;
}

/* 2 & 3) Heading + header wrapper spacing */
.section--forms__header {
  margin-bottom: 88px;
}

.section--forms__title strong {
  font-weight: 400;
}

.section--forms__title {
  margin-bottom: 88px; /* if you want the margin on the h2 itself */
}

/* 4) Two-column form layout utility (HubSpot fieldset classes) */
.form-columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* HubSpot: three fields in one row */
.form-columns-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .form-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.form-columns-3 > legend {
  grid-column: 1 / -1;
}

.legal-consent-container .hs-form-booleancheckbox input[type="checkbox"],
.hs-form-booleancheckbox input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px !important;
  height: 18px !important;
  border: 2px solid #656565 !important;
  border-radius: 3px !important;
  outline: none !important;
  cursor: pointer;
  position: relative;
  margin-right: 0;
  margin-top: 2px;
  min-width: 18px;
  background-color: white !important;
  padding: 0;
}

.legal-consent-container .hs-form-booleancheckbox-display > span {
  display: block;
  margin-left: 20px;
}
.legal-consent-container .hs-form-booleancheckbox-display > span {
  padding-left: 10px;
}

.legal-consent-container a {
  color: #000;
  text-decoration: underline;
}
