/* =====================================================================
   EMPLOYEEQ design system
   Layout concept: a 12-column grid inside a 1200px frame; the brand's
   "Q-piece" (a ring with one square piece set into it) recurs as square
   section markers and square blocks set into photo corners.
   ===================================================================== */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/sora-latin-wght-normal.woff2") format("woff2"); }
:root {
  /* Colour */
  --blue: #32508C;          /* primary */
  --blue-hover: #27406F;    /* primary hover */
  --navy: #1C2D52;          /* deep accent, used sparingly */
  --tint: #8EA5D9;          /* light blue, small accents on blue */
  --pale: #EEF2F9;          /* blue-tinted section background */
  --mist: #F6F8FB;          /* light grey section background */
  --white: #FFFFFF;
  --ink: #1A2233;           /* main text, charcoal slate */
  --muted: #566077;         /* secondary text */
  --line: #DCE2EC;          /* borders and dividers */
  --line-strong: #C3CCDB;
  --success: #1E6B47;
  --error: #B42318;
  --focus: #32508C;

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-h1: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  /* Space (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --section: clamp(64px, 5vw + 40px, 112px);

  /* Frame */
  --max: 1200px;
  --gutter-x: max(20px, env(safe-area-inset-left, 0px));
  --radius: 4px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(28, 45, 82, 0.06), 0 8px 24px rgba(28, 45, 82, 0.06);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); line-height: 1.4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: var(--white); padding: 12px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * 20px); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: var(--section); }
.section--pale { background: var(--pale); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: var(--s8); }
.stack { display: flex; flex-direction: column; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.prose { max-width: 64ch; }
.prose p + p { margin-top: var(--s4); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }

/* Section heading block: square marker + label + heading */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--navy); flex-shrink: 0; }
.section-head { display: flex; flex-direction: column; gap: var(--s4); max-width: 720px; margin-bottom: var(--s7); }
.section-head--split { max-width: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s4) var(--s5); align-items: end; }
.section-head--split > :first-child { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: var(--s4); }
.section-head--split > :last-child { grid-column: 8 / span 5; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--radius); font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--navy); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--pale); color: var(--navy); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--blue); }
.text-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand__mark { height: 46px; width: auto; flex-shrink: 0; }
.brand__word { height: 34px; width: auto; }
.site-footer .brand__mark { height: 52px; }
.site-footer .brand__word { height: 38px; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.1em; line-height: 1; color: var(--navy); }
.brand__legal { font-size: 0.5625rem; font-weight: 800; letter-spacing: 0.42em; color: var(--muted); line-height: 1; }
.nav { display: flex; align-items: center; gap: var(--s6); }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font-size: 0.9375rem; font-weight: 700; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: var(--radius); position: relative; }
.nav__link:hover { color: var(--blue); }
.nav__link[aria-current="page"], .nav__item--active > .nav__link { color: var(--blue); }
.nav__link[aria-current="page"]::after, .nav__item--active > .nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -16px; height: 3px; background: var(--blue); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item { position: relative; }
.dropdown { position: absolute; top: calc(100% + 17px); left: -8px; width: 560px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); box-shadow: var(--shadow); padding: var(--s5); display: grid; grid-template-columns: 1fr 1fr; gap: 4px var(--s4); }
.dropdown[hidden] { display: none; }
.dropdown__intro { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding-bottom: var(--s3); margin-bottom: var(--s2); border-bottom: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }
.dropdown__link { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; }
.dropdown__link strong { font-size: 0.9375rem; color: var(--navy); }
.dropdown__link span { font-size: 0.8125rem; color: var(--muted); line-height: 1.45; }
.dropdown__link:hover { background: var(--pale); }
.dropdown__link:hover strong { color: var(--blue); }
.dropdown__link[aria-current="page"] strong { color: var(--blue); }
.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); bottom: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: var(--s5); padding: var(--s5) max(20px, env(safe-area-inset-right, 0px)) calc(var(--s7) + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); overflow-y: auto; border-top: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; min-height: 56px; padding: 0 4px; font-size: 1.0625rem; }
  .nav__link[aria-current="page"]::after, .nav__item--active > .nav__link::after { display: none; }
  .dropdown { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 var(--s4); grid-template-columns: 1fr; }
  .dropdown__intro { display: none; }
  .nav .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand__mark { height: 40px; }
  .brand__word { height: 29px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding-top: var(--s9); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: var(--s7) var(--s6); padding-bottom: var(--s8); }
.footer-brand { display: flex; flex-direction: column; gap: var(--s4); max-width: 34ch; }
.footer-brand p { color: var(--muted); }
.footer-col h2 { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: var(--s4); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--blue); text-decoration: underline; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--muted); }
.footer-contact svg { width: 18px; height: 18px; margin-top: 4px; color: var(--blue); }
.socials { display: flex; gap: 8px; margin-top: var(--s2); }
.socials a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--navy); background: var(--white); }
.socials a:hover { border-color: var(--blue); color: var(--blue); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: var(--s5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s5); font-size: var(--fs-small); color: var(--muted); }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s5); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--blue); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Placeholder marker ---------- */
.ph { background: #FFF6D6; color: #6B4E00; padding: 0 4px; border-radius: 2px; font-weight: 600; }

/* ---------- Media frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--pale); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-wide { aspect-ratio: 21 / 9; }
.ratio-169 { aspect-ratio: 16 / 9; }
/* The Q-piece: a solid square set into one corner of a photo */
.piece { position: relative; }
.piece::after { content: ""; position: absolute; width: clamp(56px, 12%, 104px); aspect-ratio: 1; background: var(--navy); right: 0; bottom: 0; }
.piece--tl::after { right: auto; bottom: auto; left: 0; top: 0; }
.piece--blue::after { background: var(--blue); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: var(--s8) 0; }
.breadcrumb { font-size: var(--fs-small); color: var(--muted); margin-bottom: var(--s5); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.page-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); align-items: end; padding-bottom: var(--s7); }
.page-hero__title { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: var(--s4); }
.page-hero__aside { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: var(--s5); }
.page-hero__media { aspect-ratio: 21 / 8; }
.page-hero__media img { object-position: center 35%; }

/* ---------- Home hero ---------- */
.hero { padding-top: clamp(40px, 5vw, 80px); }
.hero__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6) var(--s5); align-items: end; padding-bottom: clamp(32px, 4vw, 56px); }
.hero__headline { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: var(--s5); }
.hero__headline h1 { max-width: 13ch; }
.hero__headline h1 em { font-style: normal; color: var(--blue); }
.hero__copy { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: var(--s5); }
.hero__stage { position: relative; }
.hero__photo { aspect-ratio: 24 / 9; min-height: 300px; }
.hero__photo img { object-position: 60% 30%; }
.hero__dock { position: absolute; left: 0; bottom: 0; background: var(--white); display: flex; width: min(720px, 72%); border-top: 3px solid var(--blue); }
.hero__dock a { flex: 1 1 0; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; text-decoration: none; border-right: 1px solid var(--line); min-width: 0; }
.hero__dock a:last-child { border-right: 0; }
.hero__dock small { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hero__dock strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--navy); line-height: 1.3; }
.hero__dock a:hover { background: var(--pale); }
.hero__dock a:hover strong { color: var(--blue); }
.hero__square { position: absolute; right: 0; bottom: 0; width: clamp(150px, 19%, 228px); aspect-ratio: 1; background: var(--navy); color: var(--white); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.hero__square span { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tint); }
.hero__square strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); line-height: 1.3; color: var(--white); }
.hero__square svg { width: 22px; height: 22px; color: var(--white); transition: transform .18s ease; }
.hero__square:hover { background: var(--blue); color: var(--white); }
.hero__square:hover svg { transform: translateX(4px); }

/* ---------- Value strip ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.values li { list-style: none; padding: var(--s6) var(--s5) var(--s6) 0; display: flex; flex-direction: column; gap: var(--s2); }
.values li + li { padding-left: var(--s5); border-left: 1px solid var(--line); }
.values h3 { font-size: 1.0625rem; font-family: var(--font-display); }
.values p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s7) var(--s5); align-items: center; }
.split__media { grid-column: 1 / span 6; }
.split__body { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: var(--s5); }
.split--reverse .split__media { grid-column: 7 / span 6; order: 2; }
.split--reverse .split__body { grid-column: 1 / span 5; order: 1; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: var(--s4); }
.ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.ticks svg { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.ticks strong { display: block; color: var(--navy); font-weight: 700; }
.ticks span { color: var(--muted); }

/* ---------- Services (home) ---------- */
.svc-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); }
.svc-feature { grid-column: 1 / span 5; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.svc-feature .frame { aspect-ratio: 4 / 3; }
.svc-feature__body { padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); flex-grow: 1; }
.svc-feature__body p { color: var(--muted); }
.svc-feature:hover h3 { color: var(--blue); }
.svc-list { grid-column: 6 / span 7; list-style: none; border-top: 1px solid var(--line-strong); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: var(--s4); align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: padding-left .2s ease, background-color .2s ease; }
.svc-row h3 { font-size: 1.1875rem; }
.svc-row p { color: var(--muted); font-size: 0.9375rem; margin-top: 4px; }
.svc-row__arrow { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); color: var(--blue); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.svc-row__arrow svg { width: 18px; height: 18px; }
.svc-row:hover { background: var(--white); padding-left: 16px; }
.svc-row:hover h3 { color: var(--blue); }
.svc-row:hover .svc-row__arrow { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ---------- Industry cards ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); list-style: none; }
.ind-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.ind-card .frame { aspect-ratio: 4 / 3; }
.ind-card .frame img { transition: transform .5s ease; }
.ind-card:hover .frame img { transform: scale(1.04); }
.ind-card__body { padding: var(--s4) 0 0; display: flex; flex-direction: column; gap: 6px; border-top: 3px solid transparent; }
.ind-card h3 { font-size: 1.125rem; }
.ind-card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
.ind-card:hover h3 { color: var(--blue); }

/* ---------- Benefits ---------- */
.why { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s7) var(--s5); }
.why__aside { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: var(--s5); }
.why__aside .frame { aspect-ratio: 4 / 5; margin-top: var(--s3); }
.why__grid { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; list-style: none; align-content: start; border-top: 1px solid var(--line-strong); }
.why__grid li { padding: var(--s6) var(--s5) var(--s6) 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s3); }
.why__grid li:nth-child(even) { padding-left: var(--s5); padding-right: 0; border-left: 1px solid var(--line); }
.icon-box { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); color: var(--blue); }
.section--pale .icon-box { border-color: #D5DEEE; }
.icon-box svg { width: 22px; height: 22px; }
.why__grid h3 { font-size: 1.125rem; }
.why__grid p { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: var(--s5); counter-reset: step; position: relative; }
.process li { counter-increment: step; display: flex; flex-direction: column; gap: var(--s3); position: relative; padding-top: 64px; }
.process li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); border: 1.5px solid var(--blue); color: var(--blue); font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; z-index: 1; }
.process li::after { content: ""; position: absolute; top: 24px; left: 48px; right: calc(-1 * var(--s5)); height: 1.5px; background: var(--line-strong); }
.process li:last-child::after { display: none; }
.process li:first-child::before { background: var(--blue); color: var(--white); }
.process h3 { font-size: 1.0625rem; }
.process p { color: var(--muted); font-size: 0.9375rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.cta-band__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6) var(--s5); align-items: center; padding-block: var(--s8); position: relative; }
.cta-band__text { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: var(--s4); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #DCE4F4; font-size: var(--fs-lead); max-width: 52ch; }
.cta-band .btn-row { grid-column: 9 / span 4; justify-content: flex-end; }
.cta-band::after { content: ""; position: absolute; right: 0; top: 0; width: 72px; height: 72px; background: var(--navy); }
.cta-band .eyebrow { color: var(--tint); }
.cta-band .eyebrow::before { background: var(--white); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.faq__head { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: var(--s4); align-self: start; }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: var(--s4); align-items: center; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--navy); line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq__icon { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); color: var(--blue); transition: transform .2s ease; }
.faq__icon svg { width: 16px; height: 16px; }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--blue); color: var(--white); border-color: var(--blue); }
.faq__answer { padding: 0 48px 24px 0; color: var(--muted); max-width: 68ch; }
.faq__answer p + p { margin-top: 12px; }

/* ---------- Generic card grids ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); list-style: none; }
.card { background: var(--white); border: 1px solid var(--line); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); height: 100%; }
.card p { color: var(--muted); font-size: 0.9375rem; }
.card--link { text-decoration: none; color: inherit; transition: border-color .2s ease; }
.card--link:hover { border-color: var(--blue); }
.card--link:hover h3 { color: var(--blue); }
.card .text-link { margin-top: auto; padding-top: var(--s2); }

/* Services overview: alternating detailed rows */
.svc-detail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6) var(--s5); align-items: center; padding-block: var(--s8); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail__media { grid-column: 1 / span 5; }
.svc-detail__media .frame { aspect-ratio: 4 / 3; }
.svc-detail__body { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: var(--s4); }
.svc-detail:nth-child(even) .svc-detail__media { grid-column: 8 / span 5; order: 2; }
.svc-detail:nth-child(even) .svc-detail__body { grid-column: 1 / span 6; order: 1; }
.svc-detail__meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); border-top: 1px solid var(--line); padding-top: var(--s4); margin-top: var(--s2); }
.svc-detail__meta h4 { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.svc-detail__meta p { font-size: 0.9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { font-size: 0.8125rem; font-weight: 700; color: var(--navy); background: var(--pale); padding: 6px 10px; border-radius: 2px; }

/* Jump nav on services page */
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); font-size: 0.875rem; font-weight: 700; color: var(--navy); text-decoration: none; background: var(--white); border-radius: var(--radius); }
.jump a:hover { border-color: var(--blue); color: var(--blue); }

/* Service page */
.svc-overview { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s7) var(--s5); }
.svc-overview__body { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: var(--s5); }
.svc-overview__aside { grid-column: 9 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4); background: var(--white); }
.aside-card p { color: var(--muted); font-size: 0.9375rem; }
.aside-card .btn { width: 100%; }
.fit-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s5); border-top: 1px solid var(--line-strong); }
.fit-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.fit-list svg { width: 18px; height: 18px; color: var(--blue); margin-top: 4px; }

/* ---------- About ---------- */
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.mv__item { background: var(--white); border: 1px solid var(--line); padding: var(--s7) var(--s6); display: flex; flex-direction: column; gap: var(--s4); position: relative; }
.mv__item::before { content: ""; position: absolute; top: -1px; left: -1px; width: 20px; height: 20px; background: var(--navy); }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); list-style: none; }
.values-grid li { border-top: 3px solid var(--blue); padding-top: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.values-grid p { color: var(--muted); font-size: 0.9375rem; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.relation { background: var(--white); border: 1px solid var(--line); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
.relation__tag { font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }

/* ---------- Industries page ---------- */
.ind-rows { list-style: none; display: flex; flex-direction: column; }
.ind-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); align-items: center; padding-block: var(--s6); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.ind-row:last-child { border-bottom: 1px solid var(--line); }
.ind-row .frame { grid-column: 1 / span 4; aspect-ratio: 3 / 2; }
.ind-row__body { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: var(--s3); }
.ind-row__body p { color: var(--muted); }
.ind-row__roles { font-size: 0.9375rem; }
.ind-row__roles strong { color: var(--navy); }

/* ---------- Forms ---------- */
.form-shell { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.field .req { color: var(--error); margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 600; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius); transition: border-color .15s ease, box-shadow .15s ease; }
textarea.input { min-height: 132px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2332508C' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input:hover { border-color: #9AA6BC; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(50, 80, 140, 0.18); }
.field.has-error .input { border-color: var(--error); }
.field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15); }
.field__hint { font-size: 0.8125rem; color: var(--muted); }
.field__error { font-size: 0.8125rem; font-weight: 700; color: var(--error); display: none; }
.field.has-error .field__error { display: block; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.9375rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blue); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); justify-content: space-between; }
.form__privacy { font-size: 0.8125rem; color: var(--muted); max-width: 52ch; }
.form-status { grid-column: 1 / -1; padding: var(--s4) var(--s5); border-left: 3px solid; font-size: 0.9375rem; }
.form-status[data-type="error"] { background: #FEF3F2; border-color: var(--error); color: #7A1C14; }
.form-status[data-type="success"] { background: #ECF7F1; border-color: var(--success); color: #134A31; }
.form-status strong { display: block; margin-bottom: 2px; }
.form-success { display: flex; flex-direction: column; gap: var(--s4); align-items: flex-start; }
.form-success__icon { width: 52px; height: 52px; background: var(--blue); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.form-success__icon svg { width: 26px; height: 26px; }
.tabs { display: flex; border-bottom: 1px solid var(--line-strong); margin-bottom: var(--s6); gap: var(--s2); overflow-x: auto; }
.tab { min-height: 52px; padding: 0 var(--s4); background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; font: inherit; font-weight: 700; font-size: 1rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--blue); }
.tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--blue); }
.file-input { font-size: 0.9375rem; color: var(--muted); }
.file-input::file-selector-button { font: inherit; font-weight: 700; color: var(--navy); background: var(--pale); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 10px 14px; margin-right: 12px; cursor: pointer; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s7) var(--s5); align-items: start; }
.contact-grid__info { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: var(--s6); }
.contact-grid__form { grid-column: 6 / span 7; }
.contact-list { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.contact-list h3 { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list p { color: var(--ink); }
.note { font-size: 0.875rem; color: var(--muted); background: var(--mist); border: 1px dashed var(--line-strong); padding: var(--s4); }

/* Legal */
.legal { max-width: 72ch; display: flex; flex-direction: column; gap: var(--s4); }
.legal h2 { font-size: 1.375rem; margin-top: var(--s5); }
.legal ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }

/* Column helpers for split layouts */
.col-6 { grid-column: 1 / span 6; }
.col-7 { grid-column: 1 / span 7; }
.col-end-5 { grid-column: 8 / span 5; }
.col-end-4 { grid-column: 9 / span 4; }
.split .btn-row.col-end-4 { justify-content: flex-start; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__headline { grid-column: 1 / -1; }
  .hero__copy { grid-column: 1 / span 8; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s6); }
  .process li::after { display: none; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s6); }
}
@media (max-width: 900px) {
  .split__media, .split__body, .split--reverse .split__media, .split--reverse .split__body,
  .svc-feature, .svc-list, .why__aside, .why__grid, .faq__head, .faq__list,
  .cta-band__text, .cta-band .btn-row, .page-hero__title, .page-hero__aside,
  .svc-detail__media, .svc-detail__body, .svc-detail:nth-child(even) .svc-detail__media, .svc-detail:nth-child(even) .svc-detail__body,
  .svc-overview__body, .svc-overview__aside, .contact-grid__info, .contact-grid__form,
  .section-head--split > :first-child, .section-head--split > :last-child,
  .ind-row .frame, .ind-row__body, .hero__copy, .col-6, .col-7, .col-end-5, .col-end-4 { grid-column: 1 / -1; }
  .split--reverse .split__media, .svc-detail:nth-child(even) .svc-detail__media { order: 0; }
  .split--reverse .split__body, .svc-detail:nth-child(even) .svc-detail__body { order: 1; }
  .cta-band .btn-row { justify-content: flex-start; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values li:nth-child(3) { padding-left: 0; border-left: 0; }
  .values li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__aside .frame { aspect-ratio: 16 / 9; }
  .svc-overview__aside { position: static; }
  .hero__photo { aspect-ratio: 16 / 9; }
  .hero__stage { display: flex; flex-direction: column; }
  .hero__dock { position: static; width: 100%; border-top: 0; border-bottom: 1px solid var(--line); order: 3; flex-wrap: wrap; }
  .hero__dock a { flex: 1 1 50%; border-bottom: 1px solid var(--line); }
  .hero__dock a:nth-child(2n) { border-right: 0; }
  .hero__square { position: static; width: 100%; aspect-ratio: auto; flex-direction: row; align-items: center; gap: var(--s4); order: 2; }
  .hero__square span { display: none; }
  .page-hero__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .ind-grid, .card-grid, .mv, .two-col, .why__grid, .fit-list, .values-grid, .form, .svc-detail__meta, .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: var(--s5) 0; border-left: 0; }
  .values li + li { border-top: 1px solid var(--line); }
  .why__grid li, .why__grid li:nth-child(even) { padding: var(--s5) 0; border-left: 0; }
  .process { grid-template-columns: 1fr; }
  .faq__answer { padding-right: 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; padding-block: 12px; line-height: 1.3; }
  .hero__dock a { flex-basis: 100%; border-right: 0; }
  .cta-band::after { width: 40px; height: 40px; }
  .ind-row .frame { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
