/* ─────────────────────────────────────────────
   Vincent Chéry — Portfolio 2026
   Papier, encre, bleu Bic.
   ───────────────────────────────────────────── */
:root {
  --paper: #EEEAE0;
  --paper-2: #E3DED1;
  --ink: #121114;
  --ink-2: #2a282d;
  --bic: #1F31C9;
  --bic-deep: #101C86;
  --red: #E0301E;
  --mute: rgba(18, 17, 20, .56);
  --line: rgba(18, 17, 20, .16);
  --g: clamp(16px, 2.2vw, 32px);           /* gouttière */
  --ease: cubic-bezier(.19, 1, .22, 1);
  --display: "Archivo", "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper) url(../art/tex/papier.jpg) repeat;
  background-size: 640px;
  background-blend-mode: multiply;
  color: var(--ink);
  font-family: var(--display);
  font-variation-settings: "wdth" 100;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--bic); color: var(--paper); }

.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.45; }
.serif { font-family: var(--serif); font-weight: 400; }
.it { font-style: italic; }
.display {
  font-family: var(--display);
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .8;
  letter-spacing: -.01em;
}

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

/* ── curseur ── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--bic); display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .3s;
}
.cursor__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--paper); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor.is-big .cursor__label { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none) { .cursor, .preview { display: none !important; } }
@media (hover: hover) { body, a, button { cursor: none; } }

/* ── aperçu flottant (index) ── */
.preview {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: 22vw; max-width: 340px; opacity: 0; transform: scale(.9);
  transition: opacity .3s, transform .5s var(--ease);
}
.preview.is-on { opacity: 1; transform: scale(1); }
.preview img { width: 100%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }

/* ── loader ── */
.loader {
  position: fixed; inset: 0; z-index: 150; background: var(--ink); color: var(--paper);
  display: grid; grid-template-rows: auto 1fr auto; padding: var(--g);
  clip-path: inset(0 0 0 0);
}
.loader__top { display: flex; justify-content: space-between; }
.loader__stack { position: relative; place-self: center; width: min(30vw, 320px); aspect-ratio: 3/4; }
.loader__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.loader__bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.loader__count { font-size: clamp(90px, 20vw, 300px); color: var(--paper); }
.loader__hint { opacity: .6; }

/* ── nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--g); color: #fff; mix-blend-mode: difference;
}
.nav__logo { font-weight: 800; font-variation-settings: "wdth" 70; text-transform: uppercase; font-size: 20px; letter-spacing: .01em; }
.nav__links { display: flex; gap: 22px; }
.nav__links a, .nav__cta { position: relative; }
.nav__links a::after, .nav__cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav__links a:hover::after, .nav__cta:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; gap: 22px; justify-content: flex-end; }
.nav__clock b { font-weight: 500; }
.nav__burger { display: none; justify-self: end; }
.menu { display: none; }

/* ── hero ── */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--g) var(--g); }
.hero__trail { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__trail img { position: absolute; left: 0; top: 0; width: clamp(150px, 16vw, 260px); height: auto; will-change: transform, opacity; box-shadow: 0 20px 40px -18px rgba(0,0,0,.4); }
.hero__kicker { position: absolute; top: 88px; left: var(--g); right: var(--g); display: flex; justify-content: space-between; }
.hero__title { position: relative; z-index: 2; margin: 0 0 3vh; font-size: min(29.6vw, calc((100vh - 250px) / 1.5)); line-height: .78; letter-spacing: -.015em; white-space: nowrap; }
.hero__title .line { display: block; overflow: hidden; padding-top: .16em; margin-top: -.12em; }
.hero__title .line__in { display: inline-block; position: relative; }
.hero__title.is-fit .line { text-align: left !important; }
.hero__title .line:nth-child(2) { text-align: right; margin-top: -.02em; }
.hero__scribble { position: absolute; left: -2%; bottom: 8%; width: 104%; height: 32%; overflow: visible; z-index: -1; }
.hero__scribble path { fill: none; stroke: var(--bic); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.hero__meta { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); border-top: 1px solid var(--ink); padding-top: 14px; }
.hero__meta p { margin: 0; }
.hero__now b { font-weight: 500; }
.hero__hint { text-align: right; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: 1px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ── statement ── */
.statement { padding: 22vh var(--g) 18vh; }
.statement__label { margin: 0 0 4vh; }
.statement__text { font-size: clamp(34px, 5.4vw, 92px); line-height: 1.02; letter-spacing: -.012em; margin: 0; max-width: 16.5em; }
.statement__text em { color: var(--bic); }
.statement__text .w { opacity: .14; transition: none; }
.pill { display: inline-block; width: 1.55em; height: .9em; border-radius: 99px; vertical-align: -.06em; background-size: cover; background-position: center; margin: 0 .04em; }
.statement__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); max-width: 900px; margin: 12vh 0 0 auto; font-size: 17px; line-height: 1.55; }
.statement__cols p { margin: 0; }

/* ── marquee ── */
.marquee { overflow: hidden; border-block: 1px solid var(--ink); padding: 2.2vh 0 1.6vh; font-size: clamp(56px, 9vw, 150px); white-space: nowrap; background: transparent; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span { padding-right: .3em; }

/* ── crowd zoom ── */
.crowd { position: relative; height: 260vh; }
.crowd__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.crowd__frame { position: absolute; inset: 0; margin: auto; width: 100vw; height: 100vh; will-change: clip-path; clip-path: inset(31% 41% 31% 41%); z-index: 2; }
.crowd__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.crowd__word { position: absolute; top: 50%; margin: 0; font-size: 16vw; transform: translateY(-50%); z-index: 1; }
.crowd__word--l { left: var(--g); }
.crowd__word--r { right: var(--g); }
.crowd__cap { position: absolute; left: var(--g); right: var(--g); bottom: var(--g); display: flex; justify-content: space-between; z-index: 3; color: var(--paper); mix-blend-mode: difference; opacity: 0; }
.crowd__quote { position: absolute; z-index: 3; left: 50%; top: 50%; width: min(80vw, 900px); transform: translate(-50%, -50%); text-align: center; font-size: clamp(30px, 4.2vw, 68px); line-height: 1.02; color: var(--paper); margin: 0; opacity: 0; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.crowd__quote small { display: block; margin-top: 18px; text-shadow: none; }

/* ── selected ── */
.selected { position: relative; }
.selected__pin { height: 100vh; overflow: hidden; position: relative; }
.selected__track { display: flex; align-items: center; height: 100%; gap: 7vw; padding: 0 var(--g); width: max-content; will-change: transform; }
.selected__intro { width: max-content; min-width: 34vw; max-width: 62vw; flex: none; }
.selected__intro h2 { white-space: nowrap; }
.selected__intro h2 { font-size: clamp(80px, 11.5vw, 200px); margin: 3vh 0; }
.selected__intro .serif { font-size: 24px; max-width: 16em; line-height: 1.2; margin: 0; }
.work { flex: none; position: relative; display: flex; flex-direction: column; gap: 14px; }
.work__img { height: 64vh; overflow: hidden; background: var(--paper-2); }
.work__img img { height: 100%; width: auto; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.work:hover .work__img img { transform: scale(1.04); }
.work:nth-child(odd) { align-self: flex-start; margin-top: 12vh; }
.work:nth-child(even) { align-self: flex-end; margin-bottom: 9vh; }
.work__cap { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; }
.work__n { color: var(--bic); }
.work__t { font-family: var(--serif); font-size: 30px; line-height: 1; margin: 0; }
.work__m { grid-column: 2; color: var(--mute); }
.selected__progress { position: absolute; left: var(--g); right: var(--g); bottom: 26px; height: 1px; background: var(--line); }
.selected__progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.selected__count { position: absolute; right: var(--g); bottom: 38px; margin: 0; }

/* ── index ── */
.index { padding: 18vh var(--g) 14vh; }
.index__head h2 { font-size: clamp(70px, 12vw, 210px); margin: 3vh 0 6vh; }
.index__head h2 .serif { text-transform: none; font-size: .92em; letter-spacing: -.02em; }
.index__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.index__filters, .index__views { display: flex; gap: 8px; flex-wrap: wrap; }
.index__bar button { padding: 7px 13px; border: 1px solid var(--ink); border-radius: 99px; transition: background .3s, color .3s; }
.index__bar button.is-on, .index__bar button:hover { background: var(--ink); color: var(--paper); }
.index__bar sup { font-size: 9px; margin-left: 2px; }
.index__row {
  display: grid; grid-template-columns: 70px 2.2fr 2fr 1fr 70px; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line); position: relative;
}
.index__row--head { color: var(--mute); padding: 18px 0 10px; }
.index__row:not(.index__row--head) { cursor: none; }
.index__row::before { content: ""; position: absolute; inset: 0 calc(var(--g) * -1); background: var(--bic); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.index__row:not(.index__row--head):hover { color: var(--paper); }
.index__row:not(.index__row--head):hover::before { transform: scaleY(1); transform-origin: top; }
.index__list { position: relative; z-index: 0; }
.index__row .t { font-family: var(--serif); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.05; }
.index__row .t i { font-style: normal; color: var(--red); font-family: var(--mono); font-size: 10px; vertical-align: super; margin-left: 4px; }
.index__row > span:not(.t) { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; }
.index__row.is-out { display: none; }
.index__grid { columns: 4 260px; column-gap: var(--g); padding-top: 4vh; }
.index__grid figure { break-inside: avoid; margin: 0 0 calc(var(--g) * 1.4); }
.index__grid img { width: 100%; background: var(--paper-2); }
.index__grid figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; }
.index__grid figure.is-out { display: none; }

/* ── in situ ── */
.insitu { background: var(--ink); color: var(--paper); padding: 18vh 0 10vh; }
.insitu__head { padding: 0 var(--g); display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); align-items: end; }
.insitu__head .mono { grid-column: 1 / -1; }
.insitu__head h2 { font-size: clamp(80px, 13vw, 230px); margin: 0; }
.insitu__head h2 .serif { text-transform: none; color: var(--bic); color: #6f7dff; }
.insitu__lede { font-size: clamp(22px, 2.2vw, 34px); line-height: 1.15; margin: 0; max-width: 18em; }
.show { padding: 14vh 0 0; }
.show__head { display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: var(--g); padding: 0 var(--g) 4vh; align-items: end; border-bottom: 1px solid rgba(238,234,224,.18); margin: 0 var(--g); padding-left: 0; padding-right: 0; }
.show__i { color: #6f7dff; }
.show__t { font-size: clamp(54px, 7.5vw, 130px); margin: 0; }
.show__meta { display: flex; flex-direction: column; gap: 14px; }
.show__meta p { margin: 0; }
.show__txt { font-family: var(--serif); font-size: 21px; line-height: 1.3; max-width: 30em; }
.show__strip { display: flex; gap: 14px; overflow-x: auto; padding: 4vh var(--g) 0; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.show__strip::-webkit-scrollbar { display: none; }
.show__strip.is-drag { cursor: grabbing; }
.show__strip figure { flex: none; margin: 0; height: 58vh; }
.show__strip figure:first-child { height: 72vh; }
.show__strip img { height: 100%; width: auto; user-select: none; -webkit-user-drag: none; pointer-events: none; }

/* ── film ── */
.film { background: var(--ink); color: var(--paper); padding: 14vh var(--g); display: grid; grid-template-columns: 1fr 2fr; gap: var(--g); align-items: end; }
.film__head h2 { font-size: clamp(64px, 8vw, 140px); margin: 3vh 0; }
.film__head .serif { font-size: 22px; line-height: 1.25; max-width: 18em; }
.film__meta { color: rgba(238,234,224,.6); }
.film__player { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.film__player video { width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: clamp(50px, 8vw, 130px); color: var(--paper); mix-blend-mode: difference; }
.film__player.is-playing .film__play, .film__player.is-playing .film__loop { display: none; }
.film__player.is-playing .film__full { object-fit: contain; }

/* ── 23 ── */
.book { background: var(--bic); color: var(--paper); padding: 16vh var(--g); }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.book__num { font-size: clamp(200px, 32vw, 560px); margin: 0; line-height: .74; letter-spacing: -.04em; }
.book__lede { font-size: clamp(28px, 3vw, 48px); line-height: 1.05; margin: 4vh 0 3vh; max-width: 14em; }
.book__txt { max-width: 34em; font-size: 16px; opacity: .88; }
.book__tracks { list-style: none; padding: 0; margin: 6vh 0 0; border-top: 1px solid rgba(238,234,224,.4); }
.track { display: grid; grid-template-columns: 34px 30px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(238,234,224,.4); position: relative; cursor: none; }
.track__btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--paper); display: grid; place-items: center; font-size: 10px; }
.track.is-playing .track__btn { background: var(--paper); color: var(--bic); }
.track__name b { font-weight: 500; }
.track__bar { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--paper); width: 0; }
.track:hover { background: rgba(255,255,255,.06); }
.book__note { opacity: .7; margin-top: 16px; }
.book__right { position: sticky; top: 12vh; }
.book__fig { margin: 0; background: var(--paper); padding: 18px; transform: rotate(1.2deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.book__fig img { width: 100%; max-height: 70vh; object-fit: contain; }
.book__fig figcaption { color: var(--ink); padding-top: 12px; display: flex; justify-content: space-between; }

/* ── objets ── */
.objets { padding: 18vh var(--g) 14vh; }
.objets__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); align-items: end; margin-bottom: 8vh; }
.objets__head .mono { grid-column: 1 / -1; }
.objets__head h2 { font-size: clamp(64px, 8.5vw, 150px); margin: 0; }
.objets__head .serif { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.2; margin: 0; max-width: 22em; }
.objets__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); }
.obj { margin: 0; cursor: none; }
.obj__img { overflow: hidden; background: var(--paper-2); }
.obj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.obj:hover .obj__img img { transform: scale(1.05); }
.obj figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; }
.obj:nth-child(1) { grid-column: 1 / 6; } .obj:nth-child(1) .obj__img { aspect-ratio: 1; }
.obj:nth-child(2) { grid-column: 7 / 13; margin-top: 16vh; } .obj:nth-child(2) .obj__img { aspect-ratio: 4/3; }
.obj:nth-child(3) { grid-column: 2 / 6; } .obj:nth-child(3) .obj__img { aspect-ratio: 1; }
.obj:nth-child(4) { grid-column: 7 / 11; margin-top: -8vh; } .obj:nth-child(4) .obj__img { aspect-ratio: 1; }
.obj:nth-child(5) { grid-column: 1 / 5; } .obj:nth-child(5) .obj__img { aspect-ratio: 4/5; }
.obj:nth-child(6) { grid-column: 5 / 9; margin-top: 10vh; } .obj:nth-child(6) .obj__img { aspect-ratio: 4/5; }
.obj:nth-child(7) { grid-column: 9 / 13; } .obj:nth-child(7) .obj__img { aspect-ratio: 4/5; }
.obj:nth-child(8) { grid-column: 3 / 11; margin-top: 6vh; } .obj:nth-child(8) .obj__img { aspect-ratio: 16/10; }

/* ── textes ── */
.texts { padding: 16vh var(--g); border-top: 1px solid var(--ink); }
.texts__quote { margin: 8vh 0 12vh; }
.texts__quote .serif { font-size: clamp(44px, 7.4vw, 128px); line-height: .95; letter-spacing: -.02em; margin: 0 0 3vh; max-width: 12em; }
.texts__quote .mono { color: var(--mute); }
.texts__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); }
.text { border-top: 1px solid var(--ink); padding-top: 18px; }
.text header { display: grid; grid-template-columns: 1fr auto; gap: 4px; margin-bottom: 18px; }
.text header .mono:first-child { grid-column: 1 / -1; color: var(--mute); }
.text h3 { font-size: 34px; margin: 0; line-height: 1; }
.text p { font-size: 16px; line-height: 1.55; }
.text__body { max-height: 15.5em; overflow: hidden; position: relative; transition: max-height 1s var(--ease); }
.text__body::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5em; background: linear-gradient(transparent, var(--paper)); transition: opacity .4s; }
.text.is-open .text__body { max-height: 80em; }
.text.is-open .text__body::after { opacity: 0; }
.text__more { margin-top: 10px; border-bottom: 1px solid; }
.text__scans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.text__scans img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; cursor: none; transition: transform .6s var(--ease); }
.text__scans img:hover { transform: translateY(-6px) rotate(-1.5deg); }

/* ── parcours ── */
.cv { display: grid; grid-template-columns: 1fr 2fr; gap: 5vw; padding: 16vh var(--g); border-top: 1px solid var(--ink); }
.cv__side { position: sticky; top: 90px; align-self: start; }
.cv__side h2 { font-size: clamp(64px, 8vw, 140px); margin: 3vh 0 4vh; }
.cv__portrait { margin: 0 0 20px; width: min(100%, 320px); }
.cv__portrait img { width: 100%; filter: grayscale(1) contrast(1.05); transition: filter .8s; }
.cv__portrait:hover img { filter: none; }
.cv__portrait figcaption { color: var(--mute); padding-top: 8px; font-size: 10px; }
.cv__main h3 { font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 800; font-size: 34px; text-transform: uppercase; letter-spacing: 0; margin: 7vh 0 12px; line-height: 1; }
.cv__main h3:first-child { margin-top: 0; }
.cv__main ul { list-style: none; margin: 0; padding: 0; }
.cv__main li { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.cv__main li:hover { padding-left: 10px; color: var(--bic); }
.cv__main li b { font-weight: 500; }
.cv__main li i { font-style: normal; font-family: var(--serif); font-size: 17px; text-transform: none; letter-spacing: 0; }
.cv__main li em { font-style: normal; color: var(--mute); text-align: right; }

/* ── contact ── */
.contact { background: var(--ink); color: var(--paper); padding: 16vh var(--g) var(--g); overflow: hidden; }
.contact__mail { display: flex; align-items: baseline; gap: .15em; font-size: clamp(100px, 19vw, 340px); margin: 4vh 0 8vh; transition: color .4s; }
.contact__mail .serif { text-transform: none; font-size: .8em; transition: transform .8s var(--ease); }
.contact__mail:hover { color: #6f7dff; }
.contact__mail:hover .serif { transform: translateX(.2em); }
.contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); border-top: 1px solid rgba(238,234,224,.25); padding-top: 18px; }
.contact__grid .k { color: rgba(238,234,224,.5); margin: 0 0 6px; }
.contact__grid a { border-bottom: 1px solid rgba(238,234,224,.35); text-transform: none; font-size: 14px; }
.contact__grid a:hover { color: #6f7dff; border-color: currentColor; }
.contact__big { font-size: 38vw; line-height: .74; margin: 10vh 0 2vh -.03em; color: var(--bic); letter-spacing: -.02em; }
.contact__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(238,234,224,.6); }

/* ── lightbox ── */
.lb { position: fixed; inset: 0; z-index: 120; background: var(--paper); display: grid; grid-template-rows: auto 1fr auto; padding: 16px var(--g); visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility 0s .5s; }
.lb.is-open { visibility: visible; opacity: 1; transition: opacity .5s var(--ease); }
.lb__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.lb__bar .lb__n { margin-right: auto; }
.lb__loupe b { color: var(--bic); font-weight: 500; }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 14px 0; }
.lb__img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; box-shadow: 0 30px 70px -30px rgba(0,0,0,.35); }
.lb__lens { position: fixed; width: 240px; height: 240px; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .4s var(--ease); background-repeat: no-repeat; box-shadow: 0 0 0 2px var(--bic), 0 20px 50px -10px rgba(0,0,0,.4); z-index: 3; }
.lb__lens.is-on { opacity: 1; transform: scale(1); }
.lb__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.lb__t { font-size: clamp(26px, 2.6vw, 40px); margin: 0; line-height: 1; }
.lb__m { margin: 0; text-align: right; color: var(--mute); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; border: 1px solid var(--ink); border-radius: 50%; font-size: 18px; background: var(--paper); transition: background .3s, color .3s; z-index: 4; }
.lb__nav:hover { background: var(--ink); color: var(--paper); }
.lb__prev { left: var(--g); } .lb__next { right: var(--g); }

/* ── révélations ── */
.rv { opacity: 0; transform: translateY(40px); }

/* ── responsive ── */
@media (max-width: 1000px) {
  .nav__links, .nav__clock { display: none; }
  .nav { grid-template-columns: 1fr auto auto; gap: 16px; }
  .nav__burger { display: block; }
  .menu { display: flex; position: fixed; inset: 0; z-index: 79; background: var(--ink); color: var(--paper); flex-direction: column; justify-content: center; padding: var(--g); gap: 2px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
  .menu a { font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase; font-size: 15vw; line-height: .9; }
  body.menu-open .menu { clip-path: inset(0 0 0 0); }
  .statement__cols, .texts__cols, .insitu__head, .objets__head, .cv, .film, .book__grid { grid-template-columns: 1fr; }
  .cv__side { position: static; }
  .book__right { position: relative; top: 0; }
  .show__head { grid-template-columns: 50px 1fr; }
  .show__meta { grid-column: 1 / -1; }
  .index__row { grid-template-columns: 44px 1fr 70px; }
  .index__row > span:nth-child(3), .index__row > span:nth-child(4) { display: none; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .mono { font-size: 10.5px; }
  .hero__kicker { top: 70px; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__hint { display: none; }
  .hero__title { font-size: min(29vw, calc((100vh - 250px) / 1.5)); margin-bottom: 4vh; }
  .statement { padding: 14vh var(--g) 12vh; }
  .statement__cols { font-size: 16px; margin-top: 8vh; }
  .crowd__word { font-size: 26vw; }
  .selected__pin { height: auto; overflow: visible; }
  .selected__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; height: auto; padding: 12vh var(--g); gap: 20px; transform: none !important; align-items: flex-start; }
  .selected__intro { width: 80vw; scroll-snap-align: start; }
  .work { scroll-snap-align: start; margin: 0 !important; align-self: flex-start !important; }
  .work__img { height: 52vh; }
  .selected__progress, .selected__count { display: none; }
  .objets__grid { grid-template-columns: 1fr 1fr; }
  .obj { grid-column: auto !important; margin-top: 0 !important; }
  .obj:nth-child(8) { grid-column: 1 / -1 !important; }
  .obj figcaption span:last-child { display: none; }
  .lb__nav { width: 46px; height: 46px; top: auto; bottom: 90px; transform: none; }
  .show__strip figure, .show__strip figure:first-child { height: 46vh; }
  .contact__grid { grid-template-columns: 1fr; }
  .cv__main li { grid-template-columns: 62px 1fr; }
  .cv__main li em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ═════════ V2 ═════════ */

/* ── nav : changer de version + son ── */
.nav__mode, .nav__sound { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
.nav__sound[hidden] { display: none; }
.pill-ico { width: 22px; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #2d44ff 50%, #ff4fb1 50%); display: inline-block; transform: rotate(-20deg); transition: transform .6s var(--ease); }
.nav__mode:hover .pill-ico { transform: rotate(160deg); }

/* ── entrée : le vase bleu / la couette rose ── */
.gate { position: fixed; inset: 0; z-index: 140; background: #07060a; color: #EEEAE0; display: none; }
body.is-loading .gate, .gate.is-on { display: block; }
.gate__bg { position: absolute; inset: 0; background: url(../art/m/ligne-13.jpg) center/cover; opacity: .08; filter: grayscale(1) contrast(1.4); transition: opacity 1s, filter 1s; }
.gate__bg::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 2px, transparent 2px 4px); }
.gate.hover-blue .gate__bg { opacity: .22; filter: grayscale(1) sepia(1) hue-rotate(190deg) saturate(3); }
.gate.hover-red .gate__bg { opacity: .3; filter: grayscale(1) sepia(1) hue-rotate(-70deg) saturate(5); }
.gate__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.gate__ui { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto auto; padding: var(--g); pointer-events: none; }
.gate__top { display: flex; justify-content: space-between; opacity: .7; }
.gate__q { align-self: start; margin: 7vh auto 0; text-align: center; font-size: clamp(22px, 2.6vw, 42px); line-height: 1.1; max-width: 26em; }
.gate__choices { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.gate__btn { pointer-events: auto; display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 10px 0; }
.gate__btn--red { text-align: right; align-items: flex-end; }
.gate__btn b { font-size: clamp(44px, 7vw, 120px); transition: color .4s, transform .6s var(--ease); }
.gate__btn--blue:hover b, .gate.hover-blue .gate__btn--blue b { color: #4a5dff; transform: translateX(10px); }
.gate__btn--red:hover b, .gate.hover-red .gate__btn--red b { color: #ff4fb1; transform: translateX(-10px); }
.gate__hint { text-align: center; opacity: .5; margin: 18px 0 0; }
.gate__flood { position: absolute; inset: 0; pointer-events: none; opacity: 0; }

/* ── grands formats ── */
.big { background: var(--ink); color: var(--paper); }
.big__head { padding: 18vh var(--g) 10vh; display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); align-items: end; }
.big__head .mono { grid-column: 1 / -1; }
.big__head h2 { font-size: clamp(80px, 12vw, 220px); margin: 0; }
.big__head h2 .serif { text-transform: none; color: #6f7dff; }
.big__head > .serif { font-size: clamp(20px, 2vw, 30px); line-height: 1.2; margin: 0; max-width: 22em; }
.big__item { height: 210vh; position: relative; }
.big__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.big__frame { position: absolute; will-change: transform; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.big__frame img { width: 100%; height: 100%; display: block; }
.big__hud { position: absolute; top: 80px; left: var(--g); right: var(--g); display: flex; justify-content: space-between; z-index: 3; mix-blend-mode: difference; color: #fff; }
.big__zoom { font-size: 13px; }
.big__cap { position: absolute; left: var(--g); right: var(--g); bottom: 28px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.big__cap h3 { font-size: clamp(30px, 3.4vw, 56px); margin: 0; line-height: 1; }
.big__cap p { margin: 0; opacity: .7; text-align: right; }
.big__human { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.big__human svg { width: 100%; height: 100%; fill: #6f7dff; }
.big__human span { position: absolute; bottom: -20px; white-space: nowrap; font-size: 10px; opacity: .8; }

/* ── lightbox : zoom 100 % ── */
.lb__tip { opacity: .5; }
.lb__img { cursor: zoom-in; }
.lb__pan { position: absolute; inset: 14px 0; overflow: hidden; background: var(--paper-2); cursor: zoom-out; z-index: 2; }
.lb__pan img { position: absolute; left: 0; top: 0; max-width: none; width: auto; height: auto; }

.tunnel, .kaleido { display: none; }
.psy-bg, .psy-stickers { display: none; }

@media (max-width: 1000px) {
  .big__head { grid-template-columns: 1fr; }
  .nav__mode span { display: none; }
}
@media (max-width: 700px) {
  .gate__choices { flex-direction: row; }
  .gate__btn b { font-size: 11vw; }
  .gate__q { font-size: 20px; margin-top: 4vh; }
  .big__item { height: 170vh; }
  .big__cap { flex-direction: column; gap: 6px; }
  .big__cap p { text-align: left; }
  .lb__tip { display: none; }
}

/* ═════════ V3 : Streum & Sous le manteau ═════════ */
.streum { height: 520vh; position: relative; background: var(--paper); }
.streum__stage, .manteau__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.streum__gl, .manteau__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.streum__ui, .manteau__ui { position: absolute; inset: 0; pointer-events: none; padding: 90px var(--g) var(--g); display: grid; grid-template-rows: auto auto 1fr auto; }
.streum__t { font-size: clamp(90px, 15vw, 260px); margin: 2vh 0 0; mix-blend-mode: multiply; }
.streum__lede { font-size: clamp(20px, 2vw, 30px); line-height: 1.15; max-width: 16em; margin: 2vh 0 0; }
.streum__now { grid-row: 4; display: flex; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 12px; }
.streum__n { color: var(--bic); }
.manteau { position: relative; background: #0d0c0f; color: #EEEAE0; }
.manteau__stage { height: 100vh; }
.manteau { --stage-h: 420vh; }
.manteau > .manteau__stage { position: sticky; }
.manteau::before { content: ""; display: block; }
.manteau__ui { color: #EEEAE0; }
.manteau__t { font-size: clamp(70px, 10vw, 170px); margin: 2vh 0 0; }
.manteau__lede { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.2; max-width: 15em; margin: 2vh 0 0; }
.manteau__now { grid-row: 4; border-top: 1px solid rgba(238,234,224,.3); padding-top: 12px; margin: 0; }
.manteau__scroll { height: 420vh; position: relative; }
.manteau .film { background: transparent; padding-top: 6vh; }
.manteau .film__head h3 { font-size: clamp(54px, 6.5vw, 110px); margin: 3vh 0; }
@media (max-width: 700px) {
  .streum { height: 420vh; }
  .streum__ui, .manteau__ui { padding-top: 70px; }
  .manteau__lede { max-width: 12em; }
}

/* ═════════ Widget : le passant qui fait coucou ═════════ */
.dude { position: fixed; right: 18px; bottom: 0; z-index: 85; display: flex; align-items: flex-end; gap: 6px; pointer-events: none; transform: translateY(110%); }
body.is-loading .dude, body:has(.lb.is-open) .dude, body.menu-open .dude { display: none; }
.dude__fig { pointer-events: auto; position: relative; width: 112px; aspect-ratio: 354 / 638; padding: 0; transform-origin: 50% 100%; animation: dude-breathe 3.2s ease-in-out infinite; }
.dude__fig img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dude__hand { transform-origin: 18.4% 25.1%; animation: dude-wave 1.1s ease-in-out infinite alternate; }
.dude:hover .dude__hand { animation-duration: .35s; }
.dude.is-boiling .dude__fig { filter: url(#dude-boil); }
@keyframes dude-wave { from { transform: rotate(-9deg); } to { transform: rotate(13deg); } }
@keyframes dude-breathe { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-2px) scaleY(.985); } }
.dude__bubble { pointer-events: auto; position: relative; margin-bottom: 146px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 16px 16px 4px 16px; padding: 10px 12px 11px; box-shadow: 4px 4px 0 var(--ink); display: grid; gap: 8px; min-width: 176px; transform-origin: 100% 100%; transition: opacity .35s, transform .5s var(--ease); }
.dude__bubble::after { content: ""; position: absolute; right: -9px; bottom: 10px; width: 14px; height: 14px; background: var(--paper); border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.dude.is-quiet .dude__bubble { opacity: 0; transform: scale(.6) translateY(20px); pointer-events: none; }
.dude:hover .dude__bubble { opacity: 1; transform: none; pointer-events: auto; }
.dude__say { margin: 0; font-size: 11px; line-height: 1.35; min-height: 2.7em; max-width: 190px; }
.dude__switch { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; }
.dude__knob { position: relative; width: 46px; height: 22px; border-radius: 99px; background: linear-gradient(90deg, #2d44ff 50%, #ff4fb1 50%); box-shadow: inset 0 0 0 1.5px var(--ink); }
.dude__knob i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.dude__switch[aria-checked="true"] .dude__knob i { transform: translateX(24px); }
.dude__opt { opacity: .45; transition: opacity .3s; }
.dude__switch[aria-checked="false"] .dude__opt--a, .dude__switch[aria-checked="true"] .dude__opt--b { opacity: 1; }
.dude__flood { position: fixed; inset: 0; pointer-events: none; clip-path: circle(0px at 100% 100%); z-index: 84; visibility: hidden; will-change: clip-path; }
/* mode psyché : bulle fluo, ligne qui « bout », couleurs qui tournent */
body.psy .dude__bubble { background: var(--acid); color: #080b2e; border-color: #080b2e; box-shadow: 4px 4px 0 var(--pink); }
body.psy .dude__bubble::after { background: var(--acid); border-color: #080b2e; }
body.psy .dude__fig { animation: dude-breathe 1.6s ease-in-out infinite, hue 7s linear infinite; }
body.psy .dude__hand { animation-duration: .5s; }
@media (max-width: 700px) {
  .dude { right: 8px; }
  .dude__fig { width: 68px; }
  .dude__bubble { margin-bottom: 86px; min-width: 150px; }
}
@media (prefers-reduced-motion: reduce) { .dude__fig, .dude__hand { animation: none; } }

/* glisser au doigt : indication visible sur écrans tactiles seulement */
.swipe-hint { display: none; margin: 14px var(--g) 0; opacity: .6; letter-spacing: .08em; }
.selected__intro .swipe-hint { margin: 18px 0 0; }
@media (hover: none) { .swipe-hint { display: block; } }
.show__strip.is-drag, .selected__track.is-drag { cursor: grabbing; }
