/* =====================================================================
   Lucky Buildcon Infrastructure — style.css (v3, multi-page)
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Top strip + header · 5 Hero + stats
   6 About + team · 7 Services · 8 CTA band · 9 Machinery · 10 Clients
   11 Projects · 12 Enquiry · 13 Footer + floating actions · 14 Lightbox
   15 Motion · 16 Print · 17 Multi-page parts (banner, breadcrumbs, services menu, page blocks)
   Self-hosted fonts (Inter body, Barlow headings; assets/fonts, OFL), CSS nesting, clamp() fluid type.
   Works in 2023+ evergreen browsers. One stylesheet, no external requests.
   ===================================================================== */

/* ---------- 0. Fonts: self-hosted, latin subset, swap + metric-matched fallbacks (no layout jump) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+20B9, U+2190, U+2192, U+2212; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+20B9, U+2190, U+2192, U+2212; }
/* local Arial / Helvetica resized to the web font's metrics, so text hardly moves when the real font arrives */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback"; font-weight: 600 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 92.3%; ascent-override: 108.3%; descent-override: 21.7%; line-gap-override: 0%; }

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #0b1230;          /* dark sections */
  --navy-2: #172058;
  --brand: #4a22c8;         /* purple-blue from the LR logo text; 8:1 on white */
  --brand-d: #3a18a8;
  --orange: #f58220;        /* orange of the L in the logo; CTA colour (navy text on it = 7:1) */
  --amber: #ffb800;
  --ink: #0b1230;
  --paper: #f5f6fc;
  --paper-2: #ebedf9;
  --card: #fff;
  --line: #dcdff0;
  --text: #14172b;
  --muted: #545a72;         /* 6.4:1 on white, 5.6:1 on --paper-2 */
  --wa: #158040;            /* white text on this = 5.0:1 */
  --ring: var(--navy);      /* focus ring colour; white on dark sections */
  --danger: #b3261e;
  --radius: 20px;
  --radius-sm: 12px;
  --pad-x: clamp(20px, 5vw, 48px);
  --max: 1240px;
  --gap: clamp(12px, 1.6vw, 20px);
  --space: clamp(64px, 8vw, 112px);       /* vertical padding of every section */
  --space-l: clamp(32px, 4.5vw, 52px);    /* section heading -> content */
  --space-m: clamp(28px, 4vw, 44px);
  --space-s: clamp(14px, 2vw, 20px);
  --h2: clamp(2.05rem, 1.25rem + 3.1vw, 3.5rem);
  --measure: 65ch;
  --font: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Barlow", "Barlow Fallback", "Arial Narrow", ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow-s: 0 1px 2px rgb(11 18 48 / .06), 0 6px 18px -8px rgb(11 18 48 / .18);
  --shadow: 0 1px 2px rgb(11 18 48 / .06), 0 18px 40px -16px rgb(11 18 48 / .28);
  --panel: #1a1262;        /* deep purple-navy of the mobile menu panel; white on it 16:1, amber 9:1 */
  --header-h: 76px;        /* JS keeps this equal to the real header height */
  color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
/* lock page scroll while the lightbox is open (JS class + :has() enhancement; kept as separate rules so an old browser ignoring :has() still gets the class rule) */
html.lb-open { overflow: hidden; }
html:has(dialog[open]) { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--paper);
  font-size: clamp(1rem, .96rem + .1vw, 1.0625rem); line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; font-optical-sizing: auto; font-kerning: normal;
}
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -.005em; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
b { font-weight: 700; }
/* two-tone focus ring: amber inner ring + dark (or white on dark sections) outer outline */
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--amber); }
.topbar, .hero, .banner, .band-stats, .band-cta, .enquiry, .site-footer, .lightbox, .skip, .mission, .svc-more, .tile-more, .float-wa { --ring: #fff; }
.form-card { --ring: var(--navy); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700;
  &:focus { top: 12px; } }
abbr { text-decoration: none; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.noscript { margin: 0; padding: 14px 20px; background: var(--amber); color: var(--navy); text-align: center; position: relative; z-index: 60; }
.nojs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; margin-top: 8px;
  li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 600; } }
.nojs-clients { grid-template-columns: 1fr; gap: 0; li { border-radius: 0; font-weight: 600; span { font-weight: 400; color: var(--muted); } span::before { content: "\2014  "; } } }
.nojs-note { margin-top: 14px; }
.nojs-form { padding: 28px; h3 { margin-bottom: 10px; } .row { display: flex; flex-wrap: wrap; gap: 10px; } }
html:not(.js) #enquiry-form { display: none; }
html:not(.js) .float-enquiry, html:not(.js) .float-wa { display: none; }

/* ---------- 3. Layout ---------- */
.wrap { width: min(100% - 2 * var(--pad-x), var(--max)); margin-inline: auto; }
.section { padding-block: var(--space); }
.section-alt { background: var(--paper-2); }
.sec-head { margin: 0 auto var(--space-l); text-align: center; max-width: 780px;
  .lead { margin: var(--space-s) auto 0; } }
/* section titles: a regular-weight phrase + a bold accent phrase */
h2 { font-size: var(--h2); font-weight: 700; b { font-weight: 700; color: var(--brand); } }
.sec-head h2, .team-copy h2, .enquiry-copy h2 { margin: 0; }
.team-copy h2, .enquiry-copy h2 { margin-bottom: var(--space-s); }
/* sub-headings inside a section (Trusted by, Work sites, Fleet register, each photo group) */
.sub-h, .fleet h3, .pg-head h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); letter-spacing: 0; margin: 0 0 var(--space-s); }
/* balanced card grids: every row has the same column count, a short last row is centred (no lopsided orphan) */
.machines, .gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); --cols: 2;
  > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; } }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .95rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
  &::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--orange); }
  .sec-head & { justify-content: center; &::after { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--orange); } } }
.lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.1875rem); line-height: 1.65; color: var(--muted); max-width: var(--measure); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 2px solid transparent; border-radius: 999px;
  background: var(--orange); color: var(--navy); font: inherit; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .2s, background-color .2s, box-shadow .2s, border-color .2s, color .2s;
  @media (hover: hover) { &:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgb(245 130 32 / .85); } }
  &:active { transform: none; }
  &.btn-sm { min-height: 44px; padding: 0 20px; font-size: 1.02rem; }
  &.btn-brand { background: var(--brand); color: #fff; @media (hover: hover) { &:hover { background: var(--brand-d); box-shadow: 0 12px 24px -10px rgb(74 34 200 / .8); } } }
  &.btn-ghost { background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .55); backdrop-filter: blur(6px);
    &:hover { background: rgb(255 255 255 / .2); box-shadow: none; } }
  &.btn-wa { background: var(--wa); color: #fff; @media (hover: hover) { &:hover { box-shadow: 0 12px 24px -10px rgb(21 128 64 / .8); } } }
  &.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); &:hover { background: var(--navy); color: #fff; box-shadow: none; } }
  &.btn-line { background: transparent; color: var(--brand); border-color: var(--brand); min-height: 44px; padding: 0 20px; font-size: 1.02rem; &:hover { background: var(--brand); color: #fff; box-shadow: none; } }
  svg { width: 20px; height: 20px; }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- 4. Top strip + header ---------- */
.topbar { background: var(--navy); color: rgb(255 255 255 / .86); font-size: .875rem;
  a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; &:hover { color: var(--amber); } @media (pointer: coarse) { min-height: 44px; } }
  svg { width: 16px; height: 16px; color: var(--amber); }
  .topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 4px 24px; flex-wrap: wrap; }
  .topbar-r { display: flex; align-items: center; gap: 4px 24px; flex-wrap: wrap; }
  .topbar-loc { display: inline-flex; align-items: center; gap: 8px; } }
@media (max-width: 759px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
  .bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 8px 16px; padding-block: 10px; }
  &.scrolled { box-shadow: 0 8px 24px -14px rgb(11 18 48 / .35); .brand { transform: scale(.86); } } }
.brand { display: flex; min-height: 44px; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); transform-origin: left center; transition: transform .25s;
  img { flex: none; width: 62px; height: 51px; object-fit: cover; object-position: 50% 0; }   /* new logo: the artwork only (name is the wordmark beside it); the cropped part is the SVG's own text lines */
  span { display: grid; line-height: 1.15; min-width: 0; }
  strong { font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .005em; font-weight: 700; @media (min-width: 1180px) { white-space: nowrap; } }
  small { font-family: var(--font-head); font-size: .82rem; font-weight: 700; color: var(--brand); letter-spacing: .1em; text-transform: uppercase; }
  @media (max-width: 380px) { strong { font-size: 1rem; letter-spacing: 0; } small { font-size: .74rem; } gap: 8px; } }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 26px);
  @media (min-width: 1180px) { .btn, a:not(.btn) { white-space: nowrap; } }
  .nav-top, .nav-cta { display: none; }
  a:not(.btn) { text-decoration: none; font-family: var(--font-head); font-size: .96rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); padding-block: 8px; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
    &:hover { color: var(--brand); border-color: var(--orange); }
    &.active { color: var(--brand); border-color: var(--orange); } } }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 12px; cursor: pointer; place-items: center;
  svg { width: 22px; height: 22px; stroke-width: 2; }
  path { transition: transform .25s, opacity .2s; transform-origin: center; transform-box: fill-box; }
  &[aria-expanded="true"] { .l1 { transform: translateY(5px) rotate(45deg); } .l2 { opacity: 0; } .l3 { transform: translateY(-5px) rotate(-45deg); } } }
@media (max-width: 560px) { .brand { gap: 10px; img { width: 52px; height: 43px; } } }
@media (min-width: 1180px) and (max-width: 1339px) {
  .brand strong { font-size: 1.05rem; } .brand img { width: 54px; height: 44px; } .brand small { font-size: .74rem; }
  .nav { gap: 12px; a:not(.btn) { font-size: .88rem; letter-spacing: .05em; } .btn-sm { padding: 0 16px; } }
}
@media (max-width: 1179px) {
  html:not(.js) .site-header { position: static; }
  html:not(.js) .bar { flex-wrap: wrap; }
  html:not(.js) .nav { width: 100%; flex-wrap: wrap; gap: 4px 18px; padding-bottom: 8px; }
  .js .menu-btn { display: grid; }
  .js .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .js .bar { position: relative; z-index: 1; }
  /* full-screen brand-colour panel under the header bar (large uppercase items, Services accordion, call block at the bottom) */
  .js .nav { --ring: #fff; position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: stretch; gap: 0; color: #fff;
    padding: calc(var(--panel-top, 72px) + 6px) var(--pad-x) max(28px, env(safe-area-inset-bottom)); background: var(--panel);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
    &.open { visibility: visible; opacity: 1; }
    .nav-top { display: flex; align-items: center; min-height: 52px; margin-bottom: 6px; border-bottom: 1px solid rgb(255 255 255 / .18);
      span { font-family: var(--font-head); font-size: .95rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); } }
    a:not(.btn) { display: flex; align-items: center; min-height: 64px; padding: 8px 0; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.7rem); font-weight: 700; letter-spacing: .12em; color: #fff; border-bottom: 0;
      &:hover { color: var(--amber); } &.active { color: var(--amber); box-shadow: none; padding-left: 0; } }
    > .btn-sm { display: none; }
    .nav-cta { display: grid; gap: 12px; margin-top: auto; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .18);
      .btn { min-height: 56px; width: 100%; margin: 0; svg { width: 20px; height: 20px; } }
      .btn-ghost { background: transparent; }
      .nav-addr { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 0; font-size: .875rem; color: rgb(255 255 255 / .8); svg { width: 16px; height: 16px; color: var(--amber); } } } }
  /* header bar turns the same colour while the panel is open */
  html.menu-open { overflow: hidden; background: var(--panel); }
  html.menu-open .site-header { background: var(--panel); border-bottom-color: rgb(255 255 255 / .18); box-shadow: none; }
  html.menu-open .brand { color: #fff; small { color: var(--amber); } img { background: #fff; border-radius: 10px; outline: 3px solid #fff; } }
  html.menu-open .menu-btn { background: transparent; color: #fff; border-color: rgb(255 255 255 / .55); }
}

/* ---------- 5. Hero + stats band ---------- */
.hero { position: relative; isolation: isolate; min-height: clamp(540px, 84svh, 800px); display: grid; align-items: center; color: #fff; background: var(--navy); overflow: clip;
  padding: clamp(56px, 8vw, 96px) 0;
  &::after { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgb(11 18 48 / .9) 0%, rgb(11 18 48 / .7) 42%, rgb(11 18 48 / .22) 100%), linear-gradient(0deg, rgb(11 18 48 / .55), transparent 40%); }
}
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero-in { display: grid; justify-items: start; gap: 0; }
.hero h1, .hero .slide-h { margin: 0; font-size: clamp(2.4rem, 1.3rem + 3.7vw, 4.5rem); max-width: 19ch; line-height: 1.04; letter-spacing: -.01em; font-weight: 700; color: #fff; text-shadow: 0 2px 22px rgb(0 0 0 / .35);
  span { display: block; color: var(--amber); font-weight: 700; } }
.hero .lead { color: rgb(255 255 255 / .86); margin-top: 22px; max-width: 54ch; }
.hero .eyebrow { color: var(--amber); }

/* home slider: clean full-width photo slider. Slides share one grid cell, so the box is as tall as the tallest slide and nothing moves when slides change.
   Slow cross-fade, one short heading + one line + one or two buttons, small chevrons (on hover on desktop), plain dots. */
.hero.slider { display: block; min-height: 0; padding: 0; background: var(--navy); &::after { content: none; } }
.slides { display: grid; touch-action: pan-y; }
.slide { grid-area: 1 / 1; position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(460px, 70svh, 660px); padding: clamp(56px, 6vw, 80px) 0 clamp(84px, 8vw, 100px); overflow: clip;
  visibility: hidden; opacity: 0; transition: opacity 1.2s ease-in-out, visibility 1.2s;
  &.is-active { visibility: visible; opacity: 1; z-index: 1; }
  /* readability: one calm dark wash, stronger on the text side and at the foot (dots) */
  &::after { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgb(9 14 30 / .8) 0%, rgb(9 14 30 / .58) 48%, rgb(9 14 30 / .22) 100%), linear-gradient(0deg, rgb(9 14 30 / .5), transparent 38%); } }
@media (max-width: 759px) {
  .slide::after { background: linear-gradient(180deg, rgb(9 14 30 / .55) 0%, rgb(9 14 30 / .72) 55%, rgb(9 14 30 / .86) 100%); } }
.slide-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.slide-in { display: grid; justify-items: start; gap: 0; }
.slider .slide .slide-h { margin: 0; max-width: 20ch; font-size: clamp(2rem, 1.15rem + 2.9vw, 3.5rem); line-height: 1.1; letter-spacing: -.005em; font-weight: 700; color: #fff; text-shadow: none; }
.slider .slide .lead { color: rgb(255 255 255 / .9); margin-top: 14px; max-width: 44ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.slider .slide .actions { margin-top: 26px; }
html:not(.js) .slide:not(.is-active) { display: none; }

.slider-ctl { position: absolute; inset: 0; z-index: 3; pointer-events: none; --ring: #fff;
  > * { pointer-events: auto; }
  &[hidden] { display: none; } }
.sl-dots { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; }
.sl-dot { flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; --ring: #fff;
  span { display: block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .85); background: transparent; transition: background-color .3s, transform .3s; }
  @media (hover: hover) { &:hover span { background: rgb(255 255 255 / .55); } }
  &[aria-current="true"] span { background: #fff; transform: scale(1.15); } }
.sl-arrow { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 52px; height: 64px; padding: 0; border: 0; border-radius: var(--radius-sm); background: rgb(9 14 30 / .28); color: #fff; cursor: pointer;
  transition: opacity .3s, background-color .2s;
  svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  &:hover { background: rgb(9 14 30 / .6); }
  &.sl-prev { left: clamp(8px, 2vw, 28px); } &.sl-next { right: clamp(8px, 2vw, 28px); } }
/* mouse users: arrows fade in when the pointer is over the slider (or a control has keyboard focus); on phones swipe and the dots do the job */
@media (hover: hover) and (pointer: fine) and (min-width: 760px) {
  .sl-arrow { opacity: 0; }
  .slider:hover .sl-arrow, .slider:has(:focus-visible) .sl-arrow { opacity: 1; } }
@media (max-width: 759px) { .sl-arrow { display: none; } .sl-dots { bottom: 10px; } }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } .sl-dot span { transition: none; } }

.band-stats { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: #fff; padding-block: clamp(36px, 5vw, 56px);
  > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
  &::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(58 24 168 / .93), rgb(11 18 48 / .9)); } }
.stats { --ico: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px) clamp(12px, 3vw, 32px); margin: 0;
  > div { position: relative; display: flex; flex-direction: column-reverse; justify-content: center; min-height: var(--ico); padding-left: calc(var(--ico) + clamp(10px, 1.6vw, 18px)); }
  svg { position: absolute; left: 0; top: 50%; translate: 0 -50%; width: var(--ico); height: var(--ico); padding: clamp(9px, 1.2vw, 13px); border-radius: 50%; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .3); color: var(--amber); stroke-width: 1.6; }
  dd { margin: 0; font-family: var(--font-head); font-size: clamp(2.4rem, 1.4rem + 2.8vw, 3.7rem); font-weight: 700; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; }
  dt { font-size: clamp(.875rem, .8rem + .3vw, 1rem); color: rgb(255 255 255 / .82); line-height: 1.3; } }
.js .stats:not(.ready) dd { visibility: hidden; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 6. About, mission, why, team ---------- */
.about-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-m) clamp(32px, 5vw, 72px); align-items: center; }
.about-photo { margin: 0; position: relative; isolation: isolate;
  &::before { content: ""; position: absolute; z-index: -1; inset: 22px -14px -14px 22px; border-radius: var(--radius); background: linear-gradient(135deg, var(--orange), var(--amber)); opacity: .9; }
  img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper-2); } }
.about-copy { p { color: var(--muted); max-width: var(--measure); } > p:first-child { color: var(--text); font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); } }
.values { display: grid; gap: 14px; margin-top: var(--space-s);
  li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
  .ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 8px 18px -8px rgb(74 34 200 / .7); svg { width: 26px; height: 26px; } }
  h3 { font-size: 1.3rem; margin-bottom: 2px; } p { margin: 0; font-size: 1rem; } }
.mission { position: relative; isolation: isolate; overflow: clip; margin-top: var(--space-l); padding: clamp(28px, 5vw, 60px); border-radius: var(--radius); background: var(--navy); color: #fff;
  &::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgb(74 34 200 / .75), transparent 70%), radial-gradient(40% 80% at 0% 100%, rgb(245 130 32 / .35), transparent 70%); }
  &::after { content: "\201C"; position: absolute; z-index: -1; right: clamp(16px, 4vw, 48px); top: -.12em; font-size: clamp(8rem, 18vw, 16rem); line-height: 1; font-weight: 700; color: rgb(255 255 255 / .08); }
  .eyebrow { color: var(--amber); }
  blockquote { margin: 0; max-width: 40ch; font-family: var(--font-head); font-size: clamp(1.45rem, 1.1rem + 1.7vw, 2.35rem); line-height: 1.22; letter-spacing: 0; font-weight: 600; text-wrap: balance; }
  .sub { margin: 20px 0 0; color: rgb(255 255 255 / .78); font-size: 1rem; max-width: 60ch; } }
.why { margin-top: var(--space-l);
  h3 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 700; margin: 0 0 var(--space-s); b { color: var(--brand); } }
  .why-intro { color: var(--muted); max-width: var(--measure); margin: 0 0 var(--space-m); }
  .why-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); counter-reset: why;
    li { counter-increment: why; position: relative; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 26px clamp(18px, 2vw, 24px) clamp(18px, 2vw, 24px); font-size: 1rem; color: var(--muted); box-shadow: var(--shadow-s); transition: transform .25s, box-shadow .25s;
      @media (hover: hover) { &:hover { transform: translateY(-5px); box-shadow: var(--shadow); } }
      &::before { content: counter(why, decimal-leading-zero); position: absolute; top: -4px; right: 16px; padding: 4px 10px 6px; border-radius: 0 0 10px 10px; background: var(--orange); color: var(--navy); font-size: .85rem; font-weight: 700; }
      b { display: block; color: var(--text); font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: 0; line-height: 1.15; margin-bottom: 8px; padding-right: 36px; } } } }
@media (min-width: 640px) { .why .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .why .why-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) { .about-split { grid-template-columns: minmax(0, 1fr); } .about-photo { max-width: 560px; } }

.team { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-m) clamp(32px, 6vw, 88px); align-items: center; }
.team-photos { display: grid; grid-template-columns: minmax(0, 420px); justify-content: center; gap: var(--gap);
  &:has(figure:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); figcaption strong { font-size: 1rem; } figcaption span { font-size: .9rem; } }
  figure { margin: 0; background: var(--card); padding: 12px 12px 6px; border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow); }
  img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
  figcaption { display: grid; padding: 14px 6px 10px; line-height: 1.35; strong { font-size: 1.1rem; } span { font-size: 1rem; color: var(--brand); font-weight: 700; } } }
.team-copy { p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; max-width: var(--measure); } p:nth-of-type(3) { margin-bottom: 1.4em; } .btn { margin-top: 4px; } }
@media (max-width: 800px) { .team { grid-template-columns: minmax(0, 1fr); } }
/* home: founders (heading, one photo card per founder, short intro + buttons). One founder: card left, copy right. Two or more: cards side by side under a centred heading. */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head head" "cards copy"; gap: var(--space-s) clamp(32px, 6vw, 88px); align-items: center; }
.founder-head { grid-area: head; h2 { margin: 0; } }
.founder-cards { grid-area: cards; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.founder-copy { grid-area: copy; }
.founder-photo { margin: 0; justify-self: center; width: 100%; max-width: 400px; background: var(--card); padding: 12px 12px 6px; border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow);
  img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius); background: var(--paper-2); }
  figcaption { display: grid; padding: 14px 6px 10px; line-height: 1.35; strong { font-size: 1.1rem; } span { font-size: 1rem; color: var(--brand); font-weight: 700; } } }
.founder-note { margin: 0 0 var(--space-s); padding: 4px 0 4px clamp(16px, 2.2vw, 26px); border-left: 4px solid var(--orange); p { color: var(--muted); font-size: 1.12rem; max-width: var(--measure); margin: 0 0 .8em; &:last-child { margin: 0; } } }
.founder-cta { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 0; }
.founder-many { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "cards" "copy"; justify-items: center; text-align: center; gap: var(--space-s);
  .founder-head { justify-self: center; .eyebrow { justify-content: center; } }
  .founder-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 780px; gap: clamp(16px, 3vw, 32px); }
  .founder-photo { max-width: 360px; text-align: left; }
  .founder-copy { max-width: 760px; }
  .founder-note { border-left: 0; padding: 0; p { margin-inline: auto; } }
  .founder-cta { justify-content: center; } }
@media (max-width: 800px) {
  .founder { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "cards" "copy"; }
  .founder-photo { max-width: 340px; } .founder-cta .btn { flex: 1 1 100%; justify-content: center; }
  .founder-many .founder-cards { grid-template-columns: minmax(0, 1fr); max-width: 340px; } }

/* ---------- 7. Services: photo cards with an overlapping white panel ---------- */
.spec { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px var(--space-s); margin: calc(-1 * var(--space-s)) 0 var(--space-m);
  .spec-label { margin: 0; font-family: var(--font-head); font-size: .95rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); } }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px;
  .spec & { justify-content: center; }
  li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 1rem; font-weight: 600; line-height: 1.3; box-shadow: var(--shadow-s); } }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 48px) var(--gap); }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svc-card { display: flex; flex-direction: column; min-width: 0; transition: transform .3s;
  > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
  .body { position: relative; flex: 1; display: flex; flex-direction: column; margin: -52px 14px 0; padding: 30px 20px 20px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
  .badge { position: absolute; top: -28px; right: 18px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; border: 4px solid #fff; box-shadow: 0 6px 16px -6px rgb(74 34 200 / .7); svg { width: 26px; height: 26px; } }
  .num { font-family: var(--font-head); font-size: .95rem; font-weight: 700; letter-spacing: .14em; color: var(--orange-ink, #b14d00); }
  h3 { font-size: clamp(1.35rem, 1.15rem + .5vw, 1.55rem); color: var(--brand); margin: 4px 0 10px; padding-right: 44px; }
  p { margin: 0 0 14px; color: var(--muted); font-size: 1rem; }
  .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px;
    li { font-size: .84rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--navy); } }
  .points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 16px;
    li { font-size: 1rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; }
    b { display: block; color: var(--text); font-size: 1rem; } }
  .btn { margin-top: auto; align-self: flex-start; }
  @media (hover: hover) { &:hover { transform: translateY(-6px); } } }
.svc-more { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); color: #fff; box-shadow: var(--shadow);
  background: radial-gradient(90% 70% at 100% 0%, rgb(74 34 200 / .9), transparent 70%), var(--navy);
  h3 { font-size: clamp(1.55rem, 1.2rem + 1vw, 2rem); font-weight: 700; margin-bottom: 8px; }
  p { color: rgb(255 255 255 / .82); font-size: 1rem; }
  .btn { align-self: flex-start; margin-top: 6px; } .btn + .btn { margin-top: 10px; } }

/* Scroll-snap carousels on phones and small tablets: pure CSS, bleed to the screen edges */
@media (max-width: 859px) {
  .snap { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad-x);
    margin-inline: calc(-1 * var(--pad-x)); padding: 0 var(--pad-x) 14px; scrollbar-width: thin; scrollbar-color: var(--brand) transparent; -webkit-overflow-scrolling: touch;
    > * { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; scroll-snap-stop: normal; } }
  .services-grid.snap { padding-top: 6px; > .svc-card, > .svc-more { flex-basis: min(80vw, 330px); } }
  .logos.snap { display: grid; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: min(40vw, 190px); > * { flex: none; } }
  .gallery.snap { > li { flex: 0 0 min(68vw, 280px); } }
}

/* ---------- 8. CTA band ---------- */
.band-cta { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: #fff; padding-block: clamp(48px, 7vw, 80px);
  > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
  &::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgb(11 18 48 / .94) 0%, rgb(58 24 168 / .86) 60%, rgb(245 130 32 / .55) 130%); }
  .cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
  h2 { font-size: clamp(1.9rem, 1.2rem + 2.7vw, 3.05rem); max-width: 18ch; b { color: var(--amber); } }
  p { margin: 12px 0 0; color: rgb(255 255 255 / .86); max-width: 44ch; }
  .cta-links { display: grid; gap: 12px; }
  .cta-links a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 22px 0 8px; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .28); color: #fff; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; line-height: 1.25; transition: background-color .2s;
    &:hover { background: rgb(255 255 255 / .2); }
    svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--amber); color: var(--navy); } } }
@media (max-width: 599px) { .band-cta .cta-links a { font-size: .95rem; padding-right: 14px; } }

/* ---------- 9. Machinery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px;
  button, a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: all .2s; box-shadow: var(--shadow-s);
    &:hover { border-color: var(--brand); color: var(--brand); }
    &[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); } } }
#machine-count { text-align: center; margin: 0 0 var(--space-s); }
.machines { margin-top: 0; --cols: 2;
  li { margin: 0; display: flex; }
  button, a { all: unset; box-sizing: border-box; display: flex; flex-direction: column; height: 100%; width: 100%; cursor: pointer; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); transition: transform .25s, box-shadow .25s;
    &:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--amber); }
    @media (hover: hover) { &:hover { transform: translateY(-5px); box-shadow: var(--shadow); } }
    .ph { aspect-ratio: 1; background: var(--paper); overflow: hidden; }
    img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
    img.contain { object-fit: contain; mix-blend-mode: multiply; padding: 8px; }
    @media (hover: hover) { &:hover img:not(.contain) { transform: scale(1.06); } }
    span { display: block; flex: 1; padding: 14px 16px 16px; font-weight: 700; font-size: 1rem; line-height: 1.3; border-top: 3px solid var(--orange); } } }
.machines li[hidden] { display: none; }
@media (max-width: 339px) { .machines { --cols: 1; } }
@media (min-width: 720px) { .machines { --cols: 3; } }
@media (min-width: 1100px) { .machines { --cols: 5; } }
.fleet { margin-top: var(--space-l);
  .fleet-note { margin: 0 0 var(--space-s); padding: 18px 22px; border-left: 5px solid var(--orange); background: var(--card); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text); max-width: var(--measure); font-size: 1rem; box-shadow: var(--shadow-s); }
  .fleet-table { margin-top: var(--space-s);
    summary { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--brand); background: var(--card); color: var(--brand); font-weight: 700; cursor: pointer; list-style: none;
      &::-webkit-details-marker { display: none; }
      &::before { content: "+"; font-size: 1.3rem; line-height: 1; }
      &:hover { background: var(--brand); color: #fff; } }
    &[open] summary::before { content: "\2212"; }
    .table-wrap { margin-top: var(--space-s); }
    > p { margin: var(--space-s) 0 0; max-width: var(--measure); } } }

/* ---------- 10. Clients: logo tiles + work-site table ---------- */
.table-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 20px;
  input { flex: 1 1 280px; width: 100%; min-width: 0; max-width: 460px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: inherit; color: var(--text); box-shadow: var(--shadow-s);
    &:focus { border-color: var(--brand); } }
  p { margin: 0; } }
.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.clients, .reg { width: 100%; border-collapse: collapse;
  th { text-align: left; font-family: var(--font-head); font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 16px 24px; background: var(--navy); }
  td { padding: 16px 24px; border-bottom: 1px solid var(--line); }
  tr:last-child td { border-bottom: 0; }
  tbody tr:nth-child(even) { background: var(--paper); }
  tbody tr:hover { background: var(--paper-2); }
  td:first-child, th:first-child { width: 72px; color: var(--muted); font-variant-numeric: tabular-nums; }
  th:first-child { color: #fff; }
  td:nth-child(2) { font-weight: 700; }
  mark { background: var(--amber); color: var(--navy); border-radius: 4px; padding: 0 2px; } }
.reg { td b, td span, td small { display: block; } td span, td small { color: var(--muted); font-size: 1rem; } td:last-child, th:last-child { width: 84px; } td:nth-child(2) { font-weight: 400; }
  td:nth-child(3) b { font-weight: 700; } }
.clients tr[hidden] { display: none; }
.empty { padding: 32px 24px; margin: 0; text-align: center; color: var(--muted); }
@media (max-width: 600px) {
  .clients, .reg { table-layout: fixed; }
  .clients th, .clients td, .reg th, .reg td { padding: 12px 10px; overflow-wrap: anywhere; font-size: 1rem; }
  .reg th { font-size: .88rem; }
  .clients td:first-child, .clients th:first-child, .reg td:first-child, .reg th:first-child { width: 46px; padding-inline: 8px 4px; white-space: nowrap; overflow-wrap: normal; }
  /* fleet register on phones: one compact card per unit instead of a 4-column table */
  .reg { display: block; thead { display: none; } tbody { display: block; }
    tr { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "n v y" "n m m"; column-gap: 8px; padding: 12px 14px 12px 8px; border-bottom: 1px solid var(--line); }
    tr:last-child { border-bottom: 0; }
    td { padding: 0; border: 0; width: auto !important; }
    td:nth-child(1) { grid-area: n; padding-inline: 4px; } td:nth-child(2) { grid-area: v; font-weight: 600; } td:nth-child(3) { grid-area: m; } td:nth-child(4) { grid-area: y; color: var(--muted); font-variant-numeric: tabular-nums; } }
  .clients th:last-child, .clients td:last-child { width: 38%; }
}
.logo-wall { margin-bottom: var(--space-l); .sub-h { text-align: center; } }
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap);   /* 24 logos: 4 / 6 columns, always full rows; a 2-row swipe strip on phones */
  li { --p: clamp(10px, 1.4vw, 16px); position: relative; overflow: hidden; aspect-ratio: 5 / 3; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-s); transition: transform .25s, box-shadow .25s;
    @media (hover: hover) { &:hover { transform: translateY(-4px); box-shadow: var(--shadow); } } }
  img { position: absolute; inset: var(--p); width: calc(100% - 2 * var(--p)); height: calc(100% - 2 * var(--p)); max-width: none; object-fit: contain; }
  @media (hover: hover) {   /* grayscale until hovered; touch devices always see the colour logo */
    img { filter: grayscale(1) opacity(.8); transition: filter .25s; }
    li:hover img { filter: none; } } }
@media (min-width: 1100px) { .logos { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
html:not(.js) #logo-grid, html:not(.js) #logo-title { display: none; }
.also { margin: var(--space-s) auto 0; max-width: var(--measure); color: var(--muted); font-size: 1rem; text-align: center; }

/* ---------- 11. Projects (photo groups) ---------- */
.pg { margin-top: var(--space-l); &:first-of-type { margin-top: var(--space-m); } }
.pg-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding-bottom: 12px; margin-bottom: var(--gap); border-bottom: 2px solid var(--line);
  h3 { margin: 0; padding-left: 14px; border-left: 4px solid var(--orange); } .pg-count { color: var(--muted); font-size: 1rem; font-variant-numeric: tabular-nums; } }
.gallery { --cols: 2;
  li { margin: 0; }
  a { display: block; width: 100%; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; line-height: 0; box-shadow: var(--shadow-s);
    img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
    @media (hover: hover) { &:hover img { transform: scale(1.07); } } } }
@media (min-width: 860px) { .gallery { --cols: 4; } }
@media (min-width: 1100px) { .gallery { --cols: 6; } }
#project-nav { margin-bottom: 0; }

/* ---------- 12. Enquiry ---------- */
.enquiry { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: #fff;
  &::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 0% 0%, rgb(74 34 200 / .55), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgb(245 130 32 / .28), transparent 70%); } }
.enquiry .eyebrow { color: var(--amber); }
.enquiry h2 b { color: var(--amber); }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.enquiry-copy { .lead { color: rgb(255 255 255 / .8); } }
.form-card { background: var(--card); color: var(--text); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--shadow);
  label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 6px; small { font-weight: 400; color: var(--muted); } }
  label.lbl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; .count { font-size: .82rem; white-space: nowrap; } }
  input, textarea { width: 100%; font: inherit; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 9px 14px; min-height: 48px; transition: border-color .2s, background-color .2s;
    &:focus { background: #fff; border-color: var(--brand); }
    &[aria-invalid="true"] { border-color: var(--danger); } }
  textarea { resize: vertical; min-height: 72px; display: block; }
  .field { margin-bottom: 12px; }
  .field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
  .error { color: var(--danger); font-size: 1rem; font-weight: 600; margin: 6px 0 0; }
  .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; .btn { flex: 1 1 auto; } }
  [hidden] { display: none !important; } }
.done { text-align: left; h3 { font-size: 1.8rem; margin-bottom: 10px; } p { color: var(--muted); }
  .link { background: none; border: 0; padding: 12px 0; min-height: 44px; font: inherit; color: var(--brand); font-weight: 700; text-decoration: underline; cursor: pointer; } }
@media (max-width: 900px) { .enquiry-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-card .field-pair { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 13. Footer + floating actions ---------- */
.site-footer { position: relative; isolation: isolate; overflow: clip; background: #070c22; color: rgb(255 255 255 / .82); padding-top: clamp(32px, 4vw, 48px); font-size: .97rem; line-height: 1.5;
  .foot-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
  &::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(7 12 34 / .8), rgb(7 12 34 / .96)); }
  a { color: #fff; text-decoration-color: rgb(255 255 255 / .3); &:hover { text-decoration-color: var(--amber); color: var(--amber); } }
  p { margin-bottom: .4em; }
  .label { font-family: var(--font-head); font-size: .98rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 6px; }
  .muted { color: rgb(255 255 255 / .6); } }
.foot { display: grid; align-items: start; grid-template-columns: minmax(0, 1.05fr) minmax(0, .65fr) minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 28px clamp(24px, 3.2vw, 48px); padding-bottom: clamp(20px, 2.6vw, 30px);
  .foot-brand { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; img { flex: none; width: 88px; height: auto; aspect-ratio: 231 / 236; padding: 8px; border-radius: 14px; background: #fff; } strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; line-height: 1.2; color: #fff; } p { margin-bottom: .4em; }
    .about-line { color: rgb(255 255 255 / .75); font-size: .95rem; max-width: 34ch; }
    .reg-ids { display: grid; gap: 0; margin: 8px 0 0; font-size: .92rem; color: rgb(255 255 255 / .85); } }
  overflow-wrap: anywhere; }
.site-footer .links { display: grid; margin: 0; a { display: flex; align-items: center; min-height: 34px; padding-block: 2px; text-decoration: none; @media (pointer: coarse) { min-height: 44px; } } }
.foot-contact { display: grid; gap: 14px; p { margin-bottom: .3em; } .f-grp .links a { min-height: 32px; @media (pointer: coarse) { min-height: 44px; } } }
.legal { border-top: 1px solid rgb(255 255 255 / .12); padding-block: 14px; font-size: .85rem; color: rgb(255 255 255 / .65); p { margin: 0; } }
@media (max-width: 1000px) {
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); .foot-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: center; } .foot-contact { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px 28px; } }
}
@media (max-width: 560px) { .foot { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px 18px; .foot-brand { grid-template-columns: minmax(0, 1fr); } } }

.float-wa { position: fixed; z-index: 45; right: 18px; bottom: 18px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -8px rgb(21 128 64 / .8), 0 0 0 4px rgb(255 255 255 / .9); transition: transform .2s, opacity .25s, visibility .25s;
  svg { width: 30px; height: 30px; stroke-width: 1.7; }
  @media (hover: hover) { &:hover { transform: scale(1.08); } } }
.float-enquiry { position: fixed; z-index: 45; right: 0; top: 50%; translate: 0 -50%; writing-mode: vertical-rl; transform: rotate(180deg); display: grid; place-items: center; min-width: 44px; min-height: 120px; padding: 18px 10px; border-radius: 0 14px 14px 0; background: var(--brand); color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-decoration: none; box-shadow: 0 10px 24px -8px rgb(74 34 200 / .7); transition: background-color .2s, opacity .25s, visibility .25s; --ring: #fff;
  &:hover { background: var(--brand-d); } }
.float-wa.away, .float-enquiry.away { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 599px) {
  .float-wa { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .float-enquiry { writing-mode: horizontal-tb; transform: none; translate: none; top: auto; bottom: 18px; right: auto; left: 14px; min-height: 48px; min-width: 0; padding: 0 22px; border-radius: 999px; background: var(--orange); color: var(--navy); box-shadow: 0 10px 24px -8px rgb(245 130 32 / .8), 0 0 0 4px rgb(255 255 255 / .9); --ring: var(--navy); }
}

/* ---------- 14. Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; max-height: 100dvh; width: 100%; height: 100%; color: #fff; touch-action: pan-y;
  &::backdrop { background: rgb(8 9 10 / .88); backdrop-filter: blur(6px); }
  &[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 16px; }
  form { display: contents; }
  figure { margin: 0; justify-self: center; text-align: center; width: min(100%, 760px); }
  img { display: block; width: auto; height: auto; min-width: min(380px, 100%); max-width: 100%; max-height: 72vh; max-height: 72dvh; margin: 0 auto; border-radius: 16px; background: #fff; object-fit: contain; }
  figcaption { margin-top: 14px; font-weight: 600; font-size: 1.1rem; }
  .lb-close, .lb-nav { border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .1); color: #fff; line-height: 1; cursor: pointer; transition: background-color .2s;
    &:hover { background: rgb(255 255 255 / .24); } }
  .lb-close { position: fixed; top: 14px; right: 14px; z-index: 2; width: 48px; height: 48px; font-size: 1.8rem; }
  .lb-nav { width: 48px; height: 48px; font-size: 2rem; padding: 0 0 4px; } }
@media (max-width: 560px) { .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; figure { grid-column: 1 / -1; grid-row: 1; } .lb-nav.prev { grid-row: 2; justify-self: end; } .lb-nav.next { grid-row: 2; justify-self: start; } } }

/* ---------- 15. Motion ---------- */
/* Reveal: native scroll-driven animation where supported, IntersectionObserver fallback (class .in) */
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
  @supports not (animation-timeline: view()) {
    .js .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1); &.in { opacity: 1; translate: 0 0; } }
  }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- 16. Print ---------- */
@media print {
  .slide:not(.is-active), .slide-img, .slide::after, .slider-ctl { display: none !important; }
  .hero.slider { background: #fff; }
  .slide { min-height: 0; padding: 0 0 12pt; color: #000; overflow: visible; display: block; visibility: visible; opacity: 1; }
  .hero.slider .slide .lead, .hero.slider .slide .slide-h { color: #000; }
  @page { margin: 14mm; }
  *, *::before, *::after { animation: none !important; transition: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; }
  html { scrollbar-gutter: auto; }
  .site-header, .topbar, .skip, .lightbox, .menu-btn, .noscript, .filters, #machine-count, .table-tools, .form-card, .nojs-form, .hero-img, .hero::after, .actions .btn-ghost, .svc-card > img, .svc-more, .band-stats > img, .band-stats::after, .band-cta, .foot-bg, .site-footer::after, .float-wa, .float-enquiry, .about-photo::before, .mission::before, .mission::after, .enquiry::before, .sprite { display: none !important; }
  .reveal { opacity: 1 !important; translate: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.45; overflow: visible; }
  .section, .section-alt, .enquiry { background: #fff; color: #000; padding-block: 18pt; }
  .hero { min-height: 0; padding: 0 0 12pt; color: #000; background: #fff; overflow: visible; display: block;
    h1 { font-size: 26pt; span { color: #7a5600; } } .lead, .eyebrow { color: #333; } }
  .band-stats { background: #fff; color: #000; padding-block: 8pt; border-block: 1px solid #999; dt { color: #333; } svg { display: none; } }
  h2 { font-size: 20pt; b { color: #000; } }
  .eyebrow, .enquiry .eyebrow, .enquiry h2 b { color: #444; }
  .services-grid { display: block; }
  .svc-card { break-inside: avoid; margin-bottom: 8pt; border: 1px solid #999; padding: 10pt 12pt; .body { margin: 0; padding: 0; } .badge { display: none; } h3 { color: #000; padding: 0; font-size: 13pt; margin: 2pt 0; } .num { color: #444; } .btn { display: none; } }
  .machines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8pt; > li { flex: none; } a { break-inside: avoid; border-color: #999; span { padding: 6pt; font-size: 9pt; } } }
  .about-split, .team, .founder { display: block; } .about-photo, .team-photos, .founder-photo { display: none; }
  .mission { background: #fff; color: #000; border: 1px solid #999; .eyebrow, blockquote, .sub { color: #000; } }
  .why-list { display: block; li { border: 1px solid #999; margin-bottom: 6pt; break-inside: avoid; } }
  #projects, .fleet-table, .logos { display: none !important; } .tagrow li, .logo-wall { break-inside: avoid; } .tagrow li { border-color: #999; background: none; }
  .table-wrap { border-color: #999; } .clients { th, td { padding: 4pt 8pt; } th { background: none; color: #000; } tr { break-inside: avoid; } }
  .enquiry-grid { display: block; } .enquiry-copy .lead { color: #000; }
  .btn { border: 1px solid #000; background: none !important; color: #000 !important; min-height: 0; padding: 2pt 10pt; }
  .site-footer { background: #fff; color: #000; padding-top: 12pt; border-top: 1px solid #000; a { color: #000; } .label, .muted, .legal { color: #444; } .about-line, .reg-ids { color: #000; } }
  .foot { display: block; > * { margin-bottom: 8pt; } }
  .site-footer .links a { min-height: 0; padding: 0; }
  a { text-decoration: none; }
  .fleet-note { background: none; border-color: #000; }
}

/* v2: project jump-links become a one-row scroller on phones */
@media (max-width: 859px) {
  #project-nav, #gallery-filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: thin; margin-inline: calc(var(--pad-x) * -1); padding: 4px var(--pad-x) 12px; }
  #project-nav > *, #gallery-filters > * { flex: none; white-space: nowrap; }
}

/* ---------- 17. Multi-page parts: banner, breadcrumbs, services menu, page blocks ---------- */
.btn[hidden] { display: none; }
.center-link { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: var(--space-l) 0 0; }
.more-link { margin: var(--space-m) 0 0; }

/* page banner (every inner page) */
.banner { position: relative; isolation: isolate; overflow: clip; display: grid; align-items: end; color: #fff; background: var(--navy);
  min-height: clamp(176px, 20vw, 260px); padding-block: clamp(20px, 3.4vw, 40px);
  &::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(58 24 168 / .9) 0%, rgb(11 18 48 / .78) 55%, rgb(11 18 48 / .4) 100%), linear-gradient(0deg, rgb(11 18 48 / .5), transparent 50%); }
  h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem); font-weight: 700; letter-spacing: 0; max-width: 24ch; } }
.banner-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner-plain { background: radial-gradient(60% 140% at 100% 0%, rgb(74 34 200 / .8), transparent 70%), radial-gradient(40% 100% at 0% 100%, rgb(245 130 32 / .35), transparent 70%), var(--navy); }
.crumbs { margin-top: 4px;
  ol { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; font-size: .95rem; color: rgb(255 255 255 / .88); }
  li + li::before { content: "/"; margin-right: 10px; color: var(--amber); }
  a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration-color: rgb(255 255 255 / .5); &:hover { color: var(--amber); } }
  [aria-current] { font-weight: 700; color: #fff; } }

/* services dropdown (desktop) / accordion (menu on small screens) */
.nav .has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: none; }
.js .sub-toggle { display: inline-grid; place-items: center; width: 32px; min-height: 44px; margin-left: -4px; padding: 0; border: 0; background: none; color: var(--navy); cursor: pointer; border-radius: 8px;
  svg { width: 16px; height: 16px; stroke-width: 2.2; transition: rotate .2s; }
  &[aria-expanded="true"] svg { rotate: 180deg; }
  &:hover { color: var(--brand); } }
.nav .sub { position: absolute; top: 100%; left: -18px; z-index: 60; min-width: 320px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
  a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 8px; font-family: var(--font); font-size: .95rem; font-weight: 500; letter-spacing: 0; text-transform: none;
    &:hover { background: var(--paper); color: var(--brand); }
    &.active { color: var(--brand); background: var(--paper-2); font-weight: 700; } } }
.nav .has-sub.open > .sub { visibility: visible; opacity: 1; transform: none; }
@media (min-width: 1180px) {
  html:not(.js) .nav .has-sub:focus-within > .sub { visibility: visible; opacity: 1; transform: none; }
  @media (hover: hover) { .nav .has-sub:hover > .sub { visibility: visible; opacity: 1; transform: none; } }
}
@media (max-width: 1179px) {
  .nav .has-sub { display: grid; grid-template-columns: minmax(0, 1fr) 64px; align-items: center;
    .sub-toggle { width: 64px; min-height: 64px; margin: 0; color: #fff; border-radius: 0; svg { width: 24px; height: 24px; } &:hover { color: var(--amber); } } }
  .nav .sub { position: static; grid-column: 1 / -1; display: none; min-width: 0; margin: 0 0 8px 4px; padding: 4px 0 4px 16px; border: 0; border-left: 3px solid var(--orange); border-radius: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; background: none;
    a:not(.btn) { min-height: 48px; padding: 6px 4px; font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 0; color: rgb(255 255 255 / .92);
      &:hover { background: none; color: var(--amber); } &.active { background: none; color: var(--amber); font-weight: 700; } } }
  .nav .has-sub.open > .sub { display: grid; }
  html:not(.js) .nav .has-sub { display: flex; border: 0; .sub { display: none; } }
}

/* home: work tiles */
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); --cols: 2;
  > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; } }
@media (min-width: 860px) { .tiles { --cols: 4; } }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); background: var(--paper-2); box-shadow: var(--shadow-s); text-decoration: none; color: #fff;
  img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
  @media (hover: hover) { &:hover img { transform: scale(1.07); } }
  span { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; font-weight: 700; font-size: 1rem; line-height: 1.25; background: linear-gradient(0deg, rgb(11 18 48 / .9), transparent); } }
.tile-more { display: grid; place-content: center; text-align: center; padding: 12px; background: radial-gradient(90% 70% at 100% 0%, rgb(74 34 200 / .9), transparent 70%), var(--navy);
  b { font-family: var(--font-head); font-size: clamp(2.3rem, 1.5rem + 2vw, 3.4rem); font-weight: 700; line-height: 1; letter-spacing: 0; color: var(--amber); }
  span { position: static; padding: 6px 0 0; background: none; } }

/* generic icon disc (values, contact cards) */
.ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 8px 18px -8px rgb(74 34 200 / .7); svg { width: 26px; height: 26px; } }

/* contact cards (contact page side column): equal-width cards, icon + title, one tidy detail, one action link */
.contact-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.contact-cards > li { container-type: inline-size; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px 26px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); transition: transform .25s, box-shadow .25s, border-color .25s;
  @media (hover: hover) { &:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c4c8e8; } } }
.cc-head { display: flex; align-items: center; gap: 14px; h3 { font-size: 1.45rem; } }
.cc-detail { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.55;
  a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; @media (pointer: coarse) { min-height: 44px; } &:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; } } }
.cc-nums { display: flex; flex-wrap: wrap; gap: 0 22px; }
.cc-mail { font-size: clamp(.8rem, 4.5cqi, 1rem); }   /* the whole address always stays on one line */
.cc-act { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--line);
  a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--brand); font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; @media (pointer: coarse) { min-height: 44px; }
    svg { width: 18px; height: 18px; stroke-width: 2.2; transition: translate .2s; } &:hover { color: var(--brand-d); text-decoration: underline; text-underline-offset: 4px; svg { translate: 4px 0; } } } }
.contact-main { padding-block: clamp(28px, 4vw, 56px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-m) clamp(24px, 4vw, 56px); align-items: start; }
.contact-form h2, .side-h { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.35rem); margin-bottom: var(--space-s); }
.contact-side .contact-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; > li { gap: 4px; padding: 14px 18px 6px; } .cc-head { gap: 12px; h3 { font-size: 1.25rem; } } .ico { width: 42px; height: 42px; svg { width: 21px; height: 21px; } } .cc-act { padding-top: 4px; a { min-height: 32px; font-size: 1rem; } } }
.form-note { margin: 12px 0 0; font-size: .9rem; color: var(--muted); a { color: var(--brand); font-weight: 600; } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* about: company facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s);
  > div { background: var(--card); padding: 18px 22px; }
  dt { font-family: var(--font-head); font-size: .92rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  dd { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; } }
.why h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.5rem); margin: 0 0 var(--space-s); b { color: var(--brand); } }

/* service detail pages */
.svc-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-m) clamp(32px, 5vw, 72px); align-items: center; }
.svc-copy { h2 { margin-bottom: var(--space-s); }
  .lead { margin-bottom: var(--space-s); color: var(--text); }
  .points { display: grid; gap: 8px; margin: 0 0 var(--space-s); li { border-top: 1px solid var(--line); padding-top: 8px; color: var(--muted); font-size: 1rem; } b { display: block; color: var(--text); } }
  .tagrow { margin: 0 0 var(--space-s); }
  > p:not(.eyebrow):not(.lead) { color: var(--muted); } }
@media (max-width: 899px) { .svc-intro { grid-template-columns: minmax(0, 1fr); } .svc-intro .about-photo { max-width: 560px; } }
.values-row .values { grid-template-columns: minmax(0, 1fr); gap: var(--space-s); }
@media (min-width: 860px) { .values-row .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.values-row .values li { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.other-svc { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px;
  a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; color: var(--navy); box-shadow: var(--shadow-s); transition: border-color .2s, color .2s;
    span { flex: 1; min-width: 0; } svg:first-child { color: var(--brand); } svg:last-child { color: var(--orange); }
    &:hover { border-color: var(--brand); color: var(--brand); } } }
.machines.mini { justify-content: center; }

/* gallery + filters */
.filters small { margin-left: 8px; font-weight: 600; opacity: .8; }
.gallery li[hidden] { display: none; }
.js .gallery li.extra { display: none; }
html:not(.js) :is(#gallery-more, #gallery-filters, #gallery-count, #machine-filters, #machine-count, .table-tools) { display: none; }

/* legal pages + 404 */
.prose { overflow-wrap: anywhere; max-width: 760px; margin-inline: auto;
  h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); font-weight: 700; letter-spacing: 0; margin: 1.8em 0 .5em; color: var(--navy); }
  p { color: var(--text); max-width: none; }
  a { color: var(--brand); font-weight: 600; } }
.notfound { text-align: center; padding-block: var(--space);
  h1 { font-size: clamp(2.6rem, 1.5rem + 4.2vw, 4.8rem); font-weight: 700; b { color: var(--brand); font-weight: 700; } }
  .eyebrow { justify-content: center; }
  .lead { margin: var(--space-s) auto 0; }
  .actions { justify-content: center; } }
.legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 20px; a { display: inline-flex; align-items: center; min-height: 44px; } }
@media (max-width: 599px) { .services-grid:not(.snap) { grid-template-columns: minmax(0, 1fr); } }
@media print { .banner { min-height: 0; background: #fff; color: #000; padding: 0 0 8pt; h1 { color: #000; } } .banner-img, .banner::after, .sub-toggle, .sub, .tiles, .contact-form .form-card { display: none !important; } .crumbs, .crumbs a { color: #000; } .contact-grid, .svc-intro { display: block; } }
.svc-card h3 a { color: inherit; text-decoration: none; &:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; } }
