/* ROD'S, Artisans du Burger : see documentation/DESIGN.md */

@font-face {
  font-family: 'Racing Sans One';
  src: url('/fonts/racing-sans-one-latin-400.2ff92c8a.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Pixelify Sans';
  src: url('/fonts/pixelify-sans-latin-wght.4a5633a0.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Red Hat Text';
  src: url('/fonts/red-hat-text-latin-wght.59826f39.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Racing Fallback';
  src: local('Arial');
  size-adjust: 96%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Pixelify Fallback';
  src: local('Courier New');
  size-adjust: 92%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Red Hat Fallback';
  src: local('Arial');
  size-adjust: 102%;
  ascent-override: 96%;
  descent-override: 25%;
  line-gap-override: 0%;
}

:root {
  --night: #070a1f;
  --panel: #0c1236;
  --panel-2: #0a0f3a;
  --blue: #1631c4;
  --blue-text: #9fb0ff;
  --red: #e5101d;
  --red-text: #ff7b7b;
  --yellow: #ffd21f;
  --paper: #f3efe4;
  --ink: #0b0b14;
  --muted: #c5c5d7;
  --todo: #ff7bd5;

  --font-display: 'Racing Sans One', 'Racing Fallback', sans-serif;
  --font-game: 'Pixelify Sans', 'Pixelify Fallback', monospace;
  --font-text: 'Red Hat Text', 'Red Hat Fallback', sans-serif;

  --pixel: 0.375rem;
  --corners: polygon(
    0 calc(var(--pixel) * 2),
    var(--pixel) calc(var(--pixel) * 2),
    var(--pixel) var(--pixel),
    calc(var(--pixel) * 2) var(--pixel),
    calc(var(--pixel) * 2) 0,
    calc(100% - var(--pixel) * 2) 0,
    calc(100% - var(--pixel) * 2) var(--pixel),
    calc(100% - var(--pixel)) var(--pixel),
    calc(100% - var(--pixel)) calc(var(--pixel) * 2),
    100% calc(var(--pixel) * 2),
    100% calc(100% - var(--pixel) * 2),
    calc(100% - var(--pixel)) calc(100% - var(--pixel) * 2),
    calc(100% - var(--pixel)) calc(100% - var(--pixel)),
    calc(100% - var(--pixel) * 2) calc(100% - var(--pixel)),
    calc(100% - var(--pixel) * 2) 100%,
    calc(var(--pixel) * 2) 100%,
    calc(var(--pixel) * 2) calc(100% - var(--pixel)),
    var(--pixel) calc(100% - var(--pixel)),
    var(--pixel) calc(100% - var(--pixel) * 2),
    0 calc(100% - var(--pixel) * 2)
  );
  --corners-s: polygon(
    0 0.375rem,
    0.1875rem 0.375rem,
    0.1875rem 0.1875rem,
    0.375rem 0.1875rem,
    0.375rem 0,
    calc(100% - 0.375rem) 0,
    calc(100% - 0.375rem) 0.1875rem,
    calc(100% - 0.1875rem) 0.1875rem,
    calc(100% - 0.1875rem) 0.375rem,
    100% 0.375rem,
    100% calc(100% - 0.375rem),
    calc(100% - 0.1875rem) calc(100% - 0.375rem),
    calc(100% - 0.1875rem) calc(100% - 0.1875rem),
    calc(100% - 0.375rem) calc(100% - 0.1875rem),
    calc(100% - 0.375rem) 100%,
    0.375rem 100%,
    0.375rem calc(100% - 0.1875rem),
    0.1875rem calc(100% - 0.1875rem),
    0.1875rem calc(100% - 0.375rem),
    0 calc(100% - 0.375rem)
  );
  --bevel: inset -0.25rem -0.25rem 0 rgb(0 0 0 / 0.35);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --measure: 65ch;
  --wide: 90rem;
  --gutter: max(var(--space-2), calc((100% - var(--wide)) / 2));

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --bar-height: 4.25rem;
  --header-height: 4rem;

  color-scheme: dark;
  accent-color: var(--yellow);
  scrollbar-color: var(--yellow) var(--night);
}

/* Palette of each burger : the page takes the universe of its recipe */
.u-bayou {
  --u-bg: #1f3a1d;
  --u-ink: var(--paper);
  --u-accent: #e8a317;
}
.u-mexico {
  --u-bg: #ffd21f;
  --u-ink: var(--ink);
  --u-accent: #0aa6a0;
}
.u-marc {
  --u-bg: #16392b;
  --u-ink: var(--paper);
  --u-accent: #c9d46a;
}
.u-smoked {
  --u-bg: #1a0e0c;
  --u-ink: var(--paper);
  --u-accent: #e2551a;
}
.u-enfance {
  --u-bg: #8c1f1f;
  --u-ink: var(--paper);
  --u-accent: var(--paper);
}
.u-biggy {
  --u-bg: #1631c4;
  --u-ink: var(--paper);
  --u-accent: #ffd21f;
}
.u-experimental {
  --u-bg: #3b1470;
  --u-ink: var(--paper);
  --u-accent: #ff3da6;
}

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

html {
  scroll-padding-top: calc(var(--header-height) + 1rem);
  scroll-padding-bottom: calc(var(--bar-height) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.55;
  caret-color: var(--yellow);
  padding-bottom: var(--bar-height);
}

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

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

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.25em;
}

:focus-visible {
  outline: 0.25rem solid var(--yellow);
  outline-offset: 0.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-game);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.5rem;
}

mark.todo {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: var(--todo);
  color: var(--ink);
  font-size: 0.875rem;
}

/* Parts shared by the pages : a label, the head of a card, a sheet of the game manual, a screen */

.level {
  font-family: var(--font-game);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag {
  display: inline-block;
  width: fit-content;
  padding: 0.25rem 0.875rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-game);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  clip-path: var(--corners-s);
}

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

.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 0.125rem solid currentColor;
  font-family: var(--font-game);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.lead {
  font-size: 1.375rem;
  line-height: 1.4;
  max-width: 38ch;
}

.text-link,
.more a,
.lead a,
.notice-intro a,
.menu-intro a,
.footer-credit a {
  --link-bg: var(--u-accent, var(--yellow));
}

.text-link,
.more a,
.lead a,
.notice-intro a,
.menu-intro a,
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.625rem;
  background: var(--link-bg);
  color: var(--ink);
  font-family: var(--font-game);
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: var(--corners-s);
  box-shadow: var(--bevel);
}

.text-link {
  min-height: 2.75rem;
  padding-inline: 1rem;
  font-size: 1.125rem;
}

.text-link::after,
.more a::after,
.lead a::after,
.notice-intro a::after,
.menu-intro a::after,
.footer-credit a::after {
  content: '';
  flex: none;
  width: 0.4375rem;
  height: 0.625rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.text-link:active,
.more a:active,
.lead a:active,
.notice-intro a:active,
.menu-intro a:active,
.footer-credit a:active {
  translate: 0 0.125rem;
}

.button-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-game);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  clip-path: var(--corners);
  box-shadow: var(--bevel);
}

.notice {
  background: var(--paper);
  color: var(--ink);
  border: 0.25rem solid #d5cfbe;
  clip-path: var(--corners);
}

.notice .strip {
  border-color: var(--ink);
}

.notice-body {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
}

.notice a {
  color: inherit;
}

.screen {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: var(--space-3);
  border: 0.25rem dashed var(--todo);
  background: var(--panel);
  text-align: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips li {
  padding: 0.25rem 0.75rem;
  border: 0.125rem solid currentColor;
  font-family: var(--font-game);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  clip-path: var(--corners-s);
}

.word {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--header-height);
  padding: 0.5rem var(--space-2);
  border-bottom: 0.25rem solid var(--blue);
  background: var(--night);
}

.brand {
  display: block;
  padding: 0.25rem 0.5rem;
  border: 0.125rem solid var(--blue);
  line-height: 0;
}

.brand-logo {
  width: auto;
  height: 2.5rem;
}

.site-nav {
  display: none;
}

.site-nav-list {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-game);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a[aria-current] {
  background: var(--blue);
  color: #fff;
  clip-path: var(--corners-s);
}

.site-nav a::before {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.75rem;
  margin-right: 0.625rem;
  background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.site-nav li:nth-child(3n + 2) a::before {
  background: #6f86ff;
}

.site-nav li:nth-child(3n) a::before {
  background: var(--yellow);
}

.site-nav a[aria-current]::before {
  background: var(--yellow);
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.header-order,
.header-eat,
.header-call {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 0;
  font-family: var(--font-game);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: var(--corners-s);
  box-shadow: var(--bevel);
  transition: translate 100ms steps(2, end);
}

.header-order,
.header-call {
  display: none;
}

.header-order:active,
.header-eat:active,
.header-call:active {
  translate: 0 0.125rem;
}

.header-order,
.header-eat {
  background: var(--yellow);
  color: var(--ink);
}

.header-order::after,
.header-eat::after {
  content: '';
  width: 0.5rem;
  height: 0.375rem;
  margin-left: 0.625rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.header-call {
  background: var(--red);
  color: #fff;
}

.header-call-number {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.order-menu {
  inset: auto;
  right: 0;
  bottom: var(--bar-height);
  left: 0;
  width: auto;
  margin: 0;
  padding: var(--space-2);
  border: 0.25rem solid var(--yellow);
  background: var(--night);
  color: #fff;
}

.order-menu:popover-open {
  display: grid;
  gap: 0.5rem;
}

/* Tab bar of a phone : the four pages and, in the middle, the order button */

.tab-bar {
  position: fixed;
  z-index: 50;
  inset: auto 0 0;
  border-top: 0.25rem solid var(--blue);
  background: var(--night);
}

.tab-bar ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tab-bar a,
.tab-bar button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.25rem;
  width: 100%;
  min-height: calc(var(--bar-height) - 0.25rem);
  padding: 0.375rem 0.125rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--font-game);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  outline-offset: -0.375rem;
}

.tab-bar svg {
  width: 1.5rem;
  height: 1.5rem;
}

.tab-bar a[aria-current] {
  box-shadow: inset 0 0.25rem 0 var(--yellow);
  color: var(--yellow);
}

.tab-order button {
  background: var(--yellow);
  color: var(--ink);
}

/* The three actions */

.actions {
  display: grid;
  gap: 0.75rem;
}

.action {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.125rem;
  min-height: 4.5rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  clip-path: var(--corners);
  box-shadow: var(--bevel);
  transition: transform 120ms var(--ease-out);
  outline-offset: -0.5rem;
}

.action:active {
  transform: translateY(0.125rem);
  box-shadow: none;
}

.action::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.75rem;
  height: 1.125rem;
  margin-top: -0.5625rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  scale: 0;
}

.action-label {
  font-family: var(--font-game);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.15;
}

.action-note {
  font-size: 0.9375rem;
}

.action-collect {
  background: var(--blue);
  color: #fff;
}

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

.action-call {
  background: var(--red);
  color: #fff;
}

.action-delivery:focus-visible {
  outline-color: var(--ink);
}

.action-collect:focus-visible,
.action-call:focus-visible {
  outline-color: var(--yellow);
}

.actions-blocks {
  gap: 0;
}

.actions-blocks li {
  display: flex;
}

.actions-blocks .action {
  flex: 1;
}

.actions-blocks .action {
  gap: 0.75rem;
  min-height: 18rem;
  padding: var(--space-4) var(--space-3);
  clip-path: none;
  box-shadow: none;
  justify-content: flex-start;
  outline-offset: -0.75rem;
}

.actions-blocks .action::after {
  display: none;
}

.action-option {
  font-family: var(--font-game);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.action-collect .action-option {
  color: var(--yellow);
}

.action-call .action-option {
  color: #fff;
}

.action-delivery .action-option {
  color: #a1000d;
}

.actions-blocks .action-label {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.actions-blocks .action-note {
  font-family: var(--font-game);
  font-size: 1.25rem;
  font-weight: 600;
}

.action-text {
  font-size: 1rem;
  line-height: 1.45;
  max-width: 32ch;
}

.action-go {
  display: block;
  margin-top: auto;
  padding: 0.875rem 1rem;
  border: 0.125rem solid var(--ink);
  font-family: var(--font-game);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  clip-path: var(--corners-s);
  box-shadow: var(--bevel);
}

.action-collect .action-go {
  background: #fff;
  color: var(--ink);
}

.action-delivery .action-go {
  background: var(--ink);
  color: #fff;
}

.action-call .action-go {
  background: var(--yellow);
  color: var(--ink);
}

/* Head of a page without hero */

.page-head {
  display: grid;
  justify-items: start;
  gap: var(--space-2);
  padding: var(--space-4) var(--gutter) var(--space-3);
  background: var(--night);
}

.page-head h1 {
  font-size: clamp(2.5rem, 10vw, 6rem);
  max-width: 16ch;
  overflow-wrap: anywhere;
}

.notice-intro {
  max-width: 52rem;
  padding: var(--space-2) var(--space-3);
  border-left: 0.5rem solid var(--blue);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
}

.notice-intro a {
  color: inherit;
}

/* Home : hero */

.hero {
  padding: var(--space-2) var(--gutter) var(--space-4);
  background: var(--night);
}

.hero-frame {
  border: 0.25rem solid var(--blue);
  background: #090e2b;
  clip-path: var(--corners);
}

.hero-strip {
  border-color: var(--blue);
  color: var(--yellow);
}

.hero-grid {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-2) var(--space-4);
}

.hero h1 {
  font-size: clamp(2.75rem, 12vw, 6rem);
  line-height: 0.9;
}

.hero-text {
  display: grid;
  gap: var(--space-3);
  align-content: center;
  justify-items: start;
}

.hero-text .actions {
  width: 100%;
}

.eyebrow {
  font-family: var(--font-game);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-text);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.5rem;
  background: var(--red);
}

.hero-where {
  font-size: 1rem;
}

.hero-burger {
  position: relative;
  display: grid;
  gap: var(--space-2);
  align-content: center;
  justify-items: center;
  padding: var(--space-3);
  border: 0.25rem solid var(--blue);
  background: var(--night);
  overflow: clip;
}

.hero-logo {
  width: min(100%, 25rem);
  aspect-ratio: 300 / 328;
  height: auto;
}

.hero-caption {
  width: 100%;
  justify-content: center;
  border-top: 0.125rem solid var(--blue);
  border-bottom: 0;
  padding-bottom: 0;
  color: var(--yellow);
}

/* Band of the burger names */

.ticker {
  overflow: clip;
  padding: 0.75rem 0;
  background: var(--yellow);
  color: var(--ink);
  border-block: 0.25rem solid var(--ink);
}

.ticker-line {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  padding-right: 2rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-star {
  width: 1.25rem;
  height: 1.25rem;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* Select screen */

.select {
  overflow-x: clip;
  padding: var(--space-5) var(--gutter) var(--space-6);
  background: var(--blue);
  color: #fff;
}

.select-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 0.25rem solid #fff;
}

.select-head > div {
  display: grid;
  justify-items: start;
  gap: var(--space-1);
}

.select h2 {
  font-size: clamp(2.5rem, 9vw, 5rem);
}

.select-count {
  font-family: var(--font-game);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yellow);
}

.page > .select:first-of-type {
  padding-top: var(--space-4);
}

.cartridges {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4) var(--space-3);
}

.cartridges.cartridges-bonus {
  grid-template-columns: minmax(0, 1fr);
  margin-top: var(--space-4);
}

.cartridge > a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: var(--space-2);
  height: 100%;
  padding: var(--space-2);
  border: 0.25rem solid #000;
  background: var(--u-bg);
  color: var(--u-ink);
  text-decoration: none;
  clip-path: var(--corners);
  transition: transform 180ms var(--ease-out);
  outline-offset: -0.75rem;
}

.cartridge > a:hover,
.cartridge > a:focus-visible {
  transform: translateY(-0.5rem);
}

.cartridge > a:focus-visible {
  outline-color: var(--yellow);
}

.cartridge-frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0.25rem solid var(--u-accent);
  background: #000;
}

.cartridge-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.cartridge-sticker {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  width: 4.5rem;
  height: 4.5rem;
  border: 0.1875rem solid var(--u-accent);
  border-radius: 50%;
  rotate: 8deg;
}

.cartridge-text {
  display: grid;
  align-content: start;
  gap: 0.375rem;
  padding: 0 var(--space-1) var(--space-1);
}

.cartridge-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cartridge-name::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0.6em;
  background: var(--u-accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.cartridge > a:hover .cartridge-name::before,
.cartridge > a:focus-visible .cartridge-name::before {
  width: 0.5em;
  margin-right: 0.3em;
}

.cartridge-hook {
  font-size: 1rem;
  line-height: 1.4;
}

.cartridge-go {
  width: fit-content;
  margin-top: var(--space-1);
  padding: 0.375rem 0.875rem;
  background: var(--u-accent);
  color: var(--ink);
  font-family: var(--font-game);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: var(--corners-s);
}

.cartridge-bonus > a {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  border-color: var(--u-accent);
  padding: var(--space-3);
}

.cartridge-bonus .cartridge-badge {
  width: min(100%, 11rem);
  margin-inline: auto;
  border-radius: 50%;
}

.cartridge-bonus .cartridge-name {
  font-size: clamp(2.25rem, 8vw, 4rem);
}

.cartridge-bonus .cartridge-hook {
  font-size: 1.125rem;
}

.select-link {
  margin-top: var(--space-4);
}

/* Home : the chef, the scores, the game at the table */

.chef {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5) var(--gutter);
  background: var(--night);
  border-bottom: 0.5rem solid var(--blue);
}

.chef h2 {
  font-size: clamp(2.25rem, 8vw, 3.75rem);
  color: var(--ink);
}

.notice-lead {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
}

.scoreboard {
  display: grid;
  align-content: start;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 0.25rem solid #000;
  background: var(--yellow);
  color: var(--ink);
  clip-path: var(--corners);
}

.scoreboard-title {
  padding-bottom: var(--space-2);
  border-bottom: 0.25rem solid #000;
  font-family: var(--font-game);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  color: #a1000d;
}

.scores {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.75rem;
  color: var(--ink);
  font-family: var(--font-game);
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}

.scores caption {
  padding-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-style: italic;
  text-align: center;
  text-transform: uppercase;
  caption-side: top;
}

.scores th,
.scores td {
  padding: var(--space-2);
  background: #fff;
  border-block: 0.125rem solid var(--ink);
  text-align: left;
  vertical-align: top;
  font-weight: 600;
}

.scores tbody th {
  border-left: 0.125rem solid var(--ink);
  font-size: 1.5rem;
  color: var(--blue);
}

.scores td:last-child {
  border-right: 0.125rem solid var(--ink);
}

.scores thead th {
  padding: 0 var(--space-2);
  background: none;
  border: 0;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scores a {
  color: inherit;
}

@media (max-width: 39.99rem) {
  .scores thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .scores,
  .scores tbody,
  .scores tr,
  .scores th,
  .scores td {
    display: block;
  }

  .scores tbody tr {
    margin-bottom: 0.75rem;
    border: 0.125rem solid var(--ink);
    background: #fff;
  }

  .scores th,
  .scores td,
  .scores tbody th,
  .scores td:last-child {
    padding: 0.25rem var(--space-2);
    border: 0;
  }

  .scores tbody th {
    padding-top: var(--space-1);
  }

  .scores td:last-child {
    padding-bottom: var(--space-1);
  }
}

.table-play {
  padding: var(--space-5) var(--gutter);
  background: var(--night);
}

.table-play-frame {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-3);
  border: 0.25rem solid var(--blue);
  background: var(--panel);
  clip-path: var(--corners);
}

.table-play-text {
  display: grid;
  justify-items: start;
  gap: var(--space-2);
  align-content: center;
  max-width: var(--measure);
}

.table-play h2 {
  font-size: clamp(2.5rem, 9vw, 4.5rem);
}

.insert-coin {
  padding-top: var(--space-5);
  border-top: 0.25rem solid #fff;
  background: var(--night);
}

.insert-coin > .tag,
.insert-coin > h2 {
  margin-inline: var(--gutter);
}

.insert-coin h2 {
  padding: var(--space-1) 0 var(--space-3);
  font-size: clamp(2.5rem, 9vw, 5rem);
  color: var(--yellow);
}

.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem var(--space-3);
}

.hours dt {
  font-weight: 700;
}

.hours dd {
  margin: 0;
}

/* Burger page */

.crumbs {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  padding: 0.75rem var(--gutter);
  border-bottom: 0.25rem solid var(--u-accent);
  background: var(--night);
  color: var(--muted);
  font-family: var(--font-game);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crumbs a {
  color: var(--u-accent);
}

.crumbs a::before {
  content: '◀ ';
  font-size: 0.75em;
}

.crumbs [aria-current] {
  color: #fff;
  font-weight: 700;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  overflow-x: clip;
  padding: var(--space-3) var(--gutter) var(--space-5);
  background: var(--u-bg);
  color: var(--u-ink);
}

.burger-visual {
  display: contents;
}

.burger-frame {
  align-self: center;
  margin: 0;
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.burger-screen {
  position: relative;
  overflow: clip;
  border: 0.375rem solid var(--u-accent);
  background: #000;
  clip-path: var(--corners);
}

.burger-scene {
  width: 100%;
  height: auto;
}

.burger-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 0.1875rem,
    rgb(0 0 0 / 0.1) 0.1875rem 0.375rem
  );
  pointer-events: none;
}

.burger-badge {
  position: absolute;
  z-index: 2;
  top: -0.75rem;
  left: -0.25rem;
  width: clamp(4.5rem, 20vw, 6.5rem);
  height: auto;
  border: 0.1875rem solid var(--u-accent);
  border-radius: 50%;
  background: #000;
}

.burger-body {
  display: grid;
  min-width: 0;
  gap: var(--space-4);
  padding-block: var(--space-3) 0;
  align-content: start;
}

.burger-head {
  display: grid;
  justify-items: start;
  gap: var(--space-1);
}

.level-tag {
  padding: 0.25rem 0.875rem;
  background: var(--u-accent);
  color: var(--ink);
  font-family: var(--font-game);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: var(--corners-s);
}

.burger h1 {
  font-size: clamp(2.25rem, 11vw, 5.5rem);
  overflow-wrap: anywhere;
  line-height: 0.9;
}

.burger-hook {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.15;
  text-transform: uppercase;
}

.story {
  max-width: 48rem;
  font-size: 1.125rem;
  line-height: 1.65;
}

.story .strip {
  font-size: 0.8125rem;
}

.story-sign {
  border-top: 0.125rem solid var(--ink);
  border-bottom: 0;
}

.fact {
  max-width: 48rem;
  padding: var(--space-2) var(--space-3);
  background: var(--u-accent);
  color: var(--ink);
  font-family: var(--font-game);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  clip-path: var(--corners);
}

.more {
  max-width: 48rem;
  font-size: 1rem;
}

.composition {
  max-width: 48rem;
  padding: var(--space-3);
  border: 0.25rem solid var(--u-accent);
  background: color-mix(in srgb, var(--u-bg) 78%, #000);
  clip-path: var(--corners);
}

.composition-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-bottom: var(--space-2);
  border-bottom: 0.125rem solid var(--u-accent);
}

.composition-head .level {
  color: var(--u-ink);
}

.composition h2 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
}

.composition ul {
  display: grid;
  gap: 0.75rem;
  margin-top: var(--space-2);
  font-family: var(--font-game);
  font-size: 1.0625rem;
  font-weight: 500;
  text-transform: uppercase;
}

.composition li {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 2.25rem;
  border: 0.125rem solid var(--u-accent);
  background: rgb(0 0 0 / 0.16);
}

.composition li::before {
  content: '';
  position: absolute;
  left: 0.875rem;
  top: 1.1em;
  width: 0.5rem;
  height: 0.75rem;
  background: var(--u-accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.level-select {
  order: 2;
  display: grid;
  gap: var(--space-1);
  width: 100%;
}

.level-chips {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
}

.level-chips a {
  display: block;
  flex: 1 1 0;
  max-width: 3.75rem;
  aspect-ratio: 1;
  border-radius: 50%;
}

.level-chips img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.level-chips a[aria-current] {
  border: 0.25rem solid var(--u-accent);
}

.level-chips a:focus-visible {
  outline-color: var(--u-ink);
}

.level-steps {
  display: grid;
  gap: 0.375rem;
}

.level-steps a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 1rem;
  background: var(--night);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: var(--corners-s);
}

.level-steps a::before,
.level-steps a::after {
  content: '';
  flex: none;
  width: 0.75rem;
  height: 1.125rem;
  background: var(--yellow);
}

.level-prev::before {
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.level-next::after {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.level-prev::after,
.level-next::before {
  display: none;
}

.level-text {
  display: grid;
  gap: 0.125rem;
  line-height: 1.1;
}

.level-next {
  justify-content: space-between;
  text-align: right;
}

.level-steps .level {
  display: block;
  font-size: 0.8125rem;
}

/* Menu */

.menu-block {
  overflow-x: clip;
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding: var(--space-5) var(--gutter);
}

.menu-burgers {
  background: var(--night);
  color: var(--paper);
}

.menu-starters {
  background: var(--panel);
  color: var(--paper);
  border-top: 0.25rem solid var(--blue);
}

.menu-desserts {
  background: #3b1470;
  color: var(--paper);
}

.menu-drinks {
  background: var(--blue);
  color: #fff;
}

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

.menu-block h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(2.5rem, 9vw, 4.5rem);
}

.menu-block h2::before {
  content: '';
  flex: none;
  width: 0.5rem;
  height: 0.9em;
  background: var(--yellow);
}

.menu-starters h2::before {
  background: var(--red);
}

.menu-desserts h2::before {
  background: var(--todo);
}

.menu-kids h2::before {
  background: var(--red);
}

.menu-block h3 {
  font-family: var(--font-game);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.menu-intro {
  max-width: var(--measure);
}

.menu-lines {
  display: grid;
  gap: 0.625rem;
  align-content: start;
}

.menu-lines li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.125rem 1rem;
  padding: 0.875rem 1rem;
  border: 0.125rem solid currentColor;
  background: var(--night);
  clip-path: var(--corners-s);
}

.menu-desserts .menu-lines li {
  background: rgb(0 0 0 / 0.3);
}

.menu-rank {
  grid-row: span 2;
  align-self: start;
  font-family: var(--font-game);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--red-text);
}

.menu-desserts .menu-rank {
  color: var(--todo);
}

.menu-name {
  font-family: var(--font-game);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2;
}

.menu-detail {
  grid-column: 2;
  font-size: 1rem;
  color: var(--muted);
}

.menu-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  align-items: start;
}

.menu-photos figure {
  display: grid;
  gap: 0.5rem;
}

.menu-photos img {
  width: 100%;
  height: auto;
  border: 0.375rem solid currentColor;
  clip-path: var(--corners);
}

.menu-photos .level {
  color: var(--yellow);
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr));
  gap: var(--space-2);
}

.slot:last-child {
  grid-column: 1 / -1;
}

.slot a {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  align-items: center;
  gap: 0.125rem var(--space-2);
  height: 100%;
  padding: var(--space-2);
  border: 0.125rem solid var(--u-accent);
  background: var(--u-bg);
  color: var(--u-ink);
  text-decoration: none;
  clip-path: var(--corners-s);
  outline-offset: -0.5rem;
}

.slot img {
  grid-row: span 2;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
}

.slot-name {
  font-family: var(--font-game);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.slot a:focus-visible {
  outline-color: var(--yellow);
}

.drinks-group {
  display: grid;
  gap: var(--space-2);
}

.drinks-group .level {
  color: var(--yellow);
}

.drinks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: var(--space-2);
}

.drink {
  display: grid;
  align-content: start;
  background: #fff;
  color: var(--ink);
  text-align: center;
  clip-path: var(--corners-s);
}

.drink img {
  width: 100%;
  height: auto;
}

.drink .menu-name {
  padding: 0.25rem 0.5rem 0.75rem;
  font-size: 1.125rem;
}

.note {
  font-size: 0.9375rem;
}

.kids-lines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--space-2);
}

.kids-lines li {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: var(--space-2);
  border: 0.25rem solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  clip-path: var(--corners-s);
}

.kids-lines .menu-rank {
  grid-row: auto;
  color: var(--yellow);
}

.kids-lines li:last-child {
  border-color: var(--ink);
  background: var(--red);
  color: #fff;
}

.kids-lines li:last-child .menu-rank {
  color: #fff;
}

/* Page of the chef */

.profile,
.chef-story,
.slots-section,
.path,
.chef-scores {
  padding: var(--space-5) var(--gutter);
}

.profile {
  background: var(--night);
  padding-top: var(--space-3);
}

.profile-grid {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-3);
}

.portrait {
  display: grid;
  gap: var(--space-2);
  justify-items: center;
  align-content: center;
  padding: var(--space-3);
  border: 0.25rem dashed var(--todo);
  background: var(--night);
  text-align: center;
}

.portrait svg {
  width: 9rem;
  height: 9rem;
}

.profile-text {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: var(--space-2);
}

.profile-text h2 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.profile .chips li {
  border-color: var(--blue);
  color: var(--blue);
}

.stats {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  max-width: 28rem;
  padding-top: var(--space-2);
  border-top: 0.125rem solid var(--ink);
  font-family: var(--font-game);
  text-transform: uppercase;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.stat dt {
  font-size: 1rem;
  font-weight: 600;
}

.stat dd {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.stat-blocks {
  display: flex;
  gap: 0.25rem;
}

.stat-blocks i {
  width: 1.25rem;
  height: 1.25rem;
  border: 0.125rem solid var(--ink);
}

.stat-blocks i.on {
  background: var(--blue);
}

.stat-n {
  min-width: 1.5ch;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.chef-scores {
  display: grid;
  justify-items: start;
  gap: var(--space-2);
  background: var(--yellow);
  color: var(--ink);
}

.chef-scores h2 {
  font-size: clamp(2.25rem, 8vw, 4rem);
}

.chef-scores .scores {
  max-width: 64rem;
}

.proofs {
  display: grid;
  gap: var(--space-2);
  width: 100%;
  max-width: 64rem;
}

.proofs li {
  display: grid;
  gap: 0.25rem;
  padding: var(--space-2);
  border: 0.25rem solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  clip-path: var(--corners-s);
}

.proofs strong {
  font-family: var(--font-game);
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yellow);
}

.path {
  display: grid;
  justify-items: start;
  gap: var(--space-2);
  background: var(--blue);
  color: #fff;
}

.path h2 {
  font-size: clamp(2.25rem, 8vw, 4rem);
}

.stages {
  display: grid;
  gap: var(--space-2);
  width: 100%;
  margin-top: var(--space-2);
}

.stage {
  border: 0.25rem solid var(--night);
  background: var(--night);
  clip-path: var(--corners-s);
}

.stage .strip {
  border-color: var(--blue);
  color: var(--yellow);
}

.stage-body {
  display: grid;
  gap: 0.5rem;
  padding: var(--space-2);
}

.stage h3 {
  font-size: 1.75rem;
}

.stage-body > p:last-child {
  font-size: 1rem;
  color: var(--muted);
}

.stage:last-child .strip {
  background: var(--yellow);
  color: var(--ink);
}

.chef-story {
  display: grid;
  gap: var(--space-4);
  background: var(--night);
}

.chef-story h2 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.chef-story blockquote {
  padding-left: var(--space-2);
  border-left: 0.5rem solid var(--blue);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.lore {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 0.25rem dashed var(--yellow);
  background: var(--panel);
}

.lore h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--yellow);
}

.slots-section {
  display: grid;
  justify-items: start;
  gap: var(--space-2);
  background: var(--night);
  border-top: 0.25rem solid var(--blue);
}

.slots-section h2 {
  font-size: clamp(2.25rem, 8vw, 4rem);
}

.slots-section .slots {
  width: 100%;
  margin-top: var(--space-2);
}

/* Infos */

.info-actions {
  padding: var(--space-2) var(--gutter) var(--space-4);
  background: var(--night);
}

.info-grid {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4) var(--gutter);
  background: var(--panel);
  border-block: 0.25rem solid var(--blue);
}

.info-block {
  border: 0.125rem solid #444655;
  background: #1b1e34;
  clip-path: var(--corners);
}

.info-block .strip {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.info-block:nth-child(2) .strip {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.info-block:nth-child(3) .strip {
  background: var(--red);
  border-color: var(--red);
}

.info-body {
  display: grid;
  justify-items: start;
  gap: var(--space-2);
  padding: var(--space-3);
}

.info-body h2 {
  font-size: clamp(2rem, 6vw, 2.75rem);
}

.info-body address {
  font-style: normal;
}

.info-phone {
  font-family: var(--font-game);
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
}

.info-order {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5) var(--gutter) var(--space-4);
  background: var(--night);
}

.info-order h2 {
  font-size: clamp(2rem, 6vw, 3.25rem);
}

.info-rules {
  display: grid;
  gap: var(--space-2);
}

.info-rule {
  display: grid;
  align-content: start;
  gap: var(--space-1);
  padding: var(--space-3);
  border-top: 0.5rem solid var(--blue);
  background: var(--paper);
  color: var(--ink);
  clip-path: var(--corners-s);
}

.info-rule-delivery {
  border-top-color: var(--yellow);
}

.info-rule-payment {
  border-top-color: var(--red);
}

.info-rule h3 {
  font-family: var(--font-game);
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 700;
  text-transform: none;
}

.info-more {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-3) var(--gutter) var(--space-5);
  background: var(--night);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  background: #1b1e34;
  font-family: var(--font-game);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: var(--corners-s);
}

.quick-links a::after {
  content: '';
  width: 0.5rem;
  height: 0.75rem;
  margin-left: 0.625rem;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Pages of text */

.legal {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-4) var(--gutter) var(--space-6);
  background: var(--paper);
  color: var(--ink);
}

.legal section {
  display: grid;
  gap: var(--space-2);
  max-width: var(--measure);
}

.legal h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.identity-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.125rem;
}

.identity-list dt {
  margin-top: var(--space-1);
  font-weight: 700;
}

.identity-list dd {
  margin: 0;
}

.legal ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.25rem;
}

.legal li {
  list-style: disc;
}

.legal a {
  color: inherit;
}

/* Footer */

.site-footer {
  background: var(--night);
}

.footer-body {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5) var(--gutter) var(--space-4);
  border-top: 0.25rem solid var(--blue);
}

.footer-brand {
  display: grid;
  gap: var(--space-1);
  justify-items: start;
}

.footer-logo {
  width: 7rem;
  height: auto;
}

.footer-contact {
  font-style: normal;
}

.footer-nav ul {
  display: grid;
  gap: 0.25rem;
}

.footer-nav a {
  display: inline-block;
  padding: 0.5rem 0;
  min-height: 2.75rem;
  font-family: var(--font-game);
  font-weight: 600;
  text-transform: uppercase;
}

.footer-credit {
  grid-column: 1 / -1;
  padding-top: var(--space-3);
  border-top: 0.125rem solid var(--blue);
  font-size: 0.9375rem;
}

/* 404 */

.not-found {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  justify-items: start;
  padding: var(--space-5) var(--gutter) var(--space-6);
  background: var(--night);
}

.not-found h1 {
  margin-top: var(--space-1);
  font-size: clamp(3rem, 12vw, 7rem);
}

.not-found .lead {
  margin: var(--space-2) 0 var(--space-3);
}

.not-found-logo {
  width: min(70%, 16rem);
  height: auto;
}

/* Wide screens */

@media (min-width: 40rem) {
  .actions-row {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .cartridge-bonus > a {
    grid-template-columns: 13rem 1fr;
    gap: var(--space-4);
  }

  .kids-lines {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }

  .composition ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

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

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

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

  .slot a {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .slot img {
    grid-row: auto;
  }
}

@media (min-width: 64rem) {
  :root {
    --header-height: 5rem;
  }

  body {
    padding-bottom: 0;
  }

  html {
    scroll-padding-bottom: 1rem;
  }

  .tab-bar {
    display: none;
  }

  .site-header {
    padding-inline: max(var(--space-4), calc((100% - 90rem) / 2 + var(--space-2)));
  }

  .brand-logo {
    height: 3rem;
  }

  .site-nav {
    display: block;
    flex: 1;
  }

  .site-nav-list {
    gap: var(--space-4);
  }

  .header-order,
  .header-call {
    display: inline-flex;
  }

  .header-eat {
    display: none;
  }

  .header-call-number {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 0 0.5rem;
    overflow: visible;
    clip: auto;
  }

  .order-menu {
    inset: auto;
    top: calc(var(--header-height) + 0.75rem);
    right: var(--space-4);
    bottom: auto;
    left: auto;
    width: 24rem;
  }

  @supports (position-anchor: --order) {
    .header-order {
      anchor-name: --order;
    }

    .order-menu {
      position-anchor: --order;
      top: calc(anchor(bottom) + 0.75rem);
      right: anchor(right);
    }
  }

  .actions-blocks {
    grid-template-columns: repeat(3, 1fr);
  }

  .actions-blocks .action {
    min-height: 21rem;
    padding: var(--space-5) var(--space-4);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: stretch;
    padding: var(--space-4) var(--space-3);
  }

  .hero-burger {
    min-height: 30rem;
  }

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

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

  .select-rhythm .cartridge:nth-child(1),
  .select-rhythm .cartridge:nth-child(4),
  .select-rhythm .cartridge-bonus {
    grid-column: 1 / -1;
  }

  .select-rhythm .cartridge:nth-child(1) > a,
  .select-rhythm .cartridge:nth-child(4) > a {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3);
  }

  .select-rhythm .cartridge:nth-child(4) > a {
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  }

  .select-rhythm .cartridge:nth-child(4) .cartridge-frame {
    order: 2;
  }

  .select-rhythm .cartridge:nth-child(1) .cartridge-name,
  .select-rhythm .cartridge:nth-child(4) .cartridge-name {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
  }

  .cartridge-bonus > a {
    min-height: 0;
  }

  .chef {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: stretch;
    gap: var(--space-5);
  }

  .chef-story {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-5);
    align-items: start;
  }

  .table-play-frame {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    padding: var(--space-5);
  }

  .menu-starters,
  .menu-desserts {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--space-5);
  }

  .menu-starters > h2,
  .menu-desserts > h2 {
    grid-column: 1 / -1;
  }

  .menu-starters > .menu-photos,
  .menu-desserts > .menu-photos {
    grid-column: 2;
    grid-row: 2;
  }

  .menu-lines {
    grid-column: 1;
    grid-row: 2;
  }

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

  .burger {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--space-5);
    align-items: start;
    padding-block: var(--space-4) var(--space-6);
  }

  .slot:last-child {
    grid-column: auto;
  }

  .burger-visual {
    display: grid;
    gap: var(--space-2);
    justify-items: center;
    align-content: start;
    position: sticky;
    top: calc(var(--header-height) + var(--space-2));
    padding-block: var(--space-2);
  }

  .burger-scene {
    width: auto;
    max-width: 100%;
    height: calc(100svh - 24rem);
    min-height: 18rem;
    object-fit: contain;
  }

  .burger-badge {
    top: -1.25rem;
    left: -1.25rem;
  }

  .burger-body {
    padding-top: var(--space-2);
  }

  .profile-grid {
    grid-template-columns: 18rem minmax(0, 1fr);
    gap: var(--space-4);
    padding: var(--space-4);
  }

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

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

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

  .info-more {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .identity-list {
    grid-template-columns: 14rem 1fr;
    gap: 0.5rem var(--space-3);
  }

  .identity-list dt {
    margin-top: 0;
  }

  .not-found {
    grid-template-columns: 1fr 2fr;
  }

  .footer-body {
    grid-template-columns: auto 1fr 1fr 1fr;
    align-items: start;
    gap: var(--space-5);
  }
}

/* Cursor of the arcade : a pixel arrow on everything that can be pressed */

a,
button,
label[for],
summary {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='32' viewBox='0 0 12 16' shape-rendering='crispEdges'%3E%3Cpath d='M1 1v11h3v-2h2v4h2v-4h3L1 1z' fill='%23ffd21f' stroke='%230b0b14' stroke-width='1'/%3E%3C/svg%3E")
      2 1,
    pointer;
}

/* Motion : only when the visitor accepts it. The page is finished without it. Two things loop without end, the band of names and the glitch of the Expérimental, and a device asking for less motion stops them. Everything else plays once, follows the scroll or answers a pointer, and the blinking stops after five seconds */

@media (prefers-reduced-motion: no-preference) {
  .ticker-line {
    animation: 40s linear infinite ticker;
  }

  .ticker:hover .ticker-line {
    animation-play-state: paused;
  }

  @keyframes ticker {
    to {
      translate: -50% 0;
    }
  }

  /* Page change : the screen shuts like a tube, the next one switches on */

  @view-transition {
    navigation: auto;
  }

  ::view-transition {
    background: var(--night);
  }

  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none;
    mix-blend-mode: normal;
  }

  /* A photo with no twin on the other page goes out with the screen, and comes in with the next one : it never lingers */
  ::view-transition-old(*):only-child {
    display: none;
  }

  ::view-transition-new(*):only-child {
    animation: 400ms steps(8, end) 200ms both crt-on;
  }

  ::view-transition-old(root) {
    animation: 200ms steps(5, end) both crt-off;
  }

  ::view-transition-new(root) {
    animation: 400ms steps(8, end) 200ms both crt-on;
  }

  ::view-transition-group(*) {
    animation-duration: 500ms;
    animation-timing-function: steps(10, end);
  }

  @keyframes crt-off {
    to {
      transform: scale(1, 0.006);
      filter: brightness(6);
    }
  }

  @keyframes crt-on {
    from {
      transform: scale(0.15, 0.006);
      filter: brightness(8);
    }
    40% {
      transform: scale(1, 0.006);
      filter: brightness(8);
    }
    to {
      transform: none;
      filter: none;
    }
  }

  /* Life bar : fills in 24 blocks as the page scrolls */

  @supports (animation-timeline: scroll()) {
    body::before {
      content: '';
      position: fixed;
      z-index: 200;
      inset: 0 0 auto;
      height: 0.375rem;
      background: var(--yellow);
      transform-origin: 0 50%;
      pointer-events: none;
      animation: 1s steps(24, end) both life;
      animation-timeline: scroll(root);
    }

    @keyframes life {
      from {
        transform: scaleX(0);
      }
    }
  }

  /* Words of a title drop in one after the other, in pixel steps */

  .word {
    animation: 420ms steps(5, end) calc(var(--i) * 110ms + 200ms) backwards word-in;
  }

  .level-tag,
  .tag {
    animation: 300ms steps(4, end) backwards tag-in;
  }

  @keyframes tag-in {
    from {
      translate: -1.5rem 0;
    }
  }

  @keyframes word-in {
    from {
      translate: 0 -0.6em;
      clip-path: inset(0 0 100% 0);
    }
  }

  .eyebrow::before {
    animation: 800ms steps(1, end) 6 blink;
  }

  @keyframes blink {
    50% {
      visibility: hidden;
    }
  }

  /* Home screen : the tube switches on, a bright band sweeps it once, the layers answer the pointer */

  .hero-burger {
    animation: 700ms steps(8, end) 100ms backwards screen-on;
  }

  .hero-burger::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 25%;
    background: rgb(255 255 255 / 0.1);
    pointer-events: none;
    visibility: hidden;
    animation: 1.6s linear 1.4s sweep;
  }

  @keyframes screen-on {
    from {
      transform: scale(0.05, 0.004);
      filter: brightness(8);
    }
    35% {
      transform: scale(1, 0.004);
      filter: brightness(8);
    }
    to {
      transform: none;
      filter: none;
    }
  }

  @keyframes sweep {
    from {
      translate: 0 -100%;
      visibility: visible;
    }
    to {
      translate: 0 500%;
      visibility: visible;
    }
  }

  .hero-logo [data-part='top'] {
    transform: translate(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -8px));
  }

  .hero-logo [data-part='lettering'] {
    transform: translate(calc(var(--mx, 0) * 5px), calc(var(--my, 0) * 3px));
  }

  .hero-logo [data-part='middle'] {
    transform: translate(calc(var(--mx, 0) * -4px), calc(var(--my, 0) * -2px));
  }

  .hero-logo [data-part='bottom'] {
    transform: translate(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 8px));
  }

  /* Burger page : the screen is scanned once, the sticker is stamped, the facts slide in */

  .burger-screen::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: 18%;
    background: rgb(255 255 255 / 0.18);
    pointer-events: none;
    visibility: hidden;
    animation: 1.2s linear 0.4s sweep;
  }

  .burger-badge {
    animation: 1.3s steps(6, end) 0.6s backwards stamp-pulse;
  }

  @keyframes stamp-pulse {
    0%,
    20%,
    40%,
    60% {
      scale: 3;
      rotate: -35deg;
      animation-timing-function: steps(2, end);
    }
    10%,
    30%,
    50% {
      scale: 3.5;
      rotate: -35deg;
      animation-timing-function: steps(2, end);
    }
    60% {
      animation-timing-function: steps(6, end);
    }
    to {
      scale: 1;
      rotate: 0deg;
    }
  }

  @keyframes stamp {
    from {
      scale: 3;
      rotate: -35deg;
    }
  }

  .u-experimental h1,
  .cartridge-bonus .cartridge-name {
    animation: 5s steps(1, end) 1s infinite glitch;
  }

  .u-experimental h1:hover,
  .cartridge-bonus > a:hover .cartridge-name {
    animation-duration: 0.5s;
    animation-delay: 0s;
  }

  @keyframes glitch {
    0%,
    88%,
    100% {
      text-shadow: none;
      translate: 0 0;
    }
    90%,
    94%,
    98% {
      text-shadow:
        0.125rem 0 #00e5ff,
        -0.125rem 0 #ff3da6;
      translate: 0.25rem 0;
    }
    92%,
    96% {
      text-shadow:
        -0.125rem 0 #00e5ff,
        0.125rem 0 #ff3da6;
      translate: -0.25rem 0;
    }
  }

  /* Pointer : buttons blink and shift, the cartridge lights up, the coin drops */

  .action:hover,
  .action:focus-visible {
    translate: 0 -0.25rem;
    animation: 240ms steps(1, end) 2 flash;
  }

  .action:hover::after,
  .action:focus-visible::after {
    scale: 1;
    animation: 200ms steps(3, end) backwards arrow-in;
  }

  @keyframes flash {
    50% {
      background-color: var(--paper);
      color: var(--ink);
    }
  }

  @keyframes arrow-in {
    from {
      translate: -1rem 0;
      scale: 0;
    }
  }

  .actions-blocks .action {
    overflow: clip;
  }

  .actions-blocks .action::before {
    content: '';
    position: absolute;
    top: var(--space-2);
    right: var(--space-3);
    width: 2.25rem;
    height: 2.25rem;
    background: var(--yellow);
    clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
    translate: 0 -5rem;
  }

  .actions-blocks .action-delivery::before {
    background: var(--ink);
  }

  .actions-blocks .action:hover::before,
  .actions-blocks .action:focus-visible::before {
    translate: 0 0;
    animation: 600ms steps(8, end) backwards coin-drop;
  }

  @keyframes coin-drop {
    from {
      translate: 0 -5rem;
    }
  }

  .action-go {
    transition: translate 120ms steps(2, end);
  }

  .action:hover .action-go,
  .action:focus-visible .action-go {
    translate: 0.25rem 0;
  }

  .cartridge > a:hover .cartridge-frame,
  .cartridge > a:focus-visible .cartridge-frame {
    animation: 300ms steps(1, end) 3 blink-frame;
  }

  .cartridge > a:hover .cartridge-scene,
  .cartridge > a:focus-visible .cartridge-scene {
    animation: 320ms steps(2, end) glitch-image;
    scale: 1.08;
  }

  .cartridge > a:hover .cartridge-sticker,
  .cartridge > a:focus-visible .cartridge-sticker {
    animation: 400ms steps(4, end) wiggle;
  }

  @keyframes blink-frame {
    50% {
      border-color: var(--paper);
    }
  }

  @keyframes glitch-image {
    0% {
      translate: -0.5rem 0;
      clip-path: inset(10% 0 55% 0);
    }
    50% {
      translate: 0.5rem 0;
      clip-path: inset(50% 0 10% 0);
    }
  }

  @keyframes wiggle {
    25% {
      rotate: -8deg;
    }
    75% {
      rotate: 20deg;
    }
  }

  .cartridge-scene {
    transition: scale 400ms steps(4, end);
  }

  .level-chips a:hover,
  .level-chips a:focus-visible,
  .slot a:hover,
  .slot a:focus-visible {
    translate: 0 -0.25rem;
  }

  .slot a:hover img,
  .slot a:focus-visible img {
    animation: 400ms steps(4, end) wiggle;
  }

  .site-nav a:hover::before,
  .site-nav a:focus-visible::before {
    animation: 300ms steps(2, end) 3 nudge;
  }

  @keyframes nudge {
    50% {
      translate: 0.25rem 0;
    }
  }

  .level-steps a:hover,
  .level-steps a:focus-visible {
    animation: 240ms steps(1, end) 2 flash-night;
  }

  @keyframes flash-night {
    50% {
      background-color: var(--u-accent);
      color: var(--ink);
    }
  }

  .menu-lines li:hover {
    translate: 0.5rem 0;
    animation: 240ms steps(1, end) 2 flash-row;
  }

  @keyframes flash-row {
    50% {
      background-color: var(--yellow);
      color: var(--ink);
    }
  }

  .tab-bar a:active,
  .tab-bar button:active {
    translate: 0 0.125rem;
  }

  .order-menu:popover-open {
    transform-origin: bottom center;
    animation: 240ms steps(4, end) pop;
  }

  @keyframes pop {
    from {
      transform: scaleY(0.1);
    }
  }

  @media (min-width: 64rem) {
    .scores {
      --score-from: -8rem;
    }

    .order-menu:popover-open {
      transform-origin: top right;
    }

    .hero-burger::after {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        to bottom,
        transparent 0 0.1875rem,
        rgb(0 0 0 / 0.08) 0.1875rem 0.375rem
      );
      pointer-events: none;
    }
  }

  /* Scroll : everything below moves with the wheel, in pixel steps, from far enough to be seen */

  @supports (animation-timeline: view()) {
    .hero-logo [data-part] {
      animation: linear both logo-apart;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }

    .hero-logo [data-part='top'] {
      --apart: -40px;
    }

    .hero-logo [data-part='bottom'] {
      --apart: 40px;
    }

    .hero-logo [data-part='middle'],
    .hero-logo [data-part='lettering'] {
      --apart: 0px;
    }

    @keyframes logo-apart {
      to {
        translate: 0 var(--apart);
      }
    }

    .cartridge {
      animation: steps(8, end) both cartridge-in;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }

    .cartridge:nth-child(odd) {
      --from: -4rem;
      --tilt: -4deg;
    }

    .cartridge:nth-child(even) {
      --from: 4rem;
      --tilt: 4deg;
    }

    @keyframes cartridge-in {
      from {
        transform: translate(var(--from), 7rem) rotate(var(--tilt)) scale(0.9);
        clip-path: inset(100% 0 0 0);
      }
    }

    .cartridge-bonus > a::after {
      content: 'Niveau secret ? ? ?';
      content: 'Niveau secret ? ? ?' / '';
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      background: var(--night);
      color: var(--u-accent);
      font-family: var(--font-game);
      font-size: clamp(1.25rem, 4vw, 2rem);
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      pointer-events: none;
      animation: steps(8, end) both veil;
      animation-timeline: view();
      animation-range: entry 90% cover 45%;
    }

    @keyframes veil {
      from {
        clip-path: inset(0);
      }

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

    .cartridge-sticker {
      animation: steps(6, end) both stamp;
      animation-timeline: view();
      animation-range: entry 90% cover 45%;
    }

    .scores tbody tr {
      animation: steps(10, end) both score-in;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }

    .scores tbody tr:nth-child(2) {
      animation-range: entry 20% entry 120%;
    }

    @keyframes score-in {
      from {
        translate: var(--score-from, -2rem) 0;
        filter: brightness(2.5);
      }
    }

    .burger .story,
    .fact,
    .notice-intro {
      animation: steps(8, end) both slide-in;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }

    @keyframes slide-in {
      from {
        translate: -4rem 0;
        rotate: -1deg;
      }
    }

    .composition li {
      animation: steps(6, end) both tile-in;
      animation-timeline: view();
      animation-range: entry 0% entry 90%;
    }

    @keyframes tile-in {
      from {
        translate: -3rem 0;
        clip-path: inset(0 100% 0 0);
      }
    }

    .menu-photos li,
    .menu-lines li,
    .kids-lines li,
    .slot,
    .drink,
    .stage,
    .info-block,
    .info-rule,
    .proofs li {
      animation: steps(6, end) both pop-up;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }

    @keyframes pop-up {
      from {
        translate: 0 3rem;
        scale: 0.85;
      }
    }

    .stat-blocks i.on {
      animation: steps(1, end) both block-on;
      animation-timeline: view();
      animation-range: entry 30% entry 70%;
    }

    .stat-blocks i.on:nth-child(2) {
      animation-range: entry 40% entry 80%;
    }

    .stat-blocks i.on:nth-child(3) {
      animation-range: entry 50% entry 90%;
    }

    .stat-blocks i.on:nth-child(4) {
      animation-range: entry 60% entry 100%;
    }

    @keyframes block-on {
      from {
        background-color: transparent;
      }
    }
  }
}
