:root { --sectie: clamp(88px, 8.4vw, 124px); }

.ph__foto img { object-position: 40% 50%; }

.collectie { --vorig: var(--blad-diep); --trede-n: 7; background: var(--papier); }
.echt__project img { aspect-ratio: 4 / 3; }
.echt__project + .echt__project img { object-position: 50% 30%; }

.uitstraling { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 48px); }
.uitstraling button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid rgb(31 61 43 / .24); border-radius: 2px; font-size: var(--maat-ui); font-weight: 600; color: var(--blad); transition: background var(--duur-ui), border-color var(--duur-ui), color var(--duur-ui); }
.uitstraling button span { font-size: 12px; font-weight: 700; color: rgb(31 61 43 / .8); }
.uitstraling button:hover { border-color: var(--blad); }
.uitstraling button[aria-pressed="true"] { background: var(--blad); border-color: var(--blad); color: var(--papier); }
.uitstraling button[aria-pressed="true"] span { color: var(--mos-zacht); }

.stalenboek { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--goot); }
.staal { position: relative; display: grid; gap: 8px; align-content: start; }
.staal img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--papier); transition: transform .9s var(--curve-uit); }
.staal:has(img) { overflow: hidden; }
.staal__groot { display: block; width: 100%; overflow: hidden; cursor: zoom-in; }
.staal h3 { font: 400 1.2rem/1.15 var(--font-kop); }
.staal__kies { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px 6px 10px; border: 1.5px solid rgb(31 61 43 / .24); border-radius: 2px; font-size: var(--maat-klein); font-weight: 600; color: var(--blad); transition: background var(--duur-ui), border-color var(--duur-ui), color var(--duur-ui); }
.staal__kies::before { content: ""; width: 14px; height: 14px; background: linear-gradient(currentColor 0 0) center / 14px 1.6px no-repeat, linear-gradient(currentColor 0 0) center / 1.6px 14px no-repeat; transition: transform var(--duur-ui) var(--curve); }
.staal__kies:hover { border-color: var(--blad); }
.staal__kies[aria-pressed="true"] { background: var(--blad); border-color: var(--blad); color: var(--papier); }
.staal__kies[aria-pressed="true"]::before { background: none; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translate(1px, -2px); }
.staal:has([aria-pressed="true"]) img { outline: 3px solid var(--blad); outline-offset: -3px; }
.staal.is-nieuw { animation: staal-in .3s cubic-bezier(.23, 1, .32, 1) both; }
@keyframes staal-in { from { opacity: 0; transform: translateY(18px); } }
.collectie__bron { margin-top: 32px; font-size: var(--maat-klein); color: rgb(22 32 26 / .72); }

.mijnlijst {
  position: sticky; bottom: 16px; z-index: 20; margin: -24px var(--rand) 0; display: grid; gap: 10px;
  padding: 16px 20px; background: var(--blad); color: var(--papier); border-radius: 2px;
  box-shadow: 0 24px 50px -24px rgb(0 0 0 / .55);
}
.mijnlijst__kop { display: flex; align-items: baseline; gap: 10px; font: 400 1.35rem/1 var(--font-kop); }
.mijnlijst__kop span { font: 700 12px/1 var(--font-tekst); padding: 4px 7px; border-radius: 2px; background: var(--klei-diep); color: var(--papier); }
.mijnlijst__namen { font-size: var(--maat-ui); color: rgb(244 241 234 / .86); }
.mijnlijst .knop { justify-self: start; }
.mijnlijst :focus-visible { outline-color: var(--papier); }

dialog.potgroot { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(15 30 21 / .94); color: var(--papier); }
dialog.potgroot[open] { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; }
.potgroot::backdrop { background: transparent; }
.potgroot figure { display: grid; gap: 14px; justify-items: center; grid-column: 2; min-width: 0; }
.potgroot img { max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100svh - 160px); width: auto; height: auto; }
.potgroot figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; }
.potgroot strong { font: 400 1.5rem/1.15 var(--font-kop); }
.potgroot .staal__kies { color: var(--papier); border-color: rgb(244 241 234 / .4); }
.potgroot .staal__kies[aria-pressed="true"] { background: var(--papier); border-color: var(--papier); color: var(--blad); }
.potgroot__sluit, .potgroot__pijl { display: grid; place-items: center; width: 48px; height: 48px; color: var(--papier); border-radius: 50%; transition: background var(--duur-ui); }
.potgroot__sluit:hover, .potgroot__pijl:hover { background: rgb(244 241 234 / .14); }
.potgroot svg { width: 22px; height: 22px; }
.potgroot__sluit { position: absolute; top: 12px; right: 12px; }
.potgroot__pijl--terug { justify-self: end; }
.potgroot__pijl--voor { justify-self: start; }
.potgroot :focus-visible { outline-color: var(--papier); }

@media (min-width: 640px) {
  .stalenboek { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .stalenboek { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px var(--goot); }
  .staal:hover img { transform: scale(1.04); }
  .mijnlijst { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 24px; max-width: 960px; margin-inline: auto; bottom: 24px; }
  .echt__project img { aspect-ratio: auto; height: clamp(320px, 30vw, 440px); }
  .doet__beeld img { position: absolute; inset: 0; object-position: 40% 55%; }
}

@media (max-width: 899px) {
  .mijnlijst { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (max-width: 639px) {
  .mijnlijst { grid-template-columns: auto auto; justify-content: space-between; align-items: center; column-gap: 12px; padding: 10px 12px 10px 16px; }
  .mijnlijst__namen { display: none; }
  .mijnlijst__kop { font-size: 1.15rem; }
  .mijnlijst .knop { min-height: 44px; padding-inline: 12px; font-size: .9375rem; white-space: nowrap; }
}
