/* ==========================================================================
   MIK.WF — feuille de style unique
   Noir, blanc cassé, jaune acide. Pictogrammes, cadres, bruit.
   ========================================================================== */

@font-face {
  font-family: 'Anton';
  src: url('/assets/fonts/anton-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-var.woff2') format('woff2');
  font-weight: 400 700;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/assets/fonts/spacemono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/assets/fonts/spacemono-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --ink: #f4f1e6;
  --ink-dim: #a5a295;
  --ink-faint: #625f55;
  --acid: #e8ff00;
  --acid-deep: #b8cc00;
  --cyan: #59f3ff;
  --pink: #ff3ea5;
  --signal-red: #ff3b2f;
  --signal-green: #00ff85;
  --panel: #0b0b09;
  --panel-2: #11110e;
  --line: rgba(244, 241, 230, 0.16);
  --line-strong: rgba(244, 241, 230, 0.38);
  --red: #ff4b3a;
  --topbar-h: 52px;
  --dock-h: 72px;
  --font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.62), 0 2px 0 rgba(255, 255, 255, 0.04) inset;
  --mx: 0;
  --my: 0;
}

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

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scrollbar-color: var(--acid) #0a0a08;
  scrollbar-width: thin;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-booting {
  overflow: hidden;
}

::selection {
  background: var(--acid);
  color: #050505;
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--acid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: none;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20000;
  padding: 10px 14px;
  background: var(--acid);
  color: #050505;
  font-family: var(--font-mono);
  font-size: 11px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}

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

/* --------------------------------------------------------------------------
   Décor de fond
   -------------------------------------------------------------------------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 12%, rgba(232, 255, 0, 0.055), transparent 44%),
    radial-gradient(ellipse at 10% 92%, rgba(244, 241, 230, 0.035), transparent 40%),
    #050505;
  pointer-events: none;
}

.bg__grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(244, 241, 230, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 230, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 72%);
  transform: translate3d(calc(var(--mx) * -8px), calc(var(--my) * -8px), 0);
  transition: transform 0.6s var(--ease);
}

.bg__halftone {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 241, 230, 0.22) 0.7px, transparent 0.8px);
  background-size: 9px 9px;
  opacity: 0.16;
  mask-image: linear-gradient(110deg, #000, transparent 42%, #000 92%);
}

.bg__glyph {
  position: absolute;
  color: var(--ink);
  opacity: 0.075;
  transform: translate3d(calc(var(--mx) * var(--depth) * 26px), calc(var(--my) * var(--depth) * 26px), 0);
  transition: transform 0.8s var(--ease);
  will-change: transform;
}

.bg__glyph svg {
  width: 100%;
  height: 100%;
  animation: glyph-drift 13s ease-in-out infinite alternate;
}

.bg__glyph--1 { width: 200px; height: 200px; left: 3%; top: 15%; color: var(--acid); opacity: 0.12; }
.bg__glyph--2 { width: 280px; height: 280px; right: 4%; top: 8%; animation-delay: -3s; }
.bg__glyph--3 { width: 170px; height: 170px; left: 7%; bottom: 9%; animation-delay: -6s; }
.bg__glyph--4 { width: 230px; height: 230px; right: 8%; bottom: 12%; color: var(--acid); opacity: 0.09; animation-delay: -9s; }
.bg__glyph--5 { width: 100px; height: 100px; left: 47%; top: 5%; color: var(--acid); opacity: 0.16; animation-delay: -1s; }

.bg__glyph:nth-child(2n) svg {
  animation-name: glyph-drift-alt;
}

.bg__word {
  position: absolute;
  right: -3vw;
  bottom: -9vw;
  font-family: var(--font-display);
  font-size: clamp(200px, 31vw, 600px);
  line-height: 0.72;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 230, 0.075);
  user-select: none;
}

.bg__type {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(120px, 19vw, 340px);
  line-height: 0.75;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 230, 0.065);
  user-select: none;
  pointer-events: none;
}

.bg__type--bass {
  left: -2vw;
  top: 5%;
  transform: rotate(-8deg);
}

.bg__type--kick {
  left: 24vw;
  bottom: -1%;
  transform: rotate(4deg);
  -webkit-text-stroke-color: rgba(255, 62, 165, 0.11);
}

/* Les cadres qui se chevauchent, avec les visages. */
.bg__frames {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg__frame {
  position: absolute;
  width: clamp(190px, 18vw, 300px);
  padding-bottom: 7px;
  border: 1px solid currentColor;
  background: rgba(4, 4, 3, 0.78);
  color: var(--cyan);
  box-shadow: 0 0 24px color-mix(in srgb, currentColor 22%, transparent), inset 0 0 18px rgba(0, 0, 0, 0.6);
  opacity: 0.2;
  filter: saturate(1.15);
  transform: translate3d(calc(var(--mx) * 8px), calc(var(--my) * 8px), 0);
  transition: transform 0.7s var(--ease);
}

.bg__frame--cyan { color: var(--cyan); }
.bg__frame--pink { color: var(--pink); }
.bg__frame--white { color: rgba(244, 241, 230, 0.8); }

.bg__frame--1 {
  right: 5%;
  top: 12%;
  transform: rotate(7deg) translate3d(calc(var(--mx) * 9px), calc(var(--my) * 9px), 0);
}

.bg__frame--2 {
  left: 3%;
  top: 46%;
  width: clamp(160px, 15vw, 240px);
  transform: rotate(-5deg) translate3d(calc(var(--mx) * -7px), calc(var(--my) * -7px), 0);
}

.bg__frame--3 {
  right: 18%;
  bottom: 7%;
  width: clamp(150px, 13vw, 210px);
  transform: rotate(-3deg) translate3d(calc(var(--mx) * 5px), calc(var(--my) * 5px), 0);
}

.bg__frame-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 3px;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.bg__frame-bar i {
  width: 4px;
  height: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex: none;
}

.bg__frame-faces {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 16px);
  padding: 13px 8px 5px;
}

.bg__frame-faces svg {
  width: clamp(22px, 2.3vw, 34px);
  height: clamp(22px, 2.3vw, 34px);
}

.bg__frame-caption {
  display: block;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 0.12em;
  text-align: center;
  opacity: 0.85;
}

.bg__coords {
  position: absolute;
  left: 22px;
  bottom: 88px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@keyframes glyph-drift {
  from { transform: rotate(-7deg) translateY(-8px); }
  to { transform: rotate(6deg) translateY(12px); }
}
@keyframes glyph-drift-alt {
  from { transform: rotate(9deg) translateY(10px) scale(0.96); }
  to { transform: rotate(-5deg) translateY(-12px) scale(1.03); }
}

/* --------------------------------------------------------------------------
   CRT / grain
   -------------------------------------------------------------------------- */

.crt {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0, rgba(0, 0, 0, 0.16) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.crt::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 48%, rgba(0, 0, 0, 0.5) 100%);
}

body.no-crt .crt {
  display: none;
}

/* --------------------------------------------------------------------------
   Barre système
   -------------------------------------------------------------------------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 7000;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  background: rgba(5, 5, 5, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--acid);
  color: #050505;
  border-radius: 50%;
  font-size: 22px;
  transition: transform 0.2s var(--ease), background 0.2s;
}

.brand:hover .brand__mark {
  transform: rotate(-10deg) scale(1.06);
  background: var(--ink);
}

.brand__word {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.035em;
  line-height: 1;
}

.brand__word span {
  color: var(--acid);
}

.brand__version {
  align-self: flex-end;
  margin-bottom: 4px;
  padding: 1px 4px;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.topbar__ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.ticker__track span {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.ticker__track b {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
}

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

.topbar__right {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}

.site-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 4px;
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.site-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(232, 255, 0, 0.7);
  animation: blink 2.4s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0.35; }
}

.iconbtn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.iconbtn svg {
  width: 17px;
  height: 17px;
}

.iconbtn:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: #050505;
}

.iconbtn--command {
  color: var(--acid);
}

.icon-sound-on { display: none; }
.sound-on .icon-sound-on { display: block; }
.sound-on .icon-sound-off { display: none; }

.clock {
  min-width: 71px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Bureau
   -------------------------------------------------------------------------- */

.desktop {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  bottom: var(--dock-h);
  z-index: 10;
}

.desktop-icons {
  position: absolute;
  top: 24px;
  left: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.deskicon {
  width: 88px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.deskicon__tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 8, 7, 0.72);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.42);
  transition: transform 0.16s var(--ease), background 0.16s, color 0.16s, border-color 0.16s;
}

.deskicon__tile svg {
  width: 29px;
  height: 29px;
}

.deskicon__tile--acid {
  background: var(--acid);
  color: #050505;
  border-color: var(--acid);
}

.deskicon__tile i {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  display: grid;
  place-items: center;
  background: #050505;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
}

.deskicon__label {
  padding: 1px 4px;
  background: rgba(5, 5, 5, 0.72);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.deskicon:hover .deskicon__tile,
.deskicon:focus-visible .deskicon__tile {
  transform: translate(-2px, -2px);
  background: var(--acid);
  border-color: var(--acid);
  color: #050505;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.5);
}

.deskicon:hover .deskicon__label,
.deskicon:focus-visible .deskicon__label {
  background: var(--acid);
  color: #050505;
}

.windows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.desktop-hint {
  position: absolute;
  left: 50%;
  bottom: 13px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.desktop-hint b {
  color: var(--acid);
  font-weight: 400;
}

body.has-windows .desktop-hint {
  opacity: 0;
}

.desktop-stamp {
  position: absolute;
  right: 20px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-align: right;
}

.desktop-stamp span:first-child {
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Fenêtres
   -------------------------------------------------------------------------- */

.window {
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z, 100);
  width: var(--w, 720px);
  height: var(--h, 520px);
  min-width: 320px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  pointer-events: auto;
  animation: window-in 0.24s var(--ease) both;
  transition: box-shadow 0.18s, border-color 0.18s, opacity 0.16s, transform 0.2s var(--ease), width 0.2s var(--ease), height 0.2s var(--ease);
}

.window.is-focused {
  border-color: var(--acid);
  box-shadow: 0 0 0 1px var(--acid), 0 28px 90px rgba(0, 0, 0, 0.72);
}

.window.is-dragging,
.window.is-resizing {
  transition: none;
  user-select: none;
}

.window.is-minimized {
  opacity: 0;
  transform: translate3d(var(--x), calc(var(--y) + 70px), 0) scale(0.97);
  pointer-events: none;
}

.window.is-closing {
  opacity: 0;
  transform: translate3d(var(--x), calc(var(--y) + 18px), 0) scale(0.98);
  pointer-events: none;
}

.window__bar {
  flex: none;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px 0 12px;
  background: #0e0e0b;
  border-bottom: 1px solid var(--line);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.window.is-focused .window__bar {
  border-bottom-color: var(--acid);
}

.window__bar:active {
  cursor: grabbing;
}

.window__icon {
  width: 18px;
  height: 18px;
  color: var(--acid);
  flex: none;
}

.window__title-wrap {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.window__title {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window.is-focused .window__title {
  color: var(--acid);
}

.window__sub {
  overflow: hidden;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window__buttons {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex: none;
}

.window__btn {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.window__btn svg {
  width: 11px;
  height: 11px;
}

.window__btn:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: #050505;
}

.window__btn--close:hover {
  border-color: var(--red);
  background: var(--red);
  color: #050505;
}

.window__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 28px 30px 32px;
  scrollbar-color: var(--acid) #0a0a08;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.window__body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.window__body::-webkit-scrollbar-track { background: #080806; }
.window__body::-webkit-scrollbar-thumb { background: var(--acid-deep); }

.window__resize {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  cursor: nwse-resize;
  background:
    linear-gradient(135deg, transparent 0 45%, var(--line-strong) 46% 52%, transparent 53% 62%, var(--line-strong) 63% 69%, transparent 70%);
  touch-action: none;
}

.window__resize:hover {
  background-color: rgba(232, 255, 0, 0.12);
}

@keyframes window-in {
  from {
    opacity: 0;
    transform: translate3d(var(--x), calc(var(--y) + 22px), 0) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translate3d(var(--x), var(--y), 0) scale(1);
  }
}

/* --------------------------------------------------------------------------
   Typographie des applications
   -------------------------------------------------------------------------- */

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow b {
  color: var(--ink-dim);
  font-weight: 400;
}

.lead {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.muted {
  color: var(--ink-dim);
}

.app-head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.app-head h2 {
  font-size: clamp(46px, 6.6vw, 78px);
}

.app-head__sub {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--ink-dim);
  font-size: 14px;
}

.app-head .display em {
  color: var(--acid);
  font-style: normal;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: #050505;
  transform: translateY(-1px);
}

.btn--acid {
  border-color: var(--acid);
  background: var(--acid);
  color: #050505;
}

.btn--acid:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn--danger:hover {
  border-color: var(--red);
  background: var(--red);
}

kbd {
  display: inline-block;
  padding: 1px 4px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.82em;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Bienvenue
   -------------------------------------------------------------------------- */

.app--welcome {
  position: relative;
}

.welcome__top {
  position: relative;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.welcome__title {
  max-width: 680px;
  font-size: clamp(54px, 8.4vw, 104px);
}

.welcome__title em {
  color: var(--acid);
  font-style: normal;
}

.welcome__sub {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.welcome__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr);
  gap: 28px;
  padding: 26px 0 22px;
}

.welcome__intro p {
  margin: 0 0 22px;
  color: var(--ink-dim);
  font-size: 14px;
}

.welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.welcome__meta {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.meta-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 0;
  border-bottom: 1px dotted var(--line);
}

.meta-row:last-child {
  border-bottom: 0;
}

.meta-row > span {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.meta-row > strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.meta-row > strong i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--acid);
  vertical-align: 1px;
}

.welcome__howto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.welcome__howto > div {
  padding: 16px 16px 4px 0;
}

.welcome__howto > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.welcome__howto svg {
  width: 22px;
  height: 22px;
  margin-bottom: 9px;
  color: var(--acid);
}

.welcome__howto span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.welcome__howto p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.45;
}

.welcome__note {
  margin: 20px 0 0;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.welcome__marquee {
  margin: 20px -30px -32px;
  overflow: hidden;
  border-top: 1px solid var(--acid);
  background: #050505;
  color: var(--acid);
}

.welcome__marquee div {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  padding: 5px 0;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}

.welcome__marquee span {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.welcome__marquee b {
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   À propos
   -------------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 30px;
}

.about__portrait {
  position: relative;
  align-self: start;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--acid);
  color: #050505;
  border: 1px solid var(--acid);
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}

.about__portrait svg {
  width: 58%;
  height: 58%;
}

.about__portrait::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(5, 5, 5, 0.4);
  pointer-events: none;
}

.about__stamp {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 6px;
  background: #050505;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.about__text .lead {
  margin: 0 0 18px;
}

.about__text > p {
  margin: 0 0 14px;
  color: var(--ink-dim);
  font-size: 14px;
}

.manifesto {
  margin: 24px 0;
  padding: 18px 0 18px 20px;
  border-left: 3px solid var(--acid);
  color: var(--acid);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 0.98;
  text-transform: uppercase;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.skills span {
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.picto-rack {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.picto-rack__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.picto-rack__head h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.picto-rack__head span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.picto-rack ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.picto-rack li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 64px;
  padding: 7px 4px;
  border: 1px solid var(--line);
  background: #090907;
  color: var(--ink-dim);
  text-align: center;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}

.picto-rack li:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: #050505;
}

.picto-rack li svg {
  width: 24px;
  height: 24px;
}

.picto-rack li span {
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.fragments {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.fragments h3 {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.fragments ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: frag;
}

.fragments li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px dotted var(--line);
}

.fragments .year {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.fragments h4 {
  margin: 0 0 3px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.fragments p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Projets
   -------------------------------------------------------------------------- */

.projects__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.searchbox {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #080806;
  color: var(--ink-faint);
}

.searchbox:focus-within {
  border-color: var(--acid);
  color: var(--acid);
}

.searchbox svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.searchbox input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.searchbox input::placeholder {
  color: var(--ink-faint);
}

.projects__count {
  flex: none;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 18px;
}

.chip {
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chip:hover,
.chip.is-active {
  border-color: var(--acid);
  background: var(--acid);
  color: #050505;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: #0a0a08;
  color: var(--ink);
  text-align: left;
  transition: border-color 0.16s, transform 0.16s var(--ease), background 0.16s;
}

.project-card:hover,
.project-card:focus-visible {
  border-color: var(--acid);
  transform: translateY(-2px);
  background: #0d0d0a;
}

.project-card[hidden] {
  display: none;
}

.project-card__cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0f0f0b;
  border-bottom: 1px solid var(--line);
}

.project-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: transform 0.4s var(--ease), filter 0.3s;
}

.project-card:hover .project-card__cover img {
  transform: scale(1.04);
  filter: grayscale(0.2) contrast(1.06);
}

.project-card__cover svg {
  width: 34%;
  height: 34%;
  max-width: 96px;
  max-height: 96px;
}

.project-card__cover .cover-index {
  position: absolute;
  right: 9px;
  bottom: 5px;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  opacity: 0.55;
}

.project-card__cover--acid {
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(5, 5, 5, 0.09) 12px 13px),
    var(--acid);
  color: #050505;
}

.project-card__cover--white {
  background:
    radial-gradient(circle at 75% 25%, rgba(232, 255, 0, 0.2), transparent 34%),
    #10100c;
  color: var(--ink);
}

.project-card__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 15px 15px;
}

.project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.project-card__meta .status {
  color: var(--acid);
}

.project-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 0.94;
  text-transform: uppercase;
}

.project-card p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 12px;
  line-height: 1.45;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}

.project-card__tags span {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-card__tags span + span::before {
  content: ' / ';
  color: var(--acid);
}

.project-card__open {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.project-card__open svg {
  width: 11px;
  height: 11px;
  transition: transform 0.16s;
}

.project-card:hover .project-card__open svg {
  transform: translate(2px, -2px);
}

.projects__empty {
  padding: 40px 10px;
  border: 1px dashed var(--line);
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
}

/* Détail projet */

.project-hero {
  position: relative;
  aspect-ratio: 21 / 8;
  display: grid;
  place-items: center;
  margin: -28px -30px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0f0f0b;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.project-hero--acid {
  background:
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(5, 5, 5, 0.08) 16px 17px),
    var(--acid);
  color: #050505;
}

.project-hero--white {
  background:
    radial-gradient(circle at 74% 10%, rgba(232, 255, 0, 0.24), transparent 32%),
    #10100c;
  color: var(--ink);
}

.project-hero svg {
  width: 100px;
  height: 100px;
}

.project-hero .cover-index {
  position: absolute;
  right: 16px;
  bottom: 6px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  opacity: 0.45;
}

.project-detail h2 {
  margin: 0 0 12px;
  font-size: clamp(48px, 6vw, 82px);
}

.project-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 18px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail__meta .status {
  color: var(--acid);
}

.project-detail .lead {
  margin: 0 0 22px;
}

.project-detail__description p {
  margin: 0 0 14px;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.65;
}

.project-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0;
}

.project-detail__tags span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.project-detail__none {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact__big {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  margin: 6px 0 26px;
  padding: 25px 24px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: #050505;
  text-align: left;
  transition: background 0.16s, color 0.16s, transform 0.16s;
}

.contact__big:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.contact__big span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.contact__big span svg {
  width: 19px;
  height: 19px;
}

.contact__big strong {
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.contact__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: #0a0a08;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.contact-link:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: #050505;
}

.contact-link > svg:first-child {
  width: 22px;
  height: 22px;
  flex: none;
}

.contact-link > svg:last-child {
  width: 14px;
  height: 14px;
  margin-left: auto;
  flex: none;
  opacity: 0.7;
}

.contact-link span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-link b {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.contact-link small {
  overflow: hidden;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-link:hover small {
  color: rgba(5, 5, 5, 0.7);
}

.contact__note {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px dotted var(--line);
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   MIK.FM
   -------------------------------------------------------------------------- */

.music__deck {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.music__art {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, transparent 24%, rgba(5, 5, 5, 0.08) 25% 26%, transparent 27%),
    var(--acid);
  color: #050505;
  border: 1px solid var(--acid);
}

.music__art svg {
  width: 58%;
  height: 58%;
}

.music__art::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(5, 5, 5, 0.35);
  border-radius: 50%;
}

.music__bpm {
  position: absolute;
  right: 9px;
  bottom: 7px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.music.is-playing .music__art svg {
  animation: pulse-icon 0.705s steps(2) infinite;
}

@keyframes pulse-icon {
  50% { transform: scale(1.08) rotate(2deg); }
}

.music__info h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.music__info > p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 12px;
}

.music__info .eyebrow {
  margin-bottom: 8px;
}

.music__hint {
  margin-top: 10px !important;
  color: var(--ink-faint) !important;
  font-family: var(--font-mono);
  font-size: 8px !important;
  line-height: 1.5;
}

.music__vizwrap {
  position: relative;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: #070705;
}

.music__vizwrap::before {
  content: 'SIGNAL / TEMPS RÉEL';
  position: absolute;
  top: 6px;
  left: 8px;
  z-index: 1;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.music__viz {
  display: block;
  width: 100%;
  height: 96px;
}

.music__audio {
  width: 100%;
  margin: 0 0 18px;
  accent-color: var(--acid);
}

.music__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.music__play {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: #050505;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.music__play:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.music__play svg {
  width: 16px;
  height: 16px;
}

.music__vol {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.music__vol input {
  width: 90px;
  accent-color: var(--acid);
}

.music__readout {
  display: flex;
  gap: 12px;
  margin-left: auto;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.music__readout .on {
  color: var(--acid);
}

.music__note {
  margin: 18px 0 0;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Terminal
   -------------------------------------------------------------------------- */

.window__body--terminal {
  padding: 0;
  background: #030302;
  overflow: hidden;
}

.terminal {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 14px;
  color: #d7d3c5;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.62;
}

.terminal__out {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-right: 8px;
  scrollbar-color: var(--acid-deep) #030302;
  scrollbar-width: thin;
}

.terminal__out p {
  margin: 0 0 3px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.terminal__out .t-acid { color: var(--acid); }
.terminal__out .t-dim { color: var(--ink-faint); }
.terminal__out .t-red { color: var(--red); }
.terminal__out .t-ink { color: var(--ink); }
.terminal__out .t-cmd { color: var(--acid); }

.terminal__form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(244, 241, 230, 0.09);
}

.terminal__prompt {
  flex: none;
  color: var(--acid);
  font-size: 10px;
}

.terminal__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  caret-color: var(--acid);
  font-family: var(--font-mono);
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   Aide
   -------------------------------------------------------------------------- */

.help__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.help__item {
  padding: 15px;
  border: 1px solid var(--line);
  background: #0a0a08;
}

.help__item .kbdrow {
  display: flex;
  gap: 4px;
  margin-bottom: 9px;
}

.help__item kbd {
  padding: 4px 7px;
  border-color: var(--acid);
  color: var(--acid);
  font-size: 9px;
}

.help__item p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 12px;
  line-height: 1.45;
}

.help__note {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px dotted var(--line);
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

/* --------------------------------------------------------------------------
   Réglages
   -------------------------------------------------------------------------- */

.setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.setting:first-of-type {
  border-top: 1px solid var(--line);
}

.setting h3 {
  margin: 0 0 3px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.setting p {
  max-width: 330px;
  margin: 0;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.45;
}

.switch {
  position: relative;
  flex: none;
  width: 46px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #0a0a08;
  transition: background 0.15s, border-color 0.15s;
}

.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--ink-faint);
  transition: transform 0.16s var(--ease), background 0.16s;
}

.switch[aria-checked="true"] {
  background: var(--acid);
  border-color: var(--acid);
}

.switch[aria-checked="true"]::after {
  background: #050505;
  transform: translateX(22px);
}

.settings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.settings__hint {
  margin: 20px 0 0;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Dock
   -------------------------------------------------------------------------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8000;
  height: var(--dock-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: rgba(5, 5, 5, 0.9);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.dock__start {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px 0 11px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: #050505;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: 1;
  flex: none;
}

.dock__start:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.dock__start-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 14px;
  height: 14px;
}

.dock__start-grid i {
  background: currentColor;
}

.dock__sep {
  width: 1px;
  height: 30px;
  background: var(--line);
  flex: none;
}

.dock__apps {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: visible;
}

.dock__app {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  flex: none;
  transition: background 0.14s, color 0.14s, border-color 0.14s, transform 0.14s;
}

.dock__app svg {
  width: 22px;
  height: 22px;
}

.dock__app > span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translate(-50%, 4px);
  padding: 4px 7px;
  border: 1px solid var(--acid);
  background: #050505;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.14s, transform 0.14s;
}

.dock__app:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: #050505;
  transform: translateY(-2px);
}

.dock__app:hover > span,
.dock__app:focus-visible > span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dock__app.is-running::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--acid);
}

.dock__app.is-running:hover::after {
  background: #050505;
}

.live-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  animation: blink 1.2s steps(1) infinite;
}

.dock__app.is-running .live-dot {
  background: #050505;
}

.dock__right {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  flex: none;
}

.dock__meta,
.dock__sound {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.dock__meta svg,
.dock__sound svg {
  width: 15px;
  height: 15px;
}

.dock__meta:hover,
.dock__sound:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.dock__meta kbd {
  font-size: 7px;
}

.dock__sound {
  color: var(--acid);
}

/* --------------------------------------------------------------------------
   Lanceur
   -------------------------------------------------------------------------- */

.launcher {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  padding: 20px;
}

.launcher__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.launcher__panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(92dvh, 820px);
  overflow: auto;
  padding: 24px 26px 20px;
  background: #080807;
  border: 1px solid var(--acid);
  box-shadow: 0 0 0 1px rgba(232, 255, 0, 0.2), 0 40px 120px rgba(0, 0, 0, 0.8);
  animation: panel-in 0.22s var(--ease) both;
  scrollbar-color: var(--acid) #080807;
  scrollbar-width: thin;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

.launcher__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.launcher__tag {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.launcher__titlewrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 20px;
}

.launcher__titlewrap h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  line-height: 0.87;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.launcher__titlewrap h2 em {
  color: var(--acid);
  font-style: normal;
}

.launcher__titlewrap p {
  max-width: 290px;
  margin: 0 0 4px;
  color: var(--ink-dim);
  font-size: 12px;
}

.launcher__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.launcher__app {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #0a0a08;
  color: var(--ink);
  text-align: left;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.launcher__app:hover,
.launcher__app:focus,
.launcher__app:focus-visible {
  border-color: var(--acid);
  background: var(--acid);
  color: #050505;
  transform: translateY(-2px);
}

.launcher__app:hover b,
.launcher__app:focus b,
.launcher__app:focus-visible b {
  color: #050505;
}

.launcher__app svg {
  width: 34px;
  height: 34px;
}

.launcher__app b {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  line-height: 0.94;
  text-transform: uppercase;
}

.launcher__app small {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.launcher__app:hover small {
  color: rgba(5, 5, 5, 0.62);
}

.launcher__app .num {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.launcher__app:hover .num {
  color: rgba(5, 5, 5, 0.55);
}

.launcher__foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.launcher__foot b {
  color: var(--acid);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Palette de commandes
   -------------------------------------------------------------------------- */

.palette {
  position: fixed;
  inset: 0;
  z-index: 9600;
  padding: 16vh 16px 16px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.palette__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
}

.palette__panel {
  position: relative;
  width: min(680px, 100%);
  background: #080807;
  border: 1px solid var(--acid);
  box-shadow: 0 0 0 1px rgba(232, 255, 0, 0.16), 0 30px 110px rgba(0, 0, 0, 0.82);
  animation: panel-in 0.18s var(--ease) both;
}

.palette__bar {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
}

.palette__bar > svg {
  width: 19px;
  height: 19px;
  color: var(--acid);
  flex: none;
}

.palette__bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.palette__bar input::placeholder {
  color: var(--ink-faint);
}

.palette__bar kbd {
  flex: none;
  color: var(--ink-faint);
  font-size: 8px;
}

.palette__results {
  max-height: min(50vh, 420px);
  margin: 0;
  padding: 6px;
  overflow: auto;
  list-style: none;
  scrollbar-color: var(--acid) #080807;
  scrollbar-width: thin;
}

.palette__item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 11px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-dim);
  text-align: left;
}

.palette__item svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.palette__item b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.palette__item small {
  margin-left: auto;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.palette__item.is-active,
.palette__item:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: #050505;
}

.palette__item.is-active b,
.palette__item:hover b {
  color: #050505;
}

.palette__item.is-active small,
.palette__item:hover small {
  color: rgba(5, 5, 5, 0.62);
}

.palette__empty {
  padding: 22px 14px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
}

.palette__foot {
  display: flex;
  gap: 18px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.07em;
}

.palette__foot span:last-child {
  margin-left: auto;
  color: var(--acid);
}

.palette__foot kbd {
  padding: 0 3px;
  font-size: 7px;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--dock-h) + 18px);
  z-index: 9800;
  max-width: min(520px, calc(100vw - 30px));
  padding: 10px 14px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: #050505;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.is-error {
  background: var(--red);
  border-color: var(--red);
}

/* --------------------------------------------------------------------------
   Boot
   -------------------------------------------------------------------------- */

.boot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050505;
  transition: opacity 0.38s var(--ease), visibility 0.38s;
}

.boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot__noise {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.boot__inner {
  position: relative;
  width: min(920px, 90vw);
  padding: 30px 0;
}

.boot__meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.boot__logo {
  position: relative;
  margin: 5vh 0 4vh;
  font-family: var(--font-display);
  font-size: clamp(76px, 16vw, 190px);
  line-height: 0.8;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.boot__logo > span {
  display: block;
}

.boot__logo span span {
  color: var(--acid);
}

.boot__logo-layer--a {
  position: relative;
  z-index: 2;
  color: var(--ink);
}

.boot__logo-layer--b,
.boot__logo-layer--c {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.boot__logo-layer--b {
  color: var(--acid);
  transform: translate(5px, 2px);
  clip-path: inset(18% 0 54% 0);
  animation: glitch-a 2.4s steps(1) infinite;
}

.boot__logo-layer--c {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 230, 0.45);
  transform: translate(-6px, -2px);
  clip-path: inset(58% 0 14% 0);
  animation: glitch-b 3.2s steps(1) infinite;
}

@keyframes glitch-a {
  0%, 88%, 100% { transform: translate(5px, 2px); }
  90% { transform: translate(14px, -3px); }
  92% { transform: translate(-8px, 2px); }
  94% { transform: translate(5px, 2px); }
}
@keyframes glitch-b {
  0%, 82%, 100% { transform: translate(-6px, -2px); }
  84% { transform: translate(-18px, 4px); }
  86% { transform: translate(9px, -2px); }
  88% { transform: translate(-6px, -2px); }
}

.boot__logwrap {
  max-width: 620px;
}

.boot__log {
  min-height: 118px;
  margin: 0 0 14px;
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.boot__log .ok { color: var(--acid); }
.boot__log .off { color: var(--ink-faint); }

.boot__bar {
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.boot__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(232, 255, 0, 0.55);
  transition: width 0.4s var(--ease);
}

.boot__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.boot__enter {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: #050505;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.boot__enter svg {
  width: 18px;
  height: 18px;
  margin-left: auto;
}

.boot__enter:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.boot__hint {
  margin: 0;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.boot__hint kbd {
  font-size: 7px;
}

.boot__pictos {
  display: flex;
  gap: 18px;
  margin-top: 5vh;
  color: var(--ink-faint);
}

.boot__pictos svg {
  width: 24px;
  height: 24px;
  animation: picto-bob 0.85s steps(2) infinite;
}

.boot__pictos svg:nth-child(2) { animation-delay: 0.1s; color: var(--acid); }
.boot__pictos svg:nth-child(3) { animation-delay: 0.2s; }
.boot__pictos svg:nth-child(4) { animation-delay: 0.3s; color: var(--acid); }
.boot__pictos svg:nth-child(5) { animation-delay: 0.4s; }

@keyframes picto-bob {
  50% { transform: translateY(-4px); }
}

/* --------------------------------------------------------------------------
   Accessibilité / mouvement
   -------------------------------------------------------------------------- */

.sr-only:focus,
.sr-only:active {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

body.reduce-motion .bg__glyph,
body.reduce-motion .bg__frame,
body.reduce-motion .bg__grid {
  transform: none !important;
}

body.reduce-motion .ticker__track {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .site-status { display: none !important; }
  .topbar__ticker { mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); }
  .dock__meta span { display: none; }
  .dock__meta kbd { display: none; }
}

@media (max-width: 980px) {
  .desktop-icons {
    display: grid;
    grid-template-columns: repeat(3, 88px);
    gap: 12px 8px;
  }
  .launcher__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .welcome__grid { grid-template-columns: 1fr; }
  .welcome__meta { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .meta-row:nth-child(3) { border-bottom: 0; }
}

@media (max-width: 760px) {
  :root {
    --topbar-h: 46px;
    --dock-h: 60px;
  }

  .topbar { gap: 10px; padding: 0 10px; }
  .brand__word { font-size: 19px; }
  .brand__version { display: none; }
  .brand__mark { width: 26px; height: 26px; font-size: 19px; }
  .topbar__ticker { display: none; }
  .topbar__right { margin-left: auto; }
  .clock { min-width: 61px; font-size: 9px; }
  .topbar .iconbtn { width: 30px; height: 30px; }
  .topbar [data-sound-toggle] { display: none; }

  .desktop {
    top: var(--topbar-h);
    bottom: var(--dock-h);
    overflow: hidden;
  }

  .desktop-icons {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    grid-template-columns: repeat(3, 82px);
    gap: 14px 6px;
    width: min(360px, 92vw);
    justify-content: center;
  }

  .deskicon { width: 82px; }
  .deskicon__tile { width: 50px; height: 50px; }
  .deskicon__tile svg { width: 27px; height: 27px; }
  .deskicon__label { font-size: 7px; }

  .desktop-hint,
  .desktop-stamp,
  .desktop .bg__coords { display: none; }

  .window {
    --x: 0 !important;
    --y: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
    min-height: 0;
    transform: none !important;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
    animation: none;
  }

  .window.is-focused { box-shadow: inset 0 2px 0 var(--acid); }

  .window__bar {
    height: 44px;
    padding-left: 14px;
  }

  .window__sub { display: none; }
  .window__btn { width: 30px; height: 30px; }
  .window__btn svg { width: 13px; height: 13px; }
  .window__btn--max { display: none; }
  .window__resize { display: none; }

  .window__body { padding: 20px 18px 26px; }

  .app-head { margin-bottom: 20px; padding-bottom: 16px; }
  .app-head h2 { font-size: clamp(42px, 12vw, 66px); }

  .welcome__title { font-size: clamp(48px, 13vw, 82px); }
  .welcome__sub { font-size: 15px; }
  .welcome__grid { gap: 20px; padding: 20px 0 18px; }
  .welcome__meta { grid-template-columns: 1fr 1fr; }
  .welcome__howto { grid-template-columns: 1fr; }
  .welcome__howto > div { padding: 12px 0; }
  .welcome__howto > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }

  .about__grid { grid-template-columns: 1fr; gap: 20px; }
  .about__portrait { width: 150px; aspect-ratio: 1; }
  .about__portrait svg { width: 54%; height: 54%; }
  .manifesto { font-size: 30px; }
  .picto-rack ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .picto-rack li { min-height: 58px; }
  .fragments li { grid-template-columns: 1fr; gap: 4px; }
  .fragments .year { margin-bottom: 2px; }

  .projects__bar { flex-wrap: wrap; }
  .searchbox { flex-basis: 100%; }
  .projects__grid { grid-template-columns: 1fr; }
  .project-hero { margin: -20px -18px 20px; aspect-ratio: 16 / 8; }
  .project-hero .cover-index { font-size: 50px; }

  .contact__links { grid-template-columns: 1fr; }
  .contact__big { padding: 20px 18px; }
  .contact__big strong { font-size: clamp(30px, 9.4vw, 46px); }

  .music__deck { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .music__viz { height: 72px; }
  .music__readout { width: 100%; margin-left: 0; }
  .music__vol { flex: 1; }
  .music__vol input { flex: 1; width: auto; }

  .help__grid { grid-template-columns: 1fr; }

  .dock { gap: 7px; padding: 0 9px; }
  .dock__start { height: 40px; padding: 0 10px; font-size: 16px; }
  .dock__start-grid { width: 12px; height: 12px; }
  .dock__sep { display: none; }
  .dock__apps { flex: 1; overflow-x: auto; scrollbar-width: none; padding: 3px 0; }
  .dock__apps::-webkit-scrollbar { display: none; }
  .dock__app { width: 38px; height: 38px; }
  .dock__app svg { width: 20px; height: 20px; }
  .dock__right { gap: 5px; }
  .dock__meta { display: none; }
  .dock__sound { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .dock__sound span { display: none; }

  .launcher { padding: 8px; }
  .launcher__panel { padding: 18px 16px 14px; max-height: 96dvh; }
  .launcher__titlewrap { display: block; padding: 18px 0 16px; }
  .launcher__titlewrap h2 { font-size: clamp(40px, 11vw, 58px); }
  .launcher__titlewrap p { margin-top: 12px; }
  .launcher__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launcher__app { min-height: 108px; padding: 12px; }
  .launcher__app svg { width: 28px; height: 28px; }
  .launcher__app b { font-size: 20px; }
  .launcher__foot { font-size: 7px; }

  .palette { padding-top: 9vh; }
  .palette__panel { width: 100%; }
  .palette__results { max-height: 58vh; }
  .palette__item small { display: none; }

  .boot__inner { width: 88vw; }
  .boot__meta { font-size: 7px; }
  .boot__logo { font-size: clamp(58px, 18vw, 110px); margin: 7vh 0 5vh; }
  .boot__log { font-size: 8px; min-height: 100px; }
  .boot__actions { gap: 14px; margin-top: 22px; }
  .boot__enter { min-width: 160px; height: 44px; }
  .boot__hint { font-size: 7px; }
  .boot__pictos { margin-top: 4vh; gap: 13px; }
  .boot__pictos svg { width: 20px; height: 20px; }

  .toast { bottom: calc(var(--dock-h) + 12px); }

  .bg__glyph--2 { width: 180px; height: 180px; }
  .bg__glyph--4 { width: 150px; height: 150px; }
  .bg__word { font-size: 48vw; opacity: 0.6; }
  .bg__frames,
  .bg__type { display: none; }
  .welcome__marquee { margin: 18px -18px -26px; }
  .welcome__marquee span { font-size: 15px; }
}

@media (max-width: 430px) {
  .clock { display: none; }
  .desktop-icons { grid-template-columns: repeat(3, 78px); }
  .deskicon { width: 78px; }
  .welcome__actions { flex-direction: column; align-items: stretch; }
  .welcome__actions .btn { width: 100%; }
  .welcome__meta { grid-template-columns: 1fr; }
  .meta-row:nth-child(3) { border-bottom: 1px dotted var(--line); }
  .music__deck { grid-template-columns: 82px minmax(0, 1fr); }
  .music__controls { gap: 10px; }
  .music__play { width: 100%; justify-content: center; }
  .launcher__grid { gap: 6px; }
  .launcher__app b { font-size: 18px; }
}

@media (max-height: 650px) and (min-width: 761px) {
  .boot__logo { margin: 3vh 0 3vh; font-size: clamp(64px, 13vw, 130px); }
  .boot__log { min-height: 80px; }
  .boot__pictos { margin-top: 3vh; }
}

/* --------------------------------------------------------------------------
   Impression
   -------------------------------------------------------------------------- */

@media print {
  .boot, .dock, .topbar, .bg, .crt, .desktop-icons, .desktop-hint, .desktop-stamp, .launcher, .palette, .toast { display: none !important; }
  body { overflow: visible; background: #fff; color: #000; }
  .desktop, .windows, .window { position: static; width: auto !important; height: auto !important; transform: none !important; display: block; border: 0; box-shadow: none; }
  .window__bar { display: none; }
  .window__body { overflow: visible; padding: 0; }
  .window { display: none; }
  .window.is-focused { display: block; }
}
