/* Earlab corporate site — same family as vear.world, calmer */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/outfit-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/outfit-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/outfit-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/outfit-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/outfit-latin-700-normal.woff2') format('woff2'); }

:root {
  --bg: #060608;
  --bg-2: #0b0b0e;
  --text: #f5f5f7;
  --soft: #c7c7cc;
  --muted: #a1a1a6;
  --line: rgba(255, 255, 255, 0.07);
  --amber: #dcae5f;
  --amber-2: #b98e43;
  --teal: #4db6ac;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--text); font-family: var(--font); }
body { background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--amber); color: #070709; padding: 0.6rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.4rem 3.5rem;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 6, 8, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding-top: 1rem; padding-bottom: 1rem;
}
.logo { display: inline-flex; align-items: baseline; gap: 2px; font-size: 1.65rem; font-weight: 600; letter-spacing: -0.035em; color: #fff; text-decoration: none; }
.logo-dot {
  --lx: 34%; --ly: 30%;
  position: relative; overflow: hidden;
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at var(--lx) var(--ly), #ffffff 0%, #fdfbf7 12%, #efe9e1 34%, #d9d0c6 60%, #b3a99f 85%, #8f857b 100%);
  box-shadow: 0 0 8px rgba(255, 245, 225, 0.45), inset -1px -1px 2px rgba(0, 0, 0, 0.3);
  animation: moon-aura 9s ease-in-out infinite;
}
.logo-dot::after {
  content: ''; position: absolute; inset: -40%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(190, 225, 255, 0) 0deg, rgba(190, 225, 255, 0.55) 60deg, rgba(255, 200, 230, 0.45) 120deg, rgba(200, 255, 230, 0.4) 180deg, rgba(190, 225, 255, 0) 240deg);
  mix-blend-mode: soft-light; animation: nacre 9s linear infinite;
}
@keyframes nacre { to { transform: rotate(360deg); } }
.site-nav { display: flex; gap: 2.25rem; margin-left: auto; }
.site-nav a { color: var(--soft); text-decoration: none; font-size: 0.92rem; transition: color 0.2s ease; }
.site-nav a:hover, .site-nav a.current { color: #fff; }
.header-cta {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  color: var(--amber); padding: 0.45rem 1.1rem; border-radius: 20px;
  border: 1px solid rgba(220, 174, 95, 0.25); background: rgba(220, 174, 95, 0.05);
  transition: background 0.2s ease;
}
.header-cta:hover { background: rgba(220, 174, 95, 0.12); }

/* Shared type */
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em;
  background: linear-gradient(135deg, #fff 45%, var(--amber));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.body-lg { font-size: 1.3rem; font-weight: 300; line-height: 1.55; color: #e5e5ea; margin-bottom: 1.25rem; }
.body-lg strong { color: var(--amber); font-weight: 500; }
.body { font-size: 1rem; font-weight: 300; line-height: 1.7; color: var(--soft); margin-bottom: 1rem; }
.body a { color: var(--amber); }
.muted { color: var(--muted); }
.source { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 1.5rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.98rem; font-weight: 600; text-decoration: none; padding: 0.95rem 2rem; border-radius: 30px; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn.solid { color: #070709; background: linear-gradient(135deg, var(--amber), var(--amber-2)); box-shadow: 0 10px 25px rgba(220, 174, 95, 0.2); }
.btn.solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(220, 174, 95, 0.3); }
.btn.ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.05); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 8rem 3.5rem 6rem; overflow: hidden; }
.hero-rings { position: absolute; right: -12vw; top: 50%; width: min(1000px, 90vw); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.hero-rings svg { width: 100%; height: 100%; }
.ring { fill: none; stroke: rgba(220, 174, 95, 0.38); stroke-width: 1; transform-origin: 400px 400px; animation: breathe 7s ease-in-out infinite; }
.ring.r2 { stroke: rgba(220, 174, 95, 0.28); animation-delay: 0.8s; }
.ring.r3 { stroke: rgba(220, 174, 95, 0.2); animation-delay: 1.6s; }
.ring.r4 { stroke: rgba(220, 174, 95, 0.13); animation-delay: 2.4s; }
.ring.dashed { stroke: rgba(220, 174, 95, 0.18); stroke-dasharray: 3 7; animation: spin 80s linear infinite; }
.core { filter: drop-shadow(0 0 8px rgba(255, 240, 215, 0.55)) drop-shadow(0 0 22px rgba(220, 174, 95, 0.45)); }
/* Gouden maanhalo die af en toe rond de parel oplicht */
.core .halo { transform-box: fill-box; transform-origin: center; opacity: 0; animation: halo 11s ease-in-out infinite; }
@keyframes halo { 0%, 45%, 100% { opacity: 0; transform: scale(0.9); } 62% { opacity: 1; transform: scale(1.05); } 80% { opacity: 0.2; transform: scale(1.12); } }
/* 3D-lens: de ringen kantelen met de muis en liggen op verschillende diepte (parallax). */
.hero-rings { perspective: 1400px; --px: 0; --py: 0; }
.hero-rings svg { transform: rotateX(calc(var(--py) * -9deg)) rotateY(calc(var(--px) * 12deg)); transform-style: preserve-3d; transition: transform 0.25s ease-out; will-change: transform; }
.ring.r1 { translate: calc(var(--px) * 18px) calc(var(--py) * 18px); }
.ring.r2 { translate: calc(var(--px) * 11px) calc(var(--py) * 11px); }
.ring.r3 { translate: calc(var(--px) * 5px) calc(var(--py) * 5px); }
.ring.r4 { translate: calc(var(--px) * -2px) calc(var(--py) * -2px); }
.ring.dashed { translate: calc(var(--px) * -6px) calc(var(--py) * -6px); }
.core { translate: none; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: 0.6; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; max-width: 820px; }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.035em; color: #fff; margin-bottom: 1.75rem; }
.hero-title em { font-style: normal; background: linear-gradient(135deg, #fff 10%, var(--amber) 80%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: 1.2rem; font-weight: 300; line-height: 1.6; color: var(--soft); max-width: 640px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-foot { position: absolute; left: 3.5rem; bottom: 2.5rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.hero-foot::after { content: ''; width: 48px; height: 1px; background: linear-gradient(to right, var(--amber), transparent); }

/* Sections */
.section { position: relative; padding: 8rem 3.5rem; }
.inner { max-width: 1120px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Product */
.product {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem;
  padding: 3.5rem; border-radius: 28px;
  background: radial-gradient(circle at 0% 0%, rgba(220, 174, 95, 0.1), transparent 50%), rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(220, 174, 95, 0.18);
}
.product-copy .section-title { font-size: clamp(3rem, 7vw, 5rem); margin-bottom: 1.25rem; }
.product-copy .body-lg { margin-bottom: 2rem; }
.product-list { list-style: none; display: grid; gap: 0; }
.product-list li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.product-list li:last-child { border-bottom: 0; }
.pl-k { align-self: start; justify-self: start; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); padding: 0.25rem 0.6rem; border-radius: 20px; border: 1px solid rgba(77, 182, 172, 0.25); margin-top: 0.15rem; }
.product-list b { display: block; font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 0.25rem; }
.product-list span:not(.pl-k) { font-size: 0.92rem; font-weight: 300; line-height: 1.55; color: var(--soft); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.principle { padding: 2.25rem 2rem; border-radius: 20px; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); transition: border-color 0.3s ease, transform 0.3s ease; }
.principle:hover { border-color: rgba(220, 174, 95, 0.25); transform: translateY(-4px); }
.p-num { display: block; font-size: 0.85rem; font-weight: 600; color: var(--amber); letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.principle h3 { font-size: 1.3rem; font-weight: 600; color: #fff; margin-bottom: 0.75rem; }
.principle p { font-size: 0.95rem; font-weight: 300; line-height: 1.65; color: var(--soft); }

/* Timeline */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(to right, var(--amber), rgba(220, 174, 95, 0.2) 35%, rgba(255, 255, 255, 0.06)); }
.t-item { position: relative; padding: 2.4rem 1.75rem 0 0; }
.t-item::before { content: ''; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1.5px solid rgba(255, 255, 255, 0.25); }
.t-item.now::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 6px rgba(220, 174, 95, 0.15), 0 0 16px var(--amber); }
.t-when { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); }
.t-item h3 { font-size: 1.2rem; font-weight: 600; color: #fff; margin: 0.6rem 0 0.5rem; }
.t-item p { font-size: 0.93rem; font-weight: 300; line-height: 1.6; color: var(--soft); }

/* Founder */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; padding: 2.25rem; border-radius: 22px; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); }
.founder-mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; font-weight: 600; color: #070709; background: linear-gradient(135deg, var(--amber), var(--amber-2)); box-shadow: 0 0 0 6px rgba(220, 174, 95, 0.1); }
.founder h3 { font-size: 1.4rem; font-weight: 600; color: #fff; }
.founder-role { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin: 0.3rem 0 1rem; }

/* Contact audiences */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.audience { display: flex; flex-direction: column; gap: 0.75rem; padding: 2.25rem 2rem; border-radius: 20px; text-decoration: none; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease; }
.audience:hover { border-color: rgba(220, 174, 95, 0.35); background: rgba(220, 174, 95, 0.04); transform: translateY(-4px); }
.a-label { font-size: 1.2rem; font-weight: 600; color: #fff; }
.audience p { font-size: 0.95rem; font-weight: 300; line-height: 1.6; color: var(--soft); flex: 1; }
.a-go { font-size: 0.9rem; font-weight: 600; color: var(--amber); }
.contact::before { content: ''; position: absolute; left: 50%; top: 0; width: min(900px, 90vw); height: 360px; transform: translateX(-50%); background: radial-gradient(ellipse at top, rgba(220, 174, 95, 0.1), transparent 70%); pointer-events: none; }

/* Footer */
.site-footer { position: relative; padding: 3rem 3.5rem 2.5rem; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; max-width: 1120px; margin: 0 auto; }
.footer-line { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.footer-line a { color: var(--amber); text-decoration: none; }
.footer-nav { display: flex; gap: 1.75rem; flex-wrap: wrap; align-items: center; }
.footer-nav a { font-size: 0.9rem; color: var(--soft); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-legal { max-width: 1120px; margin: 2rem auto 0; display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 10rem 1.5rem 6rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.legal .updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 3rem; }
.legal h2 { font-size: 1.25rem; font-weight: 600; color: #fff; margin: 2.5rem 0 0.75rem; }
.legal p, .legal li { font-size: 1rem; font-weight: 300; line-height: 1.7; color: var(--soft); }
.legal ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.legal a { color: var(--amber); }
.back { display: inline-block; margin-bottom: 2rem; font-size: 0.9rem; color: var(--amber); text-decoration: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .split, .product { grid-template-columns: 1fr; gap: 2.5rem; }
  .principles, .audiences { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  .site-header { padding: 1rem; }
  .logo { font-size: 1.4rem; }
  .header-cta { font-size: 0.66rem; padding: 0.4rem 0.8rem; letter-spacing: 0.1em; }
  .hero { padding: 7rem 1rem 5rem; align-items: flex-end; }
  .hero-rings { right: -55vw; top: 18%; width: 130vw; opacity: 0.7; }
  .core { transform: scale(1.6); transform-box: fill-box; transform-origin: center; }
  .hero-foot { left: 1rem; }
  .section { padding: 5rem 1rem; }
  .product { padding: 1.75rem 1.25rem; }
  .product-list li { grid-template-columns: 1fr; gap: 0.5rem; }
  .timeline { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; padding: 1.75rem 1.25rem; }
  .principle, .audience { padding: 1.75rem 1.25rem; }
  .site-footer { padding: 2.5rem 1rem 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring, .ring.dashed, .core .halo { animation: none; }
  .logo-dot, .logo-dot::after { animation: none; }
  .hero-rings svg { transform: none; transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.footer-addr { margin-top: 0.6rem; }
.footer-addr b { color: var(--soft); font-weight: 500; }

.vear-mark { background: none; -webkit-text-fill-color: initial; }
.vear-mark .vm-v { color: #fff; }
.vear-mark .vm-ear { color: var(--amber); }
.say-line { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin: -0.5rem 0 1.25rem; }


@media (prefers-reduced-motion: reduce) { .logo-dot, .logo-dot::after { animation: none; } }

/* Supported by + EU-vermelding (verplicht bij EFRO-financiering) */
.supported { max-width: 1120px; margin: 2.5rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.supported-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.supported-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0; }
.supported-list li { font-size: 0.85rem; color: #c7c7cc; padding: 0.45rem 0.9rem; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,0.02); }
.eu-line { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.5rem; max-width: 760px; }
.eu-line img { flex: 0 0 auto; width: 54px; height: 36px; border-radius: 2px; }
.eu-line p { font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
.eu-line b { color: #f5f5f7; font-weight: 600; }

/* De parel laat een geluidsgolf los: hover = zacht rimpeltje, ingedrukt houden = opladen, loslaten = golven */
.pearl-hit { fill: transparent; pointer-events: all; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.waves circle { fill: none; stroke: #e9c98a; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.core { transition: filter 0.35s ease, scale 0.35s cubic-bezier(.2,.8,.2,1); transform-box: fill-box; transform-origin: center; }
.core.hot { filter: drop-shadow(0 0 10px rgba(255, 240, 215, 0.8)) drop-shadow(0 0 30px rgba(220, 174, 95, 0.7)); }
.core.charging { scale: 0.86; filter: drop-shadow(0 0 14px rgba(255, 240, 215, 0.95)) drop-shadow(0 0 46px rgba(220, 174, 95, 0.9)); transition: filter 1.2s ease, scale 1.2s ease; }
@media (prefers-reduced-motion: reduce) { .pearl-hit { cursor: default; } }

/* golven bewegen mee met de parel (zelfde parallax), zodat ze altijd uit het midden komen */
.waves { translate: none; }
.pearl-hit { translate: none; cursor: grab; touch-action: none; }
.pearl-hit:active { cursor: grabbing; }
.hero-rings { -webkit-user-select: none; user-select: none; }


/* Golvende ringen (canvas): alleen zichtbaar tijdens indrukken en de golf daarna */
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0;
  transform: rotateX(calc(var(--py) * -9deg)) rotateY(calc(var(--px) * 12deg)); }
.hero-rings.field-on .hero-field { opacity: 1; }
.hero-rings.field-on .ring.r1, .hero-rings.field-on .ring.r2, .hero-rings.field-on .ring.r3, .hero-rings.field-on .ring.r4 { visibility: hidden; }


/* Elke sectie vult het scherm, zodat je niet al de helft van de volgende ziet */
@media (min-width: 900px) and (min-height: 600px) {
  main .section { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 10rem; padding-bottom: 10rem; }
  main .section > * { width: 100%; }
}
