:root {
  --background: #0b1020;
  --text: #f8fafc;
  --muted: #b0bacd;
  --accent: #a78bfa;
  --border: #a78bfa26;
  --gradient: linear-gradient(110deg, #7650cc, #4a66c8);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-padding-top: 24px;
}
body {
  display: block;
  min-height: 100svh;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.8;
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}
::selection {
  background: #7650cc;
  color: white;
}
:focus-visible {
  outline: 3px solid #c4b5fd;
  outline-offset: 5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  transform: translateY(-150%);
  z-index: 50;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--background);
  border-radius: 8px;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid #ffffff08;
}
.navigation {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.7px;
}
.menu-toggle {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.menu-toggle:hover {
  background: #a78bfa14;
}
.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.navigation-links {
  display: none;
  position: absolute;
  left: 24px;
  top: 76px;
  width: min(270px, calc(100vw - 48px));
  padding: 10px;
  background: #12192cf5;
  backdrop-filter: blur(16px);
  border: 1px solid #a78bfa40;
  border-radius: 12px;
  box-shadow: 0 15px 30px #0005;
}
.navigation-links.is-open {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.navigation-links > a {
  color: var(--muted);
  padding: 11px 14px;
  font-size: 14px;
  border-radius: 7px;
  transition:
    color 0.2s,
    background 0.2s;
}
.navigation-links > a:hover,
.navigation-links > a[aria-current] {
  background: #a78bfa15;
  color: var(--text);
}
main {
  position: relative;
  z-index: 1;
}
.intro-page {
  min-height: calc(100svh - 88px);
  padding: 65px 0 235px;
  isolation: isolate;
}
.introduction {
  position: relative;
  z-index: 2;
  width: min(1050px, calc(100% - 80px));
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: center;
  gap: 85px;
}
h1,
h2 {
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -1.3px;
}
.intro-copy h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  margin: 0 0 28px;
}
p {
  color: var(--muted);
}
.intro-copy p {
  font-size: 15px;
  line-height: 1.95;
  margin: 0 0 18px;
  max-width: 580px;
}
.intro-copy p:last-child {
  margin-bottom: 0;
}
.portrait {
  position: relative;
  width: 100%;
  max-width: 310px;
  justify-self: center;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid #a78bfa40;
  border-radius: 20px;
  transform: rotate(4deg);
  z-index: -1;
}
.portrait-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #b7a3ff4d;
  background: #12192c;
}
.portrait img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center 30%;
}
.landscape {
  position: absolute;
  z-index: 0;
}
.intro-page .landscape {
  height: 220px;
}
.intro-page .windmill {
  width: 150px;
}
.intro-page .reservoir {
  height: 205px;
}
.falling-background {
  opacity: 0.55;
}
.burst-layer {
  z-index: 1;
}
.page-heading {
  position: relative;
  z-index: 1;
  width: min(950px, calc(100% - 80px));
  margin: auto;
  padding: 38px 0 30px;
  border-bottom: 1px solid var(--border);
}
.back-link {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 28px;
}
.back-link:hover {
  color: var(--accent);
}
.page-heading h1 {
  font-size: clamp(34px, 5vw, 54px);
}
.codering,
.generieke {
  width: min(950px, calc(100% - 80px));
  margin: auto;
  padding: 0 0 30px;
}
.codering-tekst > h2,
.generieke-vakken > h2 {
  font-size: 25px;
  margin: 40px 0 18px;
  letter-spacing: -0.6px;
}
.codering-tekst > h2::before,
.generieke-vakken > h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: var(--gradient);
  margin-right: 12px;
  vertical-align: -2px;
}
.codering-tekst > p,
.generieke-vakken > p {
  font-size: 16px;
  line-height: 1.95;
  margin-bottom: 25px;
}
.codering-tekst > p:has(img) {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #12192ca8;
  border: 1px solid var(--border);
  border-radius: 12px;
}
img.website,
img.website2,
img.website3 {
  flex: 1;
  width: calc((100% - 32px) / 3);
  min-width: 0;
  border: 1px solid #a78bfa40;
  border-radius: 7px;
}
.generieke-vakken a {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 12px 22px;
  border-radius: 9px;
  font-size: 14px;
}
.page-scenery {
  position: relative;
  height: 260px;
  overflow: hidden;
}
@media (max-width: 1000px) {
  .introduction {
    gap: 45px;
  }
  .portrait img {
    height: 350px;
  }
}
@media (max-width: 700px) {
  .navigation {
    min-height: 76px;
  }
  .brand {
    font-size: 23px;
  }
  .menu-toggle {
    left: 12px;
  }
  .navigation-links {
    left: 16px;
    top: 66px;
  }
  .intro-page {
    min-height: calc(100svh - 76px);
    padding: 42px 0 205px;
  }
  .introduction {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .intro-copy h1 {
    font-size: clamp(36px, 8vw, 46px);
    margin-bottom: 25px;
  }
  .intro-copy p {
    font-size: 14px;
    line-height: 1.95;
  }
  .portrait {
    max-width: 265px;
    margin-right: 8px;
  }
  .portrait img {
    height: 320px;
  }
  .intro-page .landscape {
    height: 170px;
  }
  .intro-page .windmill {
    width: 115px;
  }
  .intro-page .reservoir {
    height: 160px;
  }
  .page-heading {
    width: calc(100% - 44px);
    padding: 28px 0;
  }
  .page-heading h1 {
    font-size: clamp(32px, 8vw, 44px);
    overflow-wrap: anywhere;
  }
  .back-link {
    margin-bottom: 24px;
  }
  .codering,
  .generieke {
    width: calc(100% - 44px);
  }
  .codering-tekst > h2,
  .generieke-vakken > h2 {
    font-size: 22px;
  }
  .codering-tekst > p,
  .generieke-vakken > p {
    font-size: 14px;
  }
  .codering-tekst > p:has(img) {
    flex-direction: column;
    padding: 14px;
  }
  img.website,
  img.website2,
  img.website3 {
    width: 100%;
  }
  .page-scenery {
    height: 190px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .falling-background {
    display: none;
  }
}
