
/* ==========  UI v4 (Oct 2026): buttons, call number, footer  ========== */
/* Buttons: every CTA is green; hover turns it dark grey. */
html body .pill, html body .pill.pill-outline, html body .pill.pill-light,
html body .tde-btn, html body .tde-btn.tde-btn--outline, html body .tde-btn.tde-btn--light,
html body .tde-carousel--dark .tde-btn.tde-btn--outline {
  background: var(--green, #04EA86); border-color: var(--green, #04EA86); color: var(--ink, #111);
}
html body .pill:hover, html body .pill:focus-visible,
html body .pill.pill-outline:hover, html body .pill.pill-outline:focus-visible,
html body .pill.pill-light:hover, html body .pill.pill-light:focus-visible,
html body .tde-btn:hover, html body .tde-btn:focus-visible,
html body .tde-btn.tde-btn--outline:hover, html body .tde-btn.tde-btn--outline:focus-visible,
html body .tde-btn.tde-btn--light:hover, html body .tde-btn.tde-btn--light:focus-visible,
html body .news-form .pill:hover, html body .news-form .pill:focus-visible {
  background: var(--dark, #262626); border-color: var(--dark, #262626); color: #fff;
}
/* On dark surfaces the hover grey is light, so the button never disappears into the background */
html body .site-footer .pill:hover, html body .site-footer .pill:focus-visible,
html body .site-footer .news-form button.pill:hover, html body .site-footer .news-form button.pill:focus-visible,
html body .news-form button.pill:hover, html body .news-form button.pill:focus-visible,
html body .tde-carousel--dark .tde-btn:hover, html body .tde-carousel--dark .tde-btn:focus-visible,
html body .tde-carousel--dark .tde-btn.tde-btn--outline:hover, html body .tde-carousel--dark .tde-btn.tde-btn--outline:focus-visible,
html body .pill.pill-light:hover, html body .pill.pill-light:focus-visible,
html body .tde-btn.tde-btn--light:hover, html body .tde-btn.tde-btn--light:focus-visible,
html body .tde-dark-surface .pill:hover, html body .tde-dark-surface .pill:focus-visible,
html body .cs-hero .pill:hover, html body .cs-hero .pill:focus-visible,
html body .kt-band .pill:hover, html body .kt-band .pill:focus-visible,
html body .tde-dark-surface .tde-btn:hover, html body .tde-dark-surface .tde-btn:focus-visible {
  background: #E4E4E0; border-color: #E4E4E0; color: var(--ink, #111);
}
/* Hero: the second button is white with a green outline, like the header call button */
html body main > :is(.hero, .work-hero, .blog-hero, .post-hero, .cs-hero-wrap) :is(.pill.pill-outline, .tde-btn.tde-btn--outline) {
  background: #fff; border-color: var(--green, #04EA86); color: var(--ink, #111);
}
html body main > :is(.hero, .work-hero, .blog-hero, .post-hero, .cs-hero-wrap) :is(.pill.pill-outline, .tde-btn.tde-btn--outline):is(:hover, :focus-visible) {
  background: var(--dark, #262626); border-color: var(--dark, #262626); color: #fff;
}

/* Case-study hero is dark: its second button is solid white */
html body .cs-hero .pill.pill-outline { background: #fff !important; border-color: #fff !important; color: var(--ink, #111) !important; }
html body .cs-hero .pill.pill-outline:hover, html body .cs-hero .pill.pill-outline:focus-visible { background: #E4E4E0 !important; border-color: #E4E4E0 !important; color: var(--ink, #111) !important; }

/* Call button: no white halo behind the number */
html.hdr-overlay .site-header:not(.is-scrolled):not(.is-menu-open) .header-phone .num { text-shadow: none; }

/* five columns sized to their content, with the same space between every column */
.site-footer .foot-cols { grid-template-columns: repeat(5, max-content); justify-content: space-between; gap: 40px 32px; }
.site-footer .foot-cols > .foot-brand { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark, rgba(255,255,255,.12)); }
.site-footer .foot-cols > .foot-brand .brand { margin: 0; }
.site-footer .foot-cols > .foot-brand p { margin: 0; font-size: 16px; line-height: 1.6; max-width: 46ch; text-align: right; }
.site-footer .foot-cols > .foot-col { min-width: 0; }
.site-footer .foot-reach { padding-left: 0; }
.site-footer .foot-col a { white-space: normal; }
.site-footer .foot-places a, .site-footer .foot-platforms a, .site-footer .foot-industries a { white-space: nowrap; }
.site-footer .foot-col .foot-all { white-space: nowrap; margin-top: 18px; padding-top: 0; }
/* "Find us online" sits right under the contact details, above the social buttons */
.site-footer .foot-follow { margin-top: 30px; }
.site-footer .foot-follow h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: .08em; color: #fff; }
.site-footer .foot-follow p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--on-dark-muted, #BDBDBD); max-width: 26ch; }
.site-footer .foot-reach .foot-social, .site-footer .foot-reach .foot-follow + .foot-social { margin-top: 16px; padding-top: 0; }
@media (max-width: 1180px) {
  .site-footer .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
}
@media (max-width: 980px) {
  .site-footer .foot-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .site-footer .foot-cols > .foot-brand { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 28px; }
  .site-footer .foot-cols > .foot-brand p { text-align: left; }
}
@media (max-width: 560px) {
  .site-footer .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .site-footer .foot-cols > .foot-reach { grid-column: 1 / -1; }
}
@media (max-width: 340px) {
  .site-footer .foot-cols { grid-template-columns: 1fr; }
}
/* Work carousel: smaller project cards, so more than two show at once */
html body .tde-carousel { --tde-card-w: clamp(260px, 78vw, 440px); --tde-card-gap: 24px; }
html body .tde-carousel .tde-project__title { font-size: 21px; }
html body .tde-carousel .tde-project__summary { font-size: 15px; }
html body .tde-carousel .tde-project__body { padding-top: 18px; gap: 8px; }
@media (min-width: 1680px) { html body .tde-carousel { --tde-card-w: 480px; --tde-card-gap: 28px; } }
/* Process steps: number centered above each heading, line runs node to node */
@media (min-width: 981px) {
  html body .steps .step { text-align: center; }
  html body .steps .node { margin: 0 auto; }
  html body .steps .step::after { left: calc(50% + 24px); right: calc(-50% - 8px); }
  html body .steps .step h3::after { transform-origin: center; }
  html body .steps .step p { margin-left: auto; margin-right: auto; }
}
/* Hero: never shorter than its content (zoomed-in or short windows used to push the copy under the header) */
@media (min-width: 981px) {
  html body main > .hero:first-child, html body main > .work-hero:first-child, html body main > .blog-hero:first-child { height: auto; }
}
/* ==========  /UI v4  ========== */
  