@property --header-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --color-primary: #0f70b7;
  --color-primary-rgb: 15, 112, 183;
  --color-secondary: #4a9fd4;
  --color-secondary-rgb: 74, 159, 212;
  --color-tertiary: #0b5a93;
  --color-tertiary-rgb: 11, 90, 147;
  --color-text: #1a2d3d;
  --color-muted: #5c7082;
  --color-white: #ffffff;
  --color-accent: #117a8b;
  --color-menu-hover: #e8f2fa;
  --container: 1140px;
  --container-wide: 1400px;
  --container-narrow: 820px;
  --header-height: 135px;
  --header-height-sticky: 70px;
  --header-shrink: 65px;
  --header-logo-shrink: 18px;
  --header-menu-padding-shrink: 1.6rem;
  --header-scroll-range: 140;
  --header-progress: 0;
  --shadow-card: 0 0 20px rgba(0, 0, 0, 0.1);
  --font: "Raleway", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, var(--container-narrow));
}

.container--quote {
  width: min(100% - 2rem, 700px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: calc(var(--header-height) - var(--header-progress) * var(--header-shrink));
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.site-header:has(.site-nav.is-open) {
  overflow: visible;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(var(--color-tertiary-rgb), calc(var(--header-progress) * 0.92));
  box-shadow: 0 4px 24px rgba(0, 0, 0, calc(var(--header-progress) * 0.18));
  pointer-events: none;
}

.has-hero-header .site-header {
  background: transparent;
}

body:not(.has-hero-header) .site-header {
  background: var(--color-primary);
}

.site-header-spacer {
  display: block;
  height: calc(var(--header-height) - var(--header-progress) * var(--header-shrink));
  pointer-events: none;
}

.has-hero-header .site-header-spacer {
  height: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.site-header__logo {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
}

.site-logo .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.site-logo img,
.custom-logo-link img {
  display: block;
  width: auto;
  max-width: min(100%, 280px);
  max-height: calc(64px - var(--header-progress) * var(--header-logo-shrink));
  height: auto;
  object-fit: contain;
}

.site-logo--footer img,
.site-logo--footer .custom-logo-link img {
  max-width: min(100%, 220px);
  max-height: 52px;
  margin-inline: auto;
}

.site-logo--text {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 600;
}

.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu a {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  padding: calc(2.5rem - var(--header-progress) * var(--header-menu-padding-shrink)) 0.35rem;
  display: inline-block;
}

.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  opacity: 1;
}

.site-nav__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.05rem;
  line-height: 1;
  padding: 0.35rem;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.site-nav__linkedin:hover {
  color: var(--color-secondary);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle__bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--color-white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  background-color: var(--color-primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  opacity: 0.94;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: calc(var(--header-height) + 2rem);
}

.hero__title {
  margin: 0 0 2rem;
  color: var(--color-white);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
}

.hero__lead {
  margin: 0 auto 2rem;
  max-width: 40rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.hero--page {
  min-height: 420px;
  background-color: var(--color-primary);
}

.hero--page .hero__content {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.hero--page .hero__bg {
  position: absolute;
  inset: 0;
  background-position: center 35%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.03);
}

.hero--page .hero__watermark {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.1;
  pointer-events: none;
}

.hero--page .hero__glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--color-primary-rgb), 0.05) 0%,
    rgba(var(--color-primary-rgb), 0.18) 50%,
    rgba(var(--color-primary-rgb), 0.42) 100%
  );
  backdrop-filter: blur(2px) saturate(130%);
  -webkit-backdrop-filter: blur(2px) saturate(130%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero--page .hero__panel {
  display: inline-block;
  padding: 1.75rem 2.75rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
}

.hero--page .hero__title {
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.section--page--after-hero {
  padding-top: 60px;
}

/* Homepage */
.hero--home {
  display: grid;
  place-items: center;
  align-items: stretch;
  min-height: 100vh;
  min-height: 100svh;
  text-align: left;
  background-color: var(--color-primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero--home .hero__watermark--home {
  position: absolute;
  inset: 0;
  background-position: 78% 42%;
  background-repeat: no-repeat;
  background-size: min(38vw, 480px) auto;
  opacity: 0.06;
  pointer-events: none;
}

.hero__overlay--home {
  opacity: 1;
  background: linear-gradient(
    102deg,
    rgba(var(--color-tertiary-rgb), 0.96) 0%,
    rgba(var(--color-primary-rgb), 0.9) 38%,
    rgba(var(--color-primary-rgb), 0.55) 62%,
    rgba(var(--color-primary-rgb), 0.2) 100%
  );
}

.hero__content--home {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  width: min(100% - 2rem, 38rem);
  margin-inline: max(1rem, calc((100% - var(--container)) / 2 + 1rem)) auto;
  min-height: inherit;
  padding: calc(var(--header-height) + 2.75rem) 0 clamp(3.5rem, 6vw, 4.5rem);
  text-align: left;
}

.hero--home .hero__title {
  margin: 0 0 1.35rem;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.18;
  text-align: left;
}

.hero__title-accent {
  display: block;
  margin-top: 0.45rem;
  font-weight: 300;
  font-size: 0.92em;
  color: rgba(255, 255, 255, 0.92);
}

.hero--home .hero__lead {
  max-width: 34rem;
  margin: 0 0 2rem;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  font-weight: 300;
  line-height: 1.7;
  text-align: left;
  color: rgba(255, 255, 255, 0.92);
}

.hero--home .hero__actions {
  justify-content: flex-start;
}

.hero__note {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.hero__eyebrow,
.home-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.hero__eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.home-eyebrow--light {
  color: rgba(255, 255, 255, 0.65);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Metrics panel — used on inner pages */
.metric-panel {
  display: grid;
  gap: 0;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  position: relative;
  overflow: hidden;
}

.metric-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-secondary) 100%
  );
}

.metric-panel--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-panel--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-panel--elevated {
  box-shadow: 0 16px 40px rgba(var(--color-primary-rgb), 0.12);
}

.metric-panel__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 5.5rem;
  padding: 1.15rem 1.35rem;
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.08);
  border-left: 1px solid rgba(var(--color-primary-rgb), 0.08);
}

.metric-panel--cols-2 .metric-panel__item:nth-child(-n + 2) {
  border-top: none;
}

.metric-panel--cols-2 .metric-panel__item:nth-child(odd) {
  border-left: none;
}

.metric-panel--cols-4 .metric-panel__item {
  align-items: center;
  text-align: center;
  border-top: none;
}

.metric-panel--cols-4 .metric-panel__item:first-child {
  border-left: none;
}

.metric-panel__value {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.metric-panel__label {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.services-intro__aside,
.about-intro__aside,
.team-intro__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap 0.2s ease, color 0.2s ease;
}

.home-link-arrow:hover {
  gap: 0.7rem;
  color: var(--color-tertiary);
}

.home-section-header {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.home-section-header--center {
  margin-inline: auto;
  text-align: center;
}

.home-section-header--center {
  margin-bottom: 3rem;
}

/* Homepage vertical rhythm */
.is-front-page .section {
  padding: clamp(4rem, 7vw, 5.5rem) 0;
}

.is-front-page .home-about {
  padding-top: clamp(3.5rem, 6vw, 4.5rem);
}

.is-front-page .home-services,
.is-front-page .home-trust {
  padding-top: clamp(4rem, 7vw, 5.5rem);
  padding-bottom: clamp(4rem, 7vw, 5.5rem);
}

.is-front-page .home-process {
  padding-top: clamp(4rem, 7vw, 5.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 6rem);
}

.home-section-header__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

.home-section-header__lead {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-muted);
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.home-about__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 3.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

.home-about__text {
  text-align: left;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text);
}

.home-about__text p {
  margin: 0 0 1rem;
}

.home-about__text p:last-child {
  margin-bottom: 0;
}

.home-about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.home-about__tags li {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.06);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
}

.home-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.home-about__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-about__figure {
  margin: 0;
}

.home-about__photo {
  min-height: 320px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
}

.home-about__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-about__fact {
  padding: 1.1rem 1.15rem;
  background: rgba(var(--color-primary-rgb), 0.04);
  border-left: 3px solid var(--color-secondary);
}

.home-about__fact-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}

.home-about__fact-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.home-services__head .home-section-header {
  margin-bottom: 0;
}

.home-services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.home-services__all {
  margin: 0;
  flex-shrink: 0;
}

.home-services__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  background: var(--color-white);
}

.home-svc {
  margin: 0;
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.08);
}

.home-svc:nth-child(odd) {
  border-right: 1px solid rgba(var(--color-primary-rgb), 0.08);
}

.home-svc:nth-last-child(-n + 2) {
  border-bottom: none;
}

.home-svc__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.15rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  color: inherit;
  transition: background 0.2s ease;
}

.home-svc__link:hover {
  background: rgba(var(--color-primary-rgb), 0.04);
}

.home-svc__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(var(--color-secondary-rgb), 0.14);
  color: var(--color-primary);
  font-size: 1rem;
}

.home-svc__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
}

.home-svc__summary {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-muted);
}

.home-svc__arrow {
  color: var(--color-secondary);
  font-size: 0.9rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.home-svc__link:hover .home-svc__arrow {
  transform: translateX(4px);
  color: var(--color-primary);
}

.home-sectors {
  color: var(--color-white);
}

.home-sectors__inner {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  background: linear-gradient(
    135deg,
    var(--color-tertiary) 0%,
    var(--color-primary) 55%,
    #0a4d7a 100%
  );
}

.home-sectors__header {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.home-sectors__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
}

.home-sectors__lead {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.home-sectors__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-sector {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-sector:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.home-sector__icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 1rem;
}

.home-sector__title {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.home-sector__text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.home-process__timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0.5rem 0 0;
  list-style: none;
  position: relative;
}

.home-process__timeline::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(var(--color-secondary-rgb), 0.2) 0%,
    var(--color-secondary) 50%,
    rgba(var(--color-secondary-rgb), 0.2) 100%
  );
}

.home-process__step {
  position: relative;
  padding: 0 1rem;
  text-align: center;
}

.home-process__marker {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1.25rem;
  background: var(--color-white);
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
}

.home-process__number {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.home-process__title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.home-process__text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-muted);
}

.home-trust__header {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.home-trust__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-primary);
}

.home-trust__lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-muted);
}

.home-trust__logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-trust__logo {
  display: grid;
  place-items: center;
  min-height: 5.5rem;
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.08);
}

.home-trust__logo img {
  max-width: 100%;
  max-height: 3rem;
  width: auto;
  object-fit: contain;
}

.home-trust__fallback {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-muted);
}

.home-trust__more {
  margin: 2.5rem 0 0;
  text-align: center;
}

.is-front-page .section--team-banner {
  margin-top: 0;
  padding-top: clamp(4rem, 7vw, 5.5rem);
  padding-bottom: clamp(4rem, 7vw, 5.5rem);
}

.is-front-page .section--cta {
  background: var(--color-primary);
  padding-top: clamp(3.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 4.5rem);
}

.is-front-page .section--cta .cta-title {
  color: var(--color-white);
}

.is-front-page .section--cta__grid {
  min-height: 160px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  border: 0;
  border-radius: 0;
  transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn--hero {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn--cta {
  background: var(--color-tertiary);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--outline:hover,
.btn--hero:hover,
.btn--cta:hover,
.btn--brochure:hover {
  opacity: 0.9;
}

.btn--brochure {
  background: var(--color-accent);
  color: var(--color-white);
  margin-top: 1rem;
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(var(--color-primary-rgb), 0.22);
}

.btn--ghost:hover {
  background: rgba(var(--color-primary-rgb), 0.05);
  opacity: 1;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section--page {
  padding-top: calc(var(--header-height) + 40px);
}

.section--page--legal {
  padding-top: calc(var(--header-height) + 1.25rem);
  padding-bottom: 2.5rem;
}

.is-legal-page .site-header-spacer {
  height: 0;
}

.is-legal-page .page-body--legal {
  opacity: 1;
  transform: none;
}

.section-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-primary);
}

.page-subtitle {
  margin: -0.5rem 0 1.5rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-primary);
}

.section-text,
.page-body {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text);
}

.section-text p,
.page-body p {
  margin-top: 0;
}

.page-body--legal h2 {
  margin: 2rem 0 0.75rem;
  scroll-margin-top: calc(var(--header-height-sticky) + 1.5rem);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--color-primary);
}

.page-body--legal .cst-legal-document > h2:first-child {
  margin-top: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-align: left;
}

.page-body--legal h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
}

.page-body--legal h4 {
  margin: 1.15rem 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-text);
}

.page-body--legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.page-body--legal li + li {
  margin-top: 0.35rem;
}

.page-body--legal a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-body--legal a:hover {
  color: var(--color-secondary);
}

.section-link {
  text-align: center;
  margin-top: 1.5rem;
}

.section-link a {
  color: var(--color-primary);
  font-weight: 600;
}

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

.section--about-preview .section-text {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

/* Services */
.services-grid {
  display: grid;
  gap: 15px;
}

.services-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1200px;
  margin-inline: auto;
}

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

.service-card {
  margin: 0;
}

.service-card__link--compact,
.service-card__inner {
  display: block;
  background: var(--color-white);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-card);
  min-height: 100px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card__link--compact {
  padding: 1.5rem;
}

.service-card__inner {
  overflow: hidden;
}

.service-card__link--compact:hover,
.service-card__inner:hover {
  transform: translateY(-2px);
}

.service-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--color-primary);
}

.service-card__body {
  padding: 1.25rem;
}

.service-card__excerpt {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
}

/* Services page */
.section--alt {
  background: #edf4fa;
}

.hero__subtitle {
  margin: 0.75rem 0 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.services-page .section-title {
  margin-bottom: 1rem;
}

.services-intro__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.services-intro__eyebrow--light {
  color: rgba(255, 255, 255, 0.65);
}

.services-intro__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.services-intro__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary);
}

.services-intro__text {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text);
}

.services-intro__text p:last-child {
  margin-bottom: 0;
}

.services-intro__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.services-page .metric-panel {
  margin-top: 0.25rem;
}

.services-catalog__head {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.services-catalog__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

.services-catalog__lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-muted);
}

.services-catalog__list {
  display: grid;
  gap: 1.25rem;
}

.services-row {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 0;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  scroll-margin-top: calc(var(--header-height-sticky) + 1.5rem);
}

.services-row__media {
  display: block;
  min-height: 220px;
  overflow: hidden;
}

.services-row__image,
.services-row__placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.services-row__placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(var(--color-primary-rgb), 0.9),
    rgba(var(--color-secondary-rgb), 0.8)
  );
  color: rgba(255, 255, 255, 0.35);
  font-size: 2.5rem;
}

.services-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.75rem;
}

.services-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.services-row__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(var(--color-secondary-rgb), 0.14);
  color: var(--color-primary);
  font-size: 1rem;
}

.services-row__index {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.services-row__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
}

.services-row__title a {
  color: var(--color-primary);
}

.services-row__summary {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-muted);
}

.services-row__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 0;
}

.services-row__brochure {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
}

.services-row__brochure:hover {
  color: var(--color-primary);
}

.services-showcase__header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.services-showcase__title {
  margin-bottom: 1rem;
}

.services-showcase__lead {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-muted);
}

.services-showcase__list {
  display: grid;
  gap: 2rem;
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: var(--shadow-card);
  scroll-margin-top: calc(var(--header-height-sticky) + 4.5rem);
}

.service-showcase--reverse .service-showcase__media {
  order: 2;
}

.service-showcase__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.service-showcase__image,
.service-showcase__placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.service-showcase__placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.92), rgba(var(--color-secondary-rgb), 0.85));
  color: rgba(255, 255, 255, 0.35);
  font-size: 4rem;
}

.service-showcase__index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: rgba(var(--color-primary-rgb), 0.88);
}

.service-showcase__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.service-showcase__icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
  background: rgba(var(--color-secondary-rgb), 0.12);
  font-size: 1.15rem;
}

.service-showcase__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--color-primary);
}

.service-showcase__content {
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text);
}

.service-showcase__content p:first-child {
  margin-top: 0;
}

.service-showcase__content p:last-child {
  margin-bottom: 0;
}

.service-showcase__brochure {
  margin-top: 1.25rem;
  text-transform: none;
}

.services-sectors {
  color: var(--color-white);
}

.services-sectors__inner {
  padding: clamp(4rem, 7vw, 5.5rem) 0;
  background: linear-gradient(
    135deg,
    var(--color-tertiary) 0%,
    var(--color-primary) 55%,
    #0a4d7a 100%
  );
}

.services-sectors__header {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.services-sectors__title {
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
}

.services-sectors__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.services-sector {
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.services-sector__icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 1rem;
}

.services-sector__title {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.services-sector__text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.services-process__header {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.services-process__heading {
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

.services-process__timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0.5rem 0 0;
  list-style: none;
  position: relative;
}

.services-process__timeline::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(var(--color-secondary-rgb), 0.2) 0%,
    var(--color-secondary) 50%,
    rgba(var(--color-secondary-rgb), 0.2) 100%
  );
}

.services-process__step {
  position: relative;
  padding: 0 1rem;
  text-align: center;
}

.services-process__marker {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1.25rem;
  background: var(--color-white);
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
}

.services-process__number {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.services-process__title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.services-process__text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-muted);
}

.page-content--services .section {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.page-content--services .services-intro {
  padding-top: clamp(3.5rem, 6vw, 4.5rem);
}

.is-services-page .section--cta {
  margin-top: 0;
}

.is-service-single .section--page--after-hero {
  padding-top: 0;
}

/* Service detail */
.service-single__body {
  padding-top: 2.75rem;
  padding-bottom: 3rem;
}

.service-single__toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, #f4f9fd 0%, #ffffff 100%);
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-card);
}

.service-single__toolbar-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.2rem;
}

.service-single__toolbar-label {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
}

.service-single__toolbar-text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-muted);
}

.service-single__toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.service-single__content {
  padding: 2rem 2.25rem;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.service-single__content h2 {
  margin: 2rem 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--color-primary);
}

.service-single__content h2:first-child {
  margin-top: 0;
}

.service-single__content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.service-single__content li {
  margin-bottom: 0.5rem;
}

.service-single__actions {
  margin: 2rem 0 0;
}

.service-single-related {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.service-single-related__header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.service-single-related__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--color-primary);
}

.service-single-related__lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-muted);
}

.service-single-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-single-related__footer {
  margin: 2.25rem 0 0;
  text-align: center;
}

.service-single-related__footer .btn--outline {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.service-single-related__footer .btn--outline:hover {
  background: var(--color-tertiary);
  border-color: var(--color-tertiary);
  opacity: 1;
}

.service-single__toolbar-actions .btn--outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.service-single__toolbar-actions .btn--outline:hover {
  background: rgba(var(--color-primary-rgb), 0.06);
  opacity: 1;
}

.service-related-card {
  margin: 0;
  height: 100%;
}

.service-related-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-related-card__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.service-related-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.12), rgba(var(--color-secondary-rgb), 0.18));
}

.service-related-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-related-card__link:hover .service-related-card__image {
  transform: scale(1.04);
}

.service-related-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  color: var(--color-primary);
  opacity: 0.55;
}

.service-related-card__icon {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.service-related-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem 1.25rem 1.35rem;
}

.service-related-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-primary);
}

.service-related-card__summary {
  flex: 1;
  margin: 0.55rem 0 0.85rem;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-muted);
}

.service-related-card__more {
  margin-top: auto;
  font-size: 0.85rem;
}

.breadcrumb {
  margin-bottom: 1.5rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.55;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.72);
}

.service-single__body .breadcrumb a,
.project-single__body .breadcrumb a {
  color: var(--color-primary);
}

.service-single__body .breadcrumb a:hover,
.project-single__body .breadcrumb a:hover {
  color: var(--color-accent);
}

.service-single__body .breadcrumb span,
.project-single__body .breadcrumb span {
  color: var(--color-muted);
}

.service-single__body .breadcrumb__item:not(:last-child)::after,
.project-single__body .breadcrumb__item:not(:last-child)::after {
  color: var(--color-muted);
  opacity: 0.65;
}

.service-showcase__media {
  display: block;
  position: relative;
  min-height: 280px;
  overflow: hidden;
  color: inherit;
}

.service-showcase__title a {
  color: inherit;
}

.service-showcase__title a:hover {
  color: var(--color-secondary);
}

.service-showcase__summary {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text);
}

.service-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.service-showcase__more,
.service-showcase__brochure {
  text-transform: none;
}

.service-card__summary {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-muted);
}

.service-card__title a {
  color: inherit;
}

.service-card__title a:hover {
  color: var(--color-secondary);
}

.service-card__more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
}

.service-card__more:hover {
  color: var(--color-primary);
}

.service-card__image {
  display: block;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  transition: transform 0.35s ease;
}

.service-card__image:hover img {
  transform: scale(1.03);
}

/* Team banner */
.section--team-banner {
  position: relative;
  min-height: 380px;
  margin-top: 80px;
  display: grid;
  place-items: center;
  background-color: var(--color-primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.section--team-banner__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  opacity: 0.72;
}

.section--team-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.quote-icon {
  color: var(--color-secondary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.quote-text {
  margin: 0 0 2rem;
  color: var(--color-white);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.5;
}

/* CTA */
.section--cta__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  min-height: 200px;
}

.cta-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

.section--cta__action {
  text-align: center;
}

.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* References catalog */
.references-header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.references-header__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-primary);
}

.references-header__lead {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-muted);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.reference-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.reference-card:hover {
  border-color: rgba(var(--color-secondary-rgb), 0.35);
  box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.1);
}

.reference-card__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1rem;
}

.reference-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 1rem;
  padding: 0.5rem;
}

.reference-card__logo img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.reference-card__fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
}

.reference-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.reference-card__name {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
}

.reference-card__sites {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-secondary);
}

.reference-card__sites li + li {
  margin-top: 0.2rem;
}

.reference-card__work {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--color-text);
}

/* About map */
.section--about-map {
  background: #edf4fa;
}

.about-map__lead {
  max-width: 640px;
  margin: -0.5rem auto 1.75rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-muted);
}

.about-map {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  box-shadow: var(--shadow-card);
}

.about-map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 50vw, 450px);
  border: 0;
}

/* Subpage heroes (Team, Chi siamo, Servizi, dettaglio servizio) */
.hero.hero--about,
.hero.hero--team,
.hero.hero--services,
.hero.hero--projects,
.hero.hero--service-single,
.hero.hero--project-single,
.hero.hero--contact {
  display: flex;
  align-items: center;
  position: relative;
  min-height: clamp(240px, 36vh, 320px);
  height: auto;
  background-color: var(--color-primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.hero--about .hero__watermark,
.hero--team .hero__watermark,
.hero--services .hero__watermark,
.hero--projects .hero__watermark,
.hero--service-single .hero__watermark,
.hero--project-single .hero__watermark,
.hero--contact .hero__watermark {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.hero__overlay--subpage,
.hero__overlay--team {
  opacity: 1;
  background: linear-gradient(
    135deg,
    rgba(var(--color-tertiary-rgb), 0.94) 0%,
    rgba(var(--color-primary-rgb), 0.88) 55%,
    rgba(var(--color-primary-rgb), 0.78) 100%
  );
}

.hero__content--subpage,
.hero__content--team {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  padding-top: calc(var(--header-height) - var(--header-progress) * var(--header-shrink) + 1.25rem);
  padding-bottom: 2.75rem;
  text-align: center;
}

.hero--about .hero__title,
.hero--team .hero__title,
.hero--services .hero__title,
.hero--projects .hero__title,
.hero--service-single .hero__title,
.hero--project-single .hero__title,
.hero--contact .hero__title {
  margin-bottom: 0.85rem;
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.hero--about .hero__lead,
.hero--team .hero__lead,
.hero--services .hero__lead,
.hero--projects .hero__lead,
.hero--service-single .hero__lead,
.hero--project-single .hero__lead,
.hero--contact .hero__lead {
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.page-content--about .section,
.page-content--team .section {
  padding: 48px 0;
}

/* About page */
.about-intro {
  padding-top: 44px;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.about-intro__title {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary);
}

.about-intro__text {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text);
}

.about-intro__text p:last-child {
  margin-bottom: 0;
}

.about-intro__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.about-intro__cta .btn--outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.about-intro__cta .btn--outline:hover {
  background: rgba(var(--color-primary-rgb), 0.06);
  opacity: 1;
}

.about-intro__visual {
  min-height: 200px;
  margin-bottom: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: var(--shadow-card);
}

.about-section__header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.about-section__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 600;
  color: var(--color-primary);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-value {
  padding: 1.5rem;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-value:hover {
  border-color: rgba(var(--color-secondary-rgb), 0.35);
  box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.1);
}

.about-value__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
  font-size: 1.15rem;
}

.about-value__title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
}

.about-value__text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text);
}

/* Careers page */
.careers-intro {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.careers-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.careers-intro__title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

.careers-intro__text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-muted);
}

.careers-intro__text p:last-child {
  margin-bottom: 0;
}

.careers-intro__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.careers-section__lead {
  max-width: 640px;
  margin: 0.85rem auto 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-muted);
}

.careers-section__lead--centered {
  text-align: center;
}

.careers-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.careers-profiles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.careers-profile {
  padding: 1.35rem 1.4rem;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.careers-profile:hover {
  border-color: rgba(var(--color-secondary-rgb), 0.35);
  box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.1);
}

.careers-profile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
  font-size: 1rem;
}

.careers-profile__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.careers-profile__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.careers-process {
  padding-bottom: 3.5rem;
}

.careers-application {
  scroll-margin-top: calc(var(--header-height, 80px) + 1rem);
}

.careers-aside__text {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-muted);
}

/* Projects */
.projects-catalog__head,
.projects-related__head,
.home-projects .home-section-header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.projects-catalog__title,
.projects-related__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--color-primary);
}

.projects-catalog__lead,
.home-projects .home-section-header__lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-muted);
}

.projects-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.projects-filter__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.16);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.projects-filter__link:hover,
.projects-filter__link.is-active {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.projects-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  height: 100%;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.project-card:hover {
  border-color: rgba(var(--color-secondary-rgb), 0.35);
  box-shadow: 0 12px 28px rgba(var(--color-primary-rgb), 0.12);
  transform: translateY(-2px);
}

.project-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(var(--color-primary-rgb), 0.06);
}

.project-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--color-primary);
  font-size: 2rem;
  opacity: 0.35;
}

.project-card__badges {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(var(--color-primary-rgb), 0.88);
}

.project-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.3rem 1.35rem;
}

.project-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-primary);
}

.project-card__summary {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.project-card__meta {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--color-text);
}

.project-card__meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.project-card__meta i {
  margin-top: 0.15rem;
  color: var(--color-secondary);
}

.project-card__cta {
  margin-top: auto;
  font-size: 0.85rem;
}

.projects-empty,
.projects-related__more,
.home-projects__more {
  margin: 2rem 0 0;
  text-align: center;
}

.project-single__body {
  padding-top: 2.75rem;
  padding-bottom: 3rem;
}

.project-single__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
}

.project-single__fact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  box-shadow: 0 6px 16px rgba(var(--color-primary-rgb), 0.07);
}

.project-single__fact i {
  color: var(--color-secondary);
}

.project-single__fact--sector {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.project-single__section-title {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
}

.project-single__content {
  padding: 2rem 2.25rem;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.project-single__content h2 {
  margin: 2rem 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--color-primary);
}

.project-single__content h2:first-child {
  margin-top: 0;
}

.project-single__scope {
  margin-bottom: 2rem;
  padding: 1.5rem 1.6rem;
  background: linear-gradient(135deg, #f4f9fd 0%, #ffffff 100%);
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-left: 4px solid var(--color-secondary);
  box-shadow: var(--shadow-card);
}

.project-single__scope-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
}

.project-single__outcome {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  background: linear-gradient(135deg, #e6f4f1 0%, #f7fcfb 100%);
  border: 1px solid rgba(var(--color-secondary-rgb), 0.28);
  box-shadow: 0 8px 24px rgba(var(--color-secondary-rgb), 0.08);
}

.project-single__outcome-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.project-single__outcome-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
}

.project-single__aside {
  position: sticky;
  top: calc(var(--header-height) - var(--header-progress, 0) * var(--header-shrink, 0px) + 1rem);
}

.project-meta-card {
  padding: 1.5rem 1.55rem;
  background: linear-gradient(160deg, #ffffff 0%, #f4f9fd 100%);
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 12px 28px rgba(var(--color-primary-rgb), 0.1);
}

.project-meta-card__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.project-meta-card__list {
  margin: 0 0 1.25rem;
}

.project-meta-card__row {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.08);
}

.project-meta-card__row:first-child {
  padding-top: 0;
  border-top: 0;
}

.project-meta-card__row dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.project-meta-card__row dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--color-text);
}

.project-meta-card__row dd a {
  color: var(--color-primary);
}

.project-meta-card__cta {
  width: 100%;
  text-align: center;
}

.project-gallery {
  margin: 2rem 0 0;
}

.project-gallery__carousel {
  position: relative;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  box-shadow: 0 12px 28px rgba(var(--color-primary-rgb), 0.08);
}

.project-gallery__viewport {
  overflow: hidden;
}

.project-gallery__track {
  position: relative;
}

.project-gallery__slide {
  display: none;
}

.project-gallery__slide.is-active {
  display: block;
}

.project-gallery__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(var(--color-primary-rgb), 0.06);
}

.project-gallery__media img,
.project-gallery__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery__embed {
  position: absolute;
  inset: 0;
}

.project-gallery__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-gallery__caption {
  margin: 0;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-muted);
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.08);
}

.project-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.12);
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.project-gallery__nav:hover {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.project-gallery__nav--prev {
  left: 0.75rem;
}

.project-gallery__nav--next {
  right: 0.75rem;
}

.project-gallery__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem 1rem;
}

.project-gallery__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  background: rgba(var(--color-primary-rgb), 0.25);
  border: 0;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.project-gallery__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.25);
}

.about-location__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.about-location__panel {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: var(--shadow-card);
}

.about-location__company {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}

.about-location__address {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text);
}

.about-location__address i {
  margin-right: 0.5rem;
  color: var(--color-secondary);
}

.about-location__contacts {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.about-location__contacts li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  color: var(--color-text);
}

.about-location__contacts i {
  width: 1.1rem;
  color: var(--color-secondary);
  text-align: center;
}

.about-location__contacts a {
  color: var(--color-primary);
  font-weight: 500;
}

.about-location__contacts a:hover {
  color: var(--color-accent);
}

.about-location__cta {
  margin-top: auto;
  align-self: flex-start;
}

.about-location__map {
  overflow: hidden;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  box-shadow: var(--shadow-card);
  min-height: 100%;
}

.about-location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 40vw, 420px);
  border: 0;
}

/* Team page */
.about-intro,
.team-intro {
  padding-top: 44px;
}

.team-intro__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.team-intro__title {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary);
}

.team-intro__text {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text);
}

.team-intro__text p:last-child {
  margin-bottom: 0;
}

.team-section__header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.team-section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 600;
  color: var(--color-primary);
}

.team-section__lead {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-muted);
}

.team-leadership .team-profile,
.team-core .team-profile {
  margin-bottom: 0;
  align-items: start;
  box-shadow: var(--shadow-card);
  background: var(--color-white);
}

.team-leadership .team-profile {
  border-left: 4px solid var(--color-secondary);
}

.team-leadership__profiles {
  display: grid;
  gap: 1.25rem;
  max-width: 680px;
  margin: 0 auto;
}

.team-leadership__profiles--core {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  max-width: none;
  margin: 0;
}

.team-leadership__profiles--core .team-profile {
  flex: 0 1 calc((100% - 1.25rem) / 2);
  max-width: calc((100% - 1.25rem) / 2);
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem 1.2rem;
  text-align: center;
  border-left: 0;
  border-top: 3px solid var(--color-primary);
}

.team-leadership .team-profile {
  grid-template-columns: minmax(88px, 32%) 1fr;
  gap: 1.15rem;
  padding: 1.1rem 1.2rem;
}

.team-leadership .team-profile__media img {
  max-width: 120px;
  margin: 0 auto;
}

.team-leadership__profiles--core .team-profile__media {
  max-width: 108px;
  margin: 0 auto;
}

.team-leadership .team-profile__name,
.team-core .team-profile__name {
  font-size: 1.05rem;
}

.team-leadership .team-profile__role,
.team-core .team-profile__role {
  font-size: 0.88rem;
}

.team-leadership .team-profile__bio,
.team-core .team-profile__bio {
  font-size: 0.86rem;
  line-height: 1.55;
}

.team-leadership .team-profile__bio p,
.team-core .team-profile__bio p {
  margin: 0 0 0.65rem;
}

.team-leadership .team-profile__bio p:last-child,
.team-core .team-profile__bio p:last-child {
  margin-bottom: 0;
}

.team-leadership .team-profile__socials,
.team-core .team-profile__socials {
  margin-top: 0.75rem;
}

.team-leadership .team-profile__social,
.team-core .team-profile__social {
  width: 30px;
  height: 30px;
  font-size: 0.82rem;
}

@media (min-width: 992px) {
  .team-leadership__profiles--core .team-profile {
    flex: 0 1 calc((100% - 2.5rem) / 3);
    max-width: calc((100% - 2.5rem) / 3);
  }
}

.team-leadership__core {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid rgba(var(--color-primary-rgb), 0.12);
}

.team-leadership__core-header {
  max-width: 720px;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.team-core .team-leadership__core-header,
.team-roster .team-leadership__roster-header {
  max-width: 720px;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.team-leadership__core-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: var(--color-primary);
}

.team-leadership__core-lead {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-muted);
}

.team-leadership__roster {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.1);
}

.team-leadership__roster--solo {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid rgba(var(--color-primary-rgb), 0.12);
}

.team-leadership__roster-header {
  max-width: 720px;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.team-leadership__roster-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--color-primary);
}

.team-leadership__roster-lead {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-muted);
}

.team-culture__card {
  padding: 2rem 2.5rem;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.team-culture__icon {
  color: var(--color-secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.team-culture__quote {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-primary);
}

/* Team profiles */
.team-profile {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 2rem;
  align-items: start;
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.team-profile__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-profile__socials {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
  min-height: 2.25rem;
}

.team-profile__social,
.team-social__placeholder.team-profile__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.team-profile__social:hover {
  color: var(--color-secondary);
}

.team-social__placeholder {
  visibility: hidden;
  pointer-events: none;
}

.team-profile__media {
  text-align: center;
}

.team-profile__name {
  margin: 0 0 0.5rem;
  font-size: 23px;
  font-weight: 700;
  color: var(--color-primary);
}

.team-profile__heading,
.member-card__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.5rem;
}

.team-profile__heading {
  justify-content: flex-start;
}

.member-card__heading,
.team-leadership__profiles--core .team-profile__heading {
  justify-content: center;
}

.team-profile__heading .team-profile__name,
.member-card__heading .member-card__name {
  margin: 0;
}

.team-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  border-radius: 2px;
}

.team-badge--socio {
  color: var(--color-white);
  background: var(--color-primary);
}

.team-badge--partner {
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.1);
  border: 1px solid rgba(var(--color-primary-rgb), 0.22);
}

.team-leadership .team-badge,
.team-core .team-badge {
  font-size: 0.62rem;
}

.team-profile__role {
  margin: 0 0 0.35rem;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-secondary);
}

.team-profile__bio {
  color: var(--color-text);
}

/* Members grid */
.members-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
}

.members-grid .member-card {
  flex: 0 1 calc((100% - 3.75rem) / 4);
  max-width: calc((100% - 3.75rem) / 4);
}

.member-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  padding: 0.85rem;
  text-align: center;
}

.member-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.member-card__photo img {
  width: 100%;
  max-width: 140px;
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 0.65rem;
}

.member-card__name {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
}

.member-card__heading {
  margin-bottom: 0.35rem;
}

.member-card__role {
  margin: 0 0 0.25rem;
  color: var(--color-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.member-card__bio {
  font-size: 0.8rem;
  color: var(--color-text);
}

.member-card__email,
.member-card__social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.65rem;
  min-height: 1.85rem;
}

.member-card__social-link,
.member-card__social-link.team-social__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.08);
  font-size: 0.9rem;
  transition: color 0.25s ease, background 0.25s ease;
}

.member-card__social-link:hover {
  color: var(--color-white);
  background: var(--color-primary);
}

/* Contact form */
.contact-form-wrap {
  margin-top: 2rem;
}

/* Contact page */
.contact-channels {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.contact-channels__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.contact-channel__link {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  height: 100%;
  padding: 1.15rem 1.2rem;
  color: inherit;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  border-top: 3px solid var(--color-secondary);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-channel__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.contact-channel__link--static {
  cursor: default;
}

.contact-channel__link--static:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

.contact-channel__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
  font-size: 1rem;
}

.contact-channel__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.contact-channel__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contact-channel__value {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-primary);
  word-break: break-word;
}

.contact-channels__company {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contact-main {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.contact-main__header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.contact-main__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--color-primary);
}

.contact-main__lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-muted);
}

.contact-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-main__form-panel {
  padding: 2rem 2.25rem;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
}

.contact-main__form-panel--solo {
  max-width: 760px;
  margin: 0 auto;
}

.contact-main__aside {
  display: grid;
  gap: 1rem;
}

.contact-aside-card {
  padding: 1.35rem 1.4rem;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: var(--shadow-card);
}

.contact-aside-card__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.contact-aside-card__list,
.contact-aside-card__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-aside-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text);
}

.contact-aside-card__list li:last-child {
  margin-bottom: 0;
}

.contact-aside-card__list i {
  width: 1rem;
  margin-top: 0.2rem;
  color: var(--color-secondary);
  text-align: center;
}

.contact-aside-card__links li {
  margin-bottom: 0.55rem;
}

.contact-aside-card__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
}

.contact-aside-card__links a:hover {
  color: var(--color-accent);
}

.contact-aside-card__more {
  margin-top: 0.85rem;
  font-size: 0.85rem;
}

.contact-aside-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
}

.contact-aside-card__linkedin:hover {
  color: var(--color-accent);
}

.contact-location {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.contact-location__header {
  max-width: 680px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.contact-location__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-primary);
}

.contact-location__lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-muted);
}

.contact-location__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-location__panel {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  box-shadow: var(--shadow-card);
}

.contact-location__company {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
}

.contact-location__address {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text);
}

.contact-location__address i {
  margin-right: 0.5rem;
  color: var(--color-secondary);
}

.contact-location__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-location__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-location__list i {
  width: 1.1rem;
  color: var(--color-secondary);
  text-align: center;
}

.contact-location__list a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-location__list a:hover {
  color: var(--color-accent);
}

.contact-location__map {
  overflow: hidden;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  box-shadow: var(--shadow-card);
}

.contact-location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 42vw, 420px);
  border: 0;
}

.contact-page__form-panel .wpcf7 {
  margin: 0;
}

.contact-page__form-panel .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.contact-page__form-panel .wpcf7-form > p {
  margin: 0;
}

.contact-page__form-panel .wpcf7-form > p:has(textarea),
.contact-page__form-panel .wpcf7-form > p:has(.wpcf7-acceptance),
.contact-page__form-panel .wpcf7-form > p:has(input[type="submit"]),
.contact-page__form-panel .wpcf7-form > p:has(.wpcf7-submit),
.contact-page__form-panel .wpcf7-form > .contact-form__field--full,
.contact-page__form-panel .wpcf7-form > .contact-form__field--privacy {
  grid-column: 1 / -1;
}

.contact-page__form-panel label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.contact-page__form-panel .wpcf7-form-control-wrap {
  display: block;
}

.contact-page__form-panel input[type="text"],
.contact-page__form-panel input[type="email"],
.contact-page__form-panel input[type="tel"],
.contact-page__form-panel input[type="url"],
.contact-page__form-panel input[type="number"],
.contact-page__form-panel select,
.contact-page__form-panel textarea,
.contact-page__form-panel .wpcf7-form-control:not(.wpcf7-radio):not(.wpcf7-checkbox):not(.wpcf7-acceptance):not(.wpcf7-file):not(.wpcf7-submit) {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--color-text);
  background: #f8fbfe;
  border: 1px solid rgba(var(--color-primary-rgb), 0.18);
  border-radius: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-page__form-panel textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-page__form-panel input:focus,
.contact-page__form-panel select:focus,
.contact-page__form-panel textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(var(--color-secondary-rgb), 0.18);
}

.contact-page__form-panel input[type="submit"],
.contact-page__form-panel .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.9rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-primary);
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.contact-page__form-panel input[type="submit"]:hover,
.contact-page__form-panel .wpcf7-submit:hover {
  background: var(--color-tertiary);
  opacity: 1;
}

.contact-page__form-panel .wpcf7-form > .contact-form__field--privacy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.25rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.12);
}

.contact-page__form-panel .contact-form__field--privacy .wpcf7-form-control-wrap {
  width: 100%;
}

.contact-page__form-panel .contact-form__field--privacy .wpcf7-acceptance {
  margin: 0;
}

.contact-page__form-panel .contact-form__field--privacy .wpcf7-list-item {
  margin: 0;
}

.contact-page__form-panel .contact-form__field--privacy .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text);
  line-height: 1.5;
  cursor: pointer;
}

.contact-page__form-panel .contact-form__field--privacy .wpcf7-list-item-label a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-page__form-panel .contact-form__field--privacy .wpcf7-list-item-label a:hover,
.contact-page__form-panel .contact-form__field--privacy .wpcf7-list-item-label a:focus-visible {
  color: var(--color-primary-dark, #0a5a94);
}

.contact-page__form-panel .wpcf7-not-valid-tip {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #b42318;
}

.contact-page__form-panel .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  border: 0;
}

.contact-page__form-panel .wpcf7 form.sent .wpcf7-response-output {
  background: #e6f4f1;
  color: #117a8b;
}

.contact-page__form-panel .wpcf7 form.invalid .wpcf7-response-output,
.contact-page__form-panel .wpcf7 form.failed .wpcf7-response-output {
  background: #fdecea;
  color: #b42318;
}

.contact-page__form-panel .contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.contact-page__form-panel .contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-page__form-panel .contact-form input,
.contact-page__form-panel .contact-form select,
.contact-page__form-panel .contact-form textarea {
  background: #f8fbfe;
  border: 1px solid rgba(var(--color-primary-rgb), 0.18);
}

.contact-page__form-panel .contact-form input:focus,
.contact-page__form-panel .contact-form select:focus,
.contact-page__form-panel .contact-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(var(--color-secondary-rgb), 0.18);
}

.contact-page__form-panel .contact-form .btn--brochure {
  margin-top: 0;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__field span {
  font-weight: 600;
  color: var(--color-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  font: inherit;
}

.contact-notice {
  padding: 1rem;
  margin-bottom: 1rem;
}

.contact-notice--success {
  background: #e6f4f1;
  color: #117a8b;
}

.contact-notice--error {
  background: #fdecea;
  color: #b42318;
}

/* Footer */
.site-footer {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: var(--color-primary);
  color: var(--color-white);
  overflow: hidden;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--color-secondary);
  z-index: 2;
  pointer-events: none;
}

.site-footer::before {
  left: 0;
}

.site-footer::after {
  right: 0;
}

.site-footer__watermark {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  opacity: 0.05;
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: 1.5rem 1.5rem 0.85rem;
  text-align: center;
  box-sizing: border-box;
}

.site-footer__badge img {
  width: 56px;
  min-width: 0;
  margin: 0.5rem auto;
}

.site-footer__address p {
  margin: 0.15rem 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
}

.site-footer__social a {
  color: var(--color-white);
  font-size: 17px;
  transition: color 0.3s ease;
}

.site-footer__social a:hover {
  color: var(--color-secondary);
}

.site-footer__bar {
  display: block;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
}

.site-footer__policies {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.site-footer__policies a {
  color: var(--color-white);
  text-decoration: none;
}

.site-footer__policies a:hover {
  color: var(--color-secondary);
}

.site-footer__policies-sep {
  opacity: 0.65;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 1s;
}

.reveal--delay-2 {
  transition-delay: 2s;
}

/* Responsive */
@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    display: none;
    padding: 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .primary-menu {
    flex-direction: column;
    gap: 0;
  }

  .primary-menu a {
    color: var(--color-primary);
    padding: 0.85rem 0.5rem;
    width: 100%;
  }

  .primary-menu a:hover {
    background: var(--color-menu-hover);
  }

  .site-nav__linkedin {
    color: var(--color-primary);
    align-self: flex-start;
    margin-top: 0.35rem;
    padding: 0.85rem 0.5rem;
    font-size: 1.2rem;
  }

  .site-nav__linkedin:hover {
    color: var(--color-primary);
    background: var(--color-menu-hover);
  }

  .services-grid--compact,
  .services-grid--full {
    grid-template-columns: 1fr;
  }

  .service-single-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-intro__grid,
  .team-intro__grid,
  .about-intro__grid,
  .about-location__grid,
  .contact-main__grid,
  .contact-location__grid,
  .contact-channels__grid,
  .service-showcase,
  .services-row,
  .services-sectors__grid,
  .services-process__timeline,
  .home-about__grid,
  .home-services__head,
  .home-sectors__grid {
    grid-template-columns: 1fr;
  }

  .home-services__head {
    display: block;
  }

  .home-services__all {
    margin-top: 1rem;
  }

  .home-svc:nth-child(odd) {
    border-right: none;
  }

  .home-svc:nth-last-child(-n + 1) {
    border-bottom: none;
  }

  .home-svc {
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.08);
  }

  .hero__content--home {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
    padding-inline: 0;
  }

  .hero__overlay--home {
    background: linear-gradient(
      180deg,
      rgba(var(--color-tertiary-rgb), 0.94) 0%,
      rgba(var(--color-primary-rgb), 0.88) 55%,
      rgba(var(--color-primary-rgb), 0.75) 100%
    );
  }

  .home-process__timeline::before {
    display: none;
  }

  .home-process__timeline {
    gap: 1.75rem;
    padding-top: 0;
  }

  .home-process__step {
    padding: 0;
    text-align: left;
  }

  .home-process__marker {
    margin: 0 0 0.85rem;
  }

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

  .metric-panel--cols-4 .metric-panel__item {
    align-items: flex-start;
    text-align: left;
  }

  .metric-panel--cols-4 .metric-panel__item:nth-child(-n + 2) {
    border-top: none;
  }

  .metric-panel--cols-4 .metric-panel__item:nth-child(odd) {
    border-left: none;
  }

  .metric-panel--cols-4 .metric-panel__item:nth-child(n + 3) {
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.08);
  }

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

  .home-process__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }

  .home-trust__logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-showcase--reverse .service-showcase__media {
    order: 0;
  }

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

  .services-process__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }

  .services-process__timeline::before {
    display: none;
  }

  .services-process__step {
    text-align: left;
  }

  .services-process__marker {
    margin: 0 0 0.85rem;
  }

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

  .careers-intro__grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .members-grid .member-card {
    flex: 0 1 calc((100% - 2.5rem) / 3);
    max-width: calc((100% - 2.5rem) / 3);
  }

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

  .section--cta__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-leadership .team-profile {
    grid-template-columns: minmax(88px, 36%) 1fr;
    text-align: left;
  }

  .team-leadership__profiles--core .team-profile {
    flex: 0 1 calc((100% - 1.25rem) / 2);
    max-width: calc((100% - 1.25rem) / 2);
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero.hero--about,
  .hero.hero--team,
  .hero.hero--services,
  .hero.hero--projects,
  .hero.hero--service-single,
  .hero.hero--project-single,
  .hero.hero--contact {
    min-height: 260px;
    height: auto;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 545px;
  }

  .hero--page {
    min-height: 320px;
  }

  .hero.hero--about,
  .hero.hero--team,
  .hero.hero--services,
  .hero.hero--projects,
  .hero.hero--service-single,
  .hero.hero--project-single,
  .hero.hero--contact {
    min-height: 220px;
    height: auto;
  }

  .hero__content--subpage,
  .hero__content--team {
    padding-top: calc(var(--header-height) - var(--header-progress) * var(--header-shrink) + 1.75rem);
    padding-bottom: 1.75rem;
  }

  .hero--page .hero__content {
    padding-top: calc(var(--header-height) - var(--header-progress) * var(--header-shrink) + 1.25rem);
  }
  .hero--about .hero__lead,
  .hero--team .hero__lead,
  .hero--services .hero__lead,
  .hero--projects .hero__lead,
  .hero--service-single .hero__lead,
  .hero--project-single .hero__lead,
  .hero--contact .hero__lead {
    font-size: 0.95rem;
  }

  .services-intro__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .services-intro__cta .btn {
    text-align: center;
  }

  .services-process__timeline {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-intro__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .about-intro__cta .btn {
    text-align: center;
  }

  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .careers-pillars__grid,
  .careers-profiles__grid {
    grid-template-columns: 1fr;
  }

  .careers-intro__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .careers-intro__cta .btn {
    text-align: center;
  }

  .projects-grid,
  .projects-grid--compact {
    grid-template-columns: 1fr;
  }

  .team-leadership__profiles--core .team-profile {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .team-leadership .team-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .project-gallery__nav {
    width: 2.15rem;
    height: 2.15rem;
  }

  .project-gallery__nav--prev {
    left: 0.4rem;
  }

  .project-gallery__nav--next {
    right: 0.4rem;
  }

  .team-culture__card {
    padding: 1.5rem 1.25rem;
  }

  .hero--page .hero__panel {
    padding: 1.25rem 1.5rem;
  }

  .section {
    padding: 40px 0;
  }

  .is-front-page .section {
    padding: 3rem 0;
  }

  .is-front-page .home-about {
    padding-top: 3.25rem;
  }

  .is-front-page .section--team-banner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .home-sectors__inner {
    padding: 3.25rem 0;
  }

  .home-section-header,
  .home-section-header--center {
    margin-bottom: 2rem;
  }

  .home-sectors__header,
  .home-trust__header {
    margin-bottom: 2rem;
  }

  .home-services__head {
    margin-bottom: 2rem;
  }

  .members-grid .member-card {
    flex: 0 1 calc((100% - 1.25rem) / 2);
    max-width: calc((100% - 1.25rem) / 2);
  }

  .references-grid,
  .contact-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-panel--cols-4,
  .metric-panel--cols-2 {
    grid-template-columns: 1fr;
  }

  .metric-panel__item {
    border-left: none !important;
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.08);
    align-items: flex-start;
    text-align: left;
    min-height: 0;
    padding: 1rem 1.15rem;
  }

  .metric-panel__item:first-child {
    border-top: none;
  }

  .home-sectors__grid,
  .home-process__timeline,
  .home-services__list {
    grid-template-columns: 1fr;
  }

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

  .home-about__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-about__actions .btn {
    text-align: center;
  }

  .hero--home {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__content--home {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.25rem;
  }

  .hero--home .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero--home .hero__actions .btn {
    width: 100%;
  }

  .service-single__toolbar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-single__toolbar-icon {
    justify-self: center;
  }

  .service-single__toolbar-actions {
    justify-content: center;
  }

  .service-single__content {
    padding: 1.35rem 1.25rem;
  }

  .project-single__content,
  .project-single__scope,
  .project-single__outcome {
    padding: 1.35rem 1.25rem;
  }

  .project-single__aside {
    position: static;
  }

  .service-single-related__grid {
    grid-template-columns: 1fr;
  }

  .service-showcase__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-showcase {
    scroll-margin-top: calc(var(--header-height-sticky) + 5rem);
  }

  .contact-channels__grid {
    grid-template-columns: 1fr;
  }

  .contact-main__form-panel {
    padding: 1.35rem 1.15rem;
  }

  .contact-page__form-panel .wpcf7-form,
  .contact-page__form-panel .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .site-footer::before,
  .site-footer::after {
    width: 4px;
  }

  .site-footer__inner {
    max-width: none;
    padding: 1.15rem 1rem 0.75rem;
  }

  .site-footer__badge img {
    width: 48px;
  }

  .section--team-banner {
    background-attachment: scroll;
  }
}

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

  .site-logo img,
  .custom-logo-link img {
    max-height: calc(64px - var(--header-progress) * var(--header-logo-shrink));
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
