/* Full-width section backgrounds with centered, consistently inset content. */
body {
  --sd-content-inset: clamp(18px, 3vw, 48px);
  --sd-content-max: 1600px;
}
body[data-sd-page="home"] #main :is([data-framer-name="About Section"], [data-framer-name="Blog Section"]),
body[data-sd-page="services"] #main [data-framer-name="Blog Section"],
body[data-sd-page="work"] #main [data-framer-name="Blog Section"],
body[data-sd-page="about"] #main [data-framer-name="Our Story Section"],
body[data-sd-page="contact"] #main [data-framer-name="Contact Section"] {
  box-sizing: border-box;
  width: 100% !important;
  padding-inline: var(--sd-content-inset) !important;
}
body[data-sd-page] #main :is(
  [data-framer-name="About Section"], [data-framer-name="Blog Section"],
  [data-framer-name="Our Story Section"], [data-framer-name="Contact Section"]
) > [data-framer-name="Container"] {
  box-sizing: border-box;
  width: 100% !important;
  max-width: var(--sd-content-max) !important;
  margin-inline: auto;
  padding-inline: 0 !important;
}
/* Keep V07's perspective, rotation and drag. Only the 3D stage breaks out. */
body[data-sd-page="home"] #main #preview-our-work {
  overflow: visible;
}
html:has(body[data-sd-page="home"] #preview-our-work) {
  container-type: inline-size;
}
body[data-sd-page="home"] #main #preview-our-work .framer-9h7rl-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw !important;
  width: 100cqw !important;
  max-width: none !important;
  align-self: flex-start;
  left: 50%;
  translate: -50% 0;
  margin-inline: 0;
}
body[data-sd-page="home"] #main #preview-our-work .framer-9h7rl-container > div {
  flex: none;
  width: 1200px;
  max-width: none !important;
}
@supports (scale: calc(100px / 1px)) {
  body[data-sd-page="home"] #main #preview-our-work .framer-9h7rl-container {
    height: max(300px, 24.2cqw);
  }
  body[data-sd-page="home"] #main #preview-our-work .framer-9h7rl-container > div {
    height: 300px !important;
    scale: max(1, calc(100cqw / 1240px));
  }
}
body[data-sd-page="home"] #main [data-framer-name="About Section"] [data-framer-name="Metrics"] {
  width: 100% !important;
}
body[data-sd-page="home"] #main [data-framer-name="Blog Section"] [data-framer-name="Image Box"] {
  height: clamp(220px, 23vw, 390px) !important;
}
body #main .sd-project-gallery,
body[data-sd-page="about"] #main .sd-v2 :is(.leadership, .careers-section),
body[data-sd-page="home"] #main .sd-v2 :is(.mission-vision, .reviews-section) {
  box-sizing: border-box;
  width: min(var(--sd-content-max), calc(100% - var(--sd-content-inset) * 2));
  max-width: none;
  margin-inline: auto;
}
body #main .sd-brand-footer > [data-framer-name="Container"] {
  box-sizing: border-box;
  width: min(100%, calc(var(--sd-content-max) + var(--sd-content-inset) * 2)) !important;
  max-width: none !important;
  padding-inline: var(--sd-content-inset) !important;
}
body #main .sd-brand-footer > [data-framer-name="Container"] {
  gap: 12px !important;
  padding-bottom: 16px !important;
}
body #main .sd-brand-footer [data-framer-name="Copyright Text"] {
  --border-top-width: 0px !important;
  padding-top: 12px !important;
  row-gap: 6px;
}
body #main .sd-brand-footer [data-framer-name="Copyright Text"]::after {
  border-top: 0 !important;
}
body #main .sd-brand-footer .sd-office-hours {
  border-top: 0;
  padding-top: 0;
  margin-top: 12px;
}
body #main .sd-brand-footer .sd-footer-credit {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .22em;
}
