/* Afterframe — stijl van de site: de homepage en alle pagina's eromheen, in beide talen */

@font-face { font-family: "Adventor"; src: url("fonts/adventor-bold-latin.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-latin.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --night: #0A0F3C;
  --blue: #2B4BFF;
  --ice: #E9EEFF;
  --white: #FFFFFF;
  --yellow: #FFD23F;
  --yellow-soft: #FFE27A;
  --nrgb: 10 15 60;

  --display: "Adventor", "TeX Gyre Adventor", "Century Gothic", "Avant Garde", Futura, sans-serif;
  --text: "DM Sans", "Segoe UI", system-ui, sans-serif;

  /* One type scale of eight sizes. Every font-size on the page is one of these. */
  --fs-h1: clamp(2.5rem, 5vw, 4.5rem);   /* hero headline: Adventor Bold, capitals */
  --fs-h2: 3rem;                          /* section heading: Adventor Bold, sentence case */
  --fs-sub: 1.75rem;                      /* sub-heading inside a section */
  --fs-h3: 1.5rem;                        /* item titles: panels, roles, rules, services */
  --fs-lead: 1.25rem;                     /* intro under a heading */
  --fs-body: 1.0625rem;                   /* 17 px */
  --fs-small: .9375rem;                   /* 15 px: helpers, chips, captions under covers */
  --fs-cap: .8125rem;                     /* 13 px: tags and fine print, nothing smaller */

  /* Quieter text tones: on light grounds, and on midnight. On electric blue all text is plain white. */
  --ink-2: rgb(var(--nrgb) / .78);
  --paper-2: rgb(255 255 255 / .88);

  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --band: clamp(4.5rem, 9vw, 8.5rem);
  --measure: 34rem;                       /* about 58 characters of lead, 68 of body */
  --focus: var(--yellow);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--night); font: 400 var(--fs-body)/1.55 var(--text); font-optical-sizing: auto; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 30; padding: .75rem 1rem; background: var(--white); color: var(--night); }
.skip:focus { left: 0; }
.wrap { width: 100%; max-width: 96rem; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
/* Adventor Bold is for the hero headline and the section headings only; everything else is DM Sans.
   --ls is the tracking of a display line; script.js adds room per pair on top of it (see KERN). */
.display { --ls: 0em; font-family: var(--display); font-weight: 700; font-size: var(--fs-h2); letter-spacing: var(--ls); line-height: 1.06; text-wrap: balance; }
.display.caps { --ls: -.01em; font-size: var(--fs-h1); line-height: .95; text-transform: uppercase; }
.sub { font: 700 var(--fs-sub)/1.15 var(--text); letter-spacing: -.01em; text-wrap: balance; }
h3, h4 { font: 700 var(--fs-h3)/1.2 var(--text); letter-spacing: -.005em; text-wrap: balance; }
h3 a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
h3 a:hover { text-decoration-color: var(--blue); }
.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: var(--measure); }
q { quotes: "“" "”"; }
.nb { white-space: nowrap; }
/* a heading with its intro: side by side when there is room, 1rem apart when stacked */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.display > span:not(.k) { display: block; }
.section-head h2 { flex: none; }
.section-head .lead { flex: 0 1 var(--measure); }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .7rem 1.5rem; border: 0; border-radius: 999px;
       font-weight: 700; font-size: var(--fs-body); line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-yellow { background: var(--yellow); color: var(--night); }
.btn-yellow:hover { background: var(--yellow-soft); }
.btn-night { background: var(--night); color: var(--white); }
.btn-night:hover { background: var(--blue); }
.link { padding: 0; border: 0; background: none; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em; }
.link:hover { text-decoration-color: var(--blue); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem);
       padding: 1.15rem max(var(--gutter), calc((100% - 96rem) / 2 + var(--gutter))); color: var(--white); transition: background-color .25s ease, padding-block .25s ease; }
.top.scrolled { background: var(--night); padding-block: .7rem; }
.brand { margin-right: auto; display: block; }
.brand img { width: clamp(9.75rem, 12.5vw, 12rem); height: auto; }
.top-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.top-nav > a { font-size: var(--fs-body); font-weight: 500; text-decoration: none; padding-block: .5rem; border-bottom: 2px solid transparent; }
.top-nav > a:hover, .top-nav > a[aria-current] { border-bottom-color: var(--yellow); }
/* language switch, in the header and the footer: NL | EN, the current one marked, the other a link */
.lang { --lang-dim: rgb(255 255 255 / .72); --lang-mark: var(--yellow); display: flex; align-items: center; font-size: var(--fs-small); font-weight: 600; letter-spacing: .03em; }
.lang > * { position: relative; display: grid; place-items: center; min-width: 2.5rem; min-height: 2.75rem; color: var(--lang-dim); text-decoration: none; }
.lang > * + *::before { content: ""; position: absolute; left: -.75px; top: 50%; width: 1.5px; height: .95em; transform: translateY(-50%); background: var(--lang-dim); opacity: .5; }
.lang [aria-current], .lang a:hover { color: inherit; }
.lang [aria-current]::after, .lang a:hover::after { content: ""; position: absolute; left: calc(50% - .6rem); bottom: .5rem; width: 1.2rem; height: 2px; background: var(--lang-mark); }
.top-cta { min-height: 2.75rem; padding: .5rem 1.2rem; font-size: var(--fs-small); border: 1.5px solid rgb(255 255 255 / .55); background: transparent; color: var(--white); }
.top-cta:hover { border-color: var(--white); background: rgb(255 255 255 / .12); }
.top:not(.cta-on) .top-cta { visibility: hidden; }
.top.cta-on .top-cta { background: var(--yellow); border-color: var(--yellow); color: var(--night); }
.top.cta-on .top-cta:hover { background: var(--yellow-soft); border-color: var(--yellow-soft); }
.nav-cta { display: none; }
.menu-btn { order: 3; display: none; border: 1.5px solid rgb(255 255 255 / .55); background: none; border-radius: 999px; min-height: 2.75rem; padding: .45rem 1.1rem; font-weight: 600; }

/* ---------- hero: the wall, and the prompt in front of it ---------- */
.hero { --hero-h: max(100svh, 43rem); position: relative; min-height: var(--hero-h); display: flex; flex-direction: column; background: var(--night); color: var(--white); overflow: hidden; isolation: isolate; }
.wall { position: absolute; inset: 0 0 auto 0; height: var(--hero-h); z-index: -2; overflow: hidden; }
.wall-tilt { position: absolute; left: 73%; top: 48%; display: flex; gap: var(--wall-gap); --wall-gap: clamp(12px, 1.3vw, 22px); --tile-w: clamp(230px, 24vw, 460px);
             transform: translate(-50%, -50%) perspective(1700px) rotateX(calc(26deg + var(--tx, 0deg))) rotateZ(calc(-17deg + var(--tz, 0deg))) scale(1.16); transform-origin: 50% 50%; }
.wall-col { width: var(--tile-w); flex: none; }
.wall-track { display: flex; flex-direction: column; animation: af-wall var(--dur, 80s) linear infinite; will-change: transform; }
.wall-col:nth-child(even) .wall-track { animation-direction: reverse; }
.wall-tile { aspect-ratio: 16 / 9; margin-bottom: var(--wall-gap); border-radius: clamp(8px, 1vw, 14px); overflow: hidden; flex: none; outline: 1.5px solid rgb(255 255 255 / .16); outline-offset: -1.5px; }
.wall.paused .wall-track, .wall.paused .sc *, .motion-off .sc * { animation-play-state: paused !important; }
@keyframes af-wall { from { transform: translateY(0); } to { transform: translateY(-50%); } }
/* scrim: no tiles behind the text column, a soft floor under the wall, a dark edge under the header */
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: var(--hero-h); z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--night) 0%, var(--night) 54%, rgb(var(--nrgb) / .88) 60%, rgb(var(--nrgb) / .4) 66%, rgb(var(--nrgb) / 0) 74%),
              linear-gradient(0deg, var(--night) 0%, rgb(var(--nrgb) / .85) 9%, rgb(var(--nrgb) / 0) 26%),
              linear-gradient(180deg, rgb(var(--nrgb) / .96) 0%, rgb(var(--nrgb) / .72) 9%, rgb(var(--nrgb) / 0) 24%); }

/* the text block sits in the middle of the space between header and clients row */
.hero-body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 5.75rem; padding-bottom: 1.25rem; }
/* once the outline opens the block stays where it stood, and the hero grows downwards */
.hero.has-outline .hero-body { justify-content: flex-start; padding-top: var(--frozen-top, 5.75rem); }
.hero h1 > span, .foot-ask h2 > span { white-space: nowrap; }
.hero-sub { margin-top: 1.25rem; font-size: var(--fs-lead); line-height: 1.45; max-width: 44rem; text-wrap: pretty; }
.sub-short { display: none; }

.prompt { margin-top: 2rem; max-width: 46rem; background: var(--white); color: var(--night); border-radius: 22px; padding: 1.15rem 1.15rem 1.05rem 1.5rem;
          box-shadow: 0 0 0 6px rgb(43 75 255 / .34), 0 1.75rem 4.5rem -1rem rgb(43 75 255 / .6); }
.prompt:focus-within { box-shadow: 0 0 0 4px var(--yellow), 0 1.75rem 4.5rem -1rem rgb(43 75 255 / .6); }
.prompt textarea { display: block; width: 100%; border: 0; outline: 0; resize: none; background: none; min-height: 2.7em; max-height: calc(6 * 1.3em + .25rem); padding: .2rem 0 0;
                   font-size: var(--fs-h3); line-height: 1.3; font-weight: 500; overflow-y: auto; }
.prompt textarea::placeholder, .mini input::placeholder { color: rgb(var(--nrgb) / .62); opacity: 1; }
.prompt { --focus: var(--blue); }
.prompt-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; margin-top: .6rem; }
.prompt-hint { font-size: var(--fs-small); line-height: 1.4; color: var(--ink-2); }
.prompt-hint.warn { color: var(--night); font-weight: 600; }
/* once step 2 is open the box only holds their text; it stays editable */
.hero.has-outline .prompt { padding-block: .9rem; }
.hero.has-outline .prompt textarea { min-height: 0; }
.hero.has-outline .prompt-bar { margin-top: 0; }
.hero.has-outline [data-submit], .hero.has-outline .prompt-hint:not(.warn) { display: none; }
.hero.has-outline .prompt-hint.warn { margin-top: .5rem; }
/* after sending, their words stand above the confirmation as plain text */
.sent-text { margin: 2rem 0 0; max-width: 46rem; padding-left: 1.1rem; border-left: 3px solid var(--yellow); font-size: var(--fs-lead); line-height: 1.45; overflow-wrap: anywhere; }

/* under the box: the film as a quiet second action */
.examples { margin-top: 1.15rem; display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .85rem; max-width: 46rem; }
.film-link, .guide-intro { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--white); font-weight: 600; font-size: var(--fs-small); }
.film-link svg, .guide-intro svg { width: 1.375rem; height: 1.375rem; flex: none; }
.film-link circle, .guide-intro circle { fill: none; stroke: currentColor; stroke-width: 1.5; }
.film-link path, .guide-intro path { fill: currentColor; }
.film-link span, .guide-intro span { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; text-decoration-color: rgb(255 255 255 / .5); }
.film-link:hover span, .guide-intro:hover span { text-decoration-color: var(--yellow); }

/* step 2 of the intake, and its two end states; as wide as the box above it */
.outline { --focus: var(--blue); margin-top: 1.15rem; max-width: 46rem; background: var(--white); color: var(--night); border-radius: 22px; overflow: hidden; }
.outline:focus { outline: none; }
.intake-main { display: grid; gap: 1.25rem; padding: 1.75rem clamp(1.15rem, 2.4vw, 2rem) 1.6rem; }
.outline h2.display { font-size: var(--fs-h3); line-height: 1.2; }
.kinds { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.kinds legend, .field label { padding: 0; font-size: var(--fs-small); font-weight: 600; line-height: 1.35; }
.kinds legend { margin-bottom: .55rem; }
.kinds label { position: relative; display: block; cursor: pointer; }
.kinds input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kinds label span { display: block; border: 1.5px solid rgb(var(--nrgb) / .5); border-radius: 999px; padding: .65rem .95rem; font-weight: 600; font-size: var(--fs-small); line-height: 1.4; }
.kinds label:hover span { border-color: var(--night); }
.kinds input:checked + span { background: var(--night); border-color: var(--night); color: var(--white); }
.kinds input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.intake-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.intake-row-b { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: end; }
.field { display: grid; gap: .35rem; align-content: start; }
.field label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5em; }
.field i { font-style: normal; font-weight: 400; color: var(--ink-2); white-space: nowrap; }
.field input { width: 100%; min-height: 3rem; padding: .6rem .95rem; border: 1.5px solid rgb(var(--nrgb) / .5); border-radius: 12px; background: var(--white); font-size: var(--fs-body); }
.field input::placeholder { color: rgb(var(--nrgb) / .62); opacity: 1; }
.field input:hover { border-color: var(--night); }
.field [aria-invalid="true"] { border-color: var(--night); box-shadow: inset 0 -4px 0 var(--yellow); }
.field-err { font-size: var(--fs-small); font-weight: 600; line-height: 1.35; }

.send { background: var(--ice); padding: 1.4rem clamp(1.15rem, 2.4vw, 2rem) 1.5rem; display: grid; gap: .55rem; justify-items: start; }
.send .btn { margin-bottom: .35rem; }
.send .btn:disabled { background: rgb(var(--nrgb) / .12); color: var(--ink-2); cursor: default; }
.form-status:empty { display: none; }
.form-status { font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send-note { font-size: var(--fs-small); color: var(--ink-2); }
.send-note a, .fine a { text-decoration: underline; text-underline-offset: .2em; }
.done { display: grid; gap: .8rem; justify-items: start; padding: 1.75rem clamp(1.15rem, 2.4vw, 2rem) 1.9rem; }
.done:focus, .done h2:focus { outline: none; }
.done p { max-width: 36rem; }
.done .btn { margin-top: .6rem; gap: .65rem; white-space: normal; text-align: left; }
.done .btn svg { width: 1rem; height: 1rem; flex: none; fill: currentColor; }
.mini-hint { margin-top: .9rem; font-weight: 600; }
.mini-hint:empty { display: none; }
.af-off .sc * { animation: none !important; }

@media (prefers-reduced-motion: no-preference) {
  .outline.shown { animation: sheet-in .5s cubic-bezier(.2,.7,.2,1) both; }
  .outline [data-in] { opacity: 0; transform: translateY(10px); }
  .outline.shown [data-in] { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(140ms + var(--n, 0) * 60ms); }
  @keyframes sheet-in { from { clip-path: inset(0 0 100% 0 round 22px); transform: translateY(-10px); } to { clip-path: inset(0 0 0 0 round 22px); transform: none; } }
}

/* clients, at the foot of the first screen */
.clients { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem clamp(1.5rem, 3.5vw, 3.5rem); padding-block: 1.1rem clamp(1.4rem, 2.6vw, 2rem); position: relative; }
.clients h2 { font: 500 var(--fs-small)/1.4 var(--text); color: var(--paper-2); }
.clients ul { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem clamp(1.5rem, 3.5vw, 3.5rem); }
/* three white logos at the same optical size: their letters are about equally tall */
.clients li img { --u: clamp(1.3rem, 1.75vw, 1.7rem); height: var(--u); width: auto; opacity: .94; }
.clients li .logo-wa { height: calc(var(--u) * 1.14); }
.clients li .logo-sc2hl { height: calc(var(--u) * .84); }
.wall-pause { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .3rem 1rem .3rem .85rem; border: 1.5px solid rgb(255 255 255 / .45); border-radius: 999px;
              background: rgb(var(--nrgb) / .7); color: var(--white); font-weight: 600; font-size: var(--fs-small); }
.wall-pause:hover { border-color: var(--white); }
.clients .wall-pause { margin-left: auto; }
.pause-icon { width: .7rem; height: .8rem; border-inline: .24rem solid currentColor; }
.wall-pause[aria-pressed="true"] .pause-icon { width: 0; height: 0; border-inline: 0; border-left: .75rem solid currentColor; border-block: .45rem solid transparent; }

/* ---------- the proof: our own film, with earlier work as a small row under it ---------- */
.bewijs { --focus: var(--blue); background: var(--ice); padding-block: var(--band); }
.film-grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(1.75rem, 4vw, 4rem); align-items: center; scroll-margin-top: 6rem; }
.film-head .lead { margin-top: 1rem; }
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--night); color: var(--white); box-shadow: 0 2.25rem 4.5rem -2.25rem rgb(var(--nrgb) / .6); }
.film-frame::after { content: ""; position: absolute; inset: clamp(.6rem, 1.1vw, 1rem); border: 1.5px solid rgb(255 255 255 / .16); border-radius: 11px; pointer-events: none; }
.film-frame.is-ready::after { display: none; }
.film-soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.25rem; padding: 2rem; text-align: center; }
.film-soon img { width: clamp(2.75rem, 5vw, 4.5rem); height: auto; }
.film-soon p { font-size: var(--fs-lead); font-weight: 500; }
.film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--night); }
.film-play { position: absolute; left: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); display: inline-flex; align-items: center; gap: .7rem; min-height: 3.25rem; padding: .5rem 1.4rem .5rem 1.15rem;
             border: 0; border-radius: 999px; background: var(--white); color: var(--night); font-weight: 700; font-size: var(--fs-body); --focus: var(--yellow); }
.film-play:hover { background: var(--ice); }
.film-play svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

.werk { margin-top: clamp(3.5rem, 6vw, 5.5rem); scroll-margin-top: 6rem; }
.werk-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; margin-bottom: clamp(1.4rem, 2.2vw, 2rem); }
.werk-head p { color: var(--ink-2); }
/* covers made as one series: brand colour, logo, one label; the caption sits underneath */
.covers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 1.5vw, 1.4rem); }
.covers-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.cover { display: grid; gap: .75rem; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; }
.cover-img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--white); }
.cover-img img { width: 100%; height: 100%; object-fit: cover; }
.cover-open { position: absolute; right: .65rem; bottom: .65rem; width: 2.875rem; height: 2.875rem; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--night); transition: transform .15s ease; }
.cover-open svg { width: 1.05rem; height: 1.05rem; fill: var(--night); }
.cover:hover .cover-open { transform: scale(1.08); }
.cover-cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .05rem .75rem; align-items: baseline; line-height: 1.4; }
.cover-cap b { font-weight: 700; }
.cover-len, .cover-kind { font-size: var(--fs-small); color: var(--ink-2); }
.cover-len { font-variant-numeric: tabular-nums; }
.cover-kind { grid-column: 1 / -1; }
.cover:hover .cover-cap b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-color: var(--blue); }
/* under each cover: a quiet link to the page of that piece of work */
.cover-more { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; font-size: var(--fs-small); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; text-decoration-color: rgb(var(--nrgb) / .35); }
.cover-more:hover { text-decoration-color: var(--blue); }

/* ---------- our expertise: an index of what we do, then the four kinds of film ---------- */
.maken { --focus: var(--blue); background: var(--white); padding-block: var(--band); }
.index { margin-top: clamp(3.5rem, 6vw, 5.5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem clamp(1.25rem, 2.4vw, 2.5rem); }
.index li { display: grid; gap: .5rem; align-content: start; padding-top: 1.1rem; border-top: 1.5px solid var(--night); }
.index p { max-width: 22rem; }
/* four panels in a row; a panel's parts line up with its neighbours' */
.strip { --edge: calc((100% - min(100%, 96rem)) / 2 + var(--gutter)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(.9rem, 1.4vw, 1.4rem); padding-inline: var(--edge); }
.panel { --pad: clamp(1.15rem, 1.7vw, 1.6rem); grid-row: span 5; display: grid; grid-template-rows: subgrid; background: var(--night); color: var(--white); border-radius: 20px; overflow: hidden; --focus: var(--yellow); }
.panel-scene { aspect-ratio: 4 / 3; }
.panel-body { display: contents; }
.panel-body > * { margin-inline: var(--pad); }
.panel h3 { margin-top: var(--pad); }
.panel-len { margin-top: .4rem; font-size: var(--fs-small); font-weight: 600; color: var(--paper-2); }
.panel-len + p { margin-top: .9rem; padding-top: .9rem; border-top: 1.5px solid rgb(255 255 255 / .2); }
.panel .link { justify-self: start; margin-block: 1.4rem var(--pad); }
.panel .link:hover { text-decoration-color: var(--yellow); }
.strip-dots { display: none; }

/* ---------- AI makes, people decide; with our five rules ---------- */
.werken { --focus: var(--blue); background: var(--white); color: var(--night); padding-block: var(--band); }
/* four agent stations on a line; the yellow dot of the logo marks where a person decides */
.loop { --fw: clamp(6.5rem, 14vw, 12.5rem); --fh: calc(var(--fw) * .5625); position: relative; display: flex; align-items: center;
        margin-block: clamp(5.25rem, 8vw, 7rem) clamp(5.75rem, 8vw, 7.25rem); }
.loop-pair { display: contents; }
.loop-line { flex: 1 1 .75rem; height: 2px; background: rgb(var(--nrgb) / .28); }
.loop em { position: absolute; font-style: normal; white-space: nowrap; font-size: var(--fs-small); line-height: 1.35; }
/* yellow on midnight, as in the logo, so the dot also reads on a light ground */
.loop-dot { position: relative; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--yellow); border: .4rem solid var(--night); }
.loop-dot::before { content: ""; position: absolute; left: calc(50% - 1px); bottom: calc(100% + .4rem); width: 2px; height: calc(var(--fh) / 2 - .6rem); background: rgb(var(--nrgb) / .4); }
.loop-dot em { bottom: calc(100% + var(--fh) / 2 + .4rem); left: 50%; transform: translateX(-50%); font-weight: 700; }
.loop-dot:first-child em { left: -.4rem; transform: none; }
.loop-dot:last-child em { left: auto; right: -.4rem; transform: none; }
.loop-frame { position: relative; flex: none; width: var(--fw); aspect-ratio: 16 / 9; }
.loop-frame > span { display: block; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; }
.loop-frame em { top: calc(100% + .6rem); left: 0; display: grid; color: var(--ink-2); }
.loop-frame em b { font-weight: 700; color: var(--night); }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.roles li { display: grid; gap: .5rem; align-content: start; padding-top: 1.1rem; border-top: 1.5px solid var(--night); }
.roles h3 { display: flex; align-items: center; gap: .7rem; }
.roles h3::before { content: ""; flex: none; }
.role-ai h3::before { width: 1.5rem; aspect-ratio: 16 / 9; border-radius: 3px; background: var(--blue); }
.role-human h3::before { width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--yellow); border: .28rem solid var(--night); }
.roles p { max-width: 30rem; }
/* the five rules, as a compact list */
.afspraken { margin-top: clamp(4.5rem, 8vw, 7rem); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.rules li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: .4rem clamp(1.25rem, 2.5vw, 2.5rem); align-items: baseline; padding-block: 1.05rem 1.15rem; border-top: 1.5px solid rgb(var(--nrgb) / .2); }
.rules li:last-child { border-bottom: 1.5px solid rgb(var(--nrgb) / .2); }
.afspraken-head { display: grid; gap: .9rem; justify-items: start; }
/* about Afterframe: only there when the owner's name is filled in (script.js) */
.over-who { display: grid; gap: .5rem; justify-items: start; padding-block: 1.05rem 1.15rem; border-block: 1.5px solid rgb(var(--nrgb) / .2); }
.over-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .75rem; }
.over-name b { font: 700 var(--fs-h3)/1.2 var(--text); letter-spacing: -.005em; }
.over-name span { color: var(--ink-2); }
.over-who p { max-width: 40rem; }

/* ---------- frequently asked questions, and three articles from the blog ---------- */
.faq { --focus: var(--blue); background: var(--ice); padding-block: var(--band); }
.faq-list details { border-top: 1.5px solid rgb(var(--nrgb) / .2); }
.faq-list details:last-child { border-bottom: 1.5px solid rgb(var(--nrgb) / .2); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem 1.15rem; font: 700 var(--fs-h3)/1.2 var(--text); letter-spacing: -.005em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 1rem; height: 1rem; background: linear-gradient(var(--night), var(--night)) center / 100% 2px no-repeat, linear-gradient(var(--night), var(--night)) center / 2px 100% no-repeat; }
.faq-list details[open] summary::after { background-size: 100% 2px, 2px 0; }
.faq-list details p { max-width: var(--measure); padding-bottom: 1.5rem; }
.faq-list a, .rules a, .legal-facts a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.faq-list a:hover, .rules a:hover, .legal-facts a:hover { text-decoration-color: var(--blue); }
.blogrow { --focus: var(--blue); background: var(--white); padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.blogrow .index, .post-more .index { margin-top: 0; }
.blogrow .index h3, .post-more .index h3 { font-size: var(--fs-lead); line-height: 1.3; }
.blogrow .index p, .post-more .index p { max-width: 26rem; }

/* ---------- use AI yourself: a calm surface, midnight text, blue only as an accent ---------- */
.zelf { --focus: var(--blue); background: var(--ice); color: var(--night); padding-block: var(--band); }
.zelf-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.zelf-head { position: sticky; top: 6.5rem; display: grid; gap: 1rem; justify-items: start; }
.zelf-head .btn { margin-top: .75rem; }
.ways li { display: block; padding-block: clamp(1.4rem, 2.2vw, 2rem); border-top: 1.5px solid rgb(var(--nrgb) / .2); }
.ways li:first-child { border-top: 0; padding-top: 0; }
.way-scene { display: none; }
.ways h3 { margin-bottom: .5rem; color: var(--blue); }
.ways p { max-width: var(--measure); }

/* ---------- footer: the page ends the way it began, wall and prompt ---------- */
.foot { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--white); padding-block: clamp(5rem, 10vw, 9.5rem) clamp(1.75rem, 3vw, 2.5rem); }
.foot .wall { height: 100%; }
.foot .wall-tilt { left: 77%; top: 40%; --tile-w: clamp(210px, 21vw, 400px); transform: translate(-50%, -50%) perspective(1700px) rotateX(26deg) rotateZ(-17deg) scale(1.16); }
.foot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--night) 0%, var(--night) 44%, rgb(var(--nrgb) / .88) 52%, rgb(var(--nrgb) / .4) 60%, rgb(var(--nrgb) / 0) 70%),
              linear-gradient(0deg, var(--night) 0, var(--night) 22rem, rgb(var(--nrgb) / 0) 34rem),
              linear-gradient(180deg, rgb(var(--nrgb) / .9) 0%, rgb(var(--nrgb) / 0) 16%); }
.mini { margin-top: clamp(1.5rem, 2.6vw, 2.5rem); display: flex; align-items: center; gap: .6rem; max-width: 46rem; padding: .6rem .6rem .6rem 1.5rem; background: var(--white); color: var(--night); border-radius: 22px;
        box-shadow: 0 0 0 6px rgb(43 75 255 / .34), 0 1.75rem 4.5rem -1rem rgb(43 75 255 / .6); }
.mini:focus-within { box-shadow: 0 0 0 4px var(--yellow), 0 1.75rem 4.5rem -1rem rgb(43 75 255 / .6); }
.mini input { flex: 1; min-width: 0; min-height: 3.25rem; border: 0; outline: 0; background: none; font-size: var(--fs-lead); font-weight: 500; }
.mini .btn { --focus: var(--night); }
.mailline { margin-top: 1.1rem; }
.foot .link:hover { text-decoration-color: var(--yellow); }
/* the base of every page: who we are, where to go, how to reach us, the fine print */
.foot-base { margin-top: clamp(3.5rem, 8vw, 7rem); padding-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1.5px solid rgb(255 255 255 / .28); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr) auto; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 5rem); align-items: start; }
.foot-id { display: grid; gap: .9rem; justify-items: start; }
.foot-brand { display: block; }
.foot-brand img { width: clamp(9.5rem, 13vw, 12rem); height: auto; }
.foot-line { color: var(--paper-2); max-width: 17rem; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 4vw, 4rem); margin-top: -.5rem; }
.foot-nav a, .foot-mail { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em; }
.foot-contact { display: grid; justify-items: end; margin-top: -.5rem; }
.foot-mail { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em; }
.foot-mail:hover { text-decoration-color: var(--yellow); }
.foot-contact .lang { margin-right: -.7rem; }
.fine { grid-column: 1 / 3; align-self: center; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1.25rem; font-size: var(--fs-cap); color: var(--paper-2); }
.fine a { padding-block: .35rem; }
.foot-pause { justify-self: end; }

/* ---------- the pages around the home page: a midnight head, then calm text ---------- */
.top-plain { position: relative; background: var(--night); }
.page-head { background: var(--night); color: var(--white); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { max-width: 46rem; }
.page-head .lead { margin-top: 1rem; max-width: 40rem; text-wrap: pretty; }
/* above the title: where you are, and for an article its date and reading time */
.page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; margin-bottom: .6rem; font-size: var(--fs-small); color: var(--paper-2); }
.page-meta a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; color: var(--white); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; text-decoration-color: rgb(255 255 255 / .5); }
.page-meta a:hover { text-decoration-color: var(--yellow); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
/* one scene from the wall per article, standing still */
.page-cover { width: clamp(15rem, 24vw, 22rem); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; outline: 1.5px solid rgb(255 255 255 / .16); outline-offset: -1.5px; }
.page-cover:empty, .post-thumb:empty { display: none; }
.still .sc * { animation-play-state: paused !important; animation-delay: -2.6s !important; }

/* the blog: a list of articles, and the article itself as one reading column */
.posts-wrap { --focus: var(--blue); padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--band); }
.posts { max-width: 64rem; }
.posts li { display: grid; grid-template-columns: clamp(11rem, 18vw, 15rem) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; padding-block: clamp(1.5rem, 2.4vw, 2.1rem); border-top: 1.5px solid rgb(var(--nrgb) / .2); }
.posts li:first-child { border-top: 0; padding-top: 0; }
.post-thumb { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.posts h2 { font: 700 var(--fs-sub)/1.2 var(--text); letter-spacing: -.01em; text-wrap: balance; }
.posts h2 a { text-decoration: none; }
.posts h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-color: var(--blue); }
.posts p { margin-top: .55rem; max-width: 38rem; }
.posts .post-meta { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin-top: .8rem; font-size: var(--fs-small); color: var(--ink-2); }
.post { --focus: var(--blue); padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 6vw, 5.5rem); }
.post-body { max-width: 40rem; font-size: var(--fs-lead); line-height: 1.6; }
.post-body > * + * { margin-top: 1.25rem; }
.post-body h2 { margin-top: 3.25rem; font: 700 var(--fs-sub)/1.2 var(--text); letter-spacing: -.01em; }
.post-body h3 { margin-top: 2.25rem; }
.post-body h2 + *, .post-body h3 + * { margin-top: .9rem; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { padding-left: .2em; }
.post-body li + li { margin-top: .6rem; }
.post-body li::marker { color: var(--blue); font-weight: 700; }
.post-body a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; text-decoration-color: rgb(var(--nrgb) / .4); }
.post-body a:hover { text-decoration-color: var(--blue); }
.post-sources { margin-top: 3.5rem; padding-top: 2rem; border-top: 1.5px solid rgb(var(--nrgb) / .2); font-size: var(--fs-small); line-height: 1.55; color: var(--ink-2); }
.post-sources > * + * { margin-top: .9rem; }
.post-body .post-sources h2 { margin-top: 0; font-size: var(--fs-h3); color: var(--night); }
.post-sources li + li { margin-top: .45rem; }
.post-sources li::marker { color: rgb(var(--nrgb) / .45); font-weight: 400; }
.post-more { --focus: var(--blue); padding-bottom: clamp(4rem, 8vw, 7rem); }
.post-more h2 { margin-bottom: clamp(1.4rem, 2.2vw, 2rem); }
.post-more .index { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 64rem; }

/* our rules for AI: the list from the home page, with room for an explanation */
.terms { --focus: var(--blue); padding-block: clamp(3rem, 6vw, 5rem) var(--band); }
.terms .afspraken { margin-top: 0; }
.terms .afspraken + .afspraken { margin-top: clamp(3.5rem, 6vw, 5.5rem); }
.terms .rules li > div { display: grid; gap: .7rem; }
.terms .rules p { max-width: var(--measure); }
.terms .terms-end { margin-top: clamp(2rem, 3.5vw, 3rem); }
.terms-note { grid-column: 2; display: grid; gap: .6rem; justify-items: start; }
.terms-note p { max-width: var(--measure); }
.terms-note .btn { margin-top: 1.1rem; }

/* one page per piece of work: the video large, a few facts beside it */
.work-head { padding-block: clamp(2rem, 4vw, 3rem) clamp(1.75rem, 3vw, 2.5rem); }
.work { --focus: var(--blue); background: var(--ice); padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--band); }
.work-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.75rem, 4vw, 4rem); align-items: start; }
.work .film-play { left: auto; right: clamp(1rem, 2vw, 1.75rem); }
.work-side { display: grid; gap: 1.75rem; }
.work .legal-facts { margin: 0; }
.work .legal-facts div { grid-template-columns: 5.5rem minmax(0, 1fr); }
.work-links { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; }
.work h2 { margin-block: clamp(3.5rem, 6vw, 5.5rem) clamp(1.4rem, 2.2vw, 2rem); }
.guide-pages { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 2rem); }
.guide-pages img { width: 100%; height: auto; border-radius: 12px; background: var(--white); }

/* 404 */
.lost-page { background: var(--night); }
.lost { color: var(--white); padding-block: clamp(4rem, 12vw, 9rem); min-height: 52svh; }
.lost .lead { margin-top: 1rem; }
.lost-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.lost .link:hover { text-decoration-color: var(--yellow); }
.lost-en { margin-top: clamp(2.5rem, 5vw, 4rem); color: var(--paper-2); }
.lost-page .foot-plain .foot-base { border-top: 1.5px solid rgb(255 255 255 / .28); }

/* privacy: one calm text column */
.legal { --focus: var(--blue); padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--band); display: grid; gap: 2.5rem; }
.legal section { display: grid; gap: .8rem; max-width: 42rem; }
.legal h2 { font: 700 var(--fs-h3)/1.2 var(--text); letter-spacing: -.005em; }
.legal-facts { display: grid; gap: 0; margin: .4rem 0 0; }
.legal-facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding-block: .6rem; border-top: 1.5px solid rgb(var(--nrgb) / .2); }
.legal-facts div:last-child { border-bottom: 1.5px solid rgb(var(--nrgb) / .2); }
.legal-facts dt { color: var(--ink-2); }
.legal-date { font-size: var(--fs-small); color: var(--ink-2); }
.foot.foot-plain { padding-top: 0; }
.foot-plain .foot-base { margin-top: 0; border-top: 0; padding-top: clamp(2.5rem, 5vw, 4rem); }
/* under an article: the prompt as on the home page, without the wall */
.foot.foot-quiet { padding-top: clamp(4rem, 8vw, 7rem); }

/* ---------- dialogs: the film player and the brand guide ---------- */
.player { width: min(72rem, 100vw - 2rem); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 16px; background: var(--night); color: var(--white); overflow: hidden; }
.player::backdrop { background: rgb(var(--nrgb) / .86); }
.player-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.25rem; }
.player-head h2 { font: 700 var(--fs-body)/1.2 var(--text); }
.player-close { border: 1.5px solid rgb(255 255 255 / .55); background: none; color: inherit; border-radius: 999px; min-height: 2.75rem; padding: .4rem 1rem; font-weight: 600; font-size: var(--fs-small); }
.player-close:hover { border-color: var(--white); }
.player video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.player-soon { position: relative; aspect-ratio: 16 / 9; display: grid; place-content: center; justify-items: center; gap: clamp(.9rem, 1.6vw, 1.4rem); text-align: center; border-top: 1.5px solid rgb(255 255 255 / .16); }
.player-soon img { width: clamp(2.75rem, 5vw, 4.5rem); height: auto; }
.player-soon p { font-size: var(--fs-lead); font-weight: 500; }
.player-error { padding: 1rem 1.25rem; }
.guide { width: min(66rem, 100vw - 2rem); }
.guide-stage { position: relative; background: #fff; touch-action: pan-y; }
.guide-stage img { width: 100%; height: auto; max-height: calc(100dvh - 11.5rem); object-fit: contain; aspect-ratio: 1467 / 917; user-select: none; -webkit-user-drag: none; }
.guide-nav { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border: 1.5px solid transparent; border-radius: 50%; color: var(--night); transition: background-color .15s ease, color .15s ease; }
.guide-nav svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.guide-nav { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); box-shadow: 0 0 0 1.5px rgb(var(--nrgb) / .12), 0 .5rem 1.25rem rgb(var(--nrgb) / .22); border-color: transparent; --focus: var(--blue); }
.guide-nav:hover:not(:disabled) { background: var(--night); color: var(--white); }
.guide-nav:disabled { opacity: 0; pointer-events: none; }
.guide-prev { left: .75rem; }
.guide-next { right: .75rem; }
.guide-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding: .6rem 1.25rem .7rem; }
.guide-foot p { font-size: var(--fs-small); font-variant-numeric: tabular-nums; color: var(--paper-2); }

/* ---------- smaller screens ---------- */
/* up to 1180: the menu folds away, the wall becomes a band above the text, grids go to two columns */
@media (max-width: 1180px) {
  .top-nav { display: none; position: absolute; top: calc(100% + .25rem); left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 0; background: var(--white); color: var(--night); padding: .4rem 1.25rem; border-radius: 16px; box-shadow: 0 0 0 1.5px rgb(var(--nrgb) / .12), 0 1.25rem 3rem rgb(var(--nrgb) / .55); --focus: var(--blue); }
  .top-nav.open { display: flex; }
  .top-nav { align-items: stretch; }
  .top-nav > a { padding-block: .9rem; border-bottom: 1.5px solid rgb(var(--nrgb) / .14); }
  .top-nav > a:hover, .top-nav > a[aria-current] { border-bottom-color: rgb(var(--nrgb) / .14); }
  .top-nav .lang { --lang-dim: var(--ink-2); --lang-mark: var(--blue); margin-left: -.7rem; padding-block: .25rem; }
  .menu-btn { display: inline-flex; align-items: center; color: inherit; font-size: var(--fs-small); }

  .hero { --hero-h: max(100svh, 46rem); --band-h: clamp(15rem, 40svh, 24rem); }
  .hero .wall { height: var(--band-h); }
  .hero .wall-tilt { left: 54%; top: 38%; --tile-w: clamp(220px, 36vw, 400px); transform: translate(-50%, -50%) perspective(1300px) rotateX(24deg) rotateZ(-14deg) scale(1.1); }
  .hero::before { height: var(--band-h);
    background: linear-gradient(0deg, var(--night) 0%, var(--night) 20%, rgb(var(--nrgb) / .7) 34%, rgb(var(--nrgb) / 0) 58%),
                linear-gradient(180deg, rgb(var(--nrgb) / .94) 0%, rgb(var(--nrgb) / .6) 5rem, rgb(var(--nrgb) / 0) 9rem); }
  .hero-body { padding-top: calc(var(--band-h) * .82); }
  .hero.has-outline .hero-body { padding-top: var(--frozen-top, calc(var(--band-h) * .82)); }
  .clients { padding-right: calc(var(--gutter) + 3.25rem); }
  .clients .wall-pause { position: absolute; right: var(--gutter); bottom: 1.25rem; width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }
  .clients .wall-pause [data-pause-text] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

  .foot { padding-top: clamp(13rem, 30vw, 19rem); }
  .foot .wall { height: clamp(15rem, 34vw, 22rem); }
  .foot .wall-tilt { left: 54%; top: 34%; --tile-w: clamp(200px, 32vw, 380px); }
  .foot::before { background: linear-gradient(180deg, rgb(var(--nrgb) / .55) 0, rgb(var(--nrgb) / 0) 5rem),
                              linear-gradient(0deg, var(--night) 0, var(--night) calc(100% - clamp(11.5rem, 26vw, 16.5rem)), rgb(var(--nrgb) / 0) calc(100% - clamp(5rem, 11vw, 7rem))); }

  .strip { grid-template-columns: 1fr 1fr; }
  .panel:nth-child(-n+2) { margin-bottom: clamp(.9rem, 1.4vw, 1.4rem); }
  .covers { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.1rem; }
  .covers-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
  .afspraken { grid-template-columns: 1fr; }
  .terms-note { grid-column: auto; }
  .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .section-head { display: block; }
  .section-head .lead { margin-top: 1rem; }
  .film-grid, .zelf-grid { grid-template-columns: 1fr; }
  .zelf-head { position: static; }
  .roles { grid-template-columns: 1fr; gap: 1.5rem; }
  .foot-base { grid-template-columns: minmax(0, 1fr) auto; }
  .foot-id, .foot-nav, .foot-contact { grid-column: 1 / -1; }
  .foot-nav, .foot-contact { margin-top: 0; }
  .foot-contact { justify-items: start; }
  .foot-contact .lang { margin: 0 0 0 -.7rem; }
  .fine { grid-column: 1; }
  .page-head-grid { grid-template-columns: 1fr; }
  .page-cover { display: none; }
}
/* phones: the same scale, one step down */
@media (max-width: 760px) {
  .foot-nav { grid-template-columns: max-content max-content; gap: 0 1.5rem; }
  .foot-nav a { white-space: nowrap; }
  .post-more .index { grid-template-columns: 1fr; }
  :root { --fs-h1: clamp(1.7rem, 9.6vw, 2.5rem); --fs-h2: 2rem; --fs-sub: 1.5rem; --fs-h3: 1.25rem; --fs-lead: 1.125rem; }
  .top-nav .nav-cta { display: flex; margin-block: .9rem .6rem; padding: .7rem 1.5rem; font-weight: 700; border-bottom: 0; }
  .top { gap: .6rem; padding-block: .9rem; }
  .top-cta { display: none; }
  .hero { --band-h: 36svh; }
  .hero .wall-tilt { top: 36%; --tile-w: 56vw; }
  .hero::before { background: linear-gradient(0deg, var(--night) 0%, var(--night) 30%, rgb(var(--nrgb) / .7) 44%, rgb(var(--nrgb) / 0) 66%),
                              linear-gradient(180deg, rgb(var(--nrgb) / .94) 0%, rgb(var(--nrgb) / .55) 4.5rem, rgb(var(--nrgb) / 0) 8rem); }
  .hero-body { padding-top: calc(var(--band-h) * .7); padding-bottom: .75rem; }
  .hero.has-outline .hero-body { padding-top: var(--frozen-top, calc(var(--band-h) * .7)); }
  .sub-long { display: none; }
  .sub-short { display: inline; }
  .hero-sub { margin-top: .9rem; }
  .prompt { margin-top: 1.4rem; padding: 1rem 1rem .9rem 1.15rem; border-radius: 20px; box-shadow: 0 0 0 5px rgb(43 75 255 / .4), 0 1.5rem 3.5rem -1rem rgb(43 75 255 / .6); }
  .clients { padding-right: var(--gutter); }
  .clients .wall-pause { bottom: auto; top: .35rem; }
  .prompt-bar { flex-wrap: wrap; justify-content: flex-end; }
  .prompt-hint { flex: 1 1 100%; }
  .clients { gap: .7rem 1.2rem; }
  .clients h2 { width: 100%; }
  .clients ul { gap: .7rem 1.15rem; }
  .clients li img { --u: 1.0625rem; }

  .intake-row, .intake-row-b { grid-template-columns: 1fr; }
  .send .btn, .done .btn { justify-self: stretch; }
  .done .btn { text-align: center; }

  .film-frame { border-radius: 16px; }
  .film-play span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .film-play { width: 3.25rem; padding: 0; justify-content: center; }
  .film-play svg { margin-left: .15rem; }

  /* earlier work and the four panels: one at a time, swipe sideways, dots show where you are */
  .covers, .strip { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .covers::-webkit-scrollbar, .strip::-webkit-scrollbar { display: none; }
  .covers { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .covers li { flex: 0 0 min(74vw, 19rem); scroll-snap-align: start; }
  .strip { scroll-padding-inline: var(--edge); }
  .panel, .panel:nth-child(-n+2) { flex: 0 0 min(80vw, 21rem); scroll-snap-align: start; display: flex; flex-direction: column; margin-bottom: 0; border-radius: 18px; }
  .panel-scene { aspect-ratio: 16 / 10; }
  .panel-body { display: flex; flex-direction: column; flex: 1; }
  .panel .link { margin-top: auto; padding-top: 1.4rem; align-self: flex-start; }
  .strip-dots { display: flex; justify-content: center; align-items: center; gap: .45rem; margin-top: 1.1rem; }
  .strip-dots i { width: .5rem; height: .5rem; border-radius: 999px; background: rgb(var(--nrgb) / .24); transition: width .2s ease, background-color .2s ease; }
  .strip-dots i.on { width: 1.4rem; background: var(--night); }

  .index { grid-template-columns: 1fr; gap: 0; }
  .index li { gap: .3rem; padding-block: 1rem 1.1rem; border-top-color: rgb(var(--nrgb) / .2); }
  .index li:first-child { border-top-color: var(--night); }
  .index li:last-child { border-bottom: 1.5px solid rgb(var(--nrgb) / .2); }
  .index p { max-width: none; }

  /* the line of frames turns into a rail */
  .loop { --fw: min(8.25rem, 36vw); flex-direction: column; align-items: flex-start; gap: 1rem; margin-block: 2.25rem 2.5rem; }
  .loop::before { content: ""; position: absolute; left: calc(.875rem - 1px); top: .9rem; bottom: .9rem; width: 2px; background: rgb(var(--nrgb) / .28); }
  .loop-line, .loop-dot::before { display: none; }
  .loop-dot em, .loop-dot:first-child em, .loop-dot:last-child em { left: calc(100% + 1.1rem); right: auto; bottom: auto; top: 50%; transform: translateY(-50%); width: max-content; max-width: calc(100vw - var(--gutter) * 2 - 3.25rem); white-space: normal; }
  .loop-pair { display: flex; gap: .75rem; margin-left: 2.6rem; padding-bottom: 3.2rem; }
  .rules li { grid-template-columns: 1fr; }
  .posts li { grid-template-columns: 1fr; }
  .post-thumb { display: none; }
  .post-body h2 { margin-top: 2.75rem; }
  .guide-pages { grid-template-columns: 1fr; }
  .work-links .btn { flex: 1 1 100%; }

  .mini { flex-direction: column; align-items: stretch; border-radius: 20px; padding: .6rem; gap: .5rem; }
  .mini input { padding-inline: .75rem; }
  .zelf-head .btn { white-space: normal; text-align: center; }
  .brand, .foot-brand { padding-block: .5rem; }
  .foot-pause [data-pause-text] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .foot-pause { width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }
  .guide-nav { width: 2.75rem; height: 2.75rem; }
  .guide-prev { left: .4rem; }
  .guide-next { right: .4rem; }
}
@media print {
  .top { position: static; background: var(--night); }
  .wall, .wall-pause, .menu-btn, .top-cta, .nav-cta, .lang, .film-link, .film-play, .strip-dots, .cover-open, .cover-more, .mini, dialog { display: none !important; }
  .hero { min-height: 0; }
  .hero, .foot, .panel, .film-frame, .top, .btn, .kinds input:checked + span { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .panel, .covers li, .roles li, .rules li, .ways li, .faq-list details, .posts li { break-inside: avoid; }
  .bewijs, .maken, .zelf, .werken { padding-block: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .top, .cover-open, .guide-nav, .strip-dots i { transition: none; }
  .wall-track { animation: none; }
}
@media (max-width: 350px) { .clients li img { --u: .9375rem; } .clients ul { column-gap: .9rem; } }
@media (max-width: 380px) { .foot-nav { grid-template-columns: 1fr; } }
