@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/*
 * Nijtec Werkboek
 * A technical catalogue and project register, not a generic landing page.
 */

:root {
  --paper: #f4f1e9;
  --paper-light: #fbf9f4;
  --ink: #17264e;
  --ink-soft: #465069;
  --muted: #697187;
  --rule: #c7cddd;
  --rust: #ef762f;
  --rust-dark: #c95018;
  --nijtec-blue: #2e4d9a;
  --nijtec-blue-deep: #17264e;
  --nijtec-blue-soft: #e9edf7;
  --nijtec-orange: #ef762f;
  --wit: #fff;
  --blauw: #17264e;
  --blauw2: #2e4d9a;
  --oranje: #ef762f;
  --oranje2: #ef762f;
  --licht: #f4f1e9;
  --rand: #c7cddd;
  --tekst: #17264e;
  --grijs: #697187;
}

* { box-sizing: border-box; }

html {
  --header-height: 78px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3, .section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; }

.scroll-progress {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--nijtec-orange);
  transform: scaleX(0);
  transform-origin: left center;
  animation: page-progress linear both;
  animation-timeline: scroll(root block);
}

@keyframes page-progress { to { transform: scaleX(1); } }

button, input, select, textarea { font: inherit; }

.demo-banner,
.hero-logo-watermark,
.hero-stats,
#chat-hint,
#chat-badge,
#chat-btn,
#chat-window { display: none !important; }

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 84px;
  padding: 0 max(22px, calc((100vw - 1220px) / 2));
  background: var(--nijtec-blue-deep);
  border: 0;
  border-bottom: 4px solid var(--nijtec-orange);
  box-shadow: none;
  overflow-x: hidden;
  overflow-x: clip;
}

.nav-logo {
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 86px;
  height: 66px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.06);
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.28);
  color: #fff;
  line-height: 1.12;
}

.nav-wordmark strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .01em;
}

.nav-wordmark small {
  margin-top: 5px;
  color: #f5a678;
  font-family: "Courier New", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links { gap: 28px; }

.nav-links a,
.nav-cta {
  color: #e9e5dc;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  padding: 8px 0 5px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--nijtec-orange);
  border-radius: 0;
  box-shadow: none;
}

.nav-cta:hover { background: transparent; color: #fff; }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 58px;
  min-height: 0;
  padding: 76px max(22px, calc((100vw - 1220px) / 2)) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  box-shadow: inset 0 7px 0 var(--nijtec-blue-soft);
  overflow: hidden;
}

.hero::before,
.hero::after { content: none; }

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .55fr);
  column-gap: clamp(54px, 8vw, 130px);
  max-width: none;
  text-align: left;
}

.hero-badge,
.section-label,
.qb-badge,
.modal-section-title,
.product-card-icon {
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-badge {
  grid-column: 1 / -1;
  display: flex;
  width: max-content;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  padding: 10px 16px 10px 12px;
  background: var(--nijtec-blue-deep);
  border: 0;
  border-left: 7px solid var(--nijtec-orange);
  border-radius: 0;
  color: #fff;
}

.hero-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: none;
}

.hero-badge span {
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.3);
  color: #f5a678;
}

.hero h1 {
  grid-column: 1;
  grid-row: 2 / span 2;
  max-width: 820px;
  margin: 0;
  color: var(--nijtec-blue-deep);
  font-size: clamp(48px, 5.5vw, 74px);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.045em;
}

.hero h1 span {
  color: var(--nijtec-orange);
  text-decoration: underline;
  text-decoration-color: var(--nijtec-blue);
  text-decoration-thickness: 4px;
  text-underline-offset: 9px;
}

.hero-sub {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  max-width: 420px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.hero-btns {
  grid-column: 2;
  grid-row: 3;
  align-items: center;
  gap: 24px;
  margin-top: 26px;
}

.btn-primary,
.btn-secondary {
  padding: 11px 0;
  border-radius: 0;
  box-shadow: none;
  transform: none !important;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.btn-primary {
  padding-inline: 17px;
  background: var(--nijtec-blue-deep);
  color: #fff;
}

.btn-primary:hover { background: var(--nijtec-orange); }

.btn-secondary {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}

.btn-secondary:hover { background: transparent; }

.hero-visual { width: 100%; max-width: none; }

.hero-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  width: 100%;
  aspect-ratio: auto;
  overflow: visible;
  background: var(--nijtec-blue-deep);
  border-bottom: 7px solid var(--nijtec-orange);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.hero-project::after { content: none; }

.hero-media { min-width: 0; overflow: hidden; }

.hero-project img {
  width: 100%;
  height: 510px;
  object-fit: cover;
  transform: none;
}

.hero-project figcaption {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: none;
  padding: 32px 28px;
  color: #e9e5dc;
  font-size: 13px;
  line-height: 1.6;
}

.hero-project figcaption span {
  display: block;
  margin-bottom: 10px;
  color: #f5a678;
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.features,
.products,
.projecten,
.zzp,
.av-section,
.contact,
.quickbond {
  padding: 96px max(22px, calc((100vw - 1220px) / 2));
  overflow-x: hidden;
  overflow-x: clip;
}

.features,
.products,
.projecten,
.av-section {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  column-gap: 38px;
  background: var(--paper-light);
  border-bottom: 1px solid var(--rule);
}

.section-label {
  grid-column: 1;
  margin: 7px 0 0;
  color: var(--rust);
}

.section-title {
  grid-column: 2;
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.038em;
}

.section-sub {
  grid-column: 2;
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.features { background: var(--nijtec-blue-soft); }

.application-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
  margin-bottom: 76px;
}

.application-card {
  position: relative;
  display: grid;
  grid-template-rows: 230px auto auto auto;
  overflow: hidden;
  min-height: 360px;
  background: var(--paper-light);
  border: 1px solid var(--rule);
  border-top: 5px solid var(--nijtec-orange);
  text-decoration: none;
}

.application-media {
  display: block;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  contain: paint;
}

.application-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  filter: saturate(.86) contrast(1.02);
  transition: filter .25s ease, transform .25s ease;
}

.application-card:hover img,
.application-card:focus-visible img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.025);
}

.application-number {
  margin: 18px 22px 0;
  color: var(--nijtec-orange);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.application-card strong {
  margin: 7px 22px 0;
  color: var(--nijtec-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.05;
}

.application-card small {
  margin: 8px 22px 22px;
  color: var(--ink-soft);
  font-size: 14px;
}

.application-card:focus-visible {
  outline: 3px solid var(--nijtec-orange);
  outline-offset: 4px;
}

/* One-shot reveals: the document layout and captions never move with scroll. */
@media (prefers-reduced-motion: no-preference) {
  .has-reveal-motion .motion-target {
    opacity: .35;
    transition: opacity .55s ease;
  }

  .has-reveal-motion .application-media.motion-target,
  .has-reveal-motion .photo-media.motion-target {
    clip-path: inset(0 0 32% 0);
    transition: opacity .65s ease, clip-path .65s cubic-bezier(.2,.7,.2,1);
  }

  .has-reveal-motion .motion-target.is-revealed {
    opacity: 1;
  }

  .has-reveal-motion .application-media.motion-target.is-revealed,
  .has-reveal-motion .photo-media.motion-target.is-revealed {
    clip-path: inset(0);
  }

  /* Focusing a link reveals it immediately, including its image. */
  .has-reveal-motion :focus-within > .motion-target {
    opacity: 1;
    clip-path: none;
  }
}

/* The opening arrives in a short editorial sequence when the page loads. */
@media (prefers-reduced-motion: no-preference) {
  .hero-badge { animation: hero-arrive .58s cubic-bezier(.2,.7,.2,1) .02s both; }
  .hero h1 { animation: hero-arrive .72s cubic-bezier(.2,.7,.2,1) .09s both; }
  .hero-sub { animation: hero-arrive .68s cubic-bezier(.2,.7,.2,1) .18s both; }
  .hero-btns { animation: hero-arrive .62s cubic-bezier(.2,.7,.2,1) .26s both; }
  .hero-project { animation: hero-image-arrive .92s cubic-bezier(.2,.7,.2,1) .14s both; }
}

@keyframes hero-arrive {
  from { opacity: 0; translate: 0 26px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes hero-image-arrive {
  from { opacity: .25; clip-path: inset(0 0 100%); scale: 1.025; }
  to { opacity: 1; clip-path: inset(0); scale: 1; }
}

.features-grid {
  grid-column: 1 / -1;
  display: block;
  margin-top: 58px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
}

.feature-card {
  display: grid;
  grid-template-columns: 80px 300px minmax(0, 1fr);
  min-height: 0;
  padding: 21px 0 23px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none !important;
}

.feature-card:nth-child(even) {
  padding-left: 0;
  border-left: 0;
}

.feature-card:hover { background: transparent; }

.feature-icon {
  width: auto;
  height: auto;
  margin: 3px 0 0;
  justify-content: flex-start;
  background: transparent;
  border-radius: 0;
  color: var(--rust);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.feature-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.015em;
}

.feature-card p {
  max-width: 590px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.quickbond {
  display: grid;
  grid-template-columns: minmax(340px, .78fr) minmax(640px, 1.22fr);
  align-items: start;
  gap: clamp(60px, 8vw, 120px);
  background: var(--ink);
  background-image: none;
  border-bottom: 1px solid #3b3832;
}

.qb-content h2 {
  margin: 18px 0 28px;
  color: #f3efe6;
  font-size: clamp(42px, 4.8vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.qb-content h2 span { color: inherit; }

.qb-content > p {
  max-width: 620px;
  color: #c8c1b7;
  font-size: 16px;
  line-height: 1.75;
}

.qb-badge {
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: #d36a48;
}

.qb-props {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 40px 0;
  border-top: 1px solid #555049;
}

.qb-prop {
  padding: 11px 0;
  border-bottom: 1px solid #3f3b35;
  color: #e5e0d7;
  font-size: 13px;
}

.qb-prop::before { content: none; }

.qb-guarantee {
  display: grid;
  grid-template-columns: 90px 1fr;
  max-width: 450px;
  padding: 22px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #777067;
  border-radius: 0;
}

.qb-guarantee-num {
  color: #d36a48;
  font-family: Georgia, "Times New Roman", serif;
}

.qb-guarantee-text { color: #c8c1b7; }

.qb-visual { width: 100%; }

.qb-visual {
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(260px, .8fr);
  gap: 32px;
  align-items: center;
}

.qb-model-wrap {
  position: relative;
  min-height: 690px;
  display: grid;
  align-content: center;
  justify-items: center;
  perspective: 1100px;
}

.qb-render-stage {
  position: relative;
  width: 100%;
  min-height: 690px;
  display: grid;
  place-items: center;
  isolation: isolate;
  cursor: grab;
  touch-action: pan-y;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}

.qb-webgl-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .35s ease;
  touch-action: pan-y;
}

.qb-render-stage.webgl-ready .qb-webgl-canvas { opacity: 1; }
.qb-render-stage.webgl-ready .qb-product-render { opacity: 0; visibility: hidden; }

.qb-render-stage:focus-visible {
  outline: 2px solid var(--nijtec-orange);
  outline-offset: 8px;
}

.qb-render-stage.is-dragging { cursor: grabbing; }

.qb-render-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(239, 118, 47, .13);
  filter: blur(34px);
  transform: translateY(38px);
  z-index: -1;
}

.qb-product-render {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 470px);
  max-height: 660px;
  object-fit: contain;
  filter: drop-shadow(25px 28px 20px rgba(0, 0, 0, .28));
  transform: perspective(1200px) translateY(0) rotateX(calc(var(--qb-rotate-x, 2) * 1deg)) rotateY(calc(var(--qb-rotate-y, -16) * 1deg));
  transform-origin: 50% 85%;
  will-change: transform;
  transition: opacity .25s ease, transform .16s ease-out, filter .2s ease;
}

.qb-render-stage.is-dragging .qb-product-render {
  transition: filter .2s ease;
  filter: drop-shadow(34px 36px 24px rgba(0, 0, 0, .34));
}

.qb-drag-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  color: #f3efe6;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(23, 38, 78, .74);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}

.qb-drag-hint span { color: var(--nijtec-orange); font-size: 16px; }
.qb-render-stage.is-dragging .qb-drag-hint { opacity: .35; }

.qb-model {
  position: relative;
  width: 210px;
  height: 390px;
  transform: rotateX(8deg) rotateY(-24deg) rotateZ(-3deg);
  transform-style: preserve-3d;
  will-change: transform;
  animation: qb-orbit linear both;
  animation-timeline: view(block 0% 100%);
  animation-range: entry 0% cover 80%;
}

/* De fotorealistische render is de primaire productweergave; de CSS-maquette blijft in de DOM als semantische fallback. */
.qb-model { display: none; }

.qb-cartridge {
  position: absolute;
  left: 30px;
  top: 66px;
  width: 150px;
  height: 282px;
  border: 1px solid rgba(255,255,255,.35);
  background: #f4f1e9;
  box-shadow: 20px 24px 0 rgba(0,0,0,.16), 30px 34px 40px rgba(0,0,0,.22);
  transform: translateZ(28px);
  transform-style: preserve-3d;
}

.qb-cartridge::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 13px;
  width: 24px;
  height: 268px;
  background: #c6ccd9;
  border: 1px solid rgba(0,0,0,.12);
  transform: skewY(-18deg) translateZ(-1px);
  transform-origin: right center;
}

.qb-cartridge::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: -23px;
  width: 140px;
  height: 22px;
  background: #d7dbe5;
  transform: skewX(-38deg) translateZ(-2px);
  transform-origin: top left;
}

.qb-cartridge-top {
  position: absolute;
  left: 5px;
  right: 5px;
  top: -18px;
  height: 18px;
  background: var(--nijtec-blue-deep);
  transform: skewX(-34deg) translateZ(2px);
}

.qb-cartridge-label {
  position: absolute;
  inset: 70px 0 auto;
  display: grid;
  gap: 8px;
  padding: 22px 14px 18px;
  background: var(--nijtec-blue-deep);
  color: #fff;
  transform: translateZ(10px);
  text-align: center;
}

.qb-cartridge-label span,
.qb-cartridge-label em,
.qb-cartridge-label small {
  font-family: "Courier New", monospace;
  font-style: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.qb-cartridge-label span { color: var(--nijtec-orange); font-size: 10px; font-weight: 700; }
.qb-cartridge-label strong { font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 400; letter-spacing: -.03em; }
.qb-cartridge-label em { color: #d6dced; font-size: 8px; }
.qb-cartridge-label small { padding-top: 10px; color: #f6a775; border-top: 1px solid rgba(255,255,255,.3); font-size: 8px; font-weight: 700; }

.qb-cartridge-nozzle {
  position: absolute;
  left: 76px;
  top: -70px;
  width: 42px;
  height: 74px;
  background: #c5cad5;
  clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
  transform: translateZ(30px) rotateX(-3deg);
}

.qb-cartridge-cap {
  position: absolute;
  left: 67px;
  top: -92px;
  width: 60px;
  height: 26px;
  background: var(--nijtec-orange);
  border: 1px solid #c95018;
  transform: translateZ(34px) rotateX(-3deg);
}

.qb-model-shadow {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: 190px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.3);
  filter: blur(9px);
  transform: rotateX(76deg) translateZ(-35px);
}

.qb-model-caption {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: grid;
  gap: 3px;
  margin-top: 6px;
  color: #f3efe6;
  text-align: center;
}

.qb-model-caption span { color: var(--nijtec-orange); font-family: "Courier New", monospace; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.qb-model-caption strong { font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 400; }
.qb-model-caption small { color: #c8cfe0; font-size: 12px; }

@keyframes qb-orbit {
  0% { transform: rotateX(8deg) rotateY(-24deg) rotateZ(-3deg) translateY(24px); }
  45% { transform: rotateX(2deg) rotateY(6deg) rotateZ(1deg) translateY(-10px); }
  100% { transform: rotateX(-5deg) rotateY(28deg) rotateZ(3deg) translateY(-20px); }
}

.qb-box {
  padding: 34px;
  background: #f3efe6;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.qb-toepassingen {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.toep-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  padding: 10px 0;
  border-color: var(--rule);
}

.toep-icon {
  color: var(--rust);
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
}

.toep-text { color: var(--ink); }

.qb-box > div:last-child { display: grid !important; gap: 0 !important; }

.qb-box > div:last-child span {
  padding: 9px 0 !important;
  background: transparent !important;
  border-bottom: 1px solid var(--rule) !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
  font-size: 12px !important;
}

.products { background: var(--paper); }

.products-grid {
  grid-column: 1 / -1;
  display: block;
  margin-top: 58px;
  border-top: 1px solid var(--ink);
}

.product-card {
  display: grid;
  grid-template-columns: 155px 260px minmax(0, 1fr) max-content;
  align-items: center;
  min-height: 0;
  padding: 23px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
  transform: none;
  cursor: pointer;
}

.product-card:hover {
  background: #e6e0d5;
  border-color: var(--ink);
  box-shadow: none;
  transform: none;
}

.product-card:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

.product-card-icon { margin: 0; color: var(--rust-dark); }

.product-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.product-card p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.product-card-link {
  justify-self: end;
  white-space: nowrap;
  margin: 0;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.zzp {
  background: #e1e6f2;
  border-bottom: 1px solid var(--rule);
}

.zzp-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 90px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.zzp-content h2 {
  max-width: 650px;
  margin: 18px 0 24px;
  color: var(--ink);
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.zzp-content > p { max-width: 650px; color: var(--ink-soft); }

.zzp-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  max-width: 680px;
  margin: 34px 0;
  border-top: 1px solid var(--ink);
}

.zzp-tag {
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #aaa193;
  border-radius: 0;
  color: var(--ink);
  font-size: 12px;
}

.zzp-price { margin-bottom: 30px; }
.zzp-prijs-val { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.zzp-prijs-label { color: var(--muted); }

.zzp-visual { display: flex; align-items: flex-start; }

.zzp-badge-big {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 26px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  transform: none;
}

.zzp-badge-big .big-num { color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
.zzp-badge-big .big-label { color: var(--ink-soft); }

.projecten { background: var(--paper-light); }

.photo-grid {
  grid-column: 1 / -1;
  display: block;
  columns: 3;
  column-gap: 18px;
  margin-top: 58px;
}

.photo-item,
.photo-item:nth-child(1),
.photo-item:nth-child(2),
.photo-item:nth-child(5) {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 28px;
  overflow: hidden;
  break-inside: avoid;
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: zoom-in;
}

.photo-media {
  display: block;
  width: 100%;
  overflow: hidden;
  contain: paint;
}

.photo-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(.82) contrast(1.03);
  transition: filter .18s ease;
}

.photo-item:hover img { transform: none; filter: saturate(1) contrast(1.02); }

.photo-caption {
  position: static;
  display: block;
  padding: 10px 0 0;
  background: transparent;
  opacity: 1;
}

.photo-caption span {
  display: block;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  text-shadow: none;
  transform: none;
  opacity: 1;
}

.photo-item:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }

.av-section { background: var(--nijtec-blue-soft); }

.av-accordion {
  grid-column: 2;
  display: block;
  max-width: 900px;
  margin-top: 20px;
}

.av-item {
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
}

.av-header {
  width: 100%;
  border: 0;
  border-radius: 0;
  text-align: left;
  padding: 18px 0;
  background: transparent;
  color: var(--ink);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 15px;
}

.av-header:hover,
.av-header.open { background: transparent; color: var(--rust-dark); }
.av-header:focus-visible { outline: 2px solid var(--nijtec-blue); outline-offset: 3px; }
.av-body { padding-inline: 0; }
.av-body.open { padding: 2px 0 26px; }
.av-body ol { padding-left: 1.5em; }
.av-body li { margin-bottom: .8em; font-size: 16px; line-height: 1.7; }

.contact {
  background: var(--ink);
  border-bottom: 1px solid #3c3832;
}

.contact-inner {
  grid-template-columns: minmax(0, .75fr) minmax(420px, 1fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.contact h2 {
  margin-bottom: 24px;
  color: #f3efe6;
  font-size: clamp(40px, 4.5vw, 62px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.contact p { color: #bbb4a9; }
.contact-info { gap: 0; border-top: 1px solid #5b554d; }

.contact-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #3d3933;
  color: #e8e3da;
  font-size: 15px;
}

.contact-item-icon {
  width: auto;
  height: auto;
  justify-content: flex-start;
  background: transparent;
  border-radius: 0;
  color: #d36a48;
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-form {
  padding: 0 0 0 40px;
  background: transparent;
  border: 0;
  border-left: 1px solid #5b554d;
  border-radius: 0;
}

.contact-form > p { color: #f3efe6 !important; }
.contact-form .form-helper { font-size: 15px; color: #c8cfe0 !important; line-height: 1.65; }
.form-helper a, .contact-item a { text-decoration: underline; text-underline-offset: 3px; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.form-copy { padding: 10px 0; min-height: 44px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #f3efe6; cursor: pointer; font-size: 15px; }
.contact-handoff { margin-top: 20px; padding: 16px; border: 1px solid var(--nijtec-orange); color: #f3efe6; font-size: 15px; }
#contact-copy-fallback { margin-top: 20px; }
#contact-copy-fallback label { display: block; margin-bottom: 8px; color: #f3efe6; }
#contact-copy-text { width: 100%; min-height: 200px; padding: 12px; font-size: 16px; }
.form-submit:disabled, .form-copy:disabled { opacity: .5; cursor: default; }
.form-row { gap: 14px; }
.form-group { gap: 7px; min-width: 0; }
.form-group label { color: #c8cfe0; font-size: 14px; }

.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 12px;
  background: #292621;
  border: 1px solid #5d574f;
  border-radius: 0;
  color: #fff;
  font-size: 16px;
  width: 100%;
  min-width: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: #d36a48; outline: 2px solid transparent; }

.form-group select option { background: #292621; color: #fff; }

.form-group textarea {
  height: 240px;
  min-height: 240px;
  resize: vertical;
  line-height: 1.6;
}

.form-submit {
  width: auto;
  padding: 13px 18px;
  background: #f3efe6;
  border-radius: 0;
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.form-submit:hover { background: #d36a48; color: #fff; }

#product-prefill-banner {
  background: transparent !important;
  border: 1px solid #6a6259 !important;
  border-radius: 0 !important;
}

#product-prefill-banner > span { display: none; }
#prefill-product-naam { color: #f3efe6 !important; }

footer {
  padding: 42px max(22px, calc((100vw - 1220px) / 2));
  background: var(--nijtec-blue-deep);
}

.analytics-notice { margin-top: 12px; max-width: 56ch; color: #c8cfe0; font-size: 14px; line-height: 1.65; }
.analytics-notice summary { display: list-item; min-height: 44px; padding-block: 10px; cursor: pointer; color: #fff; }
.analytics-notice p { margin: 0 0 12px; }
.analytics-notice a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* About Nijtec: a short company story, not a second marketing hero. */
.about {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 100px);
  padding: 88px max(22px, calc((100vw - 1220px) / 2));
  background: var(--paper-light);
  border-top: 1px solid var(--rule);
}
.about-intro h2 { max-width: 12ch; margin: 18px 0 0; font-size: clamp(36px, 4vw, 54px); font-weight: 520; line-height: 1.12; letter-spacing: -.04em; }
.about-copy { min-width: 0; max-width: 62ch; color: var(--ink-soft); }
.about-copy p { margin: 0 0 22px; font-size: 18px; line-height: 1.75; }
.about-copy .about-lead { color: var(--ink); }
.about-person { display: grid; gap: 4px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 15px; }
.about-person strong { color: var(--ink); font-weight: 600; font-size: 18px; }
.about-person a { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--ink); text-underline-offset: 5px; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 30px; padding-block: 64px; }
  .about-intro h2 { max-width: 18ch; }
}
@media (max-width: 620px) { .about { padding-inline: 18px; } }

/* Product dossier */
.modal-overlay {
  justify-content: flex-end;
  padding: 0;
  background: rgba(15, 13, 11, .72);
  backdrop-filter: none;
}

.modal {
  width: min(680px, 100%);
  max-width: none;
  height: 100dvh;
  max-height: none;
  background: var(--paper-light);
  border-radius: 0;
  box-shadow: -16px 0 50px rgba(0,0,0,.22);
  animation: dossierIn .24s ease both;
}

@keyframes dossierIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px 1fr 48px;
  gap: 22px;
  align-items: start;
  padding: 32px 40px 28px;
  background: var(--paper-light);
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
}

.modal-header-icon {
  width: auto;
  height: auto;
  padding-top: 7px;
  background: transparent;
  border-radius: 0;
  color: var(--rust);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.modal-header-info h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 45px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.modal-header-info p { color: var(--muted); font-size: 13px; }

.modal-close {
  width: 48px;
  height: 48px;
  margin: -7px -7px 0 0;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
}

.modal-close:hover { background: var(--ink); color: #fff; }

.modal-body { padding: 42px 40px 60px 118px; }

.modal-media { margin-bottom: 34px; }
.modal-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.modal-product-photo { min-width: 0; margin: 0; }
.modal-photo-link { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 220px; overflow: hidden; background: var(--paper); border: 1px solid var(--rule); }
.modal-photo-link img { display: block; width: auto; height: auto; max-width: calc(100% - 20px); max-height: calc(100% - 20px); object-fit: contain; filter: none; }
/* The wide source PNGs include transparent margins. Only that empty space is
   clipped here; proportions, the complete product and original files stay intact. */
.modal-photo-link--packshot img { position: absolute; left: 50%; top: -18%; width: auto; height: 125%; max-width: none; max-height: none; transform: translateX(-50%); }
.modal-photo-link--application img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; }
.modal-product-photo:only-child { grid-column: 1 / -1; }
.modal-product-photo:only-child .modal-photo-link { height: 260px; }
.modal-product-photo figcaption { position: static; padding-top: 9px; color: var(--ink); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.modal-media .modal-media-note { margin: 14px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.modal-photo-link:hover { border-color: var(--nijtec-blue); }
.modal-photo-link:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
@media (max-width: 380px) { .modal-photo-link { height: 190px; } }

.modal-desc {
  max-width: 470px;
  margin-bottom: 42px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.modal-section-title { margin: 0 0 12px; color: var(--rust-dark); }

.modal-props {
  gap: 0;
  margin-bottom: 40px;
  border-top: 1px solid var(--ink);
}

.modal-prop {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 15px;
}

.modal-prop::before { content: none; }

.modal-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin-bottom: 42px;
  border-top: 1px solid var(--ink);
}

.modal-tag {
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
  font-size: 14px;
}

.modal-cta {
  width: auto;
  padding: 12px 17px;
  background: var(--ink);
  border-radius: 0;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-cta:hover { background: var(--rust); }

/* Project viewer */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  grid-template-columns: 72px 1fr 72px;
  grid-template-rows: 68px 1fr;
  background: #080706;
  color: #fff;
}

.image-viewer.open { display: grid; }

.image-viewer-topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 26px;
  border-bottom: 1px solid #39352f;
}

#image-viewer-counter {
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.image-viewer-close,
.image-viewer-nav {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid #4e4942;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
}

.image-viewer-close:hover,
.image-viewer-nav:hover { background: #f3efe6; color: #080706; }

.image-viewer-nav { align-self: center; justify-self: center; }

.image-viewer-figure {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  margin: 0;
  padding: 22px 0 26px;
}

.image-viewer-figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.image-viewer-figure figcaption {
  max-width: 760px;
  color: #c9c2b7;
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-content { grid-template-columns: 1.3fr .7fr; column-gap: 44px; }
  .hero-project { grid-template-columns: 1fr 230px; }
  .hero-project img { height: 440px; }
  .quickbond { grid-template-columns: 1fr; }
  .qb-visual { grid-template-columns: minmax(330px, 1fr) minmax(280px, .8fr); }
  .products-grid { margin-top: 48px; }
  .product-card { grid-template-columns: 120px 220px minmax(0,1fr); }
  .product-card-link { grid-column: 2 / -1; justify-self: start; margin-top: 8px; }
  .zzp-inner { grid-template-columns: 1fr 250px; gap: 50px; }
  .photo-grid { columns: 2; }
}

@media (max-width: 768px) {
  html { --header-height: 66px; }
  nav { height: 66px; padding-inline: 16px; }
  .nav-logo { gap: 8px; }
  .nav-logo img { width: 62px; height: 46px; }
  .nav-wordmark { padding-left: 8px; }
  .nav-wordmark strong { font-size: 16px; }
  .nav-wordmark small { font-size: 6px; margin-top: 3px; }
  .nav-links { display: none; }
  .nav-cta { font-size: 10px; }

  .hero {
    gap: 40px;
    padding: 56px 18px 0;
  }
  .hero-content { display: block; }
  .hero-badge { width: 100%; gap: 10px; padding-right: 12px; }
  .hero-badge strong { font-size: 16px; }
  .hero-badge span { padding-left: 10px; font-size: 8px; letter-spacing: .08em; }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); line-height: 1; }
  .hero-sub { margin-top: 28px; font-size: 17px; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 24px; }
  .hero-project { display: block; }
  .hero-project img { height: auto; aspect-ratio: 4 / 3; }
  .hero-project figcaption { padding: 20px 18px 22px; }

  .features,
  .products,
  .projecten,
  .zzp,
  .av-section,
  .contact,
  .quickbond {
    padding: 72px 18px;
  }

  .features,
  .products,
  .projecten,
  .av-section {
    display: block;
  }

  .section-label { margin-bottom: 14px; }
  .section-title { font-size: 39px; }
  .section-sub { font-size: 16px; }

  .features-grid { margin-top: 40px; }
  .application-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 38px; margin-bottom: 54px; }
  .application-card { grid-template-rows: 190px auto auto auto; min-height: 0; }
  .application-card img { height: 190px; }
  .feature-card {
    grid-template-columns: 44px 1fr;
    gap: 2px 0;
    padding: 18px 0 20px;
  }
  .feature-card p { grid-column: 2; }

  .qb-content h2 { font-size: 44px; }
  .qb-props { grid-template-columns: 1fr; }
  .qb-visual { grid-template-columns: 1fr; gap: 16px; }
  .qb-model-wrap { min-height: 540px; }
  .qb-render-stage { min-height: 540px; }
  .qb-product-render { width: min(100%, 350px); max-height: 510px; }
  .qb-model { transform: scale(.82) rotateX(8deg) rotateY(-24deg) rotateZ(-3deg); }
  .qb-box { padding: 26px 20px; }

  .product-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px 20px;
    padding: 20px 0;
  }
  .product-card-icon { grid-column: 1 / -1; }
  .product-card h3 { grid-column: 1; font-size: 25px; }
  .product-card p { grid-column: 1 / -1; }
  .product-card-link { grid-column: 2; grid-row: 2; align-self: end; margin: 0; }

  .zzp-inner { display: block; }
  .zzp-content h2 { font-size: 43px; }
  .zzp-items { grid-template-columns: 1fr; }
  .zzp-visual { margin-top: 42px; }
  .zzp-badge-big { width: 220px; }

  .photo-grid { columns: 1; margin-top: 42px; }
  .photo-item { margin-bottom: 32px; }

  .av-accordion { max-width: none; margin-top: 34px; }

  .contact-inner { grid-template-columns: 1fr; gap: 56px; }
  .contact h2 { font-size: 43px; }
  .contact-form { padding: 42px 0 0; border-left: 0; border-top: 1px solid #5b554d; }

  .modal-header {
    grid-template-columns: 36px 1fr 46px;
    gap: 12px;
    padding: 22px 16px 20px;
  }
  .modal-header-info h2 { font-size: 32px; }
  .modal-body { padding: 30px 18px 46px 64px; }
  .modal-tags { grid-template-columns: 1fr; }

  .image-viewer {
    grid-template-columns: 54px 1fr 54px;
    grid-template-rows: 60px 1fr;
  }
  .image-viewer-topbar { padding-inline: 12px; }
  .image-viewer-figure { padding: 16px 0 20px; }
  .image-viewer-figure figcaption { font-size: 9px; }
}

@media (max-width: 440px) {
  .modal-header { grid-template-columns: 28px 1fr 44px; }
  .modal-body { padding-left: 46px; }
  .image-viewer { grid-template-columns: 46px 1fr 46px; }
  .image-viewer-close,
  .image-viewer-nav { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .product-card { grid-template-columns: minmax(0, 1fr); }
  .product-card-icon,
  .product-card h3,
  .product-card p,
  .product-card-link { grid-column: 1; grid-row: auto; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .qb-model { animation: none; transform: rotateX(4deg) rotateY(-12deg); }
  .qb-product-render { animation: none; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   High-end product pass — gebaseerd op de True You-audit: media eerst,
   grote typografie, directe content en één cinematografisch producthoofdstuk.
   -------------------------------------------------------------------------- */

body,
button,
input,
select,
textarea {
  font-family: "Instrument Sans", Arial, sans-serif;
}

h1,
h2,
h3,
.hero h1,
.section-title,
.qb-content h2,
.zzp-content h2,
.contact h2,
.modal-header-info h2,
.qb-model-caption strong {
  font-family: "Instrument Sans", Arial, sans-serif;
}

body {
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

nav {
  height: 78px;
  background: var(--paper-light);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: none;
}

.nav-logo { gap: 14px; height: 100%; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.nav-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 106px;
  height: 68px;
  padding: 0;
  background: transparent;
}
.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: none;
}
.nav-wordmark { padding-left: 0; border: 0; color: var(--ink); }
.nav-wordmark strong { font-family: "Instrument Sans", Arial, sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.nav-wordmark small { font-family: "Instrument Sans", Arial, sans-serif; font-size: 11px; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; text-transform: none; margin-top: 4px; }
.nav-links { gap: clamp(18px, 2vw, 28px); }
.nav-links a, .nav-cta { color: var(--ink); font-family: "Instrument Sans", Arial, sans-serif; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover, .nav-cta:hover { color: var(--nijtec-blue); }
.nav-cta { min-height: 44px; display: inline-flex; align-items: center; }

.hero {
  min-height: min(760px, calc(100svh - 78px));
  padding-top: clamp(52px, 7vh, 84px);
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(50px, 5.15vw, 80px);
  font-weight: 520;
  line-height: .96;
  letter-spacing: -.055em;
}

.hero h1 span { font-weight: 520; }
.hero-sub { max-width: 55ch; font-size: clamp(18px, 1.35vw, 22px); }

.section-title {
  max-width: 15ch;
  font-size: clamp(48px, 6vw, 90px);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.section-sub { max-width: 62ch; font-size: 18px; }

.application-card,
.feature-card,
.product-card,
.photo-item {
  opacity: 1;
  transform: none;
}

.quickbond {
  position: relative;
  isolation: isolate;
  background: #101d43;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.qb-content h2 {
  font-size: clamp(50px, 5vw, 80px);
  font-weight: 520;
  line-height: .94;
  letter-spacing: -.055em;
}

.qb-content > p {
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.62;
}

.qb-prop { color: rgba(255,255,255,.82); font-size: 14px; }
.qb-guarantee-num { font-family: "Instrument Sans", Arial, sans-serif; font-weight: 520; }

.qb-model-wrap {
  min-width: 0;
  min-height: 0;
  align-content: start;
}

.qb-render-stage {
  min-height: 540px;
  height: min(74svh, 760px);
  max-height: 760px;
  padding-bottom: 64px;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,.12);
  border-right: 1px solid rgba(255,255,255,.12);
}

.qb-webgl-canvas { inset: 0 0 64px; height: calc(100% - 64px); pointer-events: none; }
.qb-product-render { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% - 64px); max-height: none; }
.qb-render-stage.webgl-ready .qb-webgl-canvas { pointer-events: auto; }

.qb-render-glow {
  width: min(80%, 520px);
  height: min(62%, 430px);
  background: rgba(238, 92, 28, .15);
  filter: blur(72px);
}

.qb-story-notes {
  position: relative;
  z-index: 4;
  top: auto;
  left: auto;
  width: 100%;
  height: 68px;
  pointer-events: none;
}

.qb-story-notes p {
  position: absolute;
  inset: 0 auto auto 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  width: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
}

.qb-story-notes p.is-active { opacity: 1; visibility: visible; }
.qb-story-notes span { grid-row: 1 / 3; color: var(--nijtec-orange); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.qb-story-notes strong { color: #fff; font-size: 17px; font-weight: 600; line-height: 1.15; }
.qb-story-notes small { color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.35; }

.qb-drag-hint {
  left: 20px;
  bottom: 20px;
  transform: none;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.22);
  background: transparent;
  padding: 8px 0 0;
}

.qb-viewer-controls {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(16,29,67,.72);
  backdrop-filter: blur(12px);
}

.qb-viewer-controls button {
  min-width: 46px;
  height: 44px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

.qb-viewer-controls button:last-child { border-right: 0; }
.qb-viewer-controls button:hover,
.qb-viewer-controls button:focus-visible { background: #fff; color: var(--ink); }

.qb-model-caption {
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  text-align: left;
}

.qb-model-caption span { grid-row: 1 / 3; align-self: start; padding-top: 4px; }
.qb-model-caption strong { font-size: 20px; font-weight: 560; }

.qb-box {
  align-self: center;
  background: #f6f3eb;
  color: var(--ink);
}

.qb-leveringsvorm {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* One desktop scene pins all columns together; the information panel never
   catches up to an independently sticky product viewer. */
.qb-scene { display: contents; }

.qb-box > div:last-child span {
  padding: 7px 0 !important;
  background: transparent !important;
  border-bottom: 1px solid var(--rule);
  border-radius: 0 !important;
  color: var(--ink) !important;
}

@media (min-width: 1101px) {
  .quickbond {
    display: block;
    min-height: 195svh;
    padding: clamp(78px, 9vh, 112px) clamp(28px, 4vw, 76px);
  }

  .qb-scene {
    display: grid;
    grid-template-columns: minmax(310px, .8fr) minmax(390px, 1.05fr) minmax(250px, .62fr);
    gap: clamp(24px, 3vw, 54px);
    align-items: start;
    position: sticky;
    top: calc(78px + 4vh);
  }

  .qb-scene > .qb-content {
    display: flex;
    min-height: calc(92svh - 110px);
    flex-direction: column;
    justify-content: center;
  }

  .qb-scene > .qb-box { align-self: start; margin-top: 9vh; }
}

@media (max-width: 1100px) {
  .quickbond {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 72px clamp(18px, 4vw, 48px);
  }

  .qb-model-wrap { order: -1; width: min(100%, 720px); margin-inline: auto; }
  .qb-content,
  .qb-box { width: min(100%, 720px); margin-inline: auto; }
  .qb-render-stage { height: min(72svh, 680px); min-height: 520px; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  nav { height: 66px; }
  .nav-logo { gap: 8px; }
  .nav-logo-frame { width: 84px; height: 56px; }
  .nav-wordmark { padding-left: 0; }
  .nav-wordmark strong { font-size: 17px; }
  .nav-wordmark small { display: none; }
  .nav-cta { font-size: 13px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(42px, 11.5vw, 54px); }
  .section-title { font-size: clamp(42px, 12vw, 58px); }
  .quickbond { padding-block: 48px 72px; gap: 34px; }
  .qb-render-stage { min-height: 460px; height: 68svh; border-inline: 0; }
  .qb-story-notes { top: auto; left: auto; }
  .qb-drag-hint { left: 14px; bottom: 12px; font-size: 9px; }
  .qb-viewer-controls { right: 12px; bottom: 10px; }
  .qb-viewer-controls button { min-width: 42px; height: 42px; padding-inline: 10px; }
  .qb-content h2 { font-size: clamp(44px, 13vw, 60px); }
}

@media (max-width: 380px) {
  .nav-logo-frame { width: 78px; height: 52px; }
  .qb-drag-hint { bottom: 62px; }
  .qb-render-stage { padding-bottom: 100px; }
  .qb-webgl-canvas { bottom: 100px; height: calc(100% - 100px); }
  .qb-product-render { height: calc(100% - 100px); }
}

@media (prefers-reduced-motion: reduce) {
  .quickbond { min-height: 0; }
  .qb-scene { position: static; }
  .qb-story-notes { display: none; }
}

.footer-pages { flex-basis: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 24px; padding-top: 24px; border-top: 1px solid #465069; }
.footer-pages a { display: flex; align-items: center; min-height: 44px; color: #e9edf7; font-size: 15px; line-height: 1.4; }
.footer-pages a:hover { text-decoration: underline; }
.detail-intro, .detail-body { padding: 68px max(22px, calc((100% - 1220px) / 2)); }
.detail-intro { background: var(--paper); border-bottom: 1px solid var(--rule); }
.detail-intro h1 { max-width: 22ch; margin: 24px 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: -.035em; font-weight: 520; }
.detail-intro > p { max-width: 66ch; margin: 0; font-size: 20px; color: var(--ink-soft); }
.detail-breadcrumb { font-size: 14px; color: var(--ink-soft); }
.detail-breadcrumb a, .detail-copy a { text-decoration: underline; text-underline-offset: 3px; }
.detail-copy { max-width: 70ch; }
.detail-copy h2 { margin: 32px 0 16px; font-size: clamp(25px, 3vw, 34px); line-height: 1.25; }
.detail-copy h2:first-child { margin-top: 0; }
.detail-copy p { margin-bottom: 24px; }
.detail-copy ul { margin: 24px 0 32px; padding-left: 24px; }
.detail-copy li { margin-block: 8px; }
.detail-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; margin-top: 48px; }
.detail-media a { min-width: 0; display: block; }
.detail-media img { display: block; width: 100%; height: 240px; object-fit: contain; }
.detail-media span { display: block; margin-top: 14px; font-size: 15px; }
.detail-index > a { display: block; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.detail-index h2 { font-size: 30px; line-height: 1.25; margin-bottom: 12px; }
.detail-index p { max-width: 66ch; color: var(--ink-soft); margin-bottom: 12px; }
.detail-index span { text-decoration: underline; }
.image-viewer-figure figcaption { font-size: 14px; }
@media (max-width: 1100px) { .nav-links { display: none; } }
@media (max-width: 768px) {
  .footer-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; text-align: left; }
  .detail-intro, .detail-body { padding: 48px 18px; }
  .detail-intro > p { font-size: 18px; }
}
@media (max-width: 380px) { .footer-pages { grid-template-columns: minmax(0, 1fr); } }
