.gap-copy {
  position: relative;
  isolation: isolate;
  min-height: max(76svh, 31.5rem);
}

.home-scroll-reveal {
  --home-section-reveal-opacity: 0;
  --home-section-reveal-translate-y: 38px;
}

.home-scroll-reveal__body {
  opacity: var(--home-section-reveal-opacity);
  transform: translate3d(0, var(--home-section-reveal-translate-y), 0);
  will-change: opacity, transform;
  transition:
    opacity 0.12s linear,
    transform 0.12s linear;
}

.gap-scroll-section {
  --gap-reveal-opacity: 0;
  --gap-reveal-translate-y: 34px;
}

.gap-scroll-section .home-section-overline,
.gap-scroll-section .gap-title-wrap {
  opacity: var(--gap-reveal-opacity);
  transform: translate3d(0, var(--gap-reveal-translate-y), 0);
  will-change: opacity, transform;
}

.gap-scroll-section .home-section-overline {
  transition:
    opacity 0.12s linear,
    transform 0.12s linear;
}

.gap-scroll-section .gap-title-wrap {
  transition:
    opacity 0.12s linear,
    transform 0.12s linear;
}

/* Reusable scroll fade utility: opt-in via data-scroll-fade on any block. */
[data-scroll-fade] {
  --ql-scroll-fade-opacity: 0;
  --ql-scroll-fade-translate-y: 38px;
  --ql-scroll-fade-duration: 0.14s;
  opacity: var(--ql-scroll-fade-opacity);
  transform: translate3d(0, var(--ql-scroll-fade-translate-y), 0);
  will-change: opacity, transform;
  transition:
    opacity var(--ql-scroll-fade-duration) linear,
    transform var(--ql-scroll-fade-duration) linear;
}

@media (prefers-reduced-motion: reduce) {
  [data-scroll-fade],
  .home-scroll-reveal__body,
  .gap-scroll-section .home-section-overline,
  .gap-scroll-section .gap-title-wrap {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js-contact-office-slide {
    transition: none;
  }
}

/* Shared design tokens for CTA colors, icon motion, and reusable pill geometry. */
:root {
  --ql-color-accent: #fffd01;
  --ql-color-ink: #2b2b2b;
  --ql-color-ink-strong: #191919;
  --ql-color-paper: #ffffff;
  --ql-radius-pill: 9999px;
  --ql-icon-box-lg: 44px;
  --ql-icon-shift: 4px;
  --ql-motion-soft: 0.2s;
  --ql-motion-fade: 0.18s;
  --ql-motion-base: 0.24s;
}

.admin-post-editor .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid #c9c6bf;
  background: #ffffff;
}

.admin-post-editor .ql-container.ql-snow {
  min-height: 360px;
  border: 0;
  font-family: var(--font-sans);
  font-size: 15px;
}

.admin-post-editor .ql-editor {
  min-height: 360px;
  color: #191919;
}

body.qe-assistant-modal-open {
  overflow: hidden;
}

.home-hero-shell {
  min-height: min(100svh, 900px);
}

.home-hero-surface {
  border-top-left-radius: 64px;
  border-top-right-radius: 64px;
}

.home-hero-stage {
  min-height: inherit;
  padding-top: 8.5rem;
  padding-bottom: 2.5rem;
}

.home-hero-title {
  font-size: 68px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
}

/* Design manual token mapping: Heading 3 for home service card titles. */
.home-heading-3,
.home-service-card-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* Design manual token mapping: Body text large for home spotlight card copy. */
.home-body-large {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

/* Design manual token mapping: Body text medium for supporting home copy. */
.home-body-medium {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

/* Design manual token mapping: Heading 4 for compact home subheads. */
.home-heading-4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* Design manual token mapping: resource prompts use body text in both breakpoints. */
.home-resource-question {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

/* Design manual token mapping: mobile-h3 and desktop-h3 for service prefooter titles. */
.service-prefooter__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .home-heading-3,
  .home-service-card-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .home-body-large {
    font-size: 20px;
  }

  .home-body-medium {
    font-size: 18px;
  }

  .home-resource-question {
    font-size: 18px;
  }

  .service-prefooter__title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }
}

/* Shared CTA foundations: spacing, icon slots, and default/hover icon swap states. */
.hero-cta-btn,
.team-cta-btn,
.dark-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-cta-btn__label,
.team-cta-btn__label,
.dark-cta-btn__label {
  white-space: nowrap;
}

:is(
  .hero-cta-btn__icon,
  .dark-cta-btn__icon,
  .team-cta-btn__icon-stack,
  .spotlight-card-cta,
  .expertise-card-cta,
  .resource-card-cta,
  .resource-card-mobile-cta
) {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--ql-radius-pill);
}

.hero-cta-btn__icon,
.dark-cta-btn__icon,
.spotlight-card-cta,
.resource-card-cta {
  width: var(--ql-icon-box-lg);
  height: var(--ql-icon-box-lg);
}

.team-cta-btn__icon-stack {
  width: 18px;
  height: 18px;
}

.expertise-card-cta {
  width: 40px;
  height: 40px;
}

.resource-card-mobile-cta {
  width: 36px;
  height: 36px;
}

:is(
  .hero-cta-btn__icon-asset,
  .team-cta-btn__icon-asset,
  .dark-cta-btn__icon-asset,
  .spotlight-card-cta__icon,
  .expertise-card-cta__icon,
  .resource-card-cta__icon,
  .resource-card-mobile-cta__icon
) {
  position: absolute;
  object-fit: contain;
  transition:
    opacity var(--ql-motion-fade) ease,
    transform var(--ql-motion-base) ease;
}

.hero-cta-btn__icon-asset,
.dark-cta-btn__icon-asset {
  width: 16px;
  height: 16px;
}

.team-cta-btn__icon-asset {
  width: 18px;
  height: 18px;
}

.spotlight-card-cta__icon,
.resource-card-cta__icon {
  width: 15px;
  height: 15px;
}

.expertise-card-cta__icon {
  width: 14px;
  height: 14px;
}

.resource-card-mobile-cta__icon {
  width: 13px;
  height: 13px;
}

:is(
  .hero-cta-btn__icon-asset--default,
  .team-cta-btn__icon-asset--default,
  .dark-cta-btn__icon-asset--default,
  .spotlight-card-cta__icon--default,
  .expertise-card-cta__icon--default,
  .resource-card-cta__icon--default,
  .resource-card-mobile-cta__icon--default
) {
  opacity: 1;
  transform: translateX(0);
}

:is(
  .hero-cta-btn__icon-asset--hover,
  .team-cta-btn__icon-asset--hover,
  .dark-cta-btn__icon-asset--hover,
  .spotlight-card-cta__icon--hover,
  .expertise-card-cta__icon--hover,
  .resource-card-cta__icon--hover,
  .resource-card-mobile-cta__icon--hover
) {
  opacity: 0;
  transform: translateX(calc(-1 * var(--ql-icon-shift)));
}

:is(.hero-cta-btn, .team-cta-btn, .dark-cta-btn):is(:hover, :focus-visible)
  :is(
    .hero-cta-btn__icon-asset--default,
    .team-cta-btn__icon-asset--default,
    .dark-cta-btn__icon-asset--default
  ),
:is(.hero-cta-btn, .team-cta-btn, .dark-cta-btn):active
  :is(
    .hero-cta-btn__icon-asset--default,
    .team-cta-btn__icon-asset--default,
    .dark-cta-btn__icon-asset--default
  ),
.group:is(:hover, :focus-visible)
  :is(
    .spotlight-card-cta__icon--default,
    .expertise-card-cta__icon--default,
    .resource-card-cta__icon--default,
    .resource-card-mobile-cta__icon--default
  ),
.group:active
  :is(
    .spotlight-card-cta__icon--default,
    .expertise-card-cta__icon--default,
    .resource-card-cta__icon--default,
    .resource-card-mobile-cta__icon--default
  ) {
  opacity: 0;
  transform: translateX(var(--ql-icon-shift));
}

:is(.hero-cta-btn, .team-cta-btn, .dark-cta-btn):is(:hover, :focus-visible)
  :is(
    .hero-cta-btn__icon-asset--hover,
    .team-cta-btn__icon-asset--hover,
    .dark-cta-btn__icon-asset--hover
  ),
:is(.hero-cta-btn, .team-cta-btn, .dark-cta-btn):active
  :is(
    .hero-cta-btn__icon-asset--hover,
    .team-cta-btn__icon-asset--hover,
    .dark-cta-btn__icon-asset--hover
  ),
.group:is(:hover, :focus-visible)
  :is(
    .spotlight-card-cta__icon--hover,
    .expertise-card-cta__icon--hover,
    .resource-card-cta__icon--hover,
    .resource-card-mobile-cta__icon--hover
  ),
.group:active
  :is(
    .spotlight-card-cta__icon--hover,
    .expertise-card-cta__icon--hover,
    .resource-card-cta__icon--hover,
    .resource-card-mobile-cta__icon--hover
  ) {
  opacity: 1;
  transform: translateX(0);
}

/* Button-specific overrides built on the shared CTA/icon-swap primitives above. */
.hero-cta-btn {
  padding: 2px 2px 2px 30px;
  border-radius: var(--ql-radius-pill);
  background: var(--ql-color-accent);
  color: var(--ql-color-ink-strong);
  font-size: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transition:
    transform var(--ql-motion-soft) ease,
    box-shadow var(--ql-motion-soft) ease,
    background-color var(--ql-motion-soft) ease,
    color var(--ql-motion-soft) ease;
}

.hero-cta-btn--compact {
  align-self: flex-start;
  width: fit-content;
  flex: 0 0 auto;
}

.hero-cta-btn--video {
  padding-left: 24px;
  font-size: 0.95rem;
}

.hero-cta-btn__icon {
  background: transparent;
  transition:
    background-color var(--ql-motion-soft) ease,
    border-color var(--ql-motion-soft) ease;
}

.hero-cta-btn__icon--play {
  background: transparent;
}

.hero-cta-btn__play {
  display: block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--ql-color-ink-strong);
  transition:
    border-left-color var(--ql-motion-soft) ease,
    transform var(--ql-motion-soft) ease;
}

.hero-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.hero-cta-btn:is(:hover, :focus-visible) .hero-cta-btn__icon {
  background: var(--ql-color-ink-strong);
  border-color: var(--ql-color-ink-strong);
}

.hero-cta-btn--video:is(:hover, :focus-visible) .hero-cta-btn__play,
.hero-cta-btn--video:active .hero-cta-btn__play {
  border-left-color: var(--ql-color-paper);
  transform: translateX(1px);
}

.footer-cta-btn {
  box-shadow: none;
}

.footer-cta-btn:is(:hover, :focus-visible),
.footer-cta-btn:active {
  transform: none;
  box-shadow: none;
}

.team-cta-btn {
  position: relative;
  padding: 2px 12px 2px 30px;
  overflow: hidden;
  border: 2px solid var(--ql-color-ink);
  border-radius: var(--ql-radius-pill);
  color: var(--ql-color-ink);
  font-size: 16px;
  transition:
    border-color var(--ql-motion-soft) ease,
    box-shadow var(--ql-motion-soft) ease,
    transform var(--ql-motion-soft) ease;
}

.team-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0;
  border-radius: var(--ql-radius-pill);
  background: var(--ql-color-accent);
  transition: width var(--ql-motion-soft) ease;
}

.team-cta-btn--icon-leading {
  padding: 2px 30px 2px 12px;
}

.team-cta-btn--accent-outline {
  background: transparent;
  border-color: var(--ql-color-accent);
  color: var(--ql-color-accent);
}

.team-cta-btn--accent-outline::before {
  background: var(--ql-color-accent);
}

.team-cta-btn--icon-leading::before {
  right: auto;
  left: 0;
}

.team-cta-btn__label,
.team-cta-btn__icon,
.team-cta-btn__icon-stack,
.dark-cta-btn__label,
.dark-cta-btn__icon {
  position: relative;
  z-index: 1;
}

.team-cta-btn__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.team-cta-btn__icon-shell {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: transparent;
  transition:
    background-color var(--ql-motion-soft) ease,
    transform var(--ql-motion-soft) ease;
}

.team-cta-btn:is(:hover, :focus-visible) {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.team-cta-btn:is(:hover, :focus-visible)::before,
.team-cta-btn:active::before {
  width: 42px;
}

.team-cta-btn--ghost-accent {
  border-color: var(--ql-color-accent);
  color: var(--ql-color-accent);
  background: transparent;
  box-shadow: none;
}

.team-cta-btn--ghost-accent::before {
  display: none;
}

.team-cta-btn--ghost-accent .team-cta-btn__icon-shell {
  align-self: stretch;
  width: 54px;
  height: auto;
  margin-left: -10px;
  margin-right: -2px;
}

.team-cta-btn--ghost-accent:is(:hover, :focus-visible),
.team-cta-btn--ghost-accent:active {
  color: var(--ql-color-accent);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.team-cta-btn--ghost-accent:is(:hover, :focus-visible)
  .team-cta-btn__icon-shell,
.team-cta-btn--ghost-accent:active .team-cta-btn__icon-shell {
  background: #2b2b2b;
  transform: translateX(0);
}

.dark-cta-btn {
  position: relative;
  border: 0;
  padding: 2px 2px 2px 30px;
  overflow: hidden;
  border-radius: var(--ql-radius-pill);
  background: var(--ql-color-ink);
  color: var(--ql-color-paper);
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--ql-motion-base) ease,
    box-shadow var(--ql-motion-base) ease,
    background-color var(--ql-motion-base) ease;
}

.dark-cta-btn::before {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  width: var(--ql-icon-box-lg);
  border-radius: var(--ql-radius-pill);
  background: var(--ql-color-paper);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--ql-motion-base) ease;
}

.dark-cta-btn--icon-leading {
  padding: 2px 30px 2px 2px;
}

.dark-cta-btn--icon-leading::before {
  right: auto;
  left: 2px;
  transform-origin: left center;
}

.dark-cta-btn--accent-hover::before {
  background: var(--ql-color-accent);
}

.dark-cta-btn:is(:hover, :focus-visible) {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.dark-cta-btn:is(:hover, :focus-visible)::before,
.dark-cta-btn:active::before {
  transform: scaleX(1);
}

.resource-topic-card__cta {
  width: 100%;
  max-width: 100%;
  justify-content: space-between;
  gap: 8px;
  padding-left: 20px;
  font-size: 14px;
}

.resource-topic-card__cta::before,
.resource-topic-card__cta .dark-cta-btn__icon {
  width: 38px;
}

.resource-topic-card__cta .dark-cta-btn__icon {
  height: 38px;
}

/* Card action variants reuse the same swap logic with per-context sizing and contrast. */
.spotlight-card-cta,
.expertise-card-cta,
.resource-card-cta {
  border: 2px solid transparent;
}

.spotlight-card-cta {
  background: var(--ql-color-accent);
  transition:
    background-color var(--ql-motion-base) ease,
    transform var(--ql-motion-base) ease,
    border-color var(--ql-motion-base) ease;
}

.expertise-card-cta,
.resource-card-cta {
  background: var(--ql-color-ink);
  transition:
    background-color var(--ql-motion-base) ease,
    transform var(--ql-motion-base) ease,
    border-color var(--ql-motion-base) ease;
}

.resource-card-cta__icon--default {
  filter: brightness(0) invert(1);
}

.resource-card-mobile-cta {
  border: 1px solid transparent;
  background: var(--ql-color-paper);
  transition:
    background-color var(--ql-motion-base) ease,
    border-color var(--ql-motion-base) ease,
    transform var(--ql-motion-base) ease;
}

.group:is(:hover, :focus-visible)
  :is(
    .spotlight-card-cta,
    .expertise-card-cta,
    .resource-card-cta,
    .resource-card-mobile-cta
  ),
.group:active
  :is(
    .spotlight-card-cta,
    .expertise-card-cta,
    .resource-card-cta,
    .resource-card-mobile-cta
  ) {
  background: transparent;
  transform: translateY(-1px);
}

.group:is(:hover, :focus-visible) .spotlight-card-cta,
.group:active .spotlight-card-cta {
  border-color: var(--ql-color-accent);
}

.group:is(:hover, :focus-visible) :is(.expertise-card-cta, .resource-card-cta),
.group:active :is(.expertise-card-cta, .resource-card-cta) {
  border-color: var(--ql-color-ink);
}

.group:is(:hover, :focus-visible) .resource-card-mobile-cta,
.group:active .resource-card-mobile-cta {
  border-color: var(--ql-color-paper);
}

/* Section primitives and standalone components continue below. */
.home-section-overline {
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.home-stat-value {
  display: inline-flex;
  align-items: flex-start;
  flex: 0 0 auto;
  height: 6rem;
  overflow: hidden;
  white-space: nowrap;
}

.home-stat-value__main {
  display: block;
  flex: 0 0 auto;
  font-size: 160px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.05em;
}

.home-stat-value__main_clients {
  display: block;
  flex: 0 0 auto;
  font-size: 160px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.05em;
}

.home-stat-value__plus {
  display: block;
  flex: 0 0 auto;
  align-self: center;
  margin-left: -0.04em;
  font-size: 68px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
  transform: translateY(-0.05em);
}

.home-stat-value__letter {
  display: block;
  flex: 0 0 auto;
  align-self: center;
  margin-left: -0.04em;
  font-size: 68px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
  transform: translateY(-0.05em);
}

.home-hero-copy {
  margin-bottom: 1.5rem;
}

.qe-assistant-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  background: rgba(43, 43, 43, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.qe-assistant-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.qe-assistant-modal__dialog {
  position: relative;
  width: min(100%, 390px);
  padding-bottom: 72px;
}

.qe-assistant-modal__panel {
  height: min(calc(100svh - 120px), 720px);
  overflow: hidden;
  border-radius: 34px;
  background: #d8d8d8;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.qe-assistant-modal.is-open .qe-assistant-modal__panel {
  opacity: 1;
  transform: translateY(0);
}

.qe-assistant-modal__scroll {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow-y: auto;
  padding: 28px 12px 12px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 120, 118, 0.85) transparent;
}

.qe-assistant-modal__scroll::-webkit-scrollbar {
  width: 8px;
}

.qe-assistant-modal__scroll::-webkit-scrollbar-track {
  background: transparent;
}

.qe-assistant-modal__scroll::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: rgba(124, 120, 118, 0.85);
}

.qe-assistant-modal__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 12px;
}

.qe-assistant-modal__intro {
  max-width: 29ch;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: #2b2b2b;
}

.qe-assistant-modal__bubble {
  align-self: center;
  max-width: 100%;
  border-radius: 9999px;
  background: #ffffff;
  padding: 14px 18px;
  text-align: center;
  font-size: 15px;
  line-height: 1.3;
  color: #2b2b2b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.qe-assistant-modal__spacer {
  flex: 1;
  min-height: 220px;
}

.qe-assistant-modal__footer {
  margin-top: auto;
  padding-top: 24px;
  padding-right: 12px;
}

.qe-assistant-modal__prompt {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 9999px;
  background: #ffffff;
  padding: 0 18px 0 22px;
  color: #7c7876;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.qe-assistant-modal__prompt i {
  flex-shrink: 0;
  color: #2b2b2b;
  font-size: 14px;
}

.qe-assistant-modal__close {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: inline-flex;
  height: 56px;
  width: 56px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  background: rgba(43, 43, 43, 0.72);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.qe-assistant-modal__close img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.qe-assistant-modal__close:hover {
  border-color: #ffffff;
  background: #191919;
  transform: translateX(-50%) translateY(-1px);
}

@media (min-width: 768px) {
  .home-hero-stage {
    padding-top: 10rem;
    padding-bottom: 3rem;
  }

  .home-stat-value__main {
    font-size: 238px;
    line-height: 0.9;
  }

  .home-stat-value__main_clients {
    font-size: 250px;
    line-height: 0.9;
  }

  .team-cta-btn,
  .dark-cta-btn {
    font-size: 18px;
  }

  .resource-topic-card__cta {
    font-size: 14px;
  }

  .home-stat-value__plus {
    font-size: 100px;
  }

  .home-stat-value__letter {
    font-size: 115px;
  }

  .home-stat-value {
    height: 9.75rem;
  }

  .home-hero-copy {
    margin-bottom: 4rem;
  }

  .home-hero-title {
    font-size: 142px;
  }

  .qe-assistant-modal {
    align-items: center;
    padding: 24px;
    background: linear-gradient(
      270deg,
      rgba(43, 43, 43, 0.8) 0%,
      rgba(43, 43, 43, 0.8) 28%,
      rgba(43, 43, 43, 0.8) 58%,
      rgba(43, 43, 43, 0.8) 100%
    );
  }

  .qe-assistant-modal__dialog {
    width: min(100%, 35%);
    padding-bottom: 84px;
  }

  .qe-assistant-modal__panel {
    height: min(760px, calc(100vh - 140px));
    border-radius: 38px;
  }

  .qe-assistant-modal__scroll {
    padding: 36px 18px 18px 36px;
  }

  .qe-assistant-modal__content {
    gap: 28px;
    padding-right: 18px;
  }

  .qe-assistant-modal__intro {
    max-width: 34ch;
    font-size: 20px;
  }

  .qe-assistant-modal__bubble {
    padding: 16px 22px;
    font-size: 17px;
  }

  .qe-assistant-modal__spacer {
    min-height: 280px;
  }

  .qe-assistant-modal__footer {
    padding-right: 18px;
  }

  .qe-assistant-modal__prompt {
    min-height: 58px;
    padding: 0 22px 0 26px;
    font-size: 18px;
  }

  .qe-assistant-modal__close {
    height: 60px;
    width: 60px;
  }
}

.gap-title-wrap {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 4.75rem);
  z-index: 20;
}

/* Design manual token mapping: Heading 2 for key home section titles. */
.home-heading-2 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.gap-title {
  position: relative;
}

.gap-title-mask {
  color: #fffd01;
  width: 100%;
  clip-path: inset(100% 0 0 0 round 0.3rem);
  -webkit-clip-path: inset(100% 0 0 0 round 0.3rem);
  -webkit-text-stroke: 0.012em #fffd01;
  paint-order: stroke fill;
  will-change: clip-path;
}

.gap-title-mask {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

@media (min-width: 768px) {
  .gap-copy {
    min-height: max(82vh, 560px);
  }

  .home-heading-2 {
    font-size: 80px;
  }

  .gap-title-wrap {
    top: clamp(6.5rem, 11vh, 8.5rem);
  }
}

.gap-image-frame img {
  position: relative;
  z-index: 1;
  display: block;
}

.about-overlap-group {
  position: relative;
}

.about-overlap-title-clone {
  white-space: normal;
  width: var(--about-title-width, auto);
  transform: translate(
    var(--about-title-offset-x, 0),
    var(--about-title-offset-y, 0)
  );
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.service-hero {
  position: relative;
  min-height: 100svh;
  background-color: #191919;
}

.service-hero__brand {
  position: absolute;
  inset-inline: 0;
  top: 0;
}

.service-hero__image {
  object-position: center 26%;
}

.service-hero__image--flip {
  transform: scaleX(-1);
  transform-origin: center center;
}

.service-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(25, 25, 25, 0.34) 0%,
    rgba(25, 25, 25, 0.54) 100%
  );
}

.service-hero__shell {
  position: relative;
}

.service-hero__stage {
  min-height: 100svh;
  align-content: start;
  padding-top: clamp(6.25rem, 10vh, 7.75rem);
  padding-bottom: clamp(1.5rem, 4vh, 2.75rem);
}

.service-hero__overline {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 1rem 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-hero__title {
  max-width: 100%;
  font-size: 68px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
  text-wrap: initial;
}

.service-hero__title-line {
  display: block;
}

.service-hero__title-accent {
  color: #fffd01;
}

/* Design manual token mapping: h1-mobile and h1-desktop for service hero titles. */
.h1-mobile {
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.service-hero__title--editorial {
  text-wrap: initial;
}

.service-hero__copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.service-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 430px;
}

.service-hero__cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  background: #fffd01;
  padding: 0.8rem 1.5rem;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #191919;
  transition: opacity 0.2s ease;
}

.service-hero__cta:hover,
.service-hero__cta:focus-visible {
  opacity: 0.9;
}

@media (max-width: 767px) {
  .service-hero__stage {
    padding-top: 7.5rem;
    padding-bottom: 1.5rem;
    gap: 2rem;
  }

  .service-hero__title {
    max-width: 8.8ch;
    font-size: clamp(44px, 11.8vw, 68px);
  }

  .service-hero__title-line {
    display: block;
  }

  .service-hero__title-accent {
    display: inline;
  }

  .h1-mobile {
    font-size: clamp(40px, 10vw, 60px);
  }

  .service-hero__title--editorial {
    max-width: 10ch;
  }

  .service-hero__aside {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .service-hero__stage {
    padding-top: clamp(6.5rem, 11vh, 8.25rem);
    padding-bottom: clamp(2rem, 5vh, 3.5rem);
  }

  .service-hero__aside {
    margin-left: auto;
    margin-top: clamp(1.75rem, 3vh, 2.75rem);
  }

  .service-hero__title {
    width: max-content;
    max-width: 100%;
    font-size: clamp(6rem, 8.75vw, 8.875rem);
  }

  .service-hero__title-line {
    white-space: nowrap;
  }

  .h1-desktop {
    font-size: clamp(4rem, 5.4vw, 5.625rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.06em;
  }

  .service-hero__title--editorial {
    width: max-content;
    max-width: 100%;
  }

  .service-hero__copy {
    font-size: 18px;
  }

  .service-hero__cta {
    font-size: 18px;
  }
}

.community-hero {
  min-height: 100svh;
}

.community-hero__shell,
.community-hero__stage {
  min-height: 100svh;
}

.community-hero__image {
  object-position: 58% 42%;
}

.community-hero__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(25, 25, 25, 0.72) 0%,
      rgba(25, 25, 25, 0.56) 26%,
      rgba(25, 25, 25, 0.2) 56%,
      rgba(25, 25, 25, 0.34) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0) 22%,
      rgba(25, 25, 25, 0.16) 100%
    );
}

.community-hero__stage {
  padding-top: clamp(6.75rem, 11vh, 8.75rem);
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.community-hero__content {
  max-width: 46rem;
}

.community-hero__overline {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(25, 25, 25, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.community-hero__title {
  margin: 0;
  max-width: 7.5ch;
  font-size: clamp(68px, 11vw, 142px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
}

.community-hero__title-line {
  display: block;
}

.community-hero__title-accent {
  color: #fffd01;
}

.community-hero__copy {
  margin: clamp(1.5rem, 2.4vw, 2.5rem) 0 0;
  max-width: 23rem;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 767px) {
  .community-hero__image {
    object-position: 61% center;
  }

  .community-hero__stage {
    justify-content: flex-start;
    padding-top: 7.5rem;
    padding-bottom: 2.5rem;
  }

  .community-hero__content {
    max-width: 100%;
  }

  .community-hero__copy {
    max-width: 18rem;
  }
}

@media (min-width: 768px) {
  .community-hero__copy {
    font-size: 18px;
  }
}

.community-partnerships-section {
  position: relative;
  z-index: 10;
}

.community-partnerships-track {
  position: relative;
  height: var(--community-partnerships-track-height, 3200px);
}

.community-partnerships-sticky {
  --community-partnerships-sticky-top: 0px;
  position: sticky;
  top: var(--community-partnerships-sticky-top);
  min-height: 100svh;
}

.community-partnerships-panel {
  min-height: 100svh;
}

.community-partnerships-panel__inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 100svh;
}

.community-partnerships-stack {
  position: relative;
  width: 100%;
  min-height: min(980px, 100svh);
  height: min(980px, 100svh);
}

.community-partnerships-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease-in-out;
  will-change: opacity;
}

.community-partnerships-slide.is-active {
  pointer-events: auto;
  opacity: 1;
}

.community-partnerships-slide > div {
  height: 100%;
  align-items: center;
  padding-top: clamp(1.5rem, 5vh, 3rem);
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}

.community-card-arrow-item {
  --community-card-arrow-size: 1.25rem;
  --community-card-arrow-offset: 0.4rem;
  display: grid;
  grid-template-columns: var(--community-card-arrow-size) minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: start;
}

.community-card-arrow-item--compact {
  --community-card-arrow-size: 1rem;
  --community-card-arrow-offset: 0.5rem;
}

.community-card-arrow-icon {
  width: var(--community-card-arrow-size);
  height: var(--community-card-arrow-size);
  margin-top: var(--community-card-arrow-offset);
  object-fit: contain;
}

.community-card-arrow-body,
.community-card-arrow-copy {
  min-width: 0;
}

.community-card-arrow-title,
.community-card-arrow-copy {
  margin: 0;
}

.js-partnerships-bg {
  opacity: 1;
  transition: opacity 360ms ease-in-out;
  will-change: opacity;
}

.js-partnerships-bg.is-fading {
  opacity: 0.14;
}

@media (max-width: 767px) {
  .community-partnerships-track {
    height: var(--community-partnerships-track-height, 2500px);
  }

  .community-partnerships-stack {
    min-height: 100svh;
    height: 100svh;
  }

  .community-partnerships-slide > div {
    align-items: flex-start;
    padding-top: 1.25rem;
    padding-bottom: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-partnerships-bg,
  .community-partnerships-slide {
    transition: none;
  }
}

.partnership-logo-link {
  color: #fff;
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.partnership-logo-link:hover {
  transform: scale(1.02);
}

.partnership-logo-image {
  display: block;
  width: min(76vw, var(--partner-logo-width, 30rem));
  height: var(--partner-logo-height, 5.5rem);
  object-fit: contain;
  transition:
    filter 220ms ease,
    opacity 220ms ease;
}

.partnership-logo-link:hover .partnership-logo-image,
.partnership-logo-link:focus-visible .partnership-logo-image {
  filter: brightness(0) saturate(100%) invert(90%) sepia(96%) saturate(1289%)
    hue-rotate(359deg) brightness(108%) contrast(104%);
}

.partnership-logo-image--navarro {
  --partner-logo-width: 33.5rem;
  --partner-logo-height: 5.3rem;
}

.partnership-logo-image--pura-vida {
  --partner-logo-width: 26rem;
  --partner-logo-height: 5rem;
}

@media (max-width: 767px) {
  .partnership-logo-image--navarro {
    --partner-logo-height: 4rem;
  }

  .partnership-logo-image--pura-vida {
    --partner-logo-height: 3.35rem;
  }
}

.services-page {
  position: relative;
  background-color: #191919;
  overflow-x: clip;
  overflow-y: visible;
}

.services-page__sticky-media {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100svh;
  margin-bottom: -100svh;
  overflow: hidden;
  pointer-events: none;
}

.services-page__sticky-media::before,
.services-page__sticky-media::after {
  content: "";
  position: absolute;
  inset: 0;
}

.services-page__sticky-media::before {
  background-image: url("../imgs/banners/services.jpg");
  background-position: center 18%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: none;
  transform-origin: center center;
}

.services-page__sticky-media::after {
  background: rgba(25, 25, 25, 0.74);
}

.services-page__panels {
  position: relative;
  z-index: 1;
}

.services-page__footer {
  position: relative;
  z-index: 3;
}

.services-page__visual-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: transparent;
}

.services-page__visual-section::before,
.services-page__visual-section::after {
  content: none;
}

.services-page__visual-section > * {
  position: relative;
  z-index: 1;
}

.services-page__panel {
  min-height: 100svh;
}

.services-page__hero {
  min-height: 100svh;
}

.services-page__hero-shell {
  position: relative;
  min-height: 100svh;
}

.services-page__hero-brand {
  position: absolute;
  inset-inline: 0;
  top: 0;
}

.services-page__hero-stage {
  min-height: 100svh;
  justify-content: space-between;
  padding-top: clamp(7.5rem, 13vh, 10.5rem);
  padding-bottom: clamp(1.5rem, 4vh, 2.75rem);
}

.services-page__hero-meta {
  margin-top: clamp(2.5rem, 6vh, 5rem);
}

.services-page__links-section {
  min-height: 100svh;
}

.services-page__links-shell {
  box-sizing: border-box;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-page__links-list {
  gap: clamp(0.35rem, 1.15vh, 0.85rem);
}

.services-page__links-list > a {
  transition-property:
    opacity, transform, border-color, padding-left, padding-right;
  transition-duration: 300ms;
  transition-timing-function: ease-in-out;
}

.services-page__links-list > a > span,
.services-page__links-list > a > span img {
  transition-timing-function: ease-in-out;
}

#all-expertise {
  scroll-margin-top: 7rem;
}

.services-page__hero-cta {
  gap: 14px;
  padding: 2px 24px 2px 12px;
  font-size: 18px;
  box-shadow: none;
}

.services-page__hero-cta-icon-asset {
  width: 18px;
  height: 18px;
}

.services-page__overline {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.services-page__hero-title {
  max-width: 1420px;
  font-size: 68px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.services-page__hero-title-accent {
  display: inline-block;
  color: var(--ql-color-accent);
  white-space: nowrap;
}

.services-page__hero-copy {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.resource-detail-hero__title {
  max-width: 100%;
  font-size: clamp(52px, 6vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.resource-detail-hero__meta {
  margin-top: 0.9rem;
  max-width: 42rem;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.resource-detail-hero__image {
  height: clamp(240px, 27vw, 360px);
}

.services-page.is-story-ready [data-services-panel-body] {
  --services-panel-visibility: 0;
  opacity: calc(0.08 + (var(--services-panel-visibility) * 0.92));
  transform: translate3d(
    0,
    calc((1 - var(--services-panel-visibility)) * 46px),
    0
  );
  transition:
    opacity 160ms linear,
    transform 180ms linear;
  will-change: opacity, transform;
}

.services-page.is-story-ready .services-page__links-list > a {
  --services-link-visibility: 0;
  opacity: calc(0.14 + (var(--services-link-visibility) * 0.86));
  transform: translate3d(
    0,
    calc((1 - var(--services-link-visibility)) * 24px),
    0
  );
  transition-property:
    opacity, transform, border-color, padding-left, padding-right;
  transition-duration: 150ms, 180ms, 300ms, 300ms, 300ms;
  transition-timing-function: ease-in-out;
  will-change: opacity, transform;
}

.services-page__visual-section .group > span:last-child {
  background: var(--ql-color-accent);
  color: #2b2b2b;
}

.services-page__visual-section
  .group:is(:hover, :focus-visible)
  > span:last-child,
.services-page__visual-section .group:active > span:last-child {
  background: transparent;
  color: var(--ql-color-accent);
}

@media (max-width: 767px) {
  .resource-detail-hero__title {
    font-size: clamp(44px, 11vw, 64px);
  }

  .resource-detail-hero__meta {
    margin-top: 1rem;
    font-size: 14px;
  }

  .resource-detail-hero__image {
    height: 260px;
  }

  .services-page__hero-stage {
    padding-top: 7.25rem;
    padding-bottom: 1.5rem;
  }

  .services-page__hero-meta {
    margin-top: 2.25rem;
  }

  .services-page__hero-cta {
    font-size: 16px;
  }

  .services-page__hero-title {
    max-width: 100%;
    font-size: clamp(44px, 11.8vw, 68px);
    line-height: 1;
  }

  .services-page__hero-title-accent {
    display: block;
    max-width: 7.2ch;
    white-space: normal;
    text-wrap: balance;
  }

  .services-page__hero-copy {
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: -0.02em;
  }
}

@media (max-width: 420px) {
  .services-page__hero-stage {
    padding-inline: 1.25rem;
  }

  .services-page__hero-title {
    font-size: clamp(44px, 11.2vw, 56px);
  }

  .services-page__hero-title-accent {
    max-width: 6.8ch;
  }
}

@media (min-width: 768px) {
  .services-page__hero-title {
    font-size: clamp(6rem, 8.7vw, 8.9rem);
  }
}

.about-team-scroll-track {
  position: relative;
  height: var(--about-team-track-height, 3600px);
}

.about-team-scroll-sticky {
  --about-team-sticky-top: 8rem;
  position: sticky;
  top: var(--about-team-sticky-top);
  z-index: 1;
}

.real-estate-card-scroll-track {
  position: relative;
}

.real-estate-card-scroll-sticky {
  --real-estate-card-sticky-top: 6.75rem;
  position: sticky;
  top: var(--real-estate-card-sticky-top);
  z-index: 1;
}

.real-estate-card-scroll-panel {
  width: 100%;
  min-height: calc(100svh - var(--real-estate-card-sticky-top));
  display: flex;
  align-items: center;
}

.about-team-scroll-backdrop {
  position: absolute;
  left: 50%;
  top: calc(var(--about-team-sticky-top) * -1);
  bottom: 0;
  z-index: 0;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.about-team-scroll-backdrop__inner {
  width: 100%;
  height: 100%;
}

.about-team-scroll-backdrop__grid {
  height: 100%;
  align-content: stretch;
  align-items: stretch;
  grid-auto-rows: minmax(0, 1fr);
}

.about-team-scroll-backdrop__grid > div {
  min-height: 0;
}

.about-team-scroll-backdrop__grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team-scroll-panel {
  z-index: 1;
  box-shadow: none;
  min-height: max(560px, calc(100svh - var(--about-team-sticky-top)));
}

#about-footprint-section {
  position: relative;
  z-index: 1;
  background: #ffffff;
}

#about-footprint-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -7rem;
  height: 7rem;
  background: #ffffff;
  pointer-events: none;
}

.about-team-scroll__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.about-team-scroll__stack {
  position: relative;
  height: 100%;
  min-height: inherit;
}

.js-team-scroll-slide {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.js-team-scroll-slide.is-active {
  pointer-events: auto;
}

.about-team-card {
  display: grid;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 34px;
  background: #fffd01;
  color: #2b2b2b;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.about-team-card__body {
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem;
}

.about-team-card__counter {
  color: #6f6f6f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.about-team-card__name {
  margin-top: 1.25rem;
  font-size: clamp(3.1rem, 7vw, 6.3rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.about-team-card__role {
  max-width: 380px;
  margin-top: 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.about-team-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.about-team-card__button,
.about-team-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2b2b2b;
  border-radius: 9999px;
  padding: 0.78rem 1.25rem;
  color: #2b2b2b;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.about-team-card__link {
  border-color: rgba(43, 43, 43, 0.45);
}

.about-team-card__button:hover,
.about-team-card__button:focus-visible,
.about-team-card__link:hover,
.about-team-card__link:focus-visible {
  border-color: #2b2b2b;
  background: #2b2b2b;
  color: #ffffff;
}

.about-team-card__media {
  order: 1;
  min-height: 260px;
  overflow: hidden;
  background: #191919;
}

.about-team-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team-card--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.about-team-card--fallback p {
  max-width: 28rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.about-team-scroll__move-on-wrap {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 20;
}

.about-team-scroll__move-on-btn {
  padding: 2px 26px 2px 12px;
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #ffffff;
}

.about-team-scroll__move-on-btn::before {
  display: none;
}

.about-team-scroll__move-on-btn .team-cta-btn__icon {
  width: 18px;
  height: 18px;
}

.about-team-scroll__move-on-btn:is(:hover, :focus-visible),
.about-team-scroll__move-on-btn:active {
  box-shadow: none;
  transform: none;
}

.about-shared-image-source {
  will-change: opacity;
}

.about-shared-image-section {
  --about-shared-copy-opacity: 0;
  --about-shared-copy-translate-y: 36px;
  --about-shared-overlay-opacity: 0;
  --about-shared-target-image-opacity: 0;
  --about-shared-target-scale: 1.04;
  position: relative;
  z-index: 20;
}

.about-shared-image-target {
  position: relative;
  z-index: 2;
  margin-bottom: -3.5rem;
}

.about-team-scroll-section {
  position: relative;
  z-index: 10;
  padding-top: 0.75rem;
}

.about-team-scroll-panel__inner {
  align-items: stretch;
  min-height: max(560px, calc(100svh - var(--about-team-sticky-top)));
  height: max(560px, calc(100svh - var(--about-team-sticky-top)));
  padding-top: 0;
  padding-bottom: 0;
}

.about-shared-image-target__img {
  opacity: var(--about-shared-target-image-opacity);
  transform: scale(var(--about-shared-target-scale));
  transform-origin: center center;
  will-change: transform, opacity;
  transition:
    transform 0.12s linear,
    opacity 0.12s linear;
  object-position: center 32%;
}

.about-shared-image-target__overlay {
  opacity: var(--about-shared-overlay-opacity);
  will-change: opacity;
  transition: opacity 0.12s linear;
}

.about-shared-image-target__content {
  opacity: var(--about-shared-copy-opacity);
  transform: translate3d(0, var(--about-shared-copy-translate-y), 0);
  will-change: opacity, transform;
  transition:
    opacity 0.12s linear,
    transform 0.12s linear;
}

.about-shared-image-clone {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 8;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  will-change: top, left, width, height, border-radius, opacity;
}

.about-shared-image-clone.is-active {
  opacity: 1;
  visibility: visible;
}

.about-shared-image-clone__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.about-shared-image-source img {
  object-position: center 32%;
}

.ql-footprint-map {
  height: 340px;
  width: 100%;
  border-radius: 28px;
  background: transparent;
}

.about-footprint-visual {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(43, 43, 43, 0.1);
  border-radius: 28px;
  background: #d8d8d8;
}

.about-footprint-visual__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 35% 35%,
      rgba(255, 253, 1, 0.45),
      transparent 24%
    ),
    linear-gradient(135deg, #ececec 0%, #d8d8d8 58%, #c8c8c8 100%);
}

.about-footprint-visual__svg {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
}

.about-footprint-visual__path-shadow,
.about-footprint-visual__path-main {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-footprint-visual__path-shadow {
  stroke: #2b2b2b;
  stroke-width: 44;
  opacity: 0.13;
}

.about-footprint-visual__path-main {
  stroke: #ffffff;
  stroke-width: 22;
  opacity: 0.72;
}

.about-footprint-visual__pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  background: #2b2b2b;
  padding: 0.38rem 0.63rem;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.about-footprint-visual__pin-dot {
  width: 0.63rem;
  height: 0.63rem;
  flex: 0 0 auto;
  border-radius: 9999px;
  background: #fffd01;
}

.about-footprint-visual__pin-label {
  display: none;
  white-space: nowrap;
}

.about-footprint-visual__panel {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
  color: #2b2b2b;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.about-footprint-visual__eyebrow {
  color: #6f6f6f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.about-footprint-visual__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .about-team-scroll-backdrop__grid {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .about-shared-image-target {
    margin-bottom: -5.5rem;
  }

  .about-team-scroll-section {
    padding-top: 1.5rem;
  }

  .about-team-scroll-panel__inner {
    min-height: max(620px, calc(100svh - var(--about-team-sticky-top)));
    height: max(620px, calc(100svh - var(--about-team-sticky-top)));
    padding-top: 0;
    padding-bottom: 0;
  }

  .about-team-scroll-panel {
    min-height: max(620px, calc(100svh - var(--about-team-sticky-top)));
  }

  .about-team-scroll-sticky {
    --about-team-sticky-top: 10.5rem;
  }

  .real-estate-card-scroll-panel {
    min-height: calc(100svh - var(--real-estate-card-sticky-top));
  }

  .about-team-scroll__stack {
    min-height: 520px;
  }

  .about-team-card {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  }

  .about-team-card__body {
    order: 1;
    padding: 2.25rem;
  }

  .about-team-card__media {
    order: 2;
    min-height: 0;
  }

  .about-team-scroll__move-on-wrap {
    right: 2rem;
    bottom: 2rem;
  }

  .ql-footprint-map {
    height: 460px;
  }

  .about-footprint-visual__pin-label {
    display: inline;
  }

  .about-footprint-visual__panel {
    left: auto;
    right: 1.25rem;
    width: 260px;
  }

  .about-footprint-visual__list {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 720px) and (min-width: 768px) {
  .real-estate-card-scroll-sticky {
    --real-estate-card-sticky-top: 6.25rem;
  }
}

@media (min-width: 1024px) {
  .about-team-card__body {
    padding: 2.5rem;
  }

  .ql-footprint-map {
    height: 520px;
  }
}

.ql-map-pin {
  background: transparent !important;
  border: 0 !important;
}

.ql-map-pin__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: #2b2b2b;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.ql-map-pin__inner:hover {
  transform: scale(1.06);
}

.ql-map-pin.is-tooltip-open .ql-map-pin__inner {
  opacity: 0;
  transform: scale(0.9);
}

.ql-map-pin__inner svg {
  width: 12px;
  height: 12px;
  color: #ffffff;
}

.leaflet-tooltip.ql-map-tooltip {
  background: transparent !important;
  color: inherit;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  padding: 0 !important;
}

.leaflet-tooltip.ql-map-tooltip::before,
.leaflet-tooltip.ql-map-tooltip.leaflet-tooltip-left::before,
.leaflet-tooltip.ql-map-tooltip.leaflet-tooltip-right::before,
.leaflet-tooltip.ql-map-tooltip.leaflet-tooltip-top::before,
.leaflet-tooltip.ql-map-tooltip.leaflet-tooltip-bottom::before {
  display: none !important;
}

.ql-map-tooltip__content {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 16px 0 18px;
  border-radius: 9999px;
  background: #85807d;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
}

.ql-map-tooltip__label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ql-map-tooltip__icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.ql-map-tooltip__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .ql-map-tooltip__content {
    gap: 10px;
    min-height: 36px;
    max-width: min(calc(100vw - 64px), 190px);
    padding: 0 12px 0 14px;
  }

  .ql-map-tooltip__label {
    font-size: 13px;
  }

  .ql-map-tooltip__icon {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-shared-image-section {
    --about-shared-copy-opacity: 1;
    --about-shared-copy-translate-y: 0px;
    --about-shared-overlay-opacity: 1;
    --about-shared-target-image-opacity: 1;
    --about-shared-target-scale: 1;
  }

  .about-shared-image-target__img,
  .about-shared-image-target__overlay,
  .about-shared-image-target__content {
    transition: none;
  }
}

.leaflet-container {
  font-family: inherit;
  background: white !important;
}

.leaflet-control-container {
  display: none;
}

#scrollNav {
  --nav-top: 24px;
  --nav-max-width: 100%;
  --nav-height: 84px;
  top: var(--nav-top, 24px);
}

#scrollNavInner {
  box-sizing: border-box;
  width: 100%;
  height: var(--nav-height, 84px);
}

.contact-page-main {
  --contact-page-header-space: 80px;
  --contact-qe-block-height: clamp(164px, 33svh, 208px);
  min-height: 100svh;
  overflow: visible;
}

.contact-hero {
  min-height: calc(100svh - var(--contact-page-header-space));
  justify-content: flex-start;
  padding-top: 1.5rem;
  padding-bottom: calc(
    var(--contact-qe-block-height) + clamp(2.5rem, 5svh, 4rem)
  );
}

.contact-hero__grid {
  align-items: flex-start;
}

.contact-hero__form {
  padding-top: 0;
}

.contact-offices-track {
  position: relative;
  height: var(--contact-offices-track-height, 2400px);
}

.contact-offices-sticky {
  --contact-offices-sticky-top: 5rem;
  position: sticky;
  top: var(--contact-offices-sticky-top);
  z-index: 1;
}

.contact-offices-panel {
  min-height: calc(100svh - var(--contact-offices-sticky-top));
}

.contact-offices-panel__inner {
  width: 100%;
}

.contact-offices-slider {
  position: relative;
  width: 100%;
  min-height: 470px;
  touch-action: pan-y;
}

.contact-offices-slider__track {
  position: relative;
  height: 100%;
  min-height: inherit;
}

.js-contact-office-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease-in-out;
  will-change: opacity;
}

.js-contact-office-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.contact-office-card {
  display: grid;
  overflow: hidden;
  border-radius: 34px;
  background: #2b2b2b;
  color: #2b2b2b;
  min-height: 500px;
}

.contact-office-card__body {
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  min-height: 250px;
}

.contact-office-card__media {
  order: 1;
  overflow: hidden;
  height: 250px;
}

.contact-office-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Design manual token mapping: office card titles use Heading 3. */
.contact-office-card__title {
  margin-top: 1rem;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.contact-office-card__eyebrow {
  color: #6f6f6f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-office-card__subtitle {
  margin-top: 0.5rem;
  color: #6f6f6f;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Design manual token mapping: office card contact copy uses Body large/medium. */
.contact-office-card__meta {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.contact-qe-section {
  position: relative;
  z-index: 20;
  min-height: var(--contact-qe-block-height, clamp(164px, 33svh, 208px));
}

.contact-qe-section__surface {
  width: 100%;
  min-height: var(--contact-qe-block-height, clamp(164px, 33svh, 208px));
  border-radius: clamp(46px, 5.6vw, 88px) clamp(46px, 5.6vw, 88px) 0 0;
  background: #d8d8d8;
  padding: clamp(54px, 14svh, 88px) clamp(32px, 5.5vw, 88px)
    clamp(40px, 10svh, 64px);
}

.contact-qe-section.is-floating .contact-qe-section__surface {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
}

body.menu-open .contact-qe-section.is-floating .contact-qe-section__surface,
body.overflow-hidden
  .contact-qe-section.is-floating
  .contact-qe-section__surface {
  opacity: 0;
  pointer-events: none;
}

.contact-qe-section__inner {
  display: flex;
  max-width: 1720px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-qe-section__copy {
  flex-shrink: 0;
}

.contact-qe-section__title {
  color: #2b2b2b;
  font-size: clamp(1.55rem, 1.85vw, 2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-qe-section__cta-wrap {
  min-width: 0;
  width: 100%;
  max-width: min(52vw, 820px);
}

.contact-qe-section__button {
  pointer-events: auto;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-radius: 9999px;
  background: #ffffff;
  padding: 18px 24px;
  color: #7c7876;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition:
    color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.contact-qe-section__button > span:first-child {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-qe-section__button:hover {
  background: #ffffff;
  color: #2b2b2b;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.contact-qe-section__icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: inherit;
}

@media (max-width: 767px) {
  #scrollNav {
    --nav-height: 72px;
  }

  #scrollNavInner {
    height: var(--nav-height, 72px);
  }

  .contact-page-main {
    --contact-page-header-space: 64px;
    --contact-qe-block-height: 148px;
  }

  .contact-hero {
    padding-top: 1rem;
    padding-bottom: calc(var(--contact-qe-block-height) + 2rem);
  }

  .contact-office-card {
    min-height: 470px;
  }

  .contact-office-card__body {
    padding: 2rem;
    min-height: 240px;
  }

  .contact-office-card__media {
    height: 230px;
  }

  .contact-qe-section__surface {
    min-height: 0;
    border-radius: 28px 28px 0 0;
    padding: 22px 16px 18px;
  }

  .contact-qe-section__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .contact-qe-section__title {
    font-size: 1.55rem;
  }

  .contact-qe-section__cta-wrap {
    max-width: none;
  }

  .contact-qe-section__button {
    gap: 10px;
    padding: 14px 16px;
  }

  .contact-qe-section__button > span:first-child {
    font-size: 0.9rem;
  }

  .contact-qe-section__icon {
    width: 28px;
    height: 28px;
  }

  #sideMenu {
    top: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    width: calc(100% - 1rem) !important;
    border-radius: 24px;
  }

  #sideMenu > div {
    padding: 14px 14px 42px 20px;
  }

  #closeMenuBtn {
    width: 38px;
    height: 38px;
  }

  #closeMenuBtn i {
    font-size: 15px;
  }

  #sideMenu nav.mt-3 {
    margin-top: 1.35rem;
  }

  #sideMenu nav.mt-3 a {
    font-size: 44px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: -0.05em !important;
  }

  #sideMenu nav.mt-3 a.is-current {
    color: #fffd01;
  }

  #sideMenu .side-menu-footer {
    margin-top: auto;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
  }

  #sideMenu .side-menu-footer__utility {
    align-items: flex-start;
    gap: 1.25rem;
  }

  #sideMenu .side-menu-home-link {
    font-size: 16px;
    line-height: 1;
  }

  #sideMenu .side-menu-socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.95rem;
    font-size: 22px;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  .contact-offices-sticky {
    --contact-offices-sticky-top: 6rem;
  }

  .contact-offices-slider {
    min-height: 500px;
  }

  .contact-office-card__title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .contact-office-card__meta {
    font-size: 20px;
  }
}

#menuOverlay {
  background: rgba(43, 43, 43, 0.8);
}

body.menu-open #scrollNav,
body.menu-open #initialMenuBtn {
  z-index: 30 !important;
}

#sideMenu {
  width: calc(100% - 2rem);
  max-width: none;
  background: rgba(43, 43, 43, 0.96);
}

#sideMenu nav.mt-3 a {
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

@media (min-width: 768px) {
  #menuOverlay {
    background: linear-gradient(
      270deg,
      rgba(43, 43, 43, 0.8) 0%,
      rgba(43, 43, 43, 0.8) 28%,
      rgba(43, 43, 43, 0.8) 58%,
      rgba(43, 43, 43, 0.8) 100%
    );
  }

  #sideMenu {
    width: 50vw;
  }

  #sideMenu nav.mt-3 a {
    font-size: 80px;
  }
}

@media (min-width: 1024px) {
  .contact-offices-sticky {
    --contact-offices-sticky-top: 6.75rem;
  }

  .contact-offices-slider {
    min-height: 560px;
  }

  .contact-hero {
    padding-top: 1rem;
    padding-bottom: calc(
      var(--contact-qe-block-height) + clamp(2.5rem, 5svh, 4rem)
    );
  }

  .contact-office-card {
    grid-template-columns: 38% 62%;
    height: 560px;
    min-height: 460px;
  }

  .contact-office-card__body,
  .contact-office-card__media {
    height: 100%;
    min-height: 0;
  }

  .contact-office-card__body {
    order: 1;
    padding: 2.5rem;
  }

  .contact-office-card__media {
    order: 2;
    overflow: hidden;
    border-radius: 34px;
  }
}

.qe-collapse .collapse-title::after,
.qe-collapse.collapse-arrow .collapse-title::after,
.qe-collapse.collapse-plus .collapse-title::after {
  display: none !important;
  content: none !important;
}

.qe-join .qe-collapse {
  position: relative;
}

.qe-join .qe-collapse:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 1px;
  background: rgba(43, 43, 43, 0.35);
  pointer-events: none;
}

.qe-join .qe-collapse:has(> input:checked)::before {
  display: none;
}

.qe-join .qe-collapse:has(+ .qe-collapse > input:checked)::before {
  display: none;
}

.qe-collapse > input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
}

.qe-collapse > input:checked ~ .collapse-title .qe-portfolio-icon {
  background: #2b2b2b;
  border-color: #2b2b2b;
  color: #ffffff;
}

.qe-collapse > input:checked ~ .collapse-title .qe-icon-closed {
  opacity: 0;
}

.qe-collapse > input:checked ~ .collapse-title .qe-icon-open {
  opacity: 1;
}

.qe-collapse > input:not(:checked) ~ .collapse-title .qe-icon-closed {
  opacity: 1;
}

.qe-collapse > input:not(:checked) ~ .collapse-title .qe-icon-open {
  opacity: 0;
}

.service-story-track {
  position: relative;
  min-height: 100vh;
}

.service-story-sticky {
  position: sticky;
  top: clamp(5rem, 7vw, 7rem);
  padding-block: 0.5rem;
}

.service-story-card {
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  border: 1px solid rgba(43, 43, 43, 0.75);
  border-radius: 2rem;
  background: #d8d8d8;
  box-shadow: 0 18px 34px rgba(43, 43, 43, 0.08);
}

.service-story-card:focus-visible {
  outline: none;
  box-shadow:
    0 18px 34px rgba(43, 43, 43, 0.08),
    0 0 0 2px rgba(43, 43, 43, 0.65);
}

.service-story-tab {
  width: 100%;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(43, 43, 43, 0.12);
  background: #d8d8d8;
  color: rgba(43, 43, 43, 0.68);
  text-align: left;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.service-story-tab:last-child {
  border-bottom: none;
}

.service-story-tab.is-active {
  background: #ffffff;
  color: #2b2b2b;
}

.service-story-panel {
  display: none;
}

.service-story-panel.is-active {
  display: block;
}

.service-story-track.is-service-story-ready {
  min-height: 0;
}

.service-story-track.is-service-story-ready .service-story-sticky {
  --service-story-sticky-top: 6.75rem;
  top: var(--service-story-sticky-top);
  z-index: 1;
  padding-block: 0;
}

.service-story-track.is-service-story-ready .service-story-sticky > .grid {
  width: 100%;
  min-height: calc(100svh - var(--service-story-sticky-top));
  align-items: center;
}

.service-story-track.is-service-story-ready .service-story-card {
  position: relative;
  width: 100%;
  max-width: min(100%, 440px);
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-story-track.is-service-story-ready .service-story-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(43, 43, 43, 0.65);
  border-radius: 2rem;
}

.service-story-track.is-service-story-ready .service-story-stack-card {
  position: absolute;
  inset-inline: 0;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(124, 120, 118, 0.92);
  border-radius: 2rem;
  background: #d8d8d8;
  padding: 1rem 1.75rem 1.75rem;
  box-shadow: 0 18px 34px rgba(43, 43, 43, 0.08);
}

.service-story-track.is-service-story-ready .service-story-stack-card__index {
  display: block;
  color: #2b2b2b;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.service-story-track.is-service-story-ready .service-story-stack-card__title {
  max-width: 100%;
  margin-top: 1rem;
  color: #2b2b2b;
  font-size: 3.05rem;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.service-story-track.is-service-story-ready .service-story-stack-card__copy {
  max-width: 280px;
  margin-top: 1rem;
  color: rgba(43, 43, 43, 0.86);
  font-size: 1rem;
  line-height: 1.45;
}

@media (max-width: 1023px) {
  .service-story-sticky {
    top: 5rem;
  }

  .service-story-track.is-service-story-ready .service-story-sticky {
    --service-story-sticky-top: 5rem;
  }

  .service-story-card,
  .service-story-track.is-service-story-ready .service-story-card {
    max-width: min(100%, 380px);
  }

  .service-story-track.is-service-story-ready
    .service-story-stack-card__title {
    font-size: 2.5rem;
  }

  .service-story-track.is-service-story-ready .service-story-stack-card__copy {
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .service-story-track.is-service-story-ready .service-story-sticky > .grid {
    grid-template-columns: minmax(420px, 1fr) minmax(380px, 640px);
    align-items: center;
  }

  .service-story-track.is-service-story-ready
    .service-story-sticky
    > .grid
    > :last-child {
    justify-content: flex-end;
  }
}

@media (min-width: 1280px) {
  .service-story-track.is-service-story-ready .service-story-card {
    max-width: min(100%, 460px);
  }

  .service-story-track.is-service-story-ready
    .service-story-stack-card__title {
    font-size: 3.15rem;
  }
}

@media (max-height: 720px) and (min-width: 768px) {
  .service-story-track.is-service-story-ready .service-story-sticky {
    --service-story-sticky-top: 6.25rem;
  }
}

.leaflet-container {
  height: 400px;
}

/* Contact page: Qe dock sticky only until Offices ends */
.contact-page-main {
  --contact-qe-block-height: clamp(150px, 24svh, 196px);
  overflow: visible;
}

.contact-hero {
  min-height: calc(
    100svh - var(--contact-page-header-space) - var(--contact-qe-block-height)
  );
  padding-bottom: clamp(1.25rem, 3svh, 2rem);
}

.contact-qe-section {
  position: sticky;
  top: calc(100svh - var(--contact-qe-block-height));
  z-index: 45;
  min-height: var(--contact-qe-block-height);
}

.contact-qe-section__surface {
  display: flex;
  width: 100%;
  min-height: var(--contact-qe-block-height);
  align-items: center;
  border-radius: clamp(46px, 5.6vw, 88px) clamp(46px, 5.6vw, 88px) 0 0;
  background: #d8d8d8;
  padding: clamp(42px, 7svh, 64px) clamp(32px, 5.5vw, 88px)
    clamp(34px, 6svh, 52px);
}

.contact-qe-section__inner {
  width: 100%;
}

body.menu-open .contact-qe-section__surface,
body.overflow-hidden .contact-qe-section__surface {
  opacity: 0;
  pointer-events: none;
}

.contact-page-main .contact-offices-section {
  margin-top: clamp(-1.75rem, -2.5svh, -0.75rem);
  padding-top: clamp(2.5rem, 5svh, 4rem);
  padding-bottom: calc(
    var(--contact-qe-block-height) + clamp(1.5rem, 4svh, 3rem)
  );
}

.contact-offices-sticky {
  z-index: 5;
}

.contact-offices-panel {
  min-height: calc(
    100svh - var(--contact-offices-sticky-top) -
      var(--contact-qe-block-height) + clamp(2rem, 5svh, 4rem)
  );
}

@media (max-width: 767px) {
  .contact-page-main {
    --contact-page-header-space: 64px;
    --contact-qe-block-height: 148px;
  }

  .contact-hero {
    min-height: calc(
      100svh - var(--contact-page-header-space) - var(--contact-qe-block-height)
    );
    padding-bottom: 1.25rem;
  }

  .contact-qe-section {
    top: calc(100svh - var(--contact-qe-block-height));
  }

  .contact-qe-section__surface {
    min-height: var(--contact-qe-block-height);
    border-radius: 28px 28px 0 0;
    padding: 22px 16px 18px;
  }

  .contact-page-main .contact-offices-section {
    margin-top: -0.5rem;
    padding-top: 2rem;
    padding-bottom: calc(var(--contact-qe-block-height) + 1.5rem);
  }

  .contact-offices-panel {
    min-height: calc(
      100svh - var(--contact-offices-sticky-top) -
        var(--contact-qe-block-height) + 2rem
    );
  }
}


/* ============================================ */
/* Qe Chat (ElevenLabs SDK) inside modal        */
/* ============================================ */
.qe-chat__messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 12px;
  min-height: 0;
}

.qe-chat__status {
  font-size: 14px;
  color: #7c7876;
  text-align: center;
  padding: 20px 0;
}

.qe-chat__intro {
  max-width: 29ch;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: #2b2b2b;
}

.qe-chat__bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}

.qe-chat__bubble--user {
  align-self: flex-end;
  background: #191919;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.qe-chat__bubble--agent {
  align-self: flex-start;
  background: #ffffff;
  color: #2b2b2b;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.qe-chat__input-area {
  margin-top: auto;
  padding-top: 16px;
  padding-right: 12px;
}

.qe-chat__input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid #c9c6bf;
  background: #ffffff;
  padding: 4px 4px 4px 18px;
}

.qe-chat__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #2b2b2b;
  min-width: 0;
}

.qe-chat__input::placeholder {
  color: #7c7876;
}

.qe-chat__input:disabled {
  opacity: 0.5;
}

.qe-chat__send {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #191919;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.qe-chat__send:hover:not(:disabled) {
  background: #2b2b2b;
}

.qe-chat__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qe-chat__branding {
  text-align: center;
  padding: 8px 0 0;
}

.qe-chat__branding a {
  font-size: 10px;
  color: #888;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}

.qe-chat__branding a:hover {
  opacity: 0.7;
}

.qe-chat__branding-gradient {
  background: linear-gradient(135deg, #4facfe, #9b6dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .qe-chat__intro {
    max-width: 34ch;
    font-size: 20px;
  }

  .qe-chat__bubble {
    font-size: 15px;
  }

  .qe-chat__input-row {
    padding: 6px 6px 6px 22px;
  }

  .qe-chat__send {
    width: 42px;
    height: 42px;
  }
}
