:root {
  --brand: #173f6b;
  --brand-rgb: 23, 63, 107;
  --brand-light: #2e73a6;
  --brand-light-rgb: 46, 115, 166;
  --brand-green: #5a9d76;
  --brand-green-rgb: 90, 157, 118;
  --ink: #17324b;
  --text: #405365;
  --muted: #6b7d8c;
  --surface: #ffffff;
  --surface-soft: #f4f8fa;
  --line: #dfe8ed;
  --shadow-sm: 0 10px 30px rgba(20, 53, 78, 0.08);
  --shadow-lg: 0 28px 70px rgba(18, 48, 72, 0.16);
  --radius: 8px;
  --radius-lg: 26px;
  --container: 1180px;
  --header-height: 84px;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  font-family: "Lato", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
}


main {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.section {
  width: 100%;
  max-width: 100%;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.section-title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--brand);
  text-align: center;
}

.section-title--graphic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  width: 85%;
  margin-inline: auto;
  color: #5f8fcf;
  font-size: 2rem;
}

.section-title__half {
  display: grid;
  width: 100%;
  line-height: 1.1;
}

.section-title__half::before,
.section-title__half::after {
  width:85%;
  height: clamp(11px, 1.5vw, 18px);
  background: linear-gradient(180deg, #4f83c2 0%, #76a5d9 100%);
  content: "";
}

.section-title__half--first {
  grid-template-rows: auto auto;
  gap: 6px;
  text-align: center;
}

.section-title__half--first::before {
  display: none;
}

.section-title__half--first::after {
  clip-path: polygon(0 0, 84% 0, 100% 100%, 0 100%);
  justify-self: end;
}

.section-title__half--second {
  grid-template-rows: auto auto;
  gap: 6px;
  text-align: left;
}

.section-title__half--second::before {
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  justify-self: start;
}

.section-title__half--second::after {
  display: none;
}

.section-lead {
  max-width: 820px;
  margin: 20px auto 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.75;
  text-align: center;
}

.section-kicker,
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Inter", sans-serif;
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: .94rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn--primary {
  color: var(--brand);
  background: transparent;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.2);
  transform: translateY(-2px);
}

.btn-project {
  gap: 10px;
  min-height: 54px;
  padding: 8px 24px 8px 10px;
  border-color: rgba(var(--brand-green-rgb), 0.68);
  color: var(--brand);
  background: linear-gradient(120deg, rgba(var(--brand-green-rgb), 0.13), rgba(255, 255, 255, 0.96));
  box-shadow: 0 8px 22px rgba(var(--brand-rgb), 0.1);
  font-size: 1em;
}

.btn-project__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-green);
  font-size: 1.25rem;
  font-variation-settings: "wght" 450;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.btn-project:hover,
.btn-project:focus-visible {
  border-color: var(--brand-green);
  background: var(--brand-green);
  box-shadow: 0 12px 28px rgba(var(--brand-green-rgb), 0.25);
  transform: translateY(-3px);
}

.btn-project:hover .btn-project__icon,
.btn-project:focus-visible .btn-project__icon {
  color: var(--brand-green);
  background: #fff;
  transform: translateX(2px);
}

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.09);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
}

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

.site-header__logo img,
.site-footer__logo img {
  width: auto;
  height: 52px;
}

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

.site-nav__link {
  position: relative;
  padding: 31px 0 27px;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
}

.site-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--brand-green);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav__link:hover::after,
.site-nav__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle,
.mobile-nav__close {
  border: 0;
  color: var(--brand);
  background: transparent;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  padding: 8px;
  font-size: 1.6rem;
}

.nav-backdrop {
  position: fixed;
  z-index: 190;
  inset: 0;
  background: rgba(10, 35, 54, 0.42);
  opacity: 0;
  transition: opacity 250ms ease;
}

.mobile-nav {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(86vw, 360px);
  height: 100dvh;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: -18px 0 48px rgba(18, 48, 72, 0.2);
  transform: translateX(100%);
  transition: transform 250ms ease;
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav__title {
  font-family: "Roboto", sans-serif;
  color: var(--brand);
  font-size: 1.3rem;
  font-weight: 500;
}

.mobile-nav__close {
  padding: 6px;
  font-size: 1.3rem;
}

.mobile-nav__link {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: "Inter", sans-serif;
  color: var(--ink);
  font-weight: 500;
}

.mobile-nav__link.active {
  color: var(--brand-green);
}

.nav-open .nav-backdrop {
  opacity: 1;
}

.nav-open .mobile-nav {
  transform: translateX(0);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

body:has(.mobile-nav.is-open) .nav-backdrop {
  opacity: 1;
}

.hero__inner {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 44px);
  width: min(100%, 1080px);
  margin-inline: auto;
}

.hero__title {
  margin: 0 0 22px;
  font-family: "Roboto", sans-serif;
  color: var(--brand);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.02;
}

.hero__text {
  margin: 0 0 30px;
  font-size: 1.08rem;
}

.hero__image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.section-image {
  display: block;
  width: min(100%, 600px);
  height: auto;
  margin: 34px auto 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.section-image + .section-lead {
  margin-top: 32px;
}

.section-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  width: min(100%, 920px);
  margin: 36px auto 0;
}

.section-image-grid .section-image {
  width: 100%;
  margin: 0;
}

@media (max-width: 760px) {
  .section-image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section-title--graphic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    font-size: 1.2rem;
  }

  .section-title__half::before,
  .section-title__half::after {
    height: 9px;
  }

  .section-image {
    margin-top: 24px;
    border-radius: var(--radius);
  }
}

.services,
.digital-twins {
  background: var(--surface-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 14px;
  width: min(100%, 1080px);
  margin: 28px auto 0;
}

.feature-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
  row-gap: 10px;
  min-height: 0;
  padding: 20px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 40px -10px rgba(20, 53, 78, 0.05);
}

.feature-icon {
  color: var(--brand-green);
  font-size: 2rem;
}

.feature-label {
  display: block;
  margin-top: 0;
  font-family: "Roboto", sans-serif;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 500;
}

.section-cta {
  margin-top: 20px;
  text-align: center;
}

.section-lead .btn-project {
  min-height: 42px;
  margin-left: 8px;
  padding: 5px 14px 5px 6px;
  gap: 8px;
  font-size: 0.9em;
  line-height: 1.25;
  vertical-align: middle;
  white-space: nowrap;
}

.section-lead .btn-project__icon {
  width: 30px;
  height: 30px;
  font-size: 1.05rem;
}

.project-experience-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 5px;
  border-radius: 20px;
  background: none;
  color: #477e5e;
  font-size: 1.1em;
  font-weight: bold;
  vertical-align: middle;
  white-space: nowrap;
}

.project-experience-link:hover,
.project-experience-link:focus-visible {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px -10px rgba(var(--brand-rgb), 0.7);
}

.hero.section,
.services.section
 {
  padding: 25px;
}

.controls.section,
.digital-twins.section
 {
  padding: 40px 25px;
}


.services .section-title,
.controls .section-title,
.digital-twins .section-title {
  text-align: center;
}

.services .section-lead,
.controls .section-lead,
.digital-twins .section-lead,
.services-list {
  max-width: 900px;
  margin-top: 14px;
  text-align: start;
}

.services-list {
  margin-top: 20px;
}

.services-list h3 {
  color: var(--brand-green);
  margin: 16px 0px;
  text-align: start;
  font-size: 1.5rem;
}

.services-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 70px;
  width: min(100%, 820px);
  margin: 0 auto;
  padding-left: 24px;
  box-sizing: border-box;
  text-align: left;
  transform: translateX(50px);
}

.services-list li {
  padding-left: 4px;
  text-align: left;
  color: var(--brand);
  font-weight: bold;
  margin: -10px 0px;
}

.services-list span {
  color: var(--text);
  font-weight: normal;
}

@media (max-width: 700px) {
  .services-list ul {
    grid-template-columns: 1fr;
    width: 100%;
    transform: none;
  }
}

.feature-card .feature-icon,
.feature-card .feature-label,
.feature-card p {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.feature-card .feature-icon {
  grid-column: 1;
  grid-row: 1;
  line-height: 1;
  margin-top: -4px;
}

.feature-card .feature-label {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  line-height: 1.25;
}

.feature-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
}

.section-cta + .feature-grid {
  margin-top: 28px;
}

/* Projects page */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 86px;
  background:
    radial-gradient(circle at 82% 32%, rgba(var(--brand-green-rgb), 0.18) 0 110px, transparent 112px),
    linear-gradient(125deg, #f4f9fb 0%, #fff 52%, #edf6f1 100%);
}

.page-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -235px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(var(--brand-light-rgb), 0.22);
  border-radius: 50%;
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-family: "Roboto", sans-serif;
  color: var(--brand);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.page-hero p {
  max-width: 730px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.7;
}

.projects-showcase {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
}

.projects-showcase::before {
  position: absolute;
  top: 330px;
  right: -230px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(var(--brand-light-rgb), 0.035);
  content: "";
}

.projects-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 70px;
}

.projects-intro p {
  max-width: 610px;
  margin: 0 0 4px;
  padding-left: 28px;
  border-left: 2px solid rgba(var(--brand-green-rgb), 0.55);
  font-size: 1.08rem;
}

.projects-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(360px, 0.93fr);
  align-items: start;
  gap: 0;
  padding: 42px 36px 58px 0;
}

.projects-flow::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 8%;
  border-radius: 52px 12px 52px 12px;
  background: linear-gradient(145deg, #f4f8fa 0%, #f9fcfb 52%, #eef7f1 100%);
  content: "";
}

.projects-flow::after {
  position: absolute;
  z-index: -1;
  top: -25px;
  right: 25%;
  width: 150px;
  height: 75px;
  border: 1px solid rgba(var(--brand-green-rgb), 0.28);
  border-bottom: 0;
  border-radius: 150px 150px 0 0;
  content: "";
}

.project-list {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.project-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 23px 26px;
  border: 1px solid rgba(var(--brand-rgb), 0.09);
  border-radius: 6px 24px 24px 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 26px rgba(23, 63, 107, 0.055);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-item:nth-child(3n + 2) {
  margin-right: -24px;
  margin-left: 24px;
}

.project-item:nth-child(3n) {
  margin-right: -44px;
  margin-left: 44px;
}

.project-item:hover {
  border-color: rgba(var(--brand-green-rgb), 0.45);
  box-shadow: 0 15px 36px rgba(23, 63, 107, 0.1);
  transform: translateX(6px);
}

.project-item__number {
  padding-top: 2px;
  font-family: "Inter", sans-serif;
  color: var(--brand-green);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.project-item h3 {
  margin: 0 0 7px;
  font-family: "Roboto", sans-serif;
  color: var(--brand);
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.28;
}

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

.project-visual {
  position: sticky;
  z-index: 2;
  top: calc(var(--header-height) + 28px);
  min-height: 720px;
  margin-left: -22px;
}

.project-collage {
  position: relative;
  min-height: 720px;
}

.project-collage::before {
  position: absolute;
  top: 80px;
  right: 22px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(var(--brand-light-rgb), 0.15), rgba(var(--brand-green-rgb), 0.13));
  content: "";
}

.collage-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 7px solid #fff;
  background: #e7eef2;
  box-shadow: var(--shadow-lg);
}

.collage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.collage-photo:hover img {
  transform: scale(1.04);
}

.collage-photo--one {
  z-index: 1;
  top: 18px;
  left: 8%;
  width: 78%;
  aspect-ratio: 4 / 3;
  border-radius: 7px 60px 7px 7px;
  transform: rotate(2.5deg);
}

.collage-photo--two {
  z-index: 3;
  top: 246px;
  right: -10px;
  width: 64%;
  aspect-ratio: 5 / 4;
  border-radius: 50% 7px 7px 7px;
  transform: rotate(-3deg);
}

.collage-photo--three {
  z-index: 2;
  top: 390px;
  left: 2%;
  width: 63%;
  aspect-ratio: 4 / 3;
  border-radius: 7px 7px 58px 7px;
  transform: rotate(3.5deg);
}

.collage-photo--four {
  z-index: 4;
  right: 5%;
  bottom: 8px;
  width: 52%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transform: rotate(-2deg);
}

.collage-caption {
  position: absolute;
  z-index: 6;
  top: 184px;
  left: -12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(var(--brand-rgb), 0.25);
}

.collage-caption .material-symbols-outlined {
  color: #a9d7b9;
}

.collage-caption p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
}

.collage-caption strong {
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

/* Contact and footer */
.contact {
  background: linear-gradient(120deg, #e3edf2, #e8f1eb);
}

.contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.contact__content .section-lead {
  max-width: 680px;
  margin: 16px 0 0;
  text-align: left;
}

.contact .btn {
  flex: 0 0 auto;
}

.home-contact {
  position: relative;
  overflow: hidden;
  padding-block: 50px !important;
}

.contact-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 28px;
}

.contact-heading .section-kicker {
  margin-bottom: 7px;
}

.contact-heading p {
  max-width: 590px;
  margin: 0 0 4px;
  color: var(--text);
  font-size: 1.03rem;
  line-height: 1.6;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.contact-heading .section-title {
    font-size: 2.5em;
}

.contact-address {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -8px 0 24px;
  color: var(--text);
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-address .contact-icon {
  flex: 0 0 auto;
  font-size: 1.45rem;
}

.contact-address a {
  transition: color 180ms ease;
}

.contact-address a:hover,
.contact-address a:focus-visible {
  color: var(--brand-light);
}

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

.home-contact .contact-layout {
  display: block;
}

.home-contact .contact-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid rgba(var(--brand-rgb), 0.1);
  border-radius: 7px 22px 22px 7px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(var(--brand-rgb), 0.055);
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-family: "Inter", sans-serif;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-icon {
  color: var(--brand-green);
  font-size: 1.25rem;
}

.contact-value {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-value a {
  transition: color 180ms ease;
}

.contact-value a:hover,
.contact-value a:focus-visible {
  color: var(--brand-light);
}

.map-card {
  overflow: hidden;
  min-height: 250px;
  border: 6px solid rgba(255, 255, 255, 0.88);
  border-radius: 22px 7px 22px 7px;
  background: #dce8ed;
  box-shadow: var(--shadow-sm);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
}

.site-footer {
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(var(--brand-rgb), 0.12);
  background: #fff;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 20px;
  }

  .projects-flow {
    grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr);
  }

  .project-item:nth-child(3n + 2) {
    margin-right: -14px;
    margin-left: 14px;
  }

  .project-item:nth-child(3n) {
    margin-right: -26px;
    margin-left: 26px;
  }

  .project-visual,
  .project-collage {
    min-height: 620px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .section {
    padding: 72px 0;
  }

  .site-header__logo img {
    height: 46px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero__inner,
  .projects-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .hero.section,
  .services.section,
  .controls.section,
  .digital-twins.section {
    padding-block: 52px;
  }

  .contact-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

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

  .map-card,
  .map-card iframe {
    min-height: 300px;
  }

  .projects-intro p {
    max-width: 680px;
  }

  .projects-flow {
    display: flex;
    flex-direction: column;
    padding: 28px 24px 40px;
  }

  .projects-flow::before {
    inset: 0;
    border-radius: 32px 8px 32px 8px;
  }

  .project-visual {
    position: relative;
    top: auto;
    order: -1;
    width: 100%;
    min-height: 490px;
    margin: 0 0 36px;
  }

  .project-collage {
    min-height: 490px;
  }

  .collage-photo--one {
    left: 6%;
    width: 55%;
  }

  .collage-photo--two {
    top: 90px;
    right: 5%;
    width: 47%;
  }

  .collage-photo--three {
    top: 250px;
    left: 13%;
    width: 43%;
  }

  .collage-photo--four {
    right: 15%;
    bottom: 0;
    width: 34%;
  }

  .collage-caption {
    top: 214px;
    left: 46%;
  }

  .project-item,
  .project-item:nth-child(3n + 2),
  .project-item:nth-child(3n) {
    margin: 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 70px 0 64px;
  }

  .page-hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.25rem);
  }

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

  .feature-card {
    min-height: 0;
  }

  .hero.section,
  .services.section,
  .controls.section,
  .digital-twins.section {
    padding-block: 42px;
  }

  .home-contact {
    padding-block: 42px !important;
  }

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

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

  .contact-card {
    padding: 18px;
  }

  .projects-showcase {
    padding-top: 72px;
  }

  .projects-intro {
    margin-bottom: 42px;
  }

  .projects-intro p {
    padding-left: 18px;
  }

  .projects-flow {
    padding: 18px 12px 28px;
  }

  .project-visual,
  .project-collage {
    min-height: 370px;
  }

  .collage-photo {
    border-width: 4px;
  }

  .collage-photo--one {
    left: 2%;
    width: 62%;
  }

  .collage-photo--two {
    top: 76px;
    right: 0;
    width: 52%;
  }

  .collage-photo--three {
    top: 205px;
    left: 7%;
    width: 48%;
  }

  .collage-photo--four {
    right: 8%;
    width: 38%;
  }

  .collage-caption {
    top: 170px;
    left: 38%;
    padding: 10px 13px;
  }

  .collage-caption p {
    font-size: 0.7rem;
  }

  .project-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 20px 16px;
    border-radius: 5px 18px 18px 5px;
  }

  .contact__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__logo img {
    height: 44px;
  }
}

.projects-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(42px, 6vw, 82px);
  padding: 0;
}

.projects-flow::before,
.projects-flow::after {
  content: none;
}

.project-list {
  gap: 0;
  border-top: 1px solid rgba(var(--brand-rgb), 0.18);
}

.project-item,
.project-item:nth-child(3n + 2),
.project-item:nth-child(3n) {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 25px 0;
  border: 0;
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.project-item:hover {
  border-color: rgba(var(--brand-green-rgb), 0.65);
  box-shadow: none;
  transform: none;
}

.project-item__number {
  padding-top: 4px;
  color: var(--brand-green);
}

.project-item h3 {
  margin-bottom: 6px;
}

.project-visual {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  min-height: 0;
  margin: 0;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-photo {
  overflow: hidden;
  margin: 0;
  border: 5px solid #fff;
  border-radius: 9px;
  background: #e7eef2;
  box-shadow: 0 14px 34px rgba(var(--brand-rgb), 0.12);
}

.project-photo img {
  width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  .projects-flow {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 0;
  }

  .project-visual {
    position: relative;
    top: auto;
    order: -1;
    width: 100%;
    min-height: 0;
    margin: 0;
  }
}

@media (max-width: 620px) {
  .project-gallery {
    gap: 10px;
  }

  .project-photo {
    border-width: 3px;
    border-radius: 7px;
  }

  .project-item,
  .project-item:nth-child(3n + 2),
  .project-item:nth-child(3n) {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 21px 0;
  }
}

.projects-intro {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 3vw, 34px);
  width: min(100%, 1080px);
  margin-inline: auto;
  padding: 10px 30px;
  border: 1px solid rgba(var(--brand-green-rgb), 0.2);
  border-radius: 8px 28px 8px 28px;
  background: linear-gradient(120deg, rgba(var(--brand-green-rgb), 0.12), rgba(var(--brand-light-rgb), 0.065));
  box-shadow: 0 12px 34px rgba(var(--brand-rgb), 0.055);
}

.projects-intro__title {
  min-width: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: var(--brand);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.projects-intro__title span:first-child {
  color: var(--brand-green);
}

.projects-intro p {
  min-width: 0;
  width: 100%;
  max-width: none;
  padding-left: 0;
  border-left: 0;
}

.project-item__marker {
  padding-top: 2px;
  color: var(--brand-green);
  font-size: 1.35rem;
  font-variation-settings: "wght" 450;
}

.project-groups {
  display: flex;
  flex-direction: column;
}

.project-group {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(42px, 6vw, 76px);
  padding: 76px 0;
  border-top: 0;
}

.project-group--reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
}

.project-group:first-child {
  padding-top: 18px;
  border-top: 0;
}

.project-group:last-child {
  padding-bottom: 8px;
}

.project-group--reverse .project-gallery {
  order: -1;
}

.project-group .project-list {
  gap: 34px;
  width: 100%;
  border-top: 0;
}

.project-group .project-item,
.project-group .project-item:nth-child(3n + 2),
.project-group .project-item:nth-child(3n) {
  min-height: 0;
  padding: 0;
  border-bottom: 0;
}

.project-group .project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.project-group .project-photo {
  border-width: 4px;
  border-radius: 8px;
}

.project-group .project-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-group .project-photo:nth-child(2) {
  transform: translateY(24px);
}

@media (max-width: 860px) {
  .project-group {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 54px 0;
  }

  .project-group:first-child {
    padding-top: 0;
  }

  .project-group--reverse .project-gallery {
    order: 0;
  }

  .projects-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px;
  }

  .projects-intro__title {
    white-space: normal;
  }

  .project-group .project-item,
  .project-group .project-item:nth-child(3n + 2),
  .project-group .project-item:nth-child(3n) {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .project-group {
    gap: 28px;
    padding: 44px 0;
  }

  .project-group .project-gallery {
    gap: 10px;
  }

  .projects-intro {
    padding: 25px 22px;
    border-radius: 7px 20px 7px 20px;
  }
}

.projects-reference-showcase {
  padding: 0;
  background: linear-gradient(180deg, #fff 0%, #f7faf8 100%);
}

.projects-reference-showcase::before {
  display: none;
}

.projects-reference-title {
  margin: 50px auto;
}

.project-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 54px clamp(14px, 2vw, 24px);
  width: min(100%, 930px);
  margin-inline: auto;
}

.project-reference-card {
  width: min(100%, 290px);
  min-width: 0;
  border: 0;
  background: transparent;
}

.project-reference-card:nth-child(3n + 1) {
  justify-self: center;
}

.project-reference-card:nth-child(3n + 2) {
  justify-self: center;
}

.project-reference-card:nth-child(3n) {
  justify-self: center;
}

.project-reference-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  width: 85%;
  border-radius: 24px;
  background: #dce8e1;
  box-shadow: 0 16px 34px -16px rgba(var(--brand-rgb), 0.35);
}

.project-reference-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.project-reference-card__content {
  padding: 24px 4px 0;
}

.project-reference-card__category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  font-family: "Inter", sans-serif;
  color: #477e5e;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-reference-card h2 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: var(--brand);
  font-size: clamp(1.3rem, 1.7vw, 1.65rem);
  font-weight: 500;
  line-height: 1.2;
}

.project-reference-card__location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0 10px;
  color: #477e5e;
  font-size: 0.92rem;
  font-weight: 600;
}

.project-reference-card__location .material-symbols-outlined {
  font-size: 1.15rem;
}

.project-reference-card__content > p:not(.project-reference-card__location):not(.project-reference-card__system) {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.project-reference-card__system {
  display: inline-block;
  margin: 10px 0 0;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(var(--brand-green-rgb), 0.11);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.project-reference-card__system strong {
  font-weight: 700;
}

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

  .project-reference-card:nth-child(odd) {
    justify-self: center;
  }

  .project-reference-card:nth-child(even) {
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .projects-reference-showcase {
    padding-block: 52px 76px;
  }

  .projects-reference-title {
    margin-bottom: 42px;
  }

  .project-reference-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .project-reference-card,
  .project-reference-card:nth-child(n) {
    justify-self: center;
    /* width: min(100%, 360px); */
    width: 100%;
    max-width: none;
  }

  .project-reference-card__media {
    width: 100%;
  }

  .project-reference-card__content {
    padding-top: 20px;
  }
}

/* Dedicated contact page */
.contact-page .page-hero {
  padding-block: 84px 78px;
}

.contact-page .page-hero p {
  max-width: 760px;
}

.contact-page main {
  display: flex;
  flex-direction: column;
}

.contact-page-contact {
  flex: 1;
  padding-block: 88px 104px;
  background: linear-gradient(120deg, #e3edf2, #e8f1eb);
}

.contact-page-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.contact-page-heading .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-page-heading p {
  margin: 14px 0 0;
  font-size: 1.05rem;
}

.contact-page .contact-card {
  padding: 25px 26px;
}

.contact-page .map-card,
.contact-page .map-card iframe {
  min-height: 340px;
}

@media (max-width: 860px) {
  .contact-page .page-hero {
    padding-block: 68px 64px;
  }

  .contact-page-contact {
    padding-block: 68px 78px;
  }
}

@media (max-width: 620px) {
  .contact-page-contact {
    padding-block: 56px 64px;
  }

  .contact-page-heading {
    margin-bottom: 30px;
  }

  .contact-page .contact-card {
    padding: 20px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero__inner {
    gap: 28px;
  }

  .hero__media {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .projects-intro {
    gap: 20px;
  }

  .contact-heading {
    margin-bottom: 22px;
  }

  .project-reference-grid {
    gap: 48px 20px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero.section,
  .services.section,
  .controls.section,
  .digital-twins.section {
    padding: 38px 0;
  }

  .hero__inner {
    gap: 24px;
  }

  .hero__title {
    margin-bottom: 16px;
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .hero__text {
    margin-bottom: 24px;
  }

  .section-title--graphic {
    width: 100%;
    gap: 4px;
  }

  .section-title__half--first,
  .section-title__half--second {
    gap: 4px;
  }

  .section-lead .btn-project {
    margin: 10px 0 0;
  }

  .feature-grid {
    gap: 16px;
    margin-top: 24px;
  }

  .feature-card {
    padding: 18px;
  }

  .section-image-grid {
    gap: 16px;
    margin-top: 26px;
  }

  .projects-showcase {
    padding-top: 24px;
    padding-bottom: 0px;
  }

  .projects-intro {
    gap: 14px;
    margin-bottom: 34px;
    padding: 22px 18px;
  }

  .projects-intro__title {
    font-size: 1.3rem;
  }

  .projects-intro p {
    margin: 0;
    padding-left: 0;
  }

  .projects-reference-showcase {
    /* padding-block: 36px 60px; */
    padding-top: 10px;
  }

  .projects-reference-title {
    width: 100%;
    margin: 0 auto 36px;
  }

  #think-project-list-title {
    padding-top: 40px;
  }

  .project-reference-grid {
    gap: 42px;
  }

  .project-reference-card__content {
    padding: 18px 2px 0;
  }

  .project-reference-card__system {
    font-size: 0.9rem;
  }

  .home-contact {
    padding: 38px 0 !important;
  }

  .contact-heading .section-title {
    font-size: 2rem;
  }

  .contact-address {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .contact-panel {
    gap: 12px;
  }

  .contact-card {
    padding: 16px;
  }

  .contact-page .page-hero {
    padding-block: 52px 48px;
  }

  .contact-page-contact {
    padding: 44px 0 52px;
  }

  .contact-page-heading {
    margin-bottom: 24px;
  }

  .site-footer {
    height: auto;
    min-height: 60px;
    padding: 14px 0;
  }

  .site-footer__inner {
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
