

:root {
  color-scheme: dark;
  --bg: #0E0E0D;
  --bg-2: #1B1B19;
  --surface: #151514;
  --ink: #EDEBE6;
  --muted: #9A978E;
  --line: rgba(237, 235, 230, .16);
  --red: #6D3B4A;
  --yellow: #B9873B;
  --green: #4A5D57;
  --blue: #A8677A;
  --red-t: #E5533F;
  --yellow-t: #F2C233;
  --green-t: #3E9C79;
  --blue-t: #6C93EA;
  --reveal-green: #599765;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --editorial: "Times New Roman", Times, "Liberation Serif", "Nimbus Roman No9 L", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(18px, 4vw, 48px);
  --max: 1480px;
  --ease: cubic-bezier(.2, .8, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--blue-t); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lbl { font: 600 .7rem/1.35 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.lede { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--muted); max-width: 60ch; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -8%; z-index: 60; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* A translucent full-screen layer forces costly compositing over the moving scene. */
.homepage .grain { display: none; }

/* ---------- Barre couleur (progression) ---------- */
.colorbar { position: fixed; inset: 0 0 auto 0; height: 4px; display: flex; z-index: 70; clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.colorbar i { flex: 1; }
.colorbar i:nth-child(1) { background: var(--red-t); }
.colorbar i:nth-child(2) { background: var(--yellow-t); }
.colorbar i:nth-child(3) { background: var(--green-t); }
.colorbar i:nth-child(4) { background: var(--blue-t); }

/* ---------- En-tete ---------- */
.site-header { position: fixed; inset: 4px 0 auto 0; z-index: 50; mix-blend-mode: difference; color: #fff; pointer-events: none; }
.site-header a, .site-header button { pointer-events: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-inline: var(--gutter); gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-mark { display: block; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav a { display: inline-flex; align-items: center; gap: 10px; font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 12px 2px; transition: color .3s ease; }
.nav a::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .5; transition: width .3s ease, opacity .3s ease, background-color .3s ease; }
.nav a:hover { color: var(--ac); text-decoration: none; }
.nav a:hover::before { width: 24px; opacity: 1; background-color: var(--ac); }
@media (max-width: 520px) { .nav a[href="#apropos"] { display: none; } }
.lang { display: inline-flex; align-items: center; gap: 10px; font: 600 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: none; color: inherit; border: 0; padding: 12px 2px; cursor: pointer; transition: color .3s ease; }
.lang::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .5; transition: width .3s ease, opacity .3s ease, background-color .3s ease; }
.lang:hover { background: none; color: var(--ac); }
.lang:hover::before { width: 24px; opacity: 1; background-color: var(--ac); }

/* ---------- Intro : le platre tombe, la camera suit une plaque, chaque plaque devient un projet ---------- */
.hero { --paint: none; --scrim: linear-gradient(rgba(10, 10, 9, .12), rgba(10, 10, 9, .12)), linear-gradient(to top, rgba(10, 10, 9, .88) 0%, rgba(10, 10, 9, .6) 36%, rgba(10, 10, 9, 0) 70%), linear-gradient(to right, rgba(10, 10, 9, .66) 0%, rgba(10, 10, 9, .4) 40%, rgba(10, 10, 9, 0) 72%); position: relative; height: calc(100svh + 705svh - var(--hero-scroll-trim, 0px)); border-bottom: 1px solid var(--line); --t: 0; --pr: 0; --pan: .8; --ac: #E5533F}
.hero-pin { position: sticky; top: 0; height: 100svh; overflow: clip}
.hero-glow { position: absolute; inset: 0; pointer-events: none; opacity: calc(.214286 + var(--t) * .785714); background: radial-gradient(46% 58% at 66% 54%, #8a5a7847, transparent 72%)}
.hero-world { position: absolute; inset: 0; will-change: transform}

.hero-portrait { position: absolute; z-index: 5; pointer-events: none; right: -2.6vw; bottom: 0; width: min(50vw, calc(90svh * 1100 / 1343)); aspect-ratio: 1100 / 1343}
.under { position: absolute; inset: 0; -webkit-mask: url("media/hero-colour.webp") center / 100% 100% no-repeat; mask: url("media/hero-colour.webp") center / 100% 100% no-repeat; }
.under i { position: absolute; background: var(--paint) var(--bp) / var(--bs) repeat, var(--c); clip-path: var(--poly); }
.shards { position: absolute; z-index: 2; inset: 0; perspective: 1500px; pointer-events: none; }
.sh { position: absolute; transform-style: preserve-3d; will-change: transform; }
.sf, .sb { position: absolute; inset: 0; clip-path: var(--poly); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
@supports (width: 1cqw) { .under, .shards { container-type: size; } .under i, .sb { background-position: calc(var(--bpx) + var(--pan, 0) * 100cqw) calc(var(--bpy) + var(--pan, 0) * 22cqw), 0 0; } }
.ed { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ed polygon { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ed .e1 { stroke: rgba(12, 10, 9, .6); stroke-width: 5px; }
.ed .e2 { stroke: rgba(246, 236, 218, .7); stroke-width: 1.6px; }
.sb .ed { transform: none; }
.sf { background: url("media/hero-plaster-cutout.webp") var(--plaster-bp, var(--bp)) / var(--plaster-bs, var(--bs)) no-repeat; }
.sb { transform: rotateY(180deg); background: var(--paint) var(--bp) / var(--bs) repeat, linear-gradient(155deg, color-mix(in srgb, var(--c) 84%, #fff), var(--c) 58%); }
.sp .sb, .pc-bg { background-image: var(--scrim), var(--bgd); background-position: 0 0, 0 0, 0 0, var(--pd); background-size: 100% 100%, 100% 100%, 100% 100%, cover; background-repeat: no-repeat; background-color: #14130f; }

.hero-copy { position: relative; z-index: 2; height: 100%; width: 68%; padding: clamp(92px, 15svh, 150px) 0 clamp(24px, 5svh, 56px) clamp(18px, 5vw, 84px); display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(20px, 3.4svh, 34px); pointer-events: none}
.hero-copy a { pointer-events: auto}
.hero-rule { display: inline-block; width: 26px; height: 1px; background: currentColor; margin-right: 12px; vertical-align: middle; flex: none}
.hero-kick, .hero-hint, .hero-meta-label { color: var(--muted); display: flex; align-items: center}
.hero-name { font: 400 min(13.2vw, 23svh)/.76 var(--editorial); text-transform: uppercase; letter-spacing: -.025em; color: color-mix(in srgb, var(--ink) calc(var(--pr) * 100%), #85827b)}
.hn { display: block; }
.hn1 { font-style: normal; font-weight: 400; }
.hn2 { font-weight: 400; margin-left: .4em; }
.hero-lines { display: grid; gap: clamp(18px, 2.6svh, 28px); max-width: 46rem}
.hero-lede { font: 400 clamp(1.6rem, 2.9vw, 2.5rem)/1.32 var(--editorial); text-wrap: pretty; color: var(--ink); max-width: 40ch}
.hero-hint { gap: 12px; transition: opacity .4s}
.hero-hint::before { content: ""; width: 28px; height: 1px; background: currentColor}
.hero.moved .hero-hint { opacity: 0}
@media (min-width: 760px) { .hero-hint { margin-top: auto} }
body.hero-top .grain { opacity: .05; transition: opacity .6s ease}

/* Plaques en plein ecran */
.slabs { position: absolute; inset: 0; z-index: 7; perspective: 2800px; pointer-events: none; }
.sp { position: absolute; left: 50%; top: 50%; width: var(--cw, 90vw); height: var(--ch, 80svh); margin: calc(var(--ch, 80svh) / -2) 0 0 calc(var(--cw, 90vw) / -2); transform-style: preserve-3d; will-change: transform; visibility: hidden; }
.cards { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; z-index: 6; perspective: 2200px; }
.pcard { position: absolute; left: 50%; top: 50%; width: var(--cw, 90vw); height: var(--ch, 80svh); margin: calc(var(--ch, 80svh) / -2) 0 0 calc(var(--cw, 90vw) / -2); clip-path: var(--poly); visibility: hidden; opacity: 0; color: #F4F1EA; will-change: transform; }
.pc-bg { position: absolute; inset: 0; }
.pcard.on { pointer-events: auto; }
.pc { opacity: 0; transition: opacity .35s ease; }
.pcard.on .pc { opacity: 1; }
.pc-hit { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.pc { position: absolute; z-index: 2; left: calc(var(--rx) * 1%); top: calc(var(--ry) * 1%); width: calc(var(--rw) * 1%); height: calc(var(--rh) * 1%); pointer-events: none; }
.pc-in { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: 0 0 calc(var(--ch, 80svh) * .05) calc(var(--cw, 90vw) * .06); box-sizing: border-box; }
.pc-txt { position: relative; display: flex; flex-direction: column; max-width: 88%; }
.pc-txt::before { content: ""; position: absolute; z-index: -1; inset: -14% -18% -14% -12%; background: radial-gradient(closest-side, rgba(10, 10, 9, .68), rgba(10, 10, 9, .4) 55%, rgba(10, 10, 9, 0)); pointer-events: none; }
/* La taille du texte suit la carte elle-même (--cw), pas la fenêtre : elle reste lisible quel que soit l'écran */
.pc-k { font: 700 clamp(10px, calc(var(--cw, 90vw) * .018), 15px)/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 241, 234, .82); margin: 0 0 clamp(5px, calc(var(--cw, 90vw) * .013), 10px); }
.pc-k span:first-child { color: var(--ct, var(--c)); }
.pc-t { font: 600 clamp(19px, calc(var(--cw, 90vw) * .062), 46px)/1.05 var(--serif); text-wrap: balance; letter-spacing: -.01em; margin: 0 0 clamp(5px, calc(var(--cw, 90vw) * .014), 11px); }
.pc-s { font: 600 clamp(13px, calc(var(--cw, 90vw) * .029), 21px)/1.32 var(--sans); margin: 0; color: rgba(244, 241, 234, .92); }
.pc-r { display: none; }
.pc-go { align-self: flex-start; margin-top: clamp(8px, calc(var(--cw, 90vw) * .022), 16px); font: 700 clamp(10px, calc(var(--cw, 90vw) * .018), 15px)/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #F4F1EA; border-bottom: 2px solid var(--c); padding-bottom: 4px; pointer-events: auto; }
.pcard:hover .pc-go { color: var(--ct, var(--c)); }

.hero-prog { position:absolute; z-index:8; left:50%; bottom:clamp(8px,1.8svh,22px); translate:-50% 0; display:flex; gap:5px; opacity:0; transition:opacity .4s ease; pointer-events:none}
.hero.cards-on .hero-prog { opacity:1; pointer-events:auto}
.hero-prog button { position:relative; width:44px; height:44px; padding:21px 0; border:0; background:none; cursor:pointer}
.hero-prog button::before { content:""; position:absolute; left:0; right:0; top:21px; height:2px; background:rgba(237,235,230,.2); border-radius:2px}
.hero-prog span { position:relative; display:block; width:100%; height:2px; background:var(--ink); transform:scaleX(var(--segment-progress,0)); transform-origin:left; border-radius:2px}
.hero-prog button:hover::before, .hero-prog button:focus-visible::before { background:rgba(237,235,230,.55)}

@media (max-width: 759px) {
  .hero-glow { background: radial-gradient(70% 45% at 50% 46%, #8a5a7847, transparent 72%)}
  .hero-portrait { --w: min(78vw, calc((100svh - 560px) * 1100 / 1343)); right: auto; left: 50%; margin-left: calc(var(--w) / -2); width: var(--w); top: 196px; bottom: auto}
  .hero-copy { width: 100%; padding: 74px var(--gutter) 28px; justify-content: flex-start; gap: 10px}
  .hero-kick { font-size: .64rem}
  .hero-name { font-size: min(15.5vw, 11svh); letter-spacing: -.015em}
  .hero-lines { margin-top: auto; gap: 20px; max-width: none}
  .hero-lede { font-size: 1.14rem; line-height: 1.36; max-width: none}
  .hero-hint { order: -1; font-size: .6rem}
  .sp .sb, .pc-bg { background-image: var(--scrim), var(--bgm); background-position: 0 0, 0 0, 0 0, var(--pm); }
  .pc-in { padding: 0 0 clamp(12px, 2.4svh, 26px) 12px; }
  .pc-k { font-size: 11.5px; margin-bottom: 8px; }
  .pc-t { font-size: 34px; margin-bottom: 10px; }
  .pc-s { font-size: 17px; margin-bottom: 8px; }
  .pc-r { font-size: 14.5px; }
  .pc-go { font-size: 12px; margin-top: 14px; }
  .pc { left: calc(var(--mrx) * 1%); top: calc(var(--mry) * 1%); width: calc(var(--mrw) * 1%); height: calc(var(--mrh) * 1%); }
}

/* Etat statique : sans JS ou mouvement reduit */
.no-js .hero, .hero-static { height: auto}
.no-js .hero-pin, .hero-static .hero-pin { position: relative; height: auto; display: flex; flex-direction: column; padding-bottom: 40px; overflow: visible}
.no-js .hero-world, .hero-static .hero-world { position: relative; inset: auto; display: flex; flex-direction: column}
.no-js .hero-copy, .hero-static .hero-copy { width: 100%; height: auto; padding: clamp(84px, 12svh, 120px) var(--gutter) 24px}
.no-js .hero-portrait, .hero-static .hero-portrait { position: relative; right: auto; left: auto; top: auto; margin: 0 auto; width: min(420px, 80vw)}
.no-js .shards, .hero-static .shards, .no-js .slabs, .hero-static .slabs, .no-js .hero-hint, .hero-static .hero-hint, .no-js .hero-prog, .hero-static .hero-prog { display: none; }
.no-js .hero-name, .hero-static .hero-name { color: var(--ink)}
.no-js .cards, .hero-static .cards { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding: 32px var(--gutter) 0; pointer-events: auto; filter: none; }
.no-js .pcard, .hero-static .pcard { position: relative; left: auto; top: auto; margin: 0; width: auto; height: auto; clip-path: none; visibility: visible; opacity: 1; border-radius: 4px; padding: 20px; min-height: 340px; display: flex; align-items: flex-end; overflow: hidden; }
.no-js .pc-bg, .hero-static .pc-bg { display: block; }
.no-js .pc, .hero-static .pc { opacity: 1; position: relative; left: auto; top: auto; width: auto; height: auto; container-type: normal; }
.no-js .pc-in, .hero-static .pc-in { gap: 12px; }
.no-js .pc-k, .hero-static .pc-k { font-size: .68rem; }
.no-js .pc-t, .hero-static .pc-t { font-size: 1.7rem; }
.no-js .pc-s, .hero-static .pc-s { font-size: .95rem; }
.no-js .pc-r, .hero-static .pc-r { font-size: .88rem; }
.no-js .pc-go, .hero-static .pc-go { font-size: .72rem; }
.no-js .pc-txt, .hero-static .pc-txt { gap: 8px; }
.no-js .hero-glow, .hero-static .hero-glow { --t: 1}

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink); text-decoration: none; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--red-t); border-color: var(--red-t); color: #111; }

/* ---------- Projets en detail ---------- */
.details { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.project { display: grid; gap: 36px; padding-block: clamp(76px, 9vw, 130px); border-top: 1px solid var(--line); }
.project:first-child { border-top: 0; }
@media (min-width: 1100px) {
  .project { grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 96px); }
  .p-info { position: sticky; top: 92px; align-self: start; }
}
.p-num { font: 300 clamp(4rem, 10vw, 8.5rem)/.85 var(--sans); letter-spacing: -.05em; margin-bottom: 22px; font-variant-numeric: tabular-nums; }
h3 { font: 600 clamp(1.5rem, 2.4vw, 2.1rem)/1.12 var(--serif); text-wrap: balance; }
.project .facts { margin-block: 22px; }
.project .facts div { font-size: .92rem; }
.disclaimer { margin-top: 24px; font-size: .82rem; color: var(--muted); max-width: 60ch; border-left: 3px solid var(--yellow-t); padding-left: 14px; }

.p-media { min-width: 0; }
.sub { margin: 40px 0 16px; color: var(--muted); }
.board img { border: 1px solid var(--line); }
.board figcaption, .photo figcaption, .scrollshot figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); }
.board figcaption a { color: var(--ink); text-underline-offset: 3px; }

.frame { position: relative; overflow: hidden; background: var(--bg-2); border-radius: 2px; }
.frame video, .frame img { width: 100%; height: auto; }
.reveal { filter: grayscale(1) contrast(1.05); transition: filter 1.5s ease .1s; }
.reveal.is-on { filter: none; }
.no-js .reveal { filter: none; }
@media (prefers-reduced-motion: reduce) { .reveal { filter: none; transition: none; } }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 720px) { .rail { grid-auto-flow: row; grid-auto-columns: unset; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 24px; } }
.media figcaption { margin-top: 12px; display: grid; gap: 4px; font-size: .88rem; color: var(--muted); }
.media figcaption strong { color: var(--ink); font-weight: 600; }
.media .frame { aspect-ratio: 9 / 16; }
.media .frame video { width: 100%; height: 100%; object-fit: cover; }
.narrow { max-width: 360px; }

.sound { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: rgba(17, 17, 16, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; }
.sound:hover { background: rgba(17, 17, 16, .85); }
.sound svg { width: 22px; height: 22px; fill: currentColor; }
.sound .w { display: none; }
.sound.is-on .w { display: block; }
.sound.is-on .x { display: none; }

.note-card { margin-top: 48px; padding: clamp(20px, 3vw, 32px); border: 1px dashed var(--muted); display: grid; gap: 10px; max-width: 720px; }
.note-card h4 { font: 600 1.5rem/1.15 var(--serif); }
.note-card p { color: var(--muted); }

.pair { display: grid; gap: 24px; }
@media (min-width: 720px) { .pair { grid-template-columns: repeat(2, 1fr); gap: 32px; } .pair .photo:nth-child(2) { margin-top: 12%; } }

.orage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.orage-grid .scrollshot { grid-column: 1 / -1; }
@media (min-width: 1300px) { .orage-grid { grid-template-columns: 1.25fr 1fr 1fr; align-items: start; } .orage-grid .scrollshot { grid-column: auto; } }
.scrollframe { max-height: min(78vh, 720px); overflow-y: auto; border: 1px solid var(--line); background: #000; overscroll-behavior: auto; }
.scrollframe img { width: 100%; }

/* Apparition au defilement (depuis un etat visible) */
.js .fx { opacity: .18; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .fx.in { opacity: 1; transform: none; }

/* ---------- Fond plus sombre : a propos + contact ---------- */
.dark { background: var(--surface); }
.about { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 12vw, 180px) var(--gutter) clamp(56px, 8vw, 110px); }
.about-title { font: 500 clamp(3.4rem, 13vw, 12rem)/.86 var(--serif); text-transform: uppercase; letter-spacing: -.02em; }
.about-title .w { transition: color 1.2s ease; }
.about-title.in .w1 { color: var(--red-t); transition-delay: .2s; }
.about-title.in .w2 { color: var(--yellow-t); transition-delay: .5s; }
.about-title.in .w3 { color: var(--green-t); transition-delay: .8s; }
.about-title.in .w4 { color: var(--blue-t); transition-delay: 1.1s; }
.no-js .about-title .w1 { color: var(--red-t); } .no-js .about-title .w2 { color: var(--yellow-t); }
.no-js .about-title .w3 { color: var(--green-t); } .no-js .about-title .w4 { color: var(--blue-t); }
.about-grid { display: grid; gap: 40px; margin-top: clamp(40px, 7vw, 96px); align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.about-photos .frame { aspect-ratio: 3 / 4; background: #222; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }
.about-photos .photo:nth-child(2) { margin-top: 14%; }

.about-film { display: grid; gap: 24px; margin-top: clamp(40px, 7vw, 96px); align-items: start; }
@media (min-width: 720px) { .about-film { grid-template-columns: 3fr 1fr; gap: clamp(20px, 3vw, 40px); } }
.film .frame { aspect-ratio: 16 / 9; }
.film.tall .frame { aspect-ratio: 9 / 16; }
.film.tall { max-width: 60%; }
@media (min-width: 720px) { .film.tall { max-width: none; } }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film figcaption { margin-top: 12px; display: grid; gap: 4px; font-size: .88rem; color: var(--muted); }
.film figcaption strong { color: var(--ink); font-weight: 600; }

.site-footer { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 32px; color: #8F8D86; border-top: 1px solid var(--line); }
.site-footer small { font-size: .78rem; }

/* ---------- Transition "zoom" : cliquer sur une pièce fait grandir sa photo jusqu'à devenir la photo d'ouverture du projet ---------- */
.pz-overlay { position: fixed; inset: 0; z-index: 998; background: #0E0E0D; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.pz-overlay.is-on { opacity: .94; }
.pz-fly { position: fixed; z-index: 999; overflow: hidden; pointer-events: none; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .55); transition: top .6s cubic-bezier(.65, 0, .24, 1), left .6s cubic-bezier(.65, 0, .24, 1), width .6s cubic-bezier(.65, 0, .24, 1), height .6s cubic-bezier(.65, 0, .24, 1), opacity .22s ease; }
.pz-fly img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .pz-overlay, .pz-fly { display: none !important; } }

.p-open .po-img { transform-origin: 50% 42%; }
.p-open .po-in { transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.js-arrive .p-open .po-img { transform: scale(1.28); transition: none; }
.js-arrive .p-open .po-in { opacity: 0; transform: translateY(14px); transition: none; }
.js-settle .p-open .po-img { transform: scale(1); transition: transform .78s cubic-bezier(.22, 1, .36, 1); }
.js-settle .p-open .po-in { opacity: 1; transform: none; transition-delay: .1s; }
@media (prefers-reduced-motion: reduce) {
  .js-arrive .p-open .po-img, .js-arrive .p-open .po-in { transform: none; opacity: 1; }
}
/* Le panoramique "Ken Burns" de la photo d'ouverture (voir plus bas, animation-timeline: view())
   est piloté par le scroll et calcule sa position à partir de la géométrie de .po-img. Pendant la
   fenêtre d'arrivée, .po-img (son parent) porte lui-même un scale() piloté par ce script — appliquer
   un transform sur l'ancêtre d'un élément animé par une "view timeline" perturbe ce calcul de
   géométrie (bug connu de cette fonctionnalité CSS encore récente) et peut faire apparaître la photo
   translatée verticalement de façon erratique, donnant l'impression d'un saut de scroll. On suspend
   ce panoramique le temps de l'arrivée, il reprend normalement une fois .js-settle retiré.
   Voir Décision 23 (audit du bug de scroll après transition zoom) dans le doc de suivi du projet. */
.js-arrive .po-img img, .js-settle .po-img img { animation: none !important; transform: scale(1.08) !important; }

/* ---------- Logo (monogramme YS) : s'ouvre légèrement au survol, les extrémités s'étirent depuis le centre ---------- */
.logo-wrap { position: relative; display: block; height: 46px; width: 34px; overflow: visible; }
.logo-mark { position: absolute; left: 0; top: 0; height: 46px; width: auto; display: block; overflow: visible; }
.logo-ink { fill: currentColor; transform-box: fill-box; transform-origin: 47% 33%; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.brand:hover .logo-ink, .brand:focus-visible .logo-ink { transform: scale(1.4, 1.14); }
@media (hover: none) { .logo-ink { transition: none; } }

/* ---------- Projets en détail : une ouverture immersive par projet, puis le contenu ---------- */
.details { max-width: none; margin: 0; padding-inline: 0; }
.project { --pad: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); --pv: clamp(64px, 9vw, 148px); display: block; padding: 0; border-top: 0; }

/* Project cover and foreground content share one scrolling article. */
.project { isolation: isolate; }
.project > .p-open ~ * { position: relative; z-index: 1; }
.p-open {
  --fg: #F3F0E7; position: sticky; top: 0; z-index: 0; isolation: isolate; overflow: hidden; color: var(--fg);
  min-height: clamp(540px, 90svh, 940px); display: grid; align-items: end; background: var(--bg);
  padding: clamp(110px, 12vw, 170px) var(--pad) clamp(24px, 3.2vw, 52px);
}
.po-img, .po-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; display: block; }
.po-img img { transform: scale(1.08); }
.p-open::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 14, 13, .5) 0%, rgba(14, 14, 13, .18) 30%, rgba(14, 14, 13, .86) 100%); }
.p-open.po-light { --fg: #1B1913; }
.p-open.po-light::before { background: linear-gradient(180deg, rgba(247, 240, 228, .0) 0%, rgba(247, 240, 228, 0) 55%, rgba(247, 240, 228, .55) 100%); }
.po-in { display: grid; gap: clamp(16px, 2vw, 28px); max-width: 100%; }
.p-idx { display: flex; align-items: baseline; gap: 14px; font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fg); }
.p-idx b { font: 500 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--serif); letter-spacing: 0; color: var(--oa); padding-right: 14px; border-right: 1px solid currentColor; }
.p-open.po-light .p-idx b { color: var(--oa); }
.p-open h1 { font: 700 clamp(2.4rem, 6.2vw, 6.4rem)/.98 var(--serif); letter-spacing: -.02em; max-width: 13.5em; text-wrap: balance; color: var(--fg); text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.p-open.po-light h1 { text-shadow: none; }
@supports (animation-timeline: view()) {
  .po-img img { animation: pokb linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes pokb { from { transform: translateY(-5%) scale(1.14); } to { transform: translateY(5%) scale(1.14); } }
}
@media (prefers-reduced-motion: reduce) { .po-img img { animation: none; transform: none; } }

/* Contenu : deux fonds seulement, clair ou gris du site */
.p-body {
  --pbg: #F4F1EA; --ink: #16150F; --muted: #5C594F; --line: rgba(22, 21, 15, .2); --bg-2: #DDD9CF; --acc: #16150F;
  background: var(--pbg); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 4.5vw, 64px); padding: var(--pv) var(--pad);
}
.p-body.dk { --pbg: var(--bg); --ink: #EDEBE6; --muted: #A6A29A; --line: rgba(237, 235, 230, .22); --bg-2: #1D1D1B; --acc: #EDEBE6; }
.p-body.dk .frame { box-shadow: 0 26px 54px -30px rgba(0, 0, 0, .9); outline: 1px solid rgba(237, 235, 230, .12); }
.p-body.dk .note-card { background: rgba(255, 255, 255, .04); }
.p-info { display: grid; gap: 28px; align-content: start; min-width: 0; }
.project .facts { margin: 0; padding: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; border-block: 1px solid var(--line); }
.project .facts dt { font: 600 .66rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.project .facts dd { margin-top: 5px; font: 600 1rem/1.35 var(--sans); }
.project .facts div { font-size: 1rem; }
.project .lede { font: 500 clamp(1.25rem, 1.75vw, 1.5rem)/1.5 var(--serif); color: var(--ink); max-width: 46ch; }
.project .disclaimer { margin: 0; border-left-color: var(--acc); color: var(--muted); }
.project .sub { display: flex; align-items: center; gap: 16px; margin: 56px 0 22px; color: var(--muted); }
.project .sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.project .board img { border: 0; box-shadow: 0 32px 64px -34px rgba(22, 21, 15, .45); }
.project .board figcaption, .project .photo figcaption, .project .scrollshot figcaption { color: var(--muted); }
.project .board figcaption a { color: var(--ink); }
.project .frame { box-shadow: 0 26px 54px -30px rgba(22, 21, 15, .5); border-radius: 3px; }
.project .media figcaption { color: var(--muted); }
.project .media figcaption strong { color: var(--ink); }
.project .note-card { background: rgba(255, 255, 255, .55); border: 1px solid var(--line); border-left: 3px solid var(--acc); }
.project .note-card p { color: var(--muted); }
.project .scrollframe { border: 0; box-shadow: 0 32px 64px -34px rgba(22, 21, 15, .5); }
@media (min-width: 1100px) {
  .p-body { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 40px); }
  .p-info { position: sticky; top: 92px; align-self: start; }
  .p1 .p-info, .p4 .p-info { grid-column: 1 / 5; }
  .p1 .p-media, .p4 .p-media { grid-column: 6 / -1; }
  .p2 .p-media { grid-column: 1 / 8; grid-row: 1; }
  .p2 .p-info { grid-column: 9 / -1; grid-row: 1; }
  .p3 .p-media { grid-column: 6 / -1; grid-row: 1; }
  .p3 .p-info { grid-column: 1 / 5; grid-row: 1; }
}

.p1 .rail { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 719px) { .p1 .rail { grid-template-columns: none; } }
.p3 .rail { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 719px) { .p3 .rail { grid-template-columns: none; } }

/* Sélecteur de projets (après "Stage de 6 mois...") : les morceaux du hero en pile façon classeur. Au survol, la pièce visée passe devant et se met en avant, les autres s'écartent. Même langage, plus petit, en fin de chaque étude de cas. */
.pick { position: relative; padding: clamp(40px, 5vw, 76px) var(--gutter) clamp(72px, 9vw, 128px); max-width: var(--max); margin: 0 auto; background: var(--ink); color: var(--bg-2); }
.pick::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: var(--ink); z-index: -1; }
.pick-head { margin-bottom: clamp(24px, 3vw, 36px); }
.pick-h { font: 500 clamp(2.6rem, 7.5vw, 5.6rem)/.92 var(--serif); text-transform: uppercase; letter-spacing: -.02em; color: var(--bg-2); margin: 0; }

:root { --pick-ease: cubic-bezier(.22, 1, .36, 1); }
.pick-grid { display: flex; justify-content: center; align-items: flex-start; padding: 24px 0 12px; }
.pick-card { --fan-rot: 0deg; --fan-y: 0px; --push-x: 0px; position: relative; flex: none; display: flex; flex-direction: column; align-items: center; width: clamp(220px, 20vw, 290px); margin-left: -58px; text-decoration: none; color: inherit; text-align: center; transform: translateX(var(--push-x)) translateY(var(--fan-y)) rotate(var(--fan-rot)); transition: transform .85s var(--pick-ease), opacity .6s ease; }
.pick-card:first-child { margin-left: 0; }
.pick-card:nth-child(1) { --fan-rot: -3deg; --fan-y: 10px; z-index: 11; }
.pick-card:nth-child(2) { --fan-rot: 2deg; --fan-y: -6px; z-index: 12; }
.pick-card:nth-child(3) { --fan-rot: -2deg; --fan-y: 8px; z-index: 13; }
.pick-card:nth-child(4) { --fan-rot: 3deg; --fan-y: -10px; z-index: 14; }

.pick-shape-wrap { position: relative; display: block; width: 100%; aspect-ratio: var(--ar); }
.pick-shape-wrap::before { content: ""; position: absolute; inset: -9px; clip-path: var(--poly); background: var(--ink); opacity: 0; transform: scale(.9); transition: opacity .7s ease, transform .7s var(--pick-ease); z-index: 0; }
.pick .pick-shape-wrap::before { background: var(--bg-2); }
.pick-shape { position: relative; z-index: 1; display: block; width: 100%; height: 100%; clip-path: var(--poly); overflow: hidden; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .4)); transition: transform .7s var(--pick-ease), filter .7s ease; }
.pick .pick-shape { filter: drop-shadow(0 2px 4px rgba(20, 18, 15, .35)) drop-shadow(0 22px 34px rgba(20, 18, 15, .5)); }
.pick-shape img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94); }
/* Ombre : forme identique à la pièce (clip-path net), légèrement agrandie et floutée avant d'être placée derrière —
   c'est le flou CSS qui diffuse ses propres bords, la photo au-dessus n'est jamais touchée et reste nette. */
.pick .pick-shape-wrap::after { content: ""; position: absolute; inset: -4%; clip-path: var(--poly); background: rgba(20, 18, 15, .48); z-index: -1; transform: translate(6px, 9px); filter: blur(11px); transition: transform .7s var(--pick-ease), filter .7s ease, background-color .7s ease; pointer-events: none; }

.pick-card:is(:hover, :focus-visible) { --fan-rot: 0deg; --fan-y: -30px; z-index: 30 !important; }
.pick-card:is(:hover, :focus-visible) .pick-shape-wrap::before { opacity: 1; transform: scale(1); }
.pick .pick-card:is(:hover, :focus-visible) .pick-shape-wrap::after { transform: translate(11px, 16px); filter: blur(15px); background: rgba(20, 18, 15, .54); }
.pick-card:is(:hover, :focus-visible) .pick-shape { transform: scale(1.12); filter: drop-shadow(0 26px 42px rgba(0, 0, 0, .45)); }
.pick .pick-card:is(:hover, :focus-visible) .pick-shape { filter: drop-shadow(0 3px 6px rgba(20, 18, 15, .4)) drop-shadow(0 32px 52px rgba(20, 18, 15, .55)); }
.pick-grid:has(.pick-card:hover) .pick-card:not(:hover),
.pick-grid:has(.pick-card:focus-visible) .pick-card:not(:focus-visible) { --fan-rot: 0deg; opacity: .58; }
.pick-grid:has(.pick-card:hover) .pick-card:not(:hover) .pick-shape,
.pick-grid:has(.pick-card:focus-visible) .pick-card:not(:focus-visible) .pick-shape { transform: scale(.92); }

.pick-grid:has(.pick-card:nth-child(1):hover) .pick-card:nth-child(2), .pick-grid:has(.pick-card:nth-child(1):focus-visible) .pick-card:nth-child(2) { --push-x: 96px; }
.pick-grid:has(.pick-card:nth-child(1):hover) .pick-card:nth-child(3), .pick-grid:has(.pick-card:nth-child(1):focus-visible) .pick-card:nth-child(3) { --push-x: 178px; }
.pick-grid:has(.pick-card:nth-child(1):hover) .pick-card:nth-child(4), .pick-grid:has(.pick-card:nth-child(1):focus-visible) .pick-card:nth-child(4) { --push-x: 246px; }

.pick-grid:has(.pick-card:nth-child(2):hover) .pick-card:nth-child(1), .pick-grid:has(.pick-card:nth-child(2):focus-visible) .pick-card:nth-child(1) { --push-x: -96px; }
.pick-grid:has(.pick-card:nth-child(2):hover) .pick-card:nth-child(3), .pick-grid:has(.pick-card:nth-child(2):focus-visible) .pick-card:nth-child(3) { --push-x: 96px; }
.pick-grid:has(.pick-card:nth-child(2):hover) .pick-card:nth-child(4), .pick-grid:has(.pick-card:nth-child(2):focus-visible) .pick-card:nth-child(4) { --push-x: 178px; }

.pick-grid:has(.pick-card:nth-child(3):hover) .pick-card:nth-child(1), .pick-grid:has(.pick-card:nth-child(3):focus-visible) .pick-card:nth-child(1) { --push-x: -178px; }
.pick-grid:has(.pick-card:nth-child(3):hover) .pick-card:nth-child(2), .pick-grid:has(.pick-card:nth-child(3):focus-visible) .pick-card:nth-child(2) { --push-x: -96px; }
.pick-grid:has(.pick-card:nth-child(3):hover) .pick-card:nth-child(4), .pick-grid:has(.pick-card:nth-child(3):focus-visible) .pick-card:nth-child(4) { --push-x: 96px; }

.pick-grid:has(.pick-card:nth-child(4):hover) .pick-card:nth-child(1), .pick-grid:has(.pick-card:nth-child(4):focus-visible) .pick-card:nth-child(1) { --push-x: -246px; }
.pick-grid:has(.pick-card:nth-child(4):hover) .pick-card:nth-child(2), .pick-grid:has(.pick-card:nth-child(4):focus-visible) .pick-card:nth-child(2) { --push-x: -178px; }
.pick-grid:has(.pick-card:nth-child(4):hover) .pick-card:nth-child(3), .pick-grid:has(.pick-card:nth-child(4):focus-visible) .pick-card:nth-child(3) { --push-x: -96px; }

@media (hover: none) { .pick-card { transition: none; } .pick-grid:has(.pick-card:hover) .pick-card:not(:hover) { opacity: 1; --fan-rot: var(--fan-rot); } .pick-k, .pick-t { max-height: 3em !important; opacity: 1 !important; margin-top: 4px !important; } .pick-sub { display: none !important; } }

.pick-txt { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pick-num { position: absolute; top: 10px; left: 10px; z-index: 5; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(14, 14, 13, .5); font: 600 .68rem/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.pick-meta { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pick-k, .pick-t { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s ease, opacity .5s ease .05s, margin-top .55s ease; }
.pick-k { font: 600 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.pick-t { font: 600 1.08rem/1.25 var(--serif); }
.pick-sub { display: block; max-height: 0; opacity: 0; overflow: hidden; color: var(--muted); font-size: .84rem; line-height: 1.35; max-width: 26ch; transition: max-height .55s ease .05s, opacity .5s ease .1s, margin-top .55s ease .05s; }
.pick .pick-sub { color: #6B6860; }
.pick-card:is(:hover, :focus-visible) .pick-k, .pick-card:is(:hover, :focus-visible) .pick-t { max-height: 3em; opacity: 1; margin-top: 4px; }
.pick-card:is(:hover, :focus-visible) .pick-sub { max-height: 4.2em; opacity: 1; margin-top: 4px; }

.pick-next { position: relative; margin: 0; padding: clamp(56px, 7vw, 96px) var(--pad) clamp(64px, 8vw, 112px); border-top: 1px solid rgba(124, 120, 112, .4); --pbg: #F4F1EA; --ink: #16150F; --muted: #5C594F; --line: rgba(22, 21, 15, .2); background: var(--pbg); color: var(--ink); text-align: center; }
.pick-next::before { content: ""; position: absolute; inset: 0; left: 50%; width: 100vw; margin-left: -50vw; background: var(--pbg); z-index: -1; }
.pick-next-k { display: block; color: var(--ink); text-transform: none; letter-spacing: -.01em; font: 500 clamp(1.9rem, 3.4vw, 3rem)/1.08 var(--serif); margin: 0 0 clamp(24px, 3vw, 40px); }
.pick-next-grid { display: flex; justify-content: center; padding-top: 8px; }
.pick-next .pick-shape-wrap::before { background: var(--bg-2); }
.pick-next .pick-shape { filter: drop-shadow(0 2px 4px rgba(20, 18, 15, .35)) drop-shadow(0 22px 34px rgba(20, 18, 15, .5)); }
.pick-next .pick-shape-wrap::after { content: ""; position: absolute; inset: -4%; clip-path: var(--poly); background: rgba(20, 18, 15, .48); z-index: -1; transform: translate(6px, 9px); filter: blur(11px); transition: transform .7s var(--pick-ease), filter .7s ease, background-color .7s ease; pointer-events: none; }
.pick-next .pick-card:is(:hover, :focus-visible) .pick-shape-wrap::after { transform: translate(11px, 16px); filter: blur(15px); background: rgba(20, 18, 15, .54); }
.pick-card--sm { width: clamp(168px, 16.1vw, 228px); margin-left: -40px; }
.pick-card--sm:first-child { margin-left: 0; }
.pick-card--sm:nth-child(1) { --fan-rot: -3deg; z-index: 11; }
.pick-card--sm:nth-child(2) { --fan-rot: 2deg; z-index: 12; }
.pick-card--sm:nth-child(3) { --fan-rot: -2deg; z-index: 13; }
.pick-next-grid:has(.pick-card--sm:nth-child(1):hover) .pick-card--sm:nth-child(2) { --push-x: 94px; }
.pick-next-grid:has(.pick-card--sm:nth-child(1):hover) .pick-card--sm:nth-child(3) { --push-x: 189px; }
.pick-next-grid:has(.pick-card--sm:nth-child(2):hover) .pick-card--sm:nth-child(1) { --push-x: -94px; }
.pick-next-grid:has(.pick-card--sm:nth-child(2):hover) .pick-card--sm:nth-child(3) { --push-x: 94px; }
.pick-next-grid:has(.pick-card--sm:nth-child(3):hover) .pick-card--sm:nth-child(1) { --push-x: -189px; }
.pick-next-grid:has(.pick-card--sm:nth-child(3):hover) .pick-card--sm:nth-child(2) { --push-x: -94px; }
.pick-card--sm .pick-txt { margin-top: 12px; }
.pick-card--sm .pick-t { font-size: .86rem; }
.pick-card--sm .pick-num { display: none; }
.pick-card--sm .pick-sub { display: none; }

@media (max-width: 719px) {
  .pick-card { width: clamp(122px, 33vw, 158px); margin-left: -29px; }
  .pick-card--sm { width: clamp(110px, 33.35vw, 145px); margin-left: -26px; }
  .pick-grid { justify-content: flex-start; }
  .pick-next-grid { justify-content: center; }
}


/* La Muña x Samigo Fuel : bandeau à part, inspiré de l'univers des affiches */
.samigo {
  --sg: #45B24F; --gold: #E4BE66; --sgred: #E23B2E; --padv: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(70% 90% at 82% 60%, rgba(69, 178, 79, .13), transparent 70%), var(--bg); color: #F3F0E7; padding: clamp(60px, 8vw, 128px) var(--padv);
  display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "video" "art";
}
.sg-copy { grid-area: copy; display: grid; gap: 22px; align-content: center; }
.sg-tag { font: 600 .78rem/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }
.sg-tag::before { content: ""; display: inline-block; width: 44px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 16px; }
.sg-title { display: grid; gap: clamp(14px, 1.8vw, 26px); margin: 0; justify-items: start; }
.sg-duo { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.sg-logo-muna { width: clamp(150px, 15vw, 230px); height: auto; }
.sg-x { font: 300 clamp(1.6rem, 2.6vw, 2.6rem)/1 var(--serif); color: var(--gold); }
.sg-logo-samigo { width: min(100%, 640px); height: auto; }
.sg-text { max-width: 42ch; color: #CFCBC0; font-size: clamp(1.02rem, 1.3vw, 1.18rem); }
.sg-cloche { grid-area: art; width: min(100%, 560px); height: auto; justify-self: center; }
.sg-video { grid-area: video; position: relative; width: min(100%, 460px); justify-self: center; transform: rotate(-2.4deg); }
.js .sg-video.fx { transform: translateY(28px) rotate(-2.4deg); }
.js .sg-video.fx.in { transform: rotate(-2.4deg); }
.sg-video .frame { border: 2px solid var(--sg); border-radius: 4px; background: #000; box-shadow: 0 0 0 7px var(--bg), 0 0 0 9px rgba(69, 178, 79, .5), 0 34px 90px -26px rgba(69, 178, 79, .45); }
.sg-stamp { position: absolute; top: -52px; right: -46px; width: 132px; height: 132px; color: var(--sgred); background: var(--bg); border-radius: 50%; animation: sgspin 26s linear infinite; z-index: 2; }
.sg-stamp text { font: 700 9.4px/1 var(--sans); letter-spacing: .1em; fill: currentColor; }
@keyframes sgspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sg-stamp { animation: none; } }
@media (min-width: 900px) {
  .samigo { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-areas: "video copy" "video art"; column-gap: clamp(40px, 6vw, 110px); }
  .sg-video { justify-self: start; }
  .sg-cloche { justify-self: end; margin-top: 12px; }
}
@media (max-width: 899px) { .sg-stamp { right: -6px; top: -48px; width: 112px; height: 112px; } }

/* Traitement éditorial (Times New Roman) : intro, La Réserve, Samigo x La Muña */
#mrh .lede { font-family: var(--editorial); font-weight: 400; font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.5; color: var(--ink); }
#mrh .lede::first-letter { font-family: var(--editorial); font-size: 3.4em; line-height: .74; font-weight: 400; float: left; margin: .03em .1em 0 0; }
.sg-text { font-family: var(--editorial); font-weight: 400; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.5; }

/* Aperçu Figma (note-card "Refonte des sites de La Réserve") */
.note-preview { margin-top: 18px; }
.note-preview img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 2px; }
.note-preview figcaption { margin-top: 10px; font-size: .8rem; line-height: 1.4; color: var(--muted); font-style: italic; }

/* ---------- MRH : mise en page éditoriale (magazine) pour les sections 2 à 6 ---------- */
#mrh .p-body.editorial { display: block; }
#mrh .ed-intro { max-width: none; margin-bottom: clamp(48px, 6vw, 88px); }
#mrh .lede-block { display: grid; gap: 18px; max-width: 62ch; }
#mrh .lede-block p { font-family: var(--editorial); font-weight: 400; font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.5; color: var(--ink); margin: 0; }
#mrh .lede-block:not(.lede-block--center) p:first-of-type::first-letter { font-size: 3.4em; line-height: .74; font-weight: 400; float: left; margin: .03em .1em 0 0; }
#mrh .lede-block--center { max-width: min(920px, 100%); text-align: center; margin-inline: auto; }

#mrh .ed-sec { padding-top: clamp(56px, 7vw, 104px); margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); max-width: none; }
#mrh .ed-sec--flush { padding-top: 0; margin-top: 0; border-top: 0; }
#mrh .ed-head { max-width: 58ch; margin-bottom: clamp(24px, 3vw, 40px); }
#mrh .ed-refonte .ed-head { max-width: none; }
#mrh .ed-refonte .ed-title { white-space: nowrap; font-size: clamp(1.6rem, 2.6vw, 3rem); }
@media (max-width: 640px) { #mrh .ed-refonte .ed-title { white-space: normal; } }
#mrh .ed-head--center { max-width: 62ch; margin-inline: auto; text-align: center; }
#mrh .ed-eyebrow { font: 600 .66rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); opacity: 1; margin: 0 0 12px; }
#mrh .ed-title { font: 500 clamp(1.9rem, 3.4vw, 3rem)/1.08 var(--serif); letter-spacing: -.01em; color: var(--ink); margin: 0; text-wrap: balance; }
#mrh .ed-text { display: grid; gap: 16px; }
#mrh .ed-text p { font-family: var(--editorial); font-weight: 400; font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.5; color: var(--ink); margin: 0; max-width: 56ch; }
#mrh .ed-text--center { max-width: min(920px, 100%); margin-inline: auto; text-align: center; }
#mrh .ed-text--center p { max-width: none; margin-inline: auto; }
#mrh .ed-text-sm { color: var(--muted); font-size: 1rem; line-height: 1.5; max-width: 56ch; margin: 10px 0 0; }
#mrh .ed-role { margin: 22px 0 0; font: 500 .98rem/1.5 var(--sans); color: var(--ink); max-width: 56ch; }
#mrh .ed-role strong { display: inline; font: 700 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 10px; vertical-align: 2px; }

#mrh .ed-campaign .ed-head { max-width: none; }
#mrh .ed-campaign .ed-title { white-space: nowrap; font-size: clamp(1.6rem, 3vw, 3rem); }
@media (max-width: 640px) { #mrh .ed-campaign .ed-title { white-space: normal; } }
#mrh .ed-campaign-lede { max-width: none; }
#mrh .ed-campaign-lede p { max-width: none; text-wrap: wrap; }

#mrh .ed-board-full { margin: clamp(28px, 4vw, 48px) 0 0; max-width: none; display: grid; gap: 18px; }
#mrh .ed-board-full img { display: block; width: 100%; height: auto; box-shadow: 0 32px 64px -34px rgba(22, 21, 15, .45); }
#mrh .ed-board-full figcaption { margin: 0; max-width: none; }
#mrh .ed-board-full figcaption { text-wrap: pretty; }
#mrh .ed-board-full figcaption span { display: inline; margin: 0; }
#mrh .ed-board-full figcaption a { display: inline; margin-left: .45em; white-space: nowrap; }
#mrh .ed-row--campaign-media { margin-top: clamp(18px, 2vw, 24px); }
@media (min-width: 1000px) {
  #mrh .ed-row--campaign-media .ed-col-text { grid-column: 1 / 5; align-self: start; }
  #mrh .ed-row--campaign-media .ed-board-full { grid-column: 5 / -1; margin-top: 0; }
}
#mrh .ed-feature-video--campaign { margin-top: clamp(40px, 5.5vw, 72px); }

#mrh .ed-row { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
#mrh .ed-col-media img, #mrh .ed-col-media video { display: block; width: 100%; height: auto; }
#mrh .ed-col-media.photo img, #mrh .ed-figma img { border: 1px solid var(--line); }
@media (min-width: 1000px) {
  #mrh .ed-row { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  #mrh .ed-ab .ed-row .ed-col-media { grid-column: 1 / 6; grid-row: 1 / 3; align-self: start; margin-top: calc(.66rem * 1.3 + 12px); }
  #mrh .ed-ab .ed-row .ed-col-text { grid-column: 6 / -1; grid-row: 2; }
  #mrh .ed-ab { display: grid; grid-template-rows: auto 1fr; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 40px); }
  #mrh .ed-ab .ed-head { grid-column: 6 / -1; grid-row: 1; }
  #mrh .ed-ab .ed-row { display: contents; }
  #mrh .ed-refonte .ed-row .ed-col-text { grid-column: 1 / 5; align-self: center; }
  #mrh .ed-refonte .ed-row .ed-col-media { grid-column: 5 / -1; }
}
@media (max-width: 999px) {
  #mrh .ed-row { grid-template-columns: none; }
}

#mrh .ed-feature-video { margin: clamp(32px, 5vw, 56px) auto 0; max-width: 460px; }
#mrh .ed-feature-video figcaption { margin-top: 14px; display: grid; gap: 4px; }
#mrh .ed-feature-video figcaption strong { font: 500 1.15rem/1.3 var(--serif); color: var(--ink); }
#mrh .ed-feature-video figcaption span { color: var(--muted); font-size: .92rem; line-height: 1.45; }

#mrh .ed-social-rail { margin-top: clamp(20px, 3vw, 32px); }
@media (min-width: 720px) {
  #mrh .ed-social-rail { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: clamp(24px, 3vw, 40px); }
}

#mrh .ed-learnings { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; max-width: 56ch; }
#mrh .ed-learnings li { position: relative; padding-left: 22px; font: 500 .98rem/1.5 var(--sans); color: var(--ink); }
#mrh .ed-learnings li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }

#mrh .ed-ab figure.photo { margin: 0; }
#mrh .ed-ab figure.photo figcaption { margin-top: 12px; color: var(--muted); font-size: .84rem; line-height: 1.4; }

#mrh .ed-stat-inline { margin: 20px 0 0; padding: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
#mrh .ed-stat-inline .stat-num { font: 500 clamp(2rem, 3.4vw, 2.7rem)/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
#mrh .ed-stat-inline .stat-lbl { font: 600 .74rem/1.4 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); max-width: none; }
#mrh .ed-stat-inline .stat-lbl br { display: block; content: ""; }

#mrh .ed-figma { margin: 0; }
#mrh .ed-figma figcaption { margin-top: 12px; font-size: .8rem; line-height: 1.4; color: var(--muted); font-style: italic; }

/* Samigo : texte en plusieurs paragraphes + ligne de rôle + légende vidéo */
#mrh .sg-text-block { display: grid; gap: 16px; margin: 0; }
#mrh .sg-text-block p { font-family: var(--editorial); font-weight: 400; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.5; color: #CFCBC0; margin: 0; max-width: 48ch; }
#mrh .sg-role { margin: 2px 0 0; font: 500 .96rem/1.5 var(--sans); color: #F3F0E7; }
#mrh .sg-role strong { display: inline; font: 700 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #9C988E; margin-right: 10px; vertical-align: 2px; }
#mrh .sg-video figcaption { margin-top: 12px; color: #B9B5AA; font-size: .82rem; line-height: 1.4; max-width: none; width:100%; text-wrap:pretty; }

@media (max-width: 719px) {
  #mrh .ed-sec { padding-top: 44px; margin-top: 44px; }
  #mrh .ed-feature-video { max-width: 320px; }
}

/* The alpha follows each moving fragment, including its edge strokes. */
/* The transparent portrait already supplies its alpha; a second image mask
   on every 3D face causes missing textures and duplicate loads in WebKit. */
.sh .sf{-webkit-mask:none;mask:none}
.hero-portrait>.under{-webkit-mask:url("media/hero-plaster-cutout.webp") 55.511811% 60.606061% / 125.4% 102.702703% no-repeat;mask:url("media/hero-plaster-cutout.webp") 55.511811% 60.606061% / 125.4% 102.702703% no-repeat}

/* One shared image, from the shard to the measured project hero. */
html.flight-departure,html.flight-arrival{overflow:hidden;scrollbar-gutter:stable}
.flight-arrival .po-in{opacity:0;transform:translateY(12px)}
.po-img img{animation:none!important;transform:none!important}
#flight-cover{will-change:width,height,left,top,clip-path;contain:layout paint}

html{scrollbar-gutter:stable}
.flight-departure .pc{opacity:0!important;transition:opacity .18s ease}

.p-open .po-in{transition:opacity .22s ease,transform .22s ease}

.flight-departure body::after{content:"";position:fixed;inset:0;z-index:9999;background:var(--bg,#141310);pointer-events:none;animation:flight-backdrop .5s ease forwards}
@keyframes flight-backdrop{from{opacity:0}to{opacity:1}}

/* Project navigation shared by every page, above the current view. */
html.projects-menu-open { overflow: hidden; }
.projects-overlay { position: fixed; inset: 0; z-index: 9000; overflow: auto; overscroll-behavior: contain; background: rgba(250,249,245,.88); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: #24231f; padding: clamp(24px,4vw,64px); opacity: 0; transition: opacity .26s ease; --ink:#24231f; --muted:#68665f; }
.projects-overlay[hidden] { display: none; }
.projects-overlay.is-open { opacity: 1; }
.projects-menu-head { display:flex; align-items:center; justify-content:space-between; }
.projects-menu-head h2 { font:500 clamp(42px,6vw,88px)/1 var(--serif); margin:0; }
.projects-menu-close { display:grid; place-items:center; flex:0 0 52px; box-sizing:border-box; width:52px; height:52px; padding:0; border:1px solid #24231f44; border-radius:50%; background:transparent; color:inherit; cursor:pointer; transition:background .25s; }
.projects-menu-close svg { display:block; width:24px; height:24px; transform-origin:50% 50%; transition:transform .25s; pointer-events:none; }
.projects-menu-close:hover { background:#fff; }
.projects-menu-close:hover svg { transform:rotate(90deg); }
.projects-menu-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(16px,3vw,56px); align-items:center; min-height:calc(100svh - 210px); padding:32px 0; }
.projects-overlay .pick-card { width:100%; margin:0; transform:translateY(30px); opacity:0; transition:transform .5s var(--pick-ease),opacity .4s; }
.projects-overlay.is-open .pick-card { transform:translateY(0); opacity:1; }
.projects-overlay.is-open .pick-card:nth-child(2) { transition-delay:40ms; }
.projects-overlay.is-open .pick-card:nth-child(3) { transition-delay:80ms; }
.projects-overlay.is-open .pick-card:nth-child(4) { transition-delay:120ms; }
.projects-overlay .pick-shape-wrap { aspect-ratio:.85; max-height:56svh; filter: drop-shadow(0 2px 4px rgba(20,18,15,.35)) drop-shadow(0 22px 34px rgba(20,18,15,.5)); transition: filter .7s ease; }
.projects-overlay .pick-card:is(:hover,:focus-visible) .pick-shape-wrap { filter: drop-shadow(0 3px 6px rgba(20,18,15,.4)) drop-shadow(0 32px 52px rgba(20,18,15,.55)); }
.projects-overlay .pick-shape { transform:none; filter:none; }
.projects-overlay .pick-shape img { filter:none; }
.projects-overlay .pick-shape-wrap::before { display:none; }
.projects-overlay .pick-card:is(:hover,:focus-visible) .pick-shape { transform:translateY(-8px); }
.projects-overlay .pick-txt { gap:8px; }
.projects-overlay .pick-k,.projects-overlay .pick-t { max-height:none; opacity:1; margin:0; }
.projects-overlay .pick-k { color:#68665f; font-size:10px; }
.projects-overlay .pick-t { font-size:clamp(24px,2.7vw,40px); }
.projects-overlay .pick-num,.projects-overlay .pick-sub { display:none; }
.projects-overlay :focus-visible { outline:2px solid #24231f; outline-offset:8px; }
@media(max-width:700px){
 .projects-menu-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 20px; min-height:0; }
 .projects-overlay .pick-shape-wrap { aspect-ratio:1; max-height:28svh; }
 .projects-overlay .pick-t { font-size:25px; }
 .projects-overlay .pick-k { font-size:9px; letter-spacing:.04em; }
}
@media(prefers-reduced-motion:reduce){.projects-overlay,.projects-overlay .pick-card,.projects-overlay .pick-shape,.projects-menu-close,.projects-menu-close svg{transition:none!important;}}

/* Full-width introductions and a tighter La Muña / Samigo composition. */
#mrh .ed-social .ed-head, #mrh .ed-social .ed-text-sm { max-width:none; width:100%; }
#mrh .samigo { grid-template-areas:"copy" "video"; }
#mrh .sg-copy .sg-cloche { grid-area:auto; width:min(100%,360px); margin:0; justify-self:end; }
@media(min-width:900px){
 #mrh .samigo { grid-template-areas:"video copy"; }
 #mrh .sg-copy .sg-cloche { width:min(100%,560px); margin-top:-14px; }
}

@media(min-width:900px){ #mrh .sg-video { justify-self:center; width:min(88%,460px); } }

/* MRH leads the identity; La Réserve is the secondary brand. */
#mrh .p-open h1 .mrh-hero-sub { display:block; font-size:.48em; line-height:1.2; margin-top:.45em; letter-spacing:0; }
.mrh-piece-sub { display:block; font-size:.58em; font-weight:400; line-height:1.35; margin-top:.18em; }

/* Keep the full group name readable on every project shard. */
a[href="mrh.html"] .pick-t { text-wrap:balance; }
.projects-overlay a[href="mrh.html"] .pick-t { font-size:clamp(21px,2.25vw,34px); line-height:1.1; }
.pick-card[href="mrh.html"]:is(:hover,:focus-visible) .pick-t { max-height:5em; }

#mrh .ed-stat-note { font:400 .78rem/1.5 var(--sans); color:var(--muted); margin:14px 0 0; max-width:60ch; }

/* Stacked project layouts: use the full text column. */
@media (max-width:1099px) {
 .project .p-info { position:static; }
 .project .p-info .lede { max-width:none; width:100%; }
 .project .p-media .sub:first-child { margin-top:0; }
}

@media(max-width:999px) {
 #mrh .ed-row .ed-text p, #mrh .ed-row .ed-role,
 #mrh .ed-head, #mrh .ed-text-sm { max-width:none; }
}
@media(max-width:899px) {
 #mrh .sg-text-block p { max-width:none; }
}
@media(max-width:719px) {
 .pick .pick-card { width:clamp(96px,25vw,158px); }
}

/* Orage: a generous website preview, followed by a separate film row. */
#orage .orage-homepage { min-width:0; margin:0; }
#orage .orage-homepage .scrollframe { max-height:min(85svh,900px); }
#orage .orage-ads .orage-grid { display:grid; grid-template-columns:repeat(2,minmax(0,380px)); justify-content:center; gap:clamp(24px,4vw,64px); align-items:start; }
@media(min-width:1100px) {
 #orage .p-body { grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(48px,5vw,80px); align-items:start; }
 #orage .p-info { grid-column:1; grid-row:1; position:static; }
 #orage .p-info .lede { max-width:none; }
 #orage .orage-homepage { grid-column:2; grid-row:1; }
 #orage .orage-ads { grid-column:1 / -1; grid-row:2; padding-top:clamp(24px,3vw,48px); border-top:1px solid var(--line); }
}
@media(max-width:599px){ #orage .orage-ads .orage-grid { grid-template-columns:minmax(0,380px); } }

/* The fifth piece keeps its plaster face and opens the original performance. */
html.origin-story-open {overflow:hidden;}
.concept-card {background:#c9c4b9;}
.concept-image {width:100%;height:100%;object-fit:cover;}
.concept-open {position:absolute;inset:0;width:100%;height:100%;border:0;background:none;cursor:pointer;color:#F4F1EA;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 17% 12%;gap:8px;isolation:isolate;text-shadow:0 2px 12px #0009;}
.concept-label {font:600 clamp(9px,1vw,12px)/1.4 var(--sans);letter-spacing:.1em;text-transform:uppercase;}
.concept-cta {font:600 clamp(12px,1.2vw,15px)/1.4 var(--sans);border-bottom:1px solid currentColor;padding-bottom:4px;}
.concept-open::before {content:"";position:absolute;z-index:-1;inset:55% 0 0;background:radial-gradient(ellipse at 50% 65%,rgba(10,10,9,.8),rgba(10,10,9,.4) 45%,transparent 75%);pointer-events:none;}
.concept-open:hover .concept-cta {color:#fff;}
.concept-open:focus-visible {outline-offset:-45px;}
.concept-slab .sf {background:url("media/true-colors-plaster.webp") center/cover no-repeat;}
.hero-static .concept-card, .no-js .concept-card {padding:0;aspect-ratio:1;}
.hero-static .concept-open, .no-js .concept-open {pointer-events:auto;}
.origin-dialog { border:1px solid #d7d6cc; padding:0; width:min(1050px,94vw); max-height:90svh; background:#eeeae1; color:#292d29; }
.origin-dialog::backdrop { background:#000d; backdrop-filter:blur(16px); }
.origin-close { position:sticky; display:block; margin:10px 12px 0 auto; top:10px; z-index:3; width:44px;height:44px; border:1px solid #a6afa5;border-radius:50%;background:#eeeae1; color:#254f40;font-size:30px;cursor:pointer; }
.origin-story {padding:0 clamp(20px,4vw,56px) 40px;}
.origin-story h2 {font:500 clamp(38px,5vw,68px)/1 var(--serif);margin:16px 0 22px;}
.origin-text {font:400 .95rem/1.7 var(--sans);max-width:65ch;color:#454a44;margin-bottom:28px;}
.origin-dialog video {display:block;width:100%;max-height:65svh;background:#000;}
.origin-story-photos {display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px;}
.origin-story-photos img {display:block;width:100%;height:auto;}
@media(max-width:700px){
 .origin {height:180svh;}
 .origin-visual {width:calc(60vw + 32vw * var(--origin-open));height:calc(34svh + 48svh * var(--origin-open));}
 .origin-copy {left:9vw;right:8vw;bottom:16svh;}
 .origin-copy h2 {font-size:clamp(48px,12vw,80px);margin-bottom:20px;}
 .origin-lead {font-size:14px;max-width:24ch;}
 .origin-kicker {font-size:.6rem;left:7vw;}
 .origin-hint {font-size:.6rem;}
 .origin-story-photos {gap:12px;}
}
@media(prefers-reduced-motion:reduce){.origin{height:100svh}.origin-stage{position:relative}}

.hero-availability { font:400 .72rem/1.4 var(--sans); color:var(--muted); letter-spacing:.04em}

/* Homepage: original warm background, subtly darkened. */
html.homepage { --bg:#0B0B0A; --surface:#121211; }
.homepage .origin, .homepage .origin-shard { background:#11100D; }

@media(max-width:759px){.concept-image {object-fit:cover;} .concept-card {background:#c9c4b9;} .concept-open{padding-bottom:14%;}}

.origin-media-title {font:500 clamp(24px,3vw,34px)/1.2 var(--serif);margin:28px 0 16px;}
.origin-detail {display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,48px);align-items:center;margin:40px 0;}
.origin-detail .origin-media-title {margin-top:0;}
.origin-detail video {width:min(100%,33.75svh);height:auto;max-height:none;aspect-ratio:9/16;object-fit:cover;justify-self:center;background:transparent;}
@media(max-width:600px){.origin-detail {grid-template-columns:1fr;gap:8px;}.origin-detail video{width:min(100%,36.5625svh);max-height:none;}}

.origin-story > .origin-text { max-width:none; width:100%; }

/* Orange skier sits behind the men's film, anchored to the section corner. */
#orage .orage-ads {position:relative;isolation:isolate;}
#orage .orage-skier {position:absolute;z-index:-1;opacity:.7;right:calc(-1 * var(--gutter) - 4vw + 20px);bottom:-45px;width:min(50vw,630px);height:86%;object-fit:contain;object-position:right bottom;max-width:none;pointer-events:none;}
#orage .orage-ads .orage-grid {position:relative;z-index:1;}
#orage .orage-ads figcaption {position:relative;background:var(--bg);padding:16px 12px 4px;margin-inline:-12px;}
@media(max-width:599px){#orage .orage-skier{width:90vw;height:48%;right:calc(-1 * var(--gutter));bottom:0;}}

@media(min-width:600px){#orage .orage-skier{transform:rotate(18deg);transform-origin:65% 65%;}}

/* Keep decorative ski tips from widening the document. */
#orage {overflow-x:clip;}
#orage .orage-content { background: var(--bg); display: flow-root; }
.skip-link {position:fixed;top:12px;left:12px;z-index:10001;padding:12px 18px;background:#fff;color:#111;}
.skip-link:not(:focus-visible) { clip-path: inset(50%); opacity: 0; pointer-events: none; }
.video-toggle {left:10px;right:auto;}
.video-toggle svg {width:20px;height:20px;}
.video-toggle .play-icon {display:none;}
.video-toggle.is-paused .play-icon {display:block;}
.video-toggle.is-paused .pause-icon {display:none;}

/* The concept title echoes the green revealed beneath the plaster. */
#origin-story-title {color:#276349;}
.origin-story > .lbl {color:#586358;}
.origin-close:hover {background:#dce2d6;}
.origin-close:focus-visible {outline:3px solid #276349;outline-offset:3px;}

/* Keep the direct concept entry accessible in the compact navigation. */
@media(max-width:600px){
 .nav {gap:12px;}
 .nav a {font-size:.6rem;letter-spacing:.07em;gap:0;white-space:nowrap;}
 .nav a::before {display:none;}
}

@media(prefers-reduced-motion:no-preference){
 .origin-dialog[open] {animation:concept-enter .18s ease-out;}
 .origin-dialog[open]::backdrop {animation:concept-backdrop .18s ease-out;}
 @keyframes concept-enter {from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
 @keyframes concept-backdrop {from{opacity:0}to{opacity:1}}
}


/* Only the decoded project image crosses documents, never a full-page snapshot. */
@view-transition { navigation:auto; }
html { view-transition-name:none; }
#flight-cover { view-transition-name:project-flight; }
::view-transition-group(project-flight) { animation:none; }
::view-transition-image-pair(project-flight) { isolation:isolate; }
::view-transition-old(project-flight) { animation:flight-hold 100ms linear both; mix-blend-mode:normal; }
::view-transition-new(project-flight) { animation:none; mix-blend-mode:normal; }
@keyframes flight-hold { from,to { opacity:1; } }
@media(prefers-reduced-motion:reduce) { @view-transition { navigation:none; } }

/* Contact: quiet editorial finish, shared by the footer and the dialog. */
.contact { max-width:none; width:100%; margin:0; padding:clamp(64px,9vw,128px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); border-top:1px solid #ffffff26; display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(36px,7vw,110px); color:#edebe6; background:#0e0e0d; }
.contact-intro .lbl { color:#aaa79e; margin-bottom:24px; }
.contact-intro h2 { font:400 clamp(2.5rem,4.7vw,4.8rem)/1.06 var(--serif); letter-spacing:-.035em; }
.contact-intro h2 em { font-weight:400; color:var(--reveal-green); }
.contact-text { max-width:39ch; margin-top:26px; font-size:.95rem; line-height:1.7; color:#aaa79e; }
.contact-links { align-self:center; min-width:0; }
.contact-link { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:24px 0; border-bottom:1px solid #ffffff2e; text-decoration:none; color:#edebe6; }
.contact-link small { display:block; margin-bottom:9px; color:#aaa79e; font:500 .65rem/1.3 var(--sans); text-transform:uppercase; letter-spacing:.16em; }
.contact-value { display:block; font:400 clamp(1rem,1.55vw,1.45rem)/1.4 var(--sans); overflow-wrap:anywhere; }
.contact-arrow { flex:none; display:grid; place-items:center; width:44px; height:44px; border:1px solid #ffffff35; border-radius:50%; font:400 24px/1 var(--sans); transition:transform .2s ease,background .2s ease,color .2s ease; }
.contact-link:hover .contact-arrow { transform:translate(2px,-2px); background:#b8c5b7; color:#141510; }
.contact-signature { margin-top:25px; color:#8f8d86; font:.7rem/1.6 var(--sans); }
.contact-signature > span:first-child { margin:0 7px; }
html.contact-open { overflow:hidden; }
.contact-dialog { position:fixed; inset:0; margin:auto; width:min(1080px,calc(100% - 48px)); max-height:calc(100svh - 48px); padding:0; border:1px solid #ffffff26; color:#edebe6; background:#0e0e0d; overflow:auto; box-shadow:0 35px 100px #0008; }
.contact-dialog::backdrop { background:#141310b8; }
.contact-panel { display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(30px,5vw,70px); padding:clamp(60px,7vw,94px) clamp(24px,5vw,64px); }
.contact-dialog h2 { font-size:clamp(2.5rem,4.4vw,4.4rem); }
.contact-close { position:absolute; right:14px; top:14px; width:44px; height:44px; display:grid; place-items:center; padding:0; color:#edebe6; background:none; border:1px solid #ffffff30; border-radius:50%; font:300 28px/1 var(--sans); cursor:pointer; }
.contact-close:hover { background:#ffffff12; }
@media (prefers-reduced-motion:no-preference) { .contact-dialog[open] { animation:contact-enter .22s ease-out; } @keyframes contact-enter { from {opacity:0;transform:translateY(12px)} to {opacity:1;transform:translateY(0)} } }
@media(max-width:759px) { .contact,.contact-panel { grid-template-columns:1fr; gap:26px; } .contact-dialog { width:calc(100% - 24px); max-height:calc(100svh - 24px); } .contact-panel { padding:64px 24px 32px; } .contact-link { padding:19px 0; } .contact-value { font-size:clamp(.92rem,3.9vw,1.25rem); } }

/* Mobile layouts: preserve the artwork, put the content first. */
@media(max-width:899px) {
 #mrh .samigo { grid-template-areas:"copy" "video" "art"; gap:32px; padding-top:48px; padding-bottom:36px; }
 #mrh .samigo > .sg-cloche { grid-area:art; width:min(52vw,210px); height:auto; justify-self:end; margin:-12px 0 -20px; pointer-events:none; }
 #mrh .sg-copy { gap:18px; }
 #mrh .sg-video { width:min(82%,360px); }
 #mrh .sg-stamp { width:90px; height:90px; top:-30px; right:-20px; }
 #mrh .sg-tag { font-size:.65rem; line-height:1.5; letter-spacing:.18em; }
}
@media(max-width:759px) {
 .hero-portrait { --w:min(78vw,max(120px,calc((100svh - 390px) * 1100 / 1343))); top:210px}
 .nav a,.lang { min-height:44px; align-items:center; }
 .lang { min-width:34px; justify-content:center; }
 .contact,.p-body { scroll-margin-top:80px; }
 .pc-t { font-size:clamp(25px,8vw,34px); line-height:1.05; }
 .pc-s { font-size:clamp(14px,4.2vw,17px); line-height:1.3; }
 .pc-go { min-height:44px; display:inline-flex; align-items:center; margin-top:4px; }
 .projects-menu-head { position:sticky; top:0; z-index:3; background:transparent; padding:8px 0 12px; }
 .origin-dialog { max-height:calc(100svh - 24px); }
}
@media(max-width:359px) {
 .bar { gap:8px; padding-inline:12px; }
 .nav { gap:8px; }
 .nav a { font-size:.57rem; }
 .lang::before { display:none; }
 .hero-lede { font-size:1.03rem}
 .projects-overlay { padding:16px; }
 .projects-menu-grid { gap:24px 14px; }
 .projects-overlay .pick-t { font-size:22px; }
}

@media(max-width:359px){.hero-portrait{top:190px}}

@media(max-width:759px){.site-header{inset:0 0 auto;background:rgba(15,15,14,.96);mix-blend-mode:normal;border-bottom:1px solid rgba(255,255,255,.06);}}

/* Full-width contact background, with aligned footer content. */
.site-footer { max-width:none; margin:0; padding-inline:max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); background:#0e0e0d; }
.contact-intro,.contact-link > span:first-child { min-width:0; }

/* Mobile compositor: flat falling plaster, finer seams and lighter fixed effects. */
@media(max-width:759px){
 .hero-hint{display:none}
 .hero-glow{opacity:1;background:radial-gradient(70% 45% at 50% 46%,#8a5a7815,transparent 72%)}
 .hero-name{color:#918e85}
 .grain{display:none}
 .hero .sh{transform-style:flat;will-change:auto}
 .hero .sh .sb{display:none}
 .hero .sh .sf{backface-visibility:visible;-webkit-backface-visibility:visible;background-image:url("media/hero-plaster-cutout-mobile.webp")}
 .hero-portrait>.under{-webkit-mask-image:url("media/hero-plaster-cutout-mobile.webp");mask-image:url("media/hero-plaster-cutout-mobile.webp")}
 .ed .e1{stroke-width:1.1px;stroke:rgba(12,10,9,.35)}
 .ed .e2{stroke-width:.45px;stroke:rgba(246,236,218,.4)}
 .projects-overlay{background:rgba(250,249,245,.97);backdrop-filter:none;-webkit-backdrop-filter:none}
 .concept-slab .sf{background-image:url("media/true-colors-plaster-mobile.webp")}
}
@media(max-width:759px){
 .hero-static .hero-portrait,.no-js .hero-portrait{top:auto}
}

/* Mobile editorial intro: the portrait meets the bottom edge; copy wraps its head. */
@media(max-width:759px){
 .hero:not(.hero-static) .hero-portrait{width:var(--w);top:auto;left:auto;margin:0}
 .hero:not(.hero-static) .hero-copy{gap:12px}
 .hero:not(.hero-static) .hero-lines{display:block;width:100%;max-width:none}
 .hero:not(.hero-static) .hero-lines::before{content:"";float:right;height:500px}
 .hero:not(.hero-static) .hero-lede{font-size:clamp(18px,4.65vw,20px);line-height:1.4;text-wrap:wrap}
 .hero:not(.hero-static) .hero-availability{left:var(--gutter);bottom:18px;line-height:1.5}
}
@media(max-width:759px) and (max-height:620px){
 .hero:not(.hero-static) .hero-portrait{--w: min(94vw,calc((100svh - 285px)*1100/1343))}
 .hero:not(.hero-static) .hero-copy{gap:9px}
 .hero:not(.hero-static) .hero-lines{margin-top:2px}
}

@media(max-width:759px){
 .hero:not(.hero-static) .hero-availability{position:static;order:2;max-width:none;font-size:.62rem;margin-top:2px}
 .hero:not(.hero-static) .hero-lines{order:3}
 .hero:not(.hero-static) .hero-lines::before{width:calc(100% - var(--face-left,100px))}
}

/* A quiet first-screen cue; dismiss it as soon as scrolling begins. */
@media(max-width:759px){
 .hero:not(.hero-static) .hero-hint{display:flex;position:absolute;left:var(--gutter);order:4;z-index:9;gap:8px;padding:9px 12px;border:1px solid #ffffff30;border-radius:24px;background:#141310d9;color:#edebe6;font-size:.58rem;letter-spacing:.08em;transition:opacity .18s ease;pointer-events:none}
 .hero:not(.hero-static) .hero-hint::before{content:"↓";width:auto;height:auto;background:none;font-size:16px}
 .hero.moved .hero-hint{opacity:0;visibility:hidden}
}
/* Keep a single stable shadow; touch must not inherit the desktop lift/filter. */
.projects-overlay .pick-shape-wrap,
.projects-overlay .pick-card:is(:hover,:focus-visible) .pick-shape-wrap{filter:drop-shadow(0 9px 12px #14120f38);transition:none}
.projects-overlay .pick-shape,
.projects-overlay .pick-card:is(:hover,:focus-visible) .pick-shape{filter:none;transform:none;transition:none}
.projects-overlay .pick-card,.projects-overlay.is-open .pick-card{transform:none;transition:opacity .2s ease}
.projects-overlay .pick-shape-wrap::after{display:none}
@media(max-width:759px){.hero:not(.hero-static) .hero-copy{z-index:6}}

/* Intro brightness and mobile cue follow scroll continuously, without a threshold jump. */
@media(min-width:760px){.homepage .grain{opacity:var(--intro-grain,.05);transition:none}}
@media(max-width:759px){
 .hero:not(.hero-static) .hero-hint,.hero:not(.hero-static).moved .hero-hint{opacity:var(--hint-opacity,1);visibility:visible;transition:none}
}

@media(max-width:759px){.hero:not(.hero-static){height:calc(635svh - var(--hero-scroll-trim, 0px))}}

/* Touch browsing: stable, separate pieces; no desktop hover fan or animated blur. */
@media (max-width:759px), (hover:none) {
 .pick-next .pick-next-grid {gap:10px;align-items:flex-start;}
 .pick-next .pick-next-grid .pick-card {width:calc((100% - 20px)/3);margin:0;transform:none!important;opacity:1!important;transition:none;touch-action:manipulation;}
 .pick-next .pick-next-grid .pick-card .pick-shape {transform:none!important;filter:none!important;transition:none;}
 .pick-next .pick-next-grid .pick-card .pick-shape-wrap {filter:drop-shadow(0 6px 8px #14120f38);transition:transform .16s ease-out;}
 .pick-next .pick-next-grid .pick-card:active .pick-shape-wrap {transform:translateY(-2px) scale(1.02);}
 .pick-next .pick-next-grid .pick-shape-wrap::before,
 .pick-next .pick-next-grid .pick-shape-wrap::after {display:none;}
 .pick-next .pick-next-grid .pick-k,
 .pick-next .pick-next-grid .pick-t {max-height:none!important;opacity:1!important;margin-top:4px!important;transition:none;}
 .pick-next .pick-next-grid .pick-sub {display:none;}
}
@media(prefers-reduced-motion:reduce){.pick-next .pick-next-grid .pick-card:active .pick-shape-wrap{transform:none;transition:none;}}

/* Keep native touch highlights and image filters out of the mobile piece silhouette. */
@media (max-width:759px), (hover:none) {
 .pick-next .pick-card {-webkit-tap-highlight-color:transparent;}
 .pick-next .pick-shape img {display:block;filter:none;}
}

/* Stable navigation contrast without a mobile blur/compositing layer. */
.site-header{inset:0 0 auto;mix-blend-mode:normal;background:rgba(14,14,13,.96);color:#fff;border-bottom:1px solid #ffffff10}
.site-header .brand{min-width:44px;min-height:48px}
.site-header .nav a,.site-header .lang{min-height:44px}
.site-header .nav a:hover{color:#d2ddd6}
@media(prefers-reduced-motion:reduce){.sg-cloche{display:none!important}}

/* MRH stacked headings share the same scale and use the full content width. */
@media (max-width: 999px) {
  #mrh .ed-sec .ed-head { width: 100%; max-width: none; }
  #mrh .ed-sec .ed-title {
    width: 100%; max-width: none;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    white-space: normal; text-wrap: wrap;
  }
}

/* Compact the handoff from Samigo to the following editorial section on mobile. */
@media (max-width: 899px) {
  #mrh .samigo + .p-body.editorial { padding-top: 32px; }
  #mrh .samigo + .p-body.editorial > .ed-sec--flush { margin-top: 0; padding-top: 0; border-top: 0; }
}

/* Concept access shares the introduction’s scroll fade. */
.hero-concept-link{display:inline;background:none;border:0;padding:10px 0;color:var(--ink);font-family:inherit;font-size:clamp(12px,1vw,14px);font-weight:400;line-height:1.5;text-align:left;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;cursor:pointer;pointer-events:auto;justify-self:start}
.hero-concept-link:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:759px){.hero-concept-link{line-height:1.6}}

/* A single green emerges on the name as the plaster falls. */
.hero:not(.hero-static) .hero-name {
 color:color-mix(in srgb,#85827b calc((1 - var(--intro-color,0))*100%),var(--reveal-green))}

/* Phone cards: use more of the fragment and avoid narrow text columns. */
@media(max-width:759px){
 .hero-concept-link{font-size:clamp(11px,3vw,12px)}
 .pc-in{padding-left:0;padding-right:0}
 .pc-txt{max-width:100%}
 .pc-t{font-size:clamp(26px,7.4vw,34px);text-wrap:pretty}
 .pc-k{font-size:clamp(9px,2.6vw,11.5px);letter-spacing:.075em}
 .pc-s{font-size:clamp(14px,3.9vw,17px);text-wrap:pretty}
}
@media(max-width:759px){
 .hero:not(.hero-static) .hero-lines::before{display:block}
 .hero-concept-link{margin-top:6px;padding:5px 0}
}

/* Let the introduction follow the portrait silhouette on phones. */
@media(max-width:759px){
 .hero-concept-link{display:inline;white-space:nowrap}
}

.concept-short{display:none}
@media(max-width:759px){.concept-full{display:none}.concept-short{display:inline}}
/* Keep the mobile composition tied to its content, not the phone's tall aspect ratio. */
@media(max-width:759px){
 .hero:not(.hero-static) .hero-portrait{--w:min(100vw,calc((100svh - 230px)*1100/1343));right:-15vw}
 .hero:not(.hero-static) .hero-lines{margin-top:12px}
}

/* Defer offscreen animation surfaces until the preceding scroll chapter. */
.js.homepage .hero:not(.hero-static) .pcard,.js.homepage .hero:not(.hero-static) .sp{display:none}
@media(max-width:759px){.homepage .sh .sf,.homepage .sp:not(.concept-slab) .sf{background-image:url("media/hero-plaster-cutout-mobile.webp")}}

/* One portrait-anchored speech bubble; no layout space or scroll added. */
.hero-story-bubble{position:relative;display:inline-flex;flex-direction:column;gap:9px;width:194px;max-width:100%;margin:12px 0 0;padding:16px 20px;border-radius:25px;background:#c8c5b9;color:#243b32;font-family:inherit;line-height:1.3;white-space:normal;text-decoration:none;pointer-events:auto;box-shadow:0 4px 18px #0002}
.hero-story-bubble strong{font-size:18px;font-weight:500}.hero-story-bubble>span{font-size:12px;text-decoration:underline;text-underline-offset:3px}
.hero-story-bubble:after{content:"";position:absolute;right:-25px;top:6px;width:30px;height:28px;background:#c8c5b9;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 28'%3E%3Cpath d='M0 9 Q15 10 29 1 Q24 23 0 27 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.hero-story-bubble:focus-visible{outline:2px solid #85c988;outline-offset:5px}
.hero-world>.hero-story-bubble{position:absolute;z-index:7;margin:0;left:var(--bubble-x,18px);top:var(--bubble-y,55%);transition:opacity .12s linear}
@media(max-width:759px){.hero-story-bubble{border-radius:23px}.hero-story-bubble:after{right:-17px;width:22px;height:23px}}
@media(prefers-reduced-motion:reduce){.hero-story-bubble{transition:none}}

/* Compact mobile composition: no height-derived blank space above the name. */
@media(max-width:759px){.hero:not(.hero-static) .hero-pin{height:min(100svh,calc(260px + 122vw));overflow:visible;clip-path:inset(0 0 -32px)}.hero:not(.hero-static) .hero-copy{padding-top:84px}.hero-story-bubble{width:142px;padding:13px 12px}.hero-story-bubble strong{font-size:14px;line-height:1.3}.hero-story-bubble>span{font-size:10px;white-space:nowrap}}
@media(max-width:759px) and (max-height:600px){.hero:not(.hero-static) .hero-hint{bottom:calc(36px + env(safe-area-inset-bottom,0px));padding:7px 12px}}

/* Keep the concept controls outside the scrolling content on mobile browsers. */
.origin-dialog {position:fixed;inset:0;margin:auto;overflow:hidden;box-sizing:border-box;}
.origin-dialog[open] {display:flex;flex-direction:column;}
.origin-close {position:relative;top:auto;flex:0 0 44px;}
.origin-story {min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(40px + env(safe-area-inset-bottom,0px));}
@media(max-width:759px){
 .origin-dialog {top:calc(var(--origin-viewport-top,0px) + 12px);bottom:auto;height:calc(var(--origin-viewport-height,100dvh) - 24px);max-height:calc(var(--origin-viewport-height,100dvh) - 24px);margin:0 auto;}
 .origin-close {margin-top:12px;margin-bottom:10px;}
}

html[lang="en"] .hero-story-bubble{width:208px}
@media(max-width:759px){html[lang="en"] .hero-story-bubble{width:152px}}

/* Leave a readable gutter around the hair and face on phones. */
@media(max-width:759px){.hero:not(.hero-static) .hero-lines::before{shape-margin:7px;shape-outside:polygon(100% 0,100% 100%,0 100%,0 calc(var(--face-top,150px) + 75px),16% calc(var(--face-top,150px) + 25px),42% var(--face-top,150px),100% var(--face-top,150px))}}

/* Lower the portrait slightly and keep the cue close to the visible bottom. */
@media(max-width:759px){
 .hero:not(.hero-static) .hero-portrait{bottom:-32px}
 .hero:not(.hero-static) .hero-hint{bottom:12px}
}

/* Select the visible side explicitly: clipped 3D backfaces are unreliable in WebKit. */
.hero .sh>.sf,.hero .sh>.sb,.hero .sp>.sf,.hero .sp>.sb{backface-visibility:visible;-webkit-backface-visibility:visible}
.hero .sh>.sb,.hero .sp>.sb{display:none}
.hero .sh.is-back>.sf,.hero .sp.is-back>.sf{display:none}
.hero .sh.is-back>.sb,.hero .sp.is-back>.sb{display:block}

/* Static plaster lettering: responsive, with an accessible title. */
.origin-plaster-title {display:block;width:100%;max-width:100%;height:auto;margin:0 auto;}

/* One shared painted portrait beneath the plaster and on fragment backs.
   Match the existing cutout mapping; do not pan the texture across fragments. */
.hero { --paint: url("media/hero-paint-raised.webp"); }
.hero-portrait > .under { background: var(--paint) 55.511811% 60.606061% / 125.4% 102.702703% no-repeat #075344; }
.hero-portrait > .under i { background: none; }
.hero .sh .sb { background: var(--paint) var(--plaster-bp, var(--bp)) / var(--plaster-bs, var(--bs)) no-repeat #075344; }
@media (max-width: 719px) { .hero { --paint: url("media/hero-paint-raised-mobile.webp"); } }

/* One panel at a time, with native touch scrolling. */
.panel-card{margin:0;min-width:0}
.watch-panels-layout .p-info{position:static;align-self:start;gap:22px}
.watch-panels-layout .p-media{min-width:0;width:100%;max-width:480px;justify-self:center;align-self:start}
@media(min-width:1100px){
 .p2 .watch-panels-layout{grid-template-columns:minmax(0,460px) minmax(0,540px);justify-content:center;column-gap:64px;align-items:start}
 .p2 .watch-panels-layout .p-media{grid-column:2;grid-row:1}
 .p2 .watch-panels-layout .p-info{grid-column:1;grid-row:1}
 .watch-panels-layout .lede{font-size:23px;line-height:1.5}
}

/* Watch & Match: native vertical panels with a sticky desktop explanation. */
.watch-panels-layout .panel-sequence{display:grid;gap:48px;max-width:none;min-width:0;width:100%;align-self:start}
.panel-sequence .panel-card img{display:block;width:100%;height:auto;border-radius:2px}
.panel-sequence figcaption{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line);font:400 20px/1.4 var(--serif)}
.panel-sequence figcaption small{flex-shrink:0;font:500 11px/1.4 var(--sans);letter-spacing:.1em;opacity:.65}
@media(min-width:1100px){
 .p2 .watch-panels-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);column-gap:clamp(40px,5vw,100px)}
 .p2 .watch-panels-layout .p-info{position:sticky;top:min(92px,calc(100dvh - var(--watch-copy-height,900px) - 24px))}
 .watch-panels-layout .lede{font-size:clamp(20px,1.6vw,26px);line-height:1.5}
}
@media(max-width:699px){.panel-sequence figcaption{font-size:17px}.watch-panels-layout .panel-sequence{gap:32px}}

/* Keep the exhibition bitmap in a decoded image layer while the slab moves. */
.hero .watch-photo{background:#14130f}
.watch-surface,.watch-surface img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.watch-photo::after{content:"";position:absolute;inset:0;background-image:var(--scrim);pointer-events:none}
.panel-mobile-track{display:grid;gap:48px;min-width:0}
.panel-mobile-controls{display:none}
@media(max-width:1099px){
 .panel-mobile-track{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
 .panel-mobile-track::-webkit-scrollbar{display:none}
 .panel-mobile-track .panel-card{flex:0 0 100%;scroll-snap-align:start;min-width:0}
 .watch-panels-layout .panel-sequence{gap:14px}
 .panel-mobile-controls{display:flex;align-items:center;justify-content:center;gap:24px}
 .panel-mobile-controls button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:transparent;color:inherit;font-size:22px}
 .panel-mobile-controls button:disabled{opacity:.35}
 .panel-mobile-count{font:500 12px var(--sans);letter-spacing:.12em}
}

/* Campaign: full-width overview, followed by copy and the film. */
#mrh .ed-campaign>.ed-board-full{width:100%;max-width:none}
#mrh .ed-campaign .ed-board-full>a{display:block;position:relative}
.campaign-explore{position:absolute;right:16px;bottom:16px;padding:12px 18px;border-radius:24px;background:#f4f1ea;color:#222;font:500 14px/1.3 var(--sans)}
#mrh .campaign-story{display:grid;gap:32px;margin-top:clamp(36px,5vw,72px);align-items:center}
#mrh .campaign-story .ed-feature-video--campaign{margin:0;width:100%;max-width:420px;justify-self:center}
#mrh .campaign-idea-title{font:500 clamp(1.5rem,2.4vw,2.2rem)/1.15 var(--serif);margin:0 0 24px}
@media(min-width:900px){#mrh .campaign-story{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(48px,8vw,120px)}}
@media(max-width:599px){.campaign-explore{right:8px;bottom:8px;padding:9px 12px;font-size:12px}}

/* Centred project titles and numbers. */
.project > .p-open { align-items: center; padding-block: 88px; text-align: center; }
.project .po-in { justify-items: center; }

/* Navigation: contrast follows the pixels underneath each glyph while scrolling. */
@supports (mix-blend-mode: difference) {
  .site-header.site-header--adaptive {
    background: transparent;
    border-bottom: 0;
    color: white;
    mix-blend-mode: difference;
  }
  .site-header--adaptive .nav a:hover,
  .site-header--adaptive .lang:hover {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .3em;
  }
  .site-header--adaptive :focus-visible { outline: 2px solid currentColor; }
}
@media (forced-colors: active) {
  .site-header.site-header--adaptive { mix-blend-mode: normal; background: Canvas; color: CanvasText; }
}
.project > .p-open::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 128px;
  background: linear-gradient(to bottom, rgb(0 0 0 / 78%), rgb(0 0 0 / 60%) 45%, transparent);
  pointer-events: none;
  z-index: -1;
}

.site-header--scroll { transition: none; }

.site-header.site-header--scroll.nav-return { mix-blend-mode: normal; color: white; }
.site-header--scroll.nav-return::before {
  content: ""; position: absolute; inset: 0 0 -18px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, #10100fe6, #10100fb8 65%, transparent);
}
@media (prefers-reduced-motion: reduce) { .site-header--scroll { transition: none; } }
@media (forced-colors: active) { .site-header--scroll.nav-return { color: CanvasText; } }

.origin-performance { position: relative; background: #eee9dd; }
.origin-performance video { aspect-ratio: 16 / 9; }
.origin-performance-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #eee9dd; pointer-events: none; }
.origin-performance-preview[hidden] { display: none; }

.project-mission { margin: 0; font: 500 clamp(1.9rem, 3.4vw, 3rem)/1.08 var(--serif); letter-spacing: -.01em; text-wrap: balance; }


/* Tablet layouts use touch-sized galleries and avoid full-screen filter layers. */
@media (max-width:1099px) {
 .projects-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (pointer:coarse) and (max-width:1199px) {
 .grain{display:none}
 .hero .sh{transform-style:flat;will-change:auto}
 .projects-overlay{background:rgba(250,249,245,.98);backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media (min-width:760px) and (max-width:1099px) and (orientation:portrait) {
 .hero:not(.hero-static) .hero-pin{height:100svh}
 .hero:not(.hero-static) .hero-copy{width:100%;padding:110px 5vw 30px;z-index:6}
 .hero:not(.hero-static) .hero-portrait{width:70vw;right:-10vw;bottom:0}
 .hero-name{font-size:13.2vw}
 .hero-lines{display:block;width:100%;max-width:none}
 .hero-lines::before{content:"";float:right;height:700px;width:calc(100% - var(--face-left,300px));shape-margin:16px;shape-outside:polygon(100% 0,100% 100%,0 100%,0 calc(var(--face-top,100px) + 75px),16% calc(var(--face-top,100px) + 25px),42% var(--face-top,100px),100% var(--face-top,100px))}
 .hero-lede{font-size:clamp(24px,3.2vw,32px);line-height:1.4;text-wrap:wrap}
}
.hero{overflow-x:clip}
