/*
 * Waymont design system
 * Figma source: homepage-dev, node 2082:10675.
 */

:root {
  --wm-ink: #001b33;
  --wm-heading: #111827;
  --wm-blue: #2563eb;
  --wm-slate: #60768f;
  --wm-border: #e5edf5;
  --wm-pale: #f0f9ff;
  --wm-surface: #f9fafd;
  --wm-white: #ffffff;

  --padding-sm: 15px;
  --padding-md: 15px;
  --padding-lg: 64px;
  --wm-font-sans: "Montserrat", Arial, sans-serif;
  --wm-copy-max: 800px;
  --wm-page-gutter: 16px;
  --wm-content-gutter: 16px;
  --wm-grid-gap: 16px;
  --wm-header-height: 82px;

  --wm-text-xs: 1.2rem;
  --wm-text-sm: 1.4rem;
  --wm-text-base: 1.6rem;
  --wm-text-lg: 2rem;
  --wm-text-xl: clamp(2rem, 3vw, 2.4rem);
  --wm-heading-md: clamp(3rem, 4vw, 3.8rem);
  --wm-heading-lg: clamp(3.8rem, 5vw, 5.4rem);

  --wm-button-color: #121212;
  --wm-button-background: #ffffff;
  --wm-button-focus: #000000;
  --wm-button-radius: 0;
  --wm-button-icon-size: 0.875em;
  --wm-button-padding-block: 16px;
  --wm-button-padding-right: 24px;
  --wm-button-padding-left: 24px;
  --wm-button-gap: 0.375em;
  --wm-button-click-scale: 0.955 0.925;
  --wm-button-ease-hover: cubic-bezier(0.32, 0.72, 0, 1);
  --wm-button-ease-click: cubic-bezier(0.4, 0, 0.2, 1);
  --wm-button-ease-focus: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (min-width: 768px) {
  :root {
    --padding-sm: 30px;
    --padding-md: 30px;
    --padding-lg: 72px;
    --wm-page-gutter: 24px;
    --wm-content-gutter: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --padding-md: 4.1666666667vw;
    --padding-lg: 80px;
    --wm-page-gutter: 40px;
    --wm-content-gutter: 40px;
  }
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  background: var(--wm-white);
  color: var(--wm-slate);
  font-family: var(--wm-font-sans);
  font-size: var(--wm-text-base);
  line-height: 1.75;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block-start: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--wm-heading);
  font-family: var(--wm-font-sans);
  font-weight: 400;
}

.wm-site-shell h1.elementor-heading-title,
.wm-site-shell h2.elementor-heading-title,
.wm-site-shell h3.elementor-heading-title,
.wm-site-shell h4.elementor-heading-title,
.wm-site-shell h5.elementor-heading-title,
.wm-site-shell h6.elementor-heading-title {
  color: var(--wm-heading);
  font-family: var(--wm-font-sans);
}

h2,
h2.elementor-heading-title {
  font-size: var(--wm-text-xl);
  line-height: 1.4;
}

h3,
h3.elementor-heading-title {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.6;
}

a {
  color: inherit;
}

.wm-site-shell {
  --width: calc(100% - (2 * var(--wm-page-gutter)));
  border-inline: 1px solid var(--wm-border);
  margin-inline: auto;
  max-width: none;
  width: calc(100% - (2 * var(--wm-page-gutter)));
}

.wm-section {
  padding: var(--padding-lg) 0;
}

.section-heading {
  padding: 0 var(--wm-content-gutter);
  position: relative;
}

.section-heading::after {
  background: url("/wp-content/plugins/waymont-site/assets/images/plus.svg") center / contain no-repeat;
  content: "";
  height: 24px;
  position: absolute;
  right: var(--wm-content-gutter);
  top: 0;
  width: 24px;
}

.wm-site-shell .wm-eyebrow,
.wm-site-shell .wm-eyebrow .elementor-heading-title {
  color: var(--wm-blue);
  font-family: var(--wm-font-sans);
  font-size: var(--wm-text-xs);
  font-weight: 700;
  letter-spacing: 0.15rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.wm-site-shell .wm-section-title .elementor-heading-title {
  color: var(--wm-heading);
  font-family: var(--wm-font-sans);
  font-size: var(--wm-heading-md);
  font-weight: 400;
  line-height: 1.16;
}

.wm-button .elementor-button,
.wm-button.elementor-widget-button .elementor-button {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  background: var(--wm-button-background);
  border: 0;
  border-radius: var(--wm-button-radius);
  color: var(--wm-button-color);
  display: inline-grid;
  font-size: var(--wm-text-base);
  font-weight: 400;
  line-height: 1;
  outline: 0;
  overflow: clip;
  padding: 0;
  position: relative;
  scale: 1;
  text-decoration: none;
  transition:
    box-shadow 300ms var(--wm-button-ease-focus),
    scale 150ms var(--wm-button-ease-click);
  user-select: none;
}

.wm-button .elementor-button-content-wrapper {
  align-items: center;
  display: flex;
  grid-area: 1 / 1;
  justify-content: center;
  padding:
    var(--wm-button-padding-block)
    calc(var(--wm-button-padding-right) + var(--wm-button-icon-size) + var(--wm-button-gap))
    var(--wm-button-padding-block)
    var(--wm-button-padding-left);
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.wm-button .elementor-button-text {
  flex: none;
  transition: translate 500ms var(--wm-button-ease-hover);
}

.wm-button .elementor-button::before,
.wm-button .elementor-button::after {
  background: currentColor;
  content: "";
  display: block;
  height: var(--wm-button-icon-size);
  -webkit-mask: url("/wp-content/plugins/waymont-site/assets/images/arrow-right.svg") center / contain no-repeat;
  mask: url("/wp-content/plugins/waymont-site/assets/images/arrow-right.svg") center / contain no-repeat;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transition:
    opacity 150ms ease-out,
    translate 500ms var(--wm-button-ease-hover);
  translate: 0 -50%;
  width: var(--wm-button-icon-size);
  z-index: 1;
}

.wm-button .elementor-button::before {
  left: var(--wm-button-padding-right);
  opacity: 0;
  translate: -1.5em -50%;
}

.wm-button .elementor-button::after {
  right: var(--wm-button-padding-right);
}

.wm-button .elementor-button:focus-visible {
  box-shadow: 0 0 0 0.125em var(--wm-button-focus);
}

.wm-button .elementor-button:active {
  scale: var(--wm-button-click-scale);
}

.wm-button--primary .elementor-button {
  --wm-button-background: var(--wm-blue);
  --wm-button-color: var(--wm-white);
}

.wm-button--light .elementor-button {
  --wm-button-background: var(--wm-white);
  --wm-button-color: var(--wm-ink);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .wm-button .elementor-button:is(:hover, :focus-visible) .elementor-button-text {
    translate: calc(var(--wm-button-icon-size) + var(--wm-button-gap) + var(--wm-button-padding-right) - var(--wm-button-padding-left)) 0;
    transition: translate 500ms 75ms var(--wm-button-ease-hover);
  }

  .wm-button .elementor-button:is(:hover, :focus-visible)::before {
    opacity: 1;
    translate: 0 -50%;
    transition:
      opacity 150ms 75ms ease-out,
      translate 500ms 75ms var(--wm-button-ease-hover);
  }

  .wm-button .elementor-button:is(:hover, :focus-visible)::after {
    opacity: 0;
    translate: 1.5em -50%;
    transition:
      opacity 150ms 75ms ease-out,
      translate 500ms 50ms var(--wm-button-ease-hover);
  }
}

.wm-header {
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wm-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.wm-header .inner {
  border-inline: 1px solid var(--wm-border);
  gap: 0;
  margin-inline: auto;
  min-height: var(--wm-header-height);
  padding: 16px 24px;
  width: calc(100% - (2 * var(--wm-page-gutter)));
}

.wm-header .logo {
  gap: 9px;
  padding: 0;
  width: auto;
}

.wm-header .logo .wm-icon {
  flex: 0 0 50px;
  width: 50px;
}

.wm-header .logo .wordmark {
  flex: 0 0 98px;
  width: 98px;
}

.wm-header .logo .wordmark img {
  filter: brightness(0) saturate(100%);
  width: 100%;
}

.wm-header .logo img {
  display: block;
  height: auto;
  width: 100%;
}

.wm-header .nav a {
  color: var(--wm-slate);
  font-size: var(--wm-text-xs);
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.wm-header .nav {
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
}

.wm-header .nav .current-menu-item > a,
.wm-header .nav .current_page_item > a,
.wm-header .nav a:hover,
.wm-header .nav a:focus-visible {
  color: var(--wm-ink);
  font-weight: 700;
}

.wm-header .nav .elementor-nav-menu--main .current-menu-item > .elementor-item,
.wm-header .nav .elementor-nav-menu--main .current_page_item > .elementor-item {
  color: var(--wm-ink);
  font-weight: 700;
}

.wm-hero {
  isolation: isolate;
  min-height: min(700px, calc(100svh - var(--wm-header-height)));
  overflow: hidden;
  padding: 96px var(--wm-content-gutter) 0;
  position: relative;
}

.wm-hero::before {
  animation: wm-hero-gradient-drift 24s cubic-bezier(0.45, 0, 0.25, 1) infinite alternate;
  background:
    linear-gradient(118deg, rgb(93 225 244 / 50%) 0%, rgb(126 214 249 / 18%) 28%, rgb(194 128 255 / 36%) 54%, rgb(58 132 255 / 28%) 78%, rgb(113 240 210 / 26%) 100%),
    linear-gradient(125deg, #effcff 4%, #f8f5ff 48%, #eef6ff 96%);
  background-size: 150% 150%, 100% 100%;
  content: "";
  height: auto;
  inset: -24%;
  pointer-events: none;
  position: absolute;
  transform: translate3d(-3%, -2%, 0) scale(1.04);
  transform-origin: center;
  will-change: transform;
  width: auto;
  z-index: -2;
}

.wm-hero::after {
  background:
    radial-gradient(ellipse at 14% 46%, rgb(255 255 255 / 68%) 0%, rgb(255 255 255 / 38%) 42%, rgb(255 255 255 / 10%) 72%, transparent 100%),
    linear-gradient(125deg, rgb(255 255 255 / 18%), transparent 74%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.wm-hero .kinetic-grid {
  display: block;
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

@keyframes wm-hero-gradient-drift {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1.04) rotate(-1deg);
  }

  50% {
    transform: translate3d(2%, 3%, 0) scale(1.1) rotate(1deg);
  }

  100% {
    transform: translate3d(5%, -1%, 0) scale(1.06) rotate(-0.5deg);
  }
}

.wm-hero .content {
  max-width: 744px;
  min-width: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.wm-hero .button {
  bottom: 0;
  left: var(--wm-content-gutter);
  position: absolute;
  z-index: 2;
}

.wm-hero .title .elementor-heading-title {
  color: var(--wm-ink);
  font-size: var(--wm-heading-lg);
  line-height: 1.11;
  overflow-wrap: break-word;
}

.wm-hero .title .elementor-heading-title strong {
  color: var(--wm-blue);
  font-weight: inherit;
}

.wm-hero .text .elementor-widget-container {
  color: var(--wm-slate);
  font-size: var(--wm-text-xl);
  font-weight: 300;
  line-height: 1.58;
  max-width: 712px;
  opacity: 0.8;
}

.wm-hero .text .elementor-widget-container strong {
  color: inherit;
  font-weight: 400;
}

.wm-overview {
  padding: var(--padding-md) var(--padding-md);
  position: relative;
}

.wm-overview::before,
.wm-overview::after {
  background: rgb(240 249 255 / 20%);
  content: "";
  display: none;
  inset-block: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.wm-overview::before {
  left: 82px;
}

.wm-overview::after {
  right: 82px;
}

.wm-standards {
  border-bottom: 1px solid var(--wm-border);
  padding: 0 var(--padding-md);
}

.wm-standards .standard {
  flex: 1 1 100%;
  padding: var(--padding-sm);
}

.wm-standards .standard + .standard {
  border-top: 1px solid var(--wm-border);
}

.wm-standards .icon img {
  display: block;
  height: auto;
  width: 100%;
}

.wm-home .card-grid {
  --e-con-grid-template-rows: auto;
  border-block: 1px solid var(--wm-border);
  gap: var(--wm-grid-gap);
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  padding-inline: var(--wm-content-gutter);
  padding-block: 0;
}

.wm-card {
  border: 1px solid var(--wm-border);
  min-width: 0;
  overflow: hidden;
}

.wm-card > .wm-icon {
  background: rgb(37 99 235 / 10%);
  border-radius: 6px;
  margin: var(--padding-sm) var(--padding-sm) 0;
  padding: 8px;
}

.wm-card .media .elementor-widget-container,
.wm-card .media img {
  display: block;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.wm-card .content {
  padding: var(--padding-sm);
}

.wm-card .content > .wm-button {
  margin-top: auto;
  padding-top: var(--padding-sm);
}

.wm-home .wm-feature {
  overflow: hidden;
  position: relative;
}

.wm-feature .project-carousel {
  min-width: 0;
  width: 100%;
}

.wm-feature .swiper-slide {
  height: auto;
}

.wm-feature .wm-feature-slide {
  --e-con-grid-template-columns: 1fr;
  --e-con-grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  height: 100%;
}

.wm-feature .media,
.wm-feature .media .elementor-widget-container,
.wm-feature .media img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  width: 100%;
}

.wm-feature .content {
  gap: 24px;
  padding: var(--padding-lg) var(--wm-content-gutter);
}

.wm-feature .title .elementor-heading-title {
  color: var(--wm-white);
}

.wm-feature .text .elementor-widget-container {
  color: rgb(255 255 255 / 76%);
}

.wm-feature::after {
  background: url("/wp-content/plugins/waymont-site/assets/images/plus.svg") center / contain no-repeat;
  content: "";
  height: 24px;
  position: absolute;
  right: 40px;
  top: 40px;
  width: 24px;
}

.wm-feature::before {
  background: var(--wm-white);
  bottom: 40px;
  box-shadow: 14px 0 var(--wm-blue), 28px 0 var(--wm-blue);
  content: "";
  height: 4px;
  left: 40px;
  position: absolute;
  top: auto;
  width: 4px;
  z-index: 2;
}

.wm-cta {
  --width: auto;
  margin-inline: var(--wm-content-gutter);
  padding: var(--padding-lg) var(--wm-content-gutter);
  width: auto;
}

.wm-cta > .wm-button {
  margin-top: 20px;
}

.wm-footer {
  color: var(--wm-slate);
}

.wm-site-shell.wm-footer .columns {
  --e-con-grid-template-rows: auto;
  gap: 0;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  padding: 0;
}

.wm-footer .column {
  border-bottom: 1px solid var(--wm-border);
  gap: 8px;
  padding: 40px var(--wm-content-gutter);
}

.wm-footer .column p {
  font-size: 1.4rem;
  line-height: 2rem;
  margin: 0;
}

.wm-footer .wm-eyebrow .elementor-heading-title {
  color: var(--wm-slate);
}

.wm-footer .bottom {
  border-top: 1px solid var(--wm-border);
  gap: 16px;
  padding: 20px var(--wm-content-gutter);
}

.wm-button:not(.wm-button--primary):not(.wm-button--light):not(.wm-button--inverse) .elementor-button {
  --wm-button-background: var(--wm-pale);
  --wm-button-color: var(--wm-ink);
}

/* Interior pages and reusable Elementor templates. */
.wm-interior {
  overflow: hidden;
}

.wm-page-hero,
.wm-single-hero {
  background:
    radial-gradient(circle at 82% 18%, rgb(93 225 244 / 28%), transparent 34%),
    linear-gradient(125deg, #f4fcff 4%, #f8f5ff 50%, #eef6ff 96%);
  border-bottom: 1px solid var(--wm-border);
  gap: 18px;
  min-height: 430px;
  padding: 80px var(--wm-content-gutter);
  position: relative;
}

.wm-page-hero::after,
.wm-single-hero::after {
  background: url("/wp-content/plugins/waymont-site/assets/images/plus.svg") center / contain no-repeat;
  content: "";
  height: 24px;
  position: absolute;
  right: var(--wm-content-gutter);
  top: 40px;
  width: 24px;
}

.wm-page-hero .title .elementor-heading-title,
.wm-single-hero .title .elementor-heading-title {
  color: var(--wm-heading);
  font-size: var(--wm-heading-lg);
  font-weight: 300;
  line-height: 1.08;
  max-width: 980px;
}

.wm-page-hero .text,
.wm-single-hero .text {
  max-width: 760px;
}

.wm-page-hero .text .elementor-widget-container,
.wm-single-hero .text .elementor-widget-container {
  color: var(--wm-slate);
  font-size: var(--wm-text-lg);
  font-weight: 300;
  line-height: 1.65;
}

.wm-listing {
  gap: 48px;
}

.wm-loop-grid {
  padding-inline: var(--wm-content-gutter);
}

.wm-loop-grid .elementor-loop-container {
  gap: var(--wm-grid-gap);
}

.expertise-grid {
  padding-inline: 0;
}

.expertise-grid .elementor-loop-container {
  gap: 0;
}

.wm-loop-card {
  border: 1px solid var(--wm-border);
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.wm-loop-card .media,
.wm-loop-card .media .elementor-widget-container,
.wm-loop-card .media img {
  display: block;
  height: 240px;
  object-fit: cover;
  width: 100%;
}

.wm-loop-card .content {
  flex: 1;
  gap: 12px;
  min-width: 0;
  padding: 28px;
}

.wm-loop-card .title .elementor-heading-title {
  color: var(--wm-ink);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.45;
}

.wm-loop-card .text p,
.wm-loop-card .meta p {
  margin: 0;
}

.wm-loop-card .content > .wm-button {
  margin-top: auto;
  padding-top: 20px;
}

.expertise-section {
  border-top: 1px solid var(--wm-border);
  overflow: hidden;
}

.expertise-section .media-column {
  aspect-ratio: 1;
  background: var(--wm-surface);
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.expertise-section .media {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.expertise-section .media .elementor-widget-container {
  height: 100%;
}

.expertise-section .media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.expertise-section .related-project-card {
  bottom: var(--padding-sm);
  left: var(--padding-sm);
  max-width: calc(100% - (2 * var(--padding-sm)));
  position: absolute;
  z-index: 1;
}

.related-project {
  background: var(--wm-white);
  display: block;
  padding: 16px 18px;
  text-decoration: none;
}

.related-project .wm-eyebrow {
  display: block;
  margin-bottom: 6px;
}

.related-project .title {
  display: block;
  padding-right: 22px;
  position: relative;
}

.related-project .title::after {
  background: currentColor;
  content: "";
  height: 14px;
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  -webkit-mask: url("/wp-content/plugins/waymont-site/assets/images/arrow-right.svg") center / contain no-repeat;
  mask: url("/wp-content/plugins/waymont-site/assets/images/arrow-right.svg") center / contain no-repeat;
  transition: translate 300ms var(--wm-button-ease-hover);
  width: 14px;
}

.related-project:is(:hover, :focus-visible) .title::after {
  translate: 4px -50%;
}

.related-project:focus-visible {
  outline: 2px solid var(--wm-blue);
  outline-offset: 3px;
}

.expertise-section .content {
  min-width: 0;
  padding: var(--padding-lg) var(--padding-md);
}

.expertise-section .text p {
  margin: 0;
}

.expertise-section .text p + p {
  margin-top: 24px;
}

.wm-loop-card.position-row {
  gap: 24px;
  padding: 24px 28px;
}

.wm-loop-card.position-row .content {
  gap: 2px;
  padding: 0;
}

.wm-loop-card.position-row .content > .wm-button {
  margin-top: 0;
  padding-top: 0;
}

.wm-loop-card.team-card .media,
.wm-loop-card.team-card .media .elementor-widget-container,
.wm-loop-card.team-card .media img {
  height: 320px;
}

.wm-benefits {
  gap: 40px;
  padding-top: var(--padding-lg);
}

.benefit-grid,
.office-grid,
.contact-grid {
  gap: var(--wm-grid-gap);
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  padding-inline: var(--wm-content-gutter);
}

.benefit,
.office,
.contact-card {
  background: var(--wm-surface);
  border: 1px solid var(--wm-border);
  gap: 16px;
  padding: 32px;
}

.benefit .title .elementor-heading-title {
  color: var(--wm-ink);
  font-size: 2rem;
  font-weight: 500;
}

.split-section,
.single-layout {
  gap: 48px;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  padding-inline: var(--wm-content-gutter);
}

.wm-site-shell.wm-interior .wm-section.split-section,
.wm-site-shell.wm-interior.wm-single .single-layout,
.wm-site-shell.wm-interior .wm-benefits .benefit-grid,
.wm-site-shell.wm-interior.wm-about .office-grid,
.wm-site-shell.wm-interior.wm-contact .contact-grid {
  --e-con-grid-template-rows: auto;
  grid-template-rows: auto;
}

.wm-legal .legal-content {
  gap: 40px;
  max-width: 920px;
  padding-inline: var(--wm-content-gutter);
}

.wm-legal .legal-section {
  border-top: 1px solid var(--wm-border);
  gap: 12px;
  padding-top: 32px;
}

.wm-legal .legal-section .title .elementor-heading-title {
  color: var(--wm-ink);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
}

.split-section .section-heading {
  padding-inline: 0;
}

.prose {
  color: var(--wm-slate);
  max-width: 780px;
}

.prose h2,
.prose h3 {
  color: var(--wm-ink);
  line-height: 1.25;
  margin-top: 48px;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose h2 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 400;
}

.prose h3 {
  font-size: 2rem;
  font-weight: 500;
}

.wm-single-image,
.wm-single-image .elementor-widget-container,
.wm-single-image img {
  display: block;
  max-height: 640px;
  object-fit: cover;
  width: 100%;
}

.facts {
  align-self: start;
  background: var(--wm-surface);
  border: 1px solid var(--wm-border);
  gap: 0;
  padding: 32px;
}

.facts > .wm-section-title {
  margin-bottom: 20px;
}

.facts .fact {
  border-top: 1px solid var(--wm-border);
  gap: 2px;
  padding-block: 16px;
}

.facts .fact p {
  color: var(--wm-ink);
  margin: 0;
}

.contact-card .label {
  color: var(--wm-blue);
  font-size: var(--wm-text-xs);
  font-weight: 700;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.wm-button--inverse .elementor-button {
  --wm-button-background: var(--wm-white);
  --wm-button-color: var(--wm-ink);
}

@media (min-width: 768px) {
  .wm-header .inner {
    padding-inline: 48px;
  }

  .wm-standards .standard {
    flex-basis: calc(33.333% - 1px);
  }

  .wm-standards .standard + .standard {
    border-top: 0;
  }

  .wm-home .card-grid.two-columns,
  .wm-home .card-grid.three-columns {
    --e-con-grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-feature .wm-feature-slide {
    --e-con-grid-template-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .wm-feature .media,
  .wm-feature .media .elementor-widget-container,
  .wm-feature .media img {
    min-height: 640px;
  }

  .wm-feature::before {
    left: calc(50% + 40px);
  }

  .wm-site-shell.wm-footer .columns {
    --e-con-grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-footer .column:nth-child(odd) {
    border-right: 1px solid var(--wm-border);
  }

  .wm-site-shell.wm-interior .wm-benefits .benefit-grid,
  .wm-site-shell.wm-interior.wm-about .office-grid,
  .wm-site-shell.wm-interior.wm-contact .contact-grid {
    --e-con-grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise-section .media-column {
    aspect-ratio: 3 / 2;
  }

  .expertise-grid .e-loop-item:nth-child(even) .expertise-section .media-column {
    order: 2;
  }

}

@media (min-width: 1024px) {
  .wm-overview::before,
  .wm-overview::after {
    display: block;
  }

  .wm-standards .standard {
    flex-basis: 20%;
  }

  .wm-hero {
    padding-left: 82px;
    padding-right: 24px;
  }

  .wm-hero .button {
    left: 82px;
  }

  .wm-home .card-grid.three-columns {
    --e-con-grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wm-site-shell.wm-footer .columns {
    --e-con-grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wm-footer .column {
    border-bottom: 0;
    border-right: 1px solid var(--wm-border);
    gap: 8px;
    padding: 80px 40px;
  }

  .wm-footer .column:last-child {
    border-right: 0;
  }

  .wm-page-hero,
  .wm-single-hero {
    min-height: 520px;
    padding-left: 82px;
    padding-right: 82px;
  }

  .wm-site-shell.wm-interior .wm-benefits .benefit-grid {
    --e-con-grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wm-site-shell.wm-interior.wm-contact .contact-grid {
    --e-con-grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wm-site-shell.wm-interior.wm-about .office-grid {
    --e-con-grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-site-shell.wm-interior .wm-section.split-section {
    --e-con-grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  }

  .wm-site-shell.wm-interior.wm-single .single-layout {
    --e-con-grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .wm-hero::before {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .wm-button .elementor-button,
  .wm-button .elementor-button-text,
  .wm-button .elementor-button::before,
  .wm-button .elementor-button::after,
  .related-project .title::after {
    transition: none;
  }
}

/* Authorised-user visual grid. */
.wm-visual-grid {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 120ms ease;
  z-index: 99998;
}

.wm-grid-visible .wm-visual-grid {
  opacity: 1;
}

.wm-visual-grid .columns {
  display: grid;
  gap: var(--wm-grid-gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 100%;
  margin-inline: auto;
  max-width: none;
  padding-inline: var(--wm-content-gutter);
  width: calc(100% - (2 * var(--wm-page-gutter)));
}

.wm-visual-grid .columns span {
  background: rgb(37 99 235 / 8%);
  border-inline: 1px solid rgb(37 99 235 / 16%);
}

.wm-visual-grid .columns span:nth-child(n + 5) {
  display: none;
}

body button.wm-visual-grid-toggle {
  align-items: center;
  appearance: none;
  background: var(--wm-ink);
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 0;
  bottom: 16px;
  color: var(--wm-white);
  cursor: pointer;
  display: inline-flex;
  font: 700 16px/1 var(--wm-font-sans);
  height: 40px;
  justify-content: center;
  padding: 0;
  position: fixed;
  right: 16px;
  width: 40px;
  z-index: 99999;
}

body button.wm-visual-grid-toggle[aria-pressed="true"] {
  background: var(--wm-blue);
}

body button.wm-visual-grid-toggle:focus-visible {
  outline: 3px solid var(--wm-blue);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .wm-visual-grid .columns {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .wm-visual-grid .columns span:nth-child(n + 5) {
    display: block;
  }

  .wm-visual-grid .columns span:nth-child(n + 9) {
    display: none;
  }
}

@media (min-width: 1024px) {
  .wm-visual-grid .columns {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .wm-visual-grid .columns span:nth-child(n) {
    display: block;
  }
}
