:root {
  --bg: #f7f8f2;
  --band: #e6efe8;
  --ink: #14241c;
  --muted: #4e6158;
  --line: #d3ddd6;
  --green: #0e7a46;
  --green-deep: #0b5c34;
  --green-soft: #dceee3;
  --max: 78rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
}

::selection {
  background: #cfe8d8;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: #fff;
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  height: 3px;
  background: var(--green);
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  min-height: 4.25rem;
  gap: 1rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand img {
  height: 2.35rem;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.98rem;
}

nav a:hover,
nav a[aria-current="true"] {
  color: var(--ink);
}

nav a[aria-current="true"] {
  box-shadow: inset 0 -2px 0 var(--green);
}

.lang {
  display: inline-flex;
  padding: 0.15rem;
  border: 1px solid var(--line);
  background: #fff;
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--green-soft);
  color: var(--green-deep);
}

.hero {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
}

h2 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.lead,
.intro {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.lead {
  margin: 1.5rem 0 0;
}

.intro {
  margin: 0;
}

.hero-actions,
.contact-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.button:hover {
  background: var(--green-deep);
}

.quiet {
  color: var(--ink);
  font-weight: 650;
  text-underline-offset: 0.18em;
}




.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.services {
  margin-top: 2.5rem;
}

.service {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.5rem 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.service p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.num {
  margin: 0.35rem 0 0;
  color: var(--green-deep);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem 3.5rem;
  margin-top: 2.75rem;
}

.pip {
  display: block;
  width: 3.1rem;
  height: auto;
  margin: 0 0 0.9rem;
  fill: none;
  stroke: var(--green-deep);
  stroke-width: 1.5;
  stroke-linejoin: miter;
}

.principles p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
}

.band {
  background: var(--band);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  gap: 3rem 4rem;
  align-items: start;
}

.legal {
  padding-top: 0.2rem;
}

.kvk {
  margin: 1.25rem 0 0;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.8rem;
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.footer-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-line a {
  color: var(--ink);
}

@media (max-width: 840px) {
  .bar {
    flex-wrap: wrap;
    padding-block: 0.85rem 0.35rem;
  }

  nav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    padding-bottom: 0.75rem;
    gap: 1rem 1.15rem;
  }

  .lang {
    margin-left: auto;
  }

  h1 {
    max-width: 18ch;
  }
}

@media (max-width: 700px) {
  .principles,
  .contact-grid,
  .service {
    grid-template-columns: 1fr;
  }

  .service {
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

}

/* Resolve's geometric identity, from interface to architecture. */
:root { --lime: #d1ef80; --forest: #122f25; }
section[id] { scroll-margin-top: 7rem; }
.topbar { background: linear-gradient(90deg, var(--green) 65%, var(--lime) 65%); }
.site-header { background: rgba(247,248,242,.94); backdrop-filter: blur(16px); }
.bar { min-height: 5.3rem; }
.brand { font-weight: 700; }
nav a { transition: color .2s; }
.lang { border-radius: 6px; background: transparent; }
.lang button { border-radius: 3px; }
.hero { overflow: hidden; padding: clamp(4rem,7vw,7rem) 0 0; }
.hero > .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 3rem; }
.hero .kicker, .hero h1, .hero .lead, .hero-actions { grid-column: 1; }
.kicker { display: flex; align-items: center; gap: .65rem; font-size: .7rem; letter-spacing: .16em; }
.kicker::before { content: ''; width: 7px; height: 7px; background: currentColor; flex: 0 0 7px; }
h1 { max-width: 15ch; font-size: clamp(2.8rem,4.75vw,4.6rem); line-height: 1.06; letter-spacing: -.065em; font-weight: 650; }
h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--green); letter-spacing: -.055em; }
.lead { font-size: 1.05rem; max-width: 31rem; line-height: 1.75; margin-top: 1.65rem; }
.hero-actions { gap: 1.15rem; margin-top: 1.8rem; }
.button { border-radius: 5px; gap: 1.5rem; font-size: .92rem; transition: background .2s, transform .2s, box-shadow .2s; }
.button::after { content: '→'; font-size: 1.2rem; font-weight: 400; }
a.button[href^="mailto:"]::after, a.button[href^="http"]::after { content: '↗'; }
.button:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #123a2518; }
.quiet { font-size: .88rem; font-weight: 500; text-decoration: none; }
.quiet:hover { text-decoration: underline; text-underline-offset: 5px; }
.system-art { grid-column: 2; grid-row: 1 / 5; position: relative; align-self: center; height: 475px; min-width: 0; background: radial-gradient(ellipse at center, #d6e7cf 0%, #edf1e6 52%, transparent 73%); isolation: isolate; }
.system-art-scale { position: relative; width: 100%; height: 100%; }
.art-grid { position: absolute; inset: 0; background-image: linear-gradient(#14372809 1px, transparent 1px), linear-gradient(90deg,#14372809 1px,transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse,black 25%,transparent 72%); }
.art-caption, .art-footnote { position: absolute; left: 7%; right: 3%; display: flex; align-items: center; gap: .5rem; font-family: 'Consolas', monospace; font-size: .6rem; letter-spacing: .09em; color: var(--muted); }
.art-caption { left: 0; top: 14px;}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #0e7a4610; }
.art-footnote { bottom: 0; font-family: inherit; font-size: .8rem; letter-spacing: 0; }
.art-orbit { position: absolute; border: 1px solid #0e7a4617; border-radius: 50%; width: 360px; height: 360px; left: 10%; top: 55px; }
.orbit-two { width: 280px; height: 280px; top: 95px; left: 18%; }
.system-layer { position: absolute; width: 77%; border-radius: 9px; transform: rotate(-9deg) skewY(3deg); box-shadow: 0 18px 35px #173b2520; animation: assemble .95s cubic-bezier(.2,.7,.2,1) both; }
@media (hover: hover) {
  /* Crossfade above the stack instead of abruptly switching its paint order.
     Original cards stay in place, keeping their hover areas stable. */
  .system-layer.layer-preview {
    z-index: 2;
    pointer-events: none;
    animation: none;
    opacity: 0;
    scale: 1;
    translate: 0 0;
    transition: opacity .38s ease, scale .5s cubic-bezier(.22,1,.36,1), translate .5s cubic-bezier(.22,1,.36,1), box-shadow .5s ease;
  }
  .system-layer.layer-preview.is-active {
    opacity: 1;
    scale: 1.02;
    translate: 0 -6px;
    box-shadow: 0 26px 46px #173b2533;
  }
}
.layer-preview { display: none; }
@media (hover: hover) { .layer-preview { display: block; } }
.layer-label { display: flex; justify-content: space-between; align-items: center; padding: 13px 17px; font-family: 'Consolas', monospace; font-size: .6rem; letter-spacing: .09em; border-bottom: 1px solid #ffffff24; }
.architecture-layer { top: 221px; left: 20%; height: 187px; background: var(--forest); color: #d1ef80; animation-delay: .1s; }
.architecture-nodes { display: flex; align-items: center; position: absolute; bottom: 22px; left: 25px; right: 25px; }
.architecture-nodes i { width: 35px; height: 30px; border: 1px solid #d1ef8070; border-radius: 4px; background: #d1ef8010; }
.architecture-nodes b { height: 1px; background: #d1ef8060; flex: 1; }
.backend-layer { top: 148px; left: 12%; height: 185px; background: #21835c; color: #f4ffeb; animation-delay: .25s; }
.data-lines { position: absolute; bottom: 21px; left: 22px; width: 48%; display: grid; gap: 7px; }
.data-lines i { height: 4px; border-radius: 2px; background: #c4efaf70; }
.data-lines i:nth-child(2) { width: 70%; }
.data-lines i:nth-child(3) { width: 85%; }
.data-flow { position: absolute; right: 24px; bottom: 24px; display: flex; gap: 7px; }
.data-flow span { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; }
.interface-layer { top: 62px; left: 3%; height: 205px; background: #fcfdf7; border: 1px solid #cfdcc9; animation-delay: .4s; }
.interface-layer .layer-label { border-color: #e0e7db; color: #486454; }
.window-dots { letter-spacing: 3px; color: #86a68d; }
.mock-interface { display: flex; gap: 17px; padding: 17px; }
.mock-sidebar { width: 40px; padding-top: 3px; display: grid; align-content: start; gap: 12px; border-right: 1px solid #e0e7db; }
.mock-sidebar i { width: 23px; height: 4px; background: #d4e0cc; border-radius: 2px; }
.mock-sidebar i:first-child { background: var(--green); }
.mock-main { flex: 1; }
.mock-heading { width: 60%; height: 7px; background: #254a36; border-radius: 2px; }
.mock-subheading { width: 40%; height: 4px; background: #c8d6c1; margin-top: 7px; }
.mock-chart { display: flex; align-items: end; gap: 8px; height: 69px; margin-top: 7px; padding: 0 5px; border-bottom: 1px solid #d7e2ce; }
.mock-chart i { flex: 1; background: #94ba85; height: 33%; border-radius: 3px 3px 0 0; }
.mock-chart i:nth-child(2n) { height: 49%; background: #d1ef80; }
.mock-chart i:nth-child(3n) { height: 60%; }
.mock-chart i:nth-child(5) { height: 72%; }
.mock-chart i:nth-child(6) { height: 85%; }
.mock-chart i:nth-child(7) { height: 100%; background: var(--green); }
.mock-bottom { display: flex; gap: 10px; margin-top: 11px; }
.mock-bottom i { width: 33%; height: 5px; border-radius: 2px; background: #dce5d5; }
@keyframes assemble { from { opacity: 0; transform: translateY(28px) rotate(-3deg); } to { opacity: 1; transform: rotate(-9deg) skewY(3deg); } }
.section { padding: clamp(4rem,7.5vw,7rem) 0; }
h2 { font-size: clamp(2.2rem,4vw,3.6rem); letter-spacing: -.055em; max-width: 22ch; }
.intro { font-size: 1.03rem; max-width: 35rem; }
.services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; margin-top: 3rem; }
.service { position: relative; display: flex; flex-direction: column; gap: 1.5rem; padding: 1rem 1rem 1.8rem; border: 1px solid var(--line); border-radius: 9px; background: #fff9; transition: border-color .25s, transform .25s; }
.service:hover { border-color: #8ca990; transform: translateY(-4px); }
.service .num { position: absolute; z-index: 1; top: 1.8rem; left: 1.9rem; font: .65rem 'Consolas',monospace; color: #587060; }
.service > div:not(.service-visual) { padding: 0 .65rem; }
.service h3 { font-size: 1.5rem; margin-bottom: .85rem; }
.service p { font-size: .95rem; line-height: 1.75; }
.service-visual { height: 205px; background: #eaf0e2; position: relative; display: grid; place-items: center; border-radius: 5px; overflow: hidden; }
.visual-tag { position: absolute; bottom: 13px; left: 0; right: 0; text-align: center; font: .55rem 'Consolas', monospace; letter-spacing: .14em; color: #536c58; }
.mini-window { width: 65%; height: 112px; border: 1px solid #c1d1b8; border-radius: 5px; background: #fbfdf6; box-shadow: 0 10px 20px #214d3010; transform: rotate(-5deg); }
.mini-top { height: 23px; padding-left: 10px; line-height: 17px; color: #91ac86; letter-spacing: 2px; border-bottom: 1px solid #e1e8da; }
.mini-layout { display: flex; gap: 10px; padding: 12px; }
.mini-layout > i { width: 30%; height: 58px; border-radius: 3px; background: #dfebd3; }
.mini-layout > div { flex: 1; }
.mini-layout b { display: block; width: 90%; height: 5px; margin: 4px 0 9px; background: #adc2a2; }
.mini-layout b:nth-child(2) { width: 65%; }
.mini-layout span { display: block; width: 40%; height: 16px; margin-top: 14px; border-radius: 3px; background: var(--green); }
.backend-visual { background: #e2eee7; }
.api-flow { display: flex; align-items: center; width: 83%; }
.api-flow > span { padding: 6px 9px; background: #fafff5; border: 1px solid #c5d7c9; border-radius: 4px; font: .65rem 'Consolas',monospace; color: #287047; }
.api-flow i { flex: 1; height: 1px; background: #87b596; }
.api-flow strong { padding: 13px; background: var(--green); color: #deefbe; border-radius: 9px; font: 1.4rem 'Consolas',monospace; }
.architecture-visual { background: #e7ecdf; }
.mini-layers { width: 130px; height: 120px; position: relative; }
.mini-layers i { position: absolute; width: 106px; height: 67px; left: 12px; background: #b9d5a3; border: 1px solid #7ea378; border-radius: 5px; transform: rotate(-26deg) skewX(25deg); top: 45px; }
.mini-layers i:nth-child(2) { top: 24px; background: #409266; }
.mini-layers i:nth-child(3) { top: 3px; background: #d5eeae; }
#aanpak { background: #edf1e8; border-top: 0; }
#aanpak > .wrap { display: grid; grid-template-columns: .9fr 1.1fr; column-gap: 5rem; }
#aanpak .kicker, #aanpak h2, #aanpak .intro { grid-column: 1; }
#aanpak .intro { align-self: start; }
.principles { grid-column: 2; grid-row: 1 / 5; margin-top: 0; gap: 2.5rem 2rem; }
.principles h3 { font-size: 1.15rem; }
.principles p { font-size: .92rem; line-height: 1.75; }
.pip { height: 34px; width: 44px; margin-bottom: 1.2rem; }
.band { background: var(--forest); color: #f3f7eb; position: relative; overflow: hidden; padding: 6rem 0; }
.band .kicker { color: var(--lime); }
.band h2 { font-size: clamp(2.5rem,4.5vw,4.4rem); max-width: 20ch; }
.band .intro { color: #b9cbbd; max-width: 31rem; }
.band .button { color: var(--forest); background: var(--lime); }
.band .button:hover { background: #e1ffa3; }
.band :focus-visible { outline-color: var(--lime); }
.contact-grid { grid-template-columns: 1.7fr .7fr; align-items: center; gap: 3rem; }
.legal { justify-self: end; }
.contact-mark { display: block; height: 145px; width: auto; margin-bottom: 2.5rem; opacity: .85; }
.legal .kicker { font-size: .65rem; }
.legal .kicker::before { content: none; }
.kvk { color: #b9cbbd; font-size: .8rem; font-weight: 400; margin-top: .75rem; }
.site-footer { background: var(--forest); border-color: #ffffff1c; }
.footer-line { justify-content: space-between; }
.footer-line p, .footer-line a { color: #b9cbbd; font-size: .75rem; }
@media (min-width: 1000px) { #aanpak h2 { max-width: 12ch; } }
@media (max-width: 1050px) {
  .hero > .wrap { column-gap: 1.5rem; }
  .system-art { height: 430px; }
  .system-layer { width: 85%; }
  .architecture-layer { left: 15%; }
  .backend-layer { left: 8%; }
  .interface-layer { left: 0; }
  #aanpak > .wrap { column-gap: 2.5rem; }
}
@media (max-width: 840px) {
  .bar { min-height: 4.25rem; }
  .hero > .wrap { grid-template-columns: 1fr; }
  h1 { max-width: 19ch; font-size: clamp(3rem,7.5vw,4.5rem); }
  .hero .lead { max-width: 35rem; }
  .system-art { grid-column: 1; grid-row: auto; width: 100%; height: calc(475px * 0.54 + 2.15rem); justify-self: center; margin-top: .85rem; overflow: hidden; }
  .system-art-scale { position: absolute; left: 50%; top: 0; width: 524px; height: 475px; margin-left: -262px; transform: scale(0.54); transform-origin: top center; }
  .system-art .art-footnote { z-index: 1; }
  .system-layer { width: 77%; }
  .architecture-layer { top: 221px; left: 20%; height: 187px; }
  .backend-layer { top: 148px; left: 12%; height: 185px; }
  .interface-layer { top: 62px; left: 3%; height: 205px; }
  .art-orbit { width: 360px; height: 360px; left: 10%; top: 55px; }
  .orbit-two { width: 280px; height: 280px; top: 95px; left: 18%; }
  .layer-label { padding: 13px 17px; font-size: .6rem; }
  .services { gap: .8rem; }
  .service { padding: .65rem .65rem 1.4rem; }
  .service-visual { height: 175px; }
  .service .num { left: 1.1rem; top: 1.2rem; }
  .api-flow { width: 92%; }
  .api-flow strong { padding: 8px; }
  .api-flow > span { padding: 5px; }
  #aanpak > .wrap { display: block; }
  .principles { margin-top: 3rem; }
}
@media (max-width: 600px) {
  .art-caption { font-size: 1rem }
  .brand { font-size: .95rem; gap: .5rem; }
  .brand img { height: 2rem; }
  .bar { gap: .7rem; }
  nav { justify-content: space-between; gap: .5rem; }
  nav a { font-size: .85rem; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(2.65rem,10.5vw,3.7rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .system-art { height: calc(475px * 0.46 + 1.9rem); margin-top: .65rem; }
  .services { grid-template-columns: 1fr; gap: 1.2rem; }
  .service { padding: 1rem 1rem 1.8rem; }
  .service-visual { height: 210px; }
  .service .num { top: 1.8rem; left: 1.8rem; }
  .api-flow { width: 80%; }
  .api-flow strong { padding: 15px; }
  .principles { grid-template-columns: 1fr; gap: 2.2rem; }
  .principles article { padding-top: 1.5rem; border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .legal { justify-self: start; margin-top: 1rem; }
  .contact-mark { height: 70px; margin-bottom: 1.5rem; }
  .band { padding: 4rem 0; }
  .band .button { font-size: .83rem; gap: .7rem; }
  .footer-line { flex-direction: column; }
}
.arrived { animation: arrive .65s ease-out both; }
@keyframes arrive { from { opacity: .65; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Shared layouts for the three service pages. */
.service-link {
  margin: auto .65rem 0;
  padding-top: .5rem;
  color: var(--green-deep);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.service-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 9px;
}
.service-link:focus-visible { outline: none; }
.service-link:focus-visible::after {
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
}
.service-link:hover, .back-link:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.detail-hero { padding: 2rem 0 5rem; }
.back-link { color: var(--muted); font-size: .85rem; text-decoration: none; }
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
  margin-top: 4rem;
}
.detail-hero h1 { max-width: 16ch; }
.detail-hero .button { margin-top: 1rem; }
.detail-hero .service-visual { height: 360px; }
.detail-hero .mini-window { height: 180px; }
.detail-hero .mini-top { height: 35px; line-height: 28px; }
.detail-hero .mini-layout { padding: 22px; gap: 20px; }
.detail-hero .mini-layout > i { height: 90px; }
.detail-hero .mini-layout b { height: 8px; margin-bottom: 15px; }
.detail-hero .mini-layout span { height: 25px; }
.detail-hero .api-flow strong { font-size: 2rem; padding: 25px; }
.detail-hero .api-flow > span { font-size: .9rem; padding: 12px; }
.detail-hero .mini-layers { transform: scale(1.65); }
.detail-hero .visual-tag { bottom: 25px; font-size: .65rem; }
.detail-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.detail-split h2 { font-size: clamp(2rem,3.2vw,3rem); }
.detail-context { border-top: 1px solid var(--line); }
.detail-context .intro { padding-top: .3rem; }
.detail-process { background: #edf1e8; }
.detail-process h2 { max-width: 23ch; }
.detail-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem; margin-top: 3rem; }
.detail-steps article { border-top: 1px solid #bacdbd; padding-top: 1.5rem; }
.detail-steps .num { margin-bottom: 1.5rem; color: var(--green-deep); }
.detail-steps h3 { font-size: 1.35rem; line-height: 1.25; }
.detail-steps article > p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.deliverables { border: 1px solid var(--line); border-radius: 8px; padding: 2rem; background: #fff8; }
.deliverables h3 { font-size: 1.5rem; }
.deliverables p { font-size: .95rem; color: var(--muted); }
.deliverables ul { padding-left: 1.2rem; margin-bottom: 0; }
.deliverables li { padding: .6rem 0 .6rem .3rem; font-size: 1rem; }
.deliverables li::marker { color: var(--green); }
.example-section { background: #e6efe1; }
.example-section p:not(.kicker) { margin: 0 0 1.25rem; color: var(--muted); line-height: 1.8; }
.related-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.related-links a { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 1.2rem 1.5rem; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; }
.related-links a:hover { background: var(--green-soft); border-color: #8ca990; }
@media (max-width: 840px) {
  .detail-hero-grid { gap: 2rem; }
  .detail-hero h1 { font-size: clamp(2.5rem,5.5vw,3.5rem); }
  .detail-hero .service-visual { height: 300px; }
  .detail-split { gap: 2rem; }
  .detail-steps { gap: 1.5rem; }
  .deliverables { padding: 1.5rem; }
}
@media (max-width: 600px) {
  .detail-hero { padding-bottom: 3rem; }
  .detail-hero-grid, .detail-split, .detail-steps { grid-template-columns: 1fr; }
  .detail-hero-grid { margin-top: 2.5rem; }
  .detail-hero h1 { font-size: clamp(2.6rem,10vw,3.5rem); }
  .detail-hero .service-visual { height: 260px; margin-top: 1rem; }
  .detail-hero .mini-layers { transform: scale(1.3); }
  .detail-hero .api-flow strong { padding: 18px; }
  .detail-steps { margin-top: 2rem; }
  .detail-steps .num { margin-bottom: 1rem; }
  .related-links { flex-direction: column; }
}

/* A seamless client reel, with a static fallback when motion is disabled. */
.clients { padding: 2.75rem 0 0; }
.clients-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.clients .kicker { margin: 0; max-width: none; color: var(--muted); }
.clients-viewport { mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); overflow-x: auto; border-bottom: 1px solid var(--line); padding: .3rem 0 2rem; }
.clients-track { display: flex; width: max-content; }
.client-logos { display: flex; align-items: center; list-style: none; gap: 2rem; padding: 0 2rem 0 0; margin: 0; flex-shrink: 0; }
.client-logos li { flex: 0 0 176px; width: 176px; }
.client-logos a { display: flex; align-items: center; justify-content: center; min-height: 80px; padding: .5rem; border-radius: 5px; }
.client-logos a:hover { background: var(--green-soft); }
.client-logos a:focus-visible { outline-offset: -2px; }
.client-logo { display: block; width: 100%; max-width: 160px; height: auto; max-height: 46px; object-fit: contain; opacity: .72; }
.client-logo--cb { max-width: 180px; }
.client-logo--dhl { max-width: 130px; }
.client-logo--enexis { max-width: 145px; }
.client-logo--frengo { max-width: 115px; }
.clients.is-animated .clients-viewport { overflow: hidden; }
.clients.is-animated .clients-track { animation: client-reel 38s linear infinite; }
.clients-viewport:hover .clients-track { animation-play-state: paused; }
/* Keep every original link reachable without chasing moving targets. */
.clients.is-animated .clients-viewport:focus-within { overflow-x: auto; mask-image: none; }
.clients.is-animated .clients-viewport:focus-within .clients-track { animation: none; }
.clients-viewport:focus-within .client-logos[aria-hidden="true"] { display: none; }
@keyframes client-reel { to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .client-logos { gap: 1.5rem; padding-right: 1.5rem; }
  .client-logos li { flex-basis: 160px; width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .clients.is-animated .clients-track { animation: none; }
  .clients.is-animated .clients-viewport { overflow-x: auto; }
  .client-logos[aria-hidden="true"] { display: none; }
}

/* Technology supports the service offering, without competing with client logos. */
.technology-ribbon { margin-top: 2.75rem; padding: 2rem 0; }
.technology-label { color: var(--ink); line-height: 1.25; max-width: 44rem; }
.technology-intro { max-width: 44rem; margin: 0 0 2rem; color: var(--muted); font-size: 1rem; }
.stack { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; margin: 0; padding: 0; list-style: none; }
.stack li { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.stack img { display: block; width: 26px; height: 26px; object-fit: contain; }
.hero + .clients { padding-top: 4rem; }
@media (min-width: 601px) and (max-width: 840px) {
  .stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .stack li { font-size: 1rem; gap: .6rem; }
  .stack img { width: 24px; height: 24px; }
  .hero + .clients { padding-top: 2.75rem; }
}

/* Strategy provides the shared direction for the four quality principles. */
.principles .strategy-principle { grid-column: 1 / -1; padding-bottom: 2rem; border-bottom: 1px solid #c8d5c5; }
.principles .strategy-principle h3 { font-size: 1.4rem; }
.principles .strategy-principle p { max-width: 42rem; font-size: 1rem; }
#aanpak .strategy-principle .pip { width: 40px; height: 40px; }
@media (max-width: 600px) {
  .principles .strategy-principle { padding-top: 0; border-top: 0; border-bottom: 0; padding-bottom: 0; }
}
