:root {
  --ink: #171b19;
  --ink-soft: #2a302c;
  --lime: #8bbd45;
  --lime-light: #b8da7a;
  --paper: #f6f5f1;
  --mist: #e6e8e2;
  --line: rgba(23, 27, 25, 0.16);
  --white-line: rgba(255, 255, 255, 0.18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", Consolas, monospace;
  --shell: min(1240px, calc(100vw - 72px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; color: var(--ink); background: var(--lime); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; color: #fff; transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled { position: fixed; color: var(--ink); background: rgba(246, 245, 241, .96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(12px); }
.nav-wrap { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-width: 0; gap: 10px; }
.logo-mark { display: block; width: 62px; height: 28px; flex: 0 0 auto; background: url("assets/ves-logo-source.png") center / 120% no-repeat; filter: grayscale(1) brightness(0) invert(1); }
.site-header.is-scrolled .logo-mark { filter: none; }
.brand-copy { display: flex; flex-direction: column; font-size: 8px; line-height: 1.1; letter-spacing: .11em; white-space: nowrap; }
.brand-copy strong { font-size: 9px; font-weight: 800; }
.brand-copy small { margin-top: 2px; font-size: 7px; letter-spacing: .21em; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 700; letter-spacing: .015em; }
.main-nav > a:not(.nav-contact) { position: relative; padding: 7px 0; }
.main-nav > a:not(.nav-contact)::after { position: absolute; bottom: 2px; left: 0; width: 0; height: 1px; content: ""; background: currentColor; transition: width .2s; }
.main-nav > a:not(.nav-contact):hover::after, .main-nav > a:not(.nav-contact):focus-visible::after { width: 100%; }
.nav-contact { padding: 10px 16px; border: 1px solid rgba(255,255,255,.58); transition: color .2s, border-color .2s, background .2s; }
.nav-contact:hover, .nav-contact:focus-visible { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.site-header.is-scrolled .nav-contact { border-color: var(--ink); }
.menu-toggle { display: none; color: currentColor; background: transparent; border: 0; }

.hero { position: relative; display: flex; min-height: 780px; height: 100svh; min-height: 650px; align-items: stretch; overflow: hidden; color: #fff; background: var(--ink); }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background: center center / cover no-repeat url("assets/construction-hero.png"); transform: scale(1.02); animation: hero-settle 1.2s ease-out both; }
.hero-overlay { background: linear-gradient(90deg, rgba(13, 16, 15, .86) 0%, rgba(17, 21, 19, .53) 48%, rgba(17, 21, 19, .16) 100%), linear-gradient(0deg, rgba(10,13,12,.50), transparent 46%); }
.hero-content { position: relative; z-index: 2; display: flex; width: 100%; padding-top: max(150px, 20vh); padding-bottom: 92px; flex-direction: column; justify-content: space-between; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; color: #5a655d; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 1px; background: var(--lime); }
.eyebrow.light { color: rgba(255,255,255,.72); }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: 600; line-height: .95; letter-spacing: -.063em; }
h1 em, h2 em { color: var(--lime-light); font-family: var(--serif); font-weight: 500; letter-spacing: -.065em; }
.hero-bottom { display: flex; max-width: 820px; align-items: end; justify-content: space-between; gap: 38px; }
.hero-bottom p { max-width: 350px; margin: 0; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.84); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 24px; padding: 12px 18px; font-size: 13px; font-weight: 800; white-space: nowrap; transition: transform .2s, background .2s; }
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-lime { color: var(--ink); background: var(--lime); }
.button-lime:hover, .button-lime:focus-visible { background: var(--lime-light); }
.hero-scroll { position: absolute; z-index: 2; right: max(36px, calc((100vw - 1240px)/2)); bottom: 36px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.hero-scroll span { width: 34px; height: 1px; background: var(--lime); }

.section { padding: 128px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 11.5%; }
.intro-copy { max-width: 720px; }
h2 { margin: 0; font-size: clamp(2.6rem, 4.6vw, 4.6rem); font-weight: 700; line-height: .99; letter-spacing: -.058em; }
.intro h2 { margin-bottom: 34px; }
.intro-copy p { max-width: 650px; margin: 0 0 18px; font-size: 19px; line-height: 1.7; color: #455047; }
.text-link { display: inline-flex; gap: 15px; margin-top: 22px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 800; transition: color .2s, border-color .2s; }
.text-link:hover, .text-link:focus-visible { color: #648f29; border-color: #648f29; }

.erp-announcement { padding: 0 0 128px; background: var(--paper); }
.erp-grid { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 498px; }
.erp-stage { position: relative; display: flex; min-height: 498px; padding: 27px 31px; flex-direction: column; justify-content: space-between; overflow: hidden; color: #fff; background: #1d2820; }
.erp-stage::before, .erp-stage::after { position: absolute; border: 1px solid rgba(184,218,122,.24); border-radius: 50%; content: ""; pointer-events: none; }
.erp-stage::before { width: 390px; height: 390px; top: -178px; right: -105px; }
.erp-stage::after { width: 260px; height: 260px; bottom: -132px; left: -88px; }
.erp-stage-top, .erp-stage-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: rgba(255,255,255,.6); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.erp-status { padding: 6px 8px; color: var(--ink); background: var(--lime); }
.erp-stage-center { position: relative; z-index: 1; }
.erp-stage-overline { display: block; margin-bottom: 10px; color: var(--lime-light); font-family: var(--mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.erp-stage-center strong { display: block; font-size: clamp(2.7rem, 4vw, 4.5rem); font-weight: 700; line-height: .91; letter-spacing: -.065em; }
.erp-stage-bottom { justify-content: flex-start; }
.erp-stage-bottom b { color: #fff; font-family: var(--sans); font-size: 15px; letter-spacing: -.025em; text-transform: none; }
.erp-stage-bottom span:last-child { margin-left: auto; color: var(--lime); font-size: 20px; }
.erp-copy { display: flex; padding: 65px clamp(32px, 6vw, 82px); flex-direction: column; justify-content: center; background: #e6e8e2; }
.erp-copy h2 { max-width: 640px; margin-bottom: 23px; font-size: clamp(2.35rem, 4.3vw, 4.25rem); }
.erp-copy > p:not(.eyebrow) { max-width: 610px; margin: 0; color: #4e5b52; font-size: 17px; line-height: 1.72; }
.erp-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; max-width: 550px; margin-top: 27px; border-top: 1px solid rgba(23,27,25,.16); }
.erp-benefits span { padding: 11px 0; border-bottom: 1px solid rgba(23,27,25,.16); font-family: var(--mono); font-size: 10px; letter-spacing: .055em; text-transform: uppercase; }
.erp-benefits span::before { margin-right: 8px; color: #6f9d34; content: "✓"; }

.section-dark { color: #fff; background: var(--ink); }
.section-head, .capabilities-top { display: flex; align-items: end; justify-content: space-between; gap: 70px; margin-bottom: 72px; }
.section-head h2, .capabilities-top h2 { color: #fff; }
.section-note { max-width: 365px; margin: 0 0 4px; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.7; }
.section-note.dark { color: #5a655d; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--white-line); border-left: 1px solid var(--white-line); }
.service-card { position: relative; min-height: 364px; padding: 23px 26px 28px; border-right: 1px solid var(--white-line); border-bottom: 1px solid var(--white-line); transition: color .32s, background .32s; }
.service-card:hover { color: var(--ink); background: var(--lime); }
.service-number { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.54); transition: color .32s; }
.service-card:hover .service-number { color: rgba(23,27,25,.54); }
.service-icon { position: absolute; top: 89px; right: 26px; width: 43px; height: 43px; color: var(--lime); transition: color .32s; }
.service-card:hover .service-icon { color: var(--ink); }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.service-card h3 { margin: 137px 0 14px; font-size: 24px; font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
.service-card p { margin: 0; color: rgba(255,255,255,.67); font-size: 14px; line-height: 1.65; transition: color .32s; }
.service-card:hover p { color: rgba(23,27,25,.74); }

.statement { overflow: hidden; background: #f0f0eb; }
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; align-items: center; }
.statement-figure { position: relative; height: 420px; overflow: hidden; background: var(--ink); }
.figure-line { position: absolute; display: block; height: 1px; background: var(--lime); transform-origin: left center; }
.figure-line-one { top: 32%; left: 8%; width: 110%; transform: rotate(35deg); }
.figure-line-two { top: 74%; left: -4%; width: 86%; transform: rotate(-22deg); background: rgba(255,255,255,.34); }
.figure-dot { position: absolute; top: 44%; left: 47%; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 9px rgba(139,189,69,.16); }
.figure-label { position: absolute; bottom: 29px; left: 29px; color: rgba(255,255,255,.66); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; }
.statement-copy h2 { margin-bottom: 30px; }
.statement-copy > p:last-child { max-width: 525px; margin: 0; color: #4b564e; font-size: 18px; line-height: 1.75; }

.clients { background: var(--paper); }
.clients-heading { display: flex; align-items: end; justify-content: space-between; gap: 70px; margin-bottom: 68px; }
.clients-heading h2 { max-width: 640px; }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-card { position: relative; display: flex; min-height: 178px; padding: 23px 24px; flex-direction: column; justify-content: space-between; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .28s, background .28s; }
.client-card::after { position: absolute; right: -11px; bottom: -42px; color: rgba(23,27,25,.045); content: attr(data-mark); font-family: var(--serif); font-size: 124px; line-height: 1; transition: color .28s; }
.client-card:hover { color: #fff; background: var(--ink); }
.client-card > span { position: relative; z-index: 1; color: #7a8580; font-family: var(--mono); font-size: 10px; }
.client-card strong { position: relative; z-index: 1; font-size: 17px; line-height: 1.25; letter-spacing: -.035em; }
.client-card small { position: relative; z-index: 1; color: #718a49; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; transition: color .28s; }
.client-card:hover > span { color: rgba(255,255,255,.45); }
.client-card:hover small { color: var(--lime-light); }

.section-muted { background: var(--mist); }
.capabilities-top h2 { color: var(--ink); }
.capability-list { border-top: 1px solid var(--line); }
.capability-row { display: grid; grid-template-columns: 95px 1.3fr 1fr 34px; min-height: 112px; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.capability-row:hover { padding: 0 20px; background: rgba(139,189,69,.22); }
.capability-row > span:first-child { font-family: var(--mono); font-size: 11px; color: #6c766f; }
.capability-row h3 { margin: 0; font-size: 20px; letter-spacing: -.035em; }
.capability-row p { margin: 0; color: #58635b; font-size: 14px; line-height: 1.55; }
.row-arrow { font-size: 21px; text-align: right; color: #789f3c; }

.approach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12%; }
.approach-intro h2 { max-width: 385px; }
.approach-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.approach-list li { display: grid; grid-template-columns: 65px 1fr; gap: 22px; padding: 25px 0 27px; border-bottom: 1px solid var(--line); }
.approach-list li > span { padding-top: 3px; color: #7a8580; font-family: var(--mono); font-size: 11px; }
.approach-list h3 { margin: 0 0 7px; font-size: 19px; letter-spacing: -.035em; }
.approach-list p { margin: 0; color: #566159; font-size: 15px; }

.leadership-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 9%; align-items: end; }
.leadership-copy h2 { max-width: 630px; }
.leadership-card { min-height: 310px; padding: 32px 34px; background: #263129; }
.quote-mark { display: block; height: 44px; color: var(--lime); font-family: var(--serif); font-size: 76px; line-height: .85; }
.leadership-card > p { margin: 22px 0 35px; color: rgba(255,255,255,.89); font-size: 18px; line-height: 1.65; }
.leader-signoff { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.17); padding-top: 17px; }
.leader-signoff strong { font-size: 14px; }
.leader-signoff span { color: rgba(255,255,255,.55); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.contact { position: relative; overflow: hidden; background: var(--lime); }
.contact::after { position: absolute; top: -19vw; right: -5vw; width: 42vw; height: 42vw; border: 1px solid rgba(23,27,25,.18); border-radius: 50%; content: ""; }
.contact-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 11%; }
.contact .eyebrow { color: rgba(23,27,25,.62); }
.contact .eyebrow span { background: var(--ink); }
.contact-heading h2 { max-width: 580px; }
.contact-heading h2 em { color: #fff; }
.contact-details { padding-top: 49px; }
.contact-details > p { max-width: 430px; margin: 0 0 31px; color: rgba(23,27,25,.79); font-size: 18px; line-height: 1.7; }
.contact-actions { border-top: 1px solid rgba(23,27,25,.34); }
.contact-actions a { display: grid; grid-template-columns: 66px 1fr 20px; align-items: center; gap: 8px; min-height: 65px; border-bottom: 1px solid rgba(23,27,25,.34); font-size: 15px; font-weight: 800; transition: padding .22s, color .22s; }
.contact-actions a:hover, .contact-actions a:focus-visible { padding: 0 8px; color: #fff; }
.contact-actions span { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }
.contact-actions b { font-size: 18px; text-align: right; }
.contact address { margin-top: 30px; color: rgba(23,27,25,.78); font-size: 14px; font-style: normal; line-height: 1.7; }

.site-footer { color: #fff; background: #111412; }
.footer-top { display: grid; grid-template-columns: 1.15fr 1fr auto; align-items: center; gap: 36px; padding: 44px 0; }
.footer-top .logo-mark { width: 72px; height: 32px; }
.footer-top p { margin: 0; color: rgba(255,255,255,.56); font-size: 13px; line-height: 1.7; }
.back-to-top { display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,.8); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.back-to-top span { color: var(--lime); font-size: 18px; }
.footer-bottom { display: flex; min-height: 58px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.42); font-family: var(--mono); font-size: 10px; letter-spacing: .035em; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.65,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1.02); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 48px, 1240px); }
  .section { padding: 92px 0; }
  .nav-wrap { min-height: 78px; }
  .menu-toggle { z-index: 31; display: grid; width: 42px; height: 42px; padding: 11px 8px; place-content: center; gap: 7px; }
  .menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; z-index: 30; inset: 0; display: flex; visibility: hidden; align-items: flex-start; justify-content: center; padding: 142px 24px 30px; flex-direction: column; gap: 23px; color: var(--ink); background: var(--paper); opacity: 0; transition: opacity .22s, visibility .22s; }
  .main-nav.is-open { visibility: visible; opacity: 1; }
  .main-nav a { font-size: clamp(1.7rem, 6vw, 2.8rem); letter-spacing: -.05em; }
  .main-nav .nav-contact { margin-top: 10px; padding: 12px 16px; border-color: var(--ink); font-size: 15px; letter-spacing: 0; }
  .hero { min-height: 690px; }
  .hero-bottom { gap: 24px; }
  .intro-grid, .statement-grid, .approach-grid, .leadership-grid, .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
  .erp-announcement { padding-bottom: 92px; }
  .erp-grid { grid-template-columns: 1fr; }
  .erp-stage { min-height: 390px; }
  .erp-copy { min-height: 0; padding: 54px clamp(25px, 7vw, 66px); }
  .intro-copy { max-width: none; }
  .section-head, .capabilities-top { align-items: start; flex-direction: column; gap: 24px; margin-bottom: 52px; }
  .clients-heading { align-items: start; flex-direction: column; gap: 24px; margin-bottom: 52px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 330px; }
  .statement-figure { max-width: 570px; height: 330px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-row { grid-template-columns: 55px 1fr 28px; gap: 15px; padding: 20px 0; }
  .capability-row p { grid-column: 2 / 4; }
  .capability-row:hover { padding: 20px 12px; }
  .contact-details { padding-top: 0; }
  .contact::after { width: 70vw; height: 70vw; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100vw - 40px); }
  .brand-copy { display: none; }
  .logo-mark { width: 73px; height: 33px; }
  .hero { min-height: 650px; }
  .hero-content { padding-top: 138px; padding-bottom: 85px; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 4.5rem); }
  .hero-bottom { align-items: flex-start; flex-direction: column; }
  .hero-bottom p { font-size: 14px; }
  .hero-scroll { right: 20px; bottom: 24px; font-size: 8px; }
  .section { padding: 74px 0; }
  .erp-announcement { padding-bottom: 74px; }
  .erp-stage { min-height: 315px; padding: 22px 21px; }
  .erp-stage-center strong { font-size: 2.8rem; }
  .erp-copy { padding: 43px 20px; }
  .erp-copy > p:not(.eyebrow) { font-size: 15px; }
  .erp-benefits { grid-template-columns: 1fr; }
  .eyebrow { margin-bottom: 18px; }
  h2 { font-size: clamp(2.45rem, 13vw, 3.7rem); }
  .intro h2 { margin-bottom: 24px; }
  .intro-copy p, .statement-copy > p:last-child, .contact-details > p { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .service-card h3 { margin-top: 110px; }
  .service-icon { top: 64px; }
  .statement-figure { height: 260px; }
  .client-grid { grid-template-columns: 1fr; }
  .client-card { min-height: 118px; padding: 19px 18px; }
  .client-card strong { font-size: 17px; }
  .capability-row { grid-template-columns: 40px 1fr 20px; min-height: 0; }
  .capability-row h3 { font-size: 18px; }
  .approach-list li { grid-template-columns: 42px 1fr; gap: 15px; }
  .leadership-card { min-height: auto; padding: 28px 25px; }
  .leadership-card > p { font-size: 16px; }
  .contact-actions a { grid-template-columns: 48px 1fr 16px; font-size: 12px; overflow-wrap: anywhere; }
  .footer-top { grid-template-columns: 1fr; gap: 21px; padding: 33px 0; }
  .footer-bottom { min-height: 70px; align-items: flex-start; justify-content: center; padding-top: 18px; flex-direction: column; gap: 4px; }
}
