/* Korix Studio · Réalisations · page layout (from Realisations.dc.html).
   Everything down to the "LIVE SITE" section is the board's own CSS, unchanged. */
body{margin:0}
/* Réalisations (prefix rz-): page layout, page keyframes and state classes only.
   Tokens, type, veils, marquee, rows and motion come from korix.css. */

/* opener */
.rz-opener { padding-block: clamp(48px, 4vw + 32px, 88px) clamp(40px, 2.8vw + 24px, 64px); }
.rz-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; min-height: 44px; }
.rz-index { display: flex; flex-wrap: wrap; gap: 0 28px; }
.rz-index a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--kx-mono); font-size: var(--kx-t-label); line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--kx-fg); }
.rz-index a .kx-idx { color: var(--kx-fg-2); }
.rz-index .rz-t { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size var(--kx-d-m) var(--kx-e-out); }
.rz-index a:hover .rz-t, .rz-index a:focus-visible .rz-t { background-size: 100% 1px; }
.rz-down { width: 12px; height: 12px; color: var(--kx-fg-2); transition: transform var(--kx-d-s) var(--kx-e-out); }
.rz-index a:hover .rz-down { transform: translateY(2px); }
.rz-head { margin-top: clamp(24px, 3.4vw, 48px); align-items: end; }
.rz-intro { display: flex; flex-direction: column; gap: 16px; padding-bottom: 12px; } /* last line on the baseline of "du studio" at 1440 */
.rz-intro .kx-lead { max-width: 22em; text-wrap: balance; }

/* archive strip: a slow loop of veiled crops (content twice, the second copy hidden from AT) */
.rz-strip-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.rz-pause { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--kx-mono); font-size: var(--kx-t-label); line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--kx-fg); }
.rz-pause .kx-icon { width: 12px; height: 12px; }
.rz-marquee { --kx-gap: 40px; --kx-marquee-d: 90s; margin-top: 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--kx-margin), #000 calc(100% - var(--kx-margin)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--kx-margin), #000 calc(100% - var(--kx-margin)), transparent); }
/* start the loop with a tile on the content edge: one cycle is 1652.4 px at 90 s, so -86.08 s puts tile 1 at 72 px */
.rz-marquee .kx-marquee-track { animation-delay: -86.08s; }
.rz-tile { --rz-th: 264px; flex: none; width: calc(var(--rz-th) * var(--rz-w, .8)); gap: 12px; }
.rz-tile .kx-veil { width: 100%; }
.rz-tile .kx-figcap, .rz-figure .kx-figcap { transition: color var(--kx-d-m) var(--kx-e-out); }
.rz-tile:hover .kx-figcap, .rz-figure:hover .kx-figcap { color: var(--kx-fg); }
.rz-strip.is-paused .kx-marquee-track { animation-play-state: paused; }
.rz-strip .kx-voile { animation: none; }
.rz-strip .kx-voile img { animation-duration: 700ms; animation-delay: var(--kx-delay, 0ms); }
.rz-strip .kx-voile::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(var(--kx-nuit), var(--kx-nuit)) 50% 0 / 100% 0 no-repeat, linear-gradient(var(--kx-nuit), var(--kx-nuit)) 50% 100% / 100% 0 no-repeat;
  animation: rz-shutter 640ms var(--kx-e-hinge) both; animation-delay: var(--kx-delay, 0ms); }
@keyframes rz-shutter { from { background-size: 100% 50.5%, 100% 50.5%; } }

/* product chapters */
.rz-chap { --rz-chap-pad: clamp(72px, 5.4vw + 50px, 128px); padding-top: var(--rz-chap-pad); scroll-margin-top: calc(40px - var(--rz-chap-pad)); }
.rz-chap-head { position: relative; margin-bottom: clamp(24px, 2vw + 12px, 40px); border-top-color: transparent; }
.rz-chap-head > .kx-hairline { position: absolute; left: 0; right: 0; top: -1px; }
.rz-sh { display: inline-flex; align-items: baseline; gap: 8px; }
.rz-name { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(16px, 1.2vw + 8px, 24px); }
.rz-icon { position: relative; top: -.14em; flex: none; display: block; width: clamp(44px, 1.5vw + 38px, 60px); aspect-ratio: 1; border-radius: 22.4%; overflow: hidden; box-shadow: 0 0 0 1px rgba(19, 21, 27, .12); }
.rz-icon img { width: 100%; height: 100%; object-fit: cover; }
.rz-sub { align-self: flex-start; margin-top: -3px; } /* hangs from the cap line of the name (measured at 1440 and 390) */
.rz-figure { margin-top: clamp(24px, 2vw + 12px, 40px); }
/* the crop box bleeds past the frame on every side, so the blurred image edge is always clipped
   (blur is in px: without the bleed an off-centre transform-origin lets the nuit ground show at the edge) */
.rz-band { --rz-bleed: 40px; --kx-ratio: 12 / 5; --kx-o: var(--rz-o, 50% 50%); --kx-s: var(--rz-s, 1.25); }
.rz-band img { position: absolute; top: calc(var(--rz-bleed) * -1); left: calc(var(--rz-bleed) * -1);
  width: calc(100% + var(--rz-bleed) * 2); height: calc(100% + var(--rz-bleed) * 2); max-width: none;
  transform-origin: var(--rz-fo, 50% 50%); }
.rz-light { position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity var(--kx-d-l) var(--kx-e-out);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .11), rgba(255, 255, 255, 0) 72%); }
.rz-band:hover .rz-light { opacity: 1; }
.rz-cartel { margin-top: clamp(24px, 2vw + 12px, 40px); --kx-row-gap: 32px; }
.rz-desc { border-top: 1px solid var(--kx-line); padding-top: 11px; max-width: 30em; text-wrap: pretty; }
@media (min-width: 760px) { .rz-cartel > .rz-desc, .rz-cartel > .rz-facts { grid-row: 1; } }
.rz-facts, .rz-links { margin: 0; border-top: 1px solid var(--kx-line); }
.rz-fact { display: grid; grid-template-columns: minmax(0, 10.5em) minmax(0, 1fr); align-items: baseline; align-content: center; gap: 0 16px; min-height: 50px; padding-block: 8px; border-bottom: 1px solid var(--kx-line); }
.rz-fact dt, .rz-fact dd { margin: 0; }
.rz-fact dd { font-size: 16px; line-height: 1.4; color: var(--kx-fg); }
.rz-links li { border-bottom: 1px solid var(--kx-line); }
.rz-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 49px; padding-block: 8px; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--kx-fg); }
.rz-link .rz-l { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size var(--kx-d-m) var(--kx-e-out); }
.rz-link:hover .rz-l, .rz-link:focus-visible .rz-l { background-size: 100% 1px; }
.rz-link .kx-icon { transition: transform var(--kx-d-s) var(--kx-e-out); }
.rz-link:hover .kx-icon { transform: translate(2px, -2px); }

/* closing note */
.rz-note-wrap { padding-top: clamp(72px, 4.5vw + 48px, 112px); }
.rz-note { border-top: 1px solid var(--kx-line); padding-top: 12px; }
.rz-note .rz-s { display: block; }

/* confidentiality policy */
.rz-policy-grid { margin-top: clamp(24px, 2vw + 12px, 40px); --kx-row-gap: 32px; }
.rz-policy-lead { border-top: 1px solid var(--kx-line); padding-top: 12px; max-width: 18em; }
@media (min-width: 1100px) { .rz-policy-lead { padding-top: clamp(20px, 1vw + 14px, 28px); } } /* side by side: first line on the baseline of rule 01 */
.rz-rule { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--kx-gutter); row-gap: 6px; align-items: baseline; padding-block: clamp(20px, 1vw + 14px, 28px); }
.rz-rule .kx-idx { grid-column: 1; color: var(--kx-fg-2); }
.rz-rule-t { grid-column: 2 / span 3; font-family: var(--kx-serif); font-weight: 400; font-size: clamp(19px, 14.5px + 1.15vw, 24px); line-height: 1.28; letter-spacing: -.004em; }
.rz-rule-l { grid-column: 5 / span 4; max-width: 30em; }

/* CTA band */
.rz-cta-in { --kx-row-gap: 16px; align-items: end; border-top: 1px solid var(--kx-line); padding-top: clamp(40px, 3vw + 24px, 64px); }
.rz-cta-line { color: var(--kx-fg-2); max-width: 22em; padding-bottom: .75em; } /* last line on the baseline of the sentence */

/* narrow screens */
@media (max-width: 759.98px) {
  .rz-tile { --rz-th: 184px; }
  .rz-marquee { --kx-gap: 28px; }
  .rz-marquee .kx-marquee-track { animation-delay: -88.48s; } /* cycle 1152.4 px: tile 1 on the 19.5 px margin at 390 */
  .rz-band { --rz-bleed: 24px; --kx-ratio: 1 / 1; --kx-blur: 9px; --kx-blur-near: 7px; --kx-o: var(--rz-om, var(--rz-o, 50% 50%)); --kx-s: var(--rz-sm, var(--rz-s, 1.25)); }
  .rz-band img { transform-origin: var(--rz-fom, var(--rz-fo, 50% 50%)); }
  .rz-rule { grid-template-columns: 2.6em minmax(0, 1fr); }
  .rz-rule-t, .rz-rule-l { grid-column: 2; }
  /* stacked: the facts and the links continue as one ruled table (no double hairline) */
  .rz-cartel { --kx-row-gap: 0px; }
  .rz-cartel > .rz-desc { padding-bottom: 32px; }
  .rz-cartel > .rz-links { border-top: 0; }
}

/* scroll-linked aperture on the chapter screens (finished at rest, guarded for the canvas frame) */
@supports (animation-timeline: view()) {
  .rz-band { animation: rz-aperture linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  @keyframes rz-aperture { from { clip-path: inset(7% 5% round var(--kx-r-guichet)); } to { clip-path: inset(0 round var(--kx-r-guichet)); } }
}
/* canvas-frame guard removed for the live site */

/* reduced motion: korix.css stops every animation; the loop becomes a scrollable row of one copy */
@media (prefers-reduced-motion: reduce) {
  .rz-tile.is-dup, .rz-pause, .rz-light { display: none; }
  .rz-marquee { padding-inline: var(--kx-margin); }
}

/* LIVE SITE (not on the board) ------------------------------------------------ */
/* pause control: the board renders one icon and one label at a time (sc-if); here both pairs are in the
   markup and .is-paused on .rz-strip (the board's stripCls) shows the right one */
.rz-strip.is-paused .rz-when-playing, .rz-strip:not(.is-paused) .rz-when-paused { display: none; }

/* without JavaScript there is no pause control, so the loop rests as the board's reduced-motion row:
   one copy, padded to the margin, the same soft edges, scrollable sideways (the region is focusable for the keyboard) */
html:not(.js) .rz-marquee { overflow-x: auto; padding-inline: var(--kx-margin); }
html:not(.js) .rz-marquee .kx-marquee-track { animation: none; }
html:not(.js) .rz-tile.is-dup { display: none; }

/* the region is a focusable scroller under reduced motion and without JS. Its edge mask (board CSS, kept under
   reduced motion) hides anything painted outside the box, so its focus ring is drawn just inside it */
.rz-marquee:focus-visible { outline-offset: -2px; }

/* without JavaScript the header's Menu button steps aside on every page: korix.css section 9 */
