/* ============ Alta Control — design tokens ============ */
:root {
  --bg: #070b14;
  --bg-alt: #0a1220;
  --panel: rgba(148, 197, 255, 0.05);
  --panel-border: rgba(148, 197, 255, 0.12);
  --text: #e6edf7;
  --text-dim: #93a3bc;
  --accent: #6f8fff;
  --accent-2: #f7941e;
  --accent-soft: rgba(111, 143, 255, 0.14);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 18px;
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #04121d; }

/* subtle blueprint grid backdrop */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(148, 197, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid var(--panel-border);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

/* wordmark zoals origineel: serif, ALTA boven lijn, CONTROL eronder */
.logo-word {
  display: flex;
  flex-direction: column;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.15;
  font-size: 0.98rem;
  color: #9db4ff;
}
.logo-word .logo-word-top {
  border-bottom: 2px solid rgba(157, 180, 255, 0.65);
  padding-bottom: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s;
}
.nav-menu a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent) !important;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: var(--accent); color: #04121d !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 24px 80px;
  width: 100%;
}

.hero-kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(92deg, #4f7ae8, #9db4ff 50%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 560px;
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn-primary {
  background: var(--accent);
  color: #04121d;
  box-shadow: 0 8px 30px rgba(111, 143, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(111, 143, 255, 0.38); }
.btn-ghost {
  border: 1px solid var(--panel-border);
  color: var(--text);
  background: var(--panel);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 760px;
}
.hero-stats div {
  padding: 18px 20px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-stats dt {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 4px;
}
.hero-stats dd { color: var(--text-dim); font-size: 0.88rem; }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid var(--panel-border);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
}

/* ============ Sections ============ */
.section { padding: 110px 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(111, 143, 255, 0.04) 20%, rgba(111, 143, 255, 0.04) 80%, transparent);
}

.section-head { margin-bottom: 48px; }

.section-kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section-lead {
  max-width: 640px;
  color: var(--text-dim);
  font-size: 1.08rem;
}

.section-note {
  margin-top: 44px;
  max-width: 680px;
  color: var(--text-dim);
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============ Intro ============ */
.intro { padding: 120px 0 40px; }
.intro-lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.4;
  font-weight: 500;
  max-width: 900px;
  margin-bottom: 28px;
}
.intro-body { max-width: 760px; color: var(--text-dim); }

/* ============ Cards ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 30px 28px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 143, 255, 0.4);
  box-shadow: 0 18px 50px rgba(3, 10, 20, 0.6);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 26px; height: 26px;
  stroke: var(--accent);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* ============ Marquee ============ */
.marquee {
  margin-top: 56px;
  overflow: hidden;
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  padding: 26px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-track span:hover { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; }
  .scroll-hint span { animation: none; }
}

/* ============ Kennis ============ */
.knowledge {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--panel-border);
}
.know-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--panel-border);
  align-items: start;
}
.know-row h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 6px;
}
.know-row ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.know-row li {
  padding: 7px 16px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--panel);
  transition: border-color 0.25s, background 0.25s;
}
.know-row li:hover { border-color: var(--accent); background: var(--accent-soft); }

/* ============ Vacatures ============ */
.vacature-wrap { text-align: left; }
.vacature-wrap .section-lead { margin-bottom: 32px; }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 760px;
}
.contact-card {
  display: block;
  padding: 32px 28px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  font-style: normal;
  transition: transform 0.3s, border-color 0.3s;
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(111, 143, 255, 0.4); }
.contact-label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.contact-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--panel-border);
  padding: 34px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--accent); }

/* ============ Reveal defaults (JS enhances) ============ */
.reveal, .split-lines { will-change: transform, opacity; }
.st-line { overflow: hidden; display: block; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .know-row { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .cards { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 63px;
    right: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    background: rgba(7, 11, 20, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--panel-border);
    border-right: 0;
    border-radius: var(--radius) 0 0 var(--radius);
    padding: 22px 26px;
    transform: translateX(110%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { font-size: 1.05rem; padding: 6px 0; display: inline-block; }
  .nav-cta { margin-top: 8px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
