/* Shared spacing and footer, kept independent of page-specific Webflow rules. */
.site-layout {
  --section-space: 6rem;
  --content-space: 4rem;
  --page-gutter: clamp(1.25rem, 4vw, 4rem);
}
.site-layout .section_main { width: 100%; }
.site-layout .section_main.content-section {
  padding-block: var(--section-space);
  margin-block: 0;
  min-height: 0;
}
.site-layout .content-section .spacer._4rem { padding: 0; height: var(--content-space); }
.site-layout .content-section .spacer._2rem { padding: 0; height: 2rem; }
.site-layout .section_main.resources-hero {
  padding-top: 9rem;
  padding-bottom: var(--section-space);
}
.site-layout.layout-resources .section_main.content-section._0tm { padding-top: var(--section-space); }
.site-layout .section_main.footer_wrap {
  margin-top: 0;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}
.site-layout .footer_wrap .cta_section { margin-block: 0; }
.site-layout .footer_wrap .cta_section .container_main.cta_wrap { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
/* Service details used to combine viewport gaps with padding on both neighbours. */
.site-layout.layout-solutions .div-block-349 { row-gap: 0; }
.site-layout.layout-solutions .div-block-349 > .container_main.solutions {
  padding-block: 3rem;
  margin-block: 0;
  min-height: 0;
}
.site-layout.layout-solutions .div-block-349 > .divider_line { margin: 0; }
/* Text service panels should not inherit the old 16:9 video frame height. */
.site-layout .tabs-content:has(.service-pane) { aspect-ratio: auto; min-height: 0; height: auto; }
.site-layout .service-pane { padding: clamp(1.5rem, 3vw, 2.5rem); }
/* Give the two home marquees one intentional, bounded band of spacing. */
.site-layout.layout-home .div-block-2 { padding-block: 3rem; gap: 2rem; }
.site-layout.layout-home .div-block-2 > .spacer { display: none; }
.site-layout.layout-home .section_main.loop.solutions { margin-block: 0; }

/* Identical footer on every page, including the copyright bar. */
.site-layout .site-footer {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  min-height: 0;
  background: var(--color--black);
  color: var(--color--white);
}
.site-layout .site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 3rem;
  box-sizing: border-box;
  width: 100%;
  max-width: calc(1280px + 2 * var(--page-gutter));
  padding: 3rem var(--page-gutter);
  margin: 0 auto;
}
.site-footer .footer-brand { max-width: 34rem; min-width: 0; }
.site-footer .footer-brand .brand-wordmark img { height: 3rem; max-width: 100%; }
.site-footer .footer-brand > .spacer._1rem { height: 1rem; padding: 0; }
.site-footer .footer-brand > .spacer._2rem { height: 1.5rem; padding: 0; }
.site-footer .footer-brand > p { margin: 0; }
.site-footer .footer-brand > .div-block { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer .footer-brand .link-block { width: 2.5rem; height: 2.5rem; margin: 0; }
.site-footer .footer-links.div-block-191 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin: 0;
  align-items: start;
}
.site-footer .footer-links p { margin: 0; }
.site-footer .footer-links .div-block-190 { gap: .75rem; align-items: flex-start; }
.site-footer .footer-links a { line-height: 1.5; }
.site-layout .site-footer .footer-legal {
  width: 100%;
  margin: 0;
  padding: .875rem var(--page-gutter);
  box-sizing: border-box;
  min-height: 0;
  background: var(--color--black_light);
}
.site-footer .footer-legal .container_main.hero-pricing {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin: 0 auto;
  min-height: 0;
}
.site-footer .footer-legal .div-block-364 { display: flex; flex-wrap: wrap; gap: .75rem; }
.site-footer .footer-legal .p2 { margin: 0; line-height: 1.5; }
@media (max-width: 991px) {
  .site-layout .site-footer .footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; }
  .site-footer .footer-links.div-block-191 { gap: 1.5rem; }
}
@media (max-width: 767px) {
  .site-layout { --section-space: 4.5rem; --content-space: 3rem; }
  .site-layout .site-footer .footer-grid { grid-template-columns: 1fr; padding-block: 2.5rem; gap: 2rem; }
  .site-footer .footer-brand { max-width: 100%; }
  .site-footer .footer-links.div-block-191 { width: 100%; }
  .site-footer .footer-legal .container_main.hero-pricing { flex-direction: column; align-items: flex-start; gap: .75rem; }


}

/* These two home sections share a wrapper: match the usual bottom + top section padding. */
.site-layout.layout-home .content-section .spacer.home-presence-gap {
  height: calc(var(--section-space) * 2);
  padding: 0;
}

/* Keep the service overview title left aligned instead of a narrow flex row. */
.site-layout.layout-home .service-overview-heading {
 display: block; width: 100%; max-width: none; margin: 0;
 text-align: center; white-space: normal;
}
.service-overview-heading > .service-heading-line { display: block; }
@media (min-width: 992px) {
 .service-overview-heading > .service-heading-line { white-space: nowrap; }
}
@media (max-width: 991px) {
 .site-layout.layout-home .service-overview-heading { font-size: clamp(1.65rem, 4vw, 2.5rem); }
}
@media (max-width: 479px) {
 .service-overview-heading > .service-heading-line { display: inline; }
}

/* Header logo alignment and a subtle compact state on scroll. */
.site-layout .navbar-2 .navbar_content-wrapper-2,
.site-layout .navbar-2 .div-block-386,
.site-layout .navbar-2 .brand-link { display: flex; align-items: center; }
.site-layout .navbar-2 .brand-link { align-self: center; padding: 0; margin: 0; }
.site-layout .navbar-2 .brand-link a,
.site-layout .navbar-2 .brand-link a:hover,
.site-layout .navbar-2 .brand-link a:focus,
.site-layout .navbar-2 .brand-link a:active {
 display: inline-flex; align-items: center; justify-content: center;
 padding: 0; margin: 0; line-height: 0;
 text-decoration: none; border-bottom: 0; box-shadow: none !important;
}
.site-layout .navbar-2 .brand-link a::before,
.site-layout .navbar-2 .brand-link a::after { content: none; display: none; }
.site-layout .navbar-2 .brand-wordmark { align-items: center; margin: 0; line-height: 0; transform: translateY(-.15rem); }
.site-layout .navbar-2 .brand-wordmark img { height: 2.1rem; width: auto; transition: height .25s ease; }
.site-layout .navbar-2 .main-section.cc-navbar { min-height: 80px; transition: min-height .25s ease, box-shadow .25s ease; }
.site-layout .navbar-2 .navbar_content-wrapper-2 { width: 100%; min-height: inherit; }
.site-layout .navbar-2.is-compact .main-section.cc-navbar { min-height: 64px; }
.site-layout .navbar-2.is-compact .brand-wordmark img { height: 1.85rem; }
.site-layout .navbar-2 .cta_main.mini { transition: padding .25s ease, box-shadow .25s ease, background-color .25s ease; }
.site-layout .navbar-2.is-compact .cta_main.mini { padding: .65rem 1.25rem; }
@media (max-width: 767px) {
 .site-layout .navbar-2 .main-section.cc-navbar { min-height: 72px; }
 .site-layout .navbar-2 .brand-wordmark img { height: 1.85rem; }
 .site-layout .navbar-2.is-compact .main-section.cc-navbar { min-height: 60px; }
 .site-layout .navbar-2.is-compact .brand-wordmark img { height: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
 .site-layout .navbar-2 .main-section.cc-navbar,
 .site-layout .navbar-2 .brand-wordmark img,
 .site-layout .navbar-2 .cta_main.mini { transition: none; }
}

/* Place the technology caption across the hero divider, as in the reference. */
.site-layout.layout-home .section_main._0tbp.top_border {
 display: block; height: 0; min-height: 0;
 padding-top: 0; padding-bottom: 0; margin-bottom: 0;
 position: relative; z-index: 1; overflow: visible;
 border-top: 1px solid var(--ui-line, #ffffff1a);
}
.site-layout.layout-home .top_border .paragraph.black_b {
 display: inline-block; flex: none; width: auto;
 margin: 0 0 0 -.6rem; padding: 0 .6rem;
 transform: translateY(-50%);
 background: var(--color--black); color: var(--color--body-text-color);
 font-size: .8rem; line-height: 1.5; letter-spacing: .06em;
}
.site-layout.layout-home .technology-strip {
 padding-block: 1.5rem; width: 100%;
}
.site-layout.layout-home .technology-strip .div-block-192 {
 align-items: center; min-height: 4.25rem;
}
.site-layout.layout-home .technology-strip .tech-pill {
 display: flex; align-items: center; justify-content: center;
 align-self: stretch; margin: 0; padding-inline: 1.25rem;
 line-height: 1.2;
}
.site-layout.layout-home .technology-strip .devider_line {
 display: flex; align-items: center; flex: none; align-self: stretch;
}
.site-layout.layout-home .technology-strip .devider_line svg {
 display: block; width: 1px; height: 4.25rem;
}
@media (max-width: 767px) {
 .site-layout.layout-home .technology-strip { padding-block: 1.25rem; }
 .site-layout.layout-home .technology-strip .tech-pill { padding-inline: 1rem; }
}

/* Secondary service details stay lightweight beside the main services CTA. */
.site-layout .service-pane .service-detail-link {
 display: inline-flex; align-items: center; gap: .5rem;
 padding: .25rem 0; background: transparent; border: 0; border-radius: 0;
 color: var(--color--accent); font-size: 1rem; font-weight: 500;
 text-decoration: underline; text-underline-offset: .25em;
}
.site-layout .service-pane .service-detail-link:hover { text-decoration-thickness: 2px; }
.site-layout .service-pane .service-detail-link:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
html[data-theme="light"] .site-layout .service-pane .service-detail-link { color: var(--light-gold); }

/* Icon-only theme control with a comfortable click target. */
.site-layout .theme-toggle { width: 40px; height: 40px; min-width: 40px; padding: 10px; gap: 0; }
/* Equal service marquee cards, including labels that wrap onto two lines. */
.site-layout.layout-home .section_main.loop.solutions .tile.loop {
  box-sizing: border-box;
  flex: 0 0 clamp(16rem, 22vw, 20rem);
  width: clamp(16rem, 22vw, 20rem);
  min-width: 0;
  max-width: none;
  height: 4.5rem;
  min-height: 4.5rem;
  padding: .5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  white-space: normal;
  overflow-wrap: normal;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .site-layout.layout-home .section_main.loop.solutions .tile.loop {
    flex-basis: 16rem;
    width: 16rem;
    height: 4rem;
    min-height: 4rem;
  }
}
/* Reuse the supplied home hero artwork in the lower showcase. */
.site-layout.layout-home .hero_img_cont._3 .project-gallery {width:100%;height:clamp(24rem,42vw,46rem);overflow:hidden;position:relative;}
.project-gallery-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(.75rem,1.6vw,2rem);align-items:start;}
.project-gallery-column {display:flex;flex-direction:column;gap:clamp(.75rem,1.6vw,2rem);min-width:0;}
.project-gallery-column:nth-child(2),.project-gallery-column:nth-child(5) {padding-top:7rem;}
.project-gallery-column:nth-child(3) {padding-top:9rem;}
.project-gallery-column:nth-child(4) {padding-top:4rem;}
.site-layout .project-gallery-column img {display:block;position:static;width:100%;height:auto;max-width:100%;border-radius:clamp(.6rem,1.2vw,1.25rem);object-fit:contain;transform:none;}
@media(max-width:767px){.project-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.project-gallery-column:nth-child(n+4){display:none;}.project-gallery-column:nth-child(2){padding-top:3rem;}.project-gallery-column:nth-child(3){padding-top:5rem;}}

/* Use the Home page's responsive section rhythm around each service divider.
   The outer content section already supplies the first and last outer padding. */
.site-layout.layout-solutions .div-block-349 > .container_main.solutions {
 padding-block: var(--section-space);
}
.site-layout.layout-solutions .div-block-349 > .container_main.solutions:first-child { padding-top: 0; }
.site-layout.layout-solutions .div-block-349 > .container_main.solutions:last-child { padding-bottom: 0; }
.site-layout.layout-solutions .div-block-349 + .spacer._4rem { display: none; }