/* BLD Factory — l'usine à clients.
   Layout: one fixed WebGL stage behind full-bleed scroll scenes; sticky chapters alternate ink / paper like the brochure pages. */
:root {
  --ink: #0b0b0b;
  --ink-2: #141414;
  --ink-3: #1d1d1d;
  --paper: #f5f5f2;
  --paper-2: #e8e8e4;
  --gold: #fbbc04;
  --peach: #f3b48a;
  --cocoa: #6b4a35;

  --f-display: "Poppins", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-logo: "Montserrat", "Poppins", Arial, sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-soft: cubic-bezier(.22, .9, .32, 1.06);

  --gutter: clamp(16px, 4.2vw, 64px);
  --nav-h: 76px;
  --vh: 1vh;

  --fg: #f5f5f2;
  --fg-2: #a2a29d;
  --line: rgba(255, 255, 255, .14);
  --surface: #151515;
  --surface-2: #1c1c1c;
  color-scheme: dark;
}

[data-theme="dark"] { --fg: #f5f5f2; --fg-2: #a2a29d; --line: rgba(255, 255, 255, .14); --surface: #151515; --surface-2: #1c1c1c; --btn-bg: #f5f5f2; --btn-fg: #0b0b0b; }
[data-theme="light"] { --fg: #0b0b0b; --fg-2: #5d5d58; --line: rgba(0, 0, 0, .13); --surface: #ffffff; --surface-2: #ececea; --btn-bg: #0b0b0b; --btn-fg: #f5f5f2; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
/* nothing in the page may widen it sideways (body's own clip is handed to the viewport, so clip the content itself) */
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
b, strong { font-weight: 700; }
::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor input, .has-cursor label { cursor: none; }

.wrap { width: 100%; padding-inline: var(--gutter); margin-inline: auto; max-width: 1680px; }

/* ---------- stage layers ---------- */
.gl { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; display: block; pointer-events: none; }
.grain { display: none; }
.no-gl .grain { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .08; background-image: radial-gradient(rgba(255,255,255,.4) 1px, transparent 1px); background-size: 3px 3px; }
.no-gl .sec[data-theme="light"] { background: var(--paper); }
.maplabel { position: absolute; left: 0; top: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(245, 245, 242, .75); white-space: nowrap; transform: translate(-50%, -50%); opacity: 0; transition: opacity .6s var(--ease-out); }
.maplabel::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: middle; }
.maplabel.is-main { font-weight: 700; color: #fff; font-size: 12px; }
main { position: relative; z-index: 1; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 1.4rem; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.h2 { font-size: clamp(2.3rem, 5.3vw, 5.6rem); line-height: .94; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.h3 { font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -.035em; font-weight: 300; }
.h3 b { font-weight: 700; }
.line { display: block; overflow: hidden; padding: 0 .02em .1em; margin-bottom: -.1em; }
.split { display: inline-block; }
.split.b { font-weight: 700; }
.split.l { font-weight: 300; }
.ch { display: inline-block; }
.wd { display: inline-block; white-space: nowrap; }
.lead { font-size: clamp(1rem, 1.18vw, 1.18rem); line-height: 1.6; color: var(--fg-2); max-width: 34em; margin-top: 1.6rem; }
.lead b { color: var(--fg); font-weight: 600; }
.scribble { font-family: var(--f-hand); font-weight: 600; font-size: clamp(1.35rem, 1.9vw, 1.85rem); line-height: 1.05; color: var(--fg); transform: rotate(-2.5deg); transform-origin: left center; }
.note { font-size: .92rem; color: var(--fg-2); border: 1px solid var(--line); border-radius: 999px; padding: .85rem 1.3rem; margin-top: 1.8rem; display: inline-block; }
.note b { color: var(--fg); }

/* ---------- buttons ---------- */
.btn { --bh: 3.4rem; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .8rem; height: var(--bh); padding: 0 1.7rem; border-radius: 999px; font-weight: 500; font-size: .98rem; letter-spacing: -.01em; white-space: nowrap; transition: color .5s var(--ease-out), border-color .5s var(--ease-out); will-change: transform; }
.btn > span, .btn > i { position: relative; z-index: 1; display: inline-block; font-style: normal; }
.btn::before { content: ""; position: absolute; z-index: 0; left: var(--x, 50%); top: var(--y, 50%); width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); transition: width .7s var(--ease-out), height .7s var(--ease-out); }
.btn:hover::before { width: 260%; height: 600%; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light::before { background: #d9d9d4; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark::before { background: #2a2a2a; }
.btn--ghost { border: 1px solid var(--line); color: var(--fg); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--btn-fg, var(--ink)); border-color: transparent; }
.btn--sm { --bh: 2.8rem; font-size: .88rem; padding: 0 1.25rem; }
.btn--lg { --bh: 4rem; font-size: 1.05rem; padding: 0 2rem; }
.btn__arrow { transition: transform .6s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-8deg); }
.btn__play { font-size: .75rem; width: 1.8rem; height: 1.8rem; display: inline-grid !important; place-items: center; border-radius: 50%; background: var(--fg); color: var(--ink); }

.chip { display: inline-flex; align-items: center; gap: .4rem; height: 2.5rem; padding: 0 1.05rem; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--fg); background: transparent; transition: background .45s var(--ease-out), color .45s var(--ease-out), border-color .45s var(--ease-out), transform .45s var(--ease-out); }
.chip:hover { border-color: var(--fg); }
.chip.is-on { background: var(--fg); color: var(--btn-fg, var(--ink)); border-color: var(--fg); }
.chip:active { transform: scale(.95); }

.price { display: inline-flex; flex-direction: column; align-items: flex-end; text-align: right; line-height: 1; }
.price small { font-size: .85rem; color: var(--fg-2); }
.price strong { font-size: clamp(3.6rem, 7vw, 6.4rem); font-weight: 700; letter-spacing: -.06em; line-height: .95; margin: .15rem 0 .4rem; }
.price strong span { font-weight: 300; letter-spacing: -.02em; }
.price--sm strong { font-size: clamp(2.4rem, 4vw, 3.6rem); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; }
.loader__curtain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.loader__curtain path { fill: var(--ink); }
.loader__center { position: relative; z-index: 1; width: min(380px, 70vw); }
.loader__logo { position: relative; aspect-ratio: 700 / 412; }
.loader__logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__ghost { opacity: .12; }
.loader__full { clip-path: inset(calc(100% - var(--p, 0%)) 0 0 0); }
.loader__row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 1.8rem; gap: 1rem; }
.loader__msg { font-size: .82rem; color: #9a9a95; letter-spacing: .02em; min-height: 1.2em; }
.loader__count { font-weight: 700; font-size: 2.2rem; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.loader__count small { font-size: .9rem; font-weight: 400; color: #9a9a95; margin-left: .15rem; }
.loader__bar { height: 1px; background: rgba(255,255,255,.14); margin-top: .9rem; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.loader.is-done { pointer-events: none; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor__ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(255,255,255,.9); mix-blend-mode: difference; display: grid; place-items: center; transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background .4s, border-color .4s; }
.cursor__label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease-out); white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,1); }
.cursor.is-label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; border-color: #fff; mix-blend-mode: normal; }
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor.is-hidden { opacity: 0; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--gutter) 0; display: flex; align-items: center; gap: 2rem; color: #fff; mix-blend-mode: difference; transition: transform .8s var(--ease-out); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: block; width: 62px; }
.nav__status { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; letter-spacing: .04em; opacity: .85; }
.nav__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 2.4s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.nav__links { display: flex; gap: 1.9rem; margin-left: auto; font-size: .92rem; font-weight: 500; }
.nav__links a { position: relative; padding: .3rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: inline-flex; align-items: center; height: 2.9rem; padding: 0 1.3rem; border-radius: 999px; background: #fff; color: #000; font-weight: 600; font-size: .9rem; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); position: relative; margin-left: auto; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .6s var(--ease-out); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); padding: calc(var(--nav-h) + 3vh) var(--gutter) 6vh; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io); visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: .2rem; }
.menu__links a { font-size: clamp(2.2rem, 10vw, 3.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.12; display: flex; align-items: baseline; gap: .8rem; }
.menu__links small { font-size: .8rem; font-weight: 400; color: #8f8f8a; letter-spacing: .1em; }
.menu__foot { color: #8f8f8a; font-size: .9rem; }

/* ---------- generic sections ---------- */
.sec { position: relative; color: var(--fg); }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ---------- hero ---------- */
.hero { height: 540vh; color: var(--fg); }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__content { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%); max-width: min(44rem, 48vw); z-index: 2; }
.hero__title { font-size: clamp(2.8rem, 5.9vw, 7rem); line-height: .92; letter-spacing: -.055em; font-weight: 700; margin-left: -.04em; }
.hero__note { margin: .7rem 0 0 .3rem; color: #d4d4cf; }
.hero__lead { font-size: clamp(1.02rem, 1.25vw, 1.25rem); line-height: 1.6; max-width: 30em; color: var(--fg-2); margin-top: 1.6rem; }
.hero__lead b { color: var(--fg); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4.6rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; font-size: .82rem; color: var(--fg-2); z-index: 2; }
.hero__meta b { color: var(--fg); }
.hero__scroll { display: inline-flex; align-items: center; gap: .8rem; }
.hero__scroll-line { width: 1px; height: 38px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: #fff; animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }
.marquee { position: absolute; left: 0; right: 0; bottom: 0; height: 3rem; overflow: hidden; border-top: 1px solid var(--line); display: flex; align-items: center; z-index: 2; }
.marquee__track { display: flex; align-items: center; white-space: nowrap; font-size: .9rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; will-change: transform; }
.marquee__set { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; flex: none; }
.marquee__set .l { font-weight: 300; }
.marquee__set i { font-style: normal; opacity: .45; font-size: .7rem; }

/* portal */
.portal { position: absolute; inset: 0; z-index: 5; background: var(--ink); opacity: 0; visibility: hidden; }
.portal.is-on { visibility: visible; }
.portal.is-clear { background: transparent; }

.search { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: calc(var(--nav-h) + 2.5vh); padding-bottom: 4vh; }
.search__head .h2 { font-size: clamp(2.1rem, 4.6vw, 4.6rem); }
.search__field { position: relative; flex: 1; margin: 3vh var(--gutter) 0; min-height: 0; }
.search__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; width: 100%; }
.tile { display: flex; align-items: center; gap: .65rem; padding: .62rem .7rem; border-radius: 14px; background: #131313; border: 1px solid #1f1f1f; color: #cfcfca; min-width: 0; transition: background .6s var(--ease-out), color .6s var(--ease-out), transform .6s var(--ease-out), box-shadow .6s; }
.tile__ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #1d1d1d; font-size: 1.05rem; }
.tile__txt { min-width: 0; line-height: 1.15; }
.tile__txt b { display: block; font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__txt small { display: block; font-size: .68rem; color: #77776f; white-space: nowrap; }
.tile--you .tile__txt b { overflow: visible; white-space: normal; line-height: 1.12; }
.tile--you.is-found { background: #f5f5f2; color: var(--ink); transform: scale(1.06); box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 20px 60px rgba(255,255,255,.18); }
.tile--you.is-found .tile__ico { background: var(--ink); }
.tile--you.is-found small { color: #555; }
.search__grid--zoom { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.search__lens { position: absolute; left: 0; top: 0; width: 210px; height: 210px; margin: -105px 0 0 -105px; pointer-events: none; will-change: transform; opacity: 0; }
.search__lens-view { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #0e0e0e; }
.search__lens-glass { position: absolute; inset: -9px; border-radius: 50%; border: 9px solid #e9e9e6; box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 0 0 1px rgba(0,0,0,.3); background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.28), transparent 38%); }
.search__lens-handle { position: absolute; width: 22px; height: 110px; border-radius: 12px; background: linear-gradient(90deg, #d8d8d4, #fafaf8 45%, #bdbdb8); left: 100%; top: 100%; margin: -26px 0 0 -20px; transform: rotate(-45deg); transform-origin: top center; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.search__found { position: absolute; left: 0; top: 0; padding: .55rem .9rem; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .8rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.search__found span { display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #1fae4b; color: #fff; font-size: .7rem; margin-right: .3rem; }
.search__found.is-on { opacity: 1; transform: none; }
.search__punch { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-20%); z-index: 4; text-align: center; font-size: clamp(1.8rem, 4.2vw, 4.4rem); letter-spacing: -.045em; line-height: 1.04; font-weight: 300; pointer-events: none; text-shadow: 0 10px 40px rgba(0,0,0,.6); }
.search__hint { position: absolute; left: 0; right: 0; bottom: 3vh; text-align: center; font-size: .8rem; color: #8d8d88; opacity: 0; }
.search__punch b { font-weight: 700; }
.search__punch > * { display: inline-block; opacity: 0; transform: translateY(30px); }

/* ---------- NFC ---------- */
.nfc { height: 360vh; }
.nfc__grid { height: 100%; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 4vw; }
.nfc__text { max-width: 36rem; }
.steps { margin-top: 2.6rem; border-top: 1px solid var(--fg); }
.step { display: grid; grid-template-columns: 3.4rem 1fr; gap: .8rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); opacity: .32; transition: opacity .7s var(--ease-out); }
.step.is-on { opacity: 1; }
.step__n { font-size: 2.6rem; font-weight: 300; line-height: .9; letter-spacing: -.04em; }
.step p { font-size: 1.02rem; line-height: 1.5; padding-top: .2rem; }
.nfc__joke { margin-top: 1.8rem; color: var(--fg-2); }
.nfc__stage { position: relative; height: 70vh; }
.nfc__meta { display: flex; align-items: center; gap: 1.6rem; margin-top: 1.6rem; }
.nfc__meta .nfc__joke { margin-top: 0; }
.chrono { position: relative; flex: none; width: 112px; height: 112px; opacity: 0; transform: scale(.85); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.chrono.is-on { opacity: 1; transform: none; }
.chrono svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.chrono__track { fill: none; stroke: var(--line); stroke-width: 3; }
.chrono__bar { fill: none; stroke: var(--fg); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; }
.chrono__val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.chrono__val span { font-size: 1.85rem; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.chrono__val small { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); margin-top: .35rem; }

/* ---------- avis ---------- */
.avis { height: 360vh; }
.avis__grid { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4vw; }
.avis__text { max-width: 40rem; }
.nfc__text .h2, .avis__text .h2 { font-size: clamp(2.4rem, 5vw, 5.4rem); }
.finish { display: flex; gap: .6rem; margin-top: 2rem; }
.avis__text .price { margin-top: 2rem; align-items: flex-start; text-align: left; }
.avis__stage { position: relative; height: 80vh; }
.avis__counter { position: absolute; left: 50%; bottom: 3vh; transform: translateX(-50%); width: min(34rem, 100%); text-align: center; }
.avis__counter p { font-size: clamp(1.4rem, 2.6vw, 2.4rem); letter-spacing: -.035em; line-height: 1.1; font-weight: 300; opacity: 0; }
.avis__counter p b { font-weight: 700; }
.avis__counter small { display: block; margin-top: .8rem; font-size: .8rem; color: var(--fg-2); opacity: 0; }
.avis__spoiler { position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 4vh); max-width: 22rem; text-align: right; transform: rotate(2deg); opacity: 0; color: #d6d6d1; }

/* ---------- catalogue ---------- */
.cat { height: 600vh; }
.cat__sticky { perspective: 1600px; }
.cat__track { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: flex-end; gap: clamp(1.2rem, 2vw, 2.4rem); padding: 0 var(--gutter) calc(9vh + 44px); will-change: transform; transform-style: preserve-3d; }
.cat__intro, .cat__outro { flex: none; width: min(36rem, 82vw); align-self: center; padding-right: 3vw; }
.cat__intro .h2 { font-size: clamp(2.6rem, 6.4vw, 6.6rem); }
.cat__hint { margin-top: 1.8rem; color: var(--fg-2); }
.cat__outro { padding-left: 3vw; }
.cat__outro p { color: var(--fg-2); margin: 1.2rem 0 2rem; max-width: 26em; line-height: 1.6; }
.card { flex: none; position: relative; width: clamp(250px, 23vw, 350px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); padding: .8rem .8rem 1.3rem; transform-style: preserve-3d; will-change: transform; outline: none; }
.card:focus-visible { box-shadow: 0 0 0 2px var(--gold); }
.card__media { position: relative; aspect-ratio: 1; border-radius: 18px; background: radial-gradient(120% 90% at 50% 35%, #262626, #121212 70%); display: grid; place-items: center; overflow: hidden; transform-style: preserve-3d; }
.card__media img { width: 80%; height: auto; filter: drop-shadow(0 22px 26px rgba(0,0,0,.55)); transform: translateZ(30px); transition: transform .8s var(--ease-out); will-change: transform; }
.card--wide .card__media img { width: 92%; }
.card__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.22), transparent 45%); opacity: 0; transition: opacity .5s; mix-blend-mode: screen; }
.card:hover .card__glare { opacity: 1; }
.card__body { padding: 1.1rem .5rem 0; }
.card__tag { display: flex; align-items: center; gap: .55rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.card__tag span { color: var(--fg); font-weight: 600; letter-spacing: .04em; }
.card__title { font-size: 1.38rem; font-weight: 600; letter-spacing: -.03em; margin-top: .6rem; line-height: 1.15; }
.card__line { font-size: .92rem; color: var(--fg-2); margin-top: .35rem; min-height: 2.8em; line-height: 1.45; }
.card__price { display: flex; align-items: baseline; gap: .4rem; margin-top: 1rem; font-size: 2.3rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.card__price small { font-size: .78rem; font-weight: 400; letter-spacing: 0; color: var(--fg-2); }
.belt { position: absolute; left: 0; right: 0; bottom: 9vh; height: 44px; pointer-events: none; }
.belt__band { position: absolute; left: 0; right: 0; top: 0; height: 18px; background: repeating-linear-gradient(90deg, #181818 0 46px, #2b2b2b 46px 48px); background-position-x: var(--bx, 0px); border-top: 1px solid #333; border-bottom: 1px solid #0e0e0e; box-shadow: 0 12px 30px rgba(0,0,0,.6); }
.belt__rollers { position: absolute; left: 0; right: 0; top: 18px; height: 26px; display: flex; gap: 64px; padding-left: 20px; overflow: hidden; }
.roller { flex: none; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, #3a3a3a 0 3px, #1b1b1b 4px); border: 1px solid #333; position: relative; transform: rotate(var(--rot, 0deg)); }
.roller::after { content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 1.5px; margin-left: -.75px; background: #555; }
.cat__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4vh; height: 1px; background: var(--line); }
.cat__progress span { display: block; height: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); }

/* product modal (shared element) */
.pmodal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: var(--gutter); }
.pmodal[hidden], .film[hidden] { display: none !important; }
.pmodal__bg, .film__bg { position: absolute; inset: 0; background: rgba(6,6,6,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; }
.pmodal__panel { position: relative; width: min(1040px, 100%); max-height: calc(100svh - 2 * var(--gutter)); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; background: #121212; border: 1px solid rgba(255,255,255,.1); color: var(--paper); --fg: var(--paper); --fg-2: #a2a29d; --line: rgba(255,255,255,.14); }
.pmodal__media { min-height: 100%; display: grid; place-items: center; padding: 2rem; background: radial-gradient(120% 90% at 50% 35%, #2a2a2a, #111 70%); }
.pmodal__media img { width: 82%; max-width: 440px; filter: drop-shadow(0 40px 40px rgba(0,0,0,.6)); }
.pmodal__info { padding: clamp(1.4rem, 2.6vw, 2.6rem); padding-top: 3.6rem; display: flex; flex-direction: column; min-width: 0; }
.pmodal__title { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: -.045em; font-weight: 700; margin-top: 1rem; }
.pmodal__line { font-family: var(--f-hand); font-size: 1.6rem; margin-top: .9rem; transform: rotate(-1.5deg); }
.pmodal__specs { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.pmodal__specs li { padding: .6rem 0 .6rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; color: #d1d1cc; }
.pmodal__specs li::before { content: "✦"; position: absolute; left: 0; font-size: .7rem; top: .8rem; opacity: .6; }
.pmodal__foot { margin-top: auto; padding-top: 1.8rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pmodal__price { font-size: 2.8rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.pmodal__price small { font-size: .85rem; font-weight: 400; color: #a2a29d; letter-spacing: 0; margin-left: .3rem; }
.pmodal__close { position: absolute; right: 1rem; top: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; height: 2.6rem; padding: 0 1rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: #fff; }
.pmodal__close:hover { background: #fff; color: #000; }
.fly { position: fixed; z-index: 160; pointer-events: none; will-change: transform; transform-origin: 0 0; }

.film { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: var(--gutter); }
.film__box { position: relative; width: min(1180px, 100%); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.6); opacity: 0; }
.film__box video { width: 100%; height: 100%; display: block; background: #000; }
.film__close { top: .8rem; right: .8rem; }

/* ---------- atelier ---------- */
.atelier { padding-block: calc(var(--nav-h) + 10vh) 14vh; min-height: 100vh; }
.atelier__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5vw; align-items: center; }
.forge { margin-top: 2.4rem; display: grid; gap: 1.5rem; max-width: 36rem; }
.forge__field { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; min-width: 0; }
.forge__field > span, .forge__field legend { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); padding: 0; margin-bottom: .6rem; }
.forge input { width: 100%; font: inherit; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.03em; color: var(--fg); background: transparent; border: 0; border-bottom: 1.5px solid var(--fg); padding: .3rem 0 .5rem; outline: none; border-radius: 0; }
.forge input:focus { border-bottom-color: var(--gold); }
.forge__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.forge__emojis .chip { width: 2.8rem; height: 2.8rem; padding: 0; justify-content: center; font-size: 1.3rem; }
.forge__swatches { display: flex; gap: .7rem; flex-wrap: wrap; }
.swatch { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); transition: transform .5s var(--ease-out), box-shadow .4s; }
.swatch:hover { transform: scale(1.1); }
.swatch.is-on { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.forge__ctas { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: .6rem; }
.forge__hint { font-size: .85rem; color: var(--fg-2); max-width: 16em; }

.atelier__stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.mini-wrap { perspective: 1100px; width: min(420px, 82vw); position: relative; }
.mini { --pc: #0c0c0c; --pt: #fff; position: relative; aspect-ratio: 1; transform-style: preserve-3d; will-change: transform; transition: transform 1.1s var(--ease-out); }
.mini__face { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 50px 80px -30px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06); }
.mini__front { display: grid; grid-template-rows: 54% 46%; }
.mini__top { position: relative; background: var(--pc); color: var(--pt); display: flex; align-items: center; gap: 6%; padding: 0 7% 8%; transition: background .7s var(--ease-out), color .7s; }
.mini__logo { flex: none; width: 34%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: clamp(2.4rem, 6vw, 3.8rem); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.mini__msg { min-width: 0; line-height: 1.02; }
.mini__msg span { display: block; font-size: clamp(1.1rem, 2.6vw, 1.7rem); font-weight: 400; letter-spacing: -.02em; }
.mini__msg b { display: block; font-size: clamp(1.4rem, 3.3vw, 2.15rem); font-weight: 800; letter-spacing: -.04em; overflow-wrap: anywhere; }
.mini__stars { display: block; font-style: normal; color: var(--gold); font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: .08em; margin-top: .2rem; }
.mini__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 22%; }
.mini__wave path { fill: #fff; }
.mini__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4%; padding: 2% 7% 7%; color: #0b0b0b; }
.mini__nfc p, .mini__qr p { font-size: clamp(.6rem, 1.2vw, .78rem); font-weight: 600; text-align: center; margin-bottom: .35rem; white-space: nowrap; }
.mini__nfc svg { width: 100%; height: auto; }
.mini__ou { font-weight: 700; font-size: .95rem; }
.mini__qr { position: relative; display: grid; justify-items: center; }
.mini__qr canvas { width: 76%; height: auto; image-rendering: pixelated; }
.mini__demo { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%) rotate(-8deg); background: #fff; border: 1.5px solid #0b0b0b; border-radius: 6px; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .1rem .35rem; }
.mini__back { transform: rotateY(180deg); background: #0b0b0b; display: grid; place-content: center; justify-items: center; gap: 1rem; color: #bbb; font-size: .85rem; }
.mini__back img { width: 46%; }
.mini__shadow { position: absolute; left: 12%; right: 12%; bottom: -12%; height: 10%; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.28), transparent 70%); filter: blur(6px); z-index: -1; }
.atelier__note { position: absolute; right: 0; bottom: 4%; color: var(--fg-2); }

/* ---------- fidélité ---------- */
.fid { padding-block: 12vh; min-height: 100vh; overflow: clip; }
.fid__confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.fid__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; align-items: center; }
.fid__stage { display: grid; justify-items: center; gap: 1.6rem; }
.loyal { width: min(430px, 100%); border-radius: 28px; background: var(--cocoa); color: var(--peach); padding: 1.6rem 1.6rem 1.3rem; box-shadow: 0 50px 90px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); transform-style: preserve-3d; will-change: transform; }
.loyal__head { display: flex; justify-content: space-between; align-items: flex-start; }
.loyal__name { font-size: 1.35rem; font-weight: 500; display: flex; align-items: center; gap: .6rem; }
.loyal__cup { font-size: 1.3rem; filter: saturate(.4); }
.loyal__count { text-align: right; font-size: 1.6rem; font-weight: 300; line-height: 1; }
.loyal__count small { display: block; font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: .2rem; }
.loyal__count b { font-size: 2rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.loyal__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; margin-top: 1.4rem; }
.slot { aspect-ratio: 1; border-radius: 50%; background: #efebe6; display: grid; place-items: center; position: relative; transition: transform .5s var(--ease-out); box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
.slot:hover { transform: scale(1.06); }
.slot svg { width: 58%; height: 58%; opacity: 0; transform: scale(1.8) rotate(-30deg); transition: opacity .25s, transform .55s var(--ease-soft); }
.slot.is-on { background: #fff; box-shadow: 0 0 0 2px #2a1d14; }
.slot.is-on svg { opacity: 1; transform: none; }
.slot--gift { background: #fff3ea; box-shadow: 0 0 0 2.5px var(--peach); font-size: 1.4rem; }
.slot--gift.is-ready { animation: pulse 1.2s var(--ease-io) infinite; }
.slot--gift.is-open { background: var(--peach); }
@keyframes pulse { 50% { transform: scale(1.12); box-shadow: 0 0 0 7px rgba(243,180,138,.35); } }
.loyal__text { font-size: 1.4rem; font-weight: 300; margin-top: 1.3rem; transform: rotate(-3deg); line-height: 1.2; min-height: 2.4em; }
.loyal__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 1rem; gap: 1rem; }
.loyal__qr { position: relative; background: #fff; border-radius: 14px; padding: .55rem; display: grid; }
.loyal__qr canvas { width: 64px; height: 64px; image-rendering: pixelated; }
.loyal__qr em { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); font-style: normal; font-size: .55rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: #fff; color: #000; padding: 0 .25rem; border: 1px solid #000; border-radius: 4px; }
.loyal__foot small { font-size: .78rem; opacity: .85; }
.fid__actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }
.fid__joke { color: #cfcfca; }
.fid .note { margin-top: 1.2rem; }
.list3 { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.list3 li { display: grid; grid-template-columns: 3rem 1fr; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.list3 li > span { font-size: 2.2rem; font-weight: 300; line-height: .9; }
.list3 b { display: block; font-weight: 600; font-size: 1.05rem; }
.list3 small { display: block; color: var(--fg-2); font-size: .92rem; margin-top: .2rem; }
.fid__prices { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-top: 1.4rem; flex-wrap: wrap; }
.fid__prices .price:first-child { align-items: flex-start; text-align: left; }

/* ---------- menus ---------- */
.menus { padding-block: calc(var(--nav-h) + 10vh) 14vh; }
.menus__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: end; gap: 3vw; }
.menus__joke { color: var(--fg-2); max-width: 20em; justify-self: end; margin-bottom: .6rem; }
.menus__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); margin-top: 7vh; align-items: stretch; }
.mcard { border-radius: 30px; padding: clamp(1.2rem, 2.2vw, 2rem); display: flex; flex-direction: column; transform-style: preserve-3d; will-change: transform; }
.mcard--light { background: #e9e9e5; color: var(--ink); }
.mcard--dark { background: var(--ink); color: var(--paper); }
.mcard--dark p { color: #b5b5b0; }
.mcard--light p { color: #555550; }
.mcard__media { aspect-ratio: 1.45; display: grid; place-items: center; margin-bottom: 1.5rem; }
.mcard__media img { width: auto; height: auto; max-width: 62%; max-height: 92%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); transform: translateZ(40px) rotate(-4deg); }
.mcard__media--wide img { max-width: 94%; width: 94%; transform: translateZ(40px) rotate(3deg); }
.mcard__tag { font-size: .8rem; letter-spacing: .04em; }
.mcard__title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; margin: .4rem 0 .7rem; }
.mcard__price { margin-top: auto; padding-top: 2rem; text-align: right; display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.mcard__price strong { font-size: clamp(3rem, 5vw, 4.6rem); letter-spacing: -.06em; color: inherit; }
.mcard--light .mcard__price strong { color: var(--ink); }
.mcard--dark .mcard__price strong { color: var(--paper); }
.mcard__price small { font-size: .82rem; margin-top: .3rem; }
.phone { width: 270px; align-self: center; aspect-ratio: 9 / 19; border-radius: 46px; background: #0b0b0b; padding: 10px; box-shadow: 0 60px 90px -30px rgba(0,0,0,.45), inset 0 0 0 2px #2b2b2b; }
.phone__screen { position: relative; height: 100%; border-radius: 37px; background: #fafaf8; overflow: hidden; padding: 46px 16px 0; color: var(--ink); display: flex; flex-direction: column; }
.phone__view { flex: 1; min-height: 0; overflow: hidden; }
.phone__island { position: absolute; left: 50%; top: 10px; width: 86px; height: 24px; margin-left: -43px; border-radius: 20px; background: #0b0b0b; }
.phone__kicker { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #8b8b86; }
.phone__title { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
.phone__tabs { display: flex; gap: .9rem; font-size: .68rem; color: #8b8b86; margin: .6rem 0 .4rem; border-bottom: 1px solid #eee; padding-bottom: .4rem; }
.phone__tabs .is-on { color: var(--ink); font-weight: 600; }
.phone__list { will-change: transform; }
.dish { display: grid; grid-template-columns: 36px 1fr auto; gap: .6rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid #efefec; }
.dish i { font-style: normal; width: 36px; height: 36px; border-radius: 10px; background: #f0efeb; display: grid; place-items: center; font-size: 1.05rem; }
.dish b { display: block; font-size: .74rem; font-weight: 600; }
.dish small { display: block; font-size: .6rem; color: #8b8b86; line-height: 1.25; }
.dish em { font-style: normal; font-size: .7rem; font-weight: 600; }

/* ---------- sites ---------- */
.sites { height: 330vh; }
.sites__grid { height: 100%; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 4vw; padding-top: calc(var(--nav-h) * .6); }
.sites__text { max-width: 34rem; }
.sites__text .h2 { font-size: clamp(2.2rem, 4.2vw, 4.6rem); }
.sites__live { margin-top: 1.2rem; font-size: 1rem; color: var(--fg-2); }
.sites__live b { color: var(--fg); font-variant-numeric: tabular-nums; }
.feats { margin-top: 1.4rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.4rem; }
.feats li { padding: .7rem 0; border-bottom: 1px solid var(--line); opacity: .3; transform: translateX(-10px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.feats li.is-on { opacity: 1; transform: none; }
.feats b { display: block; font-weight: 600; font-size: .98rem; }
.feats small { display: block; color: var(--fg-2); font-size: .84rem; line-height: 1.45; }
.sites__prices { display: flex; gap: 2rem; align-items: flex-end; margin-top: 1.6rem; flex-wrap: wrap; }
.sites__prices .price:first-child { align-items: flex-start; text-align: left; }
.sites__prices .price strong { font-size: clamp(3rem, 5.4vw, 5rem); }
.sites__prices .price--sm strong { font-size: clamp(2rem, 3vw, 2.8rem); }
.sites__stage { position: relative; display: grid; justify-items: center; gap: 1.4rem; perspective: 1800px; }
.screen { position: relative; width: 100%; border-radius: 18px; overflow: hidden; background: #0e0e0e; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6); transform-origin: 50% 60%; will-change: transform; }
.screen__bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.08); background: #121212; }
.screen__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.screen__bar span { margin-left: 14px; font-size: .7rem; color: #8a8a85; background: #1b1b1b; border-radius: 6px; padding: .15rem .8rem; }
.screen__canvas { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0b0b0b; }
.screen__hint { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; font-size: .72rem; color: rgba(255,255,255,.75); letter-spacing: .04em; pointer-events: none; }
.screen__hint span { background: rgba(0,0,0,.55); padding: .3rem .7rem; border-radius: 999px; backdrop-filter: blur(6px); }
.screen__hint b { background: #fff; color: #000; padding: .3rem .6rem; border-radius: 999px; font-variant-numeric: tabular-nums; }
.film-btn { justify-self: start; }

/* ---------- studio ---------- */
.studio { padding-block: calc(var(--nav-h) + 8vh) 14vh; }
.studio__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 5vw; align-items: center; }
.studio__offer { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-top: 2.4rem; flex-wrap: wrap; }
.studio__offer > p { background: var(--ink); color: var(--paper); border-radius: 22px; padding: 1.2rem 1.4rem; max-width: 19rem; font-size: 1.15rem; font-weight: 300; line-height: 1.2; }
.studio__offer > p small { display: block; font-size: .72rem; color: #9f9f9a; margin-bottom: .5rem; font-weight: 400; }
.studio__offer > p b { display: block; font-weight: 700; }
.studio__stage { position: relative; }
.booth { position: relative; border-radius: 32px; background: #fff; padding: 12px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05); }
.booth__view { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; background: radial-gradient(120% 100% at 50% 20%, #ffffff, #e9e9e5 70%); touch-action: pan-y; }
@media (min-width: 901px) { .booth__view { max-height: calc(100vh - 280px); } }
.booth__view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: filter .8s var(--ease-out), transform .8s var(--ease-out); }
.booth.is-avant .booth__view canvas { filter: sepia(.75) saturate(.65) contrast(.82) brightness(1.18) blur(1.4px); transform: rotate(-4deg) scale(1.08); }
.booth__before { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s; background: radial-gradient(circle at 30% 30%, rgba(255,255,230,.65), transparent 35%), repeating-radial-gradient(circle at 50% 50%, rgba(0,0,0,.04) 0 1px, transparent 1px 3px); display: flex; align-items: flex-end; padding: 1rem; }
.booth__before span { background: rgba(0,0,0,.75); color: #fff; font-size: .78rem; border-radius: 999px; padding: .35rem .8rem; }
.booth.is-avant .booth__before { opacity: 1; }
.booth__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.booth__rec { position: absolute; left: 1rem; top: 1rem; font-size: .66rem; letter-spacing: .14em; color: #6d6d68; display: flex; align-items: center; gap: .45rem; pointer-events: none; }
.booth__rec i { width: 8px; height: 8px; border-radius: 50%; background: #e8402c; animation: blink 1.4s infinite; }
.booth__ui { display: grid; gap: .9rem; padding: 1rem .4rem .4rem; }
.booth__products { display: flex; gap: .5rem; flex-wrap: wrap; }
.booth__row { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; }
.toggle { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: #ececea; }
.toggle button { position: relative; z-index: 1; height: 2.5rem; padding: 0 1.2rem; border-radius: 999px; font-size: .88rem; font-weight: 500; color: #6a6a65; transition: color .5s var(--ease-out); }
.toggle button.is-on { color: var(--paper); }
.toggle__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 50%; border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease-out), width .6s var(--ease-out); }
.shoot { --bh: 3.1rem; }
.polaroids { position: absolute; right: -4%; top: -10%; width: 170px; height: 190px; pointer-events: none; z-index: 3; }
.studio__text .h2 { font-size: clamp(2.4rem, 4.8vw, 5.2rem); }
.polaroid { position: absolute; right: 0; top: 0; width: 160px; background: #fff; padding: 9px 9px 34px; box-shadow: 0 20px 40px rgba(0,0,0,.25); border-radius: 4px; will-change: transform; }
.polaroid img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; background: #eee; }
.polaroid p { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-family: var(--f-hand); font-size: 1.15rem; color: #222; }

/* ---------- terrain ---------- */
.terrain { padding-block: calc(var(--nav-h) + 6vh) 10vh; }
.terrain__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 4vw; align-items: center; }
.terrain__text { max-width: 32rem; }
.terrain__text .h2 { font-size: clamp(2.3rem, 4.8vw, 4.9rem); }
.kpis { display: grid; gap: 1.2rem; margin-top: 2.4rem; }
.kpi { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center; }
.kpi__flag { grid-row: span 2; font-size: 1.4rem; }
.kpi b { font-size: clamp(3.4rem, 6vw, 5.6rem); font-weight: 700; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--fg-2); font-size: .92rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-size: .85rem; color: #d4d4cf; }

/* ---------- insta ---------- */
.insta { padding-block: calc(var(--nav-h) + 2vh) 8vh; }
.insta .h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); }
.insta__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.insta__joke { color: var(--fg-2); max-width: 18em; margin-bottom: .6rem; }
.igw { margin: 3vh auto 0; max-width: 1000px; border-radius: 30px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); padding: clamp(1.2rem, 3vw, 2.6rem); }
.igw__profile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; padding: 0 0 1.2rem; }
.igw__avatar { display: block; width: clamp(90px, 10vw, 132px); aspect-ratio: 1; border-radius: 50%; padding: 4px; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); transition: transform .8s var(--ease-out); }
.igw__avatar:hover { transform: rotate(-6deg) scale(1.03); }
.igw__avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 4px solid var(--ink); }
.igw__avatar img { width: 62%; filter: invert(1); }
.igw__row { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.igw__handle { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -.01em; }
.igw__badge { width: 22px; height: 22px; flex: none; }
.igw__btns { display: flex; gap: .5rem; margin-left: .8rem; }
.igw__follow, .igw__msg { display: inline-flex; align-items: center; height: 2.4rem; padding: 0 1.25rem; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.igw__follow { background: #0095f6; color: #fff; transition: background .3s; }
.igw__follow:hover { background: #1877f2; }
.igw__msg { background: rgba(255,255,255,.12); color: #fff; transition: background .3s; }
.igw__msg:hover { background: rgba(255,255,255,.2); }
.igw__stats { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); margin: 1.2rem 0 1rem; font-size: 1rem; color: var(--fg-2); }
.igw__stats b { color: var(--fg); font-weight: 600; margin-right: .3rem; }
.igw__name { font-weight: 600; font-size: .98rem; }
.igw__cat { color: var(--fg-2); font-size: .88rem; }
.igw__bio { font-size: .95rem; line-height: 1.5; margin-top: .2rem; }
.igw__tabs { display: flex; justify-content: center; gap: 3.2rem; border-top: 1px solid var(--line); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.igw__tabs span { padding: 1rem 0; display: inline-flex; gap: .5rem; align-items: center; border-top: 1px solid transparent; margin-top: -1px; }
.igw__tabs span.is-on { color: var(--fg); border-top-color: var(--fg); }
.igw__tabs i { font-style: normal; font-size: .95rem; }
.igw__window { height: min(34vh, 330px); overflow: hidden; border-radius: 8px; position: relative; }
.igw__window::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(transparent, rgba(11,11,11,.8)); pointer-events: none; }
.igw__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; will-change: transform; }
.igpost { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #151515; isolation: isolate; }
.igpost img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.igpost:hover img { transform: scale(1.06); }
.igpost__ov { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; background: rgba(0,0,0,.45); color: #fff; font-size: .85rem; font-weight: 600; opacity: 0; transition: opacity .45s var(--ease-out); }
.igpost__ov svg { width: 30px; height: 30px; fill: #fff; transform: scale(.6); transition: transform .6s var(--ease-soft); }
.igpost:hover .igpost__ov, .igpost:focus-visible .igpost__ov { opacity: 1; }
.igpost:hover .igpost__ov svg { transform: scale(1); }
.igw__feed behold-widget { display: block; }
@media (min-width: 901px) {
  .igw { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; column-gap: clamp(1.6rem, 3vw, 3rem); max-width: 1180px; }
  .igw__profile { grid-row: 1 / 3; grid-template-columns: auto minmax(0, 1fr); align-content: start; align-items: start; gap: 1.2rem; padding: 0; }
  .igw__avatar { width: clamp(76px, 7vw, 96px); }
  .igw__stats { gap: .2rem 1rem; font-size: .9rem; margin: .8rem 0 .7rem; flex-wrap: wrap; }
  .igw__tabs { grid-column: 2; justify-content: flex-start; gap: 2.4rem; border-top: 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  .igw__tabs span { border-top: 0; border-bottom: 1px solid transparent; margin: 0 0 -1px; padding: .2rem 0 .8rem; }
  .igw__tabs span.is-on { border-bottom-color: var(--fg); }
  .igw__feed { grid-column: 2; }
  .igw__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .igw__btns { margin-left: 0; width: 100%; margin-top: .4rem; }
}
.insta__foot { margin-top: 2vh; color: var(--fg-2); font-size: .92rem; }
.insta__foot a { color: var(--fg); border-bottom: 1px solid currentColor; }

/* ---------- tarifs ---------- */
.tarifs { padding-block: calc(var(--nav-h) + 4vh) 10vh; }
.tarifs__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); align-items: end; gap: 3vw; }
.tarifs__side { display: grid; gap: .5rem; }
.tarifs__joke { color: var(--fg-2); max-width: 22em; padding-left: 1rem; }
/* two columns, read top to bottom */
.ptable { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); grid-auto-flow: column; column-gap: 3vw; margin-top: 3.5vh; }
.ptable li:nth-child(6n + 1) { border-top: 1.5px solid var(--fg); }
.ptable li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .5rem 1rem; border-bottom: 1px solid var(--line); isolation: isolate; transition: color .5s var(--ease-out), padding .6s var(--ease-out); }
.ptable li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); border-radius: 12px; }
.ptable li:hover { color: var(--paper); padding-inline: 1.6rem; }
.ptable li:hover::before { transform: scaleY(1); }
.ptable li:hover small { color: #a5a5a0; }
.ptable b { display: block; font-size: clamp(.92rem, 1.15vw, 1.05rem); font-weight: 700; letter-spacing: -.02em; }
.ptable small { display: block; font-size: .82rem; color: var(--fg-2); transition: color .5s; }
.ptable__p { text-align: right; }
.ptable__p b { font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -.04em; white-space: nowrap; }
.garantie { position: relative; overflow: hidden; margin-top: 0; border-radius: 26px; background: var(--ink); color: var(--paper); padding: clamp(1.2rem, 2.2vw, 2rem) clamp(1.4rem, 2.6vw, 2.4rem); }
.garantie > p { position: relative; z-index: 1; }
.garantie__k { font-size: .82rem; color: #9d9d98; }
.garantie__t { font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 300; letter-spacing: -.045em; line-height: 1.04; margin-top: .5rem; }
.garantie__t b { font-weight: 700; }
.garantie__s { margin-top: .6rem; color: #c9c9c4; font-size: .92rem; }
.garantie__waves { position: absolute; right: -8%; top: 50%; width: 46%; aspect-ratio: 1; transform: translateY(-50%); }
.garantie__waves i { position: absolute; inset: 0; border-radius: 50%; border: clamp(14px, 2.2vw, 28px) solid #1f1f1f; clip-path: inset(0 50% 0 0); animation: wave 3.6s var(--ease-io) infinite; }
.garantie__waves i:nth-child(2) { inset: 18%; animation-delay: .3s; }
.garantie__waves i:nth-child(3) { inset: 36%; animation-delay: .6s; }
@keyframes wave { 0%, 100% { border-color: #1b1b1b; } 50% { border-color: #2e2e2e; } }

/* ---------- contact ---------- */
.contact { padding-block: calc(var(--nav-h) + 3vh) 12vh; min-height: 100vh; }
.contact__title { font-size: clamp(2.8rem, 6.6vw, 7.4rem); line-height: .9; letter-spacing: -.06em; margin-left: -.05em; }
.contact__lead { max-width: 28em; margin-top: 1rem; }
.contact__phone { margin-top: 3.5vh; border-top: 1px solid var(--fg); padding-top: 1.4rem; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem; }
.contact__k { grid-column: 1 / -1; font-size: .8rem; color: var(--fg-2); }
.bignum { font-size: clamp(2.2rem, 7vw, 7.6rem); font-weight: 700; letter-spacing: -.055em; line-height: .95; white-space: nowrap; display: inline-block; }
.bignum .ch { transition: color .3s; }
.copy { font-size: .85rem; border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1.1rem; color: var(--fg); white-space: nowrap; transition: background .4s, color .4s; }
.copy:hover, .copy.is-done { background: var(--fg); color: var(--ink); }
.contact__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 5vh; }
.contact__foot { display: flex; justify-content: space-between; gap: 2rem; margin-top: 9vh; padding-top: 1.4rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.contact__foot p { font-size: clamp(1.3rem, 2.4vw, 2.2rem); font-weight: 300; letter-spacing: -.03em; }
.contact__foot small { display: block; font-size: .78rem; color: var(--fg-2); letter-spacing: 0; font-weight: 400; margin-bottom: .2rem; }

/* ---------- footer ---------- */
.foot { min-height: 100vh; display: flex; flex-direction: column; }
.foot__stage { flex: 1; min-height: 70vh; }
.foot__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2rem 2.4rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot__bar img { width: 74px; }
.foot__bar p { font-size: .85rem; color: var(--fg-2); }

.noscript { position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: #fff; color: #000; padding: 1rem; text-align: center; }

/* ---------- avis: finish picker ---------- */
.buy { display: flex; align-items: flex-end; gap: clamp(1.2rem, 3vw, 2.4rem); margin-top: 1.8rem; flex-wrap: wrap; }
.buy__k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); margin-bottom: .7rem; }
.buy .finish { margin-top: 0; }
.buy .price { margin-top: 1.4rem; align-items: flex-start; text-align: left; }
.fcard { width: clamp(120px, 12vw, 170px); perspective: 900px; cursor: pointer; }
.fcard__in { position: relative; aspect-ratio: 1; transform-style: preserve-3d; transition: transform 1.1s var(--ease-out); }
.fcard.is-bleu .fcard__in { transform: rotateY(180deg); }
.fcard__face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }
.fcard__back { transform: rotateY(180deg); }

/* ---------- atelier: hue slider ---------- */
.forge__hue { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem 1rem; margin-top: .9rem; }
.forge__hue-k { grid-column: 1 / -1; font-size: .8rem; color: var(--fg-2); }
.forge__hue input { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; border-radius: 999px; background: linear-gradient(90deg, hsl(0,85%,52%), hsl(45,90%,55%), hsl(90,75%,45%), hsl(150,75%,40%), hsl(200,85%,50%), hsl(250,80%,58%), hsl(300,75%,55%), hsl(360,85%,52%)); outline: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.forge__hue input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--hue, #1463ff); border: 4px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.15); cursor: grab; }
.forge__hue input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--hue, #1463ff); border: 4px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.35); cursor: grab; }
.forge__hue input:focus-visible { box-shadow: 0 0 0 3px var(--gold); }
.forge__hue-val { font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; padding: .3rem .6rem; border-radius: 8px; background: var(--hue, #1463ff); color: var(--hue-fg, #fff); min-width: 5.6em; text-align: center; }
.forge__emojis { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .4rem; }
.forge__emojis .chip { width: 100%; height: auto; aspect-ratio: 1; padding: 0; justify-content: center; font-size: clamp(.95rem, 1.3vw, 1.2rem); }
.forge__note { font-size: .82rem; color: var(--fg-2); margin-top: .7rem; }
.forge__note b { color: var(--fg); }

/* ---------- pinned sections (hold a moment while you read) ---------- */
.pin__inner { position: sticky; top: 0; }
.pin__spacer { height: 0; pointer-events: none; }

/* ---------- factory details ---------- */
.beacon { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #fff; display: inline-block; overflow: hidden; }
.beacon i { position: absolute; inset: -6px; background: conic-gradient(from 0deg, transparent 0 70%, rgba(0,0,0,.85) 80%, transparent 90%); animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hazard { position: relative; z-index: 2; overflow: hidden; height: 54px; margin: -27px 0; transform: rotate(-1.6deg); background: repeating-linear-gradient(-45deg, #0b0b0b 0 22px, #f5f5f2 22px 44px); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.hazard::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; bottom: 9px; background: #0b0b0b; }
.hazard__track { position: relative; display: flex; gap: 3rem; height: 100%; align-items: center; white-space: nowrap; font-size: .85rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #f5f5f2; will-change: transform; padding-left: 2rem; }
.gear { position: absolute; width: clamp(160px, 22vw, 340px); height: auto; fill: var(--gear, rgba(255,255,255,.05)); pointer-events: none; z-index: 0; transform: rotate(var(--rot, 0deg)); }
[data-theme="light"] .gear { --gear: rgba(0,0,0,.05); }
.gear--tr { right: -6vw; top: 4vh; }
.gear--bl { left: -7vw; bottom: 2vh; }
.gear--c1 { right: -4vw; top: 10vh; width: clamp(180px, 26vw, 380px); }
.gear--c2 { right: calc(-4vw + clamp(150px, 21vw, 310px)); top: calc(10vh + clamp(150px, 21vw, 310px)); width: clamp(110px, 15vw, 220px); }
.atelier__grid, .fid__grid, .contact .wrap { position: relative; z-index: 1; }
.badge100 { display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.2rem; border-radius: 16px; border: 1px dashed rgba(255,255,255,.4); font-size: 1rem; }
.badge100 i { font-style: normal; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--paper); color: var(--ink); animation: spin 6s linear infinite; }
.cat__next { margin-top: 1.4rem; color: var(--fg-2); }
.avis__stars { position: absolute; left: 0; right: 0; top: 9vh; text-align: center; font-size: clamp(1.6rem, 2.8vw, 2.8rem); letter-spacing: -.04em; line-height: 1.05; opacity: 0; pointer-events: none; }
.avis__stars b { font-weight: 700; }
.avis__stars .l { font-weight: 300; }
.avis__stars-k { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); margin-bottom: .6rem; }

/* crew anchor: invisible mark where the little 3D worker walks */
.crew { position: absolute; width: 1px; height: 1px; pointer-events: none; }
.fid__stage { position: relative; }
.tarifs__head { position: relative; }
.contact__phone { position: relative; }
.foot__stage { position: relative; }
.foot__stage .crew { left: 0; bottom: 0; }

/* ---------- real map ---------- */
.tmap-wrap { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #111; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.tmap { height: min(70vh, 640px); width: 100%; background: #141414; }
.tmap .leaflet-tile-pane { filter: brightness(1.15) contrast(1.05); }
.tmap .leaflet-control-zoom { border: 0 !important; box-shadow: none !important; margin: 14px 14px 0 0 !important; }
.tmap .leaflet-control-zoom a { width: 38px !important; height: 38px !important; line-height: 38px !important; border-radius: 10px !important; background: rgba(20,20,20,.85) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.18) !important; margin-bottom: 6px; font-size: 18px !important; }
.tmap .leaflet-control-zoom a:hover { background: #fff !important; color: #000 !important; }
.tmap .leaflet-control-attribution { background: rgba(0,0,0,.55) !important; color: #aaa !important; font-size: 10px !important; }
.tmap .leaflet-control-attribution a { color: #ddd !important; }
.tmap__ui { position: absolute; left: 14px; top: 14px; z-index: 500; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; pointer-events: none; }
.tmap__chip, .tmap__legend { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; padding: .5rem .85rem; border-radius: 999px; background: rgba(15,15,15,.82); border: 1px solid rgba(255,255,255,.14); color: #eee; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tmap__chip i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); animation: blink 2s infinite; }
.tmap__legend .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--fr { background: #fff; }
.dot--lu { background: #7fb2ff; margin-left: .5rem; }
.tmap__hint { position: absolute; left: 14px; bottom: 12px; z-index: 500; font-size: .74rem; color: #bbb; pointer-events: none; }
.bpin { position: relative; width: 18px; height: 24px; }
.bpin::before { content: ""; position: absolute; left: 1px; top: 0; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pc, #fff); box-shadow: 0 4px 10px rgba(0,0,0,.6); }
.bpin::after { content: ""; position: absolute; left: 6px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: #0b0b0b; }
.bpin { animation: drop .9s var(--ease-soft) both; animation-delay: var(--d, 0s); animation-play-state: paused; }
.tmap.is-live .bpin { animation-play-state: running; }
@keyframes drop { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.bpin--lu { --pc: #7fb2ff; }
.tmap .leaflet-tooltip { background: #f5f5f2; color: #0b0b0b; border: 0; border-radius: 8px; font-family: var(--f-display); font-size: 12px; font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.tmap.no-tiles { background: radial-gradient(120% 100% at 50% 40%, #1c1c1c, #0e0e0e); }
.vlabel { color: #cfcfca; font: 600 11px var(--f-display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 6px #000; }
.vlabel--country { color: #777; letter-spacing: .4em; font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__status { display: none; }
  .nav__links { gap: 1.3rem; }
}
@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }

  .hero__content { top: auto; bottom: 7.2rem; transform: none; max-width: none; right: var(--gutter); }
  .hero__title { font-size: clamp(2.4rem, 11.4vw, 4.4rem); }
  .hero__lead { font-size: .98rem; margin-top: 1rem; }
  .hero__note { font-size: 1.25rem; }
  .hero__ctas { margin-top: 1.3rem; }
  .hero__meta { bottom: 3.6rem; }
  .hero__stats { display: none; }
  .btn { --bh: 3.1rem; padding: 0 1.3rem; font-size: .92rem; }

  .search__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .tile { padding: .45rem .3rem; gap: .25rem; border-radius: 11px; flex-direction: column; text-align: center; }
  .tile__ico { width: 28px; height: 28px; font-size: .9rem; border-radius: 8px; }
  .tile__txt { width: 100%; }
  .tile__txt b { font-size: .62rem; }
  .tile__txt small { display: none; }
  .search__lens { width: 176px; height: 176px; margin: -88px 0 0 -88px; }

  .nfc__grid, .avis__grid, .sites__grid, .terrain__grid { grid-template-columns: 1fr; align-content: start; padding-top: calc(var(--nav-h) + 2vh); gap: 0; }
  .nfc__text .h2, .avis__text .h2 { font-size: clamp(2.2rem, 10.5vw, 3.6rem); }
  .steps { margin-top: 1.2rem; }
  .step { display: none; padding: .8rem 0; }
  .step.is-on { display: grid; }
  .step__n { font-size: 2rem; }
  .step p { font-size: .95rem; }
  .nfc__joke { display: none; }
  .nfc__stage { position: absolute; left: 0; right: 0; bottom: 0; height: 52vh; }
  .chrono { width: 84px; height: 84px; }
  .nfc__meta { margin-top: .6rem; }
  .chrono__val span { font-size: 1.3rem; }

  .avis__text .lead { display: none; }
  .finish { margin-top: 1.2rem; }
  .avis__text .price { margin-top: 1rem; }
  .avis__text .price strong { font-size: 3rem; }
  .avis__stage { position: absolute; left: 0; right: 0; bottom: 0; height: 50vh; }
  .avis__counter { bottom: 3vh; }
  .avis__spoiler { display: none; }

  .cat__track { padding-bottom: calc(10vh + 44px); }
  .card { width: 72vw; }
  .cat__intro, .cat__outro { width: 84vw; }

  .atelier__grid, .fid__grid, .studio__grid { grid-template-columns: 1fr; gap: 8vh; }
  .atelier__stage { min-height: 0; order: -1; }
  .atelier__note { position: static; margin-top: 1.8rem; }
  .fid__text { order: -1; }

  .menus__head { grid-template-columns: 1fr; }
  .menus__joke { justify-self: start; }
  .menus__grid { grid-template-columns: 1fr; }
  .phone { justify-self: center; width: 240px; }

  .sites__text .feats, .sites__live { display: none; }
  .sites__text .h2 { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .sites__prices { margin-top: 1rem; }
  .sites__prices .price strong { font-size: 2.8rem; }
  .sites__stage { margin-top: 3vh; }

  .polaroids { right: -2%; top: -8%; width: 120px; }
  .polaroid { width: 118px; padding: 7px 7px 26px; }
  .polaroid p { font-size: .95rem; }

  .terrain__text .h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .kpis { grid-template-columns: 1fr 1fr; margin-top: 1.2rem; }
  .kpi { grid-template-columns: 1fr; }
  .kpi__flag { grid-row: auto; }
  .kpi b { font-size: 2.6rem; }
  .kpi small { font-size: .74rem; }
  .tags { display: none; }

  .forge__emojis { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .forge__emojis .chip:nth-child(n+17) { display: none; }
  .tmap { height: 56vh; }
  .terrain__grid { grid-template-columns: 1fr; gap: 3vh; }
  .hazard { height: 44px; margin: -22px 0; }
  .hazard__track { font-size: .7rem; }
  .avis__stars { top: 2vh; font-size: 1.5rem; }
  .igw { border-radius: 22px; padding: 1rem; }
  .igw__profile { grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding-bottom: 1.2rem; }
  .igw__avatar { width: 84px; }
  .igw__btns { margin-left: 0; width: 100%; }
  .igw__follow, .igw__msg { flex: 1; justify-content: center; }
  .igw__stats { gap: 1rem; font-size: .85rem; margin: .8rem 0 .6rem; }
  .igw__bio { font-size: .86rem; }
  .igw__tabs { gap: 1.6rem; }
  .igw__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .mapui { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 4vh; height: 46vh; }
  .mapui__coords, .mapui__legend { display: none; }
  .buy { margin-top: 1rem; }
  .fcard { width: 110px; }

  .tarifs__head { grid-template-columns: 1fr; gap: 1.4rem; }
  .ptable { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .ptable li:nth-child(6n + 1) { border-top: 0; }
  .ptable li:first-child { border-top: 1.5px solid var(--fg); }
  .ptable li { padding: .9rem .2rem; }
  .ptable li:hover { padding-inline: .9rem; }

  .contact__phone { grid-template-columns: 1fr; }
  .copy { justify-self: start; }

  /* minmax(0, 1fr): the big plaque image must not widen the column past the screen */
  .pmodal__panel { grid-template-columns: minmax(0, 1fr); }
  .pmodal__media { min-height: 0; aspect-ratio: 1.25; padding: 1rem; overflow: hidden; }
  .pmodal__media img { width: 64%; max-width: 300px; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   Round 4: scroll demos, quality control, factory plates
   ========================================================= */
/* factory station plates on the eyebrows */
.poste { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .6rem .3rem .5rem; border-radius: 5px; background: var(--btn-bg); color: var(--btn-fg); font-size: .66rem; font-weight: 700; letter-spacing: .14em; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--btn-fg) 18%, transparent); }
.poste::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; box-shadow: inset 0 0 0 1.5px var(--btn-bg); }
.station { position: fixed; left: 12px; top: 50%; z-index: 40; writing-mode: vertical-rl; display: flex; align-items: center; gap: .55rem; padding: .45rem .3rem .8rem; border-radius: 10px; background: rgba(11, 11, 11, .82); color: #f5f5f2; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .1); pointer-events: none; opacity: 0; transform: translate(-14px, -50%); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); overflow: hidden; }
.station.is-on { opacity: 1; transform: translate(0, -50%); }
.station__n { writing-mode: horizontal-tb; display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 6px; background: repeating-linear-gradient(-45deg, #f5f5f2 0 4px, #0b0b0b 4px 8px); color: #0b0b0b; font-weight: 800; font-size: .72rem; letter-spacing: -.02em; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; }
.station__t { display: flex; align-items: center; gap: .45rem; line-height: 1; }
.station__t small { font-size: .52rem; letter-spacing: .2em; text-transform: uppercase; color: #9d9d98; }
.station__t b { font-size: .7rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.station__bar { position: absolute; top: 0; bottom: 0; right: 0; width: 2px; background: rgba(255, 255, 255, .1); }
.station__bar i { position: absolute; inset: 0; background: #f5f5f2; transform-origin: top; transform: scaleY(0); }

/* atelier: the scroll demo tag + the "how to" bubble */
.mtag { position: absolute; left: 50%; top: 0; z-index: 4; display: grid; justify-items: center; gap: .15rem; padding: .6rem 1rem .55rem; border-radius: 14px; background: var(--ink); color: var(--paper); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); transform: translate(-50%, -12px) scale(.94); opacity: 0; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); pointer-events: none; white-space: nowrap; }
.mtag.is-on { opacity: 1; transform: translate(-50%, 0); }
.mtag small { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: #9d9d98; }
.mtag b { font-size: .98rem; font-weight: 600; letter-spacing: -.01em; }
.mtag__dots { display: flex; gap: 4px; margin-top: .25rem; }
.mtag__dots i { width: 14px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); transition: background .4s; }
.mtag__dots i.is-on { background: var(--gold); }
.mini::after { content: ""; position: absolute; inset: 0; border-radius: 30px; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); backface-visibility: hidden; }
.mini.is-sheen::after { animation: sheen 1s var(--ease-out); }
@keyframes sheen { to { transform: translateX(120%); } }
.guide { position: absolute; left: -3%; bottom: 3%; z-index: 4; width: min(300px, 80%); padding: 1rem 1.15rem 1.05rem; border-radius: 22px 22px 22px 6px; background: var(--ink); color: var(--paper); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(20px) scale(.9); transform-origin: 0 100%; transition: opacity .5s var(--ease-out), transform .7s var(--ease-soft, var(--ease-out)); pointer-events: none; }
.guide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.guide::before { content: ""; position: absolute; left: -9px; bottom: 18px; border: 10px solid transparent; border-right-color: var(--ink); border-left: 0; }
.guide__k { font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; }
.guide__steps { margin: .6rem 0 .5rem; display: grid; gap: .35rem; }
.guide__steps li { display: flex; align-items: center; gap: .55rem; font-size: .84rem; color: #a5a5a0; transition: color .4s; }
.guide__steps li b { display: grid; place-items: center; flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1.5px solid currentColor; font-size: .7rem; transition: background .4s, color .4s, border-color .4s; }
.guide__steps li.is-on { color: #fff; }
.guide__steps li.is-on b { background: var(--gold); border-color: var(--gold); color: #0b0b0b; }
.guide__s { font-size: .76rem; color: #8d8d88; }
.forge__field { position: relative; }
.forge__field::after { content: ""; position: absolute; inset: -.6rem -.8rem; border-radius: 16px; border: 2px dashed var(--fg); opacity: 0; transform: scale(.98); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); pointer-events: none; }
.forge__field.is-guide::after { opacity: .7; transform: none; }

/* fidélité: free menu badge */
.loyal { position: relative; }
.loyal__free { position: absolute; right: -8%; bottom: 13%; z-index: 2; padding: .55rem .95rem; border-radius: 12px; background: var(--gold); color: #0b0b0b; font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .6); opacity: 0; transform: rotate(-6deg) scale(.5); pointer-events: none; }
.loyal__free.is-on { opacity: 1; }
.slot--gift.is-open { font-size: 1.5rem; }

/* menus: categories in the phone */
.dish__cat { position: relative; margin-top: .9rem; padding: .3rem 0; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.dish__cat:first-child { margin-top: .2rem; }
.phone__tabs span { transition: color .3s; }

/* studio: the "après" caption */
.booth__after { position: absolute; left: 1rem; bottom: 1rem; pointer-events: none; transition: opacity .6s; }
.booth__after span { display: inline-block; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 500; border-radius: 999px; padding: .35rem .8rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.booth.is-avant .booth__after { opacity: 0; }

/* tarifs: quality control scanner, check marks, stamp, and a guarantee that breathes */
.ptable-wrap { position: relative; }
.qc { position: absolute; left: -1rem; right: -1rem; top: 0; z-index: 3; height: 2px; background: var(--fg); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg) 10%, transparent), 0 0 24px 4px color-mix(in srgb, var(--gold) 55%, transparent); pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.qc::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 46px; background: linear-gradient(transparent, color-mix(in srgb, var(--gold) 22%, transparent)); }
.qc b { position: absolute; right: 0; top: -.75rem; padding: .25rem .6rem; border-radius: 6px; background: var(--fg); color: var(--paper); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ptable li::after { content: "✓"; position: absolute; left: -.55rem; top: 50%; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; margin-top: -.575rem; border-radius: 50%; background: var(--fg); color: var(--paper); font-size: .62rem; font-weight: 800; transform: scale(0); transition: transform .45s var(--ease-soft, var(--ease-out)); }
.ptable li.is-ok::after { transform: scale(1); }
.garantie { animation: breathe 5s var(--ease-io) infinite; }
@keyframes breathe { 50% { translate: 0 -8px; rotate: -.8deg; } }
.garantie__stamp { position: absolute; right: 1.1rem; top: .9rem; z-index: 2; display: grid; justify-items: center; padding: .35rem .7rem .3rem; border: 2.5px solid var(--gold); border-radius: 8px; color: var(--gold); font-weight: 800; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.05; opacity: 0; transform: rotate(-12deg); mix-blend-mode: screen; }
.garantie__stamp small { font-size: .5rem; letter-spacing: .14em; font-weight: 700; }
.foot__bar p small { display: block; margin-top: .3rem; font-size: .76rem; opacity: .7; }

@media (max-width: 900px) {
  .station { display: none; }
  /* the plaque comes after the form, so the hold (on the lower part) shows the demo */
  .atelier__stage { order: 1; padding-top: 4.5rem; }
  .guide { left: 50%; bottom: auto; top: -1rem; width: min(320px, 92%); transform: translate(-50%, 20px) scale(.9); transform-origin: 50% 0; border-radius: 22px; }
  .guide.is-on { transform: translate(-50%, 0); }
  .guide::before { left: 50%; top: -9px; bottom: auto; margin-left: -10px; border: 10px solid transparent; border-bottom-color: var(--ink); border-top: 0; }
  .mtag { top: 0; max-width: calc(100vw - 2 * var(--gutter)); white-space: normal; text-align: center; }
  .loyal__free { right: 2%; }
  .qc { left: 0; right: 0; }
  .ptable li { padding-left: 1.7rem; }
  .ptable li::after { left: .1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .garantie { animation: none; }
}

/* =========================================================
   Round 5: turnstile plaques, rubber stamp, sticky joke, punch card, little factory details
   ========================================================= */
.mini-flip { transform-style: preserve-3d; will-change: transform; }
.loyal__count b { display: inline-block; }

/* the rubber stamp that slams the loyalty card */
.stamper { position: absolute; left: 0; top: 0; z-index: 5; width: 62px; margin: -46px 0 0 -31px; pointer-events: none; opacity: 0; transform-origin: 50% 100%; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .45)); }
.stamper svg { display: block; width: 100%; height: auto; }
.stamp-ring { position: absolute; left: 0; top: 0; z-index: 4; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 3px solid var(--peach); box-shadow: 0 0 22px rgba(243, 180, 138, .7); opacity: 0; pointer-events: none; }
.stamp-plus { position: absolute; left: 0; top: 0; z-index: 6; width: 6em; margin-left: -3em; text-align: center; font-size: 1.1rem; font-weight: 800; color: #fff; text-shadow: 0 3px 12px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; }

/* menus: the sticky-menu joke comes back on the phone */
.phone { position: relative; }
.phone__sticker { position: absolute; right: -30px; top: 64px; z-index: 3; display: grid; place-content: center; width: 88px; height: 88px; border-radius: 50%; background: #fff; color: var(--ink); border: 2px dashed var(--ink); font-size: .56rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-align: center; line-height: 1.15; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .4); rotate: 12deg; animation: wobble 4s var(--ease-io) infinite; }
.phone__sticker b { display: block; font-size: .8rem; letter-spacing: -.01em; font-weight: 800; text-transform: none; }
@keyframes wobble { 50% { rotate: 4deg; scale: 1.05; } }
.dish__end { padding: 1.1rem .4rem 1.6rem; text-align: center; font-size: .62rem; font-style: italic; color: #8b8b86; }

/* punch card in the footer */
.pointage { position: absolute; right: var(--gutter); bottom: 14%; z-index: 2; width: 280px; padding: .95rem 1.1rem 1.6rem; border-radius: 6px; background: #f3efe6 repeating-linear-gradient(transparent 0 23px, rgba(0, 0, 0, .07) 23px 24px); color: #1a1a1a; rotate: -2deg; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.pointage::before { content: ""; position: absolute; left: 50%; top: -9px; width: 46px; height: 18px; margin-left: -23px; border-radius: 4px; background: rgba(255, 255, 255, .35); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.pointage__k { display: flex; justify-content: space-between; gap: .5rem; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-bottom: .55rem; border-bottom: 1.5px solid #1a1a1a; }
.pointage__k b { font-family: ui-monospace, Menlo, monospace; letter-spacing: .04em; }
.pointage__rows { display: grid; gap: .2rem; margin-top: .5rem; }
.pointage__rows p { display: flex; justify-content: space-between; align-items: baseline; font-size: .78rem; }
.pointage__rows b { font-family: ui-monospace, Menlo, monospace; font-size: .95rem; color: #b3261e; display: inline-block; }
.pointage__rows p:first-child b { color: #1a1a1a; }
.pointage__s { margin-top: .6rem; font-size: .74rem; font-style: italic; color: #55524b; }
.pointage__holes { position: absolute; left: 1.1rem; right: 1.1rem; bottom: .55rem; display: flex; justify-content: space-between; }
.pointage__holes i { width: 9px; height: 9px; border-radius: 50%; background: #0b0b0b; transform: scale(0); }

/* welding sparks */
.sparks { position: fixed; inset: 0; z-index: 150; width: 100%; height: 100%; pointer-events: none; }

/* pressure gauge on the station plate, shift in the nav */
.station__gauge { writing-mode: horizontal-tb; display: block; width: 1.65rem; height: 1.65rem; }
.station__gauge svg { display: block; width: 100%; height: 100%; }
.nav__shift { opacity: .7; }

/* rivets on the dark plates, like real metal signs */
.garantie, .mcard--dark, .studio__offer > p {
  --rv: #3a3a37; --rh: #9a9a95;
  background-image:
    radial-gradient(circle at 15px 15px, var(--rh) 0 .8px, var(--rv) 1.5px 2.9px, transparent 3.4px),
    radial-gradient(circle at calc(100% - 15px) 15px, var(--rh) 0 .8px, var(--rv) 1.5px 2.9px, transparent 3.4px),
    radial-gradient(circle at 15px calc(100% - 15px), var(--rh) 0 .8px, var(--rv) 1.5px 2.9px, transparent 3.4px),
    radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), var(--rh) 0 .8px, var(--rv) 1.5px 2.9px, transparent 3.4px);
}

/* a hazard-striped scrollbar */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #0b0b0b; }
::-webkit-scrollbar-thumb { background: repeating-linear-gradient(-45deg, #f5f5f2 0 6px, #0b0b0b 6px 12px); border: 2px solid #0b0b0b; border-radius: 7px; }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: #f5f5f2 #0b0b0b; } }

@media (max-width: 1200px) { .nav__shift { display: none; } }
@media (max-width: 900px) {
  /* between the particle logo and the walking worker */
  .pointage { right: 0; left: 0; margin: 0 auto; bottom: 104px; width: min(270px, 86vw); padding: .75rem .95rem 1.3rem; }
  .pointage__s { display: none; }
  /* a lighter footer bar: the big particle logo already says bld */
  .foot__bar { padding-block: 1.1rem 1.5rem; gap: .8rem; }
  .foot__bar img { display: none; }
  .pointage__rows p { font-size: .72rem; }
  .phone__sticker { right: -6px; top: 36px; width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) { .phone__sticker { animation: none; } }

/* =========================================================
   Round 6: the big factory pieces
   ========================================================= */
/* --- sound toggle in the nav --- */
.nav__sound { display: inline-flex; align-items: center; gap: .55rem; height: 2.4rem; padding: 0 .9rem 0 .75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; font-size: .8rem; font-weight: 500; margin-left: .2rem; transition: background .4s, color .4s; }
.nav__sound:hover { background: rgba(255, 255, 255, .12); }
.nav__sound-ico { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.nav__sound-ico i { width: 3px; height: 4px; border-radius: 1px; background: currentColor; }
.nav__sound.is-on .nav__sound-ico i { animation: eq .9s var(--ease-io) infinite; }
.nav__sound.is-on .nav__sound-ico i:nth-child(2) { animation-delay: -.3s; }
.nav__sound.is-on .nav__sound-ico i:nth-child(3) { animation-delay: -.6s; }
.nav__sound.is-on .nav__sound-ico i:nth-child(4) { animation-delay: -.15s; }
.nav__sound.is-armed { border-style: dashed; }
@keyframes eq { 50% { height: 14px; } }

/* --- loader: the time clock --- */
.clock { position: relative; display: grid; justify-items: center; margin-top: 1.6rem; }
.clock__card { position: relative; z-index: 0; display: grid; gap: .1rem; width: 9.5rem; padding: .5rem .7rem 1.6rem; margin-bottom: -1.3rem; border-radius: 4px; background: #f3efe6 repeating-linear-gradient(transparent 0 11px, rgba(0, 0, 0, .08) 11px 12px); color: #1a1a1a; text-align: left; rotate: -3deg; box-shadow: 0 10px 20px rgba(0, 0, 0, .4); }
.clock__card small { font-size: .5rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.clock__card b { font-size: .68rem; font-weight: 600; font-family: ui-monospace, Menlo, monospace; }
.clock__body { position: relative; z-index: 1; display: grid; justify-items: center; gap: .45rem; width: 13rem; padding: .7rem .8rem .6rem; border-radius: 14px; background: linear-gradient(#2a2a2a, #161616); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 20px 40px rgba(0, 0, 0, .5); }
.clock__slot { width: 10.5rem; height: 6px; border-radius: 3px; background: #000; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .1); }
.clock__screen { display: grid; justify-items: center; width: 100%; padding: .35rem .5rem .4rem; border-radius: 6px; background: #0f1a12; box-shadow: inset 0 0 12px rgba(0, 0, 0, .8); }
.clock__screen small { font-size: .52rem; letter-spacing: .18em; text-transform: uppercase; color: #6fbf85; }
.clock__screen b { font-family: ui-monospace, Menlo, monospace; font-size: 1.5rem; letter-spacing: .08em; color: #9dffb5; text-shadow: 0 0 10px rgba(120, 255, 160, .55); font-variant-numeric: tabular-nums; }
.clock__screen.is-ok { animation: okflash .5s 2; }
@keyframes okflash { 50% { background: #1d3a26; } }
.clock__brand { font-size: .5rem; letter-spacing: .2em; text-transform: uppercase; color: #6d6d68; }

/* --- production line (desktop: a rail in the right margin) --- */
.prod { position: fixed; right: 12px; top: 50%; z-index: 40; width: 40px; display: grid; justify-items: center; gap: .45rem; padding: .55rem 0 .6rem; border-radius: 10px; background: rgba(11, 11, 11, .82); color: #f5f5f2; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .1); pointer-events: none; opacity: 0; transform: translate(14px, -50%); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.prod.is-on { opacity: 1; transform: translate(0, -50%); }
.prod__k, .prod__t { writing-mode: vertical-rl; font-size: .52rem; letter-spacing: .16em; text-transform: uppercase; color: #9d9d98; white-space: nowrap; }
.prod__t { font-size: .6rem; letter-spacing: .06em; color: #f5f5f2; text-transform: none; }
.prod__t b { font-weight: 700; color: #9d9d98; }
.prod__line { position: relative; display: grid; place-items: center; width: 100%; height: 74px; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .18) 0 2px, transparent 2px 10px) 50% var(--belt, 0) / 70% 40px; }
.prod__plate { --pc: #9a9a95; position: relative; width: 28px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #c9c9c4, #8d8d88 55%, #b9b9b4); box-shadow: 0 4px 10px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .25); transition: background .5s; }
.prod__plate.is-paint { background: var(--pc); }
.prod__plate > i { position: absolute; display: grid; place-items: center; font-style: normal; opacity: 0; transform: scale(.4); transition: opacity .35s, transform .45s var(--ease-soft); }
.prod__plate.is-qr .prod__qr, .prod__plate.is-nfc .prod__nfc, .prod__plate.is-stamp .prod__stamp, .prod__plate.is-ok .prod__ok, .prod__plate.is-box .prod__box { opacity: 1; transform: none; }
.prod__qr { right: 3px; bottom: 3px; width: 10px; height: 10px; background: #fff conic-gradient(#000 0 25%, #fff 0 50%, #000 0 75%, #fff 0) 0 0 / 4px 4px; box-shadow: 0 0 0 1px #fff; }
.prod__nfc { left: 3px; bottom: 3px; width: 9px; height: 7px; border-radius: 2px; background: #d9b04a; box-shadow: inset 0 0 0 1px #8a6a1a; }
.prod__stamp { left: 2px; top: 2px; font-size: 6px; font-weight: 800; color: #fff; border: 1px solid #fff; border-radius: 50%; width: 13px; height: 13px; rotate: -12deg; }
.prod__ok { right: -6px; top: -6px; width: 13px; height: 13px; border-radius: 50%; background: #f5f5f2; color: #0b0b0b; font-size: 8px; font-weight: 800; }
.prod__box { inset: -4px; border-radius: 4px; background: #c79a5e linear-gradient(90deg, transparent 42%, #e6d3a8 42% 58%, transparent 58%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.prod__box b { font-size: 6px; font-weight: 800; color: #5a3d17; }
.prod__plate.is-photo::after { content: ""; position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 45%, transparent 60%); }
.prod__plate.is-ship { animation: ship 1.6s var(--ease-io) infinite; }
@keyframes ship { 50% { translate: 0 -3px; } }
.prod__tool { position: absolute; left: 50%; top: 2px; z-index: 2; margin-left: -.6em; font-size: 15px; line-height: 1; opacity: 0; }
.prod__fx { position: absolute; inset: 0; pointer-events: none; }
.prod__fx.is-go { animation: fxflash .6s var(--ease-out); }
.prod__fx.fx-is-paint.is-go { background: radial-gradient(circle, var(--gold) 0 1.5px, transparent 2px) 0 0 / 7px 7px; }
@keyframes fxflash { from { opacity: 1; background-color: rgba(255, 255, 255, .5); } to { opacity: 0; background-color: transparent; } }
.prod__toast { position: absolute; right: calc(100% + 10px); top: 50%; translate: 0 -50%; padding: .5rem .8rem; border-radius: 10px; background: var(--paper); color: var(--ink); font-size: .78rem; font-weight: 600; white-space: nowrap; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateX(10px); transition: opacity .35s, transform .5s var(--ease-out); }
.prod.has-toast .prod__toast { opacity: 1; transform: none; }

/* --- control room --- */
.control { padding-block: calc(var(--nav-h) + 6vh) 12vh; }
.control__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 5vw; align-items: center; }
.control .h2 { font-size: clamp(2.3rem, 4.6vw, 4.8rem); }
.console { margin-top: 2.2rem; display: grid; gap: 1.1rem; padding: 1.2rem 1.3rem 1.3rem; border-radius: 22px; background: linear-gradient(#1b1b1b, #121212); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .8); max-width: 34rem; }
.console__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.gauge { display: grid; justify-items: center; gap: .1rem; padding: .5rem .3rem .45rem; border-radius: 14px; background: #f5f5f2; color: #0b0b0b; box-shadow: inset 0 0 0 3px #2c2c2c, inset 0 0 0 5px #bdbdb8; }
.gauge svg { width: 100%; max-width: 92px; height: auto; }
.gauge small { font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.console__leds { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #a5a5a0; }
.console__leds li { display: inline-flex; align-items: center; gap: .45rem; }
.console__leds i { width: 10px; height: 10px; border-radius: 50%; background: #3a1a17; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5); transition: background .3s, box-shadow .3s; }
.console__leds li.is-on i { background: #ffb02e; box-shadow: 0 0 10px #ffb02e; }
.console__leds li.is-go i { background: #49e07a; box-shadow: 0 0 12px #49e07a; }
.lever { display: flex; align-items: center; gap: 1.1rem; padding: .7rem 1rem .7rem .7rem; border-radius: 16px; background: #0b0b0b; color: #f5f5f2; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: box-shadow .4s; }
.lever:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.lever__base { position: relative; flex: none; width: 54px; height: 64px; border-radius: 10px; background: repeating-linear-gradient(-45deg, #f5f5f2 0 6px, #0b0b0b 6px 12px); box-shadow: inset 0 0 0 3px #0b0b0b; }
.lever__arm { position: absolute; left: 50%; bottom: 14px; width: 6px; height: 42px; margin-left: -3px; border-radius: 3px; background: linear-gradient(90deg, #8d8d88, #e5e5e0, #8d8d88); transform-origin: 50% 100%; rotate: -28deg; transition: rotate .5s var(--ease-soft); }
.lever__arm i { position: absolute; left: 50%; top: -12px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a76, #e8402c 55%, #9e2416); box-shadow: 0 4px 8px rgba(0, 0, 0, .5); }
.lever:hover .lever__arm { rotate: -18deg; }
.lever.is-ready .lever__arm i { animation: knob 1.2s var(--ease-io) infinite; }
@keyframes knob { 50% { box-shadow: 0 0 0 6px rgba(232, 64, 44, .35), 0 4px 8px rgba(0, 0, 0, .5); } }
.lever.is-pulled .lever__arm { animation: pull 1s var(--ease-io); }
@keyframes pull { 30%, 60% { rotate: 32deg; } }
.lever__txt { display: grid; gap: .15rem; }
.lever__txt b { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; }
.lever__txt small { font-size: .8rem; color: #a5a5a0; }
.console__back a { font-size: .82rem; color: #a5a5a0; border-bottom: 1px solid currentColor; }
.printer { position: relative; display: grid; justify-items: center; }
.printer__window { position: relative; z-index: 1; width: min(400px, 92%); overflow: hidden; margin-bottom: -6px; }
.tk { position: relative; padding: 1.2rem 2.1rem 1rem; color: #1b1b1b; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .78rem; line-height: 1.35; background: radial-gradient(circle at 10px 50%, #0b0b0b 0 4px, transparent 4.5px) 0 0 / 100% 22px repeat-y, radial-gradient(circle at calc(100% - 10px) 50%, #0b0b0b 0 4px, transparent 4.5px) 0 0 / 100% 22px repeat-y, repeating-linear-gradient(#fbfbf7 0 44px, #eef0e8 44px 88px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); transform: translateY(105%); }
.tk__h { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; margin-bottom: .45rem; border-bottom: 1.5px dashed #1b1b1b; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tk__row { display: flex; justify-content: space-between; gap: 1rem; padding: .18rem 0; border-bottom: 1px dotted rgba(0, 0, 0, .25); }
.tk__row span { color: #6a6a65; }
.tk__row b { font-weight: 700; text-align: right; }
.tk__sig { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .6rem; color: #6a6a65; }
.tk__sig svg { width: 110px; height: 28px; color: #1d3fbf; }
.tk__cut { margin-top: .6rem; text-align: center; font-size: .62rem; color: #8a8a85; letter-spacing: .04em; }
.printer__body { position: relative; z-index: 2; width: min(460px, 100%); height: 96px; border-radius: 18px 18px 26px 26px; background: linear-gradient(#e9e9e4, #c9c9c4); box-shadow: inset 0 2px 0 #fff, inset 0 -6px 0 #a9a9a4, 0 30px 60px -20px rgba(0, 0, 0, .8); }
.printer__slot { position: absolute; left: 8%; right: 8%; top: 12px; height: 9px; border-radius: 5px; background: #1b1b1b; box-shadow: inset 0 3px 4px #000; }
.printer__head { position: absolute; left: 8%; top: 6px; width: 34px; height: 20px; border-radius: 5px; background: linear-gradient(#5a5a55, #2a2a28); box-shadow: 0 3px 6px rgba(0, 0, 0, .4); }
.printer__brand { position: absolute; left: 1.2rem; bottom: 1.1rem; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6a6a65; }
.printer__led { position: absolute; right: 1.4rem; bottom: 1.15rem; width: 11px; height: 11px; border-radius: 50%; background: #ffb02e; box-shadow: 0 0 10px #ffb02e; animation: blink 1s infinite; }
.printer__led.is-done { background: #49e07a; box-shadow: 0 0 12px #49e07a; animation: none; }

/* --- girders and hanging safety signs --- */
.girder { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 0; pointer-events: none; }
.girder__beam { position: absolute; left: 0; right: 0; top: 0; height: 20px; background: radial-gradient(circle, #6a6a65 0 1.6px, transparent 2.2px) 0 50% / 26px 20px repeat-x, linear-gradient(#3a3a37, #1f1f1d 45%, #2c2c2a 55%, #141413); box-shadow: 0 8px 18px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .15); }
.sign { position: absolute; top: 18px; width: 210px; transform-origin: 50% 0; pointer-events: auto; will-change: transform; }
.sign--right { right: 8%; } .sign--left { left: 8%; }
.sign__chains { display: block; position: relative; height: 54px; margin: 0 26px; background: repeating-linear-gradient(#8d8d88 0 5px, transparent 5px 7px) 0 0 / 3px 100% no-repeat, repeating-linear-gradient(#8d8d88 0 5px, transparent 5px 7px) 100% 0 / 3px 100% no-repeat; }
.sign__plate { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 10px; background: #f5f5f2; color: #0b0b0b; border: 3px solid #0b0b0b; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .55), inset 0 0 0 2px #f5f5f2, inset 0 0 0 4px #0b0b0b; }
.sign__pic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #0b0b0b; font-size: 1.3rem; }
.sign__plate b { font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; }

/* --- freight elevator --- */
.lift { position: fixed; inset: 0; z-index: 110; pointer-events: none; visibility: hidden; overflow: hidden; }
.lift.is-on { visibility: visible; pointer-events: auto; }
.lift__gate { position: absolute; top: 0; bottom: 0; width: 50.5%; background: repeating-linear-gradient(45deg, transparent 0 18px, #8d8d88 18px 21px), repeating-linear-gradient(-45deg, transparent 0 18px, #8d8d88 18px 21px), #0b0b0b; box-shadow: inset 0 0 0 6px #2a2a28; }
.lift__gate--l { left: 0; } .lift__gate--r { right: 0; }
.lift__panel { position: absolute; left: 50%; top: 50%; display: grid; justify-items: center; gap: .2rem; min-width: 12rem; padding: 1rem 1.4rem 1.1rem; margin: -4.5rem 0 0 -6rem; border-radius: 16px; background: #141413; box-shadow: inset 0 0 0 2px #3a3a37, 0 30px 60px rgba(0, 0, 0, .6); opacity: 0; }
.lift__arrow { color: #ffb02e; font-size: .9rem; text-shadow: 0 0 8px #ffb02e; }
.lift__panel b { font-family: ui-monospace, Menlo, monospace; font-size: 3.2rem; line-height: 1; color: #ffb02e; text-shadow: 0 0 16px rgba(255, 176, 46, .6); font-variant-numeric: tabular-nums; }
.lift__panel small { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #a5a5a0; }

/* --- overhead crane in the catalogue --- */
.cat__rail { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 16px; background: radial-gradient(circle, #6a6a65 0 1.5px, transparent 2px) 0 50% / 24px 16px repeat-x, linear-gradient(#3a3a37, #1c1c1a 50%, #2a2a28); box-shadow: 0 6px 14px rgba(0, 0, 0, .4); pointer-events: none; }
.hook { --hk: 0; position: absolute; left: 50%; bottom: 100%; width: 3px; height: 120vh; margin-left: -1.5px; background: linear-gradient(90deg, #5a5a55, #b5b5b0, #5a5a55); opacity: var(--hk); transform: translateY(calc((1 - var(--hk)) * -70px)); pointer-events: none; }
.hook i { position: absolute; left: 50%; bottom: -12px; width: 18px; height: 18px; margin-left: -9px; border: 3px solid #b5b5b0; border-top-color: transparent; border-radius: 50%; }

@media (max-width: 1100px) {
  .station { display: none; }
  /* small screens: the production line becomes a chip in the corner */
  .prod { top: auto; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; grid-auto-flow: column; align-items: center; gap: .5rem; padding: .4rem .7rem .4rem .45rem; border-radius: 14px; transform: translateY(14px); }
  /* on a phone it only shows up for a few seconds when a poste works on the plaque */
  .prod.is-on { opacity: 0; }
  .prod.is-on.has-toast { opacity: 1; transform: none; }
  .prod__k { display: none; }
  .prod__t { writing-mode: horizontal-tb; font-size: .66rem; }
  .prod__line { width: 40px; height: 40px; background-size: 40px 70%; background-position: var(--belt, 0) 50%; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 2px, transparent 2px 10px); }
  .prod__toast { right: auto; left: auto; top: auto; bottom: calc(100% + 8px); right: 0; translate: none; font-size: .72rem; }
}
@media (max-width: 900px) {
  .nav__sound { margin-left: auto; padding: 0; width: 46px; height: 46px; justify-content: center; }
  .nav__sound-txt { display: none; }
  .nav__burger { margin-left: .5rem; }
  .control__grid { grid-template-columns: 1fr; gap: 6vh; }
  .console { max-width: none; }
  .gauge small { font-size: .52rem; letter-spacing: .1em; }
  .tk { padding: 1rem 1.7rem .9rem; font-size: .7rem; }
  .sign { width: 168px; top: 16px; }
  .sign--right { right: 4%; } .sign--left { left: 4%; }
  .sign__chains { height: 40px; }
  .sign__plate { padding: .55rem .65rem; gap: .5rem; }
  .sign__pic { width: 32px; height: 32px; font-size: 1rem; }
  .sign__plate b { font-size: .62rem; }
  .lift__panel b { font-size: 2.6rem; }
  .clock__body { width: 11.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__sound.is-on .nav__sound-ico i, .lever.is-ready .lever__arm i, .prod__plate.is-ship { animation: none; }
}

/* short phones (iPhone SE, small Android): the hero copy tightens up so it stays under the 3D logo */
@media (max-width: 900px) and (max-height: 780px) {
  .hero__content .eyebrow { display: none; }
  .pointage { bottom: 88px; padding: .6rem .85rem 1.15rem; }
  .pointage__k { font-size: .54rem; padding-bottom: .4rem; }
  .pointage__rows { gap: 0; margin-top: .3rem; }
  .pointage__rows p { font-size: .66rem; }
  .pointage__rows b { font-size: .82rem; }
  .hero__content { bottom: 6rem; }
  .hero__title { font-size: clamp(2.05rem, 9.8vw, 3.6rem); }
  .hero__note { font-size: 1.05rem; margin-top: .35rem; }
  .hero__lead { font-size: .86rem; line-height: 1.5; margin-top: .7rem; }
  .hero__ctas { margin-top: 1rem; }
  .hero__meta { bottom: 3rem; }
}
@media (max-width: 900px) and (max-height: 690px) {
  .hero__content .eyebrow { display: none; }
  .hero__lead { font-size: .8rem; }
  .hero__content { bottom: 5.4rem; }
}

/* phones held sideways: the factory is built upright, so we ask nicely */
.turn { display: none; }
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .turn { position: fixed; inset: 0; z-index: 400; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 2rem; text-align: center; background: var(--ink); color: var(--paper); }
  .turn__phone { width: 46px; height: 80px; border-radius: 10px; border: 3px solid var(--paper); position: relative; animation: turn 2.4s var(--ease-io) infinite; }
  .turn__phone::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 10px; height: 3px; margin-left: -5px; border-radius: 2px; background: var(--paper); }
  .turn b { font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em; }
  .turn small { color: #a5a5a0; font-size: .9rem; max-width: 26em; }
}
@keyframes turn { 0%, 20% { rotate: -90deg; } 50%, 80% { rotate: 0deg; } 100% { rotate: -90deg; } }

/* --- atelier: the mode d'emploi, always on screen under the plaque --- */
.howto { position: absolute; left: 50%; bottom: -1.2rem; z-index: 3; width: min(460px, 100%); transform: translateX(-50%); padding: .7rem .75rem .75rem; border-radius: 18px; background: var(--surface); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line); }
.howto__k { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 .5rem .2rem; }
.howto__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
.howto__steps button { width: 100%; display: grid; justify-items: center; gap: .3rem; padding: .5rem .2rem .45rem; border-radius: 12px; border: 1px solid var(--line); font-size: .68rem; font-weight: 500; line-height: 1.15; text-align: center; color: var(--fg-2); transition: color .35s, border-color .35s, background .35s, box-shadow .35s; }
.howto__steps button:hover { border-color: var(--fg); color: var(--fg); }
.howto__steps b { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1.5px solid currentColor; font-size: .72rem; font-weight: 800; transition: background .35s, color .35s, border-color .35s; }
.howto__steps button.is-now { color: var(--fg); border-color: var(--fg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 45%, transparent); }
.howto__steps button.is-now b { background: var(--gold); border-color: var(--gold); color: #0b0b0b; animation: hpulse 1.4s var(--ease-io) infinite; }
.howto__steps button.is-done { color: var(--fg); }
.howto__steps button.is-done b { background: var(--fg); border-color: var(--fg); color: var(--paper); animation: none; }
@keyframes hpulse { 50% { transform: scale(1.12); } }
.forge__field.is-flash::after { animation: fflash .9s var(--ease-out); }
@keyframes fflash { 0%, 60% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.btn.is-pulse { animation: ctapulse 1.6s var(--ease-io) infinite; }
@keyframes ctapulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--gold) 45%, transparent); } }
/* room for it: the plaque sits a bit higher, the bubble and the scribble move out of the way */
@media (min-width: 901px) {
  .atelier__stage { padding-bottom: 5.5rem; }
  .guide { bottom: 30%; }
  .atelier__note { bottom: auto; top: 0; }
}
@media (max-width: 900px) {
  .howto { position: relative; left: auto; bottom: auto; transform: none; width: 100%; margin-top: 1.4rem; }
  .howto__steps button { font-size: .62rem; padding: .45rem .1rem .4rem; }
}
@media (prefers-reduced-motion: reduce) { .howto__steps button.is-now b, .btn.is-pulse { animation: none; } }

/* =========================================================
   Touch version (phones, tablets): native scroll, the page paints its own backgrounds,
   the 3D canvas is a transparent layer on top, nothing holds, demos play on their own
   ========================================================= */
.is-touch [data-theme="dark"] { --sec-bg: #0b0b0b; --sec-rings: rgba(255, 255, 255, .032); }
.is-touch [data-theme="light"] { --sec-bg: #f5f5f2; --sec-rings: rgba(0, 0, 0, .034); }
.is-touch .hero, .is-touch .sec { background: repeating-radial-gradient(circle at 86% 140px, transparent 0 46px, var(--sec-rings) 46px 92px) var(--sec-bg); }
/* the canvas comes in front once the hero's door dive is over (see World.update) */
.is-touch.gl-front .gl { z-index: 5; }
/* the hero is painted by the canvas behind it (it is pinned, so nothing can lag) */
.is-touch .hero { background: none; }
/* a wavy seam where black meets white, painted by the page so it can never lag behind the scroll */
.is-touch .sec.wave::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; z-index: 2; height: 24px; background: var(--wave-c); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath d='M0 0H400V10C360 22 320 2 270 11S170 23 120 11 40 1 0 11Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath d='M0 0H400V10C360 22 320 2 270 11S170 23 120 11 40 1 0 11Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
/* no holds */
.is-touch .pin__inner { position: relative; top: auto !important; }
.is-touch .pin__spacer { display: none; }
/* shorter 3D scenes */
.is-touch .hero { height: 320vh; }
.is-touch .nfc, .is-touch .avis { height: 230vh; }
.is-touch .sites { height: 230vh; }
/* the assembly line becomes a carousel you swipe: title above, plaques only inside, closing words below */
.is-touch .cat { height: auto !important; }
.is-touch .cat__sticky { position: relative; height: auto; overflow: visible; padding: calc(var(--nav-h) + 5vh) 0 7vh; }
.is-touch .cat__intro, .is-touch .cat__outro { width: auto; padding: 0 var(--gutter); }
.is-touch .cat__outro { margin-top: 2.2rem; }
.is-touch .cat__hint { margin-top: 1rem; }
.is-touch .cat__line { position: relative; margin-top: 1.6rem; }
.is-touch .cat__track { position: relative; inset: auto; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; gap: 18px; padding: 8vh calc(50vw - 125px) 78px; transform: none !important; }
.is-touch .cat__track::-webkit-scrollbar { display: none; }
.is-touch .card { width: 250px; scroll-snap-align: center; scroll-snap-stop: always; }
.is-touch .card.is-landed { animation: land .9s var(--ease-soft) both; }
@keyframes land { 0% { translate: 0 -22px; rotate: 2.5deg; } 55% { translate: 0 4px; rotate: -.5deg; } 100% { translate: 0 0; rotate: 0deg; } }
.is-touch .card .hook { --hk: 1; transition: opacity .5s .45s, transform .6s .45s; }
.is-touch .card.is-landed .hook { --hk: 0; }
.is-touch .cat__rail { top: 0; }
.is-touch .belt { bottom: 22px; }
.is-touch .cat__progress { left: calc(50vw - 125px); right: calc(50vw - 125px); bottom: 8px; }
/* instagram: the whole feed, no window */
.is-touch .igw__window { height: auto !important; }
.is-touch .igw__window::after { display: none; }
.is-touch .igw__grid { transform: none !important; }
/* replay for the atelier demo */
.howto__replay { margin-left: .4rem; padding: .15rem .55rem; border-radius: 999px; border: 1px solid var(--line); font-size: .6rem; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--fg); }
.howto__replay[hidden] { display: none; }

/* touch version: sections are plain blocks now; even spacing, no tall empty bands */
.is-touch .atelier, .is-touch .fid, .is-touch .menus, .is-touch .studio, .is-touch .terrain, .is-touch .insta, .is-touch .tarifs, .is-touch .control, .is-touch .contact, .is-touch .sites {
  min-height: 0; padding-top: calc(var(--nav-h) + 7vh); padding-bottom: 7vh; }
.is-touch .sites { padding: 0; }
.is-touch .atelier__stage { min-height: 0; }
/* the safety signs all hang on the right on a phone, clear of the titles */
@media (max-width: 900px) {
  .is-touch .sign--left { left: auto; right: 4%; }
  .is-touch .sign { width: 150px; }
  .is-touch .sign__chains { height: 30px; }
}
/* studio: the pre-rendered products */
.booth__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; transition: filter .8s var(--ease-out); animation: sway 5s var(--ease-io) infinite; }
.booth.is-avant .booth__view .booth__img { filter: sepia(.75) saturate(.65) contrast(.82) brightness(1.18) blur(1.4px); }
@keyframes sway { 50% { translate: 0 -5px; } }
@media (prefers-reduced-motion: reduce) { .booth__img, .is-touch .card.is-landed { animation: none; } }

/* =========================================================
   Touch version, smoothness pass (iPhone): pinned scenes must be pinned by the compositor
   ========================================================= */
/* no clipping ancestor above a sticky scene (WebKit then re-positions it late every frame: it trembles);
   the few things that stuck out sideways are clipped where they live instead */
.is-touch body, .is-touch main { overflow-x: visible; }
.is-touch .pin__inner { overflow-x: clip; }
.is-touch .hazard { transform: rotate(-1.6deg) scaleX(.994); }
/* the nav: plain colours that follow the section under it, instead of a blend mode recomputed every frame */
.is-touch .nav { mix-blend-mode: normal; color: #f5f5f2; transition: transform .8s var(--ease-out), color .35s; }
.is-touch .nav.nav--light { color: #0b0b0b; }
.is-touch .nav.nav--light .nav__logo img { filter: invert(1); }
.is-touch .nav__burger { border-color: color-mix(in srgb, currentColor 50%, transparent); }
.is-touch .nav__burger span { background: currentColor; }
.is-touch .nav__sound { color: inherit; border-color: color-mix(in srgb, currentColor 45%, transparent); }
.is-touch .nav.nav--light .nav__cta { background: #0b0b0b; color: #f5f5f2; }
.is-touch .nav .beacon { background: currentColor; }
/* the 3D layer is taken off the screen when it has nothing to draw */
.is-touch.gl-idle .gl { visibility: hidden; }
/* no live blur behind things that scroll */
.is-touch .prod { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(11, 11, 11, .95); }
.is-touch .tmap__chip, .is-touch .tmap__legend, .is-touch .screen__hint span { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(15, 15, 15, .92); }
.is-touch .card, .is-touch .mcard { will-change: auto; }
/* poste 04: say it plainly that the line moves sideways */
.cat__swipe { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1rem var(--gutter) 0; }
.cat__swipe p { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; justify-content: center; font-size: .82rem; color: var(--fg-2); text-align: center; }
.cat__swipe b { color: var(--fg); }
.cat__count { display: inline-block; min-width: 3.4em; padding: .15rem .5rem; border-radius: 999px; background: var(--fg); color: var(--ink); font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cat__hand { display: inline-block; font-size: 1.1rem; animation: swipeHand 1.6s var(--ease-io) infinite; }
.cat__swipe.is-used .cat__hand { animation: none; }
@keyframes swipeHand { 0%, 100% { translate: 10px 0; rotate: 8deg; } 50% { translate: -12px 0; rotate: -10deg; } }
.cat__arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-size: 1.5rem; line-height: 1; transition: opacity .3s, transform .3s; }
.cat__arrow:active { transform: scale(.92); }
.cat__arrow:disabled { opacity: .3; }
@media (prefers-reduced-motion: reduce) { .cat__hand { animation: none; } }
/* the swinging signs stay inside the screen; the production toast slides up instead of sideways */
.is-touch .girder { overflow-x: clip; }
@media (max-width: 1100px) {
  .is-touch .prod__toast { transform: translateY(6px); max-width: calc(100vw - 24px); }
  .is-touch .prod.has-toast .prod__toast { transform: none; }
}

/* footer, touch version: the particle logo and the walking worker are part of the page */
.foot__dust { position: absolute; left: 8%; top: calc(var(--nav-h) + 2vh); width: 84%; aspect-ratio: 1400 / 823; pointer-events: none; }
@media (max-height: 700px) { .foot__dust { left: 15%; width: 70%; } }
@media (min-width: 901px) { .foot__dust { left: 25%; width: 50%; top: 10vh; } }
.walker { position: absolute; left: 0; bottom: 2px; z-index: 2; width: 44px; height: 76px; pointer-events: none; animation: walkAcross 17s linear infinite; }
.walker i { display: block; width: 100%; height: 100%; background: url("../assets/crew/walker.webp") 0 0 / 528px 76px no-repeat; animation: walkCycle .9s steps(12) infinite; }
@keyframes walkCycle { to { background-position: -528px 0; } }
@keyframes walkAcross {
  0% { translate: -60px 0; scale: 1 1; }
  49.99% { translate: calc(100vw + 16px) 0; scale: 1 1; }
  50% { translate: calc(100vw + 16px) 0; scale: -1 1; }
  100% { translate: -60px 0; scale: -1 1; }
}
@media (prefers-reduced-motion: reduce) { .walker, .walker i { animation: none; } .walker { left: 6%; } }
/* the worker walks out of the screen to turn around: his walkway is clipped (no sideways page scroll) */
.is-touch .foot__stage { overflow-x: clip; }
