:root {
    --font-heading: Arial, sans-serif;
    --font-body: Arial, sans-serif;

    --h1-size: 55px;
    --h1-mobile-size: 41.25px;
    --h1-compact-mobile-size: 33px;
    --h1-weight: 700;
    --h1-letter-spacing: 0px;
    --heading-line-height: 1.1em;
    --large-heading-line-height: 0.95em;
    --h2-size: 50px;
    --h2-mobile-size: 37.5px;
    --h2-compact-mobile-size: 30px;
    --h2-weight: 700;
    --h2-letter-spacing: 0px;
    --h3-size: 35px;
    --h3-compact-mobile-size: 28px;
    --h3-weight: 600;
    --h3-letter-spacing: 0px;
    --h4-size: 28px;
    --h4-weight: 500;
    --h4-letter-spacing: 0px;
    --h5-size: 24px;
    --h5-weight: 500;
    --h5-letter-spacing: 0px;
    --h6-size: 13px;
    --h6-weight: 200;
    --h6-letter-spacing: 4px;
    --p-size: 18px;
    --p-weight: 300;
    --p-line-height: 1.4em;
    --p-letter-spacing: 0px;

    --container-default: 1500px;
    --container-large: 100%;
    --container-short: 1000px;
    --section-padding: 75px;
    --card-padding: 24px;
    --button-padding: 12px 24px;
    --radius-tl: 6px;
    --radius-tr: 6px;
    --radius-br: 6px;
    --radius-bl: 6px;
    --button-radius-tl: 6px;
    --button-radius-tr: 6px;
    --button-radius-br: 6px;
    --button-radius-bl: 6px;
    --card-border-width: 0px;
    --card-border-color: transparent;
    --card-shadow: none;
    --button-border-width: 1px;
    --button-border-color-main: var(--main-button-bg);
    --button-border-hover-color-main: var(--main-button-hover);
    --button-border-color-alt: var(--alt-button-bg);
    --button-border-hover-color-alt: var(--alt-button-hover);
    --button-border-color-footer: var(--footer-button-bg);
    --button-border-hover-color-footer: var(--footer-button-hover);
    --button-border-color-header: var(--header-button-bg);
    --button-border-hover-color-header: var(--header-button-hover);
    --button-shadow: none;

    --header-bg: #ffffff;
    --header-bg-glass: rgba(255, 255, 255, 0.9);
    --header-bg-grad-1-glass: rgba(255, 255, 255, 0.9);
    --header-bg-grad-2-glass: rgba(255, 255, 255, 0.9);
    --header-link: #111111;
    --header-link-hover: #666666;
    --header-highlight: #c59d5f;
    --header-button-bg: #111111;
    --header-button-hover: #333333;
    --header-button-text: #ffffff;
    --transparent-header-link: #ffffff;
    --transparent-header-link-hover: #ffffff;
    --transparent-header-button-bg: #ff3030;
    --transparent-header-button-hover: #d92727;
    --transparent-header-button-text: #ffffff;
    --header-nav-font-weight: 500;
    --header-nav-font-size: var(--p-size);
    --header-button-size: 14px;
    --header-button-font-weight: 600;
    --header-button-padding: 10px 18px;
    --header-button-letter-spacing: 0px;
    --header-height: 90px;

    --main-bg: #ffffff;
    --main-bg-solid: #ffffff;
    --main-bg-soft: rgba(255, 255, 255, 0.3);
    --main-bg-lightbox: rgba(255, 255, 255, 0.88);
    --main-heading-text: #111111;
    --main-paragraph-text: #333333;
    --main-link: #111111;
    --main-link-hover: #666666;
    --main-highlight: #c59d5f;
    --main-button-bg: #111111;
    --main-button-hover: #333333;
    --main-button-text: #ffffff;

    --alt-bg: #f7f7f7;
    --alt-bg-solid: #f7f7f7;
    --alt-bg-soft: rgba(247, 247, 247, 0.3);
    --alt-bg-lightbox: rgba(247, 247, 247, 0.88);
    --alt-heading-text: #111111;
    --alt-paragraph-text: #333333;
    --alt-link: #111111;
    --alt-link-hover: #666666;
    --alt-highlight: #c59d5f;
    --alt-button-bg: #111111;
    --alt-button-hover: #333333;
    --alt-button-text: #ffffff;

    --footer-bg: #111111;
    --footer-bg-solid: #111111;
    --footer-bg-soft: rgba(17, 17, 17, 0.3);
    --footer-bg-lightbox: rgba(17, 17, 17, 0.88);
    --footer-heading-text: #ffffff;
    --footer-paragraph-text: #dddddd;
    --footer-link: #ffffff;
    --footer-link-hover: #c59d5f;
    --footer-highlight: #c59d5f;
    --footer-button-bg: #ffffff;
    --footer-button-hover: #dddddd;
    --footer-button-text: #111111;

    --input-bg: #ffffff;
    --input-text: #111111;
    --input-border: #cccccc;
    --input-focus-border: #111111;
    --input-radius: 6px;
    --label-colour: #111111;
    --placeholder-colour: #888888;

    --letter-spacing: 0px;
    --button-size: 18px;
    --button-font-weight: 600;
    --button-text-transform: none;
    --button-letter-spacing: 0px;
}

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

body {
    background: var(--main-bg);
    color: var(--main-paragraph-text);
    font-family: var(--font-body);
    font-size: var(--p-size);
    font-weight: var(--p-weight);
    letter-spacing: var(--p-letter-spacing);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--main-heading-text);
    margin-top: 0;
}

h1 { font-size: var(--h1-size); font-weight: var(--h1-weight); letter-spacing: var(--h1-letter-spacing); }
h2 { font-size: var(--h2-size); font-weight: var(--h2-weight); letter-spacing: var(--h2-letter-spacing); }
h3 { font-size: var(--h3-size); font-weight: var(--h3-weight); letter-spacing: var(--h3-letter-spacing); }
h4 { font-size: var(--h4-size); font-weight: var(--h4-weight); letter-spacing: var(--h4-letter-spacing); }
h5 { font-size: var(--h5-size); font-weight: var(--h5-weight); letter-spacing: var(--h5-letter-spacing); }
h6 { font-size: var(--h6-size); font-weight: var(--h6-weight); letter-spacing: var(--h6-letter-spacing); }

h1, h2, h3, h4, h5, h6 {
  line-height: var(--heading-line-height);
  margin-bottom:0.75rem;
}

h1,
h2 {
  line-height: var(--large-heading-line-height);
}

h6 {
  text-transform:uppercase !important;
}

.section .section-eyebrow {
  color: var(--section-eyebrow-color, currentColor);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  width: fit-content;
  max-width: 100%;
}

.section.dm-align-centre .section-eyebrow,
.hero-align-centre .section-eyebrow,
.testimonial-layout-quote .testimonial-heading .section-eyebrow,
.service-grid-heading-centre .section-eyebrow {
  align-self: center;
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.section .section-eyebrow i {
  margin-right: 0;
}

.dm-eyebrow-style-flat .section .section-eyebrow {
  padding: 0;
  background: transparent;
  border: 0;
}

.dm-eyebrow-style-pill .section .section-eyebrow {
  padding: 0.55em 0.95em;
  border: 1px solid color-mix(in srgb, var(--section-eyebrow-color, currentColor) 42%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--section-eyebrow-color, currentColor) 10%, transparent);
  color: var(--section-eyebrow-text, currentColor);
}

.dm-eyebrow-style-underline .section .section-eyebrow {
  position: relative;
  padding-bottom: 0.65em;
}

.dm-eyebrow-style-underline .section .section-eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(72px, 55%);
  height: 2px;
  background: var(--section-eyebrow-color, currentColor);
}

.dm-eyebrow-style-lines .section .section-eyebrow {
  gap: 0.9em;
}

.dm-eyebrow-style-lines .section .section-eyebrow::before,
.dm-eyebrow-style-lines .section .section-eyebrow::after {
  content: "";
  width: 42px;
  max-width: 12vw;
  height: 1px;
  background: var(--section-eyebrow-color, currentColor);
}

.dm-eyebrow-style-accent-rail .section .section-eyebrow {
  --eyebrow-accent-axis: 0.36em;
  position: relative;
  min-height: 2.2em;
  padding: 0.2em 0 0.2em 1.55em;
  border: 0;
  background: transparent;
  color: var(--section-eyebrow-text, currentColor);
}

.dm-eyebrow-style-accent-rail .section .section-eyebrow::before {
  content: "";
  position: absolute;
  top: 0.08em;
  bottom: 0.38em;
  left: var(--eyebrow-accent-axis);
  width: 2px;
  margin-left: -1px;
  border-radius: 999px;
  background: var(--section-eyebrow-color, currentColor);
}

.dm-eyebrow-style-accent-rail .section .section-eyebrow::after {
  content: "";
  position: absolute;
  bottom: 0.08em;
  left: var(--eyebrow-accent-axis);
  width: 0.48em;
  margin-left: -0.24em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--section-eyebrow-color, currentColor);
}

.dm-eyebrow-style-corner-frame .section .section-eyebrow {
  position: relative;
  padding: 0.78em 1.15em;
  border: 0;
  background: transparent;
  color: var(--section-eyebrow-text, currentColor);
}

.dm-eyebrow-style-corner-frame .section .section-eyebrow::before,
.dm-eyebrow-style-corner-frame .section .section-eyebrow::after {
  content: "";
  position: absolute;
  width: 1.35em;
  height: 1.05em;
  pointer-events: none;
}

.dm-eyebrow-style-corner-frame .section .section-eyebrow::before {
  top: 0;
  left: 0;
  border-top: 1px solid var(--section-eyebrow-color, currentColor);
  border-left: 1px solid var(--section-eyebrow-color, currentColor);
}

.dm-eyebrow-style-corner-frame .section .section-eyebrow::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid var(--section-eyebrow-color, currentColor);
  border-bottom: 1px solid var(--section-eyebrow-color, currentColor);
}

.dm-eyebrow-style-soft-tint .section .section-eyebrow {
  position: relative;
  overflow: hidden;
  padding: 0.7em 1.25em;
  border: 0;
  border-radius: 0;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--section-eyebrow-color, currentColor) 24%, transparent) 0%,
    color-mix(in srgb, var(--section-eyebrow-color, currentColor) 11%, transparent) 48%,
    transparent 78%
  );
  color: var(--section-eyebrow-text, currentColor);
}

.section .section-eyebrow.is-eyebrow-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(10px);
}

.dm-eyebrow-style-flat .section .section-eyebrow.is-visible {
  animation: dmEyebrowTrackingSettle 0.72s var(--reveal-ease) both;
}

.dm-eyebrow-style-pill .section .section-eyebrow.is-visible {
  animation: dmEyebrowPillReveal 0.72s var(--reveal-ease) both;
}

.dm-eyebrow-style-underline .section .section-eyebrow.is-visible,
.dm-eyebrow-style-lines .section .section-eyebrow.is-visible,
.dm-eyebrow-style-accent-rail .section .section-eyebrow.is-visible,
.dm-eyebrow-style-corner-frame .section .section-eyebrow.is-visible {
  animation: dmEyebrowRise 0.68s var(--reveal-ease) both;
}

.dm-eyebrow-style-underline .section .section-eyebrow.is-visible::after,
.dm-eyebrow-style-lines .section .section-eyebrow.is-visible::before,
.dm-eyebrow-style-lines .section .section-eyebrow.is-visible::after {
  animation: dmEyebrowLineDraw 0.62s var(--reveal-ease) 0.14s both;
}

.dm-eyebrow-style-underline .section .section-eyebrow.is-visible::after {
  transform-origin: left center;
}

.dm-eyebrow-style-lines .section .section-eyebrow.is-visible::before {
  transform-origin: right center;
}

.dm-eyebrow-style-lines .section .section-eyebrow.is-visible::after {
  transform-origin: left center;
}

.dm-eyebrow-style-accent-rail .section .section-eyebrow.is-visible::before {
  transform-origin: top center;
  animation: dmEyebrowRailDraw 0.58s var(--reveal-ease) 0.06s both;
}

.dm-eyebrow-style-accent-rail .section .section-eyebrow.is-visible::after {
  animation: dmEyebrowDotLand 0.48s var(--reveal-ease) 0.46s both;
}

.dm-eyebrow-style-corner-frame .section .section-eyebrow.is-visible::before {
  transform-origin: top left;
  animation: dmEyebrowCornerDraw 0.55s var(--reveal-ease) 0.08s both;
}

.dm-eyebrow-style-corner-frame .section .section-eyebrow.is-visible::after {
  transform-origin: bottom right;
  animation: dmEyebrowCornerDraw 0.55s var(--reveal-ease) 0.08s both;
}

.dm-eyebrow-style-soft-tint .section .section-eyebrow.is-visible {
  animation: dmEyebrowTintBloom 0.76s var(--reveal-ease) both;
}

.dm-eyebrow-style-soft-tint .section .section-eyebrow::after {
  content: "";
  position: absolute;
  top: -75%;
  bottom: -75%;
  left: -45%;
  width: 38%;
  opacity: 0;
  background: linear-gradient(105deg, transparent, color-mix(in srgb, var(--section-eyebrow-color, currentColor) 52%, white) 50%, transparent);
  transform: translateX(-170%) skewX(-18deg);
  pointer-events: none;
}

.dm-eyebrow-style-soft-tint .section .section-eyebrow.is-visible::after {
  animation: dmEyebrowLightSweep 0.95s ease-out 0.16s both;
}

@keyframes dmEyebrowTrackingSettle {
  from { opacity: 0; transform: translateY(9px); letter-spacing: calc(var(--h6-letter-spacing) + 0.18em); }
  to { opacity: 1; transform: translateY(0); letter-spacing: var(--h6-letter-spacing); }
}

@keyframes dmEyebrowPillReveal {
  from { opacity: 0; transform: translateY(8px); clip-path: inset(0 100% 0 0 round 999px); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0 round 999px); }
}

@keyframes dmEyebrowRise {
  from { opacity: 0; transform: translateY(10px); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes dmEyebrowLineDraw {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes dmEyebrowRailDraw {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes dmEyebrowDotLand {
  0% { opacity: 0; transform: translateY(-0.45em) scale(0.5); }
  72% { opacity: 1; transform: translateY(0) scale(1.22); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dmEyebrowCornerDraw {
  from { opacity: 0; transform: scale(0.25); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes dmEyebrowTintBloom {
  from { opacity: 0; transform: translateY(8px) scale(0.96); filter: brightness(1.35) blur(2px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: brightness(1) blur(0); }
}

@keyframes dmEyebrowLightSweep {
  0% { opacity: 0; transform: translateX(-170%) skewX(-18deg); }
  22% { opacity: 0.65; }
  100% { opacity: 0; transform: translateX(430%) skewX(-18deg); }
}

p {
    font-size: var(--p-size);
    font-weight: var(--p-weight);
    line-height: var(--p-line-height);
    letter-spacing: var(--p-letter-spacing);
}

a {
    color: var(--main-link);
    letter-spacing: var(--letter-spacing);
    text-decoration:none;
}

a:hover {
    color: var(--main-link-hover);
}

i {
  margin-right:10px;
}


.section {
    padding: var(--section-padding) 0;
    display: block;
    width: 100%;
    position: relative;
}

html,
body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: clip;
}

body {
    overflow-x: clip;
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.dm-home-transparent-header-enabled .hero-section {
    --section-header-offset: 0px;
}

.dm-home-transparent-header-enabled .hero-section > .container-default,
.dm-home-transparent-header-enabled .hero-section > .container-short,
.dm-home-transparent-header-enabled .hero-section > .container-large {
    margin-top: clamp(36px, 6vh, 96px);
}

.card {
    padding: var(--card-padding);
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    border: var(--card-border-width) solid var(--card-border-color);
    box-shadow: var(--card-shadow);
    box-sizing: border-box;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    padding: var(--button-padding);
    font-size: var(--button-size);
    text-decoration: none;
    background: var(--main-button-bg);
    color: var(--main-button-text);
    border-style: solid;
    border-width: var(--button-border-width);
    border-color: var(--button-border-color-main, var(--main-button-bg));
    border-radius: var(--button-radius-tl) var(--button-radius-tr) var(--button-radius-br) var(--button-radius-bl);
    box-shadow: var(--button-shadow);
    font-weight: var(--button-font-weight);
    text-transform: var(--button-text-transform);
    letter-spacing: var(--button-letter-spacing);
    transition: 0.2s ease;
}

.button:hover {
    background: var(--main-button-hover);
    border-color: var(--button-border-hover-color-main, var(--main-button-hover));
    color: var(--main-button-text);
}

.site-header {
    background: var(--header-bg);
    transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--header-bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: opacity 0.45s ease, background 0.45s ease, backdrop-filter 0.45s ease, -webkit-backdrop-filter 0.45s ease;
}

.site-header,
.header-inner {
    min-height: var(--header-height);
}

.site-nav a,
.header-contact a,
.site-logo {
    color: var(--header-link);
    transition: color 0.35s ease;
}

.site-nav a:hover,
.header-contact a:hover,
.site-logo:hover {
    color: var(--header-link-hover);
}

.header-cta {
    background: var(--header-button-bg);
    color: var(--header-button-text);
    border-color: var(--header-button-bg);
}

.header-cta:hover {
    background: var(--header-button-hover);
    border-color: var(--header-button-hover);
    color: var(--header-button-text);
}

.header-reveal-button {
    animation: dmHeaderButtonPulse 5s ease-in-out infinite;
    will-change: transform;
}

@keyframes dmHeaderButtonPulse {
    0%   { transform: scale(1); }
    88%  { transform: scale(1); }
    91%  { transform: scale(1.02); }
    94%  { transform: scale(1); }
    97%  { transform: scale(1.01); }
    100% { transform: scale(1); }
}

.site-footer {
    background: var(--footer-bg);
}

.site-footer,
.site-footer p,
.site-footer div {
    color: var(--footer-paragraph-text);
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
    color: var(--footer-heading-text);
}

.site-footer a {
    color: var(--footer-link);
}

.site-footer a:hover {
    color: var(--footer-link-hover);
}

.site-footer .button,
.site-footer .button-main {
    background: var(--footer-button-bg);
    color: var(--footer-button-text);
    border-color: var(--button-border-color-footer, var(--footer-button-bg));
}

.site-footer .button:hover,
.site-footer .button-main:hover {
    background: var(--footer-button-hover);
    border-color: var(--button-border-hover-color-footer, var(--footer-button-hover));
    color: var(--footer-button-text);
}

input,
textarea,
select {
    width: 100%;
    max-width: 100%;
    background: var(--input-bg);
    color: var(--input-text);
    border: 1px solid var(--input-border);
    border-radius: var(--input-radius);
    padding: 12px 14px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--input-focus-border);
}

label {
    color: var(--label-colour);
}

input::placeholder,
textarea::placeholder {
    color: var(--placeholder-colour);
}

.dm-sticky-header-enabled .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width:100%;
}

/* Section theme variants */
.section-theme-main {
    background: var(--main-bg);
    color: var(--main-paragraph-text);
    --section-eyebrow-color: var(--main-highlight);
    --section-eyebrow-text: var(--main-heading-text);
}

.section-theme-main h1,
.section-theme-main h2,
.section-theme-main h3,
.section-theme-main h4,
.section-theme-main h5,
.section-theme-main h6 {
    color: var(--main-heading-text);
}

.section-theme-main a {
    color: var(--main-link);
}

.section-theme-main a:hover {
    color: var(--main-link-hover);
}

.section-theme-alt {
    background: var(--alt-bg);
    color: var(--alt-paragraph-text);
    --section-eyebrow-color: var(--alt-highlight);
    --section-eyebrow-text: var(--alt-heading-text);
}

.section-theme-alt h1,
.section-theme-alt h2,
.section-theme-alt h3,
.section-theme-alt h4,
.section-theme-alt h5,
.section-theme-alt h6 {
    color: var(--alt-heading-text);
}

.section-theme-alt a {
    color: var(--alt-link);
}

.section-theme-alt a:hover {
    color: var(--alt-link-hover);
}

.section-theme-footer {
    background: var(--footer-bg);
    color: var(--footer-paragraph-text);
    --section-eyebrow-color: var(--footer-highlight);
    --section-eyebrow-text: var(--footer-heading-text);
}

.section-theme-footer h1,
.section-theme-footer h2,
.section-theme-footer h3,
.section-theme-footer h4,
.section-theme-footer h5,
.section-theme-footer h6 {
    color: var(--footer-heading-text);
}

.section-theme-footer a {
    color: var(--footer-link);
}

.section-theme-footer a:hover {
    color: var(--footer-link-hover);
}

.section .section-eyebrow {
    color: var(--section-eyebrow-color, currentColor);
}

/* Optional gradients if you want to use them later */
.section-theme-main.has-gradient {
    background: linear-gradient(
        135deg,
        var(--main-bg-grad-1),
        var(--main-bg-grad-2)
    );
}

.section-theme-alt.has-gradient {
    background: linear-gradient(
        135deg,
        var(--alt-bg-grad-1),
        var(--alt-bg-grad-2)
    );
}

.section-theme-footer.has-gradient {
    background: linear-gradient(
        135deg,
        var(--footer-bg-grad-1),
        var(--footer-bg-grad-2)
    );
}

.site-header.has-gradient::before {
    background: linear-gradient(
        135deg,
        var(--header-bg-grad-1-glass),
        var(--header-bg-grad-2-glass)
    );
}

/* Button variants */
section .button,
section .button-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    padding: var(--button-padding);
    font-size: var(--button-size);
    text-decoration: none;
    background: var(--main-button-bg);
    color: var(--main-button-text);
    border-style: solid;
    border-width: var(--button-border-width);
    border-color: var(--button-border-color-main, var(--main-button-bg));
    border-radius: var(--button-radius-tl) var(--button-radius-tr) var(--button-radius-br) var(--button-radius-bl);
    box-shadow: var(--button-shadow);
    transition: 0.2s ease;
    font-weight: var(--button-font-weight);
    text-transform: var(--button-text-transform);
    letter-spacing: var(--button-letter-spacing);
}

section .button > span,
section .button-main > span {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
}

section .button:hover,
section .button-main:hover {
    background: var(--main-button-hover);
    border-color: var(--button-border-hover-color-main, var(--main-button-hover));
    color: var(--main-button-text);
}

.section-theme-alt .button,
.section-theme-alt .button-main {
    background: var(--alt-button-bg);
    color: var(--alt-button-text);
    border-color: var(--button-border-color-alt, var(--alt-button-bg));
}

.section-theme-alt .button:hover,
.section-theme-alt .button-main:hover {
    background: var(--alt-button-hover);
    border-color: var(--button-border-hover-color-alt, var(--alt-button-hover));
    color: var(--alt-button-text);
}

.section-theme-footer .button,
.section-theme-footer .button-main {
    background: var(--footer-button-bg);
    color: var(--footer-button-text);
    border-color: var(--button-border-color-footer, var(--footer-button-bg));
}

.section-theme-footer .button:hover,
.section-theme-footer .button-main:hover {
    background: var(--footer-button-hover);
    border-color: var(--button-border-hover-color-footer, var(--footer-button-hover));
    color: var(--footer-button-text);
}

.section-theme-main .button-secondary {
    background: transparent;
    border-color: var(--main-link);
    color: var(--main-link);
}

.section-theme-main .button-secondary:hover {
    background: transparent;
    border-color: var(--main-link-hover);
    color: var(--main-link-hover);
}

.section-theme-alt .button-secondary {
    background: transparent;
    border-color: var(--alt-link);
    color: var(--alt-link);
}

.section-theme-alt .button-secondary:hover {
    background: transparent;
    border-color: var(--alt-link-hover);
    color: var(--alt-link-hover);
}

.section-theme-footer .button-secondary {
    background: transparent;
    border-color: var(--footer-link);
    color: var(--footer-link);
}

.section-theme-footer .button-secondary:hover {
    background: transparent;
    border-color: var(--footer-link-hover);
    color: var(--footer-link-hover);
}

.button-alt {
    background: var(--alt-button-bg);
    color: var(--alt-button-text);
    border-color: var(--button-border-color-alt, var(--alt-button-bg));
}

.button-alt:hover {
    background: var(--alt-button-hover);
    border-color: var(--button-border-hover-color-alt, var(--alt-button-hover));
    color: var(--alt-button-text);
}

.button-footer {
    background: var(--footer-button-bg);
    color: var(--footer-button-text);
    border-color: var(--button-border-color-footer, var(--footer-button-bg));
}

.button-footer:hover {
    background: var(--footer-button-hover);
    border-color: var(--button-border-hover-color-footer, var(--footer-button-hover));
    color: var(--footer-button-text);
}

.button-header {
    padding: var(--header-button-padding);
    font-size: var(--header-button-size);
    font-weight: var(--header-button-font-weight);
    letter-spacing: var(--header-button-letter-spacing);
    background: var(--header-button-bg);
    color: var(--header-button-text);
    border-width: var(--button-border-width);
    border-color: var(--button-border-color-header, var(--header-button-bg));
    box-shadow: var(--button-shadow);
    gap: 0.35em;
}

.button-header i {
    margin-right: 0;
}

.button-header > span {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
}

.button-header:hover {
    background: var(--header-button-hover);
    border-color: var(--button-border-hover-color-header, var(--header-button-hover));
    color: var(--header-button-text);
}

.dm-button-icon {
    flex: 0 0 auto;
    width: 1.08em;
    color: currentColor;
    font-size: 0.9em;
    line-height: 1;
    text-align: center;
}

/* Utility highlight */
.text-highlight {
    color: var(--main-highlight);
}

.section-theme-alt .text-highlight {
    color: var(--alt-highlight);
}

.section-theme-footer .text-highlight {
    color: var(--footer-highlight);
}

.site-header .text-highlight {
    color: var(--header-highlight);
}

/* Container utilities */
.container-default {
    width: min(var(--container-default), calc(100% - 140px));
    margin: 0 auto;
}

.container-short {
    width: min(var(--container-short), calc(100% - 140px));
    margin: 0 auto;
}

.container-large {
    width: min(var(--container-large), calc(100% - 0px));
    margin: 0 auto;
}

@media (max-width: 900px) {
  .container-default, .container-short {
    width:85%;
  }
  .container-large .section-heading {
    width:85%;
    margin:auto;
  }
}

.service-entry {
    display: grid;
    gap: 24px;
}

.service-icon img {
    max-width: 80px;
    height: auto;
}

.service-intro {
    font-size: 1.1em;
    margin-top:0px;
}

.service-features ul {
    margin: 0;
    padding-left: 20px;
}

.service-button-wrap {
    margin-top: 24px;
}

.project-entry {
    display: grid;
    gap: 24px;
}

.project-location {
    font-size: 1rem;
    opacity: 0.8;
}

.project-featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.project-title {
  text-align: left;
}

.project-grid-section.dm-align-centre .project-title {
  text-align: center;
}

.project-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
}

@media (max-width: 900px) {
    .project-gallery {
        grid-template-columns: 1fr;
    }
}

.page-hero-content {
    display: grid;
    gap: 20px;
}

.page-intro {
    font-size: 1.1em;
    opacity: 0.9;
}

.page-hero-text p {
    margin: 0;
}

.page-hero-button-wrap {
    margin: 0;
}

#hero-section .section-eyebrow {
  margin-bottom:30px;
}

.page-standard .entry-content {
    display: grid;
    gap: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    display: grid;
    gap: 16px;
}

.blog-card-image img,
.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
}

.blog-card-content {
    display: grid;
    gap: 14px;
}

.blog-card-content h2 {
    margin-bottom: 0;
}

.blog-card-meta,
.post-meta {
    font-size: 0.95rem;
    opacity: 0.75;
}

.single-post-entry {
    display: grid;
    gap: 24px;
}

.pagination-wrap {
    margin-top: 32px;
}

.pagination-wrap .nav-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.archive-card {
    display: grid;
    gap: 16px;
}

.archive-card-image img,
.service-card-icon img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
}

.service-card-icon img {
    max-width: 80px;
}

.archive-card-content {
    display: grid;
    gap: 14px;
}

.archive-card-content h2 {
    margin-bottom: 0;
}

.archive-project-summary > *:last-child,
.archive-card-content > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .archive-grid {
        grid-template-columns: 1fr;
    }
}

.section-has-bg {
    position: relative;
    overflow: hidden;
}

.section-has-bg .section-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.section-has-bg > .container-default,
.section-has-bg > .container-large,
.section-has-bg > .container-short {
    position: relative;
    z-index: 2;
}

.hero-background-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-background-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.025);
    transition:
        opacity 1.2s ease,
        transform 6s ease;
    will-change: opacity, transform;
}

.hero-background-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .hero-background-slide {
        transition: none;
        transform: none;
    }
}

.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 999;
    isolation: isolate;
    overflow-anchor: none;
}

.header-shell {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: var(--header-height);
    padding-top: 5px;
    padding-bottom: 5px;
}

.header-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.site-header .fa-no-margin {
    margin: 0 !important;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.site-logo img {
    max-height: calc(var(--header-height) * 0.75);
    width: auto;
    height: auto;
    display: block;
}

.site-logo-img {
    transition: opacity 0.25s ease;
}

.site-logo-img-transparent {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.site-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.header-right {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.header-top {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
    font-size: 0.95rem;
    align-items: center;
}

.header-top a {
    text-decoration: none;
    color: var(--header-link);
}

.header-top a:hover {
    color: var(--header-link-hover);
}

.header-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-bottom {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-layout-mirror .header-shell {
    flex-direction: row-reverse;
}

.header-layout-mirror .header-right {
    align-items: flex-start;
}

.header-layout-mirror .header-top,
.header-layout-mirror .header-bottom {
    justify-content: flex-start;
}

.header-layout-centred .header-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 34px;
    row-gap: 12px;
    align-items: center;
    position: relative;
}

.header-layout-centred .header-left {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    max-width: 100%;
}

.header-layout-centred .site-logo {
    max-width: 100%;
}

.header-layout-centred .site-logo img {
    max-width: 100%;
}

.header-layout-centred .header-right,
.header-layout-centred .header-bottom {
    display: contents;
}

.header-layout-centred .header-top {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 8px max(20px, calc((100vw - var(--container-default)) / 2));
    background: rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.header-layout-centred .site-nav {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    position: static;
    transform: none;
}

.header-layout-centred .header-cta {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
}

.site-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--header-nav-gap, 24px);
    margin: 0;
    padding: 0;
}

.site-header.nav-spacing-compact {
    --header-nav-gap: 16px;
}

.site-header.nav-spacing-standard {
    --header-nav-gap: 24px;
}

.site-header.nav-spacing-relaxed {
    --header-nav-gap: 34px;
}

/* Keep the centred desktop layout distinct while preventing the logo, menu and
   CTA from competing for the same space as the viewport approaches tablet size. */
@media (min-width: 991px) and (max-width: 1180px) {
    .header-layout-centred {
        --header-nav-gap: 8px;
    }

    .header-layout-centred .header-shell {
        column-gap: 12px;
    }

    .header-layout-centred .site-nav a {
        font-size: min(var(--header-nav-font-size), 16px);
    }
}

.site-nav li {
    margin: 0;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    isolation: isolate;
    text-decoration: none;
    color: var(--header-link);
    font-weight: var(--header-nav-font-weight);
    font-size: var(--header-nav-font-size,var(--p-size));
    transition: color 0.24s ease, transform 0.24s ease, background-color 0.24s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav li:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_ancestor) > a {
    color: var(--header-link-hover);
}

/* Clean Sweep: a restrained accent line that remains on the active destination. */
.nav-hover-clean-sweep .site-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0.5em;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--header-highlight);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s cubic-bezier(.22, 1, .36, 1);
}

.nav-hover-clean-sweep .site-nav a:is(:hover, :focus-visible)::after,
.nav-hover-clean-sweep .site-nav li:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_ancestor) > a::after {
    transform: scaleX(1);
}

/* Soft Signal: a quiet highlight tint, distinct from the header CTA. */
.nav-hover-soft-signal .site-nav a {
    border-radius: 999px;
    padding: 0.48em 0.78em;
}

.nav-hover-soft-signal .site-nav a:is(:hover, :focus-visible),
.nav-hover-soft-signal .site-nav li:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_ancestor) > a {
    background: color-mix(in srgb, var(--header-highlight) 14%, transparent);
}

/* Editorial Rail: a small accent marker grows beside the link. */
.nav-hover-editorial-rail .site-nav a {
    padding-left: 0.9em;
}

.nav-hover-editorial-rail .site-nav a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 2px;
    height: 1.25em;
    border-radius: 999px;
    background: var(--header-highlight);
    opacity: 0;
    transform: translateY(-50%) scaleY(0.25);
    transition: opacity 0.2s ease, transform 0.28s cubic-bezier(.22, 1, .36, 1);
}

.nav-hover-editorial-rail .site-nav a:is(:hover, :focus-visible),
.nav-hover-editorial-rail .site-nav li:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_ancestor) > a {
    transform: translateX(3px);
}

.nav-hover-editorial-rail .site-nav a:is(:hover, :focus-visible)::before,
.nav-hover-editorial-rail .site-nav li:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_ancestor) > a::before {
    opacity: 1;
    transform: translateY(-50%) scaleY(1);
}

/* Corner Trace: two light corners draw around the destination. */
.nav-hover-corner-trace .site-nav a {
    padding: 0.48em 0.68em;
}

.nav-hover-corner-trace .site-nav a::before,
.nav-hover-corner-trace .site-nav a::after {
    content: "";
    position: absolute;
    width: 0.75em;
    height: 0.62em;
    border-color: var(--header-highlight);
    opacity: 0;
    transform: scale(0.72);
    transition: opacity 0.2s ease, transform 0.28s cubic-bezier(.22, 1, .36, 1);
}

.nav-hover-corner-trace .site-nav a::before {
    top: 0;
    left: 0;
    border-top: 1px solid var(--header-highlight);
    border-left: 1px solid var(--header-highlight);
}

.nav-hover-corner-trace .site-nav a::after {
    right: 0;
    bottom: 0;
    border-right: 1px solid var(--header-highlight);
    border-bottom: 1px solid var(--header-highlight);
}

.nav-hover-corner-trace .site-nav a:is(:hover, :focus-visible)::before,
.nav-hover-corner-trace .site-nav a:is(:hover, :focus-visible)::after,
.nav-hover-corner-trace .site-nav li:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_ancestor) > a::before,
.nav-hover-corner-trace .site-nav li:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_ancestor) > a::after {
    opacity: 1;
    transform: scale(1);
}

@media (min-width: 991px) {
    .site-header.has-compact-on-scroll .header-top {
        max-height: 100px;
        overflow: hidden;
    }

    .site-header.has-compact-on-scroll .header-shell,
    .site-header.has-compact-on-scroll .header-top,
    .site-header.has-compact-on-scroll .header-right,
    .site-header.has-compact-on-scroll .site-logo img {
        transition: min-height 0.3s ease, max-height 0.3s ease, gap 0.3s ease, opacity 0.22s ease, transform 0.3s ease, padding 0.3s ease;
    }

    .site-header.has-compact-on-scroll.has-scrolled .header-shell {
        min-height: clamp(64px, calc(var(--header-height) * 0.78), 82px);
    }

    .site-header.has-compact-on-scroll.has-scrolled .header-right {
        gap: 0;
    }

    .site-header.has-compact-on-scroll.has-scrolled .header-top {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
    }

    .site-header.has-compact-on-scroll.has-scrolled .site-logo img {
        max-height: calc(var(--header-height) * 0.58);
    }

    .header-top.has-no-desktop-items {
        display: none;
    }
}

.dm-home-transparent-header-enabled .is-home-transparent-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

.dm-home-transparent-header-enabled .is-home-transparent-header::before {
    background: var(--header-bg-glass);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
}

.dm-home-transparent-header-enabled .is-home-transparent-header.has-scrolled {
    background: transparent;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.dm-home-transparent-header-enabled .is-home-transparent-header.has-scrolled::before {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 1;
}

.dm-home-transparent-header-enabled .is-home-transparent-header.has-gradient.has-scrolled::before {
    background: linear-gradient(
        135deg,
        var(--header-bg-grad-1-glass),
        var(--header-bg-grad-2-glass)
    );
}

.dm-home-transparent-header-enabled .is-home-transparent-header:not(.has-scrolled) .header-top a,
.dm-home-transparent-header-enabled .is-home-transparent-header:not(.has-scrolled) .site-nav a {
    color: var(--transparent-header-link);
}

.dm-home-transparent-header-enabled .is-home-transparent-header:not(.has-scrolled) .header-top a:hover,
.dm-home-transparent-header-enabled .is-home-transparent-header:not(.has-scrolled) .site-nav a:hover {
    color: var(--transparent-header-link-hover);
}

.dm-home-transparent-header-enabled .is-home-transparent-header:not(.has-scrolled) .menu-toggle span {
    background: var(--transparent-header-link);
}

.dm-home-transparent-header-enabled .is-home-transparent-header .header-top a,
.dm-home-transparent-header-enabled .is-home-transparent-header .site-nav a,
.dm-home-transparent-header-enabled .is-home-transparent-header .menu-toggle span,
.dm-home-transparent-header-enabled .is-home-transparent-header .button-header {
    transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.dm-home-transparent-header-enabled .is-home-transparent-header:not(.has-scrolled) .button-header {
    background: var(--transparent-header-button-bg);
    border-color: var(--transparent-header-button-bg);
    color: var(--transparent-header-button-text);
}

.dm-home-transparent-header-enabled .is-home-transparent-header:not(.has-scrolled) .button-header:hover {
    background: var(--transparent-header-button-hover);
    border-color: var(--transparent-header-button-hover);
    color: var(--transparent-header-button-text);
}

.dm-home-transparent-header-enabled .is-home-transparent-header:not(.has-scrolled).header-layout-centred .header-top {
    background: transparent;
}

.dm-home-transparent-header-enabled .is-home-transparent-header:not(.has-scrolled).has-transparent-header-logo .site-logo-img-standard {
    opacity: 0;
}

.dm-home-transparent-header-enabled .is-home-transparent-header:not(.has-scrolled).has-transparent-header-logo .site-logo-img-transparent {
    opacity: 1;
}

.header-cta {
    white-space: nowrap;
    padding: var(--header-button-padding);
    font-size: var(--header-button-size);
    font-weight: var(--header-button-font-weight);
    letter-spacing: var(--header-button-letter-spacing);
}

.menu-toggle {
    display: none;
    position: relative;
}

.mobile-menu-overlay {
    display: none;
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 990px) {
    .menu-toggle {
        display: grid;
        gap: 5px;
        width: 42px;
        height: 42px;
        place-content: center;
        border: 1px solid color-mix(in srgb, var(--header-link) 28%, transparent);
        border-radius: 50%;
        padding: 0;
        background: transparent;
        box-shadow: none;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 17px;
        height: 1.5px;
        border-radius: 2px;
        background: var(--header-link);
        transition: transform 0.22s ease, opacity 0.18s ease;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(6.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .mobile-menu-overlay {
        --mobile-menu-gutter: 16px;
        position: fixed;
        z-index: 9999;
        inset: 0;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: clamp(28px, 6vh, 58px);
        box-sizing: border-box;
        width: 100%;
        min-height: 100dvh;
        overflow-y: auto;
        padding: 0 var(--mobile-menu-gutter) clamp(22px, 5vw, 42px);
        visibility: hidden;
        background: var(--header-bg);
        color: var(--header-link);
        opacity: 0;
        transform: translate3d(0, 100%, 0);
        pointer-events: none;
        will-change: transform;
        transition: opacity 0.24s ease, transform 0.42s cubic-bezier(.22, 1, .36, 1), visibility 0s linear 0.42s;
    }

    .site-header.has-gradient .mobile-menu-overlay {
        background: linear-gradient(135deg, var(--header-bg-grad-1), var(--header-bg-grad-2));
    }

    .mobile-menu-overlay.is-open {
        visibility: visible;
        opacity: 1;
        transform: translate3d(0, 0, 0);
        pointer-events: auto;
        transition-delay: 0s;
    }

    .mobile-menu-brand {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: var(--header-height);
        border-bottom: 1px solid color-mix(in srgb, var(--header-link) 20%, transparent);
    }

    .mobile-menu-logo {
        display: flex;
        min-width: 0;
        align-items: center;
        color: var(--header-link);
        text-decoration: none;
    }

    .mobile-menu-logo img {
        display: block;
        width: auto;
        max-width: min(68vw, 360px);
        height: auto;
        max-height: calc(var(--header-height) * 0.68);
        object-fit: contain;
    }

    .mobile-menu-close {
        position: relative;
        display: grid;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        place-items: center;
        border: 1px solid color-mix(in srgb, var(--header-link) 28%, transparent);
        border-radius: 50%;
        padding: 0;
        background: transparent;
        color: var(--header-link);
        font-size: 1rem;
        cursor: pointer;
    }

    .mobile-menu-close > i {
        display: none;
    }

    .mobile-menu-close::before,
    .mobile-menu-close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 17px;
        height: 1.5px;
        border-radius: 2px;
        background: currentColor;
        transform-origin: center;
    }

    .mobile-menu-close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .mobile-menu-close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .mobile-menu-inner {
        display: grid;
        min-height: 0;
        align-content: center;
    }

    .mobile-menu-nav {
        width: 100%;
    }

    .mobile-menu-list {
        counter-reset: dm-mobile-menu;
        display: grid;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-menu-list > li {
        counter-increment: dm-mobile-menu;
        margin: 0;
    }

    .mobile-menu-list > li > a {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr) auto;
        gap: 14px;
        align-items: center;
        border-bottom: 1px solid color-mix(in srgb, var(--header-link) 18%, transparent);
        padding: clamp(14px, 2.5vh, 22px) 0;
        color: var(--header-link);
        font-family: var(--font-heading);
        font-size: clamp(1.05rem, 4.2vw, 1.65rem);
        font-weight: 500;
        line-height: 1.2;
        text-align: left;
        text-decoration: none;
        transition: color 0.16s ease, padding-left 0.18s ease;
    }

    .mobile-menu-list > li > a::before {
        content: counter(dm-mobile-menu, decimal-leading-zero);
        color: var(--header-link);
        font-family: var(--font-body);
        font-size: 0.62rem;
        font-weight: 600;
        opacity: 0.5;
    }

    .mobile-menu-list > li > a::after {
        content: "\f061";
        color: currentColor;
        font-family: "Font Awesome 6 Free";
        font-size: 0.72rem;
        font-weight: 900;
        opacity: 0.48;
    }

    .mobile-menu-list > li > a:is(:hover, :focus-visible),
    .mobile-menu-list > li:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_ancestor) > a {
        padding-left: 8px;
        color: var(--header-button-bg);
    }

    .mobile-menu-contact {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        border-top: 1px solid color-mix(in srgb, var(--header-link) 20%, transparent);
        padding-top: 20px;
    }

    .mobile-menu-contact > small {
        grid-column: 1 / -1;
        color: var(--header-link);
        opacity: 0.65;
    }

    .mobile-menu-contact > a {
        display: flex;
        gap: 10px;
        min-width: 0;
        align-items: center;
        color: var(--header-link);
        text-decoration: none;
    }

    .mobile-menu-contact > a > i {
        display: grid;
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        place-items: center;
        border-radius: 50%;
        background: var(--header-button-bg);
        color: var(--header-button-text);
    }

    .mobile-menu-contact > a > span {
        display: grid;
        min-width: 0;
        color: inherit;
        font-size: 0.72rem;
        overflow-wrap: anywhere;
    }

    .mobile-menu-contact > a small {
        color: inherit;
        font-size: 0.56rem;
        opacity: 0.58;
    }
}

@media (max-width: 620px) {
    .mobile-menu-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .header-shell {
        gap: 24px;
    }

    .site-nav ul {
        gap: min(var(--header-nav-gap, 16px), 16px);
    }
}

@media (max-width: 990px) {
    body.dm-sticky-header-enabled {
        padding-top: var(--header-height);
    }

    body.dm-home-transparent-header-enabled {
        padding-top: 0;
    }

    .dm-sticky-header-enabled .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }

    .header-shell {
        flex-direction: row;
        align-items: center;
        width: calc(100% - 32px);
        gap: 16px;
    }

    .header-layout-centred .header-shell {
        display: flex;
        flex-direction: row;
        gap: 16px;
    }

    .header-layout-centred .site-nav {
        position: static;
        transform: none;
    }

    .header-left {
        flex: 1 1 auto;
        justify-content: flex-start;
        min-width: 0;
        overflow: hidden;
    }

    .header-right {
        flex: 0 0 auto;
        min-width: 42px;
        align-items: flex-end;
        gap: 10px;
        background: transparent;
        box-shadow: none;
    }

    .site-logo {
        min-width: 0;
    }

    .site-logo img {
        max-width: min(68vw, 360px);
        max-height: calc(var(--header-height) * 0.68);
    }

    .header-layout-centred .header-right {
        display: flex;
    }

    .header-top {
        justify-content: flex-end;
        gap: 14px;
        flex-wrap: nowrap;
        background: transparent;
        padding: 0;
    }

    .header-layout-centred .header-top {
        width: auto;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        background: transparent;
    }

    .header-top-text {
        display: none;
    }

    .header-bottom {
        display: none;
    }

    .header-layout-centred .header-bottom {
        display: none;
    }

    .menu-toggle {
        flex: 0 0 42px;
        display: grid;
        background: transparent;
        box-shadow: none;
    }
}

@media (max-width: 550px) {
    .site-header .header-phone,
    .site-header .header-email,
    .site-header .header-social-custom {
        display: none;
    }

    .site-header .header-top {
        gap: 0;
    }
}

@media (max-width: 450px) {
    .site-logo img {
        max-width: calc(100vw - 104px);
        max-height: calc(var(--header-height) * 0.58);
    }
}

body {
    margin: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.4fr 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding-top:50px;
    padding-bottom:50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col h3 {
    margin: 0 0 8px;
    color: var(--footer-heading-text);
}

.footer-col p,
.footer-col div {
    margin: 0;
    color: var(--footer-paragraph-text);
    line-height:1.1em;
    font-size:0.9em;
    margin-top:10px;
}

.footer-col a {
    color: var(--footer-link);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--footer-link-hover);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 220px;
}

.footer-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 72px;
}

.footer-col-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-col-contact i {
    margin-right: 0;
    width: 18px;
    text-align: center;
}

.accreditation-logos {
    display: grid;
    gap: 12px;
}

.accreditation-logos h4 {
    margin: 0;
}

.accreditation-logo-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    max-width: 100%;
}

.accreditation-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.accreditation-logo-item img {
    display: block;
    max-width: 100%;
    max-height: 38px;
    object-fit: contain;
}

.footer-accreditations {
    margin-top: 16px;
}

.footer-accreditations .accreditation-logo-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(46px, 1fr));
    gap: 12px;
    width: min(100%, 210px);
}

.footer-accreditations .accreditation-logo-item {
    width: 100%;
    justify-content: flex-start;
}

.footer-accreditations .accreditation-logo-item img {
    max-width: 100%;
}

.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
}

.footer-social-icons i {
    margin-right: 0;
    font-size: 25px;
}

.site-footer .footer-copyright {
    margin-top: 20px;
}

.footer-copyright p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-copyright i {
    margin-right: 0;
}

.footer-nav .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-nav .footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-nav .footer-menu a {
    text-decoration: none;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-accreditations .accreditation-logo-list {
        max-width: 320px;
    }
}



.testimonials-section {
    --testimonial-card-bg: #ffffff;
    --testimonial-card-text: #111111;
    --testimonial-card-name: #111111;
    padding-top: calc(var(--section-padding) * 0.5);
}

.testimonials-section.testimonial-layout-quote {
    padding-top: var(--section-padding);
}

.testimonial-flex {
  display: flex;
  align-items: center;
  gap: 30px;
}

.testimonial-heading {
  flex: 0 0 250px;
}

.testimonial-slider {
    position: relative;
    margin-top: 20px;
    padding-top: 30px;
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.testimonial-viewport {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 0px;
    transition: transform 0.45s ease;
    will-change: transform;
    margin-top:30px;
}

.testimonial-slide {
    flex: 0 0 calc((100% - 0px) / 3);
    display: flex;
    min-width: 0;
}

.testimonial-card {
    background: var(--testimonial-card-bg);
    color: var(--testimonial-card-text);
    padding: var(--card-padding);
    border: var(--card-border-width) solid var(--card-border-color);
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    min-height: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-sizing: border-box;
    min-width: 0;
    position:relative;
    box-shadow: var(--card-shadow);
    margin: 10px;
}

.testimonial-stars i {
  margin-right:0px !important;
  color:#ffd800;
}

.testimonial-icon {
  width: 50px;
  height: auto;
  align-self: flex-end;
  flex: 0 0 auto;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.testimonial-card blockquote {
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    flex: 1 1 auto;
    color: var(--testimonial-card-text);
}

.testimonial-name {
    font-size: var(--p-size);
    font-weight: var(--p-weight);
    line-height: var(--p-line-height);
    letter-spacing: var(--p-letter-spacing);
    margin: 0;
    flex: 0 0 auto;
    color: var(--testimonial-card-name);
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-name i {
    margin-right: 0;
    font-size: 1.1em;
}

.testimonial-nav {
    position: absolute;
    top: 5px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.testimonial-nav:hover {
    background: rgba(0, 0, 0, 0.45);
    transform: translateY(-1px);
}

.testimonial-nav:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.testimonial-slider.is-static .testimonial-nav {
    display: none;
}

.testimonial-nav.prev {
    right: 50px;
}

.testimonial-nav.next {
    right: 0;
}

.testimonial-layout-quote .testimonial-flex {
    display: grid;
    gap: clamp(28px, 4vw, 54px);
}

.testimonial-layout-quote.section-has-min-height {
    flex-direction: column;
    justify-content: center;
}

.testimonial-layout-quote .testimonial-heading {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-layout-quote .testimonial-slider {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 64px;
}

.testimonial-layout-quote .testimonial-track {
    margin-top: 0;
}

.testimonial-layout-quote .testimonial-slide {
    flex: 0 0 100%;
}

.testimonial-layout-quote .testimonial-card {
    background: transparent;
    color: inherit;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    min-height: 0;
    margin: 0;
    padding: clamp(34px, 5vw, 70px) 0;
    text-align: center;
    align-items: center;
    position: relative;
}

.testimonial-layout-quote .testimonial-card::before {
    position: absolute;
    font-family: Georgia, serif;
    font-size: clamp(96px, 12vw, 170px);
    line-height: 1;
    color: var(--main-highlight);
    opacity: 0.18;
    pointer-events: none;
}

.section-theme-alt.testimonial-layout-quote .testimonial-card::before {
    color: var(--alt-highlight);
}

.section-theme-footer.testimonial-layout-quote .testimonial-card::before {
    color: var(--footer-highlight);
}

.testimonial-layout-quote .testimonial-card::before {
    content: "\201C";
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-layout-quote .testimonial-stars {
    position: relative;
    z-index: 1;
}

.testimonial-layout-quote .testimonial-icon {
    display: none;
}

.testimonial-layout-quote .testimonial-card blockquote {
    max-width: 850px;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.45;
    font-style: normal;
    color: inherit;
    position: relative;
    z-index: 1;
}

.testimonial-layout-quote .testimonial-name {
    justify-content: center;
    color: inherit;
    position: relative;
    z-index: 1;
}

.testimonial-layout-quote .testimonial-nav {
    top: 50%;
    transform: translateY(-50%);
}

.testimonial-layout-quote .testimonial-nav:hover {
    transform: translateY(calc(-50% - 1px));
}

.testimonial-layout-quote .testimonial-nav.prev {
    left: 0;
    right: auto;
}

.testimonial-layout-quote .testimonial-nav.next {
    right: 0;
}

.client-logo-carousel {
    --client-logo-gap: clamp(34px, 5vw, 76px);
    margin-top: clamp(34px, 5vw, 70px);
}

.client-logo-heading {
    margin: 0 0 18px;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.74;
    font-weight:400;
    text-align:center;
}

.client-logo-viewport {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.client-logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: dmClientLogoMarquee var(--client-logo-duration, 28s) linear infinite;
    will-change: transform;
}

.client-logo-carousel:hover .client-logo-track {
    animation-play-state: paused;
}

.client-logo-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: var(--client-logo-gap);
    padding-right: var(--client-logo-gap);
}

.client-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: clamp(90px, 9vw, 150px);
    line-height: 0;
}

.client-logo-item img {
    display: block;
    max-width: clamp(86px, 9vw, 150px);
    max-height: clamp(30px, 4vw, 48px);
    object-fit: contain;
}

.client-logo-carousel.is-static .client-logo-viewport {
    -webkit-mask-image: none;
    mask-image: none;
}

.client-logo-carousel.is-static .client-logo-track {
    width: 100%;
    justify-content: center;
    animation: none;
}

.client-logo-carousel.is-static .client-logo-group:not(:first-child) {
    display: none;
}

.client-logo-carousel.is-static .client-logo-group {
    padding-right: 0;
}

@keyframes dmClientLogoMarquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(var(--client-logo-shift, -33.333%), 0, 0);
    }
}

@media (max-width: 1100px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }

    .testimonial-card {
        min-height: 260px;
    }
}

@media (max-width: 750px) {
  .testimonial-flex {
      flex-wrap: wrap;
  }
  .testimonial-heading {
    flex:100%;
  }

  .testimonial-layout-quote .testimonial-slider {
      padding: 0 48px;
  }

  .client-logo-carousel {
      --client-logo-gap: 34px;
  }

  .client-logo-item {
      min-width: 104px;
  }

  .client-logo-item img {
      max-width: 104px;
      max-height: 38px;
  }
}

@media (max-width: 550px) {
    .testimonial-layout-quote .testimonial-slider {
        padding: 0;
    }

    .testimonial-layout-quote .testimonial-nav {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .testimonial-layout-quote .testimonial-nav:hover {
        transform: translateY(-1px);
    }

    .testimonial-layout-quote .testimonial-nav.prev {
        left: calc(50% - 50px);
    }

    .testimonial-layout-quote .testimonial-nav.next {
        right: calc(50% - 50px);
    }

    .testimonial-layout-quote .testimonial-card {
        padding-bottom: 78px;
    }

    .client-logo-viewport {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-logo-track {
        animation: none;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .client-logo-group {
        padding-right: 0;
    }

    .client-logo-group:not(:first-child) {
        display: none;
    }
}




.project-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 30px;
}

.project-grid-layout-carousel .project-marquee {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 50px;
}

.project-marquee-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: dmProjectMarquee 30s linear infinite;
}

.project-marquee:hover .project-marquee-track {
    animation-play-state: paused;
}

.project-marquee-item {
    width: 320px;
    height: 50vh;
    min-height: 350px;
    max-height: 550px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 0 0 auto;
}

.project-marquee-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.project-marquee-overlay {
    position: absolute;
    inset: 0;
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
    background-size: 100% 180%;
    background-position: center top;
    transition: background-position 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.project-marquee-item:hover .project-marquee-overlay,
.project-marquee-item:focus-within .project-marquee-overlay {
    background-position: center bottom;
    opacity: 1;
}

.project-marquee-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    padding: 24px;
    display: grid;
    align-content: end;
    justify-items: start;
    gap: 8px;
    transform: translateY(0);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-marquee-item:hover .project-marquee-content,
.project-marquee-item:focus-within .project-marquee-content {
    transform: translateY(-2px);
}

.project-marquee-content h4 {
  color: #fff;
  margin: 0;
  font-size: var(--h4-size) !important;
  font-weight: var(--h4-weight);
  letter-spacing: var(--h4-letter-spacing);
  line-height: 0.95;
  max-width: 90%;
  overflow-wrap: break-word;
}

.project-marquee-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    opacity: 0.92;
}

.project-marquee-location i {
    margin-right: 0;
}

.project-static-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.project-static-grid.items-1 {
    grid-template-columns: 1fr;
}

.project-static-grid.items-2,
.project-static-grid.items-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-static-grid.items-3,
.project-static-grid.items-6,
.project-static-grid.items-9 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-static-grid.items-5 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.project-static-grid.items-5 .project-marquee-item {
    grid-column: span 2;
}

.project-static-grid.items-5 .project-marquee-item:nth-child(n+4) {
    grid-column: span 3;
}

.project-static-grid.items-7 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.project-static-grid.items-7 .project-marquee-item {
    grid-column: span 3;
}

.project-static-grid.items-7 .project-marquee-item:nth-child(n+5) {
    grid-column: span 4;
}

.project-static-grid.items-8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-static-grid.items-10 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.project-static-grid .project-marquee-item {
    width: 100%;
    height: 42vh;
    min-height: 320px;
    max-height: 520px;
}

.project-static-grid .project-marquee-link {
    display: flex;
    align-items: flex-end;
    min-width: 0;
}

.project-static-grid .project-marquee-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
    background-size: 100% 180%;
    background-position: center top;
    transition: background-position 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.project-static-grid .project-marquee-item:hover .project-marquee-overlay,
.project-static-grid .project-marquee-item:focus-within .project-marquee-overlay {
    background-position: center bottom;
    opacity: 1;
}

.project-static-grid .project-marquee-content {
    height: auto;
    width: 100%;
    min-width: 0;
    align-content: end;
    gap: 10px;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-static-grid .project-marquee-description {
    color: #fff;
    font-size: 16px !important;
    line-height: 1.3;
    max-width: 95%;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(16px);
    transition:
        grid-template-rows 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease 0.12s,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: grid-template-rows, opacity, transform;
}

.project-static-grid .project-marquee-description-inner {
    min-height: 0;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-static-grid .project-marquee-description-inner i {
    margin-right: 0;
}

.project-static-grid .project-marquee-item:hover .project-marquee-content,
.project-static-grid .project-marquee-item:focus-within .project-marquee-content {
    transform: translateY(-2px);
}

.project-static-grid .project-marquee-item:hover .project-marquee-description,
.project-static-grid .project-marquee-item:focus-within .project-marquee-description {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
}

.project-static-grid .project-marquee-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -8px;
}

@keyframes dmProjectMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

@media (max-width: 1100px) {
    .project-marquee-item {
        width: 280px;
        height: 50vh;
        min-height: 360px;
    }

    .project-static-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-static-grid .project-marquee-item {
        grid-column: auto;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .project-marquee-track {
        animation-duration: 22s;
    }

    .project-marquee-item {
        width: 220px;
        height: 42vh;
        min-height: 300px;
    }

    .project-static-grid {
        grid-template-columns: 1fr;
    }

    .project-static-grid .project-marquee-item {
        grid-column: auto;
        width: 100%;
        min-height: 300px;
    }
}

@media (max-width: 500px) {
    .project-marquee-track {
        animation-duration: 18s;
    }

    .project-marquee-item {
        width: 280px;
        min-height: 240px;
    }

    .project-static-grid .project-marquee-item {
        width: 100%;
        min-height: 260px;
    }
}


.project-more-header {
    margin-bottom: 30px;
}

.project-more-header h2 {
    margin: 0;
}

.project-more-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    align-items: stretch;
}

.project-more-card {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 240px;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    overflow: hidden;
}

.project-more-card-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    min-width: 0;
}

.project-more-card-overlay {
    position: absolute;
    inset: 0;
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
    background-position: center top;
    background-size: 100% 180%;
    transition: background-position 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.project-more-card:hover .project-more-card-overlay {
    background-position: center bottom;
}

.project-more-card:focus-within .project-more-card-overlay {
    background-position: center bottom;
}

.project-more-card-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 24px;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-more-card-content h4,
.project-more-card-description {
    color: #fff;
    margin: 0;
}

.project-more-card-content h4 {
    font-size: var(--h4-size) !important;
    font-weight: var(--h4-weight);
    letter-spacing: var(--h4-letter-spacing);
    line-height: 0.95;
    max-width: 90%;
    overflow-wrap: break-word;
}

.project-more-card-description {
    font-size: 16px !important;
    line-height: 1.3;
    max-width: 95%;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(16px);
    transition:
        grid-template-rows 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease 0.12s,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: grid-template-rows, opacity, transform;
}

.project-more-card-description-inner {
    min-height: 0;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-more-card-description-inner i {
    margin-right: 0;
}

.project-more-card:hover .project-more-card-content,
.project-more-card:focus-within .project-more-card-content {
    transform: translateY(-2px);
}

.project-more-card:hover .project-more-card-description,
.project-more-card:focus-within .project-more-card-description {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
}

.project-more-card-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -8px;
}

/* 1 item */
.project-more-grid.items-1 .project-more-card {
    grid-column: 1 / -1;
    min-height: 500px;
}

/* 2 items */
.project-more-grid.items-2 .project-more-card {
    grid-column: span 2;
    min-height: 420px;
}

/* 3 items */
.project-more-grid.items-3 .project-more-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 620px;
}

.project-more-grid.items-3 .project-more-card:nth-child(2),
.project-more-grid.items-3 .project-more-card:nth-child(3) {
    grid-column: span 2;
    min-height: 300px;
}

/* 4 items */
.project-more-grid.items-4 .project-more-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 650px;
}

.project-more-grid.items-4 .project-more-card:nth-child(2) {
    grid-column: span 2;
    min-height: 300px;
}

.project-more-grid.items-4 .project-more-card:nth-child(3),
.project-more-grid.items-4 .project-more-card:nth-child(4) {
    grid-column: span 1;
    min-height: 300px;
}

/* 5 items */
.project-more-grid.items-5,
.project-more-grid.items-7,
.project-more-grid.items-8 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.project-more-grid.items-5 .project-more-card:nth-child(1),
.project-more-grid.items-5 .project-more-card:nth-child(2) {
    grid-column: span 6;
    min-height: 360px;
}

.project-more-grid.items-5 .project-more-card:nth-child(3),
.project-more-grid.items-5 .project-more-card:nth-child(4),
.project-more-grid.items-5 .project-more-card:nth-child(5) {
    grid-column: span 4;
    min-height: 300px;
}

/* 6+ items */
.project-more-grid.items-6-plus .project-more-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 500px;
}

.project-more-grid.items-6-plus .project-more-card:nth-child(2) {
    grid-column: span 2;
    min-height: 300px;
}

.project-more-grid.items-6-plus .project-more-card:nth-child(3),
.project-more-grid.items-6-plus .project-more-card:nth-child(4) {
    grid-column: span 1;
    min-height: 300px;
}

.project-more-grid.items-6-plus .project-more-card:nth-child(5),
.project-more-grid.items-6-plus .project-more-card:nth-child(6) {
    grid-column: span 2;
    min-height: 320px;
}

/* 7 items */
.project-more-grid.items-7 .project-more-card:nth-child(1),
.project-more-grid.items-8 .project-more-card:nth-child(1) {
    grid-column: 1 / span 6;
    grid-row: 1 / span 2;
    min-height: 500px;
}

.project-more-grid.items-7 .project-more-card:nth-child(2),
.project-more-grid.items-8 .project-more-card:nth-child(2) {
    grid-column: 7 / span 6;
    grid-row: 1;
    min-height: 300px;
}

.project-more-grid.items-7 .project-more-card:nth-child(3),
.project-more-grid.items-8 .project-more-card:nth-child(3) {
    grid-column: 7 / span 3;
    grid-row: 2;
    min-height: 300px;
}

.project-more-grid.items-7 .project-more-card:nth-child(4),
.project-more-grid.items-8 .project-more-card:nth-child(4) {
    grid-column: 10 / span 3;
    grid-row: 2;
    min-height: 300px;
}

.project-more-grid.items-7 .project-more-card:nth-child(5) {
    grid-column: 1 / span 4;
    grid-row: 3;
    min-height: 320px;
}

.project-more-grid.items-7 .project-more-card:nth-child(6) {
    grid-column: 5 / span 4;
    grid-row: 3;
    min-height: 320px;
}

.project-more-grid.items-7 .project-more-card:nth-child(7) {
    grid-column: 9 / span 4;
    grid-row: 3;
    min-height: 320px;
}

/* 8 items */
.project-more-grid.items-8 .project-more-card:nth-child(5) {
    grid-column: 1 / span 3;
    grid-row: 3;
    min-height: 300px;
}

.project-more-grid.items-8 .project-more-card:nth-child(6) {
    grid-column: 4 / span 3;
    grid-row: 3;
    min-height: 300px;
}

.project-more-grid.items-8 .project-more-card:nth-child(7) {
    grid-column: 1 / span 6;
    grid-row: 4;
    min-height: 300px;
}

.project-more-grid.items-8 .project-more-card:nth-child(8) {
    grid-column: 7 / span 6;
    grid-row: 3 / span 2;
    min-height: 500px;
}

@media (max-width: 1000px) {
    .project-more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .project-more-grid .project-more-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 260px !important;
    }

    .project-more-grid .project-more-card:first-child {
        grid-column: span 2 !important;
        min-height: 340px !important;
    }
}

@media (max-width: 600px) {
    .project-more-grid {
        grid-template-columns: 1fr !important;
    }

    .project-more-grid .project-more-card {
        grid-column: span 1 !important;
        min-height: 220px !important;
    }

    .project-more-grid .project-more-card:first-child {
        grid-column: span 1 !important;
    }
}


.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 50px;
    width: 100%;
    align-items: stretch;
}

.service-grid-heading-centre .service-title {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.service-card {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 240px;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    overflow: hidden;
}

.service-card-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    min-width: 0;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    transition: background-position 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    opacity:1;
    background: var(--service-card-overlay-gradient, linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)));
    background-size: 100% 180%;
    background-position: center top;
}

.service-card:hover .service-card-overlay {
    background-position: center bottom;
}

.service-card:focus-within .service-card-overlay {
    background-position: center bottom;
}

.service-card-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 24px;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-content h3,
.service-card-description {
    color: #fff;
    margin: 0;
}

.service-card-content h3 {
    font-size:25px !important;
    line-height: 0.95;
    max-width: 90%;
    overflow-wrap: break-word;
}

.service-card-content .service-card-description {
    font-size:16px !important;
    line-height: 1.3;
    max-width: 95%;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(16px);
    transition:
        grid-template-rows 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease 0.12s,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: grid-template-rows, opacity, transform;
}

.service-card-description-inner {
    min-height: 0;
    overflow: hidden;
}

.service-card:hover .service-card-content,
.service-card:focus-within .service-card-content {
    transform: translateY(-2px);
}

.service-card:hover .service-card-description,
.service-card:focus-within .service-card-description {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
}

.service-card-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -8px;
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(var(--sector-grid-columns, 4), minmax(0, 1fr));
    gap: 20px;
    margin-top: 50px;
    width: 100%;
    min-width: 0;
    align-items: stretch;
}

.sector-grid-heading-centre .sector-grid-title {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sector-grid-intro {
    max-width: 860px;
}

.sector-grid-heading-centre .sector-grid-intro {
    margin-left: auto;
    margin-right: auto;
}

.sector-grid-intro p {
    margin: 0;
}

.sector-grid-intro p + p {
    margin-top: 1em;
}

.sector-card {
    position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.18);
    background-size: cover;
    background-position: center;
    min-height: 300px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    overflow: hidden;
}

.sector-card-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    min-width: 0;
}

.sector-card-overlay {
    position: absolute;
    inset: 0;
    transition: background-position 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    opacity: 1;
    background: var(--sector-card-overlay-gradient, linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0)));
    background-size: 100% 180%;
    background-position: center top;
}

.sector-card:hover .sector-card-overlay {
    background-position: center bottom;
}

.sector-card:focus-within .sector-card-overlay {
    background-position: center bottom;
}

.sector-card-action,
.service-card-action,
.service-more-card-action,
.project-more-card-action,
.project-marquee-action {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    opacity: 0.58;
    transform: scale(0.92) translate(2px, -2px);
    transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sector-card-action i,
.service-card-action i,
.service-more-card-action i,
.project-more-card-action i,
.project-marquee-action i {
    font-size: 0.9rem;
    margin-right: 0;
}

.sector-card:hover .sector-card-action,
.sector-card:focus-within .sector-card-action,
.service-card:hover .service-card-action,
.service-card:focus-within .service-card-action,
.service-more-card:hover .service-more-card-action,
.service-more-card:focus-within .service-more-card-action,
.project-more-card:hover .project-more-card-action,
.project-more-card:focus-within .project-more-card-action,
.project-static-grid .project-marquee-item:hover .project-marquee-action,
.project-static-grid .project-marquee-item:focus-within .project-marquee-action {
    opacity: 1;
    transform: scale(1.08) translate(0, 0);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.42);
}

.sector-card-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 24px;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.sector-card-content h3,
.sector-card-description {
    color: #fff;
    margin: 0;
}

.sector-card-content h3 {
    font-size: 25px !important;
    line-height: 0.95;
    overflow-wrap: break-word;
}

.sector-card-description {
    font-size: 16px !important;
    line-height: 1.3;
    max-width: 95%;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(16px);
    transition:
        grid-template-rows 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease 0.12s,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: grid-template-rows, opacity, transform;
}

.sector-card-description-inner {
    min-height: 0;
    overflow: hidden;
}

.sector-card:hover .sector-card-content,
.sector-card:focus-within .sector-card-content {
    transform: translateY(-2px);
}

.sector-card:hover .sector-card-description,
.sector-card:focus-within .sector-card-description {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
}

.sector-card-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -8px;
}

@media (hover: none) {
    .sector-card-description,
    .service-card-description,
    .service-more-card-description,
    .project-more-card-description,
    .project-marquee-description {
        grid-template-rows: 1fr;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1200px) {
    .sector-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .sector-grid {
        grid-template-columns: 1fr;
    }

    .sector-card {
        min-height: 240px;
    }
}

/* 1 item */
.service-grid.items-1 .service-card {
    grid-column: 1 / -1;
    min-height: 500px;
}

/* 2 items */
.service-grid.items-2 .service-card {
    grid-column: span 2;
    min-height: 490px;
}

/* 3 items */
.service-grid.items-3 .service-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 620px;
}

.service-grid.items-3 .service-card:nth-child(2),
.service-grid.items-3 .service-card:nth-child(3) {
    grid-column: span 2;
    min-height: 240px;
}

/* 4 items */
.service-grid.items-4 .service-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 650px;
}

.service-grid.items-4 .service-card:nth-child(2) {
    grid-column: span 2;
    min-height: 240px;
}

.service-grid.items-4 .service-card:nth-child(3),
.service-grid.items-4 .service-card:nth-child(4) {
    grid-column: span 1;
    min-height: 240px;
}

/* 5 items */
.service-grid.items-5,
.service-grid.items-7,
.service-grid.items-8 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.service-grid.items-5 .service-card:nth-child(1),
.service-grid.items-5 .service-card:nth-child(2) {
    grid-column: span 6;
    min-height: 340px;
}

.service-grid.items-5 .service-card:nth-child(3),
.service-grid.items-5 .service-card:nth-child(4),
.service-grid.items-5 .service-card:nth-child(5) {
    grid-column: span 4;
    min-height: 300px;
}

/* 6+ items */
.service-grid.items-6-plus .service-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 500px;
}

.service-grid.items-6-plus .service-card:nth-child(2) {
    grid-column: span 2;
    min-height: 240px;
}

.service-grid.items-6-plus .service-card:nth-child(3),
.service-grid.items-6-plus .service-card:nth-child(4) {
    grid-column: span 1;
    min-height: 240px;
}

.service-grid.items-6-plus .service-card:nth-child(5),
.service-grid.items-6-plus .service-card:nth-child(6) {
    grid-column: span 2;
    min-height: 260px;
}

/* 7 items */
.service-grid.items-7 .service-card:nth-child(1),
.service-grid.items-8 .service-card:nth-child(1) {
    grid-column: 1 / span 6;
    grid-row: 1 / span 2;
    min-height: 500px;
}

.service-grid.items-7 .service-card:nth-child(2),
.service-grid.items-8 .service-card:nth-child(2) {
    grid-column: 7 / span 6;
    grid-row: 1;
    min-height: 240px;
}

.service-grid.items-7 .service-card:nth-child(3),
.service-grid.items-8 .service-card:nth-child(3) {
    grid-column: 7 / span 3;
    grid-row: 2;
    min-height: 240px;
}

.service-grid.items-7 .service-card:nth-child(4),
.service-grid.items-8 .service-card:nth-child(4) {
    grid-column: 10 / span 3;
    grid-row: 2;
    min-height: 240px;
}

.service-grid.items-7 .service-card:nth-child(5) {
    grid-column: 1 / span 4;
    grid-row: 3;
    min-height: 300px;
}

.service-grid.items-7 .service-card:nth-child(6) {
    grid-column: 5 / span 4;
    grid-row: 3;
    min-height: 300px;
}

.service-grid.items-7 .service-card:nth-child(7) {
    grid-column: 9 / span 4;
    grid-row: 3;
    min-height: 300px;
}

/* 8 items */
.service-grid.items-8 .service-card:nth-child(5) {
    grid-column: 1 / span 3;
    grid-row: 3;
    min-height: 240px;
}

.service-grid.items-8 .service-card:nth-child(6) {
    grid-column: 4 / span 3;
    grid-row: 3;
    min-height: 240px;
}

.service-grid.items-8 .service-card:nth-child(7) {
    grid-column: 1 / span 6;
    grid-row: 4;
    min-height: 240px;
}

.service-grid.items-8 .service-card:nth-child(8) {
    grid-column: 7 / span 6;
    grid-row: 3 / span 2;
    min-height: 500px;
}

/* Tablet */
@media (max-width: 1000px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid .service-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 260px !important;
    }

    .service-grid .service-card:first-child {
        grid-column: span 2 !important;
        min-height: 320px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-grid .service-card {
        grid-column: span 1 !important;
        min-height: 220px !important;
    }

    .service-grid .service-card:first-child {
        grid-column: span 1 !important;
    }
}

.archive-grid-page .project-static-grid.archive-flat-grid,
.archive-grid-page .service-grid.archive-flat-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 24px;
}

.archive-grid-page .project-static-grid.archive-flat-grid .project-marquee-item,
.archive-grid-page .service-grid.archive-flat-grid .service-card,
.archive-grid-page .service-grid.archive-flat-grid .service-card:first-child {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: clamp(300px, 32vw, 420px) !important;
    height: auto;
}

.archive-grid-page .project-static-grid.archive-flat-grid .project-marquee-link,
.archive-grid-page .service-grid.archive-flat-grid .service-card-link {
    min-height: clamp(300px, 32vw, 420px);
}

.archive-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 42px;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    border: 1px solid currentColor;
    border-radius: var(--button-radius-tl) var(--button-radius-tr) var(--button-radius-br) var(--button-radius-bl);
    padding: 9px 14px;
    color: inherit;
    font-weight: var(--button-font-weight);
    text-decoration: none;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers:focus-visible {
    background: var(--main-button-bg);
    border-color: var(--main-button-bg);
    color: var(--main-button-text);
}



.service-more-header {
    margin-bottom: 30px;
}

.service-more-header h2 {
    margin: 0;
}

.service-more-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    align-items: stretch;
}

.service-more-card {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 240px;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    overflow: hidden;
}

.service-more-card-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    min-width: 0;
}






.service-more-card-overlay {
    position: absolute;
    inset: 0;
    transition: background-position 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    opacity:1;
    background: var(--service-card-overlay-gradient, linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)));
    background-size: 100% 180%;
    background-position: center top;
}

.service-more-card:hover .service-more-card-overlay {
    background-position: center bottom;
}

.service-more-card:focus-within .service-more-card-overlay {
    background-position: center bottom;
}

.service-more-card-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 24px;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-more-card-content h3,
.service-more-card-description {
    color: #fff;
    margin: 0;
}

.service-more-card-content h3 {
    font-size:25px !important;
    line-height: 0.95;
    max-width: 90%;
    overflow-wrap: break-word;
}

.service-more-card-content .service-more-card-description {
    font-size:16px !important;
    line-height: 1.3;
    max-width: 95%;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(16px);
    transition:
        grid-template-rows 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease 0.12s,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: grid-template-rows, opacity, transform;
}

.service-more-card-description-inner {
    min-height: 0;
    overflow: hidden;
}

.service-more-card:hover .service-more-card-content,
.service-more-card:focus-within .service-more-card-content {
    transform: translateY(-2px);
}

.service-more-card:hover .service-more-card-description,
.service-more-card:focus-within .service-more-card-description {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
}

.service-more-card-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -8px;
}

/* 1 item */
.service-more-grid.items-1 .service-more-card {
    grid-column: 1 / -1;
    min-height: 500px;
}

/* 2 items */
.service-more-grid.items-2 .service-more-card {
    grid-column: span 2;
    min-height: 420px;
}

/* 3 items */
.service-more-grid.items-3 .service-more-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 620px;
}

.service-more-grid.items-3 .service-more-card:nth-child(2),
.service-more-grid.items-3 .service-more-card:nth-child(3) {
    grid-column: span 2;
    min-height: 300px;
}

/* 4 items */
.service-more-grid.items-4 .service-more-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 650px;
}

.service-more-grid.items-4 .service-more-card:nth-child(2) {
    grid-column: span 2;
    min-height: 300px;
}

.service-more-grid.items-4 .service-more-card:nth-child(3),
.service-more-grid.items-4 .service-more-card:nth-child(4) {
    grid-column: span 1;
    min-height: 300px;
}

/* 5 items */
.service-more-grid.items-5,
.service-more-grid.items-7,
.service-more-grid.items-8 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.service-more-grid.items-5 .service-more-card:nth-child(1),
.service-more-grid.items-5 .service-more-card:nth-child(2) {
    grid-column: span 6;
    min-height: 360px;
}

.service-more-grid.items-5 .service-more-card:nth-child(3),
.service-more-grid.items-5 .service-more-card:nth-child(4),
.service-more-grid.items-5 .service-more-card:nth-child(5) {
    grid-column: span 4;
    min-height: 300px;
}

/* 6+ items */
.service-more-grid.items-6-plus .service-more-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 500px;
}

.service-more-grid.items-6-plus .service-more-card:nth-child(2) {
    grid-column: span 2;
    min-height: 300px;
}

.service-more-grid.items-6-plus .service-more-card:nth-child(3),
.service-more-grid.items-6-plus .service-more-card:nth-child(4) {
    grid-column: span 1;
    min-height: 300px;
}

.service-more-grid.items-6-plus .service-more-card:nth-child(5),
.service-more-grid.items-6-plus .service-more-card:nth-child(6) {
    grid-column: span 2;
    min-height: 320px;
}

/* 7 items */
.service-more-grid.items-7 .service-more-card:nth-child(1),
.service-more-grid.items-8 .service-more-card:nth-child(1) {
    grid-column: 1 / span 6;
    grid-row: 1 / span 2;
    min-height: 500px;
}

.service-more-grid.items-7 .service-more-card:nth-child(2),
.service-more-grid.items-8 .service-more-card:nth-child(2) {
    grid-column: 7 / span 6;
    grid-row: 1;
    min-height: 300px;
}

.service-more-grid.items-7 .service-more-card:nth-child(3),
.service-more-grid.items-8 .service-more-card:nth-child(3) {
    grid-column: 7 / span 3;
    grid-row: 2;
    min-height: 300px;
}

.service-more-grid.items-7 .service-more-card:nth-child(4),
.service-more-grid.items-8 .service-more-card:nth-child(4) {
    grid-column: 10 / span 3;
    grid-row: 2;
    min-height: 300px;
}

.service-more-grid.items-7 .service-more-card:nth-child(5) {
    grid-column: 1 / span 4;
    grid-row: 3;
    min-height: 320px;
}

.service-more-grid.items-7 .service-more-card:nth-child(6) {
    grid-column: 5 / span 4;
    grid-row: 3;
    min-height: 320px;
}

.service-more-grid.items-7 .service-more-card:nth-child(7) {
    grid-column: 9 / span 4;
    grid-row: 3;
    min-height: 320px;
}

/* 8 items */
.service-more-grid.items-8 .service-more-card:nth-child(5) {
    grid-column: 1 / span 3;
    grid-row: 3;
    min-height: 300px;
}

.service-more-grid.items-8 .service-more-card:nth-child(6) {
    grid-column: 4 / span 3;
    grid-row: 3;
    min-height: 300px;
}

.service-more-grid.items-8 .service-more-card:nth-child(7) {
    grid-column: 1 / span 6;
    grid-row: 4;
    min-height: 300px;
}

.service-more-grid.items-8 .service-more-card:nth-child(8) {
    grid-column: 7 / span 6;
    grid-row: 3 / span 2;
    min-height: 500px;
}

@media (max-width: 1000px) {
    .service-more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-more-grid .service-more-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 260px !important;
    }

    .service-more-grid .service-more-card:first-child {
        grid-column: span 2 !important;
        min-height: 340px !important;
    }
}

@media (max-width: 600px) {
    .service-more-grid {
        grid-template-columns: 1fr;
    }

    .service-more-grid .service-more-card {
        grid-column: span 1 !important;
        min-height: 220px !important;
    }

    .service-more-grid .service-more-card:first-child {
        grid-column: span 1 !important;
    }
}

/* Service Highlights */
.service-highlights-section.section-theme-main {
    --service-highlight-panel-bg: color-mix(in srgb, var(--main-heading-text) 6%, var(--main-bg));
    --service-highlight-panel-border: color-mix(in srgb, var(--main-heading-text) 14%, transparent);
    --service-highlight-pill-bg: var(--main-bg-80);
    --service-highlight-pill-text: var(--main-bg);
}

.service-highlights-section.section-theme-alt {
    --service-highlight-panel-bg: color-mix(in srgb, var(--alt-heading-text) 6%, var(--alt-bg));
    --service-highlight-panel-border: color-mix(in srgb, var(--alt-heading-text) 14%, transparent);
    --service-highlight-pill-bg: var(--alt-bg-80);
    --service-highlight-pill-text: var(--alt-bg);
}

.service-highlights-section.section-theme-footer {
    --service-highlight-panel-bg: color-mix(in srgb, var(--footer-heading-text) 9%, var(--footer-bg));
    --service-highlight-panel-border: color-mix(in srgb, var(--footer-heading-text) 18%, transparent);
    --service-highlight-pill-bg: var(--footer-bg-80);
    --service-highlight-pill-text: var(--footer-bg);
}

.service-highlights-header {
    max-width: 860px;
    margin-bottom: clamp(36px, 5vw, 72px);
}

.service-highlights-header .section-heading {
    margin-bottom: 18px;
}

.service-highlights-intro > *:first-child,
.service-highlight-description > *:first-child {
    margin-top: 0;
}

.service-highlights-intro > *:last-child,
.service-highlight-description > *:last-child {
    margin-bottom: 0;
}

.service-highlights-list {
    display: grid;
    gap: clamp(42px, 6vw, 88px);
}

.service-highlight-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}

.service-highlight-card.is-reversed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-highlight-card.is-reversed .service-highlight-image-wrap {
    order: 2;
}

.service-highlight-card.is-reversed .service-highlight-content {
    order: 1;
}

.service-highlight-card.has-no-image {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-highlight-card.has-no-image .service-highlight-image-wrap {
    display: block;
}

.service-highlight-image-wrap {
    position: relative;
    min-height: clamp(300px, 38vw, 560px);
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-tl) 0 0 var(--radius-bl);
    background: var(--service-highlight-panel-bg);
}

.service-highlight-card.is-reversed .service-highlight-image-wrap {
    border-radius: 0 var(--radius-tr) var(--radius-br) 0;
}

.service-highlight-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-highlight-card:hover .service-highlight-image-wrap img {
    transform: scale(1.035);
}

.service-highlight-pills {
    position: absolute;
    left: clamp(16px, 2vw, 28px);
    bottom: clamp(16px, 2vw, 28px);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: min(82%, 520px);
}

.service-highlight-pills span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 12px;
    background: var(--service-highlight-pill-bg);
    color: var(--service-highlight-pill-text);
    font-size: clamp(11px, 0.76vw, 13px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 2px !important;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.service-highlight-content {
    display: grid;
    gap: 18px;
    align-content: center;
    min-height: 100%;
    padding: clamp(28px, 4vw, 54px);
    border: 1px solid var(--service-highlight-panel-border);
    border-left: 0;
    border-radius: 0 var(--radius-tr) var(--radius-br) 0;
    background: var(--service-highlight-panel-bg);
    box-shadow: var(--card-shadow);
}

.service-highlight-card.is-reversed .service-highlight-content {
    border-left: 1px solid var(--service-highlight-panel-border);
    border-right: 0;
    border-radius: var(--radius-tl) 0 0 var(--radius-bl);
}

.service-highlight-content h3 {
    margin: 0;
}

.service-highlights-section.has-custom-card-text .service-highlight-content {
    color: var(--service-highlight-panel-text);
}

.service-highlights-section.has-custom-card-text .service-highlight-content h3,
.service-highlights-section.has-custom-card-text .service-highlight-description,
.service-highlights-section.has-custom-card-text .service-highlight-description > * {
    color: inherit;
}

.service-highlights-section.has-custom-card-text .service-highlight-eyebrow {
    color: var(--service-highlight-panel-text) !important;
}

.service-highlight-eyebrow {
    margin-bottom: 0;
}

.service-highlight-button {
    margin-top: 8px;
}

@media (max-width: 900px) {
    .service-highlight-card,
    .service-highlight-card.is-reversed {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .service-highlight-card.is-reversed .service-highlight-image-wrap,
    .service-highlight-card.is-reversed .service-highlight-content {
        order: initial;
    }

    .service-highlight-image-wrap {
        min-height: clamp(250px, 62vw, 420px);
        height: auto;
        border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    }

    .service-highlight-card.is-reversed .service-highlight-image-wrap {
        border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    }

    .service-highlight-content,
    .service-highlight-card.is-reversed .service-highlight-content {
        min-height: 0;
        border: 1px solid var(--service-highlight-panel-border);
        border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    }
}

@media (max-width: 600px) {
    .service-highlight-content {
        padding: 24px;
    }

    .service-highlight-pills {
        max-width: calc(100% - 32px);
    }
}

/* Brand Values */
.brand-values-section {
    --brand-values-scroll-distance: 0px;
    --brand-values-scroll-slowdown: 1.38;
    --brand-values-scroll-start-hold: 0.35;
    --brand-values-scroll-end-hold: 0.35;
    --brand-values-card-bg: color-mix(in srgb, var(--main-heading-text) 5%, var(--main-bg));
    --brand-values-card-text: var(--main-paragraph-text);
    --brand-values-card-heading: var(--main-heading-text);
    --brand-values-card-accent: var(--main-highlight);
    --brand-values-card-border: color-mix(in srgb, var(--main-heading-text) 13%, transparent);
    position: relative;
    min-height: max(calc((100vh - var(--header-height, 0px)) + var(--brand-values-scroll-distance)), var(--brand-values-min-height, 0px));
    padding: 0;
    overflow: visible;
}

.brand-values-section.section-has-bg {
    overflow: visible;
}

.brand-values-section.section-theme-main {
    --brand-values-card-bg: color-mix(in srgb, var(--main-heading-text) 5%, var(--main-bg));
    --brand-values-card-text: var(--main-paragraph-text);
    --brand-values-card-heading: var(--main-heading-text);
    --brand-values-card-accent: var(--main-highlight);
    --brand-values-card-border: color-mix(in srgb, var(--main-heading-text) 13%, transparent);
}

.brand-values-section.section-theme-alt {
    --brand-values-card-bg: color-mix(in srgb, var(--alt-heading-text) 5%, var(--alt-bg));
    --brand-values-card-text: var(--alt-paragraph-text);
    --brand-values-card-heading: var(--alt-heading-text);
    --brand-values-card-accent: var(--alt-highlight);
    --brand-values-card-border: color-mix(in srgb, var(--alt-heading-text) 13%, transparent);
}

.brand-values-section.section-theme-footer {
    --brand-values-card-bg: color-mix(in srgb, var(--footer-heading-text) 9%, var(--footer-bg));
    --brand-values-card-text: var(--footer-paragraph-text);
    --brand-values-card-heading: var(--footer-heading-text);
    --brand-values-card-accent: var(--footer-highlight);
    --brand-values-card-border: color-mix(in srgb, var(--footer-heading-text) 16%, transparent);
}

.brand-values-pin {
    position: sticky;
    top: var(--header-height, 0px);
    z-index: 1;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: calc(100vh - var(--header-height, 0px));
    padding: clamp(48px, 7vw, 110px) 0;
    overflow: hidden;
}

.brand-values-section > .section-overlay {
    z-index: 0;
}

.brand-values-section .container-default,
.brand-values-section .container-short,
.brand-values-section .container-large {
    position: relative;
    z-index: 1;
}

.brand-values-header {
    max-width: 820px;
    margin-bottom: clamp(30px, 4.5vw, 64px);
}

.brand-values-header .section-heading {
    margin-bottom: 18px;
}

.brand-values-intro > *:first-child,
.brand-values-card-text > *:first-child {
    margin-top: 0;
}

.brand-values-intro > *:last-child,
.brand-values-card-text > *:last-child {
    margin-bottom: 0;
}

.brand-values-viewport {
    --brand-values-edge-fade: clamp(42px, 7vw, 120px);
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 var(--brand-values-edge-fade),
        #000 calc(100% - var(--brand-values-edge-fade)),
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 var(--brand-values-edge-fade),
        #000 calc(100% - var(--brand-values-edge-fade)),
        transparent 100%
    );
}

.brand-values-track {
    display: flex;
    gap: clamp(18px, 2.8vw, 38px);
    width: max-content;
    will-change: transform;
}

.brand-values-card {
    flex: 0 0 min(50vw, 660px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
    min-height: clamp(250px, 34vh, 420px);
    padding: clamp(24px, 3.2vw, 42px);
    border: 1px solid var(--brand-values-card-border);
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--brand-values-card-accent) 8%, transparent), transparent 44%),
        var(--brand-values-card-bg);
    color: var(--brand-values-card-text);
    box-shadow: var(--card-shadow);
    opacity: 0.72;
    transform: translateY(10px);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.brand-values-card.has-value-icon {
    grid-template-columns: clamp(68px, 7vw, 104px) minmax(0, 1fr);
}

.brand-values-card.is-active {
    border-color: color-mix(in srgb, var(--brand-values-card-accent) 34%, var(--brand-values-card-border));
    box-shadow:
        var(--card-shadow),
        0 18px 44px color-mix(in srgb, var(--brand-values-card-accent) 9%, transparent);
    opacity: 1;
    transform: translateY(0);
}

.brand-values-style-plain .brand-values-card,
.brand-values-style-plain .brand-values-card.is-active {
    border-color: transparent;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.brand-values-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(54px, 6vw, 82px);
    height: clamp(54px, 6vw, 82px);
}

.brand-values-card-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-values-card-content {
    display: grid;
    align-content: start;
    gap: 14px;
}

.brand-values-card .section-eyebrow {
    justify-self: start;
    margin: 0;
    padding: 0.56em 0.84em;
    border: 1px solid color-mix(in srgb, var(--brand-values-card-accent) 30%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-values-card-accent) 11%, var(--brand-values-card-bg));
    color: var(--brand-values-card-heading);
}

.brand-values-card h3 {
    margin: 0;
    color: var(--brand-values-card-heading);
}

.brand-values-card-text {
    color: var(--brand-values-card-text);
}

@media (max-width: 980px) {
    .brand-values-section {
        min-height: var(--brand-values-min-height, auto);
        overflow: hidden;
    }

    .brand-values-section.section-has-bg {
        overflow: hidden;
    }

    .brand-values-pin {
        position: relative;
        top: auto;
        min-height: 0;
        padding: clamp(44px, 8vw, 76px) 0;
        overflow: visible;
    }

    .brand-values-viewport {
        --brand-values-edge-fade: 34px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .brand-values-viewport::-webkit-scrollbar {
        display: none;
    }

    .brand-values-track {
        transform: none !important;
    }

    .brand-values-card {
        flex-basis: min(82vw, 560px);
        scroll-snap-align: start;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 600px) {
    .brand-values-card {
        flex-basis: calc(100vw - 48px);
        gap: 18px;
        min-height: 0;
        padding: 24px;
    }

    .brand-values-card.has-value-icon {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .brand-values-card-icon {
        width: 56px;
        height: 56px;
    }
}

/* Brand Story */
.brand-story-section {
    --brand-story-sticky-top: calc(var(--header-height, 90px) + clamp(59px, calc(5vh + 15px), 87px));
}

.brand-story-section.section-theme-main {
    --brand-story-card-bg: color-mix(in srgb, var(--main-heading-text) 5%, var(--main-bg));
    --brand-story-card-text: var(--main-paragraph-text);
    --brand-story-card-heading: var(--main-heading-text);
    --brand-story-card-accent: var(--main-highlight);
    --brand-story-card-border: color-mix(in srgb, var(--main-heading-text) 13%, transparent);
    --brand-story-media-bg: color-mix(in srgb, var(--main-heading-text) 7%, var(--main-bg));
}

.brand-story-section.section-theme-alt {
    --brand-story-card-bg: color-mix(in srgb, var(--alt-heading-text) 5%, var(--alt-bg));
    --brand-story-card-text: var(--alt-paragraph-text);
    --brand-story-card-heading: var(--alt-heading-text);
    --brand-story-card-accent: var(--alt-highlight);
    --brand-story-card-border: color-mix(in srgb, var(--alt-heading-text) 13%, transparent);
    --brand-story-media-bg: color-mix(in srgb, var(--alt-heading-text) 7%, var(--alt-bg));
}

.brand-story-section.section-theme-footer {
    --brand-story-card-bg: color-mix(in srgb, var(--footer-heading-text) 9%, var(--footer-bg));
    --brand-story-card-text: var(--footer-paragraph-text);
    --brand-story-card-heading: var(--footer-heading-text);
    --brand-story-card-accent: var(--footer-highlight);
    --brand-story-card-border: color-mix(in srgb, var(--footer-heading-text) 16%, transparent);
    --brand-story-media-bg: color-mix(in srgb, var(--footer-heading-text) 8%, var(--footer-bg));
}

.brand-story-header {
    max-width: 860px;
    margin-bottom: clamp(34px, 5vw, 76px);
}

.brand-story-header .section-heading {
    margin-bottom: 18px;
}

.brand-story-intro > *:first-child,
.brand-story-card-text > *:first-child {
    margin-top: 0;
}

.brand-story-intro > *:last-child,
.brand-story-card-text > *:last-child {
    margin-bottom: 0;
}

.brand-story-scroll {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: clamp(30px, 5.5vw, 92px);
    align-items: start;
}

.brand-story-section.has-no-images .brand-story-scroll {
    grid-template-columns: 1fr;
}

.brand-story-media-column {
    position: relative;
    min-height: 100%;
}

.brand-story-media-sticky {
    position: sticky;
    top: var(--brand-story-sticky-top);
    min-height: clamp(420px, 58vh, 720px);
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background: var(--brand-story-media-bg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.brand-story-image-pane {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.035);
    transition:
        opacity 0.68s ease,
        transform 1.05s ease;
}

.brand-story-image-pane.is-active {
    opacity: 1;
    transform: scale(1);
}

.brand-story-image-pane img,
.brand-story-mobile-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-story-card-list {
    --brand-story-rail-left: clamp(24px, 2.8vw, 36px);
    --brand-story-rail-top: 50%;
    --brand-story-rail-height: 0px;
    --brand-story-progress: 0;
    position: relative;
    display: grid;
    gap: clamp(92px, 16vh, 220px);
}

.brand-story-card-list::before,
.brand-story-card-list::after {
    content: "";
    position: absolute;
    left: var(--brand-story-rail-left);
    top: var(--brand-story-rail-top);
    z-index: 2;
    width: 2px;
    height: var(--brand-story-rail-height);
    border-radius: 999px;
    pointer-events: none;
}

.brand-story-card-list::before {
    background: color-mix(in srgb, var(--brand-story-card-accent) 22%, var(--brand-story-card-text));
    opacity: 0.2;
}

.brand-story-card-list::after {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--brand-story-card-accent) 78%, transparent),
        color-mix(in srgb, var(--brand-story-card-accent) 34%, transparent)
    );
    opacity: 0.62;
    transform: scaleY(var(--brand-story-progress));
    transform-origin: top;
    transition: transform 0.16s linear;
}

.brand-story-card {
    position: relative;
    display: grid;
    min-height: clamp(360px, 52vh, 640px);
    border: 1px solid var(--brand-story-card-border);
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--brand-story-card-accent) 9%, transparent) 0%, transparent 46%),
        var(--brand-story-card-bg);
    color: var(--brand-story-card-text);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition:
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.brand-story-card::before {
    content: "";
    position: absolute;
    left: calc(var(--brand-story-rail-left) - 7px);
    top: 50%;
    z-index: 4;
    width: 14px;
    height: 14px;
    border: 2px solid color-mix(in srgb, var(--brand-story-card-accent) 42%, var(--brand-story-card-bg));
    border-radius: 999px;
    background: var(--brand-story-card-bg);
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--brand-story-card-accent) 8%, transparent);
    opacity: 0.58;
    transform: translateY(-50%);
    transition:
        opacity 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        transform 0.28s ease;
}

.brand-story-card::after {
    content: "";
    position: absolute;
    left: calc(var(--brand-story-rail-left) - 17px);
    top: 50%;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-story-card-accent) 16%, transparent);
    opacity: 0.18;
    transform: translateY(-50%) scale(0.82);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
}

.brand-story-card.is-active {
    border-color: color-mix(in srgb, var(--brand-story-card-accent) 34%, var(--brand-story-card-border));
    box-shadow:
        var(--card-shadow),
        0 18px 44px color-mix(in srgb, var(--brand-story-card-accent) 8%, transparent);
}

.brand-story-card.is-active::before {
    border-color: color-mix(in srgb, var(--brand-story-card-bg) 78%, white);
    background: var(--brand-story-card-accent);
    box-shadow: 0 0 0 9px color-mix(in srgb, var(--brand-story-card-accent) 17%, transparent);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.brand-story-card.is-active::after {
    opacity: 0.48;
    transform: translateY(-50%) scale(1);
}

.brand-story-style-plain .brand-story-card,
.brand-story-style-plain .brand-story-card.is-active {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.brand-story-card-content {
    display: grid;
    align-content: center;
    gap: 18px;
    padding:
        clamp(88px, 7vw, 120px)
        clamp(28px, 4vw, 58px)
        clamp(30px, 4vw, 58px)
        clamp(52px, 5vw, 82px);
}

.brand-story-card-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 3vw, 34px);
}

.brand-story-card h3 {
    margin: 0;
    color: var(--brand-story-card-heading);
}

.brand-story-card .section-eyebrow {
    justify-self: start;
    margin: 0;
    padding: 0.62em 0.88em;
    border: 1px solid color-mix(in srgb, var(--brand-story-card-accent) 34%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-story-card-accent) 13%, var(--brand-story-card-bg));
    color: var(--brand-story-card-heading);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--brand-story-card-accent) 10%, transparent);
    overflow-wrap: anywhere;
}

.brand-story-card-icon {
    position: absolute;
    top: clamp(18px, 2.2vw, 30px);
    right: clamp(22px, 3vw, 42px);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(34px, 4vw, 52px);
    height: clamp(34px, 4vw, 52px);
}

.brand-story-card-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-story-style-plain .brand-story-card-kicker .brand-story-card-icon {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    flex: 0 0 auto;
    width: clamp(36px, 4.2vw, 58px);
    height: clamp(36px, 4.2vw, 58px);
    margin-left: auto;
}

.brand-story-card-text {
    color: var(--brand-story-card-text);
}

.brand-story-mobile-image {
    display: none;
}

@media (max-width: 980px) {
    .brand-story-scroll {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .brand-story-card-list {
        --brand-story-mobile-media-height: clamp(190px, 52vw, 420px);
    }

    .brand-story-media-column {
        display: none;
    }

    .brand-story-card-list {
        gap: 38px;
    }

    .brand-story-card {
        min-height: 0;
    }

    .brand-story-mobile-image {
        display: block;
        height: var(--brand-story-mobile-media-height);
        background: var(--brand-story-media-bg);
    }

    .brand-story-card.has-card-image .brand-story-card-icon {
        top: calc(var(--brand-story-mobile-media-height) + 18px);
    }
}

@media (max-width: 600px) {
    .brand-story-card-list {
        --brand-story-rail-left: 18px;
        --brand-story-mobile-media-height: clamp(178px, 58vw, 300px);
    }

    .brand-story-card-content {
        padding: 82px 24px 24px 40px;
    }

    .brand-story-card-icon {
        right: 18px;
        width: 44px;
        height: 44px;
    }
}


.section-has-min-height {
    display: flex;
    align-items: center;
}

.section-has-min-height > .container-default,
.section-has-min-height > .container-short,
.section-has-min-height > .container-large {
    margin-left: auto;
    margin-right: auto;
}

.section-has-min-height {
    box-sizing: border-box;
}


.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(64px, 6vw, 110px);
    row-gap: 40px;
    align-items: center;
    overflow: visible;
}

.about-layout-image-left .about-image-wrap {
    order: 1;
}

.about-layout-image-left .about-content {
    order: 2;
}

.about-layout-image-right .about-content {
    order: 1;
}

.about-layout-image-right .about-image-wrap {
    order: 2;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 78%;
    height: 28px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0) 80%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.about-image-wrap img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
}

.about-content {
    display: grid;
    gap: 18px;
}

.about-content h6,
.about-content h2,
.about-content .wysiwyg {
    margin: 0;
}

.about-button-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-layout-image-left .about-image-wrap,
    .about-layout-image-left .about-content,
    .about-layout-image-right .about-image-wrap,
    .about-layout-image-right .about-content {
        order: initial;
    }
}


.stakes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.stakes-header-content {
    display: grid;
    gap: 14px;
    max-width: 800px;
}

.stakes-header-content h6,
.stakes-header-content h2,
.stakes-intro {
    margin: 0;
}

.stakes-header-action {
    flex: 0 0 auto;
}

.stakes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.stakes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.stakes-card {
    position: relative;
    min-height: clamp(360px, 30vw, 460px);
    border-radius: var(--radius-tl);
    perspective: 1200px;
}

.stakes-card-inner {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: inherit;
    box-shadow:0px 3px 10px rgba(0,0,0,0.1);
    width: 100%;
    height: 100%;
    min-height: inherit;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    will-change: transform;
}

.stakes-card:hover .stakes-card-inner {
    transform: rotateY(180deg);
}

.stakes-card-face {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: clamp(24px, 2.2vw, 40px);
    box-sizing: border-box;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--flip-card-text, inherit);
}

.stakes-card-face h3,
.stakes-card-face h4,
.stakes-card-face h5,
.stakes-card-face h6 {
    color: inherit;
}

.stakes-card-front {
    background: var(--flip-card-bg, rgba(255, 255, 255, 0.08));
    color: var(--flip-card-text, inherit);
    backdrop-filter: blur(4px);
    gap: 16px;
}

.stakes-card-back {
    transform: rotateY(180deg);
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Theme-aware back colours */
.section-theme-main .stakes-card-back {
    background: var(--flip-card-back-bg, rgba(0, 0, 0, 0.04));
}

.section-theme-alt .stakes-card-back {
    background: var(--flip-card-back-bg, rgba(0, 0, 0, 0.04));
}

.section-theme-footer .stakes-card-back {
    background: var(--flip-card-back-bg, rgba(255, 255, 255, 0.04));
}

.stakes-card-back-content {
    display: grid;
    gap: 18px;
    justify-items: center;
    max-width: 240px;
}

.stakes-card-back-content h5 {
    margin: 0;
    color: var(--flip-card-text, inherit);
}

.stakes-card-icon {
    margin-bottom: clamp(18px, 3.5vw, 76px);
    flex: 0 0 auto;
}

.stakes-card-icon img {
    display: block;
    height: 48px;
    object-fit: contain;
}

.stakes-card h4,
.stakes-card-text {
    margin: 0;
}

.stakes-card-text > *:first-child {
    margin-top: 0;
}

.stakes-card-text > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .stakes-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stakes-grid {
        grid-template-columns: 1fr;
    }

    .stakes-card,
    .stakes-card-inner {
        min-height: 280px;
    }
}

.stakes-card {
    padding: 0px;
    backdrop-filter: blur(4px);
    display: grid;
    gap: 0px;
}

.stakes-card h3,
.stakes-card-text {
    margin: 0;
}

.stakes-card-text > *:first-child {
    margin-top: 0;
}

.stakes-card-text > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .stakes-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stakes-grid {
        grid-template-columns: 1fr;
    }
}

.stakes-card-icon {
}

.stakes-card-icon img {
  display: block;
  margin-bottom: 0;
  object-fit: contain;
}

.stakes-card h4 {
    overflow-wrap: anywhere;
}

.stakes-card-text {
    overflow-wrap: anywhere;
}

.stakes-card-text p {
    line-height: 1.25;
}

.stakes-layout-side > .container-default,
.stakes-layout-side > .container-short,
.stakes-layout-side > .container-large {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
    gap: clamp(36px, 5vw, 90px);
    align-items: center;
}

.stakes-layout-side .stakes-header {
    display: grid;
    align-content: center;
    align-items: start;
    justify-content: start;
    gap: 24px;
    margin-bottom: 0;
}

.stakes-layout-side .stakes-header-content {
    max-width: 680px;
}

.stakes-layout-side .stakes-header-action {
    justify-self: start;
}

.stakes-layout-side .stakes-grid {
    grid-template-columns: 1fr;
    gap: 18px;
}

.stakes-layout-side .stakes-card,
.stakes-layout-side .stakes-card-inner {
    min-height: 170px;
}

.stakes-layout-side .stakes-card:hover .stakes-card-inner {
    transform: rotateX(180deg);
}

.stakes-layout-side .stakes-card-face {
    padding: clamp(20px, 2vw, 30px);
}

.stakes-layout-side .stakes-card-front {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    column-gap: 20px;
    row-gap: 8px;
}

.stakes-layout-side .stakes-card-front.has-no-icon {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
}

.stakes-layout-side .stakes-card-front.has-no-icon h4,
.stakes-layout-side .stakes-card-front.has-no-icon .stakes-card-text {
    grid-column: 1;
}

.stakes-layout-side .stakes-card-back {
    transform: rotateX(180deg);
    align-items: stretch;
    text-align: left;
}

.stakes-layout-side .stakes-card-back-content {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(16px, 3vw, 34px);
    justify-items: stretch;
}

.stakes-layout-side .stakes-card-back-content h5 {
    text-align: left;
}

.stakes-layout-side .stakes-card-back-content .button {
    justify-self: end;
    white-space: nowrap;
}

.stakes-layout-side .stakes-card-icon {
    grid-row: 1 / span 2;
    margin: 0;
}

.stakes-layout-side .stakes-card-icon img {
    width: clamp(44px, 4vw, 64px);
    height: clamp(44px, 4vw, 64px);
}

.stakes-layout-side .stakes-card h4 {
    align-self: end;
}

.stakes-layout-side .stakes-card-text {
    align-self: start;
}

.stakes-layout-side .stakes-card-text p {
    line-height: 1.35;
}

/* Content alignment controls the complete intro pattern, not just the heading. */
.stakes-layout-side.dm-align-centre .stakes-header {
    align-items: center;
    justify-items: center;
    justify-content: center;
    text-align: center;
}

.stakes-layout-side.dm-align-centre .stakes-header-content {
    justify-items: center;
    text-align: center;
}

.stakes-layout-side.dm-align-centre .stakes-intro,
.stakes-layout-side.dm-align-centre .stakes-intro > * {
    text-align: center;
}

.stakes-layout-side.dm-align-centre .stakes-header-action {
    justify-self: center;
}

.stakes-section:not(.stakes-layout-side).dm-align-centre .stakes-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stakes-section:not(.stakes-layout-side).dm-align-centre .stakes-header-content {
    justify-items: center;
    text-align: center;
}

.stakes-section:not(.stakes-layout-side).dm-align-centre .stakes-intro,
.stakes-section:not(.stakes-layout-side).dm-align-centre .stakes-intro > * {
    text-align: center;
}

.stakes-section:not(.stakes-layout-side).dm-align-centre .stakes-header-action {
    align-self: center;
}

.stakes-section.dm-align-centre .stakes-header .section-eyebrow {
    justify-content: center;
}

@media (max-width: 980px) {
    .stakes-layout-side > .container-default,
    .stakes-layout-side > .container-short,
    .stakes-layout-side > .container-large {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .stakes-layout-side .stakes-card,
    .stakes-layout-side .stakes-card-inner {
        min-height: 220px;
    }

    .stakes-layout-side .stakes-card-front {
        grid-template-columns: 1fr;
    }

    .stakes-layout-side .stakes-card-icon {
        grid-row: auto;
    }

    .stakes-layout-side .stakes-card-back-content {
        grid-template-columns: 1fr;
    }
}




.cta-content-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    text-align: left;
    padding: 38px;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content-wrap > h2,
.cta-content-wrap > .wysiwyg,
.cta-content-wrap > .cta-button-wrap {
    width: 100%;
}

.cta-content-wrap > .section-eyebrow {
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
}

.cta-content-wrap > .wysiwyg {
    display: block;
}

.cta-section h2 {
    margin-bottom: 0;
}

.cta-section.dm-align-left .section-eyebrow {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    justify-content: flex-start;
}

.cta-section.dm-align-left .cta-content-wrap,
.cta-section.dm-align-left .cta-button-wrap {
    text-align: left;
}

.cta-section.dm-align-centre .section-eyebrow {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-content: center;
}

.cta-section.dm-align-centre .cta-content-wrap,
.cta-section.dm-align-centre .cta-button-wrap {
    text-align: center;
}

.section-theme-main .cta-content-wrap {
  background: var(--main-bg-soft);
}

.section-theme-alt .cta-content-wrap {
  background: var(--alt-bg-soft);
}

.section-theme-footer .cta-content-wrap {
  background: var(--footer-bg-soft);
}

#cta-section .cta-button-wrap {
  width: 100%;
  display: block;
}


/* ===== FORM ===== */

input,
textarea,
select {
    border-radius: var(--input-radius) !important;
    padding: 10px !important;
    margin-bottom: 10px !important;
    background: var(--input-bg) !important;
    color: var(--input-text) !important;
    border: 1px solid var(--input-border) !important;
    font-family: var(--font-body) !important;
    font-size: var(--p-size) !important;
    font-weight: var(--p-weight) !important;
    letter-spacing: var(--p-letter-spacing) !important;
    box-sizing: border-box;
}

textarea {
    height: 148px !important;
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color: var(--input-focus-border) !important;
}

label {
    color: var(--label-colour) !important;
    font-family: var(--font-body) !important;
    font-size: var(--p-size) !important;
    font-weight: var(--p-weight) !important;
    letter-spacing: var(--p-letter-spacing) !important;
}

input::placeholder,
textarea::placeholder {
    color: var(--placeholder-colour) !important;
    opacity: 1;
    font-family: var(--font-body) !important;
    font-size: var(--p-size) !important;
    font-weight: var(--p-weight) !important;
    letter-spacing: var(--p-letter-spacing) !important;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: var(--placeholder-colour) !important;
}

/* Submit button */
.wpcf7-submit {
    border-radius: var(--button-radius-tl) var(--button-radius-tr) var(--button-radius-br) var(--button-radius-bl) !important;
    border-style: solid !important;
    border-width: var(--button-border-width) !important;
    border-color: var(--button-border-color-main, var(--main-button-bg)) !important;
    box-shadow: var(--button-shadow) !important;
    margin-bottom: 0 !important;
    padding: 11px 20px !important;
    background-position: center !important;
    background-size: 200% !important;
    width: 100%;
    font-family: var(--font-body) !important;
    font-size: var(--button-size) !important;
    font-weight: var(--button-font-weight) !important;
    text-transform: var(--button-text-transform) !important;
    letter-spacing: var(--button-letter-spacing) !important;
    -webkit-transition: all 500ms ease !important;
    -moz-transition: all 500ms ease !important;
    -ms-transition: all 500ms ease !important;
    -o-transition: all 500ms ease !important;
    transition: all 500ms ease !important;
}

/* Main theme */
.section-theme-main .wpcf7-submit {
    background: var(--main-button-bg) !important;
    color: var(--main-button-text) !important;
}

.section-theme-main .wpcf7-submit:hover {
    background: var(--main-button-hover) !important;
    border-color: var(--button-border-hover-color-main, var(--main-button-hover)) !important;
    color: var(--main-button-text) !important;
}

/* Alt theme */
.section-theme-alt .wpcf7-submit {
    background: var(--alt-button-bg) !important;
    border-color: var(--button-border-color-alt, var(--alt-button-bg)) !important;
    color: var(--alt-button-text) !important;
}

.section-theme-alt .wpcf7-submit:hover {
    background: var(--alt-button-hover) !important;
    border-color: var(--button-border-hover-color-alt, var(--alt-button-hover)) !important;
    color: var(--alt-button-text) !important;
}

/* Footer theme */
.section-theme-footer .wpcf7-submit {
    background: var(--footer-button-bg) !important;
    border-color: var(--button-border-color-footer, var(--footer-button-bg)) !important;
    color: var(--footer-button-text) !important;
}

.section-theme-footer .wpcf7-submit:hover {
    background: var(--footer-button-hover) !important;
    border-color: var(--button-border-hover-color-footer, var(--footer-button-hover)) !important;
    color: var(--footer-button-text) !important;
}

/* Response output */
.wpcf7-response-output {
    border: 0 !important;
    line-height: 1.2em !important;
    padding: 10px 15px !important;
    margin: 20px 0 0 0 !important;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    border-radius: 10px !important;
    font-style: normal;
    letter-spacing: var(--p-letter-spacing) !important;
    display: block;
    float: left;
    font-family: var(--font-body) !important;
    font-size: var(--p-size) !important;
    font-weight: var(--p-weight) !important;
}

/* Optional response colours by theme */
.section-theme-main .wpcf7-response-output {
    background: var(--main-bg);
    color: var(--main-paragraph-text);
}

.section-theme-alt .wpcf7-response-output {
    background: var(--alt-bg);
    color: var(--alt-paragraph-text);
}

.section-theme-footer .wpcf7-response-output {
    background: var(--footer-bg);
    color: var(--footer-paragraph-text);
}

.grecaptcha-badge {
    visibility: hidden !important;
}

@media only screen and (min-width: 990px) {
    .contact-form-wrap .wpcf7-form {
        display: flex;
        flex-wrap: wrap;
        gap: 1%;
        align-items: flex-start;
    }

    .contact-form-wrap .left-form {
        width: 39%;
        float: none;
        display: block;
    }

    .contact-form-wrap .right-form {
        width: 60%;
        float: none;
        display: block;
    }
}



.contact-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    gap: 60px;
}

.contact-page-info {

}

.contact-page-info h1,
.contact-page-info p {
    margin-top: 0;
}

.contact-page-details {
    display: grid;
    gap: 12px;
    margin-top:30px;
}

.contact-page-details p,
.contact-page-details div {
    margin: 0;
}

.contact-page-details p {
  padding-left:30px;
  position:relative;
}

.contact-page-details p i {
  position:absolute;
  top:3px;
  left:0px;
}

.contact-page-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 30px;
}

.contact-page-socials i {
  font-size:30px;
}

.contact-page-form {
    width: 100%;
}

.contact-page-form > * {
    width: 100%;
}

form p {
    margin:0px;
}

@media (max-width: 900px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: start;
}

.contact-info-column {
    display: grid;
    gap: 5px;
}

.contact-intro {
    margin-bottom: 8px;
}

.contact-info-grid {
    display: grid;
    gap: 5px;
    margin-top: 8px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 20px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact-info-icon i {
    font-size: 1rem;
    margin-right: 0;
}

.contact-info-content {
    display: grid;
    gap: 8px;
    align-content: center;
    padding-top: 4px;
}

.contact-info-content h5,
.contact-info-content p {
    margin: 0;
}

.contact-info-content a {
    text-decoration: none;
}

.contact-form-panel {
    position: relative;
}

.contact-form-panel-inner {
    padding: 35px 35px 20px 35px;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(8px);
}

/* Theme-aware panel/icon colours */
.contact-form-panel-inner,
.contact-info-icon {
    background: rgba(255, 255, 255, 0.1);
    box-shadow:0px 5px 10px rgba(0,0,0,0.1);
}


.section-theme-main .contact-info-icon i {
    color: var(--main-highlight);
}

.section-theme-alt .contact-info-icon i {
    color: var(--alt-highlight);
}

.section-theme-footer .contact-info-icon i {
    color: var(--footer-highlight);
}

/* Optional border to help panel pop on all themes */
.contact-form-panel-inner,
.contact-info-icon {
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Make form inside feel cleaner */
.contact-form-panel-inner .wpcf7-form {
    margin: 0;
}

.contact-form-panel-inner .left-form p,
.contact-form-panel-inner .right-form p {
    margin: 0;
}

@media (max-width: 1000px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .contact-info-card {
        gap: 16px;
    }

    .contact-info-icon {
        width: 76px;
        height: 76px;
        min-width: 76px;
    }

    .contact-info-icon i {
        font-size: 1.6rem;
    }

    .contact-form-panel-inner {
        padding: 22px;
    }
}

.generic-page-template .generic-hero-content {
    display: grid;
    gap: 20px;
    max-width: min(72%, 980px);
}

.generic-page-template .generic-hero-text p {
    margin: 0;
}

.generic-page-template .generic-hero-text p + p {
    margin-top: 1em;
}

.generic-page-template .generic-hero-button {
    margin-top: 12px;
}

.generic-main-section.section-theme-main {
    --generic-support-card-bg: color-mix(in srgb, var(--main-heading-text) 7%, var(--main-bg));
    --generic-support-card-border: color-mix(in srgb, var(--main-heading-text) 16%, transparent);
}

.generic-main-section.section-theme-alt {
    --generic-support-card-bg: color-mix(in srgb, var(--alt-heading-text) 7%, var(--alt-bg));
    --generic-support-card-border: color-mix(in srgb, var(--alt-heading-text) 16%, transparent);
}

.generic-main-section.section-theme-footer {
    --generic-support-card-bg: color-mix(in srgb, var(--footer-heading-text) 8%, var(--footer-bg));
    --generic-support-card-border: color-mix(in srgb, var(--footer-heading-text) 18%, transparent);
}

.generic-page-template .generic-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.generic-page-template .generic-main-layout.has-no-support {
    grid-template-columns: minmax(0, 900px);
}

.generic-page-template .generic-main-content {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.generic-page-template .generic-support-card {
    position: sticky;
    top: calc(var(--header-height) + 30px);
    display: grid;
    align-content: start;
    gap: 18px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background: var(--footer-bg);
    border: 1px solid color-mix(in srgb, var(--footer-heading-text) 20%, transparent);
    color: var(--footer-paragraph-text);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.generic-page-template .generic-support-icon {
    display: block;
    width: clamp(52px, 5vw, 82px);
    max-height: 82px;
    object-fit: contain;
    object-position: left center;
}

.generic-page-template .generic-support-card h3,
.generic-page-template .generic-support-text p {
    margin: 0;
}

.generic-page-template .generic-support-card h3 {
    color: var(--footer-heading-text);
}

.generic-page-template .generic-support-text p,
.generic-page-template .generic-support-text li {
    color: var(--footer-paragraph-text);
}

.generic-page-template .generic-support-card a:not(.button) {
    color: var(--footer-link);
}

.generic-page-template .generic-support-card a:not(.button):hover {
    color: var(--footer-link-hover);
}

.generic-page-template .generic-support-text p + p {
    margin-top: 1em;
}

.generic-page-template .generic-support-button {
    margin-top: 8px;
}

.generic-page-template .generic-support-card .button-main {
    background: var(--header-button-bg);
    border-color: var(--header-button-bg);
    color: var(--header-button-text);
}

.generic-page-template .generic-support-card .button-main:hover {
    background: var(--header-button-hover);
    border-color: var(--header-button-hover);
    color: var(--header-button-text);
}

.generic-page-template .generic-contact-layout.has-no-form {
    grid-template-columns: minmax(0, 820px);
}

@media (max-width: 900px) {
    .generic-page-template .generic-hero-content {
        max-width: 100%;
    }

    .generic-page-template .generic-main-layout,
    .generic-page-template .generic-main-layout.has-no-support,
    .generic-page-template .generic-contact-layout.has-no-form {
        grid-template-columns: 1fr;
    }

    .generic-page-template .generic-support-card {
        position: static;
    }
}




.single-service-page .service-hero-content {
    display: grid;
    gap: 0px;
    max-width: 760px;
}

.service-hero-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.service-hero-button {
  margin-top:20px;
}

.single-service-page .service-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 80px;
    align-items: start;
}

.single-service-page .service-main-content {
    display: grid;
    gap: 28px;
}

.single-service-page .service-summary {
    font-size: 1.05em;
}

.single-service-page .service-sidebar-card {
    background: var(--service-feature-card-background, var(--card-bg, #fff));
    color: var(--service-feature-card-text, inherit);
    padding: 28px;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-height) + 30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
}

.section-theme-footer .service-sidebar-card {
    background: rgba(255, 255, 255, 0.08);
}

.single-service-page .service-sidebar-card h3,
.single-service-page .service-sidebar-card p {
    margin: 0;
}

.single-service-page .service-features-text p + p {
    margin-top: 1em;
}

.single-service-page .service-features-text p + ul,
.single-service-page .service-features-text p + ol,
.single-service-page .service-features-text ul + p,
.single-service-page .service-features-text ol + p {
    margin-top: 1em;
}

.single-service-page .service-features-text ul,
.single-service-page .service-features-text ol {
    margin: 0;
    padding-left: 1.25em;
}

.single-service-page .service-features-text li + li {
    margin-top: 0.45em;
}

.single-service-page .service-bottom-cta .service-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-theme-footer .service-bottom-cta .service-cta-box {
    background: transparent;
}

.single-service-page .service-cta-content {
    display: grid;
    gap: 12px;
}

.single-service-page .service-cta-content h2,
.single-service-page .service-cta-content p {
    margin: 0;
}

.single-service-page .service-cta-action {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .single-service-page .service-content-layout {
        grid-template-columns: 1fr;
    }

    .single-service-page .service-sidebar-card {
        position: static;
    }

    .single-service-page .service-bottom-cta .service-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}



.single-service-page .service-hero-content {
    display: grid;
    gap: 20px;
    max-width: 760px;
}

.service-hero-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.single-service-page .service-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 80px;
    align-items: start;
}

.single-service-page .service-main-content {
    display: grid;
    gap: 28px;
}

.single-service-page .service-summary {
    font-size: 1.05em;
}

.single-service-page .service-sidebar-card {
    padding: 28px;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background: rgba(0, 0, 0, 0.04);
    display: grid;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-height) + 30px);
}

.section-theme-footer .service-sidebar-card {
    background: rgba(255, 255, 255, 0.08);
}

.single-service-page .service-sidebar-card h3,
.single-service-page .service-sidebar-card p {
    margin: 0;
}

.single-service-page .service-features-text p + p {
    margin-top: 1em;
}

.single-service-page .service-features-text p + ul,
.single-service-page .service-features-text p + ol,
.single-service-page .service-features-text ul + p,
.single-service-page .service-features-text ol + p {
    margin-top: 1em;
}

.single-service-page .service-features-text ul,
.single-service-page .service-features-text ol {
    margin: 0;
    padding-left: 1.25em;
}

.single-service-page .service-features-text li + li {
    margin-top: 0.45em;
}

.single-service-page .service-bottom-cta .service-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-radius: 0;
    background: transparent;
}

.section-theme-footer .service-bottom-cta .service-cta-box {
    background: transparent;
}

.single-service-page .service-cta-content {
    display: grid;
    gap: 12px;
}

.single-service-page .service-cta-content h2,
.single-service-page .service-cta-content p {
    margin: 0;
}

.single-service-page .service-cta-action {
    flex: 0 0 auto;
}

.single-service-page .service-sidebar-card {
    background: var(--footer-bg);
    border: 1px solid color-mix(in srgb, var(--footer-heading-text) 20%, transparent);
    color: var(--footer-paragraph-text);
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
}

.single-service-page .service-sidebar-card h3 {
    color: var(--footer-heading-text);
}

.single-service-page .service-sidebar-card p,
.single-service-page .service-sidebar-card li {
    color: var(--footer-paragraph-text);
}

.single-service-page .service-sidebar-card a {
    color: var(--footer-link);
}

.single-service-page .service-sidebar-card a:hover {
    color: var(--footer-link-hover);
}

.single-service-page .service-sidebar-button {
    margin-top: 8px;
}

.single-service-page .service-sidebar-card .button-main {
    background: var(--header-button-bg);
    border-color: var(--header-button-bg);
    color: var(--header-button-text);
}

.single-service-page .service-sidebar-card .button-main:hover {
    background: var(--header-button-hover);
    border-color: var(--header-button-hover);
    color: var(--header-button-text);
}

/* Service gallery */
.service-gallery-grid-in-content {
    margin-top: clamp(34px, 5vw, 64px);
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    align-items: stretch;
}

.service-gallery-card {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 240px;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    overflow: hidden;
}

.service-gallery-link {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}

.service-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.0);
    transition: opacity 0.3s ease;
}

.service-gallery-card:hover .service-gallery-overlay {
    opacity: 0.08;
}

.dm-service-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 4vw, 56px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dm-service-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.dm-service-lightbox.is-theme-main {
    background: var(--main-bg-lightbox);
}

.dm-service-lightbox.is-theme-alt {
    background: var(--alt-bg-lightbox);
}

.dm-service-lightbox.is-theme-footer {
    background: var(--footer-bg-lightbox);
}

.dm-service-lightbox-image {
    display: block;
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.dm-service-lightbox-close {
    position: absolute;
    top: clamp(16px, 3vw, 34px);
    right: clamp(16px, 3vw, 34px);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
}

.dm-service-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.34);
}

/* 1 image */
.service-gallery-grid.items-1 .service-gallery-card {
    grid-column: 1 / -1;
    min-height: 520px;
}

/* 2 images */
.service-gallery-grid.items-2 .service-gallery-card {
    grid-column: span 2;
    min-height: 420px;
}

/* 3 images */
.service-gallery-grid.items-3 .service-gallery-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 620px;
}

.service-gallery-grid.items-3 .service-gallery-card:nth-child(2),
.service-gallery-grid.items-3 .service-gallery-card:nth-child(3) {
    grid-column: span 2;
    min-height: 300px;
}

/* 4 images */
.service-gallery-grid.items-4 .service-gallery-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 650px;
}

.service-gallery-grid.items-4 .service-gallery-card:nth-child(2) {
    grid-column: span 2;
    min-height: 300px;
}

.service-gallery-grid.items-4 .service-gallery-card:nth-child(3),
.service-gallery-grid.items-4 .service-gallery-card:nth-child(4) {
    grid-column: span 1;
    min-height: 300px;
}

/* 5 images */
.service-gallery-grid.items-5 .service-gallery-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 500px;
}

.service-gallery-grid.items-5 .service-gallery-card:nth-child(2) {
    grid-column: span 2;
    min-height: 300px;
}

.service-gallery-grid.items-5 .service-gallery-card:nth-child(3),
.service-gallery-grid.items-5 .service-gallery-card:nth-child(4) {
    grid-column: span 1;
    min-height: 300px;
}

.service-gallery-grid.items-5 .service-gallery-card:nth-child(5) {
    grid-column: span 4;
    min-height: 420px;
}

@media (max-width: 1000px) {
    .single-service-page .service-content-layout {
        grid-template-columns: 1fr;
    }

    .single-service-page .service-sidebar-card {
        position: static;
    }

    .single-service-page .service-bottom-cta .service-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-gallery-grid .service-gallery-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 260px !important;
    }

    .service-gallery-grid .service-gallery-card:first-child {
        grid-column: span 2 !important;
        min-height: 340px !important;
    }
}

@media (max-width: 600px) {
    .service-gallery-grid {
        grid-template-columns: 1fr;
    }

    .service-gallery-grid .service-gallery-card {
        grid-column: span 1 !important;
        min-height: 220px !important;
    }

    .service-gallery-grid .service-gallery-card:first-child {
        grid-column: span 1 !important;
    }
}



.single-project-page .project-page-layout {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 40px;
    align-items: start;
}

.single-project-page .project-page-content {
    display: grid;
    gap: 0px;
}

.single-project-page .project-page-location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.single-project-page .project-page-location i {
    margin-right: 0;
}

.single-project-page .section-theme-main .project-page-location {
    color: var(--main-link);
}

.single-project-page .section-theme-alt .project-page-location {
    color: var(--alt-link);
}

.single-project-page .section-theme-footer .project-page-location {
    color: var(--footer-link);
}

.single-project-page .project-page-body {
    display: block;
}

.single-project-page .project-page-back {
    margin-top: 10px;
}

.project-page-gallery {
    width: 100%;
    min-width: 0;
}

.project-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
}

.project-slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.project-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.project-slide::after {
  content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 78%;
    height: 28px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0) 80%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.project-slide img {
    display: block;
    width: 100%;
    height: 70vh;
    min-height: 420px;
    max-height: 820px;
    object-fit: cover;
}

.project-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
}

.project-slider-nav.prev {
    left: 16px;
}

.project-slider-nav.next {
    right: 16px;
}

.project-slider-nav:hover {
    background: rgba(0, 0, 0, 0.55);
}

.single-project-page .project-bottom-cta .project-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 0px;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background: rgba(0, 0, 0, 0.04);
}

.section-theme-footer .project-bottom-cta .project-cta-box {
    background: rgba(255, 255, 255, 0.08);
}

.single-project-page .project-cta-content {
    display: grid;
    gap: 12px;
}

.single-project-page .project-cta-content h2,
.single-project-page .project-cta-content p {
    margin: 0;
}

.single-project-page .project-cta-action {
    flex: 0 0 auto;
}

@media (max-width: 1000px) {
    .single-project-page .project-page-layout {
        grid-template-columns: 1fr;
    }

    .project-slide img {
        height: 50vh;
        min-height: 320px;
    }

    .single-project-page .project-bottom-cta .project-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .project-slide img {
        height: 40vh;
        min-height: 240px;
    }
}

.single-sector-page .sector-hero-content {
    display: grid;
    gap: 20px;
    max-width: min(72%, 980px);
}

.single-sector-page .sector-hero-text p {
    margin: 0;
}

.single-sector-page .sector-hero-text p + p {
    margin-top: 1em;
}

.single-sector-page .sector-hero-button {
    margin-top: 20px;
}

.single-sector-page .sector-main-content {
    min-height: 0;
}

.sector-main-section.section-theme-main {
    --sector-main-card-bg: color-mix(in srgb, var(--main-heading-text) 7%, var(--main-bg));
    --sector-main-card-border: color-mix(in srgb, var(--main-heading-text) 16%, transparent);
}

.sector-main-section.section-theme-alt {
    --sector-main-card-bg: color-mix(in srgb, var(--alt-heading-text) 7%, var(--alt-bg));
    --sector-main-card-border: color-mix(in srgb, var(--alt-heading-text) 16%, transparent);
}

.sector-main-section.section-theme-footer {
    --sector-main-card-bg: color-mix(in srgb, var(--footer-heading-text) 8%, var(--footer-bg));
    --sector-main-card-border: color-mix(in srgb, var(--footer-heading-text) 18%, transparent);
}

.single-sector-page .sector-main-layout {
    display: flex;
    align-items: flex-start;
    gap: clamp(24px, 4vw, 56px);
}

.single-sector-page .sector-main-primary {
    flex: 0 1 70%;
    display: grid;
    gap: clamp(24px, 3vw, 40px);
    min-width: 0;
}

.single-sector-page .sector-main-intro {
    display: grid;
    gap: 14px;
    max-width: 900px;
}

.single-sector-page .sector-main-intro h2,
.single-sector-page .sector-main-intro-text p {
    margin: 0;
}

.single-sector-page .sector-main-intro-text p + p {
    margin-top: 1em;
}

.single-sector-page .sector-main-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
}

.single-sector-page .sector-main-card {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 220px;
    height: 100%;
    padding: clamp(22px, 2.4vw, 34px);
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background: rgba(0, 0, 0, 0.04);
    background: var(--sector-main-card-bg, rgba(0, 0, 0, 0.04));
    border: 1px solid rgba(0, 0, 0, 0.08);
    border: 1px solid var(--sector-main-card-border, rgba(0, 0, 0, 0.08));
}

.single-sector-page .sector-main-card-eyebrow {
    margin: 0 0 4px;
}

.single-sector-page .sector-main-card h3,
.single-sector-page .sector-main-card-text p {
    margin: 0;
}

.single-sector-page .sector-main-card-text p + p {
    margin-top: 1em;
}

.single-sector-page .sector-main-service-list {
    display: grid;
    gap: clamp(18px, 2.4vw, 28px);
}

.single-sector-page .sector-main-service-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.82fr);
    min-height: 280px;
    overflow: hidden;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background: var(--sector-main-card-bg, rgba(0, 0, 0, 0.04));
    border: 1px solid var(--sector-main-card-border, rgba(0, 0, 0, 0.08));
}

.single-sector-page .sector-main-service-card.has-no-image {
    grid-template-columns: 1fr;
}

.single-sector-page .sector-main-service-content {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: clamp(22px, 2.8vw, 38px);
}

.single-sector-page .sector-main-service-eyebrow {
    margin: 0 0 4px;
}

.single-sector-page .sector-main-service-content h3,
.single-sector-page .sector-main-service-intro p {
    margin: 0;
}

.single-sector-page .sector-main-service-intro p + p {
    margin-top: 1em;
}

.single-sector-page .sector-main-service-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.single-sector-page .sector-main-service-actions .button {
    padding: 0.72em 1.18em;
    font-size: calc(var(--button-size) * 0.88);
}

.single-sector-page .sector-main-service-image {
    min-height: 100%;
}

.single-sector-page .sector-main-service-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.single-sector-page .sector-help-card {
    flex: 1 1 30%;
    min-width: 260px;
    align-self: flex-start;
    position: sticky;
    top: calc(var(--header-height) + 30px);
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 22px;
    padding: clamp(26px, 3vw, 42px);
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background: var(--footer-bg);
    border: 1px solid color-mix(in srgb, var(--footer-heading-text) 20%, transparent);
    color: var(--footer-paragraph-text);
}

.single-sector-page .sector-help-logo {
    display: block;
    width: min(220px, 100%);
    max-height: 110px;
    object-fit: contain;
    object-position: left center;
    padding: 12px;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    background: var(--header-bg);
}

.single-sector-page .sector-help-card h3 {
    margin: 0;
    max-width: 10ch;
    color: var(--footer-heading-text);
}

.single-sector-page .sector-help-card .button-main {
    background: var(--header-button-bg);
    border-color: var(--header-button-bg);
    color: var(--header-button-text);
}

.single-sector-page .sector-help-card .button-main:hover {
    background: var(--header-button-hover);
    border-color: var(--header-button-hover);
    color: var(--header-button-text);
}

.single-sector-page .service-more-card {
    background-color: rgba(0, 0, 0, 0.18);
}

.single-sector-page .sector-bottom-cta .sector-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-radius: 0;
    background: transparent;
}

.single-sector-page .sector-cta-content {
    display: grid;
    gap: 12px;
}

.single-sector-page .sector-cta-content h2,
.single-sector-page .sector-cta-content p {
    margin: 0;
}

.single-sector-page .sector-cta-action {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .single-sector-page .sector-hero-content {
        max-width: 100%;
    }

    .single-sector-page .sector-main-layout {
        flex-direction: column;
    }

    .single-sector-page .sector-main-primary {
        flex-basis: auto;
        width: 100%;
    }

    .single-sector-page .sector-help-card {
        min-width: 0;
        position: static;
    }

    .single-sector-page .sector-bottom-cta .sector-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .single-sector-page .sector-main-card-grid {
        grid-template-columns: 1fr;
    }

    .single-sector-page .sector-main-card {
        min-height: 0;
    }

    .single-sector-page .sector-main-service-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .single-sector-page .sector-main-service-image {
        min-height: 220px;
    }

    .single-sector-page .sector-main-service-image img {
        min-height: 220px;
    }
}




.error-page-content {
    display: grid;
    gap: 20px;
    justify-items: center;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.error-page-section h1,
.error-page-section p {
    color: #fff;
    margin: 0;
}

.error-page-section h1 {
    font-size: clamp(60px, 12vw, 140px);
    line-height: 0.95;
}

.error-page-section p {
    font-size: 1.2rem;
}





/* =========================
   GLOBAL SCROLL ANIMATIONS
   ========================= */

:root {
    --reveal-distance: 28px;
    --reveal-right-distance: 32px;
    --reveal-grid-distance: 24px;
    --reveal-stagger-distance: 22px;
    --reveal-button-distance: 20px;
    --reveal-grid-scale: 0.98;
    --reveal-duration: 0.88s;
    --reveal-duration-fast: 0.58s;
    --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --parallax-response: 0.1s;
    --reveal-delay-1: 0.05s;
    --reveal-delay-2: 0.12s;
    --reveal-delay-3: 0.19s;
    --reveal-delay-4: 0.26s;
    --reveal-delay-5: 0.33s;
    --reveal-delay-6: 0.40s;
    --reveal-delay-7: 0.47s;
    --reveal-delay-8: 0.54s;
    --button-pulse-strong: 1.045;
    --button-pulse-soft: 1.025;
}

body.dm-motion-none {
    --reveal-distance: 0px;
    --reveal-right-distance: 0px;
    --reveal-grid-distance: 0px;
    --reveal-stagger-distance: 0px;
    --reveal-button-distance: 0px;
    --reveal-grid-scale: 1;
    --reveal-duration: 0s;
    --reveal-duration-fast: 0s;
    --parallax-response: 0s;
    --reveal-delay-1: 0s;
    --reveal-delay-2: 0s;
    --reveal-delay-3: 0s;
    --reveal-delay-4: 0s;
    --reveal-delay-5: 0s;
    --reveal-delay-6: 0s;
    --reveal-delay-7: 0s;
    --reveal-delay-8: 0s;
}

body.dm-motion-subtle {
    --reveal-distance: 4px;
    --reveal-right-distance: 6px;
    --reveal-grid-distance: 3px;
    --reveal-stagger-distance: 4px;
    --reveal-button-distance: 3px;
    --reveal-grid-scale: 1;
    --reveal-duration: 0.28s;
    --reveal-duration-fast: 0.2s;
    --reveal-ease: ease-out;
    --parallax-response: 0.18s;
    --reveal-delay-1: 0s;
    --reveal-delay-2: 0.02s;
    --reveal-delay-3: 0.04s;
    --reveal-delay-4: 0.06s;
    --reveal-delay-5: 0.08s;
    --reveal-delay-6: 0.10s;
    --reveal-delay-7: 0.12s;
    --reveal-delay-8: 0.14s;
    --button-pulse-strong: 1;
    --button-pulse-soft: 1;
}

body.dm-motion-smooth {
    --reveal-distance: 28px;
    --reveal-right-distance: 32px;
    --reveal-grid-distance: 24px;
    --reveal-stagger-distance: 22px;
    --reveal-button-distance: 20px;
    --reveal-grid-scale: 0.98;
    --reveal-duration: 0.88s;
    --reveal-duration-fast: 0.58s;
    --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --parallax-response: 0.1s;
    --reveal-delay-1: 0.05s;
    --reveal-delay-2: 0.13s;
    --reveal-delay-3: 0.21s;
    --reveal-delay-4: 0.29s;
    --reveal-delay-5: 0.37s;
    --reveal-delay-6: 0.45s;
    --reveal-delay-7: 0.53s;
    --reveal-delay-8: 0.61s;
    --button-pulse-strong: 1.04;
    --button-pulse-soft: 1.02;
}

body.dm-motion-energetic {
    --reveal-distance: 56px;
    --reveal-right-distance: 64px;
    --reveal-grid-distance: 48px;
    --reveal-stagger-distance: 44px;
    --reveal-button-distance: 40px;
    --reveal-grid-scale: 0.94;
    --reveal-duration: 0.5s;
    --reveal-duration-fast: 0.32s;
    --reveal-ease: cubic-bezier(0.12, 0.8, 0.18, 1);
    --parallax-response: 0.045s;
    --reveal-delay-1: 0.03s;
    --reveal-delay-2: 0.15s;
    --reveal-delay-3: 0.27s;
    --reveal-delay-4: 0.39s;
    --reveal-delay-5: 0.51s;
    --reveal-delay-6: 0.63s;
    --reveal-delay-7: 0.75s;
    --reveal-delay-8: 0.87s;
    --button-pulse-strong: 1.085;
    --button-pulse-soft: 1.045;
}

/* base */
.reveal-up,
.reveal-right,
.reveal-bg,
.reveal-grid,
.reveal-grid > *,
.reveal-stagger > * ,
.reveal-button {
    opacity: 0;
    will-change: transform, opacity;
    transition:
        opacity var(--reveal-duration) var(--reveal-ease),
        transform var(--reveal-duration) var(--reveal-ease);
}

/* fade in + up */
.reveal-up {
    transform: translateY(var(--reveal-distance));
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* fade in + move right-to-left */
.reveal-right {
    transform: translateX(var(--reveal-right-distance));
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* background only fade */
.reveal-bg {
    opacity: 0;
    transform: none;
    transition: opacity 1s var(--reveal-ease);
}

.reveal-bg.is-visible {
    opacity: 1;
}

/* grid wrapper */
.reveal-grid {
    opacity: 1;
    transform: none;
}

.reveal-grid > * {
    opacity: 0;
    transform: translateY(var(--reveal-grid-distance)) scale(var(--reveal-grid-scale));
}

.reveal-grid.is-visible > * {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* generic stagger group */
.reveal-stagger > * {
    opacity: 0;
    transform: translateX(var(--reveal-stagger-distance));
}

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateX(0);
}

/* stagger timings */
.reveal-grid.is-visible > *:nth-child(1),
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: var(--reveal-delay-1); }

.reveal-grid.is-visible > *:nth-child(2),
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: var(--reveal-delay-2); }

.reveal-grid.is-visible > *:nth-child(3),
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: var(--reveal-delay-3); }

.reveal-grid.is-visible > *:nth-child(4),
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: var(--reveal-delay-4); }

.reveal-grid.is-visible > *:nth-child(5),
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: var(--reveal-delay-5); }

.reveal-grid.is-visible > *:nth-child(6),
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: var(--reveal-delay-6); }

.reveal-grid.is-visible > *:nth-child(7),
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: var(--reveal-delay-7); }

.reveal-grid.is-visible > *:nth-child(8),
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: var(--reveal-delay-8); }

/* buttons */
.reveal-button {
    transform: translateY(var(--reveal-button-distance));
    transition:
        opacity var(--reveal-duration-fast) var(--reveal-ease),
        transform var(--reveal-duration-fast) var(--reveal-ease);
}

.reveal-button.is-visible {
    opacity: 1;
    transform: translateY(0);
    animation: dmButtonPulse 5.5s ease-in-out 1.2s infinite;
}

@keyframes dmButtonPulse {
    0%   { transform: translateY(0) scale(1); }
    84%  { transform: translateY(0) scale(1); }
    88%  { transform: translateY(0) scale(var(--button-pulse-strong)); }
    92%  { transform: translateY(0) scale(1); }
    96%  { transform: translateY(0) scale(var(--button-pulse-soft)); }
    100% { transform: translateY(0) scale(1); }
}

/* useful if you want overlays/background layers to animate */
.section-overlay.reveal-bg,
.section-has-bg.reveal-bg {
    transition: opacity 1s var(--reveal-ease);
}

/* when element leaves viewport, reverse back out */
.reveal-up:not(.is-visible),
.reveal-right:not(.is-visible),
.reveal-button:not(.is-visible) {
    opacity: 0;
}

.reveal-grid:not(.is-visible) > *,
.reveal-stagger:not(.is-visible) > * {
    opacity: 0;
}

.dm-motion-none .reveal-up,
.dm-motion-none .reveal-right,
.dm-motion-none .reveal-bg,
.dm-motion-none .reveal-grid > *,
.dm-motion-none .reveal-stagger > *,
.dm-motion-none .reveal-button,
.dm-motion-none .section .section-eyebrow.is-eyebrow-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
}

.dm-motion-none .section .section-eyebrow::before,
.dm-motion-none .section .section-eyebrow::after {
    transform: none !important;
    filter: none !important;
    animation: none !important;
}

.dm-motion-subtle .section .section-eyebrow.is-eyebrow-reveal,
.dm-motion-subtle .section .section-eyebrow::before,
.dm-motion-subtle .section .section-eyebrow::after {
    animation-duration: 0.3s;
}

.dm-motion-subtle .reveal-button.is-visible {
    animation: none;
}

.dm-motion-energetic .section .section-eyebrow.is-eyebrow-reveal,
.dm-motion-energetic .section .section-eyebrow::before,
.dm-motion-energetic .section .section-eyebrow::after {
    animation-duration: 0.42s;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-right,
    .reveal-bg,
    .reveal-grid > *,
    .reveal-stagger > *,
    .reveal-button {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .section .section-eyebrow.is-eyebrow-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
        animation: none !important;
    }

    .section .section-eyebrow::before,
    .section .section-eyebrow::after {
        transform: none !important;
        filter: none !important;
        animation: none !important;
    }
}


.areacover {
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
  padding: 25px 35px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}


.parallax-up,
.parallax-down {
    will-change: transform;
    transition: transform var(--parallax-response) linear;
}



.team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.team-header-content {
    display: grid;
    gap: 14px;
    max-width: 800px;
}

.team-header-content h6,
.team-header-content h2,
.team-intro {
    margin: 0;
}

.team-header-action {
    flex: 0 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.team-card {
    position: relative;
    min-height: 0;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

/* Card base */
.team-card-base {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    height: 100%;
    display: grid;
    align-content: start;
    gap: clamp(18px, 2vw, 24px);
    border: var(--card-border-width) solid var(--card-border-color);
    padding: var(--card-padding);
    color: var(--flip-card-text, inherit);
}

/* Theme-aware base card colours */
.section-theme-main .team-card-base {
    background: var(--flip-card-bg, rgba(255, 255, 255, 0.08));
}

.section-theme-alt .team-card-base {
    background: var(--flip-card-bg, rgba(255, 255, 255, 0.08));
}

.section-theme-footer .team-card-base {
    background: var(--flip-card-bg, rgba(255, 255, 255, 0.08));
}

.team-card-identity {
    display: grid;
    align-items: center;
    min-width: 0;
}

.team-card-identity.has-team-image {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
}

.team-card-heading {
    display: grid;
    gap: 5px;
    align-content: center;
    min-width: 0;
}

.team-card-icon {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-tl) var(--radius-tr) var(--radius-br) var(--radius-bl);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-theme-main .team-card-icon {
    background: rgba(0, 0, 0, 0.05);
}

.section-theme-alt .team-card-icon {
    background: rgba(0, 0, 0, 0.05);
}

.section-theme-footer .team-card-icon {
    background: rgba(255, 255, 255, 0.10);
}

.team-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card-base h4 {
    margin: 0;
}

.team-card-role {
    margin: 0;
}

.section-theme-main .team-card-role {
    color: var(--main-link);
}

.section-theme-alt .team-card-role {
    color: var(--alt-link);
}

.section-theme-footer .team-card-role {
    color: var(--footer-link);
}

.team-card-description > *:first-child {
    margin-top: 0;
}

.team-card-description > *:last-child {
    margin-bottom: 0;
}

/* Hover overlay */
.team-card-overlay-panel {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.team-card:hover .team-card-overlay-panel,
.team-card:focus-within .team-card-overlay-panel {
    opacity: 1;
    pointer-events: auto;
}

.section-theme-main .team-card-overlay-panel {
    background: var(--flip-card-back-bg, var(--main-highlight));
}

.section-theme-alt .team-card-overlay-panel {
    background: var(--flip-card-back-bg, var(--alt-highlight));
}

.section-theme-footer .team-card-overlay-panel {
    background: var(--flip-card-back-bg, var(--footer-highlight));
    backdrop-filter: blur(8px);
}

.team-card-overlay-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 320px;
    padding: 24px;
    display: grid;
    gap: 18px;
    justify-items: center;
    color: var(--flip-card-text, inherit);
}

.team-card-overlay-inner .button {
    width: auto;
    max-width: 100%;
}

.team-card-overlay-inner h5 {
    margin: 0;
}

.section-theme-main .team-card-overlay-inner h5,
.section-theme-alt .team-card-overlay-inner h5 {
    color: var(--team-card-overlay-heading, var(--footer-link));
}

.section-theme-footer .team-card-overlay-inner h5 {
    color: var(--team-card-overlay-heading, var(--main-heading-text));
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

.hero-align-centre .hero-buttons {
    justify-content: center;
}

.hero-section.hero-has-accreditations {
    padding-bottom: calc(var(--section-padding) + clamp(52px, 8vh, 92px));
}

.hero-accreditations-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(22px, calc(var(--section-padding) * 0.45), 72px);
    z-index: 2;
    pointer-events: none;
}

.hero-accreditations-wrap > .container-default,
.hero-accreditations-wrap > .container-short,
.hero-accreditations-wrap > .container-large {
    position: relative;
}

.hero-accreditations {
    pointer-events: auto;
}

.hero-accreditations .accreditation-logo-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(16px, 3vw, 42px);
    max-width: none;
    width: 100%;
    overflow: visible;
}

.hero-accreditations .accreditation-logo-item {
    flex: 0 1 auto;
    min-width: 0;
}

.hero-accreditations .accreditation-logo-item img {
    max-width: clamp(72px, 10vw, 150px);
    max-height: clamp(32px, 5vw, 54px);
}

.hero-align-centre .hero-accreditations .accreditation-logo-list {
    justify-content: center;
}


@media (max-width: 900px) {
    .hero-section {
        display: block !important;
    }

    .hero-section > .container-default,
    .hero-section > .container-short,
    .hero-section > .container-large {
        float: none;
        width: 85%;
    }

    .team-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-section.hero-has-accreditations {
        padding-bottom: var(--section-padding);
    }

    .hero-accreditations-wrap {
        position: static;
        display: block;
        clear: both;
        width: 100%;
        margin-top: 34px;
        pointer-events: auto;
    }

    .hero-accreditations .accreditation-logo-list {
        flex-wrap: wrap;
        gap: 18px;
    }

    .hero-align-centre .hero-accreditations .accreditation-logo-list {
        justify-content: center;
    }

    .hero-accreditations .accreditation-logo-item img {
        max-width: 120px;
        max-height: 40px;
    }
}

/* Hero copy width */
.hero-section > .container-default > h1,
.hero-section > .container-default > .hero-text,
.hero-section > .container-default > .section-eyebrow,
.hero-section > .container-default > .hero-buttons,
.hero-section > .container-default > .hero-accreditations,
.hero-section > .container-short > h1,
.hero-section > .container-short > .hero-text,
.hero-section > .container-short > .section-eyebrow,
.hero-section > .container-short > .hero-buttons,
.hero-section > .container-short > .hero-accreditations,
.hero-section > .container-large > h1,
.hero-section > .container-large > .hero-text,
.hero-section > .container-large > .section-eyebrow,
.hero-section > .container-large > .hero-buttons,
.hero-section > .container-large > .hero-accreditations {
    max-width: min(72%, 1080px);
}

.hero-align-centre > .container-default,
.hero-align-centre > .container-short,
.hero-align-centre > .container-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-align-centre > .container-default > h1,
.hero-align-centre > .container-default > .hero-text,
.hero-align-centre > .container-default > .section-eyebrow,
.hero-align-centre > .container-default > .hero-buttons,
.hero-align-centre > .container-default > .hero-accreditations,
.hero-align-centre > .container-short > h1,
.hero-align-centre > .container-short > .hero-text,
.hero-align-centre > .container-short > .section-eyebrow,
.hero-align-centre > .container-short > .hero-buttons,
.hero-align-centre > .container-short > .hero-accreditations,
.hero-align-centre > .container-large > h1,
.hero-align-centre > .container-large > .hero-text,
.hero-align-centre > .container-large > .section-eyebrow,
.hero-align-centre > .container-large > .hero-buttons,
.hero-align-centre > .container-large > .hero-accreditations {
    margin-left: auto;
    margin-right: auto;
}

.single-service-page .service-hero-content {
    max-width: min(72%, 980px);
}

@media (max-width: 900px) {
    .hero-section > .container-default > h1,
    .hero-section > .container-default > .hero-text,
    .hero-section > .container-default > .section-eyebrow,
    .hero-section > .container-default > .hero-buttons,
    .hero-section > .container-default > .hero-accreditations,
    .hero-section > .container-short > h1,
    .hero-section > .container-short > .hero-text,
    .hero-section > .container-short > .section-eyebrow,
    .hero-section > .container-short > .hero-buttons,
    .hero-section > .container-short > .hero-accreditations,
    .hero-section > .container-large > h1,
    .hero-section > .container-large > .hero-text,
    .hero-section > .container-large > .section-eyebrow,
    .hero-section > .container-large > .hero-buttons,
    .hero-section > .container-large > .hero-accreditations {
        max-width: 100%;
    }

    .hero-section > .container-default > h1,
    .hero-section > .container-short > h1,
    .hero-section > .container-large > h1 {
        overflow-wrap: anywhere;
        font-size: clamp(42px, 13vw, var(--h1-size));
    }

    .single-service-page .service-hero-content {
        max-width: 100%;
    }
}

@media (max-width: 599px) {
    h1,
    .hero-section > .container-default > h1,
    .hero-section > .container-short > h1,
    .hero-section > .container-large > h1 {
        font-size: var(--h1-mobile-size);
    }

    h2 {
        font-size: var(--h2-mobile-size);
    }

}

@media (max-width: 450px) {
    h1,
    .hero-section > .container-default > h1,
    .hero-section > .container-short > h1,
    .hero-section > .container-large > h1 {
        font-size: var(--h1-compact-mobile-size);
    }

    h2 {
        font-size: var(--h2-compact-mobile-size);
    }

    h3 {
        font-size: var(--h3-compact-mobile-size);
    }

    .service-card-content h3,
    .sector-card-content h3,
    .service-more-card-content h3 {
        font-size: 20px !important;
    }
}

/* Button style presets leave radius, padding and typography to their global controls. */
.dm-button-style-editorial main .button:not(.button-secondary) {
    background-color: transparent;
    background-image: linear-gradient(var(--main-button-bg), var(--main-button-bg));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 100% 0;
    border: 1px solid var(--main-button-bg);
    color: var(--main-button-bg);
    box-shadow: none;
}

.dm-button-style-editorial main .button:not(.button-secondary):hover {
    background-color: transparent;
    background-size: 100% 100%;
    border-color: var(--main-button-bg);
    color: var(--main-button-text);
    box-shadow: none;
}

.dm-button-style-editorial main .section-theme-alt .button:not(.button-secondary) {
    background-color: transparent;
    background-image: linear-gradient(var(--alt-button-bg), var(--alt-button-bg));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 100% 0;
    border: 1px solid var(--alt-button-bg);
    color: var(--alt-button-bg);
    box-shadow: none;
}

.dm-button-style-editorial main .section-theme-alt .button:not(.button-secondary):hover {
    background-color: transparent;
    background-size: 100% 100%;
    border-color: var(--alt-button-bg);
    color: var(--alt-button-text);
    box-shadow: none;
}

.dm-button-style-editorial main .section-theme-footer .button:not(.button-secondary),
.dm-button-style-editorial footer .button:not(.button-secondary) {
    background-color: transparent;
    background-image: linear-gradient(var(--footer-button-bg), var(--footer-button-bg));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 100% 0;
    border: 1px solid var(--footer-button-bg);
    color: var(--footer-button-bg);
    box-shadow: none;
}

.dm-button-style-editorial main .section-theme-footer .button:not(.button-secondary):hover,
.dm-button-style-editorial footer .button:not(.button-secondary):hover {
    background-color: transparent;
    background-size: 100% 100%;
    border-color: var(--footer-button-bg);
    color: var(--footer-button-text);
    box-shadow: none;
}

.dm-button-style-friendly main .button:not(.button-secondary),
.dm-button-style-friendly footer .button:not(.button-secondary) {
    background: color-mix(in srgb, var(--main-highlight) 22%, var(--main-bg-solid));
    border-color: color-mix(in srgb, var(--main-highlight) 55%, var(--main-bg-solid));
    color: var(--main-heading-text);
}

.dm-button-style-friendly main .button:not(.button-secondary):hover {
    background: color-mix(in srgb, var(--main-highlight) 32%, var(--main-bg-solid));
    border-color: color-mix(in srgb, var(--main-highlight) 72%, var(--main-bg-solid));
    color: var(--main-heading-text);
}

.dm-button-style-friendly main .section-theme-alt .button:not(.button-secondary) {
    background: color-mix(in srgb, var(--alt-highlight) 22%, var(--alt-bg-solid));
    border-color: color-mix(in srgb, var(--alt-highlight) 55%, var(--alt-bg-solid));
    color: var(--alt-heading-text);
}

.dm-button-style-friendly main .section-theme-alt .button:not(.button-secondary):hover {
    background: color-mix(in srgb, var(--alt-highlight) 32%, var(--alt-bg-solid));
    border-color: color-mix(in srgb, var(--alt-highlight) 72%, var(--alt-bg-solid));
    color: var(--alt-heading-text);
}

.dm-button-style-friendly main .section-theme-footer .button:not(.button-secondary),
.dm-button-style-friendly footer .button:not(.button-secondary) {
    background: color-mix(in srgb, var(--footer-highlight) 22%, var(--footer-bg-solid));
    border-color: color-mix(in srgb, var(--footer-highlight) 55%, var(--footer-bg-solid));
    color: var(--footer-heading-text);
}

.dm-button-style-friendly main .section-theme-footer .button:not(.button-secondary):hover,
.dm-button-style-friendly footer .button:not(.button-secondary):hover {
    background: color-mix(in srgb, var(--footer-highlight) 32%, var(--footer-bg-solid));
    border-color: color-mix(in srgb, var(--footer-highlight) 72%, var(--footer-bg-solid));
    color: var(--footer-heading-text);
}

.dm-button-style-bold main .button,
.dm-button-style-bold footer .button {
    min-width: 180px;
    justify-content: space-between;
}

.dm-button-style-bold main .button:not(.button-secondary) {
    --bold-button-bg: var(--main-button-bg);
    --bold-button-hover: var(--main-button-hover);
}

.dm-button-style-bold main .section-theme-alt .button:not(.button-secondary) {
    --bold-button-bg: var(--alt-button-bg);
    --bold-button-hover: var(--alt-button-hover);
}

.dm-button-style-bold main .section-theme-footer .button:not(.button-secondary),
.dm-button-style-bold footer .button:not(.button-secondary) {
    --bold-button-bg: var(--footer-button-bg);
    --bold-button-hover: var(--footer-button-hover);
}

.dm-button-style-bold main .button:not(.button-secondary),
.dm-button-style-bold footer .button:not(.button-secondary) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: transparent;
}

.dm-button-style-bold main .button:not(.button-secondary)::before,
.dm-button-style-bold footer .button:not(.button-secondary)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        105deg,
        var(--bold-button-bg) 0%,
        var(--bold-button-bg) 38%,
        var(--bold-button-hover) 62%,
        var(--bold-button-hover) 100%
    );
    background-position: left center;
    background-size: 220% 100%;
    pointer-events: none;
    transition: background-position 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.dm-button-style-bold main .button:not(.button-secondary):hover::before,
.dm-button-style-bold main .button:not(.button-secondary):focus-visible::before,
.dm-button-style-bold footer .button:not(.button-secondary):hover::before,
.dm-button-style-bold footer .button:not(.button-secondary):focus-visible::before {
    background-position: right center;
}

.dm-button-style-bold main .button:not(.button-secondary) > *,
.dm-button-style-bold footer .button:not(.button-secondary) > * {
    position: relative;
    z-index: 1;
}

/* Secondary actions share the editorial outline-to-fill interaction, except in Minimal. */
body:not(.dm-button-style-minimal) main .button-secondary {
    --secondary-button-fill: var(--main-link);
    --secondary-button-filled-text: var(--main-button-text);
}

body:not(.dm-button-style-minimal) main .section-theme-alt .button-secondary {
    --secondary-button-fill: var(--alt-link);
    --secondary-button-filled-text: var(--alt-button-text);
}

body:not(.dm-button-style-minimal) main .section-theme-footer .button-secondary,
body:not(.dm-button-style-minimal) footer .button-secondary {
    --secondary-button-fill: var(--footer-link);
    --secondary-button-filled-text: var(--footer-button-text);
}

body:not(.dm-button-style-minimal) main .button-secondary,
body:not(.dm-button-style-minimal) footer .button-secondary {
    background-color: transparent;
    background-image: linear-gradient(var(--secondary-button-fill), var(--secondary-button-fill));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 100% 0;
    border: 1px solid var(--secondary-button-fill);
    color: var(--secondary-button-fill);
}

body:not(.dm-button-style-minimal) main .button-secondary:hover,
body:not(.dm-button-style-minimal) footer .button-secondary:hover {
    background-color: transparent;
    background-image: linear-gradient(var(--secondary-button-fill), var(--secondary-button-fill));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-color: var(--secondary-button-fill);
    color: var(--secondary-button-filled-text);
}

.dm-button-style-minimal main .button,
.dm-button-style-minimal footer .button {
    width: fit-content;
    padding: 0.15em 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.dm-button-style-minimal main .button > span,
.dm-button-style-minimal footer .button > span {
    position: relative;
    display: inline-block;
}

.dm-button-style-minimal main .button > span::after,
.dm-button-style-minimal footer .button > span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.15em;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.24s ease;
}

.dm-button-style-minimal main .button:hover > span::after,
.dm-button-style-minimal main .button:focus-visible > span::after,
.dm-button-style-minimal footer .button:hover > span::after,
.dm-button-style-minimal footer .button:focus-visible > span::after {
    transform: scaleX(1);
}

.dm-button-style-minimal main .button {
    color: var(--main-link);
}

.dm-button-style-minimal main .button:hover {
    background: transparent;
    border-color: transparent;
    color: var(--main-link-hover);
    box-shadow: none;
}

.dm-button-style-minimal main .section-theme-alt .button {
    color: var(--alt-link);
}

.dm-button-style-minimal main .section-theme-alt .button:hover {
    color: var(--alt-link-hover);
}

.dm-button-style-minimal main .section-theme-footer .button,
.dm-button-style-minimal footer .button {
    color: var(--footer-link);
}

.dm-button-style-minimal main .section-theme-footer .button:hover,
.dm-button-style-minimal footer .button:hover {
    background: transparent;
    border-color: transparent;
    color: var(--footer-link-hover);
    box-shadow: none;
}
.single-service-page .service-sidebar-card {
    background: var(--service-feature-card-background, var(--footer-bg));
    color: var(--service-feature-card-text, var(--footer-paragraph-text));
}

.single-service-page .service-sidebar-card h3 {
    color: var(--service-feature-card-text, var(--footer-heading-text));
}

.single-service-page .service-sidebar-card p,
.single-service-page .service-sidebar-card li {
    color: var(--service-feature-card-text, var(--footer-paragraph-text));
}

.section.dm-align-centre .section-heading,
.section.dm-align-centre .section-intro,
.section.dm-align-centre .section-eyebrow { margin-right: auto; margin-left: auto; text-align: center; }

/* Brand alignment applies to the section introduction, not its timeline/value items. */
.brand-story-section.dm-align-centre .brand-story-header,
.brand-values-section.dm-align-centre .brand-values-header {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.brand-story-section.dm-align-centre .brand-story-card-eyebrow,
.brand-values-section.dm-align-centre .brand-values-card-eyebrow {
    align-self: auto;
    justify-self: start;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

/* =========================
   CARD BACKGROUND MEDIA
   ========================= */

.dm-card-media {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    background-color: color-mix(in srgb, currentColor 7%, transparent);
    background-position: center;
    background-size: cover;
    pointer-events: none;
}

.project-marquee-item.has-dm-card-media,
.project-more-card.has-dm-card-media,
.service-card.has-dm-card-media,
.service-more-card.has-dm-card-media,
.service-gallery-card.has-dm-card-media,
.sector-card.has-dm-card-media {
    background-image: none !important;
}

.project-marquee-link,
.project-more-card-link,
.service-card-link,
.service-more-card-link,
.service-gallery-link,
.sector-card-link {
    z-index: 1;
}

.dm-motion-none .header-reveal-button,
body.dm-motion-none .dm-mobile-contact-dock {
    transition: none !important;
    animation: none !important;
}

.dm-motion-none .project-marquee-track,
.dm-motion-none .client-logo-track {
    animation-play-state: paused !important;
}

/* =========================
   MOBILE CONTACT DOCK
   ========================= */

.dm-mobile-contact-dock {
    display: none;
}

@media (max-width: 900px) {
    .dm-mobile-contact-dock-enabled .dm-mobile-contact-dock {
        position: fixed;
        z-index: 880;
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        left: max(14px, env(safe-area-inset-left));
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        width: min(520px, calc(100% - 28px));
        margin-right: auto;
        margin-left: auto;
        overflow: hidden;
        border: 1px solid color-mix(in srgb, var(--header-link) 20%, transparent);
        border-radius: 999px;
        padding: 5px;
        visibility: hidden;
        background: var(--header-bg);
        color: var(--header-link);
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
        opacity: 0;
        transform: translateY(calc(100% + 28px));
        transition:
            opacity 0.24s ease,
            transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.3s;
    }

    .dm-mobile-contact-dock-enabled .dm-mobile-contact-dock.is-visible {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .dm-mobile-contact-dock > a {
        position: relative;
        display: flex;
        gap: 6px;
        min-width: 0;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        padding: 7px 6px;
        color: var(--header-link);
        font-size: 0.64rem;
        font-weight: 600;
        line-height: 1;
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .dm-mobile-contact-dock > a + a::before {
        content: "";
        position: absolute;
        top: 20%;
        bottom: 20%;
        left: -1px;
        width: 1px;
        background: color-mix(in srgb, var(--header-link) 15%, transparent);
    }

    .dm-mobile-contact-dock > a:is(:hover, :focus-visible) {
        background: color-mix(in srgb, var(--header-highlight) 15%, transparent);
        color: var(--header-link-hover);
    }

    .dm-mobile-contact-dock > a > i {
        flex: 0 0 auto;
        margin: 0;
        color: var(--header-highlight);
        font-size: 0.8rem;
    }

    .dm-mobile-contact-dock > a > span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.mobile-menu-open .dm-mobile-contact-dock {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none;
    }
}

@media (max-width: 380px) {
    .dm-mobile-contact-dock > a {
        gap: 4px;
        padding-right: 3px;
        padding-left: 3px;
        font-size: 0.56rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu-overlay,
    .dm-mobile-contact-dock {
        transition: none !important;
    }
}

@media (max-width: 450px) {
    main :is(
        .hero-buttons,
        .about-button-wrap,
        .service-button-wrap,
        .page-hero-button-wrap,
        .stakes-header-action,
        .cta-button-wrap,
        .service-cta-action,
        .project-cta-action,
        .sector-cta-action,
        .team-header-action,
        .team-card-overlay-inner,
        .stakes-card-back-content
    ) {
        width: 100%;
        box-sizing: border-box;
    }

    main .button,
    footer .button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center;
    }

    main .button > span,
    footer .button > span {
        justify-content: center;
    }
}
