/* LJLK — elegant futuristic logo navigation (hybrid) */

:root {
  --ljlk-bg: #FCFAF7;
  --ljlk-bg-deep: #F1EDF5;
  --ljlk-ink: #17131D;
  --ljlk-muted: rgba(23, 19, 29, 0.55);
  --ljlk-line: rgba(23, 19, 29, 0.1);
  --ljlk-glass: rgba(255, 255, 255, 0.42);
  --ljlk-glass-border: rgba(255, 255, 255, 0.55);
  --ljlk-green: #36BD5F;
  --ljlk-red: #FF3B3C;
  --ljlk-purple: #7A35E8;
  --ljlk-yellow: #FEB333;
  --ljlk-accent: #17131D;
  --ljlk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ljlk-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
  --ljlk-dur: 520ms;
  --ljlk-sans: "Inter", system-ui, sans-serif;
  --ljlk-serif: "Lora", Georgia, serif;
  --ljlk-display: "Lora", Georgia, serif;
  --ljlk-round: "Baloo 2", "Fredoka", system-ui, sans-serif;
}

html:has(body.ljlk-logo-home),
body.ljlk-logo-home {
  margin: 0;
  background: var(--ljlk-bg);
  color: var(--ljlk-ink);
  overflow: hidden;
  height: 100%;
}

body.ljlk-logo-home {
  font-family: var(--ljlk-sans);
  min-height: 100svh;
}

body.ljlk-logo-home .site,
body.ljlk-logo-home #page,
body.ljlk-logo-home .site-header,
body.ljlk-logo-home .site-footer,
body.ljlk-logo-home #masthead,
body.ljlk-logo-home #colophon,
body.ljlk-logo-home .sidebar,
body.ljlk-logo-home #right-sidebar,
body.ljlk-logo-home #left-sidebar {
  display: none !important;
}

.ljlk-logo-nav {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  padding: clamp(1rem, 2.4vw, 1.75rem) clamp(1.1rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
  transition: background 0.7s var(--ljlk-ease);
}

/* Atmosphere */
.ljlk-logo-nav__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, #fffcf7 0%, var(--ljlk-bg) 62%, var(--ljlk-bg-deep) 100%);
  overflow: hidden;
}

.ljlk-logo-nav__atmosphere::after {
  content: none;
}

.ljlk-logo-nav__glow {
  position: absolute;
  width: 50vmin;
  height: 50vmin;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  mix-blend-mode: multiply;
  animation: none;
  transition: opacity 0.8s ease;
}

.ljlk-logo-nav__glow--green {
  background: radial-gradient(circle, #8af0b0, var(--ljlk-green) 50%, transparent 70%);
  top: 4%; left: 2%;
}
.ljlk-logo-nav__glow--red {
  background: radial-gradient(circle, #ff9a9c, var(--ljlk-red) 50%, transparent 70%);
  top: 2%; right: 0;
}
.ljlk-logo-nav__glow--purple {
  background: radial-gradient(circle, #b894ff, var(--ljlk-purple) 50%, transparent 70%);
  bottom: 6%; left: 6%;
}
.ljlk-logo-nav__glow--yellow {
  background: radial-gradient(circle, #ffe08a, var(--ljlk-yellow) 50%, transparent 70%);
  bottom: 4%; right: 4%;
}

.ljlk-logo-nav.is-focusing[data-accent="voeding"] .ljlk-logo-nav__glow--green,
.ljlk-logo-nav.is-focusing[data-accent="beweging"] .ljlk-logo-nav__glow--red,
.ljlk-logo-nav.is-focusing[data-accent="bewustzijn"] .ljlk-logo-nav__glow--purple,
.ljlk-logo-nav.is-focusing[data-accent="energie"] .ljlk-logo-nav__glow--yellow {
  opacity: 0.36;
}

.ljlk-logo-nav__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
  mix-blend-mode: multiply;
}

.ljlk-logo-nav__mesh {
  position: absolute;
  inset: 10% 12%;
  border-radius: 50%;
  border: 1px solid rgba(22, 20, 15, 0.045);
  box-shadow:
    inset 0 0 80px rgba(255, 255, 255, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.16);
  opacity: 0.55;
  animation: none;
}

/* Vertical rail */
.ljlk-logo-nav__rail {
  position: absolute;
  left: clamp(0.6rem, 1.8vw, 1.25rem);
  top: 50%;
  z-index: 2;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ljlk-muted);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.ljlk-logo-nav__top,
.ljlk-logo-nav__stage,
.ljlk-logo-nav__footer {
  position: relative;
  z-index: 1;
}

/* Header */
.ljlk-logo-nav__top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1rem;
  animation: ljlk-rise 0.9s var(--ljlk-ease) both;
}

.ljlk-logo-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: start;
  text-decoration: none;
  color: inherit;
}

.ljlk-logo-nav__brand:hover,
.ljlk-logo-nav__brand:focus-visible {
  outline: none;
  opacity: 0.85;
}

.ljlk-logo-nav__mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ljlk-glass);
  border: 1px solid var(--ljlk-glass-border);
  box-shadow: 0 8px 24px rgba(22, 20, 15, 0.06);
  backdrop-filter: blur(10px);
}

.ljlk-logo-nav__mark svg {
  width: 16px;
  height: 16px;
}

.ljlk-logo-nav__wordmark {
  font-family: var(--ljlk-sans);
  font-weight: 700;
  font-size: clamp(0.68rem, 1.3vw, 0.78rem);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ljlk-logo-nav__menu {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  max-width: 11rem;
}

.ljlk-logo-nav__eyebrow {
  margin: 0;
  text-align: right;
  font-size: clamp(0.58rem, 1.1vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--ljlk-muted);
  text-transform: uppercase;
}

.ljlk-logo-nav__color-toggle {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: right;
  font-family: inherit;
  font-size: clamp(0.58rem, 1.1vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: var(--ljlk-ink);
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  opacity: 0.72;
  transition: opacity 0.25s var(--ljlk-ease);
}

.ljlk-logo-nav__color-toggle:hover,
.ljlk-logo-nav__color-toggle:focus-visible {
  opacity: 1;
  outline: none;
}

.ljlk-logo-nav__color-toggle:focus-visible {
  box-shadow: 0 0 0 2px var(--ljlk-bg), 0 0 0 4px var(--ljlk-ink);
}

/* Abstract zwart-wit: alleen #000 / #fff (geen grijstinten) */
html.ljlk-mono {
  --ljlk-bg: #ffffff;
  --ljlk-bg-deep: #ffffff;
  --ljlk-ink: #000000;
  --ljlk-muted: #000000;
  --ljlk-line: #000000;
  --ljlk-glass: #ffffff;
  --ljlk-glass-border: #000000;
  --ljlk-green: #000000;
  --ljlk-red: #000000;
  --ljlk-purple: #000000;
  --ljlk-yellow: #000000;
  --ljlk-accent: #000000;
}

html.ljlk-mono body.ljlk-logo-home {
  background: #fff !important;
  color: #000 !important;
}

html.ljlk-mono .ljlk-logo-nav {
  background: #fff;
  /* Drempel: midtonen verdwijnen → puur zwart of wit */
  filter: contrast(1000%);
}

html.ljlk-mono .ljlk-logo-nav__atmosphere {
  background: #fff !important;
}

html.ljlk-mono .ljlk-logo-nav__glow,
html.ljlk-mono .ljlk-logo-nav__grain,
html.ljlk-mono .ljlk-logo-nav__mesh,
html.ljlk-mono .ljlk-logo-nav__halo {
  display: none !important;
}

html.ljlk-mono .ljlk-logo-nav__mark,
html.ljlk-mono .ljlk-logo-nav__cta,
html.ljlk-mono .ljlk-motion-consent__card,
html.ljlk-mono .ljlk-motion-consent__btn {
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html.ljlk-mono .ljlk-logo-nav__mark {
  background: #fff;
  border-color: #000;
}

html.ljlk-mono .ljlk-logo-nav__color-toggle {
  opacity: 1;
}

html.ljlk-mono .ljlk-logo-nav__mark img,
html.ljlk-mono .ljlk-logo-nav__mark-img {
  filter: none;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-logo-nav__mark {
  background: #000;
  border-color: #fff;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-logo-nav__mark img,
html.ljlk-mono.ljlk-mono-dark .ljlk-logo-nav__mark-img {
  filter: none;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-logo-nav__wordmark {
  color: #fff;
}

html.ljlk-mono .ljlk-extrude {
  filter: none !important;
}

html.ljlk-mono .ljlk-pillar__word,
html.ljlk-mono .ljlk-shape__word {
  filter: none !important;
  paint-order: normal;
}

html.ljlk-mono .ljlk-extrude__face,
html.ljlk-mono .ljlk-extrude__side,
html.ljlk-mono .ljlk-pillar__word,
html.ljlk-mono .ljlk-zelf__shape,
html.ljlk-mono .ljlk-zelf__pixel,
html.ljlk-mono .ljlk-shape__face,
html.ljlk-mono .ljlk-shape__word,
html.ljlk-mono .ljlk-morph-ball,
html.ljlk-mono .ljlk-morph-ball__side,
html.ljlk-mono .ljlk-morph-ball__shine,
html.ljlk-mono [data-ljlk-obj="ball"] circle,
html.ljlk-mono [data-ljlk-obj="ball"] path {
  fill: #000 !important;
  stroke: #000 !important;
  color: #000 !important;
  filter: none !important;
}

html.ljlk-mono .ljlk-pillar:not(.is-active) .ljlk-extrude__face,
html.ljlk-mono .ljlk-pillar:not(.is-active) .ljlk-extrude__side {
  opacity: 1 !important;
}

/* Geen morph-restanten: bal nooit in mono, vorm weg zodra tekst actief */
html.ljlk-mono .ljlk-obj--ball,
html.ljlk-mono .ljlk-pillar.is-active .ljlk-obj--shape {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  filter: none !important;
}

html.ljlk-mono .ljlk-pillar:not(.is-active) .ljlk-obj--word {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.ljlk-mono .ljlk-pillar.is-active .ljlk-obj--word {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

html.ljlk-mono .ljlk-extrude__highlight {
  display: none !important;
}

html.ljlk-mono .ljlk-panel {
  --ljlk-panel-bg: #000;
  --ljlk-panel-glow: #000;
  --ljlk-panel-deep: #000;
  background: #000 !important;
  color: #fff !important;
  filter: none !important;
}

html.ljlk-mono .ljlk-panel__inner,
html.ljlk-mono .ljlk-panel__lead,
html.ljlk-mono .ljlk-panel__title,
html.ljlk-mono .ljlk-panel__body,
html.ljlk-mono .ljlk-panel__btn {
  color: #fff !important;
}

html.ljlk-mono .ljlk-panel__btn--primary {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
  box-shadow: none !important;
}

html.ljlk-mono .ljlk-panel__btn--ghost,
html.ljlk-mono .ljlk-panel__btn--back {
  background: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

html.ljlk-mono .ljlk-inhale-veil {
  background: #fff !important;
}

html.ljlk-mono .ljlk-motion-consent__card {
  background: #fff !important;
  border: 1px solid #000 !important;
  color: #000 !important;
}

html.ljlk-mono .ljlk-motion-consent__btn--allow {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

html.ljlk-mono .ljlk-motion-consent__btn--deny {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
}

/* Inhale-animatie mag in mono geen grijs maken */
html.ljlk-mono .ljlk-logo-nav.is-inhaling .ljlk-logo-nav__logo {
  filter: none !important;
  opacity: 0 !important;
}

/* Dark colorless: zwart ↔ wit omgedraaid (klik logo linksboven) */
html.ljlk-mono.ljlk-mono-dark {
  --ljlk-bg: #000000;
  --ljlk-bg-deep: #000000;
  --ljlk-ink: #ffffff;
  --ljlk-muted: #ffffff;
  --ljlk-line: #ffffff;
  --ljlk-glass: #000000;
  --ljlk-glass-border: #ffffff;
  --ljlk-green: #ffffff;
  --ljlk-red: #ffffff;
  --ljlk-purple: #ffffff;
  --ljlk-yellow: #ffffff;
  --ljlk-accent: #ffffff;
}

html.ljlk-mono.ljlk-mono-dark body.ljlk-logo-home {
  background: #000 !important;
  color: #fff !important;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-logo-nav {
  background: #000;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-logo-nav__atmosphere {
  background: #000 !important;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-logo-nav__mark {
  background: #000;
  border-color: #fff;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-logo-nav__wordmark {
  color: #fff;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-extrude__face,
html.ljlk-mono.ljlk-mono-dark .ljlk-extrude__side,
html.ljlk-mono.ljlk-mono-dark .ljlk-pillar__word,
html.ljlk-mono.ljlk-mono-dark .ljlk-zelf__shape,
html.ljlk-mono.ljlk-mono-dark .ljlk-zelf__pixel,
html.ljlk-mono.ljlk-mono-dark .ljlk-shape__face,
html.ljlk-mono.ljlk-mono-dark .ljlk-shape__word,
html.ljlk-mono.ljlk-mono-dark .ljlk-morph-ball,
html.ljlk-mono.ljlk-mono-dark .ljlk-morph-ball__side,
html.ljlk-mono.ljlk-mono-dark .ljlk-morph-ball__shine,
html.ljlk-mono.ljlk-mono-dark [data-ljlk-obj="ball"] circle,
html.ljlk-mono.ljlk-mono-dark [data-ljlk-obj="ball"] path {
  fill: #fff !important;
  stroke: #fff !important;
  color: #fff !important;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-panel {
  --ljlk-panel-bg: #fff;
  --ljlk-panel-glow: #fff;
  --ljlk-panel-deep: #fff;
  background: #fff !important;
  color: #000 !important;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-panel__inner,
html.ljlk-mono.ljlk-mono-dark .ljlk-panel__lead,
html.ljlk-mono.ljlk-mono-dark .ljlk-panel__title,
html.ljlk-mono.ljlk-mono-dark .ljlk-panel__body,
html.ljlk-mono.ljlk-mono-dark .ljlk-panel__btn {
  color: #000 !important;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-panel__btn--primary {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-panel__btn--ghost,
html.ljlk-mono.ljlk-mono-dark .ljlk-panel__btn--back {
  background: transparent !important;
  color: #000 !important;
  border-color: #000 !important;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-inhale-veil {
  background: #000 !important;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-motion-consent__card {
  background: #000 !important;
  border: 1px solid #fff !important;
  color: #fff !important;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-motion-consent__btn--allow {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-motion-consent__btn--deny {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}

html.ljlk-mono.ljlk-mono-dark .ljlk-logo-nav__brand:hover,
html.ljlk-mono.ljlk-mono-dark .ljlk-logo-nav__brand:focus-visible {
  opacity: 0.75;
}

/* Stage */
.ljlk-logo-nav__stage {
  display: grid;
  place-items: center;
  min-height: 0;
  animation: ljlk-rise 1.05s var(--ljlk-ease) 0.06s both;
}

.ljlk-logo-nav__scene {
  position: relative;
  width: min(76vmin, 640px, 90vw);
  height: min(76vmin, 640px, 64svh);
  perspective: 1100px;
  perspective-origin: 50% 48%;
}

.ljlk-logo-nav__halo {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 58%, transparent 28%, rgba(23, 19, 29, 0.045) 58%, transparent 78%);
  box-shadow: none;
  filter: blur(8px);
  animation: none;
  opacity: 0.85;
}

.ljlk-logo-nav__svg {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.ljlk-logo-nav__logo {
  transform-style: preserve-3d;
  transform-box: fill-box;
  transform-origin: center;
}

.ljlk-logo-nav__mark img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.ljlk-shape,
.ljlk-pillar {
  cursor: pointer;
  outline: none;
  text-decoration: none;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
  transition: opacity 0.4s var(--ljlk-ease);
  filter:
    drop-shadow(0 22px 34px rgba(23, 19, 29, 0.2))
    drop-shadow(0 8px 14px rgba(23, 19, 29, 0.1));
}

.ljlk-shape:focus-visible,
.ljlk-pillar:focus-visible {
  outline: 2px solid var(--ljlk-accent);
  outline-offset: 6px;
}

/* Individuele morph-objecten: kleurvorm ↔ kleurtekst */
.ljlk-obj {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.ljlk-obj--shape {
  pointer-events: all;
}

.ljlk-obj--ball {
  opacity: 0;
  pointer-events: none;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.ljlk-morph-ball,
.ljlk-morph-ball__side,
.ljlk-morph-ball__shine {
  pointer-events: none;
}

.ljlk-obj--word {
  pointer-events: none;
  opacity: 0;
}

.ljlk-obj--word.is-hot {
  pointer-events: auto;
}

.ljlk-extrude {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity, filter;
  filter:
    drop-shadow(0 26px 40px rgba(23, 19, 29, 0.26))
    drop-shadow(0 10px 16px rgba(23, 19, 29, 0.12));
}

.ljlk-extrude__side,
.ljlk-extrude__highlight {
  pointer-events: none;
}

.ljlk-extrude__highlight {
  opacity: 0.55;
  stroke-dasharray: 22 400;
  stroke-dashoffset: 0;
  animation: ljlk-sheen 6s linear infinite;
}

.ljlk-extrude__face,
.ljlk-shape__face {
  transform-box: fill-box;
  transform-origin: center;
  pointer-events: all;
  cursor: pointer;
  filter: none;
}

.ljlk-pillar__word,
.ljlk-shape__word {
  font-family: var(--ljlk-round);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: 0.02em;
  transform-origin: center;
  transform-box: fill-box;
  pointer-events: none;
  stroke: none;
  stroke-width: 0;
  paint-order: normal;
  filter:
    drop-shadow(0 26px 40px rgba(23, 19, 29, 0.26))
    drop-shadow(0 10px 16px rgba(23, 19, 29, 0.12));
  cursor: pointer;
}

.ljlk-pillar__word.is-hot,
.ljlk-shape__word.is-hot {
  pointer-events: auto;
}

/* Fallback zonder JS / reduced motion: vorm → tekst */
.ljlk-logo-nav:not(.is-fluid) .ljlk-pillar:hover .ljlk-obj--shape,
.ljlk-logo-nav:not(.is-fluid) .ljlk-pillar:focus-visible .ljlk-obj--shape,
.ljlk-logo-nav:not(.is-fluid) .ljlk-pillar.is-active .ljlk-obj--shape {
  opacity: 0;
}

.ljlk-logo-nav:not(.is-fluid) .ljlk-pillar:hover .ljlk-obj--word,
.ljlk-logo-nav:not(.is-fluid) .ljlk-pillar:focus-visible .ljlk-obj--word,
.ljlk-logo-nav:not(.is-fluid) .ljlk-pillar.is-active .ljlk-obj--word {
  opacity: 1;
  pointer-events: auto;
}

/* Het Zelf */
.ljlk-zelf {
  cursor: pointer;
  outline: none;
  transform-origin: 222px 161px;
  will-change: transform;
}

.ljlk-zelf:focus-visible {
  outline: 2px solid var(--ljlk-ink);
  outline-offset: 3px;
}

.ljlk-zelf__shape {
  transition: fill 0.45s var(--ljlk-ease);
  filter: none;
}

.ljlk-zelf__pixel {
  pointer-events: none;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.45s var(--ljlk-ease), transform 0.45s var(--ljlk-ease);
}

.ljlk-zelf__pixel--black {
  opacity: 0;
}

/* Actieve zelf-staat: witte bal + zwarte stip (geen tekst) */
.ljlk-zelf.is-active .ljlk-zelf__shape,
.ljlk-zelf.is-ready .ljlk-zelf__shape {
  fill: #ffffff;
}

.ljlk-zelf.is-active .ljlk-zelf__pixel--white,
.ljlk-zelf.is-ready .ljlk-zelf__pixel--white {
  opacity: 0;
}

.ljlk-zelf.is-active .ljlk-zelf__pixel--black,
.ljlk-zelf.is-ready .ljlk-zelf__pixel--black {
  opacity: 1;
}

/* Hover alleen als niet actief / niet inhalerend */
.ljlk-zelf:not(.is-active):not(.is-inhaling):hover .ljlk-obj--shape .ljlk-zelf__shape,
.ljlk-zelf:not(.is-active):not(.is-inhaling):focus-visible .ljlk-obj--shape .ljlk-zelf__shape {
  fill: #ffffff;
}

.ljlk-zelf:not(.is-active):not(.is-inhaling):hover .ljlk-zelf__pixel--white,
.ljlk-zelf:not(.is-active):not(.is-inhaling):focus-visible .ljlk-zelf__pixel--white {
  opacity: 0;
}

.ljlk-zelf:not(.is-active):not(.is-inhaling):hover .ljlk-zelf__pixel--black,
.ljlk-zelf:not(.is-active):not(.is-inhaling):focus-visible .ljlk-zelf__pixel--black {
  opacity: 1;
}

/* Inzuig: zwarte stip groeit, logo valt erin */
.ljlk-logo-nav.is-inhaling .ljlk-logo-nav__logo {
  transition: transform 0.72s cubic-bezier(0.55, 0.05, 0.9, 0.4), filter 0.72s ease, opacity 0.72s ease;
  transform-origin: 222px 161px;
  transform: scale(0.08);
  filter: brightness(0.15) contrast(1.2);
  opacity: 0.35;
  pointer-events: none;
}

.ljlk-logo-nav.is-inhaling .ljlk-logo-nav__atmosphere,
.ljlk-logo-nav.is-inhaling .ljlk-logo-nav__top,
.ljlk-logo-nav.is-inhaling .ljlk-logo-nav__footer,
.ljlk-logo-nav.is-inhaling .ljlk-logo-nav__rail,
.ljlk-logo-nav.is-inhaling .ljlk-logo-nav__halo {
  transition: opacity 0.55s ease;
  opacity: 0;
}

.ljlk-zelf.is-inhaling .ljlk-zelf__pixel--black {
  transition: transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
  transform: scale(90);
  opacity: 1;
  pointer-events: none;
}

.ljlk-zelf.is-inhaling .ljlk-zelf__shape {
  fill: #ffffff;
  transition: opacity 0.35s ease;
  opacity: 0.15;
}

.ljlk-inhale-veil {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  background: #000;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.ljlk-logo-nav.is-inhaling .ljlk-inhale-veil,
body.ljlk-panel-open .ljlk-inhale-veil {
  opacity: 1;
}

/* Fullscreen subject panels — full bleed, no card chrome */
.ljlk-panel {
  --ljlk-panel-glow: color-mix(in srgb, #ffffff 38%, var(--ljlk-panel-bg, #36bd5f));
  --ljlk-panel-deep: color-mix(in srgb, #000000 26%, var(--ljlk-panel-bg, #36bd5f));
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  color: #ffffff;
  background:
    radial-gradient(ellipse 85% 65% at 18% 12%, var(--ljlk-panel-glow), transparent 58%),
    radial-gradient(ellipse 70% 55% at 86% 88%, var(--ljlk-panel-deep), transparent 55%),
    linear-gradient(
      155deg,
      color-mix(in srgb, #fff 18%, var(--ljlk-panel-bg, #36bd5f)) 0%,
      var(--ljlk-panel-bg, #36bd5f) 48%,
      var(--ljlk-panel-deep) 100%
    );
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ljlk-ease), visibility 0.45s;
  isolation: isolate;
}

.ljlk-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 20%, color-mix(in srgb, #fff 12%, transparent) 48%, transparent 72%);
  opacity: 0.45;
}

.ljlk-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ljlk-panel[hidden] {
  display: none !important;
}

.ljlk-panel:not([hidden]) {
  display: grid;
}

.ljlk-panel__inner {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  text-align: center;
  margin-inline: auto;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateY(12px);
  transition: transform 0.45s var(--ljlk-ease);
}

.ljlk-panel.is-open .ljlk-panel__inner {
  transform: translateY(0);
}

.ljlk-panel__lead {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.82;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.ljlk-panel__title {
  margin: 0.7rem 0 0;
  font-family: var(--ljlk-serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.16);
}

.ljlk-panel__body {
  margin: 1.15rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  line-height: 1.55;
  color: #fff;
  opacity: 0.94;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.14);
}

.ljlk-panel__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}

.ljlk-panel__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  text-align: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  min-width: min(22rem, 100%);
  transition: transform 0.3s var(--ljlk-ease), background 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.ljlk-panel__btn:hover,
.ljlk-panel__btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.ljlk-panel__btn--primary {
  background: #fff;
  color: var(--ljlk-panel-bg, #36bd5f);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.ljlk-panel__btn--ghost {
  background: color-mix(in srgb, #fff 14%, transparent);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #fff 55%, transparent);
}

.ljlk-panel__btn--ghost:hover,
.ljlk-panel__btn--ghost:focus-visible {
  background: color-mix(in srgb, #fff 24%, transparent);
}

.ljlk-panel__btn--back {
  background: transparent;
  color: #fff;
  opacity: 0.78;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  min-width: auto;
  margin-top: 0.35rem;
}

.ljlk-panel__btn--back:hover,
.ljlk-panel__btn--back:focus-visible {
  opacity: 1;
}

body.ljlk-panel-open {
  overflow: hidden;
}

/* Motion consent (gyro / cookie) */
.ljlk-motion-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: grid;
  place-items: end center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ljlk-ease), visibility 0.35s;
}

.ljlk-motion-consent.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ljlk-motion-consent[hidden] {
  display: none !important;
}

.ljlk-motion-consent:not([hidden]) {
  display: grid;
}

.ljlk-motion-consent__card {
  width: min(26rem, 100%);
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: 1.1rem;
  background: rgba(255, 252, 247, 0.94);
  border: 1px solid rgba(23, 19, 29, 0.1);
  box-shadow: 0 18px 48px rgba(23, 19, 29, 0.14);
  backdrop-filter: blur(16px);
  color: var(--ljlk-ink);
  transform: translateY(10px);
  transition: transform 0.35s var(--ljlk-ease);
}

.ljlk-motion-consent.is-visible .ljlk-motion-consent__card {
  transform: translateY(0);
}

.ljlk-motion-consent__title {
  margin: 0;
  font-family: var(--ljlk-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.ljlk-motion-consent__text {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ljlk-muted);
}

.ljlk-motion-consent__actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ljlk-motion-consent__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ljlk-ease), opacity 0.25s ease;
}

.ljlk-motion-consent__btn:hover,
.ljlk-motion-consent__btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.ljlk-motion-consent__btn--allow {
  background: var(--ljlk-ink);
  color: #fff;
}

.ljlk-motion-consent__btn--deny {
  background: transparent;
  color: var(--ljlk-muted);
  box-shadow: inset 0 0 0 1.5px rgba(23, 19, 29, 0.14);
}

/* Footer */
.ljlk-logo-nav__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.25rem;
  animation: ljlk-rise 1s var(--ljlk-ease) 0.12s both;
}

.ljlk-logo-nav__copy {
  max-width: 28rem;
}

.ljlk-logo-nav__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ljlk-muted);
  transition: color 0.45s ease;
}

.ljlk-logo-nav.is-focusing .ljlk-logo-nav__kicker {
  color: var(--ljlk-accent);
}

.ljlk-logo-nav__headline {
  margin: 0;
  font-family: var(--ljlk-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: color 0.45s ease, opacity 0.35s ease, transform 0.45s var(--ljlk-ease);
}

.ljlk-logo-nav__sub {
  margin: 0.55rem 0 0;
  max-width: 24rem;
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  line-height: 1.45;
  color: var(--ljlk-muted);
  transition: opacity 0.35s ease, transform 0.45s var(--ljlk-ease);
}

.ljlk-logo-nav__copy.is-swapping .ljlk-logo-nav__headline,
.ljlk-logo-nav__copy.is-swapping .ljlk-logo-nav__sub {
  opacity: 0;
  transform: translateY(8px);
}

.ljlk-logo-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ljlk-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ljlk-glass);
  border: 1px solid var(--ljlk-glass-border);
  backdrop-filter: blur(16px);
  box-shadow:
    0 12px 36px rgba(22, 20, 15, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.4s var(--ljlk-spring), box-shadow 0.4s ease, border-color 0.4s ease;
}

.ljlk-logo-nav__cta:hover,
.ljlk-logo-nav__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(22, 20, 15, 0.12);
  outline: none;
  border-color: color-mix(in srgb, var(--ljlk-accent) 35%, white);
}

.ljlk-logo-nav__cta-icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 20, 15, 0.18);
  font-size: 0.75rem;
  line-height: 1;
}

.ljlk-logo-nav__hint {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.ljlk-logo-nav__hint--hover,
.ljlk-logo-nav__hint--touch,
.ljlk-logo-nav__hint--gyro {
  display: none;
}

.ljlk-logo-nav__hint[data-hint-mode="mouse"] .ljlk-logo-nav__hint--hover,
.ljlk-logo-nav__hint[data-hint-mode="touch"] .ljlk-logo-nav__hint--touch,
.ljlk-logo-nav__hint[data-hint-mode="gyro"] .ljlk-logo-nav__hint--gyro {
  display: inline;
}

@keyframes ljlk-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ljlk-glow-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(5%, -4%, 0) scale(1.12); }
}

@keyframes ljlk-mesh-breathe {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.03); opacity: 0.9; }
}

@keyframes ljlk-orbit {
  to { transform: rotate(360deg); }
}

@keyframes ljlk-sheen {
  to { stroke-dashoffset: -484; }
}

@keyframes ljlk-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes ljlk-iris {
  0%, 100% { transform: translate(0, 0); }
  40% { transform: translate(2px, -1px); }
  70% { transform: translate(-2px, 1px); }
}

@media (max-width: 900px) {
  .ljlk-logo-nav__rail {
    display: none;
  }
}

@media (max-width: 720px) {
  .ljlk-logo-nav {
    padding: 0.85rem 0.95rem 1rem;
  }

  .ljlk-logo-nav__menu {
    max-width: 7.5rem;
  }

  .ljlk-logo-nav__eyebrow,
  .ljlk-logo-nav__color-toggle {
    font-size: 0.55rem;
  }

  .ljlk-logo-nav__scene {
    width: min(88vw, 68svh);
    height: min(88vw, 52svh);
  }

  .ljlk-pillar__word {
    font-size: 28px;
  }

  .ljlk-logo-nav__footer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ljlk-logo-nav__cta {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ljlk-logo-nav__glow,
  .ljlk-logo-nav__atmosphere::after,
  .ljlk-logo-nav__halo,
  .ljlk-logo-nav__mesh,
  .ljlk-extrude__highlight,
  .ljlk-logo-nav__top,
  .ljlk-logo-nav__stage,
  .ljlk-logo-nav__footer {
    animation: none !important;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
