/* Shared styles for index.html (Dutch, primary) and en/index.html (English). */

:root {
  --ink: #18171c;
  --paper: #faf9f4;
  --chalk: #eae9e3;
  --muted: #5a5c62;
  --line: rgba(24, 23, 28, .18);
  --strong: var(--ink);
  --nav-h: 72px;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --air: clamp(28px, 6vh, 72px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-snap-type: y proximity; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Archivo, "Helvetica Neue", Arial, sans-serif; font-size: clamp(16px, .9rem + .25vw, 18px); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd { margin: 0; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--strong); }
a:focus-visible { outline: 3px solid var(--strong); outline-offset: 3px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; z-index: 20; top: 12px; left: -9999px; padding: 8px 12px; background: var(--ink); color: var(--paper); }
.skip:focus { left: 12px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 10; height: var(--nav-h); background: var(--paper); border-bottom: 2px solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.wordmark { display: inline-flex; align-items: center; gap: 2px; font-size: 1.125rem; font-weight: 800; font-stretch: 90%; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.wordmark img { flex: none; width: 26px; height: 26px; }
.site-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); padding: 0; list-style: none; }
.site-nav a { font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.site-nav .lang { display: inline-block; padding: 3px 8px; border: 2px solid var(--ink); font-size: .8125rem; font-weight: 700; }
.site-nav .lang:hover { background: var(--ink); color: var(--paper); text-decoration: none; }

/* Full-viewport sections */
.panel { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + var(--air)) 0 var(--air); scroll-snap-align: start; }
.panel > .wrap { margin-block: auto; }
.panel + .panel { border-top: 2px solid var(--ink); }
.panel--ink { --muted: #b8b7b1; --line: rgba(250, 249, 244, .2); --strong: var(--paper); background: var(--ink); color: var(--paper); }
.panel--chalk { --muted: #52545a; --line: rgba(24, 23, 28, .22); background: var(--chalk); }

.display, .title { font-weight: 800; font-stretch: 80%; letter-spacing: -.02em; }
.display { font-size: clamp(2.75rem, min(6.4vw, 9.5vh), 6rem); line-height: .94; }
.title { font-size: clamp(2.25rem, min(5.2vw, 8.5vh), 4.5rem); line-height: .98; }
.panel--ink .title { color: var(--paper); }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.4rem); line-height: 1.45; }
.flow > * + * { margin-top: 20px; }
.flow > .title + * { margin-top: clamp(20px, 4vh, 36px); }

.split { display: grid; gap: 32px; }

/* Hero */
.hero-grid { display: grid; align-items: center; gap: 48px; }
.hero .lead { max-width: 32em; margin-top: clamp(20px, 4vh, 36px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(24px, 4.5vh, 40px); }
.button { display: inline-block; padding: 14px 22px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 0 var(--paper), 5px 5px 0 2px var(--ink); font-weight: 700; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.button:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 0 var(--paper), 2px 2px 0 2px var(--ink); }
.text-link { font-weight: 600; }
.note { margin-top: clamp(20px, 4vh, 32px); color: var(--muted); font-size: .9375rem; }
.hero-mark { display: none; }

/* What we do */
.rows { padding: 0; list-style: none; border-top: 2px solid var(--strong); }
.rows > li, .rows > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-title { font-size: 1rem; font-weight: 700; }
.flow > .list-title + .rows { margin-top: 12px; }
.questions > li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 16px; }
.questions > li::before { content: ""; width: 10px; height: 10px; margin-top: calc(.775em - 5px); background: var(--strong); }

.finding { margin: clamp(20px, 4vh, 36px) 0 0; padding: 16px 20px; border: 2px solid var(--strong); }
.finding strong { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); font-weight: 800; font-stretch: 80%; letter-spacing: -.02em; line-height: 1; }
.finding p { margin-top: 8px; }
.finding figcaption { margin-top: 10px; color: var(--muted); font-size: .8125rem; }

/* How it works */
.method-grid { display: grid; gap: 32px; }
.steps { padding: 0; list-style: none; }
.steps > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: clamp(16px, 2.8vh, 26px) 0; border-bottom: 1px solid var(--line); }
.steps > li:first-child { padding-top: 0; }
.steps > li:last-child { padding-bottom: 0; border-bottom: 0; }
.steps > li > div { padding-top: 9px; }
.step-no { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 1.375rem; font-weight: 800; font-stretch: 85%; line-height: 1; }
.steps h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); font-weight: 800; font-stretch: 85%; line-height: 1.1; }
.steps p { margin-top: 6px; color: var(--muted); }
.cost { max-width: 28rem; padding: clamp(18px, 2.4vw, 28px); border: 2px solid var(--ink); background: var(--chalk); box-shadow: 8px 8px 0 var(--ink); }
.cost h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 85%; }
.cost p { margin-top: 8px; }

/* Who we are */
.team-grid { display: grid; gap: clamp(24px, 4vh, 44px); }
.team-grid .flow { max-width: 46em; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); max-width: min(1100px, calc(45vh * 2.25 + 48px)); padding: 0; list-style: none; }
.people > li { display: flex; flex-direction: column; gap: 14px; }
.avatar { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 4; border: 2px solid var(--ink); background: var(--chalk); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-weight: 800; font-stretch: 80%; object-fit: cover; }
.people h3 { font-size: clamp(1.0625rem, .95rem + .55vw, 1.5rem); font-weight: 800; font-stretch: 85%; line-height: 1.05; letter-spacing: -.01em; }
.people .role { margin-top: 6px; font-weight: 600; font-size: .9375rem; }
.people .cred { margin-top: 2px; color: var(--muted); font-size: .8125rem; }

/* Contact */
.big-links p + p { margin-top: 4px; }
.big-link { display: inline-block; font-size: clamp(1.5rem, 1rem + 2.6vw, 3.25rem); font-weight: 800; font-stretch: 80%; letter-spacing: -.02em; line-height: 1.1; text-decoration-color: var(--muted); text-decoration-thickness: .12em; text-underline-offset: .14em; overflow-wrap: anywhere; }
.big-link:hover { text-decoration-color: var(--ink); }
.details > div { display: grid; gap: 2px 32px; }
.details dt { font-weight: 700; }
.site-footer { margin-top: var(--air); font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; border-top: 2px solid var(--ink); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--strong); }

@media (min-width: 560px) {
  .details > div { grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); }
}
@media (max-width: 719px) {
  :root { --nav-h: 64px; }
  .site-nav { min-width: 0; }
  .site-nav ul { overflow-x: auto; scrollbar-width: none; }
  .site-nav ul::-webkit-scrollbar { display: none; }
  .site-nav a { font-size: .8125rem; }
  .site-nav .lang { padding: 2px 6px; font-size: .75rem; }
}
@media (max-width: 440px) {
  .site-header .wrap { gap: 10px; }
  .site-nav ul { gap: 9px; }
  .site-nav a { font-size: .6875rem; }
  .site-nav .lang { padding: 2px 5px; font-size: .6875rem; }
  .wordmark { gap: 2px; font-size: 1rem; }
  .wordmark img { width: 23px; height: 23px; }
  .wordmark span { display: none; }
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 7vw, 120px); }
  .split--right { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .split--end { align-items: end; }
  .method-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; column-gap: clamp(48px, 7vw, 120px); }
  .method-grid .title { grid-column: 1; grid-row: 1; }
  .steps { grid-column: 2; grid-row: 1 / span 2; }
  .cost { grid-column: 1; grid-row: 2; align-self: end; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); column-gap: clamp(48px, 7vw, 120px); }
  .hero-mark { display: block; width: 100%; height: auto; box-shadow: 14px 14px 0 0 var(--paper), 14px 14px 0 2px var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
