:root {
  --zwart: #0A0A0B;
  --creme: #F4F1E8;
  --creme-zacht: #CFCCC3;
  --rood: #FD2D53;
  --blauw: #2D53FD;
  --geel: #F2E400;
  --groen: #53FD2D;
  --donkerblauw: #120A2E;
  --zand: #EDE7D8;
  --lavendel: #EFE8FF;
  --nachtblauw: #1A0040;
  --paars: #4A1D8F;
  --oranje: #FF3800;
  --donkergrijs: #26241F;
  --footer-divider: #232320;
  --grijs-warm: #9A968B;
  --grijs-donker: #86827A;

  --pad-v: clamp(72px, 9vh, 120px);
  --pad-h: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--zwart);
  color: var(--creme);
  font-family: 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--rood); color: var(--zwart); }

.accent-blue   { color: var(--blauw); }
.accent-green  { color: var(--groen); }
.accent-orange { color: var(--oranje); font-weight: 700; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--zwart);
  display: flex;
  align-items: center;
  justify-content: center;
  /* safety net: fade out even if JS never runs (e.g. on subpages) */
  animation: preloaderFail 0.6s ease 3.2s forwards;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.preloader__mark {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  color: var(--geel);
  animation: preloaderPulse 1.05s ease-in-out infinite, heroSkipHue 4s linear infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(0.82); opacity: 0.55; }
  50%      { transform: scale(1.08); opacity: 1; }
}

@keyframes preloaderFail {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: var(--rood);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 60;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--pad-h);
  mix-blend-mode: difference;
  color: #fff;
  z-index: 50;
  pointer-events: none;
}

.navbar__brand {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(16px, 1.6vw, 22px);
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.navbar__tagline {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.5;
}

.hero {
  position: relative;
  height: calc(100svh - 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(80px, 12vh, 140px) var(--pad-h) clamp(40px, 6vh, 80px);
  overflow: hidden;
}

.hero__inner { position: relative; z-index: 2; }

.hero__title-wrap {
  position: relative;
  display: inline-block;
  text-align: left;
}

.hero__title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--creme);
  font-size: clamp(76px, 16vw, 236px);
}

.hero__title > span { display: block; }
.hero__ghost { visibility: hidden; }

.hero__skip {
  position: absolute;
  right: var(--pad-h);
  bottom: clamp(20px, 4vh, 40px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  color: var(--creme);
}

.hero__skip-top {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--geel);
  animation: heroSkipHue 5s linear infinite;
  will-change: filter;
}

@keyframes heroSkipHue {
  to { filter: hue-rotate(360deg); }
}

.hero__skip-main {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero__skip-sub {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--grijs-warm);
  transition: color 0.25s ease;
}

.hero__skip:hover .hero__skip-sub { color: var(--creme); }

.hero__caption {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(17px, 7px + 1.7vw, 31px);
  line-height: 1.32;
  max-width: 720px;
  margin: clamp(28px, 4.5vh, 48px) auto 0;
  color: var(--creme-zacht);
}

.section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section--probleem {
  background: var(--geel);
  color: var(--zwart);
  padding: clamp(96px, 14vh, 180px) var(--pad-h);
}

.probleem__title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 0;
  font-size: clamp(40px, 7vw, 118px);
  max-width: 15ch;
}

.probleem__para-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(40px, 7vh, 80px);
}

.probleem__para {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 12px + 1vw, 26px);
  line-height: 1.5;
  max-width: 560px;
  margin: 0;
  color: var(--donkergrijs);
}

.probleem__para strong { font-weight: 800; }

.section--concept {
  background: var(--donkerblauw);
  color: var(--creme);
  padding: var(--pad-v) var(--pad-h) clamp(56px, 8vh, 96px);
}

.concept__title-wrap { text-align: center; }

.concept__title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin: 0;
  font-size: clamp(56px, 11vw, 180px);
}

.concept__para-wrap {
  margin-top: clamp(32px, 5vh, 64px);
  display: flex;
  justify-content: flex-start;
}

.concept__para {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(24px, 8px + 2.6vw, 46px);
  line-height: 1.25;
  color: var(--creme);
  margin: 0;
  max-width: min(680px, 100%);
}

.concept__para em { font-style: italic; }

.section--design {
  background: var(--zand);
  color: #161616;
  padding: var(--pad-v) var(--pad-h) clamp(56px, 8vh, 96px);
}

.design__title-wrap { text-align: left; }

.design__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.03em;
  margin: 0;
  font-size: clamp(56px, 11vw, 180px);
}

.design__para-wrap {
  margin-top: clamp(32px, 5vh, 64px);
  display: flex;
  justify-content: flex-end;
}

.design__para {
  font-family: 'Space Mono', monospace;
  font-size: clamp(18px, 8px + 1.7vw, 32px);
  line-height: 1.45;
  color: #161616;
  margin: 0;
  max-width: min(620px, 100%);
  text-align: right;
}

.section--uitwerking {
  background: var(--lavendel);
  color: var(--nachtblauw);
  padding: var(--pad-v) var(--pad-h) clamp(56px, 8vh, 96px);
}

.uitwerking__title-wrap {
  text-align: right;
}

.uitwerking__para-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: clamp(32px, 5vh, 64px);
}

.uitwerking__para {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 7px + 2.1vw, 38px);
  line-height: 1.35;
  color: var(--paars);
  margin: 0;
  max-width: min(580px, 100%);
}

.uitwerking__title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin: 0;
  font-size: clamp(72px, 13.5vw, 228px);
  color: var(--nachtblauw);
}

.contact {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--blauw) 0%, var(--rood) 100%);
}

.contact__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.contact__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: rgba(250, 246, 238, 0.30);
}

.contact__inner {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 12vh, 148px) var(--pad-h);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

.contact__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: min(70vh, 600px);
}

.contact__lead {
  font-family: 'Libre Caslon Text', serif;
  font-size: clamp(18px, 11px + 1.2vw, 28px);
  line-height: 1.6;
  margin: 0;
  color: rgba(250, 246, 238, 0.85);
  max-width: 28ch;
}

.contact__headline-line {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.84;
  font-size: clamp(72px, 46px + 7.6vw, 188px);
  color: #fff;
  letter-spacing: -0.01em;
  transform: scaleY(1.45);
  transform-origin: bottom left;
  display: block;
}

.contact__headline-line--2 { margin-top: clamp(8px, 1.2vw, 20px); }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.field {
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.35);
  padding-bottom: clamp(12px, 1.8vh, 18px);
  margin-bottom: clamp(18px, 2.5vh, 28px);
}

.field--last { margin-bottom: clamp(32px, 5vh, 52px); }

.field__label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.field__input {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 28px);
  color: #fff;
  caret-color: #fff;
  padding: 0;
}

.field__textarea {
  resize: none;
  line-height: 1.6;
  font-size: clamp(16px, 1.5vw, 24px);
}

.field__input::placeholder { color: rgba(255, 255, 255, 0.3); }

.verstuur-btn {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(16px, 1.5vw, 24px);
  letter-spacing: 0.04em;
  padding: clamp(14px, 2vh, 20px) clamp(28px, 3vw, 44px);
  cursor: pointer;
  align-self: flex-start;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  transition: background 0.3s ease, transform 0.3s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.verstuur-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.verstuur-btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

.field--honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: clamp(16px, 2vh, 24px) 0 0;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #fff;
}

.form-status--error { color: var(--zwart); }

.footer {
  background: var(--zwart);
  color: var(--creme);
  padding: clamp(48px, 8vh, 96px) var(--pad-h) clamp(36px, 5vh, 52px);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(40px, 6vh, 64px);
  border-bottom: 1px solid var(--footer-divider);
}

.footer__name {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1;
  color: var(--creme);
}

.footer__tagline {
  font-family: 'Space Mono', monospace;
  font-size: clamp(12px, 1.1vw, 15px);
  color: var(--grijs-donker);
  margin-top: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.footer__label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__label--red   { color: var(--rood); }
.footer__label--blue  { color: #5A78FF; }
.footer__label--green { color: var(--groen); }

.footer__items {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 2;
  color: var(--grijs-warm);
}

.footer__email {
  color: var(--creme);
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.footer__email:hover { color: var(--rood); }

.footer__data {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.footer__data-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer__data dt {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grijs-donker);
}

.footer__data dd {
  margin: 0;
  font-family: 'Space Mono', monospace;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.5;
  color: var(--creme);
  letter-spacing: 0.01em;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(20px, 3vh, 32px);
}

.footer__copy {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grijs-donker);
  text-transform: uppercase;
}

.footer__copy a {
  color: var(--grijs-warm);
  text-decoration: underline;
  transition: color 0.2s;
}

.footer__copy a:hover { color: var(--rood); }

.footer__built {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grijs-donker);
  font-style: italic;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(120px, 18vh, 200px) var(--pad-h) var(--pad-v);
}

.legal__eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rood);
  margin: 0 0 18px;
}

.legal__title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  font-size: clamp(48px, 9vw, 104px);
  margin: 0;
  color: var(--creme);
}

.legal__updated {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grijs-warm);
  margin: 20px 0 0;
}

.legal__intro {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--creme);
  margin: clamp(40px, 6vh, 64px) 0 0;
  max-width: 60ch;
}

.legal__section {
  margin-top: clamp(40px, 6vh, 56px);
}

.legal__section h2 {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--groen);
  margin: 0 0 16px;
}

.legal__section p,
.legal__section li {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: var(--creme-zacht);
}

.legal__section p { margin: 0 0 16px; }

.legal__section ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal__section li { margin-bottom: 6px; }

.legal__section strong { color: var(--creme); font-weight: 600; }

.legal a {
  color: var(--rood);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s;
}

.legal a:hover { opacity: 0.7; }

.legal__back {
  margin-top: clamp(48px, 8vh, 72px);
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.legal__back a {
  color: var(--creme);
  text-decoration: none;
  border: none;
}

.legal__back a:hover { color: var(--rood); }

.notfound {
  min-height: calc(100svh - 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(120px, 18vh, 200px) var(--pad-h) clamp(60px, 10vh, 100px);
}

.notfound__eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--geel);
  margin: 0 0 clamp(20px, 4vh, 36px);
  animation: heroSkipHue 5s linear infinite;
  will-change: filter;
}

.notfound__code {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.01em;
  font-size: clamp(120px, 30vw, 300px);
  margin: 0;
  color: var(--creme-zacht);
}

.notfound__msg {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(18px, 7px + 1.7vw, 30px);
  line-height: 1.35;
  max-width: 560px;
  margin: clamp(24px, 4vh, 40px) auto 0;
  color: var(--creme-zacht);
}

.notfound__back {
  margin-top: clamp(32px, 5vh, 48px);
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--creme);
  text-decoration: none;
  transition: color 0.2s;
}

.notfound__back:hover { color: var(--rood); }

.grain-global {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  mix-blend-mode: overlay;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .contact__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: clamp(48px, 10vh, 80px);
  }

  .contact__left { min-height: auto; gap: clamp(40px, 8vh, 64px); }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 16px var(--pad-h);
    gap: 16px;
  }

  .navbar__brand { flex-shrink: 0; }

  .navbar__tagline {
    font-size: 9px;
    letter-spacing: 0.1em;
    line-height: 1.45;
  }

  .concept__title { font-size: clamp(40px, 13vw, 96px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  [data-reveal],
  [data-intro] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .hero__skip {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero__skip-top { animation: none; }

  .preloader__mark { animation: none; }

  .notfound__eyebrow { animation: none; }
}

/* ============ custom cursor (active outside the hero) ============ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9000;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  /* invert against the section underneath, just like the navbar logo */
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  transition: opacity 0.25s ease;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid #fff;
  transition: width 0.3s cubic-bezier(.16, 1, .3, 1),
              height 0.3s cubic-bezier(.16, 1, .3, 1),
              background-color 0.3s ease,
              opacity 0.25s ease;
}

.cursor-ring.is-hover {
  width: 66px;
  height: 66px;
  background: rgba(255, 255, 255, 0.25);
}

body.cursor-hidden,
body.cursor-hidden * {
  cursor: none !important;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring { display: none !important; }
}
