/* Fonts zelf gehost (DSGVO): Latijnse subset van Google Fonts; Roboto is variabel, één bestand voor 300 en 500 */
@font-face {
  font-family: Vollkorn;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/vollkorn-400-latin.woff2) format('woff2');
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/roboto-latin.woff2) format('woff2');
}
:root {
  --navy: #0C1D2C;
  --accent: #B0A6A1;
  --page: #FAFDFF;
  --footer: #F0F4F7;
  --text: #000000;
  --radius: 5px;
  --gutter: clamp(32px, 8.33vw, 120px);
  --section: 48px;
  --font-display: Vollkorn, Georgia, serif;
  --font-body: Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--page);
}
main { flex: 1; display: flex; flex-direction: column; }
a { color: var(--navy); }
a:hover { color: #000000; }
a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Kop */
.header {
  height: 96px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
/* 72px zoals op elysium.nl; kleiner is de onderste regel niet meer leesbaar */
.logo { display: block; width: auto; height: 72px; }
.opening {
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  line-height: 1.3;
}
.opening--header {
  display: none;
  padding: 11px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
}
.opening--hero {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff;
}

/* Titelvlak */
.hero {
  padding: var(--section) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  color: #ffffff;
  background: var(--navy);
}
.hero h1 {
  margin: 0;
  max-width: 920px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-wrap: balance;
}
/* Krul-divider, nagetekend naar curl-white.png van elysium.nl; kleur via color */
.divider { display: block; width: 209px; height: 20px; color: #ffffff; }
.hero p { margin: 0; max-width: 820px; text-wrap: pretty; }

/* Visualisaties */
.visuals {
  padding: 0 24px var(--section);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: var(--navy);
}
.visuals h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-align: center;
  text-wrap: balance;
}
.collage {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.zoom { display: block; border-radius: var(--radius); cursor: zoom-in; }
.zoom:focus-visible { outline-color: #ffffff; outline-offset: 4px; }
.collage picture { display: block; }
.collage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}
.collage .zoom:first-child { grid-column: span 2; }

/* Lightbox */
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 64px 24px 24px;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(12, 29, 44, 0.94); }
.lightbox picture { display: contents; }
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius);
}
.lightbox img.is-loading { visibility: hidden; }
.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #ffffff;
  font: 300 36px/1 var(--font-body);
  cursor: pointer;
}
.lightbox__close:hover { color: var(--accent); }
.lightbox__close:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

/* Tekstvlak met patroon */
.about {
  flex: 1;
  padding: var(--section) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--page) url(patroon-deluxe-licht.jpg) repeat 50% 50%;
  background-image: image-set(url(patroon-deluxe-licht.webp) type('image/webp'), url(patroon-deluxe-licht.jpg) type('image/jpeg'));
}
.about p { margin: 0; max-width: 760px; text-wrap: pretty; }
.about strong { font-weight: 500; color: var(--navy); }

/* Voet */
.footer {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--footer);
}
.footer__meta { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.footer__meta a { display: inline-flex; align-items: center; min-height: 44px; color: #000000; }

@media (min-width: 768px) {
  :root { --section: 88px; }
  body { font-size: 20px; line-height: 1.667; }
  .header { padding: 0 var(--gutter); justify-content: space-between; }
  .opening--header { display: block; }
  .opening--hero { display: none; }
  .hero { padding: var(--section) var(--gutter); gap: 28px; }
  .hero h1 { font-size: 48px; }
  .visuals { padding: 0 var(--gutter) var(--section); gap: 32px; }
  .visuals h2 { font-size: 30px; }
  .collage { grid-template-columns: 798fr 378fr; gap: 24px; }
  .collage img { aspect-ratio: 378 / 212.5; }
  .collage .zoom:first-child { grid-column: auto; grid-row: span 2; }
  .collage .zoom:first-child img { aspect-ratio: 798 / 449; }
  .lightbox { padding: 72px var(--gutter) 48px; }
  .lightbox__close { top: 16px; right: 16px; }
  .about { padding: var(--section) var(--gutter); gap: 24px; }
  .footer { flex-direction: row; justify-content: space-between; height: 128px; padding: 0 var(--gutter); }
  .footer__meta { gap: 32px; font-size: 16px; }
}
