/* Maintech Recruitment
   Structure from the Synerjy site, colour from Maintech's own brand, motion from
   the Libero kit. Rules: solid colours only (no tints or see-through fills), no
   rounded cards or pills, no coloured left rails, no grey text. */
:root {
  --o: #E45D0E;          /* Maintech orange, fills and large type */
  --o-h: #C24D07;        /* hover */
  --o-t: #B84505;        /* orange text on white (4.9:1) */
  --ink: #111111;
  --ground: #FFFFFF;
  --alt: #F4F3F1;
  --line: #E1DED9;
  --band: #111111;
  --band-2: #1C1C1D;
  --band-line: #333335;
  --white: #FFFFFF;
  --green: #1F7A3A; --blue: #24509A; --red: #C0261B; --graphite: #4A4A4C;
  --font: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --pad: 16px; --maxw: 1200px;
}
@media (min-width: 768px) { :root { --pad: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--o); color: #fff; padding: 12px 20px; z-index: 300; }
.skip:focus { left: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 820px; }

h1, h2, h3 { font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 6vw, 58px); line-height: 1.05; font-weight: 800; }
h2, .h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.12; }
h3, .h3 { font-size: clamp(19px, 2.1vw, 22px); line-height: 1.25; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 60ch; font-weight: 500; }
.small { font-size: 14.5px; font-weight: 500; }
.eyebrow, .lab { font-size: 15px; color: var(--ink); margin: 0 0 12px; font-weight: 700; }

/* Buttons. Square corners, solid fills, a springy press (Libero motion kit). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 14px 24px; font: 600 16px/1 var(--font); text-decoration: none; border: 2px solid transparent; border-radius: 2px; cursor: pointer; background: transparent; color: var(--ink); -webkit-appearance: none; appearance: none; transition: background .15s, color .15s, border-color .15s, transform .18s cubic-bezier(.3,1.6,.5,1); }
.btn:active { transform: scale(.96); }
.btn svg:not(.chev) { width: 18px; height: 18px; }
.chev { width: 11px; height: 11px; transition: transform .16s; flex: none; }
.btn:hover .chev, a:hover > .chev, a:hover .go .chev { transform: translateX(3px); }
.btn-o { background: var(--o); color: #fff; }
.btn-o:hover { background: var(--o-h); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-w { background: #fff; color: var(--ink); }
.btn-w:hover { background: var(--ink); color: #fff; }
.btn-clear { border-color: #fff; color: #fff; }
.btn-clear:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (prefers-reduced-motion: reduce) { .btn, .chev { transition: none; } .btn:active { transform: none; } }

/* Header */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--ground); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 42px; width: auto; display: block; }
.mainnav { display: none; gap: 20px; }
.mainnav a { text-decoration: none; font-size: 15.5px; font-weight: 500; position: relative; padding: 6px 0; white-space: nowrap; }
.mainnav a:hover { color: var(--o-t); }
.mainnav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--o); }
.hdr-phone { display: none; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.hdr-phone svg { width: 16px; height: 16px; color: var(--o); }
.hdr-cta { display: none; min-height: 44px; padding: 10px 18px; font-size: 15px; white-space: nowrap; }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1080px) { .mainnav { display: flex; } .hdr-cta { display: inline-flex; } .burger { display: none; } }
@media (min-width: 1280px) { .hdr-phone { display: inline-flex; } .mainnav { gap: 24px; } }
.drawer { display: none; background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 99; max-height: calc(100vh - 72px); overflow-y: auto; }
.drawer.open { display: block; }
@media (min-width: 1080px) { .drawer, .drawer.open { display: none; } }
.drawer .wrap { padding-top: 8px; padding-bottom: 24px; }
.drawer a:not(.btn) { display: block; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.drawer .btn { width: 100%; margin-top: 20px; }

/* Hero: black band, orange rule, slowly turning gears from the logo */
.hero { background: var(--band); color: #fff; position: relative; overflow: hidden; padding: 56px 0 60px; }
@media (min-width: 900px) { .hero { padding: 96px 0 92px; } }
.hero .eyebrow { color: var(--o); }
.hero .rule { width: 64px; height: 4px; background: var(--o); margin-bottom: 26px; }
.hero h1 { max-width: 16ch; }
.hero .lede { margin: 22px 0 30px; color: #fff; }
.hero .btn-line { border-color: #fff; color: #fff; }
.hero .btn-line:hover { background: #fff; color: var(--ink); }
.hero-in { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1.25fr .9fr; gap: 56px; } }
.hero-gears { position: absolute; inset: 0; pointer-events: none; color: var(--o); }
.hero-gears svg { position: absolute; }
.hero-gears .g1 { width: 520px; height: 520px; right: -150px; top: -170px; color: #2A2A2B; animation: spin 60s linear infinite; }
.hero-gears .g2 { width: 300px; height: 300px; right: 250px; top: 250px; color: #3A2213; animation: spin 40s linear infinite reverse; }
@media (max-width: 979px) { .hero-gears .g2 { display: none; } .hero-gears .g1 { width: 360px; height: 360px; right: -180px; top: -120px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-gears svg { animation: none; } }

.hero-search { background: #fff; color: var(--ink); padding: 26px 24px; border-top: 4px solid var(--o); }
.hs-title { font-weight: 700; font-size: 20px; margin: 0 0 16px; }
.hero-search .btn { width: 100%; }
.hs-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--o-t); text-decoration: none; }

.hero-sub { background: var(--alt); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
@media (min-width: 768px) { .hero-sub { padding: 60px 0 64px; } }
.hero-sub h1 { max-width: 22ch; font-size: clamp(30px, 5vw, 52px); }
.hero-sub .lede { margin: 18px 0 0; }
.hero-sub .btn-row { margin-top: 26px; }
.crumbs { font-size: 14px; font-weight: 500; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--o-t); text-decoration: underline; }
.crumbs b { font-weight: 600; }

/* Facts strip */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; }
.fact { padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 16px; }
.fact:nth-last-child(-n+2) { border-bottom: 0; }
.fact b { display: block; font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.fact span { display: block; font-size: 14px; font-weight: 500; margin-top: 4px; }
@media (min-width: 860px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .fact, .fact:nth-child(odd), .fact:nth-child(even) { padding: 30px 24px; border-bottom: 0; border-right: 1px solid var(--line); }
  .fact:first-child { padding-left: 0; } .fact:last-child { border-right: 0; }
}

/* Sections */
.sec { padding: 56px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .sec { padding: 84px 0; } }
.sec-tight { padding-top: 32px; }
.sec-alt { background: var(--alt); }
.sec-band { background: var(--band); color: #fff; border-bottom: 0; }
.sec-band .eyebrow { color: var(--o); }
.sec-head { margin-bottom: 34px; }
.sec-head h2 { max-width: 26ch; }
.sec-head p { margin: 14px 0 0; max-width: 62ch; font-size: 18px; }
.split { display: grid; gap: 40px; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.more { margin-top: 28px; }

/* Three routes in */
.paths { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 860px) { .paths { grid-template-columns: repeat(3, 1fr); } .paths:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .paths:has(> :nth-child(4)) { grid-template-columns: repeat(4, 1fr); } }
.path { background: var(--ground); padding: 28px 24px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: background .15s; }
.sec-alt .path { background: var(--ground); }
.path:hover { background: var(--ink); color: #fff; }
.path:hover .go, .path:hover .pi { color: var(--o); }
.path p { margin: 0; flex: 1; font-size: 15.5px; }
.pi { width: 42px; height: 42px; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.path:hover .pi { border-color: var(--o); }
.pi svg { width: 22px; height: 22px; }
.go { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--o-t); }

/* Jobs */
.joblist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .joblist { grid-template-columns: 1fr 1fr; } }
.jobcard { background: var(--ground); padding: 24px 22px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: background .15s; }
.jobcard:hover { background: var(--alt); }
.sec-alt .jobcard:hover { background: #fff; outline: 2px solid var(--ink); outline-offset: -2px; }
.jobcard h3 { font-size: 21px; }
.jobcard p { margin: 0; font-size: 15.5px; flex: 1; }
.meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; font-weight: 600; }
.meta li { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 16px; height: 16px; color: var(--o); flex: none; }
.lbls { display: flex; gap: 6px; flex-wrap: wrap; }
.lbl { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; font: 600 13px/1 var(--font); color: #fff; background: var(--ink); min-width: 92px; justify-content: center; }
.t-perm { background: var(--green); } .t-temp { background: var(--o-t); } .t-con { background: var(--blue); } .t-sample { background: var(--graphite); } .t-closed { background: var(--red); }

.jobsearch { display: grid; gap: 0 14px; grid-template-columns: 1fr; align-items: end; padding-bottom: 8px; }
@media (min-width: 700px) { .jobsearch { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .jobsearch { grid-template-columns: 1.4fr 1.1fr 1.1fr .8fr auto; } .jobsearch .btn { margin-bottom: 18px; } }
.count { font-size: 15.5px; margin: 8px 0 18px; }
.count a { margin-left: 10px; color: var(--o-t); font-weight: 600; }
.empty { border: 1px solid var(--line); padding: 36px 28px; }
.empty h2 { font-size: 24px; margin-bottom: 10px; }

.jobfacts { list-style: none; padding: 0; margin: 26px 0 4px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .jobfacts { grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 40px; } }
.jobfacts li { display: flex; gap: 10px; align-items: flex-start; }
.jobfacts svg { width: 22px; height: 22px; color: var(--o); flex: none; margin-top: 2px; }
.jobfacts b { display: block; font-size: 14px; font-weight: 500; }
.jobfacts span { font-weight: 600; font-size: 16px; line-height: 1.35; }
.jobgrid { display: grid; gap: 44px; }
@media (min-width: 960px) { .jobgrid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
.side { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 960px) { .side { position: sticky; top: 100px; align-self: start; } }
.consult { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); padding: 18px; }
.consult img { width: 72px; height: 72px; object-fit: cover; flex: none; }
.consult .lab { margin: 0 0 2px; font-size: 14px; font-weight: 500; }
.consult b, .consult span, .consult a { display: block; }
.consult span { font-size: 14px; font-weight: 500; }
.consult a { font-weight: 600; color: var(--o-t); text-decoration: none; margin-top: 4px; }
.sidebox { border: 1px solid var(--line); padding: 22px; }
.sidebox h3 { font-size: 18px; margin-bottom: 8px; }
.sidebox p { font-size: 15px; }
.sidelink { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-decoration: none; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.sidelink .chev { color: var(--o); }

/* Long-form text */
.post { max-width: 70ch; }
.post h2 { font-size: clamp(23px, 2.8vw, 30px); margin: 1.6em 0 .5em; }
.post h3 { margin: 1.4em 0 .4em; }
.post > .lede { margin-bottom: 1.4em; }
.post ul { padding-left: 22px; margin: 0 0 1.1em; }
.post li { margin-bottom: .4em; }
.post a, .prose a:not(.btn) { color: var(--o-t); font-weight: 600; text-underline-offset: 3px; }
.prose h3 { margin: 1.6em 0 .6em; }
.promise { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; padding: 6px 0; color: var(--o-t); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 16px; background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5 6.5 12 13.5 4' fill='none' stroke='%23E45D0E' stroke-width='2.6'/%3E%3C/svg%3E") no-repeat center / contain; }
.sec-band .checklist li { border-color: var(--band-line); }
.roles { list-style: none; padding: 0; margin: 16px 0 0; columns: 1; }
@media (min-width: 620px) { .roles { columns: 2; column-gap: 28px; } }
.roles li { padding: 10px 0 10px 20px; border-bottom: 1px solid var(--line); position: relative; break-inside: avoid; font-weight: 500; }
.roles li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; background: var(--o); }

/* Why list on black */
.why { display: grid; }
@media (min-width: 860px) { .why { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.why > div { padding: 26px 0; border-top: 1px solid var(--band-line); }
.why h3 { margin-bottom: 8px; }
.why p { margin: 0; font-size: 16px; }
.why .n { display: block; font-family: var(--mono); font-size: 13px; color: var(--o); letter-spacing: .12em; margin-bottom: 10px; font-weight: 600; }

/* Disciplines grid */
.disc { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .disc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .disc { grid-template-columns: repeat(3, 1fr); } }
.disc a { background: var(--ground); padding: 20px 22px; min-height: 76px; text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; transition: background .15s, color .15s; }
.disc a em { display: block; font-style: normal; font-weight: 500; font-size: 14px; margin-top: 2px; }
.disc a .chev { color: var(--o); }
.disc a:hover { background: var(--o); color: #fff; }
.disc a:hover .chev { color: #fff; }
.ind { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
@media (min-width: 800px) { .ind { grid-template-columns: 1fr 1fr; } }
.ind a { background: var(--ground); padding: 24px; text-decoration: none; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; }
.ind a b { font-size: 19px; }
.ind a span { grid-column: 1; font-size: 15px; font-weight: 500; }
.ind a .chev { grid-row: 1 / span 2; grid-column: 2; color: var(--o); }
.ind a:hover { background: var(--ink); color: #fff; }

/* Logos, quotes */
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logos div { background: #fff; min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 20px 26px; }
.logos img { max-width: 200px; max-height: 70px; width: 100%; object-fit: contain; }
@media (max-width: 600px) { .logos div { min-height: 90px; padding: 14px; } }
.quotes { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 800px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { background: var(--ground); margin: 0; padding: 28px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 500; }
.quote figcaption { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.quote figcaption::before { content: ""; width: 24px; height: 3px; background: var(--o); }

/* CTA band */
.cta { background: var(--o); color: #fff; padding: 56px 0; }
@media (min-width: 768px) { .cta { padding: 76px 0; } }
.cta h2 { max-width: 22ch; }
.cta p { max-width: 56ch; margin: 16px 0 26px; font-size: 18px; font-weight: 500; }

/* Footer */
.ftr { background: var(--band); color: #fff; padding: 56px 0 104px; font-size: 15px; }
@media (min-width: 900px) { .ftr { padding-bottom: 32px; } }
.ftr-grid { display: grid; gap: 32px; margin-bottom: 40px; }
@media (min-width: 700px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ftr-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; } }
.ftr-logo img { width: 200px; height: auto; display: block; margin-bottom: 18px; }
.ftr h3 { font-size: 15px; font-weight: 700; color: var(--o); margin-bottom: 12px; }
.ftr a { color: #fff; text-decoration: none; display: block; padding: 4px 0; }
.ftr a:hover { color: var(--o); }
.ftr address { font-style: normal; line-height: 1.7; margin-bottom: 14px; }
.legal { border-top: 1px solid var(--band-line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }
.legal a { display: inline; margin-left: 18px; }
.legal span:last-child a:first-child { margin-left: 0; }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: 1fr 1fr; background: var(--ground); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; text-decoration: none; font-weight: 700; }
.mbar a svg { width: 18px; height: 18px; }
.mbar .primary { background: var(--o); color: #fff; }
@media (min-width: 900px) { .mbar { display: none; } }

/* Forms */
.formwrap { background: var(--ground); border: 2px solid var(--ink); padding: 26px 22px; }
@media (min-width: 768px) { .formwrap { padding: 34px 32px; } }
.fh { font-size: 26px; margin-bottom: 8px; }
.fsub { font-size: 15.5px; font-weight: 500; margin-bottom: 22px; }
.fgroup { font-size: 17px; font-weight: 700; margin: 10px 0 12px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; }
.hint { font-weight: 500; font-size: 13px; }
.field input, .field textarea, .field select { width: 100%; font: 400 16px var(--font); padding: 12px 14px; min-height: 50px; color: var(--ink); background: #fff; border: 1.5px solid #CFCBC5; border-radius: 2px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%23111' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--o); outline-offset: 0; border-color: var(--o); }
.field input[type="file"] { padding: 9px 10px; cursor: pointer; }
.field input[type="file"]::file-selector-button { font: 600 14px var(--font); background: var(--ink); color: #fff; border: 0; border-radius: 2px; padding: 9px 15px; margin-right: 14px; cursor: pointer; }
.field-row { display: grid; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; gap: 0 16px; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; font-weight: 500; margin: 14px 0 0; }
.form-msg { padding: 14px 16px; font-size: 15.5px; font-weight: 600; margin-bottom: 18px; background: var(--red); color: #fff; }
.form-msg.ok { background: var(--green); }
.form-msg.wait { background: var(--ink); }
.form-msg a { color: #fff; }
.formwrap .btn { width: 100%; }
@media (min-width: 620px) { .formwrap .btn { width: auto; } }
form.done .field, form.done .field-row, form.done .btn, form.done .form-note, form.done .fgroup, form.done .picked { display: none; }

/* CV optimiser */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--ground); padding: 26px 24px; }
.step .n { display: block; font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.03em; color: var(--o); margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: 15.5px; }
.tips { padding-left: 0; list-style: none; counter-reset: t; margin: 22px 0; }
.tips li { counter-increment: t; position: relative; padding: 14px 0 14px 46px; border-bottom: 1px solid var(--line); font-weight: 500; }
.tips li::before { content: counter(t); position: absolute; left: 0; top: 13px; width: 30px; height: 30px; background: var(--o); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.preview { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cvx { width: 100%; background: #fff; border: 1px solid var(--line); padding: 28px 28px 32px; font-size: 14px; line-height: 1.5; }
.cvx-logo { width: 150px; display: block; }
.cvx-bar { height: 3px; background: var(--o); margin: 10px 0 18px; }
.cvx-name { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.15; }
.cvx-role { color: var(--o-t); font-weight: 700; margin: 4px 0 0; }
.cvx-contact { font-size: 13px; font-weight: 500; margin: 6px 0 0; }
.cvx-h { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--o-t); border-bottom: 1px solid var(--line); padding-bottom: 5px; margin: 20px 0 10px; }
.cvx p { margin: 0 0 6px; }
.cvx ul { margin: 0 0 6px; padding-left: 18px; }
.cvx li::marker { color: var(--o); }
.cvx-cols { columns: 2; column-gap: 24px; }
.cvx-job { margin-bottom: 12px; }
.cvx-job > p:first-child { display: flex; justify-content: space-between; gap: 12px; }
.cvx-job span { font-weight: 700; font-size: 13px; white-space: nowrap; }
.cvx-co { color: var(--o-t); font-weight: 700; }
@media (max-width: 560px) { .cvx { padding: 20px 18px; } .cvx-cols { columns: 1; } }

/* Drawn CV page used as a picture */
.cvmock { display: flex; justify-content: center; perspective: 1200px; }
.cvpage { color: var(--ink); width: min(360px, 100%); aspect-ratio: 1 / 1.3; background: #fff; border: 1px solid var(--line); padding: 26px 26px; display: flex; flex-direction: column; gap: 7px; transform: rotate(-2deg); transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.cvmock:hover .cvpage { transform: rotate(0) translateY(-4px); }
.hero-cv .cvpage { border: 0; }
.cvhead img { width: 120px; display: block; }
.cvbar { height: 3px; background: var(--o); margin: 4px 0 8px; }
.cvname { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.cvrole { font-weight: 700; font-size: 12px; color: var(--o-t); margin-bottom: 4px; }
.cvh { font: 700 9px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--o-t); border-bottom: 1px solid var(--line); padding-bottom: 3px; margin-top: 6px; }
.cvpage i { display: block; height: 6px; background: #E6E3DE; }
.cvpage i.s { width: 62%; }
.cvpage b { display: block; height: 8px; width: 48%; background: var(--ink); margin-top: 4px; }
.cvcols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cvcols span { display: flex; flex-direction: column; gap: 6px; }
@media (prefers-reduced-motion: reduce) { .cvpage { transition: none; transform: none; } }

/* Employers */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc { background: var(--ground); padding: 24px; }
.svc h3 { margin-bottom: 8px; }
.svc p { margin: 0; font-size: 15.5px; }
.svc-link { text-decoration: none; background: var(--ink); color: #fff; }
.svc-link p { display: inline-flex; align-items: center; gap: 8px; color: var(--o); font-weight: 600; }
.cases { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 860px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { background: var(--ground); padding: 26px 24px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 17px; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2.5px solid var(--o); border-bottom: 2.5px solid var(--o); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 0 18px; max-width: 68ch; }
.faq .a p { margin: 0; }

/* Advice list */
.postlist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 800px) { .postlist { grid-template-columns: 1fr 1fr; } }
.postcard { background: var(--ground); padding: 28px 24px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: background .15s, color .15s; }
.postcard:hover { background: var(--ink); color: #fff; }


.postcard p { margin: 0; font-size: 15.5px; }

/* Team */
.team { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member { background: var(--ground); padding: 0 0 20px; display: flex; flex-direction: column; }
.member img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 18px 18px 0; background: #fff; display: block; margin-bottom: 16px; }
.member h3, .member p, .member .tel { padding: 0 18px; }
.member h3 { font-size: 19px; }
.member .role { font-size: 14.5px; font-weight: 600; color: var(--o-t); margin: 4px 0 10px; }
.member .tel { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; font-size: 14.5px; margin-top: auto; }
.member .tel svg { width: 15px; height: 15px; color: var(--o); }

/* Contact */
.cblock { border-top: 1px solid var(--line); padding: 20px 0; }
.cblock h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.cblock a { display: block; text-decoration: none; font-size: 18px; font-weight: 600; padding: 3px 0; }
.cblock a:hover { color: var(--o-t); }
.cblock address { font-style: normal; font-size: 17px; font-weight: 500; }

/* Booking */
.days { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.day, .slot { font: 600 15px var(--font); padding: 12px 14px; min-height: 48px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); border-radius: 2px; cursor: pointer; transition: background .12s, color .12s, transform .18s cubic-bezier(.3,1.6,.5,1); }
.day:active, .slot:active { transform: scale(.95); }
.day.on, .day:hover { background: var(--ink); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slots[hidden] { display: none; }
.slot.on, .slot:hover { background: var(--o); border-color: var(--o); color: #fff; }
.tz { color: var(--ink); font-weight: 500; margin-left: 8px; }
.picked { font-weight: 700; font-size: 17px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.picked.set { color: var(--o-t); }

/* Reveal on scroll (gated on .js so nothing stays hidden without JavaScript) */

/* Chat */
.chat-fab { position: fixed; right: 16px; bottom: 74px; z-index: 130; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--o); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s cubic-bezier(.3,1.6,.5,1), background .15s; }
.chat-fab:hover { background: var(--o-h); }
.chat-fab:active { transform: scale(.92); }
.chat-fab svg { width: 26px; height: 26px; }
@media (min-width: 900px) { .chat-fab { bottom: 24px; right: 24px; } }
.chat-panel { position: fixed; right: 12px; bottom: 140px; z-index: 130; width: min(380px, calc(100vw - 24px)); height: min(500px, calc(100vh - 170px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ink); }
@media (min-width: 900px) { .chat-panel { bottom: 92px; right: 24px; } }
.chat-panel[hidden], .chat-fab[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--ink); color: #fff; }
.chat-x { border: 0; background: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 86%; padding: 10px 13px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg a { color: var(--o-t); font-weight: 600; }
.chat-msg.bot { align-self: flex-start; background: var(--alt); }
.chat-msg.you { align-self: flex-end; background: var(--ink); color: #fff; }
.chat-msg.wait { align-self: flex-start; font-weight: 500; padding: 2px 4px; }
.chat-form { display: flex; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; border: 0; padding: 14px; font: 15px var(--font); color: var(--ink); outline-offset: -2px; }
.chat-form button { border: 0; background: var(--o); color: #fff; padding: 0 20px; font: 600 15px var(--font); cursor: pointer; }
.chat-form button:disabled { opacity: .6; }

/* Admin */
.admin .hdr .wrap { height: 64px; }
.adm-t { font-weight: 700; margin-right: auto; }
.admin .brand { margin-right: 14px; }
.admin .brand img { height: 34px; }
.adminnav { border-bottom: 1px solid var(--line); background: var(--alt); }
.adminnav .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-top: 10px; padding-bottom: 10px; }
.adminnav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; position: relative; }
.adminnav a[aria-current="page"] { font-weight: 700; }
.adminnav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--o); }
.adm { padding-top: 30px; padding-bottom: 60px; }
.adm h1 { font-size: 32px; margin-bottom: 18px; }
.adm h2 { font-size: 22px; margin: 34px 0 14px; }
.adm-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.adm-head h1 { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { background: #fff; padding: 22px; text-decoration: none; }
.tile b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.tile span { font-weight: 600; }
.tile:hover { background: var(--ink); color: #fff; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); }
.tbl { border-collapse: collapse; width: 100%; font-size: 14.5px; background: #fff; }
.tbl th { text-align: left; font-size: 13.5px; font-weight: 700; padding: 12px 14px; background: var(--alt); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl a { color: var(--o-t); font-weight: 600; }
.tbl small { font-size: 13px; }
.emptyline { font-weight: 500; padding: 18px 0; }
.warnline { background: var(--ink); color: #fff; padding: 14px 16px; font-weight: 500; }
.okline { background: var(--green); color: #fff; padding: 12px 16px; font-weight: 600; }
.mailbody { padding: 12px 0; }
.jobform { max-width: 860px; }
.jobform textarea { font-family: var(--font); }
/* Admin: visits */
.arange { margin: 6px 0 22px; }
.alive { font-weight: 600; margin-left: 8px; }
.abars { display: grid; gap: 8px; margin: 8px 0 28px; }
.abar { display: grid; grid-template-columns: minmax(120px, 280px) 1fr 52px; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 500; }
.abar-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abar-t { height: 14px; background: var(--alt); }
.abar-t i { display: block; height: 100%; background: var(--o); }
.abar b { text-align: right; }
.acols { display: grid; gap: 0 48px; }
@media (min-width: 900px) { .acols { grid-template-columns: 1fr 1fr; } }
.cmap { position: relative; overflow: hidden; border: 2px solid var(--ink); margin: 14px 0 30px; }
.cmap iframe { display: block; height: 900px; border: 0; transform-origin: 0 0; background: #fff; }
@media (max-width: 600px) { .abar { grid-template-columns: 110px 1fr 40px; } }
