/* ════════════════════════════════════════════════════════════════════
   NovaLink Innovations — v2 stylesheet
   Calm editorial layout, NovaLink brand colours, motion via main.js.
   1 Tokens · 2 Base · 3 Type · 4 Layout · 5 UI · 6 Header & menu
   7 Hero & diagram · 8 Sections · 9 Pages · 10 Forms · 11 Footer
   12 Motion · 13 Responsive · 14 Reduced motion
   ════════════════════════════════════════════════════════════════════ */

/* 1 Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg: #f7f9fc;            /* page background */
  --surface: #edf2f9;       /* cards, bands */
  --surface-2: #e4ebf5;
  --deep: #06162d;          /* NovaLink navy — headings, dark tiles */
  --ink: rgb(6 22 45 / .74);/* body copy (AA on bg + surface) */
  --ink-soft: rgb(6 22 45 / .56);
  --blue: #176bff;          /* NovaLink blue — accent, CTAs, dots */
  --blue-hover: #0f57e0;
  --blue-ink: #0f5be6;      /* blue for small text */
  --light: #65b8ff;
  --ice: #eaf5ff;
  --white: #ffffff;
  --line: rgb(6 22 45 / .12);
  --line-strong: rgb(6 22 45 / .22);
  --green: #16a36a;

  --f-head: "Oxygen", system-ui, sans-serif;
  --f-body: "Switzer", system-ui, sans-serif;
  --f-hand: "Schoolbell", cursive;

  --pad: clamp(20px, 2.8vw, 40px);
  --max: 1440px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --hdr: 84px;
}

/* 2 Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--deep); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body); font-size: 16px; line-height: 1.55; color: var(--ink);
  background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--blue); color: #fff; transform: translateY(-200%); }
.skip:focus { transform: none; }
[hidden] { display: none !important; }

/* 3 Type ───────────────────────────────────────────────────────────── */
.h-hero, .h-xl, .h-l, .h-m, .h-s, .quote { font-family: var(--f-head); color: var(--deep); }
.h-hero { font-weight: 700; font-size: clamp(2.6rem, 4.6vw, 4.1rem); line-height: .95; letter-spacing: -.04em; }
.h-xl { font-weight: 400; font-size: clamp(3.2rem, 8vw, 7.4rem); line-height: .92; letter-spacing: -.055em; }
.h-l { font-weight: 400; font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1.02; letter-spacing: -.045em; }
.h-m { font-weight: 400; font-size: clamp(1.6rem, 2.3vw, 2.05rem); line-height: 1.1; letter-spacing: -.035em; }
.h-s { font-weight: 700; font-size: 1.06rem; line-height: 1.3; letter-spacing: -.01em; }
.quote { font-weight: 400; font-size: clamp(2rem, 3.7vw, 3.25rem); line-height: 1.04; letter-spacing: -.05em; }
.quote .qm { color: var(--blue); font-style: italic; }
.dot { color: var(--blue); }
.blue { color: var(--blue); }
.lede { font-size: 1.06rem; line-height: 1.6; }
.small { font-size: .875rem; }
.eyebrow { font-size: .8rem; color: var(--ink-soft); letter-spacing: .01em; }
.hand { font-family: var(--f-hand); color: var(--deep); line-height: 1.1; }
p + p { margin-top: 1em; }

/* 4 Layout ─────────────────────────────────────────────────────────── */
.wrap { position: relative; z-index: 2; background: var(--bg); margin-bottom: var(--fh, 0px); box-shadow: 0 30px 60px -30px rgb(6 22 45 / .25); }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 1200px; }
.sec { padding-block: clamp(80px, 11vw, 160px); }
.sec-sm { padding-block: clamp(56px, 7vw, 100px); }
.grid-2 { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr 1fr; align-items: center; }
.split { display: grid; gap: 48px; grid-template-columns: 1.1fr 1fr; align-items: start; }
.band { background: var(--surface); }
.rule { height: 1px; background: var(--line); border: 0; }

/* 5 UI ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 24px 0 26px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 500; font-size: 1rem; white-space: nowrap;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--blue-hover); box-shadow: 0 14px 30px -14px rgb(23 107 255 / .8); }
.btn:active { transform: scale(.97); }
.btn .ar { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn-sm { height: 42px; padding: 0 18px 0 20px; font-size: .9rem; gap: 10px; }
.btn-sm .ar { width: 16px; height: 16px; }
.btn-lg { height: 60px; padding: 0 28px 0 30px; font-size: 1.08rem; }
.btn-ghost { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: var(--deep); color: #fff; box-shadow: none; }
.btn-white { background: #fff; color: var(--deep); }
.btn-white:hover { background: var(--ice); }
.ulink { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--deep); font-size: .95rem; }
.ulink > span { background: linear-gradient(var(--blue), var(--blue)) no-repeat 0 100% / 100% 2px; padding-bottom: 2px; transition: background-size .4s var(--ease); }
.ulink:hover > span { background-size: 0% 2px; background-position: 100% 100%; }
.ulink .ar { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ulink:hover .ar { transform: translate(2px, -2px); }
.ulink.plain > span { background-image: linear-gradient(var(--deep), var(--deep)); background-size: 100% 1px; }
.pill-n { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--deep); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--deep); }
.card { background: var(--surface); border-radius: var(--r-lg); }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.checks li svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.bul li { position: relative; padding-left: 16px; margin-top: 10px; font-size: .95rem; color: var(--deep); }
.bul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.ic { width: 20px; height: 20px; flex: none; }

/* 6 Header & menu ──────────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--hdr); pointer-events: none; }
.hdr .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr a, .hdr button { pointer-events: auto; }
.brand { display: flex; align-items: center; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.brand img { height: 34px; width: auto; }
.nav { margin-left: auto; display: flex; gap: 6px; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.nav a { position: relative; padding: 10px 12px; font-size: .9rem; color: rgb(6 22 45 / .8); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--deep); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--deep); }
.hdr-cta { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.burger { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; transition: background-color .25s, box-shadow .25s; }
.burger:hover { box-shadow: inset 0 0 0 1px var(--line-strong), 0 8px 20px -10px rgb(6 22 45 / .4); }
.burger i { position: relative; display: block; width: 18px; height: 12px; }
.burger i::before, .burger i::after, .burger i b { content: ""; position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px; background: var(--deep); transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger i::before { top: 0; } .burger i b { top: 5px; } .burger i::after { top: 10px; }
.menu-open .burger i::before { top: 5px; transform: rotate(45deg); }
.menu-open .burger i::after { top: 5px; transform: rotate(-45deg); }
.menu-open .burger i b { opacity: 0; }
.is-scrolled .brand, .is-scrolled .nav { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.menu-open .brand { opacity: 1; transform: none; pointer-events: auto; }
.menu-open .nav { opacity: 0; pointer-events: none; }

.menu { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.menu .shade { position: absolute; inset: 0; background: rgb(6 22 45 / .4); opacity: 0; transition: opacity .45s var(--ease); }
.menu .panel { position: relative; background: var(--bg); padding: calc(var(--hdr) + 4px) 0 24px; border-radius: 0 0 var(--r-lg) var(--r-lg); transform: translateY(-104%); transition: transform .6s var(--ease); box-shadow: 0 30px 60px -20px rgb(6 22 45 / .35); }
.menu .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.menu .col { background: var(--surface); border-radius: var(--r-md); padding: 28px 28px 30px; opacity: 0; transform: translateY(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu .col h2 { font-family: var(--f-head); font-size: 1.4rem; font-weight: 400; letter-spacing: -.03em; color: var(--deep); margin-bottom: 16px; }
.menu .col a { display: flex; align-items: center; gap: 12px; min-height: 36px; color: var(--deep); font-size: .95rem; transition: color .2s, transform .3s var(--ease); }
.menu .col a:hover { color: var(--blue-ink); transform: translateX(4px); }
.menu .col a small { font-size: .75rem; color: var(--ink-soft); width: 20px; }
.menu .meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; padding: 0 4px; font-size: .9rem; }
.menu-open .menu { visibility: visible; }
.menu-open .menu .shade { opacity: 1; }
.menu-open .menu .panel { transform: none; }
.menu-open .menu .col { opacity: 1; transform: none; }
.menu-open .menu .col:nth-child(2) { transition-delay: .06s; }
.menu-open .menu .col:nth-child(3) { transition-delay: .12s; }

.side-tab { position: fixed; right: 0; top: 50%; z-index: 70; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; width: 54px; padding: 16px 0 18px; border-radius: 14px 0 0 14px; background: var(--blue); color: #fff; box-shadow: -10px 10px 30px -14px rgb(23 107 255 / .7); transition: width .35s var(--ease), background-color .25s; }
.side-tab:hover { background: var(--blue-hover); width: 60px; }
.side-tab b { font-family: var(--f-head); font-size: 1.15rem; line-height: 1; }
.side-tab svg { width: 14px; height: 14px; }
.side-tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .78rem; font-weight: 600; letter-spacing: .06em; }

/* 7 Hero & diagram ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: max(760px, 100svh); padding-top: var(--hdr); display: flex; align-items: center; }
.hero .container { position: static; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; padding-block: 80px 120px; }
.hero-copy .lede { margin-top: 30px; max-width: 470px; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 36px; }
.hero-dot { display: inline-block; position: relative; color: var(--blue); }
.diagram { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.diagram svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.diagram .base { fill: none; stroke: var(--line); stroke-width: 1.3; }
.diagram .run { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--bg); border: 1px dashed var(--line-strong); color: var(--ink-soft); font-size: .88rem; white-space: nowrap;
  opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .4s, border-color .4s, box-shadow .4s, background-color .4s;
}
.chip svg { width: 16px; height: 16px; color: #9aa6b8; transition: color .4s, transform .4s var(--ease); }
.chip.on { opacity: 1; transform: none; }
.chip.lit { color: var(--deep); border-style: solid; border-color: rgb(23 107 255 / .45); background: #fff; box-shadow: 0 10px 24px -14px rgb(23 107 255 / .6); }
.chip.lit svg { color: var(--blue); transform: scale(1.1); }
.chip.lit.l-left svg { order: 2; }
.node { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--blue); }
.node::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }
.dash { position: absolute; width: 312px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgb(6 22 45 / .35); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.dash.on { opacity: 1; transform: none; }
.dash .tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.dash .tabs div { padding: 12px 14px 10px; font-size: .74rem; color: var(--ink-soft); border-left: 1px solid var(--line); position: relative; }
.dash .tabs div:first-child { border-left: 0; color: var(--blue-ink); }
.dash .tabs div:first-child::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 2px; background: var(--blue); }
.dash .tabs b { display: block; margin-top: 4px; font-size: .98rem; font-weight: 500; color: var(--deep); font-variant-numeric: tabular-nums; }
.dash .chart { padding: 12px 14px 8px; }
.dash svg { width: 100%; height: 70px; overflow: visible; }
.dash .legend { display: flex; gap: 18px; padding: 0 14px 12px; font-size: .68rem; color: var(--ink-soft); }
.dash .legend i { display: inline-block; width: 14px; height: 2px; vertical-align: middle; margin-right: 6px; background: var(--blue); }
.dash .legend i.p { background: none; border-top: 2px dashed #b7c2d3; }
.dash .ok { position: absolute; right: -12px; top: -12px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; transform: scale(0); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.dash .ok svg { width: 14px; height: 14px; }
.dash.done .ok { transform: scale(1); }
.note { position: absolute; display: flex; flex-direction: column; align-items: flex-start; }
.note .hand { font-size: 1.35rem; white-space: nowrap; opacity: 0; transition: opacity .6s var(--ease) .1s; }
.note svg { width: 76px; height: 56px; fill: none; stroke: var(--deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.note path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease-io); }
.note.on .hand { opacity: 1; }
.note.on path { stroke-dashoffset: 0; }

/* 8 Sections ───────────────────────────────────────────────────────── */
/* client strip */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 24px; }
.logos li { display: flex; justify-content: center; }
.logos img { width: auto; max-width: 140px; opacity: .55; filter: grayscale(1); transition: opacity .4s, filter .4s; }
.logos li:hover img { opacity: 1; filter: none; }
/* quote + paragraph */
.qblock { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 8vw, 140px); align-items: start; }
.qblock .copy { padding-top: 10px; font-size: 1rem; line-height: 1.75; }
/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 360px; }
.tile.w2 { grid-column: span 2; }
.scard { display: flex; flex-direction: column; padding: 36px 36px 40px; background: var(--surface); color: var(--deep); transition: background-color .45s var(--ease), color .45s var(--ease); }
.scard .ar-top { align-self: flex-end; width: 20px; height: 20px; transition: transform .45s var(--ease); }
.scard h3 { margin-top: auto; padding-top: 46px; font-family: var(--f-head); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2rem); letter-spacing: -.04em; line-height: 1.05; }
.scard ul { margin-top: 26px; }
.scard .bul li { color: inherit; }
.scard:hover, .scard:focus-visible { background: var(--blue); color: #fff; }
.scard:hover .ar-top, .scard:focus-visible .ar-top { transform: rotate(45deg); }
.collage { display: grid; grid-template-columns: 1.9fr 1fr; grid-template-rows: 1fr 1fr; gap: 0; }
.collage > div { background-size: cover; background-position: center; }
.collage > div:first-child { grid-row: span 2; }
.collage .ring { position: absolute; left: 14%; top: 18%; width: 34%; aspect-ratio: 1; border: 1.6px solid rgb(255 255 255 / .9); border-radius: 50%; }
.art { background: var(--deep); }
.art svg, .photo > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* work */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.work .wc:first-child { grid-column: span 2; grid-row: span 2; }
.wc { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; transition: background-color .45s var(--ease), color .45s; }
.wc .img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.wc:first-child .img { aspect-ratio: auto; flex: 1; min-height: 380px; }
.wc .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.wc:hover .img img { transform: scale(1.05); }
.wc .meta { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px 24px; color: var(--deep); }
.wc .meta small { display: block; font-size: .8rem; color: var(--ink-soft); margin-bottom: 6px; transition: color .45s; }
.wc .meta h3 { font-family: var(--f-head); font-weight: 400; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.15; }
.wc .meta svg { width: 20px; height: 20px; flex: none; transition: transform .45s var(--ease); }
.wc:hover { background: var(--blue); }
.wc:hover .meta, .wc:hover .meta small { color: #fff; }
.wc:hover .meta svg { transform: rotate(45deg); }
/* intro with photo */
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--deep); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .hand-on { position: absolute; color: #fff; font-family: var(--f-hand); font-size: 1.35rem; transform: rotate(-8deg); }
.photo .hand-on svg { width: 70px; height: 60px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.photo .hand-on path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease-io) .3s; }
.photo.in .hand-on path { stroke-dashoffset: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.stats div { padding: 22px 16px 0 0; }
.stats b { display: block; font-family: var(--f-head); font-weight: 400; font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: -.05em; color: var(--deep); line-height: 1; font-variant-numeric: tabular-nums; }
.stats b em { font-style: normal; color: var(--blue); }
.stats div > span { display: block; margin-top: 8px; font-size: .85rem; }
/* process cards */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.step { background: var(--surface); border-radius: var(--r-lg); padding: 32px 32px 36px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgb(6 22 45 / .35); }
.step .n { font-size: .8rem; color: var(--ink-soft); }
.step h3 { margin-top: 58px; }
.step p { margin-top: 14px; font-size: .95rem; line-height: 1.65; }
/* testimonials */
.tq { position: relative; min-height: 290px; }
.tq figure { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.tq figure.on { opacity: 1; transform: none; pointer-events: auto; }
.tq blockquote { font-family: var(--f-head); font-size: clamp(1.6rem, 2.6vw, 2.35rem); line-height: 1.15; letter-spacing: -.04em; color: var(--deep); max-width: 30ch; }
.tq figcaption { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.tq .av { width: 48px; height: 48px; border-radius: 50%; background: var(--deep); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .9rem; }
.tq .logo { height: 28px; width: auto; margin-left: 10px; padding-left: 18px; border-left: 1px solid var(--line); opacity: .8; }
.tnav { display: flex; align-items: center; gap: 10px; }
.tnav button { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); display: flex; align-items: center; justify-content: center; transition: background-color .25s, color .25s, box-shadow .25s; }
.tnav button:hover { background: var(--deep); color: #fff; box-shadow: none; }
.tnav svg { width: 18px; height: 18px; }
.tnav span { font-size: .85rem; min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
/* CTA band */
.cta-band { display: grid; grid-template-columns: 1.9fr 1fr; gap: 16px; }
.cta-band .card { padding: clamp(32px, 5vw, 64px); }
.cta-band h2 { max-width: 15ch; }
.cta-band .checks { margin-top: 30px; }
.cta-band .row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }
.cta-band .photo { min-height: 420px; }

/* 9 Pages ──────────────────────────────────────────────────────────── */
.page-hero { padding-top: calc(var(--hdr) + clamp(48px, 7vw, 110px)); padding-bottom: clamp(56px, 7vw, 100px); }
.crumbs { display: flex; gap: 10px; font-size: .85rem; margin-bottom: clamp(40px, 7vw, 100px); }
.crumbs a { color: var(--deep); background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; }
.big-hero { padding-top: calc(var(--hdr) + 40px); padding-bottom: 56px; }
.big-hero .h-xl { margin-bottom: 56px; }
.lead-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; max-width: 980px; margin-inline: auto; padding-top: 28px; border-top: 1px solid var(--line); }
.lead-row p { max-width: 560px; }
/* phase list beside hero (process page) */
.phases { display: flex; flex-direction: column; gap: 14px; }
.phases li { display: flex; align-items: center; gap: 18px; color: var(--deep); font-size: 1.05rem; opacity: 0; transform: translateX(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.phases li.on { opacity: 1; transform: none; }
.timeline { position: relative; display: flex; flex-direction: column; gap: 70px; padding-left: 92px; }
.timeline::before { content: ""; position: absolute; left: 26px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.timeline .fill { position: absolute; left: 26px; top: 10px; width: 1px; background: var(--blue); height: 0; }
.timeline li { position: relative; max-width: 620px; }
.timeline .pill-n { position: absolute; left: -92px; top: -2px; transition: background-color .4s; }
.timeline li.on .pill-n { background: var(--blue); }
.timeline h3 { font-family: var(--f-head); font-size: 1.5rem; font-weight: 400; letter-spacing: -.03em; color: var(--deep); }
.timeline p { margin-top: 12px; line-height: 1.7; }
/* service detail rows */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: start; }
.problems li { padding: 26px 0; border-top: 1px solid var(--line); }
.problems li:last-child { border-bottom: 1px solid var(--line); }
.problems h3 { font-size: 1rem; font-weight: 700; color: var(--deep); }
.problems p { margin-top: 8px; font-size: .95rem; line-height: 1.7; }
.caps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.caps span { padding: 10px 16px; border-radius: 999px; background: var(--surface); color: var(--deep); font-size: .88rem; }
.svc-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 56px; }
.svc-index a { display: flex; flex-direction: column; min-height: 260px; padding: 32px 34px 34px; border-radius: var(--r-lg); background: var(--surface); color: var(--deep); transition: background-color .45s var(--ease), color .45s; }
.svc-index a .top { display: flex; justify-content: space-between; align-items: center; }
.svc-index a h2 { margin-top: auto; padding-top: 50px; font-family: var(--f-head); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.04em; line-height: 1.05; }
.svc-index a p { margin-top: 12px; color: inherit; opacity: .8; font-size: .95rem; max-width: 42ch; }
.svc-index a svg { width: 22px; height: 22px; transition: transform .45s var(--ease); }
.svc-index a:hover { background: var(--blue); color: #fff; }
.svc-index a:hover .pill-n { background: #fff; color: var(--blue); }
.svc-index a:hover svg { transform: rotate(45deg); }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; border-top: 1px solid var(--line); color: var(--deep); transition: color .25s, padding .35s var(--ease); }
.related li:last-child a { border-bottom: 1px solid var(--line); }
.related a:hover { color: var(--blue-ink); padding-left: 8px; }
.related svg { width: 18px; height: 18px; }
/* principles */
.princ { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 44px; }
.princ li { background: var(--surface); border-radius: var(--r-lg); padding: 30px 28px 34px; }
.princ h3 { margin-top: 44px; font-family: var(--f-head); font-weight: 400; font-size: 1.45rem; letter-spacing: -.03em; color: var(--deep); }
.princ p { margin-top: 10px; font-size: .95rem; line-height: 1.65; }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.places li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border-radius: var(--r-md); background: var(--surface); color: var(--deep); }
.places li small { display: block; font-size: .8rem; color: var(--ink-soft); }
.places li i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--blue); }
.places li i.hub { background: var(--blue); }
/* roles */
.roles li a { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); color: var(--deep); transition: padding .35s var(--ease); }
.roles li:last-child a { border-bottom: 1px solid var(--line); }
.roles li a:hover { padding-left: 10px; }
.roles h3 { font-family: var(--f-head); font-size: 1.5rem; font-weight: 400; letter-spacing: -.03em; }
.roles p { margin-top: 6px; font-size: .92rem; color: var(--ink); max-width: 56ch; }
.roles small { display: block; font-size: .78rem; color: var(--ink-soft); }
.roles svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.roles li a:hover svg { transform: translate(3px, 3px); }
/* case study */
.cs-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.cs-meta dt { font-size: .8rem; color: var(--ink-soft); }
.cs-meta dd { margin-top: 6px; color: var(--deep); }
.cs-img { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.cs-img img { width: 100%; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery img { width: 100%; border-radius: var(--r-lg); }
.next-cs { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-lg); background: var(--surface); color: var(--deep); transition: background-color .45s var(--ease), color .45s; }
.next-cs small { font-size: .85rem; color: var(--ink-soft); transition: color .45s; }
.next-cs .h-l { color: inherit; margin-top: 8px; }
.next-cs svg { width: 34px; height: 34px; flex: none; transition: transform .45s var(--ease); }
.next-cs:hover { background: var(--blue); color: #fff; }
.next-cs:hover small { color: rgb(255 255 255 / .8); }
.next-cs:hover svg { transform: translateX(8px); }
.legal .note-box { margin-top: 32px; padding: 24px; border-radius: var(--r-md); background: var(--surface); }

/* 10 Forms ─────────────────────────────────────────────────────────── */
.form-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl { font-size: .88rem; font-weight: 600; color: var(--deep); }
.field .hint { font-size: .82rem; color: var(--ink-soft); margin-top: -4px; }
.input { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font-size: 1rem; color: var(--deep); transition: border-color .2s, box-shadow .2s; }
.input:hover { border-color: rgb(6 22 45 / .4); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(23 107 255 / .15); }
.input[aria-invalid="true"] { border-color: #c62828; }
textarea.input { min-height: 150px; resize: vertical; }
select.input { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2306162d' stroke-width='1.6'/></svg>") no-repeat right 16px center; }
.err { font-size: .84rem; color: #c62828; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; line-height: 1.5; color: var(--ink); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue-ink); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; justify-content: center; height: 56px; }
.form-card .btn[disabled] { opacity: .7; cursor: progress; }
.alert { padding: 14px 16px; border-radius: 12px; background: #fdecec; color: #8e1c1c; font-size: .9rem; }
.alert a { text-decoration: underline; }
.done { text-align: left; }
.done .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.done .tick svg { width: 26px; height: 26px; }
.done h3 { margin-top: 24px; }
.file { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px dashed var(--line-strong); background: #fff; cursor: pointer; font-size: .95rem; color: var(--deep); transition: border-color .2s; }
.file:hover { border-color: var(--blue); }
.file svg { width: 18px; height: 18px; color: var(--blue); }
.file.invalid { border-color: #c62828; }
.contact-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contact-pills a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--deep); font-size: .92rem; transition: background-color .25s, color .25s, box-shadow .25s; }
.contact-pills a:hover { background: var(--deep); color: #fff; box-shadow: none; }
.contact-pills svg { width: 16px; height: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: .88rem; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 16px; height: 16px; }

/* 11 Footer ────────────────────────────────────────────────────────── */
.ftr { position: fixed; inset: auto 0 0; z-index: 1; background: var(--surface); color: var(--ink); }
.ftr.static { position: relative; }
.ftr .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(56px, 7vw, 96px) clamp(56px, 9vw, 140px); }
.ftr .top img { height: 36px; width: auto; }
.ftr .top p { margin-top: 18px; max-width: 30ch; font-size: .95rem; }
.ftr h2 { font-size: .95rem; font-weight: 700; color: var(--deep); margin-bottom: 16px; }
.ftr li a { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; color: var(--deep); font-size: .92rem; opacity: .85; transition: opacity .2s, color .2s; }
.ftr li a:hover { opacity: 1; color: var(--blue-ink); }
.ftr li a small { font-size: .78rem; color: var(--ink-soft); width: 20px; }
.ftr .soc { display: flex; gap: 10px; margin-top: 22px; }
.ftr .soc a { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--deep); transition: background-color .25s, color .25s; }
.ftr .soc a:hover { background: var(--deep); color: #fff; }
.ftr .soc svg { width: 18px; height: 18px; }
.ftr .bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 26px; border-top: 1px solid var(--line); font-size: .85rem; }
.ftr .bot nav { display: flex; gap: 22px; }
.ftr .bot a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; color: var(--deep); }

/* 12 Motion ────────────────────────────────────────────────────────── */
/* only hidden while JS runs, so pages still work without it */
.js .rw .w { display: inline-block; opacity: 0; transform: translateY(.32em); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0ms)); }
.js .rw.in .w { opacity: 1; transform: none; }
.js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rv].in { opacity: 1; transform: none; }
.js [data-rv="scale"] { transform: translateY(24px) scale(.97); }
.js [data-st] > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-st].in > * { opacity: 1; transform: none; }
.js .clip { clip-path: inset(12% 0 0 0 round var(--r-lg)); transition: clip-path 1.1s var(--ease); }
.js .clip.in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.page-in { animation: pagein .7s var(--ease) both; }
@keyframes pagein { from { opacity: 0; } }

/* 13 Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.w2 { grid-column: span 2; }
  .princ { grid-template-columns: repeat(2, 1fr); }
  .ftr .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .hero { min-height: 0; }
  .hero-copy { padding-block: 70px 40px; max-width: none; }
  .diagram { position: relative; inset: auto; height: 380px; margin-bottom: 60px; }
  .diagram .chip, .diagram svg.lines, .diagram .node { display: none; }
  .diagram .dash { left: 0 !important; top: 0 !important; width: min(360px, 100%); }
  .diagram .note { display: none; }
  .h-hero br { display: none; }
  .qblock, .grid-2, .split, .svc-row, .cta-band { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr 1fr; }
  .work .wc:first-child { grid-column: span 2; grid-row: auto; }
  .steps3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { padding-bottom: 18px; }
  .lead-row { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .roles li a { grid-template-columns: 1fr auto; }
  .roles li a > :nth-child(2), .roles li a > :nth-child(3) { display: none; }
  .cs-meta { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --hdr: 72px; }
  .brand img { height: 28px; }
  .hdr-cta .btn { display: none; }
  .bento, .work, .svc-index, .princ, .places, .gallery, .fgrid, .menu .cols { grid-template-columns: 1fr; }
  .tile.w2, .work .wc:first-child { grid-column: auto; }
  .tile { min-height: 300px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .ftr .top { grid-template-columns: 1fr; }
  .side-tab { display: none; }
  .timeline { padding-left: 64px; }
  .timeline .pill-n { left: -64px; }
  .timeline::before, .timeline .fill { left: 19px; }
  .menu .panel { max-height: 100svh; overflow-y: auto; }
}

/* 14 Reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
}

/* ════════ Hero "heartbeat" (homepage) ═════════════════════════════════ */
.hartslag {
  --wire: color-mix(in srgb, var(--deep) 17%, var(--bg));
  --wire-dim: color-mix(in srgb, var(--deep) 9%, var(--bg));
  --hairline: color-mix(in srgb, var(--deep) 20%, var(--bg));
  --raster: #e3e6ec; --grijs: #5f6672; --ash: #a3abb8;
  --spring: cubic-bezier(.34, 1.56, .64, 1); --out: cubic-bezier(.23, 1, .32, 1);
  position: relative; isolation: isolate; min-height: max(820px, 100svh); display: flex; align-items: center; padding-top: var(--hdr); overflow: hidden;
}
.hartslag .container { position: static; }
.hartslag__draden { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: visible; opacity: 0; transition: opacity .6s var(--out); }
.hartslag__draden.is-live { opacity: 1; }
.draad { fill: none; stroke: var(--wire); stroke-width: 1.25px; stroke-linecap: round; transition: stroke .3s var(--out), stroke-width .3s; }
.has-focus .draad { stroke: var(--wire-dim); }
.has-focus .draad.is-lit { stroke: var(--deep); stroke-width: 1.5px; }
.puls { fill: none; stroke: var(--blue); stroke-linecap: round; stroke-width: 3px; }
.hartslag .hero-copy { position: relative; z-index: 2; max-width: 600px; padding-block: 40px 80px; }
.hartslag h1 { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.6rem, 4.35vw, 3.95rem); line-height: .94; letter-spacing: -.04em; color: var(--deep); }
.hartslag .lede { margin-top: 30px; max-width: 460px; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.hart { position: relative; display: inline-block; width: .19em; height: .19em; margin-left: .03em; border-radius: 50%; background: var(--blue); cursor: pointer; vertical-align: baseline; }
.hart__ring { position: absolute; inset: 0; border-radius: 50%; border: .025em solid var(--blue); opacity: 0; pointer-events: none; }
.hart__ring.klop, .spoor__ring.klop { animation: klop 1.1s var(--out); }
@keyframes klop { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(4); } }
.knoop {
  position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px;
  background: var(--bg); border: 1px dashed var(--ash); color: rgb(6 22 45 / .45); font-size: 13px; white-space: nowrap; cursor: pointer;
  opacity: 0; scale: .7; transition: opacity .4s ease, scale .6s var(--spring), background-color .3s var(--out), border-color .3s var(--out), color .3s var(--out);
}
.knoop--L { flex-direction: row-reverse; transform-origin: 100% 50%; }
.knoop--R { transform-origin: 0 50%; }
.knoop.is-shown { opacity: 1; scale: 1; }
.knoop__logo { display: grid; place-items: center; width: 14px; height: 14px; flex: none; filter: grayscale(1); opacity: .5; animation: flakker var(--blink, 1s) steps(1, end) infinite var(--blink-delay, 0s); transition: filter .5s var(--out), opacity .5s var(--out), scale .4s var(--spring); }
.knoop__logo svg { width: 100%; height: 100%; display: block; }
@keyframes flakker { 0%, 100% { opacity: .5; } 50% { opacity: .2; } }
.knoop.is-sync { color: rgb(6 22 45 / .72); }
.knoop.is-sync .knoop__logo { filter: none; opacity: 1; animation: none; }
.knoop.is-lit { border-style: solid; border-color: var(--deep); color: var(--deep); }
.knoop.is-lit .knoop__logo { scale: 1.14; }
.has-focus .knoop.is-shown:not(.is-lit), .has-focus .meter.is-shown:not(.is-lit) { opacity: .35; }
.knoop__tip { position: absolute; bottom: calc(100% + 9px); display: grid; justify-items: start; gap: 6px; padding: 9px 12px 10px; border-radius: 12px; border: 1px solid var(--hairline); background: var(--bg); color: var(--deep); font-size: 13px; line-height: 1.3; white-space: nowrap; opacity: 0; translate: 0 5px; scale: .97; pointer-events: none; box-shadow: 0 14px 30px -18px rgb(6 22 45 / .45); transition: opacity .22s var(--out), translate .42s var(--spring), scale .42s var(--spring); }
.knoop--R .knoop__tip { left: -2px; transform-origin: 16px 100%; }
.knoop--L .knoop__tip { right: -2px; transform-origin: calc(100% - 16px) 100%; }
.knoop:hover .knoop__tip, .knoop:focus-visible .knoop__tip { opacity: 1; translate: 0; scale: 1; }
.knoop__fase { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink); }
.knoop__nr { display: inline-grid; place-items: center; min-width: 24px; height: 18px; padding-inline: 5px; border-radius: 999px; font-size: 11px; font-variant-numeric: tabular-nums; background: var(--fk, var(--deep)); color: var(--fi, #fff); scale: .6; transition: scale .48s var(--spring) 60ms; }
.knoop:hover .knoop__nr { scale: 1; }
.meter { position: absolute; top: 0; left: 0; width: min(304px, 100%); padding: 2px 16px 11px; border-radius: 16px; border: 1px solid var(--hairline); background: var(--bg); font-size: 14px; opacity: 0; scale: .94; transform-origin: 50% 0; box-shadow: 0 18px 40px -26px rgb(6 22 45 / .35); transition: opacity .4s ease, scale .7s var(--spring), box-shadow .3s, border-color .3s; }
.meter.is-shown { opacity: 1; scale: 1; }
.meter.is-lit { border-color: var(--deep); box-shadow: 0 3px 0 var(--deep), 0 18px 40px -26px rgb(6 22 45 / .35); }
.meter__status { position: absolute; top: -12px; right: -12px; z-index: 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); color: var(--ash); transition: background-color .3s var(--out); }
.meter__status svg { grid-area: 1 / 1; display: block; }
.status__wacht { width: 26px; height: 26px; animation: draai 7s linear infinite; }
.status__wacht circle { fill: none; stroke: currentColor; stroke-width: 1.5px; stroke-dasharray: 3 3.3; }
@keyframes draai { to { transform: rotate(360deg); } }
.status__vink { width: 13px; height: 13px; fill: #fff; opacity: 0; scale: .3; transition: opacity .2s, scale .52s var(--spring) 60ms; }
.meter.is-sync .meter__status { background: var(--blue); }
.meter.is-sync .status__wacht { opacity: 0; animation: none; }
.meter.is-sync .status__vink { opacity: 1; scale: 1; }
.meter__rijen { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 -16px; border-bottom: 1px solid var(--raster); }
.meter__indicator { position: absolute; top: 0; left: 0; width: 33.3333%; height: 2px; padding: 0 12px; background: var(--blue); background-clip: content-box; translate: calc(var(--tab, 0) * 100%) 0; transition: translate .52s var(--spring); }
.meter__rij { display: grid; padding: 10px 10px 8px 16px; text-align: left; }
.meter__rij + .meter__rij { border-left: 1px solid var(--raster); padding-left: 10px; }
.meter.is-klikbaar .meter__rij { cursor: pointer; }
.meter__naam { font-size: 12px; color: var(--grijs); white-space: nowrap; transition: color .25s var(--out); }
.meter.is-klikbaar .meter__rij:hover .meter__naam { color: var(--deep); }
.meter__rij.is-actief .meter__naam { color: var(--blue-ink); }
.meter__getal { font-size: 17px; line-height: 1.25; color: rgb(6 22 45 / .5); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .5s var(--out); }
.meter.is-sync .meter__getal { color: var(--deep); }
.grafiek { position: relative; margin-top: 10px; }
.spoor { width: 100%; height: auto; display: block; overflow: visible; }
.spoor text { fill: var(--grijs); font-family: var(--f-body); font-size: 9.5px; }
.spoor__raster line { stroke: var(--raster); stroke-width: 1px; shape-rendering: crispEdges; }
.spoor__raster text { text-anchor: end; dominant-baseline: middle; }
.spoor__datums text { text-anchor: middle; }
.spoor__datums text:first-child { text-anchor: start; }
.spoor__vorig { fill: none; stroke: var(--blue); stroke-opacity: .45; stroke-width: 1.25px; stroke-dasharray: 3 3; stroke-linejoin: round; }
.spoor__lijn { fill: none; stroke: var(--blue); stroke-width: 2px; stroke-linejoin: round; stroke-linecap: round; }
.spoor__glans { fill: none; stroke: var(--light); stroke-width: 2.5px; stroke-linecap: round; opacity: 0; }
.spoor__punt { fill: var(--blue); stroke: var(--bg); stroke-width: 1.5px; opacity: 0; transition: opacity .3s; }
.spoor__ring { fill: none; stroke: var(--blue); stroke-width: 1.25px; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.spoor__kruis { stroke: var(--grijs); stroke-opacity: .55; stroke-width: 1px; shape-rendering: crispEdges; opacity: 0; }
.spoor__hover { fill: var(--blue); stroke: var(--bg); stroke-width: 2px; opacity: 0; }
.grafiek.is-wijzen .spoor__kruis, .grafiek.is-wijzen .spoor__hover { opacity: 1; }
.meter__voet { display: flex; align-items: center; gap: 14px; margin-top: 2px; font-size: 11px; color: var(--grijs); }
.meter__voet span { display: inline-flex; align-items: center; gap: 6px; }
.meter__voet i { width: 14px; border-top: 2px solid var(--blue); }
.meter__voet i.is-vorig { border-top: 1.5px dashed var(--blue); opacity: .6; }
.krabbel { position: absolute; top: 0; left: 0; width: 184px; height: 80px; color: var(--deep); pointer-events: none; }
.krabbel__tekst { position: absolute; top: 0; left: 34px; font-family: var(--f-hand); font-size: 20px; line-height: 1; letter-spacing: .03em; white-space: nowrap; rotate: -4deg; clip-path: inset(-6px 100% -6px -4px); }
.krabbel__pijl { position: absolute; top: 22px; left: 0; width: 90px; height: 60px; overflow: visible; }
.krabbel__lijn { fill: none; stroke: currentColor; stroke-width: 1.7px; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.krabbel.is-aan .krabbel__tekst { clip-path: inset(-6px -6px -6px -4px); transition: clip-path .85s cubic-bezier(.55, 0, .35, 1); }
.krabbel.is-aan .krabbel__lijn { stroke-dashoffset: 0; transition: stroke-dashoffset .56s var(--out) .7s; }
.krabbel.is-aan .krabbel__kop { transition-delay: 1.22s; transition-duration: .2s; }
@media (max-width: 1023px) {
  .hartslag { min-height: 0; display: block; }
  .hartslag .hero-copy { padding-block: 70px 30px; max-width: none; }
  .hartslag h1 br { display: none; }
  .hartslag__draden, .knoop, .krabbel { display: none; }
  .hartslag .meter { position: relative; left: auto !important; top: auto !important; margin: 10px 0 70px; }
}
@media (prefers-reduced-motion: reduce) { .knoop__logo, .status__wacht { animation: none !important; } .krabbel__lijn, .krabbel__tekst { transition: none !important; } }
.hartslag__veld { position: absolute; inset: 0; pointer-events: none; }
.hartslag__veld > * { pointer-events: auto; }
.artgrid { display: grid; grid-template-columns: 1.9fr 1fr; grid-template-rows: 1fr 1fr; }
.artgrid > div { position: relative; overflow: hidden; }
.artgrid .a1 { grid-row: span 2; }
.artgrid svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile .art-zoom, .artgrid svg, .art svg { transition: transform 1.2s var(--ease); }
.artgrid:hover svg, .art:hover svg { transform: scale(1.04); }
@media (max-width: 1023px) { .hartslag__veld { position: static; padding-inline: var(--pad); } }
.tq-title { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; color: var(--blue-ink); margin-bottom: 16px; }
.tq blockquote.long { font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.3; max-width: 46ch; }
.tq { min-height: 380px; }
@media (max-width: 680px) { .tq { min-height: 560px; } }
