/* ==========================================================================
   Vision 2033 — Generation Impact
   External Stylesheet
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  --ny: #1B2444;
  --nd: #0F1528;
  --nm: #1A2540;
  --nl: #253460;
  --or: #E8651A;
  --og: #F07D3A;
  --wh: #FFF;
  --ow: #F6F4F0;
  --g1: #E8E6E1;
  --g2: #D4D1CB;
  --g3: #AAA7A0;
  --g5: #6E6B64;
  --g7: #3D3B37;
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Sora', sans-serif;
  color: var(--ny);
  background: var(--wh);
  overflow-x: hidden;
}
.sf { font-family: 'Source Serif 4', serif; }

/* --- Gate --- */
#gate {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity .8s ease, visibility .8s;
}
#gate .hero-bg { position: absolute; inset: 0; }
#gate .hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: slowZoom 20s ease-in-out infinite alternate;
}
#gate.open { opacity: 0; visibility: hidden; pointer-events: none; }
#site-content { display: none; }
#site-content.visible { display: block; }
.gate-box {
  position: relative; z-index: 2;
  text-align: center; max-width: 480px; padding: 0 24px;
}
.gate-ey {
  font-size: 11px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--or); font-weight: 500; margin-bottom: 52px;
}
.gate-title {
  font-size: clamp(32px, 5.5vw, 66px); font-weight: 300; color: var(--wh);
  line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 36px;
}
.gate-title strong { font-weight: 600; color: var(--or); }
.gate-sub {
  font-size: clamp(13px, 1.4vw, 15px); color: var(--g3);
  font-weight: 300; line-height: 1.7; margin-bottom: 40px;
}
#gate-form { display: flex; gap: 8px; max-width: 340px; margin: 0 auto; }
#gate-key {
  flex: 1; padding: 16px 20px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);
  color: var(--wh); font-family: Sora, sans-serif; font-size: 14px;
  outline: none; transition: border-color .3s;
}
#gate-key:focus { border-color: var(--or); }
#gate-key::placeholder { color: rgba(255,255,255,.25); }
#gate-form button {
  padding: 16px 22px; border-radius: 10px; border: none;
  background: var(--or); color: var(--wh);
  font-family: Sora, sans-serif; font-size: 18px; font-weight: 300;
  cursor: pointer; transition: background .3s;
}
#gate-form button:hover { background: #D45A15; }
#gate-error {
  margin-top: 20px; font-size: 12px; color: var(--or);
  font-weight: 300; opacity: 0; transition: opacity .3s;
}
#gate-error.show { opacity: 1; }

/* --- Reveal Animations --- */
.r {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1);
}
.r.v { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .14s; }
.d2 { transition-delay: .28s; }
.d3 { transition-delay: .42s; }
.d4 { transition-delay: .56s; }
.d5 { transition-delay: .7s; }
.d6 { transition-delay: .84s; }

/* --- Keyframes --- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulseGlow { 0%,100% { opacity: .3; } 50% { opacity: .7; } }
@keyframes dashMove { to { stroke-dashoffset: -20; } }
@keyframes nodeAppear { from { r: 0; opacity: 0; } to { opacity: 1; } }
@keyframes flowPulse { 0% { stroke-opacity: .1; } 50% { stroke-opacity: .5; } 100% { stroke-opacity: .1; } }
@keyframes slowZoom { 0% { transform: scale(1); } 100% { transform: scale(1.06); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* --- Layout --- */
.sec {
  padding: 160px 40px;
  max-width: 1140px;
  margin: 0 auto;
}
.sec-w {
  padding: 160px 40px;
  width: 100%;
}
.sec-w .inn {
  max-width: 1140px;
  margin: 0 auto;
}
.dk { background: var(--nd); color: var(--wh); }
.lt { background: var(--ow); }

/* --- Typography --- */
.ey {
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 20px;
  font-weight: 600;
}
.sh {
  font-size: clamp(26px, 3.8vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  max-width: 740px;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.sh strong { font-weight: 600; }
.sp {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--g5);
  max-width: 600px;
  line-height: 1.8;
  font-weight: 300;
}
.dk .sp { color: var(--g3); }

/* Narrative text */
.nt { max-width: 620px; margin-top: 48px; }
.nt p {
  font-size: 14.5px;
  color: var(--g5);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 18px;
}
.nt p:last-child { margin-bottom: 0; }
.nt strong { font-weight: 500; color: var(--ny); }
.dk .nt p { color: var(--g3); }
.dk .nt strong { color: var(--wh); }
.nt .ac { color: var(--or); font-weight: 400; }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 20s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,21,40,.75) 0%,
    rgba(15,21,40,.85) 40%,
    rgba(15,21,40,.92) 100%
  );
}
.hero-c {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 840px;
}
.hero-ey {
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 52px;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 66px);
  font-weight: 300;
  color: var(--wh);
  line-height: 1.1;
  letter-spacing: -1.5px;
}
.hero h1 strong {
  font-weight: 600;
  color: var(--or);
}
.hero-p {
  font-size: clamp(14px, 1.7vw, 17px);
  color: var(--g3);
  margin-top: 36px;
  font-weight: 300;
  max-width: 560px;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
}
.hero-p em {
  font-style: normal;
  color: var(--or);
  font-weight: 400;
}
.sc {
  position: absolute;
  bottom: 36px;
  left: 50%;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--or), transparent);
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
  text-align: center;
}
.sn {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 200;
  letter-spacing: -2px;
  line-height: 1;
}
.sn .o { color: var(--or); }
.sl {
  font-size: 11px;
  color: var(--g5);
  margin-top: 8px;
  line-height: 1.4;
}

/* --- Split layouts --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Visual containers --- */
.vis { margin: 64px auto 0; max-width: 740px; }
.vis svg { width: 100%; height: auto; display: block; }
.vis-sm { max-width: 560px; }
.vis-lg { max-width: 880px; }

/* --- Image visuals --- */
.img-vis {
  margin: 64px auto 0;
  max-width: 800px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.img-vis img {
  width: 100%;
  height: auto;
  display: block;
}
.img-vis-full {
  max-width: 100%;
  border-radius: 0;
}
.img-vis-caption {
  text-align: center;
  font-size: 12px;
  color: var(--g5);
  margin-top: 16px;
  font-weight: 300;
  letter-spacing: .3px;
}

/* --- Cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.cd {
  padding: 32px 28px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.015);
  transition: border-color .4s, transform .3s;
}
.cd:hover {
  border-color: rgba(232,101,26,.2);
  transform: translateY(-3px);
}
.cd-i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(232,101,26,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.cd-i svg { width: 18px; height: 18px; }
.cd h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--wh);
  margin-bottom: 8px;
  line-height: 1.3;
}
.cd p {
  font-size: 12.5px;
  color: var(--g3);
  line-height: 1.65;
  font-weight: 300;
}

/* --- Cortex grid --- */
.cg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}
.cgi {
  background: var(--nm);
  padding: 32px 24px;
  transition: background .3s;
}
.cgi:hover { background: var(--nl); }
.cgn {
  font-size: 28px;
  font-weight: 200;
  color: var(--or);
  opacity: .3;
  line-height: 1;
  margin-bottom: 10px;
}
.cgi h4 {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--wh);
  margin-bottom: 6px;
  letter-spacing: .3px;
}
.cgi p {
  font-size: 11.5px;
  color: var(--g3);
  line-height: 1.6;
  font-weight: 300;
}

/* --- Timeline --- */
.tl {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tli {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--g1);
  transition: padding-left .3s;
}
.tli:hover { padding-left: 8px; }
.tli:last-child { border-bottom: none; }
.tly {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--wh);
}
.y1 { background: var(--or); }
.y2 { background: var(--nl); }
.y3 { background: var(--ny); }
.y4 { background: var(--nd); }
.y5 { background: linear-gradient(135deg, var(--or), var(--og)); }
.tlb h4 { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.tlb p { font-size: 11.5px; color: var(--g5); line-height: 1.5; font-weight: 300; }

/* --- Competition blocks --- */
.cb {
  padding: 18px 20px;
  border-left: 2px solid var(--g1);
  transition: border-color .3s;
  margin-bottom: 16px;
}
.cb:hover { border-color: var(--or); }
.cb h4 { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.cb p { font-size: 12px; color: var(--g5); line-height: 1.55; font-weight: 300; }

/* --- CTA / Warning block --- */
.wb {
  margin-top: 40px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--or), #D45A15);
  border-radius: 14px;
  color: var(--wh);
}
.wb h3 { font-size: 16px; font-weight: 500; margin-bottom: 5px; }
.wb p { font-size: 13px; font-weight: 300; opacity: .9; line-height: 1.55; }

/* --- Finale --- */
.fin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.fin-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fin-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}
.fin-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,21,40,.85) 0%,
    rgba(15,21,40,.7) 40%,
    rgba(15,21,40,.8) 100%
  );
}
.fin::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,101,26,.08) 0%, transparent 50%);
  pointer-events: none;
}
.fs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  max-width: 760px;
  margin-bottom: 72px;
  position: relative;
  z-index: 2;
}
.fn {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 200;
  color: var(--wh);
  line-height: 1;
  letter-spacing: -1px;
}
.fn .ac { color: var(--or); }
.fl {
  font-size: 10px;
  color: var(--g3);
  margin-top: 6px;
  font-weight: 300;
  line-height: 1.4;
}
.fd {
  width: 48px;
  height: 2px;
  background: var(--or);
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}
.ft {
  font-size: clamp(32px, 5.5vw, 72px);
  font-weight: 200;
  color: var(--wh);
  line-height: 1.06;
  max-width: 780px;
  letter-spacing: -2px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.ft strong { font-weight: 700; color: var(--or); }
.fq {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(14px, 1.8vw, 20px);
  color: var(--g3);
  font-weight: 300;
  font-style: italic;
  max-width: 520px;
  line-height: 1.65;
  position: relative;
  z-index: 2;
}
.fy {
  margin-top: 56px;
  font-size: 10px;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--g5);
  position: relative;
  z-index: 2;
}

/* --- Knowledge graph --- */
.kg-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 64px auto 0;
  height: 400px;
}
.kg-container svg { width: 100%; height: 100%; }

/* --- Photo section overlays --- */
.photo-section {
  position: relative;
  overflow: hidden;
}
.photo-section-bg {
  position: absolute;
  inset: 0;
}
.photo-section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Vliegwiel conclusion --- */
.vliegwiel-conclusie {
  margin-top: 48px;
  padding: 32px 40px;
  background: linear-gradient(135deg, var(--or), #D45A15);
  border-radius: 16px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.vliegwiel-conclusie p {
  font-size: 15px;
  color: var(--wh);
  line-height: 1.7;
  font-weight: 300;
}
.vliegwiel-conclusie strong {
  font-weight: 500;
  color: var(--wh);
}

/* --- Responsive --- */
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .sec { padding: 100px 24px; }
  .sec-w { padding: 100px 24px; }
}
@media (max-width: 768px) {
  .cards { grid-template-columns: 1fr; }
  .cg { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .fs { grid-template-columns: repeat(2, 1fr); }
}
