/* Mise en page : une planche d'imprimeur. Papier offset, traits de coupe, trames,
   et trois encres riso (cobalt, corail, safran) qui sortent de repérage quand ça bouge. */
:root {
  --paper: #efeee9;
  --paper-2: #e3e2db;
  --ink: #16182b;
  --cobalt: #2b46d9;
  --coral: #f0533f;
  --sun: #f6c02e;
  --mute: #5c5e70;
  --line: rgba(22, 24, 43, .16);

  --display: 'Anybody', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gut: clamp(16px, 4vw, 64px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  color-scheme: light;
}

*, *::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);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(17px, .45vw + 14px, 20px);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }

.wrap {
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}
.label {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  font-stretch: 87.5%;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: inherit; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ---------- curseur : une croix de repérage ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  .cursor {
    display: block;
    position: fixed; left: 0; top: 0; z-index: 120;
    pointer-events: none;
    mix-blend-mode: difference;
    color: #fff;
    will-change: transform;
  }
}
.cursor__mark {
  position: absolute; left: -20px; top: -20px; width: 40px; height: 40px;
  fill: none; stroke: currentColor; stroke-width: 1.3;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.cursor__label {
  position: absolute; left: 0; top: 0;
  width: 104px; height: 104px; margin: -52px 0 0 -52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff; color: #000;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  transform: scale(0);
  transition: transform .5s var(--ease-out);
}
.cursor.is-link .cursor__mark { transform: scale(1.7) rotate(45deg); }
.cursor.is-view .cursor__mark { opacity: 0; transform: scale(.4); }
.cursor.is-view .cursor__label { transform: scale(1); }
.cursor.is-hidden .cursor__mark { opacity: 0; transform: scale(0); }
.cursor.is-down .cursor__mark { transform: scale(.7); }

/* ---------- grain papier ---------- */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  z-index: 110; pointer-events: none;
  opacity: .1;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.2 0'/%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(-4%, 3%); }
  40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- traits de coupe ---------- */
.crop { position: absolute; width: 22px; height: 22px; pointer-events: none; color: currentColor; }
.crop::before, .crop::after { content: ''; position: absolute; background: currentColor; }
.crop::before { width: 16px; height: 1px; }
.crop::after { width: 1px; height: 16px; }
.crop--tl { top: -22px; left: -22px; } .crop--tl::before { left: 0; bottom: 0; } .crop--tl::after { right: 0; top: 0; }
.crop--tr { top: -22px; right: -22px; } .crop--tr::before { right: 0; bottom: 0; } .crop--tr::after { left: 0; top: 0; }
.crop--bl { bottom: -22px; left: -22px; } .crop--bl::before { left: 0; top: 0; } .crop--bl::after { right: 0; bottom: 0; }
.crop--br { bottom: -22px; right: -22px; } .crop--br::before { right: 0; top: 0; } .crop--br::after { left: 0; bottom: 0; }

/* ---------- riso : trois encres superposées ---------- */
.riso { position: relative; display: inline-block; }
.riso__y, .riso__m, .L__y, .L__m { mix-blend-mode: multiply; }
.riso__y, .riso__m { position: absolute; left: 0; top: 0; }
.riso__y { color: var(--sun); }
.riso__m { color: var(--coral); }
.riso__c { color: var(--cobalt); position: relative; }

/* ---------- chargement ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--paper);
  clip-path: inset(0% 0% 0% 0%);
  padding: max(24px, env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
}
.loader .crop { color: var(--ink); }
.loader .crop--tl { top: 28px; left: 28px; } .loader .crop--tr { top: 28px; right: 28px; }
.loader .crop--bl { bottom: 28px; left: 28px; } .loader .crop--br { bottom: 28px; right: 28px; }
.loader__word {
  font-family: var(--display);
  font-size: clamp(56px, 15vw, 240px);
  font-weight: 800; font-stretch: 112%;
  line-height: .9; letter-spacing: -.02em;
}
.loader__meta {
  position: absolute; left: 64px; right: 64px; bottom: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.loader__count b { font-weight: 500; font-variant-numeric: tabular-nums; }
.loader__swatches { display: flex; gap: 6px; }
.loader__swatches i { width: 14px; height: 14px; border: 1px solid var(--ink); background: linear-gradient(var(--s), var(--s)) no-repeat bottom / 100% var(--fill, 0%); }
@media (max-width: 640px) {
  .loader__meta { left: 32px; right: 32px; bottom: 40px; }
  .loader__swatches { display: none; }
}

/* ---------- en-tête ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: calc(18px + env(safe-area-inset-top, 0px));
  padding-bottom: 18px;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
  color: #fff;
  mix-blend-mode: difference;
  transition: transform .6s var(--ease-out);
}
.hdr.is-hidden { transform: translateY(-110%); }
.hdr__logo {
  display: inline-block;
  font-family: var(--display); font-weight: 800; font-stretch: 120%;
  font-size: 20px; letter-spacing: -.01em; text-decoration: none;
}
.hdr__nav { display: flex; gap: clamp(14px, 2.4vw, 36px); }
.hdr__nav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; position: relative; padding-block: 6px;
}
.hdr__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 640px) {
  .hdr__nav a:nth-child(2), .hdr__nav a:nth-child(3) { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: max(560px, 100svh);
  display: grid; grid-template-rows: auto 1fr auto;
  padding-top: calc(84px + env(safe-area-inset-top, 0px));
  padding-bottom: 28px;
  overflow: hidden;
}
.hero__trame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero > *:not(canvas) { position: relative; z-index: 1; }
.hero__top { display: flex; justify-content: space-between; gap: 16px; }
.hero__title {
  align-self: center;
  display: flex; justify-content: center;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
  font-family: var(--display);
  font-size: 18vw;
  line-height: .8;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.hero__line, .hero__word { display: flex; justify-content: center; }
.L {
  --w: 100; --g: 800;
  position: relative; display: inline-block;
  font-variation-settings: 'wdth' var(--w), 'wght' var(--g);
  will-change: transform;
}
.L > span { display: block; font-variation-settings: inherit; }
.L__y, .L__m { position: absolute; left: 0; top: 0; }
.L__y { color: var(--sun); transform: translate(var(--yx, 3px), var(--yy, -2px)); }
.L__m { color: var(--coral); transform: translate(var(--mx, -3px), var(--my, 2px)); }
.L__c { color: var(--cobalt); position: relative; }
.L--apo { margin-inline: -.02em; }
.hero__bottom {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 24px 40px;
}
.hero__intro {
  margin: 0; max-width: 30ch;
  font-size: clamp(19px, 1.3vw + 10px, 28px); line-height: 1.25;
  font-variation-settings: 'opsz' 36;
  text-wrap: pretty;
}
.hero__scroll {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none;
}
.hero__scroll svg { width: 22px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__scroll path { stroke-dasharray: 120; animation: draw 2.6s var(--ease-io) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 120; } 55%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -120; } }
.stamp { width: clamp(108px, 11vw, 168px); aspect-ratio: 1; }
.stamp svg { width: 100%; height: 100%; overflow: visible; }
.stamp text { font-family: var(--mono); font-size: 15.4px; letter-spacing: .14em; fill: var(--ink); }
.stamp__reg { fill: none; stroke: var(--coral); stroke-width: 2; }
@media (max-width: 760px) {
  .hero__bottom { grid-template-columns: minmax(0, 1fr) auto; }
  .hero__scroll { display: none; }
  .hero__title { font-size: 19vw; }
}
@media (max-width: 640px) {
  .hero__line { flex-direction: column; align-items: center; }
  .hero__title { line-height: .84; }
}

/* ---------- bandes ---------- */
.bands { position: relative; height: clamp(170px, 20vw, 300px); overflow: hidden; }
.band {
  position: absolute; left: -10%; width: 120%; top: 50%;
  padding-block: clamp(10px, 1.2vw, 18px);
  overflow: hidden;
}
.band--a { background: var(--cobalt); color: var(--paper); transform: translateY(-50%) rotate(-4deg); z-index: 1; }
.band--b { background: var(--sun); color: var(--ink); transform: translateY(-50%) rotate(3.5deg); }
.band__track {
  display: flex; align-items: center; width: max-content;
  font-family: var(--display); font-style: italic; font-weight: 800; font-stretch: 125%;
  font-size: clamp(26px, 4.2vw, 70px); line-height: 1; text-transform: uppercase; white-space: nowrap;
  will-change: transform;
}
.band__item { padding-inline: .45em; }
.sep { position: relative; display: inline-block; width: .62em; height: .62em; border: .07em solid currentColor; border-radius: 50%; }
.sep::before, .sep::after { content: ''; position: absolute; background: currentColor; }
.sep::before { left: 50%; top: -30%; bottom: -30%; width: .07em; transform: translateX(-50%); }
.sep::after { top: 50%; left: -30%; right: -30%; height: .07em; transform: translateY(-50%); }

/* ---------- manifeste ---------- */
.manifeste { padding-block: clamp(96px, 18vh, 220px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 5fr); gap: 24px; }
.manifeste__label { padding-top: 1.2em; }
.manifeste__text {
  margin: 0;
  font-size: clamp(30px, 4.3vw, 78px); line-height: 1.08; font-weight: 300; letter-spacing: -.015em;
  font-variation-settings: 'opsz' 72;
  text-wrap: pretty;
}
.manifeste__text .w { color: var(--ink); }
.js .manifeste__text .w { color: rgba(22, 24, 43, .22); }
.pill {
  display: inline-block; vertical-align: -.06em;
  width: 1.6em; height: .78em; border-radius: 999px; overflow: hidden;
  transition: width .6s var(--ease-out);
  background: var(--paper-2);
}
.pill img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.pill:hover, .pill:focus-visible { width: 2.8em; }
.pill:hover img { transform: scale(1.15); }
@media (max-width: 760px) { .manifeste { grid-template-columns: 1fr; } .manifeste__label { padding-top: 0; } }

/* ---------- sélection ---------- */
.selection { --bg: var(--paper); --fg: var(--ink); background: var(--bg); color: var(--fg); position: relative; }
.selection__pin { position: relative; }
.selection__track { display: flex; flex-direction: column; gap: 96px; padding: 96px max(var(--gut), env(safe-area-inset-right, 0px)) 120px max(var(--gut), env(safe-area-inset-left, 0px)); }
.selection__intro { display: flex; flex-direction: column; gap: 24px; }
.selection__title {
  font-family: var(--display); font-weight: 800; font-stretch: 80%;
  font-size: clamp(48px, 6.4vw, 118px); line-height: .88; letter-spacing: -.02em; text-transform: uppercase;
}
.card { position: relative; }
.card a { display: block; text-decoration: none; }
.card__frame { position: relative; margin: 22px; }
.card__img { position: relative; overflow: hidden; aspect-ratio: 1280 / 1001; background: rgba(0, 0, 0, .08); }
.card__img img { position: absolute; top: 0; left: -10%; width: 120%; max-width: none; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease-out); }
.card a:hover .card__img img { scale: 1.06; }
.card .crop { transition: transform .6s var(--ease-out); }
.card a:hover .crop--tl { transform: translate(-6px, -6px); }
.card a:hover .crop--tr { transform: translate(6px, -6px); }
.card a:hover .crop--bl { transform: translate(-6px, 6px); }
.card a:hover .crop--br { transform: translate(6px, 6px); }
.card__meta { display: flex; justify-content: space-between; gap: 16px; margin: 6px 22px 10px; }
.card__title {
  margin-inline: 22px;
  font-family: var(--display); font-weight: 750; font-stretch: 88%;
  font-size: clamp(28px, 2.6vw, 46px); line-height: .95; letter-spacing: -.01em;
}
.ruler { display: none; }
@media (min-width: 900px) {
  .selection__pin { height: 100svh; overflow: hidden; display: flex; align-items: center; }
  .selection__track { flex-direction: row; align-items: center; width: max-content; gap: 6vw; padding: 0 12vw 0 max(var(--gut), env(safe-area-inset-left, 0px)); will-change: transform; }
  .selection__intro { width: min(34vw, 520px); flex: none; }
  .card { flex: none; width: clamp(340px, 34vw, 600px); }
  .card:nth-of-type(odd) { margin-top: -14vh; }
  .card:nth-of-type(even) { margin-top: 14vh; }
  .ruler {
    display: block; position: absolute; left: max(var(--gut), env(safe-area-inset-left, 0px)); right: max(var(--gut), env(safe-area-inset-right, 0px)); bottom: 28px; height: 22px;
  }
  .ruler__ticks {
    position: absolute; inset: 0 90px 0 0;
    background:
      repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 10px) bottom / 100% 6px no-repeat,
      repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 50px) bottom / 100% 12px no-repeat;
    opacity: .45;
  }
  .ruler__fill { position: absolute; left: 0; right: 90px; bottom: 0; height: 2px; background: currentColor; transform-origin: left; transform: scaleX(0); }
  .ruler__count { position: absolute; right: 0; bottom: -2px; font-variant-numeric: tabular-nums; }
}

/* ---------- archive ---------- */
.archive { padding-block: clamp(96px, 16vh, 200px); }
.archive__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 48px; }
.archive__title {
  font-family: var(--display); font-weight: 800; font-stretch: 140%;
  font-size: clamp(56px, 11vw, 200px); line-height: .82; letter-spacing: -.03em; text-transform: uppercase;
}
.archive__cols, .row {
  display: grid; grid-template-columns: 8ch minmax(0, 1fr) minmax(0, .45fr) minmax(0, .45fr) 28px; gap: 16px; align-items: baseline;
}
.archive__cols { padding-bottom: 12px; color: var(--mute); }
.archive__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.row {
  position: relative; overflow: hidden;
  padding-block: clamp(14px, 1.6vw, 24px);
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: color .45s var(--ease-out);
}
.row::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--tone, var(--cobalt));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}
.row > * { position: relative; }
.archive__list li { position: relative; z-index: 0; }
.row:hover, .row:focus-visible { color: var(--on-tone, var(--paper)); }
.row:hover::before, .row:focus-visible::before { transform: scaleY(1); }
.row__year { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.row__title {
  font-family: var(--display); font-weight: 720; font-stretch: 92%;
  font-size: clamp(22px, 3vw, 50px); line-height: 1; letter-spacing: -.01em;
}
.row__client { font-style: italic; font-size: clamp(16px, 1.2vw, 20px); }
.row__type { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.row__arrow { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; align-self: center; transform: translateX(-12px) rotate(45deg); opacity: 0; transition: transform .5s var(--ease-out), opacity .3s; }
.row:hover .row__arrow { transform: none; opacity: 1; }
.roll { display: inline; }
.roll__w { display: inline-flex; white-space: nowrap; }
.roll__i { display: inline-block; overflow: hidden; height: 1.22em; line-height: 1.22; margin-block: -.11em; }
.roll__i > span { display: block; transition: transform .55s var(--ease-out); transition-delay: calc(var(--i) * 14ms); }
.row:hover .roll__i > span { transform: translateY(-100%); }
@media (max-width: 760px) {
  .archive__head { flex-direction: column; align-items: start; }
  .row { grid-template-columns: 5ch minmax(0, 1fr); row-gap: 6px; }
  .row__client { grid-column: 2; }
  .row__type, .row__arrow { display: none; }
  .roll__i { height: auto; overflow: visible; }
  .roll__i > span + span { display: none; }
}
.preview {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: clamp(240px, 22vw, 380px); aspect-ratio: 1280 / 1001;
  margin: calc(clamp(240px, 22vw, 380px) * -0.39) 0 0 calc(clamp(240px, 22vw, 380px) * -0.5);
  visibility: hidden;
}
.preview__inner { position: absolute; inset: 0; overflow: hidden; clip-path: inset(50% 50% 50% 50%); transition: clip-path .6s var(--ease-out); }
.preview.is-on .preview__inner { clip-path: inset(0 0 0 0); }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .preview { display: none; } }

/* ---------- savoir-faire ---------- */
.savoir { padding-block: clamp(64px, 10vh, 140px) clamp(96px, 16vh, 200px); }
.savoir__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 64px; }
.savoir__title {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(40px, 6vw, 104px); line-height: 1; letter-spacing: -.02em;
  font-variation-settings: 'opsz' 72;
}
.stack { display: grid; gap: 6vh; }
.sf {
  position: sticky; top: calc(88px + var(--i) * 26px);
  min-height: min(76svh, 720px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 48px;
  padding: clamp(24px, 3.4vw, 56px);
  background: var(--bg); color: var(--fg);
  border-radius: 4px;
  transform-origin: 50% 0;
  overflow: hidden;
}
.sf__top { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-width: 0; }
.sf__name {
  font-family: var(--display); font-weight: 860; font-stretch: 58%;
  font-size: clamp(60px, 11.5vw, 200px); line-height: .84; letter-spacing: -.02em; text-transform: uppercase;
  overflow-wrap: anywhere;
}
.sf__side { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-width: 0; }
.sf__text { margin: 0; max-width: 34ch; font-size: clamp(19px, 1.5vw, 26px); line-height: 1.3; font-variation-settings: 'opsz' 30; }
.sf__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid currentColor; }
.sf__list li { border-bottom: 1px solid currentColor; }
.sf__list button {
  width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-block: 12px; text-align: left;
  font-family: var(--display); font-weight: 650; font-stretch: 95%; font-size: clamp(17px, 1.4vw, 22px);
  transition: padding .45s var(--ease-out);
}
.sf__list button:hover { padding-left: 14px; }
.sf__list .label { opacity: .75; }
.sf__swatch { width: 56px; flex: none; height: 56px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.sf__swatch::after { content: ''; width: 60%; height: 60%; border-radius: 50%; background: currentColor; }
@media (max-width: 860px) {
  .sf { grid-template-columns: 1fr; top: calc(76px + var(--i) * 16px); min-height: 0; gap: 24px; }
  .sf__swatch { display: none; }
  .sf__side { gap: 24px; }
}

/* ---------- contact ---------- */
.contact {
  position: relative;
  min-height: max(680px, 100svh);
  display: flex; flex-direction: column;
  background: var(--cobalt); color: var(--paper);
  overflow: hidden;
}
.contact__top { padding-top: clamp(96px, 14vh, 160px); display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 2; }
.contact__title {
  font-family: var(--display); font-weight: 820; font-stretch: 120%;
  font-size: clamp(54px, 10.5vw, 190px); line-height: .86; letter-spacing: -.03em;
}
.contact__title span { display: block; }
.contact__title em { font-style: italic; color: var(--sun); display: block; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 30px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-stretch: 110%; font-size: clamp(17px, 1.3vw, 21px);
  text-decoration: none;
  transition: background .4s, color .4s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .5s var(--ease-out); }
.btn:hover { background: var(--sun); }
.btn:hover svg { transform: rotate(45deg); }
.btn--line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }
.btn--line:hover { background: var(--paper); color: var(--ink); }
.btn--line:hover svg { transform: translateX(4px); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.socials a { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.bac { position: relative; flex: 1; min-height: 44svh; z-index: 1; touch-action: pan-y; }
.bac__hint { position: absolute; right: max(var(--gut), env(safe-area-inset-right, 0px)); top: 24px; opacity: .7; }
.chip {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 1.1em; border-radius: 999px;
  font-family: var(--display); font-weight: 760; font-stretch: 105%; text-transform: uppercase; white-space: nowrap;
  user-select: none; -webkit-user-select: none;
  will-change: transform;
}
.chip--round { padding: 0; border-radius: 50%; }
.no-motion .bac { display: flex; flex-wrap: wrap; align-content: flex-end; gap: 8px; padding: 24px max(var(--gut), env(safe-area-inset-left, 0px)); }
.no-motion .chip { position: static; padding: .7em 1.1em; font-size: 20px; }
.no-motion .chip--round { width: 2.4em; height: 2.4em; padding: 0; }

/* ---------- pied de page ---------- */
.ftr { padding-top: 40px; overflow: hidden; }
.ftr__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ftr__up {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 32px);
}
.ftr__up svg { width: 22px; height: 34px; fill: none; stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-out); }
.ftr__up:hover svg { transform: translateY(-8px); }
.ftr__word {
  margin: 24px 0 0;
  height: .56em; overflow: hidden;
  font-family: var(--display); font-weight: 860; font-stretch: 150%;
  font-size: 21.5vw; line-height: .78; letter-spacing: -.04em; text-align: center;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
  white-space: nowrap;
}
.ftr__word span { display: inline-block; }

/* ---------- fiche projet ---------- */
.project { position: fixed; inset: 0; z-index: 80; }
.project__scroll {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  background: var(--p-bg, var(--paper)); color: var(--p-fg, var(--ink));
  -webkit-overflow-scrolling: touch;
}
.project__wipe { position: fixed; inset: 0; z-index: 3; background: var(--p-tone, var(--cobalt)); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.project__bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px)); padding-bottom: 14px;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
  background: var(--p-bg, var(--paper));
}
.project__close {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid currentColor;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.project__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .5s var(--ease-out); }
.project__close:hover { background: var(--p-fg, var(--ink)); color: var(--p-bg, var(--paper)); }
.project__close:hover svg { transform: rotate(90deg); }
.project__hero { margin: 0; height: min(78svh, 900px); overflow: hidden; position: relative; }
.project__hero img { width: 100%; height: 100%; object-fit: cover; }
.project__body { padding-block: clamp(40px, 6vw, 96px) 64px; display: grid; gap: clamp(32px, 4vw, 64px); }
.project__title {
  font-family: var(--display); font-weight: 800; font-stretch: 92%;
  font-size: clamp(44px, 7.6vw, 140px); line-height: .9; letter-spacing: -.025em;
}
.project__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.project__title .w > span { display: inline-block; }
.project__sheet {
  margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px;
  border-top: 1px solid currentColor;
}
.project__sheet div { padding-top: 14px; display: grid; gap: 6px; min-width: 0; }
.project__sheet dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.project__sheet dd { margin: 0; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.3; }
.project__desc { max-width: 64ch; }
.project__desc p { margin: 0 0 1em; font-size: clamp(18px, 1.35vw, 22px); line-height: 1.5; }
.project__desc p:first-child { font-size: clamp(22px, 2vw, 32px); line-height: 1.3; font-variation-settings: 'opsz' 36; }
.project__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.project__gallery figure { margin: 0; overflow: hidden; background: rgba(0, 0, 0, .06); grid-column: span 2; }
.project__gallery figure.is-half { grid-column: span 1; }
.project__gallery img { width: 100%; height: auto; transform: scale(1.12); clip-path: inset(14% 0 0 0); transition: transform 1.4s var(--ease-out), clip-path 1.2s var(--ease-out); }
.project__gallery figure.is-in img { transform: none; clip-path: inset(0 0 0 0); }
.project__source a { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.project__next {
  position: relative; overflow: hidden;
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; text-align: left;
  padding-block: clamp(48px, 8vw, 120px) calc(clamp(48px, 8vw, 120px) + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
  border-top: 1px solid currentColor;
}
.project__next::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--p-fg, var(--ink)); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); }
.project__next:hover { color: var(--p-bg, var(--paper)); }
.project__next:hover::before { transform: scaleY(1); }
.project__next { isolation: isolate; transition: color .5s; }
.project__next-title {
  font-family: var(--display); font-weight: 820; font-stretch: 115%;
  font-size: clamp(36px, 7vw, 128px); line-height: .9; letter-spacing: -.03em;
}
@media (max-width: 760px) {
  .project__sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
  .project__gallery figure.is-half { grid-column: span 2; }
  .project__hero { height: 56svh; }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero__scroll path { animation: none; }
  .project__gallery img { transform: none; clip-path: none; }
  .manifeste__text .w, .js .manifeste__text .w { color: var(--ink); }
}
