/* V16 Final — Step 1: header + hero only
   Foundation: V16. Palette: warm ivory / charcoal / stone / VSK green.
   V15 visual language intentionally excluded. */
:root{
  --vsk-ivory:#f4f3ee;
  --vsk-stone:#eae9e3;
  --vsk-charcoal:#1e2421;
  --vsk-ink:#17201f;
  --vsk-muted:#68706b;
  --vsk-line:#d5d7d2;
  --vsk-green:#285f50;
  --vsk-green-dark:#204c41;
  --vsk-header:82px;
}

/* Header */
.site-header{
  height:var(--vsk-header);
  grid-template-columns:minmax(220px,1fr) auto auto;
  gap:28px;
  padding:0 max(34px,calc((100vw - 1500px)/2));
  background:rgba(244,243,238,.98);
  color:var(--vsk-charcoal);
  border-bottom:1px solid var(--vsk-line);
  box-shadow:none;
  backdrop-filter:blur(14px);
}
.site-header.is-scrolled,.site-header.is-solid{
  height:72px;
  background:rgba(244,243,238,.985);
  border-color:var(--vsk-line);
  box-shadow:0 10px 30px rgba(24,31,28,.055);
}
.brand{gap:10px}
.brand img{width:48px;height:48px}
.site-header.is-scrolled .brand img,.site-header.is-solid .brand img{width:42px;height:42px}
.brand-copy strong{font-size:14px;letter-spacing:-.015em;color:var(--vsk-charcoal)}
.brand-copy small{font-size:7px;letter-spacing:.085em;color:var(--vsk-muted)}
.desktop-nav{gap:24px}
.desktop-nav a{
  color:#39423e;
  font-family:var(--mono);
  font-size:10px;
  font-weight:500;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.desktop-nav a::after{
  bottom:-12px;
  height:2px;
  background:var(--vsk-green);
}
.desktop-nav a:hover,.desktop-nav a.is-current{color:var(--vsk-charcoal)}
.header-cta{
  height:44px;
  padding:0 16px;
  border:1px solid var(--vsk-green);
  background:transparent;
  color:var(--vsk-green);
  font-size:9px;
  letter-spacing:.075em;
  transition:background .22s ease,color .22s ease,transform .22s ease;
}
.header-cta span{transition:transform .22s ease}
.header-cta:hover{background:var(--vsk-green);color:#fff;transform:translateY(-2px)}
.header-cta:hover span{transform:translate(3px,-3px)}
.menu-toggle span{background:var(--vsk-charcoal)}

/* Hero: one dark cinematic moment, machine first */
.hero{
  margin-top:var(--vsk-header);
  height:calc(100svh - var(--vsk-header));
  min-height:650px;
  background:var(--vsk-charcoal);
}
.hero-media img{
  height:108%;
  object-position:center 49%;
  filter:saturate(.78) contrast(1.03) brightness(.83);
}
.hero-overlay{
  background:
    linear-gradient(90deg,rgba(16,24,21,.91) 0%,rgba(16,24,21,.72) 41%,rgba(16,24,21,.26) 72%,rgba(16,24,21,.45) 100%),
    linear-gradient(0deg,rgba(16,24,21,.46),transparent 46%);
}
.technical-grid{display:none}
.hero-inner{padding-top:0}
.hero-kicker{
  margin-bottom:16px;
  color:rgba(255,255,255,.66);
  font-size:9px;
}
.hero-kicker i{background:#8faaa0}
.hero-kicker b{color:#fff}
.hero-signature{
  margin-bottom:16px;
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.17em;
  text-transform:uppercase;
  color:#b9d0c7;
}
.hero-title{
  font-size:clamp(4.8rem,7.55vw,8.55rem);
  line-height:.82;
  letter-spacing:-.068em;
  max-width:min(1120px,88vw);
}
.hero-title em{color:#fff}
.hero-lower{
  margin-top:34px;
  grid-template-columns:minmax(360px,650px) auto;
  gap:54px;
}
.hero-lower p{
  max-width:650px;
  font-size:15px;
  line-height:1.68;
  color:rgba(255,255,255,.76);
}
.hero .btn-primary{background:var(--vsk-green);color:#fff}
.hero .btn-primary:hover{background:var(--vsk-green-dark)}
.hero .btn-outline{border-color:rgba(255,255,255,.52);background:rgba(20,31,27,.18)}
.hero .btn-outline:hover{background:#fff;color:var(--vsk-charcoal)}
.hero-reference{
  width:288px;
  border-top-color:#9bb7ac;
}
.hero-reference span,.hero-reference small,.hero-reference i{color:rgba(255,255,255,.62)}
.hero-reference strong{font-size:17px}
.hero-reference i{color:#d6e6df;transition:transform .22s ease}
.hero-reference:hover i{transform:translateX(4px)}
.scroll-cue{color:rgba(255,255,255,.5)}

/* Keep static credibility values readable even before JS runs. */
.proof-grid strong{font-variant-numeric:tabular-nums}

/* V8/V12 carry higher-specificity historical selectors. Final overrides must
   explicitly outrank them rather than relying on source order alone. */
body.v8 .site-header,
body.v8 .site-header.is-scrolled,
body.v8 .site-header.is-solid{
  height:var(--vsk-header);
  grid-template-columns:minmax(220px,1fr) auto auto;
  gap:28px;
  padding-left:max(34px,calc((100vw - 1500px)/2));
  padding-right:max(34px,calc((100vw - 1500px)/2));
  background:rgba(244,243,238,.985);
  color:var(--vsk-charcoal);
  border-bottom:1px solid var(--vsk-line);
  box-shadow:none;
}
body.v8 .site-header.is-scrolled,body.v8 .site-header.is-solid{height:72px;box-shadow:0 10px 30px rgba(24,31,28,.055)}
body.v8 .site-header .brand img,
body.v8 .site-header.is-scrolled .brand img,
body.v8 .site-header.is-solid .brand img{width:48px;height:48px}
body.v8 .site-header.is-scrolled .brand img,
body.v8 .site-header.is-solid .brand img{width:42px;height:42px}
body.v8 .brand-copy strong{font-size:14px;color:var(--vsk-charcoal)}
body.v8 .brand-copy small{font-size:7px;color:var(--vsk-muted)}
body.v8 .desktop-nav{gap:24px}
body.v8 .desktop-nav a{font-family:var(--mono);font-size:10px;font-weight:500;letter-spacing:.055em;text-transform:uppercase;color:#39423e}
body.v8 .desktop-nav a::after{bottom:-12px;height:2px;background:var(--vsk-green)}
body.v8 .desktop-nav a:hover,body.v8 .desktop-nav a.is-current{color:var(--vsk-charcoal)}
body.v8 .header-cta{height:44px;min-width:0;padding:0 16px;border:1px solid var(--vsk-green);background:transparent;color:var(--vsk-green);font-size:9px}
body.v8 .header-cta:hover{background:var(--vsk-green);color:#fff;transform:translateY(-2px)}
body.v8 .menu-toggle span{background:var(--vsk-charcoal)}

@media (max-width:1250px){
  .site-header{grid-template-columns:minmax(165px,1fr) auto auto;gap:18px;padding-inline:28px}
  .desktop-nav{gap:17px}
  .desktop-nav a{font-size:9px}
  .brand-copy small{display:none}
  .hero-title{font-size:clamp(4.4rem,7.6vw,7.1rem)}
  body.v8 .site-header,body.v8 .site-header.is-scrolled,body.v8 .site-header.is-solid{grid-template-columns:minmax(165px,1fr) auto auto;gap:18px;padding-left:28px;padding-right:28px}
  body.v8 .desktop-nav{gap:17px}
  body.v8 .desktop-nav a{font-size:9px}
  body.v8 .header-cta{min-width:0;font-size:9px}
}
@media (max-width:1060px){
  .desktop-nav,.header-cta{display:none}
  .menu-toggle{display:block}
  .site-header{grid-template-columns:1fr auto}
  .hero{margin-top:72px;height:auto;min-height:760px}
  .hero-lower{grid-template-columns:1fr;gap:24px}
  .hero-actions{justify-self:start}
  body.v8 .site-header,body.v8 .site-header.is-scrolled,body.v8 .site-header.is-solid{grid-template-columns:1fr auto;height:72px}
  body.v8 .desktop-nav,body.v8 .header-cta{display:none}
  body.v8 .menu-toggle{display:block}
}
@media (max-width:700px){
  :root{--vsk-header:68px}
  .site-header{height:68px;padding-inline:16px}
  .brand img{width:40px;height:40px}
  .brand-copy strong{font-size:12px}
  .hero{margin-top:68px;min-height:720px;height:auto}
  .hero-inner{justify-content:flex-end;padding-top:110px;padding-bottom:130px}
  .hero-title{font-size:clamp(3.55rem,15vw,5.2rem);line-height:.84;max-width:96vw}
  .hero-kicker{display:grid;grid-template-columns:26px 1fr;gap:8px 10px}
  .hero-kicker b{grid-column:2}
  .hero-signature{font-size:8px;letter-spacing:.14em}
  .hero-lower{margin-top:26px}
  .hero-lower p{font-size:14px}
  .hero-actions{width:100%;display:grid;grid-template-columns:1fr}
  .hero-actions .btn{width:100%}
  .hero-reference{left:18px;right:18px;bottom:36px;width:auto}
  .scroll-cue{display:none}
  body.v8 .site-header,body.v8 .site-header.is-scrolled,body.v8 .site-header.is-solid{height:68px;padding-left:16px;padding-right:16px}
  body.v8 .site-header .brand img,body.v8 .site-header.is-scrolled .brand img,body.v8 .site-header.is-solid .brand img{width:40px;height:40px}
  body.v8 .brand-copy strong{font-size:12px}

  /* Mobile overflow trace fix: keep post-hero content inside the viewport. */
  body.v8.v13.v14 .credibility-band{overflow:hidden}
  body.v8.v13.v14 .credibility-band .customer-row{
    min-height:0;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0;
    padding-top:18px;
    padding-bottom:20px;
  }
  body.v8.v13.v14 .credibility-band .customer-row>span{
    grid-column:1/-1;
    margin:0 0 12px;
  }
  body.v8.v13.v14 .credibility-band .customer-row a{
    min-width:0;
    padding:10px 0;
    border-top:1px solid var(--vsk-line);
    font-size:12px;
  }
  body.v8.v13.v14 .credibility-band .customer-row a:nth-of-type(even){padding-left:12px}

  body.v8.v13.v14 .selected-projects-strip .project-grid-editorial{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%;
    max-width:100%;
    gap:12px;
    overflow:visible;
  }
  body.v8.v13.v14 .selected-projects-strip .project-grid-editorial .project-card{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    grid-column:1/-1!important;
  }
  body.v8.v13.v14 .selected-projects-strip .project-grid-editorial .project-image,
  body.v8.v13.v14 .selected-projects-strip .project-grid-editorial .project-copy{
    max-width:100%;
  }
}
/* V16 Final — Step 2: credibility + capabilities
   Continue the Step 1 warm industrial system into proof and engineering depth. */
body.v8.v13.v14 .credibility-band{
  background:var(--vsk-ivory);
  border-top:1px solid var(--vsk-line);
  border-bottom:1px solid var(--vsk-line);
}
body.v8.v13.v14 .credibility-band .proof-grid{
  border-bottom:1px solid var(--vsk-line);
}
body.v8.v13.v14 .credibility-band .proof-grid article{
  min-height:142px;
  padding-top:28px;
  padding-bottom:27px;
  border-right-color:var(--vsk-line);
}
body.v8.v13.v14 .credibility-band .proof-grid span{
  color:var(--vsk-green);
  font-size:8.5px;
  letter-spacing:.14em;
}
body.v8.v13.v14 .credibility-band .proof-grid strong{
  margin:10px 0 8px;
  color:var(--vsk-charcoal);
  font-size:clamp(2.6rem,3.35vw,4rem);
  font-weight:600;
  letter-spacing:-.055em;
}
body.v8.v13.v14 .credibility-band .proof-grid small{
  color:var(--vsk-muted);
  font-size:11px;
  line-height:1.45;
}
body.v8.v13.v14 .credibility-band .customer-row{
  min-height:70px;
  color:var(--vsk-charcoal);
}
body.v8.v13.v14 .credibility-band .customer-row>span{
  color:var(--vsk-muted);
  font-size:8.5px;
  letter-spacing:.14em;
}
body.v8.v13.v14 .credibility-band .customer-row a{
  position:relative;
  color:#35403b;
  font-family:var(--display);
  font-size:13px;
  font-weight:500;
  letter-spacing:-.015em;
  transition:color .2s ease;
}
body.v8.v13.v14 .credibility-band .customer-row a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-6px;
  height:1px;
  background:var(--vsk-green);
  transition:right .22s ease;
}
body.v8.v13.v14 .credibility-band .customer-row a:hover{color:var(--vsk-green)}
body.v8.v13.v14 .credibility-band .customer-row a:hover::after{right:0}

body.v8.v13.v14 .capabilities{
  background:#f8f7f2;
  color:var(--vsk-charcoal);
  padding-bottom:clamp(82px,7.5vw,116px);
}
body.v8.v13.v14 .capabilities .section-intro{
  padding-top:clamp(82px,7.2vw,110px);
  margin-bottom:clamp(38px,3.8vw,54px);
}
body.v8.v13.v14 .capabilities .section-intro>.kicker{
  color:var(--vsk-green);
}
body.v8.v13.v14 .capabilities .section-intro h2{
  color:var(--vsk-charcoal);
  font-weight:600;
  letter-spacing:-.058em;
}
body.v8.v13.v14 .capabilities .section-intro h2 em{color:var(--vsk-green)}
body.v8.v13.v14 .capabilities .section-intro p{
  color:var(--vsk-muted);
  line-height:1.72;
}
body.v8.v13.v14 .capability-layout{
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:clamp(54px,5.3vw,84px);
  align-items:start;
}
body.v8.v13.v14 .capability-list{
  border-top:1px solid #aeb5b0;
}
body.v8.v13.v14 .capability-row{
  position:relative;
  min-height:70px;
  grid-template-columns:48px minmax(0,1fr) 30px;
  border-bottom:1px solid #cfd3cf;
  color:#6f7772;
  transition:color .2s ease,background .2s ease,box-shadow .2s ease,padding .2s ease;
}
body.v8.v13.v14 .capability-row span{
  color:#7d8580;
  font-size:9px;
  letter-spacing:.08em;
}
body.v8.v13.v14 .capability-row strong{
  font-size:clamp(18px,1.48vw,23px);
  font-weight:500;
  color:inherit;
}
body.v8.v13.v14 .capability-row i{
  color:var(--vsk-green);
  font-size:18px;
}
body.v8.v13.v14 .capability-row:hover{
  color:var(--vsk-charcoal);
  background:rgba(40,95,80,.035);
}
body.v8.v13.v14 .capability-row.is-active{
  color:var(--vsk-charcoal);
  border-bottom-color:#9eb0a8;
  background:rgba(40,95,80,.055);
  box-shadow:inset 3px 0 0 var(--vsk-green);
  padding-left:14px;
}
body.v8.v13.v14 .capability-row.is-active span{color:var(--vsk-green)}
body.v8.v13.v14 .capability-row.is-active i{transform:translateX(2px);opacity:1}
body.v8.v13.v14 .capability-media{
  top:100px;
}
body.v8.v13.v14 .capability-media .media-frame{
  aspect-ratio:16/10;
  border:1px solid #c7ccc8;
  background:var(--vsk-stone);
  box-shadow:0 24px 58px rgba(26,34,30,.075);
}
body.v8.v13.v14 .capability-media .media-frame img{
  filter:saturate(.84) contrast(1.015);
}
body.v8.v13.v14 .capability-media figcaption{
  padding-top:18px;
}
body.v8.v13.v14 .capability-media figcaption>span{
  color:var(--vsk-green);
  font-size:9px;
  letter-spacing:.1em;
}
body.v8.v13.v14 .capability-media figcaption>strong{
  color:var(--vsk-charcoal);
  margin:8px 0 7px;
  font-size:clamp(20px,1.75vw,27px);
  line-height:1.12;
  font-weight:500;
}
body.v8.v13.v14 .capability-media figcaption>p{
  max-width:680px;
  color:var(--vsk-muted);
  font-size:13px;
  line-height:1.6;
}
body.v8.v13.v14 .capability-media .tag-row{
  margin-top:15px;
  gap:7px;
}
body.v8.v13.v14 .capability-media .tag-row b{
  border-color:#b7c1bc;
  color:var(--vsk-green-dark);
  background:rgba(255,255,255,.35);
  font-size:8px;
  letter-spacing:.09em;
}

@media (max-width:1024px){
  body.v8.v13.v14 .capabilities .section-intro{
    display:block;
    padding-top:72px;
    margin-bottom:32px;
  }
  body.v8.v13.v14 .capabilities .section-intro h2{margin-top:10px}
  body.v8.v13.v14 .capabilities .section-intro p{margin-top:18px;max-width:760px}
  body.v8.v13.v14 .capability-layout{grid-template-columns:1fr;gap:34px}
  body.v8.v13.v14 .capability-media{position:static;top:auto}
}

@media (max-width:700px){
  body.v8.v13.v14 .credibility-band .proof-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.v8.v13.v14 .credibility-band .proof-grid article{
    min-height:124px;
    padding:20px 14px 18px 0;
    border-bottom:1px solid var(--vsk-line);
  }
  body.v8.v13.v14 .credibility-band .proof-grid article:nth-child(even){
    padding-left:14px;
    padding-right:0;
    border-right:0;
  }
  body.v8.v13.v14 .credibility-band .proof-grid article:nth-last-child(-n+2){border-bottom:0}
  body.v8.v13.v14 .credibility-band .proof-grid strong{font-size:2.55rem}
  body.v8.v13.v14 .credibility-band .proof-grid small{font-size:10px}
  body.v8.v13.v14 .credibility-band .customer-row{
    min-height:0;
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding-top:18px;
    padding-bottom:20px;
  }
  body.v8.v13.v14 .credibility-band .customer-row a{
    font-size:12px;
    overflow-wrap:anywhere;
  }
  body.v8.v13.v14 .credibility-band .customer-row a::after{display:none}

  body.v8.v13.v14 .capabilities{padding-bottom:74px}
  body.v8.v13.v14 .capabilities .section-intro{padding-top:62px;margin-bottom:26px}
  body.v8.v13.v14 .capabilities .section-intro h2{
    font-size:clamp(2.55rem,11vw,3.45rem);
    line-height:.95;
  }
  body.v8.v13.v14 .capabilities .section-intro p{font-size:14px;line-height:1.62}
  body.v8.v13.v14 .capability-layout{gap:30px}
  body.v8.v13.v14 .capability-row{
    min-height:62px;
    grid-template-columns:40px minmax(0,1fr) 22px;
  }
  body.v8.v13.v14 .capability-row strong{font-size:18px}
  body.v8.v13.v14 .capability-row.is-active{padding-left:10px;box-shadow:inset 2px 0 0 var(--vsk-green)}
  body.v8.v13.v14 .capability-media .media-frame{aspect-ratio:4/3;box-shadow:0 18px 38px rgba(26,34,30,.06)}
  body.v8.v13.v14 .capability-media figcaption>strong{font-size:21px}
}

