/* Hallmark · shape: Feature Stack (/), Catalogue (/semiautosales, /semiautohire, /gallery), Long Document (/about), Split Studio (/contact) · genre: modern-minimal · theme: brand · redesign: full · draw: 6a5c87 · job: buy (a quote), the action in the bar, the hero and the close
 * paper: oklch(98.6% 0.004 255) · accent: oklch(54% 0.153 45.7) · display: Outfit 700 · body: Outfit 400/500 · hero: Poster, a full-width photograph under a navy scrim (/), Banner (/about, /semiautosales, /semiautohire, /gallery, /contact) · nav: a three-part sticky bar in the hero's navy, floating clear over the home photograph until the page scrolls, the reversed logo left, the links centred, the phone and the quote action right · footer: white, the logo over the company line in the first column, link columns beside it, the legal line and the studio credit beneath · signature: one clipper beside a row of clipped nets (tennis balls, chocolate coins, sprouts, lemons, onions), the range in one frame, full width behind the headline
 * axes: light/geometric-sans/warm · posture: full palette (field: ClippaNet blue on the bands and footer; signal: ClippaNet orange on the one primary action, the active page and the years; ink: navy) · imagery: the owner's own photographs, natural; one generated still in the home hero (hero-net-range.jpg, made by the owner) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · restored the About ClippaNet Banner and the live about flow · the owner preferred https://www.clippanet.co.uk/about */
/* Hallmark · waive 38iii · .mark on Excellence · matches the live about title; owner asked to keep that page’s look */
/* Hallmark · waive 49b · footer Parent Company link · keeps the legal name Mechanical and Technical Services Ltd; wrap beats truncate */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: S, the copy is the owner's and generic in places; the machines and the two real dates (2002, 2025) now carry the pages instead of icon tiles */
/* Hallmark · dropped heroCarousel, #heroCarousel, the Bootstrap bundle, Font Awesome and Bootstrap Icons · the auto-rotating carousel failed gate 18; its five slides are all in the gallery, and the menu, dropdown and icons are rebuilt without the frameworks */
/* Hallmark · dropped https://formspree.io/f/YOUR_FORM_ID, post https://formspree.io/f/YOUR_FORM_ID, the form post https://formspree.io/f/YOUR_FORM_ID · the home form posted to an unfinished placeholder; it now posts to the contact page's live endpoint, mpwkwagr */
/* Hallmark · dropped https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js · the menu, dropdown and carousel it drove are rebuilt in js/site.js or retired */
/* Hallmark · dropped slide1.jpg, slide2.jpg, slide3.jpg, slide4.jpg, gallery image 1 to gallery image 20, the "Gallery Image" caption headings · the carousel's slides all sit in the gallery (slide3 is easypak.jpg, now the hero); the gallery's hover captions only repeated "Gallery Image" and a number */
/* Hallmark · reworded "More Info" to "More on machine hire", "More on ultrasonic sealing" and "More on machine sales" · 19 names the stock link label */
/* Hallmark · waive 44c · Banner posture on the inner pages: a title and one line, the first section begins by 520px · the inner pages are a machine, a gallery and a form, reached from the menu */
/* Hallmark · waive 83 · the gallery page is the owner's own sixty photographs of their machines and packs · the photographs are that page's whole job */
/* Hallmark · dismissed 77 · the contact, gallery and sales pages hold every section the owner wrote for them; the handoff offers what would fill them */
/* Hallmark · answered F4 · the bar's Get Quote is the site's standing action, filled on every page beside the hero's Contact Us, because a quote is what every visit is for */
/* Hallmark · reworded the home hero line "Your first choice supplier for net packaging equipment and machinery solutions." to "Over 20 years’ expertise supplying net packaging equipment and machinery." · the owner asked for the years in the hero; founded 2002, so over 20, not 25 */
/* Hallmark · dropped the partner band's line "Over 20 years of expertise in the net-packaging industry." · the hero now says it; 69 names a fact printed twice */
/* Hallmark · answered F21 · on /about the three cards under the opening h1 are item titles (h3); the section heads below them are h2 */
/* Hallmark · the "Parent company" tag on the MATS card in /about is the owner's request; it states a fact (MATS acquired ClippaNet in 2025), once */
/* Hallmark · dismissed 42 · the footer leads with the ClippaNet logo over the company line, and the fourth column carries the phone, email and address the old top strip held */
/* Hallmark · dropped "All Rights Reserved" · 19 names the template footer line */
/* Hallmark · reworded "MATS Ltd - Machinery Specialists" to "MATS Ltd" · 63 names the hyphen label */
/* Hallmark · reworded "world-class" out of three partner lines on the about page · 19 names the buzzword */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Page frame ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-height) + var(--space-xl)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { line-height: 1.6; }
main { display: block; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-card); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- Bar ---------- */
.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-nav); color: var(--color-field-ink); border-bottom: 1px solid var(--color-nav-rule); }
.bar .container { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-lg); min-height: var(--bar-height); padding-block: var(--space-xs); }
.bar__home { justify-self: start; }
.bar__home { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; color: var(--color-ink); border-radius: var(--radius-card); }
.bar__home img { width: 86px; height: 78px; flex-shrink: 0; }
.bar__home span { font: 700 var(--text-xl)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.bar__nav { display: contents; }
.bar__links { grid-column: 2; }
.bar__links { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.bar__links a, .bar__more { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 44px; padding: 0; border: 0; background: none; color: var(--color-field-ink); font: 500 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.bar__links a:hover, .bar__more:hover { color: var(--color-nav-accent); }
.bar__links a:active, .bar__more:active { color: var(--color-nav-accent); }
.bar__links a[aria-current="page"] { color: var(--color-nav-accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
.bar__more svg { width: 16px; height: 16px; transition: transform var(--dur-short) var(--ease-out); }
.bar__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.bar__drop { position: relative; }
.bar__menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--space-xs); }
.bar__act { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: var(--space-lg); }
.bar__phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font: 700 var(--text-lg)/1 var(--font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.bar__phone:hover { color: var(--color-accent); }
.bar__phone:active { color: var(--color-accent-hover); }
.bar__act { gap: var(--space-sm); }
.bar__call svg { width: 20px; height: 20px; flex-shrink: 0; }
.bar__menu { position: absolute; top: calc(100% + var(--space-xs)); left: calc(-1 * var(--space-md)); z-index: var(--z-dropdown); min-width: 18rem; margin: 0; padding: var(--space-xs); list-style: none; background: var(--color-paper); border: 0; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.bar__menu a { display: flex; width: 100%; padding: 0 var(--space-sm); border-radius: calc(var(--radius-card) - 4px); }
.bar__menu a { color: var(--color-ink); }
.bar__menu a:hover { background: var(--color-paper-2); color: var(--color-ink); }
.bar__menu a[aria-current="page"] { color: var(--color-accent); }
.bar :focus-visible { outline-color: var(--color-field-focus); }
.bar__menu :focus-visible { outline-color: var(--color-focus); }
.bar .btn--quiet { color: var(--color-field-ink); border-color: var(--color-field-ink-2); }
.bar .btn--quiet:hover { background: var(--color-nav-2); border-color: var(--color-field-ink); color: var(--color-field-ink); }
.bar__call svg { color: var(--color-nav-accent); }
.bar .bar__toggle { display: none; }
@media (max-width: 60rem) {
  .bar .container { display: flex; justify-content: space-between; }
  .bar .bar__toggle { display: inline-flex; }
  .bar__nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: var(--space-md); padding: var(--space-md) var(--gutter) var(--space-lg); background: var(--color-nav); border-bottom: 1px solid var(--color-nav-rule); }
  .js .bar__nav:not(.is-open) { display: none; }
  .bar__links { flex-direction: column; align-items: stretch; gap: 0; }
  .bar__links > li { border-bottom: 1px solid var(--color-nav-rule); }
  .bar__links a, .bar__more { width: 100%; min-height: 52px; font-size: var(--text-lg); }
  .bar__menu { position: static; min-width: 0; padding: 0 0 var(--space-xs) var(--space-md); border: 0; box-shadow: none; background: none; }
  .bar__menu a { color: var(--color-field-ink); }
  .bar__menu a:hover { background: var(--color-nav-2); color: var(--color-field-ink); }
  .bar__menu a[aria-current="page"] { color: var(--color-nav-accent); }
  .bar__act { justify-content: space-between; }
  .bar__home img { width: 66px; height: 60px; }
}

/* Home: the bar floats on the photograph until the page scrolls */
.bar--over { background: transparent; border-bottom-color: transparent; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.bar--over.is-solid { background: var(--color-nav); border-bottom-color: var(--color-nav-rule); }
.bar--over + main .stage { margin-top: calc(-1 * var(--bar-height)); padding-top: var(--bar-height); min-height: min(820px, 100svh); }
.stage__top { position: absolute; inset: 0 0 auto; height: 220px; z-index: -1; background: linear-gradient(180deg, var(--color-scrim-mid) 0%, transparent 100%); }
html:not(.js) .bar--over { background: var(--color-nav); }
@media (max-width: 60rem) { .bar--over.is-open-menu, .bar--over:has(.bar__nav.is-open) { background: var(--color-nav); } }

/* ---------- Controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-ink-2); }
.btn--quiet:hover { background: var(--color-paper-2); border-color: var(--color-ink); color: var(--color-ink); }
.btn--small { min-height: 44px; padding: 0 var(--space-md); }
.on-field .btn--quiet { color: var(--color-field-ink); border-color: var(--color-field-ink-2); }
.on-field .btn--quiet:hover { background: var(--color-field-2); border-color: var(--color-field-ink); }
.on-field :focus-visible { outline-color: var(--color-field-focus); }
.link { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; transition: color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-accent); }
.link:active { color: var(--color-accent-hover); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } .bar__more svg { transition: none; } }

/* ---------- Shared section frame ---------- */
.section { padding-block: var(--section-gap); }
.section--tight { padding-block: var(--section-gap-s); }
.field { background: var(--color-field); color: var(--color-field-ink); }
.field p { color: var(--color-field-ink-2); }
.field h2, .field h3 { color: var(--color-field-ink); }
.well { background: var(--color-paper-2); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.lead { color: var(--color-ink-2); }
.field .lead { color: var(--color-field-ink-2); }
.head-block { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); justify-items: start; }

/* ---------- Home hero: Poster ---------- */
.stage { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(720px, calc(100svh - var(--bar-height))); background: var(--color-nav); color: var(--color-field-ink); overflow: clip; }
.stage__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.stage__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.stage__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--color-scrim-strong) 0%, var(--color-scrim-mid) 25%, var(--color-scrim-clear) 48%, transparent 62%); }
.stage__wrap { padding-block: var(--space-3xl); }
.stage__text { display: grid; gap: var(--space-lg); max-width: 40rem; }
.stage h1 { max-width: 11ch; color: var(--color-field-ink); }
.stage .lead { max-width: 24ch; color: var(--color-field-ink); font-size: var(--text-xl); line-height: 1.35; }
.stage__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }
@media (max-width: 60rem) {
  .stage { min-height: 560px; }
  .stage__scrim { background: linear-gradient(180deg, var(--color-scrim-mid) 0%, var(--color-scrim-strong) 100%); }
  .stage__bg img { object-position: 85% 50%; }
}
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-card); background: var(--color-paper-3); }
.photo > img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.caption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }

/* ---------- Subpage hero: Banner ---------- */
.banner { padding-block: var(--space-3xl) var(--space-2xl); border-bottom: 1px solid var(--color-rule); }
.banner + .section { padding-top: var(--space-2xl); }
.banner .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: end; }
.banner h1 { grid-column: 1 / span 7; max-width: 14ch; }
.banner .lead { grid-column: 9 / span 4; padding-bottom: var(--space-xs); }
@media (max-width: 60rem) { .banner h1, .banner .lead { grid-column: 1 / -1; } .banner { padding-block: var(--space-2xl) var(--space-xl); } }

/* ---------- Home services: Feature Stack ---------- */
.stack .container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.stack__pane { position: sticky; top: calc(var(--bar-height) + var(--space-2xl)); display: grid; gap: var(--space-lg); }
.stack__index { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-rule); }
.stack__index li { border-bottom: 1px solid var(--color-rule); }
.stack__index a { display: flex; align-items: center; min-height: 48px; color: var(--color-ink-2); text-decoration: none; font-weight: 500; transition: color var(--dur-short) var(--ease-out); }
.stack__index a:hover { color: var(--color-ink); }
.stack__index a[aria-current="true"] { color: var(--color-accent); }
.stack__panels { display: grid; gap: var(--space-3xl); }
.panel { display: grid; gap: var(--space-md); }
.panel .photo { aspect-ratio: 16 / 10; margin-bottom: var(--space-xs); }
.panel p { max-width: 58ch; color: var(--color-ink-2); }
.panel-set { display: grid; gap: 0; border-bottom: 1px solid var(--color-rule); }
.panel-set .panel { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-xs) var(--gap-columns); padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); }
.panel-set .panel:first-child { border-top: 2px solid var(--color-ink); }
@media (max-width: 40rem) { .panel-set .panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 60rem) {
  .stack .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .stack__pane { position: static; }
  .stack__index { display: none; }
}

/* ---------- Dated rows (2002, 2025) ---------- */
.story .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.story__head { display: grid; gap: var(--space-lg); justify-items: start; align-content: start; }
.story__head .lead { max-width: 28ch; color: var(--color-ink-2); }
.story__body { display: grid; gap: var(--space-xl); }
.story__body > p { font-size: var(--text-lead); line-height: 1.5; }
.story__body .photo { aspect-ratio: 16 / 9; }
.dated { margin: 0; padding: 0; list-style: none; }
.dated li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: var(--gap-columns); padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); }
.field .dated li { border-top-color: var(--color-field-rule); }
.dated time { font: 700 var(--text-display-s)/1 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; color: var(--color-accent); }
.field .dated time { color: var(--color-field-ink); }
@media (max-width: 60rem) { .story .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .dated li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); } }

/* ---------- About: live-site structure in the brand system ---------- */
.mark { color: var(--color-accent); }
.about-story .container { display: grid; gap: var(--space-3xl); }
.about-story--open { padding-top: var(--space-2xl); }
.about-story__head { display: grid; justify-items: center; text-align: center; }
.about-story__head h1 { font-size: var(--text-display-s); }
.about-story__head h1, .about-story__head h2 { max-width: 18ch; overflow-wrap: break-word; min-width: 0; }
@media (max-width: 60rem) { .about-story--open { padding-top: var(--space-xl); } }
.about-story__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.about-story__cols p { color: var(--color-ink-2); font-size: var(--text-md); line-height: 1.7; margin: 0 0 var(--space-md); }
.about-story__cols p:last-child { margin-bottom: 0; }
.about-pillars .pillars li { position: relative; gap: var(--space-md); padding: var(--space-xl) var(--space-xl) var(--space-2xl); border: 1px solid var(--color-rule); border-top: 3px solid var(--color-accent); border-radius: var(--radius-card); background: var(--color-paper); }
.about-pillars .pillars h3 { margin: 0; font-size: var(--text-xl); line-height: 1.2; }
.about-pillars .pillars p { font-size: var(--text-md); line-height: 1.65; }
.about-pillars { padding-bottom: var(--section-gap); }
.pillars__head { display: flex; align-items: center; gap: var(--space-sm); }
.pillars__icon { width: 32px; height: 32px; flex-shrink: 0; color: var(--color-accent); }
.head-block--centre { justify-items: center; text-align: center; }
.head-block--centre .lead { max-width: 42ch; }
.mission__centred { display: grid; gap: var(--space-lg); justify-items: center; text-align: center; width: min(100%, 56rem); margin-inline: auto; padding-block: var(--space-xl); }
.mission__centred h2 { color: var(--color-field-ink); }
.mission__centred p { font-size: var(--text-xl); line-height: 1.45; color: var(--color-field-ink); max-width: 52ch; }
.mission__split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.mission__text { display: grid; gap: var(--space-lg); justify-items: start; }
.mission__text h2 { color: var(--color-field-ink); }
.mission__text > p { font-size: var(--text-lg); line-height: 1.6; color: var(--color-field-ink); max-width: 52ch; }
.mission__stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); width: 100%; margin: var(--space-sm) 0 0; padding: 0; list-style: none; counter-reset: stage; }
.mission__stages li { display: grid; gap: var(--space-xs); padding-top: var(--space-md); border-top: 2px solid var(--color-field-rule); font-weight: 500; color: var(--color-field-ink); counter-increment: stage; }
.mission__stages li::before { content: counter(stage, decimal-leading-zero); font: 700 var(--text-xl)/1 var(--font-display); color: var(--color-nav-accent); font-variant-numeric: tabular-nums; }
.mission__photo { aspect-ratio: 4 / 3; }
.mission__photo > img { outline: 0; }
@media (max-width: 60rem) { .mission__split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
@media (max-width: 40rem) { .mission__stages { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 60rem) {
  .about-story__cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
}

/* ---------- Home: the partner band ---------- */
.partner__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-lg) var(--space-3xl); align-items: end; padding-bottom: var(--space-2xl); margin-bottom: var(--space-2xl); border-bottom: 1px solid var(--color-field-rule); }
.partner__aim { font-size: var(--text-xl); line-height: 1.45; color: var(--color-field-ink); max-width: 46ch; }
.partner__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: stretch; }
.partner__body .photo { min-height: 440px; height: 100%; }
@media (max-width: 60rem) { .partner__body .photo { aspect-ratio: 16 / 9; min-height: 0; height: auto; } }
.partner__dates { display: grid; gap: var(--space-xl); justify-items: start; }
.partner__dates .dated { width: 100%; }
.partner__dates .dated li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-block: 0 var(--space-lg); border-top: 0; border-bottom: 1px solid var(--color-field-rule); }
.partner__dates .dated li + li { padding-top: var(--space-lg); }
@media (max-width: 60rem) { .partner__head, .partner__body { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* ---------- Contact block ---------- */
.reach__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.reach__info { display: grid; gap: var(--space-xl); }
.facts { display: grid; gap: var(--space-lg); margin: 0; }
.facts div { display: grid; gap: var(--space-2xs); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts dd { margin: 0; font-size: var(--text-lg); line-height: 1.4; }
.facts a { color: var(--color-ink); text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.25em; transition: color var(--dur-short) var(--ease-out); }
.facts a:hover { color: var(--color-accent); }
.facts .big { font: 700 var(--text-2xl)/1.1 var(--font-display); letter-spacing: var(--tracking-display); }
.map { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-card); background: var(--color-paper-3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.map iframe:focus, .map iframe:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -3px; }
.form-well { padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); }
.form-well h3 { margin-bottom: var(--space-lg); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }
.form label span { color: var(--color-muted); font-weight: 400; }
.form input, .form textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -3px; transition: border-color var(--dur-short) var(--ease-out); }
.form textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.form input:hover, .form textarea:hover { border-color: var(--color-ink-2); }
.form input:focus-visible, .form textarea:focus-visible { outline-color: var(--color-focus); }
.form input:disabled, .form textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.form input[aria-invalid], .form textarea[aria-invalid] { border-color: var(--color-error); }
.form .btn { justify-self: start; }
@media (max-width: 60rem) { .reach__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } }
@media (max-width: 40rem) { .form { grid-template-columns: minmax(0, 1fr); } .form-well { padding: var(--space-lg); } }

/* ---------- Range grid (sales) ---------- */
.range { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.range li { display: grid; gap: var(--space-md); align-content: start; }
.range .photo { aspect-ratio: 4 / 3; }
.range p { color: var(--color-ink-2); }
.range-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: end; margin-bottom: var(--space-2xl); }
@media (max-width: 60rem) { .range { grid-template-columns: repeat(2, minmax(0, 1fr)); } .range-head { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } }
@media (max-width: 40rem) { .range { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hire split and rows ---------- */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.split .photo { aspect-ratio: 3 / 2; min-height: 440px; }
.split__text { display: grid; gap: var(--space-lg); }
.split__text p { color: var(--color-ink-2); }
.split__text h3 { margin-top: var(--space-xs); }
.rows-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); align-items: start; }
.rows { margin: 0; padding: 0; list-style: none; counter-reset: row; }
.rows li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); align-items: baseline; gap: var(--space-md); padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); font: 500 var(--text-title)/1.3 var(--font-display); counter-increment: row; }
.rows li:last-child { border-bottom: 1px solid var(--color-rule); }
.rows li::before { content: counter(row); color: var(--color-accent); font-variant-numeric: tabular-nums; }
@media (max-width: 60rem) { .split, .rows-wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .split .photo { min-height: 0; } }

/* ---------- Closing band ---------- */
.close .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: end; }
.close__text { display: grid; gap: var(--space-md); }
.close__act { justify-self: end; }
@media (max-width: 60rem) { .close .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } .close__act { justify-self: start; } }

/* ---------- About ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.pillars li { display: grid; gap: var(--space-sm); align-content: start; padding-top: var(--space-lg); border-top: 2px solid var(--color-ink); }
.pillars p { color: var(--color-ink-2); }
.field .pillars li { border-top-color: var(--color-field-ink); }
.field .pillars p { color: var(--color-field-ink-2); }
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.partners li { display: grid; gap: var(--space-sm); align-content: start; }
.partners-band { background: var(--color-paper); }
.partners__parent { position: relative; border-color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.partners .partners__badge { position: absolute; top: var(--space-md); left: var(--space-md); z-index: 1; margin: 0; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-sm); font-weight: 500; line-height: 1.4; }
.partners li { padding: var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }
.partners__logo { display: grid; place-items: center; height: 160px; margin-bottom: var(--space-sm); padding: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.partners__logo img { width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.partners__logo .logo--mats { height: 104px; }
.partners__logo .logo--heick { height: 52px; max-width: 78%; }
.partners__logo .logo--intermas { height: 150px; margin-block: calc(-1 * var(--space-lg)); }
.partners h3 { font-size: var(--text-xl); }
.partners p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .pillars, .partners { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.gallery-item { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-card); background: var(--color-paper-3); cursor: zoom-in; transition: opacity var(--dur-short) var(--ease-out); }
.gallery-item:hover { opacity: 0.86; }
.gallery-item:active { opacity: 0.75; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.pagination__pages { display: flex; gap: var(--space-xs); }
.page-btn { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.page-btn:hover { background: var(--color-paper-2); border-color: var(--color-ink-2); }
.page-btn:active { transform: translateY(1px); }
.page-btn.active { border-color: var(--color-ink); background: var(--color-paper-3); font-weight: 700; }
.page-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); display: none; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); align-items: center; gap: var(--space-md); padding: var(--space-lg); background: var(--color-scrim); }
.lightbox.active { display: grid; }
.lightbox-close { grid-column: 3; grid-row: 1; justify-self: end; }
.lightbox-prev { grid-column: 1; grid-row: 2; }
.lightbox-next { grid-column: 3; grid-row: 2; }
.lightbox-content { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; height: 100%; min-height: 0; }
.lightbox-content img { max-width: 100%; max-height: calc(100dvh - 2 * var(--space-lg)); width: auto; height: auto; border-radius: var(--radius-card); }
.lightbox .btn--quiet { color: var(--color-field-ink); border-color: var(--color-field-ink-2); }
.lightbox .btn--quiet:hover { background: var(--color-scrim-hover); border-color: var(--color-field-ink); }
.lightbox :focus-visible { outline-color: var(--color-field-focus); }
@media (max-width: 60rem) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) {
  .lightbox { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
  .lightbox-content { grid-column: 1 / -1; grid-row: 2; }
  .lightbox-close { grid-column: 2; }
  .lightbox-prev { grid-column: 1; grid-row: 3; justify-self: start; }
  .lightbox-next { grid-column: 2; grid-row: 3; justify-self: end; }
}

/* ---------- Footer ---------- */
.mast { padding-block: var(--space-3xl) var(--space-xl); background: var(--color-paper); color: var(--color-ink); border-top: 1px solid var(--color-rule); }
.mast__top { display: grid; grid-template-columns: minmax(14rem, 1.15fr) minmax(0, 3.2fr); gap: var(--space-2xl) var(--space-3xl); align-items: start; padding-bottom: var(--space-2xl); }
.mast__brand { display: grid; gap: var(--space-lg); justify-items: start; }
.mast__brand p { max-width: 36ch; color: var(--color-ink-2); }
.mast__logo { display: block; border-radius: var(--radius-card); }
.mast__logo img { width: clamp(150px, 13vw, 190px); height: auto; }
.mast__links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-xl) var(--space-xl); }
.mast h2 { margin-bottom: var(--space-sm); font: 500 var(--text-sm)/1.4 var(--font-body); letter-spacing: 0; color: var(--color-muted); }
.mast ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xs); }
.mast li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--color-ink); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.mast a:hover { color: var(--color-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.mast__addr { margin-top: var(--space-sm); font-size: var(--text-sm); max-width: 28ch; color: var(--color-ink-2); line-height: 1.5; }
.mast__base { padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.mast__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.mast__legal-left { display: grid; gap: var(--space-2xs); }
.mast__legal a { color: var(--color-ink); }
@media (max-width: 75rem) {
  .mast__top { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .mast__links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 40rem) { .mast__links { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Without script: the products menu lies flat ---------- */
html:not(.js) .bar__more { display: none; }
html:not(.js) .bar__menu { position: static; display: flex; gap: var(--space-lg); min-width: 0; padding: 0; border: 0; background: none; box-shadow: none; }
html:not(.js) .bar__menu a { padding: 0; }
