/* ==========================================================
   Dogan Group B.V. — multi-page website
   Marine-blauw + paars noorderlicht aurora.
   Scroll-driven gradient via --scroll-y custom property.
   ========================================================== */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/eb-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Marine + aurora palette */
  --marine-0: #02061A;        /* deepest navy */
  --marine-1: #050B22;        /* base bg */
  --marine-2: #0A1432;        /* lifted */
  --marine-3: #0E1A40;         /* deeper navy purple-tint */

  --aurora-purple: #6B3FFF;    /* aurora purple */
  --aurora-violet: #8B4DE6;    /* secondary violet */
  --aurora-cyan:   #3DCFFF;    /* aurora cyan band */
  --aurora-pink:   #C46BFF;    /* aurora pink edge */
  --gold:          #DEC18A;    /* heritage warmte */

  --bg:        var(--marine-1);
  --panel:     #F4F1EB;        /* cream panel — heritage light */
  --on-panel:  #1F1E1C;

  --ink:       #F4F1EB;
  --ink-muted: rgba(244, 241, 235, 0.78);
  --ink-soft:  rgba(244, 241, 235, 0.50);

  --line:        rgba(244, 241, 235, 0.12);
  --line-strong: rgba(244, 241, 235, 0.22);

  --accent: var(--aurora-purple);   /* primaire accent */

  --serif:  "EB Garamond", "Garamond Premier Pro", Georgia, "Times New Roman", serif;
  --sans:   "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --arabic: "Amiri", "Traditional Arabic", "Geeza Pro", serif;

  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 128px;

  --content-max: 1180px;
  --rail-pad: clamp(20px, 5vw, 64px);

  /* Scroll position — gezet via JS, gebruikt voor aurora parallax */
  --scroll-y: 0;
  --scroll-pct: 0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--marine-1);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1rem, 0.6vw + 0.85rem, 1.0625rem);
  line-height: 1.65;
  font-optical-sizing: auto;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ==========================================================
   AURORA — Northern lights achtergrond (scroll-driven)
   Twee SVG-achtige gradient-lagen die met scroll bewegen
   ========================================================== */

.aurora {
  position: fixed;
  inset: -10vh -10vw;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.aurora__band {
  position: absolute;
  width: 140vw;
  height: 80vh;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.65;
  transform-origin: center;
}

.aurora__band--1 {
  top: -20vh;
  left: -20vw;
  background: radial-gradient(ellipse, var(--aurora-purple) 0%, transparent 70%);
  transform: translate3d(0, calc(var(--scroll-y) * -0.15), 0) rotate(-12deg);
  will-change: transform;
}

.aurora__band--2 {
  top: 10vh;
  right: -30vw;
  background: radial-gradient(ellipse, var(--aurora-cyan) 0%, transparent 70%);
  opacity: 0.45;
  transform: translate3d(0, calc(var(--scroll-y) * 0.08), 0) rotate(8deg);
  will-change: transform;
}

.aurora__band--3 {
  bottom: -30vh;
  left: 10vw;
  width: 120vw;
  height: 70vh;
  background: radial-gradient(ellipse, var(--aurora-pink) 0%, transparent 70%);
  opacity: 0.40;
  transform: translate3d(0, calc(var(--scroll-y) * -0.10), 0) rotate(15deg);
  will-change: transform;
}

.aurora__band--4 {
  top: 40vh;
  left: 30vw;
  width: 100vw;
  height: 60vh;
  background: radial-gradient(ellipse, var(--aurora-violet) 0%, transparent 70%);
  opacity: 0.35;
  transform: translate3d(0, calc(var(--scroll-y) * 0.20), 0) rotate(-6deg);
  will-change: transform;
}

/* Sterren-overlay — extra cosmic depth */
.aurora__stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 8%,  rgba(244, 241, 235, 0.7), transparent 100%),
    radial-gradient(1px   1px   at 28% 22%, rgba(244, 241, 235, 0.5), transparent 100%),
    radial-gradient(2px   2px   at 45% 12%, rgba(244, 241, 235, 0.6), transparent 100%),
    radial-gradient(1px   1px   at 68% 18%, rgba(61, 207, 255, 0.6),  transparent 100%),
    radial-gradient(1px   1px   at 82% 35%, rgba(244, 241, 235, 0.5), transparent 100%),
    radial-gradient(2px   2px   at 18% 48%, rgba(196, 107, 255, 0.5), transparent 100%),
    radial-gradient(1px   1px   at 52% 55%, rgba(244, 241, 235, 0.4), transparent 100%),
    radial-gradient(1px   1px   at 75% 62%, rgba(244, 241, 235, 0.6), transparent 100%),
    radial-gradient(2px   2px   at 8%  75%, rgba(244, 241, 235, 0.4), transparent 100%),
    radial-gradient(1px   1px   at 38% 82%, rgba(61, 207, 255, 0.4),  transparent 100%),
    radial-gradient(1px   1px   at 65% 88%, rgba(244, 241, 235, 0.5), transparent 100%),
    radial-gradient(2px   2px   at 92% 78%, rgba(139, 77, 230, 0.4),  transparent 100%);
  animation: stars-twinkle 14s ease-in-out infinite alternate;
}

@keyframes stars-twinkle {
  0%   { opacity: 0.6; }
  50%  { opacity: 1;   }
  100% { opacity: 0.5; }
}

/* Subtle vignet onder de aurora layers */
.aurora__vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, transparent 50%, rgba(2, 6, 26, 0.45) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .aurora__band { transition: none; }
  .aurora__stars { animation: none; opacity: 0.7; }
}

/* ==========================================================
   Per-page aurora tint — body[data-page] override
   ========================================================== */

body[data-page="blackbox"] {
  --aurora-purple: #2D8FFF;
  --aurora-violet: #4263EB;
  --aurora-cyan:   #5BCFFF;
  --aurora-pink:   #6B7FFF;
  --accent: var(--aurora-cyan);
}
body[data-page="hijama"] {
  --aurora-purple: #2DD4BF;
  --aurora-violet: #5B8DEF;
  --aurora-cyan:   #67E8F9;
  --aurora-pink:   #93C5FD;
  --accent: #67E8F9;
}
body[data-page="togo"] {
  --aurora-purple: #8B5CF6;
  --aurora-violet: #6366F1;
  --aurora-cyan:   #A78BFA;
  --aurora-pink:   #C4B5FD;
  --accent: #A78BFA;
}
body[data-page="barakah"] {
  --aurora-purple: #EC4899;
  --aurora-violet: #C026D3;
  --aurora-cyan:   #F472B6;
  --aurora-pink:   #F9A8D4;
  --accent: #F9A8D4;
}
body[data-page="niyyah"] {
  --aurora-purple: #6366F1;
  --aurora-violet: #4F46E5;
  --aurora-cyan:   #818CF8;
  --aurora-pink:   #A5B4FC;
  --accent: var(--gold);
}

/* Aurora intensifies bij scroll (--scroll-pct 0→1) */
.aurora__band {
  transform-origin: center;
  filter: blur(80px) saturate(calc(120% + var(--scroll-pct) * 30%));
}

/* ==========================================================
   Custom cursor + trail (desktop only)
   ========================================================== */

.cursor-square {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 200;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 200ms, width 280ms, height 280ms, background 280ms, border-color 280ms;
  mix-blend-mode: difference;
  display: none;
  border-radius: 2px;
}
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 199;
  display: none;
}
.cursor-trail span {
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 4px;
  background: var(--aurora-purple);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  filter: blur(0.5px);
  box-shadow: 0 0 6px var(--aurora-purple);
}

.cursor-square.is-hover {
  width: 44px;
  height: 44px;
  background: rgba(107, 63, 255, 0.12);
  border-color: var(--aurora-purple);
}

@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .cursor-square,
  .cursor-trail { display: block; }
  body:hover .cursor-square,
  body:hover .cursor-trail span { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-square,
  .cursor-trail { display: none !important; }
}

/* ==========================================================
   Click ripple + particle bursts
   ========================================================== */

.ripple {
  position: fixed;
  border-radius: 50%;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 250;
  transform: translate(-50%, -50%);
  animation: ripple-out 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ripple-out {
  0%   { width: 0; height: 0; opacity: 0.7; }
  100% { width: 120px; height: 120px; opacity: 0; }
}

.spark {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 251;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--gold);
  animation: spark-fly 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes spark-fly {
  0%   { opacity: 1; transform: translate(-50%, -50%) translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0.3); }
}

/* ==========================================================
   Constellation canvas (lines between stars near cursor)
   ========================================================== */

#constellation {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  #constellation { display: none; }
}

/* ==========================================================
   Cmd+K command palette
   ========================================================== */

.kpalette {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 26, 0.7);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16vh;
  z-index: 300;
  opacity: 0;
  transition: opacity 200ms ease-out;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.kpalette.is-open { display: flex; opacity: 1; }

.kpalette__panel {
  background: var(--marine-2);
  border: 1px solid var(--line);
  color: var(--ink);
  width: min(560px, 92vw);
  border-radius: 8px;
  padding: var(--s-4);
  font-family: var(--sans);
  box-shadow: 0 32px 64px rgba(2, 6, 26, 0.6);
}

.kpalette__title {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--s-3);
  font-weight: 500;
}

.kpalette__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kpalette__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  transition: background 160ms;
  text-decoration: none;
}

.kpalette__item:hover,
.kpalette__item.is-focus {
  background: rgba(107, 63, 255, 0.16);
}

.kpalette__shortcut {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--ink-muted);
  background: rgba(244, 241, 235, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.kpalette__hint {
  margin: var(--s-3) 0 0;
  padding-top: var(--s-2);
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ==========================================================
   Brand-mini sticky (na hero scroll out)
   ========================================================== */

.brand-mini {
  position: fixed;
  top: max(74px, env(safe-area-inset-top, 0px));
  left: max(20px, env(safe-area-inset-left, 0px));
  z-index: 80;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 280ms ease-out, transform 280ms ease-out;
  pointer-events: none;
}
.brand-mini.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.brand-mini a {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--marine-1);
  background: var(--gold);
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* ==========================================================
   Glossary tooltip
   ========================================================== */

.term {
  position: relative;
  border-bottom: 1px dotted var(--ink-soft);
  cursor: help;
  text-decoration: none;
  color: inherit;
}
.term::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--marine-2);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: normal;
  width: max-content;
  max-width: 240px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease-out, transform 200ms ease-out;
  z-index: 50;
  line-height: 1.45;
  text-transform: none;
  box-shadow: 0 8px 24px rgba(2, 6, 26, 0.4);
}
.term:hover::after,
.term:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================
   Drop cap voor long-form alinea's
   ========================================================== */

.dropcap p:first-of-type:first-letter {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 5vw + 1rem, 5rem);
  font-weight: 500;
  float: left;
  line-height: 0.9;
  padding: 6px var(--s-3) 0 0;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--gold), var(--aurora-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

/* ==========================================================
   Hero stats live row
   ========================================================== */

.hero-live {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--s-3);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-live__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-live__dot {
  width: 6px;
  height: 6px;
  background: var(--aurora-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(91, 207, 255, 0.20);
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.6; }
}
.hero-live__sep { opacity: 0.4; }

/* ==========================================================
   Selection / focus
   ========================================================== */

::selection {
  background: var(--aurora-purple);
  color: var(--ink);
}

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--aurora-cyan);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  padding: 8px 16px;
  background: var(--aurora-purple);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  text-decoration: none;
  z-index: 100;
}
.skip-link:focus { top: 8px; }

/* Visually hidden helper */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   Top-nav — persistent over alle pages
   ========================================================== */

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(5, 11, 34, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.topnav__brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 200ms;
}
.topnav__brand:hover,
.topnav__brand:focus-visible { color: var(--gold); }

.topnav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.topnav__link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 8px 4px;
  position: relative;
  transition: color 200ms;
}
.topnav__link:hover,
.topnav__link:focus-visible { color: var(--ink); }

.topnav__link.is-active { color: var(--gold); }
.topnav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 4px;
  right: 4px;
  height: 1px;
  background: var(--gold);
}

.topnav__cta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(244, 241, 235, 0.04);
  transition: background 200ms, border-color 200ms, color 200ms;
  white-space: nowrap;
}
.topnav__cta:hover,
.topnav__cta:focus-visible {
  background: rgba(107, 63, 255, 0.18);
  border-color: var(--aurora-purple);
  color: var(--ink);
}

.navmeta {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(244, 241, 235, 0.03);
  font-variant-numeric: tabular-nums;
  margin-right: var(--s-2);
}
.navmeta__hijri { color: var(--gold); }
.navmeta__sep { color: var(--line); }
.navmeta__time { color: var(--ink); }
@media (min-width: 900px) {
  .navmeta { display: inline-flex; }
}

.topnav__burger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: border-color 200ms;
}
.topnav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms;
}
.topnav__burger:hover { border-color: var(--gold); }
.topnav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.topnav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.topnav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mdrawer {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 26, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease-out;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.mdrawer.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mdrawer__panel {
  position: relative;
  width: min(88vw, 360px);
  background: var(--marine-1);
  border-left: 1px solid var(--line);
  padding: clamp(60px, 10vh, 100px) clamp(24px, 5vw, 40px) var(--s-5);
  display: flex;
  flex-direction: column;
  transform: translateX(20px);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.mdrawer.is-open .mdrawer__panel { transform: translateX(0); }
.mdrawer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.mdrawer__link {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  text-decoration: none;
  display: block;
  padding: 6px 0;
  transition: color 200ms, transform 200ms;
}
.mdrawer__link:hover,
.mdrawer__link:focus-visible { color: var(--ink); transform: translateX(4px); }
.mdrawer__link.is-active { color: var(--gold); }
.mdrawer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 200ms, color 200ms;
}
.mdrawer__close:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 760px) {
  .topnav__list { display: none; }
  .topnav__cta { display: none; }
  .topnav__burger { display: inline-flex; }
}
@media (min-width: 761px) {
  .mdrawer { display: none; }
}
@media (max-width: 600px) {
  .topnav { padding: 10px 16px; }
}

/* ==========================================================
   Venture compare table
   ========================================================== */

.vcompare-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 241, 235, 0.03);
}
.vcompare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-family: var(--sans);
  font-size: 13px;
}
.vcompare thead th {
  text-align: left;
  padding: 14px 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 11, 34, 0.4);
}
.vcompare tbody th,
.vcompare tbody td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(244, 241, 235, 0.06);
  vertical-align: middle;
  color: var(--ink-muted);
  font-weight: 400;
}
.vcompare tbody tr:last-child th,
.vcompare tbody tr:last-child td { border-bottom: 0; }
.vcompare tbody th {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.vcompare tbody th a,
.vcompare tbody td a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 200ms, border-color 200ms;
}
.vcompare tbody th a:hover,
.vcompare tbody td a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.vcompare tbody tr:hover { background: rgba(107, 63, 255, 0.04); }
.vcompare__pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
  margin-right: 8px;
  vertical-align: middle;
  animation: live-pulse 2s ease-in-out infinite;
}

/* ==========================================================
   Print stylesheet — clean monochrome export
   ========================================================== */

@media print {
  body {
    background: #fff !important;
    color: #111 !important;
    font-family: Georgia, "Times New Roman", serif;
  }
  .aurora, .aurora__stars, .aurora__vignette,
  .cosmic-dust, .cursor-square, .cursor-trail, .brand-mini,
  .scroll-progress, .topnav, .footer__live, .fab, .b2t, .a2hs,
  .kpalette, .toast-stack, .mdrawer, .topnav__burger,
  .page-fade, .intro {
    display: none !important;
  }
  main, .rail, section { page-break-inside: avoid; }
  h1, h2, h3 { color: #111 !important; page-break-after: avoid; }
  a { color: #111 !important; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
  .footer { border-top: 1px solid #999; padding-top: 16px; color: #555; }
  .footer__brand { color: #111 !important; }
  .term { border-bottom: 1px dotted #999; }
  .term[data-tip]::after { display: none !important; }
  .vstrip, .vstrip__track, .photo-modal { display: none !important; }
  img { max-width: 100% !important; }
}

/* ==========================================================
   Layout primitives
   ========================================================== */

.rail {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--rail-pad);
  padding-right: var(--rail-pad);
}

section {
  padding-top: clamp(72px, 10vh, 144px);
  padding-bottom: clamp(72px, 10vh, 144px);
  scroll-margin-top: 96px;
  position: relative;
}

main {
  position: relative;
  z-index: 1;
}

/* ==========================================================
   Hero — homepage
   ========================================================== */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: clamp(120px, 16vh, 200px);
  padding-bottom: clamp(60px, 8vh, 100px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: relative;
  isolation: isolate;
  gap: var(--s-5);
}

.hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: var(--content-max);
  padding: 0 var(--rail-pad);
}

.hero__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--s-5);
}

.hero__monogram {
  display: block;
  width: clamp(140px, 14vw, 220px);
  height: auto;
  margin: 0 auto var(--s-4);
  color: var(--ink);
  filter: drop-shadow(0 0 24px rgba(107, 63, 255, 0.30));
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw + 1rem, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 auto var(--s-3);
  max-width: 16ch;
  color: var(--ink);
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--aurora-pink) 50%, var(--aurora-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__sub {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.6vw + 1rem, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0 auto;
  max-width: 44ch;
}

.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  padding: 0 var(--rail-pad);
}

.hero__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(244, 241, 235, 0.05);
  border: 1px solid var(--line);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.hero__chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aurora-cyan);
  box-shadow: 0 0 0 3px rgba(61, 207, 255, 0.20);
}

.hero__chip strong { color: var(--ink); font-weight: 500; }

.hero__chip--cta {
  background: var(--aurora-purple);
  border-color: var(--aurora-purple);
}
.hero__chip--cta a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 240ms;
}
.hero__scroll:hover { color: var(--gold); }

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 16px;
  background: var(--gold);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: translateY(0);    opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(48px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after { animation: none; opacity: 0; }
}

/* ==========================================================
   Page-header — sub-pages
   ========================================================== */

.page-header {
  padding: clamp(140px, 22vh, 260px) var(--rail-pad) clamp(64px, 10vh, 120px);
  text-align: center;
  position: relative;
  isolation: isolate;
}

.page-header__eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}

.page-header__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw + 1.5rem, 5.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 auto var(--s-3);
  max-width: 18ch;
}

.page-header__sub {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.375rem);
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0 auto;
  max-width: 60ch;
}

/* ==========================================================
   Section labels
   ========================================================== */

.section-label {
  display: flex;
  align-items: baseline;
  gap: clamp(20px, 3vw, 40px);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 var(--s-6);
}

.section-label__num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.03em;
  text-transform: none;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
  flex-shrink: 0;
}

.section-label__text { color: var(--ink); font-weight: 500; }

/* ==========================================================
   Ventures overview — grid van 5 large cards
   Elke card linkt naar eigen venture-pagina
   ========================================================== */

.vgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.vcard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: rgba(244, 241, 235, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 380ms,
              box-shadow 380ms;
  isolation: isolate;
}

.vcard:hover,
.vcard:focus-visible {
  transform: translateY(-6px);
  border-color: var(--aurora-purple);
  box-shadow:
    0 0 0 1px rgba(107, 63, 255, 0.10),
    0 24px 48px rgba(2, 6, 26, 0.4);
}

.vcard__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--marine-2);
}

.vcard__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vcard:hover .vcard__image img {
  transform: scale(1.04);
}

.vcard__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(2, 6, 26, 0.85) 100%);
  pointer-events: none;
}

/* Logo zit nu in .vcard__body — geen overlay meer op de foto */
.vcard__logo-row {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--s-2);
}
.vcard__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: rgba(244, 241, 235, 0.96);
  padding: 7px;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
  display: block;
}

.vcard__num {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
  background: rgba(2, 6, 26, 0.75);
  padding: 6px 10px;
  border-radius: 100px;
  z-index: 2;
  font-variant-numeric: tabular-nums;
}

.vcard__body {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.vcard__sector {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.vcard__name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2.25rem);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ink);
}

.vcard__pitch {
  font-family: var(--serif);
  font-size: clamp(0.9375rem, 0.3vw + 0.9rem, 1.0625rem);
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}

.vcard__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-2);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  align-self: flex-start;
  transition: color 200ms, border-color 200ms;
}

.vcard:hover .vcard__cta { color: var(--gold); border-bottom-color: var(--gold); }
.vcard__cta::after { content: '→'; }

@media (max-width: 760px) {
  .vgrid { grid-template-columns: 1fr; }
}

/* ==========================================================
   Window carousel — per venture page hero strip
   (auto-slide horizontal raampjes met logos + foto's)
   ========================================================== */

.vstrip {
  position: relative;
  overflow: hidden;
  padding: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.vstrip__track {
  display: flex;
  gap: clamp(12px, 1.5vw, 20px);
  width: max-content;
  animation: vstrip-slide 70s linear infinite;
}

.vstrip:hover .vstrip__track,
.vstrip:focus-within .vstrip__track {
  animation-play-state: paused;
}

@keyframes vstrip-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.vstrip__cell {
  flex-shrink: 0;
  width: clamp(220px, 22vw, 320px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(244, 241, 235, 0.04);
  border: 1px solid var(--line);
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 380ms,
              box-shadow 380ms;
}

.vstrip__cell:hover,
.vstrip__cell:focus-visible {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--aurora-purple);
  box-shadow: 0 16px 40px rgba(2, 6, 26, 0.5);
  z-index: 2;
}

.vstrip__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--marine-2);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vstrip__cell:hover .vstrip__img { transform: scale(1.04); }

.vstrip__cell-body {
  padding: var(--s-2) var(--s-3) var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vstrip__num {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.vstrip__label {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  margin: 4px 0 0;
  line-height: 1.2;
}

.vstrip__sub {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .vstrip__track { animation: none; }
  .vstrip__cell, .vstrip__img { transition: none; }
}

/* ==========================================================
   Venture page: hero per venture
   ========================================================== */

.venture-hero {
  padding: clamp(140px, 22vh, 260px) var(--rail-pad) clamp(40px, 6vh, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 880px) {
  .venture-hero {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: clamp(48px, 6vw, 96px);
  }
}

.venture-hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.venture-hero__crumb {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.venture-hero__crumb a {
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.venture-hero__crumb a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.venture-hero__sector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.venture-hero__sector-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aurora-cyan);
  box-shadow: 0 0 0 3px rgba(61, 207, 255, 0.20);
}

.venture-hero__name {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw + 1rem, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
}

.venture-hero__pitch {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 0.5vw + 1rem, 1.5rem);
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
  max-width: 50ch;
}

.venture-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(244, 241, 235, 0.04);
  color: var(--ink);
  transition: background 200ms, border-color 200ms, transform 200ms;
}
.btn:hover {
  background: rgba(107, 63, 255, 0.18);
  border-color: var(--aurora-purple);
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--aurora-purple);
  border-color: var(--aurora-purple);
}
.btn--primary:hover {
  background: var(--aurora-violet);
  border-color: var(--aurora-violet);
}

.btn--gold {
  background: var(--gold);
  color: var(--marine-1);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #F2D89A;
  border-color: #F2D89A;
}

.venture-hero__visual {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--marine-2);
  border: 1px solid var(--line);
}

.venture-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venture-hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 26, 0.5) 0%, transparent 50%);
}

.venture-hero__logo-wrap {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  background: rgba(244, 241, 235, 0.96);
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.venture-hero__logo-wrap img {
  height: clamp(40px, 5vw, 56px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* ==========================================================
   Stat row (per venture page)
   ========================================================== */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(40px, 6vh, 72px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.stat__value {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat__sub {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* ==========================================================
   Big quote / pullquote
   ========================================================== */

.pullquote {
  text-align: center;
  padding: clamp(72px, 12vh, 144px) var(--rail-pad);
  max-width: 24ch;
  margin: 0 auto;
}

.pullquote p {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 4vw + 0.5rem, 4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.pullquote__cite {
  display: block;
  margin-top: var(--s-3);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ==========================================================
   Photo gallery modal — per venture page
   ========================================================== */

.pmodal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 48px);
  opacity: 0;
  transition: opacity 280ms ease-out;
}
.pmodal.is-open { display: flex; opacity: 1; }

.pmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.pmodal__panel {
  position: relative;
  background: var(--marine-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  width: min(1100px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(2, 6, 26, 0.6);
  display: flex;
  flex-direction: column;
}

.pmodal__close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  z-index: 5;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(244, 241, 235, 0.06);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 200ms;
  font-weight: 500;
}
.pmodal__close:hover { background: rgba(107, 63, 255, 0.18); border-color: var(--aurora-purple); }

.pmodal__stage {
  position: relative;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-3) var(--s-3);
}

.pmodal__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--marine-3);
  border-radius: 4px;
  overflow: hidden;
}

.pmodal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 280ms;
}
.pmodal__img.is-loaded { opacity: 1; }

.pmodal__nav {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(244, 241, 235, 0.04);
  border: 1px solid var(--line);
  color: var(--ink-muted);
  padding: 10px 14px;
  border-radius: 100px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}
.pmodal__nav:hover { color: var(--ink); background: rgba(107, 63, 255, 0.18); border-color: var(--aurora-purple); }

.pmodal__thumbs {
  display: flex;
  gap: 8px;
  padding: 0 var(--s-3) var(--s-3);
  overflow-x: auto;
  scrollbar-width: none;
}
.pmodal__thumbs::-webkit-scrollbar { display: none; }

.pmodal__thumb {
  flex-shrink: 0;
  width: 84px;
  aspect-ratio: 4 / 3;
  background: var(--marine-3);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 200ms;
  padding: 0;
}
.pmodal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pmodal__thumb.is-active { border-color: var(--gold); }

.pmodal__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4) var(--s-4);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.pmodal__meta-text { flex: 1; min-width: 220px; }

.pmodal__num {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.pmodal__title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.5vw + 0.6rem, 1.75rem);
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.pmodal__pitch {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
}

.pmodal__visit {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  background: var(--gold);
  color: var(--marine-1);
  padding: 12px 22px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  transition: background 200ms, transform 200ms;
}
.pmodal__visit:hover { background: #F2D89A; transform: translateY(-1px); }

@media (max-width: 760px) {
  .pmodal__stage { grid-template-columns: 1fr; gap: var(--s-2); }
  .pmodal__nav { width: auto; align-self: stretch; text-align: center; }
  .pmodal__nav--prev { order: 2; }
  .pmodal__hero { order: 0; }
  .pmodal__nav--next { order: 3; }
}

/* ==========================================================
   Toast
   ========================================================== */

.toast-stack {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--marine-2);
  color: var(--ink);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 240ms, transform 240ms;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.toast.is-shown { opacity: 1; transform: translateY(0); }

/* ==========================================================
   Footer
   ========================================================== */

.footer {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vh, 120px) 0 var(--s-5);
  margin-top: clamp(64px, 9vh, 128px);
  position: relative;
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--rail-pad);
  padding-right: var(--rail-pad);
}

.footer__hero {
  text-align: center;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
}

.footer__brand {
  display: block;
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 0.9;
  margin: 0 0 var(--s-3);
}

.footer__tagline {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1vw + 0.7rem, 1.625rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-4); }
}

.footer__col-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--s-3);
}

.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin: 0 0 8px; }
.footer__list a {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: color 200ms, border-color 200ms;
}
.footer__list a:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.footer__copy {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

/* ==========================================================
   Cinematic intro — vallende sterren + typewriter + curtain
   (alleen op homepage)
   ========================================================== */

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.intro__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(180deg, #02040E 0%, #04061B 50%, #050B22 100%);
  z-index: 1;
  transition: transform 1100ms cubic-bezier(0.76, 0, 0.24, 1);
}
.intro__panel--l { left: 0; }
.intro__panel--r { right: 0; }

.intro.is-opening .intro__panel--l { transform: translateX(-100%); }
.intro.is-opening .intro__panel--r { transform: translateX(100%); }

.intro__stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  transition: opacity 700ms ease-out;
}
.intro.is-opening .intro__stage { opacity: 0; }

.intro__starfield { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.bgstar {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #F4F1EB;
  border-radius: 50%;
  opacity: 0;
  animation: bgstar-twinkle 4s ease-in-out infinite;
}
.bgstar--xs { width: 1px; height: 1px; }
.bgstar--lg { width: 3px; height: 3px; box-shadow: 0 0 4px rgba(244, 241, 235, 0.6); }
.bgstar:nth-child(3n)   { animation-delay: 0s;    animation-duration: 5s; }
.bgstar:nth-child(3n+1) { animation-delay: 1.2s;  animation-duration: 6s; }
.bgstar:nth-child(3n+2) { animation-delay: 2.5s;  animation-duration: 4.5s; }
.bgstar:nth-child(5n)   { animation-delay: 0.8s; }

@keyframes bgstar-twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.4); }
}

.intro__star {
  position: absolute;
  width: 220px;
  height: 3px;
  transform-origin: right center;
  opacity: 0;
  z-index: 4;
}
.intro__star-tail {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 0%, rgba(107, 63, 255, 0.3) 50%, rgba(196, 107, 255, 0.7) 85%, #FFE9FF 100%);
  filter: blur(0.5px);
}
.intro__star-head {
  position: absolute;
  right: -3px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #FFE9FF;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 12px var(--aurora-pink), 0 0 32px rgba(196, 107, 255, 0.6), 0 0 64px rgba(107, 63, 255, 0.3);
}

.intro__star--main {
  top: -30vh;
  right: -20vw;
  transform: rotate(135deg);
}
.intro.stage-star .intro__star--main {
  animation: star-fall 1500ms cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes star-fall {
  0%   { opacity: 0; top: -30vh; right: -20vw; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; top: 50vh;  right: 50vw; }
}

.intro__seed {
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  background: #FFE9FF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 3;
}

.intro.stage-seed .intro__seed {
  animation: seed-burst 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes seed-burst {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4); box-shadow: 0 0 0 0 rgba(196, 107, 255, 0.95); }
  20%  { opacity: 1; transform: translate(-50%, -50%) scale(1.6); }
  60%  { opacity: 0.8; box-shadow: 0 0 80px 30px rgba(107, 63, 255, 0.25); }
  100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 120px 40px rgba(107, 63, 255, 0.10); }
}

.intro__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  z-index: 3;
}

.intro__type {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5vw + 0.5rem, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #F4F1EB;
  white-space: nowrap;
  opacity: 0;
}
.intro.stage-type .intro__type { opacity: 1; }

.intro__type-text { display: inline-block; overflow: hidden; width: 0; white-space: nowrap; }
.intro.stage-type .intro__type-text { animation: typewriter 1700ms steps(16) forwards; }

@keyframes typewriter { to { width: 16ch; } }

.intro__type-cursor {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  background: var(--gold);
  margin-left: 6px;
  opacity: 0;
  box-shadow: 0 0 8px rgba(222, 193, 138, 0.6);
}
.intro.stage-type .intro__type-cursor {
  opacity: 1;
  animation: cursor-blink 0.55s steps(2) infinite;
}

@keyframes cursor-blink { 50% { opacity: 0; } }

.intro__tagline {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.55);
  margin-top: var(--s-2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}
.intro.stage-tagline .intro__tagline { opacity: 1; transform: translateY(0); }

.intro__est {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(222, 193, 138, 0.6);
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(244, 241, 235, 0.10);
  width: clamp(280px, 50%, 480px);
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
}
.intro.stage-est .intro__est { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* ==========================================================
   Cosmic dust — extra floating particles in viewport
   ========================================================== */

.cosmic-dust {
  display: none; /* perf: 12 oneindige animaties uit per default — aurora doet het werk al */
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.cosmic-dust__particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  filter: blur(0.5px);
  animation: dust-float 18s ease-in-out infinite;
}

/* Intro skip hint — rechtsonder, subtiel */
.intro__skip {
  position: absolute;
  bottom: clamp(20px, 4vh, 40px);
  right: clamp(20px, 4vw, 40px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(244, 241, 235, 0.06);
  border: 1px solid rgba(244, 241, 235, 0.18);
  border-radius: 100px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  animation: intro-skip-fade-in 600ms 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: background 200ms, border-color 200ms, transform 200ms;
  z-index: 100;
}
.intro__skip:hover {
  background: rgba(244, 241, 235, 0.12);
  border-color: var(--gold);
  transform: translateY(0) scale(1.02);
}
.intro__skip-key {
  display: inline-block;
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(244, 241, 235, 0.2);
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0;
}
.intro__skip-label { color: var(--ink-muted); }
@keyframes intro-skip-fade-in {
  to { opacity: 1; transform: translateY(0); }
}

.cosmic-dust__particle:nth-child(1)  { top: 12%; left: 8%;  animation-delay: 0s;    animation-duration: 16s; }
.cosmic-dust__particle:nth-child(2)  { top: 28%; left: 22%; animation-delay: 2s;    animation-duration: 19s; background: var(--aurora-purple); }
.cosmic-dust__particle:nth-child(3)  { top: 18%; left: 78%; animation-delay: 4s;    animation-duration: 21s; }
.cosmic-dust__particle:nth-child(4)  { top: 42%; left: 88%; animation-delay: 6s;    animation-duration: 17s; background: var(--aurora-cyan); }
.cosmic-dust__particle:nth-child(5)  { top: 58%; left: 12%; animation-delay: 1.5s;  animation-duration: 23s; }
.cosmic-dust__particle:nth-child(6)  { top: 72%; left: 65%; animation-delay: 3.5s;  animation-duration: 20s; background: var(--aurora-pink); }
.cosmic-dust__particle:nth-child(7)  { top: 88%; left: 32%; animation-delay: 5.5s;  animation-duration: 18s; }
.cosmic-dust__particle:nth-child(8)  { top: 8%;  left: 55%; animation-delay: 7s;    animation-duration: 22s; background: var(--aurora-purple); }
.cosmic-dust__particle:nth-child(9)  { top: 48%; left: 48%; animation-delay: 9s;    animation-duration: 16s; background: var(--aurora-cyan); }
.cosmic-dust__particle:nth-child(10) { top: 80%; left: 88%; animation-delay: 11s;   animation-duration: 19s; }
.cosmic-dust__particle:nth-child(11) { top: 35%; left: 5%;  animation-delay: 13s;   animation-duration: 17s; background: var(--gold); }
.cosmic-dust__particle:nth-child(12) { top: 68%; left: 92%; animation-delay: 15s;   animation-duration: 21s; background: var(--aurora-pink); }

@keyframes dust-float {
  0%, 100% { opacity: 0;   transform: translate(0, 0) scale(1); }
  20%      { opacity: 0.6; transform: translate(20px, -30px) scale(1.3); }
  50%      { opacity: 0.8; transform: translate(-10px, -50px) scale(1); box-shadow: 0 0 6px currentColor; }
  80%      { opacity: 0.4; transform: translate(15px, -20px) scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
  .cosmic-dust__particle { animation: none; opacity: 0.4; }
}

/* ==========================================================
   Mouse-aware monogram glow (hero)
   ========================================================== */

.hero__monogram {
  transition: filter 280ms ease-out;
}

/* ==========================================================
   Add-to-home-screen prompt
   ========================================================== */

.a2hs {
  position: fixed;
  bottom: max(80px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: none;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 20px;
  background: var(--marine-2);
  border: 1px solid var(--gold);
  color: var(--ink);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 32px rgba(2, 6, 26, 0.6);
  animation: a2hs-bob 3s ease-in-out infinite;
}
.a2hs.is-visible { display: inline-flex; }
.a2hs__btn {
  background: var(--gold);
  color: var(--marine-1);
  border: 0;
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}
.a2hs__close {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 14px;
}

@keyframes a2hs-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-3px); }
}

/* ==========================================================
   Page-load progress bar (top)
   ========================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--aurora-purple), var(--aurora-cyan));
  z-index: 95;
  transition: width 80ms linear;
  pointer-events: none;
  box-shadow: 0 0 8px var(--aurora-purple);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}

/* ==========================================================
   Magnetic buttons (cursor-aware lift)
   ========================================================== */

.btn,
.hero__chip--cta a,
.contact-action {
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
              background 200ms,
              border-color 200ms,
              box-shadow 280ms;
}

.btn:hover {
  box-shadow: 0 8px 24px rgba(107, 63, 255, 0.30);
}
.btn--gold:hover {
  box-shadow: 0 8px 24px rgba(222, 193, 138, 0.40);
}

/* ==========================================================
   Sticky TOC for venture pages
   ========================================================== */

.toc {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: none;
  flex-direction: column;
  gap: 4px;
}

@media (min-width: 1280px) {
  .toc { display: flex; }
}

.toc__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 200ms;
  justify-content: flex-end;
}

.toc__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink-soft);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 200ms, border-color 200ms;
}

.toc__label {
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 200ms, transform 200ms;
}

.toc__item:hover .toc__label,
.toc__item:focus-visible .toc__label {
  opacity: 1;
  transform: translateX(0);
}

.toc__item:hover .toc__dot,
.toc__item.is-active .toc__dot {
  background: var(--gold);
  border-color: var(--gold);
}

.toc__item.is-active {
  color: var(--gold);
}

/* ==========================================================
   Section divider (animated SVG hairline)
   ========================================================== */

.divider {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  height: 24px;
  pointer-events: none;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--rail-pad);
  padding-right: var(--rail-pad);
}
.divider svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.divider line {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1400ms ease-out;
}
.divider.fade-in.is-visible line {
  stroke-dashoffset: 0;
}
.divider__dot {
  fill: var(--gold);
  opacity: 0;
  transition: opacity 600ms ease-out 600ms;
  filter: drop-shadow(0 0 4px var(--gold));
}
.divider.fade-in.is-visible .divider__dot {
  opacity: 1;
}

/* ==========================================================
   Floating action button (FAB) — kbd shortcut hint
   ========================================================== */

.fab {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  right: max(24px, env(safe-area-inset-right, 0px));
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(107, 63, 255, 0.20);
  border: 1px solid var(--aurora-purple);
  color: var(--ink);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(107, 63, 255, 0.30);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
              background 240ms;
}
.fab:hover {
  background: rgba(107, 63, 255, 0.35);
  transform: translateY(-2px);
}
.fab__kbd {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  background: rgba(244, 241, 235, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 600px) {
  .fab { padding: 10px 14px; bottom: 16px; right: 16px; font-size: 10px; }
  .fab__kbd { display: none; }
}

/* ==========================================================
   Countdown widget (Hijri events)
   ========================================================== */

.countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(244, 241, 235, 0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.countdown__num {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.countdown__label {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.18em;
}

/* ==========================================================
   Anchor link icon (visible op hover van section-label)
   ========================================================== */

.section-label {
  position: relative;
}

.section-label__anchor {
  display: inline-block;
  margin-left: var(--s-2);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0 4px;
  opacity: 0;
  transition: opacity 200ms, color 200ms;
}
.section-label:hover .section-label__anchor,
.section-label__anchor:focus-visible {
  opacity: 0.8;
}
.section-label__anchor:hover {
  color: var(--gold);
  opacity: 1;
}

/* ==========================================================
   Footer enrichment
   ========================================================== */

.footer__live {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.footer__live strong {
  color: var(--ink);
  font-weight: 500;
}
.footer__live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--aurora-cyan);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 3px rgba(91, 207, 255, 0.20);
  animation: live-pulse 2s ease-in-out infinite;
}
.footer__live-sep { opacity: 0.4; margin: 0 4px; }

/* ==========================================================
   Easter-egg modes
   ========================================================== */

.cosmic-flash .aurora__band {
  filter: blur(60px) saturate(180%) brightness(1.4) !important;
  transition: filter 800ms ease-out;
}
.cosmic-flash .hero__monogram {
  filter: drop-shadow(0 0 32px var(--aurora-purple)) drop-shadow(0 0 64px var(--aurora-pink)) !important;
}

.quantum-mode {
  --aurora-purple: #FF00FF;
  --aurora-violet: #00FFFF;
  --aurora-cyan:   #00FF88;
  --aurora-pink:   #FFAA00;
}
.quantum-mode .aurora__band {
  filter: blur(60px) saturate(200%) brightness(1.5) !important;
}
.quantum-mode .hero__title em {
  background: linear-gradient(135deg, #FF00FF, #00FFFF, #00FF88, #FFAA00) !important;
  -webkit-background-clip: text;
  background-clip: text;
  animation: quantum-shift 3s linear infinite;
  background-size: 200% 100%;
}
@keyframes quantum-shift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ==========================================================
   Reading mode — strip alle decoratie
   ========================================================== */

.reading-mode .aurora,
.reading-mode .aurora__stars,
.reading-mode .aurora__vignette,
.reading-mode #constellation,
.reading-mode .cursor-square,
.reading-mode .cursor-trail,
.reading-mode .brand-mini,
.reading-mode .topnav,
.reading-mode .hero__monogram,
.reading-mode .hero-live,
.reading-mode .hero__chips,
.reading-mode .hero__scroll,
.reading-mode .cosmic-dust,
.reading-mode .scroll-progress,
.reading-mode .fab,
.reading-mode .b2t,
.reading-mode .mdrawer,
.reading-mode .navmeta,
.reading-mode .page-fade,
.reading-mode .footer__live,
.reading-mode .a2hs,
.reading-mode .stoc,
.reading-mode .topnav__burger {
  display: none !important;
}
.reading-mode body {
  background: #FFFFFF !important;
  color: #1F1E1C !important;
}
.reading-mode .hero {
  min-height: auto !important;
  padding: var(--s-7) var(--rail-pad) var(--s-5) !important;
  background: #FFFFFF !important;
}
.reading-mode .hero__title,
.reading-mode .hero__sub,
.reading-mode .page-header__title,
.reading-mode .page-header__sub,
.reading-mode .vcard__name,
.reading-mode .vcard__pitch,
.reading-mode .section-label__text {
  color: #1F1E1C !important;
}
.reading-mode .hero__title em {
  background: none !important;
  -webkit-text-fill-color: #1F1E1C !important;
  color: #1F1E1C !important;
}
.reading-mode * {
  animation: none !important;
  transition: none !important;
}

/* ==========================================================
   Scroll fade-in helper
   ========================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
  will-change: opacity, transform;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   Smart back-to-top button
   ========================================================== */

.b2t {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(72px, 10vh, 100px);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(5, 11, 34, 0.78);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  pointer-events: none;
  transition: opacity 280ms ease-out, transform 280ms cubic-bezier(0.22, 1, 0.36, 1), border-color 280ms;
  z-index: 80;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.b2t.is-visible {
  opacity: 0.92;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.b2t:hover { border-color: var(--gold); color: var(--gold); opacity: 1; }
.b2t:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .b2t { transition: opacity 200ms; transform: none; }
  .b2t.is-visible { transform: none; }
}

/* ==========================================================
   Page transition fade
   ========================================================== */

.page-fade {
  position: fixed;
  inset: 0;
  background: var(--marine-1, #050B22);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: opacity 220ms ease-out;
}
.page-fade.is-entering {
  opacity: 1;
  animation: page-fade-in 320ms ease-out forwards;
}
.page-fade.is-leaving {
  opacity: 1;
  pointer-events: auto;
}
@keyframes page-fade-in {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .page-fade { display: none; }
}

/* ==========================================================
   External link auto-marker (only for prose / inline links)
   Skip on cards, btns, nav, palette, modal, status-card, vcompare
   ========================================================== */

main a[target="_blank"]:not(.btn):not(.vcard):not(.status-card):not(.kpalette__item)::after {
  content: " ↗";
  font-size: 0.85em;
  color: var(--gold);
  margin-left: 1px;
  letter-spacing: 0;
}
@media print {
  main a[target="_blank"]::after { content: " (" attr(href) ")"; color: #555; }
}

/* ==========================================================
   Privacy stance (home, between pullquote and ayah)
   ========================================================== */

.privacy-stance {
  max-width: 64ch;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(107,63,255,0.06), rgba(196,107,255,0.04));
  text-align: left;
}
.privacy-stance__eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}
.privacy-stance__lead {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 var(--s-4);
}
.privacy-stance__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-4);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--serif);
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.0625rem);
  color: var(--ink-muted);
  line-height: 1.5;
}
.privacy-stance__list li {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px;
  align-items: baseline;
}
.privacy-stance__check {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0;
}
.privacy-stance__sign {
  margin: 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.9375rem, 0.3vw + 0.9rem, 1rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ==========================================================
   Sticky TOC (auto on long pages: about, updates, press, ventures)
   ========================================================== */

.stoc {
  position: fixed;
  top: 50%;
  right: clamp(16px, 2vw, 28px);
  transform: translateY(-50%);
  z-index: 70;
  max-width: 220px;
  pointer-events: auto;
  display: none;
}
@media (min-width: 1100px) {
  .stoc { display: block; }
}
.stoc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stoc__link {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 6px 10px;
  text-decoration: none;
  border-left: 1px solid var(--line);
  border-radius: 0 4px 4px 0;
  transition: border-left-color 240ms, background 240ms, transform 240ms;
}
.stoc__num {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.stoc__text {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  line-height: 1.3;
}
.stoc__link:hover {
  background: rgba(244, 241, 235, 0.04);
  border-left-color: var(--ink-muted);
}
.stoc__link.is-active {
  border-left-color: var(--gold);
  transform: translateX(2px);
}
.stoc__link.is-active .stoc__num,
.stoc__link.is-active .stoc__text { color: var(--ink); }

@media print { .stoc { display: none !important; } }

/* ==========================================================
   Founder biocard (about §02)
   ========================================================== */

.founder-card {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: clamp(20px, 3vw, 36px);
  max-width: 64ch;
  align-items: start;
}
.founder-card__avatar {
  width: clamp(96px, 14vw, 140px);
  flex-shrink: 0;
}
.founder-card__avatar svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(107, 63, 255, 0.18);
}
.founder-card__body {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  line-height: 1.7;
  color: var(--ink-muted);
}
.founder-card__body p { margin: 0 0 var(--s-3); }
.founder-card__body p:last-child { margin-bottom: 0; }
.founder-card__role {
  font-family: var(--sans) !important;
  font-size: 11px !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3) !important;
  line-height: 1.4 !important;
}
.founder-card__sign {
  font-style: normal;
  color: var(--ink-soft);
  margin-top: var(--s-4) !important;
  letter-spacing: 0.02em;
}
@media (max-width: 600px) {
  .founder-card { grid-template-columns: 1fr; }
  .founder-card__avatar { width: 80px; }
}

/* ==========================================================
   Site search overlay (Cmd+/)
   ========================================================== */

.sitesearch {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 26, 0.74);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease-out;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 10vh, 120px) clamp(16px, 4vw, 32px) var(--s-5);
  overflow-y: auto;
}
.sitesearch.is-open { opacity: 1; pointer-events: auto; }
.sitesearch__panel {
  width: 100%;
  max-width: 640px;
  background: var(--marine-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: var(--s-3);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.sitesearch__head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--s-2);
  margin-bottom: var(--s-2);
}
.sitesearch__input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  outline: 0;
  padding: 8px 4px;
}
.sitesearch__input::placeholder { color: var(--ink-soft); }
.sitesearch__close {
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 13px;
  transition: border-color 200ms, color 200ms;
}
.sitesearch__close:hover { border-color: var(--gold); color: var(--gold); }
.sitesearch__results {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 56vh;
  overflow-y: auto;
}
.sitesearch__item a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 6px;
  transition: background 160ms, transform 160ms;
}
.sitesearch__item.is-focus a,
.sitesearch__item a:hover {
  background: rgba(107, 63, 255, 0.10);
  transform: translateX(3px);
}
.sitesearch__title {
  display: block;
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 2px;
}
.sitesearch__desc {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.4;
}
.sitesearch__empty {
  padding: var(--s-3);
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
}
.sitesearch__hint {
  margin: var(--s-2) 0 0;
  padding-top: var(--s-2);
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

/* ==========================================================
   Performance: drop expensive effects during active scroll
   backdrop-filter + scrolling content = killer combo on most GPUs
   ========================================================== */

body.is-scrolling .topnav,
body.is-scrolling .b2t,
body.is-scrolling .mdrawer__panel,
body.is-scrolling .kpalette__panel,
body.is-scrolling .a2hs,
body.is-scrolling .pmodal__panel {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.is-scrolling .cosmic-dust__particle,
body.is-scrolling .cursor-trail span,
body.is-scrolling .footer__live-dot,
body.is-scrolling .vcompare__pulse,
body.is-scrolling .status-card__pulse-dot {
  animation-play-state: paused !important;
}

/* content-visibility: skip rendering offscreen rails (massive scroll win) */
.rail {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}
/* Hero rail must NOT be content-visibility — it's always above the fold */
.hero, .page-header, .vstrip {
  content-visibility: visible;
}

/* GPU promote aurora wrapper as a single composited layer */
.aurora { will-change: transform; transform: translateZ(0); }
.aurora__stars { will-change: opacity; transform: translateZ(0); }

/* Constellation canvas: only paint during interaction */
#constellation {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}
body.is-scrolling #constellation {
  opacity: 0;
  transition: opacity 80ms linear;
}

/* ==========================================================
   Page-specific styles (consolidated from inline <style> blocks)
   ========================================================== */

/* --- updates.html — stand van zaken --- */
.status-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 64ch;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.status-list__item {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(244, 241, 235, 0.03);
  align-items: start;
  transition: border-color 240ms;
}
.status-list__item:hover { border-color: var(--gold); }
.status-list__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.status-list__item--live .status-list__dot {
  background: #34D399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: live-pulse 2s ease-in-out infinite;
}
.status-list__item--build .status-list__dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(222, 193, 138, 0.18);
}
.status-list__body { display: flex; flex-direction: column; gap: 6px; }
.status-list__body h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 0.5vw + 1.1rem, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.status-list__body p {
  font-family: var(--serif);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.0625rem);
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}
.status-list__body a:not(.status-list__link) {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(222, 193, 138, 0.4);
}
.status-list__link {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 200ms, border-bottom-color 200ms;
}
.status-list__link:hover { color: var(--gold); border-bottom-color: var(--gold); }

.status-list--plain {
  background: transparent;
  border: 0;
  padding: 0;
}
.status-list--plain li {
  font-family: var(--serif);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.0625rem);
  line-height: 1.6;
  color: var(--ink-muted);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
}
.status-list--plain li:last-child { border-bottom: 0; }
.status-list--plain strong {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

/* --- updates.html — werklog timeline (legacy, kept for old feed-style) --- */
.log {
  max-width: 64ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 56px);
}
.log__entry {
  position: relative;
  padding-left: clamp(24px, 4vw, 40px);
  border-left: 1px solid var(--line);
}
.log__entry::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(222, 193, 138, 0.14);
}
.log__date {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}
.log__title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 0.6vw + 1.1rem, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 var(--s-2);
}
.log__body {
  font-family: var(--serif);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}
.log__tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-right: 6px;
  margin-top: var(--s-2);
}

/* --- press.html — one-liners + factsheet --- */
.one-liners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-3);
  max-width: var(--content-max);
  margin: 0 auto;
}
.one-liners__card {
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 241, 235, 0.03);
}
.one-liners__label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-2);
}
.one-liners__quote {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}
.factsheet {
  max-width: 64ch;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-muted);
}
.factsheet dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--s-2) var(--s-4);
  margin: 0;
}
.factsheet dt {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 4px;
}
.factsheet dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
}
@media (max-width: 600px) {
  .factsheet dl { grid-template-columns: 1fr; gap: 4px var(--s-3); }
  .factsheet dt { padding-top: var(--s-3); }
}

/* --- status.html — venture status grid --- */
.status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.5vw, 20px);
  max-width: 900px;
  margin: 0 auto;
}
.status-card {
  display: grid;
  grid-template-columns: max-content 1fr max-content max-content;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  background: rgba(244, 241, 235, 0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), border-color 280ms;
}
.status-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.status-card__logo {
  width: 48px; height: 48px;
  object-fit: contain;
  background: rgba(244, 241, 235, 0.96);
  padding: 6px;
  border-radius: 6px;
  flex-shrink: 0;
}
.status-card__info { display: flex; flex-direction: column; gap: 2px; }
.status-card__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}
.status-card__url {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
}
.status-card__pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.status-card__pulse-dot {
  width: 10px; height: 10px;
  background: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: live-pulse 2s ease-in-out infinite;
}
.status-card__sector {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 640px) {
  .status-card { grid-template-columns: max-content 1fr; }
  .status-card__sector, .status-card__pulse { grid-column: 1 / -1; padding-left: 64px; }
}
.status-meta {
  text-align: center;
  margin-top: var(--s-6);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.status-meta strong { color: var(--ink); font-weight: 500; }

/* --- 404.html — niet gevonden --- */
.nf {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--rail-pad);
  text-align: center;
  position: relative;
}
.nf__inner { position: relative; z-index: 1; max-width: 60ch; }
.nf__num {
  font-family: var(--serif);
  font-size: clamp(7rem, 20vw, 14rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--gold), var(--aurora-pink), var(--aurora-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 var(--s-3);
  font-variant-numeric: tabular-nums;
}
.nf__msg {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 auto var(--s-3);
  color: var(--ink);
}
.nf__sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.125rem);
  color: var(--ink-muted);
  margin: 0 0 var(--s-5);
  line-height: 1.5;
}
.nf__actions {
  display: flex;
  gap: var(--s-2);
  justify-content: center;
  flex-wrap: wrap;
}
.nf__guess {
  margin: 0 auto var(--s-4);
  max-width: 60ch;
  font-family: var(--serif);
  font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.05rem);
  color: var(--ink-muted);
  line-height: 1.5;
}
.nf__guess a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.nf__hint {
  margin: var(--s-4) auto 0;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nf__hint kbd {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0;
  color: var(--ink);
  background: rgba(244, 241, 235, 0.04);
  margin: 0 2px;
}
.nf__recs {
  list-style: none;
  padding: 0;
  margin: var(--s-5) auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-2);
  max-width: 720px;
}
.nf__recs a {
  display: block;
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 241, 235, 0.03);
  text-decoration: none;
  text-align: left;
  transition: border-color 220ms, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nf__recs a:hover { border-color: var(--gold); transform: translateY(-2px); }
.nf__recs-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.nf__recs-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--ink);
}

/* ==========================================================
   Manifesto block — replaces oude pullquote, op home
   ========================================================== */

.manifesto {
  padding: clamp(96px, 16vh, 180px) var(--rail-pad);
  display: grid;
  place-items: center;
  position: relative;
}
.manifesto__figure {
  margin: 0;
  max-width: 56ch;
  text-align: center;
  position: relative;
}
.manifesto__quote-mark {
  display: block;
  font-family: var(--serif);
  font-size: clamp(7rem, 14vw, 12rem);
  line-height: 0.4;
  color: var(--gold);
  opacity: 0.32;
  margin: 0 0 -24px;
  font-style: italic;
}
.manifesto__quote {
  margin: 0;
  position: relative;
  z-index: 1;
}
.manifesto__lead {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw + 0.5rem, 4.5rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 var(--s-4);
  background: linear-gradient(180deg, var(--ink) 0%, rgba(244, 241, 235, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.manifesto__lead em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold) 0%, var(--aurora-pink) 60%, var(--aurora-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}
.manifesto__sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 0.5vw + 0.95rem, 1.1875rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 44ch;
  margin: 0 auto;
  letter-spacing: -0.005em;
}
.manifesto__cite {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
  margin-top: clamp(40px, 6vh, 64px);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.manifesto__cite-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 50%, var(--gold) 100%);
}
.manifesto__cite-line:last-child {
  background: linear-gradient(90deg, var(--gold) 0%, var(--line) 50%, transparent 100%);
}

@media (prefers-reduced-motion: reduce) {
  .manifesto__lead, .manifesto__lead em {
    background: none;
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
  }
  .manifesto__lead em { color: var(--gold); }
}

/* ==========================================================
   "Wat we niet doen" list (about §03)
   ========================================================== */

.not-list {
  list-style: none;
  padding: 0;
  margin: var(--s-3) 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.not-list li {
  position: relative;
  padding-left: 28px;
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.0625rem);
  line-height: 1.6;
}
.not-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
}
.not-list strong {
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================================
   Thank-you page (after form submit)
   ========================================================== */

.ty {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--rail-pad);
  text-align: center;
}
.ty__inner { max-width: 56ch; position: relative; z-index: 1; }
.ty__check {
  width: clamp(80px, 14vw, 120px);
  height: auto;
  margin: 0 auto var(--s-4);
  display: block;
  filter: drop-shadow(0 6px 24px rgba(196, 107, 255, 0.25));
  animation: ty-check-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ty__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--s-3);
}
.ty__title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 var(--s-3);
}
.ty__sub {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0 auto var(--s-5);
  max-width: 50ch;
}
.ty__actions {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
}
.ty__sign {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@keyframes ty-check-in {
  from { opacity: 0; transform: scale(0.7) rotate(-8deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ==========================================================
   Contact form — split-screen, premium
   ========================================================== */

.cform {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}
.cform__panel {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  background: rgba(244, 241, 235, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.cform__panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(107, 63, 255, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cform__intro {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  z-index: 1;
}
.cform__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.cform__heading {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 2vw + 1rem, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.cform__heading em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, var(--aurora-pink) 60%, var(--aurora-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cform__lede {
  font-family: var(--serif);
  font-size: clamp(0.9375rem, 0.3vw + 0.9rem, 1rem);
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
  max-width: 32ch;
}
.cform__assurances {
  list-style: none;
  padding: var(--s-3) 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.cform__assurances li {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}
.cform__assurances li span {
  color: var(--gold);
  font-weight: 600;
  font-size: 11px;
}

.cform__form {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  z-index: 1;
}

.cform__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
  position: relative;
}
.cform__field legend,
.cform__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0;
}
.cform__optional {
  font-size: 10px;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0.04em;
  margin-left: 6px;
}
.cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.cform input[type="text"],
.cform input[type="email"],
.cform textarea {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: rgba(2, 6, 26, 0.4);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  outline: 0;
  width: 100%;
  transition: border-color 200ms, background 200ms, box-shadow 200ms;
  font-variant-ligatures: common-ligatures;
}
.cform input::placeholder,
.cform textarea::placeholder {
  color: var(--ink-soft);
  font-style: italic;
}
.cform input:focus,
.cform textarea:focus {
  border-color: var(--gold);
  background: rgba(2, 6, 26, 0.6);
  box-shadow: 0 0 0 4px rgba(222, 193, 138, 0.12);
}
.cform input:invalid:not(:placeholder-shown),
.cform textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 100, 100, 0.5);
}
.cform textarea {
  resize: vertical;
  min-height: 140px;
}
.cform__counter {
  align-self: flex-end;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.cform__counter[data-overflow="true"] { color: rgba(255, 100, 100, 0.8); }

/* Radio cards */
.cform__field--topic legend {
  margin-bottom: var(--s-2);
}
.cform__radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.cform__radio {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  background: rgba(2, 6, 26, 0.3);
  transition: border-color 200ms, background 200ms, transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.cform__radio:hover {
  border-color: rgba(222, 193, 138, 0.5);
  background: rgba(2, 6, 26, 0.5);
}
.cform__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cform__radio:has(input:checked) {
  border-color: var(--gold);
  background: rgba(222, 193, 138, 0.08);
  transform: translateY(-1px);
}
.cform__radio:has(input:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.cform__radio-icon {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
  margin-top: 2px;
  width: 28px;
  text-align: center;
}
.cform__radio-label {
  display: block;
  font-family: var(--serif);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.cform__radio-sub {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 2px;
  line-height: 1.35;
  grid-column: 2;
}

/* Submit */
.cform__footer {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  border-top: 1px solid var(--line);
  padding-top: var(--s-3);
  margin-top: var(--s-2);
}
.cform__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marine-1);
  background: linear-gradient(135deg, var(--gold) 0%, #F0D89E 100%);
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  align-self: flex-start;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms;
  box-shadow: 0 4px 20px rgba(222, 193, 138, 0.25);
}
.cform__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(222, 193, 138, 0.4);
}
.cform__submit:active { transform: translateY(0); }
.cform__submit svg { transition: transform 200ms; }
.cform__submit:hover svg { transform: translateX(3px); }
.cform__hint {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
  font-style: italic;
}
.cform__hint em { font-style: italic; color: var(--ink-muted); }

@media (max-width: 800px) {
  .cform__panel { grid-template-columns: 1fr; padding: var(--s-4); }
  .cform__intro { padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
  .cform__row { grid-template-columns: 1fr; }
  .cform__radio-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   FAQ — disclosure widget on contact + about
   ========================================================== */

.faq {
  max-width: 64ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: var(--s-3) 0;
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  padding: 8px 36px 8px 0;
  position: relative;
  letter-spacing: -0.005em;
  transition: color 200ms;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 24px;
  color: var(--gold);
  font-weight: 300;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  line-height: 1;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--gold); }
.faq__item p {
  font-family: var(--serif);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-muted);
  margin: var(--s-2) 0 var(--s-2);
  max-width: 60ch;
}

/* ==========================================================
   QR-code cards (contact page)
   ========================================================== */

.qr-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-3);
  max-width: 720px;
  margin: 0 auto;
}
.qr-card {
  margin: 0;
  padding: var(--s-4);
  background: rgba(244, 241, 235, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
  transition: border-color 240ms;
}
.qr-card:hover { border-color: var(--gold); }
.qr-card__img {
  width: 200px;
  height: 200px;
  display: block;
  background: rgba(5, 11, 34, 0.4);
  padding: 12px;
  border-radius: 8px;
}
.qr-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qr-card__label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.qr-card__sub {
  font-family: var(--serif);
  font-size: clamp(0.9375rem, 0.3vw + 0.9rem, 1rem);
  color: var(--ink-muted);
  line-height: 1.5;
  max-width: 28ch;
}
@media print {
  .qr-card__img { background: #fff !important; }
}

/* ==========================================================
   Theme variants (data-theme on <html>) — only re-tints aurora bands
   ========================================================== */

/* Dawn — warmer, softer, gold + rose, less purple */
html[data-theme="dawn"] {
  --aurora-purple: #C46BFF;
  --aurora-violet: #DEC18A;
  --aurora-cyan: #FFB347;
  --aurora-pink: #FF8FA3;
}
html[data-theme="dawn"] .aurora__band--1 { opacity: 0.7; }
html[data-theme="dawn"] .aurora__band--2 { opacity: 0.55; }
html[data-theme="dawn"] .aurora__band--3 { opacity: 0.5; }
html[data-theme="dawn"] .aurora__band--4 { opacity: 0.45; }

/* Midnight — cooler, deeper, ice-blue dominance, less pink */
html[data-theme="midnight"] {
  --aurora-purple: #4A6CFF;
  --aurora-violet: #6B7FE0;
  --aurora-cyan: #5DD3F0;
  --aurora-pink: #6B6FFF;
  --marine-1: #03061A;
}
html[data-theme="midnight"] body { background: var(--marine-1); }
html[data-theme="midnight"] .aurora__band--1 { opacity: 0.85; }
html[data-theme="midnight"] .aurora__band--3 { opacity: 0.30; }

/* ==========================================================
   Focus-visible audit — consistent gold rings everywhere
   ========================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
/* Buttons in palette/search/drawer use their own focus pattern via .is-focus */
.kpalette__item:focus-visible,
.sitesearch__item:focus-visible {
  outline: none;
}

/* Skip-link must always be visible when focused */
.skip-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
