/* Alic Consulting — Bordeaux
   Opbouw naar het Cantor8-template: volle kleurvlakken, trapsgewijze lijnen die
   meelopen met scrollen, pixelovergangen tussen secties, tegels en kaarten met
   kleine mono-labels. Blauw is vervangen door bordeaux, zwart door warm zwart,
   de lichtblauwe accenten door brons uit het AC-logo.
   Lettertypes: Hanken Grotesk (ook in het logo) en Fragment Mono. */

:root {
  --bordeaux: #6A1B2C;
  --bordeaux-deep: #521423;
  --ink: #161012;
  --light: #F6F1EA;
  --white: #FFFFFF;
  --accent: #D9A77F;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: 1.75rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bordeaux); color: var(--white); font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1.3; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--white); color: var(--bordeaux); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; border-radius: 3px; background: var(--white); color: var(--bordeaux); font-weight: 500; }
.skip-link:focus { top: 16px; }

/* Typografie */
.h1 { font-size: clamp(2.6rem, 1.2rem + 3.4vw, 3.9rem); font-weight: 400; line-height: 1; letter-spacing: -.025em; }
.h2 { font-size: clamp(2.7rem, 1rem + 4.4vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.h2--sm { font-size: clamp(2.5rem, 1rem + 3.8vw, 4.5rem); }
.h2--xs { font-size: clamp(2rem, 1.2rem + 1.8vw, 2.875rem); }
.md { font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.3rem); line-height: 1.08; letter-spacing: -.02em; }
.p { font-size: .95rem; font-weight: 500; line-height: 1.35; letter-spacing: -.005em; }
.p--muted { opacity: .7; }
.mono { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: -.02em; }

/* Rollende tekst bij hover */
.roll { position: relative; display: block; overflow: hidden; height: 1.25em; line-height: 1.25em; }
.roll__a, .roll__b { display: block; white-space: nowrap; transition: transform .95s var(--ease-out); }
.roll__b { position: absolute; left: 0; top: 100%; }
a:hover .roll__a, a:focus-visible .roll__a, a:hover .roll__b, a:focus-visible .roll__b { transform: translateY(-100%); }

/* Pijl die wegschiet en terugkomt */
.arrow { position: relative; overflow: hidden; flex: none; }
.arrow svg { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); transition: transform .62s var(--ease), opacity .62s var(--ease); }
.arrow svg + svg { transform: translate(calc(-50% - 24px), calc(-50% + 24px)) scale(.85); opacity: 0; }
a:hover .arrow svg:first-child, a:focus-visible .arrow svg:first-child { transform: translate(calc(-50% + 24px), calc(-50% - 24px)) scale(.85); opacity: 0; }
a:hover .arrow svg + svg, a:focus-visible .arrow svg + svg { transform: translate(-50%, -50%); opacity: 1; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; gap: 4.5em; max-width: max-content; padding: .25em .25em .25em 1em; border-radius: 3px; background: var(--white); color: var(--bordeaux); font-size: .95rem; font-weight: 500; }
.btn .arrow { width: 2.375em; height: 2.375em; border-radius: 3px; background: var(--bordeaux); color: var(--white); }
.btn--dark { background: var(--bordeaux); color: var(--white); }
.btn--dark .arrow { background: var(--white); color: var(--bordeaux); }

/* Logo — overgenomen van alic-consulting.nl */
.ac-logo { display: inline-flex; align-items: center; gap: .42em; font-size: 14px; line-height: 1; }
.ac-logo__mono { font-weight: 800; font-size: 2.15em; letter-spacing: -.01em; color: var(--logo-mono, var(--white)); transition: color .3s var(--ease); }
.ac-logo__rule { width: 2px; align-self: stretch; min-height: 1.1em; margin: .12em 0; background: var(--logo-mono, var(--white)); transition: background-color .3s var(--ease); }
.ac-logo__word { display: flex; flex-direction: column; gap: .06em; }
.ac-logo__word span { font-weight: 700; font-size: 1em; line-height: .98; letter-spacing: .04em; color: var(--logo-word, var(--white)); transition: color .3s var(--ease); }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: .875em var(--gutter); }
.header.is-light, .header.menu-is-open { --logo-mono: #904A30; --logo-word: #20140C; }
.header__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.menu, .menu-right { display: flex; align-items: stretch; gap: .25em; padding: .25em; border-radius: .25em; background: rgba(0, 0, 0, .28); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); transition: background-color .42s var(--ease); }
.menu-right { justify-self: end; padding-right: .375em; }
.header.is-light .menu, .header.is-light .menu-right { background: var(--bordeaux); }
.nav-link { display: flex; align-items: center; padding: .75em 1.125em; border-radius: 3px; font-size: .84rem; font-weight: 500; line-height: 1; color: var(--white); transition: opacity .32s var(--ease), background-color .32s var(--ease); }
.nav-link[aria-current="page"] { background: var(--white); color: var(--bordeaux); }
.menu:has(.nav-link:hover) .nav-link:not(:hover), .menu-right:has(.nav-link:hover) .nav-link:not(:hover) { opacity: .65; }
.nav-cta { display: flex; align-items: center; gap: 1.25em; padding: .25em .25em .25em .75em; border-radius: 3px; background: var(--white); color: var(--bordeaux); font-size: .82rem; font-weight: 500; }
.nav-cta .arrow { width: 1.875em; height: 1.875em; border-radius: 3px; background: var(--bordeaux); color: var(--white); }

.hamb { display: none; justify-self: end; align-items: center; gap: .75em; padding: .6em .75em; border: 0; border-radius: .25em; background: rgba(0, 0, 0, .28); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); color: var(--white); font-size: .84rem; font-weight: 500; }
.header.is-light .hamb, .header.menu-is-open .hamb { background: var(--bordeaux); }
.hamb__cubes { display: grid; grid-template-columns: repeat(3, 4px); grid-template-rows: repeat(3, 4px); gap: 1px; }
.hamb__cubes i { width: 4px; height: 4px; background: currentColor; }
.hamb__cubes i:nth-child(1) { grid-area: 1 / 1; }
.hamb__cubes i:nth-child(2) { grid-area: 1 / 3; }
.hamb__cubes i:nth-child(3) { grid-area: 2 / 2; }
.hamb__cubes i:nth-child(4) { grid-area: 3 / 1; }
.hamb__cubes i:nth-child(5) { grid-area: 3 / 3; }
.hamb.is-open .hamb__cubes { transform: rotate(45deg); }
.hamb__cubes { transition: transform .4s var(--ease); }

.mobile-menu { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: space-between; padding: 6.5rem var(--gutter) 2rem; overflow-y: auto; background: var(--light); color: var(--bordeaux); }
.mobile-menu nav { display: flex; flex-direction: column; gap: .15em; }
.mobile-link { position: relative; display: inline-flex; align-items: center; align-self: flex-start; font-size: clamp(2.4rem, 10vw, 3.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; transition: padding-left .25s var(--ease); }
.mobile-link::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; background: currentColor; opacity: 0; transform: translateY(-50%) scale(.7); transition: opacity .25s, transform .25s; }
.mobile-link[aria-current="page"] { padding-left: 20px; }
.mobile-link[aria-current="page"]::before { opacity: 1; transform: translateY(-50%) scale(1); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: .5em; padding-top: 1.5em; border-top: 1px solid rgba(106, 27, 44, .2); font-weight: 500; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 600px; max-height: 900px; overflow: hidden; background: var(--bordeaux); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; height: 100%; padding: 8.5rem var(--gutter) 2.5em; }
.hero__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25em; }
.hero__caption { color: rgba(255, 255, 255, .65); }

/* Algemene sectie */
.section { position: relative; padding: clamp(5rem, 8vw, 8rem) var(--gutter); }
.section > *:not(.flow) { position: relative; z-index: 2; }

/* Stappenlijnen */
.flow { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.flow svg { position: absolute; left: 0; width: 100%; height: auto; }
.flow path { vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.flow .pulse { stroke: var(--white); stroke-width: 1.2; stroke-dasharray: 0 2000; opacity: 0; }
.flow--foundation svg { top: 4em; }
.flow--approach { display: none; }

/* Fundament */
.foundation__heading { max-width: 17ch; }
.foundation__box { width: 30%; min-width: 360px; margin: 5em 12% 0 auto; }
.foundation__box .md { max-width: 20ch; }
.foundation__box .p { margin: 14px 0 24px; }

/* Opdrachtgevers */
.clients { display: flex; flex-direction: column; align-items: center; gap: 1.25em; margin-top: 8em; text-align: center; }
.clients .p { max-width: 47ch; }
.clients-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1em; margin-top: 3em; }
.client { grid-column: var(--c); grid-row: var(--r); display: flex; align-items: center; justify-content: center; gap: .6em; min-height: 6.5rem; padding: 1rem; border-radius: 4px; background: rgba(255, 255, 255, .14); transition: background-color .4s var(--ease); }
.client:hover { background: rgba(255, 255, 255, .2); }
.client img { width: auto; max-width: 80%; max-height: 52px; }
.client img.wide { max-height: 38px; }
.client__name { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }

/* Pixelovergang */
.pixels { position: relative; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); width: 100%; aspect-ratio: 30 / 4; overflow: hidden; background: var(--px-from); }
.px { display: block; margin: 0 -1px -1px 0; }
.pixels.is-solid, .pixels.is-solid .px { background: var(--px-to) !important; }

/* Diensten (donker) */
.services { position: relative; background: var(--ink); padding: clamp(3rem, 5vw, 5rem) 0 0; }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding: 0 var(--gutter); }
.services__side { display: flex; flex-direction: column; gap: 1.25em; width: 42ch; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; align-items: start; padding: 3.5em var(--gutter) 4rem; }
.cards > li:nth-child(2) { margin-top: 3rem; }
.cards > li:nth-child(3) { margin-top: 1rem; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: .375em; background: var(--bordeaux); color: var(--white); will-change: transform; }
.card__top { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: flex-start; padding: .5em .5em 1em 1.25em; }
.card__tag { margin-top: .375em; padding: .55em .8em; border-radius: 3px; background: rgba(255, 255, 255, .15); font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .01em; }
.card .arrow { width: 2.25em; height: 2.25em; margin-left: auto; border-radius: 3px; background: var(--white); color: var(--bordeaux); }
.card__visual { aspect-ratio: 4 / 3; width: 100%; color: rgba(255, 255, 255, .55); }
.card__visual svg { width: 100%; height: 100%; }
.card__about { display: flex; flex-direction: column; gap: 12px; margin-top: .5em; padding: .5em 1.25em 1.4em; }
.card__title { font-size: 1.45rem; font-weight: 500; letter-spacing: -.015em; }
.card__desc { font-size: .92rem; line-height: 1.32; opacity: .9; }

/* Over mij (foto + tekst) */
.sides { display: flex; padding: clamp(3rem, 5vw, 5rem) var(--gutter) clamp(4rem, 6vw, 6rem); }
.sides__image { width: 65%; height: clamp(22rem, 38vw, 34rem); overflow: hidden; border-radius: 4px; }
.sides__image img { width: 100%; height: 100%; object-fit: cover; }
.sides__text { display: flex; flex-direction: column; width: 35%; padding: 0 1.75em; }
.sides__bottom { display: flex; flex-direction: column; gap: 1.25em; max-width: 44ch; margin-top: auto; }

/* Waar ik vanuit werk */
.approach { overflow: hidden; background: var(--bordeaux); }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 8vw, 9rem); row-gap: 3.5rem; margin-top: clamp(3rem, 5vw, 4.5rem); padding-left: 8%; }
.point { display: flex; gap: 1em; }
.point:nth-child(even) { margin-top: 6rem; }
.cube { flex: none; width: .375em; height: .375em; margin-top: .7em; border-radius: 1px; background: var(--white); }
@media (prefers-reduced-motion: no-preference) { .cube { animation: flicker 1.2s ease-in-out infinite; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 25% { opacity: .52; } 50% { opacity: .25; } 75% { opacity: .9; } }
.point h3 { font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.8rem); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }
.point .p { max-width: 40ch; margin-top: .625em; }

/* Ervaring (licht) */
.light { background: var(--light); color: var(--ink); }
.experience .h2 { color: var(--bordeaux); margin-bottom: .5em; font-weight: 500; }
.xp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; }
.xp { display: flex; flex-direction: column; justify-content: space-between; gap: 2em; min-height: 10rem; padding: 1em 1em 1.45em; border-radius: 4px; background: rgba(106, 27, 44, .07); transition: background-color .45s var(--ease); }
.xp:hover { background: rgba(106, 27, 44, .12); }
.xp__tags { display: flex; flex-wrap: wrap; gap: .35em; }
.tag { padding: .63em .7em .6em; border-radius: 3px; background: rgba(106, 27, 44, .1); color: var(--bordeaux); font-size: .78rem; font-weight: 500; line-height: 1; }
.xp__title { font-size: 1.4rem; font-weight: 500; line-height: 1.25; color: var(--bordeaux); }
.xp__org { margin-top: .3em; font-weight: 500; color: rgba(22, 16, 18, .72); }
.xp--link { background: var(--bordeaux); color: var(--white); }
.xp--link:hover { background: var(--bordeaux-deep); }
.xp--link .xp__title { color: var(--white); }
.xp--link .arrow { width: 2.25em; height: 2.25em; border-radius: 3px; background: var(--white); color: var(--bordeaux); }

/* Afsluitende oproep */
.cta { position: relative; overflow: hidden; background: var(--light); color: var(--bordeaux); }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: clamp(30rem, 64vh, 40rem); padding: clamp(4rem, 6vw, 6rem) var(--gutter) 3em; }
.cta__heading { display: flex; flex-direction: column; gap: 1.25em; width: 50%; margin-left: auto; }
.cta__heading .h2 { max-width: 15ch; font-size: clamp(2.8rem, 1rem + 4vw, 4.5rem); font-weight: 500; line-height: .92; }
.cta__last { max-width: 34ch; margin-top: auto; }
.cta-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cta-lines svg { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.cta-lines path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
/* Zonder script zijn lijnen en labels gewoon zichtbaar; met script (is-armed) worden ze getekend zodra de sectie in beeld komt */
.cta-lines .base { stroke-dasharray: 1; stroke-dashoffset: 0; }
.cta-lines .cta-pulse { stroke: var(--bordeaux); stroke-width: 1.2; stroke-dasharray: 45 1000; stroke-dashoffset: 45; opacity: 0; }
.cta-lines text { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; fill: var(--bordeaux); transition: opacity .55s ease; }
.cta.is-armed .cta-lines .base { stroke-dashoffset: 1; }
.cta.is-armed .cta-lines text { opacity: 0; }
.cta.is-armed.is-in .cta-lines .base { animation: draw 2.75s ease-in-out forwards; }
.cta.is-armed.is-in .cta-lines .base:nth-of-type(2) { animation-delay: .18s; }
.cta.is-armed.is-in .cta-lines .base:nth-of-type(3) { animation-delay: .36s; }
.cta.is-armed.is-in .cta-lines .base:nth-of-type(4) { animation-delay: .54s; }
.cta.is-armed.is-in .cta-lines text { opacity: 1; transition-delay: 2.8s; }
.cta.is-in .cta-lines .cta-pulse { opacity: 1; animation: pulse 3.4s linear 3s infinite; }
.cta.is-in .cta-lines .cta-pulse:nth-of-type(2n) { animation-duration: 3.7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { from { stroke-dashoffset: 45; } to { stroke-dashoffset: -1000; } }

/* Footer */
.footer { background: var(--ink); color: var(--white); padding: 4em var(--gutter) 1.5em; }
.footer__top { display: flex; gap: 2rem; }
.footer__talk { display: flex; flex-direction: column; gap: 1.125em; }
.footer__title { font-size: 2rem; font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.footer__actions { display: flex; flex-wrap: wrap; gap: .75em; }
.footer__mail { display: flex; align-items: center; height: 3.12em; padding: .5em 1em; border: 1px solid rgba(255, 255, 255, .25); border-radius: .25em; font-size: .9rem; font-weight: 500; transition: border-color .4s var(--ease); }
.footer__mail:hover { border-color: rgba(255, 255, 255, .6); }
.footer__button { display: flex; align-items: center; height: 3.12em; padding: 0 2.5em; border-radius: .25em; background: var(--bordeaux); font-size: .9rem; font-weight: 500; transition: background-color .4s var(--ease); }
.footer__button:hover { background: var(--bordeaux-deep); }
.footer__menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5em 5em; width: 50%; margin-left: auto; }
.footer__col-title { margin-bottom: .45em; font-size: .9rem; font-weight: 500; opacity: .65; }
.footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: .3em; font-size: .9rem; line-height: 1.3; }
.footer__links a { transition: opacity .3s; }
.footer__links a:hover { opacity: .65; }
.footer__links span { opacity: .9; }
.footer__bottom { display: flex; align-items: flex-end; margin-top: clamp(4rem, 8vw, 7rem); }
.footer__brand { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; width: 35%; }
.footer__brand .ac-logo { font-size: 24px; }
.footer__legal { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; width: 50%; margin-left: auto; font-size: .9rem; font-weight: 500; }
.footer__legal-links { display: flex; flex-direction: column; gap: .3em; opacity: .45; }
.footer__legal-links a:hover { opacity: .7; }
.muted-45 { opacity: .45; }

/* ===== Binnenpagina's ===== */

/* Paginakop */
.page-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(26rem, 60vh, 34rem); padding: 10.5rem var(--gutter) 1.75rem; overflow: hidden; background: var(--bordeaux); }
/* Minder lege ruimte direct na een pixelovergang, en genoeg afstand onder verspringende kaarten */
.pixels + .section:not(.section--tight-top), .pixels + .on-ink > .section:first-child, .pixels + .light > .section:first-child:not(.section--tight-top) { padding-top: clamp(3rem, 5vw, 5rem); }
.services + .section.section--tight-top { padding-top: 4rem; }
.services { z-index: 2; }
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; }
.h1--page { font-size: clamp(3.2rem, 1rem + 6vw, 6.5rem); font-weight: 400; line-height: .95; letter-spacing: -.04em; }
.page-hero__side { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25em; }
.page-hero__lead { max-width: 44ch; }
.page-hero__foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .8); position: relative; z-index: 1; }
.crumbs { display: flex; gap: .6em; }
.crumbs a:hover { opacity: .65; }

/* Sectiekop en vlakken */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-head .p { max-width: 42ch; }
.section-head + .points { margin-top: 0; }
.section.section--tight-top { padding-top: 1rem; }
.on-ink { background: var(--ink); color: var(--white); }
.light .h2 { color: var(--bordeaux); font-weight: 500; }
.light .section-head .p { color: rgba(22, 16, 18, .75); }
.point__tag { margin-bottom: .6em; opacity: .65; }

/* Tegels */
.tiles { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1em; }
.tiles > li > .tile { height: 100%; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5em; min-height: 12rem; padding: 1.1em 1.1em 1.4em; border-radius: 4px; background: rgba(255, 255, 255, .08); color: inherit; transition: background-color .45s var(--ease); }
.approach .tile, .page-hero ~ .section:not(.on-ink) .tile { background: rgba(255, 255, 255, .1); }
.tile .cube { margin-top: 0; }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; }
.tile__title { display: block; font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; }
.tile__text { display: block; max-width: 40ch; margin-top: .5em; font-size: .92rem; line-height: 1.35; opacity: .75; }
.tile--link .arrow { width: 2.25em; height: 2.25em; border-radius: 3px; background: var(--bordeaux); color: var(--white); }
.light .tile { background: rgba(106, 27, 44, .07); color: var(--ink); }
.light .tile--link:hover { background: rgba(106, 27, 44, .12); }
.light .tile .cube { background: var(--bordeaux); }
.light .tile__title { color: var(--bordeaux); }
.sub-head { margin: clamp(3rem, 5vw, 4.5rem) 0 1.25rem; font-size: 1.6rem; font-weight: 500; letter-spacing: -.015em; }

/* Wat je krijgt */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.feature__art { position: relative; min-height: 22rem; overflow: hidden; border-radius: 4px; background: var(--bordeaux-deep); color: rgba(255, 255, 255, .5); }
.feature__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature .h2 { margin-bottom: 1.5rem; }
.feature__item { display: flex; gap: 1em; padding: 1.4em 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.feature__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.feature__item h3 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }
.feature__item .p { max-width: 46ch; margin-top: .45em; opacity: .75; }

/* Voor wie + onderbouwing */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2rem, 6vw, 6rem); }
.duo .h2 { margin-bottom: 1.25rem; }
.duo .p { max-width: 42ch; margin-bottom: 1.5rem; }
.pills { display: flex; flex-wrap: wrap; gap: .4em; }
.pill { padding: .6em .8em; border-radius: 3px; background: rgba(255, 255, 255, .12); font-size: .82rem; font-weight: 500; line-height: 1; }
.methods-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1em 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.methods-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.methods-list__name { font-size: clamp(1.15rem, 1rem + .4vw, 1.4rem); font-weight: 500; letter-spacing: -.01em; }
.methods-list__type { white-space: nowrap; opacity: .6; }

/* Stappenkaarten */
.cards.cards--steps { padding: 0; }
.card--text { justify-content: space-between; gap: 3rem; min-height: 16rem; padding: 1.1em 1.25em 1.4em; }
.card--text .card__tag { align-self: flex-start; margin: 0; }
.card--text .card__about { margin: 0; padding: 0; }

/* Het verschil */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1em; }
.compare__card { padding: 1.4em 1.4em 1.6em; border-radius: 4px; }
.compare__card--muted { border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .75); }
.compare__card--strong { background: var(--bordeaux); }
.compare__card h3 { margin-bottom: 1.25rem; font-size: 1.5rem; font-weight: 500; letter-spacing: -.015em; }
.compare__card li { display: flex; align-items: baseline; gap: .8em; padding: .6em 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.compare__card li::before { content: ""; flex: none; width: 6px; height: 6px; background: currentColor; opacity: .6; transform: translateY(-2px); }
.compare__card--strong li::before { background: var(--accent); opacity: 1; }

/* Citaat */
.quote blockquote { max-width: 26ch; font-size: clamp(2rem, 1rem + 3vw, 3.8rem); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; }
.quote figcaption { margin-top: 2rem; opacity: .65; }

/* Portretplek en opdrachtgevers */
.sides__image--placeholder { display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.clients.clients--first { margin-top: 0; }

/* Contact en intake */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intake { max-width: 680px; }
.progress { height: 3px; overflow: hidden; border-radius: 2px; background: rgba(106, 27, 44, .15); }
.progress__bar { width: 25%; height: 100%; background: var(--bordeaux); transition: width .6s var(--ease); }
.progress__label { margin-top: .75rem; opacity: .7; }
.intake__step { min-width: 0; margin: 2.5rem 0 0; padding: 0; border: 0; }
.intake__step legend { width: 100%; padding: 0; }
.intake__step h2 { margin-bottom: 1.25rem; font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.6rem); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; color: var(--bordeaux); }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75em; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option__box { position: relative; display: flex; flex-direction: column; gap: .3em; height: 100%; padding: 1em 1em 1.1em 2.6em; border: 1px solid transparent; border-radius: 4px; background: rgba(106, 27, 44, .07); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.option__box::before { content: ""; position: absolute; left: 1em; top: 1.3em; width: 10px; height: 10px; border: 1.5px solid var(--bordeaux); border-radius: 1px; }
.option:hover .option__box { background: rgba(106, 27, 44, .12); }
.option input:checked + .option__box { border-color: var(--bordeaux); background: rgba(106, 27, 44, .1); }
.option input:checked + .option__box::before { background: var(--bordeaux); }
.option input:focus-visible + .option__box { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
.option__title { font-size: 1.05rem; font-weight: 500; color: var(--bordeaux); }
.option__desc { font-size: .88rem; line-height: 1.35; color: rgba(22, 16, 18, .7); }
.field { display: flex; flex-direction: column; gap: .45em; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1em; }
.field + .field, .form-row + .field, .field + .form-row, .form-row + .form-row { margin-top: 1em; }
.field-label { font-size: .88rem; font-weight: 500; }
.optional { font-weight: 400; opacity: .6; }
.input { width: 100%; min-height: 3.2em; padding: .8em 1em; border: 1px solid rgba(22, 16, 18, .18); border-radius: 4px; background: var(--white); color: var(--ink); font: inherit; font-size: .95rem; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.input:focus { outline: none; border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(106, 27, 44, .15); }
textarea.input { min-height: 10rem; resize: vertical; line-height: 1.45; }
.input[aria-invalid="true"] { border-color: #B3261E; }
.field-error { font-size: .85rem; color: #B3261E; }
.check { display: flex; align-items: flex-start; gap: .7em; font-size: .88rem; line-height: 1.4; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bordeaux); }
.check a { text-decoration: underline; }
.intake__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1em 1.5em; margin-top: 1.75rem; }
button.btn { border: 0; cursor: pointer; }
button.btn:hover .roll__a, button.btn:hover .roll__b, button.btn:focus-visible .roll__a, button.btn:focus-visible .roll__b { transform: translateY(-100%); }
button.btn:hover .arrow svg:first-child { transform: translate(calc(-50% + 24px), calc(-50% - 24px)) scale(.85); opacity: 0; }
button.btn:hover .arrow svg + svg { transform: translate(-50%, -50%); opacity: 1; }
.btn-back { padding: .5em 0; border: 0; background: none; font-weight: 500; color: var(--bordeaux); text-decoration: underline; text-underline-offset: 3px; }
.intake__alt { margin-top: 1.75rem; font-size: .88rem; }
.intake__alt a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: .35em 1.25em; margin-bottom: 1.25rem; padding: 1em; border-radius: 4px; background: rgba(106, 27, 44, .07); font-size: .9rem; }
.summary dt { opacity: .6; }
.summary dd { font-weight: 500; }
.success { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; padding: 1.5em; border-radius: 4px; background: rgba(106, 27, 44, .07); }
.success .h2 { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); }
.side-card { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 1.5rem; padding: 1.25em; border-radius: 4px; background: var(--bordeaux); color: var(--white); }
.side-card__title { font-size: 1.6rem; font-weight: 500; letter-spacing: -.015em; }
.side-card__mail { display: inline-block; margin-bottom: .35em; font-size: 1.15rem; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.next { display: flex; flex-direction: column; gap: .8em; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .2); }
.next li { display: flex; gap: .75em; font-size: .92rem; }
.next .cube { margin-top: .45em; }
.side-card__photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; }
.side-card__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 991px) {
  .page-hero { min-height: 0; padding-top: 10rem; }
  .page-hero__grid, .feature, .duo, .compare, .contact { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature__art { min-height: 0; aspect-ratio: 16 / 10; }
  .side-card { position: static; }
}
@media (max-width: 767px) {
  .tiles, .options, .form-row { grid-template-columns: 1fr; }
  .page-hero__note { display: none; }
}

/* ===== Hero-beweging en vaste menubalk op mobiel ===== */

/* Achtergrondlijnen in de paginakop: tekenen zich één keer, daarna af en toe een lichtpuls */
.page-hero__lines { position: absolute; left: 0; right: 0; top: 0; height: 58%; pointer-events: none; }
.page-hero__lines svg { display: block; width: 100%; height: 100%; }
.page-hero__lines path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.page-hero__lines .base { stroke: rgba(255, 255, 255, .24); }
.page-hero__lines .base--soft { stroke: rgba(255, 255, 255, .12); }
.page-hero__lines .glow { stroke: var(--white); stroke-width: 1.4; opacity: 0; }

/* Woord voor woord omhoog schuiven */
.rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.rw__i { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .js-reveal .rw__i { transform: translateY(108%); transition: transform .8s var(--ease-out) var(--d, 0ms); }
  .js-reveal .is-revealed .rw__i { transform: none; }
  .js-reveal [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out) var(--rd, .35s), transform .6s var(--ease-out) var(--rd, .35s); }
  .js-reveal .is-revealed [data-reveal] { opacity: 1; transform: none; }
  .page-hero__side .btn[data-reveal] { --rd: .5s; }
  .page-hero__foot[data-reveal] { --rd: .65s; }
  .hero .btn[data-reveal] { --rd: .45s; }
  .hero__caption[data-reveal] { --rd: .6s; }
  .js-reveal .page-hero__lines .base { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .15s; }
  .js-reveal .page-hero__lines .base--soft { transition-delay: .35s; }
  .js-reveal .is-revealed .page-hero__lines .base { stroke-dashoffset: 0; }
  .page-hero__lines .glow { stroke-dasharray: .07 1.3; stroke-dashoffset: .07; }
  .is-revealed .page-hero__lines .glow { opacity: .85; animation: hero-pulse 4.2s cubic-bezier(.45, 0, .2, 1) 1.4s infinite; }
}
@keyframes hero-pulse { 0% { stroke-dashoffset: .07; } 70%, 100% { stroke-dashoffset: -1.2; } }
/* Bewegend pixelveld achter de kop */
.hero__field, .page-hero__field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; will-change: transform; }
.hero__canvas { pointer-events: none; }
.hero__heading, .page-hero__grid { will-change: transform, opacity; }

/* Mobiel: vaste, lichte menubalk die op elke achtergrond goed zichtbaar is */
@media (max-width: 991px) {
  .header { padding: calc(.6rem + env(safe-area-inset-top, 0px)) var(--gutter) .6rem; background: var(--light); border-bottom: 1px solid rgba(106, 27, 44, .14); box-shadow: 0 10px 30px -22px rgba(22, 16, 18, .7); --logo-mono: #904A30; --logo-word: #20140C; }
  .header .hamb, .header.is-light .hamb, .header.menu-is-open .hamb { min-height: 44px; padding: .6em .9em; background: var(--bordeaux); color: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mobile-menu { padding-top: calc(6rem + env(safe-area-inset-top, 0px)); }
  /* Lijnen alleen in de ruimte tussen menubalk en kop, niet door de tekst */
  .page-hero__lines { top: 4.25rem; height: 5rem; }
}

/* Minder beweging */
@media (prefers-reduced-motion: reduce) {
  .flow .pulse, .cta-lines .cta-pulse { display: none; }
  .cta-lines .base { stroke-dasharray: none; stroke-dashoffset: 0; }
  .cta-lines text { opacity: 1; }
}

/* Responsive */
@media (max-width: 991px) {
  .menu, .menu-right { display: none; }
  .hamb { display: inline-flex; }
  .header__grid { grid-template-columns: 1fr auto; }
  .section { padding: 4.5em var(--gutter); }
  .foundation__box { width: auto; min-width: 0; margin: 3em 0 0; }
  .clients { margin-top: 5em; }
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3em; }
  .client { grid-column: auto; grid-row: auto; min-height: 7rem; }
  .services { padding: 4.5em 0 0; }
  .services__head { flex-direction: column; align-items: flex-start; }
  .services__side { width: auto; max-width: 42ch; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; padding-top: 2.5em; }
  .cards > li:nth-child(n) { margin-top: 0; }
  .card { transform: none !important; }
  .sides { flex-direction: column; gap: 2em; padding: 3.5em var(--gutter) 4.5em; }
  .sides__image, .sides__text { width: 100%; }
  .sides__image { height: auto; aspect-ratio: 4 / 3; }
  .sides__text { padding: 0; gap: 1.5em; }
  .points { grid-template-columns: 1fr; row-gap: 2.5em; margin-top: 2.5em; padding-left: 0; }
  .point:nth-child(n) { margin: 0; }
  .xp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__inner { min-height: 32rem; }
  .cta__heading { width: 100%; }
  .cta__last { margin-top: auto; padding-top: 3rem; }
  .footer__top { flex-direction: column; gap: 3em; }
  .footer__menu { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25em 1.25em; }
  .footer__bottom { flex-direction: column; align-items: stretch; gap: 2.5em; margin-top: 4em; }
  .footer__brand, .footer__legal { width: 100%; }
  .footer__brand { flex-wrap: wrap; align-items: flex-end; gap: 1rem 2rem; }
}
@media (max-width: 767px) {
  .cards, .xp-grid { grid-template-columns: 1fr; }
  .hero__caption { display: none; }
  .cta-lines svg { width: 200%; left: -50%; top: 20%; }
  .cta-lines text { display: none; }
}
@media (max-width: 479px) {
  .clients-grid { grid-template-columns: 1fr 1fr; gap: .6em; }
  .client { min-height: 6rem; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}
