/* A Future Force — website in de "Film"-look van de app.
   Kleuren = Assets.xcassets. Contrast: kleine tekst ≥ 4,5:1, groot ≥ 3:1.
   Rood als tekst altijd --red-bright, nooit --red. Anton enkel voor titels. */

@font-face {
  font-family: "Anton";
  src: url("assets/fonts/Anton-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #0B0B0C;
  --card: #151517;
  --line: rgb(255 255 255 / 0.1);
  --red: #C13A3A;
  --red-bright: #FF7373;
  --red-deep: #8A2424;
  --teal: #2A8A82;
  --teal-bright: #3FB5A8;
  --teal-deep: #1B5F59;
  --text: #FFFFFF;
  --muted: rgb(235 235 245 / 0.64);

  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-bright); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

.skip {
  position: fixed; left: -999px; top: 8px; z-index: 400;
  background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 12px;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 4px; border-radius: 8px; }

.accent { color: var(--red-bright); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Film-achtergrond + WebGL ---------- */
.film {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgb(138 36 36 / 0.42), transparent 70%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgb(27 95 89 / 0.34), transparent 70%),
    var(--ink);
}
.film::after { /* vignet */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgb(0 0 0 / 0.5) 100%);
}
.film__grain { /* korrel: herhaalde tegel die licht flikkert, zoals film */
  position: absolute; inset: -50%;
  background: url("assets/img/grain.png") repeat; background-size: 192px;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.gl { position: fixed; inset: 0; width: 100%; height: 100vh; z-index: -1; pointer-events: none; }
.has-gl .hero__fallback, .has-gl .footer__fallback { opacity: 0; }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 250; display: none;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgb(138 36 36 / 0.35), transparent 70%),
    var(--ink);
  padding: var(--gutter);
  clip-path: inset(0 0 0 0);
}
.js .loader { display: block; }
.is-ready .loader { display: none; }
.loader__brand {
  font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.875rem;
}
.loader__count {
  position: absolute; right: var(--gutter); bottom: calc(var(--gutter) + 20px);
  font-family: var(--display); font-size: clamp(6rem, 22vw, 20rem); line-height: 0.8;
  font-variant-numeric: tabular-nums;
}
.loader__count small { font-size: 0.3em; color: var(--red-bright); vertical-align: top; margin-left: 0.1em; }
.loader__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); height: 2px; background: var(--line); }
.loader__bar i { display: block; height: 100%; background: var(--teal-bright); transform: scaleX(0); transform-origin: left; }

/* ---------- Cursor ---------- */
/* "difference" op de hele cursorlaag: wat eronder staat, wordt omgekeerd (wit → zwart),
   zodat tekst onder de witte schijf leesbaar blijft. Op de ring zelf werkt het niet,
   want de cursorlaag is een eigen stapel. Labels (teal) mengen niet. */
.cursor { position: fixed; inset: 0; z-index: 300; pointer-events: none; display: none; mix-blend-mode: difference; }
.cursor.is-label { mix-blend-mode: normal; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor.is-visible .cursor__dot, .cursor.is-visible .cursor__ring { opacity: 1; }
.cursor__dot { width: 6px; height: 6px; background: #fff; }
.cursor__ring {
  width: 40px; height: 40px; border: 1.5px solid rgb(255 255 255 / 0.7);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), background-color .3s, border-color .3s, opacity .3s;
}
.cursor.is-hover .cursor__ring { width: 56px; height: 56px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; background: var(--teal); border-color: var(--teal); }
.cursor.is-label .cursor__dot, .cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { scale: 0.85; }
.cursor__label {
  font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; color: #fff;
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease-out);
}
.cursor.is-label .cursor__label { opacity: 1; transform: none; }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: linear-gradient(90deg, var(--red-bright), var(--teal-bright));
  transform-origin: left; transform: scaleX(0);
}

/* ---------- Tekst die omhoog rolt ---------- */
/* Het omhulsel even hoog als de tekst, anders erft het de regelhoogte van de
   pagina en staat de tekst in knoppen net boven het midden. */
[data-roll] { display: inline-flex; }
.roll { display: inline-grid; overflow: hidden; vertical-align: top; line-height: 1.2; }
.roll > span { grid-area: 1 / 1; transition: transform .6s var(--ease); }
.roll__b { transform: translateY(105%); }
:is(a, button):hover .roll__a { transform: translateY(-105%); }
:is(a, button):hover .roll__b { transform: none; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  /* ≥ 18,7px vet = grote tekst */
  font-size: 1.1875rem; font-weight: 700; text-decoration: none; color: #fff; white-space: nowrap;
  border: 0; cursor: pointer;
}
.btn--primary { /* zoals .glassProminent in de app */
  background: linear-gradient(180deg, rgb(255 255 255 / 0.22), rgb(255 255 255 / 0) 55%), var(--teal);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 10px 40px -8px rgb(42 138 130 / 0.75);
}
.btn--secondary { /* wit op glas */
  background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}

/* ---------- Navigatie ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: translate .6s var(--ease);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav.is-hidden { translate: 0 -130%; }
.nav__brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
  font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap;
}
.nav__brand img { width: 40px; height: auto; transition: transform .8s var(--ease); }
.nav__brand:hover img { transform: rotate(-120deg); }
.nav__right { display: flex; align-items: center; gap: 10px; }

/* Taalkeuze: NL · FR · EN, huidige taal wit met lijn eronder. */
.langs { display: inline-flex; align-items: center; gap: 2px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; }
.langs a {
  position: relative; padding: 10px 7px; color: var(--muted); text-decoration: none; transition: color .3s;
}
.langs a:hover, .langs a.is-active { color: var(--text); }
.langs a::after {
  content: ""; position: absolute; left: 7px; right: 7px; bottom: 6px; height: 1.5px; background: var(--teal-bright);
  transform: scaleX(0); transition: transform .4s var(--ease);
}
.langs a.is-active::after { transform: scaleX(1); }
.nav .langs { margin-right: 6px; }
.langs--menu { margin-left: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px;
  border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; color: #fff;
  background: rgb(22 22 24 / 0.55); border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  cursor: pointer;
}
.pill--discord { background: var(--teal); border-color: transparent; box-shadow: 0 8px 30px -10px rgb(42 138 130 / 0.8); }
.pill__lines { display: grid; gap: 5px; width: 18px; }
.pill__lines i { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease); }
.menu-open .pill__lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .pill__lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 105;
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--gutter) var(--gutter);
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgb(138 36 36 / 0.5), transparent 70%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgb(27 95 89 / 0.45), transparent 70%),
    #0E0E10;
}
.menu[hidden] { display: none; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px; overflow: hidden;
  font-family: var(--display); text-transform: uppercase; text-decoration: none; color: var(--text);
  font-size: clamp(3rem, 10vh, 8rem); line-height: 1.02;
}
.menu__list a span, .menu__list a small { display: inline-block; transition: transform .6s var(--ease), color .3s; }
.menu__list small { font-family: var(--body); font-weight: 700; font-size: 0.9rem; color: var(--muted); }
.menu__list a:hover span { color: var(--red-bright); transform: translateX(24px) skewX(-6deg); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: auto; padding-top: 32px; border-top: 1px solid var(--line); }
.menu__foot a { color: var(--text); text-decoration: none; font-weight: 600; }
.menu__foot a:hover { color: var(--teal-bright); }
.menu__foot .langs a:not(.is-active) { color: var(--muted); }

/* ---------- Typografie ---------- */
.eyebrow {
  font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow__num { color: var(--red-bright); letter-spacing: 0.05em; }
.title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(3.4rem, 10vw, 9.5rem); line-height: 0.86;
}
.title > span, .discord__title > span { display: block; overflow: hidden; padding-top: 0.06em; margin-top: -0.06em; }
.char { display: inline-block; will-change: transform; }
.section-head__lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 52ch; margin: 28px 0 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  /* Onderaan geen marge: de titel sluit aan op de rand van het scherm. */
  padding: 110px var(--gutter) 0;
}
.hero__meta--tl { grid-row: 1; grid-column: 1; }
.hero__meta--tr { grid-row: 1; grid-column: 1; justify-self: end; text-align: right; }
.hero__meta .eyebrow { display: block; color: var(--text); margin: 0; line-height: 1.7; }
.hero__roles { display: flex; gap: 6px 18px; flex-wrap: wrap; justify-content: flex-end; max-width: 46ch; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; }
.hero__stage { grid-row: 2; grid-column: 1; min-height: 0; display: grid; place-items: center; margin: 16px 0; cursor: pointer; }
.hero__fallback { max-height: 100%; width: auto; }
.hero__bottom { grid-row: 3; grid-column: 1; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; }
.hero__title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(5.5rem, 17.5vw, 22rem); letter-spacing: -0.005em;
  display: flex; flex-wrap: wrap; column-gap: 0.18em;
  /* Anton bij line-height 1: hoofdletters van 0,0645em tot 0,9235em. De lege
     strook onder de basislijn valt buiten beeld, zodat de letters op de rand staan. */
  line-height: 1; margin-bottom: -0.0765em;
}
.hero__word { display: inline-block; overflow: hidden; }
/* Outline, zodat de titel niet harder roept dan het logo. Bij hover vult een letter zich. */
.hero__word, .footer__giant > span { color: transparent; -webkit-text-stroke: clamp(1.5px, 0.18vw, 3px) #fff; }
.hero__word.accent, .footer__giant > .accent { color: transparent; -webkit-text-stroke-color: var(--red-bright); }
:is(.hero__title, .footer__giant) .char { transition: color .5s var(--ease-out); }
:is(.hero__title, .footer__giant) .char:hover { color: #fff; }
:is(.hero__title, .footer__giant) .accent .char:hover { color: var(--red-bright); }
/* Desktop: tekst en links rechts naast de titel, onderaan uitgelijnd. */
.hero__title { grid-row: 1; grid-column: 1; }
.hero__aside { grid-row: 1; grid-column: 2; justify-self: end; max-width: 320px; padding-bottom: clamp(16px, 2.2vw, 36px); }
.hero__lead { font-size: 1.05rem; line-height: 1.5; color: var(--muted); margin-bottom: 14px; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

/* Subtiele tekstlink met lijn die bij hover van links naar rechts loopt. */
.tlink {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 4px 0;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem;
}
.tlink .icon { width: 18px; height: 18px; color: var(--muted); transition: color .3s; }
.tlink__arrow { width: 14px; height: 14px; color: var(--teal-bright); transition: transform .5s var(--ease); }
.tlink::after {
  content: ""; position: absolute; left: 28px; right: 0; bottom: 0; height: 1px; background: var(--teal-bright);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink:hover .icon { color: var(--text); }
.tlink:hover .tlink__arrow { transform: translate(3px, -3px); }
.scroll-hint {
  position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px;
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint i { width: 1px; height: 64px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--teal-bright); animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.live { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--muted); font-size: 0.9rem; }
.live[hidden] { display: none; }
.live__dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #3FD07A;
  box-shadow: 0 0 0 0 rgb(63 208 122 / 0.6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgb(63 208 122 / 0); } 100% { box-shadow: 0 0 0 0 rgb(63 208 122 / 0); } }

/* Gsm en tablet: enkel logo, één korte zin en "LINK UP." op één regel over de volle
   breedte, strak op de onderrand. Label, links en live-teller vallen weg: Discord staat
   in de balk, de teller in de Discord-sectie. */
@media (max-width: 899px) {
  .hero__bottom { grid-template-columns: 1fr; gap: 14px; }
  /* "LINK UP." is 2,92× zo breed als de lettergrootte: zo vult hij precies de breedte. */
  .hero__title { grid-row: 2; font-size: calc((100vw - 2 * var(--gutter)) / 2.96); flex-wrap: nowrap; }
  .hero__aside { grid-column: 1; justify-self: start; max-width: 30ch; padding-bottom: 0; }
  .hero__lead { margin: 0; font-size: 1rem; }
  .hero__meta--tl, .hero__cta, .hero .live, .hero__roles, .scroll-hint { display: none; }
  .hero__stage { margin: 0; }
}
@media (max-width: 560px) {
  .pill { height: 44px; padding: 0 16px; }
  .nav .langs { display: none; } /* op gsm: taalkeuze in het menu en de footer */
  .nav__brand { font-size: 1.1rem; gap: 8px; }
  .nav__brand img { width: 32px; }
  .pill--menu { width: 44px; padding: 0; justify-content: center; }
  .pill--menu .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pill--discord { width: 44px; padding: 0; justify-content: center; }
  .pill--discord .pill__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- Manifest ---------- */
.manifesto { padding: clamp(100px, 18vw, 260px) var(--gutter); }
.manifesto__text {
  font-size: clamp(2rem, 5.4vw, 5.6rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700;
  max-width: 17ch; margin: 0 auto; text-wrap: balance;
}
@media (min-width: 900px) { .manifesto__text { max-width: 19ch; } }
/* Gsm: schermvullend, de volle breedte tussen de marges. */
@media (max-width: 899px) {
  .manifesto__text { font-size: 10.4vw; line-height: 1.12; max-width: none; text-wrap: pretty; letter-spacing: -0.035em; }
}
.manifesto__text em {
  font-style: normal; font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0; color: var(--red-bright);
}
.manifesto__pair { white-space: nowrap; }
/* Foto's tussen de woorden: openen als het woord ervoor oplicht (zie main.js). */
.manifesto__pic {
  display: inline-block; width: 2.5em; height: 0.96em; border-radius: 999px; overflow: hidden;
  vertical-align: -0.16em; margin: 0 0.04em; background: var(--card);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14), 0 18px 40px -18px rgb(0 0 0 / 0.9);
  transition: box-shadow .5s;
}
.manifesto__zoom { display: block; width: 100%; height: 100%; transition: transform .8s var(--ease-out); }
.manifesto__pic img { width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (hover: hover) {
  /* GSAP beheert de transform van pil en foto; hover werkt op de binnenlaag. */
  .manifesto__pic:hover { box-shadow: 0 0 0 2px var(--teal-bright), 0 18px 40px -18px rgb(0 0 0 / 0.9); }
  .manifesto__pic:hover .manifesto__zoom { transform: scale(1.15); }
}

/* ---------- Over ons ---------- */
.about { padding: 0 var(--gutter); }
.stack { margin-top: 10vh; }
.stack__card {
  position: sticky; top: calc(14vh + var(--i, 0) * 28px);
  min-height: 62vh; margin-bottom: 10vh; border-radius: 36px; overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; gap: 16px;
  transform-origin: 50% 0;
  box-shadow: 0 -20px 60px -20px rgb(0 0 0 / 0.6);
}
.stack__card::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.stack__card:nth-child(2) { --i: 1; }
.stack__card:nth-child(3) { --i: 2; margin-bottom: 0; }
.stack__card--red { background: radial-gradient(ellipse at 100% 0%, #D14848, var(--red) 60%); }
.stack__card--teal { background: radial-gradient(ellipse at 100% 0%, #227A72, var(--teal-deep) 60%); }
.stack__card--ink { background: var(--card); border: 1px solid var(--line); }
.stack__num { font-weight: 700; letter-spacing: 0.1em; }
.stack__word {
  grid-column: 1 / -1; align-self: center;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(6rem, 22vw, 20rem); line-height: 0.8;
}
.stack__card p { grid-column: 1; max-width: 40ch; font-size: clamp(1.1rem, 1.6vw, 1.4rem); margin: 0; }
.stack__icon { grid-row: 1; grid-column: 2; width: clamp(48px, 7vw, 96px); height: clamp(48px, 7vw, 96px); opacity: 0.9; }

.disciplines { margin-top: clamp(100px, 14vw, 200px); }
.disc { border-bottom: 1px solid var(--line); }
.disc__row {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding: clamp(18px, 2.5vw, 30px) 0; border-top: 1px solid var(--line); isolation: isolate;
}
.disc__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--red);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.disc__name {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(2.6rem, 7.5vw, 7rem); line-height: 0.95;
  transition: transform .6s var(--ease);
}
.disc__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 560px; }
.disc__chips i {
  font-style: normal; font-size: 0.875rem; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.25); transition: background-color .4s, border-color .4s, transform .5s var(--ease-out);
}
@media (hover: hover) {
  .disc__row:hover::before { transform: scaleY(1); }
  .disc__row:hover .disc__name { transform: translateX(2vw); }
  .disc__row:hover .disc__chips i { background: rgb(0 0 0 / 0.25); border-color: transparent; transform: translateY(-3px); }
  .disc__row:hover .disc__chips i:nth-child(2) { transition-delay: .03s; }
  .disc__row:hover .disc__chips i:nth-child(3) { transition-delay: .06s; }
  .disc__row:hover .disc__chips i:nth-child(4) { transition-delay: .09s; }
  .disc__row:hover .disc__chips i:nth-child(n+5) { transition-delay: .12s; }
}

/* ---------- Projecten ---------- */
.projects { padding: clamp(120px, 16vw, 220px) 0 0; position: relative; }
.projects__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 20px; padding: 0 var(--gutter); }
.projects__intro { grid-column: 1 / -1; margin-bottom: 24px; }
.projects__hint, .projects__bar { display: none; }

.projects.is-pinned { padding: 0; }
.projects.is-pinned .projects__pin { height: 100vh; overflow: hidden; display: flex; align-items: center; }
.projects.is-pinned .projects__track { display: flex; align-items: center; gap: 3vw; padding: 0 var(--gutter); width: max-content; }
.projects.is-pinned .projects__intro { flex: 0 0 36vw; margin: 0 4vw 0 0; }
.projects.is-pinned .pcard { flex: 0 0 clamp(420px, 40vw, 680px); }
.projects.is-pinned .pcard img { width: 125%; max-width: none; margin-left: -12.5%; }
.projects.is-pinned .projects__hint { display: block; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; font-size: .8125rem; margin-top: 40px; }
.projects__hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; color: var(--teal-bright); }
@keyframes nudge { 50% { transform: translateX(10px); } }
.projects.is-pinned .projects__bar { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 6vh; height: 2px; background: var(--line); }
.projects__bar i { display: block; height: 100%; background: var(--teal-bright); transform: scaleX(0); transform-origin: left; }

.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.pcard__img { aspect-ratio: 4 / 3; }
.pcard__body { padding: 24px 28px 30px; position: relative; }
.pcard__num { position: absolute; top: 28px; right: 28px; font-weight: 700; font-size: .8125rem; letter-spacing: .1em; color: var(--muted); }
.pcard h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; margin: 14px 0 10px; }
.pcard p { color: var(--muted); margin: 0; }
.pcard:hover .duotone img { scale: 1.06; }

.chip {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 0.8125rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.chip--sm { font-size: 0.625rem; padding: 3px 8px; }

/* Duotone zoals EventImage: zwart → rood, of zwart → teal voor workshop/expo. */
.duotone { position: relative; margin: 0; overflow: hidden; background: var(--red); isolation: isolate; }
.duotone--teal { background: var(--teal); }
.duotone img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(1.1); mix-blend-mode: multiply;
  transition: scale 1s var(--ease-out);
}

/* ---------- Marquee ---------- */
.marquee { padding: clamp(100px, 14vw, 200px) 0; overflow: hidden; }
.marquee__row { rotate: -3deg; margin: 0 -5vw; }
.marquee__row--rev { rotate: -3deg; }
.marquee__inner {
  display: flex; align-items: center; width: max-content;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(4rem, 11vw, 11rem); line-height: 1.05;
}
.marquee__inner span { padding: 0 0.25em; white-space: nowrap; }
.marquee__inner .o { color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / 0.85); }
.marquee__row--rev .marquee__inner span:not(.o) { color: var(--red-bright); }
.marquee__inner b { font-size: 0.35em; color: var(--teal-bright); font-weight: 400; }

/* ---------- Discord ---------- */
.discord {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 120px var(--gutter); overflow: hidden;
}
.discord::before {
  content: ""; position: absolute; inset: 10% 5%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(42 138 130 / 0.28), rgb(138 36 36 / 0.18) 55%, transparent);
  filter: blur(40px);
}
/* Bubbels bewegen door de parallax tot buiten de sectie. In plaats van een harde
   snede op de rand vervagen ze zacht aan boven- en onderkant. */
.discord__field {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(transparent 0, #000 9%, #000 91%, transparent 100%);
}
/* Portretten van leden: bubbels van verschillende grootte rond de titel. */
.face { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); }
.face__in {
  display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 2px rgb(255 255 255 / 0.12), 0 20px 50px -18px rgb(0 0 0 / 0.9);
}
.face:nth-child(odd) .face__in { box-shadow: 0 0 0 2px rgb(255 115 115 / 0.5), 0 20px 50px -18px rgb(0 0 0 / 0.9); }
.face:nth-child(even) .face__in { box-shadow: 0 0 0 2px rgb(63 181 168 / 0.5), 0 20px 50px -18px rgb(0 0 0 / 0.9); }
.face img { width: 100%; height: 100%; object-fit: cover; }
.face.is-online::after { /* groene stip: deze persoon is "online" */
  content: ""; position: absolute; right: 8%; bottom: 8%; width: max(10px, 13%); aspect-ratio: 1; border-radius: 50%;
  background: #3FD07A; box-shadow: 0 0 0 3px var(--ink);
}
.discord__center { position: relative; text-align: center; display: grid; justify-items: center; pointer-events: none; }
.discord__center a { pointer-events: auto; }
.discord__title {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(3.6rem, 11vw, 10.5rem); line-height: 0.86;
}
.discord__lead { max-width: 40ch; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); margin: 28px 0 0; }

.orb { position: relative; width: 220px; height: 220px; margin: 48px 0 40px; display: grid; place-items: center; text-decoration: none; color: #fff; }
.orb__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb__ring text { fill: #fff; font-family: var(--display); font-size: 15px; letter-spacing: 3.2px; text-transform: uppercase; }
.orb__core {
  width: 128px; height: 128px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 2px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.25), transparent 60%), var(--teal);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), 0 20px 60px -10px rgb(42 138 130 / 0.9);
  font-family: var(--display); font-size: 1.6rem; text-transform: uppercase;
  transition: transform .6s var(--ease-out);
}
.orb__core .icon { width: 34px; height: 34px; }
.orb:hover .orb__core { transform: scale(1.12); }

.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px clamp(28px, 6vw, 80px); }
.stat { display: grid; justify-items: center; }
.stat__num { font-family: var(--display); font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

@media (max-width: 899px) {
  .discord { padding-block: 180px; }
  /* Gsm: 6 bubbels aan de randen (deels buiten beeld), zodat tekst en knop vrij blijven. */
  .face { left: var(--mx, var(--x)); top: var(--my, var(--y)); width: calc(var(--s) * 0.6); height: calc(var(--s) * 0.6); }
  .face:nth-child(n+7) { display: none; }
  .orb { width: 180px; height: 180px; }
  .orb__core { width: 104px; height: 104px; }
}

/* ---------- App ---------- */
.app { padding: clamp(100px, 14vw, 200px) var(--gutter) 0; }
.app__pin { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
.feat { margin-top: 40px; border-top: 1px solid var(--line); }
.feat__item {
  display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line);
  opacity: 0.4; transition: opacity .5s; cursor: pointer;
}
.feat__item.is-active { opacity: 1; }
.feat__num { font-weight: 700; font-size: .875rem; color: var(--muted); padding-top: 8px; transition: color .5s; }
.feat__item.is-active .feat__num { color: var(--teal-bright); }
.feat__item h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: 1.1; }
.feat__item p { color: var(--muted); margin: 4px 0 0; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.feat__item.is-active p { max-height: 4em; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px;
  border-radius: 14px; background: #000; border: 1px dashed rgb(255 255 255 / 0.25);
  color: #fff; text-decoration: none; font-size: 1.25rem; font-weight: 700; line-height: 1.1;
}
.store small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.store .icon { width: 28px; height: 28px; }

.phone-wrap { perspective: 1400px; display: grid; place-items: center; }
.phone {
  width: min(330px, 78vw); aspect-ratio: 9 / 19.5; padding: 11px; border-radius: 54px;
  background: linear-gradient(145deg, #34343a, #0d0d0f 40%, #222226);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14), 0 60px 120px -30px rgb(0 0 0 / 0.95), 0 0 120px -30px rgb(193 58 58 / 0.45);
  transform-style: preserve-3d;
}
.phone__screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden;
  background:
    radial-gradient(ellipse 90% 40% at 0% 0%, rgb(138 36 36 / 0.5), transparent 70%),
    radial-gradient(ellipse 90% 40% at 100% 100%, rgb(27 95 89 / 0.45), transparent 70%),
    var(--ink);
}
.phone__island { position: absolute; top: 11px; left: 50%; translate: -50% 0; width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 2; }
.phone__status { position: absolute; top: 16px; left: 28px; right: 24px; display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; }
.screen { position: absolute; inset: 58px 14px 84px; display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; }
.screen.is-active { opacity: 1; visibility: visible; }
.screen__title { font-family: var(--display); font-size: 2.2rem; line-height: 1; margin: 0 0 4px; text-transform: uppercase; }
.screen__search { background: rgb(255 255 255 / 0.08); border-radius: 10px; padding: 7px 10px; font-size: .75rem; color: var(--muted); }
.screen__seg { display: flex; gap: 4px; background: rgb(255 255 255 / 0.06); border-radius: 10px; padding: 3px; font-size: .68rem; }
.screen__seg > * { flex: 1; text-align: center; padding: 4px; border-radius: 8px; color: var(--muted); }
.screen__seg b { background: rgb(255 255 255 / 0.14); color: #fff; }
.mcard { background: var(--card); border-radius: 14px; padding: 10px 12px; border: 1px solid var(--line); }
.mcard__h { font-weight: 700; font-size: .85rem; margin: 6px 0 2px; }
.mcard__s { font-size: .7rem; color: var(--muted); margin: 0; }
.mevent { border-radius: 16px; flex: 1; min-height: 0; }
.mevent figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; display: flex; justify-content: space-between; align-items: end;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.75)); font-size: .75rem;
}
.mevent figcaption b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; text-transform: uppercase; }
.bubble { align-self: flex-start; max-width: 85%; background: var(--card); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 8px 11px; font-size: .75rem; line-height: 1.35; }
.bubble b { display: block; font-size: .68rem; color: var(--red-bright); margin-bottom: 2px; }
.bubble--me { align-self: flex-end; background: var(--teal-deep); border-radius: 16px 16px 4px 16px; }
.bubble--audio { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; width: 85%; }
.bubble--audio b { grid-column: 1 / -1; }
.bubble--audio small { color: var(--muted); }
.wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.wave i { flex: 1; height: 100%; background: var(--teal-bright); border-radius: 2px; transform-origin: center; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-delay: -.3s; }
.wave i:nth-child(3n) { animation-delay: -.6s; }
.wave i:nth-child(4n) { animation-delay: -.85s; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.mention { color: var(--teal-bright); font-weight: 700; }
.crew { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.crew > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; display: grid; justify-items: center; text-align: center; gap: 2px; }
.crew b { font-size: .72rem; }
.crew small { font-size: .62rem; color: var(--muted); }
.av {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px;
  font-family: var(--display); font-size: 1.2rem; background: var(--red);
}
.av[style*="--h:1"] { background: var(--teal); }
.phone__tabs {
  position: absolute; left: 14px; right: 14px; bottom: 18px; height: 54px; border-radius: 27px;
  background: rgb(40 40 44 / 0.8); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-around; border: 1px solid rgb(255 255 255 / 0.1);
}
.phone__tabs i { width: 20px; height: 20px; border-radius: 6px; background: rgb(255 255 255 / 0.3); transition: background-color .4s, transform .4s var(--ease-out); }
.phone__tabs i.on { background: var(--teal-bright); transform: scale(1.15); }

/* Op desktop staat de sectie vast: precies één scherm hoog, alles verticaal gecentreerd. */
@media (min-width: 900px) {
  .app__pin { height: 100vh; min-height: 640px; padding: 88px 0 24px; }
  .app .title { font-size: clamp(3.2rem, 7.5vw, 7.5rem); }
  .app .feat { margin-top: 28px; }
  .phone { width: auto; height: min(78vh, 720px); }
}
@media (max-width: 899px) {
  .app__pin { grid-template-columns: 1fr; min-height: 0; }
  .phone-wrap { order: -1; margin-bottom: 24px; }
}

/* ---------- Contact ---------- */
.contact { padding: clamp(140px, 18vw, 260px) var(--gutter) 0; }
.contact__mail {
  display: inline-flex; align-items: center; gap: 0.2em; margin-top: 48px; max-width: 100%;
  font-family: var(--display); font-size: clamp(2.2rem, 7.6vw, 8rem); line-height: 1.05; color: var(--text); text-decoration: none;
  position: relative; overflow-wrap: anywhere;
}
.contact__mail::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.05em; height: 0.05em; background: var(--teal-bright);
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease);
}
.contact__mail:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__mail .icon { width: 0.7em; height: 0.7em; color: var(--teal-bright); transition: transform .6s var(--ease); }
.contact__mail:hover .icon { transform: rotate(45deg); }
.contact__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.contact__links a {
  display: grid; gap: 6px; padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text);
  font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700;
}
.contact__k { font-size: .8125rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .contact__links { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.footer {
  min-height: 100svh; display: grid; grid-template-rows: 1fr auto auto;
  padding: 120px var(--gutter) var(--gutter); margin-top: 10vh; position: relative;
}
.footer__stage { min-height: 36vh; display: grid; place-items: center; cursor: pointer; }
.footer__fallback { max-height: 36vh; width: auto; }
.footer__giant {
  margin: 0; text-align: center; font-family: var(--display); text-transform: uppercase;
  font-size: clamp(6rem, 25vw, 26rem); line-height: 0.8; white-space: nowrap;
}
.footer__giant > span { display: inline-block; overflow: hidden; padding-top: 0.06em; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 24px; }
.footer__bar p { margin: 0; color: var(--muted); }
.footer__bar strong { color: var(--text); }
.footer__top { color: var(--text); text-decoration: none; font-weight: 700; display: inline-flex; gap: 8px; }

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
