/* ==========================================================================
   DreamChaserz — fonts, reset, typografie, hulpklassen
   ========================================================================== */

/* --- self-hosted fonts (geen externe requests, AVG-proof) ----------------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrumentsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrumentsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plexmono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plexmono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
/* De browser geeft figure standaard 1em/40px marge mee. Dat drukte elk
   beeldkader 40 px aan weerszijden naar binnen — precies de lege ruimte
   links en rechts van de video's op de projectenpagina. */
figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

/* --- koppen --------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: var(--wide);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: var(--lh-tight); font-stretch: var(--wide-soft); }
h4 { font-size: var(--t-h4); line-height: var(--lh-tight); font-stretch: var(--wide-soft); letter-spacing: 0; }

p { margin: 0; }
p + p { margin-top: var(--s-4); }

/* --- links ---------------------------------------------------------------- */
a { color: inherit; text-decoration: none; }

.link {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
  text-decoration-color: rgb(227 188 99 / 40%);
  transition: text-decoration-color var(--dur-1) var(--ease);
}
.link:hover { text-decoration-color: var(--gold); }

/* --- focus: overal zichtbaar, altijd goud -------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-light :focus-visible { outline-color: var(--gold-ink); }

.skip {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: var(--z-skip);
  translate: -50% -120%;
  padding: var(--s-3) var(--s-5);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  transition: translate var(--dur-2) var(--ease);
}
.skip:focus-visible { translate: -50% 0; outline-offset: -4px; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --- layout-hulpklassen --------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(var(--container-n) + 2 * var(--gutter)); }

/* Pagina's waar het beeld het werk is, niet de tekst, krijgen één ruimer
   kader. Nav en footer schuiven mee, anders loopt de linkerkantlijn halverwege
   de pagina ineens niet meer gelijk. */
.page-wide .wrap:not(.wrap--narrow),
.page-wide .nav__inner { max-width: var(--container-w); }

.section { padding-block: var(--section-y); position: relative; }
.section--flush-top { padding-top: 0; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }

.section--light {
  background: var(--gallery);
  color: var(--ink);
}
.section--raised { background: var(--ink-2); }

/* --- mono-label ----------------------------------------------------------- */
.mono {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  font-weight: 400;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  line-height: 1.4;
}

/* de pijl uit het logo is het richtingsmotief van de hele site */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin: 0 0 var(--s-5);
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: clamp(1.5rem, 4vw, 3rem);
  height: 1px;
  background: var(--gold);
  flex: none;
}
.section--light .eyebrow { color: var(--gold-ink); }
.section--light .eyebrow::before { background: var(--gold-ink); }

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--bone);
  max-width: 46ch;
  text-wrap: pretty;
}
.section--light .lead { color: rgb(10 10 11 / 78%); }

.muted { color: var(--mute); }
.section--light .muted { color: rgb(10 10 11 / 62%); }

.gold { color: var(--gold); }

/* --- sectiekop ------------------------------------------------------------ */
.head {
  display: grid;
  gap: var(--s-5);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
@media (width >= 62rem) {
  .head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: end;
    gap: var(--s-9);
  }
}
.head__title { max-width: 22ch; }

/* --- beweging: reveals komen van links, als een tracking shot ------------- */
.reveal {
  opacity: 0;
  translate: -1.75rem 0;
  transition: opacity var(--dur-4) var(--ease), translate var(--dur-4) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; translate: 0 0; }

.no-js .reveal { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: 0 0; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
