:root {
  --ink: #2f2a4a;
  --soft: #5d5880;
  --sky1: #5fbcff;
  --sky2: #cdeeff;
  --hill: #8ddf6a;
  --hill2: #6cc653;
  --blue: #4da3ff;
  --pink: #ff5f8f;
  --mint: #4fd6a6;
  --orange: #ff8a3d;
  --purple: #a08bff;
  --yellow: #ffd23f;
  --white: #fff;
  --cream: #fff8e1;
  --radius: clamp(22px, 3vw, 36px);
  --line: 6px solid var(--ink);
  --drop: 0 12px 0 var(--ink);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 18px; } }

img, svg { display: block; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--pink); outline-offset: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1200px, 100% - 64px); } }

.yellow { color: var(--yellow); }
.pink { color: var(--pink); }

/* Big titles with a thick ink outline and a hard shadow, like the deck covers */
.loud { color: var(--white); -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; text-shadow: 0 .09em 0 var(--ink); }
h1, h2, h3 { font-weight: 700; line-height: 1.05; }
h1 { font-size: clamp(50px, 8.4vw, 100px); letter-spacing: .01em; }
h2 { font-size: clamp(38px, 5.6vw, 66px); }

/* Buttons and pills: ink outline, hard shadow, pressing down on hover and click */
.btn {
  --drop-y: 7px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 26px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--c, var(--white));
  color: var(--ink);
  font: 600 18px/1.2 var(--font);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 -6px 0 rgb(47 42 74 / .16), inset 0 4px 0 rgb(255 255 255 / .55), 0 var(--drop-y) 0 var(--ink);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn::after { content: ""; position: absolute; inset: -4px; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .65) 50%, transparent 65%); translate: -110% 0; transition: translate .6s ease; }
.btn:hover::after { translate: 110% 0; }
.btn:hover { --drop-y: 4px; transform: translateY(3px); }
.btn:active { --drop-y: 0px; transform: translateY(7px); }
.btn svg { flex: none; transition: transform .3s var(--bounce); }
.btn:hover svg { transform: scale(1.2) rotate(-8deg); }
.btn--big { min-height: 62px; padding: 10px 30px; font-size: 20px; }
.btn--small { --drop-y: 5px; min-height: 48px; padding: 4px 20px; font-size: 16px; }
.btn--small:hover { --drop-y: 2px; }
.btn--small:active { transform: translateY(5px); }
.btn--yellow { --c: var(--yellow); }
.btn--white { --c: var(--white); }
.btn--mint { --c: var(--mint); }

/* One color and one icon per action, on the whole site: green plays, yellow explores,
   pink talks to the team, purple shares and orange downloads. White is for secondary actions */
.btn--jogar { --c: var(--mint); }
.btn--conhecer { --c: var(--yellow); }
.btn--falar { --c: var(--pink); }
.btn--compartilhar { --c: var(--purple); }
.btn--baixar { --c: var(--orange); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 18px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--c, var(--white));
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .03em;
  box-shadow: 0 6px 0 var(--ink);
}
.pill--white { --c: var(--white); }
.pill--blue { --c: var(--blue); }
.pill--pink { --c: var(--pink); }
.pill--purple { --c: var(--purple); }
.pill--mint { --c: var(--mint); }
.pill--yellow { --c: var(--yellow); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 12px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.tag--yellow { background: var(--yellow); }
.tag--ink { background: var(--ink); color: var(--white); }
.dot { width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; background: var(--mint); animation: blink 1.6s steps(2, jump-none) infinite; }

.card { background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--drop); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(6px); box-shadow: 0 6px 0 var(--ink); }

/* Nav with the logo pill, section pills and the striped XP bar */
.nav { position: sticky; top: 0; z-index: 30; background: var(--sky1); }
.nav__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding-block: 10px 14px; }
.nav__logo { flex: none; margin-right: auto; padding: 0 8px 0 4px; background: var(--white); border: 4px solid var(--ink); border-radius: 999px; box-shadow: 0 5px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.nav__logo:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.nav__logo img { width: 172px; height: auto; }
.nav .btn { --drop-y: 5px; min-height: 46px; padding: 4px 18px; font-size: 16px; }
.nav .btn:hover { --drop-y: 2px; }
.nav__links { display: flex; flex-wrap: wrap; gap: 10px; order: 3; width: 100%; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 4px 16px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease;
}
.nav__links a:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.nav__links a:active { transform: translateY(4px); box-shadow: none; }
.nav__links .nav__menu-cta { background: var(--mint); }
.nav__toggle { display: none; align-items: center; gap: 10px; min-height: 46px; padding: 4px 18px; background: var(--white); border: 4px solid var(--ink); border-radius: 999px; box-shadow: 0 5px 0 var(--ink); color: var(--ink); font: 600 16px var(--font); cursor: pointer; }
.nav__toggle:active { transform: translateY(5px); box-shadow: none; }
.burger { width: 18px; height: 3px; border-radius: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
.nav__cta { display: none; }
@media (min-width: 640px) {
  .nav__cta { display: inline-flex; }
  .nav__links .nav__menu-cta { display: none; }
}
@media (max-width: 1199px) {
  .js .nav__toggle { display: inline-flex; }
  .js .nav__links { display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0; flex-direction: column; padding: 16px; background: var(--white); border: 5px solid var(--ink); border-radius: 28px; box-shadow: 0 10px 0 var(--ink); }
  .js .nav.is-open .nav__links { display: flex; animation: menu-in .3s var(--bounce); }
}
@media (min-width: 1200px) {
  .nav__inner { flex-wrap: nowrap; }
  .nav__links { order: 0; width: auto; }
}
.scrollxp { height: 12px; background: var(--white); border-block: 3px solid var(--ink); overflow: hidden; }
.scrollxp span { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--yellow) 0 18px, var(--orange) 18px 22px); transform: translateX(-100%); }

/* Scenes: sky with clouds, glyphs and hills, or night with stars */
.scene { position: relative; overflow: hidden; overflow: clip; }
.sky { background: linear-gradient(180deg, var(--sky1), var(--sky2)); }
.night { background: var(--ink); color: var(--white); }
.scenery { position: absolute; inset: 0; pointer-events: none; }
.scene > :not(.scenery) { position: relative; }
.cloud { position: absolute; left: var(--x); width: var(--w); height: auto; aspect-ratio: 2; animation: drift var(--t) linear var(--d) infinite; }
.glyph { position: absolute; color: rgb(255 255 255 / .75); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1; white-space: nowrap; animation: glyph-float 7s ease-in-out var(--d, 0s) infinite; }
.glyph--faint { color: rgb(255 255 255 / .14); }
.twinkle { position: absolute; animation: twinkle 2.6s ease-in-out var(--d, 0s) infinite; }
.hills { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 13vw, 180px); }
.hills::before, .hills::after { content: ""; position: absolute; border-radius: 50%; }
.hills::before { left: -20%; bottom: -60%; width: 78%; height: 160%; background: var(--hill); }
.hills::after { right: -24%; bottom: -78%; width: 86%; height: 160%; background: var(--hill2); }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--last { padding-bottom: clamp(64px, 8vw, 110px); }
.section__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head > p:not(.pill) { max-width: 640px; font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); }
.night .section__head > p { color: rgb(255 255 255 / .85); }
.night__title { color: var(--yellow); font-size: clamp(40px, 6vw, 72px); }

/* HUD row on each section: phase pill at left and the XP bar at right */
.hudrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 4vw, 44px); }
.xp { display: flex; flex: 0 1 260px; align-items: center; gap: 10px; }
.xp b { color: var(--white); font-size: 26px; line-height: 1; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; }
.xp__bar { flex: 1; height: 24px; background: var(--white); border: 4px solid var(--ink); border-radius: 999px; overflow: hidden; }
.xp__bar i { display: block; height: 100%; background: var(--yellow); transform: translateX(calc(var(--xp) - 100%)); transition: transform 1s var(--bounce) .3s; }
.js .hudrow:not(.is-visible) .xp__bar i { transform: translateX(-100%); }
.night .xp b { color: var(--yellow); -webkit-text-stroke: 0; }
.night .xp__bar { border: 0; }
@media (max-width: 479px) { .xp { flex-basis: 130px; } .xp b { font-size: 20px; } .xp__bar { height: 20px; } }

/* Hero */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 48px); }
.hero__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; } }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.start { padding: 6px 22px 6px 8px; font-size: 20px; letter-spacing: 0; }
.start b { color: var(--pink); }
.title-hop span { display: inline-block; animation: hop 3.6s ease-in-out infinite; }
.title-hop span:nth-child(2) { animation-delay: .1s; }
.title-hop span:nth-child(3) { animation-delay: .2s; }
.title-hop span:nth-child(4) { animation-delay: .3s; }
.title-hop span:nth-child(5) { animation-delay: .4s; }
.tagline { padding: 6px 20px; background: var(--ink); color: var(--white); border-radius: 999px; font-weight: 600; font-size: clamp(16px, 2vw, 22px); }
.lead { max-width: 580px; font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); }
.ctas { display: flex; flex-wrap: wrap; gap: 18px; }
.hero__talk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-weight: 600; }
@media (max-width: 599px) {
  .hero .ctas { flex-direction: column; align-self: stretch; }
  .hero .ctas .btn { width: 100%; }
}

/* Bit the robot and its speech bubble */
.bot { flex: none; overflow: visible; animation: bob 2.6s ease-in-out var(--d, 0s) infinite; }
.bot.jump { animation: jump .7s var(--bounce); }
.hello { display: flex; align-items: center; gap: 20px; }
.bubble { position: relative; padding: 12px 20px; background: var(--white); color: var(--ink); border: 4px solid var(--ink); border-radius: 24px; box-shadow: 0 6px 0 rgb(47 42 74 / .3); font-weight: 600; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.3; text-align: left; transform-origin: 0 50%; animation: bubble-in .55s var(--bounce) .7s backwards; }
.bubble::before, .bubble::after { content: ""; position: absolute; top: 50%; border-style: solid; border-color: transparent; }
.bubble::before { left: -15px; margin-top: -11px; border-width: 11px 11px 11px 0; border-right-color: var(--ink); }
.bubble::after { left: -8px; margin-top: -8px; border-width: 8px 8px 8px 0; border-right-color: var(--white); }
.js .reveal:not(.is-visible) .bubble { animation-play-state: paused; }

/* Hero mini game: the visitor programs Bit with arrows to reach the star, like the kids do in Robô pega a estrela */
.screen { position: relative; display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 540px; margin-inline: auto; padding: 20px 22px 22px; background: var(--ink); color: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--drop); }
.screen.is-won { animation: ready .7s var(--bounce); }
.screen__sky { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.hud { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.hud__level { padding: 3px 12px; background: var(--yellow); color: var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: .04em; white-space: nowrap; }
.hud__phase { color: rgb(255 255 255 / .85); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.hud__stars { display: flex; gap: 4px; margin-left: auto; }
.hud__stars svg { opacity: .25; transition: opacity .3s ease; }
.hud__stars svg.is-on { opacity: 1; animation: bump .5s var(--bounce); }
.board { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); aspect-ratio: 6 / 4; background: rgb(255 255 255 / .06); border: 3px solid rgb(255 255 255 / .25); border-radius: 16px; overflow: hidden; }
.cell { position: relative; display: grid; place-items: center; border: 1px dashed rgb(255 255 255 / .12); }
.cell > svg { width: 70%; height: 70%; max-height: 100%; }
.cell--star > svg { animation: twinkle 2.6s ease-in-out infinite; }
.cell--bug > svg { animation: c-bug .8s ease-in-out infinite; }
.cell.is-plan::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; translate: -50% -50%; background: var(--yellow); border-radius: 50%; }
.cell.is-plan-bad::after { content: "×"; position: absolute; left: 50%; top: 50%; translate: -50% -50%; color: var(--pink); font-weight: 700; font-size: 28px; line-height: 1; }
.cell--bug.is-plan-bad::after, .cell--bug.is-plan::after { display: none; }
.board__bit { position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: calc(100% / 6); height: 25%; transform: translate(calc(var(--x) * 100%), calc(var(--y) * 100%)); transition: transform .3s ease; }
.board__bit svg { width: 78%; height: 78%; overflow: visible; }
.board__bit.is-hit svg { animation: shake .4s ease-in-out; }
.screen__status { position: relative; min-height: 2.8em; font-weight: 600; font-size: 15px; line-height: 1.4; }
.program { position: relative; display: flex; flex-wrap: wrap; gap: 6px; min-height: 40px; margin: 0; padding: 6px; background: rgb(255 255 255 / .08); border: 2px dashed rgb(255 255 255 / .3); border-radius: 14px; list-style: none; }
.program li { display: grid; place-items: center; width: 30px; height: 30px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 9px; }
.program li:last-child { animation: pop .3s var(--bounce); }
.program li.is-now { background: var(--mint); outline: 3px solid var(--white); }
.pad { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.key { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; background: var(--white); border: 4px solid var(--ink); border-radius: 14px; box-shadow: inset 0 -5px 0 rgb(47 42 74 / .16), 0 5px 0 rgb(0 0 0 / .45); cursor: pointer; transition: transform .1s ease, box-shadow .1s ease; }
.key:hover { transform: translateY(2px); box-shadow: inset 0 -5px 0 rgb(47 42 74 / .16), 0 3px 0 rgb(0 0 0 / .45); }
.key:active { transform: translateY(5px); box-shadow: inset 0 -3px 0 rgb(47 42 74 / .16); }
.key:focus-visible { outline: 4px solid var(--pink); outline-offset: 3px; }
.pad .btn { margin-left: auto; }
.pad.is-busy { pointer-events: none; opacity: .6; }
[data-move="up"] svg, [data-dir="up"] svg { rotate: -90deg; }
[data-move="down"] svg, [data-dir="down"] svg { rotate: 90deg; }
[data-move="left"] svg, [data-dir="left"] svg { rotate: 180deg; }
.screen__end { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.screen [hidden] { display: none; }
.float { position: absolute; pointer-events: none; animation: float 4s ease-in-out var(--d, 0s) infinite; }
.float--1 { left: -20px; top: 34%; }
.float--4 { right: -14px; bottom: 16%; --d: -3s; }
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx .plus, .level .plus { position: absolute; color: var(--yellow); font-weight: 700; font-size: 22px; -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; white-space: nowrap; animation: rise .9s ease-out forwards; }
.fx .bit { position: absolute; width: 9px; height: 9px; background: var(--c); animation: burst var(--t) cubic-bezier(.2, .7, .3, 1) forwards; }
.fx .banner { position: absolute; translate: -50% -50%; padding: 6px 24px; background: var(--pink); color: var(--white); border: 5px solid var(--ink); border-radius: 999px; box-shadow: 0 8px 0 var(--ink); font-weight: 700; font-size: clamp(22px, 3vw, 32px); -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; white-space: nowrap; animation: banner 1.6s var(--bounce) forwards; }
@media (max-width: 479px) {
  .screen { padding: 16px; }
  .hud__level, .hud__phase { font-size: 12px; }
  .key { width: 46px; height: 46px; }
  .pad .btn { margin-left: 0; }
}

/* The prompt machine card in the resources, with a small console lighting its four pieces */
.machine-promo { display: grid; gap: 24px; align-items: center; margin-bottom: clamp(32px, 5vw, 56px); padding: clamp(18px, 3vw, 28px); box-shadow: inset 0 14px 0 var(--yellow), var(--drop); }
@media (min-width: 768px) { .machine-promo { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); } }
.machine-promo__art svg { display: block; width: 100%; height: auto; }
.machine-promo__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.machine-promo__text h3 { font-size: clamp(34px, 4.4vw, 52px); }
.machine-promo__text p { max-width: 620px; font-weight: 600; }
.machine-promo .share { margin-top: 0; }
.m-light { fill: var(--c); animation: m-light 3.6s ease-in-out var(--d, 0s) infinite; }

/* Como funciona: a staircase of colored levels */
.journey { display: grid; gap: 32px; }
@media (min-width: 1024px) { .journey { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: start; gap: 48px; } }
.stairs { display: grid; gap: 24px; }
.level { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(18px, 2.2vw, 26px); background: var(--c); --rise: 110px; }
.level--mint { --c: var(--mint); }
.level--blue { --c: var(--blue); --delay: .18s; }
.level--orange { --c: var(--orange); --delay: .36s; }
.level h3 { font-size: clamp(30px, 3vw, 40px); }
.level p { flex: 1; font-weight: 600; }
.level .plus { right: 22px; bottom: 44px; }
.blocks { display: flex; align-self: stretch; gap: 6px; }
.blocks span { flex: 1; height: 16px; background: var(--white); border: 3px solid var(--ink); border-radius: 6px; }
.blocks span.on { background: var(--yellow); animation: block .35s steps(3, end) backwards; }
.blocks span.on:nth-child(2) { animation-delay: .25s; }
.blocks span.on:nth-child(3) { animation-delay: .5s; }
.stairs__bot { display: none; }
.token { animation: spin-y 2.4s linear infinite; }
@media (min-width: 640px) {
  .stairs { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; padding-top: 104px; }
  .level--mint { min-height: 290px; }
  .level--blue { min-height: 370px; }
  .level--orange { min-height: 450px; }
  .stairs__bot { position: absolute; bottom: calc(100% + 4px); left: 50%; display: flex; align-items: flex-end; gap: 6px; translate: -50% 0; }
}

/* Projects: one card per project with its missions inside */
.projects { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project--locked { grid-column: 1 / -1; }
}
.project { display: flex; flex-direction: column; overflow: hidden; }
.project__banner { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(20px, 3vw, 32px); background: var(--c); border-bottom: var(--line); }
.project__banner--mint { --c: var(--mint); }
.project__banner--blue { --c: var(--blue); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project__title { font-size: clamp(42px, 5vw, 60px); }
.project__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(20px, 3vw, 32px); }
.project__subtitle { font-weight: 700; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.3; }
.project__body .btn { margin-top: auto; }
.missions { display: grid; align-self: stretch; gap: 14px; }
.mission { display: grid; gap: 2px; padding: 12px 16px 12px 28px; background: var(--white); border: 4px solid var(--ink); border-radius: 20px; box-shadow: inset 10px 0 0 var(--c), 0 6px 0 var(--ink); }
.mission__label { color: var(--soft); font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.mission b { font-size: 23px; line-height: 1.15; }
.mission > span:last-child { color: var(--soft); font-size: 16px; }
.meta { display: grid; align-self: stretch; gap: 8px; }
.meta div { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.meta dt { min-width: 112px; padding-top: 2px; color: var(--soft); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.meta dd { font-weight: 600; }
.project--locked { flex-flow: row wrap; align-items: center; gap: 20px 28px; padding: clamp(22px, 3vw, 32px); background: rgb(255 255 255 / .55); border: 5px dashed var(--ink); border-radius: var(--radius); }
.project--locked div { display: flex; flex: 1 1 240px; flex-direction: column; align-items: flex-start; gap: 8px; }
.project--locked h3 { font-size: clamp(24px, 2.6vw, 30px); }
.project--locked:hover .lock { animation: shake .4s ease-in-out; }

/* Players: what teachers, managers and students get */
.players { display: grid; gap: 32px; }
@media (min-width: 900px) { .players { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.player { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(22px, 3vw, 30px); }
.player h3 { font-size: 21px; letter-spacing: 0; }
.player ul { display: grid; gap: 12px; font-weight: 600; }
.player li { position: relative; padding-left: 30px; }
.player li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; background: var(--c); border: 4px solid var(--ink); border-radius: 50%; }
.trail { position: relative; display: flex; justify-content: space-between; width: 70%; margin-top: auto; padding-top: 8px; }
.trail::before { content: ""; position: absolute; left: 0; right: 0; top: calc(50% + 4px); height: 4px; margin-top: -2px; background: var(--ink); }
.trail i { position: relative; width: 24px; height: 24px; background: var(--c); border: 4px solid var(--ink); border-radius: 50%; }

/* Level path on the night sky */
.path { display: grid; gap: 24px; }
.path__step:not(:last-child)::after { content: ""; position: absolute; top: 32px; bottom: -56px; left: 29px; border-left: 6px dashed var(--yellow); }
.path__step { position: relative; display: flex; align-items: flex-start; gap: 18px; }
.path__step:nth-child(2) { --delay: .15s; }
.path__step:nth-child(3) { --delay: .3s; }
.path__step:nth-child(4) { --delay: .45s; }
.path__node { position: relative; z-index: 1; display: grid; flex: none; place-items: center; width: 64px; height: 64px; background: var(--c); color: var(--ink); border: 5px solid var(--white); border-radius: 50%; box-shadow: 0 6px 0 rgb(0 0 0 / .35); font-weight: 700; font-size: 28px; }
.path__step.is-visible .path__node { animation: node-pop .6s var(--bounce) calc(var(--delay, 0s) + .2s) backwards; }
.path__card { flex: 1; padding: 18px 22px; background: var(--white); color: var(--ink); border-radius: 28px; box-shadow: 0 10px 0 var(--c); }
.path__card h3 { margin-bottom: 6px; font-size: 23px; }
.path__card p { color: var(--soft); font-size: 16px; }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .path__step:not(:last-child)::after { top: 29px; bottom: auto; left: 32px; right: -56px; border-left: 0; border-top: 6px dashed var(--yellow); }
  .path__step { flex-direction: column; }
  .path__card { align-self: stretch; }
}

/* Recursos pedagógicos */
.mirim { display: grid; gap: 40px; }
@media (min-width: 1024px) { .mirim { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 48px; } }
.mirim .section__head { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 4px 14px; background: rgb(255 255 255 / .8); border: 3px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 15px; }
.games { display: grid; gap: 24px; }
@media (min-width: 560px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.game { display: flex; flex-direction: column; overflow: hidden; cursor: pointer; }
.game__art { position: relative; height: 124px; background-color: var(--c); background-image: radial-gradient(rgb(255 255 255 / .35) 2px, transparent 2.5px); background-size: 18px 18px; border-bottom: 4px solid var(--ink); }
.game__art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.game__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 20px 20px; }
.game__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; align-self: stretch; margin-top: auto; padding-top: 6px; }
.game:nth-child(2), .game:nth-child(3) { --delay: .12s; }
.game:nth-child(4), .game:nth-child(5) { --delay: .24s; }
.game:nth-child(6) { --delay: .36s; }
.game .tag { background: var(--c); }
.game h3 { font-size: 24px; line-height: 1.15; }
.game p { color: var(--soft); font-size: 16px; }

/* Final screen */
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.cta__title { font-size: clamp(40px, 13vw, 140px); line-height: 1; letter-spacing: .02em; animation: pulse 2.4s ease-in-out infinite; }
.cta__sub { font-weight: 700; font-size: clamp(22px, 3vw, 32px); }
.cta__inner > p:not(.cta__sub) { max-width: 620px; color: rgb(255 255 255 / .85); }
.cta .ctas { justify-content: center; }
.hello--end { margin-top: 12px; }

.footer { padding-block: 36px; background: var(--cream); border-top: var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer__inner img { width: 220px; height: auto; margin-left: -8px; }
.footer__info { display: flex; flex-direction: column; gap: 4px; color: var(--soft); font-size: 15px; }
.footer__info strong { color: var(--ink); font-size: 17px; }
@media (min-width: 768px) { .footer__info { align-items: flex-end; text-align: right; } }

/* Bouncy reveal on scroll (only when JS runs) */
.js .reveal:not(.is-visible) { opacity: 0; }
.js .reveal.is-visible { animation: rise-in .7s var(--bounce) var(--delay, 0s) backwards; }
.projects .reveal:nth-child(2), .players .reveal:nth-child(2) { --delay: .14s; }
.projects .reveal:nth-child(3), .players .reveal:nth-child(3) { --delay: .28s; }

@keyframes drift { from { transform: translateX(calc(-100% - var(--x))); } to { transform: translateX(calc(100vw - var(--x))); } }
@keyframes glyph-float { 50% { transform: translateY(-14px) rotate(8deg); } }
@keyframes twinkle { 50% { transform: scale(.45) rotate(45deg); opacity: .5; } }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes jump { 40% { transform: translateY(-28px) rotate(-10deg); } 70% { transform: translateY(2px) rotate(4deg); } }
@keyframes hop { 0%, 78%, 100% { transform: translateY(0); } 86% { transform: translateY(-10px) rotate(-3deg); } 93% { transform: translateY(0) rotate(1deg); } }
@keyframes bubble-in { from { opacity: 0; transform: scale(.4); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(var(--rise, 48px)) scale(.94); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px) scale(.96); } }
@keyframes node-pop { from { transform: scale(0); } }
@keyframes pulse { 50% { transform: scale(1.04); } }
@keyframes float { 50% { transform: translateY(-9px); } }
@keyframes spin-y { to { rotate: y 360deg; } }
@keyframes rise { from { opacity: 1; transform: translateY(0) scale(.8); } 20% { transform: translateY(-10px) scale(1.15); } to { opacity: 0; transform: translateY(-56px) scale(1); } }
@keyframes burst { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }
@keyframes banner { 0% { scale: .2; opacity: 0; } 20% { scale: 1.1; opacity: 1; } 30% { scale: 1; } 80% { opacity: 1; } 100% { opacity: 0; scale: 1.1; } }
@keyframes bump { 50% { transform: scale(1.4); } }
@keyframes ready { 40% { box-shadow: 0 12px 0 var(--ink), 0 0 0 10px var(--yellow); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes block { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes blink { 50% { opacity: .3; } }

/* Project sheets open in a dialog styled like a deck card */
button.btn { cursor: pointer; }
.ficha { width: min(780px, 100% - 24px); max-height: min(90vh, 920px); padding: 0; border: var(--line); border-radius: var(--radius); box-shadow: 0 14px 0 var(--ink); background: var(--white); color: var(--ink); overflow: hidden auto; overscroll-behavior: contain; }
.ficha--blue { --c: var(--blue); }
.ficha--mint { --c: var(--mint); }
.ficha[open] { animation: pop .3s var(--bounce); }
.ficha::backdrop { background: rgb(47 42 74 / .65); backdrop-filter: blur(4px); }
body:has(dialog[open]) { overflow: hidden; }
.ficha__banner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(20px, 3vw, 30px); padding-right: 80px; background: var(--c); border-bottom: var(--line); }
.ficha__title { font-size: clamp(38px, 6vw, 56px); }
.ficha__sub { font-weight: 700; font-size: clamp(17px, 2vw, 20px); line-height: 1.3; }
.ficha__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: var(--white); border: 4px solid var(--ink); border-radius: 50%; box-shadow: 0 5px 0 var(--ink); cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.ficha__close:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.ficha__close:active { transform: translateY(5px); box-shadow: none; }
.ficha__body { display: grid; gap: 14px; padding: clamp(20px, 3vw, 30px); }
.ficha__body h3 { margin-top: 10px; font-size: 24px; }
.ficha__facts { display: grid; gap: 12px 20px; padding: 16px 18px; background: var(--cream); border: 4px solid var(--ink); border-radius: 20px; }
@media (min-width: 640px) { .ficha__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ficha__facts dt { color: var(--soft); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.ficha__facts dd { font-weight: 600; }
.ficha__list { display: grid; gap: 8px; }
.ficha__list li { position: relative; padding-left: 30px; }
.ficha__list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border: 3px solid var(--ink); border-radius: 50%; background: var(--c); }
.ficha__timeline { display: grid; gap: 12px; }
.ficha__timeline li { display: grid; gap: 2px; padding: 10px 16px 10px 28px; border: 4px solid var(--ink); border-radius: 18px; box-shadow: inset 10px 0 0 var(--c), 0 5px 0 var(--ink); }
.ficha__timeline b { color: var(--soft); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.ficha__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.ficha__source { color: var(--soft); font-size: 14px; }

/* Ready-made e-mail to both coordinators */
.mailer { width: min(780px, 100%); padding: clamp(20px, 3vw, 30px); color: var(--ink); text-align: left; }
.mailer:hover { transform: none; box-shadow: var(--drop); }
.mailer__grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .mailer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mailer__wide { grid-column: 1 / -1; } }
.mailer label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.mailer input, .mailer select, .mailer textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 4px solid var(--ink); border-radius: 16px; background: var(--white); color: var(--ink); font: 500 17px/1.3 var(--font); }
.mailer textarea { resize: vertical; }
.mailer input:focus-visible, .mailer select:focus-visible, .mailer textarea:focus-visible { outline: 4px solid var(--pink); outline-offset: 2px; }
.mailer__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 22px; }
.mailer__to { margin-top: 16px; color: var(--soft); font-size: 15px; text-align: center; overflow-wrap: anywhere; }
.mailer__to.is-error { color: var(--pink); font-weight: 700; }
.mailer.is-sent > :not(.mailer__done) { display: none; }
.mailer__done:not([hidden]) { display: grid; justify-items: center; gap: 12px; padding: 12px 0; text-align: center; animation: pop .5s var(--bounce); }
.mailer__done svg { animation: bump 1s var(--bounce) .3s; }
.mailer__done h3 { font-size: clamp(32px, 6vw, 48px); }
.mailer__done p { font-size: 18px; font-weight: 600; }

/* Share buttons on the resource cards, and the dialog with the QR code and the link */
.share { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: auto; padding: 4px 18px; border: 3px solid var(--ink); border-radius: 999px; background: var(--purple); color: var(--ink); font: 600 16px/1.2 var(--font); box-shadow: inset 0 -4px 0 rgb(47 42 74 / .16), inset 0 3px 0 rgb(255 255 255 / .45), 0 4px 0 var(--ink); cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.share:hover { transform: translateY(2px); box-shadow: inset 0 -4px 0 rgb(47 42 74 / .16), inset 0 3px 0 rgb(255 255 255 / .45), 0 2px 0 var(--ink); }
.share:active { transform: translateY(4px); box-shadow: inset 0 -4px 0 rgb(47 42 74 / .16), inset 0 3px 0 rgb(255 255 255 / .45); }
.share svg { transition: transform .3s var(--bounce); }
.share:hover svg { transform: scale(1.2) rotate(-10deg); }
.share--icon { width: 48px; padding: 0; justify-content: center; }
.share:focus-visible { outline: 4px solid var(--pink); outline-offset: 3px; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; font-weight: 600; }
.share-row .share { margin-top: 0; }
.partilha__body { justify-items: center; text-align: center; }
.partilha__qr { width: min(300px, 72vw); height: auto; aspect-ratio: 1; padding: 6px; background: #fff; border: 4px solid var(--ink); border-radius: 18px; }
.partilha__link { font-weight: 700; font-size: clamp(18px, 3vw, 24px); overflow-wrap: anywhere; }
.partilha .ficha__actions { justify-content: center; }
.extras { display: grid; gap: 14px; margin-top: 4px; }
.extras li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-weight: 600; }
.extras li span { flex: 1 1 220px; }

/* 3D code blocks floating in the sky, like toy bricks */
.cube-wrap { position: absolute; perspective: 700px; animation: float 5s ease-in-out var(--d, 0s) infinite; }
.cube { --h: calc(var(--s) / 2); position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; animation: cube-spin var(--t, 16s) linear infinite; }
.cube i { position: absolute; inset: 0; display: grid; place-items: center; background: var(--c); border: 4px solid var(--ink); border-radius: 10px; color: var(--ink); font-style: normal; font-weight: 700; font-size: calc(var(--s) * .3); line-height: 1; }
.cube i:nth-child(1) { transform: translateZ(var(--h)); }
.cube i:nth-child(2) { transform: rotateY(90deg) translateZ(var(--h)); filter: brightness(.86); }
.cube i:nth-child(3) { transform: rotateY(180deg) translateZ(var(--h)); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(var(--h)); filter: brightness(.86); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(var(--h)); filter: brightness(1.12); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(var(--h)); filter: brightness(.72); }
@media (max-width: 1023px) { .cube-wrap--wide { display: none; } }

/* Cards tilt in 3D toward the mouse and get a glare that follows it (script.js). On touch they only lift */
[data-tilt] { position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .45s var(--bounce), box-shadow .2s ease; }
[data-tilt].is-tilting { transition: transform .08s linear, box-shadow .2s ease; }
.card[data-tilt]:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); box-shadow: 0 18px 0 var(--ink); }
.path__card[data-tilt]:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); box-shadow: 0 16px 0 var(--c); }
[data-tilt]::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / .5), transparent 55%); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
[data-tilt].is-tilting::before { opacity: 1; }
/* Pieces that pop out of the tilted card */
.player .bot, .player h3, .level .tag, .level h3 { translate: 0 0 28px; }

/* Bit can be poked: a click makes it jump */
.bot { cursor: pointer; }

/* Project banners scroll their stripes while the card is under the mouse */
.project__banner { background-image: linear-gradient(45deg, rgb(255 255 255 / .16) 25%, transparent 25% 50%, rgb(255 255 255 / .16) 50% 75%, transparent 75%); background-size: 44px 44px; animation: stripes 1.4s linear infinite paused; }
.project:hover .project__banner { animation-play-state: running; }
.mission { transition: transform .25s var(--bounce), box-shadow .25s ease; }
.mission:hover { transform: translateX(6px); box-shadow: inset 18px 0 0 var(--c), 0 6px 0 var(--ink); }

/* The trail dots under each player hop one after the other */
.player:hover .trail i { animation: trail-hop .5s var(--bounce) var(--i, 0s); }
.trail i:nth-child(2) { --i: .08s; }
.trail i:nth-child(3) { --i: .16s; }
.trail i:nth-child(4) { --i: .24s; }

/* The dashed path draws itself as each step shows up, and the numbers flip in 3D on hover */
.js .path__step:not(.is-visible)::after { clip-path: inset(0 0 100% 0); }
.js .path__step.is-visible::after { animation: trace-down .8s ease-out calc(var(--delay, 0s) + .5s) backwards; }
@media (min-width: 900px) {
  .js .path__step:not(.is-visible)::after { clip-path: inset(0 100% 0 0); }
  .js .path__step.is-visible::after { animation-name: trace-right; }
}
.path__node { transform: perspective(300px) rotateY(0deg) scale(1); transition: transform .6s var(--bounce); }
.path__step:hover .path__node { transform: perspective(300px) rotateY(360deg) scale(1.1); }

/* Shooting stars crossing the night sky now and then */
.shooting { position: absolute; width: 130px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgb(255 255 255 / 0), #fff 85%, var(--yellow)); rotate: 24deg; opacity: 0; animation: shoot var(--t, 9s) linear var(--d, 0s) infinite; }

/* Big titles with more depth */
.hero h1.loud { text-shadow: 0 .05em 0 var(--ink), 0 .1em 0 var(--ink), 0 .16em 0 rgb(47 42 74 / .3); }
.cta__title { text-shadow: 0 5px 0 #e0a800, 0 10px 0 #b98a00, 0 16px 0 rgb(0 0 0 / .35); }

/* Little animated scenes on the resource cards */
.game__art { overflow: hidden; }
.art-g { transform-box: fill-box; transform-origin: center; }
.r-walk { animation: r-walk 4.6s ease-in-out infinite; }
.r-star { animation: r-star 4.6s ease-in-out infinite; }
.n1 { animation: n-arc 2.6s infinite; }
.n2 { animation: n-arc2 2.6s infinite; animation-delay: -1.3s; }
.n-slash { stroke-dasharray: 140; animation: n-slash 2.6s infinite; }
.a-pad { animation: a-pad 1.2s ease-in-out infinite; }
.a-coin { animation: a-coin 1.8s ease-out var(--d, 0s) infinite; }
.c-bug { animation: c-bug .8s ease-in-out var(--d, 0s) infinite; }
.c-lupa { animation: c-lupa 4.5s ease-in-out infinite; }
.p-piece { animation: p-join 3.2s var(--bounce) infinite; }
.p-star { animation: p-star 3.2s var(--bounce) infinite; }
.l-line { transform-box: fill-box; transform-origin: 0 50%; animation: l-write 3.6s ease-in-out var(--d, 0s) infinite backwards; }
.l-pencil { animation: l-pencil .9s ease-in-out infinite; }

/* Clouds drift slower than the page and the cubes faster, so the sky gets depth on scroll */
@supports (animation-timeline: view()) {
  .cloud { --depth: -50px; animation: drift var(--t) linear var(--d) infinite, parallax linear both; animation-timeline: auto, view(); }
  .scenery .glyph { --depth: 40px; animation: glyph-float 7s ease-in-out var(--d, 0s) infinite, parallax linear both; animation-timeline: auto, view(); }
  .cube-wrap { --depth: 60px; animation: float 5s ease-in-out var(--d, 0s) infinite, parallax linear both; animation-timeline: auto, view(); }
}

@keyframes cube-spin { from { transform: rotateX(-24deg) rotateY(0deg); } to { transform: rotateX(-24deg) rotateY(360deg); } }
@keyframes parallax { from { translate: 0 var(--depth, 50px); } to { translate: 0 calc(var(--depth, 50px) * -1); } }
@keyframes stripes { to { background-position: 44px 0; } }
@keyframes trail-hop { 50% { transform: translateY(-10px); } }
@keyframes trace-down { from { clip-path: inset(0 0 100% 0); } }
@keyframes trace-right { from { clip-path: inset(0 100% 0 0); } }
@keyframes shoot { 0% { translate: 0 0; opacity: 0; } 3% { opacity: 1; } 12% { translate: 360px 160px; opacity: 0; } 100% { translate: 360px 160px; opacity: 0; } }
@keyframes r-walk {
  0%, 8% { transform: translate(14px, 8px); opacity: 1; }
  28% { transform: translate(84px, 8px); }
  48% { transform: translate(84px, 60px); }
  70%, 88% { transform: translate(110px, 60px); opacity: 1; }
  93% { transform: translate(110px, 60px); opacity: 0; }
  94% { transform: translate(14px, 8px); opacity: 0; }
  100% { transform: translate(14px, 8px); opacity: 1; }
}
@keyframes r-star { 0%, 68%, 92%, 100% { transform: scale(1) rotate(0); } 76% { transform: scale(1.4) rotate(25deg); } 84% { transform: scale(.95) rotate(-8deg); } }
@keyframes n-arc {
  0% { transform: translate(30px, 130px) rotate(0); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
  50% { transform: translate(64px, 18px) rotate(160deg); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  100% { transform: translate(98px, 130px) rotate(320deg); }
}
@keyframes n-arc2 {
  0% { transform: translate(160px, 130px) rotate(0); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
  50% { transform: translate(126px, 26px) rotate(-160deg); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  100% { transform: translate(92px, 130px) rotate(-320deg); }
}
@keyframes n-slash { 0%, 44% { stroke-dashoffset: 140; opacity: 1; } 52% { stroke-dashoffset: 0; opacity: 1; } 70%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes a-pad { 50% { transform: rotate(-4deg) translateY(-3px); } }
@keyframes a-coin { 0% { transform: translateY(22px) scale(.5); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(-12px) scale(1); opacity: 1; } 100% { transform: translateY(-22px) scale(1); opacity: 0; } }
@keyframes c-bug { 50% { transform: rotate(-9deg) translateY(-3px); } }
@keyframes c-lupa { 0%, 100% { transform: translate(42px, 76px); } 33% { transform: translate(101px, 37px); } 66% { transform: translate(159px, 81px); } }
@keyframes p-join { 0%, 100% { transform: translate(var(--px), var(--py)) rotate(var(--pr)); } 40%, 80% { transform: translate(0, 0) rotate(0); } }
@keyframes p-star { 0%, 45%, 100% { transform: scale(0) rotate(-90deg); } 55%, 80% { transform: scale(1) rotate(0); } }
@keyframes l-write { 0% { transform: scaleX(0); opacity: 1; } 25%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes m-light { 0%, 100% { opacity: .25; } 20%, 85% { opacity: 1; } }
@keyframes l-pencil { 50% { transform: translate(-4px, 3px) rotate(-8deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal:not(.is-visible) { opacity: 1; }
  .js .hudrow:not(.is-visible) .xp__bar i { transform: translateX(calc(var(--xp) - 100%)); }
}
