/* Ontwerpen — zelfde vormgeving als Illustraties. */
:root {
  --blue: #0a3fa8;
  --blue-dark: #062b74;
  --yellow: #f2c400;
  --yellow-dark: #c89f00;
  --silver-soft: #dfe3e8;
  --ink: #171717;
  --muted: #626262;
  --line: #cfd5dd;
  --header: rgba(203, 210, 220, .96);
  --footer: #cbd2dc;
  --max-width: 1180px;
  --header-height: 95px;
  --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: radial-gradient(circle at 50% 10%, rgba(255,255,255,.70), transparent 38%), var(--silver-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 1200; padding: .8rem 1rem; color: white; background: var(--blue-dark); border-radius: 10px; }
.skip-link:focus { top: 1rem; }

/* Header en kruimelpad sluiten aan op Creëren. */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--header); border-bottom: 1px solid rgba(6,43,116,.16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header-inner { width: min(calc(100% - 2rem), var(--max-width)); min-height: var(--header-height); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-name { color: var(--blue); font-size: clamp(1.4rem, 1.8vw, 1.7rem); font-weight: 850; letter-spacing: -.035em; }
.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a { padding: .7rem .9rem; color: #20364e; font-size: 1.05rem; text-decoration: none; border-radius: 999px; transition: background var(--transition), color var(--transition); }
.main-nav a:hover, .main-nav a.active { color: #102c50; background: #eaf1ff; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); }
.site-breadcrumb { position: sticky; top: var(--header-height); z-index: 990; min-height: 42px; display: flex; align-items: center; border-bottom: 1px solid rgba(6,43,116,.12); background: rgba(223,227,232,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-breadcrumb ol { width: min(calc(100% - 2rem), var(--max-width)); margin: 0 auto; padding: 0; display: flex; align-items: center; gap: .45rem; overflow-x: auto; color: var(--muted); font-size: .9rem; list-style: none; white-space: nowrap; }
.site-breadcrumb a { color: var(--blue); text-underline-offset: 4px; }
.site-breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* Intro en twee bestaande pictogrammen. */
.construction-page { width: min(calc(100% - 2rem), 1040px); margin: 0 auto; padding: clamp(1.3rem, 4vh, 2.5rem) 0 clamp(2rem, 5vh, 3.5rem); flex: 1 0 auto; }
.construction-intro { max-width: 780px; margin: 0 auto; text-align: center; }
.eyebrow { margin: 0 0 .2rem; color: var(--blue); font-size: .84rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.construction-intro .eyebrow { text-align: left; }
.construction-intro h1 { margin: 0; color: var(--blue-dark); font-size: clamp(2.8rem, 7vw, 5.7rem); line-height: .98; letter-spacing: -.055em; }
.intro-text { max-width: 650px; margin: clamp(.65rem, 2vh, 1.2rem) auto 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.14rem); }
.construction-grid { margin-top: clamp(1rem, 3vh, 2rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.construction-card { min-height: clamp(225px, 35vh, 330px); padding: clamp(1rem, 2.5vw, 1.8rem); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid rgba(6,43,116,.27); border-radius: 26px; background: radial-gradient(circle at 78% 16%, rgba(255,255,255,.55), transparent 42%), linear-gradient(145deg, #c7d1dc 0%, #e0e5eb 52%, #bac7d5 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.76), inset 0 -10px 24px rgba(6,43,116,.055), 0 14px 30px rgba(24,35,55,.14); }
.construction-card[href] { text-decoration: none; transition: transform var(--transition), box-shadow var(--transition); }
.construction-card[href]:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -10px 24px rgba(6,43,116,.07), 0 18px 36px rgba(24,35,55,.19); }
.construction-icon { width: clamp(105px, 16vh, 155px); max-height: 155px; object-fit: contain; display: block; margin-bottom: .8rem; filter: drop-shadow(0 9px 15px rgba(24,35,55,.14)); }
.construction-icon, .design-mark { outline: 2px solid transparent; outline-offset: 5px; border-radius: 14px; transition: outline-color var(--transition); }
.construction-card:hover .construction-icon, .construction-card:hover .design-mark,
.construction-card:focus-visible .construction-icon, .construction-card:focus-visible .design-mark { outline-color: var(--blue); }
.construction-card h2 { margin: 0; color: var(--blue); font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.1; }
/* Het ontwerpteken uit de in-opbouwpagina. */
.design-mark { position: relative; width: clamp(105px, 16vh, 155px); height: clamp(105px, 16vh, 155px); margin-bottom: .8rem; display: grid; place-items: center; }
.design-sheet { position: relative; display: block; width: 75%; height: 78%; border: 2px solid rgba(6,43,116,.38); border-radius: 13px; background: linear-gradient(145deg, #f6f7fa, #d4deea); box-shadow: 7px 8px 0 rgba(242,196,0,.45), 0 12px 19px rgba(24,35,55,.12); transform: rotate(-6deg); }
.design-circle { position: absolute; top: 16%; left: 15%; width: 29%; aspect-ratio: 1; border: 4px solid var(--blue); border-radius: 50%; }
.design-square { position: absolute; top: 22%; right: 13%; width: 25%; aspect-ratio: 1; border: 4px solid var(--yellow-dark); transform: rotate(12deg); }
.design-line { position: absolute; left: 15%; height: 4px; border-radius: 999px; background: rgba(6,43,116,.46); }
.design-line--one { bottom: 29%; width: 67%; }
.design-line--two { bottom: 17%; width: 48%; }
.design-pencil { position: absolute; right: 1%; bottom: 3%; width: 15px; height: 71%; border: 2px solid var(--blue-dark); border-radius: 5px 5px 2px 2px; background: linear-gradient(90deg, #d49e00 0 25%, #ffe475 30% 68%, #c89f00 73%); box-shadow: 2px 5px 10px rgba(24,35,55,.16); transform: rotate(38deg); }
.design-pencil::before { content: ""; position: absolute; top: -15px; left: -2px; width: 15px; height: 16px; background: var(--blue-dark); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Footer. */
.site-footer { padding: 2.2rem 0 1.3rem; color: var(--ink); background: var(--footer); }
.footer-inner, .copyright { width: min(calc(100% - 2rem), var(--max-width)); margin-inline: auto; }
.footer-inner { display: grid; grid-template-columns: 1.2fr auto; gap: 2rem; align-items: start; }
.footer-brand-name { display: inline-block; font-size: 1.2rem; line-height: 1.2; }
.brand-blue { color: var(--blue); }
.brand-yellow { color: var(--yellow-dark); }
.footer-inner p { margin: .3rem 0 0; color: #4f5966; }
.footer-world-active { color: var(--blue-dark); font-weight: 850; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .55rem 1.5rem; }
.footer-nav a { color: var(--blue); text-underline-offset: 4px; }
.copyright { margin-top: 2rem; padding-top: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: #4f5966; border-top: 1px solid rgba(6,43,116,.14); font-size: .9rem; }
.footer-signatuur { width: 150px; max-width: 70%; display: block; flex: 0 0 auto; }

/* Drie recente ontwerpen en het groeiende archief gebruiken dezelfde gegevens. */
.gallery-page { width: min(calc(100% - 2rem), var(--max-width)); flex: 1 0 auto; margin: 0 auto; padding: clamp(1.4rem, 4vh, 2.5rem) 0 clamp(2rem, 5vh, 3.5rem); }
.gallery-intro { max-width: 760px; margin: 0 auto clamp(1.3rem, 3vw, 2rem); text-align: center; }
.gallery-intro h1 { margin: 0; color: var(--blue-dark); font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.04; letter-spacing: -.05em; }
.gallery-intro p { margin: .8rem auto 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.14rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(.8rem, 2vw, 1.4rem); }
.gallery-card, .gallery-slot { min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(6,43,116,.24); border-radius: 22px; background: linear-gradient(145deg, #cbd5df, #e2e6eb 55%, #c3ced9); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 26px rgba(24,35,55,.11); }
.gallery-card img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; object-position: center; background: rgba(255,255,255,.28); }
.gallery-zoom { width: 100%; display: block; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-card figcaption { padding: .75rem 1rem 1rem; color: var(--blue-dark); border-top: 1px solid rgba(10,63,168,.35); }
.gallery-card figcaption strong { display: block; font-weight: 750; }
.gallery-card figcaption p { margin: .4rem 0 0; color: #354556; font-size: .98rem; line-height: 1.55; }
.gallery-slot { aspect-ratio: 1; display: grid; place-items: center; padding: 1rem; color: #526578; text-align: center; border-style: dashed; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 22px rgba(24,35,55,.075); }
.gallery-empty { grid-column: 1 / -1; margin: 0; padding: 2rem; border: 1px solid rgba(6,43,116,.2); border-radius: 22px; background: rgba(255,255,255,.3); color: var(--muted); text-align: center; }
.gallery-next { margin: clamp(1.3rem, 3vw, 2rem) 0 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem 1.5rem; }
.gallery-next a { color: var(--blue-dark); font-weight: 750; text-underline-offset: 4px; }
.design-lightbox { width: min(900px, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 1rem; overflow: auto; border: 1px solid rgba(6,43,116,.35); border-radius: 22px; background: #e1e6eb; box-shadow: 0 20px 55px rgba(6,43,116,.28); }
.design-lightbox::backdrop { background: rgba(6,25,58,.76); }
.design-lightbox form { display: flex; justify-content: flex-end; }
.lightbox-close { width: 2.5rem; height: 2.5rem; border: 1px solid rgba(6,43,116,.3); border-radius: 50%; color: var(--blue-dark); background: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.lightbox-image { width: 100%; max-height: 65svh; display: block; object-fit: contain; }
.lightbox-caption { padding: .5rem .5rem 0; text-align: center; }
.lightbox-title { margin: 0; color: var(--blue-dark); font-size: 1.25rem; }
.lightbox-text { max-width: 670px; margin: .4rem auto 0; color: #354556; line-height: 1.55; }

@media (max-width: 820px) {
  :root { --header-height: 62px; }
  .menu-toggle { display: block; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; }
  .menu-toggle span { width: 20px; margin: 4px auto; }
  .header-inner { gap: .75rem; }
  .brand-name { font-size: 1.12rem; }
  .main-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); padding: .7rem; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 38px rgba(0,0,0,.07); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .9rem 1rem; }
  .site-breadcrumb { min-height: 34px; }
  .site-breadcrumb ol { font-size: .82rem; }
  .site-footer { padding: 2rem 0 1rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1rem; }
  .footer-nav { justify-content: flex-start; gap: .35rem 1rem; }
  .copyright { margin-top: 1.25rem; padding-top: 1rem; }
  .footer-signatuur { width: 110px; max-width: 34%; }
}
@media (max-width: 700px) {
  .construction-page { padding-top: 1.2rem; }
  .construction-grid { grid-template-columns: 1fr; margin-top: 1.2rem; }
  .construction-card { min-height: 0; padding: 1.2rem; }
  .construction-icon, .design-mark { width: min(30vw, 110px); height: auto; }
  .design-mark { aspect-ratio: 1; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-slot { aspect-ratio: 1.25; }
  .gallery-next { flex-direction: column; align-items: flex-start; }
  .footer-inner p, .footer-nav { font-size: .95rem; }
  .copyright { gap: .75rem; font-size: .82rem; }
  .copyright span { max-width: 215px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
