/* Rey Nguyen, site vitrine. Feuille de style unique. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: rgb(242, 242, 240);
  --ink: rgb(12, 12, 12);
  --mute: rgb(94, 94, 90);
  --line: rgb(210, 210, 206);
  --faint: rgb(196, 196, 191);
  --trait: #FF4B1F;
  --night: #0A0A0A;
  --paper: #F2F2F0;
  --e1: cubic-bezier(0.2, 0.7, 0.1, 1);
  --e2: cubic-bezier(0.7, 0, 0.2, 1);
  --k: 0;
  --mx: 0;
  --my: 0;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--trait); outline-offset: 4px; }

.wrap { max-width: 1360px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.h-xxl { margin: 0; font-size: clamp(44px, 8.4vw, 136px); line-height: 0.96; font-weight: 500; letter-spacing: -0.045em; }
.h-xl { margin: 0; font-size: clamp(36px, 5vw, 76px); line-height: 0.98; font-weight: 500; letter-spacing: -0.04em; }
.p { color: var(--mute); transition: color 0.3s; }
.p:hover { color: var(--ink); }

/* Apparitions */
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; }
.rise { display: block; transform: translateY(112%); transition: color 0.25s; }
.entered [data-view]:not([hidden]) .rise { animation: rise 1.1s var(--e1) var(--d, 0s) both; }
.rise:hover { color: var(--trait); }
@keyframes rise { from { transform: translateY(112%); } to { transform: none; } }
/* Lettre par lettre : chaque lettre monte en pivotant depuis son pied, puis se pose. */
.lw { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; transform: translateY(118%) rotate(18deg); transform-origin: 0% 100%; will-change: transform; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rise.chars { transform: none; animation: none !important; }
.entered [data-view]:not([hidden]) .rise.chars .ch { animation: letter 1.05s var(--e1) var(--d, 0s) both; }
@keyframes letter { from { transform: translateY(118%) rotate(18deg); } 60% { transform: translateY(0) rotate(-3deg); } to { transform: none; } }
.sw > span.cw { transform: none; }
.sw .ch { transition: transform 1.05s var(--e1) var(--d, 0s); }
.on > .sw .ch { transform: none; }
.card-t { overflow: hidden; vertical-align: top; padding-bottom: 0.12em; }
.card-t .ch { transition: transform 0.9s var(--e1) var(--d, 0s); }
.card.on .card-t .ch { transform: none; }
@media (prefers-reduced-motion: reduce) { .ch { transform: none !important; animation: none !important; transition: none !important; } }
.fade { opacity: 0; }
.entered [data-view]:not([hidden]) .fade { animation: fade 1s var(--e1) var(--d, 0s) both; }
@keyframes fade { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.rv { opacity: 0; transform: translateY(36px); transition: opacity 1s ease var(--d, 0s), transform 1s var(--e1) var(--d, 0s); }
.rv.on { opacity: 1; transform: none; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-right: 0.22em; }
.sw > span { display: inline-block; transform: translateY(115%); transition: transform 1.05s var(--e1) var(--d, 0s), color 0.25s; }
.on > .sw > span { transform: none; }
.on > .sw > span:hover, .w:hover { transform: translateY(-0.06em) skewX(-9deg); color: var(--trait); transition-delay: 0s; }
.w { display: inline-block; transition: transform 0.45s var(--e1), color 0.25s; }

/* Signature de survol : une keyframe devant le texte */
.k::before {
  content: ""; display: inline-block; width: 0.5em; height: 0.5em; max-width: 0; margin-right: 0;
  background: currentColor; transform: rotate(45deg) scale(0);
  transition: transform 0.35s var(--e1), max-width 0.35s, margin 0.35s;
}
.k:hover::before, .k:focus-visible::before { max-width: 0.5em; margin-right: 0.7em; transform: rotate(45deg) scale(1); }

/* En-tête */
.head { position: relative; z-index: 2; max-width: 1360px; margin: 0 auto; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; align-items: center; }
.head-logo { display: inline-flex; align-items: center; min-height: 44px; }
.head-logo img { height: 16px; width: auto; filter: invert(var(--k)); }
.head nav { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.head-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 16px; text-decoration: none; }
.head-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; background: var(--ink); color: var(--bg); border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; }

/* Accueil */
[data-view="home"] { position: relative; }
.depth { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.lite .depth { display: none; }
/* Téléphone et tactile : pas d'intro, même condition que la version légère du script. */
@media (max-width: 860px), (pointer: coarse) { .intro { display: none; } }
.trace { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.trace path { stroke: var(--trait); stroke-width: 6px; stroke-linecap: round; stroke-linejoin: round; }
.trace-head { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--trait); opacity: 0; pointer-events: none; z-index: 0; }
[data-view="home"] > section { position: relative; z-index: 1; }

.hero { padding-top: 64px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 36px; }
.hero h1 { margin: 0; font-size: clamp(30px, 8.4vw, 136px); line-height: 0.96; font-weight: 500; letter-spacing: -0.045em; }
/* Photo de tournage en studio, en deux calques détourés (voiture devant, Rey derrière) : le blanc du studio devient la page. */
.hero-photo {
  position: absolute; left: 52%; bottom: 84px; z-index: -1; width: 51%; aspect-ratio: 16 / 9;
  pointer-events: none; transform: translate3d(0, var(--hy, 0px), 0);
}
.hero-photo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; will-change: transform; }
.hp-rey { transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -7px), 0); }
.hp-car { transform: translate3d(calc(var(--mx) * -30px), calc(var(--my) * -14px), 0) scale(1.03); transform-origin: 30% 80%; }
.hero h1 { transform: translate3d(calc(var(--mx) * 12px), calc(var(--my) * 7px), 0); will-change: transform; }
.hero-row { transform: translate3d(calc(var(--mx) * 5px), calc(var(--my) * 3px), 0); }
.hero-row { display: flex; flex-wrap: wrap; gap: 20px 64px; justify-content: space-between; align-items: flex-end; }
.lead { margin: 0; max-width: 480px; font-size: 20px; }
.hint { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }

.reel { padding: 0 32px; perspective: 1600px; }
.reel-frame { max-width: 1360px; margin: 0 auto; aspect-ratio: 16 / 9; background: #1B1B1D; border-radius: 28px; overflow: hidden; transform: scale(var(--rs, 0.86)) rotateY(calc(var(--mx) * 3.5deg)) rotateX(calc(var(--my) * -2.5deg)); will-change: transform; }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }

.brands { padding: 72px 0 40px; overflow: hidden; }
.brands-row { display: flex; flex-wrap: nowrap; gap: 56px; white-space: nowrap; transition: transform 0.6s var(--e1); will-change: transform; }
.brands-row + .brands-row { margin-top: 12px; }
.brands-row span { font-size: clamp(40px, 6vw, 92px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
.brands-row span.alt { color: var(--faint); }

.films { padding-top: 96px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 64px; }
.films-head { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: flex-end; }
.films-head p { margin: 0; max-width: 360px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; max-width: 1180px; width: 100%; margin: 0 auto; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; gap: 40px; max-width: 420px; } }
.card { display: flex; flex-direction: column; gap: 18px; text-decoration: none; perspective: 1200px; opacity: 0; transform: translateY(calc(var(--par, 0px) + 90px)); transition: opacity 0.9s ease, transform 1.1s var(--e1); }
.card.on { opacity: 1; transform: translate3d(calc(var(--mx) * var(--cx, 0px)), var(--par, 0px), 0); }
.card-frame { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; width: 100%; background: #1B1B1D; border-radius: 6px; overflow: hidden; clip-path: inset(0% 0% 100% 0%); transition: transform 0.3s ease-out, clip-path 1.2s var(--e2); }
.card.on .card-frame { clip-path: inset(0% 0% 0% 0%); }
.card-frame img, .card-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-frame em { font-style: normal; font-size: 15px; color: #A3A39E; }
.card-badge { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--paper); color: #0C0C0C; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; opacity: 0; transform: scale(0.4); transition: opacity 0.25s ease, transform 0.35s var(--e1); pointer-events: none; }
.card.hov .card-badge { opacity: 1; transform: scale(1); }
.card-meta { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.card-t { display: inline-block; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; transition: transform 0.45s var(--e1), color 0.25s; }
.card:hover .card-t { transform: translateX(12px); color: var(--trait); }
.card-s { font-size: 15px; color: var(--mute); }
.films-more { display: flex; justify-content: center; padding: 56px 0 32px; }

.pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform 0.35s var(--e1); }
.pill svg { transition: transform 0.35s var(--e1); }
.pill:hover svg { transform: translateX(7px); }
.pill-ink { min-height: 64px; padding: 0 34px; background: var(--ink); color: var(--bg); font-size: 17px; }
.pill-trait { min-height: 84px; padding: 12px 44px; background: var(--trait); color: #0C0C0C; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: -0.02em; overflow-wrap: anywhere; }

.about { padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: flex-start; }
.about-photo { flex: 1 1 320px; min-width: 0; max-width: 460px; }
.about-photo-in { aspect-ratio: 4 / 5; background: #000; border-radius: 6px; overflow: hidden; will-change: transform; transform: translate3d(calc(var(--mx) * -16px), calc(var(--py, 0px) + var(--my) * -10px), 0); }
.about-photo-in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: translate3d(calc(var(--mx) * 20px), calc(var(--my) * 14px), 0) scale(1.14); will-change: transform; }
.about-text { transform: translate3d(calc(var(--mx) * 8px), calc(var(--my) * 5px), 0); }
.about-text { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.about-name { margin: 0; font-size: 18px; font-weight: 500; color: var(--mute); }
.about-words { margin: 0; font-size: clamp(26px, 3.3vw, 50px); line-height: 1.14; font-weight: 500; letter-spacing: -0.03em; }
.about-words .w { opacity: 0.16; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.stats > div { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--ink); padding-top: 16px; }
.stats b { align-self: flex-start; font-size: 34px; font-weight: 500; letter-spacing: -0.03em; }
.stats span { font-size: 16px; color: var(--mute); }

.contact { padding-top: 96px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 36px; }
.contact-photo {
  position: absolute; left: 0; top: 0; z-index: -1; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 60% 50%; filter: grayscale(1);
  opacity: calc(0.06 + 0.3 * var(--k));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 70%, transparent 100%);
  pointer-events: none; will-change: transform;
  transform: translate3d(calc(var(--mx) * -34px), calc(var(--cy, 0px) + var(--my) * -20px), 0) scale(1.16);
}
.contact .h-xxl { transform: translate3d(calc(var(--mx) * 12px), calc(var(--my) * 7px), 0); }
.foot { display: flex; flex-wrap: wrap; gap: 12px 48px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); justify-content: space-between; font-size: 15px; }
.foot > * { padding: 12px 0; }
.foot span { color: var(--mute); }

/* Pages intérieures */
.page { padding-top: 40px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 48px; }
/* Tous les films : titre et filtres fixes, trois films par ligne qui défilent dessous en s'enroulant */
[data-view="films"] { align-items: center; gap: 0; padding-top: 0; }
.films-top { position: sticky; top: 0; z-index: 3; align-self: stretch; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 20px 0 40px; background: linear-gradient(to bottom, var(--bg) 62%, transparent); pointer-events: none; }
.films-top > * { pointer-events: auto; }
[data-view="films"] .h-xxl { text-align: center; font-size: clamp(40px, 6.4vw, 104px); }
.tiles { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; max-width: 1180px; width: 100%; margin: 0 auto; will-change: transform; }
.tiles .card { transform: none; transform-origin: 50% 50%; will-change: transform; }
.tiles .card.on { transition: opacity 0.9s ease; transform: perspective(1100px) translate3d(0, var(--ty, 0px), 0) rotateX(var(--rx, 0deg)) scaleY(var(--sy, 1)); }
.tiles .card.swap { opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 0.26s ease, transform 0.26s ease; transition-delay: 0s !important; }
.tiles .card[hidden] { display: none; }
.tiles .card-meta { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: end; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.tiles .card-t { grid-column: 1; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.tiles .card-s { grid-column: 1; font-size: 15px; color: var(--ink); min-height: 1.4em; }
.tiles .card-meta::after { content: "\2198"; grid-column: 2; grid-row: 1 / span 2; font-size: 20px; transition: transform 0.35s var(--e1); }
.tiles .card:hover .card-meta::after { transform: translate(4px, 4px); color: var(--trait); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; gap: 36px; max-width: 420px; } .films-top { padding: 12px 0 32px; } }
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 14px; border: 1px solid var(--ink); border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; }
.back svg { transition: transform 0.35s var(--e1); }
.back:hover svg { transform: translateX(-5px); }
.film-head { display: flex; flex-direction: column; gap: 16px; }
.film-meta { font-size: 16px; color: var(--mute); }
.film-player { position: relative; aspect-ratio: var(--ar, 16 / 9); width: 100%; max-width: min(100%, calc((100vh - 190px) * var(--arn, 1.778))); margin: 0 auto; background: #1B1B1D; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #A3A39E; font-size: 15px; }
.film-player video { width: 100%; height: 100%; object-fit: contain; display: block; background: #1B1B1D; }
.film-play { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; border: 0; border-radius: 50%; background: var(--paper); color: #0C0C0C; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform 0.35s var(--e1), opacity 0.3s; }
.film-play:hover { transform: scale(1.08); }
.film-player.playing .film-play { opacity: 0; pointer-events: none; }
/* Rôle tenu sur le film, sous le lecteur */
.film-role { max-width: 60ch; font-size: 19px; color: var(--mute); }
.film-role:empty { display: none; }
.film-next { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.film-next span { font-size: 16px; color: var(--mute); }
.film-next b { font-size: clamp(28px, 4vw, 56px); font-weight: 500; letter-spacing: -0.03em; transition: color 0.25s, transform 0.45s var(--e1); }
.film-next:hover b { color: var(--trait); transform: translateX(-12px); }
.legal { gap: 20px; max-width: 860px; }
.legal h2 { margin: 28px 0 0; font-size: 20px; font-weight: 600; }
.legal p { margin: 0; color: var(--mute); }

/* Volet entre les pages */
.shutter { position: fixed; left: 0; right: 0; height: 0; background: var(--night); z-index: 50; pointer-events: none; transition: height 0.5s var(--e2); }
.shutter-t { top: 0; } .shutter-b { bottom: 0; }
.shut .shutter { height: 50.5vh; }
.shutter-label { position: fixed; inset: 0; z-index: 51; display: flex; align-items: center; justify-content: center; color: var(--paper); font-size: 18px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.shut .shutter-label { opacity: 1; }

/* Écran d'entrée */
.intro {
  --ix: 0.5; --iy: 0.5;
  position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 56px; padding: 32px;
  perspective: 1100px; overflow: hidden;
}
.intro.gone { display: none; }
.tl {
  position: absolute; inset: 0; overflow: hidden; filter: blur(1.4px);
  transform: translateZ(-260px) scale(1.35) rotateX(calc(6deg + (var(--iy) - 0.5) * -12deg)) rotateY(calc((var(--ix) - 0.5) * 16deg)) translate(0%, 0%);
  transition: transform 0.5s var(--e1); will-change: transform;
}
.intro.is-zoom .tl { filter: none; }
.tl-ruler { position: absolute; left: -10%; right: -10%; top: 3%; height: 30px; transform: translateX(calc((0.5 - var(--ix)) * 140px)); transition: transform 0.6s var(--e1); }
.tl-ruler i { position: absolute; bottom: 0; width: 1px; height: 7px; background: #3A3A37; }
.tl-ruler i.big { height: 14px; }
.tl-ruler span { position: absolute; top: 0; padding-left: 6px; font-size: 11px; color: #8A8A86; font-variant-numeric: tabular-nums; }
.clip { position: absolute; height: 5.4%; border: 1px solid #2A2A28; background: #101010; border-radius: 3px; transform: translateX(calc((0.5 - var(--ix)) * var(--par) * 1px)); transition: transform 0.7s var(--e1), border-color 0.2s, background 0.2s; }
.clip span { position: absolute; left: 10px; top: 6px; font-size: 11px; color: #8A8A86; white-space: nowrap; }
.clip.on { border-color: var(--trait); background: #1B1B1D; }
.clip.pick { border-color: var(--paper); background: var(--paper); }
.clip.pick span { color: #0C0C0C; }
.tl-lane { position: absolute; left: 0; right: 0; top: 27%; height: 1px; background: #2A2A28; transform: translate(calc((0.5 - var(--ix)) * 60px), calc((0.5 - var(--iy)) * 30px)); transition: transform 0.6s var(--e1); }
.kf { position: absolute; top: -7px; width: 14px; height: 14px; margin-left: -7px; border: 1.5px solid #8A8A86; background: var(--night); transform: rotate(45deg) scale(var(--s, 1)); transition: transform 0.25s ease-out, background 0.2s, border-color 0.2s; }
.kf.on { background: var(--trait); border-color: var(--trait); }
.tl-play { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--trait); transition: left 0.18s ease-out, opacity 0.3s ease; }
.tl-play i { position: absolute; top: 3%; left: -7px; width: 14px; height: 14px; background: var(--trait); transform: rotate(45deg); }
.tl-tc { position: absolute; top: 9%; left: 14px; font-size: 12px; font-weight: 500; color: var(--trait); white-space: nowrap; font-variant-numeric: tabular-nums; }
.intro-shadow {
  position: absolute; left: 50%; top: 50%; width: 1100px; max-width: 120%; height: 420px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0));
  transform: translate3d(calc(-50% + (var(--ix) - 0.5) * 110px), calc(-50% + 34px + (var(--iy) - 0.5) * 70px), -120px);
  transition: transform 0.5s var(--e1), opacity 0.35s ease; pointer-events: none;
}
.intro-logo {
  position: relative; z-index: 1; width: 100%; max-width: 920px; height: 200px; display: flex; align-items: center; justify-content: center;
  transform-style: preserve-3d;
  transform: translate3d(calc((0.5 - var(--ix)) * 46px), calc((0.5 - var(--iy)) * 30px), 110px) rotateX(calc((var(--iy) - 0.5) * 9deg)) rotateY(calc((0.5 - var(--ix)) * 14deg));
  transition: transform 0.35s ease-out, opacity 0.35s ease;
}
.mono { position: absolute; height: 160px; width: auto; max-width: 80%; object-fit: contain; transition: opacity 0.5s ease, transform 1s var(--e2); }
.mono-dim { opacity: 0.16; }
.mono-fill { clip-path: inset(var(--fill, 100%) 0% 0% 0%); transition: opacity 0.5s ease 0.25s, transform 1s var(--e2); }
.is-ready .mono { opacity: 0; transform: scale(0.28); }
.wm { position: absolute; width: 100%; aspect-ratio: 1749 / 124; transform-style: preserve-3d; opacity: 0; transform: translateX(10.2%); transition: opacity 0.4s ease 0.45s, transform 1.3s var(--e2) 0.7s; }
.wm img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; clip-path: inset(0% 55% 0% 35%); transition: clip-path 1.3s var(--e2) 0.7s; }
.wm-d1 { opacity: 0.3; transform: translateZ(-16px); }
.wm-d2 { opacity: 0.18; transform: translateZ(-32px); }
.wm-d3 { opacity: 0.1; transform: translateZ(-48px); }
.is-ready .wm { opacity: 1; transform: translateX(0%); }
.is-ready .wm img { clip-path: inset(0% 0% 0% 0%); }
.ping { position: absolute; top: 50%; width: 1.4%; aspect-ratio: 1 / 1; border: 1px solid var(--trait); opacity: 0; display: none; }
.ping-a { left: 33.03%; } .ping-b { left: 46.57%; }
.is-ready .ping { display: block; animation: ping 1.8s ease-out 2.2s infinite; }
.is-ready .ping-b { animation-delay: 3.1s; }
@keyframes ping { 0% { transform: translate(-50%, -50%) rotate(45deg) scale(0.7); opacity: 0.9; } 100% { transform: translate(-50%, -50%) rotate(45deg) scale(3.2); opacity: 0; } }
.intro-cta {
  position: relative; z-index: 1; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: translate3d(calc((0.5 - var(--ix)) * 28px), calc((0.5 - var(--iy)) * 18px), 70px);
  transition: transform 0.35s ease-out, opacity 0.35s ease;
}
.intro-load { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.intro-pct { font-size: 15px; font-weight: 500; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.intro-bar { display: block; width: 180px; height: 2px; background: #2A2A28; }
.intro-bar i { display: block; height: 100%; width: 0; background: var(--trait); }
.intro-enter { display: none; min-height: 56px; padding: 0 40px; background: transparent; border: 1px solid var(--paper); color: var(--paper); border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; }
.is-ready .intro-load { display: none; }
.is-ready .intro-enter { display: inline-flex; align-items: center; animation: fade 1s var(--e1) 1.6s both; }
.is-zoom .intro-logo, .is-zoom .intro-cta, .is-zoom .intro-shadow, .is-zoom .tl-play { opacity: 0; }
.is-zoom { pointer-events: none; }

/* Version légère (téléphones et écrans tactiles) */
.lite .intro { perspective: none; }
.lite .tl { filter: none; transform: translateZ(0px) scale(1) rotateX(0deg) rotateY(0deg) translate(0%, 0%); }
.lite .intro-shadow, .lite .wm-d { display: none; }
.lite .intro-logo, .lite .intro-cta { transform: none; }
.lite .reel-frame { transform: none; border-radius: 12px; }
.lite .brands-row { transition: none; }
.lite .about-words .w { opacity: 1; }
.lite .hero-photo, .lite .hero-photo img, .lite .contact-photo, .lite .about-photo-in, .lite .about-photo-in img, .lite .hero h1, .lite .hero-row, .lite .about-text, .lite .contact .h-xxl { transform: none; will-change: auto; }

@media (max-width: 760px) {
  .wrap, .head, .reel { padding-left: 20px; padding-right: 20px; }
  .hero { gap: 20px; }
  .hero-photo { position: relative; left: auto; bottom: auto; order: 1; width: calc(100% + 40px); margin: 0 -20px; z-index: 0; }
  .hero-row { order: 2; }
  .mono { height: 110px; }
  .intro-logo { height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01s !important; animation-delay: 0s !important; transition-duration: 0.01s !important; transition-delay: 0s !important; }
  .tl, .intro-logo, .intro-cta, .intro-shadow, .tl-ruler, .tl-lane, .clip { transform: none !important; }
  .reel-frame, .hero-photo, .hero h1, .hero-row, .about-photo-in, .about-photo-in img, .about-text, .contact-photo, .contact .h-xxl { transform: none !important; }
  .depth { display: none; }
}
.lite .trace path { stroke-width: 4px; }
