.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 0;
  color: #fff;
  background: linear-gradient(125deg, var(--navy-deep), var(--navy));
}

.page-hero--about,
.page-hero--services,
.page-hero--projects,
.page-hero--sector,
.page-hero--search,
.page-hero--news,
.page-hero--careers,
.page-hero--contact {
  background:
    linear-gradient(135deg, rgba(3, 15, 35, .96), rgba(14, 36, 79, .88)),
    url('../images/brand/engineering-hero-blueprint.jpg') center / cover no-repeat;
}

.page-hero__grid,
.about-hero-grid,
.service-detail-hero,
.project-detail-hero,
.news-detail-hero {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-evidence-board,
.hero-evidence-panel {
  display: grid;
  gap: .75rem;
  padding: clamp(1rem, 3vw, 1.45rem);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .2);
  backdrop-filter: blur(12px);
}

.hero-evidence-board span,
.hero-evidence-panel span {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: .7rem;
  padding: .75rem .85rem;
  color: #f4f8ff;
  background: rgba(255, 255, 255, .08);
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.35;
}

.hero-evidence-board i,
.hero-evidence-panel i {
  color: var(--gold);
}

.editorial-copy {
  max-width: 760px;
}

.editorial-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.info-panel--elevated,
.about-readiness {
  box-shadow: 0 24px 70px rgba(14, 36, 79, .1);
}

.check-list,
.about-readiness ul,
.service-scope-list {
  display: grid;
  gap: .75rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.check-list li,
.about-readiness li,
.service-scope-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: var(--ink);
}

.check-list li::before {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--engineering-blue);
  content: 'âœ“';
  font-size: .72rem;
  font-weight: 900;
}

.about-readiness li i,
.service-scope-list li i {
  margin-top: .2rem;
  color: var(--engineering-blue);
}

.governance-panel,
.contact-grid,
.project-overview-grid,
.about-profile-grid {
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: start;
}

.governance-panel {
  align-items: center;
}

.service-detail-media,
.project-hero-image,
.article-featured-image {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .22);
}

.service-detail-media img,
.project-hero-image,
.article-featured-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

.project-hero-image {
  border: 0;
  border-radius: 4px 34px 4px 4px;
}

.article-layout {
  display: grid;
  gap: 1.25rem;
}

.article-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--surface);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-content {
  max-width: 860px;
}

.article-content p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.85;
}

.article-date {
  color: #dbe8ff;
  font-weight: 800;
}

.career-values-grid {
  display: grid;
  gap: 1rem;
}

.value-card,
.contact-card,
.form-panel {
  border: 1px solid rgba(14, 36, 79, .1);
  background: #fff;
  box-shadow: 0 24px 70px rgba(14, 36, 79, .08);
}

.value-card {
  min-height: 100%;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.value-card i {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 1.15rem;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: var(--navy);
}

.value-card h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.value-card p {
  color: var(--muted);
}

.contact-card,
.form-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-card address {
  display: grid;
  gap: .9rem;
  margin: 1.2rem 0 1.5rem;
  font-style: normal;
}

.contact-card address p {
  display: flex;
  gap: .75rem;
  margin: 0;
  color: var(--muted);
}

.contact-card address i {
  margin-top: .25rem;
  color: var(--engineering-blue);
}

.form-panel {
  border-top: 4px solid var(--engineering-blue);
}

.form-panel .btn,
.contact-card .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .page-hero__grid,
  .about-hero-grid,
  .service-detail-hero,
  .project-detail-hero,
  .news-detail-hero,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .56fr);
  }

  .about-profile-grid,
  .project-overview-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  }

  .governance-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

  .article-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .article-rail {
    position: sticky;
    top: 110px;
    display: grid;
    min-height: 220px;
    align-content: space-between;
  }
}

@media (max-width: 575.98px) {
  .hero-evidence-board,
  .hero-evidence-panel {
    padding: .8rem;
  }

  .hero-evidence-board span,
  .hero-evidence-panel span {
    min-height: 42px;
    padding: .62rem .7rem;
    font-size: .78rem;
  }

  .form-panel .btn,
  .contact-card .btn {
    width: 100%;
  }
}

/* DB-backed Clients and portfolio gallery additions. */
.client-proof-section {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, .96), rgba(255, 255, 255, 1));
}

.client-marquee-grid,
.client-logo-grid {
  display: grid;
  gap: .9rem;
}

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

.client-marquee-card,
.client-logo-card {
  border: 1px solid rgba(14, 36, 79, .11);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(14, 36, 79, .07);
}

.client-marquee-card {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .9rem;
}

.client-marquee-card img {
  max-width: 108px;
  max-height: 48px;
  object-fit: contain;
}

.client-marquee-card span {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.25;
}

.page-hero--clients {
  background:
    linear-gradient(135deg, rgba(14, 36, 79, .94), rgba(25, 74, 131, .86)),
    url('../images/brand/engineering-hero-blueprint.jpg') center / cover no-repeat;
}

.clients-section {
  background:
    radial-gradient(circle at 10% 15%, rgba(47, 128, 237, .08), transparent 28%),
    #fff;
}

.client-logo-grid {
  grid-template-columns: 1fr;
}

.client-logo-card {
  min-height: 218px;
  padding: 1.35rem;
  backface-visibility: hidden;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .22s ease;
}

.client-logo-card:hover {
  border-color: rgba(14, 36, 79, .24);
  box-shadow: 0 26px 56px rgba(14, 36, 79, .12);
  transform: translate3d(0, -3px, 0);
}

.client-logo-card a {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.client-logo-card__mark {
  display: grid;
  width: 100%;
  min-height: 128px;
  margin: 0 auto 1.1rem;
  place-items: center;
}

.client-logo-card img {
  width: 100%;
  max-width: 220px;
  height: 120px;
  margin: 0 auto;
  image-rendering: auto;
  object-fit: contain;
  object-position: center center;
  transform: translateZ(0);
}

.client-logo-card__fallback {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--engineering-blue));
}

.client-logo-card h3 {
  margin: 0 0 .55rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.client-logo-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.project-gallery-grid {
  display: grid;
  gap: 1rem;
}

.project-gallery-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(14, 36, 79, .1);
  background: #fff;
  box-shadow: 0 18px 44px rgba(14, 36, 79, .08);
}

.project-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-gallery-item figcaption {
  padding: .85rem 1rem;
  color: var(--muted);
  font-size: .88rem;
}

@media (min-width: 576px) {
  .client-marquee-grid,
  .client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .project-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .client-marquee-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

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

@media (prefers-reduced-motion: reduce) {
  .client-logo-card {
    transition: none;
  }
}

.project-detail-layout.project-detail-layout--article {
  grid-template-columns: minmax(0, 1fr);
}

.project-detail-layout.project-detail-layout--article .project-detail-main {
  width: 100%;
}

.project-detail-main .project-facts {
  margin-top: clamp(1.35rem, 3vw, 2.1rem);
  padding: clamp(1.1rem, 2.8vw, 1.55rem);
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 28px 8px 28px 8px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 249, 255, .94)),
    radial-gradient(circle at 100% 0, rgba(201, 162, 77, .14), transparent 34%);
  box-shadow: 0 16px 38px rgba(14, 36, 79, .07);
  backdrop-filter: none;
}

.project-facts__header {
  display: flex;
  gap: .85rem;
  align-items: center;
  margin-bottom: 1rem;
}

.project-facts__header .eyebrow {
  margin-bottom: .25rem;
}

.project-facts__header h2 {
  margin: 0;
}

.project-facts__grid {
  display: grid;
  gap: .85rem;
  margin: 0;
}

.project-facts__item {
  min-width: 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(14, 36, 79, .08);
  border-radius: 18px 6px 18px 6px;
  background: #fff;
}

.project-facts__item dt {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-facts__item dt i {
  color: var(--gold);
}

.project-facts__item dd {
  margin: .38rem 0 0;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.45;
}

.project-gallery-preview {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.project-gallery-preview::before,
.project-gallery-preview::after {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease-in-out, transform .22s ease-in-out;
}

.project-gallery-preview::before {
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(14, 36, 79, .68));
  content: '';
}

.project-gallery-preview::after {
  right: .85rem;
  bottom: .85rem;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 14px 30px rgba(14, 36, 79, .18);
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transform: translateY(8px);
}

.project-gallery-preview img {
  transition: transform .28s ease-in-out;
}

.project-gallery-preview:hover::before,
.project-gallery-preview:focus-visible::before,
.project-gallery-preview:hover::after,
.project-gallery-preview:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.project-gallery-preview:hover img,
.project-gallery-preview:focus-visible img {
  transform: scale(1.035);
}

.project-gallery-preview:focus-visible {
  outline: 3px solid rgba(201, 162, 77, .72);
  outline-offset: 3px;
}

.project-expertise-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 128, 237, .13), transparent 32%),
    linear-gradient(135deg, rgba(14, 36, 79, .06), rgba(237, 242, 251, .86));
}

.project-expertise-panel {
  position: relative;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  padding: clamp(1.35rem, 3.4vw, 2.6rem);
  border-radius: 34px 8px 34px 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(14, 36, 79, .98), rgba(7, 22, 47, .96)),
    radial-gradient(circle at 100% 0, rgba(201, 162, 77, .28), transparent 36%);
  box-shadow: 0 30px 80px rgba(3, 15, 35, .22);
}

.project-expertise-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .75), transparent 78%);
}

.project-expertise-panel__copy,
.project-expertise-panel__list {
  position: relative;
  z-index: 1;
}

.project-expertise-panel__copy {
  max-width: 620px;
}

.project-expertise-panel__copy h2 {
  margin: 0 0 .75rem;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 900;
}

.project-expertise-panel__copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.8;
}

.project-expertise-panel__list {
  display: grid;
  gap: .85rem;
}

.project-expertise-chip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .9rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px 6px 22px 6px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(12px);
  transition: transform .22s ease-in-out, border-color .22s ease-in-out, background-color .22s ease-in-out;
}

.project-expertise-chip:hover,
.project-expertise-chip:focus-visible {
  color: #fff;
  border-color: rgba(201, 162, 77, .68);
  background: rgba(255, 255, 255, .15);
  transform: translateY(-3px);
}

.project-expertise-chip:only-child {
  grid-column: 1 / -1;
}

.project-expertise-chip__icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px 4px 18px 4px;
  color: var(--navy);
  background: var(--gold);
}

.project-expertise-chip strong,
.project-expertise-chip small {
  display: block;
}

.project-expertise-chip strong {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.35;
}

.project-expertise-chip small {
  margin-top: .25rem;
  color: rgba(255, 255, 255, .68);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .project-expertise-panel {
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
    align-items: center;
  }

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

.project-related-services-grid {
  display: grid;
  gap: 1rem;
}

.project-related-service-card {
  display: grid;
  min-height: 100%;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 26px 8px 26px 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 249, 255, .94)),
    radial-gradient(circle at 100% 0, rgba(201, 162, 77, .15), transparent 34%);
  box-shadow: 0 16px 38px rgba(14, 36, 79, .07);
  backface-visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), border-color .22s ease, box-shadow .22s ease;
}

.project-related-service-card:hover {
  border-color: rgba(201, 162, 77, .38);
  box-shadow: 0 22px 46px rgba(14, 36, 79, .11);
  transform: translate3d(0, -4px, 0);
}

.project-related-service-card__icon {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px 4px 18px 4px;
  color: var(--navy);
  background: rgba(201, 162, 77, .16);
}

.project-related-service-card__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.project-related-service-card__icon i {
  font-size: 1.35rem;
}

.project-related-service-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 900;
  line-height: 1.3;
}

.project-related-service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.project-related-service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-related-service-card .btn,
.project-related-service-card__link {
  justify-self: start;
  align-self: end;
  margin-top: .25rem;
}

.project-related-service-card:hover .btn,
.project-related-service-card:focus-within .btn {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
  transform: translate3d(3px, 0, 0);
}

.project-more-grid {
  display: grid;
  gap: 1rem;
}

.project-more-grid .related-project-card {
  min-height: 100%;
  backface-visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), border-color .22s ease, box-shadow .22s ease;
}

.project-more-grid .related-project-card:hover {
  border-color: rgba(201, 162, 77, .38);
  box-shadow: 0 22px 46px rgba(14, 36, 79, .12);
  transform: translate3d(0, -4px, 0);
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.project-lightbox.is-visible {
  display: flex;
}

.project-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  opacity: 0;
  background: rgba(4, 14, 32, .82);
  transition: opacity .28s ease-in-out;
}

.project-lightbox.is-open .project-lightbox__backdrop {
  opacity: 1;
}

.project-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1400px, 100%);
  max-height: calc(100vh - 3rem);
  overflow: hidden;
  border-radius: 28px 8px 28px 8px;
  background: #081832;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
  transform: translateY(12px) scale(.98);
  opacity: 0;
  transition: opacity .22s ease-in-out, transform .22s ease-in-out;
}

.project-lightbox.is-open .project-lightbox__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 3rem);
  object-fit: contain;
  background: #081832;
}

.project-lightbox__close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 2;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  cursor: pointer;
  transition: transform .18s ease-in-out, background-color .18s ease-in-out;
}

.project-lightbox__close:hover,
.project-lightbox__close:focus-visible {
  background: #fff;
  transform: rotate(8deg) scale(1.04);
}

.project-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .18s ease-in-out, background-color .18s ease-in-out, opacity .18s ease-in-out;
}

.project-lightbox__nav--previous {
  left: .85rem;
}

.project-lightbox__nav--next {
  right: .85rem;
}

.project-lightbox__nav:hover,
.project-lightbox__nav:focus-visible {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.project-lightbox__nav[hidden] {
  display: none;
}

body.project-lightbox-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .project-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 992px) {
  .project-facts__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 1200px) {
  .project-related-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .project-lightbox {
    padding: .75rem;
  }

  .project-lightbox__dialog {
    max-height: calc(100vh - 1.5rem);
  }

  .project-lightbox__image {
    max-height: calc(100vh - 1.5rem);
  }

  .project-lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .project-lightbox__nav--previous {
    left: .5rem;
  }

  .project-lightbox__nav--next {
    right: .5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-gallery-preview::before,
  .project-gallery-preview::after,
  .project-gallery-preview img,
  .project-related-service-card,
  .project-more-grid .related-project-card,
  .project-lightbox__dialog,
  .project-lightbox__close,
  .project-lightbox__nav {
    transition: none;
  }

  .project-gallery-preview:hover img,
  .project-gallery-preview:focus-visible img,
  .project-related-service-card:hover,
  .project-more-grid .related-project-card:hover,
  .project-lightbox__close:hover,
  .project-lightbox__close:focus-visible {
    transform: none;
  }

  .project-lightbox__nav:hover,
  .project-lightbox__nav:focus-visible {
    transform: translateY(-50%);
  }
}

/* Premium non-home page pass: denser evidence-led pages without touching Home. */
body:not(.home-page) .page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.75rem, 8vw, 7rem) 0 clamp(3.4rem, 6vw, 5rem);
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 162, 77, .28), transparent 24%),
    linear-gradient(135deg, rgba(14, 36, 79, .98), rgba(16, 56, 109, .92));
}

body:not(.home-page) .page-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: .28;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 42px 42px;
}

body:not(.home-page) .page-hero .container {
  position: relative;
  z-index: 1;
}

body:not(.home-page) .page-hero .eyebrow {
  color: var(--navy-deep);
}

body:not(.home-page) .page-hero h1 {
  max-width: 900px;
  color: var(--navy-deep);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -.045em;
}

body:not(.home-page) .page-hero .lead {
  max-width: 760px;
  color: var(--navy-deep);
}

.content-columns,
.form-layout {
  align-items: start;
}

.content-columns > div,
.article-content,
.form-layout > div,
.info-panel,
.cta-panel,
.listing-toolbar {
  border: 1px solid rgba(14, 36, 79, .1);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 58px rgba(14, 36, 79, .08);
}

.content-columns > div,
.article-content,
.form-layout > div {
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

.info-panel,
.cta-panel,
.listing-toolbar {
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
}

.info-panel {
  border-top: 4px solid var(--gold);
}

.card-grid--three .card,
.news-card,
.project-card,
.service-showcase-card,
.project-catalog-card,
.client-logo-card {
  border-radius: 4px;
}

.service-showcase-card,
.project-catalog-card,
.news-card {
  min-height: 100%;
}

.news-card .card__body,
.service-showcase-card__content,
.project-catalog-card > div {
  min-height: 270px;
}

.article-content {
  max-width: 900px;
}

.article-content .content-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.form-field input,
.form-field textarea {
  border-radius: 4px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--engineering-blue);
  box-shadow: 0 0 0 .2rem rgba(47, 128, 237, .14);
}

.clients-section .section-heading {
  margin-bottom: 1.5rem;
}

.client-logo-card {
  display: grid;
  text-align: center;
}

.client-logo-card > a,
.client-logo-card > :not(a) {
  min-width: 0;
  justify-items: center;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  opacity: .4;
  background-image: linear-gradient(rgba(114, 161, 231, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(114, 161, 231, .16) 1px, transparent 1px);
  background-size: 48px 48px;
  content: '';
  pointer-events: none;
}

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

.page-hero h1,
.page-hero .lead {
  color: #fff;
}

.page-hero .eyebrow {
  color: #afd1ff;
}

.intro-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.intro-grid h2 {
  max-width: 650px;
  margin: 0;
}

.intro-copy {
  max-width: 530px;
}

.intro-copy p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.expertise-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.expertise-card {
  position: relative;
  min-height: 280px;
  padding: 1.8rem;
  background: #fff;
}

.expertise-card h3 {
  max-width: 290px;
  margin: 2.4rem 0 .75rem;
}

.expertise-card p {
  max-width: 310px;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: .9rem;
}

.expertise-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(47, 128, 237, .35);
  border-radius: 50%;
  color: var(--engineering-blue);
  font-size: 1.1rem;
}

.expertise-card__index {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  color: #bdcbe0 !important;
  font-size: .78rem !important;
  font-weight: 800;
  letter-spacing: .1em;
}

.expertise-card .icon-link {
  position: absolute;
  bottom: 1.8rem;
}

.sectors-showcase {
  padding-bottom: clamp(4rem, 8vw, 7.5rem);
}

.sectors-grid {
  display: grid;
  gap: 1rem;
}

.sector-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 1.7rem;
  border-top: 3px solid var(--navy);
  background: var(--navy-pale);
  box-shadow: 0 16px 40px rgba(14, 36, 79, .07);
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition:
    background-color .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    transform .34s cubic-bezier(.2, .7, .2, 1);
}

.sector-card:hover,
.sector-card:focus-within {
  border-color: var(--gold);
  background-color: #fff;
  box-shadow: 0 28px 62px rgba(14, 36, 79, .18);
  transform: translate3d(0, -4px, 0);
}

.sector-card__icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(14, 36, 79, .2);
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(14, 36, 79, .08);
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition:
    border-color .22s ease,
    background-color .22s ease,
    box-shadow .22s ease,
    transform .3s cubic-bezier(.2, .7, .2, 1);
}

.sector-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .35rem;
  filter: brightness(0) invert(1);
}

.sector-card__icon i {
  color: #fff;
  font-size: 1.35rem;
}

.sector-card h3 {
  margin: 2.1rem 0 .75rem;
}

.sector-card h3 a,
.sector-card p,
.sector-card .editorial-link,
.sector-card .editorial-link i {
  transition: color .28s ease, transform .22s ease;
}

.sector-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.sector-card:hover .editorial-link i,
.sector-card:focus-within .editorial-link i {
  color: var(--gold);
}

.sector-card:hover .editorial-link,
.sector-card:focus-within .editorial-link {
  color: var(--engineering-blue);
}

.sector-card:hover .sector-card__icon,
.sector-card:focus-within .sector-card__icon {
  border-color: rgba(201, 162, 77, .48);
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(14, 36, 79, .14);
  transform: translate3d(0, -2px, 0);
}

.sector-card .editorial-link {
  margin-top: 1rem;
}

.sector-card--home-overlay {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  border-color: rgba(255, 255, 255, .18);
  background:
    radial-gradient(circle at 12% 10%, rgba(47, 128, 237, .2), transparent 32%),
    var(--navy);
  color: #fff;
}

.sector-card--home-overlay::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background:
    linear-gradient(180deg, rgba(7, 22, 47, .52) 0%, rgba(7, 22, 47, .84) 100%),
    linear-gradient(135deg, rgba(14, 36, 79, .88), rgba(47, 128, 237, .46));
  transition: opacity .36s ease, background .36s ease;
}

.sector-card__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  filter: saturate(.9) contrast(1.04);
  opacity: .72;
  transform: scale(1.01);
  transition:
    opacity .42s ease,
    filter .42s ease,
    transform .72s cubic-bezier(.2, .7, .2, 1);
}

.sector-card--home-overlay .sector-card__icon,
.sector-card--home-overlay > .fa-solid {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .14);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
  backdrop-filter: blur(10px);
}

.sector-card--home-overlay > .fa-solid {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  color: #fff;
  font-size: 1.35rem;
}

.sector-card--home-overlay h3,
.sector-card--home-overlay p {
  position: relative;
  z-index: 1;
}

.sector-card--home-overlay h3 a {
  color: #fff;
}

.sector-card--home-overlay p {
  color: rgba(255, 255, 255, .82);
}

.sector-card--home-overlay:hover,
.sector-card--home-overlay:focus-within {
  border-color: rgba(201, 162, 77, .78);
  background-color: var(--navy);
}

.sector-card--home-overlay:hover::before,
.sector-card--home-overlay:focus-within::before {
  opacity: .92;
}

.sector-card--home-overlay:hover .sector-card__background,
.sector-card--home-overlay:focus-within .sector-card__background {
  filter: saturate(1.04) contrast(1.07);
  opacity: .9;
  transform: scale(1.055);
}

.sector-card--home-overlay:hover h3 a,
.sector-card--home-overlay:focus-within h3 a {
  color: #fff;
}

.sector-card--index {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 28px 8px 28px 8px;
  background: #fff;
}

.sector-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy-pale);
  text-decoration: none;
}

.sector-card__media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: '';
  background:
    linear-gradient(180deg, rgba(3, 15, 35, 0) 48%, rgba(3, 15, 35, .42) 100%),
    linear-gradient(135deg, rgba(14, 36, 79, .18), rgba(47, 128, 237, .04));
  pointer-events: none;
}

.sector-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .62s cubic-bezier(.2, .7, .2, 1), filter .36s ease;
}

.sector-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 1.55rem 1.7rem 1.7rem;
}

.sector-card--with-media .sector-card__body {
  padding-top: 0;
}

.sector-card--with-media .sector-card__icon {
  position: relative;
  z-index: 2;
  margin-top: -29px;
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 16px 34px rgba(14, 36, 79, .2);
}

.sector-card--index h3 {
  margin-top: 1.2rem;
}

.sector-card--index p {
  flex: 1;
}

.sector-card--index:hover .sector-card__media img,
.sector-card--index:focus-within .sector-card__media img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.045);
}

html.aos-enabled .sector-card[data-aos] {
  transition-property: opacity, transform, background-color, border-color, box-shadow !important;
  transition-duration: .32s, .32s, .24s, .24s, .24s !important;
  transition-timing-function: cubic-bezier(.2, .7, .2, 1), cubic-bezier(.2, .7, .2, 1), ease, ease, ease !important;
}

.sector-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.4rem, 3.4vw, 3rem);
  align-items: center;
}

.sector-detail-main {
  max-width: 920px;
}

.sector-detail-media {
  margin: 0;
  overflow: hidden;
  border-radius: 28px 8px 28px 8px;
  background: var(--navy-pale);
  box-shadow: var(--shadow-sm);
}

.sector-detail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sector-rich-text {
  color: var(--ink);
}

.sector-rich-text :first-child {
  margin-top: 0;
}

.sector-rich-text :last-child {
  margin-bottom: 0;
}

.sector-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.sector-insight-card {
  min-height: 320px;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid rgba(14, 36, 79, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sector-insight-card--navy {
  color: #fff;
  border-color: rgba(255, 255, 255, .1);
  background:
    linear-gradient(135deg, rgba(47, 128, 237, .22), transparent 42%),
    var(--navy-deep);
}

.sector-insight-card--navy .eyebrow,
.sector-insight-card--navy h2,
.sector-insight-card--navy p,
.sector-insight-card--navy .sector-rich-text {
  color: #fff;
}

.sector-branch-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sector-branch-list li,
.sector-branch-fallback {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: .85rem;
  padding: .95rem 1rem;
  border: 1px solid rgba(14, 36, 79, .12);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(14, 36, 79, .07);
}

.sector-branch-list__icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 10px 4px 10px 4px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(14, 36, 79, .14);
}

.sector-branch-list__icon i {
  color: #fff;
  font-size: 1rem;
}

.sector-card--rich {
  position: relative;
  display: grid;
  min-height: 250px;
  gap: 1.15rem;
  padding: clamp(1.2rem, 2.4vw, 1.65rem);
  border: 1px solid rgba(14, 36, 79, .08);
  border-top: 3px solid var(--navy);
  border-radius: 28px 8px 28px 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 249, 255, .94)),
    radial-gradient(circle at 100% 0, rgba(47, 128, 237, .12), transparent 34%);
  box-shadow: 0 16px 40px rgba(14, 36, 79, .07);
  backface-visibility: hidden;
  transition: border-color .22s ease, box-shadow .22s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
}

.sector-card--rich:hover {
  border-color: rgba(47, 128, 237, .28);
  box-shadow: 0 24px 56px rgba(14, 36, 79, .12);
  transform: translate3d(0, -4px, 0);
}

.sector-card__icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(14, 36, 79, .2);
  border-radius: 18px 6px 18px 6px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(14, 36, 79, .08);
}

.sector-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .5rem;
  filter: brightness(0) invert(1);
}

.sector-card__icon i {
  color: #fff;
  font-size: 1.3rem;
}

.sector-card__copy {
  min-width: 0;
}

.sector-card__copy h3 {
  margin: 0 0 .7rem;
}

.sector-card__copy h3 a {
  color: var(--navy);
  text-decoration: none;
}

.sector-card__copy h3 a:hover,
.sector-card__copy h3 a:focus-visible {
  color: var(--engineering-blue);
}

.sector-card__index {
  margin: 0 0 .45rem !important;
  color: var(--gold) !important;
  font-size: .74rem !important;
  font-weight: 900;
  letter-spacing: .12em;
}

.sector-card__link {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(47, 128, 237, .2);
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  text-decoration: none;
  transform: translate3d(0, 0, 0);
  transition: color .22s ease, background-color .22s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
}

.sector-card__link:hover,
.sector-card__link:focus-visible {
  color: #fff;
  background: var(--navy);
  transform: translate3d(3px, 0, 0);
}

.sector-detail-layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.sector-detail-main,
.sector-rich-content {
  min-width: 0;
}

.sector-rich-content,
.sector-rich-text {
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.85;
}

.sector-rich-content > *:first-child,
.sector-rich-text > *:first-child {
  margin-top: 0;
}

.sector-rich-content > *:last-child,
.sector-rich-text > *:last-child {
  margin-bottom: 0;
}

.sector-rich-content ul,
.sector-rich-content ol,
.sector-rich-text ul,
.sector-rich-text ol {
  display: grid;
  gap: .55rem;
  padding-left: 1.3rem;
}

.sector-rich-content table,
.sector-rich-text table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 1.4rem 0;
  border-collapse: collapse;
}

.sector-rich-content th,
.sector-rich-content td,
.sector-rich-text th,
.sector-rich-text td {
  padding: .75rem .85rem;
  border: 1px solid rgba(14, 36, 79, .12);
  vertical-align: top;
}

.sector-rich-content th,
.sector-rich-text th {
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.sector-insight-grid {
  display: grid;
  gap: clamp(1rem, 2.6vw, 1.5rem);
}

.sector-insight-panel,
.sector-insight-card {
  min-height: 100%;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(14, 36, 79, .09);
  border-radius: 28px 8px 28px 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(14, 36, 79, .07);
}

.sector-insight-panel h2,
.sector-insight-card h2 {
  margin-top: 0;
}

.sector-insight-card--navy {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(14, 36, 79, .98), rgba(24, 59, 122, .94)),
    radial-gradient(circle at 100% 0, rgba(201, 162, 77, .22), transparent 36%);
}

.sector-insight-card--navy h2,
.sector-insight-card--navy p,
.sector-insight-card--navy .sector-rich-text {
  color: #fff;
}

.sector-branch-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sector-branch-list li,
.sector-branch-fallback {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: .85rem;
  padding: .95rem 1rem;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 12px;
  color: var(--navy);
  background: #fff;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(14, 36, 79, .06);
}

.sector-branch-list i {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .sector-card {
    transition:
      background-color .22s ease,
      border-color .22s ease,
      box-shadow .22s ease,
      transform .26s cubic-bezier(.2, .7, .2, 1),
      translate .26s cubic-bezier(.2, .7, .2, 1);
  }

  .sector-card__icon {
    transition:
      border-color .2s ease,
      background-color .2s ease,
      box-shadow .2s ease,
      transform .24s cubic-bezier(.2, .7, .2, 1);
  }
}

.sector-project-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.25rem);
}

.projects-showcase {
  background: var(--navy-deep);
}

.projects-showcase h2,
.projects-showcase .editorial-link {
  color: #fff;
}

.projects-showcase .eyebrow {
  color: #9fc6fb;
}

.project-feature-grid {
  display: grid;
  gap: 1rem;
}

.project-feature {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: var(--navy);
}

.project-feature>img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.project-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 15, 35, .92), rgba(3, 15, 35, 0) 67%);
  content: '';
}

.project-feature__overlay {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1;
  color: #fff;
}

.project-feature__overlay p,
.project-brief p {
  margin: 0 0 .4rem;
  color: #aaceff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.project-feature__overlay h3 {
  margin: 0 0 .55rem;
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
}

.project-feature__overlay h3 a {
  color: inherit;
}

.project-feature__overlay span,
.project-brief span {
  font-size: .82rem;
}

.project-feature__overlay span i,
.project-brief span i {
  color: var(--gold);
}

.project-side-list {
  display: grid;
  gap: 1rem;
}

.project-brief {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: .8rem;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
}

.project-brief img {
  width: 115px;
  height: 115px;
  object-fit: cover;
}

.project-brief h3 {
  margin: 0 0 .5rem;
  color: #fff;
  font-size: 1rem;
}

.project-brief h3 a {
  color: inherit;
}

.project-brief span {
  color: #d9e6fa;
}

.sustainability-gateway {
  background: linear-gradient(115deg, #f0f8f1 0%, #fff 65%);
}

.sustainability-gateway__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.sustainability-gateway h2 {
  max-width: 700px;
  margin: 0 0 1rem;
}

.sustainability-gateway p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
}

.sustainability-gateway__mark {
  display: grid;
  min-height: 190px;
  place-items: center;
  align-content: center;
  border: 1px solid #c7e1ca;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--leed-green);
  text-align: center;
}

.sustainability-gateway__mark i {
  font-size: 3rem;
}

.sustainability-gateway__mark span {
  margin-top: .75rem;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.15;
}

.news-showcase {
  background: var(--surface);
}

.news-editorial-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.news-editorial-card {
  position: relative;
  min-height: 280px;
  padding: 1.7rem 1.7rem 3.6rem;
  background: #fff;
}

.news-editorial-card>p:first-child {
  color: var(--engineering-blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.news-editorial-card h3 {
  margin: 1rem 0;
}

.news-editorial-card p {
  color: var(--muted);
  font-size: .9rem;
}

.news-editorial-card .icon-link {
  position: absolute;
  bottom: 1.6rem;
}

.service-showcase-grid {
  display: grid;
  gap: 1rem;
}

.service-showcase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.service-showcase-card>img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-showcase-card__content {
  padding: 1.4rem;
}

.service-showcase-card__content .expertise-card__icon {
  width: 40px;
  height: 40px;
}

.service-showcase-card h3 {
  margin: 1.35rem 0 .6rem;
}

.service-showcase-card p {
  color: var(--muted);
  font-size: .9rem;
}

.project-catalog-grid {
  display: grid;
  gap: 1.25rem;
}

.project-catalog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.project-catalog-card>img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-catalog-card>div {
  padding: 1.4rem;
}

.project-catalog-card h3 {
  margin: .4rem 0 .75rem;
}

.project-catalog-card>div>p:last-of-type {
  color: var(--muted);
  font-size: .9rem;
}

.project-catalog-card__meta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .38rem;
  width: fit-content;
  min-height: 30px;
  max-width: 100%;
  margin: 0;
  padding: .32rem .66rem;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 999px;
  color: var(--engineering-blue);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(237, 242, 251, .74));
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(14, 36, 79, .045);
}

.project-catalog-card__meta::before {
  width: .42rem;
  height: .42rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, .13);
  content: '';
}

.project-catalog-card__location {
  color: var(--muted);
  font-size: .82rem;
}

.project-catalog-card__location i {
  color: var(--gold);
}

.listing-toolbar {
  margin-bottom: 2rem;
}

.listing-toolbar h2 {
  margin: 0 0 .75rem;
}

.listing-toolbar>p:not(.eyebrow) {
  max-width: 630px;
  color: var(--muted);
}

.article-content {
  max-width: 760px;
}

.article-content time {
  color: var(--muted);
  font-weight: 700;
}

@media (min-width: 576px) {
  .expertise-grid,
  .news-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    gap: 7vw;
  }

  .project-feature-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  }

  .sustainability-gateway__grid {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .sustainability-gateway__mark {
    min-height: 250px;
  }

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

@media (min-width: 992px) {
  .expertise-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sectors-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .news-editorial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .sectors-grid--full .sector-card {
    min-height: 260px;
  }
}

@media (max-width: 575.98px) {
  .project-feature {
    min-height: 400px;
  }

  .project-feature>img {
    min-height: 400px;
  }

  .project-brief {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .project-brief img {
    width: 90px;
    height: 90px;
  }

  .project-brief h3 {
    font-size: .9rem;
  }

  .project-brief p,
  .project-brief span {
    font-size: .7rem;
  }
}

/* Responsive layout rules use Bootstrap's fixed breakpoints.  Keeping the
   proof points in normal document flow prevents them from covering hero CTA
   copy when Thai labels wrap on short or narrow screens. */
.page-hero {
  padding: 4rem 0;
}

.project-feature {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.project-feature>img {
  min-height: 0;
}

.project-feature__overlay h3 {
  font-size: 1.5rem;
}

.service-showcase-card>img {
  height: auto;
  aspect-ratio: 4 / 3;
}

.project-catalog-card>img {
  height: auto;
  aspect-ratio: 16 / 9;
}

.news-card>img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sectors-showcase {
  padding-bottom: 3rem;
}

/* Home popup contract: [data-home-popup], .home-popup-dialog and
   [data-home-popup-close]. This stays dormant until the Home view supplies
   its DB-managed popup markup. */
body.home-popup-open {
  overflow: hidden;
}

.home-popup {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: clamp(.75rem, 2vw, 1.5rem);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity var(--motion-close-delay, 260ms) ease-in-out,
    visibility 0s linear var(--motion-close-delay, 260ms);
}

.home-popup.is-visible {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.home-popup.is-open {
  opacity: 1;
}

.home-popup-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(4, 16, 37, .78);
  backdrop-filter: blur(6px);
  transition:
    opacity var(--motion-close-delay, 260ms) ease-in-out,
    backdrop-filter var(--motion-close-delay, 260ms) ease-in-out;
}

.home-popup.is-open .home-popup-backdrop {
  opacity: 1;
}

.home-popup-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(94vw, 1550px);
  height: auto;
  max-height: calc(100dvh - 2rem);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 28px 90px rgba(3, 15, 35, .42);
  outline: none;
  opacity: 0;
  transform: translateY(.85rem) scale(.985);
  transition: opacity .3s ease-in-out, transform .3s ease-in-out;
}

.home-popup.is-open .home-popup-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-popup-media {
  display: grid;
  min-height: 0;
  background: var(--navy-deep);
}

.home-popup-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.home-popup-dialog>.btn,
.home-popup-dialog>.button {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  width: auto;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.1rem;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.home-popup-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(14, 36, 79, .15);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    color .2s ease-in-out,
    background-color .2s ease-in-out,
    border-color .2s ease-in-out,
    transform .28s var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
}

.home-popup-close:hover,
.home-popup-close:focus-visible {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
  transform: rotate(6deg) scale(1.04);
}

@media (min-width: 576px) {

  .container {
    width: calc(100% - 3rem);
  }

  .home-popup {
    padding: 1.5rem;
  }

  .home-popup-dialog,
  .home-popup-image {
    max-height: calc(100dvh - 3rem);
  }
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 5rem 0;
  }

  .project-feature__overlay h3 {
    font-size: 1.75rem;
  }

  .sectors-showcase {
    padding-bottom: 4rem;
  }
}

@media (min-width: 992px) {
  .page-hero {
    padding: 6rem 0;
  }

  .project-feature__overlay h3 {
    font-size: 2rem;
  }
}

@media (min-width: 1200px) {
  .section {
    padding: 5rem 0;
  }

  .page-hero {
    padding: 7rem 0;
  }

  .sectors-showcase {
    padding-bottom: 5rem;
  }
}

@media (min-width: 1400px) {

  .container {
    max-width: 1320px;
  }

  .section {
    padding: 5.5rem 0;
  }

  .page-hero {
    padding: 7.5rem 0;
  }
}

@media (max-width: 575.98px) {
  .project-feature {
    min-height: 0;
  }

  .project-feature>img {
    min-height: 0;
  }

  .project-feature__overlay {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .project-feature__overlay h3 {
    font-size: 1.375rem;
  }

  .home-popup-dialog {
    width: calc(100vw - 1rem);
    height: auto;
    max-height: calc(100dvh - 1rem);
    aspect-ratio: 16 / 9;
    border-radius: 4px 22px 4px 4px;
  }

  .home-popup-dialog>.btn,
  .home-popup-dialog>.button {
    right: .75rem;
    bottom: .75rem;
    left: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .home-popup,
  .home-popup-dialog {
    transition: none;
  }
}

.certificate-grid {
  display: grid;
  gap: 1rem;
}

.certificate-item {
  display: grid;
  min-height: 150px;
  place-items: center;
  align-content: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.certificate-item img {
  max-width: 150px;
  max-height: 82px;
  object-fit: contain;
}

.certificate-item h3 {
  margin: .9rem 0 0;
  font-size: .95rem;
}

.certificate-item a {
  display: grid;
  min-height: inherit;
  place-items: center;
  color: inherit;
}

.search-layout {
  display: grid;
  gap: 2rem;
}

.search-page-form {
  display: grid;
  gap: .75rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.search-page-form label {
  font-weight: 800;
}

.search-page-form>div {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.search-page-form input[type='search'] {
  min-width: min(100%, 280px);
  flex: 1 1 22rem;
  padding: .78rem .9rem;
  border: 1px solid #aeb8c7;
  border-radius: 2px;
  font: inherit;
}

.search-result-list {
  display: grid;
  gap: 1rem;
}

.search-result-item,
.empty-state {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.search-result-item h3 {
  margin: .2rem 0 .5rem;
  font-size: 1.25rem;
}

.search-highlight {
  padding: .05em .18em;
  border-radius: 3px;
  color: var(--navy);
  background: rgba(201, 162, 77, .34);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.search-result-item h3 .search-highlight {
  background: rgba(47, 128, 237, .16);
}

.page-hero--not-found {
  background:
    linear-gradient(135deg, rgba(3, 15, 35, .96), rgba(14, 36, 79, .88)),
    url('../images/brand/engineering-hero-blueprint.jpg') center / cover no-repeat;
}

.page-hero--not-found::after {
  position: absolute;
  right: clamp(1rem, 8vw, 8rem);
  bottom: -3.75rem;
  width: min(34vw, 17rem);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 162, 77, .28);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.not-found-page__section {
  background:
    radial-gradient(circle at 12% 12%, rgba(47, 128, 237, .08), transparent 28rem),
    linear-gradient(180deg, #fff, var(--surface));
}

.not-found-panel {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 30px 6px 30px 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 249, 255, .92)),
    radial-gradient(circle at 100% 0, rgba(47, 128, 237, .13), transparent 34%);
  box-shadow: var(--shadow);
}

.not-found-panel__status {
  display: grid;
  min-height: clamp(12rem, 28vw, 18rem);
  place-items: center;
  border: 1px solid rgba(201, 162, 77, .28);
  border-radius: 4px 34px 4px 4px;
  background:
    linear-gradient(145deg, rgba(14, 36, 79, .95), rgba(7, 22, 47, .96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 12px);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.not-found-panel__status::before,
.not-found-panel__status::after {
  position: absolute;
  content: '';
  pointer-events: none;
}

.not-found-panel__status::before {
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
}

.not-found-panel__status::after {
  width: 9rem;
  height: 9rem;
  right: -3rem;
  bottom: -3rem;
  border: 1px solid rgba(201, 162, 77, .36);
  border-radius: 50%;
}

.not-found-panel__status span {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .9;
}

.not-found-panel__content h2 {
  max-width: 42rem;
  margin: 0 0 .85rem;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.not-found-panel__content > p:not(.eyebrow),
.not-found-quick-link-card small {
  color: var(--muted);
}

.not-found-panel__request {
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-left: 3px solid var(--engineering-blue);
  background: rgba(47, 128, 237, .08);
  overflow-wrap: anywhere;
}

.not-found-panel__request code {
  color: var(--navy);
  font-weight: 800;
}

.not-found-search-form {
  display: grid;
  gap: .75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.not-found-search-form label {
  color: var(--ink);
  font-weight: 800;
}

.not-found-search-form > div {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.not-found-search-form input[type='search'] {
  min-width: min(100%, 280px);
  flex: 1 1 22rem;
  min-height: 48px;
  padding: .78rem .9rem;
  border: 1px solid #aeb8c7;
  border-radius: 2px;
  font: inherit;
}

.not-found-panel__actions {
  margin-top: 1.25rem;
}

.not-found-quick-links {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.not-found-quick-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1rem;
}

.not-found-quick-link-card {
  display: grid;
  gap: .55rem;
  min-height: 100%;
  padding: 1.15rem;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 22px 6px 22px 6px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  backface-visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), border-color .22s ease, box-shadow .22s ease;
}

.not-found-quick-link-card:hover,
.not-found-quick-link-card:focus-visible {
  border-color: rgba(47, 128, 237, .38);
  box-shadow: var(--shadow);
  transform: translate3d(0, -4px, 0);
}

.not-found-quick-link-card i {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-pale);
}

.not-found-quick-link-card span {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

@media (min-width: 992px) {
  .not-found-panel {
    grid-template-columns: minmax(16rem, .75fr) 1.25fr;
  }
}

@media (max-width: 575.98px) {
  .not-found-search-form .btn,
  .not-found-panel__actions .btn {
    width: 100%;
  }
}

@media (min-width: 576px) {
  .certificate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .certificate-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-focus-grid {
  display: grid;
  gap: 1rem;
}

.service-focus-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.service-focus-card--text-only {
  grid-template-columns: 1fr;
}

.service-focus-card__media {
  display: block;
  min-height: 210px;
  background: var(--navy);
}

.service-focus-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform .45s ease-in-out;
}

.service-focus-card:hover .service-focus-card__media img {
  transform: scale(1.045);
}

.service-focus-card__content {
  position: relative;
  padding: 1.45rem;
}

.service-focus-card h3 {
  margin: 1.5rem 0 .75rem;
}

.service-focus-card p:not(.expertise-card__index) {
  color: var(--muted);
  font-size: .92rem;
}

.service-focus-card .expertise-card__index {
  top: 1.45rem;
  right: 1.45rem;
}

.projects-showcase {
  overflow-x: clip;
  background:
    linear-gradient(180deg, rgba(3, 15, 35, .98), rgba(7, 22, 47, .95)),
    url('../images/brand/engineering-hero-blueprint.jpg') center / cover no-repeat;
}

.sustainability-gateway {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(46, 125, 50, .16), transparent 28%),
    linear-gradient(115deg, rgba(240, 248, 241, .98), rgba(255, 255, 255, .96) 58%);
}

.sustainability-gateway__mark {
  border-color: rgba(14, 36, 79, .14);
  background: rgba(255, 255, 255, .88);
}

@media (min-width: 768px) {
  .service-focus-card:not(.service-focus-card--text-only) {
    grid-template-columns: minmax(210px, .42fr) minmax(0, .58fr);
  }

  .service-focus-card__media,
  .service-focus-card__media img {
    min-height: 100%;
  }
}

@media (min-width: 992px) {
  .service-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .service-focus-card__media,
  .service-focus-card__media img {
    min-height: 190px;
  }
}

/* Flagship pass: make the corporate site feel engineered rather than
   templated. The visual risk is the calibrated drawing rail in the hero; the
   rest stays disciplined and boardroom-friendly. */
.page-hero {
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  right: clamp(1.25rem, 8vw, 8rem);
  bottom: clamp(1.25rem, 6vw, 5rem);
  width: clamp(8rem, 22vw, 20rem);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 162, 77, .32);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(175, 207, 253, .24) 50%, transparent calc(50% + .5px)),
    linear-gradient(0deg, transparent calc(50% - .5px), rgba(175, 207, 253, .24) 50%, transparent calc(50% + .5px));
  content: '';
  z-index: 0;
}

.project-feature>img,
.project-catalog-card>img,
.related-project-card img,
.service-showcase-card>img,
.news-card>img {
  filter: saturate(.9) contrast(1.06);
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale(1.01);
  transition: transform .68s cubic-bezier(.2, .7, .2, 1);
}

.intro-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(47, 128, 237, .08), transparent 24%),
    #fff;
}

.section--muted {
  background:
    linear-gradient(180deg, rgba(237, 242, 251, .95), #fff);
}

.card-grid {
  display: grid;
  gap: 1.15rem;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  backface-visibility: hidden;
  transition:
    border-color .22s ease,
    box-shadow var(--motion-slow, .36s) ease,
    transform var(--motion-slow, .36s) var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
}

[data-card-href] {
  cursor: pointer;
}

[data-card-href]:hover .editorial-link,
[data-card-href]:focus-within .editorial-link {
  color: var(--engineering-blue);
}

[data-card-href]:hover .editorial-link i,
[data-card-href]:focus-within .editorial-link i {
  transform: translateX(4px);
}

[data-card-href] a,
[data-card-href] button,
[data-card-href] [role="button"],
[data-card-href] img,
[data-card-href] span,
[data-card-href] p,
[data-card-href] div,
[data-card-href] h2,
[data-card-href] h3,
[data-card-href] h4,
[data-card-href] i,
[data-card-href] time {
  cursor: pointer;
}

[data-card-href] input,
[data-card-href] textarea,
[data-card-href] select,
[data-card-href] label,
[data-card-href] summary,
[data-no-card-click] {
  cursor: auto;
}

.card::before,
.service-showcase-card::before,
.project-catalog-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--engineering-blue), var(--gold));
  content: '';
  opacity: .88;
}

.card__body,
.card>div:not(.expertise-card__icon) {
  padding: 1.35rem;
}

.card h3,
.project-catalog-card h3,
.service-showcase-card h3 {
  font-size: clamp(1.08rem, 1.4vw, 1.32rem);
}

.card p,
.project-catalog-card>div>p:last-of-type,
.service-showcase-card p {
  color: var(--muted);
}

.card-meta-group {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .75rem;
}

.card-meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0;
  padding: .25rem .55rem;
  border: 1px solid rgba(47, 128, 237, .22);
  color: var(--navy) !important;
  background: var(--navy-pale);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.news-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(14, 36, 79, .08);
  border-radius: 28px 8px 28px 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  backface-visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), border-color .22s ease, box-shadow .22s ease;
}

.news-card::before {
  display: none;
}

.news-card>img {
  width: 100%;
  height: 190px;
  aspect-ratio: auto;
  object-fit: cover;
}

.news-card .card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 1.15rem;
}

.news-card h3 {
  min-height: calc(1.35em * 3);
  margin: 0 0 .75rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.35;
}

.news-card__excerpt {
  min-height: calc(1.55em * 2);
  margin-bottom: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.55;
}

.news-card__excerpt--empty {
  opacity: 0;
}

.news-card .card-meta-group {
  gap: .5rem;
  margin-bottom: .85rem;
}

.news-card .card-meta {
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  padding: .3rem .62rem;
  border-radius: 999px;
  border-color: rgba(14, 36, 79, .1);
  color: var(--engineering-blue) !important;
  background: linear-gradient(180deg, #fff, rgba(237, 242, 251, .82));
  box-shadow: 0 8px 18px rgba(14, 36, 79, .05);
  font-size: .68rem;
  letter-spacing: .038em;
}

.news-card .card-meta--category {
  gap: .38rem;
  border-color: rgba(201, 162, 77, .22);
  color: var(--engineering-blue) !important;
  background: rgba(255, 255, 255, .96);
}

.news-card .card-meta--category::before {
  width: .4rem;
  height: .4rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, .14);
  content: '';
}

.news-card .card-meta--date {
  gap: .4rem;
  border-color: rgba(14, 36, 79, .1);
  color: var(--muted) !important;
  background: linear-gradient(180deg, #fff, rgba(237, 242, 251, .86));
  text-transform: none;
}

.news-card .card-meta--date::before {
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: rgba(14, 36, 79, .34);
  box-shadow: 0 0 0 3px rgba(14, 36, 79, .08);
  content: '';
}

.news-card .editorial-link,
.news-card__link {
  margin-top: auto;
}

.news-card__link {
  align-self: flex-start;
  min-height: 0;
  margin-top: 1.15rem;
  padding: .52rem .58rem .52rem .78rem;
  border: 1px solid rgba(14, 36, 79, .14);
  border-radius: 999px;
  color: var(--navy);
  background: linear-gradient(180deg, #fff, rgba(237, 242, 251, .72));
  box-shadow: 0 8px 18px rgba(14, 36, 79, .06);
  font-size: .78rem;
  line-height: 1.2;
  letter-spacing: .015em;
  transform: translate3d(0, 0, 0);
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), border-color .2s ease, background-color .2s ease, color .2s ease;
}

.news-card__link i {
  width: 1.55rem;
  height: 1.55rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: .68rem;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), background-color .2s ease;
}

.news-card__link:hover,
.news-card__link:focus-visible,
.news-card:hover .news-card__link,
.news-card:focus-within .news-card__link {
  border-color: rgba(201, 162, 77, .42);
  color: var(--navy);
  background: #fff;
  box-shadow: 0 12px 26px rgba(14, 36, 79, .1);
  transform: translate3d(2px, 0, 0);
}

.news-card__link:hover i,
.news-card__link:focus-visible i,
.news-card:hover .news-card__link i,
.news-card:focus-within .news-card__link i {
  background: var(--gold);
  transform: translate3d(2px, 0, 0);
}

.project-catalog-card,
.service-showcase-card {
  position: relative;
  border-radius: 4px;
  backface-visibility: hidden;
  transition: transform .34s cubic-bezier(.2, .7, .2, 1), border-color .22s ease, box-shadow .24s ease;
}

.project-catalog-card:hover,
.service-showcase-card:hover,
.card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(47, 128, 237, .32);
  box-shadow: 0 28px 70px rgba(14, 36, 79, .16);
}

.news-card:hover {
  border-color: rgba(201, 162, 77, .38);
  box-shadow: 0 22px 46px rgba(14, 36, 79, .12);
  transform: translate3d(0, -4px, 0);
}

.project-feature:hover > img,
.project-feature:focus-within > img,
.project-catalog-card:hover > img,
.project-catalog-card:focus-within > img,
.related-project-card:hover img,
.related-project-card:focus-within img,
.news-card:hover > img,
.news-card:focus-within > img {
  transform: translate3d(0, 0, 0) scale(1.055);
}

.project-catalog-card>div,
.service-showcase-card__content {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.project-catalog-card .editorial-link,
.service-showcase-card .editorial-link {
  margin-top: auto;
  padding-top: 1rem;
}

.cta-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid rgba(14, 36, 79, .12);
  border-radius: 4px 34px 4px 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(237, 242, 251, .96)),
    linear-gradient(90deg, rgba(47, 128, 237, .1), transparent);
  box-shadow: var(--shadow-sm);
}

.cta-panel h2 {
  margin: 0;
}

.cta-panel p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
}

@media (min-width: 576px) {
  .card-grid--news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .card-grid--news {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (max-width: 575.98px) {
  .card__body,
  .card>div:not(.expertise-card__icon) {
    padding: 1.1rem;
  }

  .project-catalog-card>div,
  .service-showcase-card__content {
    min-height: 0;
  }
}

.intro-signals {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.15rem 0 1.35rem;
}

.intro-signals span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .65rem;
  border: 1px solid rgba(14, 36, 79, .14);
  color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: .76rem;
  font-weight: 800;
}

.intro-signals i {
  color: var(--gold);
}

.sustainability-gateway {
  position: relative;
  isolation: isolate;
}

.sustainability-gateway::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .64;
  background-image:
    linear-gradient(rgba(46, 125, 50, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 125, 50, .09) 1px, transparent 1px);
  background-size: 46px 46px;
  content: '';
}

.sustainability-gateway__copy {
  position: relative;
  z-index: 2;
}

.sustainability-gateway__pills {
  display: grid;
  gap: .75rem;
  margin: 1.4rem 0 1.6rem;
}

.sustainability-gateway__pills span {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 48px;
  padding: .72rem .85rem;
  border: 1px solid rgba(46, 125, 50, .2);
  color: var(--navy);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-sm);
  font-size: .86rem;
  font-weight: 800;
}

.sustainability-gateway__pills i {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--leed-green);
  font-size: .82rem;
}

.sustainability-gateway__panel {
  position: relative;
  min-height: 340px;
  padding: 1.2rem;
}

.sustainability-gateway__panel::before {
  position: absolute;
  inset: 2.2rem .4rem 1.6rem;
  border: 1px solid rgba(14, 36, 79, .12);
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(237, 247, 238, .88));
  box-shadow: 0 30px 80px rgba(14, 36, 79, .16);
  content: '';
}

.sustainability-gateway__mark {
  position: relative;
  z-index: 2;
  width: min(72vw, 250px);
  min-height: 250px;
  margin: 0 auto;
  border-radius: 50% 50% 50% 10%;
}

.sustainability-gateway__signal {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(46, 125, 50, .24);
  border-radius: 50%;
}

.sustainability-gateway__signal--one {
  inset: 0 8% auto auto;
  width: 120px;
  height: 120px;
}

.sustainability-gateway__signal--two {
  bottom: 1rem;
  left: 0;
  width: 170px;
  height: 170px;
}

.sustainability-gateway__metric {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 140px;
  gap: .15rem;
  padding: .8rem .95rem;
  border: 1px solid rgba(14, 36, 79, .14);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
}

.sustainability-gateway__metric:nth-of-type(4) {
  top: 2.2rem;
  left: 0;
}

.sustainability-gateway__metric:nth-of-type(5) {
  right: 0;
  bottom: 1.5rem;
}

.sustainability-gateway__metric strong {
  color: var(--leed-green);
  font-size: 1.25rem;
  letter-spacing: .08em;
}

.sustainability-gateway__metric span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.news-editorial-card {
  backface-visibility: hidden;
  transition: transform .34s cubic-bezier(.2, .7, .2, 1), border-color .22s ease, box-shadow .24s ease;
}

.news-editorial-card:hover {
  z-index: 1;
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 22px 52px rgba(14, 36, 79, .12);
}

@media (min-width: 576px) {
  .sustainability-gateway__pills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .sustainability-gateway__grid {
    grid-template-columns: minmax(0, .95fr) minmax(360px, .7fr);
  }
}

@media (max-width: 575.98px) {
  .intro-signals span {
    width: 100%;
  }

  .sustainability-gateway {
    background-image: linear-gradient(115deg, rgba(240, 248, 241, .98), rgba(255, 255, 255, .96));
  }

  .sustainability-gateway__panel {
    min-height: 285px;
    padding: .8rem 0;
  }

  .sustainability-gateway__mark {
    width: 205px;
    min-height: 205px;
  }

  .sustainability-gateway__metric {
    min-width: 118px;
    padding: .65rem .72rem;
  }

  .sustainability-gateway__metric strong {
    font-size: 1rem;
  }
}

.intro-section {
  padding-top: clamp(3rem, 7vw, 6.5rem);
}

.intro-grid {
  position: relative;
}

.intro-grid::before {
  position: absolute;
  top: -.6rem;
  left: 0;
  width: 84px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--engineering-blue));
  content: '';
}

.impact-corridor {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #f6f8fc 100%);
}

.impact-corridor::before {
  position: absolute;
  inset: 0;
  opacity: .55;
  background:
    linear-gradient(rgba(14, 36, 79, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 36, 79, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  content: '';
  pointer-events: none;
}

.impact-corridor .container {
  position: relative;
  z-index: 1;
}

.impact-corridor__header {
  max-width: 820px;
  margin-bottom: 2rem;
}

.impact-corridor__header h2 {
  margin: 0 0 1rem;
}

.impact-corridor__header p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.impact-corridor__grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 28px 80px rgba(14, 36, 79, .08);
}

.impact-panel {
  min-height: 260px;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: rgba(255, 255, 255, .96);
}

.impact-panel--primary {
  color: #fff;
  background:
    linear-gradient(140deg, rgba(7, 22, 47, .98), rgba(14, 36, 79, .92)),
    url('../images/brand/engineering-hero-blueprint.jpg') center / cover no-repeat;
}

.impact-panel i {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(47, 128, 237, .26);
  border-radius: 50%;
  color: var(--engineering-blue);
  background: #fff;
  font-size: 1.15rem;
}

.impact-panel--primary i {
  border-color: rgba(201, 162, 77, .55);
  color: var(--gold);
  background: rgba(255, 255, 255, .08);
}

.impact-panel h3 {
  margin: 1.45rem 0 .75rem;
}

.impact-panel--primary h3,
.impact-panel--primary p {
  color: #fff !important;
}

.impact-panel p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.service-focus-card,
.project-feature,
.project-brief,
.news-editorial-card {
  backface-visibility: hidden;
  transition: transform .34s cubic-bezier(.2, .7, .2, 1), border-color .22s ease, box-shadow .24s ease;
}

.service-focus-card:hover,
.news-editorial-card:hover {
  border-color: rgba(47, 128, 237, .35);
  box-shadow: 0 26px 70px rgba(14, 36, 79, .15);
  transform: translate3d(0, -4px, 0);
}

.project-brief:hover {
  border-color: rgba(201, 162, 77, .5);
  transform: translate3d(4px, 0, 0);
}

.sustainability-gateway {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 14%, rgba(46, 125, 50, .14), transparent 30%),
    linear-gradient(115deg, rgba(239, 248, 240, .99) 0%, rgba(255, 255, 255, .96) 54%, rgba(255, 255, 255, .88) 100%);
}

.sustainability-gateway::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .25;
  background-image:
    linear-gradient(rgba(46, 125, 50, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 125, 50, .18) 1px, transparent 1px);
  background-size: 42px 42px;
  content: '';
  pointer-events: none;
}

.sustainability-gateway::after {
  position: absolute;
  top: 50%;
  right: clamp(-5rem, -2vw, -1rem);
  z-index: 0;
  width: clamp(260px, 36vw, 540px);
  aspect-ratio: 1;
  border: 1px solid rgba(46, 125, 50, .18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(46, 125, 50, .16), transparent 36%),
    repeating-radial-gradient(circle at 50% 50%, rgba(46, 125, 50, .14) 0 1px, transparent 1px 28px);
  content: '';
  opacity: .72;
  pointer-events: none;
  transform: translateY(-50%);
}

.sustainability-gateway__grid {
  position: relative;
  z-index: 1;
}

.sustainability-gateway__copy {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-left: 4px solid var(--leed-green);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 18px 50px rgba(14, 36, 79, .08);
  backdrop-filter: blur(10px);
}

.sustainability-gateway__pills {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1.35rem 0 1.65rem;
}

.sustainability-gateway__pills span {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  padding: .52rem .72rem;
  border: 1px solid rgba(46, 125, 50, .22);
  border-radius: 999px;
  color: #174c1b;
  background: rgba(255, 255, 255, .86);
  font-size: .8rem;
  font-weight: 900;
}

.sustainability-gateway__pills i {
  color: var(--leed-green);
}

.sustainability-gateway__panel {
  position: relative;
  display: grid;
  min-height: 360px;
  align-items: center;
  justify-items: center;
}

.sustainability-gateway__panel::before {
  position: absolute;
  inset: 16% 8%;
  border: 1px solid rgba(46, 125, 50, .22);
  border-radius: 50%;
  content: '';
}

.sustainability-gateway__signal {
  position: absolute;
  border: 1px solid rgba(46, 125, 50, .28);
  border-radius: 50%;
}

.sustainability-gateway__signal--one {
  inset: 8% 18%;
}

.sustainability-gateway__signal--two {
  inset: 0 8% 16%;
  opacity: .5;
}

.sustainability-gateway__mark {
  position: relative;
  z-index: 2;
  width: min(72vw, 230px);
  min-height: 230px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 28px 90px rgba(46, 125, 50, .18);
}

.sustainability-gateway__metric {
  position: absolute;
  z-index: 3;
  width: min(42vw, 138px);
  padding: .85rem;
  border: 1px solid rgba(46, 125, 50, .18);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
}

.sustainability-gateway__metric:nth-of-type(4) {
  top: 8%;
  right: 0;
}

.sustainability-gateway__metric:nth-of-type(5) {
  bottom: 8%;
  left: 0;
}

.sustainability-gateway__metric strong {
  display: block;
  color: var(--leed-green);
  font-size: 1.22rem;
  letter-spacing: .08em;
}

.sustainability-gateway__metric span {
  display: block;
  margin-top: .2rem;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .impact-corridor__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sustainability-gateway__grid {
    grid-template-columns: minmax(0, .98fr) minmax(300px, .72fr);
    gap: clamp(2.5rem, 6vw, 5rem);
  }
}

@media (max-width: 575.98px) {
  .sustainability-gateway {
    background:
      radial-gradient(circle at 50% 0%, rgba(46, 125, 50, .16), transparent 42%),
      linear-gradient(145deg, rgba(239, 248, 240, .99), rgba(255, 255, 255, .97));
  }

  .sustainability-gateway::after {
    top: 1rem;
    right: 50%;
    width: min(70vw, 300px);
    background:
      radial-gradient(circle at 50% 50%, rgba(46, 125, 50, .12), transparent 38%),
      repeating-radial-gradient(circle at 50% 50%, rgba(46, 125, 50, .12) 0 1px, transparent 1px 24px);
    opacity: .36;
    transform: translateX(50%);
  }

  .sustainability-gateway__panel {
    min-height: 300px;
  }

  .sustainability-gateway__mark {
    width: 210px;
    min-height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-focus-card,
  .project-brief,
  .news-editorial-card {
    transition: none;
  }
}

/* Non-home public page upgrade: distinct evidence-led layouts for each menu. */
.page-hero--about,
.page-hero--services,
.page-hero--projects,
.page-hero--sector,
.page-hero--search,
.page-hero--news,
.page-hero--careers,
.page-hero--contact {
  background:
    linear-gradient(135deg, rgba(7, 22, 47, .94), rgba(14, 36, 79, .86)),
    url('../images/brand/engineering-hero-blueprint.jpg') center / cover no-repeat;
}

.about-hero-grid,
.service-detail-hero,
.project-detail-hero,
.contact-layout,
.about-profile-grid {
  display: grid;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.hero-evidence-panel,
.client-trust-panel,
.career-cta-panel,
.contact-form-panel {
  border: 1px solid rgba(14, 36, 79, .12);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
}

.hero-evidence-panel {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  color: var(--navy);
}

.hero-evidence-panel span,
.news-type-tabs a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 40px;
  padding: .55rem .75rem;
  border: 1px solid rgba(47, 128, 237, .18);
  background: var(--navy-pale);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.hero-evidence-panel i,
.about-readiness i,
.career-card>i,
.contact-method-card>i {
  color: var(--gold);
}

.about-readiness ul {
  display: grid;
  gap: .75rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.about-readiness li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 700;
}

.certificate-grid,
.career-culture-grid,
.contact-info-grid {
  display: grid;
  gap: 1rem;
}

.certificate-item {
  min-height: 150px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.certificate-item a {
  color: inherit;
  text-decoration: none;
}

.certificate-item img {
  max-width: 110px;
  max-height: 60px;
  object-fit: contain;
}

.certificate-item h3 {
  margin: .9rem 0 0;
  color: var(--navy);
  font-size: 1rem;
}

.governance-panel,
.career-cta-panel {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.35rem, 4vw, 2.4rem);
}

.service-detail-media,
.project-main-image,
.article-featured-image {
  overflow: hidden;
  border-radius: 4px 32px 4px 4px;
  box-shadow: 0 28px 80px rgba(3, 15, 35, .26);
}

.service-detail-media img,
.project-main-image,
.article-featured-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-scope-list {
  display: grid;
  gap: .75rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.service-scope-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .75rem .85rem;
  border-left: 3px solid var(--engineering-blue);
  background: var(--navy-pale);
  font-weight: 700;
}

.service-detail-layout {
  max-width: 1120px;
}

.service-detail-main {
  width: 100%;
}

.service-detail-content {
  color: var(--ink);
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  line-height: 1.85;
}

.service-detail-content > *:first-child {
  margin-top: 0;
}

.service-detail-content > *:last-child {
  margin-bottom: 0;
}

.service-detail-content p,
.service-detail-content li {
  color: var(--muted);
}

.service-detail-content h2,
.service-detail-content h3,
.service-detail-content h4 {
  margin: 1.45em 0 .65em;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.25;
}

.service-detail-content h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
}

.service-detail-content h3 {
  font-size: clamp(1.22rem, 2.2vw, 1.65rem);
}

.service-detail-content ul,
.service-detail-content ol {
  display: grid;
  gap: .55rem;
  padding-left: 1.35rem;
  margin: 1rem 0;
}

.service-detail-content a {
  color: var(--engineering-blue);
  font-weight: 800;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
  transition: color .2s ease-in-out, text-decoration-color .2s ease-in-out;
}

.service-detail-content a:hover,
.service-detail-content a:focus-visible {
  color: var(--gold);
}

.service-detail-content img {
  display: block;
  width: 100%;
  max-height: 560px;
  margin: 1.4rem 0;
  border-radius: 4px 28px 4px 4px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(3, 15, 35, .16);
}

.service-detail-content blockquote {
  margin: 1.4rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--gold);
  color: var(--navy);
  background: rgba(14, 36, 79, .05);
  font-weight: 800;
}

.service-detail-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 1.4rem 0;
  border-collapse: collapse;
}

.service-detail-content th,
.service-detail-content td {
  padding: .75rem .85rem;
  border: 1px solid rgba(14, 36, 79, .12);
  vertical-align: top;
}

.service-detail-content th {
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.service-related-project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.2vw, 1.35rem);
}

.service-related-project-card {
  position: relative;
  isolation: isolate;
  min-height: clamp(320px, 38vw, 430px);
  overflow: hidden;
  border-radius: 4px 34px 4px 4px;
  background: var(--navy);
  box-shadow: 0 24px 70px rgba(3, 15, 35, .18);
  backface-visibility: hidden;
  transition: transform .34s cubic-bezier(.2, .7, .2, 1), box-shadow .24s ease;
}

.service-related-project-card:hover {
  box-shadow: 0 30px 86px rgba(3, 15, 35, .28);
  transform: translate3d(0, -5px, 0);
}

.service-related-project-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale(1.01);
  transition: transform .68s cubic-bezier(.2, .7, .2, 1);
  z-index: -2;
}

.service-related-project-card:hover > img {
  transform: translate3d(0, 0, 0) scale(1.08);
}

.service-related-project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 15, 35, .08), rgba(3, 15, 35, .88));
  content: '';
  z-index: -1;
}

.service-related-project-card__overlay {
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-end;
  gap: .7rem;
  padding: clamp(1rem, 2.4vw, 1.45rem);
  color: #fff;
}

.service-related-project-card__overlay p {
  width: fit-content;
  margin: 0;
  padding: .36rem .6rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-related-project-card__overlay h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.22;
}

.service-related-project-card__overlay h3 a {
  color: inherit;
  text-decoration: none;
}

.service-related-project-card__overlay span {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  color: rgba(255, 255, 255, .86);
  font-size: .9rem;
  font-weight: 700;
}

.service-related-project-card__overlay .btn {
  width: fit-content;
  margin-top: .25rem;
  border-color: rgba(255, 255, 255, .18);
  font-weight: 900;
  transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, transform .2s ease-in-out;
}

.service-related-project-card__overlay .btn:hover,
.service-related-project-card__overlay .btn:focus-visible,
.service-related-project-card:hover .service-related-project-card__overlay .btn,
.service-related-project-card:focus-within .service-related-project-card__overlay .btn {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--gold);
  transform: translate3d(3px, 0, 0);
}

.client-trust-panel {
  display: flex;
  gap: .9rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 1.15rem;
}

.client-trust-panel i {
  color: var(--engineering-blue);
  font-size: 1.4rem;
}

.client-trust-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.news-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}

.news-type-tabs a.is-active,
.news-type-tabs a[aria-current='page'] {
  color: #fff;
  background: var(--navy);
}

.article-layout {
  display: grid;
  gap: 2rem;
}

.article-rail {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-content: start;
}

.article-rail span,
.article-rail time {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: .4rem .65rem;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.career-card {
  min-height: 250px;
  padding: 1.4rem;
}

.career-culture-layout {
  display: grid;
  gap: clamp(1rem, 2.8vw, 1.7rem);
  align-items: center;
}

.career-culture-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border-radius: 30px 8px 30px 8px;
  background: var(--navy-pale);
  box-shadow: 0 24px 60px rgba(14, 36, 79, .14);
}

.career-culture-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 36, 79, 0) 54%, rgba(14, 36, 79, .34)),
    radial-gradient(circle at 0 0, rgba(201, 162, 77, .18), transparent 34%);
  content: '';
  pointer-events: none;
}

.career-culture-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.career-culture-layout .career-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 0;
  align-items: center;
  column-gap: .9rem;
  padding: clamp(1rem, 2.1vw, 1.25rem);
}

.career-culture-layout .career-card>i {
  grid-row: span 2;
}

.career-culture-layout .career-card h2 {
  margin: 0 0 .28rem;
}

.career-culture-layout .career-card p {
  display: -webkit-box;
  grid-column: 2;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.career-card>i {
  font-size: 1.45rem;
}

.career-card h2 {
  margin: 1.3rem 0 .75rem;
  font-size: 1.25rem;
}

.career-recruitment-layout {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: start;
}

.career-hr-panel,
.career-apply-panel,
.career-documents-panel {
  min-width: 0;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 28px 8px 28px 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 48px rgba(14, 36, 79, .08);
}

.career-hr-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.3rem);
}

.career-hr-panel::after {
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 77, .22), transparent 68%);
  content: '';
  pointer-events: none;
}

.career-recruitment-aside {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.career-apply-panel,
.career-documents-panel {
  padding: clamp(1rem, 2.4vw, 1.45rem);
}

.career-panel-heading {
  display: flex;
  gap: .85rem;
  align-items: center;
  margin-bottom: 1.15rem;
}

.career-panel-heading .eyebrow {
  margin: 0 0 .2rem;
}

.career-panel-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.career-panel-heading__icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px 5px 16px 5px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #183b7a);
  box-shadow: 0 12px 28px rgba(14, 36, 79, .16);
}

.career-api-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  color: var(--ink);
  line-height: 1.82;
  overflow-wrap: anywhere;
}

.career-api-content ul,
.career-document-list {
  display: grid;
  gap: .82rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.career-api-content li,
.career-document-list li {
  position: relative;
  padding-left: 1.65rem;
}

.career-api-content li::before,
.career-document-list li::before {
  position: absolute;
  top: .2rem;
  left: 0;
  color: var(--gold);
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.career-api-content a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.career-api-content a:hover,
.career-api-content a:focus-visible {
  color: var(--navy);
  text-decoration: underline;
}

.career-api-content--contact {
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 1px solid rgba(47, 128, 237, .14);
  border-radius: 22px 6px 22px 6px;
  background:
    linear-gradient(135deg, rgba(246, 249, 255, .96), rgba(255, 255, 255, .94)),
    radial-gradient(circle at 100% 0, rgba(47, 128, 237, .12), transparent 34%);
}

.career-api-empty {
  margin: 0;
  color: var(--muted);
}

.contact-method-card,
.contact-form-panel {
  padding: 1.2rem;
}

.contact-method-card {
  border: 1px solid var(--line);
  background: #fff;
}

.contact-method-card address {
  margin: 0;
  font-style: normal;
}

@media (min-width: 768px) {
  .about-hero-grid,
  .service-detail-hero,
  .project-detail-hero,
  .contact-layout,
  .about-profile-grid,
  .sector-detail-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  }

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

  .certificate-grid,
  .career-culture-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .governance-panel,
  .career-cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .article-layout {
    grid-template-columns: 180px minmax(0, 760px);
  }
}

@media (min-width: 992px) {
  .career-culture-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  }

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

  .career-recruitment-layout--has-documents {
    grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
    grid-template-areas:
      "contact apply"
      "documents documents";
    align-items: stretch;
  }

  .career-recruitment-layout--has-documents .career-hr-panel {
    grid-area: contact;
  }

  .career-recruitment-layout--has-documents .career-recruitment-aside {
    display: contents;
  }

  .career-recruitment-layout--has-documents .career-apply-panel {
    grid-area: apply;
  }

  .career-recruitment-layout--has-documents .career-documents-panel {
    grid-area: documents;
  }

  .career-recruitment-layout--has-documents .career-document-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 3vw, 2rem);
  }

  .career-recruitment-layout--has-documents .career-hr-panel,
  .career-recruitment-layout--has-documents .career-apply-panel,
  .career-recruitment-layout--has-documents .career-documents-panel {
    height: 100%;
  }
}

@media (min-width: 992px) {
  .sector-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .hero-evidence-panel,
  .contact-form-panel {
    padding: 1rem;
  }

  .client-trust-panel {
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .sustainability-gateway {
    padding: 3.5rem 0;
    background:
      radial-gradient(circle at 50% 0%, rgba(46, 125, 50, .16), transparent 42%),
      linear-gradient(145deg, rgba(239, 248, 240, .99), rgba(255, 255, 255, .97));
  }

  .sustainability-gateway::before {
    opacity: .18;
    background-size: 32px 32px;
  }

  .sustainability-gateway__grid {
    gap: 1.25rem;
  }

  .sustainability-gateway__copy {
    padding: 1.1rem;
    box-shadow: 0 14px 36px rgba(14, 36, 79, .08);
  }

  .sustainability-gateway__pills {
    gap: .45rem;
    margin: 1rem 0 1.25rem;
  }

  .sustainability-gateway__pills span {
    padding: .42rem .58rem;
    font-size: .72rem;
  }

  .sustainability-gateway__panel {
    min-height: 245px;
  }

  .sustainability-gateway__mark {
    width: 172px;
    min-height: 172px;
  }

  .sustainability-gateway__mark i {
    font-size: 2.45rem;
  }

  .sustainability-gateway__mark span {
    font-size: .96rem;
  }

  .sustainability-gateway__metric {
    width: 116px;
    padding: .65rem;
  }

  .sustainability-gateway__metric strong {
    font-size: 1rem;
  }

  .sustainability-gateway__metric span {
    font-size: .62rem;
  }
}

/* Non-home flagship page system: page-specific evidence layouts. */
.page-hero--about,
.page-hero--services,
.page-hero--projects,
.page-hero--clients,
.page-hero--sector,
.page-hero--search,
.page-hero--news,
.page-hero--careers,
.page-hero--contact {
  position: relative;
  overflow: hidden;
}

.page-hero--about::after,
.page-hero--services::after,
.page-hero--projects::after,
.page-hero--clients::after,
.page-hero--sector::after,
.page-hero--search::after,
.page-hero--news::after,
.page-hero--careers::after,
.page-hero--contact::after {
  position: absolute;
  right: clamp(1rem, 8vw, 8rem);
  bottom: -3.75rem;
  width: min(34vw, 17rem);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 162, 77, .28);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.about-profile-grid,
.service-detail-layout,
.project-detail-layout,
.contact-layout,
.article-shell {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.about-profile-heading {
  max-width: 62rem;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 500;
  line-height: 1.85;
}

.about-proof-strip,
.client-trust-panel,
.career-cta-panel,
.governance-panel {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 30px 8px 30px 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(246, 249, 255, .92)),
    radial-gradient(circle at 100% 0, rgba(47, 128, 237, .12), transparent 30%);
  box-shadow: var(--shadow-sm);
}

.about-proof-strip {
  padding: clamp(1rem, 2.6vw, 1.8rem);
}

.contact-method-card,
.career-card,
.about-standard-card {
  border: 1px solid rgba(14, 36, 79, .08);
  border-radius: 22px 6px 22px 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(14, 36, 79, .07);
}

.about-proof-strip__certificates {
  display: grid;
  gap: .85rem;
}

.about-proof-strip__label {
  margin: 0;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.about-proof-strip__certificate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .72rem;
}

.about-proof-strip__certificate {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: .85rem;
  padding: .85rem;
  border: 1px solid rgba(14, 36, 79, .08);
  border-radius: 18px 6px 18px 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(14, 36, 79, .06);
  backface-visibility: hidden;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .22s ease;
}

.about-proof-strip__certificate:hover {
  border-color: rgba(201, 162, 77, .38);
  box-shadow: 0 18px 38px rgba(14, 36, 79, .1);
  transform: translate3d(0, -3px, 0);
}

.about-proof-strip__certificate img {
  flex: 0 0 auto;
  width: 100px;
  height: auto;
  object-fit: contain;
}

.about-proof-strip__certificate i {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  place-items: start;
  border-radius: 0;
  color: var(--gold);
  background: transparent;
  font-size: 1.5rem;
}

.about-proof-strip__certificate h3 {
  flex: 1 1 auto;
  margin: 0;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.4;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.sitemap-card {
  min-height: 100%;
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 24px 8px 24px 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 249, 255, .94)),
    radial-gradient(circle at 100% 0, rgba(47, 128, 237, .1), transparent 34%);
  box-shadow: 0 16px 40px rgba(14, 36, 79, .07);
}

.sitemap-card h3 {
  margin: 0 0 .9rem;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
}

.sitemap-card ul {
  display: grid;
  gap: .55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sitemap-card a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: .62rem;
  padding: .58rem .66rem;
  border-radius: 14px 4px 14px 4px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease-in-out, background .18s ease-in-out, transform .18s ease-in-out;
}

.sitemap-card a:hover,
.sitemap-card a:focus-visible {
  color: var(--navy);
  background: rgba(14, 36, 79, .06);
  transform: translateX(3px);
}

.sitemap-card i {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(201, 162, 77, .16);
}

.career-card i,
.contact-method-card i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(201, 162, 77, .16);
}

.about-standard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.about-standard-card {
  min-height: 155px;
  padding: 1.25rem;
}

.about-standard-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.about-standard-card i {
  color: var(--gold);
  font-size: 2rem;
}

.governance-panel,
.career-cta-panel,
.client-trust-panel {
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.client-trust-panel__metric {
  justify-self: start;
  min-width: 128px;
  padding: 1rem 1.2rem;
  border-radius: 22px 6px 22px 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #183b7a);
}

.client-trust-panel__metric strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.client-trust-panel__metric span {
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
}

.service-detail-main,
.project-detail-main,
.article-content,
.contact-form-panel,
.form-panel {
  min-width: 0;
}

.service-detail-image,
.project-detail-image,
.article-featured-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 30px 8px 30px 8px;
  box-shadow: var(--shadow-md);
}

.service-scope-list,
.check-list {
  display: grid;
  gap: .65rem;
  padding: 0;
  list-style: none;
}

.service-scope-list li,
.check-list li {
  position: relative;
  padding-left: 1.7rem;
}

.service-scope-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: 'âœ“';
  font-weight: 900;
}

.related-project-card {
  overflow: hidden;
  border: 1px solid rgba(14, 36, 79, .08);
  border-radius: 28px 8px 28px 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.related-project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.related-project-card > div {
  padding: 1.15rem;
}

.related-project-card__meta {
  align-self: flex-start;
  gap: .38rem;
  width: fit-content;
  min-height: 28px;
  margin-bottom: .75rem;
  padding: .3rem .62rem;
  border-color: rgba(14, 36, 79, .1);
  border-radius: 999px;
  color: var(--engineering-blue) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(237, 242, 251, .74));
  font-size: .68rem;
  letter-spacing: .038em;
  box-shadow: 0 8px 18px rgba(14, 36, 79, .04);
}

.related-project-card__meta::before {
  width: .4rem;
  height: .4rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, .12);
  content: '';
}

.project-catalog-card.related-project-card::before {
  display: none;
}

.project-catalog-card.related-project-card > img {
  height: 190px;
  aspect-ratio: auto;
}

.project-catalog-card.related-project-card > div {
  min-height: 0;
  padding: 1.15rem;
}

.project-catalog-card.related-project-card h3 {
  margin: 0 0 .75rem;
}

.project-catalog-card.related-project-card:hover,
.project-catalog-card.related-project-card:focus-within {
  border-color: rgba(201, 162, 77, .38);
  box-shadow: 0 22px 46px rgba(14, 36, 79, .12);
  transform: translate3d(0, -4px, 0);
}

.news-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

.news-type-tabs a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .8rem;
  border: 1px solid rgba(14, 36, 79, .12);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, .86);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
  transition: color .18s ease-in-out, background-color .18s ease-in-out, border-color .18s ease-in-out, transform .18s ease-in-out;
}

.news-type-tabs a:hover,
.news-type-tabs a:focus-visible {
  border-color: rgba(201, 162, 77, .42);
  color: var(--navy);
  background: #fff;
  transform: translateY(-1px);
}

.news-type-tabs a.is-active,
.news-type-tabs a[aria-current='page'] {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.card-grid--news[aria-busy="true"] {
  opacity: .72;
  transition: opacity .2s ease;
}

.news-load-more {
  display: grid;
  justify-items: center;
  gap: .75rem;
  margin-top: 2.25rem;
}

.news-load-more[hidden],
.news-load-more__button[hidden] {
  display: none;
}

.news-load-more__button {
  min-width: min(100%, 230px);
}

.news-load-more__button.is-loading,
.news-load-more__button:disabled {
  cursor: progress;
  opacity: .72;
}

.news-load-more__status {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1rem 0 1.25rem;
}

.news-detail-meta span,
.news-detail-meta time {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem .72rem;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, .92);
  font-size: .82rem;
  font-weight: 900;
}

.news-detail-content {
  display: grid;
  gap: 1rem;
  font-size: 16px;
  line-height: 1.8;
}

p.overview-project {
  font-size: 16px;
  line-height: 1.8;
}

.news-detail-content > :first-child {
  margin-top: 0;
}

.news-detail-content > :last-child {
  margin-bottom: 0;
}

.news-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 22px 8px 22px 8px;
  box-shadow: var(--shadow-sm);
}

.article-rail {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-rail span,
.article-rail time {
  padding: .45rem .65rem;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 999px;
  background: #fff;
}

.career-culture-grid,
.contact-info-grid {
  display: grid;
  gap: 1rem;
}

.career-card,
.contact-method-card {
  padding: clamp(1rem, 2.6vw, 1.45rem);
}

.contact-method-card address {
  margin: 0;
}

@media (min-width: 768px) {
  .about-profile-grid,
  .project-detail-layout,
  .contact-layout,
  .article-shell {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  }

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

  .article-shell {
    grid-template-columns: minmax(150px, .22fr) minmax(0, .78fr);
  }

  .governance-panel,
  .career-cta-panel,
  .client-trust-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

@media (min-width: 1200px) {
  .service-related-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .client-trust-panel__metric {
    width: 100%;
  }

  .service-detail-image,
  .project-detail-image,
  .article-featured-image {
    max-height: 320px;
  }

  .service-related-project-card {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-related-project-card,
  .service-related-project-card > img,
  .service-related-project-card__overlay .btn {
    transition: none;
  }

  .service-related-project-card:hover,
  .service-related-project-card:hover > img,
  .service-related-project-card__overlay .btn:hover,
  .service-related-project-card__overlay .btn:focus-visible {
    transform: none;
  }
}

/* Home content pass: services use DB icon media as identifiers, rather than
   pretending those compact assets are photography. */
.expertise-service-grid {
  display: grid;
  gap: .9rem;
}

.expertise-service-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 32px;
  gap: .95rem;
  align-items: center;
  min-height: 132px;
  padding: 1.1rem;
  border: 1px solid rgba(14, 36, 79, .11);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f7faff);
  box-shadow: 0 14px 34px rgba(14, 36, 79, .06);
  backface-visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), border-color .22s ease, box-shadow .22s ease;
}

.expertise-service-card:hover {
  border-color: rgba(47, 128, 237, .45);
  box-shadow: 0 22px 48px rgba(14, 36, 79, .12);
  transform: translate3d(0, -3px, 0);
}

.expertise-service-card__icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(47, 128, 237, .2);
  border-radius: 6px 22px 6px 6px;
  color: var(--engineering-blue);
  background: rgba(47, 128, 237, .07);
}

.expertise-service-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.expertise-service-card__icon i {
  font-size: 1.8rem;
}

.expertise-service-card__copy {
  min-width: 0;
}

.expertise-service-card__index {
  margin: 0 0 .28rem;
  color: var(--engineering-blue);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.expertise-service-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.expertise-service-card h3 a::after {
  position: absolute;
  inset: 0;
  content: '';
}

.expertise-service-card__copy > p:not(.expertise-service-card__index) {
  margin: .45rem 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.expertise-service-card__link {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(14, 36, 79, .14);
  border-radius: 50%;
  color: var(--navy);
}

.expertise-service-card:hover .expertise-service-card__link {
  color: #fff;
  background: var(--navy);
}

/* Client marks retain transparency until hover reveals the organisation name. */
.client-marquee-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.8rem, 1.5vw, 1.25rem);
}

.client-marquee-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 132px;
  padding: .75rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.client-marquee-card img {
  position: relative;
  z-index: 0;
  width: clamp(64px, 4.6vw, 80px);
  height: clamp(64px, 4.6vw, 80px);
  aspect-ratio: 1 / 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08);
  opacity: .78;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition: opacity .22s ease, transform .32s cubic-bezier(.2, .7, .2, 1);
}

@media (hover: hover) {
  .client-marquee-card::after {
    position: absolute;
    z-index: 1;
    right: .7rem;
    bottom: .38rem;
    left: .7rem;
    color: var(--navy);
    content: attr(data-client-name);
    font-size: clamp(.76rem, .9vw, .9rem);
    font-weight: 800;
    line-height: 1.3;
    opacity: 0;
    text-align: center;
    transform: translate3d(0, .45rem, 0);
    transition: opacity .2s ease, transform .32s cubic-bezier(.2, .7, .2, 1);
  }

  .client-marquee-card:hover::after {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .client-marquee-card:hover img {
    filter: grayscale(0) contrast(1);
    opacity: 1;
    transform: translate3d(0, -1.1rem, 0) scale(.92);
  }
}

/* Home news is a compact visual index: only media and title, with no date or
   summary competing against the story headline. */
.news-editorial-grid {
  gap: 1rem;
  border: 0;
  background: transparent;
}

.news-editorial-card {
  display: grid;
  min-height: 0;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 8px;
  background: #fff;
}

.news-editorial-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--engineering-blue));
}

.news-editorial-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease-in-out;
}

.news-editorial-card:hover .news-editorial-card__media img {
  transform: scale(1.045);
}

.news-editorial-card__media span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #fff;
  font-size: 2rem;
}

.news-editorial-card h3 {
  margin: 0;
  padding: 1.1rem 3.1rem 1.2rem 1.1rem;
  font-size: 1.08rem;
}

.news-editorial-card__arrow {
  position: absolute;
  right: 1.05rem;
  bottom: 1.05rem;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--engineering-blue);
  background: var(--navy-pale);
}

.news-editorial-card:hover .news-editorial-card__arrow {
  color: #fff;
  background: var(--navy);
}

.contact-location-section {
  background: var(--surface);
}

.contact-map-frame {
  overflow: hidden;
  border: 1px solid rgba(14, 36, 79, .12);
  border-radius: 8px 34px 8px 8px;
  background: var(--navy-pale);
  box-shadow: var(--shadow-sm);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 45vw, 520px);
  border: 0;
}

@media (min-width: 576px) {
  .expertise-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 992px) {
  .expertise-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .expertise-service-card {
    grid-template-columns: 68px minmax(0, 1fr) 30px;
    min-height: 150px;
  }

  .client-marquee-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Services page media normalization.
   Images in assets/images/service_slug are presentation assets for the Services
   listing/detail pages only; Home keeps compact icon-style service identifiers. */
.service-showcase-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
}

.service-showcase-card.service-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 250, 255, .94));
  box-shadow: 0 18px 44px rgba(14, 36, 79, .08);
}

.service-showcase-card__media {
  position: relative;
  display: block;
  min-height: 230px;
  overflow: hidden;
  background: var(--navy);
}

.service-showcase-card__media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 15, 35, 0), rgba(3, 15, 35, .18)),
    linear-gradient(90deg, rgba(14, 36, 79, .22), transparent 46%);
  content: '';
  pointer-events: none;
}

.service-showcase-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale(1.01);
  transition: transform .72s cubic-bezier(.2, .7, .2, 1);
}

.service-showcase-card:hover .service-showcase-card__media img {
  filter: saturate(1.04) contrast(1.03);
  transform: translate3d(0, 0, 0) scale(1.055);
}

.service-showcase-card__content {
  position: relative;
  min-height: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.service-showcase-card__index {
  margin: 0 0 .75rem;
  color: var(--engineering-blue);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.service-showcase-card__content .expertise-card__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  color: var(--gold);
  background: rgba(201, 162, 77, .14);
}

.service-showcase-card h3 {
  margin: 0 0 .7rem;
  color: var(--navy);
}

.service-showcase-card p {
  max-width: 62rem;
  line-height: 1.75;
}

.service-detail-image {
  aspect-ratio: 16 / 8;
  max-height: 560px;
}

@media (min-width: 768px) {
  .service-showcase-card.service-card {
    grid-template-columns: minmax(280px, .42fr) minmax(0, .58fr);
    align-items: stretch;
  }

  .service-showcase-card:nth-child(even) .service-showcase-card__media {
    order: 2;
  }

  .service-showcase-card__media,
  .service-showcase-card__media img {
    min-height: 320px;
  }

  .service-showcase-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .service-showcase-card.service-card {
    border-radius: 6px;
  }

  .service-showcase-card__media,
  .service-showcase-card__media img {
    min-height: 210px;
  }

  .service-detail-image {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .expertise-service-card,
  .client-marquee-card img,
  .news-editorial-card__media img {
    transition: none;
  }

  .service-showcase-card__media img {
    transition: transform .42s cubic-bezier(.2, .7, .2, 1);
  }
}

/* Motion / hero / popup contract correction.
   Keep this final so older page-hero experiments above cannot narrow Bootstrap
   containers or leave AOS-marked content hidden when motion is unavailable. */
.aos-unavailable [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.page-hero--about,
.page-hero--services,
.page-hero--projects,
.page-hero--clients,
.page-hero--sector,
.page-hero--search,
.page-hero--news,
.page-hero--careers,
.page-hero--contact {
  position: relative;
  min-height: clamp(340px, 42vw, 560px);
  display: flex;
  align-items: center;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  isolation: isolate;
}

body:not(.home-page) .page-hero {
  background-image:
    linear-gradient(135deg, rgba(3, 15, 35, .2), rgba(14, 36, 79, .2)),
    url('../images/brand/engineering-hero-blueprint.jpg');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-hero--about::after,
.page-hero--services::after,
.page-hero--projects::after,
.page-hero--clients::after,
.page-hero--sector::after,
.page-hero--search::after,
.page-hero--news::after,
.page-hero--careers::after,
.page-hero--contact::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(175, 207, 253, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175, 207, 253, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  content: '';
  pointer-events: none;
}

.home-popup {
  opacity: 0;
  transition:
    opacity var(--motion-close-delay, 260ms) ease-in-out,
    visibility 0s linear var(--motion-close-delay, 260ms);
}

.home-popup.is-visible {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.home-popup.is-open {
  opacity: 1;
}

.home-popup-dialog {
  width: min(94vw, 1550px);
  height: auto;
  max-height: calc(100dvh - 2rem);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.home-popup-media,
.home-popup-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.home-popup-image {
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .page-hero--about,
  .page-hero--services,
  .page-hero--projects,
  .page-hero--clients,
  .page-hero--sector,
  .page-hero--search,
  .page-hero--news,
  .page-hero--careers,
  .page-hero--contact {
    min-height: 300px;
    background-position: center bottom;
  }
}

.about-certifications-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(3, 15, 35, .96), rgba(14, 36, 79, .94)),
    url('../images/projects/blue-line-mrt.jpg') center bottom / cover no-repeat;
}

.about-certifications-section::before {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(175, 207, 253, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175, 207, 253, .16) 1px, transparent 1px);
  background-size: 52px 52px;
  content: '';
  pointer-events: none;
}

.about-certifications {
  position: relative;
  z-index: 1;
}

.about-certifications__heading h2,
.about-certifications__heading p,
.about-certifications__statement p,
.about-certifications__statement span {
  color: #fff;
}

.about-certifications__heading .eyebrow {
  color: #f2d891;
}

.about-certifications__showcase {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.about-certifications__statement {
  display: grid;
  align-content: end;
  min-height: 260px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px 34px 8px 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(12px);
}

.about-certifications__statement i {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-size: 1.6rem;
}

.about-certifications__statement p {
  max-width: 24rem;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.18;
}

.about-certifications__statement span {
  margin-top: .85rem;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
  font-weight: 800;
}

.about-certifications-section .about-standard-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.about-certifications-section .about-standard-card {
  position: relative;
  min-height: 178px;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  transition: transform .22s ease-in-out, border-color .22s ease-in-out, background .22s ease-in-out;
}

.about-certifications-section .about-standard-card::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 34px;
  height: 2px;
  background: var(--gold);
  content: '';
}

.about-certifications-section .about-standard-card:hover {
  border-color: rgba(201, 162, 77, .62);
  background: rgba(255, 255, 255, .16);
  transform: translateY(-4px);
}

.about-certifications-section .about-standard-card img {
  width: 70px;
  height: 58px;
  padding: .35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  object-fit: contain;
}

.about-certifications-section .about-standard-card i {
  color: var(--gold);
}

.about-certifications-section .about-standard-card h3 {
  margin-top: 1.25rem;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

@media (min-width: 992px) {
  .about-certifications__showcase {
    grid-template-columns: minmax(300px, .42fr) minmax(0, .58fr);
  }
}

@media (max-width: 575.98px) {
  .about-certifications__statement {
    min-height: 220px;
  }

  .about-certifications-section .about-standard-grid {
    grid-template-columns: 1fr;
  }

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

/* Shared page-hero and AOS runtime contract. */
body:not(.home-page) .page-hero {
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

body:not(.home-page) .page-hero {
  background-image:
    linear-gradient(135deg, rgba(3, 15, 35, .2), rgba(14, 36, 79, .2)),
    url('../images/brand/page-hero.png');
}

html.aos-enabled [data-aos] {
  transition-duration: 850ms !important;
  transition-timing-function: var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
  will-change: opacity, transform;
}

html.aos-enabled.aos-reduced-motion [data-aos] {
  transition-duration: 650ms !important;
}

html.aos-ready [data-aos="fade-up"]:not(.aos-animate) {
  transform: translate3d(0, 42px, 0);
}

html.aos-ready.aos-reduced-motion [data-aos="fade-up"]:not(.aos-animate) {
  transform: translate3d(0, 28px, 0);
}

/* Final public motion normalization. This intentionally stays late in the
   cascade to smooth interaction states added by earlier page-specific blocks
   without changing layout or data attributes. */
.client-logo-card,
.project-related-service-card,
.project-more-grid .related-project-card,
.sector-card,
.sector-card--home-overlay,
.sector-card--index,
.sector-card--rich,
.project-expertise-chip,
.project-catalog-card,
.service-showcase-card,
.service-focus-card,
.project-feature,
.project-brief,
.news-card,
.news-editorial-card,
.related-project-card,
.expertise-service-card,
.about-certifications-section .about-standard-card,
.not-found-quick-link-card,
.error-quick-link-card,
.news-type-tabs a,
.filter-pills a {
  transition-property: border-color, background-color, box-shadow, color, opacity, transform;
  transition-duration: .22s, .22s, .36s, .2s, .22s, .34s;
  transition-timing-function: ease, ease, ease, ease, ease, var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
}

.project-feature > img,
.project-catalog-card > img,
.related-project-card img,
.service-showcase-card > img,
.service-showcase-card__media img,
.service-focus-card__media img,
.news-card > img,
.news-editorial-card__media img,
.client-marquee-card img,
.service-related-project-card > img {
  transition:
    filter .28s ease,
    opacity .22s ease,
    transform .68s var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
}

.news-editorial-card__arrow,
.expertise-service-card__link,
.sector-card__icon,
.project-lightbox__close,
.project-lightbox__nav,
.home-popup-close {
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .28s ease,
    transform .28s var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-card,
  .project-related-service-card,
  .project-more-grid .related-project-card,
  .sector-card,
  .sector-card--home-overlay,
  .sector-card--index,
  .sector-card--rich,
  .project-expertise-chip,
  .project-catalog-card,
  .service-showcase-card,
  .service-focus-card,
  .project-feature,
  .project-brief,
  .news-card,
  .news-editorial-card,
  .related-project-card,
  .expertise-service-card,
  .about-certifications-section .about-standard-card,
  .not-found-quick-link-card,
  .error-quick-link-card,
  .news-type-tabs a,
  .filter-pills a,
  .project-feature > img,
  .project-catalog-card > img,
  .related-project-card img,
  .service-showcase-card > img,
  .service-showcase-card__media img,
  .service-focus-card__media img,
  .news-card > img,
  .news-editorial-card__media img,
  .client-marquee-card img,
  .service-related-project-card > img,
  .project-lightbox,
  .project-lightbox__backdrop,
  .project-lightbox__dialog,
  .project-lightbox__close,
  .project-lightbox__nav,
  .home-popup,
  .home-popup-backdrop,
  .home-popup-dialog,
  .home-popup-close {
    animation: none !important;
    transition-duration: 160ms !important;
  }

  .client-logo-card:hover,
  .project-related-service-card:hover,
  .project-more-grid .related-project-card:hover,
  .sector-card:hover,
  .sector-card--home-overlay:hover,
  .sector-card--index:hover,
  .sector-card--rich:hover,
  .project-expertise-chip:hover,
  .project-catalog-card:hover,
  .service-showcase-card:hover,
  .service-focus-card:hover,
  .project-feature:hover,
  .project-brief:hover,
  .news-card:hover,
  .news-editorial-card:hover,
  .related-project-card:hover,
  .expertise-service-card:hover,
  .about-certifications-section .about-standard-card:hover,
  .not-found-quick-link-card:hover,
  .error-quick-link-card:hover,
  .news-type-tabs a:hover,
  .filter-pills a:hover,
  .project-feature:hover > img,
  .project-catalog-card:hover > img,
  .related-project-card:hover img,
  .service-showcase-card:hover > img,
  .service-showcase-card:hover .service-showcase-card__media img,
  .service-focus-card:hover .service-focus-card__media img,
  .news-card:hover > img,
  .news-editorial-card:hover .news-editorial-card__media img,
  .client-marquee-card:hover img,
  .service-related-project-card:hover > img,
  .project-lightbox__close:hover,
  .project-lightbox__nav:hover,
  .home-popup-close:hover {
    transition-duration: 160ms !important;
  }
}

/* Routed 404 / invalid request path page inside the public layout. */
.page-hero--not-found {
  position: relative;
  overflow: hidden;
}

.page-hero--not-found::after {
  position: absolute;
  right: clamp(1rem, 8vw, 8rem);
  bottom: -3.75rem;
  width: min(34vw, 17rem);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 162, 77, .28);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.error-page__section {
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 128, 237, .09), transparent 22rem),
    linear-gradient(180deg, #f7f9fd 0%, #fff 100%);
}

.error-page .error-panel {
  display: grid;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: stretch;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 58px rgba(14, 36, 79, .1);
}

.error-panel__status {
  position: relative;
  display: grid;
  min-height: 210px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px 2px 8px 2px;
  color: rgba(255, 255, 255, .92);
  background:
    radial-gradient(circle at 24% 18%, rgba(201, 162, 77, .34), transparent 34%),
    linear-gradient(135deg, var(--navy), #173f77);
}

.error-panel__status::before,
.error-panel__status::after {
  position: absolute;
  content: '';
  pointer-events: none;
}

.error-panel__status::before {
  inset: 1.1rem;
  border: 1px solid rgba(255, 255, 255, .18);
}

.error-panel__status::after {
  right: -4rem;
  bottom: -4rem;
  width: 13rem;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 162, 77, .35);
  border-radius: 50%;
}

.error-panel__status span {
  position: relative;
  z-index: 1;
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
}

.error-panel__content h2 {
  max-width: 48rem;
  margin-bottom: .8rem;
  color: var(--navy);
}

.error-panel__content > p:not(.eyebrow):not(.error-panel__request) {
  max-width: 54rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.8;
}

.error-panel__request {
  display: grid;
  gap: .35rem;
  max-width: 54rem;
  margin: 1.15rem 0 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(14, 36, 79, .12);
  border-left: 4px solid var(--gold);
  background: #f8fafc;
}

.error-panel__request code {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.error-search-form {
  display: grid;
  max-width: 54rem;
  gap: .65rem;
  margin-top: 1.3rem;
  padding: 1rem;
  border: 1px solid rgba(14, 36, 79, .1);
  background: #fff;
}

.error-search-form label {
  color: var(--navy);
  font-weight: 800;
}

.error-search-form > div {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.error-search-form input[type='search'] {
  min-width: min(100%, 280px);
  flex: 1 1 22rem;
  padding: .8rem .95rem;
  border: 1px solid #aeb8c7;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.error-panel__actions {
  margin-top: 1.2rem;
}

.error-quick-links {
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.error-quick-links__grid {
  display: grid;
  gap: 1rem;
}

.error-quick-link-card {
  display: grid;
  gap: .45rem;
  min-height: 100%;
  padding: 1.05rem;
  border: 1px solid rgba(14, 36, 79, .1);
  border-top: 3px solid var(--gold);
  border-radius: 8px 2px 8px 2px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 32px rgba(14, 36, 79, .06);
  backface-visibility: hidden;
  transition: border-color .22s ease, box-shadow .22s ease, transform .32s cubic-bezier(.2, .7, .2, 1);
}

.error-quick-link-card i {
  color: var(--engineering-blue);
  font-size: 1.35rem;
}

.error-quick-link-card span {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.error-quick-link-card small {
  color: var(--muted);
  line-height: 1.6;
}

.error-quick-link-card:hover,
.error-quick-link-card:focus-visible {
  border-color: rgba(201, 162, 77, .45);
  box-shadow: 0 20px 44px rgba(14, 36, 79, .11);
  transform: translate3d(0, -3px, 0);
}

@media (min-width: 768px) {
  .error-quick-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .error-page .error-panel {
    grid-template-columns: minmax(250px, .36fr) minmax(0, 1fr);
  }

  .error-quick-links__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .error-search-form .btn,
  .error-panel__actions .btn {
    width: 100%;
  }
}

.error-page__section {
  background:
    radial-gradient(circle at 16% 18%, rgba(47, 128, 237, .1), transparent 22rem),
    linear-gradient(180deg, #f6f9fd 0%, #fff 100%);
}

.error-page .error-panel {
  display: grid;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.35rem, 4vw, 2.6rem);
  border-radius: 8px;
}

.error-page .error-panel__status {
  display: grid;
  min-height: 220px;
  place-items: center;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 36, 79, .96), rgba(22, 64, 133, .92)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, .08) 18px 19px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.error-page .error-panel__status span {
  color: rgba(255, 255, 255, .9);
  font-size: clamp(4.8rem, 14vw, 9rem);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
}

.error-page .error-panel__content h2 {
  max-width: 680px;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.12;
}

.error-page .error-panel__content > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.02rem;
}

.error-panel__request {
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  padding: .65rem .75rem;
  border: 1px solid rgba(14, 36, 79, .12);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  background: rgba(255, 255, 255, .82);
}

.error-panel__request code {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.error-search-form {
  display: grid;
  max-width: 680px;
  gap: .65rem;
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(14, 36, 79, .06);
}

.error-search-form label {
  color: var(--navy);
  font-weight: 800;
}

.error-search-form > div {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.error-search-form input[type='search'] {
  min-width: min(100%, 280px);
  flex: 1 1 22rem;
  padding: .8rem .95rem;
  border: 1px solid #aeb8c7;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.error-panel__actions {
  margin-top: 1.2rem;
}

.error-quick-links {
  margin-top: clamp(2rem, 5vw, 3.4rem);
}

.error-quick-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.error-quick-link-card {
  display: grid;
  gap: .55rem;
  min-height: 100%;
  padding: 1.05rem;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
  backface-visibility: hidden;
  transition: border-color .22s ease, box-shadow .22s ease, transform .32s cubic-bezier(.2, .7, .2, 1);
}

.error-quick-link-card:hover,
.error-quick-link-card:focus-visible {
  border-color: rgba(201, 162, 77, .55);
  box-shadow: 0 18px 38px rgba(14, 36, 79, .12);
  transform: translate3d(0, -3px, 0);
}

.error-quick-link-card i {
  color: var(--engineering-blue);
  font-size: 1.35rem;
}

.error-quick-link-card span {
  color: var(--navy);
  font-weight: 800;
}

.error-quick-link-card small {
  color: var(--muted);
  line-height: 1.55;
}

@media (min-width: 992px) {
  .error-page .error-panel {
    grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  .error-page .error-panel__status {
    min-height: 150px;
  }

  .error-search-form .btn,
  .error-panel__actions .btn {
    width: 100%;
  }
}

/* Standalone 404 / invalid request path page. It intentionally does not depend
   on CI controller context, so early router errors and show_404() paths share
   the same polished fallback. */
.error-document {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 10%, rgba(47, 128, 237, .2), transparent 28rem),
    linear-gradient(180deg, #f7f9fd 0%, #eef3fb 48%, #fff 100%);
}

.error-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(14, 36, 79, .1);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
}

.error-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.error-brand {
  display: inline-flex;
  width: min(180px, 42vw);
  align-items: center;
}

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

.error-header__link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: .55rem .85rem;
  border: 1px solid rgba(14, 36, 79, .14);
  border-radius: 999px;
  color: var(--navy);
  font-size: .8rem;
  font-weight: 800;
  background: #fff;
  transition: color .18s ease-in-out, background .18s ease-in-out, transform .18s ease-in-out;
}

.error-header__link:hover,
.error-header__link:focus-visible {
  color: #fff;
  background: var(--navy);
  transform: translateY(-1px);
}

.error-main {
  overflow: hidden;
}

.error-hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem) 0;
  color: var(--ink);
}

.error-hero::before {
  position: absolute;
  inset: auto -10vw -34vw auto;
  width: min(820px, 84vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(14, 36, 79, .12), rgba(47, 128, 237, .04)),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(14, 36, 79, .05) 16px 17px);
  content: '';
  pointer-events: none;
}

.error-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.error-hero__content h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  letter-spacing: -.06em;
}

.error-hero__content .lead {
  max-width: 46rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.error-path {
  display: grid;
  max-width: 52rem;
  gap: .35rem;
  margin-top: 1.35rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(14, 36, 79, .12);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-sm);
}

.error-path span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.error-path code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .95rem;
}

.error-actions {
  margin-top: 1.35rem;
}

.error-search {
  display: grid;
  max-width: 52rem;
  gap: .7rem;
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(14, 36, 79, .1);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 32px rgba(14, 36, 79, .06);
}

.error-search label {
  color: var(--navy);
  font-weight: 800;
}

.error-search > div {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.error-search input[type='search'] {
  min-width: min(100%, 280px);
  flex: 1 1 24rem;
  padding: .8rem .95rem;
  border: 1px solid #aeb8c7;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.error-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(14, 36, 79, .12);
  border-radius: 28px 8px 28px 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(246, 249, 255, .9)),
    radial-gradient(circle at 100% 0, rgba(201, 162, 77, .2), transparent 34%);
  box-shadow: 0 24px 58px rgba(14, 36, 79, .13);
}

.error-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--engineering-blue), var(--gold));
  content: '';
}

.error-code {
  margin-bottom: .8rem;
  color: rgba(14, 36, 79, .08);
  font-size: clamp(4.2rem, 12vw, 8rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .82;
}

.error-panel h2 {
  margin: 0 0 .6rem;
  color: var(--navy);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.error-panel p {
  color: var(--muted);
}

.error-link-list {
  display: grid;
  gap: .55rem;
  padding: 0;
  margin: 1.2rem 0;
  list-style: none;
}

.error-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem .85rem;
  border-radius: 14px 4px 14px 4px;
  color: var(--ink);
  font-weight: 800;
  background: rgba(14, 36, 79, .045);
  transition: color .18s ease-in-out, background .18s ease-in-out, transform .18s ease-in-out;
}

.error-link-list a:hover,
.error-link-list a:focus-visible {
  color: var(--navy);
  background: rgba(201, 162, 77, .18);
  transform: translateX(3px);
}

.error-note {
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(14, 36, 79, .1);
  font-size: .9rem;
}

@media (min-width: 992px) {
  .error-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .38fr);
  }
}

@media (max-width: 575.98px) {
  .error-header__inner {
    min-height: 72px;
  }

  .error-header__link {
    min-height: 38px;
    padding-inline: .7rem;
    font-size: .76rem;
  }

  .error-hero {
    min-height: calc(100vh - 72px);
    padding: 2.4rem 0;
  }

  .error-hero__content h1 {
    max-width: 10ch;
  }

  .error-actions .btn,
  .error-search .btn {
    width: 100%;
  }
}

/* Final ESG gateway pill correction. Earlier home experiments override the
   icon color after the circular tag is created; keep the tag visible. */
.sustainability-gateway__pills span {
  gap: .58rem;
}

.sustainability-gateway__pills i {
  display: inline-grid;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 1.85rem;
  place-items: center;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--leed-green), #1f7a36);
  box-shadow: 0 8px 18px rgba(31, 122, 54, .2);
  font-size: .78rem;
  line-height: 1;
}

/* Final page-level motion contract for JS interactions. */
html.aos-unavailable [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.home-popup {
  transition:
    opacity var(--motion-base, 240ms) ease-in-out,
    visibility 0s linear var(--motion-base, 240ms);
}

.home-popup.is-visible {
  transition-delay: 0s;
}

.home-popup-dialog {
  transition:
    opacity var(--motion-slow, 340ms) ease-in-out,
    transform var(--motion-slow, 340ms) var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
  will-change: opacity, transform;
}

.project-lightbox {
  transition:
    opacity var(--motion-base, 240ms) ease-in-out,
    visibility 0s linear var(--motion-base, 240ms);
}

.project-lightbox.is-visible {
  transition-delay: 0s;
}

.project-lightbox__dialog {
  transition:
    opacity var(--motion-base, 240ms) ease-in-out,
    transform var(--motion-base, 240ms) var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
  will-change: opacity, transform;
}

.project-lightbox__image,
.home-popup-image {
  backface-visibility: hidden;
  transform: translateZ(0);
}

[data-card-href] {
  cursor: pointer;
}

[data-card-href]:focus-visible {
  outline: 3px solid rgba(47, 128, 237, .3);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .home-popup,
  .home-popup-dialog,
  .project-lightbox,
  .project-lightbox__dialog,
  .project-lightbox__close,
  .project-lightbox__nav,
  [data-card-href],
  [data-card-href] * {
    animation: none !important;
    transition-duration: 160ms !important;
    will-change: auto !important;
  }
}

/* Page interaction motion normalization. */
.project-gallery-preview,
.project-gallery-preview::before,
.project-gallery-preview::after,
.project-gallery-preview img,
.project-related-service-card,
.project-more-grid .related-project-card,
.project-lightbox,
.project-lightbox__backdrop,
.project-lightbox__dialog,
.project-lightbox__image,
.project-lightbox__close,
.project-lightbox__nav,
.home-popup,
.home-popup-backdrop,
.home-popup-dialog,
.home-popup-image,
.home-popup-close,
.home-popup-dialog>.btn,
.home-popup-dialog>.button,
[data-card-href],
.sector-card,
.client-logo-card {
  transition-timing-function: var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
}

.project-lightbox__backdrop,
.home-popup-backdrop {
  transition:
    opacity var(--motion-close-delay, 260ms) ease,
    backdrop-filter var(--motion-close-delay, 260ms) ease;
}

.project-lightbox__dialog,
.home-popup-dialog {
  backface-visibility: hidden;
  transition:
    opacity var(--motion-slow, 340ms) ease,
    transform var(--motion-slow, 340ms) var(--motion-emphasis, cubic-bezier(.16, 1, .3, 1));
}

.project-lightbox__image,
.home-popup-image {
  transition:
    opacity var(--motion-base, 240ms) ease,
    filter var(--motion-base, 240ms) ease,
    transform var(--motion-slow, 340ms) var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
}

.project-lightbox__close,
.project-lightbox__nav,
.home-popup-close,
.home-popup-dialog>.btn,
.home-popup-dialog>.button {
  backface-visibility: hidden;
  transition:
    color var(--motion-fast, 160ms) ease-in-out,
    background-color var(--motion-fast, 160ms) ease-in-out,
    border-color var(--motion-fast, 160ms) ease-in-out,
    box-shadow var(--motion-base, 240ms) ease,
    opacity var(--motion-base, 240ms) ease,
    transform var(--motion-base, 240ms) var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
}

.project-lightbox__close:hover,
.project-lightbox__close:focus-visible,
.home-popup-close:hover,
.home-popup-close:focus-visible,
.home-popup-dialog>.btn:hover,
.home-popup-dialog>.btn:focus-visible,
.home-popup-dialog>.button:hover,
.home-popup-dialog>.button:focus-visible {
  transform: translate3d(0, -2px, 0) scale(1.03);
}

/* Contact */
.contact-page .contact-redesign {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.contact-page .contact-info-panel,
.contact-page .contact-message-panel {
  border: 1px solid rgba(14, 36, 79, .12);
  border-radius: 10px 34px 10px 10px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(14, 36, 79, .08);
}

.contact-page .contact-info-panel {
  overflow: hidden;
}

.contact-page .contact-info-panel__head {
  padding: clamp(1.25rem, 3vw, 2rem);
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(201, 162, 77, .34), transparent 34%),
    linear-gradient(135deg, var(--navy), #123d7a);
}

.contact-page .contact-info-panel__head h2,
.contact-page .contact-info-panel__head p {
  margin: 0;
}

.contact-page .contact-info-panel__head h2 {
  margin-top: .45rem;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.contact-page .contact-info-panel__head .eyebrow {
  color: rgba(255, 255, 255, .75);
}

.contact-page .contact-info-panel__company {
  margin-top: 1rem !important;
  color: #fff;
  font-weight: 800;
  line-height: 1.45;
}

.contact-page .contact-channel-list {
  display: grid;
  gap: .85rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.contact-page .contact-channel-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(14, 36, 79, .1);
  border-radius: 8px 24px 8px 8px;
  background: linear-gradient(145deg, #fff, var(--navy-pale));
}

.contact-page .contact-channel-card > i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(201, 162, 77, .2);
}

.contact-page .contact-channel-card__label {
  margin: 0 0 .22rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-page .contact-channel-card address,
.contact-page .contact-channel-card a,
.contact-page .contact-channel-card span {
  color: var(--navy);
  font-style: normal;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-page .contact-directory-social {
  padding: 0 clamp(1rem, 2.4vw, 1.35rem) clamp(1rem, 2.4vw, 1.35rem);
  border-top: 0;
}

.contact-page .contact-message-panel {
  padding: clamp(1.15rem, 3vw, 2rem);
}

.contact-page .contact-message-panel__head {
  display: grid;
  gap: .45rem;
  margin-bottom: 1.25rem;
}

.contact-page .contact-message-panel__head h2,
.contact-page .contact-message-panel__head p {
  margin: 0;
}

.contact-page .contact-message-panel__head h2 {
  color: var(--navy);
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

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

.contact-page .contact-form-field {
  display: grid;
  gap: .45rem;
}

.contact-page .contact-form-field--full {
  grid-column: 1 / -1;
}

.contact-page .contact-form-field label {
  color: var(--navy);
  font-weight: 800;
}

.contact-page .contact-required {
  color: var(--engineering-blue);
}

.contact-page .contact-form-field input,
.contact-page .contact-form-field textarea {
  width: 100%;
  border: 1px solid rgba(14, 36, 79, .16);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: .82rem .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-page .contact-form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-page .contact-form-field input:focus,
.contact-page .contact-form-field textarea:focus {
  outline: none;
  border-color: var(--engineering-blue);
  box-shadow: 0 0 0 4px rgba(47, 128, 237, .12);
}

.contact-page .contact-turnstile {
  display: grid;
  grid-column: 1 / -1;
  gap: .45rem;
  min-width: 0;
  padding: .95rem;
  border: 1px solid rgba(14, 36, 79, .12);
  border-radius: 10px;
  background: linear-gradient(145deg, #fff, rgba(247, 250, 255, .95));
}

.contact-page .turnstile-widget {
  min-height: 65px;
  overflow: hidden;
}

.contact-page .turnstile-widget iframe {
  max-width: 100%;
}

.contact-page .turnstile-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
}

.contact-page .turnstile-status:empty {
  display: none;
}

.contact-page .turnstile-status.error {
  color: #ba493e;
  font-weight: 800;
}

.contact-page .turnstile-status.success {
  color: #16784f;
  font-weight: 800;
}

.contact-page .contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: .85rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: .25rem;
}

.contact-page .contact-form-actions .btn {
  border-radius: 999px;
}

.contact-page .contact-form-actions .btn:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.contact-page .contact-privacy-note {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.contact-page .contact-privacy-note i {
  color: var(--gold);
}

.contact-page .contact-form-status {
  grid-column: 1 / -1;
  display: none;
  margin: 0;
  padding: .85rem 1rem;
  border-radius: 10px;
  font-weight: 800;
  line-height: 1.55;
}

.contact-page .contact-form-status.success {
  display: block;
  color: #12623f;
  background: rgba(22, 120, 79, .1);
}

.contact-page .contact-form-status.error {
  display: block;
  color: #9f352d;
  background: rgba(186, 73, 62, .1);
}

@media (max-width: 991.98px) {
  .contact-page .contact-redesign {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .contact-page .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-message-panel,
  .contact-page .contact-channel-list {
    padding: 1rem;
  }
}

.project-lightbox__nav:hover,
.project-lightbox__nav:focus-visible {
  transform: translateY(-50%) scale(1.06);
}

.project-gallery-preview,
[data-card-href],
.sector-card,
.client-logo-card,
.project-related-service-card,
.project-more-grid .related-project-card {
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition:
    border-color var(--motion-base, 240ms) ease,
    box-shadow var(--motion-base, 240ms) ease,
    background-color var(--motion-base, 240ms) ease,
    color var(--motion-fast, 160ms) ease-in-out,
    opacity var(--motion-base, 240ms) ease,
    transform var(--motion-slow, 340ms) var(--motion-ease, cubic-bezier(.2, .7, .2, 1));
}

[data-card-href]:hover,
[data-card-href]:focus-within {
  transform: translate3d(0, -3px, 0);
}

@media (prefers-reduced-motion: reduce) {
  .project-gallery-preview,
  .project-gallery-preview::before,
  .project-gallery-preview::after,
  .project-gallery-preview img,
  .project-related-service-card,
  .project-more-grid .related-project-card,
  .project-lightbox,
  .project-lightbox__backdrop,
  .project-lightbox__dialog,
  .project-lightbox__image,
  .project-lightbox__close,
  .project-lightbox__nav,
  .home-popup,
  .home-popup-backdrop,
  .home-popup-dialog,
  .home-popup-image,
  .home-popup-close,
  .home-popup-dialog>.btn,
  .home-popup-dialog>.button,
  [data-card-href],
  .sector-card,
  .client-logo-card {
    animation: none !important;
    transition-duration: 160ms !important;
  }

  .project-gallery-preview:hover img,
  .project-gallery-preview:focus-visible img,
  .project-related-service-card:hover,
  .project-more-grid .related-project-card:hover,
  .project-lightbox__close:hover,
  .project-lightbox__close:focus-visible,
  .home-popup-close:hover,
  .home-popup-close:focus-visible,
  .home-popup-dialog>.btn:hover,
  .home-popup-dialog>.button:hover,
  [data-card-href]:hover,
  [data-card-href]:focus-within,
  .sector-card:hover,
  .client-logo-card:hover {
    transition-duration: 160ms !important;
  }

  .project-lightbox__nav:hover,
  .project-lightbox__nav:focus-visible {
    transform: translateY(-50%) !important;
  }
}

/* Home hero — one canonical source of truth. The wide desktop composition
   follows the approved reference: readable content on the left, full project
   imagery on the right, and proof points overlapping the lower edge. */
.home-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: var(--home-hero-desktop-image, url('../images/brand/hero-home-page.png'));
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(3, 15, 35, .34) 0%, rgba(3, 15, 35, .12) 44%, transparent 72%),
    linear-gradient(180deg, rgba(3, 15, 35, .18), transparent 36%, rgba(3, 15, 35, .16));
  content: '';
  pointer-events: none;
}

.home-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(137, 219, 255, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 219, 255, .11) 1px, transparent 1px);
  background-position: center bottom;
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .7) 38%, transparent 82%);
  pointer-events: none;
}

.home-hero__scanline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(1.25rem, 7vw, 8rem);
  z-index: 1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(75, 224, 239, .65) 28%, rgba(75, 224, 239, .1) 78%, transparent);
  box-shadow: 0 0 20px rgba(75, 224, 239, .28);
  opacity: .55;
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 610px;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0 10rem;
}

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

body.has-hero-overlay .home-hero__inner {
  padding-top: max(clamp(5.75rem, 9vw, 8rem), calc(var(--site-header-height) + 2.25rem));
}

.home-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

.home-hero h1,
.home-hero .hero-title {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 5.8vw, 5.85rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.home-hero__lead {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: rgba(239, 245, 255, .92);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-capability-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.45rem;
}

.hero-capability-strip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: .48rem;
  padding: .48rem .72rem;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #eff5ff;
  background: rgba(255, 255, 255, .08);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
}

.hero-capability-strip i,
.home-proof i {
  color: var(--gold);
}

.home-hero__actions {
  margin-top: 1.35rem;
}

.home-hero__actions .btn {
  min-width: 190px;
}

.home-hero__scroll-cue {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(5.75rem, 8vw, 7.5rem);
  z-index: 2;
  display: grid;
  gap: .6rem;
  justify-items: center;
  color: rgba(255, 255, 255, .76);
  font-size: .72rem;
}

.home-hero__scroll-cue span {
  display: block;
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, transparent, var(--gold));
}

.home-hero__scroll-cue i {
  color: var(--gold);
  animation: home-scroll-cue 1.8s ease-in-out infinite;
}

@keyframes home-scroll-cue {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50% { transform: translateY(5px); opacity: 1; }
}

.home-proof {
  position: relative;
  z-index: 4;
  display: grid;
  width: calc(100% - 2rem);
  max-width: 1320px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -1.5rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(14, 36, 79, .12);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 70px rgba(3, 15, 35, .22);
  backdrop-filter: blur(10px);
}

.home-proof > div {
  display: flex;
  min-height: 96px;
  gap: .8rem;
  align-items: center;
  padding: 1rem;
  border-right: 1px solid rgba(14, 36, 79, .12);
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.45;
}

.home-proof > div:last-child {
  border-right: 0;
}

.home-proof i {
  font-size: 1.25rem;
}

@media (min-width: 576px) {
  .home-proof {
    width: calc(100% - 3rem);
  }
}

@media (min-width: 992px) {
  .home-hero__copy {
    top: calc(clamp(2rem, 2.5vw, 3rem) + 2rem);
  }

  .home-hero__inner {
    min-height: min(720px, calc(100vh - 92px));
    align-items: start;
    padding-top: calc(var(--site-header-height) + clamp(2.75rem, 4vw, 4.5rem));
    padding-bottom: clamp(8rem, 10vw, 10rem);
  }

  body.has-hero-overlay .home-hero__inner {
    padding-top: calc(var(--site-header-height) + clamp(2.75rem, 4vw, 4.5rem));
  }

  .home-hero h1,
  .home-hero .hero-title {
    max-width: 39rem;
    font-size: clamp(2.3rem, 2.65vw, 3.6rem);
    line-height: 1.04;
  }

  .home-hero__lead {
    max-width: 34rem;
    margin-top: 1rem;
  }

  .hero-capability-strip {
    margin-top: 1.15rem;
  }

  .home-hero__actions {
    margin-top: 1.4rem;
  }

  .home-proof {
    margin-top: -6rem;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .home-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof > div {
    border-right: 0;
    border-bottom: 1px solid rgba(14, 36, 79, .12);
  }

  .home-proof > div:nth-child(odd) {
    border-right: 1px solid rgba(14, 36, 79, .12);
  }

  .home-proof > div:nth-child(n + 3) {
    border-bottom: 0;
  }

}

/* Phone and portrait-tablet views use the dedicated portrait artwork. Wide
   tablet and desktop layouts retain the approved landscape composition. */
@media (max-width: 767.98px), (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
  .home-hero {
    min-height: 100vh;
    min-height: 100svh;
    background-image: var(--home-hero-mobile-image, var(--home-hero-desktop-image, url('../images/brand/hero-home-mobile.jpg')));
    background-position: center center;
  }

  body.has-hero-overlay .home-hero,
  body.has-hero-overlay .home-hero__inner {
    min-height: 100vh;
    min-height: 100svh;
  }

  .home-hero__inner {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    align-items: flex-end;
    padding-top: calc(var(--site-header-height) + 1.25rem);
    padding-bottom: max(2.25rem, calc(env(safe-area-inset-bottom) + 1rem));
  }

  .home-hero__copy {
    max-width: none;
    padding-bottom: .25rem;
  }

  .home-hero h1,
  .home-hero .hero-title {
    max-width: none;
    font-size: clamp(2rem, 7vw, 2.65rem);
    line-height: 1.14;
    letter-spacing: -.03em;
    text-shadow: 0 3px 22px rgba(3, 15, 35, .4);
  }

  .home-hero__lead {
    max-width: 34rem;
    margin-top: .85rem;
    font-size: clamp(.94rem, 2.8vw, 1.05rem);
    line-height: 1.65;
    text-shadow: 0 3px 22px rgba(3, 15, 35, .4);
  }

  .hero-capability-strip {
    display: none;
  }

  .home-hero__actions {
    width: 100%;
    margin-top: 1.15rem;
  }

  .home-hero__actions .btn {
    width: 100%;
    min-width: 100%;
    min-height: 48px;
  }

  .home-hero__grid {
    opacity: .18;
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 42%, rgba(0, 0, 0, .2) 100%);
  }

  .home-hero__scanline,
  .home-hero__scroll-cue {
    display: none;
  }

  .home-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    margin: 0 1rem 1rem;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(3, 15, 35, .2);
  }

  .home-proof > div {
    min-height: 74px;
    gap: .5rem;
    padding: .65rem .58rem;
    border-right: 0;
    border-bottom: 1px solid rgba(14, 36, 79, .12);
    font-size: .8rem;
    line-height: 1.42;
  }

  .home-proof > div:nth-child(odd) {
    border-right: 1px solid rgba(14, 36, 79, .12);
  }

  .home-proof > div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .home-proof i {
    font-size: 1rem;
  }

}

@media (max-width: 767.98px) and (orientation: landscape) {
  .home-hero,
  .home-hero__inner,
  body.has-hero-overlay .home-hero,
  body.has-hero-overlay .home-hero__inner {
    min-height: 42rem;
  }
}
