:root {
  --ink: #07182d;
  --navy: #08213c;
  --navy-2: #12385c;
  --green: #17642b;
  --green-2: #0f4b23;
  --gold: #c59a2f;
  --sand: #f4f1e9;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #d8d1c2;
  --muted: #617083;
  --soft: #eef4ee;
  --shadow-sm: 0 8px 22px rgba(7, 24, 45, 0.08);
  --shadow: 0 14px 34px rgba(7, 24, 45, 0.1);
  --shadow-hover: 0 18px 38px rgba(7, 24, 45, 0.14);
  --radius: 6px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #dce9df;
  color: var(--ink);
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

#main-content:focus {
  outline: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  background: #061527;
  color: #d6dee7;
  font-size: 13px;
}

.topbar .wrap {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar a {
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: var(--white);
}

.division-switcher {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.nav-links .division-nav-link {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e6e0d3;
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 8px 24px rgba(7, 24, 45, 0.09);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 245px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e4ddcf;
  border-radius: 4px;
  padding: 2px;
}

.brand-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #324154;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 12px 0;
}

.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}

.nav-links > a:not(.nav-cta):hover::after,
.nav-links > a:not(.nav-cta).active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.nav-links .nav-cta {
  padding: 12px 15px;
  border-radius: 4px;
  background: var(--green);
  color: var(--white);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  color: var(--white);
  background: var(--green-2);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 100, 43, 0.2);
}

.btn-primary:hover {
  background: var(--green-2);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.gold {
  color: #d6ba67;
}

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

h1 {
  max-width: 830px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
}

.lead {
  max-width: 700px;
  margin-top: 20px;
  font-size: 17px;
  color: #d9e5ec;
}

.body-copy {
  max-width: 700px;
  margin-top: 18px;
  color: #485568;
  font-size: 16px;
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 19, 35, 0.96), rgba(5, 19, 35, 0.82) 43%, rgba(5, 19, 35, 0.18) 78%),
    url("../images/hero-field.jpg") center / cover no-repeat;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 90px 0 52px;
}

.hero::after,
.page-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: max(24px, calc((100% - var(--max)) / 2));
  z-index: 2;
  width: 96px;
  height: 4px;
  background: var(--gold);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 14px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.proof-item {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.proof-item span {
  display: block;
  margin-top: 7px;
  color: #516173;
  font-size: 13px;
  font-weight: 600;
}

.section {
  padding: 86px 0;
}

.section-white {
  background: #fff;
}

.section-sand {
  background: var(--sand);
}

.section-navy {
  background: var(--navy);
  color: #fff;
}

.section-navy .body-copy {
  color: #c8d5df;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 430px;
  color: #526174;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.05fr 2fr;
  gap: 42px;
  align-items: center;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  list-style: none;
  overflow: hidden;
}

.client-logo {
  min-height: 98px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  background: var(--white);
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.client-logo img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  filter: saturate(0.75);
  opacity: 0.82;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.35s var(--ease);
}

.cap-grid,
.project-grid,
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cap-card,
.cert-card,
.office-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}

.cap-card {
  height: 100%;
  min-height: 250px;
  padding: 24px;
  border-top: 4px solid var(--green);
}

.card-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

.cap-card p,
.cert-card p,
.info-card p {
  margin-top: 12px;
  color: #536175;
  font-size: 14px;
}

.plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #233349;
  font-size: 13px;
  font-weight: 600;
}

.plain-list li {
  padding: 8px 0;
  border-top: 1px solid #ebe6da;
}

.cap-card-visual {
  min-height: 0;
  padding: 0;
  border-top: 0;
  overflow: hidden;
}

.cap-card-media {
  height: 168px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #dfe3df;
}

.cap-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: transform 0.5s var(--ease), filter 0.3s ease;
}

.cap-card-body {
  padding: 22px;
}

.cap-card-body .card-num {
  margin-bottom: 16px;
}

.service-groups {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.service-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 510px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-group-media {
  min-width: 0;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  background: #dfe3df;
}

.service-group-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
  transition: transform 0.7s var(--ease), filter 0.3s ease;
}

.service-media-pair {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1px;
  height: 510px;
  background: var(--line);
}

.service-media-pair > img {
  min-height: 0;
}

.service-group-content {
  padding: 42px clamp(28px, 4vw, 54px);
}

.service-group-reverse .service-group-media {
  order: 2;
}

.service-group-reverse .service-group-content {
  order: 1;
}

.service-group-kicker {
  margin-bottom: 24px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-line {
  padding: 24px 0;
  border-top: 1px solid #ddd7ca;
  scroll-margin-top: 120px;
}

.service-line:last-child {
  padding-bottom: 0;
}

.service-line-title {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.service-line-title span,
.service-control-num {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.service-line h3,
.service-control h3 {
  font-size: 20px;
}

.service-line > p,
.service-control p {
  margin: 9px 0 0 50px;
  color: #536175;
  font-size: 14px;
}

.service-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin: 16px 0 0 50px;
  padding: 0;
  list-style: none;
  color: #243449;
  font-size: 12px;
  font-weight: 600;
}

.service-points li {
  padding: 8px 0;
  border-top: 1px solid #ebe6da;
}

.service-controls {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--green);
}

.service-controls-head {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: end;
}

.service-controls-head .eyebrow {
  margin-bottom: 0;
}

.service-controls-head h2 {
  max-width: 740px;
  font-size: clamp(24px, 3vw, 35px);
}

.service-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-control {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 30px 34px 30px 0;
  scroll-margin-top: 120px;
}

.service-control + .service-control {
  padding-right: 0;
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.service-control p,
.service-control .service-points {
  margin-left: 0;
}

.service-control .service-points {
  grid-template-columns: 1fr;
}

.project-detail-page .section-sand .cap-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid #d8d0c1;
}

.project-detail-page .section-sand .cap-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  min-height: 0;
  height: auto;
  padding: 28px;
  border: 0;
  border-bottom: 1px solid #d8d0c1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.project-detail-page .section-sand .cap-card:nth-child(odd) {
  border-right: 1px solid #d8d0c1;
}

.project-detail-page .section-sand .card-num {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  width: auto;
  height: auto;
  margin: 3px 0 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.project-detail-page .section-sand .cap-card h3,
.project-detail-page .section-sand .cap-card p {
  grid-column: 2;
}

.project-detail-page .section-sand .cap-card h3 {
  font-size: 18px;
}

.project-detail-page .section-sand .cap-card p {
  margin-top: 8px;
  line-height: 1.6;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}

.tab {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: #405063;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tab:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}

.tab.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

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

.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

a.project-card:hover {
  border-color: #b9c9bc;
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.project-card.is-static {
  cursor: default;
}

.project-image {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #ddd;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

a.project-card:hover .project-image img {
  transform: scale(1.045);
}

.status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  border-left: 3px solid var(--green);
  border-radius: 3px;
  background: #fff;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.status.complete {
  border-left-color: var(--gold);
  color: #8a6417;
}

.project-body {
  flex: 1;
  padding: 18px;
}

.project-body .body-copy {
  margin-top: 8px;
  font-size: 14px;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid #ece5d8;
  color: #506176;
  font-size: 12px;
}

.project-meta b {
  display: block;
  color: #14253b;
  font-size: 13px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.evidence-card {
  min-height: 156px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}

.evidence-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 8px;
  border-radius: 3px;
  background: var(--soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.evidence-card p {
  margin-top: 10px;
  color: #536175;
  font-size: 14px;
}

.cta-band {
  padding: 42px 0;
  background: var(--navy);
  color: #fff;
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-hero,
.detail-hero {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(5, 19, 35, 0.94), rgba(5, 19, 35, 0.72) 48%, rgba(5, 19, 35, 0.22)),
    var(--hero-image, url("../images/hero-field.jpg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero .wrap,
.detail-hero .wrap {
  padding: 0;
}

.page-hero h1,
.detail-hero h1 {
  max-width: 880px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.12;
  font-weight: 600;
}

.page-hero .lead,
.detail-hero .lead {
  max-width: 760px;
  margin-top: 14px;
  font-size: 17px;
  color: #d9e5ec;
}

.about-page {
  font-size: 16px;
}

.about-page .wrap {
  width: min(1180px, calc(100% - 48px));
}

.about-page .topbar {
  font-size: 13px;
}

.about-page .topbar .wrap {
  min-height: 36px;
}

.about-page .nav {
  min-height: 78px;
}

.about-page .brand img {
  width: 46px;
  height: 46px;
}

.about-page .brand-title {
  font-size: 18px;
}

.about-page .brand-sub {
  font-size: 11px;
}

.about-page .nav-links {
  font-size: 12px;
}

.about-page .about-hero {
  min-height: 690px;
  height: auto;
  align-items: stretch;
}

.about-page .about-hero .wrap {
  padding: 90px 0 52px;
}

.about-page .about-hero h1 {
  max-width: 830px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.12;
  font-weight: 600;
}

.about-page .about-hero .lead {
  max-width: 700px;
  margin-top: 20px;
  font-size: 17px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.milestone {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.year {
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
}

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

.person-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}

.person-photo {
  height: auto;
  aspect-ratio: 13 / 15;
  overflow: hidden;
  background: #f2efe7;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease);
}

.person-info {
  padding: 13px;
}

.person-info b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.person-info span {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.meta-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: -38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.meta-item {
  padding: 17px 18px;
  border-right: 1px solid var(--line);
}

.meta-item:last-child {
  border-right: 0;
}

.meta-item small,
.fact small {
  display: block;
  color: #637184;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-item b,
.fact b {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.detail-layout > aside.panel {
  border-top: 4px solid var(--gold);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
}

.facts {
  display: grid;
  gap: 10px;
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ece5d8;
  color: #526174;
  font-size: 14px;
}

.scope-grid,
.hse-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.scope-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbfaf7;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.hse-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.hse-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  counter-reset: hse-control;
}

.hse-card {
  position: relative;
  min-height: 128px;
  padding: 22px 22px 22px 50px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: transparent;
  counter-increment: hse-control;
}

.hse-card:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hse-card:nth-child(even) {
  padding-left: 72px;
}

.hse-card::before {
  content: counter(hse-control, decimal-leading-zero);
  position: absolute;
  top: 24px;
  left: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.hse-card:nth-child(even)::before {
  left: 22px;
}

.hse-card h3 {
  font-size: 16px;
}

.hse-card p {
  margin-top: 7px;
  color: #c8d5df;
  font-size: 13px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.pill {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

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

.cert-card {
  padding: 22px;
  border-top: 4px solid var(--green);
}

.cert-card .label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 9px;
  border-radius: 3px;
  background: var(--soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.office-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.office-card {
  padding: 16px;
}

.office-card b {
  display: block;
  margin-bottom: 5px;
}

.office-card span {
  color: #536175;
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #324154;
  font-size: 12px;
  font-weight: 600;
}

.field,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border: 1px solid #d8d1c2;
  border-radius: 4px;
  background: #fff;
  color: #27384c;
  font-size: 14px;
}

.contact-form textarea {
  min-height: 116px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(23, 100, 43, 0.12);
  outline-offset: 0;
}

.form-note {
  margin: 0;
  color: #5e6a79;
  font-size: 13px;
}

.site-footer {
  background: #061527;
  color: #cfdae5;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 28px;
  padding: 48px 0;
}

.footer-main h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-main p,
.footer-main a {
  color: #b7c4d0;
  font-size: 14px;
}

.footer-main a {
  display: block;
  margin-top: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-main a:hover {
  color: var(--white);
  transform: translateX(2px);
}

.footer-contact span {
  display: block;
  margin-top: 8px;
  color: #b7c4d0;
  font-size: 14px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #91a1b1;
  font-size: 13px;
}

.hidden {
  display: none !important;
}

.project-card.filter-enter {
  animation: filter-enter 0.36s var(--ease) both;
}

.project-pager {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.project-pager-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.project-pager-link,
.project-pager-all {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}

.project-pager-link:hover,
.project-pager-all:hover {
  border-color: #b9c9bc;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.project-pager-link.next {
  text-align: right;
}

.project-pager-link span {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-pager-link strong {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
}

.project-pager-all {
  align-items: center;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.reveal-item {
  opacity: 1;
  transform: none;
}

.motion-enabled .reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease) var(--reveal-delay, 0ms), transform 0.65s var(--ease) var(--reveal-delay, 0ms);
}

.motion-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: none;
}

.motion-loaded .hero .wrap > *,
.motion-loaded .page-hero .wrap > *,
.motion-loaded .detail-hero .wrap > * {
  animation: hero-enter 0.72s var(--ease) both;
}

.motion-loaded .hero .wrap > :nth-child(2),
.motion-loaded .page-hero .wrap > :nth-child(2),
.motion-loaded .detail-hero .wrap > :nth-child(2) {
  animation-delay: 0.08s;
}

.motion-loaded .hero .wrap > :nth-child(3),
.motion-loaded .page-hero .wrap > :nth-child(3),
.motion-loaded .detail-hero .wrap > :nth-child(3) {
  animation-delay: 0.16s;
}

.motion-loaded .hero .wrap > :nth-child(4),
.motion-loaded .page-hero .wrap > :nth-child(4),
.motion-loaded .detail-hero .wrap > :nth-child(4) {
  animation-delay: 0.23s;
}

.motion-loaded .hero .wrap > :nth-child(5) {
  animation-delay: 0.3s;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes filter-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mobile-menu-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .client-logo:hover img {
    filter: saturate(1);
    opacity: 1;
    transform: scale(1.06);
  }

  .cap-card:hover,
  .cert-card:hover,
  .office-card:hover,
  .evidence-card:hover,
  .person-card:hover {
    border-color: #b9c9bc;
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
  }

  .cap-card-visual:hover .cap-card-media img,
  .service-group:hover .service-group-media > img {
    filter: saturate(1) contrast(1.04);
    transform: scale(1.025);
  }

  .person-card:hover .person-photo img {
    transform: scale(1.025);
  }
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-30 {
  margin-top: 30px !important;
}

.mt-42 {
  margin-top: 42px !important;
}

.pt-0 {
  padding-top: 0 !important;
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    min-height: 70px;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 28px rgba(7, 24, 45, 0.12);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
    animation: mobile-menu-enter 0.25s var(--ease) both;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid #eee7db;
  }

  .nav-links .division-nav-link {
    display: flex;
  }

  .nav-links > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin-top: 14px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(5, 19, 35, 0.95), rgba(5, 19, 35, 0.78)),
      url("../images/hero-field.jpg") center / cover no-repeat;
  }

  .hero .wrap {
    padding: 64px 0 42px;
  }

  .hero h1 {
    font-size: clamp(28px, 4.2vw, 38px);
  }

  .hero .lead {
    font-size: 15px;
  }

  .page-hero,
  .detail-hero {
    height: 420px;
  }

  .about-page .about-hero {
    min-height: auto;
  }

  .about-page .nav {
    min-height: 70px;
  }

  .about-page .about-hero .wrap {
    padding: 64px 0 42px;
  }

  .about-page .about-hero h1 {
    font-size: clamp(28px, 4.2vw, 38px);
  }

  .about-page .about-hero .lead {
    font-size: 15px;
  }

  .page-hero .wrap,
  .detail-hero .wrap {
    padding: 0;
  }

  .proof-band,
  .trust-grid,
  .cap-grid,
  .project-grid,
  .two-col,
  .detail-layout,
  .evidence-grid,
  .hse-layout,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .cap-grid-visual,
  .project-detail-page .section-sand .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-group {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-group-media {
    min-height: 0;
    height: 380px;
  }

  .service-group-reverse .service-group-media,
  .service-group-reverse .service-group-content {
    order: initial;
  }

  .service-media-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
  }

  .service-controls-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .proof-item:nth-child(n+3) {
    border-bottom: 0;
  }

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

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

  .meta-row,
  .scope-grid,
  .people-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head,
  .cta-band .wrap {
    display: block;
  }

  .cta-band .btn-row {
    margin-top: 20px;
  }

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

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 32px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand-title {
    font-size: 17px;
  }

  .brand-sub {
    max-width: 180px;
  }

  .section {
    padding: 62px 0;
  }

  .hero .wrap {
    padding: 48px 0 34px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.14;
  }

  .hero .lead {
    margin-top: 12px;
    font-size: 14px;
  }

  .hero-kicker {
    margin-bottom: 18px;
  }

  .page-hero,
  .detail-hero {
    height: 360px;
  }

  .about-page .about-hero {
    min-height: auto;
  }

  .about-page .wrap {
    width: min(100% - 32px, 1180px);
  }

  .about-page .about-hero .wrap {
    padding: 48px 0 34px;
  }

  .page-hero .wrap,
  .detail-hero .wrap {
    padding: 0;
  }

  .page-hero h1,
  .detail-hero h1 {
    font-size: 31px;
    line-height: 1.14;
  }

  .about-page .about-hero h1 {
    font-size: 26px;
    line-height: 1.14;
  }

  .page-hero .lead,
  .detail-hero .lead {
    margin-top: 12px;
    font-size: 15px;
  }

  .about-page .about-hero .lead {
    margin-top: 12px;
    font-size: 14px;
  }

  .proof-band,
  .cert-grid,
  .meta-row,
  .scope-grid,
  .form-grid,
  .hse-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }

  .cap-grid-visual,
  .project-detail-page .section-sand .cap-grid,
  .service-control-grid {
    grid-template-columns: 1fr;
  }

  .cap-card-media {
    height: 210px;
  }

  .service-groups {
    margin-top: 28px;
  }

  .service-group-media {
    height: 280px;
  }

  .service-media-pair {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    height: 430px;
  }

  .service-group-content {
    padding: 30px 20px 34px;
  }

  .service-line-title {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
  }

  .service-line > p,
  .service-points {
    margin-left: 40px;
  }

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

  .service-controls {
    margin-top: 44px;
    padding-top: 30px;
  }

  .service-control {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 26px 0;
  }

  .service-control + .service-control {
    padding: 26px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .project-detail-page .section-sand .cap-card {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 24px 0;
  }

  .project-detail-page .section-sand .cap-card:nth-child(odd) {
    border-right: 0;
  }

  .hse-card,
  .hse-card:nth-child(odd),
  .hse-card:nth-child(even) {
    min-height: 0;
    padding: 22px 0 22px 46px;
    border-right: 0;
  }

  .hse-card::before,
  .hse-card:nth-child(even)::before {
    left: 0;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .proof-band {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 34px;
  }

  .proof-item {
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .proof-item:nth-child(n+3) {
    border-bottom: 0;
  }

  .proof-item strong {
    font-size: 20px;
  }

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

  .client-logo {
    min-height: 92px;
    padding: 8px 12px;
  }

  .client-logo img {
    height: 70px;
  }

  .project-image {
    height: 210px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 22px;
  }

  .footer-main > :first-child,
  .footer-main > :last-child {
    grid-column: 1 / -1;
  }

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

  .project-pager-link.next {
    text-align: left;
  }

  .hero::after,
  .page-hero::after,
  .detail-hero::after {
    left: 16px;
  }
}

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

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

  .motion-enabled .reveal-item {
    opacity: 1;
    transform: none;
  }
}
