/* De Netwerkmeester — one-page site. No external resources, no inline styles (strict CSP). */

:root {
  --bg: #0b0f1a;
  --bg-2: #121829;
  --fg: #e8ecf6;
  --muted: #a3acc2;
  --mint: #7cf0c5;
  --blue: #6c8cff;
  --pink: #ff7ab6;
  --grad: linear-gradient(110deg, var(--mint), var(--blue) 50%, var(--pink));
  --radius: 1.5rem;
  --pad: clamp(1.25rem, 5vw, 6rem);
  --content-width: 90rem;
  --content-pad: max(var(--pad), calc((100% - var(--content-width)) / 2 + var(--pad)));
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .95rem + .25vw, 1.15rem);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.05; margin: 0 0 1rem; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
a { color: var(--mint); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  padding: .5rem 1rem;
  background: var(--mint);
  color: var(--bg);
  border-radius: .5rem;
  z-index: 10;
}
.skip:focus { top: 1rem; }

/* Brand (no navigation, just the logo) */
.brand {
  position: sticky;
  top: 0; left: 0;
  z-index: 5;
  background: linear-gradient(180deg, rgba(11, 15, 26, .96), rgba(11, 15, 26, .82));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 236, 246, .1);
}
.brand__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1rem var(--pad);
}
.brand__mark {
  display: block;
  margin: 0;
  width: min(30rem, 100%);
  height: auto;
  filter: brightness(1.15) drop-shadow(0 2px 10px rgba(232, 236, 246, .22));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--blue); }
.btn svg { width: 1.25em; height: 1.25em; }
.btn--large { font-size: 1.2rem; padding: 1.1rem 2rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 7rem var(--content-pad) 4rem;
  background:
    radial-gradient(60rem 40rem at 85% 20%, rgba(108, 140, 255, .18), transparent 60%),
    radial-gradient(40rem 30rem at 10% 90%, rgba(124, 240, 197, .12), transparent 60%);
}
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 5vw, 6rem); font-weight: 800; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .85rem;
  color: var(--mint);
  font-weight: 700;
}
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); color: var(--muted); max-width: 36rem; margin-bottom: 2rem; }
.hero__art { width: 100%; max-width: 32rem; justify-self: center; }

.hero__text > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__text > :nth-child(2) { animation-delay: .1s; }
.hero__text > :nth-child(3) { animation-delay: .2s; }
.hero__text > :nth-child(4) { animation-delay: .3s; }

.orbit { transform-origin: 200px 200px; }
.orbit--slow { animation: spin 60s linear infinite; }
.orbit--fast { animation: spin 20s linear infinite reverse; }
.links line { stroke-dasharray: 6 6; animation: flow 3s linear infinite; }
.pulse { transform-origin: 200px 200px; animation: pulse 3s ease-in-out infinite; }

/* Keyword band */
.band {
  overflow: hidden;
  padding: 1.5rem 0;
  background: var(--grad);
  color: var(--bg);
  transform: rotate(-2deg);
  margin: 2rem -1rem;
}
.band__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.band span {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  font-weight: 800;
  white-space: nowrap;
  padding: 0 1.5rem;
}
.band span::after { content: "\2726"; padding-left: 3rem; font-size: .6em; vertical-align: middle; }

/* Sections */
main { overflow-x: clip; }
section:not(.hero) { padding: clamp(4rem, 10vw, 9rem) var(--content-pad); }
.big { font-size: clamp(2.2rem, 1.2rem + 4.5vw, 5.5rem); font-weight: 800; }
.section-title { font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3.5rem); font-weight: 800; margin-bottom: 3rem; }

.intro h2 { max-width: 60rem; }
.intro p { font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); color: var(--muted); max-width: 50rem; }
.intro .trustline {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(124, 240, 197, .55);
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
}

.cards {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: 1.5rem;
}
.card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid rgba(232, 236, 246, .08);
  transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(124, 240, 197, .5); }
.card svg { width: 3rem; height: 3rem; margin-bottom: 1.5rem; }
.card h3 { font-size: 1.5rem; }
.card p { color: var(--muted); margin: 0; }

.approach { background: var(--bg-2); border-radius: 3rem 3rem 0 0; }
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2.5rem;
}
.step { border-top: 2px solid rgba(232, 236, 246, .15); padding-top: 1.5rem; }
.step__no {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: 1.4rem; }
.step p { color: var(--muted); margin: 0; }

.principles { background: var(--bg-2); padding-top: 0 !important; }
.facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
  text-align: center;
}
.facts dt { font-size: clamp(3rem, 2rem + 4vw, 6rem); font-weight: 800; line-height: 1; }
.facts dd { margin: .5rem 0 0; color: var(--muted); text-transform: uppercase; letter-spacing: .2em; font-size: .85rem; }

.contact {
  text-align: center;
  background:
    radial-gradient(50rem 30rem at 50% 100%, rgba(255, 122, 182, .18), transparent 70%),
    var(--bg);
}
.contact p { color: var(--muted); max-width: 40rem; margin: 0 auto 2.5rem; font-size: 1.2rem; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem var(--content-pad);
  border-top: 1px solid rgba(232, 236, 246, .08);
  color: var(--muted);
  font-size: .9rem;
}
.footer p { margin: 0; }
.footer a { color: var(--muted); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  width: 100%;
}

.legal-page { padding: clamp(3rem, 8vw, 6rem) var(--content-pad); }
.legal-page__inner { max-width: 50rem; }
.legal-page__inner h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem); overflow-wrap: anywhere; }
.legal-page__inner h2 { font-size: 1.5rem; margin-top: 2rem; }
.legal-page__inner p { color: var(--muted); }
.legal-page__inner a { overflow-wrap: anywhere; }

/* Scroll-driven reveal (progressive enhancement, no JavaScript needed) */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
}

@keyframes rise { from { opacity: 0; transform: translateY(2.5rem); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes pulse { 50% { transform: scale(1.15); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; padding-top: 6rem; }
  .hero__art { max-width: 20rem; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
