:root {
  --navy: #223972;          /* brand navy */
  --ink: #0A1024;           /* near-black navy — dark section base */
  --ink-2: #101A3A;         /* panel on dark */
  --red: #BB1F44;           /* brand crimson */
  --red-hot: #E0325C;       /* brighter crimson for glows/hovers */
  --paper: #F5F7FC;         /* light section base */
  --card: #FFFFFF;
  --text-d: #E9EDF8;        /* text on dark */
  --mut-d: #9AA6C6;         /* muted on dark */
  --text-l: #17203B;        /* text on light */
  --mut-l: #5A6484;         /* muted on light */
  --line-d: rgba(233,237,248,0.12);
  --line-l: rgba(23,32,59,0.12);
  --h: 'Oswald', sans-serif;
  --b: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--b);
  background: var(--ink);
  color: var(--text-d);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--h); text-transform: uppercase; line-height: 1.04; letter-spacing: 0.01em; font-weight: 700; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--h); font-weight: 600; font-size: 14px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-hot);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.light .eyebrow { color: var(--red); }

.h2 { font-size: clamp(34px, 5.4vw, 58px); margin: 14px 0 18px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 640px; color: var(--mut-d); }
.light .lead { color: var(--mut-l); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--h); font-weight: 600; font-size: 16px; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: 15px 30px; border: 0; transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn-red { background: var(--red); color: #fff; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 14px 100%); }
.btn-red:hover { background: var(--red-hot); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-d); box-shadow: inset 0 0 0 2px var(--line-d); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--red-hot); color: #fff; }
.light .btn-ghost { color: var(--text-l); box-shadow: inset 0 0 0 2px var(--line-l); }
.light .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--red); color: var(--red); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  animation: loaderOut 0.7s ease 1.7s forwards;
}
.loader img { width: min(320px, 62vw); opacity: 0; animation: loaderLogo 1.1s ease 0.15s forwards; }
.loader .bar { width: min(320px, 62vw); height: 3px; background: rgba(255,255,255,0.12); overflow: hidden; }
.loader .bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--navy), var(--red)); transform: scaleX(0); transform-origin: left; animation: loaderBar 1.4s cubic-bezier(0.6,0,0.2,1) 0.25s forwards; }
@keyframes loaderLogo { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes loaderBar { to { transform: scaleX(1); } }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background 0.35s, box-shadow 0.35s;
}
header.scrolled { background: rgba(10,16,36,0.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-d); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav .logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-family: var(--h); font-size: 14.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; color: var(--text-d);
  padding: 6px 0; position: relative;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--red-hot); transform: scaleX(0); transform-origin: right; transition: transform 0.3s;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links .btn { padding: 11px 20px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: #fff; margin: 5.5px 0; transition: 0.3s; }
.mmenu {
  position: fixed; inset: 0; z-index: 89; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.mmenu.open { opacity: 1; visibility: visible; }
.mmenu a { font-family: var(--h); font-size: 30px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; color: var(--text-d); padding: 8px; }
.mmenu a:hover { color: var(--red-hot); }
.mmenu .m-phone { font-size: 20px; color: var(--red-hot); margin-top: 18px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-bg {
  /* VIDEO SLOT: to use field b-roll, replace this div with
     <video class="hero-bg" autoplay muted loop playsinline src="images/broll.mp4"></video> */
  position: absolute; inset: -8% 0; z-index: 0;
  background: url('/images/Transportation-Header-2a-scaled.jpg') center 30% / cover no-repeat;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,16,36,0.55) 0%, rgba(10,16,36,0.35) 40%, rgba(10,16,36,0.94) 88%),
              linear-gradient(100deg, rgba(10,16,36,0.75) 0%, rgba(10,16,36,0.1) 60%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 0; }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: clamp(46px, 8.6vw, 108px); color: #fff; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; }
.hero h1 em { font-style: normal; color: var(--red-hot); }
.hero .sub { max-width: 620px; margin: 24px 0 32px; font-size: clamp(16px, 1.7vw, 19px); color: #C6CEE4; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }
.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-d);
  background: rgba(10,16,36,0.55); backdrop-filter: blur(6px);
}
.hstat { padding: 26px 22px; border-right: 1px solid var(--line-d); }
.hstat:last-child { border-right: 0; }
.hstat .v { font-family: var(--h); font-weight: 700; font-size: clamp(30px, 4vw, 50px); line-height: 1; color: #fff; }
.hstat .v em { font-style: normal; color: var(--red-hot); }
.hstat .l { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut-d); margin-top: 8px; }
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hstat:nth-child(2) { border-right: 0; }
  .hstat:nth-child(-n+2) { border-bottom: 1px solid var(--line-d); }
}

/* ---------- Credential strip ---------- */
/* One full-width row. The veteran tab reads as a flag: navy canton + white star, white field,
   then the red bar. Its right edge and the dividers use the same "\" slant as .btn-red. */
.creds {
  --cf: clamp(15px, calc(1.44vw - 1.5px), 26px); /* sized so the row always fits from 1200px up */
  position: relative; z-index: 3;
  display: flex; align-items: stretch; min-height: calc(var(--cf) * 3.4);
  font-family: var(--h); font-weight: 700; font-size: var(--cf); line-height: 1;
  letter-spacing: 0.05em; text-transform: uppercase; color: #fff; white-space: nowrap;
  background:
    repeating-linear-gradient(-65deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, #C8234C 0%, var(--red) 50%, #A31A3B 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -3px 0 rgba(0,0,0,0.2), 0 12px 32px rgba(187,31,68,0.35);
}
.creds-vet {
  position: relative; z-index: 2; flex: none; display: flex; align-items: stretch;
  font-size: 1.08em; background: #fff; color: var(--navy);
  clip-path: polygon(0 0, calc(100% - 1.1em) 0, 100% 100%, 0 100%);
}
.creds-vet .canton { display: flex; align-items: center; padding: 0 0.7em 0 22px; background: var(--navy); }
.creds-vet svg { width: 1.05em; height: 1.05em; fill: #fff; }
.creds-vet .vt { align-self: center; padding: 0 1.6em 0 0.7em; }
.creds-list { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; }
.creds-track { flex: 1; display: flex; }
.creds-list ul { flex: 1; display: flex; align-items: center; list-style: none; margin: 0; padding: 0 22px 0 0; }
.creds-list li { position: relative; flex: 1 1 auto; text-align: center; padding: 0 0.8em; }
.creds-list li + li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 1.35em;
  background: rgba(255,255,255,0.45); transform: translate(-50%, -50%) skewX(20deg);
}
.creds-list i { font-style: normal; font-weight: 500; opacity: 0.55; margin: 0 0.32em; }
.creds-list .st { margin-left: 0.3em; font-weight: 600; opacity: 0.82; }
.creds .dup { display: none; }

/* Under 1200px five items can't share one row, so the four credentials scroll behind the tab. */
@media (max-width: 1199px) {
  .creds { --cf: clamp(14px, 2vw, 17px); min-height: 54px; }
  .creds-list { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 26px), transparent); }
  .creds-track { flex: none; width: max-content; animation: credTicker 24s linear infinite; }
  .creds-list:hover .creds-track { animation-play-state: paused; }
  .creds-list ul, .creds .dup { flex: none; display: flex; padding: 0; }
  .creds-list li { flex: none; padding: 0 1.15em; }
  .creds-list li::before {
    content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 1.35em;
    background: rgba(255,255,255,0.45); transform: translate(-50%, -50%) skewX(20deg);
  }
}
@keyframes credTicker { to { transform: translateX(-50%); } }
@media (max-width: 560px) {
  .creds-vet .vc, .creds-vet .vb { display: none; }
  .creds-vet .canton { padding-left: 16px; }
  .creds-vet .vt { padding-right: 1.5em; }
}
@media (max-width: 1199px) and (prefers-reduced-motion: reduce) {
  .creds-track { animation: none; }
  .creds .dup { display: none; }
  .creds-list { overflow-x: auto; scrollbar-width: none; }
}

/* ---------- Marquee ---------- */
.marquee { padding: 66px 0 10px; overflow: hidden; background: var(--paper); }
.marquee-track { display: flex; gap: 60px; width: max-content; will-change: transform; }
.marquee-track span {
  font-family: var(--h); font-weight: 700; font-size: clamp(64px, 10vw, 130px);
  text-transform: uppercase; white-space: nowrap; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(34,57,114,0.34);
}
.marquee-track span em { font-style: normal; -webkit-text-stroke: 0; color: var(--red); }

/* ---------- About ---------- */
.light { background: var(--paper); color: var(--text-l); }
.about { padding: 80px 0 110px; }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.about-copy p { margin: 18px 0; color: var(--mut-l); font-size: 17px; }
.about-copy p strong { color: var(--text-l); }
.quote {
  margin: 28px 0; padding: 24px 28px; background: #fff; border-left: 4px solid var(--red);
  box-shadow: 0 12px 34px rgba(23,32,59,0.09);
}
.quote .q { font-family: var(--h); font-size: 25px; font-weight: 600; text-transform: uppercase; color: var(--navy); line-height: 1.2; }
.quote .who { margin-top: 8px; font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut-l); }
.about-photos { position: relative; }
.about-photos .ph1 { width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 24px 60px rgba(23,32,59,0.22); }
.about-photos .ph2 {
  position: absolute; right: -18px; bottom: -46px; width: 46%; aspect-ratio: 1;
  object-fit: cover; border: 6px solid var(--paper); box-shadow: 0 18px 44px rgba(23,32,59,0.25);
}
.about-photos .vob {
  position: absolute; left: -14px; top: -34px; width: 132px; padding: 10px;
  background: #fff; box-shadow: 0 14px 34px rgba(23,32,59,0.18);
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photos { margin-top: 30px; }
}

/* ---------- Services ---------- */
.services { padding: 110px 0 120px; background: linear-gradient(180deg, var(--ink) 0%, #0D1530 100%); }
.services-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 54px; }
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.svc {
  grid-column: span 2; position: relative; background: var(--ink-2);
  border: 1px solid var(--line-d); overflow: hidden;
  transform-style: preserve-3d; transition: border-color 0.3s;
}
.svc:nth-child(4), .svc:nth-child(5) { grid-column: span 3; }
.svc:hover { border-color: rgba(224,50,92,0.5); }
.svc .ph { position: relative; aspect-ratio: 16/9.5; overflow: hidden; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2,0.6,0.2,1); }
.svc:hover .ph img { transform: scale(1.07); }
.svc .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,26,58,0) 45%, rgba(16,26,58,0.92) 100%); }
.svc .num {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-family: var(--h); font-weight: 700; font-size: 15px; letter-spacing: 0.12em;
  color: #fff; background: var(--red); padding: 4px 10px;
}
.svc .body { padding: 22px 24px 26px; }
.svc h3 { font-size: 23px; margin-bottom: 12px; }
.svc ul { list-style: none; }
.svc li { position: relative; padding: 6px 0 6px 22px; color: var(--mut-d); font-size: 15px; border-top: 1px solid rgba(233,237,248,0.07); }
.svc li:first-child { border-top: 0; }
.svc li::before { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 2px; background: var(--red-hot); }
.svc-note { margin-top: 34px; text-align: center; color: var(--mut-d); font-size: 15px; }
.svc-note strong { color: var(--text-d); }
@media (max-width: 980px) { .svc, .svc:nth-child(4), .svc:nth-child(5) { grid-column: span 3; } }
@media (max-width: 640px) { .svc, .svc:nth-child(4), .svc:nth-child(5) { grid-column: span 6; } }

/* ---------- Safety ---------- */
.safety { padding: 110px 0 0; background: var(--paper); color: var(--text-l); overflow: hidden; }
.zero-wrap { text-align: center; }
.zero {
  position: relative; display: inline-block; font-family: var(--h); font-weight: 700;
  font-size: clamp(120px, 26vw, 340px); line-height: 0.9; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 2px rgba(34,57,114,0.4);
}
.zero .fill {
  position: absolute; inset: 0; color: var(--red); -webkit-text-stroke: 0;
  clip-path: inset(0 100% 0 0);
}
@media (prefers-reduced-motion: reduce) { .zero .fill { clip-path: inset(0 0 0 0); } }
.zero-cap { font-family: var(--h); font-weight: 600; font-size: clamp(19px, 2.6vw, 30px); text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin-top: 6px; }
.zero-sub { max-width: 560px; margin: 14px auto 0; color: var(--mut-l); }
.zero-sub strong { color: var(--text-l); }

.safety-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; margin-top: 80px; }
.safety-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 24px 60px rgba(23,32,59,0.2); }
.safety-copy p { margin: 16px 0; color: var(--mut-l); font-size: 16.5px; }
.safety-copy p strong { color: var(--text-l); }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.cert {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff;
  font-family: var(--h); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy); box-shadow: 0 6px 18px rgba(23,32,59,0.07);
}
.cert::before { content: ""; flex: 0 0 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
@media (max-width: 900px) { .safety-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 460px) { .cert-grid { grid-template-columns: 1fr; } }

.stopwork { margin-top: 90px; background: var(--red); }
.stopwork .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 38px; padding-bottom: 38px; }
.stopwork h3 { color: #fff; font-size: clamp(26px, 4vw, 40px); }
.stopwork p { color: rgba(255,255,255,0.88); max-width: 560px; font-size: 16px; }

/* ---------- Coverage ---------- */
.coverage { padding: 110px 0 120px; background: var(--ink); }
.states { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 30px 0 60px; }
.states span { font-family: var(--h); font-weight: 700; font-size: clamp(24px, 3.4vw, 42px); text-transform: uppercase; color: var(--text-d); }
.states span.dim { color: transparent; -webkit-text-stroke: 1.2px rgba(233,237,248,0.35); }
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.loc { padding: 24px 24px 26px; background: var(--ink-2); border: 1px solid var(--line-d); transition: border-color 0.3s, transform 0.3s; }
.loc:hover { border-color: rgba(224,50,92,0.5); transform: translateY(-4px); }
.loc .tag { font-family: var(--h); font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-hot); }
.loc h3 { font-size: 21px; margin: 8px 0 8px; }
.loc p { color: var(--mut-d); font-size: 14.5px; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .loc-grid { grid-template-columns: 1fr; } }

/* ---------- Careers ---------- */
.careers { background: linear-gradient(120deg, var(--navy) 0%, #16264F 100%); padding: 96px 0; }
.careers .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.careers img { width: min(230px, 50vw); }
.careers p { color: #C6CEE4; max-width: 620px; margin: 16px 0 28px; }
@media (max-width: 760px) { .careers .wrap { grid-template-columns: 1fr; } .careers img { order: -1; } }

/* ---------- Contact ---------- */
.contact { padding: 110px 0 120px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; margin-top: 50px; }
.contact form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact .full { grid-column: 1 / -1; }
.contact label { display: block; font-family: var(--h); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut-l); margin-bottom: 7px; }
.contact input, .contact textarea, .contact select {
  width: 100%; background: #fff; border: 1px solid var(--line-l); color: var(--text-l);
  font-family: var(--b); font-size: 15px; padding: 13px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6484' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.contact input:focus, .contact textarea:focus, .contact select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(187,31,68,0.14); }
.contact textarea { min-height: 140px; resize: vertical; }
.cinfo > div { padding: 20px 0; border-top: 1px solid var(--line-l); }
.cinfo > div:first-child { border-top: 0; padding-top: 0; }
.cinfo .k { font-family: var(--h); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.cinfo .v { font-size: 17px; color: var(--text-l); }
.cinfo .v a { text-decoration: none; font-weight: 600; }
.cinfo .v a:hover { color: var(--red); }
.cinfo .big a { font-family: var(--h); font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .contact form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { background: #070C1D; padding: 60px 0 34px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 34px; border-bottom: 1px solid var(--line-d); }
.foot-top img { height: 78px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; }
.foot-links a { font-family: var(--h); font-size: 13.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--mut-d); }
.foot-links a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 26px; color: var(--mut-d); font-size: 13.5px; }
.socials { display: flex; gap: 14px; }
.socials a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line-d); color: var(--mut-d); transition: 0.25s; }
.socials a:hover { border-color: var(--red-hot); color: #fff; background: rgba(224,50,92,0.12); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.foot-bottom a { color: var(--mut-d); }
.foot-bottom a:hover { color: #fff; }

/* ---------- Utility topbar (desktop) ---------- */
.topbar { background: #070C1D; border-bottom: 1px solid var(--line-d); overflow: hidden; max-height: 40px; transition: max-height 0.3s; }
header.scrolled .topbar { max-height: 0; border-bottom: 0; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar span, .topbar a { font-family: var(--h); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut-d); text-decoration: none; white-space: nowrap; }
.topbar a b { color: #fff; font-weight: 600; }
.topbar a:hover b { color: var(--red-hot); }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); margin-right: 8px; vertical-align: 1px; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,50,92,0.55); } 100% { box-shadow: 0 0 0 9px rgba(224,50,92,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
@media (max-width: 900px) { .topbar { display: none; } }

/* Hero emergency line */
.hero-emg { display: block; max-width: 560px; margin: -40px 0 60px; font-family: var(--h); font-weight: 600; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: #C6CEE4; line-height: 1.7; }
.hero-emg a { color: #fff; text-decoration: none; white-space: nowrap; }
.hero-emg a:hover { color: var(--red-hot); }

/* ---------- Process rail (inside services) ---------- */
.process { margin-top: 90px; }
.process h3 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 40px; }
.process h3 em { font-style: normal; color: var(--red-hot); }
.proc-rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-top: 34px; }
.proc-rail::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(233,237,248,0.12); }
.proc-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--red-hot); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: reduce) { .proc-line { transform: scaleX(1); } }
.step .n { font-family: var(--h); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; color: var(--red-hot); }
.step h4 { font-family: var(--h); font-size: 20px; font-weight: 600; text-transform: uppercase; margin: 6px 0 8px; color: var(--text-d); }
.step p { color: var(--mut-d); font-size: 14.5px; }
@media (max-width: 760px) {
  .proc-rail { grid-template-columns: 1fr; gap: 22px; padding-top: 0; padding-left: 24px; }
  .proc-rail::before, .proc-line { top: 0; bottom: 0; left: 0; right: auto; width: 2px; height: auto; }
  .proc-line { transform: scaleY(0); transform-origin: top; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .proc-line { transform: scaleY(1); } }

/* ---------- Field gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 90px; }
.gallery figure { position: relative; overflow: hidden; margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2,0.6,0.2,1); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(10,16,36,0) 0%, rgba(10,16,36,0.85) 100%);
  font-family: var(--h); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
}
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Testimonial ---------- */
.testimonial { background: linear-gradient(120deg, #16264F 0%, var(--ink) 70%); padding: 100px 0; }
.testimonial .wrap { max-width: 950px; }
.tmark { font-family: var(--h); font-size: 120px; font-weight: 700; line-height: 0.5; color: var(--red-hot); display: block; margin-bottom: 26px; }
.tquote { font-family: var(--h); font-weight: 600; font-size: clamp(24px, 3.6vw, 38px); line-height: 1.25; text-transform: none; color: #fff; }
.twho { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.twho::before { content: ""; width: 44px; height: 2px; background: var(--red); }
.twho .name { font-family: var(--h); font-weight: 600; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-d); }
.twho .role { font-size: 13.5px; color: var(--mut-d); }

/* ---------- Procurement panel ---------- */
.procure { margin-top: 70px; padding: 34px 36px; background: var(--ink-2); border: 1px solid var(--line-d); border-left: 4px solid var(--red); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.procure h3 { font-size: 22px; margin-bottom: 8px; }
.procure p { color: var(--mut-d); font-size: 15px; max-width: 640px; }
.procure p strong { color: var(--text-d); }

/* ---------- Back to top ---------- */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--ink-2); border: 1px solid var(--line-d); color: var(--text-d);
  font-size: 18px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, border-color 0.3s;
}
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { border-color: var(--red-hot); }
@media (max-width: 760px) { .totop { display: none; } }

/* ---------- Sticky mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 58px; }
  .callbar {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: 58px;
    background: var(--red); color: #fff; text-decoration: none;
    font-family: var(--h); font-weight: 600; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase;
    box-shadow: 0 -8px 24px rgba(10,16,36,0.35);
  }
}

/* a11y + polish */
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--red); color: #fff; padding: 12px 18px; font-family: var(--h); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; }
.skip:focus { left: 0; }
::selection { background: var(--red); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 2px; }
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

/* reveal helper */
.rv { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1 !important; transform: none !important; } }

/* ================= Multi-page additions (v3) ================= */

/* ---------- Services dropdown ---------- */
.has-sub { position: relative; }
.has-sub > a::before {
  content: ""; position: absolute; right: -14px; top: 50%; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); opacity: 0.6;
}
.has-sub > a { margin-right: 14px; }
.dropdown {
  position: absolute; top: 100%; left: -22px; min-width: 290px; list-style: none;
  padding: 12px 0; margin-top: 14px; background: var(--ink-2); border: 1px solid var(--line-d);
  border-top: 3px solid var(--red); box-shadow: 0 24px 50px rgba(0,0,0,0.45);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-sub:hover .dropdown, .has-sub:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-links .dropdown a {
  display: block; padding: 9px 22px; font-family: var(--b); font-size: 14.5px; font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--text-d);
}
.nav-links .dropdown a::after { display: none; }
.nav-links .dropdown a:hover { background: rgba(224,50,92,0.1); color: #fff; }
.nav-links .dropdown .dropdown-all a { margin-top: 6px; border-top: 1px solid var(--line-d); padding-top: 12px; color: var(--red-hot); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }
@media (max-width: 1080px) { .nav-links { gap: 22px; } .nav-links a { font-size: 13.5px; letter-spacing: 0.1em; } }

/* Mobile menu sub-links */
.mmenu { overflow-y: auto; padding: 90px 20px 40px; justify-content: flex-start; }
.mmenu a { font-size: 26px; padding: 6px; }
.m-subs { display: flex; flex-direction: column; align-items: center; margin: 2px 0 8px; }
.mmenu .m-sub { font-family: var(--b); font-size: 16px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--mut-d); padding: 5px; }

/* ---------- Inner-page hero ---------- */
.phero { position: relative; overflow: hidden; padding: 190px 0 84px; background: var(--ink); }
.phero-bg { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0.42; }
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10,16,36,0.96) 0%, rgba(10,16,36,0.78) 55%, rgba(10,16,36,0.45) 100%);
}
.phero .wrap { position: relative; z-index: 2; }
.phero h1 { font-size: clamp(40px, 6.4vw, 78px); color: #fff; margin: 16px 0 20px; max-width: 900px; }
.phero h1 em { font-style: normal; color: var(--red-hot); }
.phero .sub { max-width: 680px; font-size: clamp(16px, 1.7vw, 19px); color: #C6CEE4; margin-bottom: 30px; }
.phero .hero-ctas { margin-bottom: 0; }
.crumbs { font-family: var(--h); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut-d); }
.crumbs a { text-decoration: none; color: var(--mut-d); }
.crumbs a:hover { color: #fff; }
.crumbs b { margin: 0 10px; color: var(--red-hot); font-weight: 600; }
.crumbs span { color: var(--text-d); }
.phero .eyebrow { margin-top: 26px; }
@media (max-width: 760px) { .phero { padding: 150px 0 60px; } }

/* Fact strip under inner heroes */
.facts { background: var(--red); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 20px 18px; border-right: 1px solid rgba(255,255,255,0.22); color: #fff; }
.fact:last-child { border-right: 0; }
.fact .v { font-family: var(--h); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.fact .l { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-top: 4px; }
@media (max-width: 760px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; padding: 0; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.22); }
}

/* ---------- Content blocks ---------- */
.block { padding: 96px 0; }
.block.tight { padding: 70px 0; }
.block.dark { background: var(--ink); }
.block.dark2 { background: linear-gradient(180deg, var(--ink) 0%, #0D1530 100%); }
.split { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 44px; } }

.prose { font-size: 17px; }
.prose p { margin: 0 0 18px; color: var(--mut-l); }
.prose p strong { color: var(--text-l); }
.prose h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 44px 0 16px; color: var(--navy); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; margin: 30px 0 10px; color: var(--navy); }
.dark .prose p, .dark2 .prose p { color: var(--mut-d); }
.dark .prose p strong, .dark2 .prose p strong { color: var(--text-d); }
.dark .prose h2, .dark2 .prose h2, .dark .prose h3, .dark2 .prose h3 { color: #fff; }
.prose ul.ticks { list-style: none; margin: 6px 0 24px; }
.ticks li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--line-l); color: var(--text-l); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 2px; background: var(--red); }
.dark .ticks li, .dark2 .ticks li { border-color: var(--line-d); color: var(--text-d); }
.prose a { color: var(--red); font-weight: 600; }
.dark .prose a, .dark2 .prose a { color: var(--red-hot); }
.prose figure { margin: 30px 0; }
.prose figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 20px 50px rgba(23,32,59,0.18); }
.prose figcaption { font-size: 13.5px; color: var(--mut-l); margin-top: 10px; }

/* Sticky sidebar card */
.side { position: sticky; top: 110px; display: grid; gap: 18px; }
.card {
  background: #fff; padding: 28px 28px 30px; border-top: 4px solid var(--red);
  box-shadow: 0 16px 40px rgba(23,32,59,0.1);
}
.card h3 { font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--mut-l); font-size: 15px; margin-bottom: 18px; }
.card .btn { width: 100%; }
.card .call { display: block; text-align: center; margin-top: 14px; font-family: var(--h); font-weight: 600; font-size: 20px; color: var(--navy); text-decoration: none; }
.card .call:hover { color: var(--red); }
.card dl { display: grid; gap: 12px; }
.card dt { font-family: var(--h); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.card dd { color: var(--text-l); font-size: 15px; }
.card.navy { background: var(--navy); border-top-color: var(--red-hot); }
.card.navy h3 { color: #fff; }
.card.navy p, .card.navy dd { color: #C6CEE4; }
.card.navy dt { color: #F7A8BA; }
@media (max-width: 960px) { .side { position: static; } }

/* Grid of items (what we handle / industries) */
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.item { background: var(--ink-2); border: 1px solid var(--line-d); padding: 24px 24px 26px; transition: border-color 0.3s, transform 0.3s; }
.item:hover { border-color: rgba(224,50,92,0.5); transform: translateY(-3px); }
.item h3 { font-size: 20px; margin-bottom: 8px; color: #fff; }
.item p { color: var(--mut-d); font-size: 15px; }
.light .item { background: #fff; border-color: var(--line-l); box-shadow: 0 8px 22px rgba(23,32,59,0.06); }
.light .item h3 { color: var(--navy); }
.light .item p { color: var(--mut-l); }
@media (max-width: 900px) { .items { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .items { grid-template-columns: 1fr; } }

/* Numbered steps on light backgrounds */
.light .step h4 { color: var(--navy); }
.light .step p { color: var(--mut-l); }
.light .proc-rail::before { background: var(--line-l); }
.light .proc-line { background: var(--red); }
.proc-rail.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .proc-rail.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .proc-rail.five { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin-top: 34px; }
.faq details { border-top: 1px solid var(--line-l); }
.faq details:last-child { border-bottom: 1px solid var(--line-l); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 46px 22px 0; position: relative;
  font-family: var(--h); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--b); font-weight: 400; font-size: 30px; color: var(--red); transition: transform 0.25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 0 24px; color: var(--mut-l); font-size: 16.5px; max-width: 760px; }
.faq .ans p + p { margin-top: 12px; }

/* Related services */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.rel { position: relative; display: block; overflow: hidden; text-decoration: none; background: var(--ink-2); border: 1px solid var(--line-d); }
.rel img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2,0.6,0.2,1); }
.rel:hover img { transform: scale(1.06); }
.rel .t { padding: 18px 20px 20px; }
.rel h3 { font-size: 20px; color: #fff; }
.rel span { font-size: 14px; color: var(--red-hot); font-family: var(--h); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 900px) { .related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .related { grid-template-columns: 1fr; } }

/* Service hub cards are links on v3 */
a.svc { display: block; text-decoration: none; color: inherit; }
.svc .more { display: inline-block; margin-top: 14px; font-family: var(--h); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hot); }
.svc-grid.seven .svc { grid-column: span 2; }
.svc-grid.seven .svc:nth-child(4), .svc-grid.seven .svc:nth-child(5) { grid-column: span 2; }
.svc-grid.seven .svc.wide { grid-column: span 3; }
@media (max-width: 980px) { .svc-grid.seven .svc, .svc-grid.seven .svc.wide { grid-column: span 3; } }
@media (max-width: 640px) { .svc-grid.seven .svc, .svc-grid.seven .svc.wide { grid-column: span 6; } }
.svc .tagline { color: var(--mut-d); font-size: 15px; margin-bottom: 10px; }

/* Three-division strip on the home page */
.divs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-l); background: #fff; margin-top: 44px; }
.div { padding: 32px 30px 34px; border-right: 1px solid var(--line-l); }
.div:last-child { border-right: 0; }
.div .n { font-family: var(--h); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; color: var(--red); }
.div h3 { font-size: 26px; color: var(--navy); margin: 8px 0 10px; }
.div p { color: var(--mut-l); font-size: 15.5px; margin-bottom: 14px; }
.div ul { list-style: none; margin-bottom: 18px; }
.div li { padding: 5px 0; font-size: 15px; }
.div li a { color: var(--text-l); text-decoration: none; font-weight: 600; }
.div li a:hover { color: var(--red); }
.div li a::before { content: "→ "; color: var(--red); }
.div.flag { background: var(--navy); }
.div.flag h3 { color: #fff; }
.div.flag p { color: #C6CEE4; }
.div.flag li a { color: #fff; }
.div.flag .n { color: var(--red-hot); }
@media (max-width: 900px) { .divs { grid-template-columns: 1fr; } .div { border-right: 0; border-bottom: 1px solid var(--line-l); } }

/* NORM feature band */
.normband { background: linear-gradient(120deg, #16264F 0%, var(--ink) 75%); padding: 100px 0; overflow: hidden; }
.normband .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.normband img { width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.lic { display: grid; gap: 10px; margin: 24px 0 30px; }
.lic div { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; background: rgba(255,255,255,0.04); border-left: 3px solid var(--red-hot); }
.lic b { font-family: var(--h); font-weight: 600; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.lic span { color: var(--mut-d); font-size: 14.5px; }
@media (max-width: 900px) { .normband .wrap { grid-template-columns: 1fr; } }

/* CTA band */
.ctaband { background: var(--red); padding: 64px 0; }
.ctaband .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ctaband h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); max-width: 720px; }
.ctaband p { color: rgba(255,255,255,0.88); margin-top: 8px; max-width: 640px; }
.ctaband .btn-white { background: #fff; color: var(--red); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 14px 100%); }
.ctaband .btn-white:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.ctaband .alt { display: block; margin-top: 10px; text-align: center; color: #fff; font-family: var(--h); font-weight: 600; letter-spacing: 0.06em; text-decoration: none; }

/* Quote form extras */
.contact fieldset { border: 0; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact legend { grid-column: 1 / -1; font-family: var(--h); font-weight: 700; font-size: 18px; text-transform: uppercase; color: var(--navy); padding-bottom: 4px; border-bottom: 2px solid var(--red); margin-bottom: 6px; width: 100%; }
.contact .hint { font-size: 13.5px; color: var(--mut-l); margin-top: 6px; }
.contact .notice { grid-column: 1 / -1; padding: 14px 16px; background: #fff; border-left: 4px solid var(--red); font-size: 14.5px; color: var(--text-l); }
@media (max-width: 560px) { .contact fieldset { grid-template-columns: 1fr; } }

/* Locations */
.loc .map { display: inline-block; margin-top: 12px; font-family: var(--h); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hot); text-decoration: none; }
.loc .map:hover { color: #fff; }
.loc.hq { border-color: rgba(224,50,92,0.6); background: linear-gradient(160deg, #1A2550 0%, var(--ink-2) 100%); }

/* ---------- Footer (multi-column) ---------- */
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.foot-brand img { height: 74px; width: auto; margin-bottom: 16px; }
.foot-brand p { color: var(--mut-d); font-size: 14.5px; max-width: 320px; margin-bottom: 18px; }
.foot-h { font-size: 15px; letter-spacing: 0.16em; color: #fff; margin-bottom: 14px; }
.foot-list { list-style: none; }
.foot-list li { padding: 5px 0; color: var(--mut-d); font-size: 14.5px; }
.foot-list a { color: var(--mut-d); text-decoration: none; }
.foot-list a:hover { color: #fff; }
.foot-contact span { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; }
.foot-legal { display: flex; gap: 20px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar: call + quote ---------- */
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; background: var(--ink); }
  .callbar a {
    display: flex; align-items: center; justify-content: center; height: 58px; text-decoration: none; color: #fff;
    font-family: var(--h); font-weight: 600; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .callbar .cb-quote { background: var(--red); }
}

/* Home hero: three keyword lines instead of the slogan */
.page-home .hero h1 { font-size: clamp(42px, 7.2vw, 96px); }

/* Hero copy without the emergency line */
.hero .hero-ctas { margin-bottom: 72px; }
.hero h1 .kw { display: block; font-size: 0.34em; letter-spacing: 0.06em; color: #C6CEE4; margin-top: 18px; font-weight: 600; }

/* Thank-you + 404 */
.center { text-align: center; }
.center .lead { margin: 0 auto 30px; }
/* Contact page leads with phone + email (Dad: info requests matter more than quotes) */
.contact-grid.info-first { grid-template-columns: 0.85fr 1.15fr; }
@media (max-width: 900px) { .contact-grid.info-first { grid-template-columns: 1fr; } }
.cinfo .big a { overflow-wrap: anywhere; }

/* ================= v4 (Dad's Nov 5 build diagram) ================= */

/* Rotating hero: images crossfade behind the headline, taglines rotate above it */
.hero-bg.slides { background: none; }
.hero-bg .slide {
  position: absolute; inset: 0; background-position: center 35%; background-size: cover;
  opacity: 0; transition: opacity 1.6s ease;
}
.hero-bg .slide.on { opacity: 1; }
.rotator { position: relative; height: 1.6em; overflow: hidden; margin-bottom: 18px; font-family: var(--h); font-weight: 600; font-size: clamp(14px, 1.5vw, 17px); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-hot); }
.rotator span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(100%); transition: opacity 0.6s, transform 0.6s cubic-bezier(0.2,0.6,0.2,1); }
.rotator span.on { opacity: 1; transform: none; }
.rotator span.out { opacity: 0; transform: translateY(-100%); }
.rotator::before { content: ""; display: inline-block; }
.page-home .hero h1 { font-size: clamp(38px, 6.4vw, 86px); }
@media (max-width: 760px) { .rotator { font-size: 13px; letter-spacing: 0.1em; } }

/* Hero graphic that rotates with the tagline (Veteran Owned badge) */
/* Sits beside the sub-paragraph and buttons, below the headline, above the stats bar */
.hero-graphic { position: absolute; right: max(2vw, 20px); bottom: 36px; z-index: 2; width: clamp(200px, 16vw, 250px); pointer-events: none; }
.hero-graphic img { display: block; width: 100%; height: auto; opacity: 0; background: #fff; border-radius: 50%; padding: 7%; box-sizing: border-box; transform: scale(0.9) rotate(-4deg); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2,0.6,0.2,1); filter: drop-shadow(0 18px 40px rgba(0,0,0,0.5)); }
.hero-graphic img.on { opacity: 1; transform: none; }
@media (max-width: 1100px) { .hero-graphic { display: none; } }

/* Four category cards on home + services hub (2 x 2) */
.svc-grid.four .svc { grid-column: span 3; display: flex; flex-direction: column; }
.svc-grid.four .svc .body { flex: 1; display: flex; flex-direction: column; }
.svc-grid.four .svc .cat-links { margin-top: auto; }
.svc-grid.four .svc .sublist { margin-bottom: 16px; }
@media (max-width: 760px) { .svc-grid.four .svc { grid-column: span 6; } }
.svc li a { color: var(--text-d); text-decoration: none; }
.svc li a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red-hot); }
.svc .sublist li { font-size: 14.5px; }
.svc .sublist li.sub2 { padding-left: 38px; color: var(--mut-d); font-size: 13.5px; border-top: 0; padding-top: 0; }
.svc .sublist li.sub2::before { left: 22px; width: 8px; background: rgba(224,50,92,0.5); }
.svc .cat-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-d); }
.svc .cat-links a { font-family: var(--h); font-weight: 600; font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hot); text-decoration: none; }
.svc .cat-links a:hover { color: #fff; }
.svc-grid.four .svc.flagcat { border-color: rgba(224,50,92,0.55); }

/* Category pages: one card per sub-service */
.subs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.subs .item { display: flex; flex-direction: column; }
.subs .item p { flex: 1; }
.subs .item ul { list-style: none; margin: 4px 0 6px; }
.subs .item li { position: relative; padding: 4px 0 4px 20px; font-size: 14.5px; color: var(--mut-l); }
.subs .item li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 2px; background: var(--red); }
.subs .go { display: inline-block; margin-top: 14px; font-family: var(--h); font-weight: 600; font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); text-decoration: none; }
.subs .go:hover { color: var(--navy); }
.subs .item.feature { border-top: 3px solid var(--red); }
@media (max-width: 760px) { .subs { grid-template-columns: 1fr; } }

/* Projects & Case Studies teaser + page */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.case { background: var(--ink-2); border: 1px solid var(--line-d); padding: 26px 24px 28px; }
.case .cat { font-family: var(--h); font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-hot); }
.case h3 { font-size: 21px; color: #fff; margin: 8px 0 10px; }
.case p { color: var(--mut-d); font-size: 15px; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 14px; font-size: 14px; }
.case dt { font-family: var(--h); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut-d); }
.case dd { color: var(--text-d); }
.case.pending { border-style: dashed; }
.cases.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cases, .cases.two { grid-template-columns: 1fr; } }

/* Contact: yards with maps */
.yards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.yard { background: var(--ink-2); border: 1px solid var(--line-d); overflow: hidden; }
.yard.hq { border-color: rgba(224,50,92,0.6); }
.yard iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; filter: grayscale(0.35) contrast(1.05); background: #1A2550; }
.yard .t { padding: 20px 22px 22px; }
.yard .tag { font-family: var(--h); font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-hot); }
.yard h3 { font-size: 22px; color: #fff; margin: 6px 0; }
.yard p { color: var(--mut-d); font-size: 15px; }
.yard .map { display: inline-block; margin-top: 10px; font-family: var(--h); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hot); text-decoration: none; }
.mailing { margin-top: 22px; padding: 20px 22px; border: 1px solid var(--line-d); color: var(--mut-d); }
.mailing b { color: #fff; font-family: var(--h); letter-spacing: 0.08em; text-transform: uppercase; margin-right: 10px; }
@media (max-width: 760px) { .yards { grid-template-columns: 1fr; } }

/* About: the offset award photo hung 18px past the screen edge on phones (v3 bug) */
@media (max-width: 760px) { .about-photos .ph2 { right: 0; } }

/* Logo: badge + real text tagline. The tagline baked into the old SVG rendered at ~6px. */
.nav .logo, .foot-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav .logo img { height: 54px; width: 54px; }
.logo-tag { font-family: var(--h); font-weight: 600; font-size: 15px; line-height: 1.15; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.foot-brand .foot-logo { margin-bottom: 18px; }
.foot-brand .foot-logo img { height: 68px; width: 68px; margin-bottom: 0; }
.foot-logo .logo-tag { font-size: 17px; }
@media (max-width: 1180px) and (min-width: 901px) { .nav .logo-tag { font-size: 13px; } }
@media (max-width: 380px) { .nav .logo-tag { font-size: 13px; } }

/* Top bar: bigger, easier to read */
.topbar span, .topbar a { font-size: 14px; letter-spacing: 0.1em; }
.topbar { max-height: 44px; }

/* Home safety band: a short summary that sends people to the Safety page instead of repeating it */
.safeband { background: var(--paper); padding: 90px 0; }
.safeband .head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.safeband .head .h2 { color: var(--navy); }
.safeband .btn-ghost, .light .btn-ghost.navy { color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.safeband .btn-ghost:hover, .light .btn-ghost.navy:hover { color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.safe3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 3px solid var(--red); background: #fff; box-shadow: 0 12px 34px rgba(23,32,59,0.08); }
.safe3 > div { padding: 28px 28px 30px; border-right: 1px solid var(--line-l); }
.safe3 > div:last-child { border-right: 0; }
.safe3 h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.safe3 p { color: var(--mut-l); font-size: 15.5px; }
@media (max-width: 860px) { .safe3 { grid-template-columns: 1fr; } .safe3 > div { border-right: 0; border-bottom: 1px solid var(--line-l); } }

/* Home yards: names only, addresses + maps live on Contact */
.yard-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 26px; }
.yard-chips span { padding: 12px 18px; border: 1px solid var(--line-d); background: var(--ink-2); font-family: var(--h); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.yard-chips span small { display: block; font-family: var(--b); font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--mut-d); margin-top: 2px; }
.yard-chips span.hq { border-color: rgba(224,50,92,0.6); }

/* FAQ page groups */
.faq-group + .faq-group { margin-top: 64px; }

/* Four yards (Nov 2026): fill one row instead of leaving an orphan in the 3-col grid */
.loc-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .loc-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .loc-grid.four { grid-template-columns: 1fr; } }

/* Veteran-owned flag in the hero: always on, every screen size */
.vet-flag { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 10px 22px 10px 10px; background: rgba(10,16,36,0.72); border: 2px solid var(--red-hot); border-left-width: 6px; text-decoration: none; backdrop-filter: blur(6px); transition: border-color .2s, transform .2s; }
.vet-flag img { width: 48px; height: auto; background: #fff; border-radius: 50%; padding: 4px; box-sizing: border-box; }
.vet-flag span { display: flex; flex-direction: column; line-height: 1.15; }
.vet-flag b { font-family: var(--h); font-weight: 700; font-size: clamp(17px, 1.9vw, 24px); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.vet-flag small { margin-top: 3px; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hot); }
@media (min-width: 1101px) { .vet-flag img { display: none; } .vet-flag { padding-left: 18px; } }

/* Photo strip (ILI PIG field photos) */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.strip img { width: 100%; height: auto; aspect-ratio: 9/16; object-fit: cover; border: 1px solid var(--line-d); }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }
