/* Senura Civil Engineering — public site stylesheet (from Claude Design spec)
   Design canvas: 1536px. Below that the layout scales fluidly via --pad-x
   and clamp() typography, with breakpoints at 1360 / 1150 / 1024 / 900 / 640 / 480. */

:root {
  --accent: #1F7FD4;
  --accent-lt: #3D9BE9;
  --navy: #0A2545;
  --navy-2: #071B33;
  --ink: #12263E;
  --pad-x: clamp(18px, 3vw, 58px);   /* horizontal page gutter, scales with screen up to Full HD */
}

* { box-sizing: border-box; }

/* The hidden attribute must always win. Author rules that set a display value
   (.project-card is display:flex, .pm-meta-item is inline-flex, …) otherwise
   override the UA's [hidden] rule and the element stays visible. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  font-family: 'Barlow', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-lt); }

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

.page { max-width: 1920px; margin: 0 auto; overflow: hidden; }

/* ------------------------------------------------------------ header */

.site-header {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 40px);
  padding: 14px var(--pad-x);
  background: #fff;
  border-bottom: 1px solid #E8EBEF;
  position: relative;
  min-height: 90px;
  z-index: 40;
}

.site-header .logo img {
  display: block;
  width: clamp(180px, 18vw, 340px);
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
  margin-left: auto;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.main-nav a { color: #2B3A4C; flex: 0 0 auto; }
.main-nav a:hover { color: var(--accent); }
.main-nav a.active {
  color: var(--accent);
  padding-bottom: 7px;
  border-bottom: 2px solid var(--accent);
}

.btn-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  flex: 0 0 auto;
}
.btn-cta:hover { background: var(--accent-lt); color: #fff; }

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  background: none;
  border: 1px solid #DDE2E8;
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------- hero */

.hero {
  position: relative;
  height: clamp(400px, 28.2vw, 540px);   /* 432px at the 1536 design width, 540px at Full HD */
  background: var(--navy);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 clamp(220px, 19.5vw, 375px);
}

.img-slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 22px, rgba(255,255,255,0) 22px 44px),
    linear-gradient(120deg, #12304f 0%, #1a4066 55%, #12304f 100%);
  color: #9FB4CC;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 10px;
}
.img-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* slideshow: stacked slides cross-fade; .active is visible */
.hero-slideshow .hero-slide { opacity: 0; transition: opacity 1s ease; }
.hero-slideshow .hero-slide.active { opacity: 1; }

.hero-fade-x {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #0A2545 0%, #0A2545 26%, rgba(10,37,69,0.86) 40%, rgba(10,37,69,0.25) 56%, rgba(10,37,69,0) 68%);
}
.hero-fade-y {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,27,51,0.45) 0%, rgba(8,27,51,0) 30%);
}

.hero-dots {
  position: absolute;
  left: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 11px;
  z-index: 2;
}
.hero-dots span { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.65); }
.hero-dots span.on { background: var(--accent-lt); border-color: var(--accent-lt); }
.hero-dots[data-dots] span { cursor: pointer; position: relative; transition: background 0.25s ease, border-color 0.25s ease; }
/* A 9px dot is far too small to tap — widen the hit area without changing the
   look. */
.hero-dots[data-dots] span::after { content: ''; position: absolute; inset: -11px -5px; }

.hero-copy {
  position: absolute;
  left: clamp(60px, 8vw, 155px);
  top: clamp(32px, 2.6vw, 50px);
  width: clamp(560px, 41.7vw, 800px);
  max-width: 66vw;
  z-index: 2;
}
.hero-copy h1 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 65px);
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: #fff;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.hero-copy h1 .hl { color: var(--accent-lt); }
.hero-copy .tagline { margin: 18px 0 0; font-size: clamp(15px, 1.2vw, 23px); font-weight: 500; color: #DCE6F2; letter-spacing: 0.01em; }
.hero-copy .rule { width: 56px; height: 3px; background: var(--accent-lt); margin-top: 13px; }

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  background: var(--accent);
  color: #fff;
  padding: 15px 26px;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.btn-hero:hover { background: var(--accent-lt); color: #fff; }

.hero-stats {
  position: absolute;
  left: var(--pad-x);
  bottom: 0;
  width: min(clamp(812px, 52.9vw, 1015px), calc(100% - 2 * var(--pad-x)));
  display: grid;
  /* --cols comes from render_hero_stats(); minmax(0,…) lets long figures shrink
     instead of pushing the band past the viewport. */
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  background: rgba(7,26,48,0.88);
  backdrop-filter: blur(2px);
  z-index: 2;
}
.hero-stat { display: flex; align-items: center; gap: 12px; padding: 20px 14px; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,0.14); }
.hero-stat svg { flex: 0 0 auto; }
.hero-stat .num {
  font-family: 'Archivo', sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--accent-lt);
  line-height: 1.1;
}
.hero-stat .num.sm { font-size: 17px; letter-spacing: 0.02em; }
.hero-stat .lbl {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: #E4ECF6;
  line-height: 1.45;
  margin-top: 4px;
}

/* --------------------------------------------------------- expertise */

.section-expertise { background: #F5F6F8; padding: 26px var(--pad-x) 34px; }

.sec-head { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.sec-head h2 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(19px, 1.5vw, 29px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--navy);
  text-align: center;
}
.sec-head .rule { width: 78px; height: 3px; background: var(--accent); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: clamp(14px, 2.2vw, 34px);
  margin-top: 26px;
}
.expertise-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 104px;
  background: #fff;
  border: 1px solid #E3E7EC;
  padding: 18px 10px;
  transition: border-color 0.2s ease;
}
.expertise-card:hover { border-color: var(--accent); }
.expertise-card span {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-align: center;
  line-height: 1.4;
}

/* ---------------------------------------------------------- projects */

.section-projects { background: var(--navy); padding: 30px var(--pad-x) 34px; }

.projects-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.projects-head h2 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(19px, 1.5vw, 29px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
}
.link-arrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--accent-lt);
}
.link-arrow:hover { color: #fff; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.projects-grid-page { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }

/* ---------------------------------------------------- dropdown filter bar */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  margin-top: 28px;
}
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 0 1 clamp(210px, 22vw, 300px);
  min-width: 190px;
}
.filter-label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #7C93AD;
  text-transform: uppercase;
}
.filter-select { position: relative; display: block; }
.filter-select select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 42px 12px 15px;
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--ink);
  background: #fff;
  border: 1px solid #DCE3EA;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 200ms ease;
}
.filter-select select:hover { border-color: var(--accent); }
.filter-select select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(31, 127, 212, 0.14);
}
.filter-select .chev {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--accent);
}

.filter-count {
  margin-left: auto;
  align-self: flex-end;
  padding-bottom: 12px;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #7A8CA0;
  text-transform: uppercase;
  white-space: nowrap;
}

/* On the navy Projects band the controls invert. */
.filter-bar.on-navy .filter-label { color: #9FB4CC; }
.filter-bar.on-navy .filter-select select {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.filter-bar.on-navy .filter-select select option { color: #12263E; background: #fff; }
.filter-bar.on-navy .filter-select select:hover { border-color: var(--accent-lt); }
.filter-bar.on-navy .filter-select select:focus {
  border-color: var(--accent-lt);
  box-shadow: 0 0 0 4px rgba(61, 155, 233, 0.2);
}
.filter-bar.on-navy .filter-select .chev { color: var(--accent-lt); }
.filter-bar.on-navy .filter-count { color: #8FA5BE; }

@media (max-width: 640px) {
  .filter-bar { gap: 12px; }
  .filter-field { flex: 1 1 100%; }
  .filter-count { margin-left: 0; padding-bottom: 0; }
}

/* "no results" line shown when a filter combination matches nothing */
.proj-empty {
  margin: 34px 0 0;
  text-align: center;
  font-size: 16px;
  color: #A9BBCF;
}
.xp-empty { color: #7A8CA0; }
.xp-grid { margin-top: 26px; }

.fleet-total {
  margin: 20px 0 0;
  text-align: center;
  font-family: 'Archivo', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #7A8CA0;
  text-transform: uppercase;
}
.project-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: rgba(31,127,212,0.1);
}
.project-media { position: relative; height: clamp(150px, 10.3vw, 198px); overflow: hidden; }
.project-media[data-project-open] { cursor: pointer; }
.project-media[data-project-open]:focus-visible {
  outline: 2px solid var(--accent-lt);
  outline-offset: -2px;
}
.project-media .img-slot img { transition: transform 0.35s ease; }
.project-card:hover .project-media .img-slot img { transform: scale(1.05); }

/* magnifier cue on the thumbnail */
.media-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(7,26,48,0.7);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  backdrop-filter: blur(2px);
}
.project-card:hover .media-zoom,
.project-media[data-project-open]:focus-visible .media-zoom { opacity: 1; transform: scale(1); }
.project-media .fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 70px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7,26,48,0) 0%, rgba(7,26,48,0.78) 100%);
}
.project-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: 'Archivo', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 5px 9px;
  border-radius: 3px;
  pointer-events: none;
}
.project-body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 14px; }
.project-body h3 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.45;
}
.project-body .years { margin-top: 8px; font-size: 14px; color: #8FA5BE; letter-spacing: 0.02em; }
.project-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
  cursor: pointer;
  font: inherit;
}
.project-foot:hover .view { color: #fff; }
.project-foot:hover .circle { border-color: var(--accent-lt); background: rgba(61,155,233,0.15); }
.project-foot .view {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-lt);
}
.project-foot .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  color: var(--accent-lt);
  flex: 0 0 auto;
}

/* ----------------------------------------------------- feature strip */

.feature-strip {
  background: #F5F6F8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px var(--pad-x);
}
.feature { display: flex; align-items: center; gap: 18px; padding: 8px clamp(10px, 1.6vw, 24px); }
.feature + .feature { border-left: 1px solid #DDE2E8; }
.feature .t1 {
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.feature .t2 { font-size: 16px; color: #3E4E60; margin-top: 2px; }

/* ------------------------------------------------------------ footer */

.site-footer { background: var(--navy-2); color: #C3D2E3; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 3.6vw, 56px);
  padding: 52px var(--pad-x) 44px;
}

.footer-logo img {
  display: block;
  width: clamp(230px, 16.3vw, 313px);
  height: auto;
  max-height: 76px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-about {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: #9FB4CC;
  max-width: 340px;
}

.footer-social { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  color: #C3D2E3;
  border-radius: 6px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-col h4 {
  margin: 0 0 20px;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: #fff;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; }
.footer-links a { color: #9FB4CC; }
.footer-links a:hover { color: var(--accent-lt); }

.footer-contact { display: flex; flex-direction: column; gap: 18px; font-size: 15.5px; line-height: 1.6; }
.contact-row { display: flex; gap: 14px; }
.contact-row svg { flex: 0 0 auto; margin-top: 3px; }
.contact-text { color: #9FB4CC; overflow-wrap: anywhere; }
a.contact-line { color: #9FB4CC; }
a.contact-line:hover { color: var(--accent-lt); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 20px var(--pad-x);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-bottom span { font-size: 14.5px; color: #8598AE; text-align: center; }

/* developer credit — separated from the copyright line by a thin divider */
.footer-credit { display: inline-flex; align-items: center; gap: 6px; }
.footer-credit::before {
  content: '';
  width: 1px;
  height: 13px;
  background: rgba(255,255,255,0.18);
  margin-right: 12px;
}
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #B9C9DA;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-credit a:hover { color: var(--accent-lt); border-bottom-color: var(--accent-lt); }
.footer-credit svg { opacity: 0.75; transition: opacity 0.2s ease; }
.footer-credit a:hover svg { opacity: 1; }

@media (max-width: 560px) {
  .footer-credit::before { display: none; }
}

/* -------------------------------------------------------- about page */

.about-banner { position: relative; height: clamp(260px, 19.5vw, 375px); background: var(--navy); overflow: hidden; }
.about-banner .media { position: absolute; inset: 0; }
.about-banner .fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10,37,69,0.96) 0%, rgba(10,37,69,0.86) 42%, rgba(10,37,69,0.42) 100%);
}
.about-banner .copy {
  position: absolute;
  left: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  width: 760px;
  max-width: calc(100% - 2 * var(--pad-x));
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #9FB4CC;
}
.breadcrumb a { color: #9FB4CC; }
.breadcrumb a:hover { color: var(--accent-lt); }
.breadcrumb .sep { color: #5A7591; }
.breadcrumb .here { color: #fff; }
.about-banner h1 {
  margin: 16px 0 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 65px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: #fff;
  text-transform: uppercase;
}
.about-banner .rule { width: 56px; height: 3px; background: var(--accent-lt); margin-top: 18px; }
.about-banner .lede { margin: 18px 0 0; font-size: clamp(15px, 1.2vw, 23px); line-height: 1.65; color: #D3E0EE; max-width: clamp(620px, 40vw, 775px); }

.who-section {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(32px, 4.2vw, 64px);
  align-items: start;
  padding: clamp(40px, 4.3vw, 66px) var(--pad-x) clamp(40px, 4vw, 62px);
  background: #fff;
}
.kicker {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.who-section h2 {
  margin: 14px 0 0;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(26px, 2.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-transform: uppercase;
  text-wrap: balance;
}
.who-copy { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; font-size: 17px; line-height: 1.75; color: #3E4E60; max-width: 620px; }
.who-copy p { margin: 0; }

.who-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: #E3E7EC;
  border: 1px solid #E3E7EC;
  max-width: 620px;
}
.who-stat { background: #F8F9FB; padding: 22px 24px; }
.who-stat .num { font-family: 'Archivo', sans-serif; font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1; }
.who-stat .lbl { font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: #46596E; margin-top: 8px; }

.who-media { position: relative; padding-bottom: 56px; }
.who-media .frame { height: clamp(320px, 30vw, 575px); width: 100%; min-width: 0; position: relative; }
.who-badge {
  position: absolute;
  left: -28px;
  bottom: 0;
  width: 264px;
  background: var(--accent);
  color: #fff;
  padding: 24px 26px;
}
.who-badge .num { font-family: 'Archivo', sans-serif; font-size: 34px; font-weight: 800; line-height: 1; }
.who-badge .lbl { font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; margin-top: 8px; line-height: 1.5; }

.vmv-section { background: #F5F6F8; padding: clamp(36px, 3.8vw, 58px) var(--pad-x); }
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 26px); }
.vmv-card { background: #fff; border: 1px solid #E3E7EC; border-top: 3px solid var(--accent); padding: 32px 30px 34px; }
.vmv-card h3 { margin: 20px 0 0; font-family: 'Archivo', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0.1em; color: var(--navy); }
.vmv-card p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.7; color: #3E4E60; }

.journey-section { background: var(--navy); padding: clamp(36px, 3.8vw, 58px) var(--pad-x) clamp(40px, 4vw, 62px); }
.journey-section .sec-head h2 { color: #fff; }
.journey-section .sec-head .rule { background: var(--accent-lt); }
.journey-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; margin-top: 44px; }
.journey-item .year { font-family: 'Archivo', sans-serif; font-size: 26px; font-weight: 800; color: var(--accent-lt); line-height: 1; }
.journey-item .line { display: flex; align-items: center; margin: 16px 0; }
.journey-item .line .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent-lt); flex: 0 0 auto; }
.journey-item .line .bar { flex: 1; height: 1px; background: rgba(255,255,255,0.18); }
.journey-item p { margin: 0; font-size: 16px; line-height: 1.7; color: #A9BBCF; }

.leaders-section { background: #fff; padding: clamp(36px, 3.9vw, 60px) var(--pad-x); }
.leaders-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.leaders-head h2 {
  margin: 12px 0 0;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(22px, 2vw, 38px);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-transform: uppercase;
}
.leaders-head .link-arrow { color: var(--accent); padding-bottom: 4px; }
.leaders-head .link-arrow:hover { color: var(--navy); }
/* Flex rather than a fixed 4-column grid: the row centres itself for any number
   of leaders, so two cards sit in the middle instead of hugging the left edge. */
.leaders-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(20px, 2.2vw, 32px);
  margin-top: clamp(28px, 2.6vw, 40px);
}
.leader-card {
  flex: 0 1 clamp(290px, 25vw, 372px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E3E7EC;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.32s ease;
}
.leader-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(10, 37, 69, 0.13);
}
.leader-card .photo {
  position: relative;
  width: 100%;
  min-width: 0;
  height: clamp(300px, 21vw, 400px);
  overflow: hidden;
}
/* Soft scrim so portraits of different exposure still meet the card evenly. */
.leader-card .photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(7, 27, 51, 0) 0%, rgba(7, 27, 51, 0.34) 100%);
  pointer-events: none;
}
/* Three classes deep so this beats motion.css's own transition on lazy images
   (.js-motion img.m-img) instead of being replaced by it. */
.leader-card .photo .img-slot img {
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.5s ease;
}
.leader-card:hover .photo img { transform: scale(1.055); }

.leader-card .info {
  flex: 1 1 auto;
  padding: 26px 28px 30px;
  border-top: 3px solid var(--accent);
}
.leader-card h3 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(15.5px, 1.1vw, 17.5px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--navy);
}
.leader-card .role {
  display: inline-block;
  margin-top: 11px;
  padding: 5px 11px;
  background: rgba(31, 127, 212, 0.09);
  border-radius: 3px;
  font-family: 'Archivo', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--accent);
  text-transform: uppercase;
}
.leader-card p {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid #EDF1F5;
  font-size: 15.5px;
  line-height: 1.68;
  color: #5A6C80;
}

.certs-strip { background: #F5F6F8; display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px var(--pad-x); }
.cert { display: flex; align-items: center; gap: 18px; padding: 10px clamp(12px, 1.7vw, 26px); }
.cert + .cert { border-left: 1px solid #DDE2E8; }
.cert .t1 { font-family: 'Archivo', sans-serif; font-size: 14.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--navy); }
.cert .t2 { font-size: 15.5px; color: #3E4E60; margin-top: 3px; }

.cta-band {
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 2.9vw, 44px) var(--pad-x);
  flex-wrap: wrap;
}
.cta-band h2 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(22px, 2vw, 38px);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: uppercase;
}
.cta-band p { margin: 10px 0 0; font-size: clamp(15px, 1.15vw, 17.5px); color: #E4F0FB; }
.btn-invert {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  color: var(--accent);
  padding: 17px 28px;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  flex: 0 0 auto;
}
.btn-invert:hover { background: var(--navy); color: #fff; }

/* ------------------------------------------------- inner-page blocks */

.page-section { padding: clamp(40px, 4vw, 62px) var(--pad-x); }
.page-section.grey { background: #F5F6F8; }
.page-section.navy { background: var(--navy); }

/* expertise detail cards */
.xp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 1.8vw, 26px); margin-top: 34px; }
.xp-card {
  display: flex;
  gap: 22px;
  background: #fff;
  border: 1px solid #E3E7EC;
  border-top: 3px solid var(--accent);
  padding: 28px 28px 30px;
  scroll-margin-top: 110px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.xp-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.xp-card svg { flex: 0 0 auto; }
.xp-card h3 { margin: 2px 0 0; font-family: 'Archivo', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0.08em; color: var(--navy); text-transform: uppercase; }
.xp-grade {
  display: inline-block;
  margin-left: 8px;
  vertical-align: 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: #EAF3FC;
  border: 1px solid #CFE4F7;
  border-radius: 20px;
  padding: 3px 9px;
  white-space: nowrap;
}
.xp-card p { margin: 12px 0 0; font-size: 16px; line-height: 1.7; color: #3E4E60; }
.xp-card ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.xp-card li { display: flex; gap: 10px; font-size: 15px; color: #46596E; line-height: 1.5; }
.xp-card li::before { content: ''; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 7px; }

/* stats band (navy) */
.stats-band { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.14); margin-top: 38px; }
.stats-band .stat { background: var(--navy); padding: 26px 24px; }
.stats-band .num { font-family: 'Archivo', sans-serif; font-size: clamp(26px, 2.2vw, 34px); font-weight: 800; color: var(--accent-lt); line-height: 1; }
.stats-band .lbl { font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: #C9D8E8; margin-top: 9px; line-height: 1.5; }

/* project status chip */
.status-chip {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 8px;
}
.status-chip.done { background: rgba(46,164,79,0.18); color: #7ADFA0; border: 1px solid rgba(122,223,160,0.4); }
.status-chip.ongoing { background: rgba(240,173,52,0.16); color: #F5C36B; border: 1px solid rgba(245,195,107,0.4); }
.status-chip.upcoming { background: rgba(61,155,233,0.18); color: #8FC8F5; border: 1px solid rgba(143,200,245,0.45); }

/* fleet cards */
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); margin-top: 34px; }
.fleet-card {
  position: relative;
  background: #fff;
  border: 1px solid #E3E7EC;
  padding: 24px 22px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.fleet-card:hover,
.fleet-card:focus-visible {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(10, 37, 69, 0.11);
}
.fleet-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Uploaded photo sits above the icon; without one the tile keeps its old look. */
.fleet-photo {
  margin: -24px -22px 16px;
  height: 132px;
  overflow: hidden;
  background: #EEF2F6;
}
.fleet-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.fleet-card:hover .fleet-photo img { transform: scale(1.06); }
.fleet-more {
  display: block;
  margin-top: 14px;
  font-family: 'Archivo', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--accent);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.fleet-card:hover .fleet-more { opacity: 1; }
.fleet-card .count { font-family: 'Archivo', sans-serif; font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1; margin-top: 14px; }
.fleet-card .name { font-family: 'Archivo', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; color: var(--navy); margin-top: 8px; text-transform: uppercase; }
.fleet-card .sub { font-size: 14px; color: #5A6C80; margin-top: 6px; line-height: 1.5; }

/* checklist */
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 34px; margin-top: 28px; }
.check-list .item { display: flex; gap: 13px; font-size: 16px; line-height: 1.6; color: #3E4E60; }
.check-list .item svg { flex: 0 0 auto; margin-top: 3px; }

/* certificates — up to four per row, centred so a short row (three today)
   still sits in the middle of the section. */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(16px, 1.8vw, 26px);
  margin-top: 32px;
  /* 4 × 262px card + 3 × 26px gap — holds the row to four across on wide
     screens, so a fifth certificate wraps and centres underneath. */
  max-width: 1126px;
  margin-left: auto;
  margin-right: auto;
}
.cert-card {
  flex: 0 1 clamp(196px, 19vw, 262px);
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E3E7EC;
  overflow: hidden;
}
.cert-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.2;
  overflow: hidden;
  background: #F4F6F8;
  cursor: zoom-in;
}
.cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}
.cert-thumb:hover img { transform: scale(1.03); }
.cert-zoom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 55%);
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-align: center;
}
.cert-card figcaption { flex: 1 1 auto; padding: 14px 16px 17px; border-top: 3px solid var(--accent); }
.cert-std { font-family: 'Archivo', sans-serif; font-size: 14.5px; font-weight: 800; letter-spacing: 0.02em; color: var(--navy); line-height: 1.3; }
.cert-name { font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--accent); margin-top: 5px; text-transform: uppercase; line-height: 1.4; }
.cert-meta { font-size: 12.5px; line-height: 1.55; color: #5A6C80; margin-top: 9px; }
.cert-scope { font-size: 12.5px; line-height: 1.55; color: #46596E; margin-top: 8px; }

.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(4,14,27,0.88);
  backdrop-filter: blur(4px);
  padding: clamp(16px, 4vh, 46px);
}
.cert-lightbox.open { display: flex; }
.cert-lightbox img {
  /* The scans are 1400px wide, so this stays inside their real resolution and
     the certificate text renders crisply instead of being upscaled. */
  max-width: min(860px, 94vw);
  max-height: 88vh;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.cert-lightbox .cl-caption {
  color: #DCE6F2;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
}
.cert-lightbox .cl-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
}
.cert-lightbox .cl-close:hover { background: rgba(255,255,255,0.2); }

/* Two per row on tablets, one on small phones — the flex row keeps centring. */
@media (max-width: 900px) { .cert-card { flex: 0 1 clamp(190px, 42vw, 240px); } }
@media (max-width: 430px)  { .cert-card { flex: 1 1 100%; max-width: 320px; } }

/* clients */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); margin-top: 34px; }
.client-col { background: #fff; border: 1px solid #E3E7EC; border-top: 3px solid var(--accent); padding: 26px 26px 28px; }
.client-col h3 {
  margin: 0 0 16px;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.client-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.client-col li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.55; color: #3E4E60; }
.client-col li::before { content: ''; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: 9px; }
.client-country {
  display: inline-block;
  margin-left: 6px;
  font-family: 'Archivo', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: #EAF3FC;
  border-radius: 12px;
  padding: 2px 8px;
}

@media (max-width: 900px) { .clients-grid { grid-template-columns: 1fr; } }

/* contact page */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 3.4vw, 54px); align-items: start; }
.contact-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid #E3E7EC;
  border-left: 3px solid var(--accent);
  padding: 20px 22px;
}
.contact-card + .contact-card { margin-top: 14px; }
.contact-card .ic {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--navy);
}
.contact-card .tt { font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.09em; color: #46596E; text-transform: uppercase; }
.contact-card .ln { display: block; font-size: 16.5px; color: var(--ink); margin-top: 5px; line-height: 1.55; overflow-wrap: anywhere; }
a.contact-card-link { color: var(--ink); }
a.contact-card-link:hover { color: var(--accent); }

.cform { background: #fff; border: 1px solid #E3E7EC; border-top: 3px solid var(--accent); padding: clamp(22px, 2.4vw, 36px); }
.cform h2 { margin: 0 0 6px; font-family: 'Archivo', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: 0.03em; color: var(--navy); text-transform: uppercase; }
.cform .sub { margin: 0 0 22px; font-size: 15.5px; color: #5A6C80; }
.cform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform .field { margin-bottom: 16px; }
.cform label { display: block; font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.07em; color: #46596E; margin-bottom: 7px; text-transform: uppercase; }
.cform input, .cform textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #CBD4DE;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 15.5px;
  color: var(--ink);
  background: #fff;
  box-sizing: border-box;
}
.cform input:focus, .cform textarea:focus { outline: 2px solid rgba(31,127,212,0.3); border-color: var(--accent); }
.cform textarea { min-height: 130px; resize: vertical; }
.cform .btn-hero { margin-top: 4px; border: none; cursor: pointer; }

.form-flash { border-radius: 5px; padding: 13px 16px; font-size: 15px; margin-bottom: 18px; }
.form-flash.ok { background: #E1F4E7; color: #1E7C3C; border: 1px solid #B7E2C5; }
.form-flash.err { background: #F9E5E3; color: #A93226; border: 1px solid #EFC4BF; }

.map-slot {
  position: relative;
  height: clamp(280px, 21vw, 400px);
  margin-top: clamp(28px, 3vw, 44px);
  overflow: hidden;
  background: var(--navy);
}
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-linkonly { flex-direction: column; gap: 14px; }
.map-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--accent);
  padding: 11px 18px;
  border-radius: 4px;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(7,26,48,0.22);
}
.map-open:hover { background: var(--accent); color: #fff; }
.map-linkonly .map-open { position: static; right: auto; bottom: auto; }

/* ------------------------------------------------------ project modal */

.pmodal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4,14,27,0.82);
  backdrop-filter: blur(4px);
  padding: clamp(12px, 3vw, 40px);
}
.pmodal.open { display: flex; }

.pmodal-box {
  position: relative;
  width: min(880px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.pmodal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(7,26,48,0.65);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(3px);
}
.pmodal-close:hover { background: var(--accent); }

.pmodal-media { position: relative; height: clamp(220px, 42vw, 420px); background: var(--navy); }
.pmodal-stage { position: absolute; inset: 0; }
.pmodal-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pmodal-noimg { position: absolute; inset: 0; }

.pmodal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(7,26,48,0.6);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(3px);
}
.pmodal-nav:hover { background: var(--accent); }
.pmodal-nav.prev { left: 14px; }
.pmodal-nav.next { right: 14px; }

.pmodal-count {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 4;
  font-family: 'Archivo', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(7,26,48,0.7);
  padding: 5px 11px;
  border-radius: 14px;
}

.pmodal-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 16px 0;
  overflow-x: auto;
}
.pmodal-thumbs img {
  width: 76px;
  height: 48px;
  object-fit: cover;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.15s ease, border-color 0.15s ease;
  flex: 0 0 auto;
}
.pmodal-thumbs img:hover { opacity: 1; }
.pmodal-thumbs img.on { border-color: var(--accent); opacity: 1; }

.pmodal-body { padding: 20px clamp(18px, 3vw, 30px) clamp(24px, 3vw, 32px); }
.pmodal-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pmodal-tags .project-tag { position: static; pointer-events: auto; }
.pmodal-tags .status-chip { margin-left: 0; }
.pmodal-tags .status-chip.done { background: #E1F4E7; color: #1E7C3C; border-color: #B7E2C5; }
.pmodal-tags .status-chip.ongoing { background: #FDF3E0; color: #B77816; border-color: #F0D9A8; }
.pmodal-tags .status-chip.upcoming { background: #EAF3FC; color: #1B5E9E; border-color: #CFE4F7; }
.pmodal-body h3 {
  margin: 14px 0 0;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.25;
}
.pm-subtitle { margin: 8px 0 0; font-size: 16.5px; line-height: 1.6; color: #46596E; }
.pmodal-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; }
.pm-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #34455A;
}
.pm-desc { margin: 16px 0 0; font-size: 16px; line-height: 1.75; color: #3E4E60; white-space: pre-line; }

/* equipment modal — the "in the schedule" bullet list */
.eq-specs {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #EDF1F5;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 26px;
}
.eq-specs li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.55; color: #46596E; }
.eq-specs li::before {
  content: '';
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}
.pmodal-tags .eq-units { text-transform: uppercase; }

/* -------------------------------------------------------- responsive */

/* Large laptops — tighten grids before anything wraps */
@media (max-width: 1360px) {
  .expertise-grid { grid-template-columns: repeat(4, 1fr); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav { font-size: 12.5px; }
}

/* Below 1150px the nav becomes a hamburger panel */
@media (max-width: 1150px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 0 12px;
    background: #fff;
    border-bottom: 1px solid #E8EBEF;
    box-shadow: 0 18px 30px rgba(10,37,69,0.12);
    white-space: normal;
    font-size: 13.5px;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 13px var(--pad-x);
    border-left: 3px solid transparent;
  }
  .main-nav a.active {
    border-bottom: none;
    border-left-color: var(--accent);
    padding-bottom: 13px;
    background: #F2F8FD;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .hero { height: auto; min-height: 460px; padding-bottom: 0; display: flex; flex-direction: column; }
  .hero-media { inset: 0; opacity: 0.3; }
  .hero-fade-x { display: none; }
  .hero-dots { left: auto; right: var(--pad-x); }
  .hero-copy { position: relative; left: 0; top: 0; width: auto; padding: 44px var(--pad-x) 0; }
  .hero-stats { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 40px; grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(3) { border-left: none; }
  .hero-stat { border-top: 1px solid rgba(255,255,255,0.14); }
  .hero-stat:nth-child(-n+2) { border-top: none; }

  .feature-strip, .certs-strip { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .feature:nth-child(3), .cert:nth-child(3) { border-left: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .who-section { grid-template-columns: 1fr; }
  .who-badge { left: 0; }
  .journey-grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .vmv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .fleet-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .expertise-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .xp-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
}

/* Phones */
@media (max-width: 640px) {
  .site-header { min-height: 72px; }
  .btn-cta { display: none; }               /* CONTACT US stays in the menu */
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .leader-card { flex: 1 1 100%; }
  .leader-card .photo { height: clamp(280px, 62vw, 380px); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-dots { top: 20px; right: var(--pad-x); transform: none; flex-direction: row; }

  .about-banner { height: auto; min-height: 240px; }
  .about-banner .copy { position: relative; top: 0; transform: none; padding: 36px 0 40px; margin: 0 var(--pad-x); }

  .who-media { padding-bottom: 48px; }
  .who-badge { width: min(264px, 86%); }

  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .cform .row { grid-template-columns: 1fr; }
  .xp-card { flex-direction: column; gap: 14px; }

  /* Touch targets: bare text links are ~19px tall, which is hard to hit on a
     phone. Pad them out without changing the visual rhythm. */
  .footer-links { gap: 2px; }
  .footer-links a { display: block; padding: 7px 0; }
  .breadcrumb a, .breadcrumb .here { display: inline-block; padding: 5px 0; }
  .link-arrow { padding: 8px 0; }
  .footer-credit a { padding: 4px 0; }
  a.contact-line { display: inline-block; padding: 4px 0; }
}

@media (max-width: 480px) {
  .feature-strip, .certs-strip { grid-template-columns: 1fr; }
  .feature + .feature, .cert + .cert { border-left: none; border-top: 1px solid #DDE2E8; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stat { padding: 14px 10px; }
  .hero-stat .num { font-size: 19px; }
  .hero-stat .num.sm { font-size: 14px; }
  .who-stats { grid-template-columns: 1fr; }
}

/* Smallest phones — everything drops to a single column.
   Keep this block last so it wins over the 480px rules above. */
@media (max-width: 400px) {
  .fleet-grid, .stats-band, .hero-stats { grid-template-columns: 1fr; }
  .hero-stat + .hero-stat { border-left: none; }
  .hero-stat { border-top: 1px solid rgba(255,255,255,0.14); }

  /* "INFRASTRUCTURE" is a single unbreakable word — at the 30px floor it is
     wider than a 320px screen, so step the headline down here. */
  .hero-copy h1 { font-size: 25px; }

  /* Fixed-width call-to-action buttons are wider than a 320px screen once the
     section padding is taken off — let them fill the row and centre instead. */
  .btn-invert, .btn-hero, .btn-cta {
    width: 100%;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
  }
  .cta-band { gap: 20px; }
}
