:root {
  --blue: #0872bd;
  --blue-dark: #07528e;
  --blue-deep: #06385f;
  --orange: #f5a313;
  --orange-dark: #d98200;
  --cream: #fbf8ef;
  --cream-deep: #f2ecdf;
  --green: #718d55;
  --ink: #102f45;
  --muted: #627887;
  --white: #ffffff;
  --line: rgba(7, 82, 142, 0.14);
  --shadow: 0 24px 70px rgba(8, 54, 88, 0.14);
  --radius: 28px;
  --container: 1180px;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(7, 82, 142, 0.09);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--white);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: background 240ms ease, -webkit-backdrop-filter 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled::before {
  background: rgba(251, 248, 239, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  z-index: 1;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  width: 185px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: #315166;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav a.is-active {
  color: var(--blue-dark);
}

.menu-toggle,
.menu-contact {
  display: none;
}

.header-contact {
  padding: 12px 18px;
  border: 1px solid var(--blue-dark);
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.header-contact:hover {
  color: var(--white);
  background: var(--blue-dark);
}

.header-contact.is-active {
  color: var(--white);
  background: var(--blue-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(680px, calc(100svh - 88px), 820px);
  padding: 0;
  color: var(--white);
  background: #061c2b;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 20, 34, 0.94) 0%, rgba(2, 20, 34, 0.78) 43%, rgba(2, 20, 34, 0.18) 74%),
    linear-gradient(0deg, rgba(2, 20, 34, 0.64) 0%, transparent 42%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  padding-top: clamp(82px, 10vw, 132px);
  padding-bottom: clamp(88px, 10vw, 124px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-eyebrow {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.15em;
}

.hero-eyebrow span {
  width: 38px;
  background: var(--orange);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.hero .hero-eyebrow {
  color: var(--white);
}

h1,
h2 {
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-size: clamp(52px, 5.6vw, 82px);
  line-height: 0.98;
}

h1 em {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--blue);
  font-weight: inherit;
}

h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -2px;
  bottom: 3px;
  left: -2px;
  height: 10px;
  border-radius: 999px;
  background: rgba(245, 163, 19, 0.28);
  transform: rotate(-1.5deg);
}

.hero-text {
  max-width: 590px;
  margin-bottom: 0;
  padding-left: 22px;
  border-left: 3px solid var(--orange);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-highlights li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange-dark);
  box-shadow: 0 0 0 4px rgba(245, 163, 19, 0.14);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: box-shadow 180ms ease, background 180ms ease;
}

.button span {
  font-size: 18px;
}

.arrow-right,
.arrow-external {
  display: inline-block;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.arrow-right {
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.arrow-external {
  position: relative;
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

.arrow-external::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -2px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-45deg);
}

.arrow-external::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.certificate-meta a:hover .arrow-external {
  transform: translate(2px, -2px);
}


.hero h1 {
  max-width: 760px;
  color: var(--white);
}

.hero h1 em {
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.hero-slide.is-active {
  opacity: 0.4;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  transition: transform 7s ease;
}

.hero-slide.is-active img {
  transform: scale(1.045);
}

.hero-controls {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 42px;
}

.hero-control {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  color: var(--white);
  background: rgba(3, 30, 49, 0.34);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.hero-control:hover,
.hero-control:focus-visible {
  border-color: var(--orange);
  background: rgba(245, 163, 19, 0.2);
}

.hero-control:focus-visible,
.hero-dots button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.hero-chevron {
  width: 9px;
  height: 9px;
  display: block;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.hero-chevron-prev {
  margin-left: 4px;
  transform: rotate(-135deg);
}

.hero-chevron-next {
  margin-right: 4px;
  transform: rotate(45deg);
}

.hero-counter {
  min-width: 48px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-counter strong {
  color: var(--white);
  font-size: 14px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dots button {
  position: relative;
  overflow: hidden;
  width: 20px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-dots button.is-active {
  width: 38px;
  background: rgba(255, 255, 255, 0.38);
}

.hero-dots button.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--orange);
  transform-origin: left center;
}

.hero-dots button.is-active.is-progressing::after {
  animation: hero-dot-progress 6200ms linear forwards;
}

@keyframes hero-dot-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.section {
  padding: clamp(88px, 10vw, 140px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(40px, 8vw, 110px);
  margin-bottom: 58px;
}

.section-heading h2,
.company h2,
.certifications h2,
.faq h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
}

.section-heading > p,
.faq-title > p:last-child {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.services {
  background: var(--white);
}

.services-heading,
.process-heading {
  grid-template-columns: minmax(0, 830px);
}

.services-intro,
.process-intro {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  padding: 38px 34px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:focus-within {
  z-index: 2;
  background: linear-gradient(180deg, rgba(8, 114, 189, 0.055), var(--white) 72%);
  box-shadow: inset 0 0 0 1px rgba(7, 82, 142, 0.24);
}

.service-card:focus-within::before {
  transform: scaleX(1);
}

.service-number {
  color: #8aa0ae;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.service-icon {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 38px 0 28px;
  border-radius: 50%;
  color: var(--blue-dark);
  background: var(--cream);
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.service-icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(245, 163, 19, 0.62);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.service-icon svg {
  width: 35px;
  height: 35px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-icon svg,
.service-icon svg * {
  transform-box: fill-box;
  transform-origin: center;
}

.service-card h3 {
  margin-bottom: 16px;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
}

.service-card p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.service-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.service-card a span {
  color: var(--orange-dark);
  font-size: 20px;
  transition: transform 180ms ease;
}

.service-card:focus-within .service-icon {
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 0 0 6px rgba(245, 163, 19, 0.13);
  transform: translateY(-2px);
}

.service-card:focus-within .arrow-right {
  transform: translateX(4px) rotate(45deg);
}

@media (hover: hover) {
  .service-card:hover {
    z-index: 2;
    background: linear-gradient(180deg, rgba(8, 114, 189, 0.055), var(--white) 72%);
    box-shadow: inset 0 0 0 1px rgba(7, 82, 142, 0.24);
  }

  .service-card:hover::before {
    transform: scaleX(1);
  }

  .service-card:hover .service-icon {
    color: var(--white);
    background: var(--blue-dark);
    box-shadow: 0 0 0 6px rgba(245, 163, 19, 0.13);
    transform: translateY(-2px);
  }

  .service-card:hover .arrow-right {
    transform: translateX(4px) rotate(45deg);
  }
}

.service-card:nth-child(1):is(:hover, :focus-within) .service-icon path {
  animation: service-bolt-pulse 700ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

.service-card:nth-child(2):is(:hover, :focus-within) .service-icon circle {
  animation: service-sun-pulse 760ms ease-in-out 2 alternate;
}

.service-card:nth-child(2):is(:hover, :focus-within) .service-icon path:last-child {
  animation: service-lines-draw 920ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-card:nth-child(3):is(:hover, :focus-within) .service-icon path:first-child {
  animation: service-light-glow 860ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-card:nth-child(3):is(:hover, :focus-within) .service-icon path:last-child {
  animation: service-lines-draw 780ms 80ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.service-card:nth-child(4):is(:hover, :focus-within) .service-icon circle:first-of-type {
  animation: service-panel-light 520ms ease-in-out 2 alternate;
}

.service-card:nth-child(4):is(:hover, :focus-within) .service-icon circle:last-of-type {
  animation: service-panel-light 520ms 180ms ease-in-out 2 alternate;
}

.service-card:nth-child(4):is(:hover, :focus-within) .service-icon path {
  animation: service-lines-draw 820ms 120ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.service-card:nth-child(5):is(:hover, :focus-within) .service-icon path {
  animation: service-eye-blink 780ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-card:nth-child(5):is(:hover, :focus-within) .service-icon circle {
  animation: service-camera-scan 820ms 80ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-card:nth-child(6):is(:hover, :focus-within) .service-icon path {
  animation: service-wrench-turn 720ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-card:is(:hover, :focus-within) .service-icon::after {
  animation: service-icon-ring 720ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

@keyframes service-icon-ring {
  0% {
    opacity: 0;
    transform: scale(0.78);
  }

  35% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes service-bolt-pulse {
  0%,
  100% {
    filter: none;
    transform: scale(1);
  }

  48% {
    filter: drop-shadow(0 0 5px rgba(245, 163, 19, 0.9));
    transform: translateY(-2px) rotate(-3deg) scale(1.16);
  }

  68% {
    transform: translateY(1px) scale(0.97);
  }
}

@keyframes service-sun-pulse {
  from {
    filter: none;
    stroke: currentColor;
    transform: scale(1);
  }

  to {
    filter: drop-shadow(0 0 5px rgba(245, 163, 19, 0.82));
    stroke: var(--orange);
    transform: scale(1.24);
  }
}

@keyframes service-light-glow {
  0%,
  100% {
    opacity: 1;
    stroke: currentColor;
  }

  48% {
    opacity: 0.82;
    stroke: var(--orange);
  }

  76% {
    opacity: 1;
    stroke: rgba(255, 255, 255, 0.88);
  }
}

@keyframes service-lines-draw {
  from {
    opacity: 0.28;
    stroke-dasharray: 42;
    stroke-dashoffset: 42;
  }

  to {
    opacity: 1;
    stroke-dasharray: 42;
    stroke-dashoffset: 0;
  }
}

@keyframes service-panel-light {
  from {
    fill: transparent;
    filter: none;
    transform: scale(1);
  }

  to {
    fill: var(--orange);
    filter: drop-shadow(0 0 4px rgba(245, 163, 19, 0.75));
    transform: scale(1.12);
  }
}

@keyframes service-camera-scan {
  0%,
  100% {
    transform: translateX(0);
  }

  32% {
    transform: translateX(-2px);
  }

  68% {
    transform: translateX(2px);
  }
}

@keyframes service-eye-blink {
  0%,
  100% {
    transform: scaleY(1);
  }

  42% {
    transform: scaleY(0.72);
  }

  62% {
    transform: scaleY(1.04);
  }
}

@keyframes service-wrench-turn {
  0%,
  100% {
    transform: rotate(0);
  }

  38% {
    filter: drop-shadow(0 0 4px rgba(245, 163, 19, 0.72));
    transform: translateY(-1px) rotate(-10deg);
  }

  72% {
    transform: rotate(6deg);
  }
}

.projects {
  background: #eef6fb;
}

.featured-project-heading {
  max-width: 760px;
  margin: 0 0 30px;
}

.featured-project-heading h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.featured-project-heading p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.projects-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(7, 82, 142, 0.28);
  border-radius: 4px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.projects-archive-link .arrow-right {
  color: var(--orange-dark);
}

.projects-archive-link:hover {
  color: var(--white);
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.projects-archive-link:hover .arrow-right {
  color: var(--orange);
  transform: translateX(3px) rotate(45deg);
}

.projects-archive-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

.project-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  grid-template-rows: repeat(3, 170px);
  gap: 16px;
}

.project-photo {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 12px;
  background: var(--blue-deep);
  cursor: zoom-in;
}

.project-photo-main {
  grid-row: 1 / 4;
  border-radius: 28px 12px 12px 28px;
}

.project-gallery-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, 170px);
}

.project-gallery-six .project-photo-main {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  border-radius: 28px 12px 12px 12px;
}

.project-gallery-three {
  grid-template-rows: repeat(2, 255px);
}

.project-gallery-three .project-photo-main {
  grid-row: 1 / 3;
}

.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.project-photo-main img {
  object-position: 54% center;
}

@media (hover: hover) {
  .project-photo:hover img {
    transform: scale(1.035);
  }
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 30px 0 0;
  border-top: 1px solid rgba(7, 82, 142, 0.18);
  border-bottom: 1px solid rgba(7, 82, 142, 0.18);
}

.project-facts div {
  min-width: 0;
  padding: 24px 24px 24px 0;
}

.project-facts div:not(:first-child) {
  padding-left: 24px;
  border-left: 1px solid rgba(7, 82, 142, 0.18);
}

.project-facts dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.25;
}

.projects-preview .project-gallery {
  display: block;
}

.projects-preview .project-photo:not(.project-photo-main),
.projects-preview .lightbox {
  display: none;
}

.projects-preview .project-photo-main {
  display: block;
  height: clamp(340px, 42vw, 500px);
  border-radius: 28px;
}

.projects-preview .project-photo-main::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(to top, rgba(3, 31, 54, 0.48), transparent);
  content: "";
  pointer-events: none;
}

.featured-project-label {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.lightbox:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 23, 37, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  position: relative;
  z-index: 1;
  max-width: min(1180px, 92vw);
  max-height: 88vh;
  margin: 0;
  border-radius: 12px;
  background: var(--white);
}

.lightbox figure > img {
  width: auto;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: background 180ms ease;
}

.lightbox-close:hover {
  background: var(--orange-dark);
}

.lightbox-close span,
.lightbox-close span::before {
  width: 16px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.lightbox-close span {
  transform: rotate(45deg);
}

.lightbox-close span::before {
  content: "";
  transform: rotate(90deg);
}

.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.page-hero {
  position: relative;
  padding: clamp(72px, 8vw, 108px) 0 clamp(64px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.page-hero-grid {
  position: relative;
  padding-left: clamp(24px, 4vw, 54px);
  border-left: 3px solid var(--orange);
}

.page-hero h1,
.project-page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(58px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.page-hero h1 em {
  color: var(--blue);
  font-weight: inherit;
}

.page-hero-grid > p,
.project-page-heading > p {
  max-width: 690px;
  margin: clamp(26px, 3vw, 36px) 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.72;
}

.works-archive {
  background: var(--white);
}

.project-photo-cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  body.has-project-cursor .archive-project .project-photo,
  body.has-project-cursor .projects-preview .project-photo {
    cursor: none;
  }

  .project-photo-cursor {
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    color: var(--blue-deep);
    background: rgba(251, 248, 239, 0.94);
    box-shadow: 0 14px 34px rgba(3, 31, 54, 0.2), inset 0 0 0 5px rgba(7, 82, 142, 0.06);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.76) rotate(-5deg);
    transition: opacity 160ms ease, transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1);
    backdrop-filter: blur(8px);
  }

  .project-photo-cursor span {
    transform: translateY(1px);
  }

  .project-photo-cursor.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }

  .project-photo-cursor.is-pressed {
    transform: translate(-50%, -50%) scale(0.92);
  }
}

.archive-project {
  display: flex;
  flex-direction: column;
  scroll-margin-top: 110px;
}

.archive-project + .archive-project {
  margin-top: clamp(52px, 6vw, 76px);
  padding-top: clamp(52px, 6vw, 76px);
  border-top: 1px solid rgba(7, 82, 142, 0.16);
}

.archive-project-heading {
  order: 1;
  max-width: 760px;
  margin: 0 0 44px;
}

.archive-project > .project-facts {
  order: 3;
  margin: 30px 0 0;
}

.archive-project > .project-gallery {
  order: 2;
}

.archive-project > .lightbox {
  order: 4;
}

.archive-project-heading h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.archive-project-heading > div > p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  align-items: stretch;
  color: inherit;
  background: #f5f9fc;
  text-decoration: none;
}

.work-card figure {
  min-height: 470px;
  margin: 0;
  overflow: hidden;
}

.work-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.work-card-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 5vw, 62px);
  border-left: 6px solid var(--orange);
}

.work-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: auto;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-card-meta span:not(:first-child)::before {
  content: "";
  width: 4px;
  height: 4px;
  display: inline-block;
  margin: 0 12px 2px 0;
  border-radius: 50%;
  background: var(--orange-dark);
}

.work-card h3 {
  margin: 50px 0 16px;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.work-card-copy > p {
  margin: 0 0 38px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.work-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.work-card-link .arrow-right {
  color: var(--orange-dark);
}

@media (hover: hover) {
  .work-card:hover figure img {
    transform: scale(1.025);
  }

  .work-card:hover .arrow-right {
    transform: translateX(4px) rotate(45deg);
  }
}

.archive-contact,
.project-page-footer {
  padding: clamp(68px, 8vw, 100px) 0;
  color: var(--white);
  background: var(--blue-dark);
}

.archive-contact-inner,
.project-page-footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
}

.archive-contact-inner {
  display: block;
}

.archive-contact .button {
  margin-top: 30px;
}

.archive-contact h2,
.project-page-footer h2 {
  max-width: 700px;
  margin: 0;
  color: var(--white);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
}

.project-page-hero {
  padding: 46px 0 clamp(64px, 8vw, 104px);
  background: linear-gradient(115deg, #eef6fb, var(--cream) 64%);
}

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

.project-detail-page .project-page-hero {
  order: 1;
}

.project-detail-page .project-gallery-page {
  order: 2;
}

.project-detail-page .project-overview {
  order: 3;
}

.project-detail-page .project-page-footer {
  order: 4;
}

.project-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(58px, 8vw, 100px);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.arrow-left {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.project-breadcrumb:hover .arrow-left {
  transform: translateX(-3px) rotate(45deg);
}

.project-page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: clamp(54px, 9vw, 130px);
}

.project-detail-page .project-page-heading {
  grid-template-columns: minmax(0, 900px);
}

.project-overview {
  background: var(--white);
}

.project-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(54px, 9vw, 130px);
  margin-bottom: 64px;
}

.project-overview h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
}

.project-overview-grid > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.project-facts-detail {
  margin-top: 0;
}

.project-gallery-page {
  background: #eef6fb;
}

.project-gallery-heading {
  margin-bottom: 44px;
}

.company {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-deep);
}

.company-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 10vw, 140px);
}

.eyebrow-light {
  color: #c6e4f8;
}

.company h2,
.contact h2 {
  color: var(--white);
}

.company-lead {
  margin-bottom: 45px;
  color: #d8e5ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.45;
}

.company-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 44px;
}

.company-values > div {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.company-values strong {
  color: var(--orange);
  font-size: 14px;
}

.company-values p {
  margin: 10px 0 0;
  color: #bdd0dc;
  font-size: 13px;
  line-height: 1.6;
}

.clients {
  background: var(--white);
}

.clients-heading {
  display: grid;
  grid-template-columns: minmax(0, 830px);
  align-items: end;
  gap: clamp(40px, 8vw, 110px);
  margin-bottom: 48px;
}

.clients-heading h2 {
  margin-bottom: 0;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.clients-intro {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-logo {
  min-height: 178px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  transition: background 200ms ease;
}

.client-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 104px;
  object-fit: contain;
  transition: transform 200ms ease;
}

.client-logo-wide img {
  max-height: 82px;
}

.client-logo-compact img {
  max-width: 135px;
}

@media (hover: hover) {
  .client-logo:hover {
    background: #f7fbfe;
  }

  .client-logo:hover img {
    transform: scale(1.025);
  }
}

.certifications {
  background: #eef6fb;
}

.certifications-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(54px, 9vw, 130px);
}

.certifications-intro {
  position: sticky;
  top: 130px;
}

.certifications-intro h2 {
  margin-bottom: 26px;
}

.certifications-intro > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.certificate-list {
  display: grid;
  gap: 28px;
}

.certificate-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(34px, 4.5vw, 50px);
  border: 1px solid rgba(7, 82, 142, 0.25);
  border-radius: 10px;
  background:
    repeating-linear-gradient(135deg, rgba(7, 82, 142, 0.022) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(45deg, rgba(217, 130, 0, 0.014) 0 1px, transparent 1px 8px),
    linear-gradient(135deg, #ffffff, #f8fbfd);
  box-shadow:
    0 24px 60px rgba(8, 54, 88, 0.11),
    inset 0 0 0 9px rgba(255, 255, 255, 0.8),
    inset 0 0 0 10px rgba(7, 82, 142, 0.08);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.certificate-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue-deep) 0 74%, var(--orange) 74% 100%);
}

.certificate-card > * {
  position: relative;
  z-index: 2;
}

.certificate-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(7, 82, 142, 0.14);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.certificate-topline span:first-child {
  padding: 2px 0 2px 16px;
  border-left: 4px solid var(--orange);
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: none;
}

.certificate-topline span:last-child {
  padding: 8px 11px;
  border: 1px solid rgba(7, 82, 142, 0.18);
  border-radius: 4px;
  background: #eef6fb;
}

.certificate-stamp {
  position: absolute;
  z-index: 1;
  top: 126px;
  right: clamp(28px, 4vw, 46px);
  width: 118px;
  height: 118px;
  color: rgba(7, 82, 142, 0.28);
  opacity: 1;
  transform: rotate(-8deg);
  pointer-events: none;
}

.certificate-stamp::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 8deg,
      rgba(7, 82, 142, 0.075) 0 1.5deg,
      transparent 1.5deg 7deg
    );
  -webkit-mask-image: radial-gradient(circle, transparent 0 28%, #000 29% 31%, transparent 32% 41%, #000 42% 44%, transparent 45% 54%, #000 55% 57%, transparent 58%);
  mask-image: radial-gradient(circle, transparent 0 28%, #000 29% 31%, transparent 32% 41%, #000 42% 44%, transparent 45% 54%, #000 55% 57%, transparent 58%);
  opacity: 0.8;
  transform: translate(-50%, -50%);
}

.certificate-stamp svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  opacity: 0.4;
}

.stamp-outer-ring {
  fill: rgba(255, 255, 255, 0.66);
  stroke: currentColor;
  stroke-width: 2.4;
}

.stamp-inner-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-dasharray: 2.5 2.5;
}

.stamp-arc-text {
  fill: currentColor;
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 3px;
  paint-order: stroke fill;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.15px;
}

.stamp-center-text {
  fill: currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 1px;
}

.certificate-card h3 {
  max-width: calc(100% - 165px);
  margin-bottom: 20px;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 37px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.certificate-card > p,
.certificate-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.certificate-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.certificate-card li::marker {
  color: var(--orange-dark);
}

.certificate-card li strong {
  color: var(--blue-dark);
}

.certificate-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.certificate-meta > span {
  color: #6d8290;
  font-size: 11px;
  font-weight: 700;
}

.certificate-meta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(7, 82, 142, 0.22);
  border-radius: 4px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.certificate-meta a span {
  color: var(--orange-dark);
  font-size: 18px;
}

@media (hover: hover) {
  .certificate-card:hover {
    border-color: rgba(7, 82, 142, 0.4);
    box-shadow:
      0 30px 70px rgba(8, 54, 88, 0.15),
      inset 0 0 0 9px rgba(255, 255, 255, 0.82),
      inset 0 0 0 10px rgba(7, 82, 142, 0.11);
    transform: translateY(-5px);
  }

  .certificate-meta a:hover {
    color: var(--white);
    border-color: var(--blue-dark);
    background: var(--blue-dark);
  }
}

.process {
  background: var(--cream);
}

.process-list {
  --circuit-color: var(--orange);
  --circuit-color-dark: var(--orange-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.process-list li {
  --circuit-progress: 0;
  position: relative;
  padding: 0 38px 0 0;
}

.process-list li > div {
  padding-top: 14px;
}

.process-list li:not(:last-child)::before,
.process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25px;
  right: 0;
  left: 52px;
  width: auto;
  height: 2px;
  pointer-events: none;
}

.process-list li:not(:last-child)::after {
  z-index: 0;
  background: rgba(7, 82, 142, 0.14);
}

.process-list li:not(:last-child)::before {
  z-index: 1;
  background: var(--circuit-color);
  transform: scaleX(var(--circuit-progress));
  transform-origin: left center;
  will-change: transform;
}

.step-number {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid rgba(7, 82, 142, 0.24);
  border-radius: 50%;
  color: var(--blue-dark);
  background: var(--cream);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.055em;
  text-indent: 0.055em;
  font-variant-numeric: tabular-nums;
  transition: border-color 220ms ease;
}

.process-list li.is-circuit-active .step-number {
  border: 2px solid var(--circuit-color);
}

.process-list h3 {
  margin-bottom: 13px;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;
}

.process-list p {
  max-width: 290px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(60px, 10vw, 140px);
}

.faq-title {
  align-self: start;
  position: sticky;
  top: 130px;
}

.faq-title h2 {
  margin-bottom: 26px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 26px 50px 26px 0;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  width: 30px;
  height: 30px;
  top: 23px;
  right: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.faq-list details[open] summary::after {
  content: "−";
  color: var(--white);
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  transform: rotate(180deg);
}

.faq-list details.is-closing summary::after {
  content: "+";
  color: var(--blue);
  border-color: var(--line);
  background: transparent;
  transform: rotate(0);
}

.faq-list details p {
  max-width: 650px;
  margin: -6px 50px 26px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact {
  padding: clamp(80px, 10vw, 130px) 0;
  color: var(--white);
  background: var(--blue-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  grid-template-areas: "info form";
  align-items: start;
  gap: clamp(50px, 7vw, 100px);
}

.contact-info {
  grid-area: info;
  min-width: 0;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 26px 0 34px;
  color: #c9dce9;
  font-size: 16px;
  line-height: 1.7;
}

.button-light {
  color: var(--blue-deep);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--orange-dark);
}

.contact-details {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-style: normal;
}

.contact-form {
  grid-area: form;
  min-width: 0;
  padding: clamp(26px, 3.5vw, 44px);
  border-radius: 22px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 30, 55, 0.2);
}

.contact-form-kicker {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form h3 {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.13;
}

.contact-form-intro {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-form-fields {
  display: grid;
  gap: 20px;
}

.contact-field,
.contact-field-row {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.contact-field-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field label {
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.contact-field label > span[aria-hidden] {
  color: var(--orange-dark);
}

.contact-optional {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #c8d9e4;
  border-radius: 8px;
  color: var(--ink);
  background: #f8fbfd;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.contact-field textarea {
  resize: vertical;
}

.contact-field :is(input, select, textarea):focus-visible,
.contact-form-submit:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.contact-field :is(input, textarea)::placeholder {
  color: #718899;
}

.contact-form-note {
  margin: 22px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.contact-form-note a {
  color: var(--blue-dark);
  font-weight: 700;
}

.contact-form-submit {
  width: 100%;
  justify-content: center;
  border: 0;
  color: var(--white);
  background: var(--blue-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.contact-form-submit:hover {
  background: var(--orange-dark);
}

.contact-form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form-result {
  margin-top: 22px;
  padding: 18px;
  border-radius: 9px;
  background: #eef6fb;
  overflow: hidden;
}

.contact-form-result[hidden] {
  display: none;
}

.contact-form-result p {
  margin: 0;
  color: var(--blue-deep);
  font-size: 13px;
  line-height: 1.6;
}

.contact-form-result.is-error {
  background: #fff0ed;
}

.contact-form-result.is-error p {
  color: #9d3427;
}

.contact-details a {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 23px 42px 23px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
}

.contact-details span {
  color: #b7d1e2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-details strong {
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
}

.contact-details i {
  position: absolute;
  top: 30px;
  right: 4px;
  color: var(--orange);
  font-style: normal;
  transition: transform 180ms ease;
}

.contact-details a:hover i {
  transform: translate(2px, -2px);
}

.site-footer {
  padding: 30px 0;
  background: var(--cream);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-branding {
  display: grid;
  gap: 5px;
}

.footer-inner .footer-credit {
  font-size: 10px;
  letter-spacing: 0.015em;
}

.footer-credit strong {
  color: var(--blue-dark);
  font-weight: 700;
}

.footer-details {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-legal {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.footer-legal:hover,
.footer-legal:focus-visible {
  color: var(--orange-dark);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue-dark);
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer-social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--blue-dark);
  background: rgba(7, 82, 142, 0.08);
}

.privacy-section {
  background: var(--white);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.36fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(52px, 9vw, 120px);
}

.privacy-sidebar {
  position: sticky;
  top: 122px;
}

.privacy-update {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  background: #eef6fb;
}

.privacy-update p {
  margin: 0;
}

.privacy-update strong,
.privacy-update time {
  display: block;
}

.privacy-update strong {
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-update time {
  margin-top: 6px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.privacy-index {
  display: grid;
  border-top: 1px solid var(--line);
}

.privacy-index a {
  position: relative;
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, padding-left 180ms ease;
}

.privacy-index a::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: var(--orange);
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 180ms ease, transform 220ms ease;
}

.privacy-index a:hover,
.privacy-index a:focus-visible {
  padding-left: 17px;
  color: var(--blue-dark);
}

.privacy-index a.is-active {
  padding-left: 20px;
  color: var(--blue-deep);
  background: linear-gradient(90deg, rgba(7, 82, 142, 0.11), rgba(7, 82, 142, 0));
  font-weight: 900;
}

.privacy-index a.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.privacy-content {
  max-width: 820px;
}

.privacy-lead {
  margin-bottom: 64px;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.6vw, 31px);
  line-height: 1.48;
}

.privacy-content section {
  position: relative;
  scroll-margin-top: 112px;
  padding: 0 0 54px 54px;
}

.privacy-content section + section {
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.privacy-number {
  position: absolute;
  top: 4px;
  left: 0;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.privacy-content section + section .privacy-number {
  top: 58px;
}

.privacy-content h2 {
  margin-bottom: 24px;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.privacy-content h3 {
  margin: 30px 0 10px;
  color: var(--blue-dark);
  font-size: 15px;
}

.privacy-content p,
.privacy-content li,
.privacy-address {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.privacy-content a {
  color: var(--blue-dark);
  font-weight: 700;
}

.privacy-address {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  font-style: normal;
}

.privacy-address strong {
  color: var(--blue-deep);
}

.privacy-content ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.privacy-content li::marker {
  color: var(--orange-dark);
}

.privacy-note {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  color: var(--blue-deep);
  background: #eef6fb;
  font-size: 14px;
  line-height: 1.7;
}

.privacy-purposes {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.privacy-purposes > div {
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: #fbfdfe;
}

.privacy-purposes h3 {
  margin-top: 0;
}

.privacy-purposes p {
  margin-bottom: 0;
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 2.5vw, 34px);
  bottom: clamp(18px, 2.5vw, 34px);
  z-index: 30;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-dark);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(6, 56, 95, 0.26);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.back-to-top-icon {
  display: block;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}

.back-to-top:hover {
  background: var(--orange-dark);
  box-shadow: 0 18px 38px rgba(6, 56, 95, 0.32);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(245, 163, 19, 0.62);
  outline-offset: 5px;
  border-radius: 4px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: var(--blue-dark);
    background: transparent;
    cursor: pointer;
    transition: background 240ms ease;
  }

  .menu-toggle:hover {
    background: rgba(7, 82, 142, 0.07);
  }

  .site-header.is-menu-open .menu-toggle {
    background: rgba(7, 82, 142, 0.07);
  }

  .menu-toggle:focus-visible {
    outline: 3px solid rgba(245, 163, 19, 0.62);
    outline-offset: 3px;
  }

  .menu-toggle-icon {
    width: 20px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .menu-toggle-icon span {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1), opacity 180ms ease;
  }

  .site-header.is-menu-open .menu-toggle-icon span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .site-header.is-menu-open .menu-toggle-icon span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: calc(100svh - 86px);
    overflow-y: auto;
    margin: 0;
    padding: 14px clamp(18px, 2.5vw, 24px) 20px;
    border: 0;
    border-top: 1px solid rgba(7, 82, 142, 0.09);
    border-bottom: 1px solid rgba(7, 82, 142, 0.12);
    border-radius: 0 0 22px 22px;
    background: var(--white);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px);
    clip-path: inset(0 0 100% 0 round 0 0 22px 22px);
    transition: clip-path 400ms cubic-bezier(0.2, 0.75, 0.25, 1), opacity 240ms ease, transform 400ms cubic-bezier(0.2, 0.75, 0.25, 1), visibility 400ms, background 240ms ease, -webkit-backdrop-filter 240ms ease, backdrop-filter 240ms ease;
  }

  .site-header.is-scrolled .main-nav {
    background: rgba(251, 248, 239, 0.9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .site-header.is-menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    clip-path: inset(0 0 0 0 round 0 0 22px 22px);
  }

  .site-header.is-menu-initializing .main-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px);
    clip-path: inset(0 0 100% 0 round 0 0 22px 22px);
    transition: none;
  }

  .site-header.is-menu-initializing .menu-toggle-icon span,
  .site-header.is-menu-initializing .main-nav > a {
    transition: none;
  }

  .main-nav > a {
    padding: 15px 18px 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    opacity: 0;
    transform: translateY(-7px);
    transition: color 180ms ease, background 180ms ease, opacity 200ms ease, transform 300ms cubic-bezier(0.2, 0.75, 0.25, 1);
  }

  .site-header.is-menu-open .main-nav > a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0ms, 0ms, var(--entry-delay, 0ms), var(--entry-delay, 0ms);
  }

  .site-header.is-menu-open .main-nav > a:nth-child(1) { --entry-delay: 35ms; }
  .site-header.is-menu-open .main-nav > a:nth-child(2) { --entry-delay: 65ms; }
  .site-header.is-menu-open .main-nav > a:nth-child(3) { --entry-delay: 95ms; }
  .site-header.is-menu-open .main-nav > a:nth-child(4) { --entry-delay: 125ms; }
  .site-header.is-menu-open .main-nav > a:nth-child(5) { --entry-delay: 155ms; }
  .site-header.is-menu-open .main-nav > a:nth-child(6) { --entry-delay: 185ms; }

  .main-nav > a:not(.menu-contact)::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    width: 3px;
    height: 20px;
    border-radius: 999px;
    background: var(--orange);
    transform: translateY(-50%) scaleY(0);
    transition: transform 180ms ease;
  }

  .main-nav > a:not(.menu-contact):hover,
  .main-nav > a:not(.menu-contact):focus-visible {
    color: var(--blue-dark);
    background: rgba(7, 82, 142, 0.055);
  }

  .main-nav > a:not(.menu-contact).is-active,
  .main-nav > a[aria-current="page"] {
    color: var(--blue-deep);
    background: rgba(7, 82, 142, 0.11);
  }

  .main-nav > a:not(.menu-contact).is-active::before,
  .main-nav > a[aria-current="page"]::before {
    transform: translateY(-50%) scaleY(1);
  }

  .main-nav > a::after {
    display: none;
  }

  .main-nav a.menu-contact {
    display: block;
    margin: 14px 6px 0;
    padding: 14px 18px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--blue-dark);
    text-align: center;
  }

  .main-nav a.menu-contact:hover,
  .main-nav a.menu-contact:focus-visible,
  .main-nav a.menu-contact.is-active {
    color: var(--white);
    background: var(--blue-deep);
  }

  .header-contact {
    display: none;
  }

  .archive-project {
    margin-inline: 0;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .privacy-sidebar {
    position: static;
  }

  .privacy-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

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

  .hero-copy {
    max-width: 780px;
  }

  .section-heading,
  .company-grid,
  .certifications-grid,
  .clients-heading,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .section-heading > p {
    max-width: 650px;
  }

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

  .page-hero-grid,
  .project-page-heading,
  .project-overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-hero-grid > p,
  .project-page-heading > p,
  .project-overview-grid > p {
    max-width: 680px;
  }

  .work-card {
    grid-template-columns: 1fr;
  }

  .work-card figure {
    min-height: 400px;
  }

  .work-card-copy {
    border-top: 6px solid var(--orange);
    border-left: 0;
  }

  .archive-contact-inner,
  .project-page-footer-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

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

  .project-photo {
    height: 220px;
  }

  .project-photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 420px;
    border-radius: 24px 24px 12px 12px;
  }

  .project-gallery-six .project-photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 420px;
    border-radius: 24px 24px 12px 12px;
  }

  .project-gallery-three .project-photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 420px;
    border-radius: 24px 24px 12px 12px;
  }

  .project-photo:last-child {
    grid-column: 1 / -1;
    height: 260px;
  }

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

  .project-facts div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(7, 82, 142, 0.18);
  }

  .project-facts div:nth-child(4) {
    border-top: 1px solid rgba(7, 82, 142, 0.18);
  }

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

  .process-list {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 24px;
    padding: 0;
  }

  .process-list .step-number {
    margin-bottom: 0;
  }

  .process-list li > div {
    padding-top: 14px;
  }

  .process-list li:not(:last-child)::before,
  .process-list li:not(:last-child)::after {
    width: 2px;
    height: calc(100% + 36px);
    top: 52px;
    right: auto;
    left: 25px;
  }

  .process-list li:not(:last-child)::after {
    background: rgba(7, 82, 142, 0.18);
  }

  .process-list li:not(:last-child)::before {
    background: var(--circuit-color);
    transform: scaleY(var(--circuit-progress));
    transform-origin: center top;
  }

  .process-list p {
    max-width: 600px;
  }

  .faq-title {
    position: static;
  }

  .certifications-intro {
    position: static;
  }

  .client-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "info" "form";
    gap: 44px;
  }

  .contact-details {
    max-width: 700px;
  }
}

@media (max-width: 660px) {
  .contact-field-row {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .header-inner {
    min-height: 74px;
    gap: 18px;
  }

  .main-nav {
    max-height: calc(100svh - 74px);
  }

  .brand {
    width: 145px;
  }

  .header-contact {
    padding: 10px 15px;
    font-size: 12px;
  }

  .hero {
    min-height: max(650px, calc(100svh - 74px));
    padding: 0;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(2, 20, 34, 0.9), rgba(2, 20, 34, 0.34)),
      linear-gradient(0deg, rgba(2, 20, 34, 0.84) 0%, rgba(2, 20, 34, 0.12) 68%);
  }

  .page-hero,
  .project-page-hero {
    padding: 64px 0 72px;
  }

  .page-hero h1,
  .project-page-hero h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .project-breadcrumb {
    margin-bottom: 52px;
  }

  .hero-grid {
    min-height: inherit;
    align-items: end;
    gap: 0;
    padding-top: 64px;
    padding-bottom: 88px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-text {
    padding-left: 18px;
    font-size: 16px;
  }

  .hero-highlights {
    gap: 12px 18px;
    margin-top: 26px;
  }

  .hero-controls {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-rows: 44px auto;
    width: 100%;
    gap: 6px 12px;
    margin-top: 32px;
  }

  .hero-counter {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
  }

  .hero-control[data-hero-prev] {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-control[data-hero-next] {
    grid-column: 3;
    grid-row: 1;
  }

  .hero-dots {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
  }

  .hero-dots button {
    width: 16px;
  }

  .hero-dots button.is-active {
    width: 30px;
  }

  .section {
    padding: 82px 0;
  }

  .privacy-layout {
    gap: 38px;
  }

  .privacy-index {
    grid-template-columns: 1fr;
  }

  .privacy-index a.is-active {
    padding-left: 12px;
    color: var(--muted);
    background: none;
    font-weight: 700;
  }

  .privacy-index a.is-active::before {
    opacity: 0;
    transform: scaleY(0.35);
  }

  .privacy-lead {
    margin-bottom: 48px;
  }

  .privacy-content section {
    padding-left: 36px;
  }

  .privacy-address,
  .privacy-note,
  .privacy-purposes > div {
    padding: 18px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .company h2,
  .certifications h2,
  .clients-heading h2,
  .faq h2,
  .contact h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .service-card {
    padding: 30px 25px;
  }

  .projects-preview .project-photo-main {
    height: 300px;
    border-radius: 18px;
  }

  .featured-project-label {
    right: 18px;
    bottom: 17px;
  }

  .work-card figure {
    min-height: 0;
    height: 260px;
  }

  .work-card-copy {
    padding: 30px 24px;
  }

  .work-card h3 {
    margin-top: 34px;
  }

  .archive-project + .archive-project {
    margin-top: 40px;
    padding-top: 40px;
  }

  .archive-project {
    margin-inline: 0;
  }

  .archive-project-heading {
    margin-bottom: 32px;
  }

  .archive-contact-inner,
  .project-page-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-overview-grid {
    margin-bottom: 42px;
  }

  .project-overview h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-photo,
  .project-photo-main,
  .project-photo:last-child {
    grid-column: 1;
    grid-row: auto;
    height: 230px;
    border-radius: 16px;
  }

  .project-photo-main {
    height: 290px;
  }

  .project-gallery-six .project-photo-main {
    grid-column: 1;
    grid-row: auto;
    height: 290px;
    border-radius: 16px;
  }

  .project-gallery-three .project-photo-main {
    grid-column: 1;
    grid-row: auto;
    height: 290px;
    border-radius: 16px;
  }

  .archive-project .project-photo,
  .archive-project .project-photo-main,
  .archive-project .project-photo:last-child,
  .archive-project .project-gallery-six .project-photo-main,
  .archive-project .project-gallery-three .project-photo-main {
    height: 240px;
  }

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

  .archive-project > .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
  }

  .project-facts div,
  .project-facts div:not(:first-child),
  .project-facts div:nth-child(3),
  .project-facts div:nth-child(4) {
    padding: 18px 0;
    border-top: 1px solid rgba(7, 82, 142, 0.18);
    border-left: 0;
  }

  .project-facts div:first-child {
    border-top: 0;
  }

  .archive-project > .project-facts div:nth-child(2) {
    border-top: 0;
  }

  .archive-project > .project-facts div:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid rgba(7, 82, 142, 0.18);
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox figure > img {
    max-height: 82vh;
    border-radius: 8px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .company-values {
    grid-template-columns: 1fr;
  }

  .client-logo {
    min-height: 150px;
    padding: 22px;
  }

  .certificate-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .certificate-card {
    display: block;
    padding: 30px 26px;
  }

  .certificate-stamp {
    position: absolute;
    z-index: 1;
    top: 106px;
    right: -12px;
    width: 148px;
    height: 148px;
    margin: 0;
    transform: rotate(-10deg);
  }

  .certificate-stamp::after {
    width: 220px;
    height: 220px;
  }

  .stamp-arc-text {
    font-size: 8px;
  }

  .certificate-card h3 {
    max-width: none;
    margin-bottom: 20px;
  }

  .certificate-meta a {
    width: 100%;
    justify-content: space-between;
  }

  .faq-list summary {
    font-size: 18px;
  }

  .contact {
    padding: 78px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .footer-inner p {
    width: auto;
  }

  .footer-details {
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
  }

  .back-to-top {
    display: none;
  }
}

.not-found-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.not-found-page .site-footer {
  margin-top: auto;
}

.not-found-main {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 650px;
  padding: clamp(60px, 7vw, 92px) 0 clamp(54px, 6vw, 78px);
  background: var(--cream);
}

.not-found-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.not-found-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.not-found-code {
  margin: 0;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(100px, 11vw, 156px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.not-found-code span {
  color: var(--orange);
}

.not-found-title {
  margin: 24px 0 10px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.not-found-description {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.not-found-illustration {
  position: relative;
  overflow: hidden;
  width: 100vw;
  height: clamp(230px, 33.85vw, 520px);
  margin: clamp(-78px, -4.7vw, -54px) calc(50% - 50vw) clamp(16px, 2vw, 28px);
}

.not-found-illustration img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(760px, 100vw);
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

@media (max-width: 660px) {
  .not-found-main {
    min-height: 0;
    padding: 56px 0 66px;
  }

  .not-found-code {
    font-size: clamp(92px, 29vw, 124px);
  }

  .not-found-title {
    margin-top: 20px;
    font-size: clamp(30px, 9vw, 40px);
  }

  .not-found-description {
    max-width: 310px;
    margin-inline: auto;
    font-size: 15px;
  }

  .not-found-illustration {
    margin-top: -30px;
    margin-bottom: 24px;
  }
}

@media (max-width: 360px) {
  .archive-project > .project-facts {
    grid-template-columns: 1fr;
  }

  .archive-project > .project-facts div:nth-child(2),
  .archive-project > .project-facts div:nth-child(even) {
    padding-left: 0;
    border-top: 1px solid rgba(7, 82, 142, 0.18);
    border-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .service-card .service-icon svg,
  .service-card .service-icon svg *,
  .service-card .service-icon::after {
    animation: none !important;
  }

}
