/* =====================================================================
   FROST STUDIO — page « Le studio » (studio.css).
   Extension narrative de l'accueil, ouverte depuis la section À propos :
   une page éditoriale qui commence dans la photo du fondateur et devient
   de plus en plus minimale — matière, archives, cultures, puis seulement
   des mots, puis « Frost Studio. » et une phrase. Même ADN que le site :
   obsidienne, os, gris froid, typographie énorme, serif en contraste,
   transitions lentes, grands vides. Aucune carte de compétences, aucune
   barre, aucun logo d'outil, aucune frise CV.
   Mouvement : révélations à l'entrée ([data-reveal] → .is-in), progression
   par chapitre (--p de 0 à 1, studio.js), phases du chapitre 05
   ([data-phase]). prefers-reduced-motion : tout est posé, rien ne bouge.
   ===================================================================== */
:root { --ob-0: #050507; --ob-1: #070809; --bone: #e9e4dc; --bone-soft: rgba(233,228,220,.62); --bone-faint: rgba(233,228,220,.34); --cold: #b9c6d6; --gutter: clamp(1.25rem, 3.4vw, 3.25rem); --ease-out: cubic-bezier(.22, 1, .36, 1); --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif; --font-serif: "Instrument Serif", "Times New Roman", serif; --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; }
* { box-sizing: border-box; }
html { background: var(--ob-0); scroll-behavior: smooth; }
body { margin: 0; background: var(--ob-0); color: var(--bone); font-family: var(--font-display); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
a { color: inherit; }

/* ---------- continuité avec l'accueil : la photo du fondateur devient la première scène (View Transitions, progressif) ---------- */
@view-transition { navigation: auto; }
.ch__hero-figure { view-transition-name: founder-scene; }
::view-transition-group(founder-scene) { animation-duration: .9s; animation-timing-function: var(--ease-out); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .6s; }

/* ---------- barre ---------- */
.studio__nav { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: calc(var(--gutter) * .55) var(--gutter); mix-blend-mode: difference; }
.studio__logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
.studio__logo svg { width: 1.35rem; height: 1.35rem; }
.studio__logo i { font: italic 1.08em/1 var(--font-serif); text-transform: none; letter-spacing: 0; }
.studio__lang { display: flex; gap: 1rem; font-size: .58rem; }
.studio__lang a { text-decoration: none; opacity: .55; }
.studio__lang a[aria-current] { opacity: 1; }
.studio__back { text-decoration: none; font-size: .58rem; opacity: .75; }
.studio__back:hover { opacity: 1; }

/* ---------- chapitres ---------- */
.ch { position: relative; min-height: 100svh; padding: clamp(5rem, 14vh, 9rem) var(--gutter); display: grid; align-content: center; overflow: hidden; }
.ch__kicker { margin: 0 0 1.4rem; font-size: .62rem; color: var(--bone-soft); }
.ch__num { margin: 0 0 clamp(2rem, 6vh, 3.5rem); font-size: .62rem; color: var(--bone-faint); }
.ch__h1, .ch__h2, .ch__statement, .ch__brand, .ch__brand-final { margin: 0; font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; line-height: .88; letter-spacing: -.025em; text-transform: uppercase; }
.ch__h1 { font-size: clamp(3rem, 9.2vw, 9.6rem); }
.ch__h2 { font-size: clamp(2.6rem, 7.6vw, 7.6rem); }
.ch__h1 span, .ch__h2 span, .ch__statement span { display: block; }
.ch__p { margin: clamp(1.6rem, 4vh, 2.6rem) 0 0; max-width: 34rem; font-size: clamp(1.05rem, 1.35vw, 1.3rem); font-weight: 300; line-height: 1.55; color: rgba(233,228,220,.84); }
.ch__p--small { font-size: 1rem; max-width: 30rem; color: rgba(233,228,220,.74); }
.ch__statement { margin-top: clamp(3rem, 10vh, 6rem); font-size: clamp(2.2rem, 6.6vw, 6.8rem); text-align: center; justify-self: center; }
.ch__line { margin: clamp(1.4rem, 3vh, 2rem) 0 0; font-size: .66rem; color: var(--bone-soft); }
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.45rem; border-radius: 999px; border: 0; font: 500 .9rem/1 var(--font-display); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease-out), box-shadow .3s; }
.btn--primary { background: var(--bone); color: #0a0a0d; box-shadow: 0 10px 40px -12px rgba(233,228,220,.45); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(233,228,220,.6); }

/* révélation à l'entrée : un peu de montée, beaucoup de temps */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease-out), transform 1.4s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 00 — l'entrée : la photo, Axel petit à droite, beaucoup de vide à gauche ---------- */
.ch--hero { padding-top: clamp(7rem, 20vh, 12rem); align-content: end; }
.ch__hero-figure { position: absolute; inset: 0; margin: 0; z-index: 0; }
/* l'image est un peu plus large que la fenêtre et calée à gauche : Axel passe au tiers droit, la montagne et le vide restent à gauche */
.ch__hero-figure img { display: block; width: 132%; max-width: none; height: 100%; object-fit: cover; object-position: 0% 42%; }
.ch__hero-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,7,.92) 0%, rgba(5,5,7,.55) 34%, rgba(5,5,7,.05) 62%, rgba(5,5,7,0) 100%), linear-gradient(to bottom, rgba(5,5,7,.55), rgba(5,5,7,0) 24%, rgba(5,5,7,0) 70%, var(--ob-0) 100%); }
.ch__hero-copy { position: relative; z-index: 1; max-width: 46rem; }
.ch__scroll { position: absolute; right: var(--gutter); bottom: 1.6rem; z-index: 1; margin: 0; font-size: .56rem; color: var(--bone-faint); }
.ch__scroll::after { content: ""; display: block; width: 1px; height: 2.4rem; margin: .5rem auto 0; background: linear-gradient(to bottom, var(--bone-faint), transparent); animation: scroll-hint 2.6s var(--ease-out) infinite; }
@keyframes scroll-hint { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 46% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 01 — la technologie : noir presque complet, archives digitales qui flottent ---------- */
.ch--geek { background: #030304; }
.ch--geek .ch__copy { position: relative; z-index: 1; max-width: 52rem; }
.archives { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.frag { position: absolute; color: rgba(233,228,220,.5); opacity: 0; transform: translateY(calc((0.5 - var(--p, 0)) * var(--depth, 60px))); transition: opacity 1.6s var(--ease-out); }
.ch--geek.is-in .frag { opacity: var(--o, .55); }
.frag > * { animation: frag-float var(--dur, 14s) ease-in-out infinite alternate; }
@keyframes frag-float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(var(--dx, 6px), var(--dy, -10px), 0); } }
.frag--code { left: 5%; top: 7%; width: clamp(11rem, 15vw, 15rem); --depth: 90px; --dur: 16s; --dx: 5px; --dy: -8px; }
.frag--code .win { border: 1px solid rgba(233,228,220,.14); border-radius: .5rem; background: rgba(9,9,12,.85); font-family: var(--font-mono); font-size: .5rem; letter-spacing: .04em; }
.frag--code .bar { display: flex; gap: .3rem; padding: .45rem .6rem; border-bottom: 1px solid rgba(233,228,220,.1); }
.frag--code .bar i { width: .38rem; height: .38rem; border-radius: 50%; background: rgba(233,228,220,.22); }
.frag--code .ln { display: block; height: .38rem; margin: .38rem .6rem; border-radius: 2px; background: rgba(233,228,220,.16); }
.frag--code .ln.k { background: rgba(185,198,214,.4); }
.frag--wire { right: 6%; top: 8%; width: clamp(10rem, 15vw, 14rem); --depth: 120px; --dur: 18s; --dx: -6px; --dy: 9px; --o: .42; }
.frag--wire svg { width: 100%; height: auto; display: block; }
.frag--shader { right: 9%; top: 42%; width: clamp(5rem, 7vw, 7rem); aspect-ratio: 1; --depth: 70px; --dur: 12s; --o: .45; }
.frag--shader div { width: 100%; height: 100%; border-radius: .7rem; background: conic-gradient(from 210deg at 40% 60%, #0a0b10, #2a3340 30%, #b9c6d6 46%, #1a1c22 60%, #0a0b10); filter: blur(.5px) saturate(.6); animation: frag-float 12s ease-in-out infinite alternate, shader-turn 24s linear infinite; }
@keyframes shader-turn { to { filter: blur(.5px) saturate(.6) hue-rotate(30deg); } }
.frag--term { right: 22%; bottom: 12%; width: clamp(11rem, 15vw, 14rem); --depth: 100px; --dur: 15s; --dx: 4px; --dy: -6px; }
.frag--term div { padding: .6rem .75rem; border: 1px solid rgba(233,228,220,.12); border-radius: .4rem; background: #050507; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .06em; color: rgba(233,228,220,.6); }
.frag--term div::after { content: "_"; margin-left: .15em; color: var(--cold); animation: caret 1s steps(2) infinite; }
@keyframes caret { to { opacity: 0; } }
.frag--cube { left: 46%; top: 5%; width: clamp(5rem, 7vw, 6.5rem); --depth: 140px; --dur: 20s; --dx: -4px; --dy: 7px; --o: .35; }
.frag--cube svg { width: 100%; height: auto; display: block; animation: cube-turn 30s linear infinite; }
@keyframes cube-turn { to { transform: rotate(360deg); } }
.frag--ui { right: 5%; bottom: 26%; width: clamp(9rem, 12vw, 11rem); --depth: 80px; --dur: 13s; --o: .5; }
.frag--ui div { padding: .7rem .8rem; border: 1px solid rgba(233,228,220,.12); border-radius: .6rem; background: rgba(9,9,12,.9); display: grid; gap: .5rem; }
.frag--ui b { display: block; height: .42rem; width: 55%; border-radius: 2px; background: rgba(233,228,220,.3); }
.frag--ui s { display: block; height: .3rem; border-radius: 2px; background: rgba(233,228,220,.12); text-decoration: none; }
.frag--ui s:nth-child(3) { width: 80%; } .frag--ui s:nth-child(4) { width: 62%; }
.frag--ui em { display: inline-block; margin-top: .2rem; padding: .3rem .55rem; border-radius: 999px; background: rgba(233,228,220,.85); width: 42%; height: .9rem; }
.frag--label { right: 30%; top: 30%; --depth: 110px; --o: .38; font-family: var(--font-mono); font-size: .5rem; letter-spacing: .16em; text-transform: uppercase; line-height: 2; }

/* ---------- 02 — le commerce : éditorial, énorme, sobre, quelques labels façon dossier ---------- */
.ch--commerce { background: var(--ob-0); grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: center; }
/* une réglure de cahier, à peine là : le chapitre a un support, plus un vide */
.ch--commerce::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(233,228,220,.045) 1px, transparent 1px); background-size: 100% 4.5rem; background-position: 0 2.2rem; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); pointer-events: none; }
.ch--commerce > * { position: relative; }
.ch--commerce .ch__copy { grid-column: 1; }
/* le comparateur : deux présentations du même hôtel, séparées par un curseur (--x). La version soignée est découpée
   par clip-path ; le curseur suit la souris ou le doigt, un <input type=range> invisible le rend accessible au clavier. */
.compare-wrap { grid-column: 2; width: min(100%, 42rem); justify-self: end; align-self: center; }
.compare { --x: 50%; position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid rgba(233,228,220,.14); background: #0b0c10; cursor: ew-resize; touch-action: pan-y; user-select: none; container-type: inline-size; }
.compare__pane { position: absolute; inset: 0; }
.compare__pane--good { clip-path: inset(0 0 0 var(--x)); }
.compare__bar { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: rgba(233,228,220,.85); box-shadow: 0 0 18px rgba(233,228,220,.35); pointer-events: none; }
.compare__handle { position: absolute; top: 50%; left: 50%; width: 2.6rem; height: 2.6rem; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(233,228,220,.7); background: rgba(5,5,7,.55); backdrop-filter: blur(6px); }
.compare__handle::before, .compare__handle::after { content: ""; position: absolute; top: 50%; width: .5rem; height: .5rem; border-top: 1px solid var(--bone); border-left: 1px solid var(--bone); }
.compare__handle::before { left: .6rem; transform: translateY(-50%) rotate(-45deg); }
.compare__handle::after { right: .6rem; transform: translateY(-50%) rotate(135deg); }
.compare__range { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__legend { margin: .7rem 0 0; display: flex; justify-content: space-between; font-size: .58rem; color: var(--bone-faint); }
/* la version « mal présentée » : fond clair, police système, tout centré, bouton bleu — juste ce qu'il faut de banal */
.bad { position: absolute; inset: 0; padding: 4.5cqw 6cqw; background: #f4f4f2; color: #333; font: 400 2.15cqw/1.45 Arial, Helvetica, sans-serif; text-align: left; }
.bad__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .5em; border-bottom: .35cqw solid #1a56b8; font-size: .85em; }
.bad__top b { font-size: 1.3em; color: #1a56b8; letter-spacing: 0; }
.bad h3 { margin: .8em 0 .45em; font-size: 1.75em; font-weight: 700; color: #222; }
.bad img { display: block; width: 44%; height: auto; margin: 0; border: .5cqw solid #ddd; }
.bad p { margin: .7em 0; max-width: 92%; }
.bad a { display: inline-block; padding: .5em 1.1em; border-radius: .5cqw; background: #1a56b8; color: #fff; font-weight: 700; text-decoration: underline; }
.bad small { display: block; margin-top: .9em; font-size: .7em; color: #888; }
/* la version Frost : la photo en plein cadre, un serif, un mono, un bouton fantôme */
.good { position: absolute; inset: 0; background: #07080a; color: var(--bone); }
.good img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.good::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,7,.92) 0%, rgba(5,5,7,.35) 45%, rgba(5,5,7,.15) 100%); }
.good__top, .good__copy { position: absolute; z-index: 1; }
.good__top { top: 6%; left: 6%; right: 6%; display: flex; justify-content: space-between; font-size: 1.4cqw; color: rgba(233,228,220,.85); }
.good__top span:first-child { font: italic 3.6cqw/1 var(--font-serif); letter-spacing: 0; text-transform: none; }
.good__copy { left: 6%; right: 6%; bottom: 8%; text-align: right; }
.good__copy .mono { margin: 0 0 1.2cqw; font-size: 1.4cqw; color: rgba(233,228,220,.7); }
.good__copy h3 { margin: 0 0 2.4cqw; font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; font-size: 7.2cqw; line-height: .92; letter-spacing: -.02em; text-transform: uppercase; }
.good__copy h3 i { font: italic 1.05em/1 var(--font-serif); text-transform: none; letter-spacing: 0; }
.good__btn { display: inline-block; padding: 1.4cqw 2.8cqw; border: 1px solid rgba(233,228,220,.55); border-radius: 999px; font-size: 2cqw; font-weight: 500; }
.ch--commerce .ch__statement { grid-column: 1 / -1; }
.ch__big { margin: 0 0 clamp(1rem, 3vh, 2rem); font: italic clamp(5rem, 16vw, 15rem)/.8 var(--font-serif); color: rgba(233,228,220,.14); letter-spacing: -.04em; }
.ch--commerce .ch__statement { margin-top: clamp(4rem, 14vh, 9rem); }

/* ---------- 03 — France × Denmark : deux matières qui se croisent, le centre en mots ---------- */
.ch--cultures { padding: 0; }
/* --q atteint 1 quand le chapitre est centré dans la fenêtre (p = .5) : la diagonale est alors exactement à 50/50 */
.split { position: absolute; inset: 0; z-index: 0; --q: clamp(0, calc((var(--p, 0) - .12) / .38), 1); }
.split__side { position: absolute; inset: 0; }
/* Méditerranée : minéral, chaud, une lumière basse — Scandinavie : froid, architectural, une trame fine. Ces deux matières attendent deux vraies photos (voir README). */
.split__side--fr { background: radial-gradient(120% 80% at 18% 78%, rgba(120,104,84,.55), transparent 60%), radial-gradient(70% 50% at 70% 20%, rgba(233,228,220,.10), transparent 60%), linear-gradient(160deg, #1b1815, #09080a 60%, #050507); }
.split__side--fr::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 .96 0 0 0 0 .9 0 0 0 .14 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); opacity: .55; mix-blend-mode: screen; }
.split__side--dk { background: linear-gradient(200deg, #14181e, #0a0d12 55%, #050507); clip-path: polygon(calc(100% - var(--q) * 56%) 0, 100% 0, 100% 100%, calc(100% - var(--q) * 44%) 100%); transition: clip-path .1s linear; }
.split__side--dk::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(185,198,214,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(185,198,214,.09) 1px, transparent 1px); background-size: 7.5rem 7.5rem; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent); }
.split__side--dk::after { content: ""; position: absolute; left: 22%; top: 18%; width: 34%; height: 64%; border: 1px solid rgba(185,198,214,.22); box-shadow: inset 0 0 0 1px rgba(185,198,214,.05); }
.split__tag { position: absolute; bottom: 1.4rem; font-size: .58rem; color: var(--bone-faint); }
.split__side--fr .split__tag { left: var(--gutter); }
.split__side--dk .split__tag { right: var(--gutter); }
.ch__center { position: relative; z-index: 1; min-height: 100svh; display: grid; align-content: center; justify-items: center; text-align: center; padding: clamp(5rem, 14vh, 9rem) var(--gutter); }
.ch__x { margin: 0; font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; font-size: clamp(2.4rem, 7vw, 7rem); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.ch__pairs { list-style: none; margin: clamp(1.6rem, 4vh, 2.6rem) 0 0; padding: 0; display: grid; gap: .35rem; font: italic clamp(1.4rem, 3vw, 2.6rem)/1.15 var(--font-serif); color: rgba(233,228,220,.9); }
.ch__center .ch__p--small { text-align: center; margin-top: clamp(1.8rem, 4vh, 2.8rem); }

/* ---------- 04 — et puis Frost : quatre mots qui convergent, puis la marque ---------- */
.ch--frost { justify-items: center; text-align: center; }
.words { position: relative; height: clamp(9rem, 26vh, 15rem); width: min(100%, 60rem); --q: clamp(0, calc((var(--p, 0) - .18) / .3), 1); }
.words span { position: absolute; left: 50%; top: 50%; font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; font-size: clamp(2rem, 6vw, 6rem); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; color: rgba(233,228,220,.9); white-space: nowrap; transform: translate(calc(-50% + var(--x) * (1 - var(--q))), calc(-50% + var(--y) * (1 - var(--q)))); opacity: calc(.95 - .95 * var(--q)); transition: transform .1s linear, opacity .1s linear; }
.words span:nth-child(1) { --x: -34vw; --y: -9vh; }
.words span:nth-child(2) { --x: 30vw; --y: -4vh; }
.words span:nth-child(3) { --x: -22vw; --y: 8vh; }
.words span:nth-child(4) { --x: 32vw; --y: 11vh; }
.ch__brand { font-size: clamp(3.4rem, 11vw, 12rem); margin-top: calc(clamp(9rem, 26vh, 15rem) * -.55); opacity: clamp(0, calc((var(--p, 0) - .36) / .22), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p, 0) - .36) / .22), 1)) * 18px)); transition: opacity .1s linear, transform .1s linear; }
.ch--frost .ch__p { text-align: center; }

/* ---------- 05 — la philosophie : presque rien, un fond qui respire à chaque phrase ---------- */
.ch--philo { --gx: 50%; --gy: 90%; --ga: .05; background: radial-gradient(60% 45% at var(--gx) var(--gy), rgba(185,198,214,var(--ga)), transparent 70%), var(--ob-0); transition: background 1.4s var(--ease-out); }
.ch--philo[data-phase="1"] { --gx: 30%; --gy: 55%; --ga: .07; }
.ch--philo[data-phase="2"] { --gx: 62%; --gy: 45%; --ga: .12; }
.ch--philo[data-phase="3"] { --gx: 50%; --gy: 50%; --ga: .18; }
.ch__h2--wide { max-width: 18ch; }
.ch__three { list-style: none; margin: clamp(4rem, 16vh, 10rem) 0 0; padding: 0; display: grid; gap: clamp(3rem, 14vh, 8rem); }
.ch__three li { font: italic clamp(1.8rem, 4.2vw, 3.8rem)/1.1 var(--font-serif); color: rgba(233,228,220,.92); }

/* ---------- 06 — la personne : une deuxième photo, une fiche ---------- */
.ch--person { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; justify-items: center; }
.ch__portrait { margin: 0; width: min(100%, 24rem); aspect-ratio: 3 / 4; justify-self: end; }
.ch__portrait-frame { width: 100%; height: 100%; border: 1px solid rgba(233,228,220,.14); background: radial-gradient(70% 55% at 55% 30%, rgba(233,228,220,.08), transparent 70%), linear-gradient(180deg, #0c0d11, #050507); overflow: hidden; }
.ch__portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ch__card { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.6rem; font-size: .62rem; color: var(--bone-soft); }
.ch__card dt { color: var(--bone-faint); }
.ch__card dt:first-child { font-size: 1.4rem; letter-spacing: .1em; color: var(--bone); }
.ch__card dd { margin: 0; }

/* ---------- la fin : parlons de vous, puis seulement le nom ---------- */
.ch--end { justify-items: start; }
.ch--end .btn { margin-top: clamp(2rem, 5vh, 3.2rem); }
.ch--final { min-height: 82svh; justify-items: center; text-align: center; }
.ch__brand-final { font-size: clamp(2.6rem, 8.5vw, 9rem); }
.ch__tag { margin: 1.4rem 0 0; font-size: .6rem; color: var(--bone-faint); }
.studio__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: 1.2rem var(--gutter) 1.6rem; border-top: 1px solid rgba(233,228,220,.08); font-size: .56rem; color: var(--bone-faint); }
.studio__foot a { text-decoration: none; }
.studio__foot a:hover { color: var(--bone); }

/* ---------- mobile : pensé à part, pas une réduction ---------- */
@media (max-width: 767px), (pointer: coarse) and (max-height: 520px) {
  .ch { padding-left: var(--gutter); padding-right: var(--gutter); }
  .studio__nav { mix-blend-mode: normal; background: linear-gradient(to bottom, rgba(5,5,7,.85), rgba(5,5,7,0)); }
  .studio__back { display: none; }
  .ch__hero-figure img { width: 100%; object-position: 62% 40%; }
  .ch__hero-figure::after { background: linear-gradient(to bottom, rgba(5,5,7,.5), rgba(5,5,7,.05) 30%, rgba(5,5,7,.55) 62%, var(--ob-0) 100%); }
  .frag--wire, .frag--cube, .frag--label { display: none; }
  .frag--code { left: 4%; top: 5%; width: 9.5rem; } .frag--term { right: 4%; bottom: 6%; width: 9rem; } .frag--shader { display: none; } .frag--ui { right: 5%; top: 9%; width: 7rem; }
  .split__side--dk { clip-path: polygon(0 calc(100% - var(--q) * 58%), 100% calc(100% - var(--q) * 46%), 100% 100%, 0 100%); }
  .split__side--dk::after { left: 16%; top: 28%; width: 46%; height: 50%; }
  .words { height: 12rem; }
  .words span:nth-child(1) { --x: -18vw; --y: -14vh; } .words span:nth-child(2) { --x: 16vw; --y: -6vh; } .words span:nth-child(3) { --x: -14vw; --y: 6vh; } .words span:nth-child(4) { --x: 18vw; --y: 14vh; }
  .ch--commerce { grid-template-columns: 1fr; }
  .ch--commerce .ch__copy, .compare-wrap, .ch--commerce .ch__statement { grid-column: 1; }
  .compare-wrap { width: 100%; margin-top: 2rem; justify-self: start; }
  .ch--person { grid-template-columns: 1fr; justify-items: start; }
  .ch__portrait { width: min(100%, 18rem); justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .frag, .frag > *, .frag--shader div, .frag--cube svg, .ch__scroll::after { animation: none; transition: none; }
  .split__side--dk, .words span, .ch__brand { transition: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
}
/* téléphone en paysage : peu de hauteur — le fragment de code masqué (il chevauchait l'en-tête et le chapeau), le fragment UI abaissé */
@media (pointer: coarse) and (max-height: 520px) and (orientation: landscape) { .frag--code { display: none; } .frag--ui { top: 22%; } }
