/* Found Human by Kaleo. Eén pagina in de Kaleo-huisstijl, companies-draad:
   paper met sage-dark inkt, donkere vlakken in plum met coral en ice, banden in zand.
   Naam en labels in VT323 (pixel), alles wat gelezen wordt in Host Grotesk.
   Geen gradients, geen gloed; beweging alleen in de hero (de naam en de woordzoeker). */

:root {
  --paper: #FBFAF3; --sand: #EBE3D6; --line: #D9DCCB;
  --sage: #B3C1A9; --sage-mid: #6F7C65; --sage-dark: #2B3722;
  --plum: #C7A6B6; --plum-mid: #836371; --plum-dark: #40202D; --plum-ghost: #532E3E; --plum-dim: #6B4558;
  --coral: #FF5B2B; --coral-dark: #931800;
  --ice: #D7F3FF;
  --ink: var(--sage-dark); --ink-soft: #4F5A47;
  --display: 'VT323', 'Courier New', monospace;
  --body: 'Host Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1560px; margin-inline: auto; padding-inline: clamp(20px, 3.6vw, 64px); }
.sec { margin-top: clamp(72px, 8vw, 132px); }
.h2 { font-size: clamp(30px, 3vw, 50px); }
.h3 { font-size: clamp(26px, 2.5vw, 42px); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--plum-dark); color: var(--ice); padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }

/* ---------- kop ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1.5px solid transparent; transition: border-color .3s; }
.top.is-stuck { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--display); text-transform: uppercase; line-height: 1; white-space: nowrap; }
.logo__name { display: inline-flex; gap: .34em; font-size: 34px; color: var(--plum-dark); }
.logo__f { background: var(--plum-dark); color: var(--coral); padding: 0 .16em .04em; }
.logo__by { display: inline-flex; align-items: center; gap: 6px; font-size: 20px; letter-spacing: .03em; color: var(--plum-mid); }
.mk { display: block; height: 1em; width: auto; flex: none; }
.top__nav { display: flex; align-items: center; gap: 30px; }
.top__nav a { font-size: clamp(16px, 1vw, 18px); font-weight: 500; text-decoration: none; }
.top__nav a:not(.cta):hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.top__nav a.cta { background: var(--plum-dark); color: var(--coral); font-weight: 600; border-radius: 999px; padding: 10px 17px; line-height: 1.2; transition: background-color .3s, color .3s, transform .35s var(--ease); }
.top__nav a.cta:hover { background: var(--coral); color: var(--plum-dark); transform: translateY(-1px); }

/* ---------- pillen ---------- */
.pill { display: inline-block; border: 0; border-radius: 999px; padding: 13px 22px; font: 600 17px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background-color .3s, color .3s; }
.pill--coral { background: var(--coral); color: var(--plum-dark); }
.pill--coral:hover { transform: translateY(-2px); background: var(--ice); }
.pill--coral:focus-visible { outline-color: var(--ice); }

/* ---------- hero: de naam, de woordzoeker, het productbeeld over de rand ---------- */
.herowrap { container-type: inline-size; margin-top: 6px; }
.hero, .hero__media { --vw: 70cqw; --vh: calc(70cqw * 9 / 16); --lap: .5; }
.hero { position: relative; overflow: hidden; border-radius: 28px; background: var(--plum-dark); color: var(--ice);
  display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 3.2cqw, 54px);
  padding-block: 7cqw calc(var(--vh) * var(--lap) + 5.5cqw); }

/* FOUND staat vast in het midden, HUMAN licht links of rechts op. VT323 is monospace (0,4em per teken):
   5 + 1 + 5 + 1 + 5 tekens = 6,8em. De kant die uit staat blijft als donkere tint zichtbaar. */
.fh { position: relative; z-index: 1; margin: 0; display: grid; grid-template-columns: repeat(3, 2em); column-gap: .4em; justify-content: center;
  font-family: var(--display); font-weight: 400; font-size: 12.4cqw; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.fh__found { background: var(--coral); color: var(--plum-dark); padding: 0 .13em .04em; margin: 0 -.13em; text-align: center; }
.fh__h { color: var(--plum-ghost); padding-bottom: .04em; }
.fh__h.is-on { color: var(--coral); }

.hero__mid { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 1.7cqw, 26px); text-align: center; max-width: min(40cqw, 560px); }
.by { display: inline-flex; align-items: center; gap: .34em; font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(24px, 2.2cqw, 34px); line-height: 1; color: var(--plum); }
.hero__sub { font-weight: 500; font-size: clamp(19px, 1.9cqw, 29px); line-height: 1.3; text-wrap: balance; }

/* de woordzoeker: lettervelden uit de onderhoeken; main.js laat de letters veranderen en vindt HUMAN (tools/visual.py) */
.cloud { position: absolute; bottom: 0; z-index: 0; height: 56%; width: auto; max-width: none; }
.cloud--l { left: 0; } .cloud--r { right: 0; }
.cloud--m { display: none; }
.cloud text { font-family: var(--display); font-size: 35px; text-anchor: middle; fill: var(--plum-dim); }
.cloud .s { fill: var(--ice); display: none; shape-rendering: crispEdges; }
.cloud .k.on .s { display: block; }
.cloud .k.on text { fill: var(--plum-dark); }

.hero__media { position: relative; z-index: 2; width: var(--vw); margin: calc(var(--vh) * var(--lap) * -1) auto 0; }
.hero__media > * { box-shadow: 0 30px 60px -34px rgba(43, 22, 31, .6); }

/* tablet: de tekst is hier breder dan de ruimte tussen de lettervelden, dus de velden krijgen een eigen strook
   onder de tekst (hoogte van het veld < ondermarge van de hero: botsen kan dan niet) */
@container (max-width: 900px) {
  .hero, .hero__media { --vw: 78cqw; --vh: calc(78cqw * 9 / 16); --lap: .45; }
  .hero { padding-bottom: calc(var(--vh) * var(--lap) + 21cqw); }
  .hero__mid { max-width: 60cqw; }
  .cloud { height: calc(var(--vh) * var(--lap) + 17cqw); }
}
/* smal: de naam gestapeld (HUMAN / FOUND / HUMAN), de letters in een band onder de tekst */
@container (max-width: 560px) {
  .hero, .hero__media { --vw: 90cqw; --vh: calc(90cqw * 9 / 16); --lap: .4; }
  .hero { padding-block: 11cqw calc(var(--vh) * var(--lap) + 43cqw); gap: 7cqw; border-radius: 24px; }
  .fh { grid-template-columns: 2em; row-gap: .05em; font-size: 27cqw; }
  .hero__mid { max-width: 86cqw; }
  /* twee zijvelden worden hier te klein om te lezen: één band over de volle breedte */
  .cloud--l, .cloud--r { display: none; }
  .cloud--m { display: block; left: 0; width: 100%; height: auto; }
}

/* ---------- beeld en placeholders ---------- */
.media { display: block; width: 100%; height: auto; border-radius: 20px; background: var(--sand); }
.ph { --ph-bg: var(--sand); --ph-rule: rgba(43, 55, 34, .14); width: 100%; background: var(--ph-bg); color: var(--sage-dark); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.ph__bar { display: flex; gap: 6px; padding: 13px 15px; border-bottom: 1.5px solid var(--ph-rule); }
.ph__bar i { display: block; width: 9px; height: 9px; background: var(--sage); }
.ph__body { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; text-align: center; }
.ph__ico { width: 64px; height: 64px; flex: none; }
.ph__label { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(20px, 1.7vw, 28px); line-height: 1.05; }
.ph__spec { font-size: 14.5px; color: var(--ink-soft); }
.px-i { fill: var(--sage-dark); } .px-h { fill: var(--coral); }
.ph .px-i { fill: var(--plum-dark); }

/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px clamp(32px, 5vw, 96px); align-items: start; }
.intro__txt p { font-size: clamp(18px, 1.25vw, 21px); max-width: 60ch; }

/* ---------- de route in vijf stappen ---------- */
.steps { list-style: none; margin: clamp(36px, 4vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.steps li + li { border-left: 1.5px solid var(--line); }
.step { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px clamp(14px, 1.6vw, 28px) 30px; text-decoration: none; transition: background-color .3s; }
.steps li:first-child .step { padding-left: 0; }
.step:hover { background: var(--sand); }
.steps li:first-child .step:hover { box-shadow: -20px 0 0 var(--sand); }
.picon { display: block; width: 64px; height: 64px; flex: none; transition: transform .35s var(--ease); }
.step:hover .picon { transform: translateY(-3px); }
.step__label, .eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 23px; line-height: 1; }
.step__label b, .eyebrow b { font-weight: 400; color: var(--coral-dark); margin-right: .2em; }
.step__txt { font-size: 16.5px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- functies: om en om tekst en beeld ---------- */
.feats { display: flex; flex-direction: column; gap: clamp(64px, 7.5vw, 128px); }
.feat { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 28px clamp(32px, 5.5vw, 104px); align-items: center; scroll-margin-top: 110px; }
.feat--flip { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.feat--flip .feat__txt { order: 2; }
.feat__txt { display: flex; flex-direction: column; gap: 16px; }
.feat__txt p:not(.eyebrow) { font-size: clamp(18px, 1.25vw, 21px); max-width: 46ch; }

/* ---------- plum-blok met drie kaarten ---------- */
.block { background: var(--plum-dark); color: var(--ice); border-radius: 28px; padding: clamp(28px, 3.6vw, 56px); }
.block__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(28px, 3vw, 48px); }
.block__top .h2 { color: var(--coral); }
.block__top p { font-size: clamp(18px, 1.25vw, 21px); max-width: 52ch; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); }
.card { background: var(--plum); color: var(--plum-dark); border-radius: 22px; padding: 12px 12px 28px; display: flex; flex-direction: column; }
.card .ph, .card .media { border-radius: 14px; }
.card .ph { --ph-bg: var(--paper); }
.card > h3 { font-size: clamp(21px, 1.5vw, 26px); margin: 22px 14px 8px; }
.card > p { font-size: 16.5px; line-height: 1.55; margin-inline: 14px; }

/* ---------- good to know ---------- */
.band { background: var(--sand); padding-block: clamp(64px, 7vw, 116px); }
.know { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: 28px clamp(32px, 5vw, 96px); align-items: start; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3.4vw, 64px); }
.facts > div { border-top: 1.5px solid rgba(43, 55, 34, .22); padding: 22px 0 30px; }
.facts dt { font-weight: 600; font-size: clamp(19px, 1.4vw, 23px); line-height: 1.25; }
.facts dd { margin: 8px 0 0; color: var(--ink-soft); max-width: 44ch; }

/* ---------- demo-blok ---------- */
.cblock { background: var(--plum-dark); color: var(--ice); border-radius: 28px; padding: clamp(28px, 3.6vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px clamp(32px, 4vw, 64px); align-items: start; scroll-margin-top: 96px; }
.cblock .h2 { color: var(--coral); margin-bottom: 14px; }
.cblock .lead { font-size: clamp(18px, 1.25vw, 21px); line-height: 1.55; max-width: 34ch; color: var(--plum); }
.cform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cform .full { grid-column: 1 / -1; }
.cform label { display: block; font-family: var(--display); font-size: 18px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; color: var(--coral); }
.cform .opt { color: var(--plum); }
.cform input, .cform textarea { display: block; width: 100%; border: 1.5px solid transparent; border-radius: 12px; background: var(--paper); color: var(--sage-dark); font: inherit; font-size: 16.5px; padding: 14px 16px; }
.cform textarea { min-height: 120px; resize: vertical; }
.cform :is(input, textarea):focus { outline: 2px solid var(--coral); outline-offset: 2px; }
.cform__foot { display: flex; align-items: center; gap: 16px 20px; margin-top: 22px; flex-wrap: wrap; }
.pill--send[disabled] { opacity: .6; cursor: default; transform: none; }
#form-status { font-size: 15.5px; color: var(--ice); }
#form-status a { color: var(--ice); }

/* ---------- voet ---------- */
.footer { margin-top: clamp(64px, 7vw, 112px); border-top: 1.5px solid var(--line); }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 40px 60px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer a, .footer nav span { font-size: 15.5px; text-decoration: none; }
.footer a:hover, .footer a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.footer__line { display: flex; flex-wrap: wrap; gap: 4px 22px; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 17px; line-height: 1.2; color: var(--plum-mid); }

/* ---------- tekstpagina (privacy) ---------- */
.prose { max-width: 1560px; padding-block: clamp(40px, 5vw, 80px) 20px; }
.prose > * { max-width: 68ch; }
.prose h1 { font-size: clamp(34px, 3.4vw, 54px); }
.prose__date { color: var(--ink-soft); margin-top: 8px; }
.prose h2 { font-size: clamp(22px, 1.7vw, 28px); margin: 40px 0 10px; }
.prose a { text-underline-offset: 4px; }

/* ---------- grote schermen: de hele opmaak schaalt in trappen mee, zoals op withkaleo.io ---------- */
@media (min-width: 2000px) { body { zoom: 1.15; } }
@media (min-width: 2400px) { body { zoom: 1.3; } }
@media (min-width: 3200px) { body { zoom: 1.7; } }

/* ---------- smal ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
  .steps li + li { border-left: 0; }
  .steps li { border-bottom: 1.5px solid var(--line); }
  .step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; align-items: center; padding: 18px 0; }
  .step .picon { width: 48px; height: 48px; grid-row: span 2; }
  .steps li:first-child .step:hover { box-shadow: none; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .card { padding-bottom: 24px; }
}
@media (max-width: 900px) {
  .intro, .feat, .feat--flip, .block__top, .know, .cblock { grid-template-columns: minmax(0, 1fr); }
  .feat--flip .feat__txt { order: 0; }
  .top__nav a:not(.cta) { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .logo__by { display: none; }
  .logo__name { font-size: 30px; }
  .top__in { padding-block: 14px; }
  .top__nav a.cta { padding: 9px 14px; font-size: 15.5px; }
  .facts, .cform__grid { grid-template-columns: minmax(0, 1fr); }
  .ph__ico { width: 48px; height: 48px; }
  .ph__bar { padding: 10px 12px; }
  .ph__spec { font-size: 13.5px; }
  .block, .cblock { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill, .top__nav a.cta, .picon, .step, .top { transition: none; }
  .pill--coral:hover, .top__nav a.cta:hover, .step:hover .picon { transform: none; }
}
