/* ==========================================================================
   Tallowvale Studios, gedeelde stijl voor alle pagina's
   Idee: een levende nachthemel met de drie shards als zwevende bollen,
   net als op het titelscherm van de game. De kleuren van de hemel, de
   deeltjes en de knoppen wisselen mee met de wereld waar je bent
   (body[data-world]). Pagina-specifieke onderdelen staan onderaan.
   Dit bestand vervangt css/style.css en css/responsive.css.
   */

/* Geregistreerde eigenschappen, zodat de wereldkleur zacht kan overvloeien */
@property --now-accent { syntax: '<color>'; inherits: true; initial-value: #cfc8ee; }
@property --now-glow   { syntax: '<color>'; inherits: true; initial-value: rgba(190, 180, 255, 0.4); }

:root {
  --sky-0: #080a1c;
  --sky-1: #15133a;
  --sky-2: #2a1f48;

  --ink: #efeaf8;
  --ink-soft: #bcb6d3;
  --ink-dim: #8f89aa;

  --font-pixel: 'Pixelify Sans', 'Courier New', ui-monospace, monospace;
  --font-text: 'Newsreader', Georgia, 'Times New Roman', serif;

  --measure: 34rem;

  /* Standaard tekstkleuren; een .chamber overschrijft ze per wereld */
  --w-accent: #cfc8ee; --w-glow: #b9b0ff; --w-title: #efeaf8; --w-text: #cfc9e2;
}

/* De accentkleur van "nu": volgt de wereld in beeld (of de bol waar je boven hangt) */
body[data-world="none"]      { --now-accent: #cfc8ee; --now-glow: rgba(190, 180, 255, 0.40); }
body[data-world="verdania"]  { --now-accent: #7cc088; --now-glow: rgba(142, 215, 160, 0.50); }
body[data-world="cindralis"] { --now-accent: #e0713f; --now-glow: rgba(255, 154, 112, 0.50); }
body[data-world="nimbara"]   { --now-accent: #8fc7e0; --now-glow: rgba(183, 216, 255, 0.50); }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sky-0);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3, .hero__lede { text-wrap: balance; }

::selection { background: var(--now-accent); color: #0b0d1f; }

:focus-visible { outline: 2px solid var(--now-accent); outline-offset: 4px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #0b0d1f;
  border-radius: 4px;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   1. De hemel (vast achter alles)
   -------------------------------------------------------------------------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, var(--sky-0) 0%, var(--sky-1) 55%, var(--sky-2) 100%);
}

.sky__tint {
  position: absolute;
  inset: 0;
  opacity: 0; /* js/site.js zet de dekking per wereld tijdens het scrollen */
}
.sky__tint--verdania {
  background:
    radial-gradient(120% 80% at 18% 104%, rgba(46, 96, 58, 0.85) 0%, rgba(22, 44, 30, 0.55) 45%, transparent 76%),
    linear-gradient(rgba(10, 26, 16, 0.5), rgba(10, 26, 16, 0.5));
}
.sky__tint--cindralis {
  background:
    radial-gradient(120% 90% at 86% 108%, rgba(168, 58, 24, 0.9) 0%, rgba(70, 24, 12, 0.7) 45%, transparent 78%),
    linear-gradient(rgba(26, 10, 6, 0.55), rgba(26, 10, 6, 0.55));
}
.sky__tint--nimbara {
  background:
    radial-gradient(100% 70% at 50% 0%, rgba(143, 199, 224, 0.26) 0%, transparent 70%),
    linear-gradient(180deg, rgba(30, 52, 64, 0.8) 0%, rgba(13, 21, 26, 0.55) 100%);
}

#sky-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* --------------------------------------------------------------------------
   2. Navigatie (puur tekst, gecentreerd) en dock
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 1rem 1rem 2.4rem;
  pointer-events: none;
}
/* Vervaagde balk achter het menu, zodat tekst die onder het menu door scrolt leesbaar blijft */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(8, 10, 28, 0.94) 45%, rgba(8, 10, 28, 0));
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
          mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.9rem;
}
.nav a {
  pointer-events: auto;
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.3s;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--now-accent); }

.dock {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.75rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
body.is-past-hero .dock { opacity: 1; pointer-events: auto; }

.dock__orb, .orb, .merge__orb { --o-hi: #fff; --o-mid: #ccc; --o-lo: #888; --o-edge: #444; --o-ring: rgba(255,255,255,.4); --o-glow: rgba(255,255,255,.4); --o-glow-soft: rgba(255,255,255,.15); }
.dock__orb--verdania, .orb--verdania, .merge__orb--verdania {
  --o-hi: #e6f7e4; --o-mid: #8fd7a2; --o-lo: #3f8a5a; --o-edge: #1d4a33;
  --o-ring: rgba(142, 215, 160, 0.55); --o-glow: rgba(142, 215, 160, 0.55); --o-glow-soft: rgba(110, 190, 130, 0.22);
}
.dock__orb--cindralis, .orb--cindralis, .merge__orb--cindralis {
  --o-hi: #fff0e2; --o-mid: #ff9a70; --o-lo: #c4512a; --o-edge: #6b230f;
  --o-ring: rgba(255, 154, 112, 0.55); --o-glow: rgba(255, 140, 90, 0.55); --o-glow-soft: rgba(224, 113, 63, 0.22);
}
.dock__orb--nimbara, .orb--nimbara, .merge__orb--nimbara {
  --o-hi: #f5fbff; --o-mid: #b7d8ff; --o-lo: #6e97c9; --o-edge: #34507f;
  --o-ring: rgba(183, 216, 255, 0.6); --o-glow: rgba(170, 205, 255, 0.55); --o-glow-soft: rgba(143, 199, 224, 0.2);
}

.dock__orb {
  position: relative;
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--o-hi), var(--o-mid) 42%, var(--o-lo));
  box-shadow: 0 0 14px 2px var(--o-glow);
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1.4), box-shadow 0.35s;
}
.dock__orb::before { content: ""; position: absolute; inset: -12px; } /* groter tikvlak */
.dock__orb[aria-current="true"] { transform: scale(1.55); box-shadow: 0 0 0 2px var(--o-ring), 0 0 22px 5px var(--o-glow); }
.dock__orb:hover { transform: scale(1.4); }
.dock__name {
  position: absolute;
  right: 190%;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.1rem 0.7rem;
  background: rgba(8, 10, 28, 0.85);
  border-radius: 3px;
  font-family: var(--font-pixel);
  font-size: 1rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.dock__orb:hover .dock__name,
.dock__orb:focus-visible .dock__name { opacity: 1; }

/* --------------------------------------------------------------------------
   3. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(5rem, 12vh, 7rem) 1.5rem clamp(1.75rem, 5vh, 3rem);
  text-align: center;
}

.hero__title { font-family: var(--font-pixel); font-weight: 600; animation: fade-in 1.2s 0.1s ease both; }
.hero__lede {
  margin-top: 1.1rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--ink-soft);
  animation: fade-in 1.2s 0.5s ease both;
}

/* De titel en ondertitel uit de game: SVG-pixels, daarom liefst op een heel aantal keer de grootte (190 en 149 eenheden breed) */
.hero__head { width: 100%; }
.title-art {
  --k: 2;
  display: block;
  width: min(calc(190px * var(--k)), 100%);
  height: auto;
  margin-inline: auto;
  /* Een strakke gloed die de letters volgt. Een brede gloed vloeide samen tot een zichtbaar vierkant achter de titel zodra de kleur van de wereld wisselde. */
  filter: drop-shadow(0 0 4px var(--now-glow));
}
.tagline-art {
  --k: 2;
  display: block;
  width: min(calc(149px * var(--k)), 100%);
  height: auto;
  margin: 1.5rem auto 0;
}
.title-art--small { --k: 2; margin-inline: 0; filter: drop-shadow(0 0 3px var(--now-glow)); }
.band__title:has(.title-art) { margin-bottom: 1.4rem; }
@media (min-width: 640px)  { .title-art:not(.title-art--small) { --k: 3; } .tagline-art { --k: 3; } }
@media (min-width: 900px)  { .title-art:not(.title-art--small) { --k: 4; } .tagline-art { --k: 4; } }
@media (min-width: 1200px) and (min-height: 960px) { .title-art:not(.title-art--small) { --k: 5; } }
/* Lage schermen (laptop, tablet of telefoon liggend): titel en logo kleiner, zodat de knoppen in beeld blijven */
@media (min-width: 900px) and (max-height: 860px) { .title-art:not(.title-art--small) { --k: 3; } }
@media (max-height: 560px) {
  .title-art:not(.title-art--small) { --k: 2; }
  .tagline-art { --k: 2; margin-top: 0.9rem; }
  .hero { padding-top: 4.2rem; min-height: 0; }
  .hero--home { min-height: 100vh; min-height: 100svh; }
  .hero__stage { margin-block: 0.6rem; }
}

.hero__stage {
  position: relative;
  flex: 1;
  width: 100%;
  display: grid;
  place-items: center;
  margin-block: 1.5rem;
}

/* De scheur in de lucht */
.crack {
  position: absolute;
  left: 0; top: 22%;
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: none;
}
.crack path {
  fill: none;
  stroke: url(#crack-grad);
  stroke-linejoin: miter;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: crack-draw 1.8s 0.5s cubic-bezier(.6, 0, .2, 1) forwards;
}
.crack__glow   { stroke-width: 10; filter: url(#crack-blur); opacity: 0.6; }
.crack__line   { stroke-width: 2.6; }
.crack__branch { stroke-width: 1.5; opacity: 0.85; animation-delay: 1.5s !important; animation-duration: 0.9s !important; }
@keyframes crack-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* De drie bollen */
.orbs {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.1rem, 7vw, 7rem);
}

.orb {
  --size: clamp(84px, 18vw, 210px);
  width: var(--size);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}
.orb--verdania  { margin-top: 1.5rem; --delay: 1.9s; --bob: 6.2s; }
.orb--cindralis { --size: clamp(92px, 20vw, 236px); margin-top: -0.5rem; --delay: 2.2s; --bob: 7.4s; }
.orb--nimbara   { --size: clamp(78px, 16vw, 188px); margin-top: 3rem; --delay: 2.5s; --bob: 5.6s; }

.orb__body {
  position: relative;
  display: block;
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  animation:
    orb-rise 1.1s var(--delay) cubic-bezier(.2, .8, .2, 1) both,
    orb-bob var(--bob) calc(var(--delay) + 1.1s) ease-in-out infinite alternate;
}
@keyframes orb-rise {
  from { opacity: 0; transform: translateY(70px) scale(0.5); }
  to   { opacity: 1; transform: none; }
}
@keyframes orb-bob { from { transform: translateY(0); } to { transform: translateY(-16px); } }

.orb__core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--o-hi) 0%, var(--o-mid) 32%, var(--o-lo) 74%, var(--o-edge) 100%);
  /* Alleen een kleine schaduw. De grote zachte gloed zit in ::before (een verloop), want een
     schaduw met 150px vervaging werd op sommige computers als een vierkant afgesneden. */
  box-shadow: 0 0 0 1px var(--o-ring);
  transition: transform 0.5s cubic-bezier(.2, .9, .3, 1.35);
}
.orb__body::before {
  content: "";
  position: absolute;
  inset: -90%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, var(--o-glow) 0%, var(--o-glow) 33%,
    color-mix(in srgb, var(--o-glow) 55%, transparent) 38%,
    var(--o-glow-soft) 46%,
    color-mix(in srgb, var(--o-glow-soft) 45%, transparent) 62%,
    color-mix(in srgb, var(--o-glow-soft) 12%, transparent) 82%,
    transparent 100%);
  transition: transform 0.5s cubic-bezier(.2, .9, .3, 1.35);
}
.orb__body::after {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  border: 1px solid var(--o-ring);
  opacity: 0;
  transform: scale(0.84);
  transition: opacity 0.4s, transform 0.7s cubic-bezier(.2, .9, .3, 1);
}
.orb:hover .orb__core,
.orb:focus-visible .orb__core {
  transform: scale(1.09);
}
.orb:hover .orb__body::before,
.orb:focus-visible .orb__body::before { transform: scale(1.14); }
.orb:hover .orb__body::after,
.orb:focus-visible .orb__body::after { opacity: 0.8; transform: scale(1); }
.orb:focus-visible { outline-offset: 10px; border-radius: 12px; }

.orb__text {
  display: grid;
  gap: 0.3rem;
  min-height: 4.6rem;
  text-align: center;
  animation: fade-in 1s calc(var(--delay) + 0.6s) ease both;
}
.orb__name { font-family: var(--font-pixel); font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.9rem); line-height: 1; }
.orb__hint {
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s, transform 0.35s;
}
.orb:hover .orb__hint,
.orb:focus-visible .orb__hint { opacity: 1; transform: none; }
@media (hover: none) { .orb__hint { opacity: 1; transform: none; } }

.hero__foot { display: grid; justify-items: center; gap: 1rem; animation: fade-in 1s 2.9s ease both; }
.hero__note { color: var(--ink-dim); font-size: 1rem; }

/* Knoppen */
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--now-accent);
  border-radius: 4px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s, transform 0.2s;
}
.btn:hover { background: color-mix(in srgb, var(--now-accent) 22%, transparent); }
.btn--solid { background: var(--now-accent); color: #0b0d1f; border-color: transparent; }
.btn--solid:hover { background: var(--now-accent); transform: translateY(-2px); }
.btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.7; }
.btn[aria-disabled="true"]:hover { transform: none; }

/* --------------------------------------------------------------------------
   4. Werelden (chambers)
   -------------------------------------------------------------------------- */
.chamber {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  padding-block: clamp(5rem, 14vh, 9rem);
}
.chamber--verdania  { --w-accent: #7cc088; --w-glow: #8ed7a0; --w-title: #eef3e6; --w-text: #c9d9c4; }
.chamber--cindralis { --w-accent: #e0713f; --w-glow: #ff9a70; --w-title: #f8eae2; --w-text: #dfc2b3; }
.chamber--nimbara   { --w-accent: #8fc7e0; --w-glow: #b7d8ff; --w-title: #eef5f8; --w-text: #c3d4de; }

.chamber__inner { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.chamber__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.chamber__inner--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

.chamber__title {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: clamp(3.4rem, 10.5vw, 8rem);
  line-height: 0.92;
  color: var(--w-title);
  text-shadow: 0 0 38px color-mix(in srgb, var(--w-glow) 50%, transparent), 4px 4px 0 rgba(0, 0, 0, 0.3);
}
/* In de tweekoloms-opmaak past de grote titel anders niet naast de afbeelding */
.chamber__inner--split .chamber__title { font-size: clamp(2.8rem, 6.6vw, 5.8rem); }
.chamber__sub {
  margin: 0.7rem 0 1.7rem;
  font-family: var(--font-pixel);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  color: var(--w-accent);
}
.chamber__text p { max-width: var(--measure); color: var(--w-text); }
.chamber__text p + p { margin-top: 1rem; }
.chamber__places { font-style: italic; color: var(--ink-soft) !important; }

/* Stapel screenshots (Verdania) */
.deck {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.84;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.deck__shot {
  position: absolute;
  width: 82%;
  height: auto;
  left: var(--l); top: var(--t);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55), 0 0 0 1px color-mix(in srgb, var(--w-accent) 45%, transparent);
  transform: rotate(var(--rot));
  filter: brightness(var(--br));
  z-index: var(--z);
  transition: left 0.75s cubic-bezier(.2, .8, .2, 1), top 0.75s cubic-bezier(.2, .8, .2, 1),
              transform 0.75s cubic-bezier(.2, .8, .2, 1), filter 0.6s;
  user-select: none;
}
.deck__shot[data-pos="0"] { --l: 9%;  --t: 42%; --rot: -1.5deg; --br: 1;    --z: 4; }
.deck__shot[data-pos="1"] { --l: 15%; --t: 28%; --rot: 2.6deg;  --br: 0.72; --z: 3; }
.deck__shot[data-pos="2"] { --l: 3%;  --t: 15%; --rot: -3.6deg; --br: 0.55; --z: 2; }
.deck__shot[data-pos="3"] { --l: 12%; --t: 2%;  --rot: 4.2deg;  --br: 0.42; --z: 1; }
.deck:hover .deck__shot[data-pos="0"] { --rot: -0.6deg; }
.deck__hint {
  position: absolute;
  right: 0; bottom: -0.2rem;
  z-index: 5;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* Videovenster (Cindralis) */
.stage { position: relative; margin-bottom: 3.5rem; }
.window {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 2 / 1;
  background: #120806;
  box-shadow: 0 0 0 1px var(--w-accent), 0 0 70px rgba(224, 113, 63, 0.38), 0 30px 80px rgba(0, 0, 0, 0.6);
}
.window video { display: block; width: 100%; height: 100%; object-fit: cover; }
.stage__extra {
  position: absolute;
  right: -3%; bottom: -17%;
  width: 42%;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 0 0 1px color-mix(in srgb, var(--w-accent) 50%, transparent);
  transform: rotate(3deg);
}

/* Kin */
.kin-title {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
  margin-bottom: 1.6rem;
  font-family: var(--font-pixel);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink-soft);
}
.kin {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem 2.5rem;
}
.kin__item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.1rem;
  align-items: center;
}
.kin__item img {
  grid-row: span 2;
  width: clamp(76px, 8vw, 104px);
  height: auto;
  image-rendering: pixelated;
  animation: kin-hop 3.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
}
@keyframes kin-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.kin__name { align-self: end; font-family: var(--font-pixel); font-weight: 600; font-size: 1.35rem; color: var(--w-title); line-height: 1.1; }
.kin__desc { align-self: start; font-size: 1rem; line-height: 1.45; color: var(--w-text); }

/* --------------------------------------------------------------------------
   5. Eén wereld (slot): de drie bollen smelten samen
   -------------------------------------------------------------------------- */
.finale {
  position: relative;
  z-index: 1;
  overflow-x: clip; /* de bollen staan eerst uit elkaar, ook buiten beeld */
  padding-block: clamp(4rem, 12vh, 8rem) 3rem;
  text-align: center;
}
.merge {
  position: relative;
  width: min(900px, 100%);
  height: clamp(220px, 36vw, 360px);
  margin-inline: auto;
}
.merge__orb {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(130px, 24vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  --ky: 0;
  /* Op het einde blijft een kleine afstand over, zodat je de drie kleuren aan de rand blijft zien */
  transform: translate(-50%, -50%) translate(calc(var(--k) * ((1 - var(--p, 0)) * 112% + 9%)), calc(var(--ky) * ((1 - var(--p, 0)) * 100% + 14%)));
  background: radial-gradient(circle at 50% 50%, var(--o-hi) 0%, var(--o-mid) 38%, var(--o-lo) 70%, transparent 100%);
  mix-blend-mode: screen;
}
.merge__orb::before {
  content: "";
  position: absolute;
  inset: -45%;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(closest-side, var(--o-glow) 0%, var(--o-glow) 52%, color-mix(in srgb, var(--o-glow) 40%, transparent) 70%, transparent 100%);
}
.merge__orb--verdania, .merge__orb--cindralis { --ky: 0.28; }
.merge__orb--nimbara { --ky: -0.5; }

.finale__title {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  line-height: 1;
  text-shadow: 0 0 40px var(--now-glow), 3px 3px 0 rgba(0, 0, 0, 0.3);
}
.finale__text p { max-width: 38rem; margin: 1.3rem auto 2rem; color: var(--ink-soft); }
.credit { display: grid; justify-items: center; gap: 0.9rem; margin-top: clamp(3.5rem, 9vw, 6rem); }
.credit__logo { width: 150px; height: auto; opacity: 0.92; }
.credit p { font-size: 1rem; color: var(--ink-dim); max-width: 26rem; }

/* --------------------------------------------------------------------------
   6. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 840px) {
  .chamber__inner--split,
  .chamber__inner--flip { grid-template-columns: 1fr; }
  .chamber__inner--flip .chamber__text { order: -1; }
  .deck { max-width: 560px; margin-inline: auto; }

  .dock {
    right: auto; top: auto;
    left: 50%; bottom: 0.9rem;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 1.5rem;
    padding: 0.7rem 1.2rem;
    background: rgba(8, 10, 28, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 999px;
  }
  .dock__name { display: none; }
}

@media (max-width: 720px) {
  .orbs { gap: 0.7rem; }
  .orb { --size: clamp(74px, 24vw, 128px); }
  .orb--cindralis { --size: clamp(82px, 27vw, 140px); }
  .orb--nimbara { --size: clamp(70px, 22vw, 116px); }
  .orb__hint { display: none; }
  .orb__text { min-height: 2rem; }
  .crack__glow { stroke-width: 18; }
  .crack__line { stroke-width: 5; }
  .crack__branch { stroke-width: 3; }
  .stage__extra { right: 0; bottom: -12%; width: 48%; }
  .nav { padding-inline: 0.5rem; }
  .nav__list { gap: 0.1rem 0.9rem; }
  .nav a { font-size: 0.84rem; white-space: nowrap; }
  .kin { grid-template-columns: 1fr; }
}


/* ==========================================================================
   8. Gedeelde onderdelen voor alle pagina's
   ========================================================================== */

/* Kleuren van een bolletje, los van het element dat het gebruikt */
.is-verdania  { --o-hi: #e6f7e4; --o-mid: #8fd7a2; --o-lo: #3f8a5a; --o-edge: #1d4a33; --o-ring: rgba(142,215,160,.55); --o-glow: rgba(142,215,160,.55); --o-glow-soft: rgba(110,190,130,.22); }
.is-cindralis { --o-hi: #fff0e2; --o-mid: #ff9a70; --o-lo: #c4512a; --o-edge: #6b230f; --o-ring: rgba(255,154,112,.55); --o-glow: rgba(255,140,90,.55); --o-glow-soft: rgba(224,113,63,.22); }
.is-nimbara   { --o-hi: #f5fbff; --o-mid: #b7d8ff; --o-lo: #6e97c9; --o-edge: #34507f; --o-ring: rgba(183,216,255,.6); --o-glow: rgba(170,205,255,.55); --o-glow-soft: rgba(143,199,224,.2); }

/* Een klein glowend bolletje (opsommingen, labels) */
.pip {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 35% 30%, var(--o-hi), var(--o-mid) 45%, var(--o-lo));
  box-shadow: 0 0 14px 2px var(--o-glow);
  animation: pip-pulse 3.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes pip-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 12px 1px var(--o-glow); } 50% { transform: scale(1.22); box-shadow: 0 0 22px 5px var(--o-glow); } }

/* Banden (secties) op subpagina's en op de homepage */
.band { position: relative; z-index: 1; padding-block: clamp(3.5rem, 9vh, 6.5rem); }
.band__inner { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.band__inner--narrow { width: min(780px, 100% - 3rem); }
.band__title {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 34px var(--now-glow), 3px 3px 0 rgba(0, 0, 0, 0.3);
}
.text-center { text-align: center; }
.band p { color: var(--w-text); max-width: var(--measure); }
.text-center p { margin-inline: auto; }
.band p + p { margin-top: 1rem; }
.band a:not(.btn):not(.chip) { color: var(--ink); text-decoration-color: var(--now-accent); text-underline-offset: 0.2em; }
.band a:not(.btn):not(.chip):hover { color: var(--now-accent); }

/* Hero voor subpagina's */
.page-hero {
  position: relative;
  z-index: 1;
  padding: clamp(7rem, 19vh, 10.5rem) 1.5rem clamp(2rem, 6vh, 3.5rem);
  text-align: center;
}
.page-hero__crumb { margin-bottom: 1.2rem; font-size: 1rem; color: var(--ink-dim); }
.page-hero__crumb a { color: var(--ink-soft); text-decoration: none; }
.page-hero__crumb a:hover { color: var(--ink); text-decoration: underline; }
.page-hero__title {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: clamp(2.6rem, 8.5vw, 6rem);
  line-height: 0.96;
  text-shadow: 0 0 clamp(18px, 4vw, 48px) var(--now-glow), 4px 4px 0 rgba(0, 0, 0, 0.35);
}
.page-hero__lede {
  max-width: 38rem;
  margin: 1.3rem auto 0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--ink-soft);
}

/* Homepage: het logo als hoofdbeeld, net als op het titelscherm van de game */
.hero--home { justify-content: center; gap: clamp(1.5rem, 4vh, 2.5rem); }
.hero__logo-wrap { position: relative; width: min(540px, 80vw, 80vh); }
.hero__logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 34px rgba(255, 186, 90, 0.38)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
  animation: logo-in 1.3s 0.2s cubic-bezier(.2, .8, .2, 1) both, orb-bob 7s 1.5s ease-in-out infinite alternate;
}
@keyframes logo-in { from { opacity: 0; transform: translateY(24px) scale(0.92); } to { opacity: 1; transform: none; } }
.spark {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 14px; height: 14px;
  background: #fff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 6px rgba(255, 230, 170, 0.9));
  opacity: 0;
  animation: twinkle 4.6s var(--d, 0s) ease-in-out infinite;
}
@keyframes twinkle { 0%, 70%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); } 82% { opacity: 1; transform: scale(1.1) rotate(45deg); } }
.hero--home .hero__title { font-size: clamp(1.6rem, 4.4vw, 3rem); }
.hero--home .hero__lede { max-width: 40rem; margin-inline: auto; }

/* Tekst + beeld naast elkaar, voor homepage en gamespagina */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split .actions { margin-top: 1.8rem; justify-content: flex-start; }

.chips { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.95rem 0.3rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.3s, background-color 0.3s, transform 0.25s;
}
a.chip:hover { border-color: var(--o-mid); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.chip--plain { padding-left: 0.95rem; color: var(--ink-soft); }
.chip .pip { width: 11px; height: 11px; }

/* Drie of meer punten met een bolletje ervoor, zonder kaartjes */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); list-style: none; margin: 0; padding: 0; }
.point h3 { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; font-family: var(--font-pixel); font-weight: 600; font-size: 1.35rem; line-height: 1.15; }
.point p { color: var(--w-text); max-width: 26rem; font-size: 1.05rem; }
.points--stairs .point:nth-child(2) { margin-top: 2.2rem; }
.points--stairs .point:nth-child(3) { margin-top: 4.4rem; }

/* Notities per wereld (waar begin je, wat vind je, hoe speelt het) */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(3rem, 7vw, 5rem); }
.note h3 { margin-bottom: 0.6rem; font-family: var(--font-pixel); font-weight: 600; font-size: 1.3rem; color: var(--w-title); }
.note p { font-size: 1.03rem; color: var(--w-text); }
.note em { color: var(--w-title); }

.kin-intro { max-width: 40rem; margin-bottom: 2rem; color: var(--w-text); }

.quote {
  margin: clamp(3rem, 8vw, 5rem) auto 0;
  max-width: 44rem;
  padding: 0.2rem 0 0.2rem 1.6rem;
  border-left: 3px solid var(--w-accent);
  box-shadow: -14px 0 30px -18px var(--w-glow);
}
.quote p { max-width: none !important; margin: 0 !important; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.3; font-style: italic; color: var(--w-title) !important; }
.quote cite { display: block; margin-top: 0.9rem; font-style: normal; font-size: 1rem; color: var(--ink-soft); }

.window--small { max-width: 26rem; margin-top: 2.2rem; }
.window__caption { margin-top: 0.7rem; font-size: 0.95rem; font-style: italic; color: var(--ink-soft); }
/* Het videovenster krijgt een rand in de kleur van zijn wereld of pagina */
.window { box-shadow: 0 0 0 1px color-mix(in srgb, var(--w-accent) 70%, transparent), 0 0 60px color-mix(in srgb, var(--w-glow) 30%, transparent), 0 30px 80px rgba(0, 0, 0, 0.6); }
.chamber--cindralis .window { box-shadow: 0 0 0 1px var(--w-accent), 0 0 70px rgba(224, 113, 63, 0.38), 0 30px 80px rgba(0, 0, 0, 0.6); }

/* Over mij */
.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.founder__photo { position: sticky; top: 6.5rem; width: min(100%, 320px); aspect-ratio: 1; justify-self: center; }
.founder__ring {
  position: absolute; inset: -9px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #8ed7a0, #ff9a70, #b7d8ff, #8ed7a0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: spin 16s linear infinite;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
}
@keyframes spin { to { transform: rotate(360deg); } }
.founder__photo img {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 70px 6px rgba(190, 180, 255, 0.28), 0 24px 50px rgba(0, 0, 0, 0.5);
  animation: orb-bob 7.5s ease-in-out infinite alternate;
}
.founder__bio p { max-width: 40rem; }
.founder__more {
  overflow: hidden;
  max-height: 0;
  visibility: hidden;
  transition: max-height 0.7s cubic-bezier(.2, .8, .2, 1), visibility 0s 0.7s;
}
.founder__more.is-open { visibility: visible; transition: max-height 0.7s cubic-bezier(.2, .8, .2, 1), visibility 0s 0s; }
.founder__more > p:first-child { margin-top: 1rem; }
.founder__signoff { margin-top: 1.4rem !important; font-style: italic; color: var(--ink) !important; }
.founder__toggle { margin-top: 1.6rem; cursor: pointer; font-family: inherit; background: transparent; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-grid h2 { margin-bottom: 1rem; }
.mail { margin-bottom: 1.3rem; color: var(--w-text); }
.mail span { display: block; font-size: 0.98rem; color: var(--ink-soft); }
.mail a { font-size: 1.2rem; }

.social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s cubic-bezier(.2, .9, .3, 1.5);
}
.social a:hover { border-color: var(--now-accent); background: rgba(255, 255, 255, 0.07); transform: translateY(-3px) scale(1.06); }
.social img { width: 18px; height: 18px; filter: invert(1) opacity(0.82); }

.panel {
  background: rgba(10, 12, 32, 0.58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.note-box {
  margin-bottom: 1.4rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--now-accent);
  background: rgba(255, 255, 255, 0.04);
  font-size: 1rem;
  color: var(--ink-soft);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 1rem; }
.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--ink);
  background: rgba(6, 8, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--now-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--now-accent) 32%, transparent); }
.btn--block { width: 100%; cursor: pointer; font-family: inherit; }
.form-status { margin-top: 1.1rem; color: var(--now-accent); }

/* Lange tekst (privacybeleid) */
.prose h2 { margin: 2.2rem 0 0.7rem; font-family: var(--font-pixel); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { max-width: none; color: var(--ink-soft); }

/* "Nog niet aangekondigd": uitgedoofde bollen */
.shelf { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.4rem, 5vw, 3.5rem); margin-top: 2.5rem; }
.ghost { display: grid; justify-items: center; gap: 0.8rem; font-family: var(--font-pixel); font-size: 1.1rem; color: var(--ink-dim); }
.ghost-orb {
  width: clamp(72px, 11vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5b5878, #2d2a47 58%, #17152b);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.55);
  animation: ghost-flicker 5s var(--d, 0s) ease-in-out infinite;
}
@keyframes ghost-flicker { 0%, 100% { opacity: 0.55; } 35% { opacity: 0.9; } 38% { opacity: 0.5; } 60% { opacity: 0.8; } }

/* 404 */
.lost { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 1.2rem; padding: 6rem 1.5rem 3rem; text-align: center; }
.lost__orb {
  position: relative;
  width: clamp(110px, 18vw, 170px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #d9d6ec 0%, #8f8aab 32%, #4a4666 74%, #25223c 100%);
  animation: orb-bob 6s ease-in-out infinite alternate, ghost-flicker 7s ease-in-out infinite;
}
.lost__orb::after { /* de scheur dwars door de bol */
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 47%, rgba(255, 255, 255, 0.9) 49%, transparent 51%);
  mix-blend-mode: overlay;
}
.lost__code {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: clamp(5rem, 20vw, 11rem);
  line-height: 0.9;
  text-shadow: 0 0 44px rgba(190, 180, 255, 0.5), 5px 5px 0 rgba(0, 0, 0, 0.35);
  animation: glitch 7s steps(1, end) infinite;
}
@keyframes glitch {
  0%, 92%, 100% { transform: none; text-shadow: 0 0 44px rgba(190, 180, 255, 0.5), 5px 5px 0 rgba(0, 0, 0, 0.35); }
  93% { transform: translate(-6px, 2px); text-shadow: 6px 0 0 rgba(255, 120, 120, 0.7), -6px 0 0 rgba(120, 200, 255, 0.7); }
  95% { transform: translate(5px, -2px); text-shadow: -5px 0 0 rgba(255, 120, 120, 0.7), 5px 0 0 rgba(120, 200, 255, 0.7); }
  97% { transform: none; }
}
.lost h1 { font-family: var(--font-pixel); font-weight: 600; font-size: clamp(1.5rem, 4vw, 2.4rem); }
.lost p { max-width: 34rem; color: var(--ink-soft); }

/* Footer */
.foot { position: relative; z-index: 1; padding: clamp(3rem, 8vh, 5rem) 1.5rem 3rem; text-align: center; color: var(--ink-dim); font-size: 0.98rem; }
.foot__brand { font-family: var(--font-pixel); font-weight: 600; font-size: 1.6rem; color: var(--ink); }
.foot__tag { max-width: 30rem; margin: 0.4rem auto 1.2rem; }
.foot .social { justify-content: center; }
.foot__list { list-style: none; margin: 1.6rem 0 0.9rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1.6rem; }
.foot a { color: var(--ink-soft); text-decoration: none; }
.foot__list a { background: linear-gradient(var(--now-accent), var(--now-accent)) left bottom / 0 1px no-repeat; transition: background-size 0.35s, color 0.2s; padding-bottom: 2px; }
.foot__list a:hover { color: var(--ink); background-size: 100% 1px; }
.foot p { margin: 0.3rem auto 0; max-width: 40rem; }

/* ==========================================================================
   9. Animaties (alles hieronder gaat uit bij "verminderde beweging")
   ========================================================================== */

/* Onderdelen die verschijnen terwijl je scrolt. Zonder JS is alles gewoon zichtbaar. */
html.js [data-reveal] { opacity: 0; transition: opacity 0.9s ease, transform 1s cubic-bezier(.2, .8, .2, 1), filter 0.9s ease; transition-delay: var(--rd, 0s); }
html.js [data-reveal="rise"]  { transform: translateY(30px); }
html.js [data-reveal="pop"]   { transform: scale(0.86); filter: blur(4px); }
html.js [data-reveal="left"]  { transform: translateX(-46px); }
html.js [data-reveal="right"] { transform: translateX(46px); }
html.js [data-reveal="drop"]  { transform: translateY(-30px); }
html.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* Titels die letter voor letter verschijnen, als op een oud scherm */
/* Er blijft 2px zichtbaar, anders ziet de browser het element als onzichtbaar en start de animatie nooit */
html.js [data-type] { clip-path: inset(-30px calc(100% - 2px) -30px -30px); }
html.js [data-type].is-in { clip-path: inset(-30px -50px -30px -30px); transition: clip-path calc(var(--n, 12) * 0.075s) steps(var(--n, 12), end); }

/* Schermen en vensters kantelen mee met je muis */
.tilt { transform: perspective(1000px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform 0.25s ease-out; will-change: transform; }

/* Een lichtje dat je cursor zacht volgt */
.cursor-glow {
  position: fixed;
  left: 0; top: 0;
  z-index: 2;
  width: 380px; height: 380px;
  margin: -190px 0 0 -190px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--now-glow) 0%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s;
}
.cursor-glow.is-on { opacity: 0.32; }

/* Knoppen met een glans */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.38) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.8s cubic-bezier(.2, .8, .2, 1);
}
.btn:hover::after { transform: translateX(130%); }
.btn[aria-disabled="true"]::after { display: none; }

/* Twee kolommen naast elkaar (About) */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); }
.cols-2 .band__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
@media (max-width: 900px) { .cols-2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   10. Responsive voor de gedeelde onderdelen
   ========================================================================== */
@media (max-width: 900px) {
  .split, .split--flip, .founder, .contact-grid { grid-template-columns: 1fr; }
  .split--flip .stage { order: -1; }
  .founder__photo { position: relative; top: 0; width: min(70%, 260px); }
  .points, .notes { grid-template-columns: 1fr; }
  .points--stairs .point:nth-child(2), .points--stairs .point:nth-child(3) { margin-top: 0; }
}
@media (max-width: 720px) {
  .hero__logo-wrap { width: min(420px, 86vw); }
  .foot { padding-bottom: 6rem; }
}

/* ==========================================================================
   11. Bewegingsstanden: full (alles) / calm (rustig) / off (stil)
   De klassen op <html> worden vroeg in de <head> en in js/site.js gezet, uit het
   systeemvoorkeur (verminderde beweging) of uit de knop in de footer.
   ========================================================================== */
html.motion-reduced { scroll-behavior: auto; }

/* Rustig en stil: geen onderdelen die inzweven, geen typemachine, geen kantelen,
   geen cursorlicht. Alles staat meteen op zijn plek. */
html.motion-reduced [data-reveal], html.motion-reduced [data-type] {
  opacity: 1 !important; transform: none !important; filter: none !important;
  clip-path: none !important; transition: none !important;
}
html.motion-reduced .tilt { transform: none !important; }
html.motion-reduced .cursor-glow { display: none; }
html.motion-reduced .hero__title,
html.motion-reduced .hero__lede,
html.motion-reduced .orb__text,
html.motion-reduced .hero__foot,
html.motion-reduced .crack path,
html.motion-reduced .spark,
html.motion-reduced .ghost-orb,
html.motion-reduced .lost__code,
html.motion-reduced .founder__ring { animation: none !important; }
html.motion-reduced .crack path { stroke-dashoffset: 0; }
html.motion-reduced .founder__more { transition: none; }

/* Rustig: alleen het zachte zweven blijft, de rest van de hemel (deeltjes, sterren) loopt rustig door */
html.motion-reduced .orb__body { animation: orb-bob var(--bob) ease-in-out infinite alternate !important; }
html.motion-reduced .hero__logo { animation: orb-bob 7s ease-in-out infinite alternate !important; }
html.motion-reduced .lost__orb { animation: orb-bob 6s ease-in-out infinite alternate !important; }

/* Stil: echt alles stil */
html.motion-off *, html.motion-off *::before, html.motion-off *::after {
  animation: none !important;
  transition-duration: 0.01ms !important;
}

/* Zonder JavaScript volgt de pagina gewoon het systeemvoorkeur */
@media (prefers-reduced-motion: reduce) {
  html:not(.js) *, html:not(.js) *::before, html:not(.js) *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* De knop onderaan om de beweging te kiezen */
.motion-toggle {
  margin-top: 0.8rem;
  padding: 0.35rem 0.95rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.motion-toggle:hover { color: var(--ink); border-color: var(--now-accent); }
.motion-toggle span { color: var(--ink); font-weight: 600; }

/* Onderdelen die nog moeten inzweven staan een stukje opzij; knip dat af zodat de pagina nooit horizontaal kan wiebelen */
main, .page-hero, .hero, .band, .foot { overflow-x: clip; }


/* ==========================================================================
   12. Suzy Slots (suzyslots.html)
   Een eigen, vaste wereld: warm goud op een donkere casinoavond. De pagina zet
   <body data-static-world="suzy">, dus de hemel en de deeltjes (goudglitter)
   blijven op deze kleur staan en scrollen niet mee naar een andere wereld.
   Titels zijn hier serif (Newsreader) in plaats van pixelletters, zodat het
   een eigen spel is naast Echoes of Verdania.
   ========================================================================== */
body[data-world="suzy"] { --now-accent: #e2b660; --now-glow: rgba(255, 200, 110, 0.50); }

.sky__tint--suzy {
  background:
    radial-gradient(90% 60% at 50% -6%, rgba(255, 190, 100, 0.26) 0%, transparent 70%),
    radial-gradient(120% 80% at 50% 112%, rgba(128, 30, 52, 0.62) 0%, rgba(60, 14, 30, 0.4) 46%, transparent 78%),
    linear-gradient(rgba(26, 10, 14, 0.55), rgba(26, 10, 14, 0.55));
}

.suz { --w-accent: #e2b660; --w-glow: #ffc86e; --w-title: #fff3da; --w-text: #e6d8c0; }
.suz .band__title {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--w-title);
}
.suz .suz-kicker {
  margin: 0 auto 0.9rem;
  max-width: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--w-accent);
}
.suz .suz-fine { margin-top: 1.6rem; max-width: none; font-size: 0.92rem; font-style: italic; color: var(--ink-dim); }
.suz-split .suz-kicker, .suz-promise .suz-kicker { margin-inline: 0; }

/* Hero */
.suz-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(6.5rem, 14vh, 8rem) 1.5rem clamp(2.5rem, 6vh, 4rem);
}
.suz-hero .page-hero__crumb { margin-bottom: 0.6rem; }
.suz-hero__logo-wrap { position: relative; width: min(540px, 84vw, 58vh); }
.suz-hero__logo-h { margin: 0; line-height: 0; }
.suz-hero__logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255, 190, 100, 0.34)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
  animation: logo-in 1.3s 0.2s cubic-bezier(.2, .8, .2, 1) both, orb-bob 7s 1.5s ease-in-out infinite alternate;
}
.suz-hero__tag {
  margin-top: 0.4rem;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  color: var(--w-title);
  text-shadow: 0 0 30px rgba(255, 200, 110, 0.35);
}
.suz-hero__lede { max-width: 36rem; margin: 1rem auto 0; color: var(--ink-soft); }
.suz-hero__chips { justify-content: center; margin: 1.5rem 0 1.7rem; }
.suz-hero .actions { margin-top: 0; }

/* Cijferstrook: de echte bedragen */
.suz-ledger {
  list-style: none;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.5rem);
}
.suz-ledger li {
  position: relative;
  padding-top: 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--w-accent) 55%, transparent);
}
.suz-ledger li::before {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 30px; height: 5px;
  background: var(--w-accent);
  box-shadow: 0 0 14px var(--w-glow);
}
.suz-ledger__num {
  display: block;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 600;
  font-variant-numeric: lining-nums;
  line-height: 1.05;
  color: var(--w-title);
  text-shadow: 0 0 28px color-mix(in srgb, var(--w-glow) 55%, transparent);
}
.suz-ledger__label { display: block; margin-top: 0.35rem; font-style: italic; color: var(--ink-soft); }

/* Copper & Sparks: tablet met een telefoon eroverheen */
.suz-split > div:first-child { position: relative; padding-bottom: 7%; }
.suz-device {
  overflow: hidden;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--w-accent) 70%, transparent),
    0 0 70px color-mix(in srgb, var(--w-glow) 28%, transparent),
    0 30px 80px rgba(0, 0, 0, 0.6);
}
.suz-device img { display: block; width: 100%; height: auto; }
.suz-device__phone {
  position: absolute;
  right: -3%; bottom: 0;
  width: 24%;
  height: auto;
  border-radius: 18px;
  transform: rotate(3deg);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--w-accent) 60%, transparent),
    0 22px 50px rgba(0, 0, 0, 0.65);
}
.suz-chips { margin: 1.4rem 0 0; }

/* De negen symbolen, zacht zwevend */
.suz-symbols {
  list-style: none;
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  padding: clamp(0.8rem, 2vw, 1.4rem);
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: clamp(0.2rem, 1vw, 0.8rem);
  background: rgba(14, 8, 14, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--w-accent) 28%, transparent);
  border-radius: 10px;
}
.suz-symbols img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.5));
  animation: suz-float 4.6s ease-in-out infinite alternate;
}
.suz-symbols li:nth-child(2n) img { animation-delay: -1.4s; }
.suz-symbols li:nth-child(3n) img { animation-delay: -2.7s; animation-duration: 5.4s; }
@keyframes suz-float { from { transform: translateY(0) rotate(-1.2deg); } to { transform: translateY(-7px) rotate(1.2deg); } }

.suz .suz-h3 {
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--w-title);
}
.suz-stages {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1rem, 5vw, 4rem);
  counter-reset: stage;
}
.suz-stages li { display: grid; justify-items: center; gap: 0.5rem; counter-increment: stage; }
.suz-stages img { display: block; height: auto; filter: drop-shadow(0 0 26px rgba(255, 190, 100, 0.24)) drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5)); }
.suz-stages li:nth-child(1) img { width: clamp(84px, 16vw, 170px); }
.suz-stages li:nth-child(2) img { width: clamp(110px, 21vw, 220px); }
.suz-stages li:nth-child(3) img { width: clamp(140px, 27vw, 280px); }
.suz-stages span { font-style: italic; color: var(--ink-soft); }
.suz-stages span::before { content: counter(stage) ". "; color: var(--w-accent); font-style: normal; font-weight: 600; }

/* Hoe het geld werkt */
.suz-points { margin-top: clamp(2.5rem, 6vw, 4rem); }
.suz .point h3 { font-family: var(--font-text); font-weight: 600; font-size: 1.45rem; color: var(--w-title); }
.suz-coin {
  flex: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1c2 0%, #e2b660 52%, #8a6420 100%);
  box-shadow: 0 0 12px rgba(255, 200, 110, 0.6);
  animation: suz-coin 4.2s ease-in-out infinite;
}
.suz .point:nth-child(2) .suz-coin { animation-delay: -1.4s; }
.suz .point:nth-child(3) .suz-coin { animation-delay: -2.8s; }
@keyframes suz-coin { 0%, 62%, 100% { transform: scaleX(1); } 80% { transform: scaleX(0.12); } }

/* Drie telefoonschermen */
.suz-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  max-width: 900px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
}
/* Het telefoonscherm in de game is verschillend hoog per app; zo staan ze op een lijn onderaan */
.suz-phones figure { container-type: inline-size; }
.suz-phone {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9cqw;
  box-shadow:
    0 0 0 1px rgba(226, 182, 96, 0.35),
    0 0 50px rgba(255, 200, 110, 0.14),
    0 26px 60px rgba(0, 0, 0, 0.6);
}
.suz-phones figcaption { margin-top: 0.9rem; text-align: center; font-size: 0.98rem; font-style: italic; color: var(--ink-soft); }

/* Voorbij lopende personages */
.suz-marquee {
  position: relative;
  overflow: hidden;
  margin: clamp(2.5rem, 6vw, 4rem) 0;
  padding: 0.6rem 0 1.4rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.suz-marquee__track {
  --gap: clamp(1rem, 3vw, 2rem);
  display: flex;
  width: max-content;
  gap: var(--gap);
  padding: 0 var(--gap) 0 0;
  margin: 0;
  list-style: none;
  animation: suz-marquee 95s linear infinite;
}
.suz-marquee:hover .suz-marquee__track { animation-play-state: paused; }
.suz-marquee li { flex: none; }
.suz-marquee img { display: block; height: 165px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.5)); }
@keyframes suz-marquee { to { transform: translateX(-50%); } }

.suz-creator {
  margin: 0 auto;
  max-width: 880px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--w-accent) 55%, transparent), 0 0 60px rgba(255, 200, 110, 0.14), 0 26px 70px rgba(0, 0, 0, 0.6);
}
.suz-creator img { display: block; width: 100%; height: auto; }

/* Belofte */
.suz-promise {
  border-color: color-mix(in srgb, var(--w-accent) 40%, transparent);
  background: rgba(20, 10, 16, 0.62);
  box-shadow: 0 0 70px rgba(255, 200, 110, 0.1);
}
.suz-promise .band__title { margin-bottom: 0.4rem; }
.suz-checks { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.95rem; }
.suz-checks li { position: relative; padding-left: 2.1rem; color: var(--w-text); }
.suz-checks li::before {
  content: "";
  position: absolute;
  left: 0.15rem; top: 0.5rem;
  width: 0.95rem; height: 0.5rem;
  border-left: 2px solid var(--w-accent);
  border-bottom: 2px solid var(--w-accent);
  transform: rotate(-45deg);
  filter: drop-shadow(0 0 6px var(--w-glow));
}

@media (max-width: 900px) {
  .suz-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .suz-split > div:first-child { padding-bottom: 12%; }
  .suz-device__phone { right: 2%; width: 26%; }
}
@media (max-width: 700px) {
  .suz-symbols { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 22rem; margin-inline: auto; }
  .suz-phones { grid-template-columns: 1fr; max-width: 16rem; gap: 2rem; }
  .suz-marquee img { height: 140px; }
}

/* Rustig en stil voor de Suzy-onderdelen */
html.motion-reduced .suz-hero__logo { animation: orb-bob 7s ease-in-out infinite alternate !important; }
html.motion-reduced .suz-marquee__track { animation-duration: 240s; }
html.motion-reduced .suz-coin { animation: none; }

/* Suzy Slots op de gamespagina: gouden randen, ook buiten de Suzy-pagina zelf */
.games-suz { --w-accent: #e2b660; --w-glow: #ffc86e; display: block; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px rgba(226, 182, 96, 0.7), 0 0 60px rgba(255, 200, 110, 0.22), 0 30px 80px rgba(0, 0, 0, 0.6); }
.games-suz img { display: block; width: 100%; height: auto; }
.games-suz__logo { display: block; width: min(300px, 80%); height: auto; margin: -1rem 0 -0.8rem -1.2rem; filter: drop-shadow(0 0 22px rgba(255, 190, 100, 0.3)); }
.games-suz__title { margin-bottom: 0.4rem; }

/* Belangrijke mededeling op de Suzy-pagina: hulp bij gokverslaving, alleen volwassenen */
.suz-notice {
  border-color: color-mix(in srgb, var(--w-accent) 55%, transparent);
  background: rgba(20, 10, 16, 0.66);
  box-shadow: 0 0 70px rgba(255, 200, 110, 0.12);
}
.suz-notice .suz-kicker { margin-inline: 0; }
.suz-notice .band__title { margin-bottom: 0.9rem; }
.suz-notice strong { color: var(--w-title); }
.suz-hero__note { margin-top: 1.4rem; max-width: 34rem; font-size: 0.98rem; font-style: italic; color: var(--ink-soft); }
.suz-hero__note a { color: var(--w-accent); text-underline-offset: 0.2em; }
.suz-hero__note a:hover { color: var(--w-title); }
.suz-notice p, .suz-promise p { max-width: none; }

.lost__orb::before {
  content: "";
  position: absolute;
  inset: -80%;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(190, 180, 255, 0.3) 0%, rgba(190, 180, 255, 0.3) 36%, rgba(120, 110, 200, 0.14) 52%, transparent 100%);
}
