:root {
  --blue: #1268d8;
  --deep-blue: #0c4b9c;
  --navy: #081a2c;
  --navy-2: #0d2237;
  --graphite: #25282c;
  --charcoal: #454a50;
  --steel: #dde2e7;
  --mist: #f4f6f8;
  --white: #ffffff;
  --gold: #c79a2b;
  --gold-dark: #9b7417;
  --text: #25282c;
  --muted: #626a73;
  --border: rgba(37, 40, 44, 0.14);
  --shadow-sm: 0 10px 32px rgba(8, 26, 44, 0.08);
  --shadow-md: 0 22px 55px rgba(8, 26, 44, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 88px;
  --font-sans: Inter, Aptos, Arial, Helvetica, sans-serif;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--white);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

a:hover {
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--graphite);
  line-height: 1.13;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(2.05rem, 4.3vw, 3.75rem);
  font-weight: 720;
}

h3 {
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  font-weight: 700;
}

p {
  color: var(--muted);
}

::selection {
  color: var(--white);
  background: var(--deep-blue);
}

:focus-visible {
  outline: 3px solid rgba(18, 104, 216, 0.45);
  outline-offset: 4px;
}

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

.container.narrow {
  max-width: 850px;
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
  overflow: clip;
}

.section-sm {
  padding: clamp(52px, 7vw, 82px) 0;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 104, 216, 0.08), transparent 52%),
    var(--navy);
}

.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark .eyebrow,
.section-dark .lead {
  color: var(--white);
}

.section-soft {
  background: var(--mist);
}

.section-linework::before {
  position: absolute;
  inset: auto -7% -18% auto;
  width: min(760px, 70vw);
  aspect-ratio: 1.75;
  content: "";
  opacity: 0.11;
  pointer-events: none;
  background: center / contain no-repeat url("../img/truss-line.svg");
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--deep-blue);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

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

.top-rail {
  height: 5px;
  background: linear-gradient(90deg, var(--deep-blue) 0 77%, var(--gold) 77% 100%);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(37, 40, 44, 0.09);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(8, 26, 44, 0.035);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.brand img {
  width: 84px;
  height: 50px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  color: var(--deep-blue);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--charcoal);
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  position: relative;
  padding: 11px 13px;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 660;
  transition: color var(--transition);
}

.primary-nav a::after {
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--deep-blue);
}

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

.header-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--graphite);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 710;
  line-height: 1.2;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--deep-blue));
  box-shadow: 0 12px 30px rgba(12, 75, 156, 0.23);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(12, 75, 156, 0.3);
}

.btn-secondary {
  color: var(--graphite);
  border-color: rgba(37, 40, 44, 0.2);
  background: rgba(255, 255, 255, 0.88);
}

.btn-secondary:hover {
  color: var(--deep-blue);
  border-color: rgba(12, 75, 156, 0.35);
  background: var(--white);
}

.btn-gold {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 12px 30px rgba(199, 154, 43, 0.22);
}

.btn-gold:hover {
  background: #d3a83e;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--deep-blue);
  font-weight: 720;
}

.btn-link svg {
  transition: transform var(--transition);
}

.btn-link:hover svg {
  transform: translateX(4px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--deep-blue);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 2px;
  content: "";
  background: var(--gold);
}

.lead {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.section-heading h2 {
  margin-bottom: 20px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.text-blue {
  color: var(--deep-blue);
}

.text-gold {
  color: var(--gold-dark);
}

.hero {
  position: relative;
  min-height: min(790px, calc(100vh - var(--header-height) - 5px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #eef1f4;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background-size: cover;
  background-position: center;
}

.hero-home::before {
  background-image: url("../img/hero-precision.webp");
  background-position: 66% center;
}

.hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 32%, rgba(255, 255, 255, 0.68) 50%, rgba(255, 255, 255, 0.04) 77%);
}

.hero-content {
  padding-top: 84px;
  padding-bottom: 84px;
}

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

.hero h1 {
  max-width: 760px;
  margin-bottom: 26px;
}

.hero h1 .accent {
  color: var(--deep-blue);
}

.hero .lead {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--charcoal);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 620;
}

.hero-note svg {
  flex: 0 0 auto;
  color: var(--gold-dark);
}

.proof-strip {
  position: relative;
  z-index: 2;
  margin-top: -38px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(37, 40, 44, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.proof-item {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
  border-left: 1px solid var(--border);
}

.proof-item:first-child {
  color: var(--white);
  border-left: 0;
  background: var(--navy);
}

.proof-number {
  display: block;
  color: var(--deep-blue);
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.proof-item:first-child .proof-number {
  color: var(--gold);
}

.proof-label {
  margin-top: 9px;
  color: var(--charcoal);
  font-size: 0.77rem;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.proof-item:first-child .proof-label {
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 8vw, 94px);
}

.split.reverse > :first-child {
  order: 2;
}

.split.reverse > :last-child {
  order: 1;
}

.feature-panel {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.feature-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background: center / cover no-repeat url("../img/hero-dark.webp");
  transform: scale(1.03);
}

.feature-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 26, 44, 0.05), rgba(8, 26, 44, 0.55));
}

.feature-panel-card {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: var(--white);
  background: rgba(8, 26, 44, 0.82);
  backdrop-filter: blur(12px);
}

.feature-panel-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-panel-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(8, 26, 44, 0.045);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue) 0 78%, var(--gold) 78% 100%);
}

.card:hover {
  border-color: rgba(12, 75, 156, 0.22);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: var(--deep-blue);
  border: 1px solid rgba(12, 75, 156, 0.17);
  border-radius: 14px;
  background: rgba(18, 104, 216, 0.06);
}

.card-icon svg {
  width: 31px;
  height: 31px;
}

.card h3 {
  margin-bottom: 13px;
  color: var(--deep-blue);
}

.card p {
  margin-bottom: 23px;
}

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

.service-card-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(12, 75, 156, 0.13);
  font-size: 2.8rem;
  font-weight: 820;
  line-height: 1;
}

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

.standard-item {
  min-height: 210px;
  padding: 29px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
}

.standard-item:nth-child(6) {
  border-color: rgba(199, 154, 43, 0.38);
  background: rgba(199, 154, 43, 0.08);
}

.standard-item .mini-index {
  display: block;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.standard-item h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1.13rem;
}

.standard-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}

.process-step {
  position: relative;
  min-height: 260px;
  padding: 32px 22px 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: var(--white);
}

.process-step:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.process-step:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.process-step::after {
  position: absolute;
  z-index: 2;
  top: 43px;
  right: -7px;
  width: 13px;
  height: 13px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--white);
}

.process-step:last-child::after {
  display: none;
}

.process-index {
  display: block;
  margin-bottom: 34px;
  color: var(--deep-blue);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}

.process-step h3 {
  margin-bottom: 13px;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.process-step p {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.58;
}

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

.person-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.person-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 175px;
  height: 175px;
  content: "";
  opacity: 0.09;
  background: center / contain no-repeat url("../img/truss-line.svg");
  transform: translate(35%, -22%);
}

.person-role {
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.person-card h3 {
  margin-bottom: 17px;
  color: var(--deep-blue);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

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

.person-card p:last-child {
  margin-bottom: 0;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 78px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(8, 26, 44, 0.98), rgba(8, 26, 44, 0.82)),
    center / cover no-repeat url("../img/hero-dark.webp");
  box-shadow: var(--shadow-md);
}

.cta-panel::after {
  position: absolute;
  right: -75px;
  bottom: -80px;
  width: 440px;
  height: 260px;
  content: "";
  opacity: 0.13;
  background: center / contain no-repeat url("../img/truss-line.svg");
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 750px;
  margin-bottom: 18px;
  color: var(--white);
}

.cta-panel p {
  max-width: 700px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background-position: center;
  background-size: cover;
}

.page-hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
}

.page-hero.about::before {
  background-image: url("../img/hero-structural.webp");
  background-position: 40% center;
}

.page-hero.about::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 42%, rgba(255, 255, 255, 0.86) 64%, rgba(255, 255, 255, 0.98) 100%);
}

.page-hero.about .page-hero-copy {
  max-width: 560px;
  margin-left: auto;
}

.page-hero.services::before {
  background-image: url("../img/hero-dark.webp");
  background-position: center;
}

.page-hero.services::after {
  background: linear-gradient(90deg, rgba(8, 26, 44, 0.08) 0 46%, rgba(8, 26, 44, 0.78) 67%, rgba(8, 26, 44, 0.98) 100%);
}

.page-hero.services .page-hero-copy {
  max-width: 535px;
  margin-left: auto;
  color: var(--white);
}

.page-hero.services h1,
.page-hero.services p,
.page-hero.services .eyebrow {
  color: var(--white);
}

.page-hero.contact::before {
  background-image: url("../img/hero-precision.webp");
  background-position: 65% center;
}

.page-hero.contact::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 40%, rgba(255, 255, 255, 0.7) 57%, rgba(255, 255, 255, 0.04) 80%);
}

.page-hero-copy {
  max-width: 650px;
  padding: 82px 0;
}

.page-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 6vw, 5.4rem);
}

.page-hero p {
  max-width: 610px;
  margin-bottom: 0;
  font-size: 1.14rem;
}

.quote-block {
  position: relative;
  padding: 34px 36px 34px 42px;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--mist);
}

.quote-block p {
  margin-bottom: 0;
  color: var(--graphite);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 650;
  line-height: 1.42;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pillar {
  padding: 34px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.pillar-letter {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 26px;
  color: var(--white);
  border-radius: 13px;
  background: var(--deep-blue);
  font-size: 1.5rem;
  font-weight: 820;
}

.pillar:nth-child(3) {
  color: var(--white);
  background: var(--graphite);
}

.pillar:nth-child(3) h3,
.pillar:nth-child(3) p {
  color: var(--white);
}

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

.client-type {
  min-height: 160px;
  display: grid;
  align-content: center;
  padding: 25px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  background: var(--white);
}

.client-type strong {
  margin-bottom: 8px;
  color: var(--deep-blue);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-type p {
  margin-bottom: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

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

.info-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 21px 24px;
  border-bottom: 1px solid var(--border);
}

.info-row dt {
  color: var(--deep-blue);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-row dd {
  margin: 0;
  color: var(--graphite);
  font-weight: 620;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(42px, 7vw, 88px);
  align-items: start;
}

.service-intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.service-index {
  display: block;
  margin-bottom: 20px;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 790;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.service-intro h2 {
  margin-bottom: 20px;
}

.service-content {
  display: grid;
  gap: 22px;
}

.detail-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}

.detail-card h3 {
  margin-bottom: 17px;
  color: var(--deep-blue);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 12px;
  height: 12px;
  content: "";
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.scope-note {
  padding: 24px 26px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: var(--mist);
}

.scope-note strong {
  color: var(--graphite);
}

.scope-note p {
  margin: 6px 0 0;
}

.delivery-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.delivery-step {
  min-height: 205px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
}

.delivery-step span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  border-radius: 50%;
  background: var(--deep-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.delivery-step h3 {
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.delivery-step p {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 7vw, 82px);
  align-items: start;
}

.contact-panel {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  overflow: hidden;
  padding: 38px;
  border-radius: var(--radius-md);
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(12, 75, 156, 0.22), transparent 54%),
    var(--navy);
  box-shadow: var(--shadow-md);
}

.contact-panel::after {
  position: absolute;
  right: -110px;
  bottom: -60px;
  width: 340px;
  height: 220px;
  content: "";
  opacity: 0.14;
  background: center / contain no-repeat url("../img/truss-line.svg");
}

.contact-panel h2,
.contact-panel p,
.contact-panel a,
.contact-panel address {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.contact-panel h2 {
  margin-bottom: 16px;
  font-size: 2rem;
}

.contact-panel > p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-item-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item address,
.contact-item span {
  font-style: normal;
  line-height: 1.45;
}

.form-card {
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.form-card > p {
  margin-bottom: 30px;
}

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

.form-group {
  display: grid;
  gap: 8px;
}

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

.form-group label {
  color: var(--graphite);
  font-size: 0.88rem;
  font-weight: 700;
}

.required {
  color: #a33939;
}

.form-control {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  color: var(--graphite);
  border: 1px solid rgba(37, 40, 44, 0.2);
  border-radius: 10px;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

textarea.form-control {
  min-height: 165px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(18, 104, 216, 0.1);
}

.form-control[aria-invalid="true"] {
  border-color: #a33939;
}

.field-error {
  min-height: 1.2em;
  margin: 0;
  color: #8e2d2d;
  font-size: 0.82rem;
}

.form-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--deep-blue);
}

.form-consent a {
  color: var(--deep-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.form-status.success {
  color: #18673b;
}

.form-status.error {
  color: #8e2d2d;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.map-section {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 28px;
  align-items: stretch;
}

.map-copy {
  padding: 42px;
  border-radius: var(--radius-md);
  background: var(--mist);
}

.map-copy h2 {
  margin-bottom: 16px;
}

.map-frame {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #e8edf2;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.map-gate {
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 38px;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    center / cover no-repeat url("../img/hero-structural.webp");
}

.map-gate-inner {
  max-width: 520px;
}

.map-gate h3 {
  margin-bottom: 14px;
  color: var(--deep-blue);
}

.map-gate p {
  margin-bottom: 22px;
}

.map-loaded .map-gate {
  display: none;
}

.legal-hero {
  position: relative;
  padding: 92px 0 78px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(18, 104, 216, 0.14), transparent 55%),
    var(--navy);
}

.legal-hero::after {
  position: absolute;
  right: -40px;
  bottom: -120px;
  width: 560px;
  height: 330px;
  content: "";
  opacity: 0.13;
  background: center / contain no-repeat url("../img/truss-line.svg");
}

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

.legal-hero h1 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
}

.legal-hero p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.legal-content {
  max-width: 880px;
}

.legal-content h2 {
  margin-top: 52px;
  margin-bottom: 14px;
  font-size: 1.65rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.legal-content ul {
  padding-left: 22px;
  color: var(--muted);
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: var(--deep-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 42px;
  padding: 24px 26px;
  border-left: 3px solid var(--gold);
  background: var(--mist);
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.success-panel {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 80px 0;
  background: var(--mist);
}

.success-card {
  max-width: 690px;
  padding: clamp(38px, 7vw, 70px);
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.success-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin: 0 auto 28px;
  color: var(--white);
  border-radius: 50%;
  background: var(--deep-blue);
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  background: #061522;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.65fr 1fr 0.85fr;
  gap: 54px;
  padding: 78px 0 58px;
}

.site-footer::after {
  position: absolute;
  right: -130px;
  bottom: -95px;
  width: 600px;
  height: 350px;
  content: "";
  opacity: 0.08;
  background: center / contain no-repeat url("../img/truss-line.svg");
}

.footer-brand img {
  width: 250px;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: var(--navy);
}

.footer-brand p {
  max-width: 360px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-title {
  margin-bottom: 19px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  display: grid;
  gap: 15px;
  font-style: normal;
}

.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.68);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
  color: inherit;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a:hover {
  color: var(--gold);
}

.cookie-banner {
  position: fixed;
  z-index: 3000;
  right: 22px;
  bottom: 22px;
  left: 22px;
  max-width: 980px;
  margin-inline: auto;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: var(--white);
  background: rgba(8, 26, 44, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
}

.cookie-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.cookie-copy a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .btn {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.86rem;
}

.cookie-actions .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 1040px) {
  .header-cta {
    display: none;
  }

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

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .process-step,
  .process-step:first-child,
  .process-step:last-child {
    border: 1px solid var(--border);
    border-radius: 14px;
  }

  .process-step::after {
    display: none;
  }

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

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

  .footer-main {
    grid-template-columns: 1.3fr 0.7fr 1fr;
  }

  .footer-main > :last-child {
    grid-column: 2 / 4;
  }
}

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

  .brand img {
    width: 70px;
    height: 43px;
  }

  .brand-text small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 1001;
    top: calc(var(--header-height) + 5px);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.99);
    transform: translateX(105%);
    transition: transform 250ms ease;
  }

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

  .primary-nav a {
    padding: 18px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-home::before {
    background-position: 71% center;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.96) 51%, rgba(255, 255, 255, 0.52) 75%, rgba(255, 255, 255, 0.08) 100%);
  }

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

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

  .proof-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .proof-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .split,
  .service-detail,
  .contact-layout,
  .map-section {
    grid-template-columns: 1fr;
  }

  .split.reverse > :first-child,
  .split.reverse > :last-child {
    order: initial;
  }

  .service-intro,
  .contact-panel {
    position: relative;
    top: auto;
  }

  .management-grid,
  .pillar-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .page-hero.about::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.96) 50%);
  }

  .page-hero.about .page-hero-copy {
    margin-left: 0;
    padding-top: 260px;
  }

  .page-hero.services::after {
    background: linear-gradient(180deg, rgba(8, 26, 44, 0.18), rgba(8, 26, 44, 0.96) 60%);
  }

  .page-hero.services .page-hero-copy {
    margin-left: 0;
    padding-top: 260px;
  }

  .page-hero.contact::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.89) 68%, rgba(255, 255, 255, 0.2));
  }

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

  .footer-main > :last-child {
    grid-column: auto;
  }
}

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

  .section {
    padding: 68px 0;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 680px;
    align-items: end;
  }

  .hero-home::before {
    background-position: 72% 20%;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0 24%, rgba(255, 255, 255, 0.97) 58%, rgba(255, 255, 255, 1) 100%);
  }

  .hero-content {
    padding-top: 280px;
    padding-bottom: 66px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.4rem);
  }

  .hero-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .proof-strip {
    margin-top: 0;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .proof-item,
  .proof-item:nth-child(3) {
    min-height: 100px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .proof-item:first-child {
    border-top: 0;
  }

  .card-grid,
  .standard-grid,
  .process-grid,
  .client-grid,
  .delivery-flow {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    min-height: 390px;
  }

  .feature-panel-card {
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 22px;
  }

  .person-card,
  .card,
  .pillar,
  .form-card,
  .contact-panel,
  .map-copy {
    padding: 28px 24px;
  }

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

  .form-group.full {
    grid-column: auto;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .page-hero.about .page-hero-copy,
  .page-hero.services .page-hero-copy {
    padding-top: 255px;
  }

  .page-hero.contact::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 24%, rgba(255, 255, 255, 0.98) 62%);
  }

  .page-hero.contact .page-hero-copy {
    padding-top: 260px;
  }

  .map-frame,
  .map-frame iframe,
  .map-gate {
    min-height: 390px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 62px 0 44px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 20px;
  }

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

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

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

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

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

@media print {
  .top-rail,
  .site-header,
  .site-footer,
  .cookie-banner,
  .btn,
  .map-frame {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .legal-hero {
    padding: 24px 0;
  }

  .legal-hero {
    color: #000;
    background: #fff;
  }

  .legal-hero h1,
  .legal-hero p {
    color: #000;
  }
}
