/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  padding: 0 var(--page-px) 80px;
  overflow: hidden;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image-bg video,
.hero-image-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-image-bg video {
  z-index: 1;
  will-change: transform;
}
.hero-image-bg img {
  z-index: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}


.hero-left {
  position: relative;
  z-index: 1;
  padding-top: 160px;
}

/* Hero eyebrow colour — dark section variant */
.hero-eyebrow {
  color: var(--yellow);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  background: var(--yellow);
}

.hero-title {
  font-family: 'Space Mono', monospace;
  font-size: 60px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  word-spacing: -0.3em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 36px;
  overflow-wrap: break-word;
}
.hero-title-line {
  display: block;
  white-space: pre-wrap;
}

.hero-sub {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 450px;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}


.hero-right {
  position: relative;
  z-index: 1;
  padding-top: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}


.hero-cert-strip {
  margin-bottom: 8px;
  transform: translateX(-110px);
}

.hero-cert-tree {
  display: grid;
  grid-template-columns: 80px 1px 32px max-content;
  grid-template-rows: repeat(4, auto);
  row-gap: 40px;
  column-gap: 0;
  align-items: center;
  width: max-content;
}

.hero-cert-tree__lead {
  grid-column: 1;
  grid-row: 1 / span 4;
  align-self: center;
  justify-self: start;
  width: 80px;
  min-width: 80px;
  height: 1px;
  background: var(--gray-60);
}

.hero-cert-tree__rail {
  grid-column: 2;
  grid-row: 1 / span 4;
  width: 1px;
  min-width: 1px;
  justify-self: center;
  align-self: stretch;
  margin-top: 12px;
  margin-bottom: 12px;
  background: var(--gray-60);
}

.hero-cert-tree__twig {
  grid-column: 3;
  height: 1px;
  width: 100%;
  min-width: 24px;
  background: var(--gray-60);
  align-self: center;
}

.hero-cert-tree .hero-cert {
  grid-column: 4;
  justify-self: start;
  width: max-content;
}

.hero-cert {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-20);
  border: 1px solid var(--gray-60);
  padding: 5px 10px;
  background: rgba(10,10,10,0.5);
  backdrop-filter: blur(8px);
}

.hero-cert.hi {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: var(--page-px);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gray-40);
}

.hero-scroll .material-icons {
  font-size: 14px;
  animation: nudge 2s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ── HERO — compact variant ──────────────────────────── */
.hero--compact {
  min-height: 65vh;
}

.hero--compact .hero-title {
  font-size: 60px;
}

/* ── HERO — responsive ───────────────────────────────── */

/* Kop mag wrappen; top-align vermijdt grote lege ruimte onder vaste nav */
@media (max-width: 1199px) {
  .hero-title-line {
    white-space: normal;
  }
  .hero {
    align-items: start;
    align-content: start;
  }
}

/* Tablet portrait: copy vult volledige linker kolom */
@media (orientation: portrait) and (min-width: 700px) and (max-width: 1199px) {
  .hero-left {
    min-width: 0;
  }
  .hero-sub {
    max-width: none;
  }
}

/* Tablet landscape: 1 kolom, cert tree verborgen */
@media (orientation: landscape) and (min-width: 700px) and (max-width: 1366px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-right {
    display: none;
  }
}

/* Tablet (breedte-only): 1 kolom, cert tree verborgen */
@media (max-width: 1023px) and (orientation: portrait) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-right {
    display: none;
  }
}

/* Mobile: compacte padding, cert tree verborgen, knoppen wrappen */
@media (max-width: 699px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 0 clamp(18px, 5vw, 32px) 96px;
  }
  .hero-left {
    padding-top: 120px;
    min-width: 0;
  }
  .hero-right {
    display: none;
  }
  .hero-title,
  .hero--compact .hero-title {
    font-size: 36px;
  }
  .hero-sub {
    max-width: none;
  }
  .hero-ctas {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-scroll {
    bottom: 28px;
    left: clamp(18px, 5vw, 32px);
  }
}

/* Klein mobiel: knoppen verticaal stapelen */
@media (max-width: 599px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
