/* Andy Van Cauwenbergh — portfolio
   Vormtaal: warm wit, teal, Georgia in het groot, kleine kapitaaltjes,
   randen van kant tot kant en wash-panelen tussen de secties. */

:root {
  --paper: #fbfbfa;
  --wash: #f1f5f4;
  --ink: #20242a;
  --body: #4e5660;
  --muted: #69727e;
  --line: #cfd5d8;
  --teal: #08766f;
  --display: Georgia, "Times New Roman", serif;
  --pad: 5.5vw;
  --padwide: 8.5vw;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
main { max-width: none; margin: 0; padding: 0; }
h1, h2, h3, p, ul, figure { margin: 0; }

/* ---------- micro-labels ---------- */
.label {
  display: block; color: var(--teal);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .24em;
}

/* ---------- masthead ---------- */
.masthead {
  height: 76px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 11px; text-transform: uppercase; letter-spacing: .14em;
}
.masthead .brand {
  font-family: var(--display); font-size: 22px; font-weight: 700;
  text-transform: none; letter-spacing: -.02em;
}
.masthead nav { display: flex; gap: 30px; }
.masthead nav a {
  color: var(--teal); font-weight: 700;
  border-bottom: 1px solid transparent; padding-bottom: 3px;
}
.masthead nav a:hover, .masthead nav a:focus-visible { border-color: var(--teal); }
.masthead .langs { display: flex; gap: 12px; margin-left: 26px; }
.masthead .langs a { color: var(--muted); font-weight: 700; border-bottom: 1px solid transparent; padding-bottom: 3px; }
.masthead .langs a:hover { color: var(--teal); }
.masthead .langs a.on { color: var(--teal); border-color: var(--teal); }

/* ---------- hero ---------- */
.hero { padding: 52px var(--pad) 34px; }
.hero h1 {
  font-family: var(--display); margin: 34px 0;
  font-size: clamp(40px, 5.2vw, 76px); line-height: .94; letter-spacing: -.05em;
}
.hero-meta {
  display: flex; justify-content: space-between; gap: 30px;
  padding-top: 14px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
}

.highlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center;
  border-top: 1px solid var(--teal); border-bottom: 1px solid var(--line);
}
.highlight figure { margin: 0; padding: 30px 0 30px var(--pad); }
.highlight img {
  display: block; width: 100%; max-width: 560px;
  aspect-ratio: 3 / 2; height: auto; object-fit: cover;
}
.highlight > div { padding: 26px var(--pad) 28px 30px; display: flex; flex-direction: column; }
.highlight h2 {
  font-family: var(--display); margin: 14px 0 12px;
  font-size: clamp(24px, 2.6vw, 38px); line-height: 1; letter-spacing: -.04em;
}
.highlight-lead { color: var(--body); font-size: 14px; line-height: 1.55; max-width: 44ch; }
.highlight-meta {
  margin-top: auto; padding-top: 18px; color: var(--muted);
  font-size: 10px; text-transform: uppercase; letter-spacing: .14em;
}
.highlight-link {
  margin-top: 12px; color: var(--teal); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  border-bottom: 1px solid var(--teal); padding-bottom: 3px; align-self: flex-start;
}

/* ---------- kerncijfers ---------- */
.figures {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 60px var(--pad) 0;
  border-top: 1px solid var(--teal); border-bottom: 1px solid var(--line);
}
.figures > div { padding: 20px 16px 22px; border-right: 1px solid var(--line); }
.figures > div:last-child { border-right: 0; }
.figures strong {
  display: block; font-family: var(--display);
  font-size: clamp(34px, 4vw, 54px); line-height: 1;
}
.figures .label { margin: 14px 0 6px; font-size: 8px; letter-spacing: .15em; }
.figures p { color: var(--body); font-size: 12px; line-height: 1.5; }

/* ---------- blokken ---------- */
.block { padding: 82px var(--pad); }
.block h2 {
  font-family: var(--display); margin: 16px 0 20px;
  font-size: clamp(30px, 3.5vw, 50px); line-height: .98; letter-spacing: -.045em;
}
.block-copy { color: var(--body); font-size: 15px; line-height: 1.58; max-width: 560px; }

/* ---------- werkraster ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 12px; margin-top: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.grid-3 figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.grid-3.portrait figure img { height: auto; aspect-ratio: 3 / 4; object-fit: cover; }

.case-card { display: block; }
.case-card img { width: 100%; height: min(17vw, 240px); object-fit: cover; transition: transform .45s ease; }
.case-card:hover img, .case-card:focus-visible img { transform: scale(1.015); }
.case-card strong {
  display: block; margin-top: 14px; font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 25px); line-height: 1.05; letter-spacing: -.03em;
}
.case-card span {
  display: block; margin-top: 8px; color: var(--teal);
  font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em;
}


/* ---------- profiel ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; margin-top: 34px; }
.split > div { border-top: 1px solid var(--teal); padding-top: 15px; }
.split .label { margin-bottom: 14px; font-size: 8px; letter-spacing: .15em; }
.split p { color: var(--body); font-size: 13px; line-height: 1.55; }

.domains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 56px; }
.domains > div { border-top: 1px solid var(--line); padding-top: 15px; }
.domains .label { font-size: 8px; letter-spacing: .15em; }
.domains strong { display: block; margin: 12px 0 8px; font-family: var(--display); font-size: 20px; }
.domains p { color: var(--body); font-size: 12px; line-height: 1.5; }

/* ---------- casepagina ---------- */
.case-hero { padding: 30px var(--pad) 0; }
.case-hero img { width: 100%; height: min(40vw, 520px); object-fit: cover; }

.case-intro { padding: 76px var(--padwide) 64px; }
.case-intro h1 {
  font-family: var(--display); margin: 15px 0 46px;
  font-size: clamp(44px, 6vw, 80px); font-weight: 700; line-height: .88; letter-spacing: -.05em;
}
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 9vw; align-items: start; }
.intro-grid p { color: var(--body); font-size: 15px; line-height: 1.55; }
.intro-grid .lead {
  color: var(--ink); font-family: var(--display);
  font-size: clamp(23px, 2.6vw, 35px); line-height: 1.16; letter-spacing: -.025em;
}

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 var(--pad);
  border-top: 1px solid var(--teal); border-bottom: 1px solid var(--line);
}
.facts > div { min-height: 105px; padding: 15px 16px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts .label { margin-bottom: 20px; font-size: 8px; letter-spacing: .22em; }
.facts strong { font-size: 13px; line-height: 1.3; }

.role-note {
  margin: 0; padding: 46px var(--pad);
  background: var(--wash); border-bottom: 1px solid var(--line);
}
.role-note p:last-child {
  margin-top: 14px; max-width: 760px; color: var(--body);
  font-family: var(--display); font-size: clamp(19px, 2vw, 27px); line-height: 1.25; letter-spacing: -.02em;
}

.resp { list-style: none; padding: 0; margin-top: 26px; border-top: 1px solid var(--teal); max-width: 760px; }
.resp li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.resp li::before { content: "-"; color: var(--teal); margin-right: 10px; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 12px; margin-top: 36px; }
.process img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.process figcaption {
  padding-top: 10px; border-top: 1px solid var(--line); margin-top: 8px;
}
.process figcaption .label { font-size: 8px; letter-spacing: .14em; }
.process figcaption p { color: var(--body); font-size: 11px; line-height: 1.45; margin-top: 6px; }

/* ---------- hoofdstukken ---------- */
.chapters { display: grid; gap: 56px; margin-top: 40px; }
.chapters article { border-top: 1px solid var(--teal); padding-top: 16px; }
.chapters header { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.chapters header strong { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); letter-spacing: -.03em; }
.chapters header .label { font-size: 8px; letter-spacing: .15em; }
.chapters article > p { color: var(--body); font-size: 13px; line-height: 1.55; max-width: 620px; margin-top: 12px; }
.chapter-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.chapter-images img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- opdrachtcontext ---------- */
.context {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 34px; border-top: 1px solid var(--teal); border-bottom: 1px solid var(--line);
}
.context > div { padding: 18px 18px 20px 0; border-right: 1px solid var(--line); }
.context > div:last-child { border-right: 0; }
.context > div:not(:first-child) { padding-left: 18px; }
.context strong {
  display: block; font-family: var(--display); font-size: clamp(15px, 1.3vw, 19px);
  letter-spacing: -.02em; margin: 8px 0 8px;
}
.context p { color: var(--body); font-size: 12px; line-height: 1.5; }

/* ---------- wash-secties ---------- */
#profiel, .next { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.archive { background: var(--paper); }

/* ---------- archief ---------- */
.archive ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 12px; margin-top: 40px; }
.archive li img { width: 100%; height: min(15vw, 200px); object-fit: cover; filter: saturate(.78); }
.archive li strong { display: block; margin-top: 12px; font-family: var(--display); font-size: 17px; letter-spacing: -.02em; }
.archive li span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.archive li em {
  display: block; margin-top: 6px; color: var(--teal); font-style: normal;
  font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
}

/* ---------- voet ---------- */
footer {
  border-top: 1px solid var(--teal);
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 34px var(--pad) 44px;
  color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
}
footer strong {
  display: block; font-family: var(--display); color: var(--ink);
  font-size: 17px; font-weight: 700; text-transform: none; letter-spacing: -.01em;
}
footer > div:last-of-type { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
footer a { color: var(--teal); }
footer .rights {
  grid-column: 1 / -1; margin-top: 26px; padding-top: 14px;
  border-top: 1px solid var(--line); color: var(--muted);
  font-size: 9px; line-height: 1.6; letter-spacing: .06em; max-width: 900px;
}

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- mobiel ---------- */
@media (max-width: 1000px) and (min-width: 761px) {
  .case-grid, .archive ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .masthead { padding: 0 15px; height: 66px; }
  .masthead nav { gap: 14px; }
  .masthead .brand { font-size: 18px; }
  .hero { padding: 40px 15px 26px; }
  .hero h1 { font-size: 11.5vw; margin: 26px 0; }
  .hero-meta { display: grid; gap: 9px; }
  .highlight { grid-template-columns: 1fr; }
  .highlight figure { padding: 15px 15px 0; }
  .highlight img { max-width: none; aspect-ratio: 3 / 2; }
  .highlight > div { padding: 22px 15px 26px; }
  .figures { grid-template-columns: 1fr; margin: 44px 15px 0; }
  .figures > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .figures > div:last-child { border-bottom: 0; }
  .block { padding: 62px 15px; }
  .context { grid-template-columns: 1fr; }
  .context > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 0 18px; }
  .context > div:last-child { border-bottom: 0; }
  .context > div:not(:first-child) { padding-left: 0; }
  .case-grid, .grid-3, .chapter-images, .archive ul, .process, .split, .domains, .intro-grid, footer {
    grid-template-columns: 1fr; gap: 26px;
  }
  .case-card img { height: 62vw; }
  .grid-3 figure img, .chapter-images img { height: auto; aspect-ratio: 3 / 2; }
  .grid-3.portrait figure img { height: auto; aspect-ratio: 3 / 4; }
  .case-hero { padding: 20px 0 0; }
  .case-hero img { height: 66vw; }
  .case-intro { padding: 56px 15px; }
  .case-intro h1 { font-size: 14vw; margin-bottom: 36px; }
  .facts { grid-template-columns: 1fr 1fr; margin: 0 15px; }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .role-note { padding: 40px 15px; }
  .process img { height: auto; aspect-ratio: 3 / 2; }
  footer { padding: 30px 15px 38px; }
}

/* ---------- beeldbeheer ---------- */
.beheer-uitleg ol { margin: 20px 0 22px 18px; color: var(--body); font-size: 14px; line-height: 1.7; }
.beheer-uitleg code, .slot code { font-family: Consolas, monospace; font-size: 12px; color: var(--teal); }
.slots { padding: 0 var(--pad) 90px; display: grid; gap: 14px; }
.slot {
  display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start;
  border-top: 1px solid var(--line); padding: 18px 0;
}
.slot.over { background: var(--wash); outline: 2px dashed var(--teal); outline-offset: 6px; }
.slot.gewijzigd { background: var(--wash); }
.slot-preview { background: #e9edec; overflow: hidden; }
.slot-preview img { width: 100%; display: block; object-fit: cover; }
.slot-preview.hero img { height: 150px; }
.slot-preview.card img { height: 240px; }
.slot-preview.grid img { height: 255px; }
.slot-preview.process img { height: 220px; }
.slot-preview.portrait img { height: auto; aspect-ratio: 3 / 4; }
.slot-info strong { display: block; margin: 8px 0 4px; font-family: var(--display); font-size: 19px; }
.slot-dims { margin: 8px 0 14px; color: var(--muted); font-size: 12px; }
.slot-dims.krap { color: #b0431f; }
.slot-dims.krap::after { content: " — aan de krappe kant"; }
.slot-drop {
  display: inline-block; cursor: pointer; padding: 9px 14px;
  border: 1px dashed var(--teal); color: var(--teal);
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
}
.slot-save {
  display: inline-block; margin-left: 10px; padding: 9px 14px;
  background: var(--teal); color: #fff;
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
}
@media (max-width: 760px) {
  .slots { padding: 0 15px 60px; }
  .slot { grid-template-columns: 1fr; gap: 14px; }
}

