/* ==================================================
   FONT
================================================== */

@font-face {
  font-family: "SY Body";
  src: url("../fonts/DarkerGrotesque-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "SY Body";
  src: url("../fonts/DarkerGrotesque-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "SY Body";
  src: url("../fonts/DarkerGrotesque-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "SY Body";
  src: url("../fonts/DarkerGrotesque-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "SY Display";
  src: url("../fonts/TT Supermolot Neue Trial Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "SY Display";
  src: url("../fonts/TT Supermolot Neue Trial Black Italic.ttf")
    format("truetype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "SY Raster";
  src: url("../fonts/FKRasterRomanCompactTrial-Rounded.otf")
    format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* ==================================================
   VARIABILI
================================================== */

:root {
  --ink: #090909;
  --paper: #fff6d8;
  --yellow: #ffe91f;
  --red: #f4362f;
  --blue: #4255ad;
  --purple: #955db8;
  --green: #2f8f68;
  --white: #fffdf5;

  --line: 2px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --shadow-hover: 10px 10px 0 var(--ink);

  --radius: 1rem;
  --header-h: 4.7rem;
  --pad: 1rem;
  --max: 82rem;
}

/* ==================================================
   RESET
================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-width: 20rem;

  overflow-x: hidden;

  background: var(--paper);
  color: var(--ink);

  font-family: "SY Body", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.28;
}

body.menu-open,
body.modal-open,
body.intro-lock,
body.quiz-lock {
  overflow: hidden;
}

button,
a,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

section,
main,
header,
footer,
nav,
div,
article,
figure {
  min-width: 0;
}

.skip-link {
  position: fixed;
  z-index: 20000;

  top: 0.75rem;
  left: 0.75rem;

  padding: 0.7rem 1rem;

  background: var(--ink);
  color: var(--paper);

  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==================================================
   HEADER
================================================== */

.site-header {
  position: sticky;
  z-index: 1000;

  top: 0;

  min-height: var(--header-h);

  border-top: 3px solid var(--red);
  border-bottom: var(--line);

  background: var(--paper);
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  min-height: var(--header-h);

  margin: 0 auto;
  padding: 0.45rem var(--pad);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  position: relative;
  z-index: 1002;

  width: 6.4rem;
  height: 3.8rem;

  display: flex;
  align-items: center;

  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: left center;
}

/* ==================================================
   MENU
================================================== */

.menu-toggle {
  position: relative;
  z-index: 1002;

  width: 3.25rem;
  height: 3.25rem;
  padding: 0;

  display: grid;
  place-items: center;

  border: var(--line);
  border-radius: 50%;

  background: var(--yellow);

  box-shadow: none;

  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";

  display: block;

  width: 1.35rem;
  height: 3px;

  border-radius: 999px;

  background: var(--ink);

  transition:
    transform 0.2s ease,
    top 0.2s ease,
    background 0.2s ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;

  top: -0.43rem;
  left: 0;
}

.menu-toggle span::after {
  position: absolute;

  top: 0.43rem;
  left: 0;
}

.menu-open .menu-toggle span {
  background: transparent;
}

.menu-open .menu-toggle span::before {
  top: 0;

  transform: rotate(45deg);
}

.menu-open .menu-toggle span::after {
  top: 0;

  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  z-index: 1001;

  inset: var(--header-h) 0 0;

  height: calc(100svh - var(--header-h));

  padding: 1rem var(--pad) 2rem;

  display: flex;
  flex-direction: column;

  overflow-y: auto;

  background: var(--yellow);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(-1.5rem);

  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.menu-open .site-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0);
}

.site-nav a {
  padding: 1rem 0.25rem;

  border: 0;
  border-bottom: 2px solid var(--ink);

  background: transparent;
  color: var(--ink);

  box-shadow: none;

  font-family: "SY Display", Impact, sans-serif;
  font-size: clamp(2.25rem, 10vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;

  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:first-child {
  border-top: 2px solid var(--ink);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  padding-left: 0.75rem;

  background: var(--ink);
  color: var(--yellow);

  outline: none;
}

/* ==================================================
   LAYOUT
================================================== */

.container {
  width: 100%;
  max-width: var(--max);

  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;

  padding: 4rem 0;

  overflow: hidden;

  border-bottom: var(--line);
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--yellow {
  background: var(--yellow);
  color: var(--ink);
}

.section--blue {
  background: var(--blue);
  color: var(--white);
}

.section--red {
  background: var(--red);
  color: var(--white);
}

#carte {
  padding-bottom: 0;
}

.grid-bg {
  background-image:
    linear-gradient(rgba(9, 9, 9, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 9, 9, 0.06) 1px, transparent 1px);

  background-size: 2rem 2rem;
}

/* ==================================================
   TYPOGRAPHY
================================================== */

.display,
.statement,
.info-card h3,
.belief-card h3,
.position-panel h3,
.topic-card strong,
.episode-card strong,
.modal h2,
.duel-card h3,
.quiz-question-title,
.quiz-result-title {
  font-family: "SY Display", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.display {
  margin: 0;

  line-height: 0.95;

  overflow-wrap: anywhere;
}

.display--hero {
  font-size: clamp(2.7rem, 12.2vw, 5.55rem);
}

.display--section {
  font-size: clamp(2.35rem, 10.6vw, 5rem);
}

.display em {
  color: var(--red);

  font-style: italic;
}

.lead {
  max-width: 40rem;

  margin: 1.35rem 0 0;

  font-size: clamp(1.18rem, 5.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.12;
}

.body-copy {
  max-width: 42rem;

  margin: 1rem 0 0;

  font-size: 1.08rem;
  line-height: 1.34;
}

/* ==================================================
   SELLING YOU NEL TESTO
================================================== */

.selling-you-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;

  white-space: nowrap;

  text-transform: none;
}

.selling-you-name__selling {
  font-family: "SY Raster", "Courier New", monospace;
  font-weight: 400;
  text-transform: lowercase;
}

.selling-you-name__you {
  font-family: "SY Display", Impact, sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

/* ==================================================
   HERO
================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);

  overflow: visible;

  border-bottom: var(--line);

  background: var(--paper);
}

.hero-copy {
  padding: 3rem var(--pad) 3.5rem;
}

.hero-visual {
  position: relative;

  min-height: clamp(22rem, 95vw, 34rem);

  overflow: hidden;

  border-top: var(--line);

  background-color: var(--blue);

  background-image:
    linear-gradient(rgba(9, 9, 9, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 9, 9, 0.14) 1px, transparent 1px);

  background-size: 2rem 2rem;
}

.hero-board {
  position: absolute;

  top: 50%;
  left: 50%;

  width: min(88%, 31rem);
  max-height: 86%;

  object-fit: contain;

  transform:
    translate(-50%, -50%)
    rotate(-7deg);
}

.hero-chip {
  position: absolute;

  padding: 0.5rem 0.8rem;

  border: var(--line);
  border-radius: 999px;

  background: var(--yellow);
  color: var(--ink);

  font-family: "SY Raster", monospace;
  font-size: 0.8rem;
}

.hero-chip--one {
  top: 1rem;
  left: 1rem;

  transform: rotate(-4deg);
}

.hero-chip--two {
  right: 1rem;
  bottom: 1rem;

  transform: rotate(5deg);
}

/* ==================================================
   STICKER TITOLI
================================================== */

.eyebrow {
  position: relative;
  z-index: 5;

  width: max-content;
  max-width: calc(100% - 1.5rem);

  margin: 0 0.75rem -0.45rem auto;

  line-height: 1;

  transform:
    translateY(0.35rem)
    rotate(3deg);

  transform-origin: right bottom;
}

.eyebrow span {
  display: inline-block;

  max-width: 100%;

  padding: 0.55rem 1rem;

  border: var(--line);
  border-radius: 999px;

  background: var(--yellow);
  color: var(--ink);

  font-family: "SY Raster", monospace;
  font-size: clamp(0.9rem, 3.7vw, 1.1rem);
  font-weight: 400;
  line-height: 1;
}

.section--yellow .eyebrow span {
  background: var(--paper);
}

/* ==================================================
   BUTTON
================================================== */

.button-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;

  margin-top: 2rem;
}

.button {
  width: 100%;
  min-height: 3.75rem;

  padding: 0.95rem 1.1rem;

  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  border: var(--line);
  border-radius: 0.85rem;

  background: var(--ink);
  color: var(--paper);

  box-shadow: 5px 5px 0 var(--ink);

  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;

  text-align: left;
  text-decoration: none;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);

  box-shadow: 7px 7px 0 var(--ink);
}

.button--secondary {
  background: var(--paper);
  color: var(--ink);
}

/* ==================================================
   MARQUEE
================================================== */

.marquee {
  overflow: hidden;

  border-bottom: var(--line);

  background: var(--yellow);
}

.marquee-track {
  display: flex;

  width: max-content;

  animation: marquee 22s linear infinite;
}

.marquee span {
  padding: 0.72rem 1.4rem;

  white-space: nowrap;

  font-family: "SY Display", Impact, sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.marquee span::after {
  content: " ✦";

  color: var(--red);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ==================================================
   GRID
================================================== */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.8rem;

  align-items: start;
}

.card-grid,
.topic-grid,
.episode-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;

  margin-top: 2.2rem;
}

/* ==================================================
   ELEMENTI CLICCABILI
================================================== */

.interactive-card {
  position: relative;
  isolation: isolate;

  box-shadow: var(--shadow);

  cursor: pointer;

  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.interactive-card:hover,
.interactive-card:focus-within {
  transform: translate(-3px, -3px);

  box-shadow: var(--shadow-hover);
}

.card-hit-area {
  position: absolute;
  z-index: 10;

  inset: 0;

  width: 100%;
  height: 100%;
  padding: 0;

  border: 0;
  border-radius: inherit;

  background: transparent;

  cursor: pointer;
}

.card-hit-area:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: -7px;
}

.info-card > :not(.card-hit-area),
.team-card > :not(.card-hit-area) {
  position: relative;
  z-index: 2;
}

/* ==================================================
   PROBLEMA
================================================== */

.info-card,
.belief-card,
.position-panel,
.board-card,
.team-card,
.episode-card {
  min-width: 0;

  border: var(--line);
  border-radius: var(--radius);
}

.info-card {
  position: relative;

  min-height: 15rem;
  padding: 1.1rem;

  display: flex;
  flex-direction: column;

  background: var(--white);
  color: var(--ink);
}

.card-kicker,
.belief-card__kicker {
  font-family: "SY Raster", monospace;
  font-size: 0.78rem;
}

.icon-badge {
  width: 3.9rem;
  height: 3.9rem;

  margin-top: 1.4rem;

  display: grid;
  place-items: center;

  border: var(--line);
  border-radius: 0.85rem;

  background: var(--yellow);

  font-family: "SY Display", Impact, sans-serif;
  font-size: 1.75rem;
}

.info-card h3,
.belief-card h3 {
  margin: auto 0 0.65rem;

  font-size: clamp(1.75rem, 7.6vw, 2.65rem);
  line-height: 1.04;
}

.info-card p,
.belief-card p {
  margin: 0;

  font-size: 1.04rem;
  line-height: 1.28;
}

/* ==================================================
   MANIFESTO
================================================== */

.statement {
  margin: 0;

  font-size: clamp(2.8rem, 11vw, 6.25rem);
  line-height: 0.9;

  overflow-wrap: anywhere;
}

.statement strong {
  color: var(--yellow);
}

.belief-card {
  position: relative;

  min-height: 17rem;
  padding: 1.1rem;

  display: flex;
  flex-direction: column;

  background: var(--paper);
  color: var(--ink);
}

.belief-card__icon,
.position-panel__icon {
  width: 3.8rem;
  height: 3.8rem;

  margin: 1.25rem 0 1.5rem;

  display: grid;
  place-items: center;

  border: var(--line);
  border-radius: 0.85rem;

  background: var(--yellow);
  color: var(--ink);
}

.belief-card__icon--button,
.position-panel__icon--button {
  padding: 0;

  box-shadow: 5px 5px 0 var(--ink);

  cursor: pointer;

  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

.belief-card__icon--button:hover,
.belief-card__icon--button:focus-visible,
.position-panel__icon--button:hover,
.position-panel__icon--button:focus-visible {
  background: var(--yellow);

  box-shadow: 7px 7px 0 var(--ink);

  transform: translate(-2px, -2px);

  outline: none;
}

.belief-card__icon--button:focus-visible,
.position-panel__icon--button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.belief-card__icon svg,
.position-panel__icon svg {
  width: 2.2rem;
  height: 2.2rem;

  overflow: visible;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  pointer-events: none;
}

/* ==================================================
   LA NOSTRA POSIZIONE
================================================== */

.position-panel {
  position: relative;

  min-height: 19rem;

  margin-top: 2.4rem;
  padding: 1.1rem;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  background: var(--red);
  color: var(--paper);

  /* Nessuna ombra sulla card:
     la card non è cliccabile */
  box-shadow: none;
  cursor: default;
}

.position-label {
  display: block;

  margin: 0;

  font-family: "SY Raster", monospace;
  font-size: 0.9rem;
  line-height: 1;
}

.position-panel__icon {
  flex: 0 0 auto;

  background: var(--paper);
  color: var(--ink);
}

.position-panel__icon--button {
  appearance: none;

  border: var(--line);

  background: var(--paper);
}

.position-panel__icon--button:hover,
.position-panel__icon--button:focus-visible {
  background: var(--yellow);
}

.position-panel__icon svg {
  width: 2.35rem;
  height: 2.35rem;

  stroke-width: 4;
}

.position-panel h3 {
  max-width: 15ch;

  margin: auto 0 0.75rem;

  font-size: clamp(2rem, 8vw, 3.8rem);
  line-height: 1;
}

.position-panel p {
  max-width: 48rem;

  margin: 0;

  font-size: 1.08rem;
  line-height: 1.35;
}

/* ==================================================
   GIOCO
================================================== */

.game-layout,
.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;

  align-items: center;
}

.facts {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0.3rem;

  margin-top: 1.75rem;
}

.fact-item {
  min-width: 0;
  min-height: 8.5rem;

  padding: 0.4rem 0.1rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;

  border: 0;

  background: transparent;
  color: var(--ink);

  text-align: center;
}

.fact-icon {
  width: auto;
  max-width: 3.7rem;
  height: 3.4rem;

  object-fit: contain;
}

.fact-text {
  min-height: 2.9rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.13rem;

  line-height: 0.95;
}

.fact-text strong {
  display: block;

  font-family: "SY Display", Impact, sans-serif;
  font-size: clamp(1rem, 4.4vw, 1.65rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;

  white-space: nowrap;
}

.fact-item--age .fact-text strong {
  font-size: clamp(0.95rem, 4vw, 1.5rem);
  text-transform: uppercase;
}

.fact-text span {
  display: block;

  font-family: "SY Body", Arial, sans-serif;
  font-size: clamp(0.68rem, 2.8vw, 0.9rem);
  line-height: 0.95;
}

/* ==================================================
   CAROUSEL IL GIOCO
================================================== */

.game-carousel {
  position: relative;

  width: 100%;
  margin: 0;

  overflow: hidden;

  border: var(--line);
  border-radius: 1.1rem;

  background: var(--paper);
  color: var(--ink);

  /* Nessuna ombra:
     il carosello non è una card cliccabile */
  box-shadow: none;
}

.game-carousel__viewport {
  position: relative;

  width: 100%;
  aspect-ratio: 4 / 5;

  overflow: hidden;

  border-bottom: var(--line);

  background: var(--blue);

  touch-action: pan-y;
}

.game-carousel__track {
  position: relative;

  width: 100%;
  height: 100%;
}

.game-carousel__slide {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateX(5%);

  transition:
    opacity 320ms ease,
    transform 420ms ease,
    visibility 320ms ease;
}

.game-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateX(0);
}

.game-carousel__slide img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  user-select: none;
}

.game-carousel__slide::after {
  content: "";

  position: absolute;
  z-index: 1;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(9, 9, 9, 0.18) 0%,
      transparent 20%,
      transparent 68%,
      rgba(9, 9, 9, 0.28) 100%
    );

  pointer-events: none;
}

.game-carousel__label,
.game-carousel__counter {
  position: absolute;
  z-index: 4;

  top: 0.85rem;

  padding: 0.48rem 0.75rem;

  border: 2px solid rgba(9, 9, 9, 0.72);
  border-radius: 999px;

  background: rgba(255, 233, 31, 0.72);
  color: var(--ink);

  font-family: "SY Raster", monospace;
  font-size: 0.73rem;
  line-height: 1;
  text-transform: uppercase;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.game-carousel__label {
  left: 0.85rem;
}

.game-carousel__counter {
  right: 0.85rem;

  background: rgba(255, 246, 216, 0.72);
}

.game-carousel__controls {
  position: absolute;
  z-index: 10;

  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;

  display: grid;
  grid-template-columns: 3rem 1fr 3rem;
  align-items: center;
  gap: 0.75rem;

  pointer-events: none;
}

.game-carousel__arrow,
.game-carousel__dot {
  pointer-events: auto;
}

.game-carousel__arrow {
  width: 3rem;
  height: 3rem;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid rgba(9, 9, 9, 0.68);
  border-radius: 50%;

  background: rgba(255, 246, 216, 0.55);
  color: var(--ink);

  box-shadow: none;

  cursor: pointer;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    background-color 150ms ease,
    transform 150ms ease,
    border-color 150ms ease;
}

.game-carousel__arrow span {
  display: block;

  margin-top: -0.12em;

  font-family: Arial, sans-serif;
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 0.7;
}

.game-carousel__arrow--prev {
  justify-self: start;
}

.game-carousel__arrow--next {
  justify-self: end;

  background: rgba(255, 233, 31, 0.58);
}

.game-carousel__arrow:hover,
.game-carousel__arrow:focus-visible {
  background: rgba(255, 246, 216, 0.88);

  border-color: var(--ink);

  transform: scale(1.06);

  outline: none;
}

.game-carousel__arrow--next:hover,
.game-carousel__arrow--next:focus-visible {
  background: rgba(255, 233, 31, 0.9);
}

.game-carousel__arrow:active {
  transform: scale(0.96);
}

.game-carousel__arrow:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

.game-carousel__dots {
  width: max-content;

  margin-inline: auto;
  padding: 0.42rem 0.58rem;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;

  border: 2px solid rgba(9, 9, 9, 0.65);
  border-radius: 999px;

  background: rgba(255, 246, 216, 0.52);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.game-carousel__dot {
  width: 0.78rem;
  height: 0.78rem;
  padding: 0;

  border: 2px solid rgba(9, 9, 9, 0.86);
  border-radius: 50%;

  background: rgba(255, 246, 216, 0.38);

  cursor: pointer;

  transition:
    width 160ms ease,
    border-radius 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.game-carousel__dot.is-active {
  width: 2.15rem;

  border-radius: 999px;

  background: rgba(244, 54, 47, 0.84);
}

.game-carousel__dot:hover {
  transform: scale(1.08);
}

.game-carousel__dot:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.game-carousel__caption {
  min-height: 10.5rem;
  padding: 1.15rem;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;

  background: var(--paper);
}

.game-carousel__caption-kicker {
  font-family: "SY Raster", monospace;
  font-size: 0.8rem;
  line-height: 1;
}

.game-carousel__caption strong {
  display: block;

  max-width: 34rem;

  font-size: clamp(1.25rem, 5vw, 1.8rem);
  line-height: 1.08;
}

/* ==================================================
   NFC
================================================== */

.nfc-intro {
  position: relative;
}

.nfc-copy {
  position: relative;

  max-width: 58rem;
}

.nfc-heading-row {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.85rem;
}

.nfc-sticker {
  position: relative;
  z-index: 4;

  width: clamp(4.4rem, 18vw, 6.3rem);
  aspect-ratio: 1;

  padding: 0.75rem;

  display: grid;
  place-items: center;

  border: var(--line);
  border-radius: 1.1rem;

  background: var(--yellow);
  color: var(--ink);

  transform:
    rotate(5deg)
    translateY(0.2rem);
}

.nfc-sticker img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

/* ==================================================
   CARTE NFC
================================================== */

.topic-card {
  --topic-bg: var(--paper);
  --topic-color: var(--ink);
  --topic-overlay: rgba(255, 246, 216, 0.98);

  position: relative;
  isolation: isolate;

  width: 100%;
  min-height: 16rem;
  padding: 1.25rem;

  display: block;

  overflow: hidden;

  border: var(--line);
  border-radius: 1.65rem;

  background: var(--topic-bg);
  color: var(--topic-color);

  box-shadow: 10px 10px 0 var(--ink);

  text-align: left;

  cursor: pointer;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.topic-card:hover,
.topic-card:focus-visible {
  transform: translate(-3px, -3px);

  box-shadow: 13px 13px 0 var(--ink);
}

.topic-card:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.topic-card::before {
  content: "";

  position: absolute;
  z-index: 3;

  inset: 0;

  pointer-events: none;

  background: linear-gradient(
    90deg,
    var(--topic-bg) 0%,
    var(--topic-bg) 38%,
    var(--topic-overlay) 54%,
    transparent 78%
  );
}

.topic-card__content {
  position: relative;
  z-index: 5;

  width: 100%;
  max-width: 68%;
  min-height: 13.5rem;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;

  pointer-events: none;
}

.topic-card__kicker {
  display: block;

  margin-bottom: auto;

  font-family: "SY Raster", monospace;
  font-size: 0.82rem;
  line-height: 1;
}

.topic-card strong {
  display: block;

  margin: 0 0 0.55rem;

  font-size: clamp(1.7rem, 7.2vw, 3rem);
  line-height: 1;

  overflow-wrap: anywhere;
}

.topic-card small {
  display: block;

  max-width: 24rem;

  font-size: 1.05rem;
  line-height: 1.15;
}

.topic-card__mockup {
  position: absolute;
  z-index: 2;

  top: 50%;
  right: -8%;

  width: 51%;
  height: 148%;

  pointer-events: none;

  transform:
    translateY(-50%)
    rotate(10deg);

  transform-origin: center;
}

.topic-card__mockup img {
  width: 100%;
  height: 100%;
  max-width: none;

  object-fit: contain;

  opacity: 0.98;

  filter: drop-shadow(
    8px 8px 0 rgba(0, 0, 0, 0.3)
  );
}

.topic-card--purple {
  --topic-bg: var(--purple);
  --topic-color: var(--white);
  --topic-overlay: rgba(149, 93, 184, 0.98);
}

.topic-card--red {
  --topic-bg: var(--red);
  --topic-color: var(--white);
  --topic-overlay: rgba(244, 54, 47, 0.98);
}

.topic-card--yellow {
  --topic-bg: var(--yellow);
  --topic-color: var(--ink);
  --topic-overlay: rgba(255, 233, 31, 0.98);
}

.topic-card--paper {
  --topic-bg: var(--paper);
  --topic-color: var(--ink);
  --topic-overlay: rgba(255, 246, 216, 0.99);
}

.topic-card--green {
  --topic-bg: var(--green);
  --topic-color: var(--white);
  --topic-overlay: rgba(47, 143, 104, 0.98);
}

.topic-card--black {
  --topic-bg: var(--ink);
  --topic-color: var(--paper);
  --topic-overlay: rgba(9, 9, 9, 0.99);
}

/* ==================================================
   STRISCIA CARTE
================================================== */

.cards-strip {
  position: relative;

  width: 100%;
  height: 15rem;

  margin-top: 2.5rem;
  padding: 1rem 0;

  display: flex;
  align-items: center;

  overflow: hidden;

  border-top: var(--line);
  border-bottom: var(--line);

  background: var(--paper);
}

.cards-strip-track {
  display: flex;
  align-items: center;

  flex: 0 0 auto;

  width: max-content;

  animation: cards-scroll 80s linear infinite;

  will-change: transform;
}

.cards-strip-track img {
  flex: 0 0 auto;

  width: auto;
  max-width: none;
  height: 13rem;

  object-fit: contain;
}

.cards-strip:hover .cards-strip-track {
  animation-play-state: paused;
}

@keyframes cards-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ==================================================
   PODCAST
================================================== */

.podcast-section {
  position: relative;

  isolation: isolate;
  overflow: hidden;
}

.podcast-section::before {
  content: "";

  position: absolute;
  z-index: 0;

  inset: 0;

  background:
    radial-gradient(
      circle at 75% 48%,
      rgba(149, 93, 184, 0.1),
      transparent 48%
    );

  pointer-events: none;
}

.podcast-watermark {
  position: absolute;
  z-index: 1;

  top: 52%;
  right: -34%;

  display: block;

  width: 128vw;
  max-width: none;
  height: auto;

  opacity: 0.18;

  filter:
    brightness(0)
    saturate(100%)
    invert(27%)
    sepia(94%)
    saturate(3764%)
    hue-rotate(350deg)
    brightness(99%)
    contrast(94%);

  pointer-events: none;
  user-select: none;

  transform:
    translateY(-50%)
    rotate(-7deg);
}

.podcast-content {
  position: relative;
  z-index: 2;
}

.episode-grid {
  position: relative;
  z-index: 3;
}

.episode-card {
  width: 100%;
  min-height: 18rem;

  padding: 1rem;

  display: flex;
  flex-direction: column;

  border: var(--line);
  border-radius: var(--radius);

  background: var(--paper);
  color: var(--ink);

  box-shadow: var(--shadow);

  text-align: left;

  cursor: pointer;

  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.episode-card:hover,
.episode-card:focus-visible {
  transform: translate(-3px, -3px);

  box-shadow: var(--shadow-hover);
}

.episode-card--yellow {
  background: var(--yellow);
}

.episode-card--red {
  background: var(--red);
  color: var(--white);
}

.episode-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;

  font-family: "SY Raster", monospace;
  font-size: 0.76rem;
}

.episode-meta i {
  font-style: normal;
}

.episode-audio {
  width: max-content;

  margin-top: 1rem;
  padding: 0.48rem 0.68rem;

  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  border: 2px solid currentColor;
  border-radius: 999px;

  color: inherit;
}

.episode-audio__play {
  font-size: 0.8rem;
  line-height: 1;
}

.episode-audio__wave,
.audio-box__wave {
  height: 1.4rem;

  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
}

.episode-audio__wave i,
.audio-box__wave i {
  display: block;

  width: 0.18rem;
  height: var(--wave-height, 0.6rem);

  border-radius: 999px;

  background: currentColor;
}

.episode-audio__wave i:nth-child(1),
.audio-box__wave i:nth-child(1) {
  --wave-height: 0.55rem;
}

.episode-audio__wave i:nth-child(2),
.audio-box__wave i:nth-child(2) {
  --wave-height: 1.05rem;
}

.episode-audio__wave i:nth-child(3),
.audio-box__wave i:nth-child(3) {
  --wave-height: 1.4rem;
}

.episode-audio__wave i:nth-child(4),
.audio-box__wave i:nth-child(4) {
  --wave-height: 0.8rem;
}

.episode-audio__wave i:nth-child(5),
.audio-box__wave i:nth-child(5) {
  --wave-height: 1.25rem;
}

.episode-audio__wave i:nth-child(6),
.audio-box__wave i:nth-child(6) {
  --wave-height: 0.65rem;
}

.episode-audio__wave i:nth-child(7),
.audio-box__wave i:nth-child(7) {
  --wave-height: 1rem;
}

.episode-card strong {
  margin: auto 0 0.75rem;

  font-size: clamp(1.9rem, 8.2vw, 3.2rem);
  line-height: 1.04;
}

.episode-card small {
  line-height: 1.2;
}

.episode-cta {
  margin-top: 1rem;

  font-weight: 800;
  text-transform: uppercase;
}

/* ==================================================
   TEAM
================================================== */

.team-heading {
  display: block;

  max-width: 100%;

  font-size: clamp(2.2rem, 9.4vw, 5.1rem);
  line-height: 0.94;

  overflow: visible;
}

.team-heading__brand {
  display: block;

  margin-bottom: 0.38em;

  line-height: 0.88;
}

.team-heading__brand .selling-you-name {
  display: inline-flex;

  font-size: 0.82em;
  line-height: 0.88;
}

.team-heading__copy {
  display: block;

  max-width: 100%;

  line-height: 0.94;
  letter-spacing: -0.045em;

  hyphens: manual;
}

.hyphenated-word {
  hyphens: manual;
}

.team-card {
  position: relative;

  padding: 1.15rem;

  background: var(--paper);
  color: var(--ink);
}

.team-card p {
  margin: 0.3rem 0;
}

.team-card hr {
  margin: 1rem 0;

  border: 0;
  border-top: var(--line);
}

.team-card__cta {
  position: relative;
  z-index: 12;

  display: inline-block;

  margin-top: 1.2rem;

  font-weight: 800;
  text-transform: uppercase;
}

/* ==================================================
   POPUP
================================================== */

.modal {
  width: min(calc(100% - 1.25rem), 56rem);
  max-height: min(90svh, 54rem);

  margin: auto;
  padding: 0;

  overflow: visible;

  border: 0;
  border-radius: 1.2rem;

  background: transparent;
  color: var(--ink);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.8);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-shell {
  position: relative;

  max-height: min(90svh, 54rem);

  padding: 1.25rem;

  overflow-y: auto;
  overflow-x: hidden;

  border: var(--line);
  border-radius: 1.2rem;

  background: var(--paper);

  box-shadow: 8px 8px 0 var(--ink);
}

.modal-shell--wide,
.modal-shell--card {
  width: 100%;
}

.modal-close {
  position: sticky;
  z-index: 20;

  top: 0;

  float: right;

  width: 3rem;
  height: 3rem;

  margin:
    -0.2rem
    -0.2rem
    0.5rem
    0.75rem;

  display: grid;
  place-items: center;

  border: var(--line);
  border-radius: 50%;

  background: var(--yellow);
  color: var(--ink);

  box-shadow: none;

  font-family: Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;

  cursor: pointer;

  transition:
    background-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--ink);
  color: var(--yellow);

  transform: rotate(6deg);

  outline: none;
}

.modal-kicker {
  margin: 0 0 1rem;

  font-family: "SY Raster", monospace;
  font-size: 0.8rem;
}

.modal h2 {
  clear: both;

  max-width: 13ch;

  margin: 0;

  font-size: clamp(2.15rem, 9.5vw, 4.75rem);
  line-height: 1;

  overflow-wrap: anywhere;
}

.modal-lead {
  max-width: 42rem;

  margin: 1.2rem 0;

  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.modal-lead strong {
  font-weight: 900;
}

.modal-columns,
.duel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;

  margin-top: 1.5rem;
}

.modal-columns p {
  margin: 0;
  padding: 1rem;

  border: var(--line);
  border-radius: 0.8rem;

  background: var(--white);

  line-height: 1.3;
}

.modal-steps {
  display: grid;
  gap: 0.8rem;

  padding-left: 1.3rem;
}

.modal-card-hero {
  clear: both;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;

  align-items: center;
}

.modal-card-preview {
  width: min(72%, 17rem);

  margin: 0 auto;

  transform: rotate(-3deg);
}

.modal-card-preview img {
  width: 100%;

  border-radius: 1rem;

  filter: drop-shadow(
    8px 8px 0 rgba(0, 0, 0, 0.35)
  );
}

.modal-card-intro {
  min-width: 0;
}

/* ==================================================
   POPUP CAPIRE / SCEGLIERE / AGIRE
================================================== */

.modal-shell--belief {
  position: relative;
  isolation: isolate;

  overflow: hidden;
}

.modal-shell--belief .modal-copy-layer,
.modal-shell--belief .modal-close,
.modal-shell--belief .modal-kicker {
  position: relative;
  z-index: 3;
}

.belief-modal-watermark {
  position: absolute;
  z-index: 0;

  top: 6.2rem;
  right: -3.5rem;

  width: clamp(17rem, 62vw, 31rem);
  height: clamp(17rem, 62vw, 31rem);

  display: grid;
  place-items: center;

  color: var(--yellow);

  opacity: 0.28;

  pointer-events: none;

  transform: rotate(-8deg);
}

.belief-modal-watermark svg {
  width: 100%;
  height: 100%;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==================================================
   POPUP LA NOSTRA POSIZIONE
================================================== */

.modal-shell--position {
  position: relative;
  isolation: isolate;

  background: var(--red);
  color: var(--paper);
}

.modal-shell--position .modal-close {
  background: var(--paper);
  color: var(--ink);
}

.modal-shell--position .modal-close:hover,
.modal-shell--position .modal-close:focus-visible {
  background: var(--yellow);
  color: var(--ink);
}

.modal-shell--position .modal-kicker,
.modal-shell--position .modal-lead,
.modal-shell--position h2 {
  position: relative;
  z-index: 4;

  color: var(--paper);
}

.position-modal-watermark {
  position: absolute;
  z-index: 0;

  top: 8rem;
  right: -5rem;

  width: clamp(18rem, 58vw, 32rem);
  height: clamp(18rem, 58vw, 32rem);

  display: grid;
  place-items: center;

  color: var(--yellow);

  opacity: 0.18;

  pointer-events: none;

  transform: rotate(-8deg);
}

.position-modal-watermark svg {
  width: 100%;
  height: 100%;

  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.position-modal-content {
  position: relative;
  z-index: 2;
}

.position-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;

  margin-top: 1.5rem;
}

.position-manifesto__block {
  padding: 1rem;

  border: 2px solid var(--paper);
  border-radius: 0.9rem;

  background: rgba(9, 9, 9, 0.24);
}

.position-manifesto__block h3 {
  margin: 0 0 0.55rem;

  font-family: "SY Raster", monospace;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

.position-manifesto__block p {
  margin: 0;

  font-size: 1.08rem;
  line-height: 1.32;
}

.position-manifesto__block strong {
  font-weight: 900;
}

.position-manifesto__closing {
  margin: 1.2rem 0 0;

  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.position-manifesto__closing strong {
  font-weight: 900;
}

/* ==================================================
   USER VS BIG TECH
================================================== */

.duel-card {
  display: flex;
  flex-direction: column;

  overflow: hidden;

  border: var(--line);
  border-radius: 1rem;

  color: var(--white);
}

.duel-card--user {
  background: var(--blue);
}

.duel-card--tech {
  background: var(--red);
}

.duel-icon-wrap {
  min-height: 15rem;
  padding: 1.5rem;

  display: grid;
  place-items: center;

  border-bottom: var(--line);

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);

  background-size: 1.5rem 1.5rem;
}

.duel-icon {
  width: min(68%, 12rem);

  object-fit: contain;

  filter: drop-shadow(
    7px 7px 0 rgba(0, 0, 0, 0.4)
  );
}

.duel-card h3 {
  margin: 1.2rem 1rem 0.4rem;

  font-size: 2.45rem;
  line-height: 1;
}

.duel-card p {
  margin: 0 1rem 1rem;
}

.audio-box {
  margin-top: 1.5rem;
  padding: 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  border: var(--line);
  border-radius: 0.8rem;

  background: var(--yellow);

  font-weight: 800;
  text-transform: uppercase;
}

.audio-box__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.source-list {
  padding-left: 1.2rem;
}

.source-list li {
  margin: 0.7rem 0;
}

/* ==================================================
   REVEAL
================================================== */

[data-reveal] {
  opacity: 0;

  transform: translateY(1.25rem);

  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;

  transform: none;
}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
  width: 100%;

  padding: 2rem var(--pad) 1rem;

  border-top: 4px solid var(--yellow);

  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  width: 100%;
  max-width: var(--max);

  margin-inline: auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.footer-logo {
  width: 5.75rem;
}

.footer-description {
  max-width: 24rem;

  margin: 1rem 0 0;

  color: rgba(255, 246, 216, 0.68);

  font-size: 0.95rem;
}

.footer-label {
  margin: 0 0 0.75rem;

  color: var(--yellow);

  font-family: "SY Raster", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-nav a {
  padding: 0.65rem 0;

  display: flex;
  justify-content: space-between;
  gap: 1rem;

  border-bottom: 1px solid rgba(255, 246, 216, 0.24);

  color: var(--paper);

  font-weight: 700;
  text-decoration: none;
}

.footer-project > p:not(.footer-label) {
  color: rgba(255, 246, 216, 0.78);
}

.footer-team {
  padding-top: 1rem;

  border-top: 1px solid rgba(255, 246, 216, 0.24);
}

.footer-source-button {
  width: 100%;
  min-height: 3.2rem;

  padding: 0.8rem 0.95rem;

  display: flex;
  justify-content: space-between;

  border: 2px solid var(--paper);
  border-radius: 0.8rem;

  background: var(--ink);
  color: var(--paper);

  box-shadow: 5px 5px 0 var(--paper);

  font-weight: 800;
  text-transform: uppercase;

  cursor: pointer;
}

.footer-bottom {
  width: 100%;
  max-width: var(--max);

  margin: 2rem auto 0;
  padding-top: 0.9rem;

  display: flex;
  flex-direction: column;
  gap: 0.55rem;

  border-top: 1px solid rgba(255, 246, 216, 0.3);

  color: rgba(255, 246, 216, 0.65);

  font-family: "SY Raster", monospace;
  font-size: 0.72rem;
}

.footer-bottom a {
  color: var(--paper);

  text-decoration: none;
}

/* ==================================================
   INTRO E QUIZ
================================================== */

.site-intro,
.entry-quiz {
  position: fixed;

  inset: 0;

  width: 100%;
  height: 100svh;

  overflow: hidden;

  background: #070707;
  color: var(--paper);

  isolation: isolate;
}

.site-intro {
  z-index: 10002;

  display: grid;
  place-items: center;
}

.entry-quiz {
  z-index: 10001;

  display: grid;
  place-items: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 220ms steps(4, end),
    visibility 220ms steps(4, end);
}

.entry-quiz[hidden] {
  display: none !important;
}

.entry-quiz.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.entry-quiz.is-leaving {
  animation:
    entry-screen-exit
    650ms
    steps(10, end)
    forwards;
}

.entry-background {
  position: absolute;
  z-index: 0;

  inset: -2rem;

  pointer-events: none;

  background-color: #070707;

  background-image:
    radial-gradient(
      circle at 75% 24%,
      rgba(66, 85, 173, 0.34),
      transparent 31%
    ),
    radial-gradient(
      circle at 18% 82%,
      rgba(244, 54, 47, 0.22),
      transparent 27%
    ),
    radial-gradient(
      circle at 48% 52%,
      rgba(149, 93, 184, 0.11),
      transparent 35%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 3px,
      rgba(255, 255, 255, 0.025) 4px
    );

  animation:
    entry-background-shift
    900ms
    steps(5, end)
    infinite;
}

.entry-background::before {
  content: "";

  position: absolute;

  inset: 0;

  opacity: 0.16;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size:
    4px 4px,
    4px 4px;
}

.entry-glitch-band {
  position: absolute;
  z-index: 2;

  left: -10%;

  width: 120%;

  opacity: 0;

  mix-blend-mode: screen;

  pointer-events: none;
}

.entry-glitch-band--one {
  top: 19%;

  height: clamp(2.5rem, 10vw, 6.5rem);

  background: linear-gradient(
    90deg,
    transparent,
    #4255ad,
    #00e5ff,
    #fff6d8,
    #4255ad,
    transparent
  );
}

.entry-glitch-band--two {
  bottom: 16%;

  height: clamp(2rem, 8vw, 5rem);

  background: linear-gradient(
    90deg,
    transparent,
    #f4362f,
    #ff8a00,
    #ffe91f,
    #955db8,
    transparent
  );
}

.entry-pixels {
  position: absolute;
  z-index: 4;

  inset: 0;

  overflow: hidden;

  pointer-events: none;
}

.entry-pixel {
  position: absolute;

  top: var(--pixel-y);
  left: var(--pixel-x);

  width: var(--pixel-width);
  height: var(--pixel-height);

  background: var(--pixel-color);

  opacity: 0;

  mix-blend-mode: screen;

  animation:
    entry-pixel-glitch
    var(--pixel-duration)
    var(--pixel-delay)
    steps(2, end)
    infinite;
}

.entry-close {
  position: absolute;
  z-index: 100;

  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));

  width: 2.75rem;
  height: 2.75rem;
  padding: 0;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 246, 216, 0.5);
  border-radius: 50%;

  background: rgba(7, 7, 7, 0.55);
  color: rgba(255, 246, 216, 0.75);

  box-shadow: none;

  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1;

  cursor: pointer;

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.intro-content {
  position: relative;
  z-index: 10;

  width: min(calc(100% - 2rem), 72rem);
  min-height: 72svh;

  padding: 2rem;

  display: grid;
  place-items: center;

  text-align: center;
}

.intro-claim {
  width: 100%;
  max-width: 15ch;

  margin: 0;

  font-family: "SY Display", Impact, sans-serif;
  font-size: clamp(2.3rem, 10.2vw, 6.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;

  text-transform: uppercase;

  opacity: 0;

  transform:
    translateY(1rem)
    scale(0.98);

  transition:
    opacity 380ms steps(5, end),
    transform 500ms steps(7, end);
}

.intro-claim strong {
  color: var(--yellow);
}

.site-intro.is-claim-visible .intro-claim {
  opacity: 1;

  transform: none;
}

.site-intro.is-glitching .intro-claim {
  animation:
    entry-text-glitch
    130ms
    steps(2, end)
    infinite;
}

.site-intro.is-glitching .entry-glitch-band {
  opacity: 0.8;
}

.site-intro.is-exiting {
  pointer-events: none;
}

.site-intro.is-exiting .intro-claim {
  animation:
    intro-claim-exit
    620ms
    steps(8, end)
    forwards;
}

.entry-quiz__shell {
  position: relative;
  z-index: 10;

  width: min(calc(100% - 1.25rem), 68rem);
  height: 100svh;

  padding:
    max(4.5rem, env(safe-area-inset-top))
    0
    max(1rem, env(safe-area-inset-bottom));

  display: flex;
  flex-direction: column;

  overflow: hidden;
}

.entry-quiz__topline {
  flex: 0 0 auto;

  min-height: 2rem;
  padding: 0 3.5rem 0.65rem;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.entry-quiz__context {
  display: none !important;
}

.entry-quiz__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;

  margin-inline: auto;
}

.quiz-progress-dot {
  width: clamp(1.7rem, 8vw, 3rem);
  height: 0.34rem;

  border: 1px solid rgba(255, 246, 216, 0.48);

  background: transparent;
}

.quiz-progress-dot.is-complete {
  border-color: var(--blue);

  background: var(--blue);
}

.quiz-progress-dot.is-active {
  border-color: var(--paper);

  background: var(--paper);
}

.entry-quiz__screen {
  flex: 1 1 auto;
  min-height: 0;

  padding:
    0
    0.75rem
    1.4rem
    0.25rem;

  overflow-y: auto;

  overscroll-behavior: contain;
}

.quiz-view {
  width: 100%;
  max-width: 56rem;
  min-height: 100%;

  margin-inline: auto;
  padding: 1rem 0.4rem 2.25rem 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quiz-question-title,
.quiz-result-title {
  max-width: 14ch;

  margin: 0 0 1.75rem;

  color: var(--paper);

  font-size: clamp(2.25rem, 9.5vw, 5.25rem);
  line-height: 0.98;
}

.quiz-form {
  width: 100%;

  display: flex;
  flex-direction: column;
}

.quiz-options {
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;

  border: 0;
}

.quiz-option {
  position: relative;

  display: block;

  cursor: pointer;
}

.quiz-option input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}

.quiz-option__label {
  min-height: 4rem;

  padding: 0.95rem 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  border: 2px solid rgba(255, 246, 216, 0.72);
  border-radius: 0.85rem;

  background: rgba(7, 7, 7, 0.68);
  color: var(--paper);

  box-shadow: 4px 4px 0 rgba(255, 246, 216, 0.34);

  font-size: clamp(1.1rem, 4.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.05;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.quiz-option__label::after {
  content: "";

  flex: 0 0 auto;

  width: 1.15rem;
  height: 1.15rem;

  border: 2px solid currentColor;
  border-radius: 50%;
}

.quiz-option input:checked + .quiz-option__label {
  border-color: var(--paper);

  background: rgba(66, 85, 173, 0.92);

  transform: translate(-2px, -2px);

  box-shadow: 6px 6px 0 rgba(255, 246, 216, 0.48);
}

.quiz-option input:checked + .quiz-option__label::after {
  background: radial-gradient(
    circle,
    var(--paper) 0 42%,
    transparent 45%
  );
}

.quiz-actions {
  margin-top: 1.25rem;

  display: flex;
  justify-content: flex-end;
}

.quiz-next,
.quiz-enter {
  width: 100%;
  min-height: 3.9rem;

  padding: 0.95rem 1.05rem;

  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  border: 2px solid var(--paper);
  border-radius: 0.85rem;

  background: var(--paper);
  color: var(--ink);

  box-shadow: 5px 5px 0 rgba(255, 246, 216, 0.4);

  font-size: 1.05rem;
  font-weight: 800;

  text-transform: uppercase;

  cursor: pointer;
}

.quiz-next:disabled {
  border-color: rgba(255, 246, 216, 0.28);

  background: rgba(255, 246, 216, 0.12);
  color: rgba(255, 246, 216, 0.36);

  box-shadow: none;

  cursor: not-allowed;
}

.quiz-result-kicker {
  margin: 0 0 0.9rem;

  color: rgba(255, 246, 216, 0.64);

  font-family: "SY Raster", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.quiz-result-title {
  margin-bottom: 0;
}

.quiz-result-lead {
  max-width: 40rem;

  margin: 1rem 0 0;

  color: var(--paper);

  font-size: clamp(1.25rem, 5.3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.12;
}

.quiz-tip {
  max-width: 48rem;

  margin-top: 1.5rem;
  padding: 1rem;

  border: 1px solid rgba(255, 246, 216, 0.48);
  border-radius: 1rem;

  background: rgba(7, 7, 7, 0.56);
  color: var(--paper);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.quiz-tip__label {
  margin: 0 0 0.8rem;

  font-family: "SY Raster", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.quiz-tip p {
  font-size: 1.08rem;
  line-height: 1.22;
}

.entry-outro {
  position: relative;

  width: 100%;
  min-height: 100%;

  display: grid;
  place-items: center;

  text-align: center;
}

.entry-outro__message-screen,
.entry-outro__logo-screen {
  grid-area: 1 / 1;

  width: min(100%, 42rem);
  min-height: 60svh;

  padding: 1.5rem;

  display: grid;
  place-items: center;

  opacity: 0;
  visibility: hidden;
}

.entry-quiz.is-outro-visible .entry-outro__message-screen {
  opacity: 1;
  visibility: visible;
}

.entry-quiz.is-outro-logo-stage .entry-outro__message-screen {
  opacity: 0;
  visibility: hidden;
}

.entry-quiz.is-outro-logo-stage .entry-outro__logo-screen {
  opacity: 1;
  visibility: visible;
}

.entry-outro__message {
  max-width: 26ch;

  margin: 0;

  color: var(--paper);

  font-family: "SY Raster", monospace;
  font-size: clamp(1.3rem, 5.4vw, 2rem);
  line-height: 1.12;
}

.entry-outro__message strong {
  display: block;

  margin-top: 0.35rem;

  color: var(--yellow);

  font-weight: 400;
}

.entry-outro__logo {
  width: min(82vw, 28rem);
  max-height: 58svh;

  object-fit: contain;
}

/* ==================================================
   ANIMAZIONI INTRO
================================================== */

@keyframes entry-background-shift {
  0% {
    transform: translate(0);
  }

  25% {
    transform: translate(-2px, 1px);
  }

  50% {
    transform: translate(2px, -1px);
  }

  75% {
    transform: translate(1px, 2px);
  }

  100% {
    transform: translate(0);
  }
}

@keyframes entry-pixel-glitch {
  0%,
  80%,
  100% {
    opacity: 0;
    transform: translateX(0);
  }

  84% {
    opacity: 0.8;
    transform: translateX(-1rem);
  }

  92% {
    opacity: 1;
    transform: translateX(1rem);
  }
}

@keyframes entry-text-glitch {
  0% {
    transform: translate(0);
  }

  25% {
    transform: translate(-3px, 1px);

    text-shadow:
      4px 0 #4255ad,
      -3px 0 #f4362f;
  }

  50% {
    transform: translate(2px, -1px);

    text-shadow:
      -3px 0 #00e5ff,
      3px 0 #ffe91f;
  }

  100% {
    transform: translate(0);
  }
}

@keyframes intro-claim-exit {
  0% {
    opacity: 1;
    clip-path: inset(0);
  }

  70% {
    opacity: 0.65;
    clip-path: inset(58% 0 12% 0);
  }

  100% {
    opacity: 0;
    clip-path: inset(50% 0);
  }
}

@keyframes entry-screen-exit {
  0% {
    opacity: 1;
    clip-path: inset(0);
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    clip-path: inset(50%);
  }
}

/* ==================================================
   TABLET
================================================== */

@media (min-width: 42rem) {
  :root {
    --pad: 1.5rem;
  }

  .brand {
    width: 7rem;
    height: 4rem;
  }

  .button-row {
    display: flex;
    flex-wrap: wrap;
  }

  .button {
    width: auto;
    min-width: 13rem;
  }

  .card-grid--three,
  .topic-grid,
  .episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .position-panel {
    min-height: 19rem;

    padding: 1.3rem;
  }

  .position-panel__icon {
    width: 4.4rem;
    height: 4.4rem;
  }

  .facts {
    gap: 0.8rem;
  }

  .fact-item {
    min-height: 9rem;

    padding: 0.5rem 0.25rem;
  }

  .fact-icon {
    max-width: 4.4rem;
    height: 3.9rem;
  }

  .fact-text strong {
    font-size: clamp(1.35rem, 3.2vw, 2rem);
  }

  .fact-text span {
    font-size: 0.95rem;
  }

  .game-carousel__viewport {
    aspect-ratio: 4 / 3;
  }

  .game-carousel__caption {
    min-height: 9.5rem;

    padding: 1.3rem;
  }

  .game-carousel__controls {
    grid-template-columns: 3.3rem 1fr 3.3rem;
  }

  .game-carousel__arrow {
    width: 3.3rem;
    height: 3.3rem;
  }

  .nfc-heading-row {
    gap: 1.5rem;
  }

  .nfc-sticker {
    width: 7rem;
  }

  .topic-card {
    min-height: 18rem;
    padding: 1.55rem;
  }

  .topic-card__content {
    max-width: 64%;
    min-height: 15rem;
  }

  .topic-card__mockup {
    right: -5%;

    width: 46%;
    height: 153%;
  }

  .cards-strip {
    height: 18rem;
  }

  .cards-strip-track {
    animation-duration: 90s;
  }

  .cards-strip-track img {
    height: 15.5rem;
  }

  .podcast-watermark {
    top: 53%;
    right: -20%;

    width: 85vw;
  }

  .modal-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .duel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-card-hero {
    grid-template-columns:
      minmax(12rem, 0.72fr)
      minmax(0, 1.28fr);

    gap: 2rem;
  }

  .position-manifesto {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .quiz-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-next,
  .quiz-enter {
    width: auto;
    min-width: 17rem;
  }
}

/* ==================================================
   DESKTOP
================================================== */

@media (min-width: 72rem) {
  :root {
    --pad: 2rem;
    --header-h: 5.2rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;

    width: auto;
    height: auto;
    padding: 0;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;

    overflow: visible;

    background: transparent;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: none;
  }

  .site-nav a,
  .site-nav a:first-child {
    padding: 0.65rem 0.72rem;

    border: 0;
    border-radius: 999px;

    background: transparent;
    color: var(--ink);

    font-family: "SY Body", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;

    text-transform: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    padding-left: 0.72rem;

    background: var(--ink);
    color: var(--paper);
  }

  .hero {
    min-height: calc(100svh - var(--header-h));

    grid-template-columns:
      minmax(0, 1.02fr)
      minmax(0, 0.98fr);

    align-items: stretch;
  }

  .hero-copy {
    min-height: calc(100svh - var(--header-h));

    padding-top: clamp(2.2rem, 5vh, 4rem);
    padding-bottom: clamp(2.2rem, 5vh, 4rem);

    padding-left:
      max(
        var(--pad),
        calc((100vw - var(--max)) / 2 + var(--pad))
      );

    padding-right: clamp(2rem, 3.5vw, 4rem);

    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-visual {
    min-height: calc(100svh - var(--header-h));

    border-top: 0;
    border-left: var(--line);
  }

  .hero-board {
    width: min(80%, 34rem);
    max-height: 78%;
  }

  .display--hero {
    font-size: clamp(4rem, 5.4vw, 6.25rem);
  }

  .display--section {
    font-size: clamp(4rem, 5.15vw, 6rem);
  }

  .section {
    padding: 6rem 0;
  }

  .split {
    grid-template-columns:
      minmax(0, 1.1fr)
      minmax(0, 0.9fr);

    gap: 4rem;
  }

  .card-grid--three,
  .topic-grid,
  .episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .position-panel {
    min-height: 21rem;

    padding: 1.4rem;
  }

  .position-panel h3 {
    font-size: clamp(3rem, 4vw, 4.5rem);
  }

  .position-panel__icon {
    width: 4.8rem;
    height: 4.8rem;
  }

  .position-panel__icon svg {
    width: 2.7rem;
    height: 2.7rem;
  }

  .game-layout,
  .team-layout {
    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(0, 0.95fr);

    gap: 4rem;
  }

  .facts {
    gap: 1.2rem;
  }

  .fact-item {
    min-height: 10rem;
  }

  .fact-icon {
    max-width: 5.4rem;
    height: 4.8rem;
  }

  .fact-text strong {
    font-size: 2.15rem;
  }

  .game-carousel {
    align-self: center;
  }

  .game-carousel__viewport {
    aspect-ratio: 4 / 3;
  }

  .game-carousel__caption {
    min-height: 10rem;

    padding: 1.45rem;
  }

  .game-carousel__label,
  .game-carousel__counter {
    top: 1rem;

    font-size: 0.8rem;
  }

  .game-carousel__label {
    left: 1rem;
  }

  .game-carousel__counter {
    right: 1rem;
  }

  .game-carousel__controls {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;

    grid-template-columns: 3.5rem 1fr 3.5rem;
  }

  .game-carousel__arrow {
    width: 3.5rem;
    height: 3.5rem;
  }

  .nfc-sticker {
    width: 7.5rem;
  }

  .topic-card {
    min-height: 20rem;

    padding: 1.75rem;
  }

  .topic-card__content {
    max-width: 61%;
    min-height: 16.5rem;
  }

  .topic-card__mockup {
    right: -3%;

    width: 44%;
    height: 157%;
  }

  .cards-strip {
    height: 21rem;
  }

  .cards-strip-track {
    animation-duration: 100s;
  }

  .cards-strip-track img {
    height: 18rem;
  }

  .podcast-watermark {
    top: 52%;
    right: -2rem;

    width: min(56vw, 58rem);

    opacity: 0.2;

    transform:
      translateY(-50%)
      rotate(-4deg);
  }

  .footer-grid {
    grid-template-columns:
      minmax(12rem, 0.55fr)
      minmax(13rem, 0.7fr)
      minmax(17rem, 0.85fr);

    gap: 4rem;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .modal-shell {
    padding: 1.7rem;
  }

  .position-modal-watermark {
    top: 5rem;
    right: -3rem;

    width: 34rem;
    height: 34rem;
  }

  .quiz-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==================================================
   RIDUZIONE MOVIMENTO
================================================== */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;

    transform: none;
  }

  .cards-strip-track {
    animation: none;

    transform: none;
  }
}