/* Tim Rijkse’s portfolio uses a monochrome layout with full-colour work samples. */
:root {
  --papier: #f5f5f2;
  --inkt: #0d0d0d;
  --tekst: #3b3b38;
  --accent: #0d0d0d;      /* alleen de gevulde knop */
  --vlak: #e4e4df;
  --grijs-donker: #5c5c58; /* labels op licht */
  --grijs-licht: #a9a9a4;  /* labels op zwart */
  --font-kop: "Inter Tight", "Arial Narrow", Arial, sans-serif;
  --font-tekst: "Inter Tight", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-label: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --maat-display: clamp(3.25rem, 9vw, 9.5rem);
  --maat-kop: clamp(1.5rem, 2.6vw, 2.5rem);
  --maat-tekst: 18px;
  --maat-label: 12px;
  --beeld-radius: 0px;
  --rand: clamp(20px, 2.8vw, 40px);

  --motief-kleur: var(--inkt);
  --motief-vlak: var(--papier);
  --motief-rand: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tekst);
  font-family: var(--font-tekst);
  font-size: var(--maat-tekst);
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; border-radius: var(--beeld-radius); }
p, h1, h2, h3, figure, blockquote { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.donker {
  background: var(--inkt);
  color: var(--papier);
  --motief-kleur: var(--papier);
  --motief-vlak: var(--inkt);
}

/* ---- knop en label (motief: snijtekens) ---- */
.motief-knop, .motief-label {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
[data-motief] .motief-knop.is--vol { background-color: var(--motief-kleur); background-image: none; color: var(--motief-vlak); box-shadow: inset 0 0 0 1px var(--motief-kleur); }
[data-motief] .motief-knop.is--vol:hover { background-color: transparent; color: var(--motief-kleur); }
.motief-label { font-size: var(--maat-label); }
.etiket__stip { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; margin-right: .35em; }

/* ---- kop: woordmerk en menu ---- */
.kop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--rand);
}
.kop__merk {
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}
.kop__menu { display: flex; gap: clamp(14px, 2.4vw, 36px); }
.kop__menu a {
  font-family: var(--font-label);
  font-size: var(--maat-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}
.kop__menu a:hover { border-bottom-color: currentColor; }

/* ---- opening ---- */
.opening { padding: 0 var(--rand) var(--rand); }
.opening__boven { padding-top: clamp(20px, 4.5vh, 52px); }
.naam {
  margin: .14em 0 0;
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: var(--maat-display);
  line-height: .84;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.naam__regel { display: block; }
.naam [data-fit-width] { line-height: .84; }
.naam__regel.is--mob { display: none; }
.opening__rij {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
  margin-top: clamp(20px, 2.4vw, 36px);
}
.opening__tekst { max-width: 33em; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; color: var(--papier); }
.opening__knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.opening__beeld { margin-top: clamp(28px, 3.6vw, 56px); }
.opening__beeld img { width: 100%; height: auto; }
.opening__beeld figcaption {
  margin-top: 12px;
  font-family: var(--font-label);
  font-size: var(--maat-label);
  letter-spacing: .04em;
  color: var(--grijs-licht);
}

/* ---- band ---- */
.band { background: var(--papier); color: var(--inkt); padding: 2.6vw 0 3.2vw; border-bottom: 1px solid var(--inkt); }
.band .marquee-advanced { width: 100%; position: relative; overflow: clip; }
.band .marquee-advanced__scroll { display: flex; position: relative; will-change: transform; }
.band .marquee-advanced__collection { display: flex; position: relative; will-change: transform; }
.band__woord {
  display: flex;
  align-items: center;
  gap: .28em;
  padding-right: .28em;
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: 12vw;
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
  white-space: nowrap;
}
.band__woord svg { width: .5em; height: .5em; flex: none; }

/* ---- koppen ---- */
.titel, .uitnodiging__kop {
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: var(--maat-display);
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
  color: var(--inkt);
}

/* ---- werk: de stapel ---- */
.werk { background: var(--papier); }
.werk__kop, .skills__kop {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: end;
}
.werk__kop { grid-template-columns: minmax(0, 1fr); padding: clamp(64px, 9vw, 140px) var(--rand) clamp(40px, 5vw, 72px); }
.werk__kop .werk__intro { justify-self: end; }
.werk__intro, .skills__intro { max-width: 30em; }
.stacking-cards__item {
  border-radius: 0;
  margin-top: 0;
  padding: 6.5rem var(--rand) 3.5rem;
}
.stacking-cards__item.is--inkt { background: var(--inkt); color: var(--papier); }
.stacking-cards__item.is--papier { background: var(--papier); color: var(--inkt); border-top: 1px solid var(--inkt); }
.stacking-cards__item.is--vlak { background: var(--vlak); color: var(--inkt); }
.stacking-cards__item-top { top: 2rem; left: var(--rand); right: var(--rand); }
.stacking-card__top-span {
  font-family: var(--font-label);
  font-size: var(--maat-label);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stacking-cards__item-h {
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: 7vw;
  line-height: .98;
  letter-spacing: -.045em;
}
.stacking-card__heading-faded { opacity: .45; }
.werk__zin { margin-top: 1.25rem; max-width: 32em; text-align: center; line-height: 1.45; }
.work-preview {
  display: block;
  width: min(58vw, 1100px);
  margin-top: 2rem;
  text-align: center;
  text-underline-offset: .24em;
}
.work-preview > span { display: inline-block; margin-top: .85rem; }
.stacking-cards__item-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 0;
  border-radius: var(--beeld-radius);
  margin-top: 0;
  box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent);
}

/* ---- skills ---- */
.skills { background: var(--papier); padding: clamp(72px, 10vw, 150px) var(--rand) clamp(88px, 11vw, 170px); position: relative; }
.skills__kop { margin-bottom: clamp(36px, 5vw, 72px); }
.dl { border-top: 1px solid var(--inkt); margin-inline: -16px; }
.dl-row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 32px;
  align-items: center;
  padding: clamp(22px, 2.4vw, 34px) 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--inkt) 22%, transparent);
  text-decoration: none;
  color: var(--inkt);
}
.dl-row__text { position: relative; z-index: 1; transition: color .35s, transform .5s cubic-bezier(.16, 1, .3, 1); }
.dl-row__name {
  display: block;
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 100px);
  line-height: .95;
  letter-spacing: -.045em;
}
.dl-row__desc { display: block; margin-top: 10px; max-width: 36em; font-size: 17px; line-height: 1.5; }
.dl-row__more {
  position: relative;
  z-index: 1;
  font-family: var(--font-label);
  font-size: var(--maat-label);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .35s;
}
.dl-row__more::after { content: " →"; }
.dl-row .directional-list__hover-tile { background-color: var(--inkt); z-index: 0; }
.dl-row[data-status^="enter"] :is(.dl-row__text, .dl-row__more) { color: var(--papier); }
.dl-row[data-status^="enter"] .dl-row__text { transform: translateX(.5em); }

/* ---- naad: paskruisjes die op wit zwart en op zwart wit zijn ---- */
.motief-naad { --motief-kleur: #fff; mix-blend-mode: difference; }

/* ---- over ---- */
.over { padding: clamp(96px, 15vw, 210px) var(--rand) clamp(72px, 9vw, 140px); position: relative; }
.uitspraak {
  max-width: 17em;
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.over__rij {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) minmax(0, 7fr);
  align-items: end;
  margin-top: clamp(80px, 11vw, 170px);
}
.over__portret { grid-column: 1; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; }
.over__portret img { object-position: 50% 22%; }
.over__tekst { grid-column: 3; }
.over__kop {
  max-width: 15em;
  margin-bottom: .6em;
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: var(--maat-kop);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.over__tekst > p { max-width: 34em; }
.cijfers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 5vw, 72px); max-width: 720px; }
.cijfer__getal {
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: clamp(64px, 9vw, 150px);
  line-height: 1;
  letter-spacing: -.04em;
}
.cijfer__label, .citaat__kop, .citaat__bron, .voet__label {
  font-family: var(--font-label);
  font-size: var(--maat-label);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.5;
}
.cijfer__label { margin-top: 14px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--papier) 35%, transparent); }
.citaat {
  margin-top: clamp(80px, 11vw, 170px);
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--papier) 35%, transparent);
}
.citaat__kop { color: var(--grijs-licht); }
.citaat blockquote {
  margin-top: clamp(20px, 2.6vw, 40px);
  max-width: 12em;
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: clamp(36px, 6.6vw, 110px);
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.citaat blockquote::before { content: "“"; }
.citaat blockquote::after { content: "”"; }
.citaat__bron { margin-top: 24px; color: var(--grijs-licht); }

/* ---- contact en footer ---- */
.demo-main { position: relative; background: var(--papier); }
.demo-footer {
  min-height: 100svh;
  padding: clamp(72px, 12vh, 130px) var(--rand) 0;
  gap: 6vh;
  background: var(--vlak);
  color: var(--inkt);
  font-weight: 400;
  letter-spacing: 0;
}
.footer-wrap__dark { background: var(--inkt); }
.uitnodiging {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px 48px;
  align-items: end;
}
.uitnodiging__nummer {
  display: inline-block;
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-decoration: none;
  border-bottom: 3px solid currentColor;
}
.uitnodiging__rechts p { margin-top: 18px; max-width: 28em; color: var(--tekst); }
.demo-footer__links-row { gap: 32px; }
.demo-footer__col { gap: 12px; }
.demo-footer__links { gap: 4px; }
.demo-footer__a { font-size: 17px; line-height: 1.5; }
a.demo-footer__a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer-brand { display: inline-block; align-self: flex-start; margin-block: 4px; padding: 8px 10px; background: var(--inkt); }
.voet__label { color: var(--grijs-donker); }
.voet__naam {
  display: block;
  margin: 0 0 .05em;
  font-family: var(--font-kop);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.voet__naam [data-fit-width] { line-height: .84; }
.voet__klein {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 16px 0 22px;
  border-top: 1px solid var(--inkt);
  font-size: 14px;
  color: var(--tekst);
}

/* ---- bellen op mobiel: een balk ---- */
.belbalk { display: none; }

@media (max-width: 899px) {
  .belbalk {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    background: var(--papier);
    color: var(--inkt);
    border-top: 1px solid var(--inkt);
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    transform: translateY(100%);
    transition: transform .3s ease;
  }
  .belbalk[data-zichtbaar] { transform: translateY(0); }
  .voet__klein { padding-bottom: 68px; }
}

@media (max-width: 767px) {
  .kop { padding: 18px var(--rand); }
  .kop__merk { font-size: 17px; }
  .kop__menu { gap: 13px; }
  .kop__menu a { font-size: 11px; letter-spacing: .04em; }

  .naam { font-size: 26vw; margin-top: .16em; }
  .naam__regel.is--desk { display: none; }
  .naam__regel.is--mob { display: block; }
  .opening__rij { grid-template-columns: minmax(0, 1fr); }
  .opening__knoppen { flex-direction: column; }
  .opening__knoppen .motief-knop { width: 100%; }

  .band { padding: 5vw 0 6vw; }
  .band__woord { font-size: 19vw; }

  .werk__kop, .skills__kop, .uitnodiging { grid-template-columns: minmax(0, 1fr); }
  .titel, .uitnodiging__kop { font-size: 15vw; }
  .stacking-cards__item { padding: 5.5rem var(--rand) 3rem; }
  .stacking-cards__item-h { font-size: 9.4vw; }
  .work-preview { width: 100%; margin-top: 1.5rem; }

  .dl-row { grid-template-columns: minmax(0, 1fr); }
  .dl-row__name { font-size: 13vw; }

  .over__rij { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .over__portret, .over__tekst { grid-column: 1; }
  .over__portret { max-width: 78%; }
  .cijfers { gap: 20px; }
  .cijfer__getal { font-size: 15vw; }

  .demo-footer { padding-top: 10vh; gap: 5vh; }
  .voet__klein { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .belbalk { transition: none; }
  .dl-row__text, .dl-row__more { transition: none; }
}
