/* Richting 5 "Stil", donker. Gekozen door Jens op 5 november 2026. */
@font-face {
  font-family: Manrope;
  src: url('/static/fonts/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Een tint warmer (zoals Night Shift), alleen voor de vormgeving: video en stills blijven onbewerkt. */
:root {
  --bg: #0f0d0a;
  --bg-2: #17140f;
  --ink: #f0e6d3;
  --muted: #b5aa96;
  --line: rgba(240, 230, 211, 0.14);
  --green: #213428;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1200px;
  color-scheme: dark;
  font-family: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Heel lichte korrel alleen in de achtergrond (6 november 2026 donkerder en subtieler gemaakt): beelden en video liggen erbovenop en krijgen geen filter. */
body { margin: 0; background-color: var(--bg); background-image: url('/static/grain.png?v=2026-11-06b'); background-size: 128px 128px; color: var(--ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
main:focus { outline: none; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.label { display: block; margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Kop en navigatie */
.site-header, .site-footer { --inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px var(--inline); font-size: 14px; }
.wordmark { font-weight: 600; letter-spacing: -0.01em; padding: 10px 0; }
.site-nav { display: flex; gap: 24px; }
.site-nav a { padding: 10px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.home .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; color: #fff; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Homepage: alleen de grote foto */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; background: var(--bg-2); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* Neutrale schaduw voor leesbaarheid van de tekst, zonder kleur, zodat de foto zijn eigen kleuren houdt. */
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.2) 68%, rgba(0, 0, 0, 0.58) 100%); }
.hero__center { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; padding: 0 var(--gutter); }
.hero__name { margin: 0; font-size: clamp(30px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.hero__desc { margin: 0; font-size: 12px; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__kinds { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin: 0; padding: 22px var(--gutter); list-style: none; font-size: 14px; }
.home .site-footer { border-top: 0; }

/* Paginakop */
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 110px) var(--gutter) clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; }
.page-head h1 { margin: 0; font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -0.035em; }
.page-head__meta { margin: 0; color: var(--muted); font-size: 14px; }

/* Logobalk op Work */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0 30px; margin-bottom: clamp(64px, 8vw, 120px); }
.brands__head { max-width: var(--max); margin: 0 auto 22px; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brands__toggle { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.brands__toggle:hover { color: var(--ink); border-color: var(--muted); }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.marquee__track { flex-shrink: 0; display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); margin: 0; padding: 0 clamp(24px, 3vw, 44px); list-style: none; animation: marquee var(--duration, 48s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee__item { flex-shrink: 0; display: flex; align-items: center; min-height: 48px; }
.marquee__item img { height: var(--h, 32px); width: auto; max-width: none; filter: brightness(0) invert(1); opacity: 0.82; }
.marquee__item img.is-color { filter: none; opacity: 1; }
.marquee__item--text { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; opacity: 0.82; }

/* Werkoverzicht */
.work-list { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 9vw, 140px); display: flex; flex-direction: column; gap: clamp(72px, 9vw, 140px); }
.work-item { min-width: 0; }
.work-item__link { display: block; }
.work-item__media { position: relative; display: block; overflow: hidden; background: var(--bg-2); }
.work-item__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease, opacity 0.4s ease; }
.work-item--wide .work-item__img { aspect-ratio: 2 / 1; }
.work-item--portrait .work-item__img { aspect-ratio: 4 / 5; }
.work-item__link:hover .work-item__img { transform: scale(1.015); opacity: 0.92; }
.work-item__placeholder { display: grid; place-items: center; min-height: 260px; color: var(--muted); }
.work-item__caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 20px; margin-top: 14px; font-size: 15px; }
.work-item__title { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.work-item__meta { color: var(--muted); }
.work-item__link:hover .work-item__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.work-pair { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 64px 32px; }
.work-pair .work-item { flex: 0 1 440px; }
.work-pair .work-item:nth-child(2) { margin-top: clamp(0px, 4vw, 56px); }
/* Staand werk direct na staand werk: kleinere tussenruimte, minder scrollen (Jens, 6 november 2026). */
.work-pair + .work-pair { margin-top: calc(clamp(40px, 4.5vw, 64px) - clamp(72px, 9vw, 140px)); }

/* About */
.about-page { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(80px, 9vw, 140px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px clamp(40px, 7vw, 110px); }
.about__media { position: relative; flex: 0 1 400px; margin: 0; }
.about__video { width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: 82svh; object-fit: cover; background: var(--bg-2); }
.about__media figcaption { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.video-toggle { position: absolute; top: 12px; right: 12px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(13, 16, 14, 0.72); color: var(--ink); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.about__body { flex: 1 1 420px; min-width: 0; padding-top: clamp(0px, 4vw, 48px); }
.about__body .label { margin-bottom: 14px; }
.about__role { margin-bottom: 28px; color: var(--muted); }
.about__body h1 { margin: 0 0 12px; font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -0.035em; }
.about__lead { max-width: 34ch; margin-bottom: 28px; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.5; font-weight: 500; }
.about__meta { max-width: 52ch; margin-bottom: 10px; color: var(--muted); }
.about__cta { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Contact */
.contact-page { max-width: var(--max); min-height: 60svh; margin: 0 auto; padding: clamp(48px, 7vw, 110px) var(--gutter) clamp(80px, 9vw, 140px); }
.contact-page h1 { margin: 0 0 40px; font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -0.035em; }
.contact__mail { display: inline-block; font-size: clamp(26px, 4.4vw, 60px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.contact__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 32px 0 0; font-size: 16px; }
.contact__links a { display: inline-flex; align-items: center; min-height: 44px; }
.contact__links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact__legal { margin: 72px 0 0; max-width: 520px; font-size: 14px; }
.contact__legal div { display: grid; grid-template-columns: minmax(90px, 1fr) 3fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact__legal dt { color: var(--muted); }
.contact__legal dd { margin: 0; }

/* Voettekst */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px var(--inline); border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.home .site-footer { padding-left: var(--gutter); padding-right: var(--gutter); }
.site-footer p { margin: 0; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Projectpagina */
.project { max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 80px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 24px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.project__head .label { margin-bottom: 12px; }
.project__title { max-width: 22ch; margin-bottom: 36px; font-size: clamp(34px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.player { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2); color: var(--ink); aspect-ratio: 16 / 9; overflow: hidden; }
button.player { cursor: pointer; }
.player.is-portrait { width: min(100%, 400px); aspect-ratio: 9 / 16; margin: 0 auto; }
.player.is-portrait.is-45 { width: min(100%, 560px); aspect-ratio: 4 / 5; }
.player__poster { width: 100%; height: 100%; object-fit: cover; }
.player__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 50%; background: rgba(13, 16, 14, 0.35); }
.player__play::after { content: ''; position: absolute; left: 29px; top: 24px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
button.player:hover .player__play { background: rgba(13, 16, 14, 0.6); }
.player__action { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); padding: 8px 14px; background: rgba(13, 16, 14, 0.9); color: #fff; font-size: 14px; }
.video-privacy, .video-status { max-width: 80ch; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.video-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.video-stop { margin-top: 14px; padding: 10px 14px; min-height: 44px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; }
.video-status:empty { display: none; }
.video-choice { max-width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 48px); padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); }
.video-choice::backdrop { background: rgba(0, 0, 0, 0.78); }
.video-choice h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.3; }
.video-choice p { color: var(--muted); font-size: 15px; }
.video-choice a { text-decoration: underline; }
.video-choice__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.video-choice__buttons button { flex: 1 1 180px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--muted); background: transparent; cursor: pointer; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player--empty { display: grid; place-items: center; color: var(--muted); }
.media-caption { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.project__info { display: flex; flex-wrap: wrap; gap: 32px 64px; margin-top: 44px; }
.facts { flex: 1 1 320px; margin: 0; }
.facts div { display: grid; grid-template-columns: minmax(90px, 1fr) 2fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 0; font-size: 14px; }
.project__text { flex: 1 1 360px; max-width: 40ch; margin: 0; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; font-weight: 500; }
.stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.stills figure { margin: 0; }
.stills img { width: 100%; }
.stills.is-landscape figure:first-child { grid-column: 1 / -1; }
.stills.is-portrait { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.next { display: block; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); }
.next .label { margin-bottom: 8px; }
.next__title { font-size: clamp(24px, 3vw, 40px); line-height: 1.2; letter-spacing: -0.03em; }
.next:hover .next__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Tekstpagina's */
.text-page { max-width: 860px; min-height: 60svh; margin: 0 auto; padding: 56px var(--gutter) 80px; }
.text-page p { color: var(--muted); }
.text-page a { text-decoration: underline; }
.text-page h2 { margin: 36px 0 12px; font-size: 24px; line-height: 1.3; }

/* Alleen in de interne preview */
.badge, .player__note { position: absolute; top: 12px; left: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 6px 10px; font-size: 12px; background: #e9c46a; color: #171a14; }
.preview-bar { padding: 10px 20px; font-size: 13px; background: #e9c46a; color: #171a14; text-align: center; }
.is-preview.home .site-header { top: 40px; }
.todo { border-left: 2px solid #e9c46a; padding: 12px 16px; color: #e9c46a; font-size: 14px; }

@media (max-width: 650px) {
  .site-nav { gap: 18px; }
  .hero__kinds { justify-content: flex-start; gap: 6px 18px; font-size: 13px; }
  /* Op de telefoon staand werk ook per twee naast elkaar, anders wordt het erg lang. */
  .work-pair { flex-wrap: nowrap; gap: 12px; }
  .work-pair .work-item { flex: 0 1 calc(50% - 6px); }
  .work-pair .work-item:nth-child(2) { margin-top: 32px; }
  .work-pair .work-item__caption { display: block; font-size: 14px; }
  .work-pair .work-item__caption > * { display: block; }
  .work-pair .work-item__title { font-size: 14px; }
  .work-pair .work-item__meta { margin-top: 2px; font-size: 12px; line-height: 1.4; }
  .about__media { flex-basis: 100%; }
  .about__video { max-height: 78svh; }
  .stills { gap: 10px; margin-top: 40px; }
  .stills.is-portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__legal { margin-top: 48px; }
}

/* Minder beweging: logobalk staat stil en loopt door naar een volgende regel */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-shrink: 1; width: 100%; flex-wrap: wrap; justify-content: center; row-gap: 28px; animation: none; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .brands__toggle { display: none; }
  .work-item__img { transition: none; }
}
