/* New home page (preview). Solid fills, square corners, no tints, no grey text,
   sentence-case labels. Motion is in home2.js; with Reduce Motion it all just shows. */
.hp2 main { overflow-x: clip; }
.hp2 .btn { touch-action: manipulation; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero: black ground, photo on the right half, text on solid black. */
.h2-hero { position: relative; background: #0B0B0C; color: #fff; overflow: hidden; }
.h2-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; overflow: hidden; }
.h2-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 60% 40%; will-change: transform; }
.h2-gears { position: absolute; inset: 0; pointer-events: none; }
.h2-gears svg { position: absolute; will-change: transform; }
.h2-gears .hg1 { width: 440px; height: 440px; left: calc(50% - 220px); bottom: -200px; color: var(--o); }
.h2-gears .hg2 { width: 220px; height: 220px; left: calc(50% + 150px); bottom: 150px; color: #fff; }
.h2-hero-in { position: relative; min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 80px; }
.h2-hero-in > * { max-width: min(560px, 46%); }
.h2-title { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; margin: 0 0 24px; }
.h2-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.h2-title .w > span { display: inline-block; }
.h2-title .w:last-child > span { color: var(--o); }
.h2-lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; font-weight: 500; margin: 0 0 34px; }

.h2-panel { background: #fff; color: var(--ink); padding: 8px 8px 20px; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #ECEAE6; padding: 3px; margin-bottom: 18px; }
.seg button { position: relative; z-index: 1; border: 0; background: none; font: 600 15.5px/1 var(--font); color: var(--ink); min-height: 42px; cursor: pointer; }
.seg-dot { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); background: #fff; outline: 1px solid #D9D6D0; will-change: transform; }
.seg button[aria-selected="true"] { font-weight: 700; }
.seg-panes { position: relative; padding: 0 12px; }
.pane[hidden] { display: none; }
.h2-search { display: flex; align-items: center; border: 2px solid var(--ink); background: #fff; }
.h2-search svg { width: 22px; height: 22px; flex: none; margin-left: 14px; }
.h2-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 17px/1 var(--font); padding: 16px 12px; background: transparent; color: var(--ink); }
.h2-search input::placeholder { color: var(--ink); opacity: 1; font-weight: 400; }
.h2-search .btn { min-height: 52px; margin: -2px -2px -2px 0; }
.h2-search:focus-within { outline: 3px solid var(--o); outline-offset: 0; }
.h2-results { display: grid; }
.h2-results a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.h2-results a b { font-size: 16px; flex: 1; line-height: 1.3; }
.h2-results a span { font-size: 14px; font-weight: 500; text-align: right; }
.h2-results a:hover b { color: var(--o-t); }
.h2-results p { margin: 14px 4px 0; font-size: 15px; font-weight: 500; }
.h2-link { display: inline-flex; align-items: center; gap: 8px; margin: 16px 4px 0; font-weight: 600; font-size: 15.5px; color: var(--o-t); text-decoration: none; }
.pane-text { margin: 4px 4px 18px; font-size: 17px; font-weight: 500; }
.h2-panel .btn-clear { border-color: var(--ink); color: var(--ink); }
.h2-panel .btn-clear:hover { background: var(--ink); color: #fff; }

@media (max-width: 899px) {
  .h2-photo { position: relative; width: 100%; height: 46vw; min-height: 220px; max-height: 380px; }
  .h2-gears .hg1 { width: 260px; height: 260px; left: auto; right: -90px; bottom: auto; top: calc(min(46vw, 380px) - 130px); }
  .h2-gears .hg2 { display: none; }
  .h2-hero-in { min-height: 0; padding-top: 34px; padding-bottom: 40px; }
  .h2-hero-in > * { max-width: none; }
}

/* Client logos, straight under the hero. */
.h2-clients { border-bottom: 1px solid var(--line); }
.h2-clients .wrap { display: flex; align-items: center; gap: 24px 48px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.h2-label { margin: 0; font-size: 15px; font-weight: 600; }
.h2-logos { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.h2-logos img { height: 44px; width: auto; max-width: 170px; object-fit: contain; }
@media (max-width: 899px) { .h2-logos { justify-content: flex-start; gap: 28px; } .h2-logos img { height: 34px; } }

/* Promises: the section pins while you scroll, the gear turns, one promise at a time. */
.h2-promise { background: var(--o); color: #fff; height: calc(var(--n) * 70vh + 30vh); position: relative; }
.h2-sticky { position: sticky; top: 72px; height: calc(100vh - 72px); display: flex; align-items: center; overflow: hidden; }
.h2-promise-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; width: 100%; }
.h2-bigear { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; }
.h2-bigear svg { position: absolute; will-change: transform; color: #fff; }
.h2-bigear .pg1 { width: 78%; height: 78%; left: 0; top: 0; }
.h2-bigear .pg2 { width: 46%; height: 46%; right: 0; bottom: 0; color: #111; }
.h2-promise h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 28px; }
.h2-steps { list-style: none; margin: 0; padding: 0; position: relative; min-height: 15em; }
.h2-steps li { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; }
.h2-steps li.on { opacity: 1; visibility: visible; }
.h2-steps b { display: block; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 20px; }
.h2-steps span { display: block; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; line-height: 1.5; max-width: 34ch; }
.h2-ticks { display: flex; gap: 8px; margin-top: 30px; }
.h2-ticks i { width: 28px; height: 4px; background: #111; transition: background .2s; }
.h2-ticks i.on { background: #fff; }
@media (max-width: 899px) {
  .h2-promise { height: auto; }
  .h2-sticky { position: static; height: auto; padding: 64px 0; }
  .h2-promise-in { grid-template-columns: 1fr; gap: 24px; }
  .h2-bigear { max-width: 150px; }
  .h2-steps { min-height: 0; }
  .h2-steps li { position: static; opacity: 1; visibility: visible; padding: 22px 0; border-top: 2px solid #111; }
  .h2-steps b { font-size: 28px; margin-bottom: 10px; }
  .h2-ticks { display: none; }
}

/* Sections */
.h2-sec { padding: 88px 0; }
.h2-alt { background: var(--alt); }
.h2-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.h2-head h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; }
.h2-arrows { display: flex; gap: 8px; }
.arr { width: 48px; height: 48px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.arr .chev { width: 14px; height: 14px; }
.arr[data-dir="-1"] .chev { transform: rotate(180deg); }
.arr:hover { background: var(--ink); color: #fff; }
.arr:disabled { border-color: var(--line); color: var(--line); background: #fff; cursor: default; }
@media (max-width: 899px) { .h2-sec { padding: 60px 0; } .h2-arrows { display: none; } }

/* Flickable rails (jobs, reviews) */
.h2-rail { overflow: visible; cursor: grab; user-select: none; -webkit-user-select: none; }
.h2-rail.grabbing { cursor: grabbing; }
.h2-track { display: flex; gap: 16px; will-change: transform; }
.h2-job { flex: 0 0 300px; min-height: 250px; background: #fff; border: 2px solid var(--ink); padding: 22px 20px; display: flex; flex-direction: column; gap: 9px; text-decoration: none; -webkit-user-drag: none; }
.h2-job b { font-size: 21px; line-height: 1.2; margin: 4px 0 6px; letter-spacing: -0.01em; }
.h2-job:hover b { color: var(--o-t); }
.h2-lbls { display: flex; gap: 6px; }
.h2-meta { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.h2-meta svg { width: 16px; height: 16px; color: var(--o); flex: none; }
.h2-job-all { background: var(--ink); color: #fff; justify-content: center; align-items: flex-start; }
.h2-job-all b { font-size: 26px; }
.h2-job-all .chev { width: 18px; height: 18px; color: var(--o); }
.h2-job-all:hover b { color: #fff; }
@media (max-width: 600px) { .h2-job { flex-basis: 82vw; } }

.h2-quotes .h2-track { gap: 0; }
.h2-quote { flex: 0 0 100%; margin: 0; padding: 0 8% 0 0; }
.h2-quote blockquote { margin: 0 0 24px; font-size: clamp(24px, 3vw, 38px); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; max-width: 30ch; }
.h2-quote figcaption { font-weight: 700; font-size: 17px; }
.h2-quote figcaption::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--o); vertical-align: middle; margin-right: 12px; }

/* Disciplines with icons */
.h2-disc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.h2-disc a { background: #fff; display: flex; align-items: center; gap: 16px; padding: 24px 22px; text-decoration: none; min-height: 92px; }
.h2-disc .di { width: 46px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--o); color: #fff; }
.h2-disc .di svg { width: 26px; height: 26px; }
.h2-disc b { flex: 1; font-size: 17.5px; line-height: 1.3; }
.h2-disc .chev { width: 12px; height: 12px; }
.h2-disc a:hover { background: var(--ink); color: #fff; }
@media (max-width: 899px) { .h2-disc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .h2-disc { grid-template-columns: 1fr; } .h2-disc a { min-height: 72px; padding: 16px; } }

/* Industries, photo above text */
.h2-inds { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.h2-ind { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.h2-ind .ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); margin-bottom: 10px; }
.h2-ind img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.32,.72,0,1); }
.h2-ind:hover img { transform: scale(1.04); }
.h2-ind b { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.1; }
.h2-ind span { font-size: 17.5px; font-weight: 500; max-width: 44ch; }
.h2-ind em { font-size: 16.5px; font-style: normal; font-weight: 700; color: var(--o-t); display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .h2-inds { grid-template-columns: 1fr; gap: 44px; } }

/* CV optimiser: a CV page that builds itself as you scroll */
.h2-cv { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.h2-cv-copy h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; margin-bottom: 20px; }
.h2-cv-copy p { font-size: 18px; font-weight: 500; max-width: 42ch; }
.h2-cv-copy .btn { margin-top: 10px; }
.h2-cvpage { background: #fff; border: 2px solid var(--ink); padding: 26px 28px 30px; max-width: 420px; width: 100%; justify-self: center; color: var(--ink); }
.cvp-head { border-bottom: 4px solid var(--o); padding-bottom: 14px; margin-bottom: 16px; }
.cvp-head img { height: 30px; display: block; }
.cvp-name { font-weight: 800; font-size: 22px; }
.cvp-role { font-weight: 600; color: var(--o-t); margin-bottom: 8px; }
.cvp-h { font-weight: 700; font-size: 13.5px; margin: 14px 0 8px; }
.h2-cvpage i { display: block; height: 8px; background: #D5D2CC; margin: 0 0 7px; transform-origin: left center; }
.h2-cvpage i.s { width: 62%; }
.h2-cvpage i.b { background: var(--ink); width: 48%; height: 10px; margin-top: 12px; }
.cvp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .h2-cv { grid-template-columns: 1fr; gap: 40px; } }

/* Photo strip and the two closing calls */
.h2-strip { height: clamp(220px, 34vw, 440px); overflow: hidden; background: #000; }
.h2-strip img { width: 100%; height: 130%; object-fit: cover; display: block; will-change: transform; }
.h2-end { background: #0B0B0C; color: #fff; padding: 80px 0 96px; }
.h2-end-in { display: grid; grid-template-columns: 1fr 1fr; }
.h2-end-in > div { background: #0B0B0C; padding: 8px 48px 8px 0; }
.h2-end-in > div + div { padding-left: 48px; position: relative; }
.h2-end-in > div + div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: #3A3A3C; }
.h2-end h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.03em; margin-bottom: 16px; }
.h2-end p { font-size: 18px; font-weight: 500; margin-bottom: 26px; max-width: 36ch; }
@media (max-width: 760px) {
  .h2-end-in { grid-template-columns: 1fr; }
  .h2-end-in > div, .h2-end-in > div + div { padding: 30px 0; }
  .h2-end-in > div + div::before { top: 0; bottom: auto; right: 0; width: auto; height: 1px; }
}

/* Before the script runs, and with Reduce Motion, everything is simply visible. */
.js .h2-title .w > span { transform: translateY(105%); animation: h2-safe 0s 2.5s forwards; }
@keyframes h2-safe { to { transform: none; } } /* if the script never runs, the headline still shows */
.js.motion-off .h2-title .w > span, .motion-off .h2-title .w > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .h2-title .w > span { transform: none; }
  .h2-ind img, .h2-ticks i { transition: none; }
}

/* Footer labels in sentence case, like the rest of the page. */
.hp2 .ftr h3 { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 700; }
@media (max-width: 480px) {
  .h2-search .btn { padding: 0; width: 56px; font-size: 0; gap: 0; }
  .h2-search .btn .chev { width: 16px; height: 16px; }
  .h2-search input { padding: 15px 10px; font-size: 16.5px; }
}

/* ===== Shared by every page ===== */
.hp2 .sec { border-bottom: 0; }
.sec-head { margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; max-width: 24ch; }
.sec-head p { font-weight: 500; }
.gap { height: 32px; }

/* Big hero on candidates, employers and the CV optimiser */
.h2-hero-copy { max-width: min(600px, 46%); }
.h2-hero .btn-row { margin-top: 4px; }
.h2-hero .btn-line, .h2-subhero .btn-line { border-color: #fff; color: #fff; }
.h2-hero .btn-line:hover, .h2-subhero .btn-line:hover { background: #fff; color: var(--ink); }
.h2-hero.with-aside .h2-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.h2-hero.with-aside .h2-hero-in > * { max-width: none; }
.h2-hero.with-aside .hg1 { left: auto; right: -160px; bottom: -220px; }
.h2-hero.with-aside .hg2 { left: 40%; bottom: -80px; top: auto; color: #2A2A2B; }
.h2-aside .h2-cvpage { justify-self: center; }
@media (max-width: 899px) {
  .h2-hero-copy { max-width: none; }
  .h2-hero.with-aside .h2-hero-in { grid-template-columns: 1fr; gap: 36px; }
  .h2-hero:not(:has(.h2-photo)) .h2-hero-in { padding-top: 48px; }
}

/* Page header on every other page */
.h2-subhero { position: relative; overflow: hidden; background: #0B0B0C; color: #fff; padding: 44px 0 52px; }
@media (min-width: 900px) { .h2-subhero { padding: 72px 0 84px; } }
.h2-subhero .hg1 { width: 460px; height: 460px; right: -140px; top: -120px; left: auto; bottom: auto; color: var(--o); }
@media (max-width: 899px) { .h2-subhero .hg1 { width: 240px; height: 240px; right: -110px; top: -70px; } }
.h2-subhero .wrap { position: relative; }
.h2-subhero .crumbs { color: #fff; margin-bottom: 22px; }
.h2-subhero .crumbs a:hover { color: var(--o); }
.h2-subhero .h2-title { font-size: clamp(36px, 5.2vw, 66px); max-width: 17ch; margin-bottom: 18px; }
.h2-subhero .h2-lede { max-width: 58ch; margin-bottom: 0; }
.h2-subhero .btn-row { margin-top: 28px; }
.h2-subhero .jobfacts { margin-top: 30px; }
.h2-subhero .jobfacts b { color: #fff; }

/* Reviews rail with its arrows beside the heading */
.rail-wrap { position: relative; }
.rail-wrap > .h2-arrows { position: absolute; right: 0; bottom: calc(100% + 30px); }

/* One closing call to action */
.h2-end-one { padding: 76px 0 84px; }
.h2-end-one .wrap > div { max-width: 760px; }
.h2-end-one .btn-clear:hover { background: #fff; color: var(--ink); }

/* Logos in a row */
.h2-logos-row { justify-content: flex-start; gap: 56px; }
.h2-logos-row img { height: 56px; max-width: 200px; }

/* Lists of links as rows, iOS style: icon, words, chevron */
.paths, .paths:has(> :nth-child(4)) { display: block; background: none; border: 0; border-top: 2px solid var(--ink); }
.paths .path { display: grid; grid-template-columns: 48px 1fr auto; column-gap: 18px; row-gap: 2px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); background: none; }
.sec-alt .paths .path { background: none; }
.path .pi { grid-row: 1 / span 2; width: 48px; height: 48px; background: var(--o); color: #fff; border: 0; }
.path h3, .path p { grid-column: 2; }
.path .go { grid-column: 3; grid-row: 1 / span 2; }
.path:hover { background: none; color: inherit; }
.path:hover h3 { color: var(--o-t); }
.path:hover .pi { color: #fff; }
@media (max-width: 600px) { .path .go { display: none; } .paths .path { grid-template-columns: 48px 1fr; } }
.postlist { display: block; background: none; border: 0; border-top: 2px solid var(--ink); }
.postcard { padding: 24px 4px; border-bottom: 1px solid var(--line); background: none; }
.postcard:hover { background: none; color: inherit; }
.postcard:hover h3 { color: var(--o-t); }
.services { background: none; border: 0; border-top: 2px solid var(--ink); }
.svc { padding: 22px 0; border-bottom: 1px solid var(--line); background: none; }
.svc-link { background: var(--ink); color: #fff; padding: 22px; margin-top: 18px; }
.steps, .steps.four { background: none; border: 0; gap: 32px; }
.step { padding: 22px 0 0; border-top: 2px solid var(--ink); background: none; }

/* Job cards */
.joblist { background: none; border: 0; gap: 16px; }
.jobcard, .sec-alt .jobcard { background: #fff; border: 2px solid var(--ink); }
.jobcard:hover, .sec-alt .jobcard:hover { background: #fff; outline: 0; }
.jobcard:hover h3 { color: var(--o-t); }
.empty { border: 2px solid var(--ink); }

/* Job type as a segmented control */
.flabel { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; }
.segctl { position: relative; display: flex; background: #ECEAE6; padding: 3px; min-height: 50px; }
.segctl label { position: relative; z-index: 1; flex: 1; display: flex; cursor: pointer; }
.segctl input { position: absolute; opacity: 0; pointer-events: none; }
.segctl span { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 10px; font: 600 15px/1 var(--font); white-space: nowrap; }
.segctl input:checked + span { font-weight: 700; }
.segctl label:has(input:focus-visible) { outline: 2px solid var(--o); outline-offset: -2px; }
.segctl-dot { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; background: #fff; outline: 1px solid #D9D6D0; will-change: transform, width; }
.no-js .segctl input:checked + span, .segctl:not(.ready) input:checked + span { background: #fff; }
@media (min-width: 1080px) { .jobsearch { grid-template-columns: 1.3fr 1fr 1.1fr 1.7fr auto; } }

/* Forms */
.fh { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; }

/* Video: the poster shows first; the YouTube player loads only on play */
.h2-video { padding-bottom: 40px; }
.vid { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.vid img, .vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.vid-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 28px 0 22px; border: 0; background: var(--o); color: #fff; font: 700 18px/1 var(--font); cursor: pointer; }
.vid-play svg { width: 30px; height: 30px; }
.vid-play:hover { background: var(--o-h); }
@media (max-width: 600px) { .vid-play { min-height: 56px; font-size: 16px; padding: 0 20px 0 16px; } .vid-play svg { width: 24px; height: 24px; } }

/* Job type and "Sample" as plain words, not coloured blocks: "Permanent · Sample" */
.lbl, .lbl.t-perm, .lbl.t-temp, .lbl.t-con, .lbl.t-sample, .lbl.t-closed { display: inline; height: auto; min-width: 0; padding: 0; background: none; color: var(--ink); font: 600 14.5px/1.4 var(--font); letter-spacing: 0; text-transform: none; }
.lbl + .lbl::before { content: "\00B7"; margin: 0 8px; font-weight: 700; }
.lbl.t-closed { color: var(--red); }
.lbls, .h2-lbls { gap: 0; }
.h2-subhero .lbl { color: #fff; }

/* Hire engineers next to Register CV, and a third slot in the phone bar */
.hdr-hire { border-width: 2px; }
.hdr .hdr-cta { min-height: 44px; padding: 10px 16px; }
/* The logo never shrinks. The phone number shows only where the header has room for it. */
.brand { flex-shrink: 0; }
@media (min-width: 1080px) and (max-width: 1279px) { .hdr .wrap { gap: 14px; } .mainnav { gap: 13px; } .mainnav a { font-size: 14.5px; } .brand img { height: 36px; } .hdr .hdr-cta { padding: 10px 14px; font-size: 14.5px; } }
@media (min-width: 1280px) { .hdr-phone { display: none; } .mainnav { gap: 20px; } }
@media (min-width: 1440px) { .hdr .wrap { max-width: 1400px; } .hdr-phone { display: inline-flex; } .mainnav { gap: 24px; } }
.mbar { grid-template-columns: .8fr 1.1fr 1.1fr; }
.mbar a { font-size: 15px; gap: 6px; }
.mbar .hire { background: var(--ink); color: #fff; }
.drawer .btn + .btn { margin-top: 10px; }

/* A faint white glow that follows the mouse over the black sections (asked for by James, 2 Nov) */
.glow { position: relative; }
.glow::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .07), rgba(255, 255, 255, .025) 40%, transparent 70%); }
.glow.lit::after { opacity: 1; }
@media (hover: none), (pointer: coarse) { .glow::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .glow::after { transition: none; } }

/* Blog dates */
.pdate { font-size: 14px; font-weight: 600; color: var(--o-t); }
.pdate-h { margin: 22px 0 0; font-weight: 600; }

/* Areas */
.area-more { margin-top: 26px; font-weight: 500; }
.area-more a { color: var(--o-t); font-weight: 700; }

/* Blog photos */
.post-photo { padding-top: 40px; }
.post-photo figure { margin: 0; }
.post-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; background: var(--ink); }
.post-photo figcaption { font-size: 13.5px; font-weight: 500; margin-top: 8px; }
.post-photo + .sec { padding-top: 44px; }
.postcard.has-img { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.pthumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.pthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.32,.72,0,1); }
.postcard:hover .pthumb img { transform: scale(1.04); }
.ptext { display: flex; flex-direction: column; gap: 8px; }
.ptext p { margin: 0; }
@media (max-width: 640px) { .postcard.has-img { grid-template-columns: 112px 1fr; gap: 14px; align-items: start; } .ptext p { display: none; } .ptext h3 { font-size: 17px; } }
@media (max-width: 640px) { .post-photo img { aspect-ratio: 16 / 10; } }

/* Phones: engineers see one search box and the jobs straight away; the other filters sit behind a button */
.jf-actions { display: flex; gap: 12px; align-items: end; }
.jf-toggle { display: none; }
@media (max-width: 699px) {
  .jf-more:not(.open) { display: none; }
  .jf-actions { margin-bottom: 8px; }
  .jf-actions .btn { flex: 1; justify-content: center; }
  .jf-toggle { display: inline-flex; }
}
@media (min-width: 700px) { .jf-more { display: contents; } }
@media (min-width: 1080px) { .jobsearch .jf-actions .btn { margin-bottom: 18px; } }

/* Phones: a shorter hero photo, so the job search shows on the first screen */
@media (max-width: 599px) {
  .h2-photo { height: 40vw; min-height: 150px; }
  .h2-gears .hg1 { top: calc(max(40vw, 150px) - 130px); }
}

/* Phones: a smaller chat button that steps aside while a form is on screen */
@media (max-width: 899px) {
  .chat-fab { width: 48px; height: 48px; bottom: 70px; right: 12px; transition: transform .25s cubic-bezier(.3,1.4,.5,1), opacity .2s; }
  .chat-fab svg { width: 22px; height: 22px; }
  .chat-fab.aside { transform: scale(.4); opacity: 0; pointer-events: none; }
}

/* Footer links are tall enough to tap with a thumb */
@media (max-width: 899px) { .ftr a { padding: 10px 0; } .ftr .legal a { display: inline-block; padding: 10px 8px 10px 0; } }

/* Home: two clear choices, one for employers and one for engineers */
.h2-doors { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 600px) { .h2-doors { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .h2-door i.btn { white-space: nowrap; } }
.h2-door { display: flex; flex-direction: column; gap: 8px; background: #fff; color: var(--ink); padding: 22px 22px 20px; text-decoration: none; transition: background .15s; }
.h2-door b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.h2-door span { font-size: 16px; line-height: 1.45; flex: 1; }
.h2-door i.btn { font-style: normal; align-self: stretch; justify-content: space-between; margin-top: auto; pointer-events: none; }
.h2-door:hover b { color: var(--o-t); }

/* Find work: search and quick routes beside the CV form */
.worksearch label { display: block; font-weight: 700; margin-bottom: 8px; }
.work-side .paths { margin-top: 28px; }
.work-side .promise { margin-top: 28px; }
.joblist-1 { grid-template-columns: 1fr !important; }

/* Partner app band */
.partner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.partner h2 { color: #fff; margin-bottom: 6px; }
.partner p { margin: 0; color: #fff; font-size: 17px; }
/* Desktop: the two choices sit on the first screen */
@media (min-width: 900px) {
  .h2-hero:has(.h2-doors) .h2-hero-in { padding-top: 44px; }
  .h2-hero:has(.h2-doors) .h2-title { font-size: clamp(44px, 4.2vw, 58px); }
  .h2-doors { margin-top: 24px; }
  .h2-door { padding: 18px 18px 16px; }
  .h2-door b { font-size: 21px; }
  .h2-door span { font-size: 15px; }
}
/* Phones: both choices side by side, so both show on the first screen */
@media (max-width: 599px) {
  .h2-doors { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; margin-top: 20px; }
  .h2-door { padding: 14px 12px; gap: 6px; }
  .h2-door b { font-size: 19px; }
  .h2-door span { display: none; }
  .h2-door i.btn { align-self: stretch; justify-content: center; text-align: center; padding: 8px 6px; font-size: 14.5px; line-height: 1.15; min-height: 54px; }
  .h2-door i.btn .chev { display: none; }
}

/* County and town pages */
.town-list { list-style: none; margin: 0; padding: 0; columns: 4 180px; column-gap: 32px; border-top: 2px solid var(--ink); padding-top: 18px; }
.town-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.town-list a { color: var(--o-t); font-weight: 700; }
.region-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 32px; border-top: 2px solid var(--ink); padding-top: 22px; }
.region-list h3 { margin: 0 0 8px; font-size: 17px; }
.region-list a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.region-list a:hover { color: var(--o-t); }

/* ---- Emma's edits, 18 Nov 2026 ---- */
/* New logo is taller (3.1:1 with a tagline), so it gets more height in the header. */
.brand img { height: 52px; }
@media (min-width: 1080px) and (max-width: 1279px) { .brand img { height: 46px; } }
@media (max-width: 599px) { .brand img { height: 44px; } }
.ftr-logo img { height: 64px; width: auto; }
.ftr-slogan { margin: 14px 0 0; font-weight: 600; color: #fff; max-width: 30ch; }
/* Discipline tiles: name plus the department's roles. */
.h2-disc .dt { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.h2-disc .dt b { font-size: 17.5px; line-height: 1.3; }
.h2-disc-full a { align-items: flex-start; }
.h2-disc-full .dt small { font-size: 14.5px; line-height: 1.45; font-weight: 400; color: inherit; }
.h2-disc-full .chev { margin-top: 6px; }
/* Two reviews side by side. */
.h2-quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.h2-quotes-grid .h2-quote { padding: 0; }
.h2-quotes-grid .h2-quote blockquote { font-size: clamp(22px, 2.4vw, 30px); }
@media (max-width: 760px) { .h2-quotes-grid { grid-template-columns: 1fr; gap: 36px; } }
/* Client logo carousel: an endless, slow scroll. */
.logo-car { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; animation: logo-run var(--dur, 24s) linear infinite; }
.logo-set { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.logo-set img { height: 48px; width: auto; max-width: 180px; object-fit: contain; }
.logo-car:hover .logo-track { animation-play-state: paused; }
@keyframes logo-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: auto; } .logo-set[aria-hidden] { display: none; } }
@media (max-width: 899px) { .logo-set { gap: 40px; padding-right: 40px; } .logo-set img { height: 38px; } }
.h2-clients .logo-car { flex: 1; min-width: 0; }
/* Google reviews */
.g-sum { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: 17px; }
.stars { color: var(--o); letter-spacing: 2px; font-size: 18px; }
.g-revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.g-rev { margin: 0; background: #fff; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.g-rev blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; flex: 1; }
.g-rev figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.g-more { margin: 22px 0 0; }
.g-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--o-t); text-decoration: none; }
@media (max-width: 899px) { .g-revs { grid-template-columns: 1fr; } }
/* Areas hub: Emma's region tiles */
.region-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 48px; }
.region-tiles h2 { margin: 0 0 10px; }
.region-tiles a { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.region-tiles a svg:first-child { width: 18px; height: 18px; color: var(--o); flex: none; }
.region-tiles a span { flex: 1; }
.region-tiles a .chev { width: 12px; height: 12px; }
.region-tiles a:hover span { color: var(--o-t); }
/* Hire page: sub-heading between the service rows */
.paths-sub { margin: 36px 0 16px; font-size: 19px; }
/* Available now profiles */
.avail { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.avail-card { background: #fff; padding: 24px 22px; }
.avail-card h3 { margin: 0 0 8px; font-size: 18px; }
.avail-card p { margin: 0 0 14px; }
.avail-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.avail-card li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.avail-card li svg { width: 16px; height: 16px; color: var(--o); flex: none; }
/* Industries list and work photos */
.sector-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 40px; }
.sector-list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.work-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.work-photos figure { margin: 0; }
.work-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.work-photos figcaption { margin-top: 8px; font-size: 15px; }
