/* =========================================================================
   DOIA — shared system
   Minimal, image-led, technical-editorial. Monochrome on warm off-white.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500&family=IBM+Plex+Sans:wght@300;400;500&display=swap');

:root {
  /* palette — warm, near-monochrome */
  --paper:      #FBFAF8;
  --paper-2:    #F2F0EC;
  --ink:        #16140F;
  --ink-2:      #5A564E;   /* secondary text */
  --ink-3:      #98938A;   /* tertiary / captions */
  --line:       #DEDAD2;   /* hairlines */
  --line-2:     #C9C4BA;
  --accent:     oklch(0.59 0.10 42);  /* terracotta — klei, Mongoolse oker */
  --accent-2:   oklch(0.72 0.06 220); /* zacht blauw — stalen trap */

  /* type */
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;

  /* rhythm */
  --gut: clamp(20px, 4.5vw, 64px);   /* page side margin */
  --rule: 1px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--ink); color: var(--paper); }

/* ---- technical voice: labels, nav, captions ---------------------------- */
.mono {
  font-family: var(--mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.eyebrow {
  font-family: var(--mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--ink-3);
}

/* ---- layout ------------------------------------------------------------ */
.shell { width: 100%; padding-inline: var(--gut); }

.rule { height: var(--rule); background: var(--line); border: 0; width: 100%; }

/* visually-hidden — accessible/SEO text that isn't shown on screen */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* section header: eyebrow-title left, optional link right */
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: clamp(24px, 3vw, 40px); gap: 16px; flex-wrap: wrap;
}

/* underlined mono call-to-action link */
.link-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 3px;
  text-decoration: none;
  transition: gap 0.4s var(--ease), opacity 0.4s var(--ease);
}
.link-line:hover { gap: 18px; }

/* generic reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gut);
  mix-blend-mode: difference;       /* wordmark stays legible over imagery */
  color: #fff;
}
.nav a { color: #fff; }

.nav__brand {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.28em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}
.nav__menu a {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  position: relative;
  padding-bottom: 2px;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__menu a[aria-current="page"]::after { transform: scaleX(1); }

.nav__menu-toggle { display: none; }

@media (max-width: 720px) {
  .nav { padding-block: 16px; }
  .nav__menu { gap: 16px; }
  .nav__menu a { font-size: 0.62rem; }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  margin-top: clamp(80px, 12vw, 180px);
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 80px) var(--gut) 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
}
.footer__brand {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.28em;
  font-size: 1.1rem;
  text-transform: uppercase;
  grid-column: 1 / -1;
  margin-bottom: clamp(30px, 5vw, 60px);
}
.footer__col h4 {
  font-family: var(--mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 8px;
  width: fit-content;
  transition: color 0.4s var(--ease);
}
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  grid-column: 1 / -1;
  margin-top: clamp(40px, 6vw, 80px);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.64rem;
  color: var(--ink-3);
}

/* =========================================================================
   SHARED IMAGE TREATMENT
   ========================================================================= */
.frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.frame:hover img { transform: scale(1.035); }

/* big editorial headings */
.h-display {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-size: clamp(2.6rem, 8vw, 7rem);
}
.h-lg {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
}
.lead {
  font-weight: 300;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 30ch;
}
.measure { max-width: 56ch; }
.text-muted { color: var(--ink-2); }

/* =========================================================================
   COOKIE CONSENT BANNER
   ========================================================================= */
.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: var(--paper);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.cookie.is-open { transform: none; }
.cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 44px);
  padding-block: 18px;
  flex-wrap: wrap;
}
.cookie__text {
  color: var(--ink-2);
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 72ch;
}
.cookie__text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
  transition: text-decoration-color 0.35s var(--ease);
}
.cookie__text a:hover { text-decoration-color: var(--accent); }
.cookie__actions { display: flex; gap: 12px; flex: none; }
.cookie__btn {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.64rem;
  padding: 12px 22px;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.cookie__btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cookie__btn--ghost { background: transparent; color: var(--ink); }
.cookie__btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (max-width: 640px) {
  .cookie__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie__actions { width: 100%; }
  .cookie__btn { flex: 1; }
}
