/* ============================================
   DESKTOP STYLESHEET  —  min width 1024px design
   ============================================ */

.wrap { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- Top bar ---------- */
/* Sits above the header in normal flow; the whole masthead scrolls away
   together with the page. */
.topbar {
  background: var(--charcoal);
  color: var(--grey-200);
  font-size: 14px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.topbar-info { display: flex; gap: 28px; align-items: center; min-width: 0; }
.topbar-info span { display: flex; align-items: center; gap: 8px; }
.topbar-info svg { width: 15px; height: 15px; fill: var(--yellow); }
.topbar-social { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.topbar-social a { opacity: .75; transition: opacity .2s; }
.topbar-social a:hover { opacity: 1; }
.topbar-social svg { width: 16px; height: 16px; fill: var(--yellow); }
.topbar-social a { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

/* ---------- Header / Nav ---------- */
/* NOT fixed — the header sits in normal document flow and scrolls up and
   out of view with the rest of the page. Nothing is ever pinned over the
   content, so no section can pass underneath it. To reach the nav again
   the reader scrolls back to the top (or uses the back-to-top button). */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 100;
  height: var(--header-h);
}

/* Constant height — never shrinks, so the bar cannot appear to move. */
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* No padding needed: the header is in normal flow and occupies its own
   space, so the page starts directly beneath it. */
.logo { display: flex; align-items: center; gap: 13px; }
/* The real company mark. Its gear/road art is white, so on the white
   header it sits on a charcoal tile to stay legible. */
.logo-mark {
  width: 74px; height: 58px;
  object-fit: contain;
  background: var(--charcoal);
  border-radius: 6px;
  padding: 5px 8px;
  flex-shrink: 0;
}
.logo-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: .5px;
  line-height: 1.05;
  text-transform: uppercase;
}
.logo-text small {
  font-size: 11px;
  letter-spacing: 2.2px;
  color: var(--grey-600);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 0;
  background: var(--yellow);
  transition: width .28s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--yellow-dark); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header .btn { padding: 12px 24px; font-size: 14px; }

/* ---------- Hero ----------
   The photo is a real layer inside the hero, not a z-index:-1 element.
   Previously the background image sat behind the hero's own gradient
   background and was never visible at all. */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-construction.jpg');
  background-size: cover;
  background-position: center 38%;
  z-index: 0;
  /* Slow drift gives the still some life without distracting from the text */
  animation: heroPan 26s ease-in-out infinite alternate;
}
@keyframes heroPan {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}

/* Readability scrim: dark on the left where the copy sits, clearing to
   the right so the site photo stays legible. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg,
      rgba(16,16,16,.95) 0%,
      rgba(16,16,16,.88) 34%,
      rgba(16,16,16,.62) 58%,
      rgba(16,16,16,.30) 100%);
}
/* Warm brand glow, plus a grounding shadow at the foot of the section */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 78% 22%, rgba(255,193,7,.20), transparent 70%),
    linear-gradient(to bottom, transparent 72%, rgba(10,10,10,.55) 100%);
}

.hero .wrap { position: relative; z-index: 3; }
.hero-inner { max-width: 660px; color: var(--white); padding: 76px 0; }

/* Eyebrow above the headline, on a translucent slab */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,193,7,.14);
  border: 1px solid rgba(255,193,7,.38);
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
  backdrop-filter: blur(4px);
}
.hero-eyebrow svg { width: 15px; height: 15px; fill: var(--yellow); }

.hero h1 {
  font-size: clamp(46px, 5.4vw, 74px);
  text-transform: uppercase;
  margin-bottom: 22px;
  letter-spacing: .5px;
  text-shadow: 0 2px 26px rgba(0,0,0,.45);
}
.hero h1 span { color: var(--yellow); display: block; }
.hero p {
  font-size: 18.5px;
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin-bottom: 20px;
  text-shadow: 0 1px 14px rgba(0,0,0,.5);
}

/* Credential line under the paragraph */
.hero-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  max-width: 560px;
}
.hero-creds li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: rgba(255,255,255,.82);
}
.hero-creds svg { width: 16px; height: 16px; fill: var(--yellow); flex-shrink: 0; }

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

.hero-strip {
  background: var(--yellow);
  padding: 26px 0;
}
.hero-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.hs-item { display: flex; align-items: center; gap: 15px; }
.hs-item svg { width: 34px; height: 34px; fill: var(--black); flex-shrink: 0; }
.hs-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  text-transform: uppercase;
  line-height: 1.15;
}
.hs-item small { font-size: 13.5px; color: rgba(0,0,0,.66); }

/* ---------- Sections ---------- */
/* 92px top/bottom plus a 52px head margin left large empty bands between
   every heading and its content. Tightened to a denser editorial rhythm. */

/* Stats band: brand glow and hairline dividers rather than flat charcoal. */
.section-dark {
  color: var(--white);
  padding: 54px 0;
  background:
    radial-gradient(ellipse 50% 70% at 20% 0%, rgba(255,193,7,.14), transparent 65%),
    radial-gradient(ellipse 50% 70% at 82% 100%, rgba(255,193,7,.10), transparent 65%),
    var(--charcoal);
}
/* The blueprint grid is for light bands only */
.section-dark::before { display: none; }
.stat { position: relative; padding: 4px 10px; }
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 14%;
  width: 1px; height: 72%;
  background: rgba(255,255,255,.14);
}
.stat strong { font-size: 52px; letter-spacing: -.5px; }
.stat small { font-size: 12.5px; letter-spacing: 2.4px; }
.section-dark .lead { color: rgba(255,255,255,.7); }

.center.section-head { margin-left: auto; margin-right: auto; }
.center.section-head .lead { max-width: 560px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%; height: 470px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--sh-lg);
}
.exp-badge {
  position: absolute;
  right: -26px; bottom: -26px;
  background: var(--yellow);
  padding: 26px 32px;
  border-radius: 6px;
  text-align: center;
  box-shadow: var(--sh-lg);
}
.exp-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 48px;
  line-height: 1;
  color: var(--black);
}
.exp-badge small {
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 600;
}
.check-list { display: grid; gap: 14px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg {
  width: 21px; height: 21px;
  fill: var(--yellow-deep);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Services ---------- */

.svc-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-card:hover .svc-icon { background: var(--yellow); }
.svc-icon svg { width: 31px; height: 31px; fill: var(--yellow-dark); transition: fill .3s; }
.svc-card:hover .svc-icon svg { fill: var(--black); }
.svc-card h3 { font-size: 22px; text-transform: uppercase; }
.svc-card p { color: var(--text-muted); font-size: 15.5px; margin-bottom: 18px; }

.svc-more svg { width: 15px; height: 15px; fill: currentColor; transition: transform .25s; }
.svc-card:hover .svc-more svg { transform: translateX(5px); }

/* ---------- Counters ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 58px;
  color: var(--yellow);
  line-height: 1;
}
.stat small {
  font-size: 13.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}

/* ---------- Projects ---------- */
.proj-filter {
  display: flex; gap: 10px; justify-content: center;
  margin-bottom: 42px; flex-wrap: wrap;
}
.proj-filter button {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  font-size: 14.5px;
  padding: 11px 24px;
  border-radius: 3px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all .22s;
}
.proj-filter button:hover { border-color: var(--yellow); }
.proj-filter button.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.proj-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.proj-card:hover img { transform: scale(1.09); }
.proj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,.93) 0%, rgba(20,20,20,.35) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: var(--white);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.proj-card:hover .proj-overlay { opacity: 1; }
.proj-overlay span {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 600;
}
.proj-overlay h3 { font-size: 21px; margin: 6px 0 0; text-transform: uppercase; }
.proj-card.hide { display: none; }

/* ---------- Process ---------- */

.process-step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 700;
  color: var(--yellow-soft);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.process-step h3 { font-size: 20px; text-transform: uppercase; }
.process-step p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  background: var(--white);
  border-radius: 6px;
  padding: 34px;
  border: 1px solid var(--border);
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 8px; right: 24px;
  font-family: Georgia, serif;
  font-size: 84px;
  color: var(--yellow-soft);
  line-height: 1;
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 17px; height: 17px; fill: var(--yellow); }
.testi-card p { font-size: 15.5px; color: var(--text-muted); font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.testi-av {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
}
.testi-who strong { display: block; font-size: 15.5px; }
.testi-who small { color: var(--text-muted); font-size: 13.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--yellow);
  padding: 64px 0;
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 {
  font-size: 40px;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.cta-band p { margin: 0; color: rgba(0,0,0,.7); font-size: 17px; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--black); transform: translateY(-2px); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(105deg, rgba(20,20,20,.93), rgba(20,20,20,.7)), var(--charcoal);
  color: var(--white);
  padding: 78px 0;
  text-align: center;
}
.page-banner h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-banner h1 span { color: var(--yellow); }
.crumbs {
  display: flex; justify-content: center; gap: 10px;
  font-size: 14.5px;
  color: rgba(255,255,255,.65);
  font-family: var(--font-head);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.crumbs a:hover { color: var(--yellow); }
.crumbs .sep { color: var(--yellow); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 54px;
  align-items: start;
}
.info-card {
  display: flex; gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 16px;
  transition: all .25s var(--ease);
}
.info-card:hover { border-color: var(--yellow); box-shadow: var(--sh-md); }
.info-ico {
  width: 50px; height: 50px;
  background: var(--yellow-soft);
  border-radius: 6px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.info-ico svg { width: 24px; height: 24px; fill: var(--yellow-dark); }
.info-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.info-card span { color: var(--text-muted); font-size: 15px; line-height: 1.9; }
.info-card span a { display: inline-block; }
/* The contact name reads as an aside, not a continuation of the address */
.info-contact { display: block; margin-top: 4px; font-size: 13.5px; color: var(--grey-600); }

.form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
  box-shadow: var(--sh-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15.5px;
  background: var(--off-white);
  transition: all .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255,193,7,.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  background: var(--yellow-soft);
  border-left: 4px solid var(--yellow);
  border-radius: 3px;
  font-size: 15px;
}
.form-note.show { display: block; }

.map-embed {
  margin-top: 54px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 380px;
  background: var(--grey-100);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--yellow-dark);
  text-decoration: none;
}
.map-link:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
}
.footer h4 {
  color: var(--white);
  font-size: 18.5px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 38px; height: 3px;
  background: var(--yellow);
}
.footer .logo-text strong { color: var(--white); }
.footer .logo { margin-bottom: 18px; }
.footer p { font-size: 15px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  font-size: 15px;
  transition: all .2s;
  display: inline-flex; align-items: center; gap: 9px;
}
.footer-links a::before { content: '›'; color: var(--yellow); font-size: 17px; }
.footer-links a:hover { color: var(--yellow); transform: translateX(4px); }
.footer-contact li {
  display: flex; gap: 12px;
  margin-bottom: 15px;
  font-size: 15px;
}
.footer-contact svg { width: 17px; height: 17px; fill: var(--yellow); flex-shrink: 0; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- Mobile-link notice ---------- */
.view-switch {
  text-align: center;
  padding: 14px 0;
  background: var(--yellow-tint);
  font-size: 14px;
  border-top: 1px solid var(--border);
}
.view-switch a { color: var(--yellow-dark); font-weight: 600; text-decoration: underline; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 30px; bottom: 30px;
  width: 50px; height: 50px;
  background: var(--yellow);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--sh-yellow);
  opacity: 0; pointer-events: none;
  transition: all .3s var(--ease);
  z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--yellow-deep); transform: translateY(-3px); }
.to-top svg { width: 21px; height: 21px; fill: var(--black); }

/* ---------- Form validation states ---------- */
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #D93025;
  background: #FFF6F5;
  box-shadow: 0 0 0 3px rgba(217,48,37,.14);
}
.form-note.error {
  background: #FFF6F5;
  border-left-color: #D93025;
  color: #8A1C15;
}

/* ---------- Smoothness polish ---------- */
/* Promote only what actually animates, and drop the hint afterwards so
   these layers do not sit in GPU memory for the life of the page. */
.svc-card, .proj-card img, .info-card, .btn { will-change: auto; }
.svc-card:hover, .info-card:hover { will-change: transform; }
.proj-card:hover img { will-change: transform; }

/* Images reserve their box before they load, which stops the layout
   from shifting under the reader as each one arrives. */
.proj-card img { aspect-ratio: 4/3; background: var(--grey-100); }
.about-media img { background: var(--grey-100); }

/* Kill the flash of un-styled hover on touch devices */
@media (hover: none) {
  .svc-card:hover { transform: none; box-shadow: none; }
  .proj-card:hover img { transform: none; }
  .proj-overlay { opacity: 1; }
}

/* Visible keyboard focus everywhere, without showing rings on mouse clicks */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--yellow-dark);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Each band keeps at least a header's worth of breathing room at its top,
   so a heading landing at the viewport top is never clipped. */

/* On charcoal panels the mark needs no tile — it was drawn for dark. */
.footer .logo-mark { background: transparent; padding: 0; }
.logo-text { display: block; }

/* ---------- Project cards ----------
   Deliberately plain: a sector label, the project name, the client, then
   location and year. The content is the substance here, so the card only
   needs a border, even heights and a quiet hover. */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.proj-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  aspect-ratio: auto;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--yellow);
  border-radius: 8px;
  padding: 24px 24px 20px;
  box-shadow: none;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.proj-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
.proj-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--yellow-dark);
}
.proj-card h3 {
  font-size: 18px;
  line-height: 1.34;
  text-transform: none;
  margin: 9px 0 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.proj-client {
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 500;
  margin: 9px 0 0;
}
/* Pushed to the bottom so every card in a row ends level */
.proj-meta {
  margin: auto 0 0;
  padding-top: 14px;
  font-size: 13px;
  color: var(--grey-600);
}

/* ---------- Leadership & management (from the organogram) ---------- */
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}
.lead-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--yellow);
  border-radius: 6px;
  padding: 32px 30px;
}
.lead-av {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--black);
  margin-bottom: 18px;
}
.lead-card h3 { font-size: 22px; text-transform: none; margin-bottom: 2px; }
.lead-role {
  color: var(--yellow-dark);
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 12px;
}
.lead-card p { color: var(--text-muted); font-size: 15px; margin: 0; }

.mgr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mgr-grid li {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
  border-radius: 5px;
  padding: 15px 16px;
}
.mgr-grid strong { display: block; font-size: 15px; }
.mgr-grid span { font-size: 13.5px; color: var(--text-muted); }
.svc-tag {
  font-size: 13.5px;
  font-style: italic;
  color: var(--yellow-dark);
  margin-bottom: 10px !important;
}

/* ---------- Client cards (real enlistments) ----------
   Text-only by design: every organisation here holds a registered
   trademark and the defence insignia are legally protected, so their
   marks are not reproduced. The monogram tile carries the identity. */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.client-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 18px;
  min-height: 92px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
              transform .25s var(--ease);
}
/* Yellow rail that fills in on hover */
.client-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--yellow);
  transform: scaleY(1);
  transform-origin: top;
  transition: background .3s var(--ease);
}
.client-card:hover {
  border-color: var(--yellow-soft);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.client-card:hover::before { background: var(--yellow-deep); }

.client-card:hover .client-mono {
  background: var(--charcoal);
  color: var(--yellow);
}
/* Long monograms (PICIIP, SEPCO, NESPAK) step down a size */
.client-mono {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--black);
  border-radius: 7px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(11px, 1.05vw, 15px);
  letter-spacing: .4px;
  line-height: 1;
  text-align: center;
  padding: 4px;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.client-body { min-width: 0; }
.client-body strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
}
.client-body small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--grey-600);
  font-weight: 600;
}

/* Real client logos sit on a white tile so dark and coloured marks both
   read cleanly; monogram tiles keep the same footprint so rows align. */
.client-logo {
  flex-shrink: 0;
  /* Wider than the monogram tile: several of these are wordmarks
     (NESPAK, DHA Lahore) that are unreadable squeezed into a square. */
  width: 84px; height: 62px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 7px;
  padding: 5px;
}
.client-card:hover .client-logo { border-color: var(--yellow-soft); }

/* ---------- Service cards ---------- */

.svc-card::before { height: 3px; }
.svc-card:hover { transform: translateY(-6px); }

.svc-icon svg { width: 27px; height: 27px; }
.svc-card h3 { font-size: 20px; letter-spacing: .3px; }
.svc-card p { font-size: 15px; line-height: 1.65; }

/* ---------- Process steps: numbered rail ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: box-shadow .28s var(--ease), transform .28s var(--ease);
}

.process-step:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.process-step::before {
  font-size: 40px;
  color: var(--yellow);
  opacity: .28;
  margin-bottom: 4px;
}
.process-step h3 { font-size: 18px; margin-bottom: 6px; }
.process-step p { font-size: 14.5px; line-height: 1.65; }

/* ---------- Section CTA sitting under a head ---------- */
.section .center + .svc-grid,
.section .center + .proj-grid { margin-top: 4px; }

/* The .lead reset zeroed its bottom margin, which closed the gap between
   the lead and the paragraph that follows it. Restore body rhythm. */
.section-head .lead { margin-bottom: 0; }
.about-grid .lead { margin-bottom: 16px; }
.about-grid p { margin-bottom: 15px; line-height: 1.7; }
.about-grid p:last-of-type { margin-bottom: 0; }

/* ============================================================
   SECTION DESIGN
   A centred label over a centred title on a flat background is
   just text. These give each band an identity: a faint blueprint
   grid (a construction drawing motif), a section index number,
   and a heading that reads as a masthead rather than a caption.
   ============================================================ */

/* ---- Blueprint grid: the drawing-paper motif, very low contrast ---- */
.section {
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(35,35,35,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,35,35,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  /* Fades out toward the middle so it never fights the content */
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 35%, #000 100%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 35%, #000 100%);
}
.section > .wrap { position: relative; z-index: 1; }

/* Alternating band: warmer paper tone + crisp edges */
.section-alt {
  background: linear-gradient(180deg, #FCFAF4 0%, var(--bg-alt) 55%, #F6F6F4 100%);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

/* Yellow seam along the top edge of alternating bands */
.section-alt::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 3px;
  background: var(--yellow);
  border-radius: 0 0 3px 3px;
}

/* ---- Section head ---- */
.section-head {
  max-width: 660px;
  margin-bottom: 34px;
  position: relative;
}

.section-title {
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.04;
}
/* Second word of a two-tone title */
.section-title .hl { color: var(--yellow-dark); }

.center.section-head .lead {
  font-size: 16px;
  color: var(--grey-600);
}


/* ---------- Service cards: give them real presence ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  padding: 34px 30px 30px;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease),
              border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.svc-card::before {
  height: 100%;
  width: 3px;
  background: linear-gradient(180deg, var(--yellow), var(--yellow-deep));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  border-color: var(--yellow-soft);
}
.svc-card:hover::before { transform: scaleY(1); }

/* Icon tile: chunkier, with a ring that fills on hover */
.svc-icon {
  width: 58px;
  height: 58px;
  background: var(--yellow-soft);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(201,138,0,.16);
}

.svc-card:hover .svc-icon {
  background: var(--yellow);
  box-shadow: 0 8px 20px rgba(245,168,0,.34);
}
.svc-icon svg { width: 28px; height: 28px; }

.svc-card h3 {
  font-size: 20px;
  letter-spacing: .3px;
  margin-bottom: 9px;
}
.svc-card p { font-size: 14.8px; line-height: 1.68; margin-bottom: 16px; }

/* "View projects" gains an underline that draws in on hover */
.svc-more {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--yellow-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 3px;
}

.svc-more::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--yellow-deep);
  transition: width .3s var(--ease);
}
.svc-card:hover .svc-more::after { width: 100%; }

/* Long official project names were leaving two- or three-character
   fragments alone on the final line ("B/S", "7/4"). A non-breaking space
   cannot be injected into extracted data reliably, so balance the wrap
   instead and stop mid-token breaks. */
.proj-card h3,
.svc-card h3,
.lead-card h3,
.client-body strong {
  text-wrap: balance;
  overflow-wrap: break-word;
}
