/* ==========================================================================
   Portfolio — Léa Jorion
   Direction : Y2K nocturne · violet profond, rose bonbon, reflets chrome
   ========================================================================== */

:root {
  --bg: #09050f;
  --bg-2: #100819;
  --ink: #f7f1ff;
  --dim: #b9aad4;
  --mute: #7f7099;
  --violet: #7c3aed;
  --mauve: #a855f7;
  --pink: #ff5cb8;
  --pink-2: #ffb4e2;
  --lilac: #e9dbff;
  --lime: #c8ff55;
  --paper: #f5eeff;
  --plum: #24103a;
  --line: rgba(255, 255, 255, .13);
  --glass: rgba(22, 11, 38, .55);

  --f-display: 'Bagel Fat One', 'Arial Rounded MT Bold', 'Arial Black', system-ui, sans-serif;
  --f-black: var(--f-display);
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-body: 'Quicksand', 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

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

/* ───────── Reset & base ───────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped, html.lb-open { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 500 1.02rem/1.6 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--pink); color: #12081f; }

:focus-visible { outline: 2px solid var(--pink-2); outline-offset: 3px; border-radius: 8px; }

.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }

.wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }

/* curseur natif masqué seulement quand le curseur custom est actif */
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor input, html.has-cursor textarea { cursor: none; }

/* ───────── Titres partagés ───────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font: 700 .74rem/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--dim);
}
.eyebrow span { padding: .35rem .65rem; border-radius: 99px; border: 1px solid var(--line); color: var(--pink-2); letter-spacing: .08em; }
.eyebrow--dark { color: #6b5a86; }
.eyebrow--dark span { border-color: rgba(36, 16, 58, .2); color: var(--violet); }

.h2 { font: 800 clamp(2rem, 4.4vw, 3.9rem)/1.06 var(--f-display); letter-spacing: -.015em; margin: 1.4rem 0 1.8rem; }
.h2 em, .mega em, .giant em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.007em; text-transform: none; }
.h2 em { font-size: 1.12em; color: var(--pink-2); }

.mega { font: 800 clamp(3rem, 9.4vw, 9rem)/.92 var(--f-display); letter-spacing: -.020em; text-transform: uppercase; }
.mega em { font-size: 1.12em; line-height: .8; }
.mega--sm { font-size: clamp(2.2rem, 6vw, 5rem); }
.mega--dark { color: var(--plum); }

.giant { font: 900 clamp(3.2rem, 11vw, 11.5rem)/.9 var(--f-display); letter-spacing: -.020em; text-transform: uppercase; margin: 1.4rem 0 clamp(50px, 7vw, 100px); }
.giant em { font-size: 1.1em; }

.grad {
  --g: linear-gradient(100deg, var(--pink-2), var(--pink) 40%, var(--mauve) 75%, var(--pink-2));
  background-image: var(--g); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: shine 6s linear infinite;
}
.grad--dark { --g: linear-gradient(100deg, var(--violet), var(--pink) 50%, var(--violet)); }
/* quand le texte est découpé en mots, le dégradé passe sur chaque mot (sinon il disparaît avec les transforms) */
.grad.is-split { background: none; -webkit-text-fill-color: initial; color: inherit; animation: none; }
.grad.is-split .w__in { background-image: var(--g); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: shine 6s linear infinite; }

/* masques de révélation de mots (injectés par JS) */
.w { display: inline-block; overflow: hidden; padding: .16em .04em .12em; margin: -.16em -.04em -.12em; vertical-align: top; }
.w__in { display: inline-block; will-change: transform; }
.sw { transition: none; }

/* ───────── Préchargeur ───────── */
.pre { display: none; }
.js .pre { display: block; position: fixed; inset: 0; z-index: 10000; }
.force-show .pre { display: none !important; }
.pre__strips { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.pre__strips i { background: #0c0615; transform-origin: top; border-right: 1px solid rgba(255, 255, 255, .03); }
.pre__inner { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.3rem; text-align: center; }
.pre__spark { width: 34px; height: 34px; color: var(--pink); animation: spin 3s linear infinite; }
.pre__count {
  font: 900 clamp(5.5rem, 18vw, 13rem)/1 var(--f-display); letter-spacing: -.023em;
  background: linear-gradient(100deg, #fff, #ffd6f0 30%, #c7a0ff 60%, #fff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.pre__count small { font-size: .26em; letter-spacing: 0; margin-left: .1em; vertical-align: top; display: inline-block; margin-top: .5em; }
.pre__name { font: 700 .78rem var(--f-body); letter-spacing: .34em; text-transform: uppercase; color: var(--dim); }
.pre__name span { color: var(--pink-2); }
.pre__bar { width: min(320px, 62vw); height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.pre__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--pink)); transform: scaleX(0); transform-origin: left; }

/* ───────── Barre de progression, grain, curseur ───────── */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 900; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--pink), var(--pink-2)); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 18px var(--pink); }

.grain {
  position: fixed; inset: -100%; width: 300%; height: 300%; pointer-events: none; z-index: 9000; opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(7) infinite;
}

.cursor { display: none; position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; mix-blend-mode: difference; }
html.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; }
.cursor__ring {
  position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .85); display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s;
}
.cursor__label { font: 800 .68rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .25s; }
.cursor.is-link .cursor__ring { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(255, 255, 255, .22); }
.cursor.is-view .cursor__ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: #fff; border-color: #fff; }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform: scale(.85); }

/* ───────── Boutons ───────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  padding: 1.05em 1.7em; border-radius: 99px; font: 700 .95rem/1 var(--f-body); letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap; will-change: transform;
  transition: box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn > * { position: relative; z-index: 2; pointer-events: none; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::before { transform: translateX(120%); }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--fill { background: linear-gradient(115deg, var(--violet), var(--pink) 85%); color: #fff; box-shadow: 0 10px 40px -8px rgba(255, 92, 184, .55), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--fill:hover { box-shadow: 0 16px 50px -6px rgba(255, 92, 184, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, .05); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--pink-2); background: rgba(255, 255, 255, .1); }
.btn--dark { background: #fff; color: var(--plum); }
.btn--sm { padding: .85em 1.35em; font-size: .88rem; }
.btn--block { width: 100%; padding: 1.25em; }

/* ───────── Navigation ───────── */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 600; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); pointer-events: none; transition: transform .7s var(--ease);
}
.nav > * { pointer-events: auto; }
.nav.is-hidden { transform: translateY(-150%); }

.nav__logo, .nav__links {
  background: var(--glass); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--line); border-radius: 99px;
}
.nav__logo { display: flex; align-items: center; gap: .6rem; padding: .35rem 1.05rem .35rem .35rem; font: 800 .95rem var(--f-display); letter-spacing: -.013em; }
.nav__logo img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #fff; }
.nav__logo i { color: var(--pink); font-style: normal; }

.nav__links { position: relative; display: flex; gap: .15rem; padding: .32rem; }
.nav__links a { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; padding: .62rem 1.15rem; border-radius: 99px; font-weight: 600; font-size: .92rem; color: var(--dim); transition: color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a .ico { width: .8em; height: .8em; transition: transform .4s var(--ease); }
.nav__pill { position: absolute; z-index: 1; top: .32rem; bottom: .32rem; left: 0; width: 0; border-radius: 99px; background: rgba(255, 255, 255, .12); opacity: 0; }

.nav__dd { position: relative; display: flex; }
.nav__dd:hover > a .ico { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 16px); left: 50%; min-width: 210px; padding: .5rem; border-radius: 22px;
  background: rgba(18, 9, 32, .94); backdrop-filter: blur(22px); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.96); transform-origin: top center;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__dd:hover .nav__menu, .nav__dd:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.nav__menu a { display: flex; padding: .7rem 1rem; border-radius: 14px; }
.nav__menu a:hover { background: linear-gradient(110deg, rgba(124, 58, 237, .5), rgba(255, 92, 184, .4)); color: #fff; }

.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--glass); backdrop-filter: blur(16px); border: 1px solid var(--line); position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:nth-child(1) { top: 20px; }
.nav__burger span:nth-child(2) { top: 27px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 550; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  background: radial-gradient(circle at 80% 10%, rgba(255, 92, 184, .3), transparent 50%), radial-gradient(circle at 0 100%, rgba(124, 58, 237, .5), transparent 55%), #0b0614;
  clip-path: circle(0 at calc(100% - 44px) 40px); visibility: hidden; pointer-events: none;
}
.menu.is-open { pointer-events: auto; visibility: visible; }
.menu__links { display: grid; gap: .3rem; }
.menu__links a { display: flex; align-items: baseline; gap: 1rem; font: 800 clamp(2.4rem, 11vw, 4.5rem)/1.15 var(--f-display); letter-spacing: -.017em; overflow: hidden; }
.menu__links a span { font: 600 .8rem var(--f-body); letter-spacing: .1em; color: var(--pink-2); }
.menu__foot { margin-top: 2.5rem; color: var(--dim); font-size: .95rem; }

/* points latéraux */
.dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 400; display: grid; gap: 14px; }
.dots a { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); transition: all .4s var(--ease); mix-blend-mode: difference; }
.dots a span { position: absolute; right: 22px; top: 50%; transform: translate(8px, -50%); font: 700 .68rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #fff; opacity: 0; white-space: nowrap; transition: all .4s var(--ease); pointer-events: none; }
.dots a:hover span { opacity: 1; transform: translate(0, -50%); }
.dots a.is-active { background: #fff; transform: scale(1.5); }

/* ───────── HERO ───────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: clamp(120px, 15vh, 170px) var(--gutter) clamp(90px, 12vh, 140px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26vh; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob--a { width: 62vmax; height: 62vmax; left: -18vmax; top: -24vmax; background: radial-gradient(circle at 40% 40%, rgba(124, 58, 237, .85), rgba(124, 58, 237, 0) 64%); animation: drift1 19s ease-in-out infinite alternate; }
.blob--b { width: 52vmax; height: 52vmax; right: -14vmax; top: 4vmax; background: radial-gradient(circle, rgba(255, 92, 184, .6), rgba(255, 92, 184, 0) 62%); animation: drift2 23s ease-in-out infinite alternate; }
.blob--c { width: 46vmax; height: 46vmax; left: 22%; bottom: -28vmax; background: radial-gradient(circle, rgba(99, 102, 241, .5), rgba(99, 102, 241, 0) 62%); animation: drift3 27s ease-in-out infinite alternate; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 45% 45%, #000 15%, transparent 78%); mask-image: radial-gradient(ellipse 75% 65% at 45% 45%, #000 15%, transparent 78%);
}
.hero__spot { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 150, 225, .18), transparent 62%); }

.hero__inner { position: relative; z-index: 5; width: 100%; }
.hero__status { display: inline-flex; align-items: center; gap: .7rem; padding: .55rem 1.1rem .55rem .9rem; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); backdrop-filter: blur(12px); font: 600 .84rem var(--f-body); color: var(--lilac); }
.dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--lime); animation: ping 2s ease-out infinite; }

.hero__title { font: 900 clamp(3.2rem, 17vw, 17rem)/.86 var(--f-black); letter-spacing: -.018em; text-transform: uppercase; margin: 2.4rem 0 1.6rem -.04em; }
.line { display: block; overflow: hidden; padding: .42em .1em .08em; margin: -.42em -.1em -.08em; }
.line__in { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; padding-top: .34em; margin-top: -.34em; will-change: transform; }  /* le padding laisse la place aux accents (sinon background-clip:text les coupe) */
.chrome .ch {
  background: linear-gradient(100deg, #fff 0%, #ffd6f0 22%, #c7a0ff 44%, #fff 58%, #ff9edb 78%, #fff 100%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 7s linear infinite;
}
.outline { letter-spacing: -.002em; filter: url(#ol-hero); }
.outline .ch { color: #fff; -webkit-text-fill-color: #fff; transition: transform .5s var(--ease); }
.outline .ch:hover { transform: translateY(-.07em) rotate(-3deg); }

.hero__role { display: flex; align-items: center; gap: .6rem; font: 800 clamp(1.1rem, 2.1vw, 1.7rem) var(--f-display); letter-spacing: -.010em; text-transform: uppercase; }
.hero__role em { font: italic 400 1.35em var(--f-serif); text-transform: none; letter-spacing: -.003em; color: var(--pink-2); margin-right: .1em; }
.hero__role .spark { width: .8em; height: .8em; color: var(--pink); animation: spin 6s linear infinite; }
.hero__lead { max-width: 36ch; margin: 1.1rem 0 2.1rem; color: var(--dim); font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.6; }
.hero__lead strong { color: #fff; font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.float { position: absolute; will-change: transform; }
.float img { width: 100%; height: auto; animation: bob 7s ease-in-out infinite; }
.float--shoe { right: -1%; top: 15%; width: min(45vw, 720px); z-index: 4; }
.float--shoe img { filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)) drop-shadow(0 0 60px rgba(255, 92, 184, .35)); transform: rotate(-12deg); animation-name: bobRot; }
.float--logo { right: 30%; top: 11%; width: min(19vw, 300px); z-index: 1; }
.float--logo img { filter: drop-shadow(0 20px 40px rgba(255, 92, 184, .4)); animation-duration: 9s; animation-delay: -3s; }
.float--poster { right: 4.5%; bottom: 7%; width: min(14.5vw, 240px); z-index: 5; }
.float--poster img { border-radius: 18px; box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .15); transform: rotate(8deg); animation-name: bobRot2; animation-duration: 8s; }
.float--key { right: 23%; bottom: 5%; width: min(13.5vw, 220px); z-index: 5; }
.float--key img { border-radius: 22px; box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .15); transform: rotate(-9deg); animation-name: bobRot3; animation-duration: 6.5s; }
.float--s1, .float--s2, .float--s3 { animation: twinkle 3.5s ease-in-out infinite; z-index: 6; }
.float--s1 { right: 43%; top: 26%; width: 46px; height: 46px; color: var(--pink); }
.float--s2 { right: 7%; top: 13%; width: 30px; height: 30px; color: var(--lilac); animation-delay: -1.2s; }
.float--s3 { right: 19%; top: 62%; width: 24px; height: 24px; color: var(--lime); animation-delay: -2.2s; }

.hero__badge { position: absolute; left: 50%; margin-left: -56px; bottom: 34px; z-index: 6; width: 112px; height: 112px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.hero__badge-text { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); animation: spin 16s linear infinite; }
.hero__badge-text text { font: 700 15.5px var(--f-body); letter-spacing: .06em; fill: var(--lilac); }
.hero__badge-arrow { width: 26px; height: 26px; color: var(--pink-2); animation: nudge 1.8s ease-in-out infinite; }

/* ───────── MARQUEE ───────── */
.marquee { display: grid; padding: clamp(50px, 7vw, 110px) 0; overflow: hidden; position: relative; z-index: 3; }
.marquee__band { grid-area: 1 / 1; align-self: center; white-space: nowrap; overflow: hidden; padding: 1.05rem 0; }
.marquee__band--a { background: linear-gradient(90deg, var(--violet), var(--pink) 55%, var(--pink-2)); color: #12081f; transform: rotate(-2.4deg) scale(1.06); box-shadow: 0 24px 80px -10px rgba(255, 92, 184, .45); }
.marquee__band--b .mq, .footer__marquee .mq { font-family: var(--f-black); font-weight: 900; }
.marquee__band--b { background: #0e0718; border-block: 1px solid var(--line); color: rgba(255, 255, 255, .17); transform: rotate(1.8deg) scale(1.06); z-index: -1; }
.marquee__track { display: inline-flex; align-items: center; width: max-content; will-change: transform; }
.mq { display: inline-flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); padding-right: clamp(1.2rem, 3vw, 2.6rem); font: 800 clamp(1.6rem, 4.3vw, 3.6rem)/1.1 var(--f-display); letter-spacing: -.015em; text-transform: uppercase; }
.mq .ico { width: .7em; height: .7em; }
.marquee__band--a .mq .ico { color: #fff; }
.marquee__band--b .mq .ico { color: var(--pink); }

/* ───────── PROFIL ───────── */
.about { position: relative; padding: clamp(60px, 8vw, 120px) 0 clamp(90px, 12vw, 180px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__photo { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.about__ring {
  position: absolute; inset: -16px; border-radius: 50%; background: conic-gradient(from 0deg, var(--pink), var(--violet), var(--pink-2), var(--mauve), var(--pink));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 9s linear infinite; opacity: .95;
}
.about__photo::before { content: ""; position: absolute; inset: -18%; z-index: -1; background: radial-gradient(circle, rgba(255, 92, 184, .35), transparent 62%); filter: blur(10px); }
.about__img { width: 100%; height: 100%; overflow: hidden; border-radius: 62% 38% 46% 54% / 55% 45% 55% 45%; animation: morph 11s ease-in-out infinite; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); background: var(--plum); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }

.sticker { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1rem; border-radius: 99px; font: 700 .82rem var(--f-body); white-space: nowrap; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6); z-index: 3; }
.sticker .ico { width: 1.05em; height: 1.05em; }
.sticker--a { left: -6%; top: 10%; background: #fff; color: var(--plum); transform: rotate(-8deg); animation: bobRot 6s ease-in-out infinite; }
.sticker--b { right: -8%; top: 64%; background: linear-gradient(115deg, var(--violet), var(--pink)); color: #fff; transform: rotate(6deg); animation: bobRot2 7s ease-in-out infinite; }
.sticker--c { left: 6%; bottom: 0; background: var(--lime); color: #15230a; transform: rotate(-4deg); animation: bobRot3 8s ease-in-out infinite; }

.about__lead { font: 500 clamp(1.2rem, 2vw, 1.75rem)/1.5 var(--f-body); letter-spacing: -.003em; margin-bottom: 2.4rem; }
.sw { opacity: .16; }
.chips-title { font: 700 .74rem var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .7rem 1.2rem; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-weight: 700; font-size: .92rem; transition: background .35s, border-color .35s, transform .5s var(--ease), color .3s; }
.chips li:hover { background: linear-gradient(115deg, var(--violet), var(--pink)); border-color: transparent; transform: translateY(-4px) rotate(-2deg); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: clamp(70px, 9vw, 130px); }
.stat { padding: 1.6rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); position: relative; overflow: hidden; transition: transform .6s var(--ease), border-color .4s; }
.stat::after { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; top: -50px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 92, 184, .35), transparent 65%); opacity: 0; transition: opacity .5s; }
.stat:hover { transform: translateY(-6px); border-color: rgba(255, 180, 226, .4); }
.stat:hover::after { opacity: 1; }
.stat b { display: block; font: 900 clamp(3rem, 6vw, 5.4rem)/1 var(--f-display); letter-spacing: -.020em; background: linear-gradient(100deg, #fff, var(--pink-2) 60%, var(--mauve)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .8rem; font-weight: 700; line-height: 1.35; }
.stat small { color: var(--dim); font-weight: 500; font-size: .82rem; }
.stat--txt { display: flex; flex-direction: column; justify-content: space-between; }
.stat--txt .ico { width: 3.2rem; height: 3.2rem; color: var(--pink-2); stroke-width: 1.5; }

/* ───────── FOCUS SNEAKSS (scroll horizontal) ───────── */
.focus { position: relative; background: linear-gradient(180deg, var(--bg) 0%, #12071f 30%, #12071f 70%, var(--bg) 100%); }
.focus__pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.focus__track { display: flex; align-items: center; width: max-content; gap: clamp(28px, 4.5vw, 72px); padding: 0 0 0 var(--gutter); will-change: transform; }
.panel { flex: none; height: min(76vh, 740px); display: flex; flex-direction: column; justify-content: center; }
.panel--intro { width: min(84vw, 780px); gap: 1.6rem; }
.panel__lead { max-width: 44ch; color: var(--dim); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.hint { display: inline-flex; align-items: center; gap: .8rem; font: 700 .76rem var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--pink-2); }
.hint .ico { animation: nudgeX 1.6s ease-in-out infinite; }
.panel--outro { width: min(84vw, 680px); gap: 2rem; align-items: flex-start; margin-right: var(--gutter); }

.panel--item { width: min(80vw, 1040px); flex-direction: row; align-items: center; gap: clamp(22px, 3.4vw, 56px); }
.panel__fig {
  position: relative; flex: 0 0 56%; height: 100%; border-radius: 36px; overflow: hidden; display: grid; place-items: center; padding: 6%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 92, 184, .28), transparent 55%), radial-gradient(circle at 80% 90%, rgba(124, 58, 237, .5), transparent 55%), #1a0c2c;
  border: 1px solid var(--line); transform-style: preserve-3d; cursor: pointer;
}
.panel__fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 14px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); transition: transform .8s var(--ease); }
.panel__fig:hover img { transform: scale(1.05) rotate(-1.5deg); }
.panel__txt { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; min-width: 0; }
.panel__num { font: 900 clamp(4.5rem, 9vw, 8.5rem)/.8 var(--f-black); letter-spacing: -.023em; color: #fff; opacity: .55; filter: url(#ol-thin); }
.panel__title { font: 800 clamp(1.4rem, 2.4vw, 2.1rem)/1.1 var(--f-display); letter-spacing: -.013em; }
.panel__desc { color: var(--dim); font-size: .98rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .9rem; border-radius: 99px; border: 1px solid rgba(255, 180, 226, .4); color: var(--pink-2); font: 700 .74rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 92, 184, .08); }

/* ───────── PORTFOLIO ───────── */
.works { position: relative; padding: clamp(90px, 12vw, 180px) 0 clamp(150px, 16vw, 240px); }
.works::before { content: ""; position: absolute; left: 50%; top: 0; width: 90vw; height: 60vw; transform: translate(-50%, -30%); background: radial-gradient(closest-side, rgba(124, 58, 237, .3), transparent); pointer-events: none; z-index: -1; }
.works__head { display: grid; gap: 1.6rem; justify-items: start; }
.works__sub { color: var(--dim); max-width: 46ch; font-size: 1.1rem; }

.filters { position: relative; display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; gap: .25rem; padding: .35rem; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); margin: 2.6rem 0 3rem; backdrop-filter: blur(10px); }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.35rem; border-radius: 99px; font-weight: 700; font-size: .92rem; color: var(--dim); transition: color .35s; }
.filters button sup { font-size: .68rem; opacity: .7; font-weight: 700; transform: translateY(-2px); }
.filters button:hover { color: #fff; }
.filters button.is-active { color: #14091f; }
.filters__pill { position: absolute; z-index: 0; top: 0; left: 0; width: 0; height: 0; border-radius: 99px; background: linear-gradient(115deg, #fff, var(--pink-2)); box-shadow: 0 8px 30px -6px rgba(255, 92, 184, .6); }

.grid { --gap: 22px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 8px; column-gap: var(--gap); align-items: start; }
.card { grid-row-end: span 40; min-width: 0; }
.card.is-hidden { display: none; }
.card__in {
  position: relative; display: block; width: 100%; text-align: left; border-radius: 26px; overflow: hidden; transform-style: preserve-3d; will-change: transform;
  background: radial-gradient(circle at 25% 15%, rgba(255, 92, 184, .28), transparent 55%), radial-gradient(circle at 85% 95%, rgba(124, 58, 237, .5), transparent 55%), #1a0c2c;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .08);
}
.card__media { display: block; position: relative; aspect-ratio: var(--ar, 1); overflow: hidden; }
.card__media img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; will-change: transform; transition: filter .6s; }
.card__in:hover .card__media img { filter: saturate(1.15) contrast(1.03); }
.card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 5, 15, 0) 45%, rgba(9, 5, 15, .88)); transition: opacity .5s; }
.card__no { position: absolute; left: 1rem; top: 1rem; font: 800 .74rem var(--f-display); letter-spacing: .04em; padding: .4rem .7rem; border-radius: 99px; background: rgba(9, 5, 15, .55); backdrop-filter: blur(8px); border: 1px solid var(--line); }
.card__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: .8rem; padding: 1.2rem; transform: translateY(6px); transition: transform .6s var(--ease); }
.card__in:hover .card__cap { transform: translateY(0); }
.card__t { font: 700 clamp(.95rem, 1.15vw, 1.08rem)/1.2 var(--f-display); letter-spacing: -.012em; text-wrap: balance; }
.card__go { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #14091f; transform: scale(0) rotate(-90deg); transition: transform .6s var(--ease); }
.card__in:hover .card__go, .card__in:focus-visible .card__go { transform: scale(1) rotate(0); }
.card__tag { position: absolute; right: 1rem; top: 1rem; background: rgba(9, 5, 15, .6); backdrop-filter: blur(8px); color: #fff; border-color: rgba(255, 255, 255, .25); }
.card__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .34), transparent 48%); mix-blend-mode: soft-light; }
.card__in:hover .card__glare { opacity: 1; }
.empty { text-align: center; color: var(--dim); padding: 4rem 0; }

/* ───────── CV ───────── */
.cv { position: relative; z-index: 2; margin-top: -64px; padding: clamp(90px, 11vw, 160px) 0 clamp(150px, 15vw, 230px); background: var(--paper); color: var(--plum); border-radius: 64px 64px 0 0; overflow: hidden; }
.cv::before { content: ""; position: absolute; right: -10vw; top: -8vw; width: 46vw; height: 46vw; background: radial-gradient(closest-side, rgba(255, 92, 184, .22), transparent); pointer-events: none; }
.cv__head { position: relative; }
.cv__grid { position: relative; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); margin-top: clamp(40px, 5vw, 70px); align-items: start; }
.cv__side { position: sticky; top: 110px; }
.idcard { padding: 2rem; border-radius: 34px; color: #fff; background: radial-gradient(circle at 20% 0, rgba(255, 92, 184, .5), transparent 55%), radial-gradient(circle at 100% 100%, rgba(124, 58, 237, .8), transparent 60%), #24103a; box-shadow: 0 40px 80px -30px rgba(76, 29, 149, .6); display: grid; gap: .3rem; justify-items: start; }
.idcard img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-bottom: 1rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.idcard h3 { font: 800 1.5rem var(--f-display); letter-spacing: -.017em; }
.idcard > p { color: var(--pink-2); font-weight: 600; margin-bottom: 1.2rem; }
.idcard__list { display: grid; gap: .8rem; margin-bottom: 1.6rem; font-size: .92rem; word-break: break-word; }
.idcard__list li { display: flex; gap: .7rem; align-items: center; }
.idcard__list .ico { color: var(--pink-2); }
.idcard__list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.tl { position: relative; padding-left: 2.6rem; margin-bottom: 3.4rem; }
.tl__title { display: flex; align-items: center; gap: .8rem; font: 800 clamp(1.05rem, 1.6vw, 1.3rem) var(--f-display); letter-spacing: -.013em; margin-bottom: 1.8rem; margin-left: -2.6rem; }
.tl__title .ico { width: 2.6rem; height: 2.6rem; padding: .65rem; border-radius: 50%; background: var(--plum); color: #fff; }
.tl__line { position: absolute; left: 12px; top: 3.4rem; bottom: 1rem; width: 2px; background: rgba(36, 16, 58, .12); border-radius: 2px; }
.tl__line span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--violet), var(--pink)); transform-origin: top; transform: scaleY(0); border-radius: 2px; }
.tl-item { position: relative; padding: 1.5rem 1.7rem; border-radius: 26px; background: #fff; box-shadow: 0 16px 50px -20px rgba(76, 29, 149, .25); margin-bottom: 1.2rem; transition: transform .6s var(--ease), box-shadow .5s; }
.tl-item:hover { transform: translateX(8px); box-shadow: 0 24px 60px -18px rgba(124, 58, 237, .4); }
.tl-item::before { content: ""; position: absolute; left: calc(-2.6rem + 5px); top: 2rem; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--violet); box-shadow: 0 0 0 6px rgba(124, 58, 237, .14); }
.tl-item__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .6rem 1rem; }
.tl-item h4 { font: 800 1.1rem/1.25 var(--f-display); letter-spacing: -.012em; }
.tl-item__date { padding: .4rem .9rem; border-radius: 99px; background: #efe3ff; color: var(--violet); font: 700 .8rem var(--f-body); white-space: nowrap; }
.tl-item__where { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; color: var(--violet); font-weight: 700; font-size: .92rem; }
.tl-item__where .ico { width: 1em; height: 1em; }
.tl-item p { color: #6b5a86; margin-top: .55rem; font-size: .96rem; }

.skills { position: relative; margin-top: clamp(50px, 6vw, 90px); }
.skills__title { font: 800 clamp(1.3rem, 2.4vw, 2rem) var(--f-display); letter-spacing: -.015em; margin-bottom: 1.8rem; }
.skills__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; }
.dial { position: relative; padding: 1.8rem 1rem 1.5rem; border-radius: 30px; background: #fff; text-align: center; box-shadow: 0 16px 50px -20px rgba(76, 29, 149, .25); transition: transform .6s var(--ease), box-shadow .5s; }
.dial:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 30px 60px -20px rgba(124, 58, 237, .45); }
.dial__ring { position: relative; width: min(100%, 130px); aspect-ratio: 1; margin: 0 auto 1.1rem; }
.dial__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.dial__ring .trk { fill: none; stroke: #efe3ff; stroke-width: 9; }
.dial__ring .bar { fill: none; stroke: url(#g-ring); stroke-width: 9; stroke-linecap: round; }
.dial__num { position: absolute; inset: 0; display: grid; place-content: center; font: 900 1.9rem/1 var(--f-display); letter-spacing: -.020em; }
.dial__num small { font: 700 .7rem var(--f-body); color: #8b78a8; letter-spacing: 0; text-align: center; margin-top: .25rem; }
.dial b { display: block; font-weight: 800; line-height: 1.25; font-size: .96rem; text-wrap: balance; }

/* ───────── CONTACT ───────── */
.contact { position: relative; z-index: 3; margin-top: -64px; padding: clamp(90px, 11vw, 160px) 0 0; border-radius: 64px 64px 0 0; overflow: hidden; background: radial-gradient(ellipse at 50% 0, #2a0f4d, transparent 60%), #0b0614; }
.contact__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.contact__bg .blob--a { left: auto; right: -20vmax; top: 10vmax; }
.contact__bg .blob--c { left: -15vmax; bottom: 10vmax; }
.contact .wrap { position: relative; z-index: 1; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: clamp(90px, 10vw, 150px); }

.form, .coords { padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: 36px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); backdrop-filter: blur(16px); }
.form h3, .coords h3 { font: 800 clamp(1.3rem, 2vw, 1.7rem) var(--f-display); letter-spacing: -.015em; margin-bottom: 1.8rem; }
.field { position: relative; margin-bottom: 1.15rem; }
.field input, .field textarea { width: 100%; padding: 1.6rem 1.15rem .6rem; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--ink); font: 500 1rem var(--f-body); outline: none; transition: border-color .3s, box-shadow .3s, background .3s; resize: vertical; min-height: 62px; }
.field textarea { min-height: 150px; }
.field label { position: absolute; left: 1.15rem; top: 1.15rem; color: var(--dim); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-.62rem) scale(.76); color: var(--pink-2); }
.field input:focus, .field textarea:focus { border-color: var(--pink); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 5px rgba(255, 92, 184, .14); }
.field.is-bad input, .field.is-bad textarea { border-color: #ff7590; box-shadow: 0 0 0 5px rgba(255, 117, 144, .12); }
.err { display: block; color: #ff9db0; font-size: .82rem; font-weight: 600; margin: .45rem .5rem 0; }
.err:empty { display: none; }
.form__ok { margin-top: 1.1rem; padding: 1rem 1.2rem; border-radius: 18px; background: rgba(200, 255, 85, .12); border: 1px solid rgba(200, 255, 85, .4); color: #e3ffb0; font-weight: 600; font-size: .94rem; }

.coord { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; padding: 1rem 1.1rem; border-radius: 24px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); transition: border-color .4s, background .4s, transform .5s var(--ease); position: relative; }
a.coord:hover, .coord--mail:hover { border-color: rgba(255, 180, 226, .5); background: rgba(255, 255, 255, .08); transform: translateX(6px); }
.coord__main { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 0; }
.coord__ico { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--pink)); color: #fff; }
.coord__t { display: grid; min-width: 0; }
.coord__t small { color: var(--dim); font-size: .78rem; letter-spacing: .06em; }
.coord__t b { font-weight: 800; font-size: 1.02rem; overflow-wrap: anywhere; }
.coord__go { margin-left: auto; color: var(--pink-2); transition: transform .5s var(--ease); }
a.coord:hover .coord__go { transform: translate(4px, -4px); }
.copy { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .3s, transform .4s var(--ease), color .3s; }
.copy:hover { background: #fff; color: #14091f; transform: scale(1.1) rotate(-6deg); }
.avail { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1rem; font-weight: 700; color: var(--lilac); }

.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.footer__marquee { overflow: hidden; white-space: nowrap; padding: 1.8rem 0; color: rgba(255, 255, 255, .07); }
.footer__marquee .mq { font-size: clamp(3rem, 10vw, 9rem); }
.footer__marquee .mq .ico { color: var(--pink); }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.6rem 0 2.4rem; color: var(--dim); font-size: .9rem; }
.totop { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); transition: background .3s, color .3s; }
.totop:hover { background: #fff; color: #14091f; }

/* ───────── LIGHTBOX ───────── */
.lb { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: minmax(0, 1fr) min(430px, 34vw); }
.lb[hidden] { display: none; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(7, 3, 12, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.lb__stage { position: relative; display: grid; place-items: center; padding: clamp(20px, 4vw, 56px); min-width: 0; min-height: 0; }
.lb__img { position: relative; display: block; border-radius: 18px; box-shadow: 0 50px 120px -20px rgba(0, 0, 0, .8); background: radial-gradient(circle at 30% 20%, rgba(255, 92, 184, .25), transparent 60%), #1a0c2c; object-fit: contain; }
.lb__info { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.2rem; padding: clamp(24px, 3vw, 48px); padding-top: 88px; border-left: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent); overflow-y: auto; }
.lb__count { font: 600 .82rem var(--f-body); letter-spacing: .2em; color: var(--dim); }
.lb__count b { font: 900 1.8rem var(--f-display); letter-spacing: -.017em; color: #fff; }
.lb__info h3 { font: 800 clamp(1.5rem, 2.4vw, 2.2rem)/1.08 var(--f-display); letter-spacing: -.017em; text-wrap: balance; }
.lb__desc { color: var(--dim); font-size: 1rem; line-height: 1.7; }
.lb__nav { display: flex; gap: .7rem; margin-top: .8rem; }
.lb__nav button { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); transition: background .3s, color .3s, transform .5s var(--ease); }
.lb__nav button:hover { background: #fff; color: #14091f; transform: scale(1.08); }
.lb__close { position: absolute; right: clamp(16px, 2vw, 28px); top: clamp(16px, 2vw, 28px); z-index: 5; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #14091f; transition: transform .5s var(--ease); }
.lb__close:hover { transform: rotate(90deg) scale(1.08); }
.lb-clone { position: fixed; z-index: 1100; margin: 0; object-fit: cover; pointer-events: none; will-change: left, top, width, height; }

/* toast & confettis */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 9400; transform: translate(-50%, 180%); opacity: 0; visibility: hidden; padding: .9rem 1.4rem; border-radius: 99px; background: #fff; color: #14091f; font-weight: 700; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); pointer-events: none; transition: transform .6s var(--ease), opacity .4s, visibility .6s; display: flex; align-items: center; gap: .6rem; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9450; pointer-events: none; }

/* ───────── Keyframes ───────── */
@keyframes shine { to { background-position: -260% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes bobRot { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes bobRot2 { 0%, 100% { translate: 0 0; } 50% { translate: 6px -12px; } }
@keyframes bobRot3 { 0%, 100% { translate: 0 0; } 50% { translate: -6px -10px; } }
@keyframes twinkle { 0%, 100% { scale: 1; opacity: 1; rotate: 0deg; } 50% { scale: .55; opacity: .6; rotate: 90deg; } }
@keyframes nudge { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(5px); } }
@keyframes nudgeX { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, 12vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(-12vmax, -8vmax) scale(1.2); } }
@keyframes morph {
  0%, 100% { border-radius: 62% 38% 46% 54% / 55% 45% 55% 45%; }
  33% { border-radius: 40% 60% 58% 42% / 48% 58% 42% 52%; }
  66% { border-radius: 54% 46% 38% 62% / 60% 40% 60% 40%; }
}
@keyframes grain { 0% { transform: translate(0, 0); } 14% { transform: translate(-6%, 4%); } 28% { transform: translate(5%, -7%); } 42% { transform: translate(-9%, -3%); } 57% { transform: translate(7%, 8%); } 71% { transform: translate(-4%, 9%); } 85% { transform: translate(8%, -5%); } 100% { transform: translate(0, 0); } }

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .dots { display: none; }
  .float--logo { right: 38%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .skills__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__logo { margin-right: auto; }

  .hero { align-items: flex-start; padding-top: 112px; padding-bottom: min(96vw, 430px); }
  .hero__stage { opacity: .98; }
  .float--shoe { top: auto; bottom: 8%; right: -12%; width: min(88vw, 620px); }
  .float--logo { top: auto; right: auto; left: 3%; bottom: 3%; width: min(34vw, 240px); }
  .float--poster { right: 4%; bottom: 1.5%; width: min(27vw, 200px); }
  .float--key { display: none; }
  .float--s1 { right: 8%; top: 17%; width: 34px; height: 34px; }
  .float--s2 { right: 24%; top: auto; bottom: 40%; }
  .float--s3 { right: 10%; top: auto; bottom: 46%; }
  .hero__badge { display: none; }
  .hero__lead { max-width: 30ch; }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { width: min(78%, 360px); }
  .cv__grid { grid-template-columns: 1fr; }
  .cv__side { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .cv, .contact { border-radius: 40px 40px 0 0; margin-top: -40px; }

  /* Focus : simple défilement horizontal natif (pas de pin) */
  .focus__pin { height: auto; overflow: visible; display: block; padding: 80px 0; }
  .focus__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 24px; scrollbar-width: none; align-items: stretch; }
  .focus__track::-webkit-scrollbar { display: none; }
  .panel { height: auto; scroll-snap-align: center; }
  .panel--intro, .panel--outro { width: 82vw; }
  .panel--item { width: 82vw; flex-direction: column; align-items: stretch; }
  .panel__fig { flex: none; height: 82vw; }
  .panel__num { font-size: 4rem; }

  .lb { grid-template-columns: 1fr; grid-template-rows: minmax(0, 48svh) minmax(0, 1fr); }
  .lb__info { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .coord { gap: .8rem; padding: .9rem; }
  .coord__main { gap: .8rem; }
  .coord__ico { width: 44px; height: 44px; }
  .coord__t b { font-size: .84rem; overflow-wrap: normal; }
  .copy { width: 40px; height: 40px; }
  .hero__title { font-size: 23.5vw; }
  .outline { filter: url(#ol-thin); }
  .grid { --gap: 12px; }
  .card__in { border-radius: 18px; }
  .card__cap { padding: .8rem; }
  .card__t { font-size: .82rem; }
  .card__go, .card__tag { display: none; }
  .card__no { left: .6rem; top: .6rem; font-size: .62rem; padding: .3rem .55rem; }
  .stats { gap: .8rem; }
  .stat { padding: 1.2rem 1rem; }
  .skills__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills__grid .dial:last-child { grid-column: 1 / -1; }
  .filters { border-radius: 26px; }
  .filters button { padding: .65rem 1rem; }
  .footer__row { flex-direction: row; }
  .sticker--a { left: -2%; }
  .sticker--b { right: -2%; }
}

html.reduced .focus__pin { height: auto; overflow: visible; display: block; padding: 80px 0; }
html.reduced .focus__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 24px; align-items: stretch; }
html.reduced .panel { scroll-snap-align: center; }

@media (hover: none) { .cursor { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
  .sw { opacity: 1; }
}
