/* Demo portfolio "Studio Maes" (13 nov 2026). Richting: de tekentafel. Wit papier, zwarte haarlijnen,
   kalkgrijs voor een vlak, geen accentkleur: de foto's dragen de kleur. Eén letter, Schibsted Grotesk.
   Eigen elementen: de projectlijst als plannenregister (met de foto naast de rij) en de werkwijze als
   tijdlijn op schaal (elke fase zo breed als ze duurt). */
@font-face { font-family: "Schibsted"; src: url("../_letters/schibsted.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --papier: #f7f7f5;
  --inkt: #111111;
  --bij: #5c5c58;        /* 6,5:1 op papier */
  --kalk: #e8e7e2;
  --lijn: #111111;
  --haar: #c9c8c2;
  --letter: "Schibsted", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--papier); color: var(--inkt); font: 18px/1.55 var(--letter); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--inkt); outline-offset: 3px; }
.binnen { width: min(1360px, 100% - 48px); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.02; }
p { margin: 0; }
.klein { font-size: 14px; color: var(--bij); }

.kop .binnen { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--lijn); }
.merk { font-size: 22px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.kop nav { display: flex; gap: 30px; font-size: 16px; }
.kop nav a { text-decoration: none; }
.kop nav a:hover, .kop nav a[aria-current] { text-decoration: underline; }

/* opening: een plaat met onderschrift, en één zin */
.plaat { margin-top: 28px; margin-bottom: 0; }
.plaat img { width: 100%; height: min(64svh, 640px); object-fit: cover; }
.plaat figcaption { display: flex; justify-content: space-between; padding-top: 10px; }
.stelling .binnen { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; padding: 72px 0 96px; }
.stelling h1 { font-size: clamp(36px, 4.8vw, 72px); font-weight: 600; max-width: 20ch; }
.stelling p.klein { padding-top: 12px; }

/* plannenregister */
.register { padding-bottom: 120px; }
.register-kop { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--lijn); }
.register-kop h2 { font-size: 28px; }
.register table { width: 100%; border-collapse: collapse; font-size: 18px; }
.register th { text-align: left; font-weight: 500; font-size: 13px; color: var(--bij); padding: 14px 12px 10px 0; border-bottom: 1px solid var(--haar); }
.register td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--haar); vertical-align: baseline; }
.register td:first-child, .register th:first-child { width: 7rem; font-variant-numeric: tabular-nums; color: var(--bij); }
.register td.naam { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.register td.naam a { text-decoration: none; }
.register tr.rij { cursor: pointer; transition: background-color .12s; }
.register tr.rij:hover, .register tr.rij:focus-within { background: var(--kalk); }
.register tr.rij:hover td.naam a, .register tr.rij:focus-within td.naam a { text-decoration: underline; }
.register td.m2 { text-align: right; font-variant-numeric: tabular-nums; padding-right: 0; }
.register th.m2 { text-align: right; padding-right: 0; }
.register-plaats { position: relative; }
.voorproef { position: absolute; right: 0; top: 0; width: 34%; pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 2; }
.voorproef.toon { opacity: 1; }
.voorproef img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* twee projecten groot, verschoven */
.uitgelicht .binnen { display: grid; grid-template-columns: 7fr 1fr 4fr; align-items: end; padding-bottom: 130px; }
.uitgelicht a { text-decoration: none; display: block; }
.uitgelicht a:hover h3 { text-decoration: underline; }
.uitgelicht figure { margin: 0; }
.uitgelicht .groot img { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.uitgelicht .smal { grid-column: 3; margin-bottom: 120px; }
.uitgelicht .smal img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.uitgelicht h3 { font-size: 22px; margin-top: 14px; }

/* werkwijze op schaal */
.werkwijze { background: var(--kalk); padding: 96px 0 104px; }
.werkwijze .binnen > div:first-child { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; margin-bottom: 48px; }
.werkwijze h2 { font-size: clamp(30px, 3.4vw, 48px); }
.werkwijze .intro { max-width: 52ch; }
/* 6, 8, 16 en 60 weken; de eerste twee krijgen een minimum zodat hun tekst leesbaar blijft */
.schaal { display: grid; grid-template-columns: minmax(170px, 6fr) minmax(170px, 8fr) 16fr 60fr; border-top: 2px solid var(--lijn); }
.schaal > div { border-left: 1px solid var(--lijn); padding: 16px 14px 0; position: relative; }
.schaal > div:first-child { border-left: 0; padding-left: 0; }
.schaal b { display: block; font-size: 19px; letter-spacing: -.01em; }
.schaal .duur { font-size: 14px; color: var(--bij); font-variant-numeric: tabular-nums; }
.schaal p { font-size: 16px; margin-top: 10px; color: var(--inkt); max-width: 34ch; }
.schaal-maat { display: flex; justify-content: space-between; margin-top: 30px; border-top: 1px solid var(--haar); padding-top: 8px; }

.contact .binnen { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; padding: 96px 0; }
.contact h2 { font-size: clamp(34px, 4.4vw, 64px); max-width: 16ch; }
.contact p { margin-top: 18px; max-width: 46ch; }
.contact .regels { display: flex; gap: 48px; margin-top: 36px; flex-wrap: wrap; }
.contact .regels a { font-size: 22px; font-weight: 600; }
.voet .binnen { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--lijn); padding: 18px 0 30px; flex-wrap: wrap; }

/* projectpagina */
.project-kop .binnen { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; padding: 64px 0 40px; }
.project-kop h1 { font-size: clamp(40px, 5.6vw, 84px); }
.fiche { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); margin: 0; }
.fiche div { padding: 14px 14px 16px 0; }
.fiche div + div { border-left: 1px solid var(--haar); padding-left: 14px; }
.fiche dt { font-size: 13px; color: var(--bij); }
.fiche dd { margin: 2px 0 0; font-weight: 500; }
.project-beeld { margin-top: 32px; margin-bottom: 0; }
.project-kop .binnen + .binnen { display: block; padding: 0; }
.project-beeld img { width: 100%; height: min(78svh, 820px); object-fit: cover; }
.project-tekst .binnen { display: grid; grid-template-columns: 3fr 5fr 1fr 3fr; gap: 24px; padding: 88px 0; }
.project-tekst .tekst { grid-column: 2; }
.project-tekst .tekst p + p { margin-top: 1em; }
.project-tekst .tekst p:first-child { font-size: 24px; line-height: 1.4; letter-spacing: -.01em; }
.project-tekst aside { grid-column: 4; }
.plan { margin: 0; }
.plan svg { width: 100%; height: auto; display: block; }
.plan figcaption { margin-top: 10px; }
.duo .binnen { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; padding-bottom: 120px; align-items: start; }
.duo img { width: 100%; object-fit: cover; }
.duo figure { margin: 0; }
.duo figure:first-child { margin-top: 140px; }
.duo figure:first-child img { aspect-ratio: 3 / 4; }
.duo figure:last-child img { aspect-ratio: 4 / 3; }
.duo figcaption { margin-top: 10px; }
.volgende .binnen { border-top: 1px solid var(--lijn); padding: 26px 0 80px; display: flex; justify-content: space-between; gap: 20px; }
.volgende a { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }

@media (max-width: 900px) {
  .binnen { width: calc(100% - 32px); }
  .kop nav { gap: 18px; font-size: 15px; }
  .stelling .binnen, .werkwijze .binnen > div:first-child, .contact .binnen, .project-kop .binnen { grid-template-columns: 1fr; padding-top: 48px; }
  .stelling .binnen { padding-bottom: 64px; }
  .register th:nth-child(4), .register td:nth-child(4), .register th:nth-child(3), .register td:nth-child(3) { display: none; }
  .register td.naam { font-size: 19px; }
  .register td:first-child, .register th:first-child { width: 4.5rem; }
  .voorproef { display: none; }
  .uitgelicht .binnen { grid-template-columns: 1fr; gap: 48px; }
  .uitgelicht .smal { grid-column: 1; margin: 0 0 0 25%; }
  .schaal { grid-template-columns: 1fr; border-top: 0; }
  .schaal > div, .schaal > div:first-child { border-left: 0; border-top: 2px solid var(--lijn); padding: 14px 0 24px; }
  .fiche { grid-template-columns: 1fr 1fr; }
  .fiche div + div { border-left: 0; padding-left: 0; }
  .fiche div { border-bottom: 1px solid var(--haar); }
  .project-tekst .binnen { grid-template-columns: 1fr; padding: 56px 0; }
  .project-tekst .tekst, .project-tekst aside { grid-column: 1; }
  .duo .binnen { grid-template-columns: 1fr; }
  .duo figure:first-child { margin: 0 25% 0 0; }
}
@media (prefers-reduced-motion: reduce) { .voorproef, .register tr.rij { transition: none; } }
