/* ═══════════════════════════════════════════════════════════
   VASCO SERVICES — Premium Corporate Website
   Design: Dark Navy + White + Orange accent (#E87722)
   Typography: DM Serif Display (headings) + DM Sans (body)
   ═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Brand Colors */
  --navy:          #080f1c;  /* deeper, premium charcoal-navy */
  --navy-mid:      #0d1a2e;
  --navy-light:    #16304f;
  --orange:        #E87722;
  --orange-hover:  #d06614;
  --orange-light:  #fef0e3;
  --white:         #ffffff;
  --off-white:     #f8f9fb;
  --light-grey:    #f0f2f6;
  --mid-grey:      #e2e6ee;
  --border-grey:   #d4d8e2;
  --text-primary:  #0a1525;  /* slightly deeper for premium feel */
  --text-muted:    #5a6479;
  --text-faint:    #9ba4b4;
  --text-inverse:  #ffffff;

  /* Type Scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl:  clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --content-wide:    1200px;
  --content-default: 960px;
  --header-height:   72px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13,27,46,0.06), 0 1px 2px rgba(13,27,46,0.04);
  --shadow-md: 0 4px 16px rgba(13,27,46,0.09), 0 2px 6px rgba(13,27,46,0.06);
  --shadow-lg: 0 12px 36px rgba(13,27,46,0.14), 0 4px 12px rgba(13,27,46,0.08);
  --shadow-xl: 0 24px 60px rgba(13,27,46,0.18), 0 8px 20px rgba(13,27,46,0.10);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 200ms var(--ease-out);

  /* Fonts */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
}

/* ─── BASE RESET ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─── CONTAINER ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 clamp(var(--space-5), 4vw, var(--space-12));
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 2px 8px rgba(232,119,34,0.30);
}
.btn--primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,119,34,0.40);
}
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-grey);
}
.btn--ghost:hover {
  border-color: var(--text-primary);
  background: var(--light-grey);
}
.btn--sm  { font-size: var(--text-sm);  padding: 0.6rem 1.4rem; }
.btn--lg  { font-size: 0.9375rem;  padding: 0.9rem 2rem; font-weight: 600; letter-spacing: 0.01em; }
.btn--full { width: 100%; justify-content: center; }
.btn-arrow { transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Ghost on dark bg */
.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: var(--space-5);
}
.section-body {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 55ch;
  margin-bottom: var(--space-6);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--transition);
}
.link-arrow:hover { gap: var(--space-3); }
.link-arrow span { font-size: 1.1em; }

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-color: var(--border-grey);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-8);
}
.logo-link { flex-shrink: 0; display: block; }

/* Official logo image — used in header and footer */
.logo-img {
  display: block;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.logo-img--header {
  width: clamp(130px, 12vw, 160px);
  /* Logo has white background — sits cleanly on white header */
}
.logo-img--footer {
  width: clamp(100px, 9vw, 130px);
  /* The logo has a white JPG background.
     On the dark navy footer we use a rounded white pill behind it
     so the logo renders crisply at full fidelity. */
  display: block;
}
.main-nav { flex: 1; }
.nav-list {
  display: flex;
  gap: var(--space-1);
  justify-content: center;
  list-style: none;
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: color var(--transition);
  position: relative;
}
.nav-link:hover {
  color: var(--text-primary);
  background: none;
}
.nav-link--active {
  font-weight: 600;
  color: var(--navy);
  background: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border-grey);
  padding: var(--space-4) clamp(var(--space-5), 4vw, var(--space-12));
  padding-bottom: var(--space-6);
}
.mobile-nav.open { display: block; }
.mobile-nav-list { display: flex; flex-direction: column; gap: var(--space-2); }
.mobile-nav-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.mobile-nav-link:hover { background: var(--light-grey); }

/* ─── HERO — Split: white left panel + 2-col photo collage right ─── */
.hero {
  overflow: hidden;
  background: var(--white);
  position: relative;
  min-height: clamp(440px, 58vw, 580px);
}
.hero-layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: clamp(440px, 58vw, 580px);
  width: 100%;
}

/* Left panel — white background, dark text */
.hero-left {
  background: #f8f9fb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Left image — hidden (was used in old version) */
.hero-image-left { display: none; }
.hero-img-left   { display: none; }
.hero-overlay-left { display: none; }
.hero-trust-badge  { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(var(--space-12), 6vw, var(--space-20)) clamp(var(--space-10), 6vw, var(--space-16));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  display: none;
}
/* Hero headline — bold sans-serif (DM Sans), dark navy text on white */
.hero-heading {
  font-family: var(--font-body);
  font-size: clamp(2.0rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.07;
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}
.hero-heading--accent {
  color: var(--orange);
  font-style: normal;
}
/* Hero trust strip — dark navy scannable bar below headline */
.hero-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--navy-mid);
  border-radius: 6px;
  padding: 9px 16px 9px 10px;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
  max-width: 100%;
  box-shadow: 0 1px 6px rgba(8,15,28,0.14);
}
.hero-trust-chip__bar {
  flex-shrink: 0;
  width: 3px;
  height: 18px;
  background: var(--orange);
  border-radius: 99px;
}
.hero-trust-chip__text {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-sub {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: var(--space-8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
/* Ghost button on white background — dark border, dark text */
.hero-actions .btn--ghost {
  color: var(--text-primary);
  border-color: var(--border-grey);
  background: transparent;
}
.hero-actions .btn--ghost:hover {
  background: var(--light-grey);
  border-color: var(--text-primary);
  color: var(--text-primary);
}

/* Right panel — 2-col photo collage */
.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  overflow: hidden;
  position: relative;
}
/* Primary right image spans left column of collage */
.hero-img-right {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  grid-column: 1;
  grid-row: 1;
}
/* Second photo fills right column — use ::before pseudo stacked images approach */
.hero-right::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/project-office-premium.jpg');
  background-size: cover;
  background-position: center;
  grid-column: 2;
  grid-row: 1;
}
/* No overlay on right panel */
.hero-right::after {
  display: none;
}
/* Hidden elements from old layout */
.trust-badge-inner, .trust-badge-num, .trust-badge-label { display: none; }

/* ─── TRUST STRIP ────────────────────────────────────────── */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border-grey);
  border-bottom: 1px solid var(--border-grey);
  padding: clamp(var(--space-10), 4vw, var(--space-14)) 0;
}
.trust-strip .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  padding-top: 8px;
}
.trust-strip-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: block;
  text-align: center;
  margin-bottom: 4px;
}
/* 4-column grid — gives natural 2 rows of 4 */
.trust-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(var(--space-6), 3vw, var(--space-10)) clamp(var(--space-6), 3vw, var(--space-10));
  width: 100%;
}
.trust-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
  transition: opacity var(--transition), transform var(--transition);
  filter: grayscale(25%);
  min-height: 64px;
  padding: 8px 4px;
  overflow: visible;
}
.trust-logo-item:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: grayscale(0%);
}

/* ── Logo sizing — optical balance across 8 logos ──
   Common reference height: 40px optical.
   Each modifier adjusts for the specific logo's aspect ratio.
── */
.client-logo {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: center center;
  display: block;
  flex-shrink: 0;
}
/* NSW Government — near-square crest (840×885) */
.client-logo--nsw-gov {
  height: 48px;
  max-width: 48px;
}
/* Wide text logos: Dept Education */
.client-logo--wide {
  height: 40px;
  max-width: 148px;
}
/* Ventia — wide horizontal logo with Venn icon (1138×337, ~3.4:1) */
.client-logo--ventia {
  width: 140px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: center center;
}
/* Downer — 4:1 ratio, transparent PNG. Width-first to prevent icon clip. */
.client-logo--downer {
  width: 160px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  object-position: center center;
}
/* Horizontal wordmarks: Sydney Water */
.client-logo--horizontal {
  height: 38px;
  max-width: 130px;
}
/* Super-wide badge+text: NSW Ambulance */
.client-logo--ambulance {
  height: 34px;
  max-width: 145px;
}
/* Portrait: Fire + Rescue NSW (0.80:1) */
.client-logo--portrait {
  height: 52px;
  max-width: 42px;
}
/* Brookfield — wide horizontal wordmark (1280×192, 6.67:1)
   Bold typeface — reduce size and apply desaturate to match optical weight */
.client-logo--brookfield {
  height: 28px;
  width: auto;
  max-width: 150px;
  filter: grayscale(20%) brightness(0.95);
  opacity: 0.82;
}
.trust-logo-item:hover .client-logo--brookfield {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}
/* Confluence Water — tightly cropped (421×108). Width-first to force readable size. */
.client-logo--confluence {
  width: 160px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  object-position: center center;
}

/* ─── CAPABILITIES ───────────────────────────────────────── */
/* ─── CAPABILITIES v2 — 6-card 2×3 grid ─────────────────── */
.capabilities {
  padding: clamp(var(--space-20), 8vw, var(--space-24)) 0;
  background: #f0f2f6;
}

/* Section header — centred, tight */
.cap-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(var(--space-12), 5vw, var(--space-16));
}
.cap-main-heading {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin: var(--space-3) 0 var(--space-4);
}
.cap-trust-line {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  margin-bottom: var(--space-2);
}
.cap-support-line {
  font-size: 0.82rem;
  color: var(--text-faint);
  line-height: 1.55;
  margin-bottom: var(--space-5);
}
/* Sector tag strip */
.cap-sector-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.cap-sector-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.55;
}
.cap-sector-tag-divider {
  font-size: 0.6rem;
  color: var(--border-grey);
  user-select: none;
}

/* 2×3 grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(var(--space-4), 2vw, var(--space-5));
}

/* Card base */
.cap-card-v2 {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 2.5vw, var(--space-8));
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.cap-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--border-grey);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transition: background var(--transition);
}
.cap-card-v2:hover {
  box-shadow: 0 8px 32px rgba(8,15,28,0.10);
  transform: translateY(-2px);
}
.cap-card-v2:hover::before {
  background: var(--orange);
}

/* Accent card — Live-Site Delivery — dark navy */
.cap-card-v2--accent {
  background: #0d1a2c;
  border-color: #0d1a2c;
  color: var(--white);
}
.cap-card-v2--accent::before {
  background: var(--orange);
}
.cap-card-v2--accent .cap-card-v2-title {
  color: var(--white);
}
.cap-card-v2--accent .cap-bullet-list li {
  color: rgba(255,255,255,0.72);
}
.cap-card-v2--accent .cap-bullet-list li::before {
  background: var(--orange);
  opacity: 1;
}
.cap-card-v2--accent .cap-card-v2-icon {
  color: var(--orange);
}

/* Card header — icon + title in a row */
.cap-card-v2-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.cap-card-v2-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--navy);
  opacity: 0.75;
}
.cap-card-v2-icon svg {
  width: 100%;
  height: 100%;
}
.cap-card-v2-title {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

/* Bullet list */
.cap-bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.cap-bullet-list li {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: var(--space-4);
  position: relative;
}
.cap-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.3;
}

/* Proof ribbon — slim trust line below cap grid */
.cap-proof-ribbon {
  margin-top: clamp(var(--space-8), 3vw, var(--space-10));
  padding: var(--space-4) clamp(var(--space-6), 3vw, var(--space-10));
  border-top: 1px solid var(--border-grey);
  text-align: center;
}
.cap-proof-text {
  font-size: 0.76rem;
  color: var(--text-faint);
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.cap-whs-trust {
  margin-top: var(--space-3);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── PROJECTS — Sector-grouped premium layout ─────────── */
.projects {
  padding: clamp(var(--space-20), 8vw, var(--space-24)) 0;
  background: var(--white);
}

/* ── Section header: 2-col ── */
.projects-section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: start;
  padding-bottom: clamp(var(--space-10), 4vw, var(--space-14));
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-14));
  border-bottom: 1px solid var(--border-grey);
}
.projects-main-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0;
}
.projects-section-body {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: var(--space-8);
}

/* Summary stats — 4-stat strip */
.projects-summary-stats {
  display: flex;
  gap: 0;
}
.proj-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  padding: var(--space-4) clamp(var(--space-4), 2vw, var(--space-8));
  border-left: 1px solid var(--border-grey);
}
.proj-stat:first-child {
  padding-left: 0;
  border-left: none;
}
.proj-stat-num {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.proj-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1.3;
}
.proj-stat-sublabel {
  font-size: 0.67rem;
  font-weight: 400;
  color: var(--text-faint);
  line-height: 1.4;
  margin-top: 1px;
}

/* ── Sector group row ── */
.sector-group {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: clamp(var(--space-6), 3vw, var(--space-10));
  padding: clamp(var(--space-8), 3vw, var(--space-10)) 0;
  border-bottom: 1px solid var(--border-grey);
  align-items: start;
}
.sector-group--last {
  border-bottom: none;
  padding-bottom: 0;
}

/* Sector label column */
.sector-label-col {
  padding-top: var(--space-2);
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}
.sector-label-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.sector-icon {
  width: 26px;
  height: 26px;
  color: var(--orange);
}
.sector-icon svg {
  width: 100%;
  height: 100%;
}
.sector-label-text {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

/* Cards column */
.sector-cards-col {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
  align-items: start;
}

/* ── Project cards ── */
.proj-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-grey);
  box-shadow: 0 1px 3px rgba(13,27,46,0.04), 0 1px 6px rgba(13,27,46,0.03);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.proj-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13,27,46,0.11), 0 2px 8px rgba(13,27,46,0.05);
  border-color: rgba(13,27,46,0.2);
}
/* Featured cards — navy left accent for highest-value contracts */
.proj-card--featured {
  /* no special border — visually identical to all other cards */
}

/* Card image */
.proj-card-image {
  position: relative;
  height: 152px;
  overflow: hidden;
  flex-shrink: 0;
}
.proj-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.proj-card:hover .proj-card-image img {
  transform: scale(1.04);
}
.proj-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,15,28,0.52) 0%, transparent 52%);
}

/* Card body */
.proj-card-body {
  padding: var(--space-5) var(--space-5) var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proj-card-meta {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-2);
}
.proj-card-client {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.3;
}
.proj-card-location {
  font-size: 0.66rem;
  color: var(--text-faint);
  white-space: nowrap;
}
.proj-card-title {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}
.proj-card-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--space-5);
}

/* Card footer */
.proj-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-top: var(--space-4);
  border-top: 1px solid var(--light-grey);
  margin-top: auto;
}

/* Contract value */
.proj-contract-value {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.proj-contract-label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.proj-contract-num {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.01em;
  line-height: 1;
}
/* Client-name variant */
.proj-contract-num--client {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
}

/* Tags */
.proj-card-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-end;
}
.proj-tag {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--border-grey);
  border-radius: 100px;
  padding: 3px 7px;
  white-space: nowrap;
}
/* Proof variant — slightly stronger, environment-specific */
.proj-tag--proof {
  color: var(--navy-mid);
  background: #ffffff;
  border-color: rgba(8,15,28,0.18);
  font-weight: 700;
}

/* ─── SMALL WORKS STRIP ─────────────────────────────────── */
/* Slim supporting band — sits below flagship project grid.
   Communicates responsive/small-works capability without
   competing with the premium contract cards above. */
.small-works-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
  margin-top: clamp(var(--space-10), 4vw, var(--space-14));
  padding: clamp(var(--space-8), 3vw, var(--space-10)) clamp(var(--space-8), 3vw, var(--space-10));
  background: var(--off-white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
}
.small-works-heading {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}
.small-works-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 52ch;
}
.small-works-body {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: var(--space-4);
}
.small-works-cta {
  font-size: var(--text-xs);
}
@media (max-width: 700px) {
  .small-works-strip {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* ─── DELIVERY PROMISE ───────────────────────────────────── */
.delivery-promise {
  padding: clamp(var(--space-12), 5vw, var(--space-16)) 0 clamp(var(--space-20), 8vw, var(--space-24));
  background: #f4f5f8;
}
.promise-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: center;
}
.promise-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.promise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promise-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-2);
}
.promise-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.promise-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.promise-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-1);
}
.promise-item p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: none;
}

/* Why Vasco — conversion bridge CTA */
.promise-cta-bridge {
  margin-top: var(--space-8);
  padding-top: var(--space-7);
  border-top: 1px solid var(--border-grey);
}
.promise-cta-bridge__question {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: var(--space-3);
  max-width: 46ch;
}
.promise-cta-bridge__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap var(--transition), opacity var(--transition);
}
.promise-cta-bridge__link:hover {
  opacity: 0.8;
  gap: var(--space-3);
}

/* ─── COMPLIANCE STRIP ───────────────────────────────────── */
.compliance {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
  background: var(--white);
  border-top: 1px solid var(--border-grey);
  border-bottom: 1px solid var(--border-grey);
}
.compliance-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: center;
}
.compliance-headline {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compliance-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
}
.compliance-badges {
  display: flex;
  gap: clamp(var(--space-6), 3vw, var(--space-10));
  flex-wrap: wrap;
  align-items: flex-start;
}
.compliance-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}
.badge-icon {
  width: 48px;
  height: 48px;
  color: var(--navy-mid);
}
.badge-icon svg { width: 100%; height: 100%; }
.badge-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.badge-sub {
  font-size: 0.7rem;
  color: var(--text-faint);
  line-height: 1.4;
  max-width: 80px;
  text-align: center;
}

/* ─── FOOTER CTA ─────────────────────────────────────────── */
.footer-cta {
  background: #0d1b2e; /* medium-dark navy per reference */
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  flex-wrap: wrap;
}
.footer-cta-text { flex: 1; }
.footer-cta-actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.footer-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: var(--space-2);
}
.footer-cta-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
}
.footer-cta-btn {
  flex-shrink: 0;
}
.footer-cta-call {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color var(--transition);
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
.footer-cta-call:hover { color: var(--white); }
.footer-cta-call svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Footer CTA — direct contact block */
.footer-cta-direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.footer-cta-direct__label {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
}
.footer-cta-direct__mobile {
  font-size: 1.18rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: color var(--transition);
}
.footer-cta-direct__mobile:hover {
  color: var(--orange);
}
.footer-cta-direct__office {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* ─── SITE FOOTER — slim single-row layout ────────────────── */
.site-footer {
  background: #040a12;
  color: rgba(255,255,255,0.60);
}
/* Single-row inline layout: logo | tagline | contact items | linkedin */
.site-footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: var(--space-6);
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}
/* Logo */
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  flex-direction: row;
}
.footer-logo-wrap {
  background: white;
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-2);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img--footer {
  width: clamp(80px, 7vw, 110px);
}
/* Tagline sits beside logo */
.footer-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  max-width: 22ch;
  line-height: 1.4;
}
/* Contact items — two-column grid layout */
.footer-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) clamp(var(--space-6), 3vw, var(--space-12));
  flex: 1;
  align-items: start;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  line-height: 1.5;
}
.footer-contact-item:hover { color: var(--white); }
.footer-contact-item--plain {
  cursor: default;
  pointer-events: none;
  color: rgba(255,255,255,0.50);
}
.footer-contact-item--plain:hover { color: rgba(255,255,255,0.50); }
.footer-contact-item--address {
  cursor: default;
  white-space: normal;
}
.footer-contact-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.5;
  margin-top: 2px;
}
/* LinkedIn social — far right */
.footer-social {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}
.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232,119,34,0.1);
}
.social-link svg { width: 14px; height: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-3) 0;
}
.footer-legal {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ─── SCROLL ANIMATIONS ──────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */

/* Tablet — 900px */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-right {
    height: 280px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-content {
    padding: clamp(var(--space-10), 5vw, var(--space-16)) clamp(var(--space-6), 4vw, var(--space-10));
  }
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Projects — sector layout tablet */
  .projects-section-header {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .sector-group {
    grid-template-columns: 120px 1fr;
    gap: var(--space-5);
  }
  .sector-label-col {
    position: static;
  }
  .sector-cards-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .promise-layout {
    grid-template-columns: 1fr;
  }
  .promise-image {
    aspect-ratio: 16/7;
  }
  /* Why Vasco heading — reduce weight on tablet/mobile */
  .promise-content .section-heading {
    font-size: clamp(1.55rem, 5vw, 2.2rem);
    line-height: 1.15;
  }
  .compliance-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .footer-cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .footer-cta-actions .btn {
    justify-content: center;
  }
  .footer-cta-call {
    justify-content: center;
  }
  .trust-logos {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5) var(--space-8);
  }
  .site-footer .footer-inner {
    flex-wrap: wrap;
    gap: var(--space-5);
  }
  .footer-contact {
    grid-template-columns: 1fr 1fr;
    justify-items: start;
  }
}

/* Mobile — 640px */
@media (max-width: 640px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-actions .btn--sm {
    display: none;
  }
  .header-actions .mobile-menu-toggle {
    display: flex;
  }
  /* Hero — ensure text never clips on mobile */
  .hero-content {
    padding-left: max(var(--space-6), env(safe-area-inset-left, var(--space-6)));
    padding-right: max(var(--space-6), env(safe-area-inset-right, var(--space-6)));
    overflow: visible;
  }
  .hero-left { overflow: hidden; }
  .hero-heading { font-size: clamp(1.75rem, 8.5vw, 2.5rem); }
  .hero-trust-chip { max-width: 100%; padding: 8px 12px 8px 8px; }
  .hero-trust-chip__text { white-space: normal; font-size: 0.62rem; letter-spacing: 0.05em; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cap-grid {
    grid-template-columns: 1fr;
  }
  /* Projects — sector layout mobile */
  .sector-group {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .sector-label-inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-2);
  }
  .sector-label-text {
    font-size: 0.72rem;
  }
  .sector-cards-col {
    grid-template-columns: 1fr;
  }
  .projects-summary-stats {
    gap: var(--space-6);
  }
  .compliance-badges {
    gap: var(--space-6);
  }
  .site-footer .footer-inner {
    flex-direction: column;
    gap: var(--space-8);
    text-align: center;
  }
  .footer-contact { grid-template-columns: 1fr; align-items: start; justify-items: center; }
  .footer-social { justify-content: center; }
  .footer-tagline { max-width: none; }
  .trust-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5) var(--space-6);
  }
  .client-logo--downer {
    width: 130px;
    height: auto;
    max-height: 44px;
  }
  .client-logo--confluence {
    width: 130px;
    height: auto;
    max-height: 44px;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .hero-content {
    padding: var(--space-10) var(--space-5);
  }
}
