/* =========================================================
   WMH Govt Contractor — navy & gold, international edition
   ========================================================= */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../fonts/source-serif-4.woff2") format("woff2-variations"), url("../fonts/source-serif-4.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../fonts/manrope.woff2") format("woff2-variations"), url("../fonts/manrope.woff2") format("woff2");
}

:root {
  --navy-950: #041427;
  --navy-900: #061A33;
  --navy: #0A2E57;
  --navy-700: #13406F;
  --navy-100: #E6ECF4;
  --gold: #D4A03A;
  --gold-soft: #E9C77E;
  --gold-ink: #8A6113;
  --paper: #FFFFFF;
  --mist: #F3F5F8;
  --line: #DCE2EA;
  --ink: #0E1A2B;
  --slate: #4A5566;
  --on-navy: #C9D3E1;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.25rem + .8vw, 1.85rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.3vw, 3.2rem);
  --step-4: clamp(2.7rem, 1.6rem + 4.4vw, 5.4rem);

  --wrap: 1260px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(76px, 9vw, 132px);
  --header-h: 88px;
  --topbar-h: 42px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--sans); font-size: var(--step-0); line-height: 1.65; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 1.02; font-weight: 600; }
h2 { font-size: var(--step-3); line-height: 1.08; }
h3 { font-size: var(--step-1); line-height: 1.25; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: var(--step-1); line-height: 1.6; }
.muted { color: var(--slate); }
.measure { max-width: 62ch; }
.rule { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 0 0 28px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-900); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 2px;
  font: 700 .98rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.link { font-weight: 700; color: var(--navy); text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 3px; transition: background-size .25s var(--ease); }
.link:hover { background-size: 100% 100%; color: var(--navy-900); }
.on-navy .link { color: #fff; }
.on-navy .link:hover { color: var(--navy-900); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: var(--on-navy); font-size: .86rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--topbar-h); }
.topbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 30px; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--gold); }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); }
.topbar .top-right a { color: var(--gold-soft); font-weight: 700; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
.is-scrolled .site-header { box-shadow: 0 10px 30px rgba(6, 26, 51, .09); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { margin-right: auto; display: block; flex: none; }
.brand img { height: 68px; width: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 600; font-size: .97rem; text-decoration: none; color: var(--ink); position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a:hover { color: var(--navy); }
.caret { width: 10px; height: 10px; transition: transform .2s; }
.has-sub { position: relative; }
.sub { list-style: none; position: absolute; left: 0; top: calc(100% + 8px); min-width: 280px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 10px 0; box-shadow: 0 24px 50px rgba(6, 26, 51, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.sub a { padding: 10px 22px; font-weight: 500; }
.sub a:hover { background: var(--mist); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .caret { transform: rotate(180deg); }
.header-cta { flex: none; min-height: 48px; padding: 0 22px; }
.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1.5px solid var(--line); color: var(--navy); font: 700 .95rem var(--sans); padding: 10px 14px; cursor: pointer; }
.nav-toggle .bars { width: 20px; height: 14px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle .bars::before { top: 0; } .nav-toggle .bars span { top: 6px; } .nav-toggle .bars::after { bottom: 0; }
.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-open .nav-toggle .bars span { opacity: 0; }
.main-nav .mobile-only { display: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: #fff; min-height: clamp(600px, calc(100vh - var(--header-h) - var(--topbar-h)), 880px); display: flex; flex-direction: column; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides figure { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slides figure.is-active { opacity: 1; }
.hero-slides img { width: 100%; height: 100%; object-fit: cover; }
.hero-slides figure.is-active img { animation: drift 10s ease-out forwards; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1.01); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(4,20,39,.96) 0%, rgba(6,26,51,.9) 42%, rgba(6,26,51,.62) 72%, rgba(10,46,87,.4) 100%); }
.hero-main { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding-block: 80px 214px; }
.hero-copy { max-width: 800px; }
.hero-line { display: none; }
.hero-line.is-active { display: block; animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero h1, .hero .h1 { font-family: var(--serif); font-size: var(--step-4); font-weight: 600; line-height: 1.02; letter-spacing: -.015em; margin: 0 0 26px; text-wrap: balance; }
.hero .rule { margin-bottom: 30px; }
.hero p { font-size: var(--step-1); color: var(--on-navy); max-width: 54ch; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 118px; z-index: 2; }
.hero-controls .wrap { display: flex; align-items: center; gap: 16px; }
.hero-controls button { width: 46px; height: 46px; display: grid; place-items: center; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%; cursor: pointer; transition: border-color .2s, color .2s; }
.hero-controls button:hover { border-color: var(--gold); color: var(--gold); }
.hero-controls svg { width: 18px; height: 18px; }
.hero-progress { display: flex; gap: 8px; margin-left: 8px; }
.hero-progress span { width: 46px; height: 2px; background: rgba(255,255,255,.28); position: relative; overflow: hidden; }
.hero-progress span::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-progress span.is-done::after { transform: scaleX(1); }
.hero-progress span.is-active::after { animation: fill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero-progress span.is-active::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-count { font-size: .85rem; color: var(--on-navy); font-variant-numeric: tabular-nums; }
.swoosh { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: clamp(70px, 9vw, 130px); pointer-events: none; }

/* ---------- Figures ---------- */
.figures { position: relative; z-index: 3; margin-top: clamp(-70px, -5vw, -40px); }
.figures-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(6, 26, 51, .10); }
.figure { padding: 34px 32px 32px; border-left: 1px solid var(--line); }
.figure:first-child { border-left: 0; }
.figure b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 1.4rem + 1.8vw, 3rem); line-height: 1; color: var(--navy); letter-spacing: -.02em; margin-bottom: 12px; white-space: nowrap; }
.figure span { display: block; color: var(--slate); font-size: .95rem; line-height: 1.5; }
.figure.live b::after { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #2BB673; margin-left: 12px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(43,182,115,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43,182,115,.45); } 70% { box-shadow: 0 0 0 10px rgba(43,182,115,0); } 100% { box-shadow: 0 0 0 0 rgba(43,182,115,0); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section.tight { padding-block: clamp(56px, 6vw, 92px); }
.on-mist { background: var(--mist); }
.on-navy { background: var(--navy-900); color: #fff; }
.on-navy .muted { color: var(--on-navy); }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; margin-bottom: clamp(44px, 5vw, 68px); }
.head p { margin: 0; }
.head.solo { grid-template-columns: minmax(0, 1fr); max-width: 780px; }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.top { align-items: start; }
.photo { position: relative; isolation: isolate; }
.photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.photo::after { content: ""; position: absolute; z-index: -1; right: -18px; bottom: -18px; width: 62%; height: 62%; border: 2px solid var(--gold); }
.photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--navy-900); color: #fff; padding: 14px 20px; font-size: .9rem; font-weight: 600; }
.points { list-style: none; margin: 30px 0 36px; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.points svg { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }

/* ---------- Services grid ---------- */
.svc-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc-grid > li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-grid > li.wide { grid-column: span 2; }
.svc { display: flex; flex-direction: column; height: 100%; padding: 36px 34px 34px; text-decoration: none; color: inherit; background: #fff; transition: background-color .25s var(--ease); position: relative; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc:hover::before { transform: scaleX(1); }
.svc:hover { background: var(--mist); }
.svc .ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 26px; }
.svc .ico svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.5rem; margin-bottom: 12px; }
.svc p { color: var(--slate); margin-bottom: 20px; }
.svc .exp-label { font-size: .82rem; font-weight: 700; color: var(--navy); margin: auto 0 10px; padding-top: 4px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .82rem; font-weight: 600; color: var(--navy); background: var(--navy-100); padding: 6px 11px; border-radius: 2px; }
.svc-new { font-size: .72rem; font-weight: 800; color: var(--navy-900); background: var(--gold); padding: 3px 8px; margin-left: 10px; vertical-align: middle; border-radius: 2px; font-family: var(--sans); letter-spacing: .02em; }

/* ---------- Transport band ---------- */
.transport { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.transport h2 { color: #fff; margin-bottom: 22px; }
.transport .lead { color: var(--on-navy); }
.check-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 30px 0 38px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #fff; font-weight: 500; line-height: 1.45; }
.check-list svg { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.on-paper .check-list li, .on-mist .check-list li { color: var(--ink); }
.truck-art { width: 100%; height: auto; }

/* ---------- Projects ---------- */
.projects-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 5vw, 72px); }
.big-number { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: .9; letter-spacing: -.035em; font-size: clamp(4.4rem, 1.4rem + 10vw, 11rem); margin: 0; white-space: nowrap; }
.big-number small { font-size: .32em; letter-spacing: 0; margin-right: .18em; vertical-align: .9em; color: var(--gold-ink); font-weight: 700; font-family: var(--sans); }
.on-navy .big-number { color: #fff; }
.on-navy .big-number small { color: var(--gold); }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); background: #E6F5EE; padding: 8px 14px; border-radius: 40px; font-size: .9rem; margin-bottom: 18px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2BB673; animation: pulse 2.2s infinite; }
.proj-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--navy); }
.proj { padding: 30px 28px 6px 0; }
.proj + .proj { padding-left: 28px; border-left: 1px solid var(--line); }
.proj .ico { width: 44px; height: 44px; color: var(--gold-ink); margin-bottom: 18px; }
.proj h3 { font-size: 1.3rem; margin-bottom: 10px; }
.proj p { color: var(--slate); margin: 0; font-size: .98rem; }

/* ---------- Documents ---------- */
.docs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.doc { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; font: inherit; color: inherit; }
.doc .sheet { display: block; background: #fff; padding: 14px; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(6,26,51,.04), 0 18px 40px rgba(6,26,51,.10); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.doc img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; object-position: center top; background: #fff; }
.doc:hover .sheet, .doc:focus-visible .sheet { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(6,26,51,.04), 0 28px 60px rgba(6,26,51,.16); }
.doc strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.25; margin-top: 20px; }
.doc small { display: block; color: var(--slate); font-size: .9rem; margin-top: 4px; }
.on-navy .doc small { color: var(--on-navy); }
.on-navy .doc .sheet { border-color: transparent; }
.doc-view { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--navy); margin-top: 10px; }
.on-navy .doc-view { color: var(--gold-soft); }
.doc-view svg { width: 16px; height: 16px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(4, 20, 39, .92); padding: 64px 20px 24px; }
.lightbox.open { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox img { max-width: min(92vw, 1000px); max-height: calc(100vh - 150px); width: auto; height: auto; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox .lb-caption { color: #fff; margin-top: 16px; font-weight: 600; text-align: center; }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: rgba(4,20,39,.5); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-close { top: 14px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; }
.lightbox .lb-next { right: 18px; top: 50%; }
.lightbox button:hover { border-color: var(--gold); color: var(--gold); }
.lightbox svg { width: 20px; height: 20px; }
.lb-open { overflow: hidden; }

/* ---------- CEO ---------- */
.ceo { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.ceo-side { border-top: 3px solid var(--gold); padding-top: 24px; }
.ceo-side .name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1.15; color: #fff; }
.ceo-side .role { color: var(--on-navy); margin-top: 6px; }
.ceo-mark { width: 120px; margin-top: 34px; opacity: .9; }
.ceo blockquote { margin: 0; }
.ceo .quote { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.9rem); line-height: 1.18; letter-spacing: -.01em; color: #fff; margin-bottom: 30px; text-wrap: balance; }
.ceo .quote::before { content: "\201C"; display: block; font-size: 2.6em; line-height: .5; color: var(--gold); margin-bottom: 14px; }
.ceo .body p { color: var(--on-navy); max-width: 64ch; }
.on-paper .ceo-side .name, .on-paper .ceo .quote { color: var(--ink); }
.on-paper .ceo-side .role, .on-paper .ceo .body p { color: var(--slate); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 64px; height: 3px; background: var(--gold); }
.step-num { font-family: var(--serif); font-size: 3.2rem; font-weight: 600; line-height: 1; color: var(--navy); display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.45rem; margin-bottom: 12px; }
.step p { color: var(--slate); margin: 0; }

/* ---------- Inquiry / form ---------- */
.inquiry { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 18px 0; text-decoration: none; }
.contact-list .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--slate); font-size: .85rem; }
.contact-list strong { font-weight: 700; overflow-wrap: anywhere; }
.contact-list a:hover strong { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: clamp(26px, 4vw, 46px); box-shadow: 0 24px 60px rgba(6,26,51,.08); }
.form h3 { font-size: 1.7rem; margin-bottom: 6px; }
.form .hint { color: var(--slate); font-size: .9rem; margin-bottom: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label, .field legend { font-weight: 700; font-size: .92rem; }
.field .opt { font-weight: 500; color: var(--slate); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #C6CFDB; border-radius: 2px; padding: 13px 14px; min-height: 52px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(212,160,58,.45); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A2E57' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check label { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1.5px solid #C6CFDB; border-radius: 2px; cursor: pointer; font-weight: 500; font-size: .93rem; line-height: 1.25; }
.check label::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--navy); border-radius: 2px; background: #fff; }
.check input:checked + label { border-color: var(--navy); background: var(--navy-100); }
.check input:checked + label::before { background: var(--navy); box-shadow: inset 0 0 0 3px #fff; }
.check input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.form .btn { width: 100%; margin-top: 6px; }
.form-foot { font-size: .88rem; color: var(--slate); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; }
.cta::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; height: 220%; border: 2px solid rgba(212,160,58,.35); border-radius: 50%; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { max-width: 20ch; color: #fff; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: #fff; padding-block: clamp(84px, 10vw, 150px) clamp(120px, 13vw, 190px); }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(4,20,39,.95), rgba(6,26,51,.6)); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: var(--on-navy); margin-bottom: 24px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
.page-hero h1 { max-width: 16ch; }
.page-hero p { max-width: 58ch; margin: 24px 0 0; font-size: var(--step-1); color: var(--on-navy); }

/* ---------- About ---------- */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.panel { border-top: 3px solid var(--gold); padding-top: 28px; }
.panel h3 { font-size: var(--step-3); margin-bottom: 18px; }
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--navy); }
.office { padding: 30px 32px 30px 0; }
.office + .office { padding-left: 32px; border-left: 1px solid var(--line); }
.office h3 { font-size: 1.45rem; margin-bottom: 10px; }
.office .tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--navy); background: var(--navy-100); padding: 4px 10px; margin-bottom: 14px; }
.office p { color: var(--slate); margin: 0; }

/* ---------- Services page ---------- */
.svc-index { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-index a { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--navy); border-radius: 2px; }
.svc-index a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.svc-block { display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); padding-block: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line); align-items: start; }
.svc-block:first-of-type { border-top: 2px solid var(--navy); }
.svc-block .ico { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.svc-block .ico svg { width: 40px; height: 40px; }
.svc-block h2 { font-size: var(--step-3); margin-bottom: 18px; }
.svc-block .lead { margin-bottom: 18px; }
.svc-block .note { font-size: .95rem; color: var(--slate); margin: 0; }
.exp { background: var(--mist); padding: 28px 30px; border-left: 3px solid var(--gold); }
.exp h3 { font-family: var(--sans); font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.exp ul { list-style: none; display: grid; gap: 0; }
.exp li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; line-height: 1.45; }
.exp li:last-child { border-bottom: 0; }
.exp li::before { content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 8px; border-left: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(-45deg); }

/* ---------- Licences page ---------- */
.doc-rows { display: grid; gap: clamp(56px, 7vw, 96px); }
.doc-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.doc-row:nth-child(even) > :first-child { order: 2; }
.doc-row .doc .sheet { padding: 18px; }
.doc-row .doc img { aspect-ratio: auto; object-fit: contain; }
.doc-row h2 { font-size: var(--step-3); margin-bottom: 14px; }
.doc-row .issuer { font-weight: 700; color: var(--gold-ink); margin-bottom: 18px; display: block; }
.doc-row dl { display: grid; grid-template-columns: 170px 1fr; margin: 26px 0 0; border-top: 1px solid var(--line); }
.doc-row dt, .doc-row dd { padding: 13px 0; border-bottom: 1px solid var(--line); margin: 0; }
.doc-row dt { font-weight: 700; color: var(--navy); }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.contact-card { padding: 30px 26px 30px 0; text-decoration: none; display: block; }
.contact-card + .contact-card { padding-left: 26px; border-left: 1px solid var(--line); }
.contact-card .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 18px; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--slate); font-size: .86rem; margin-bottom: 4px; }
.contact-card strong { font-size: 1.05rem; overflow-wrap: anywhere; line-height: 1.45; display: block; }
a.contact-card:hover strong { color: var(--navy-700); }
.map { width: 100%; height: 440px; border: 0; display: block; filter: saturate(.6); }
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.thanks img { width: 260px; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy); font-size: .96rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold) 0 34%, var(--navy-700) 34% 100%); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 44px; padding-block: clamp(64px, 8vw, 100px) 56px; }
.footer-brand img { width: 260px; margin-bottom: 22px; }
.footer-brand p { max-width: 38ch; }
.site-footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 18px; letter-spacing: .01em; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .contact-lines li, .site-footer .contact-lines a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 22px; font-size: .86rem; }
.to-top { color: #fff; text-decoration: none; font-weight: 700; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px rgba(4,20,39,.3); transition: transform .2s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 10px; font-size: .94rem; }
  .main-nav > ul > li > a::after { left: 10px; right: 10px; }
  .brand img { height: 54px; }
  .figures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure:nth-child(3) { border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj:nth-child(3) { padding-left: 0; border-left: 0; }
  .proj:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 50px; }
  .topbar .hide-md { display: none; }
  .main-nav { position: fixed; left: 0; right: 0; top: var(--nav-top, 118px); bottom: 0; z-index: 49; background: #fff; overflow-y: auto; padding: 12px var(--gutter) 40px; border-top: 1px solid var(--line); display: none; }
  .nav-open .main-nav { display: block; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 16px 0; font-size: 1.2rem; font-family: var(--serif); font-weight: 600; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
  .caret { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; }
  .sub a { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--slate); padding: 8px 0 8px 16px; }
  .main-nav .mobile-only { display: block; border: 0; margin-top: 22px; }
  .main-nav .mobile-only a { font-family: var(--sans); font-size: 1rem; color: var(--navy-900); padding: 0 26px; justify-content: center; }

  .head, .split, .transport, .projects-hero, .inquiry, .two-col, .ceo, .doc-row { grid-template-columns: minmax(0, 1fr); }
  .doc-row:nth-child(even) > :first-child { order: 0; }
  .doc-row .doc { max-width: 460px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid > li.wide { grid-column: span 2; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .svc-block { grid-template-columns: minmax(0, 1fr); }
  .svc-block .ico { width: 68px; height: 68px; }
  .svc-block .ico svg { width: 32px; height: 32px; }
  .offices { grid-template-columns: minmax(0, 1fr); }
  .office, .office + .office { padding: 26px 0; border-left: 0; }
  .office + .office { border-top: 1px solid var(--line); }
  .ceo-mark { display: none; }
  .photo::after { right: -10px; bottom: -10px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar .wrap { justify-content: center; }
  .topbar .top-right { display: none; }
  .brand img { height: 44px; }
  .nav-toggle .label { display: none; }
  .hero-main { padding-block: 56px 180px; }
  .hero-controls { bottom: 92px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .figures-grid { grid-template-columns: minmax(0, 1fr); }
  .figure { border-left: 0 !important; border-top: 1px solid var(--line); padding: 24px 24px; }
  .figure:first-child { border-top: 0; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-grid > li.wide { grid-column: auto; }
  .svc { padding: 30px 24px; }
  .check-list { grid-template-columns: minmax(0, 1fr); }
  .proj-grid, .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .proj, .proj + .proj, .contact-card, .contact-card + .contact-card { padding: 24px 0; border-left: 0; }
  .proj + .proj, .contact-card + .contact-card { border-top: 1px solid var(--line); }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .doc .sheet { padding: 8px; }
  .doc strong { font-size: 1rem; margin-top: 14px; }
  .field-row, .checks { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand img { width: 220px; }
  .doc-row dl { grid-template-columns: minmax(0, 1fr); }
  .doc-row dt { border-bottom: 0; padding-bottom: 0; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print { .topbar, .site-header, .wa-float, .hero-controls, .form { display: none !important; } }
