/* ==========================================================================
   TR-Service — design system
   Grafiet (werkplaats) · Beton (licht) · Vonk-oranje (signaal)
   Archivo (variabel: wdth 62–125) + IBM Plex Mono (technische labels)
   ========================================================================== */

:root {
  --ink: #0c0e10;
  --ink-2: #131619;
  --ink-3: #1b1f23;
  --ink-4: #262b30;
  --steel: #8b949c;
  --steel-2: #b8bfc5;
  --paper: #ecebe7;
  --paper-2: #e1e0db;
  --white: #fbfbf9;
  --signal: #ff5b1f;
  --signal-2: #ff7a45;
  --line-d: rgba(255, 255, 255, .1);
  --line-l: rgba(12, 14, 16, .14);

  --f-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --gut: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.55; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--signal); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- typografie ---------- */
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.eyebrow { color: var(--steel); margin-bottom: 22px; display: block; }
.eyebrow b { color: var(--signal); font-weight: 500; }
.display {
  font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 7.6vw, 124px); line-height: .9; letter-spacing: -.02em;
}
.h2 { font-stretch: 118%; font-weight: 750; font-size: clamp(32px, 4.2vw, 62px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.h3 { font-stretch: 110%; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.08; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--steel-2); max-width: 58ch; }
.signal { color: var(--signal); }
.muted { color: var(--steel); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .eyebrow, .section--light .muted { color: #5d656c; }
.section--light .lead { color: #3d444a; }
.section--ink2 { background: var(--ink-2); }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 64px; } }

/* blueprint-raster (Terminal / OSE) */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 88px 88px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); opacity: .55;
}
.section--light.grid-bg::before { background-image: linear-gradient(var(--line-l) 1px, transparent 1px), linear-gradient(90deg, var(--line-l) 1px, transparent 1px); opacity: .5; }

/* ---------- knoppen ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px;
  border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 650; font-size: 16px; font-stretch: 108%;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--signal { --bg: var(--signal); --fg: var(--ink); box-shadow: 0 10px 30px -12px rgba(255, 91, 31, .7); }
.btn--signal:hover { --bg: var(--signal-2); }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.section--light .btn--ghost { --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-l); }
.section--light .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--dark { --bg: var(--ink); --fg: var(--white); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 650; border-bottom: 1.5px solid currentColor; padding-bottom: 4px; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); display: inline-block; position: relative; flex: none; }
.pulse::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--signal); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- topbar (Path Robotics) ---------- */
.topbar { background: var(--ink); border-bottom: 1px solid var(--line-d); position: relative; z-index: 60; }
.topbar__in { max-width: var(--max); margin: 0 auto; padding: 9px var(--gut); display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--steel-2); }
.topbar__in .mono:first-of-type { color: var(--white); }
.topbar__tel { margin-left: auto; color: var(--signal); white-space: nowrap; }
.topbar__tel:hover { color: var(--signal-2); }
@media (max-width: 720px) { .topbar__txt { display: none; } }

/* ---------- navigatie: zwevende pil (Terminal / Q Industrial) ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px var(--gut) 0; transition: transform .45s var(--ease); pointer-events: none; height: 0; }
.nav.is-hidden { transform: translateY(-120%); }
.nav__bar {
  pointer-events: auto; max-width: calc(var(--max) - 2 * var(--gut)); margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 20px; padding: 0 10px 0 18px;
  background: rgba(16, 19, 22, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line-d); border-radius: 18px; color: var(--white);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .8);
}
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: var(--signal); color: var(--ink);
  font-stretch: 125%; font-weight: 900; font-size: 16px; letter-spacing: -.02em; position: relative;
}
.logo__mark::after { content: ''; position: absolute; right: 5px; bottom: 5px; width: 6px; height: 6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.logo__word { font-stretch: 125%; font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .01em; line-height: 1; display: flex; flex-direction: column; gap: 4px; }
.logo__word small { font-family: var(--f-mono); font-stretch: 100%; font-size: 9.5px; letter-spacing: .1em; color: var(--steel); font-weight: 500; }
.nav__menu { margin: 0 auto; }
.nav__menu > ul { display: flex; gap: 4px; }
.nav__link { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 550; color: var(--steel-2); transition: color .2s, background .2s; }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-1px); }
.nav__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__tel { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 13px; padding: 0 8px; }
.nav__tel:hover { color: var(--signal); }

.has-mega { position: static; }
.nav__bar { position: relative; }
.mega {
  position: absolute; left: 50%; top: calc(100% + 10px); width: min(900px, 100%); transform: translate(-50%, 8px);
  background: #121518; border: 1px solid var(--line-d); border-radius: var(--r-lg);
  padding: 14px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
  box-shadow: 0 40px 80px -40px #000;
}
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .35s var(--ease); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mega__item { display: grid; gap: 6px; padding: 10px; border-radius: 14px; transition: background .2s; }
.mega__item:hover { background: rgba(255, 255, 255, .05); }
.mega__item img { aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; margin-bottom: 8px; filter: saturate(.8); transition: filter .3s; }
.mega__item:hover img { filter: saturate(1.05); }
.mega__item .mono { color: var(--signal); font-size: 11px; }
.mega__item strong { font-stretch: 115%; font-size: 18px; text-transform: uppercase; letter-spacing: -.01em; }
.mega__item em { font-style: normal; font-size: 13.5px; color: var(--steel); line-height: 1.4; }
.mega__foot { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 14px 12px 4px; margin-top: 8px; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--steel-2); }
.mega__foot a:hover { color: var(--white); }
.mega__tel { margin-left: auto; color: var(--steel); }
.mega__tel a { color: var(--signal); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .07); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); padding: 140px var(--gut) 32px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
}
.drawer[hidden] { display: flex; visibility: hidden; }
.drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.drawer nav { display: grid; }
.drawer nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-stretch: 122%; font-weight: 750; font-size: clamp(26px, 7vw, 40px); text-transform: uppercase; letter-spacing: -.02em; }
.drawer nav a .mono { color: var(--signal); font-size: 12px; }
.drawer nav a[aria-current="page"] { color: var(--signal); }
.drawer__foot { display: grid; gap: 16px; padding-top: 32px; }
.drawer__foot .btn { justify-content: center; }
.drawer__foot p { color: var(--steel); }

@media (max-width: 1080px) {
  .nav__menu, .nav__tel { display: none; }
  .burger { display: block; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 420px) {
  .nav__cta .btn { display: none; }
  .logo__word small { display: none; }
}

/* ---------- hero (Path Robotics + Terminal) ---------- */
.hero { position: relative; min-height: calc(100svh - 52px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__media video { position: absolute; inset: 0; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 14, 16, .92) 0%, rgba(12, 14, 16, .55) 42%, rgba(12, 14, 16, .1) 70%),
    linear-gradient(0deg, rgba(12, 14, 16, .96) 0%, rgba(12, 14, 16, 0) 42%),
    linear-gradient(180deg, rgba(12, 14, 16, .6) 0%, rgba(12, 14, 16, 0) 22%);
}
.hero__meta { position: absolute; top: 150px; right: var(--gut); display: grid; gap: 6px; text-align: right; color: var(--steel-2); }
.hero__meta span:first-child { color: var(--signal); }
.hero__in { padding-top: 140px; padding-bottom: 26px; }
.hero h1 { font-size: clamp(40px, 5.9vw, 94px); }
.hero__sub { margin-top: 26px; display: grid; gap: 24px; }
@media (min-width: 1000px) { .hero__sub { grid-template-columns: minmax(0, 54ch) auto; align-items: end; justify-content: space-between; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kpis { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.kpi { padding: 22px 22px 6px 0; display: grid; gap: 4px; }
.kpi + .kpi { padding-left: 22px; border-left: 1px solid var(--line-d); }
.kpi strong { font-stretch: 125%; font-weight: 800; font-size: clamp(26px, 3vw, 42px); line-height: 1; letter-spacing: -.02em; }
.kpi strong i { font-style: normal; color: var(--signal); }
.kpi span { color: var(--steel); }
@media (max-width: 760px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { padding-left: 0; border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .hero__meta { display: none; }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line-d); overflow: hidden; background: var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { display: flex; align-items: center; gap: 34px; padding: 22px 17px; font-stretch: 125%; font-weight: 750; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -.01em; white-space: nowrap; color: var(--steel-2); }
.marquee__track span::after { content: ''; width: 12px; height: 12px; background: var(--signal); transform: rotate(45deg); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- statement met scroll-licht (Terminal) ---------- */
.statement [data-words] { font-stretch: 112%; font-weight: 650; font-size: clamp(28px, 4.1vw, 60px); line-height: 1.08; letter-spacing: -.02em; max-width: 24ch; }
.statement .w { opacity: .16; transition: opacity .25s linear; }
.statement .w.on { opacity: 1; }
.statement .w.hl.on { color: var(--signal); }
.statement__foot { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; }
.disc { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-d); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-2); white-space: nowrap; }
.section--light .tag { border-color: var(--line-l); color: #3d444a; }

/* ---------- diensten-lijst met hover-beeld (Huston / INTECH) ---------- */
.svc { border-top: 1px solid var(--line-d); }
.svc__row { position: relative; display: grid; grid-template-columns: 80px 1fr auto; gap: 18px 32px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line-d); }
.svc__row::before { content: ''; position: absolute; inset: 0 calc(-1 * var(--gut)); background: var(--ink-3); opacity: 0; transition: opacity .3s; z-index: -1; }
.svc__row:hover::before { opacity: 1; }
.svc__num { color: var(--signal); padding-top: 10px; }
.svc__title { font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 64px); line-height: .95; letter-spacing: -.02em; transition: transform .45s var(--ease); }
.svc__row:hover .svc__title { transform: translateX(10px); }
.svc__body { display: grid; gap: 18px; margin-top: 16px; grid-column: 2; max-width: 70ch; }
.svc__body p { color: var(--steel-2); }
.svc__go { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); font-size: 22px; transition: background .3s, color .3s, transform .45s var(--ease); }
.svc__row:hover .svc__go { background: var(--signal); color: var(--ink); border-color: var(--signal); transform: rotate(-45deg); }
.svc__row a.cover { position: absolute; inset: 0; z-index: 1; }
.svc__thumb { display: none; }
.svc-float {
  position: fixed; left: 0; top: 0; width: 340px; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; pointer-events: none; z-index: 40;
  opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .25s, transform .4s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.svc-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .svc__row { grid-template-columns: 1fr auto; grid-template-areas: "num go" "title title" "body body"; }
  .svc__row > div:not(.svc__body) { grid-area: title; min-width: 0; display: grid; gap: 16px; }
  .svc__num { grid-area: num; padding: 0; align-self: center; }
  .svc__go { grid-area: go; }
  .svc__body { grid-area: body; margin-top: 0; }
  .svc__title { font-size: clamp(22px, 7.2vw, 40px); }
  .svc__go { width: 48px; height: 48px; }
  .svc__thumb { display: block; border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
}
@media (hover: none) { .svc-float { display: none; } }

/* ---------- stilstandcalculator (Path Robotics data-storytelling) ---------- */
.calc { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 980px) { .calc { grid-template-columns: 1.05fr 1fr; } }
.calc__panel { background: var(--white); border: 1px solid var(--line-l); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); display: grid; gap: 30px; }
.field { display: grid; gap: 12px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field label { font-weight: 650; }
.field output { font-family: var(--f-mono); font-size: 15px; font-weight: 500; background: var(--paper); padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) var(--p), var(--paper-2) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--paper-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--signal); border: 4px solid var(--white); box-shadow: 0 0 0 1px var(--line-l), 0 4px 10px rgba(0, 0, 0, .2); margin-top: -10px; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--signal); border: 4px solid var(--white); box-shadow: 0 0 0 1px var(--line-l); }
.calc__out { background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; position: relative; overflow: hidden; }
.calc__out::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 91, 31, .35), transparent 70%); }
.calc__big { font-stretch: 125%; font-weight: 800; font-size: clamp(48px, 7vw, 104px); line-height: .9; letter-spacing: -.03em; color: var(--signal); font-variant-numeric: tabular-nums; }
.calc__rows { display: grid; border-top: 1px solid var(--line-d); }
.calc__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-d); color: var(--steel-2); }
.calc__rows b { color: var(--white); font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.calc__note { font-size: 13px; color: var(--steel); }

/* ---------- werkwijze (OSE / Terminal stappen) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-d); }
.steps::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: calc(var(--fill, 0) * 100%); background: var(--signal); transition: width .2s linear; }
.step { padding: 34px 28px 0 0; position: relative; }
.step::before { content: ''; position: absolute; top: -6px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--steel); transition: background .3s, border-color .3s; }
.step.on::before { background: var(--signal); border-color: var(--signal); }
.step .mono { color: var(--signal); }
.step h3 { margin: 14px 0 12px; }
.step p { color: var(--steel-2); font-size: 16px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; padding-left: 28px; }
  .steps::before { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { left: 6px; width: 2px; height: calc(var(--fill, 0) * 100%); transition: height .2s linear; }
  .step { padding: 0 0 40px; }
  .step::before { left: -28px; top: 4px; }
}

/* ---------- realisaties: horizontale galerij (INTECH / Huston spec-kaarten) ---------- */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 24px; margin: 0 calc(-1 * var(--gut)); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail.drag * { pointer-events: none; }
.card { flex: 0 0 clamp(280px, 34vw, 470px); scroll-snap-align: start; display: grid; gap: 16px; }
.card__img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background: var(--ink-3); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.35) contrast(1.05); }
.card:hover .card__img img { transform: scale(1.05); filter: none; }
.card__badge { position: absolute; left: 12px; top: 12px; background: rgba(12, 14, 16, .78); backdrop-filter: blur(8px); color: var(--white); padding: 7px 11px; border-radius: 8px; }
.card h3 { font-stretch: 112%; font-size: 21px; line-height: 1.15; font-weight: 700; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; padding-top: 14px; border-top: 1px solid var(--line-d); }
.spec dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); padding-top: 2px; }
.spec dd { margin: 0; color: var(--steel-2); }
.section--light .spec { border-color: var(--line-l); }
.section--light .spec dd { color: #3d444a; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; font-size: 18px; transition: background .25s, color .25s; }
.rail-nav button:hover { background: var(--white); color: var(--ink); }
.rail-progress { height: 2px; background: var(--line-d); margin-top: 18px; position: relative; overflow: hidden; border-radius: 2px; }
.rail-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--signal); transition: transform .15s linear; }

/* ---------- machinepark spec-sheet ---------- */
.sheet { border-top: 1px solid var(--line-d); }
.sheet__row { display: grid; grid-template-columns: 56px 1.2fr 1.4fr 120px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-d); transition: background .25s; }
.sheet__row:hover { background: rgba(255, 255, 255, .03); }
.sheet__row .mono { color: var(--signal); }
.sheet__name { font-stretch: 115%; font-weight: 700; font-size: clamp(18px, 1.7vw, 23px); text-transform: uppercase; letter-spacing: -.01em; }
.sheet__val { font-family: var(--f-mono); font-size: 14.5px; color: var(--steel-2); }
.sheet__img { width: 120px; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; filter: grayscale(1) contrast(1.1); transition: filter .4s; }
.sheet__row:hover .sheet__img { filter: none; }
@media (max-width: 760px) {
  .sheet__row { grid-template-columns: 40px 1fr 88px; }
  .sheet__val { grid-column: 2; grid-row: 2; }
  .sheet__img { grid-column: 3; grid-row: 1 / span 2; width: 88px; }
}

/* ---------- waarom (Q Industrial genummerde voordelen) ---------- */
.why { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-l); }
.why__item { display: grid; grid-template-columns: 90px 1fr; gap: 8px 28px; padding: 30px 0; border-bottom: 1px solid var(--line-l); }
.why__n { font-stretch: 125%; font-weight: 800; font-size: 44px; line-height: .9; color: var(--signal); }
.why__item h3 { margin-bottom: 8px; }
.why__item p { color: #3d444a; max-width: 62ch; }
@media (min-width: 1000px) { .why { grid-template-columns: 1fr 1fr; column-gap: 64px; } }

/* ---------- foto-split ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split__img { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.split__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__img--wide img { aspect-ratio: 3/2; }
.split__img .card__badge { left: 16px; top: 16px; }
.split__body { display: grid; gap: 22px; align-content: start; }
.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--steel-2); }
.checks li::before { content: ''; width: 14px; height: 14px; margin-top: 5px; border: 2px solid var(--signal); border-radius: 3px; background: linear-gradient(var(--signal), var(--signal)) center / 6px 6px no-repeat; }
.section--light .checks li { color: #3d444a; }

/* ---------- spoed CTA ---------- */
.spoed { position: relative; min-height: 88svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: 120px 0; }
.spoed__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 30% 50%; }
.spoed::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(12, 14, 16, .94) 0%, rgba(12, 14, 16, .7) 45%, rgba(12, 14, 16, .2) 100%); }
.spoed__in { display: grid; justify-items: end; text-align: right; gap: 26px; }
.spoed__in .lead { margin-left: auto; }
.spoed__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 20px 28px; margin-top: 10px; }
.bigtel { display: grid; gap: 4px; font-stretch: 125%; font-weight: 800; font-size: clamp(34px, 5.4vw, 80px); line-height: .95; letter-spacing: -.02em; color: var(--white); transition: color .25s; }
.bigtel .mono { color: var(--signal); font-size: 12px; }
.bigtel:hover { color: var(--signal); }
@media (max-width: 760px) { .spoed__in { justify-items: start; text-align: left; } .spoed__in .lead { margin-left: 0; } .spoed__actions { justify-content: flex-start; } .spoed::before { background: linear-gradient(0deg, rgba(12, 14, 16, .95) 20%, rgba(12, 14, 16, .55)); } }

/* ---------- jobs-band (IEM / Huston) ---------- */
.jobs { display: grid; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); }
@media (min-width: 900px) { .jobs { grid-template-columns: 1fr 1.3fr; } }
.jobs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.jobs__body { padding: clamp(28px, 4vw, 64px); display: grid; gap: 22px; align-content: center; }

/* ---------- pagina-hero (subpagina's) ---------- */
.phero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 14, 16, .97) 4%, rgba(12, 14, 16, .35) 60%, rgba(12, 14, 16, .55) 100%), linear-gradient(90deg, rgba(12, 14, 16, .7), transparent 70%); }
.phero__in { padding-top: 200px; padding-bottom: clamp(40px, 6vw, 80px); display: grid; gap: 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--steel); }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-current] { color: var(--signal); }
.phero--short { min-height: 56svh; }

/* ---------- subnav / anker-tabs ---------- */
.subnav { position: sticky; top: 96px; z-index: 20; display: flex; gap: 6px; padding: 6px; background: rgba(27, 31, 35, .85); backdrop-filter: blur(12px); border: 1px solid var(--line-d); border-radius: 14px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 64px; }
.subnav a { padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--steel-2); white-space: nowrap; }
.subnav a.on, .subnav a:hover { background: var(--white); color: var(--ink); }

/* ---------- discipline-tegels ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tile { background: var(--ink-3); border: 1px solid var(--line-d); border-radius: var(--r); padding: 26px; display: grid; gap: 12px; align-content: start; min-height: 220px; transition: border-color .3s, transform .4s var(--ease); }
.tile:hover { border-color: rgba(255, 91, 31, .6); transform: translateY(-4px); }
.tile .mono { color: var(--signal); }
.tile h3 { font-stretch: 115%; font-size: 22px; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; }
.tile p { color: var(--steel-2); font-size: 15.5px; }
.section--light .tile { background: var(--white); border-color: var(--line-l); }
.section--light .tile p { color: #3d444a; }

/* ---------- tijdlijn ---------- */
.timeline { display: grid; border-top: 1px solid var(--line-d); }
.tl { display: grid; grid-template-columns: 160px 1fr; gap: 12px 40px; padding: 30px 0; border-bottom: 1px solid var(--line-d); }
.tl__y { font-stretch: 125%; font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); line-height: .9; color: var(--signal); }
.tl p { color: var(--steel-2); max-width: 64ch; margin-top: 8px; }
@media (max-width: 640px) { .tl { grid-template-columns: 1fr; } }

/* ---------- formulier ---------- */
.form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.f { display: grid; gap: 8px; }
.f label, .f legend { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #5d656c; }
.f input, .f textarea, .f select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-l); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.f textarea { min-height: 150px; resize: vertical; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 91, 31, .18); }
fieldset.f { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips label { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-l); background: var(--white); font-family: var(--f-sans); font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + label { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips input:focus-visible + label { outline: 2px solid var(--signal); outline-offset: 2px; }
.chips label.urgent::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); margin-right: 9px; }
.file { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed var(--line-l); border-radius: 12px; background: var(--white); cursor: pointer; color: #3d444a; font-size: 15px; }
.file:hover { border-color: var(--ink); }
.file input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__ok { display: none; grid-column: 1 / -1; padding: 22px; border-radius: 14px; background: var(--ink); color: var(--white); }
.form.sent .form__ok { display: block; }
.form.sent > :not(.form__ok) { display: none !important; }

.contact-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .8fr 1.2fr; } }
.cblock { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line-l); }
.cblock .mono { color: #5d656c; }
.cblock a, .cblock p { font-stretch: 112%; font-weight: 700; font-size: clamp(20px, 2vw, 26px); }
.cblock a:hover { color: var(--signal); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-l); aspect-ratio: 16/9; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- galerij-raster ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px 18px; }
.gallery .card { flex: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 15px; font-weight: 600; color: var(--steel-2); transition: background .2s, color .2s; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--white); color: var(--ink); }
.card[hidden] { display: none; }

/* ---------- footer ---------- */
.foot { background: var(--ink); border-top: 1px solid var(--line-d); padding-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.foot__top { display: grid; gap: 56px; }
@media (min-width: 1000px) { .foot__top { grid-template-columns: 1fr 1.2fr; } }
.foot__claim { display: grid; gap: 26px; justify-items: start; }
.foot__big { font-stretch: 118%; font-weight: 750; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; max-width: 16ch; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; }
.foot__cols h3 { color: var(--steel); margin-bottom: 16px; }
.foot__cols li + li { margin-top: 9px; }
.foot__cols a { color: var(--steel-2); transition: color .2s; }
.foot__cols a:hover { color: var(--white); }
.foot__cols address { color: var(--steel-2); line-height: 1.75; }
.foot__word { font-stretch: 125%; font-weight: 900; font-size: clamp(44px, 11.4vw, 176px); line-height: .8; letter-spacing: -.04em; margin: clamp(56px, 8vw, 110px) 0 0; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); white-space: nowrap; text-align: center; user-select: none; }
.foot__bar { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding: 22px 0 28px; border-top: 1px solid var(--line-d); color: var(--steel); }
.foot__live { display: flex; align-items: center; gap: 10px; }
.foot__bar a:hover { color: var(--white); }

/* ---------- reveal-animaties ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.lines > * { display: block; overflow: hidden; }
.lines > * > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.lines.is-in > * > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .lines > * > span { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}

/* ---------- concept / onderzoek ---------- */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line-l); border-radius: var(--r-lg); background: var(--white); }
.matrix { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 1060px; }
.matrix th, .matrix td { padding: 12px 10px; border-bottom: 1px solid var(--line-l); text-align: center; vertical-align: middle; }
.matrix thead th { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; font-weight: 500; color: #5d656c; writing-mode: vertical-rl; transform: rotate(180deg); height: 150px; vertical-align: bottom; white-space: nowrap; }
.matrix thead th:first-child { writing-mode: horizontal-tb; transform: none; text-align: left; vertical-align: bottom; }
.matrix tbody th { text-align: left; font-weight: 600; min-width: 260px; }
.matrix td.y::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.matrix td.tr { background: rgba(255, 91, 31, .1); font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.matrix td.tr.no { color: #8b949c; background: transparent; }
.matrix thead th.tr { color: var(--signal); }
.sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.site { border: 1px solid var(--line-d); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; background: var(--ink-3); }
.site__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.site h3 { font-stretch: 112%; font-size: 20px; }
.site .award { color: var(--signal); }
.site p { color: var(--steel-2); font-size: 15px; }
.site a.mono { color: var(--steel); }
.site a.mono:hover { color: var(--white); }
