/* Vector Engineering & Services: white, black and yellow. Black bands carry the logo in white; yellow is the one accent. */
:root {
  --white: #ffffff;
  --off: #f5f5f2;
  --black: #111111;
  --black-2: #1d1d1d;
  --grey: #5c5c5c;
  --grey-light: #a7a7a7;
  --rule: #e2e2dc;
  --yellow: #f5b800;
  --yellow-soft: #fff4cc;
  --f-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1160px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--f-body); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* top strip + header */
.strip { background: var(--black); color: var(--grey-light); font-size: .85rem; }
.strip .wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 8px; }
.strip span { white-space: nowrap; }
.strip b { color: var(--yellow); font-weight: 600; }

.site-header { background: var(--white); border-bottom: 4px solid var(--yellow); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: .02em; }
.brand-text small { font-family: var(--f-display); font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--grey); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a { font-family: var(--f-display); font-weight: 600; font-size: .9rem; text-decoration: none; padding: 8px 12px; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--yellow); }
.nav a[aria-current="page"] { border-bottom-color: var(--black); }
.nav a.nav-cta { background: var(--yellow); border: 0; margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--black); color: var(--yellow); }

/* buttons */
.btn { display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: .95rem; text-decoration: none; padding: 14px 24px; border: 2px solid var(--black); transition: background .15s, color .15s; }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--white); border-color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

/* hero */
.hero { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding-block: 80px 88px; position: relative; }
.hero-copy { min-width: 0; }
.eyebrow { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); display: block; margin-bottom: 16px; }
.hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.05; margin: 0 0 20px; letter-spacing: -.01em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p { font-size: 1.15rem; color: #cfcfcf; max-width: 50ch; margin: 0 0 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-mark { justify-self: center; width: 100%; max-width: 380px; opacity: .95; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--black) 18px 36px); }

.page-hero { background: var(--black); color: var(--white); border-bottom: 6px solid var(--yellow); }
.page-hero .wrap { padding-block: 56px; }
.page-hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3rem); margin: 0 0 10px; line-height: 1.1; text-wrap: balance; }
.page-hero p { margin: 0; color: #cfcfcf; max-width: 60ch; font-size: 1.1rem; }

/* sections */
.section { padding-block: 80px; }
.section.alt { background: var(--off); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--grey); }
.section-head .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 4px; background: var(--yellow); vertical-align: middle; margin-right: 10px; }
h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.section-head p { color: var(--grey); margin: 0; font-size: 1.08rem; }
h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin: 0 0 8px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--rule); border-top: 5px solid var(--black); padding: 28px 24px; min-width: 0; transition: border-color .15s, transform .15s; }
.card:hover { border-top-color: var(--yellow); transform: translateY(-3px); }
.card .icon { width: 52px; height: 52px; background: var(--yellow); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 28px; height: 28px; stroke: var(--black); stroke-width: 2; fill: none; }
.card p { margin: 0; color: var(--grey); font-size: .98rem; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--grey); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; background: var(--yellow); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.panel { background: var(--black); color: var(--white); padding: 40px; border-left: 8px solid var(--yellow); }
.panel h3 { color: var(--yellow); font-size: 1.3rem; }
.panel p { color: #cfcfcf; margin: 0; }
.panel dl { margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.panel dt { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; color: var(--white); }
.panel dd { margin: 0; color: var(--grey-light); font-size: .9rem; }

.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.industries li { list-style: none; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 20px; font-family: var(--f-display); font-weight: 600; display: flex; align-items: center; gap: 12px; background: var(--white); }
.industries li::before { content: ""; width: 10px; height: 10px; background: var(--yellow); flex: none; }
.industries { padding: 0; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: st; }
.steps li { counter-increment: st; min-width: 0; }
.steps li::before { content: counter(st, decimal-leading-zero); display: block; font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; color: var(--yellow); line-height: 1; margin-bottom: 10px; -webkit-text-stroke: 1px var(--black); }
.steps p { margin: 0; color: var(--grey); font-size: .98rem; }

.cta-band { background: var(--yellow); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 48px; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 6px 0 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-grid > * { min-width: 0; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 4px solid var(--black); }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.info-list .ic { width: 44px; height: 44px; background: var(--yellow); display: grid; place-items: center; }
.info-list .ic svg { width: 22px; height: 22px; stroke: var(--black); stroke-width: 2; fill: none; }
.info-list small { display: block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.info-list a, .info-list span { font-weight: 600; font-size: 1.05rem; text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
form.enquiry { background: var(--off); padding: 32px; border-top: 5px solid var(--yellow); display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-family: var(--f-display); font-weight: 600; font-size: .85rem; }
input, select, textarea { font: inherit; font-family: var(--f-body); font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfcfc8; background: var(--white); color: var(--black); border-radius: 0; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px var(--yellow); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--grey); margin: 0; }

/* footer */
.site-footer { background: var(--black); color: var(--grey-light); border-top: 6px solid var(--yellow); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 56px 32px; }
.site-footer .wrap > * { min-width: 0; }
.site-footer img { width: 64px; margin-bottom: 14px; }
.site-footer h4 { font-family: var(--f-display); color: var(--white); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer p { margin: 0; max-width: 36ch; }
.footer-bottom { border-top: 1px solid #2a2a2a; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px; font-size: .85rem; grid-template-columns: none; }

/* responsive */
@media (max-width: 980px) {
  .cards, .industries, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; padding-block: 56px 72px; }
  .hero-mark { max-width: 240px; justify-self: start; order: -1; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .industries, .steps, .row2 { grid-template-columns: 1fr; }
  .section { padding-block: 56px; }
  .site-header { position: static; }
  .brand img { width: 46px; }
  .brand-text strong { font-size: 1.35rem; }
  .nav { width: 100%; gap: 2px; }
  .nav a { padding: 8px 8px; font-size: .85rem; }
  .nav a.nav-cta { margin-left: auto; }
  .panel { padding: 28px 22px; }
  form.enquiry { padding: 22px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .strip .wrap span:nth-child(n+3) { display: none; }
}
