/* =========================================================
   LMDB Solution — site vitrine
   ========================================================= */

:root {
  --ink: #0C0A09;
  --ink-2: #141110;
  --ink-3: #1C1815;
  --paper: #ECEAE3;
  --muted: #988F85;
  --line: rgba(236, 234, 227, 0.09);
  --line-2: rgba(236, 234, 227, 0.18);
  --accent: #F27417;
  --accent-soft: rgba(242, 116, 23, 0.16);
  --fox-ink: #3A322C;

  --f-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 14px;
}

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

html {
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}
.js body.is-loading { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; }

.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow { color: var(--muted); display: inline-block; }

.section { padding: clamp(96px, 14vw, 180px) var(--gutter); position: relative; }

.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.h2.big { font-size: clamp(2.6rem, 7vw, 6.5rem); max-width: none; }

.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
kbd { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .04em; padding: 3px 6px; border-radius: 5px; border: 1px solid var(--line-2); background: rgba(236, 234, 227, 0.04); color: var(--paper); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

/* ---------- split text helpers ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.wi { display: inline-block; will-change: transform; }
.c { display: inline-block; will-change: transform; }
.hero-title .c, .footer-big .c { font-variation-settings: 'wght' var(--w, 600); }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 90;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: none; place-items: center;
}
.js .loader { display: grid; }
.motion-off .loader { display: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader-lockup { position: relative; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.loader-lockup::before { content: ''; position: absolute; left: -12%; top: 50%; width: 60%; aspect-ratio: 1; translate: 0 -50%; background: radial-gradient(circle, rgba(242, 116, 23, 0.22), transparent 62%); pointer-events: none; }
.loader-fox { display: block; height: clamp(84px, 13vw, 140px); aspect-ratio: 100 / 102; }
.loader-word { height: clamp(48px, 7.4vw, 80px); width: auto; will-change: transform, clip-path; }
.loader-foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px;
  display: flex; justify-content: space-between; align-items: flex-end; color: var(--muted);
}
.loader-count { font-size: clamp(48px, 9vw, 120px); line-height: .8; color: var(--paper); font-family: var(--f-display); font-weight: 300; letter-spacing: -0.04em; }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.loader-bar span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  border-radius: 50%;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(236, 234, 227, 0.4);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, border-color .3s;
}
.cursor-label { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); background: var(--accent-soft); }
.cursor.is-label .cursor-ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--paper); border-color: var(--paper); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor.is-hidden .cursor-ring, .cursor.is-hidden .cursor-dot { opacity: 0; }
.cursor-ring::before, .cursor-ring::after { content: ''; position: absolute; background: rgba(236, 234, 227, 0.35); opacity: 0; transition: opacity .3s; pointer-events: none; }
.cursor-ring::before { left: 50%; top: -70px; bottom: -70px; width: 1px; }
.cursor-ring::after { top: 50%; left: -70px; right: -70px; height: 1px; }
.cursor.is-cad .cursor-ring { width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 2px; border-color: var(--accent); background: transparent; }
.cursor.is-cad .cursor-ring::before, .cursor.is-cad .cursor-ring::after { opacity: 1; }
.cursor.is-cad .cursor-dot { opacity: 0; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 100px;
  font-weight: 500; font-size: 15px;
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent::before { background: var(--paper); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--paper); }
.btn-ghost::before { background: var(--paper); }
.btn-ghost:hover { color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light::before { background: var(--accent); }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-wide { width: 100%; justify-content: center; height: 60px; font-size: 16px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(12, 10, 9, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { display: block; height: 68px; aspect-ratio: 100 / 102; will-change: transform; filter: drop-shadow(0 0 calc(var(--glow, 0) * 16px) rgba(242, 116, 23, calc(var(--glow, 0) * 0.6))); }
.logo-mark img { width: 100%; height: 100%; }
@media (max-width: 640px) { .logo-mark { height: 50px; } .logo-text { font-size: 21px; } }
.fox { display: block; width: 100%; height: 100%; overflow: visible; }
.fox polygon { stroke: var(--accent); stroke-width: 0; stroke-linejoin: miter; }
.fox .o { fill: var(--accent); }
.fox .k { fill: var(--fox-ink); }
.fox-tear { fill: #3DB8FF; opacity: 0; pointer-events: none; }
.fox-paw { pointer-events: none; }
.fox .fox-paw .pw { fill: var(--accent); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.fox-paw .pw-toe { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; }
.fox .fox-paw .pw-pad { fill: var(--fox-ink); stroke: none; }
.fox-tongue { pointer-events: none; }
.fox-tongue .t-body { fill: #FF7BA3; }
.fox-tongue .t-line { fill: none; stroke: #D64878; stroke-width: .8; stroke-linecap: round; }
.fox-heart { fill: #FF6FA3; opacity: 0; pointer-events: none; }
.fox-z { fill: var(--accent); font-family: var(--f-mono); font-weight: 500; opacity: 0; pointer-events: none; }
.logo-text { font-family: var(--f-display); font-weight: 800; font-size: 26px; line-height: .95; letter-spacing: -0.01em; display: flex; flex-direction: column; }
.logo-text span { font-family: var(--f-body); font-weight: 600; font-size: 10px; letter-spacing: .44em; text-transform: uppercase; color: var(--muted); margin-top: 3px; transition: color .4s; }
.logo:hover .logo-text span { color: var(--accent); }

.nav-current {
  margin-right: auto;
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 11px;
  padding-left: 18px; border-left: 1px solid var(--line-2);
  white-space: nowrap;
}
.nav-current i { font-style: normal; color: var(--accent); }
.nav-current b { font-weight: 500; color: var(--paper); display: inline-block; max-width: 24ch; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }

.nav-links { display: flex; gap: 30px; font-size: 14px; }
.nav-links a { color: rgba(236, 234, 227, 0.72); transition: color .3s; }
.nav-links a { transition: color .3s, padding .5s var(--ease); background: radial-gradient(circle, var(--accent) 2.5px, transparent 3px) 0 50% / 6px 6px no-repeat; background-size: 0 0; }
.nav-links a.is-active { color: var(--paper); padding-left: 12px; background-size: 6px 6px; }

.nav-cmd {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px 0 8px;
  border-radius: 100px; border: 1px solid var(--line-2);
  color: var(--muted); font-size: 11px;
  transition: border-color .3s, color .3s, background-color .3s;
}
.nav-cmd:hover { border-color: var(--paper); color: var(--paper); background: rgba(236, 234, 227, 0.04); }
.nav-cmd kbd { border-radius: 100px; padding: 4px 8px; }
.nav-links a { display: block; overflow: hidden; height: 1.4em; line-height: 1.4em; }
.nav-links a span { display: block; position: relative; transition: transform .5s var(--ease); }
.nav-links a span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--accent); }
.nav-links a:hover span { transform: translateY(-100%); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--paper); transition: transform .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink-2);
  padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
  overflow-y: auto;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.menu-links { display: flex; flex-direction: column; gap: 6px; }
.menu-links a {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 11vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.05;
  display: flex; align-items: flex-start; gap: 14px;
  transform: translateY(40px); opacity: 0;
  transition: transform .8s var(--ease), opacity .8s var(--ease), color .3s;
}
.menu-links a small { color: var(--accent); margin-top: 0.6em; }
.menu-open .menu-links a { transform: none; opacity: 1; }
.menu-open .menu-links a:nth-child(1) { transition-delay: .15s; }
.menu-open .menu-links a:nth-child(2) { transition-delay: .2s; }
.menu-open .menu-links a:nth-child(3) { transition-delay: .25s; }
.menu-open .menu-links a:nth-child(4) { transition-delay: .3s; }
.menu-open .menu-links a:nth-child(5) { transition-delay: .35s; }
.menu-open .menu-links a:nth-child(6) { transition-delay: .4s; }
.menu-open .menu-links a:nth-child(7) { transition-delay: .45s; }
.menu-open .menu-links a:nth-child(8) { transition-delay: .5s; }
.menu-links a:hover { color: var(--accent); }
.menu-sectors { display: flex; flex-direction: column; gap: 4px; }
.menu-sectors p { color: var(--muted); margin-bottom: 12px; }
.menu-sectors a {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1rem, 2.2vw, 1.6rem); letter-spacing: -0.02em;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  transform: translateX(30px); opacity: 0;
  transition: transform .8s var(--ease), opacity .8s var(--ease), color .3s, padding .4s var(--ease);
}
.menu-sectors a i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.menu-sectors a:hover { color: var(--c); padding-left: 8px; }
.menu-open .menu-sectors a { transform: none; opacity: 1; }
.menu-open .menu-sectors a:nth-of-type(1) { transition-delay: .25s; }
.menu-open .menu-sectors a:nth-of-type(2) { transition-delay: .29s; }
.menu-open .menu-sectors a:nth-of-type(3) { transition-delay: .33s; }
.menu-open .menu-sectors a:nth-of-type(4) { transition-delay: .37s; }
.menu-open .menu-sectors a:nth-of-type(5) { transition-delay: .41s; }
.menu-open .menu-sectors a:nth-of-type(6) { transition-delay: .45s; }
.menu-open .menu-sectors a:nth-of-type(7) { transition-delay: .49s; }
.menu-open .menu-sectors a:nth-of-type(8) { transition-delay: .53s; }
.menu-foot { color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.menu-foot button { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; font-family: var(--f-mono); font-size: 12px; color: var(--paper); }
@media (max-width: 760px) {
  .menu { overflow-y: auto; padding-top: 96px; justify-content: flex-start; gap: 40px; }
  .menu-cols { grid-template-columns: 1fr; gap: 32px; }
}

.btn, .nav-cmd { white-space: nowrap; }
@media (max-width: 1340px) { .nav-cmd span { display: none; } .nav-cmd { padding: 0 8px; } .nav-current b { max-width: 16ch; } }
@media (max-width: 1180px) { .nav-links { gap: 20px; } .nav { gap: 22px; } }
/* seven links do not always fit: the ones the menu and the rail also give leave first */
@media (max-width: 1560px) { .nav-links .nav-opt { display: none; } }
@media (max-width: 1260px) { .nav-links .nav-opt-2 { display: none; } }
@media (max-width: 960px) {
  .nav-links, .nav-cta, .nav-cmd { display: none; }
  .burger { display: block; }
}
@media (max-width: 400px) { .nav-current { display: none; } .logo { margin-right: auto; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 36px;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 70% at 20% 100%, rgba(12, 10, 9, 0.95) 10%, transparent 60%),
    linear-gradient(to bottom, rgba(12, 10, 9, 0.6), transparent 25%);
}
.hero-top {
  position: absolute; top: 112px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; color: var(--muted); pointer-events: none;
}
.hero-terrain { white-space: nowrap; }
.hero-terrain b { color: var(--accent); font-weight: 500; }
.hero-terrain span { color: var(--paper); }

.hero-title {
  position: relative;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(3.1rem, 10.8vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  pointer-events: none;
}
.hero-title .hl { display: block; }
.hero-title em { font-style: normal; color: var(--accent); }

.hero-bottom {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(240px, 300px);
  gap: 32px; align-items: end;
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-intro { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero-lead {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem); line-height: 1.2; letter-spacing: -0.015em;
  color: rgba(236, 234, 227, 0.55); max-width: 30ch;
}
.hero-lead span { display: block; color: var(--paper); }
/* « Pensé pour » + the word that follows the terrain on screen */
.hero-for { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.hero-for-k { color: var(--muted); padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 100px; font-size: 10.5px; }
.rotator {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem); line-height: 1.2; letter-spacing: -0.015em;
  color: var(--rc, var(--paper)); transition: color .4s; white-space: nowrap;
}
.rotator::after { content: ''; display: inline-block; width: 2px; height: .9em; margin-left: 4px; vertical-align: -0.08em; background: currentColor; animation: caret 1s steps(2) infinite; }
/* phones: label above the word, always — the block keeps one height whatever the word */
@media (max-width: 640px) { .hero-for { flex-direction: column; align-items: flex-start; } }
@keyframes caret { 50% { opacity: 0; } }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* the programme index: the one whose terrain is on screen lights up, a line counts down to the next */
.hero-progs { --hp-t: 4.2s; justify-self: end; width: 100%; display: flex; flex-direction: column; }
.hp-title { color: var(--muted); margin-bottom: 6px; }
.hp {
  position: relative;
  display: grid; grid-template-columns: 8px auto 1fr; align-items: center; gap: 10px;
  padding: 7px 0; border-bottom: 1px solid var(--line);
  color: rgba(236, 234, 227, 0.5);
  transition: color .4s, padding .5s var(--ease);
}
.hp i { width: 7px; height: 7px; border-radius: 2px; background: var(--c); opacity: .45; transition: opacity .4s, box-shadow .4s; }
.hp b { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; }
.hp span { justify-self: end; font-size: 10px; color: var(--muted); white-space: nowrap; }
.hp::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; }
.hp:hover, .hp.is-on { color: var(--paper); padding-left: 6px; }
.hp.is-on i { opacity: 1; box-shadow: 0 0 10px var(--c); }
.hp.is-on span { color: var(--c); }
.hp.is-on::after { animation: hp-fill var(--hp-t) linear forwards; }
.hero-progs.is-pinned .hp.is-on::after { animation: none; transform: scaleX(1); }
@keyframes hp-fill { to { transform: scaleX(1); } }
/* five programmes: on short screens the rows tighten so the hero keeps its height */
@media (max-height: 860px) and (min-width: 641px) { .hp { padding: 4px 0; } .hp-title { margin-bottom: 2px; } }

@media (max-width: 1320px) {
  .hero-bottom { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); }
  .hero-progs { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}
@media (max-width: 900px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 22px; }
  .hero-progs { grid-column: auto; grid-row: auto; }
}
/* on phones the products section follows right away: keep the headline room */
@media (max-width: 640px) { .hero-progs { display: none; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 26px 0;
  background: var(--ink-2);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; flex-shrink: 0; }
.marquee span {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: -0.035em; white-space: nowrap; line-height: 1;
}
.marquee .outline { color: rgba(236, 234, 227, 0.28); }
.marquee i { font-style: normal; color: var(--accent); font-size: clamp(1.2rem, 2.5vw, 2rem); }
.marquee-track--small { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.marquee-track--small .marquee-group { gap: 22px; padding-right: 22px; }
.marquee .marquee-track--small span {
  font-family: var(--f-mono); font-weight: 400; text-transform: uppercase;
  font-size: clamp(.8rem, 1.4vw, 1.05rem); letter-spacing: .08em; color: var(--c);
}
.marquee .marquee-track--small i { color: var(--line-2); font-size: 1rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.split-head { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 24px; align-items: start; }
.split-head .eyebrow { padding-top: 0.9em; }
@media (max-width: 760px) { .split-head { grid-template-columns: 1fr; } .split-head .eyebrow { padding-top: 0; } }

.manifesto {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 24ch;
}
.manifesto .mw { display: inline; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 12px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b {
  font-family: var(--f-display); font-weight: 300; font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: .85; letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
}
.stat:nth-child(1) b { color: var(--accent); }
.stat span { color: var(--muted); font-size: 14px; max-width: 22ch; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.pillar { padding: 28px 28px 0 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar-num { color: var(--accent); }
.pillar h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; margin: 18px 0 10px; }
.pillar p { color: var(--muted); max-width: 32ch; }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* =========================================================
   SERVICES
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; perspective: 1200px; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .4s;
}
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 116, 23, 0.18), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), #000, transparent 70%);
  -webkit-mask-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), #000, transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { border-color: var(--line-2); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--muted); margin-bottom: auto; }
.card-icon { width: 52px; height: 52px; stroke: var(--paper); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.card-icon * { stroke-dasharray: 200; stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease), stroke .4s; }
.card:hover .card-icon * { animation: redraw 1.2s var(--ease); stroke: var(--accent); }
@keyframes redraw { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
.card h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.55rem; line-height: 1.1; letter-spacing: -0.02em; margin: 60px 0 12px; transform: translateZ(30px); }
.card p { color: var(--muted); font-size: 15px; transform: translateZ(20px); }

/* =========================================================
   ARIA
   ========================================================= */
.aria { position: relative; }
.aria-intro { padding-bottom: clamp(40px, 6vw, 80px); }
.aria-giant {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(7rem, 31vw, 30rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  display: flex; justify-content: space-between;
  margin: 24px 0 clamp(32px, 5vw, 64px);
  overflow: hidden;
  padding-bottom: 0.04em;
}
.aria-giant span {
  display: inline-block;
  background: linear-gradient(180deg, var(--paper) 30%, rgba(236, 234, 227, 0.15) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.aria-giant span:last-child { background: linear-gradient(180deg, var(--accent) 30%, rgba(242, 116, 23, 0.15) 100%); -webkit-background-clip: text; background-clip: text; }

.aria-intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.aria-lead { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; }
.aria-sub { color: var(--muted); max-width: 46ch; }
@media (max-width: 860px) { .aria-intro-grid { grid-template-columns: 1fr; } }

.aria-pin { height: 100vh; height: 100svh; position: relative; }
.aria-stage {
  height: 100%;
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: 80px var(--gutter) 32px;
}

/* modules list */
.modules-title { color: var(--muted); margin-bottom: 18px; }
.modules-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.modules-list li {
  position: relative;
  border-radius: 10px;
  color: rgba(236, 234, 227, 0.32);
  transition: color .5s var(--ease), background-color .5s var(--ease);
}
.modules-list button {
  width: 100%; text-align: left; color: inherit;
  display: grid; grid-template-columns: 34px 1fr; column-gap: 8px;
  padding: 11px 14px;
  border-radius: inherit;
}
.modules-list li:hover { color: rgba(236, 234, 227, 0.85); }
.modules-list li::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px;
  background: var(--c); transform: scaleY(0); transition: transform .5s var(--ease);
}
.modules-list li .mono { grid-row: span 2; padding-top: 4px; }
.modules-list li b { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
.modules-list li small { font-size: 13px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .5s; }
.modules-list li.is-done { color: rgba(236, 234, 227, 0.62); }
.modules-list li.is-active { color: var(--paper); background: rgba(236, 234, 227, 0.04); }
.modules-list li.is-active .mono { color: var(--c); }
.modules-list li.is-active::before { transform: scaleY(1); }
.modules-list li.is-active small { max-height: 2em; opacity: 1; color: var(--muted); }
.modules-more { margin-top: 18px; padding-left: 14px; color: var(--accent); }
.scene-progress { margin: 18px 14px 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.scene-progress span { display: block; height: 100%; background: var(--sc, var(--accent)); transform-origin: 0 50%; transform: scaleX(0); transition: background-color .5s; }

/* app window */
.app {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--ink-2);
  overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  display: flex; flex-direction: column;
  max-height: calc(100svh - 120px);
}
.app-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-3);
}
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(236, 234, 227, 0.14); }
.app-file { color: var(--muted); font-size: 11px; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.app-live { display: flex; align-items: center; gap: 6px; color: var(--paper); font-size: 11px; white-space: nowrap; }
.app-live i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

.app-body { display: grid; grid-template-columns: 46px minmax(0, 1fr) 150px; min-height: 0; flex: 1; }
.app-tools { border-right: 1px solid var(--line); padding: 10px 7px; display: flex; flex-direction: column; gap: 6px; }
.app-tools span { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; }
.app-tools span.is-on { background: rgba(236, 234, 227, 0.08); }
.app-tools svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linejoin: round; }
.app-tools span.is-on svg { stroke: var(--paper); }

.app-canvas {
  position: relative;
  padding: clamp(12px, 2vw, 26px);
  background-color: #0F0D0B;
  overflow: hidden;
  display: grid; place-items: center;
}
.app-grid {
  position: absolute; inset: -240px; pointer-events: none;
  background-image:
    linear-gradient(rgba(236, 234, 227, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 234, 227, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(236, 234, 227, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 234, 227, 0.035) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  will-change: transform;
}
.app-canvas::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(75% 75% at 50% 50%, transparent 55%, rgba(12, 10, 9, 0.65));
}
.scene-title {
  position: absolute; left: 16px; top: 12px; z-index: 3;
  display: flex; flex-direction: column; gap: 2px;
  pointer-events: none;
}
.scene-title .mono { color: var(--muted); font-size: 10px; }
.scene-title b { font-family: var(--f-display); font-weight: 600; font-size: clamp(14px, 1.4vw, 20px); letter-spacing: -0.02em; color: var(--sc, var(--paper)); transition: color .5s; }
.plan { position: relative; z-index: 1; width: 100%; height: auto; max-height: calc(100svh - 260px); overflow: visible; }
.plan .layer { stroke: var(--c); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: opacity .6s var(--ease), filter .6s; }
.plan .layer text { fill: var(--c); stroke: none; font-family: var(--f-mono); font-size: 10px; letter-spacing: .04em; text-anchor: middle; opacity: .8; }
.plan .layer text.start { text-anchor: start; }
.plan .layer text.sub { font-size: 8.5px; opacity: .6; }
.plan .layer text.tag { font-size: 8.5px; font-weight: 500; }
.plan .dash { stroke-dasharray: 6 5; }
.plan .hatch { stroke-width: .8; opacity: .55; }
.plan .axis { stroke-width: 1; stroke-dasharray: 18 4 2 4; }
.plan .bus { stroke-width: 4; stroke-linecap: butt; }
.plan .w-outer { stroke-width: 6; stroke-linejoin: miter; }
.plan .w-inner { stroke-width: 3.5; stroke-linecap: butt; }
.plan .thin { stroke-width: 1; opacity: .7; }
.plan .duct { stroke-width: 14; stroke-opacity: .18; stroke-linecap: butt; }
.plan .layer.is-active { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 55%, transparent)); }
.plan .layer.is-past { opacity: .4; }
.plan .scene.is-all .layer { opacity: 1; filter: none; }
.motion-off .plan .scene:not([data-scene="0"]) { display: none; }

.collab-cursor {
  position: absolute; z-index: 2;
  display: flex; align-items: flex-start; gap: 2px;
  pointer-events: none;
  opacity: 0; transition: opacity .5s;
}
.collab-cursor.is-on { opacity: 1; }
.collab-cursor svg { width: 16px; height: 16px; fill: var(--c); stroke: var(--ink); stroke-width: 1; }
.collab-cursor span {
  margin-top: 12px;
  font-family: var(--f-mono); font-size: 10px; font-weight: 500;
  background: var(--c); color: var(--ink);
  padding: 3px 7px; border-radius: 4px; white-space: nowrap;
}

.app-layers { border-left: 1px solid var(--line); padding: 14px 12px; }
.app-layers p { color: var(--muted); font-size: 10px; margin-bottom: 10px; }
.app-layers ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.app-layers li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; padding: 6px 8px; border-radius: 6px;
  color: rgba(236, 234, 227, 0.3);
  transition: color .4s, background-color .4s;
}
.app-layers li i { width: 8px; height: 8px; border-radius: 2px; border: 1px solid var(--c); transition: background-color .4s; }
.app-layers li.is-done { color: rgba(236, 234, 227, 0.7); }
.app-layers li.is-done i { background: var(--c); }
.app-layers li.is-active { color: var(--paper); background: rgba(236, 234, 227, 0.06); }
.app-layers li.is-active i { background: var(--c); box-shadow: 0 0 8px var(--c); }
.app-layers li i { flex-shrink: 0; }
.app-layers li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.app-status {
  display: flex; gap: 22px; align-items: center;
  padding: 9px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 10.5px;
}
.app-status b { color: var(--paper); font-weight: 500; }
.app-status span { white-space: nowrap; }
.app-sync { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.app-sync i { width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; }

@media (max-width: 1100px) {
  .aria-stage { grid-template-columns: 230px minmax(0, 1fr); }
  .app-body { grid-template-columns: 42px minmax(0, 1fr); }
  .app-layers { display: none; }
}
@media (max-width: 860px) {
  .aria-stage { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 18px; padding-top: 84px; }
  .modules { order: 2; }
  .modules-title, .modules-more { display: none; }
  .modules-list { display: grid; }
  .modules-list li { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease), visibility .4s; background: transparent !important; }
  .modules-list li.is-active { opacity: 1; visibility: visible; transform: none; }
  .modules-list li small { max-height: none; }
  .scene-progress { margin: 6px 14px 0; }
  .scene-title { left: 10px; top: 8px; }
  .collab-cursor span { font-size: 8.5px; padding: 2px 5px; margin-top: 10px; }
  .collab-cursor svg { width: 12px; height: 12px; }
  .app-tools { display: none; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .plan { max-height: 52svh; }
  .app-status { gap: 14px; }
  .app-sync { display: none; }
}

/* =========================================================
   COLLAB
   ========================================================= */
.collab { overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.collab-text .h2 { margin: 24px 0 28px; }
.collab-text p { color: var(--muted); max-width: 46ch; font-size: 17px; }
.collab-list { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.collab-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.collab-list .mono { color: var(--accent); font-size: 14px; }
@media (max-width: 960px) { .collab { grid-template-columns: 1fr; } }

.orbit { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; margin: 0 auto; }
.orbit-rotor { position: absolute; inset: 0; }
.orbit-svg { width: 100%; height: 100%; overflow: visible; }
.orbit-svg .ring { stroke: var(--line-2); stroke-width: 1; }
.orbit-svg .ring.dashed { stroke-dasharray: 4 8; }
.orbit-svg .o-line { stroke: var(--line-2); stroke-width: 1; }
.orbit-svg .o-packet { fill: var(--c, var(--accent)); }
.orbit-nodes { position: absolute; inset: 0; }
.o-node {
  position: absolute;
  translate: -50% -50%;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 100px;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  font-size: 13px; white-space: nowrap;
}
.o-node i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.orbit-core {
  position: absolute; left: 50%; top: 50%;
  width: 23%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #FFA44F, var(--accent) 50%, #A84A07);
  box-shadow: 0 0 80px rgba(242, 116, 23, 0.5), inset 0 0 30px rgba(0, 0, 0, 0.25);
}
.orbit-core span { font-family: var(--f-display); font-weight: 800; font-size: clamp(16px, 2.4vw, 28px); letter-spacing: -0.03em; color: var(--ink); }
.orbit-core::before, .orbit-core::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--accent);
  animation: ripple 3s var(--ease) infinite;
}
.orbit-core::after { animation-delay: 1.5s; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }
@media (max-width: 560px) {
  .orbit { width: 78%; }
  .o-node { font-size: 11px; padding: 6px 10px 6px 8px; }
}

/* =========================================================
   MISE · ON MANGE QUOI ?
   Our other programmes: a giant name, a stage pinned on scroll, their screens
   ========================================================= */
.prog { position: relative; --pc: var(--accent); }
.prog-intro { padding-bottom: clamp(40px, 6vw, 80px); }
.prog-giant {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(7rem, 31vw, 30rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  display: flex; justify-content: space-between;
  margin: 24px 0 clamp(32px, 5vw, 64px);
  overflow: hidden;
  padding-bottom: 0.04em;
}
.prog-giant span {
  display: inline-block;
  background: linear-gradient(180deg, var(--paper) 30%, rgba(236, 234, 227, 0.15) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prog-giant span:last-child { background-image: linear-gradient(180deg, var(--pc) 30%, color-mix(in srgb, var(--pc) 15%, transparent) 100%); }
/* « On mange quoi ? » : four words on one line */
.prog-giant--words { font-size: clamp(3.4rem, 12.2vw, 13rem); line-height: 0.86; letter-spacing: -0.05em; padding-bottom: 0.08em; column-gap: .12em; }
.prog-giant--words span:last-child { transform-origin: 50% 90%; }

.prog-intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.prog-lead { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; }
.prog-sub > p { color: var(--muted); max-width: 48ch; }
.prog-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.prog-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 100px; border: 1px solid var(--line-2); font-size: 11px; }
.prog-chips li::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--pc); }
.prog-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-prog { background: var(--pc); color: var(--ink); }
.btn-prog::before { background: var(--paper); }
@media (max-width: 860px) { .prog-intro-grid { grid-template-columns: 1fr; } }

/* ---------- the pinned stage ---------- */
.pd { height: 100vh; height: 100svh; position: relative; }
.pd-stage {
  height: 100%;
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: 80px var(--gutter) 32px;
}
.pd-side-title { color: var(--muted); margin-bottom: 18px; }
.pd-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.pd-list li {
  position: relative; border-radius: 10px;
  color: rgba(236, 234, 227, 0.32);
  transition: color .5s var(--ease), background-color .5s var(--ease);
}
.pd-list button {
  width: 100%; text-align: left; color: inherit;
  display: grid; grid-template-columns: 34px 1fr; column-gap: 8px;
  padding: 11px 14px; border-radius: inherit;
}
.pd-list li:hover { color: rgba(236, 234, 227, 0.85); }
.pd-list li::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px;
  background: var(--pc); transform: scaleY(0); transition: transform .5s var(--ease);
}
.pd-list li .mono { grid-row: span 2; padding-top: 4px; }
.pd-list li b { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
.pd-list li small { font-size: 13px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .5s; }
.pd-list li.is-done { color: rgba(236, 234, 227, 0.62); }
.pd-list li.is-active { color: var(--paper); background: rgba(236, 234, 227, 0.04); }
.pd-list li.is-active .mono { color: var(--pc); }
.pd-list li.is-active::before { transform: scaleY(1); }
.pd-list li.is-active small { max-height: 2em; opacity: 1; color: var(--muted); }
.pd-progress { margin: 18px 14px 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pd-progress span { display: block; height: 100%; background: var(--pc); transform-origin: 0 50%; transform: scaleX(0); }
.pd-more { margin-top: 18px; padding-left: 14px; color: var(--pc); }

/* the two screens are drawn in em, and the em follows the room the stage leaves them */
.pd-screen { align-self: stretch; min-height: 0; container-type: size; display: grid; place-items: center; }
.pd-devices {
  font-size: min(100cqw / 66, 100cqh / 41);
  display: flex; align-items: center; gap: 2.2em;
  line-height: 1.35;
}
.pd-panels { position: relative; display: grid; flex: 1; min-height: 0; }
.pd-panels > * { grid-area: 1 / 1; position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: .9em; }
.motion-off .pd-panels > [data-step]:not([data-step="0"]) { display: none; }
/* mono, sized like the rest of the screen */
.dm { font-family: var(--f-mono); font-size: .72em; letter-spacing: .04em; text-transform: uppercase; }

.pd-dev {
  position: relative; flex-shrink: 0; overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.dv-board { width: 44em; height: 29em; border-radius: 1em; display: flex; flex-direction: column; }
.dv-bar { display: flex; align-items: center; gap: 1.1em; padding: .8em 1.1em; border-bottom: 1px solid var(--line); background: var(--ink-3); }
.dv-route { flex: 1; min-width: 0; color: var(--muted); text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-live { display: flex; align-items: center; gap: .6em; color: var(--paper); white-space: nowrap; }
.dv-live i { width: .8em; height: .8em; border-radius: 50%; background: var(--pc); box-shadow: 0 0 .8em var(--pc); animation: blink-dot 2.4s ease-in-out infinite; }
.dv-board .pd-panels { padding: 1.4em; }

.dv-phone {
  width: 19em; height: 39em; border-radius: 2.8em;
  border: .45em solid #1E1A17; outline: 1px solid var(--line-2);
  padding: 2.4em 1.2em 1.3em;
  display: flex; flex-direction: column;
}
.ph-notch { position: absolute; top: .6em; left: 50%; width: 5.4em; height: 1.3em; border-radius: 1em; background: #050404; transform: translateX(-50%); }
.ph-status { display: flex; justify-content: space-between; color: var(--muted); margin: -1.2em .4em 1.2em; text-transform: none; }

/* ---------- phone screens ---------- */
.ph-k { color: var(--pc); }
.ph-h { font-family: var(--f-display); font-weight: 600; font-size: 1.45em; line-height: 1.05; letter-spacing: -0.02em; }
.ph-p { color: var(--muted); font-size: .88em; line-height: 1.45; }
.ph-btn {
  margin-top: auto; flex-shrink: 0;
  display: flex; justify-content: center; align-items: center; gap: .4em;
  height: 3.2em; border-radius: 100px;
  background: var(--pc); color: var(--ink); font-weight: 600; font-size: .92em;
}
.ph-btn b { font-variant-numeric: tabular-nums; }
.ph-btn--ghost { background: transparent; color: var(--paper); border: 1px solid var(--line-2); }

.ph-qr { position: relative; width: 100%; aspect-ratio: 1; flex-shrink: 0; padding: 1.2em; border-radius: 1.2em; background: var(--paper); overflow: hidden; }
.ph-qr svg { width: 100%; height: 100%; fill: var(--ink); overflow: visible; }
.ph-qr .qr-f { fill: none; stroke: var(--ink); stroke-width: 1; }
.ph-scan { position: absolute; left: .6em; right: .6em; top: 8%; height: 2px; border-radius: 2px; background: var(--pc); box-shadow: 0 0 1em .2em var(--pc); animation: ph-scan 2.2s ease-in-out infinite alternate; }
@keyframes ph-scan { to { top: 90%; } }

.ph-chips { display: flex; flex-wrap: wrap; gap: .4em; }
.ph-chips span { font-size: .74em; padding: .4em .85em; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted); }
.ph-chips span.is-on { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.ph-menu { list-style: none; display: flex; flex-direction: column; }
.ph-menu li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .7em; padding: .8em 0; border-bottom: 1px solid var(--line); }
.ph-dish { display: flex; flex-direction: column; gap: .1em; min-width: 0; }
.ph-dish b { font-weight: 600; font-size: .92em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-dish small { font-size: .72em; color: var(--muted); }
.ph-menu em { font-style: normal; font-size: .82em; color: var(--muted); }
.ph-add { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; border: 1px solid var(--line-2); font-style: normal; font-size: .95em; line-height: 1; }
.ph-cart { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: .9em 1.1em; border-radius: 1em; background: var(--pc); color: var(--ink); font-size: .88em; font-weight: 500; }
.ph-cart b { font-weight: 700; font-variant-numeric: tabular-nums; }

.ph-track { list-style: none; display: flex; flex-direction: column; margin-top: .4em; }
.ph-track li { position: relative; display: grid; grid-template-columns: 1.4em 1fr; column-gap: .9em; padding-bottom: 1.3em; color: var(--muted); }
.ph-track li::before { content: ''; position: absolute; left: .7em; top: 1.5em; bottom: .1em; width: 1px; background: var(--line-2); }
.ph-track li:last-child::before { display: none; }
.ph-track i { grid-row: span 2; width: 1.4em; height: 1.4em; border-radius: 50%; border: 1px solid var(--line-2); background: var(--ink-2); }
.ph-track span { font-weight: 600; font-size: .95em; }
.ph-track small { font-size: .74em; color: var(--muted); }

.ph-bill { list-style: none; }
.ph-bill li { display: flex; justify-content: space-between; gap: 1em; padding: .45em 0; font-size: .85em; color: var(--muted); border-bottom: 1px dashed var(--line-2); }
.ph-bill b { font-weight: 500; color: var(--paper); font-variant-numeric: tabular-nums; }
.ph-bill .ph-total { border-bottom: 0; color: var(--paper); font-weight: 600; font-size: .95em; }
.ph-split { display: flex; justify-content: space-between; align-items: baseline; padding: .75em 1em; border-radius: .9em; background: rgba(236, 234, 227, 0.05); font-size: .85em; }
.ph-split b { font-weight: 600; }
.ph-split i { font-style: normal; color: var(--pc); }
.ph-tip { display: flex; align-items: center; gap: .4em; font-size: .85em; color: var(--muted); }
.ph-tip span { margin-right: auto; }
.ph-tip i { font-style: normal; padding: .3em .7em; border-radius: 100px; border: 1px solid var(--line-2); color: var(--paper); font-size: .9em; }

.ph-deck { position: relative; flex: 1; min-height: 0; margin-bottom: .6em; }
.ph-card {
  position: absolute; inset: 0 0 1.2em;
  display: flex; flex-direction: column; gap: .25em;
  padding: .8em .8em 1em; border-radius: 1.2em;
  background: var(--ink-3); border: 1px solid var(--line-2);
  box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.6);
}
.ph-card[data-card="1"] { transform: translateY(.6em) scale(.95); }
.ph-card[data-card="2"] { transform: translateY(1.2em) scale(.9); }
.ph-art { flex: 1; min-height: 0; width: 100%; margin-bottom: .4em; border-radius: .8em; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--pc) 12%, transparent), transparent 70%), #12100E; }
.pa-plate { fill: #F4F1EA; }
.pa-rim { fill: none; stroke: rgba(12, 10, 9, 0.1); stroke-width: 1.5; }
.ph-card b { font-family: var(--f-display); font-weight: 600; font-size: 1.15em; letter-spacing: -0.01em; }
.ph-card small { font-size: .76em; color: var(--muted); }
.ph-stamp {
  position: absolute; top: 1.4em; left: 1.4em;
  padding: .25em .7em; border: 2px solid var(--pc); border-radius: .5em;
  font-style: normal; font-weight: 700; font-size: 1em; letter-spacing: .05em; text-transform: uppercase;
  color: var(--pc); background: rgba(12, 10, 9, 0.55);
  transform: rotate(-12deg); opacity: 0;
}
.ph-stamp--no { left: auto; right: 1.4em; border-color: #FF8A7A; color: #FF8A7A; transform: rotate(12deg); }
.ph-swipe { display: flex; justify-content: center; gap: 1.4em; }
.ph-swipe span { display: grid; place-items: center; width: 5.2em; height: 5.2em; border-radius: 50%; border: 1px solid var(--line-2); color: var(--paper); }

.ph-week { list-style: none; display: flex; flex-direction: column; }
.ph-week li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; gap: .6em; align-items: baseline; padding: .62em 0; border-bottom: 1px solid var(--line); font-size: .88em; }
.ph-week b, .ph-votes li > span b { font-family: var(--f-mono); font-weight: 500; font-size: .78em; color: var(--pc); text-transform: uppercase; }
.ph-week span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-week em { font-style: normal; font-size: .82em; color: var(--muted); font-variant-numeric: tabular-nums; }

.ph-votes { list-style: none; display: flex; flex-direction: column; }
.ph-votes li { display: flex; justify-content: space-between; align-items: center; gap: .6em; padding: .62em 0; border-bottom: 1px solid var(--line); font-size: .86em; }
.ph-votes li > span:first-child { display: flex; flex-direction: column; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-v { flex-shrink: 0; padding: .3em .7em; border-radius: 100px; border: 1px solid var(--line-2); font-style: normal; font-size: .76em; color: var(--muted); white-space: nowrap; }
.ph-v.is-ok { background: color-mix(in srgb, var(--pc) 16%, transparent); border-color: color-mix(in srgb, var(--pc) 50%, transparent); color: var(--pc); }
.ph-v.is-no { border-color: rgba(255, 138, 122, 0.45); color: #FF8A7A; }
.ph-vs { display: grid; justify-items: end; }
.ph-vs > * { grid-area: 1 / 1; }
.ph-vs-b { opacity: 0; }
.ph-fam { margin-top: auto; display: flex; align-items: center; }
.ph-fam .av + .av { margin-left: -.5em; }
.ph-fam span { margin-left: .8em; font-size: .8em; color: var(--muted); }
.av { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; border: 2px solid var(--ink-2); background: var(--a); color: var(--ink); font-style: normal; font-weight: 700; font-size: .8em; }

.ph-aisle { display: flex; flex-direction: column; }
.ph-aisle .dm { color: var(--muted); margin: .2em 0 .1em; }
.ph-item { display: grid; grid-template-columns: 1.3em minmax(0, 1fr) auto; gap: .6em; align-items: center; padding: .45em 0; border-bottom: 1px solid var(--line); font-size: .86em; }
.ph-item i { display: grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: .35em; border: 1px solid var(--line-2); }
.ph-item i svg { width: .9em; height: .9em; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-item em { font-style: normal; font-size: .82em; color: var(--muted); font-variant-numeric: tabular-nums; }
.ph-item--home i { border-style: dashed; }
.ph-item--home i svg { display: none; }
.ph-item--home em { color: var(--pc); }
.ph-more { color: var(--muted); margin-top: auto; }

/* ---------- the other screen ---------- */
.bd-k, .bd-dim { color: var(--muted); }
.bd-big { font-family: var(--f-display); font-weight: 300; font-size: 3.6em; line-height: .9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.bd-big span { color: var(--pc); }
.bd-big small { font-size: .32em; font-weight: 500; letter-spacing: 0; color: var(--muted); }

.bd-split { display: grid; grid-template-columns: minmax(0, 1fr) 12.5em; gap: 1.4em; align-items: start; height: 100%; }
.bd-plan { width: 100%; height: auto; overflow: visible; }
.bd-plan path, .bd-plan rect, .bd-plan circle { stroke: var(--paper); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.bd-walls > path:first-child { stroke-width: 5; stroke-linejoin: miter; }
.bd-walls .bd-thin { stroke-width: 1; opacity: .6; }
.bd-tables .is-busy > * { fill: rgba(236, 234, 227, 0.12); }
.bd-tables .bd-t4 > * { fill: transparent; }
.bd-labels text { fill: var(--muted); stroke: none; font-family: var(--f-mono); font-size: 13px; text-anchor: middle; }
.bd-ping { opacity: 0; }
.bd-ping circle { fill: none; stroke: var(--pc); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: bd-ping 1.8s ease-out infinite; }
@keyframes bd-ping { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.bd-legend { list-style: none; display: flex; gap: 1.4em; margin-top: 1em; color: var(--muted); }
.bd-legend li::before { content: ''; display: inline-block; width: .9em; height: .9em; margin-right: .5em; border-radius: 3px; border: 1px solid var(--line-2); vertical-align: -.1em; }
.bd-legend .is-busy::before { background: rgba(236, 234, 227, 0.3); }
.bd-legend .is-call::before { background: var(--pc); border-color: var(--pc); }
.bd-side { display: flex; flex-direction: column; gap: .8em; }
.bd-resa { list-style: none; display: flex; flex-direction: column; gap: .45em; }
.bd-resa li { display: flex; gap: .8em; align-items: baseline; padding: .6em .75em; border-radius: .6em; border: 1px solid var(--line); font-size: .84em; color: var(--muted); }
.bd-resa b { font-family: var(--f-mono); font-weight: 500; font-size: .9em; color: var(--paper); }

.bd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; }
.bd-tc { display: flex; flex-direction: column; gap: .2em; min-height: 7.2em; padding: 1em; border-radius: .8em; border: 1px solid var(--line); background: rgba(236, 234, 227, 0.02); }
.bd-tc b { font-family: var(--f-display); font-weight: 600; font-size: 1.5em; letter-spacing: -0.02em; line-height: 1.1; }
.bd-tc > span { font-size: .84em; color: var(--muted); }
.bd-tc em { margin-top: auto; font-style: normal; font-size: .8em; color: var(--pc); }
.bd-tc.is-busy { background: rgba(236, 234, 227, 0.06); }
.bd-swap { display: grid; }
.bd-swap > * { grid-area: 1 / 1; }
.bd-swap-b { opacity: 0; }
.bd-tc--hot .bd-swap-b { color: var(--pc); }
.bd-toast {
  position: absolute; right: 0; bottom: 0;
  display: flex; align-items: center; gap: .9em; max-width: 24em;
  padding: .9em 1.1em; border-radius: .9em;
  background: var(--ink-3); border: 1px solid var(--line-2);
  box-shadow: 0 1.4em 3em -1em rgba(0, 0, 0, 0.7);
}
.bd-toast i { flex-shrink: 0; width: .8em; height: .8em; border-radius: 50%; background: var(--pc); box-shadow: 0 0 .8em var(--pc); }
.bd-toast b { display: block; font-size: .92em; }
.bd-toast span { font-size: .8em; color: var(--muted); }

.bd-kds { position: relative; flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; }
.bd-col { padding: .8em; border-radius: .8em; border: 1px solid var(--line); background: rgba(236, 234, 227, 0.03); }
.bd-col .dm { color: var(--muted); }
.bd-tk {
  --x: 0; --y: 0;
  position: absolute;
  top: calc(2.6em + var(--y) * 6em);
  left: calc(var(--x) * ((100% - 1.6em) / 3 + .8em) + .5em);
  width: calc((100% - 1.6em) / 3 - 1em);
  display: flex; flex-direction: column; gap: .15em;
  padding: .75em .85em; border-radius: .7em;
  background: var(--ink-3); border: 1px solid var(--line-2);
}
.bd-tk b { font-family: var(--f-display); font-weight: 600; font-size: 1.15em; }
.bd-tk span { font-size: .8em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-tk small { color: var(--paper); }
.bd-tk--hot { z-index: 1; border-color: var(--pc); box-shadow: 0 0 0 1px var(--pc), 0 1em 2.4em -1em color-mix(in srgb, var(--pc) 55%, transparent); }
.bd-tk--hot small { color: var(--pc); }
.bd-barline { display: flex; align-items: center; gap: .8em; padding: .75em 1em; border-radius: .7em; border: 1px dashed var(--line-2); color: var(--muted); }
.bd-barline > span:first-of-type { flex: 1; }
.bd-barline i { width: .8em; height: .8em; border-radius: 50%; background: #FFC83D; }
.bd-barline b { font-weight: 500; color: var(--paper); }
.bd-barline .bd-swap-b { color: var(--pc); }

.bd-cash { display: flex; flex-direction: column; gap: .5em; }
.bd-chart { flex: 1; display: flex; align-items: flex-end; gap: .7em; min-height: 6em; padding-top: 1em; border-bottom: 1px solid var(--line-2); }
.bd-chart i { flex: 1; height: calc(var(--h) * 100%); border-radius: .3em .3em 0 0; background: rgba(236, 234, 227, 0.12); transform-origin: 50% 100%; }
.bd-chart i:last-child { background: var(--pc); }
.bd-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; color: var(--muted); }
.bd-stats li { display: flex; flex-direction: column; gap: .3em; }
.bd-stats b { font-family: var(--f-display); font-weight: 500; font-size: 2.2em; line-height: 1; letter-spacing: -0.02em; text-transform: none; color: var(--paper); }
.bd-stats--col { grid-template-columns: 1fr; gap: 1.6em; }

.bd-taste { list-style: none; display: flex; flex-direction: column; gap: 1em; margin: .8em 0 .2em; }
.bd-taste li { display: grid; grid-template-columns: 12em 1fr; align-items: center; gap: 1em; font-size: .9em; }
.bd-taste i { position: relative; height: .75em; border-radius: 100px; background: rgba(236, 234, 227, 0.06); }
.bd-taste i::before { content: ''; position: absolute; left: 50%; top: -.4em; bottom: -.4em; width: 1px; background: var(--line-2); }
.bd-taste b { position: absolute; top: 0; bottom: 0; left: 50%; width: var(--w); border-radius: 100px; background: var(--pc); transform-origin: 0 50%; }
.bd-taste .is-neg b { left: auto; right: 50%; background: #FF8A7A; transform-origin: 100% 50%; }
.bd-axis { display: flex; justify-content: space-between; padding-left: 13.4em; color: var(--muted); }
.bd-panel > .bd-dim:last-child { margin-top: auto; }

.bd-budget { flex: 1; display: grid; grid-template-columns: 15em minmax(0, 1fr); gap: 2.4em; align-items: center; }
.bd-gauge { position: relative; width: 15em; aspect-ratio: 1; }
.bd-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.g-track, .g-fill { fill: none; stroke-width: 14; }
.g-track { stroke: rgba(236, 234, 227, 0.08); }
.g-fill { stroke: var(--pc); stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: .307; }
.bd-gauge-c { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .3em; }
.bd-gauge-c b { font-family: var(--f-display); font-weight: 300; font-size: 3.6em; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.bd-gauge-c .dm { color: var(--muted); }

.bd-fam { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; margin-top: .4em; }
.bd-fam li { display: flex; flex-direction: column; align-items: center; gap: .55em; padding: 1.2em .6em; border-radius: .9em; border: 1px solid var(--line); }
.bd-fam .av { width: 3.4em; height: 3.4em; font-size: 1em; border: 0; }
.bd-fam span { font-size: .88em; }
.bd-fam em { padding: .3em .8em; border-radius: 100px; font-style: normal; font-size: .76em; background: color-mix(in srgb, var(--pc) 16%, transparent); color: var(--pc); }
.bd-fam em.is-no { background: rgba(255, 138, 122, 0.14); color: #FF8A7A; }
.bd-verdict { margin-top: auto; display: flex; align-items: center; gap: 1em; padding: 1em 1.2em; border-radius: .9em; background: color-mix(in srgb, var(--pc) 10%, transparent); border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent); }
.bd-verdict b { font-family: var(--f-display); font-weight: 600; font-size: 2em; letter-spacing: -0.02em; color: var(--pc); white-space: nowrap; }

.bd-stores, .bd-range { display: flex; flex-wrap: wrap; gap: .5em; }
.bd-stores span, .bd-range span { padding: .45em .9em; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted); }
.bd-stores .is-on { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.bd-range .is-on { border-color: var(--pc); color: var(--pc); }
.bd-receipt { display: flex; flex-direction: column; gap: .7em; padding: 1.4em; border-radius: 1em; border: 1px dashed var(--line-2); }
.bd-done { align-self: flex-start; margin-top: auto; padding: .7em 1.2em; border-radius: 100px; background: var(--pc); color: var(--ink); }

/* ---------- the screens of each programme ---------- */
.pa-list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.prog--omq .pa-list { grid-template-columns: repeat(4, 1fr); }
.pa { padding: 28px 24px 0 0; }
.pa + .pa { padding-left: 24px; border-left: 1px solid var(--line); }
.pa-route { color: var(--pc); text-transform: none; }
.pa h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin: 16px 0 10px; }
.pa p { color: var(--muted); font-size: 15px; }

@media (max-width: 1100px) {
  .pd-stage { grid-template-columns: 230px minmax(0, 1fr); }
  .pa-list, .prog--omq .pa-list { grid-template-columns: 1fr 1fr; }
  .pa, .pa + .pa { padding: 28px 20px 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .pa:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
/* narrow screens: the active step under the stage, the phone resting on the corner of the other screen */
@media (max-width: 860px) {
  .pd-stage { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; padding-top: 84px; padding-bottom: 20px; }
  .pd-side { order: 2; }
  .pd-side-title, .pd-more { display: none; }
  .pd-list { display: grid; }
  .pd-list li { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease), visibility .4s; background: transparent !important; }
  .pd-list li.is-active { opacity: 1; visibility: visible; transform: none; }
  .pd-list li small { max-height: none; }
  .pd-progress { margin: 6px 14px 0; }
  /* the staff screen narrower, the phone smaller underneath it: 36em wide, 29 + 1.2 + 39 × .78 em high */
  .pd-devices { flex-direction: column; gap: 1.2em; font-size: min(100cqw / 36.5, 100cqh / 60.8); }
  .dv-board { width: 36em; }
  .dv-phone { font-size: .78em; }
  .bd-split { grid-template-columns: minmax(0, 1fr) 11em; gap: 1em; }
  .bd-taste li { grid-template-columns: 9.5em 1fr; }
  .bd-axis { padding-left: 10.5em; }
  .bd-budget { grid-template-columns: 12em minmax(0, 1fr); gap: 1.6em; }
  .bd-gauge { width: 12em; }
}
@media (max-width: 760px) {
  .prog-giant--words { flex-wrap: wrap; justify-content: flex-start; column-gap: .22em; font-size: 19vw; }
}
@media (max-width: 560px) {
  .pa-list, .prog--omq .pa-list { grid-template-columns: 1fr; }
  .pa:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* =========================================================
   INFINITE
   ========================================================= */
.infinite { overflow: hidden; }
.infinite-visual { width: min(900px, 100%); margin: 0 auto clamp(20px, 4vw, 40px); }
.infinite-visual svg { width: 100%; height: auto; overflow: visible; }
.inf-base { stroke: var(--line); stroke-width: 1; }
.inf-draw { stroke: var(--paper); stroke-width: 1.2; }
.inf-comet { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 8px var(--accent)); }
.infinite-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.infinite-head .h2 { margin: 0 auto; }
.infinite-lead { color: var(--muted); max-width: 44ch; font-size: 17px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.feature { padding: 28px 24px 0 0; }
.feature + .feature { padding-left: 24px; border-left: 1px solid var(--line); }
.feature-idx { color: var(--accent); }
.feature h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin: 16px 0 10px; }
.feature p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .feature + .feature { padding: 28px 20px 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .feature:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .feature:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* =========================================================
   OUR SOFTWARE
   ========================================================= */
.products-list { display: flex; flex-direction: column; gap: 14px; }
.product {
  --pc: var(--accent);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2);
  transition: border-color .5s var(--ease);
}
.product::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 30%) var(--my, 40%), color-mix(in srgb, var(--pc) 15%, transparent), transparent 55%);
  opacity: 0; transition: opacity .5s;
}
.product:hover { border-color: color-mix(in srgb, var(--pc) 40%, transparent); }
.product:hover::before { opacity: 1; }
.product:nth-child(even) .product-visual { order: -1; }

.product-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.product-status { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); white-space: nowrap; }
.product-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 10px var(--pc); animation: blink-dot 2.4s ease-in-out infinite; }
@keyframes blink-dot { 50% { opacity: .35; } }
.product-name {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3rem, 7.2vw, 7rem); line-height: .9; letter-spacing: -0.05em;
  margin-top: clamp(12px, 3vw, 48px);
}
.product--aria .product-name { color: var(--paper); }
.product-name em { font-style: normal; color: var(--pc); }
.product-tag { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 26ch; }
.product-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.product-points li { padding: 7px 12px; border-radius: 100px; border: 1px solid var(--line-2); font-size: 11px; }
.product-points li.is-dim { color: var(--muted); border-style: dashed; }
.product-for { color: var(--muted); font-size: 11px; }
.product-for b { color: var(--pc); font-weight: 500; letter-spacing: .1em; }
.product-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }

.product-visual {
  position: relative; overflow: hidden; min-height: 300px;
  border-radius: 10px; border: 1px solid var(--line);
  display: grid; place-items: center;
}
.pv-svg { width: 100%; height: 100%; max-height: 420px; padding: clamp(10px, 2vw, 24px); overflow: visible; }
.pv-svg .dr { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) var(--d, 0s); }
.product.is-in .pv-svg .dr { stroke-dashoffset: 0; }
.pv-svg text { font-family: var(--f-mono); font-size: 9px; letter-spacing: .05em; opacity: 0; transition: opacity .8s var(--ease) 1.4s; }
.product.is-in .pv-svg text { opacity: .8; }
.pv-badge {
  position: absolute; left: 14px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; color: var(--paper);
  padding: 5px 9px; border-radius: 100px; background: rgba(12, 10, 9, 0.7); border: 1px solid var(--line-2);
}
.pv-badge i { width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; animation: pulse 1.8s infinite; }

/* ARIA preview: a plan drawn by two trades at once */
.pv-aria {
  background-color: #0F0D0B;
  background-image: linear-gradient(rgba(236, 234, 227, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 234, 227, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.pv-aria .pv-l { stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pv-aria .pv-l text { fill: var(--c); stroke: none; }
.pv-aria .pv-w { stroke-width: 5; stroke-linejoin: miter; }
.pv-aria .pv-w2 { stroke-width: 3; stroke-linecap: butt; }
.pv-aria .pv-th { stroke-width: 1; opacity: .7; }
.pv-cursor {
  position: absolute; left: 24%; top: 30%; z-index: 2;
  display: flex; align-items: flex-start; gap: 2px; pointer-events: none;
  animation: pv-roam-a 9s ease-in-out infinite;
}
.pv-cursor--b { left: 66%; top: 62%; animation-name: pv-roam-b; animation-duration: 11s; }
.pv-cursor svg { width: 15px; height: 15px; fill: var(--c); stroke: var(--ink); stroke-width: 1; }
.pv-cursor span { margin-top: 11px; font-family: var(--f-mono); font-size: 9.5px; font-weight: 500; background: var(--c); color: var(--ink); padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
@keyframes pv-roam-a { 0%, 100% { translate: 0 0; } 30% { translate: 70px 40px; } 60% { translate: 120px -10px; } 80% { translate: 30px 60px; } }
@keyframes pv-roam-b { 0%, 100% { translate: 0 0; } 25% { translate: -90px -50px; } 55% { translate: -40px -110px; } 80% { translate: -120px -20px; } }

/* Mise and On mange quoi ?: drawn like ARIA's, on a dotted grid in the programme's colour */
.pv-plan {
  background-color: #0F0D0B;
  background-image: radial-gradient(color-mix(in srgb, var(--pc) 22%, transparent) 1px, transparent 1.5px);
  background-size: 16px 16px;
}
.pv-plan .pv-l { stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pv-plan .pv-l text { fill: var(--c); stroke: none; }
.pv-plan .pv-w { stroke-width: 5; stroke-linejoin: miter; }
.pv-plan .pv-w2 { stroke-width: 3; stroke-linecap: butt; }
.pv-plan .pv-th { stroke-width: 1; opacity: .7; }
.pv-plan .pv-budget { stroke-width: 5; }
.pv-plan .pv-badge i { background: var(--pc); }
/* table 4 calls: a ring keeps spreading around it */
.pv-ping { fill: none; stroke: var(--c); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; opacity: 0; }
.product.is-in .pv-ping { animation: pv-ping 2.2s ease-out 1.6s infinite; }
@keyframes pv-ping { from { transform: scale(.55); opacity: .9; } to { transform: scale(1.3); opacity: 0; } }
/* the family's favourite fills in */
.pv-heart { fill: transparent; transition: fill .8s var(--ease) 2s; }
.product.is-in .pv-heart { fill: var(--c); }
/* the order on its way to the kitchen: shows up, cooks, goes */
.pv-ticket {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 10px;
  max-width: 62%; padding: 8px 12px; border-radius: 8px;
  background: rgba(12, 10, 9, 0.86); border: 1px solid var(--line-2);
  font-size: 10px; text-transform: none; color: var(--paper);
  opacity: 0;
}
.product.is-in .pv-ticket { animation: pv-ticket 6s var(--ease) 1.8s infinite; }
.pv-ticket b { grid-row: span 2; font-size: 15px; font-weight: 500; color: var(--pc); }
.pv-ticket span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-ticket i { position: relative; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.pv-ticket i::after { content: ''; position: absolute; inset: 0; background: var(--pc); transform-origin: 0 50%; transform: scaleX(0); }
.product.is-in .pv-ticket i::after { animation: pv-cook 6s linear 1.8s infinite; }
@keyframes pv-ticket { 0% { transform: translateY(-8px); opacity: 0; } 8%, 90% { transform: none; opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }
@keyframes pv-cook { 8% { transform: scaleX(0); } 85%, 100% { transform: scaleX(1); } }

@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product:nth-child(even) .product-visual { order: 0; }
  .product-visual { min-height: 240px; }
}

/* the games have their own site: a banner that says so */
.games-link {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 28px;
  margin-top: 14px; padding: 22px clamp(22px, 3vw, 40px);
  border-radius: var(--radius); border: 1px dashed rgba(255, 182, 39, 0.35);
  transition: border-color .4s, background-color .4s;
}
.games-link::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 182, 39, 0.1), transparent 70%); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.games-link:hover { border-color: #FFB627; border-style: solid; }
.games-link:hover::before { transform: scaleX(1); }
.gl-k { color: #FFB627; }
.gl-t { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: -0.02em; }
.gl-url { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); font-size: 13px; }
.gl-url i { font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 182, 39, 0.45); color: #FFB627; transition: transform .6s var(--ease), background-color .4s, color .4s; }
.games-link:hover .gl-url i { background: #FFB627; color: var(--ink); transform: rotate(45deg); }
@media (max-width: 760px) { .games-link { grid-template-columns: 1fr; } }
.hp--ext span { color: color-mix(in srgb, var(--c) 75%, transparent); }

/* =========================================================
   PROGRAMMATION
   ========================================================= */
.code { --cd: #3DDC84; --cd-line: rgba(61, 220, 132, 0.16); position: relative; }
.btn-code { background: var(--cd, #3DDC84); color: var(--ink); }
.btn-code::before { background: var(--paper); }
.code-intro { position: relative; padding-bottom: clamp(40px, 6vw, 80px); }
.code-intro::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 55% at 80% 30%, rgba(61, 220, 132, 0.08), transparent 70%); }
.code-giant {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(4.4rem, 21vw, 21rem); line-height: .82; letter-spacing: -0.05em;
  display: flex; align-items: flex-end; white-space: nowrap;
  margin: 24px 0 clamp(32px, 5vw, 64px); overflow: hidden; padding-bottom: .06em;
}
.cg-l { display: inline-block; background: linear-gradient(180deg, var(--paper) 30%, rgba(236, 234, 227, 0.14) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cg-l.cg-b { font-weight: 300; background: linear-gradient(180deg, var(--cd) 30%, rgba(61, 220, 132, 0.15) 100%); -webkit-background-clip: text; background-clip: text; }
.cg-caret { display: inline-block; width: .09em; height: .66em; margin: 0 0 .1em .06em; background: var(--cd); animation: caret 1s steps(2) infinite; }
.code-intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; position: relative; }
.code-lead { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; }
.code-sub p { color: var(--muted); max-width: 48ch; }
.code-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.code-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 100px; border: 1px solid var(--cd-line); font-size: 11px; }
.code-chips li::before { content: '>'; color: var(--cd); }
@media (max-width: 860px) { .code-intro-grid { grid-template-columns: 1fr; } }

/* the editor */
.ce-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; padding-top: clamp(40px, 6vw, 80px); }
.ce-h { margin: 24px 0 24px; }
.ce-text > p { color: var(--muted); max-width: 44ch; font-size: 17px; }
.ce-points { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.ce-points li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ce-points b { font-family: var(--f-mono); font-weight: 500; font-size: 13px; color: var(--cd); }
.ce-points span { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .ce-wrap { grid-template-columns: 1fr; } }

.ce { border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--ink-2); overflow: hidden; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8); }
.ce-bar { display: flex; align-items: center; gap: 16px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--ink-3); }
.ce-tabs { display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ce-tabs button { padding: 12px 14px 11px; font-size: 11px; text-transform: none; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .3s, border-color .3s; }
.ce-tabs button:hover { color: var(--paper); }
.ce-tabs button.is-on { color: var(--paper); border-color: var(--cd); }
.ce-lang { color: var(--muted); font-size: 10px; white-space: nowrap; }
@media (max-width: 560px) { .ce-lang { display: none; } }
.ce-body { background: #0F0D0B; }
.ce-code { margin: 0; padding: 18px 0; overflow-x: auto; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.75; color: var(--paper); tab-size: 2; counter-reset: ln; }
.ce-code[hidden] { display: none; }
.ce-code code { display: block; min-width: max-content; }
.ce-code .ln { display: block; padding: 0 20px 0 0; }
.ce-code .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 3.2em; padding-right: 1.2em; text-align: right; color: rgba(236, 234, 227, 0.22); user-select: none; }
.ce-code .ln.is-hot { background: rgba(61, 220, 132, 0.07); }
.tk-c { color: #7E766D; font-style: italic; }
.tk-k { color: #FF6FA3; }
.tk-s { color: #3DDC84; }
.tk-n { color: #FFC83D; }
.tk-f { color: #3DB8FF; }
.tk-p { color: #9B8CFF; }
.ce-run-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--ink-3); }
.ce-run { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; background: var(--cd); color: var(--ink); font-size: 11px; transition: background-color .3s, transform .3s var(--ease); }
.ce-run svg { width: 12px; height: 12px; fill: currentColor; }
.ce-run:hover { background: var(--paper); }
.ce-run:disabled { opacity: .55; }
.ce-status { color: var(--muted); font-size: 10.5px; }
.ce-status.is-ok { color: var(--cd); }
.ce-console { min-height: 112px; padding: 14px 18px; font-size: 12px; line-height: 1.7; text-transform: none; color: var(--paper); border-top: 1px solid var(--line); }
.ce-console .dim { color: var(--muted); }
.ce-console .ok { color: var(--cd); }

/* the pipeline */
.pipeline { border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); padding: clamp(20px, 3vw, 36px); }
.pl-stages { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.pl-stages::before, .pl-stages::after { content: ''; position: absolute; left: 10%; right: 10%; top: 13px; height: 2px; border-radius: 2px; background: var(--line-2); }
.pl-stages::after { background: var(--cd); right: auto; width: calc(80% * var(--pl, 0)); transition: width .6s var(--ease); }
.pl-stages li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 0 6px; }
.pl-stages i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--ink-2); display: grid; place-items: center; transition: border-color .4s, background-color .4s, box-shadow .4s; }
.pl-stages i::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background-color .4s; }
.pl-stages b { margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; color: rgba(236, 234, 227, 0.6); transition: color .4s; }
.pl-stages span { font-size: 10px; color: var(--muted); max-width: 16ch; }
.pl-stages li.is-run i { border-color: var(--cd); animation: pl-pulse 1s infinite; }
.pl-stages li.is-run i::after { background: var(--cd); }
.pl-stages li.is-done i { border-color: var(--cd); background: var(--cd); }
.pl-stages li.is-done i::after { background: var(--ink); }
.pl-stages li.is-fail i { border-color: #FF5C5C; background: #FF5C5C; }
.pl-stages li.is-fail i::after { background: var(--ink); }
.pl-stages li.is-run b, .pl-stages li.is-done b { color: var(--paper); }
.pl-stages li.is-fail b { color: #FF5C5C; }
@keyframes pl-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.5); } 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.pl-console { margin-top: clamp(24px, 3vw, 36px); min-height: 176px; padding: 16px 18px; border-radius: 10px; background: #0F0D0B; border: 1px solid var(--line); font-size: 12px; line-height: 1.75; text-transform: none; color: var(--paper); overflow-x: auto; }
.pl-console p { white-space: pre; }
.pl-console .dim { color: var(--muted); }
.pl-console .ok { color: var(--cd); }
.pl-console .ko { color: #FF5C5C; }
.pl-console .fox { color: #EC7430; }
.pl-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.pl-note { color: var(--muted); font-size: 10.5px; }
@media (max-width: 760px) {
  .pl-stages { grid-template-columns: 1fr; gap: 14px; }
  .pl-stages::before, .pl-stages::after { left: 13px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }
  .pl-stages::after { height: calc((100% - 28px) * var(--pl, 0)); bottom: auto; transition: height .6s var(--ease); }
  .pl-stages li { flex-direction: row; align-items: center; text-align: left; gap: 14px; padding: 0; }
  .pl-stages b { margin-top: 0; }
  .pl-stages span { max-width: none; }
}

/* what we write */
.cap-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.cap { padding: 26px 22px 26px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cap:not(:nth-child(4n + 1)) { padding-left: 22px; border-left: 1px solid var(--line); }
.cap-k { color: var(--cd); font-size: 11px; text-transform: none; }
.cap b { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; }
.cap p { color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) {
  .cap-list { grid-template-columns: 1fr 1fr; }
  .cap:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .cap:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .cap-list { grid-template-columns: 1fr; }
  .cap:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* =========================================================
   TEAM
   ========================================================= */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; perspective: 1400px; }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }
.founder {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transform-style: preserve-3d;
}
.founder::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.founder-mono {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  transform: translateZ(40px);
}
.founder-mono span {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(7rem, 20vw, 17rem);
  letter-spacing: -0.02em; line-height: 1;
  color: transparent;
  background: linear-gradient(90deg, var(--accent) 0 50%, rgba(236, 234, 227, 0.08) 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  transition: background-position 1s var(--ease);
}
.founder:hover .founder-mono span { background-position: 0 0; }
.founder-info { position: relative; transform: translateZ(60px); }
.founder-info h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; }
.founder-info p { color: var(--muted); margin-top: 6px; }
.founder-corner { position: absolute; top: 24px; right: 24px; color: var(--muted); }

/* =========================================================
   VALAIS
   ========================================================= */
.valais { position: relative; overflow: hidden; padding-bottom: 0; }
.valais-text { padding-bottom: 0; }
.valais-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.6rem, 7.5vw, 7rem); line-height: 0.95; letter-spacing: -0.045em;
  margin: 24px 0 28px;
}
.valais-meta { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); align-items: center; }
.valais-meta span { display: flex; align-items: center; gap: 10px; }
.swiss { width: 20px; height: 20px; }
.swiss rect { fill: #DA291C; }
.swiss path { fill: #fff; }
.mountains { width: 100%; height: clamp(180px, 30vw, 400px); margin-top: -2vw; }
.mountains .ridge { stroke-linejoin: round; }
.mountains .ridge.back { stroke: rgba(236, 234, 227, 0.18); stroke-width: 1; }
.mountains .ridge.front { stroke: var(--paper); stroke-width: 1.5; }
.mountains .peak-dot { fill: var(--accent); }
.mountains .peak-line { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 3; }
.peak-label { position: absolute; left: 62.5%; bottom: calc(clamp(180px, 30vw, 400px) * 0.95 + 6px); translate: -50% 0; color: var(--accent); white-space: nowrap; pointer-events: none; }
.valais-title em { font-style: normal; color: var(--accent); }

/* altimeter riding the front ridge under the pointer */
.alti { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); }
.alti.is-on { opacity: 1; }
.alti-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.alti-line { position: absolute; left: -0.5px; top: 8px; width: 1px; height: 100vh; background: repeating-linear-gradient(180deg, rgba(236, 234, 227, 0.4) 0 3px, transparent 3px 7px); }
.alti-label { position: absolute; left: 0; bottom: 16px; translate: -50% 0; font-size: 11px; letter-spacing: .06em; color: var(--paper); white-space: nowrap; }
.alti-label b { font-weight: 500; color: var(--accent); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { border-top: 1px solid var(--line); }
.contact-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(3rem, 11vw, 11rem); line-height: 0.9; letter-spacing: -0.055em;
  margin: 24px 0 clamp(48px, 7vw, 96px);
}
.contact-title em { font-style: normal; color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side p { color: var(--muted); font-size: 18px; max-width: 34ch; }
.contact-mail {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 32px 0;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem); letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 8px;
  transition: color .3s, border-color .3s;
  word-break: break-all;
}
.contact-mail svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.6; flex-shrink: 0; transition: transform .5s var(--ease); }
.contact-mail:hover { color: var(--accent); border-color: var(--accent); }
.contact-mail:hover svg { transform: rotate(45deg); }
.contact-side .contact-loc { font-size: 12px; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 17px; color: var(--paper);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2);
  padding: 26px 0 12px;
  resize: vertical;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field span {
  position: absolute; left: 0; top: 26px;
  color: var(--muted); pointer-events: none;
  transform-origin: 0 0;
  transition: transform .4s var(--ease), color .3s;
}
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span {
  transform: translateY(-22px) scale(.75); color: var(--accent);
}
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 8px; }
.chips legend { color: var(--muted); margin-bottom: 12px; font-size: 11px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span {
  display: inline-block; padding: 9px 16px; border-radius: 100px;
  border: 1px solid var(--line-2); font-size: 14px;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chips label:hover span { border-color: var(--paper); }
.chips input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact-form .btn { margin-top: 18px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 0 var(--gutter) 28px; overflow: hidden; }
.footer-big {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(5rem, 28vw, 30rem); line-height: 0.75; letter-spacing: -0.03em;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(236, 234, 227, 0.14), rgba(236, 234, 227, 0.01) 90%);
  -webkit-background-clip: text; background-clip: text;
  user-select: none;
  padding-top: 0.1em;
}
.footer-logo { height: 56px; width: auto; margin: 36px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; color: var(--muted); }
.footer-nav a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.footer-nav a i { width: 7px; height: 7px; border-radius: 2px; background: var(--c); }
.footer-nav a:hover { color: var(--paper); }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); margin-top: 24px; }
.footer-big .c {
  color: transparent;
  background: linear-gradient(180deg, rgba(236, 234, 227, 0.16), rgba(236, 234, 227, 0.01) 90%);
  -webkit-background-clip: text; background-clip: text;
}
.footer-cmd { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; font-family: var(--f-mono); font-size: 12px; color: var(--muted); transition: color .3s; }
.footer-cmd:hover { color: var(--paper); }
.to-top { color: var(--paper); transition: color .3s; }
.to-top:hover { color: var(--accent); }

/* =========================================================
   SECTORS INDEX
   ========================================================= */
.sectors { padding-top: clamp(40px, 6vw, 80px); }
.sector-list { list-style: none; border-top: 1px solid var(--line); }
.sector-list li { border-bottom: 1px solid var(--line); }
.sector {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1.5fr) minmax(0, 1fr) 48px;
  align-items: center; gap: 20px;
  padding: clamp(18px, 2.4vw, 30px) 8px;
  overflow: hidden; isolation: isolate;
  transition: padding .6s var(--ease), color .4s;
}
.sector::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 16%, transparent), transparent 85%);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .7s var(--ease);
}
.sector::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--c); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .9s var(--ease);
}
.sector-idx { color: var(--muted); transition: color .4s; }
.sector-name {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.7rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -0.04em;
  transition: transform .7s var(--ease), color .4s;
}
.sector-name em { font-style: normal; font-weight: 300; color: var(--muted); transition: color .4s; }
.sector-tags { color: var(--muted); font-size: 11px; line-height: 1.6; transition: color .4s, transform .7s var(--ease); }
.sector-go {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: background-color .4s, border-color .4s, transform .6s var(--ease);
}
.sector-go svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.sector:hover::before, .sector:focus-visible::before, .sector.is-hot::before { transform: scaleX(1); }
.sector:hover::after, .sector:focus-visible::after, .sector.is-hot::after { transform: scaleX(1); }
.sector:hover .sector-name, .sector.is-hot .sector-name { transform: translateX(14px); color: var(--c); }
.sector:hover .sector-name em, .sector.is-hot .sector-name em { color: var(--paper); }
.sector:hover .sector-idx, .sector.is-hot .sector-idx { color: var(--c); }
.sector:hover .sector-tags, .sector.is-hot .sector-tags { color: var(--paper); }
.sector:hover .sector-go, .sector.is-hot .sector-go { background: var(--c); border-color: var(--c); color: var(--ink); transform: rotate(-45deg); }
.sector-list.has-hover .sector:not(:hover):not(.is-hot) { color: rgba(236, 234, 227, 0.35); }
.sector-list.has-hover .sector:not(:hover):not(.is-hot) .sector-name em { color: rgba(236, 234, 227, 0.2); }
.sectors-more { margin-top: 28px; color: var(--muted); }
.sectors-more a { color: var(--paper); border-bottom: 1px solid var(--accent); transition: color .3s; }
.sectors-more a:hover { color: var(--accent); }

.sector-preview {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: clamp(280px, 26vw, 420px);
  pointer-events: none;
  opacity: 0; visibility: hidden;
  display: none;
}
.has-cursor .sector-preview { display: block; }
.sp-inner {
  border-radius: 12px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--sc, #ECEAE3) 45%, transparent);
  background:
    linear-gradient(rgba(236, 234, 227, 0.06) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(236, 234, 227, 0.06) 1px, transparent 1px) 0 0 / 20px 20px,
    #0F0D0B;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 60px -20px var(--sc, transparent);
  transition: border-color .4s, box-shadow .4s;
}
.sp-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--ink-3); font-size: 10px; color: var(--muted); }
.sp-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--sc, var(--paper)); box-shadow: 0 0 8px var(--sc, var(--paper)); }
.sp-bar .sp-label { color: var(--paper); flex: 1; }
.sp-bar b { font-weight: 500; color: var(--sc, var(--paper)); }
.sp-svg { width: 100%; height: auto; padding: 14px; overflow: visible; }
.sp-svg .layer { stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sp-svg .layer text { display: none; }
.sp-svg .w-outer { stroke-width: 7; }
.sp-svg .w-inner { stroke-width: 4; }
.sp-svg .duct { stroke-width: 14; stroke-opacity: .18; }
.sp-svg .bus { stroke-width: 5; }

@media (max-width: 760px) {
  .sector { grid-template-columns: 36px minmax(0, 1fr) 40px; gap: 12px; }
  .sector-tags { grid-column: 2 / 3; grid-row: 2; }
  .sector-go { grid-column: 3; grid-row: 1 / span 2; width: 40px; height: 40px; }
  .sector-idx { grid-row: 1 / span 2; align-self: start; padding-top: .6em; }
}

/* =========================================================
   SECTION RAIL
   ========================================================= */
.rail {
  position: fixed; right: clamp(10px, 1.4vw, 22px); top: 50%; z-index: 80;
  translate: 0 -50%;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; pointer-events: none;
  transition: opacity .6s var(--ease);
}
.rail.is-ready { opacity: 1; pointer-events: auto; }
.rail::before {
  content: ''; position: absolute; right: 5px; top: 10px; bottom: 10px; width: 1px;
  background: var(--line-2);
}
.rail-fill { position: absolute; right: 5px; top: 10px; width: 1px; height: calc(100% - 20px); background: var(--accent); transform-origin: 50% 0; transform: scaleY(0); }
.rail a {
  position: relative;
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  height: 22px;
}
.rail a i {
  position: relative; z-index: 1;
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--ink);
  transition: transform .5s var(--ease), background-color .4s, border-color .4s;
}
.rail a span {
  font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); white-space: nowrap;
  padding: 4px 8px; border-radius: 4px; background: rgba(12, 10, 9, 0.8);
  opacity: 0; transform: translateX(8px);
  transition: opacity .35s, transform .5s var(--ease), color .3s;
}
.rail a span b { color: var(--accent); font-weight: 500; margin-right: 6px; }
.rail:hover a span { opacity: 1; transform: none; }
.rail a:hover span { color: var(--paper); }
.rail a:hover i { border-color: var(--paper); transform: scale(1.3); }
.rail a.is-active i { background: var(--accent); border-color: var(--accent); transform: scale(1.25); box-shadow: 0 0 0 4px var(--accent-soft); }
.rail a.is-active span { opacity: 1; transform: none; color: var(--paper); }
.rail.is-quiet a.is-active span { opacity: 0; transform: translateX(8px); }
.rail.is-quiet:hover a.is-active span { opacity: 1; transform: none; }
@media (max-width: 1100px), (hover: none) { .rail { display: none; } }

/* =========================================================
   CURTAIN (section transitions)
   ========================================================= */
.curtain {
  position: fixed; inset: 0; z-index: 140;
  background: var(--ink-2);
  clip-path: inset(100% 0 0 0);
  visibility: hidden;
  display: grid; place-items: center;
  pointer-events: none;
}
.curtain.is-on { visibility: visible; pointer-events: auto; }
.curtain-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(236, 234, 227, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 234, 227, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.curtain::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); }
.curtain-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 0 var(--gutter); }
.curtain-fox { display: block; height: clamp(84px, 13vw, 140px); aspect-ratio: 100 / 102; margin-bottom: 14px; filter: drop-shadow(0 0 40px rgba(242, 116, 23, 0.3)); }
.curtain-path { color: var(--muted); }
.curtain-path i { font-style: normal; color: var(--accent); }
.curtain-path b { color: var(--paper); font-weight: 500; }
.curtain-num { font-family: var(--f-mono); color: var(--accent); font-size: 14px; }
.curtain-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3rem, 11vw, 10rem); line-height: .9; letter-spacing: -0.05em;
  overflow: hidden; padding-bottom: .06em;
}
.curtain-title .c { will-change: transform; }

/* =========================================================
   COMMAND PALETTE
   ========================================================= */
.palette { position: fixed; inset: 0; z-index: 160; display: grid; place-items: start center; padding: 14vh var(--gutter) 24px; }
.palette[hidden] { display: none; }
.palette-backdrop { position: absolute; inset: 0; background: rgba(12, 10, 9, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.palette-box {
  position: relative;
  width: min(640px, 100%);
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.palette-box::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent 70%); }
.palette-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.palette-prompt { color: var(--accent); }
.palette-input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--paper); font: inherit; font-size: 17px; }
.palette-input::placeholder { color: rgba(236, 234, 227, 0.35); }
.palette-list { list-style: none; max-height: min(56vh, 460px); overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.palette-group { padding: 12px 10px 6px; color: var(--muted); font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.palette-item {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 12px; border-radius: 8px;
  cursor: pointer;
  color: rgba(236, 234, 227, 0.75);
  transition: background-color .2s, color .2s;
}
.palette-item i { width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--line-2)); flex-shrink: 0; }
.palette-item b { font-weight: 500; flex: 1; }
.palette-item small { font-family: var(--f-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; }
.palette-item.is-sel { background: rgba(236, 234, 227, 0.07); color: var(--paper); }
.palette-item.is-sel small { color: var(--accent); }
.palette-item.is-sel::after { content: '↵'; font-family: var(--f-mono); font-size: 12px; color: var(--accent); }
.palette-empty { padding: 26px 12px; color: var(--muted); text-align: center; }
.palette-foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
@media (max-width: 560px) { .palette { padding-top: 10vh; } .palette-foot { display: none; } }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .grain { animation: none; }
}

/* =========================================================
   THE WALKING FOX  (assets/js/fox-walker.js)
   ========================================================= */
.fw { position: fixed; left: 0; right: 0; bottom: 0; height: 0; z-index: 85; pointer-events: none; }
.fw-sprite { position: absolute; left: 0; bottom: 4px; width: var(--fw-w, 150px); aspect-ratio: 244 / 148; will-change: transform; }
.fw-rot { width: 100%; height: 100%; transform-origin: 50% 100%; will-change: transform; }
.fw svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fw path, .fw circle { stroke-linejoin: round; stroke-linecap: round; }
.fw .o { fill: #EC7430; }
.fw .os { fill: #CF5C22; }
.fw .of { fill: #B44E1C; }
.fw .p { fill: #F6EFE3; }
.fw .k { fill: #2E211B; }
.fw .ink { fill: #1A1310; }
.fw .gl { fill: #fff; }
.fw .iris { fill: #7A4220; }
.fw .brow { fill: none; stroke: #CF5C22; stroke-width: 1.1; stroke-linecap: round; }
.fw .liner { fill: none; stroke: #1A1310; stroke-width: 1.1; stroke-linecap: round; }
.fw .pk { fill: #FF7BA3; }
.fw .lap { fill: #2E211B; }
.fw .scr { fill: #14110E; stroke: var(--accent); stroke-width: 1.4; }
.fw .code { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; opacity: .8; }
.fw .tg { opacity: 0; }
.fw .mouth { fill: none; stroke: #5A3A2A; stroke-width: .9; stroke-linecap: round; }
.fw svg { pointer-events: none; }
.fw path, .fw circle, .fw ellipse { pointer-events: fill; cursor: grab; touch-action: none; }
.fw path:active { cursor: grabbing; }
.has-cursor .fw path, .has-cursor .fw circle { cursor: none; }
.fw-bubble {
  position: absolute; left: 0; bottom: 0; max-width: min(260px, 70vw);
  padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ink-3); color: var(--paper);
  font-family: var(--f-mono); font-size: 11.5px; line-height: 1.35; letter-spacing: .01em;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; pointer-events: none; will-change: transform;
}
.fw-bubble.on { opacity: 1; visibility: visible; }
.fw-bubble::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: var(--ink-3); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: rotate(45deg); }
.fw-fx { position: absolute; left: 0; bottom: 0; }
.fw-p { position: absolute; left: 0; bottom: 0; pointer-events: none; }
.fw-p.dust { border-radius: 50%; background: rgba(236, 234, 227, 0.5); }
.fw-p.heart { color: #FF6FA3; font-size: 18px; line-height: 1; }
.fw-p.zz { color: var(--accent); font-family: var(--f-mono); font-size: 16px; font-weight: 500; line-height: 1; }
.fw-p.star { color: #FFB627; font-size: 15px; line-height: 1; }
.fw-p.note { color: var(--paper); font-size: 18px; line-height: 1; }
/* toys: treats, a ball, a laser dot */
.fw-toy { position: absolute; left: 0; bottom: 0; pointer-events: none; will-change: transform; }
.fw-treat { width: calc(var(--fw-w, 150px) * .065); aspect-ratio: 1.35; border-radius: 48% 52% 46% 54%; background: radial-gradient(circle at 34% 30%, #D69A5A, #8A5328 72%); box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.3); }
.fw-ball { width: calc(var(--fw-w, 150px) * .1); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #FFE7A3, #FFB627 46%, #C27D0C); pointer-events: auto; cursor: grab; touch-action: none; }
.fw-ball::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; border-left-color: rgba(255, 255, 255, 0.75); border-right-color: rgba(255, 255, 255, 0.75); transform: scaleX(.45); }
.has-cursor .fw-ball { cursor: none; }
.fw-laser { position: fixed; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #FF3B3B; box-shadow: 0 0 8px 3px rgba(255, 59, 59, 0.75), 0 0 26px 8px rgba(255, 59, 59, 0.3); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fw.is-laser .fw-laser { opacity: 1; }
.fw.is-front { z-index: 170; }
.fw.is-super .fw-sprite { animation: fw-super 1.1s linear infinite; }
@keyframes fw-super { from { filter: hue-rotate(0deg) saturate(1.5) drop-shadow(0 0 10px rgba(255, 182, 39, 0.7)); } to { filter: hue-rotate(360deg) saturate(1.5) drop-shadow(0 0 10px rgba(255, 182, 39, 0.7)); } }
@media (max-width: 640px) { .fw-bubble { font-size: 10.5px; padding: 6px 10px; } }
