/* Slash Studio — fond blanc, images bord à bord, titres capitales condensées type marquage de piste ;
   une seule couleur vive, le rouge des vestes, qui sert aussi de « barre de lecture » (vidéo) partout sur le site. */

/* ---------- polices hébergées sur le site (plus rapide, et rien n'est envoyé à Google) */
@font-face { font-family: "Saira Condensed"; font-weight: 700; font-display: swap; src: url(fonts/saira-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Saira Condensed"; font-weight: 800; font-display: swap; src: url(fonts/saira-condensed-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Saira"; font-weight: 500; font-display: swap; src: url(fonts/saira-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Saira"; font-weight: 600; font-display: swap; src: url(fonts/saira-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url(fonts/archivo-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-display: swap; src: url(fonts/archivo-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url(fonts/archivo-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }

:root {
  --bg: #ffffff;
  --ink: #111214;
  --mute: #686b70;
  --line: rgba(17, 18, 20, .12);
  --soft: #f1f1ef;
  --signal: #d42a1f;
  --f-display: "Saira Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-ui: "Saira", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 3vw, 40px);
  --hdr: 68px;
  /* courbes : sortie franche pour ce qui répond à un geste, entrée/sortie douce pour ce qui bouge à l'écran */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.wrap { padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
a, button { touch-action: manipulation; }
button, .btn, .nav a, .more { -webkit-user-select: none; user-select: none; }

/* lien d'évitement clavier */
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 16px; font: 600 13px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transform: translateY(-160%); transition: transform 200ms var(--ease-out); }
.skip:focus { transform: none; }

/* ---------- type */
.label { font: 600 12px/1.3 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.display { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .88; letter-spacing: .005em; margin: 0; text-wrap: balance; }
h2.display { font-size: clamp(44px, 7vw, 108px); }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 58ch; margin: 0; text-wrap: pretty; }
p { max-width: 65ch; text-wrap: pretty; }

/* ---------- header */
.hdr { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--bg); border-bottom: 1px solid var(--line); transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease; }
.hdr .logo { display: block; height: 46px; }
.hdr .logo img { height: 100%; width: auto; }
.hdr .logo .w { display: none; }
body.over .hdr:not(.solid) { background: transparent; border-color: transparent; color: #fff; }
body.over .hdr:not(.solid) .logo .w { display: block; }
body.over .hdr:not(.solid) .logo .b { display: none; }
.nav { display: flex; gap: clamp(14px, 2.6vw, 34px); align-items: center; }
.nav a { font: 600 13px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 10px 0; position: relative; }
/* soulignement rouge qui se « remplit » comme une barre de lecture */
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
@media (max-width: 600px) { .nav .ig { display: none; } .hdr .logo { height: 38px; } .nav { gap: 14px; } .nav a { font-size: 12px; letter-spacing: .1em; } }

main { padding-top: calc(var(--hdr) + env(safe-area-inset-top, 0px)); }
body.over main { padding-top: 0; }

/* ---------- boutons (contour, comme une étiquette de ski) */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1.5px solid currentColor; padding: 14px 20px; background: transparent; color: inherit; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
  .on-img .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
}
.btn .tri { width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* ---------- intro : 4 clips verticaux côte à côte en fond, titre centré */
.vhero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff; background: #1b1d20; isolation: isolate; }
.vh-clips { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); z-index: -2; }
.vh-clips video { width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: clipIn 1.2s var(--ease-out) forwards; }
.vh-clips video:nth-child(2) { animation-delay: 120ms; } .vh-clips video:nth-child(3) { animation-delay: 240ms; } .vh-clips video:nth-child(4) { animation-delay: 360ms; }
@keyframes rise { to { transform: none; } }
@keyframes clipIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .vh-clips { grid-template-columns: repeat(2, 1fr); } .vh-clips video:nth-child(n+3) { display: none; } }
.vhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(0,0,0,.45), rgba(0,0,0,.15) 75%), linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,.1) 70%, rgba(0,0,0,.45) 100%); }
.vh-in { display: grid; justify-items: center; gap: clamp(16px, 2vw, 24px); max-width: 1200px; }
.vh-kick { color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.vh-kick i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(212,42,31,.7); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(212,42,31,0); } }
.vhero h1 { font-size: clamp(76px, 13vw, 214px); text-shadow: 0 2px 30px rgba(0,0,0,.2); }
.vhero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.vhero h1 .ln > span { display: block; transform: translateY(105%); animation: rise 900ms var(--ease-out) 200ms forwards; }
.vhero h1 .ln:nth-child(2) > span { animation-delay: 290ms; }
.vhero .lede { color: rgba(255,255,255,.88); max-width: 46ch; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn.pri { background: var(--signal); border-color: var(--signal); color: #fff; }
@media (hover: hover) and (pointer: fine) { .on-img .btn.pri:hover { background: #fff; border-color: #fff; color: var(--ink); } }
.vh-cap { color: rgba(255,255,255,.7); }
/* indicateur de défilement : un trait qui se remplit en rouge, comme les barres de lecture */
.cue { position: absolute; bottom: 24px; left: 50%; width: 2px; height: 48px; margin-left: -1px; background: rgba(255,255,255,.3); overflow: hidden; }
.cue i { position: absolute; inset: 0; background: var(--signal); transform: scaleY(0); transform-origin: top; animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- ticker (points) */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding-block: 16px; }
.ticker-track { display: inline-flex; animation: tick 46s linear infinite; font: 800 clamp(20px, 2.4vw, 30px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.ticker-track span { display: inline-flex; align-items: center; }
.ticker-track span b { font-weight: inherit; }
.ticker-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); display: inline-block; margin: 0 26px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections */
.sec { padding-block: clamp(56px, 8vw, 112px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 36px); }
.sec-head > div { display: grid; gap: 10px; }
.more { font: 600 13px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; position: relative; }
.more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform-origin: left; transition: background-color 200ms ease, transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .more:hover { color: var(--signal); } .more:hover::after { background: var(--signal); } }

/* rangée de tuiles portrait (sélection d'accueil + index de projets) */
.tiles { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 8px; }
.tiles.idx { --cols: 4; gap: clamp(8px, 1vw, 14px); row-gap: clamp(28px, 3vw, 44px); }
@media (max-width: 1100px) { .tiles { --cols: 3; } .tiles.idx { --cols: 3; } }
@media (max-width: 640px) { .tiles, .tiles.idx { --cols: 2; } }
.tile { text-decoration: none; display: grid; gap: 10px; align-content: start; min-width: 0; transition: transform 160ms var(--ease-out); }
.tile:active { transform: scale(.985); }
.tile .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
/* filet rouge en bas de l'image : la « barre de lecture » qui se remplit au survol */
.tile .ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.tile .t { display: grid; gap: 2px; }
.tile h3 { font: 800 clamp(20px, 1.9vw, 28px)/1 var(--f-display); text-transform: uppercase; margin: 0; transition: color 200ms ease; }
.tile .label { font-size: 11px; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.04); }
  .tile:hover .ph::after { transform: scaleX(1); }
  .tile:hover h3 { color: var(--signal); }
}

/* split Work | Outdoor, bord à bord */
.split2 { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .split2 { grid-template-columns: 1fr; } }
.half { position: relative; aspect-ratio: 1 / 1; max-height: 86svh; width: 100%; overflow: hidden; color: #fff; text-decoration: none; display: block; background: #1b1d20; }
.half img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.half::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.half .in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 18px; justify-items: start; padding-block: 0 clamp(24px, 4vw, 48px); }
.half h2 { font-size: clamp(52px, 7.4vw, 120px); }
@media (hover: hover) and (pointer: fine) { .half:hover img { transform: scale(1.03); } }

/* ---------- en mouvement : clips verticaux en boucle */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(176px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.reel { scroll-snap-align: start; margin: 0; display: grid; gap: 12px; align-content: start; }
.reel .ph { position: relative; aspect-ratio: 9 / 16; background: #1b1d20; overflow: hidden; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
/* la barre de lecture de chaque boucle : avance en rouge avec la vidéo */
.reel .bar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 2px; background: rgba(255,255,255,.35); pointer-events: none; }
.reel .bar i { position: absolute; inset: 0; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.reel .tc { position: absolute; left: 10px; top: 10px; font: 600 11px/1 var(--f-ui); letter-spacing: .1em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); pointer-events: none; display: flex; align-items: center; gap: 6px; }
.reel .tc::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.reel.paused .tc::before { background: rgba(255,255,255,.6); }
.reel figcaption { display: grid; gap: 4px; }
.reel b { font: 800 22px/1 var(--f-display); text-transform: uppercase; }
.reel a { color: var(--signal); text-decoration: none; justify-self: start; }
@media (hover: hover) and (pointer: fine) { .reel a:hover { text-decoration: underline; text-underline-offset: 3px; } }
/* section d accueil : clips alignés */
.motion .reels { align-items: start; }

/* terrains */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }
.terrains { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.terrains li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--line); font: 800 clamp(22px, 2.6vw, 34px)/1 var(--f-display); text-transform: uppercase; }

/* contact : bande noire */
.contact { background: var(--ink); color: #fff; }
.contact .label { color: rgba(255,255,255,.6); }
.contact .duo { padding-block: clamp(56px, 8vw, 110px); }
.contact-big { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.contact-big a, .contact-big button.mail { font: 800 clamp(48px, 7vw, 116px)/.9 var(--f-display); text-transform: uppercase; text-decoration: none; color: #fff; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: baseline; gap: .18em; max-width: 100%; transition: color 200ms ease, transform 160ms var(--ease-out); }
.contact-big a:active, .contact-big button.mail:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .contact-big a:hover, .contact-big button.mail:hover { color: var(--signal); } }
.contact-big .arr { font-size: .42em; }
.contact-big .addr { font: 500 15px/1.4 var(--f-ui); letter-spacing: .04em; user-select: all; margin-bottom: 14px; color: rgba(255,255,255,.75); }
.copied { font: 500 13px var(--f-ui); color: #fff; min-height: 1.2em; }

/* ---------- pages index */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(76px, 15vw, 236px); }
.page-head .lede { max-width: 44ch; }
.page-head .count { font: 800 clamp(20px, 2vw, 28px)/1 var(--f-display); color: var(--signal); vertical-align: top; margin-left: .15em; letter-spacing: 0; }
.about-head { display: grid; gap: 14px; justify-content: start; }
.about-head h1 { font-size: clamp(64px, 12vw, 200px); display: grid; gap: .08em; }
.about-head h1 .intro { font: italic 400 clamp(30px, 3.6vw, 56px)/1 var(--f-serif); text-transform: none; letter-spacing: 0; color: var(--mute); }

/* ---------- page projet */
.p-cover { position: relative; height: min(76svh, 760px); min-height: 380px; overflow: hidden; background: #1b1d20; color: #fff; }
.p-cover img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.6s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.p-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.58)); }
.p-cover .in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-block: 0 clamp(24px, 4vw, 48px); display: grid; gap: 10px; }
.p-cover h1 { font-size: clamp(60px, 11vw, 176px); }
.p-cover h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.p-cover h1 .ln > span { display: block; transform: translateY(105%); animation: rise 800ms var(--ease-out) 80ms forwards; }
.p-cover .label { color: rgba(255,255,255,.85); }
.crumbs { display: flex; gap: 8px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line); }
.crumbs a { text-decoration: none; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--signal); } }
.p-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(32px, 5vw, 64px); }
@media (max-width: 820px) { .p-info { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 0; align-content: start; border-top: 2px solid var(--ink); padding-top: 14px; }
.facts dt { font: 600 11px/1.9 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.facts dd { margin: 0; font: 600 16px/1.6 var(--f-ui); }
.p-info p { margin: 0; font-size: clamp(17px, 1.4vw, 19px); }

.films { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.films .film-card:only-child, .films .film-card.feature { grid-column: 1 / -1; }
@media (max-width: 700px) { .films { grid-template-columns: 1fr; } }
.film-card { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1b1d20; display: block; text-decoration: none; color: #fff; border: 0; padding: 0; width: 100%; cursor: pointer; font: inherit; text-align: left; transition: transform 160ms var(--ease-out); }
.film-card:active { transform: scale(.99); }
.film-card img, .film-card video { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.film-card .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(14px, 2vw, 24px); background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.62)); }
.film-card .play { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 2px solid #fff; border-radius: 50%; display: grid; place-items: center; transition: background-color 200ms ease, border-color 200ms ease, transform 200ms var(--ease-out); }
.film-card .play::before { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.film-card .ttl { font: 800 clamp(22px, 2.4vw, 34px)/1 var(--f-display); text-transform: uppercase; }
.film-card .label { color: rgba(255,255,255,.8); }
@media (hover: hover) and (pointer: fine) {
  .film-card:hover img { transform: scale(1.03); }
  .film-card:hover .play { background: var(--signal); border-color: var(--signal); transform: scale(1.06); }
}

.gallery { columns: 3 260px; column-gap: 8px; }
.gallery.few { columns: 2 260px; max-width: 1100px; }
.gallery button { all: unset; display: block; cursor: zoom-in; margin-bottom: 8px; break-inside: avoid; background: var(--soft); overflow: hidden; position: relative; transition: transform 160ms var(--ease-out); }
.gallery button:active { transform: scale(.985); }
.gallery button:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.gallery img { width: 100%; height: auto; transition: transform 700ms var(--ease-out), opacity 400ms ease; }
/* les photos apparaissent en fondu quand elles ont fini de charger, au lieu de « tomber » d'un coup */
.js .gallery img, .js .tile img { opacity: 0; }
.js .gallery img.ld, .js .tile img.ld { opacity: 1; }
.tile img { transition: transform 600ms var(--ease-out), opacity 400ms ease; }
@media (hover: hover) and (pointer: fine) { .gallery button:hover img { transform: scale(1.02); } }
.reels.inproj { margin-top: 8px; grid-auto-columns: minmax(176px, 240px); }

.nextp { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.nextp a { padding-block: clamp(24px, 4vw, 48px); text-decoration: none; display: grid; gap: 6px; transition: transform 160ms var(--ease-out); }
.nextp a:active { transform: scale(.99); }
.nextp a + a { text-align: right; border-left: 1px solid var(--line); }
.nextp b { font: 800 clamp(30px, 4.4vw, 64px)/.92 var(--f-display); text-transform: uppercase; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .nextp a:hover b { color: var(--signal); } }

/* ---------- about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: clamp(48px, 7vw, 96px); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid figure { margin: 0; position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 10px; }
.about-grid figure img { width: 100%; aspect-ratio: 1 / 1; max-height: 72vh; object-fit: cover; }
@media (max-width: 860px) { .about-grid figure { position: static; } }
.about-txt { display: grid; gap: 22px; font-size: clamp(16px, 1.3vw, 18px); }
.about-txt p { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 2px solid var(--ink); }
.stats div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.stats b { font: 800 clamp(34px, 3.8vw, 52px)/1 var(--f-display); text-transform: uppercase; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 2px solid var(--ink); }
.offer { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.offer + .offer { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 860px) { .offer + .offer { padding-left: 0; border-left: 0; } }
.offer h3 { font: 800 clamp(28px, 3vw, 40px)/.95 var(--f-display); text-transform: uppercase; margin: 0; }
.offer ul { margin: 0; padding-left: 18px; color: #3c3f43; }
.offer .label { color: var(--signal); }

/* ---------- footer */
.ftr { background: var(--ink); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.ftr img { height: 36px; width: auto; }
.ftr nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr a { font: 600 12px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 6px 0; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .ftr a:hover { color: #fff; } }

/* ---------- visionneuse */
.lb { position: fixed; inset: 0; z-index: 100; background: #0a0a0b; color: #fff; display: grid; grid-template-rows: auto 1fr auto; padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); opacity: 1; transition: opacity 220ms ease; overscroll-behavior: contain; }
.lb.enter, .lb.leave { opacity: 0; }
.lb.leave { transition-duration: 160ms; }
.lb .label { color: rgba(255,255,255,.7); }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 4px 12px; }
.lb-stage { position: relative; min-height: 0; overflow: hidden; touch-action: pan-y pinch-zoom; }
.lb-stage img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity 220ms ease, transform 300ms var(--ease-out); }
.lb.enter .lb-stage img, .lb.enter .lb-stage iframe { transform: scale(.97); }
.lb-stage img.out { opacity: 0; }
.lb-stage iframe { position: absolute; inset: 0; margin: auto; max-height: 100%; width: min(100%, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; transition: transform 300ms var(--ease-out); }
.lb-stage iframe.short { width: auto; height: 100%; aspect-ratio: 9 / 16; }
.lb button { background: none; border: 1.5px solid rgba(255,255,255,.4); color: #fff; font: 600 12px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; padding: 12px 14px; cursor: pointer; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.lb button:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .lb button:hover { border-color: #fff; } }
.lb-nav { display: flex; justify-content: center; gap: 10px; padding-top: 12px; }
/* progression dans la galerie : même barre de lecture que le reste du site */
.lb-prog { height: 2px; background: rgba(255,255,255,.18); margin: 0 4px 10px; }
.lb-prog i { display: block; height: 100%; background: var(--signal); transform-origin: left; transition: transform 300ms var(--ease-out); }

/* changement de page : fondu court */
[data-route] { animation: fadein 260ms ease both; }
@keyframes fadein { from { opacity: .001; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  html { scroll-behavior: auto; }
  .ticker-track { animation: none !important; }
  .js .gallery img, .js .tile img { opacity: 1; }
}
