/* nightinvasion.fr — style cinématique (aucune ressource externe ; images générées par tools/gen_scenes.py). */

:root {
  --bg: #07060b;
  --bg-2: #100d18;
  --panel: rgba(18, 14, 28, .72);
  --line: rgba(255, 255, 255, .10);
  --text: #f1edf9;
  --muted: #b3acc9;
  --accent: #b46cff;
  --accent-2: #ff5fd2;
  --ink: #0b0712;
  --max: 1180px;
  --radius: 14px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ni: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Medium", sans-serif;
  --font-soc: "Courier New", Courier, ui-monospace, monospace;
  --font-ot: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f1fa; --bg-2: #ebe6f5; --panel: rgba(255, 255, 255, .86); --line: rgba(20, 10, 40, .12);
  --text: #19132a; --muted: #554d6e; --accent: #7a32d6; --accent-2: #c2188f; color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f1fa; --bg-2: #ebe6f5; --panel: rgba(255, 255, 255, .86); --line: rgba(20, 10, 40, .12);
    --text: #19132a; --muted: #554d6e; --accent: #7a32d6; --accent-2: #c2188f; color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font-body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--bg-2); color: var(--text); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* Grain de film par-dessus tout (ne capte aucun clic) */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 40; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------- en-tête */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background .4s ease, box-shadow .4s ease; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.site-header.scrolled { background: rgba(7, 6, 11, .82); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .14em; font-size: 14px; }
.brand img { width: 34px; height: 34px; }
.nav { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.nav a { color: rgba(255,255,255,.78); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.10); }
.theme-toggle { margin-left: 6px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.3); color: #fff; border-radius: 999px;
  width: 38px; height: 38px; cursor: pointer; font-size: 16px; }
@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: wrap; gap: 4px; padding-top: 8px; padding-bottom: 8px; }
  .nav { width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 6px 10px; }
  .theme-toggle { flex: 0 0 auto; }
}

/* ---------------------------------------------------------------- scènes plein cadre */
.scene { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; color: #fff; }
.scene-bg { position: absolute; inset: -8% 0; z-index: -2; }
.scene-bg img { width: 100%; height: 100%; object-fit: cover; }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,4,9,.88) 0%, rgba(5,4,9,.55) 38%, rgba(5,4,9,.05) 70%),
              linear-gradient(180deg, rgba(5,4,9,.55) 0%, transparent 22%, transparent 70%, var(--bg) 100%); }
.scene.right::before { background: linear-gradient(270deg, rgba(5,4,9,.88) 0%, rgba(5,4,9,.55) 38%, rgba(5,4,9,.05) 70%),
              linear-gradient(180deg, rgba(5,4,9,.55) 0%, transparent 22%, transparent 70%, var(--bg) 100%); }
.scene .wrap { padding-top: 110px; padding-bottom: 90px; }
/* Texte à droite : l'image passe en miroir pour que son sujet reste visible à gauche. */
.scene.right .scene-bg img { transform: scaleX(-1); }
[id] { scroll-margin-top: 72px; }
.scene[id] { scroll-margin-top: 0; }
.scene.right .scene-copy { margin-left: auto; text-align: right; }
.scene.right .chips, .scene.right .actions { justify-content: flex-end; }
.scene-copy { max-width: 620px; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.chapter-no { font: 700 13px/1 var(--font-body); letter-spacing: .4em; color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 18px; }
.scene h1, .scene h2 { margin: 0 0 18px; line-height: .95; letter-spacing: .01em; font-weight: 800; }
.scene h1 { font-size: clamp(56px, 11vw, 150px); }
.scene h2 { font-size: clamp(46px, 8vw, 110px); }
.scene p.lead { font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,.86); margin: 0 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.chips li { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px;
  font-weight: 800; letter-spacing: .04em; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); }
.btn:hover { color: #fff; border-color: #fff; }
.btn.primary { border: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: var(--ink); box-shadow: 0 0 32px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn.primary:hover { color: var(--ink); filter: brightness(1.08); }
.btn::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%); }
.btn:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6);
  border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff;
  animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Accueil : titre monumental */
.home-hero h1 { font-family: var(--font-ni); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.home-hero h1 span { display: block; background: linear-gradient(90deg, #d9b3ff, #ff7ad9, #ff5a5a); -webkit-background-clip: text;
  background-clip: text; color: transparent; background-size: 200% 100%; animation: neon-flow 7s ease-in-out infinite alternate; }
@keyframes neon-flow { to { background-position: 100% 0; } }

/* ---------------------------------------------------------------- identité de chaque univers */
.u-ni { --accent: #ff4d4d; --accent-2: #ffb24d; }
.u-ni h1, .u-ni h2 { font-family: var(--font-ni); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.u-ni h1 em, .u-ni h2 em { font-style: normal; color: #ff4d4d; text-shadow: 0 0 30px rgba(255,60,60,.6); }
.u-soc { --accent: #ff5f7a; --accent-2: #9aa8ff; }
.u-soc h1, .u-soc h2 { font-family: var(--font-soc); font-weight: 700; letter-spacing: -.02em; text-transform: lowercase; }
.u-soc h1 em, .u-soc h2 em { font-style: normal; color: #ff5f7a; display: block; animation: flicker 6s linear infinite; }
@keyframes flicker { 0%, 91%, 93.5%, 96%, 100% { opacity: 1; } 92%, 95% { opacity: .25; } }
.u-ot { --accent: #e9b85f; --accent-2: #ff7a3b; }
.u-ot h1, .u-ot h2 { font-family: var(--font-ot); font-weight: 700; font-variant: small-caps; letter-spacing: .04em; color: #f6dca8;
  text-shadow: 0 2px 0 #3b2412, 0 0 34px rgba(255,140,60,.45); }
.u-ot h1 em, .u-ot h2 em { font-style: normal; display: block; font-size: .5em; letter-spacing: .5em; color: #e9b85f; }
.u-amelia { --accent: #c78bff; --accent-2: #ff6fd8; }
.u-amelia h1, .u-amelia h2 { font-weight: 200; letter-spacing: .02em; }
.u-amelia h1 em, .u-amelia h2 em { font-style: normal; font-weight: 800; color: #f3dcff;
  text-shadow: 0 0 8px #c78bff, 0 0 26px #b46cff, 0 0 60px #ff6fd8; animation: neon-buzz 4s ease-in-out infinite; }
@keyframes neon-buzz { 50% { text-shadow: 0 0 6px #c78bff, 0 0 18px #b46cff, 0 0 40px #ff6fd8; } }

/* Effets d'ambiance par scène */
.fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fx-embers { background-image:
    radial-gradient(2px 2px at 40px 300px, #ffb24d, transparent 60%), radial-gradient(1.5px 1.5px at 160px 340px, #ff6a4d, transparent 60%),
    radial-gradient(2.5px 2.5px at 260px 280px, #ff4d4d, transparent 60%), radial-gradient(1.5px 1.5px at 330px 360px, #ffd27a, transparent 60%);
  background-size: 380px 380px; opacity: .8; animation: rise 16s linear infinite; }
@keyframes rise { to { background-position: 40px -380px; } }
.fx-rain { background-image: repeating-linear-gradient(105deg, rgba(200,210,255,.09) 0 1px, transparent 1px 15px);
  background-size: 320px 320px; animation: rain .55s linear infinite; }
@keyframes rain { to { background-position: -90px 320px; } }
.fx-flash { animation: lightning 13s linear infinite; }
@keyframes lightning { 0%, 93%, 95.5%, 100% { background: rgba(210,220,255,0); } 94% { background: rgba(210,220,255,.10); } 95% { background: rgba(210,220,255,.03); } 96% { background: rgba(210,220,255,.07); } }
.fx-dust { background-image: radial-gradient(1.5px 1.5px at 60px 60px, rgba(247,219,172,.9), transparent 60%),
    radial-gradient(1px 1px at 180px 140px, rgba(247,219,172,.7), transparent 60%), radial-gradient(2px 2px at 260px 40px, rgba(255,170,90,.7), transparent 60%);
  background-size: 320px 200px; animation: dust 45s linear infinite; }
@keyframes dust { to { background-position: -320px -200px; } }
.fx-stars { background-image: radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 120px 80px, rgba(255,255,255,.7), transparent 60%), radial-gradient(1.5px 1.5px at 200px 160px, rgba(220,190,255,.9), transparent 60%),
    radial-gradient(2px 2px at 380px 120px, rgba(255,140,230,.8), transparent 60%);
  background-size: 420px 220px; animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .35; } to { opacity: .8; } }
.fx-scan { background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); }

/* ---------------------------------------------------------------- sections de contenu */
.section { position: relative; padding: 90px 0; }
#contenu-jeu { background: radial-gradient(70% 45% at 50% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%),
  radial-gradient(40% 35% at 100% 100%, color-mix(in srgb, var(--accent-2) 8%, transparent), transparent 70%); }
.section h2.title { font-size: clamp(30px, 4vw, 48px); margin: 0 0 10px; line-height: 1.1; }
.section p.sub { color: var(--muted); margin: 0 0 40px; max-width: 760px; }
.cols { display: grid; gap: 28px; grid-template-columns: 1.6fr 1fr; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(8px); }
.panel h2 { margin: 0 0 12px; font-size: 26px; }
.panel h3 { margin: 26px 0 8px; font-size: 19px; color: var(--accent); letter-spacing: .02em; }
.panel p, .panel li { color: var(--muted); }
.panel ul { padding-left: 20px; }
.panel strong { color: var(--text); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 9px; border-bottom: 1px dashed var(--line); }
.facts li span:last-child { color: var(--text); font-weight: 700; text-align: right; }
.notice { border-left: 3px solid var(--accent); padding: 12px 16px; background: color-mix(in srgb, var(--accent) 8%, transparent); border-radius: 0 10px 10px 0; }
.legal { font-size: 13px; opacity: .8; }
.figure { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.figure img { width: 100%; height: auto; }

/* Mosaïque des quatre mondes (accueil) */
.worlds { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .worlds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .worlds { grid-template-columns: 1fr; } }
.world { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate;
  border: 1px solid rgba(255,255,255,.08); }
@media (max-width: 520px) { .world { aspect-ratio: 4 / 3; } }
.world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s ease, filter .6s ease; filter: saturate(.85); }
.world::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(5,4,9,.92)); }
.world:hover img { transform: scale(1.08); filter: saturate(1.1); }
.world span { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.world b { display: block; font-size: 22px; line-height: 1.1; }
.world small { color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.world:hover { color: #fff; }

/* Générique (équipe) */
.credits { text-align: center; padding: 120px 0; background:
    radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), var(--bg); }
.credits .title { font-family: var(--font-ni); font-weight: 400; letter-spacing: .3em; text-transform: uppercase; font-size: clamp(26px, 4vw, 44px); margin: 0 0 8px; }
.credits .quote { color: var(--muted); font-style: italic; margin: 0 0 64px; }
.credit { margin: 0 auto 44px; max-width: 640px; }
.credit .role { display: block; font-size: 12px; letter-spacing: .38em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.credit .name { display: block; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: .02em; line-height: 1.15; }
.credit .what { display: block; color: var(--muted); margin-top: 6px; font-size: 15px; }
.credit.kali .name { font-family: var(--font-ot); font-style: italic; font-weight: 400; }
.credits .join { margin-top: 70px; color: var(--muted); }
.credits .credits-cta { justify-content: center; margin-top: 56px; }
.credits .credits-cta + .join { margin-top: 22px; }

/* ---------------------------------------------------------------- page Équipe */
.bio { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; gap: 28px; } }
.bio-card { position: sticky; top: 90px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); isolation: isolate;
  aspect-ratio: 3 / 4; display: flex; align-items: flex-end; color: #fff; }
@media (max-width: 860px) { .bio-card { position: relative; top: 0; aspect-ratio: 4 / 3; } }
.bio-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bio-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(5,4,9,.92)); }
.bio-card .monogram { position: absolute; top: 22px; left: 22px; font-family: var(--font-ni); font-size: 64px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.75); letter-spacing: .04em; }
.bio-card .who { padding: 24px; }
.bio-card .who b { display: block; font-size: 28px; line-height: 1.1; }
.bio-card .who small { color: rgba(255,255,255,.78); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.bio-text h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 6px; line-height: 1.1; }
.bio-text .tagline { color: var(--accent); font-weight: 700; letter-spacing: .06em; margin: 0 0 22px; }
.bio-text p { color: var(--muted); font-size: 18px; }
.bio-text p strong { color: var(--text); }
.bio-text h3 { margin: 34px 0 12px; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.timeline li b { display: block; color: var(--text); font-size: 17px; }
.timeline li span { color: var(--muted); font-size: 15px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.skills li { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--text); }
.roster { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.member { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); isolation: isolate; min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; }
.member img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.85) brightness(.75);
  transition: transform 1.2s ease, filter .6s ease; }
.member::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,4,9,.1) 0%, rgba(5,4,9,.94) 70%); }
.member:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(.85); }
.member .monogram { position: absolute; top: 18px; right: 20px; font-family: var(--font-ni); font-size: 46px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.6); }
.member .role { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.member h3 { margin: 6px 0 8px; font-size: 25px; line-height: 1.15; }
.member p { margin: 0; color: rgba(255,255,255,.8); font-size: 15px; }
.member .on { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.member .on span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); }
.member.kali h3 { font-family: var(--font-ot); font-style: italic; font-weight: 400; font-size: 30px; }
.team-more { margin-top: 26px; }
.member p strong { color: #fff; }
.member p em { color: #fff; font-style: italic; }
/* Hommage à Kali */
.memorial { background: radial-gradient(50% 60% at 20% 50%, rgba(233,184,95,.10), transparent 70%), var(--bg); }
.memorial-inner { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; max-width: 960px; }
@media (max-width: 720px) { .memorial-inner { grid-template-columns: 1fr; gap: 24px; } }
.memorial-photo { margin: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  border: 2px solid rgba(233,184,95,.55); box-shadow: 0 0 0 10px rgba(233,184,95,.06), 0 0 60px rgba(233,184,95,.18);
  background: radial-gradient(circle at 50% 40%, #2a2016, #0d0a08); max-width: 260px; }
.memorial-photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.15); }
.memorial-photo .paw { font-size: 72px; opacity: .8; }
.memorial .role { font-size: 12px; letter-spacing: .38em; text-transform: uppercase; color: #e9b85f; }
.memorial h2 { font-family: var(--font-ot); font-style: italic; font-weight: 400; font-size: clamp(44px, 6vw, 72px); margin: 6px 0 4px; }
.memorial-sub { color: #e9b85f; margin: 0 0 18px; }
.memorial p { color: var(--muted); font-size: 17px; }

/* ---------------------------------------------------------------- pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: var(--muted); }

/* ---------------------------------------------------------------- apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.worlds .reveal:nth-child(2) { transition-delay: .08s; }
.worlds .reveal:nth-child(3) { transition-delay: .16s; }
.worlds .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
