/* L'atelier du tailleur, aux couleurs du logo dyldel.
   Noir smoking, blanc cassé, rouge du nœud papillon, gris.
   Trois fils : gris = IT, rouge = marketing, blanc = ventes. */
:root {
  --cloth: #0b0b0d;
  --cloth-2: #17171a;
  --chalk: #f7f5f0;
  --paper: #efece4;
  --ink: #0b0b0d;
  --lining: #e0313f;
  --mute: #b9b7b0;
  --accent: #e0313f;
  /* les trois fils, sur fond sombre */
  --cobalt: #b9b7b0;
  --tie: #e0313f;
  --gold: #f7f5f0;
  --tape: #f7f5f0;
  --line: rgb(247 245 240 / 0.2);

  --display: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;

  --tape-w: 26px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section: clamp(6rem, 13vw, 12rem);
  --ease: cubic-bezier(0.16, 0.84, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--cloth); }

body {
  margin: 0;
  background: var(--cloth);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.2rem);
  line-height: 1.6;
  overflow-x: clip;
}

h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
/* La Bodoni perd ses déliés en grand : on fige une taille optique basse pour garder des traits lisibles. */
h1, h2, h3, .masthead-name, .marquee-item, .panel-figure, .panel-closing, .offer-fit, .path-steps time, .voice blockquote, .wordmark span {
  font-optical-sizing: none; font-variation-settings: "opsz" 14;
}
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px dashed var(--accent); outline-offset: 5px; }

.skip { position: absolute; left: var(--gutter); top: -4rem; background: var(--chalk); color: var(--ink); padding: 0.5rem 1rem; z-index: 100; }
.skip:focus { top: 0.75rem; }

h2 {
  font-family: var(--display); font-weight: 650;
  font-size: clamp(2.2rem, 1.1rem + 4.8vw, 5.75rem);
  line-height: 1; letter-spacing: -0.02em; text-wrap: balance;
}

/* ---------- Étoffes de fond ---------- */
/* flanelle à rayures craie */
.cloth {
  background-color: var(--cloth);
  background-image: repeating-linear-gradient(90deg, rgb(247 245 240 / 0.045) 0 1px, transparent 1px 30px);
}
/* papier de patron quadrillé */
.paper {
  background-color: var(--paper); color: var(--ink);
  background-image:
    linear-gradient(rgb(11 11 13 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(11 11 13 / 0.07) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}
.paper { --cobalt: #8d8b84; --gold: #0b0b0d; }
/* doublure satinée, rouge du nœud papillon */
.lining {
  --accent: #0b0b0d; color: var(--ink);
  background-color: var(--lining);
  background-image:
    linear-gradient(115deg, rgb(255 255 255 / 0.12), transparent 30%, rgb(0 0 0 / 0.12) 62%, rgb(255 255 255 / 0.08)),
    repeating-linear-gradient(45deg, rgb(0 0 0 / 0.05) 0 2px, transparent 2px 7px);
}

/* ---------- Point de couture ---------- */
.stitch {
  height: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 12px, transparent 12px 20px);
  opacity: 0.55;
}
.js:not(.motion-off) .stitch[data-sew] { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease); }
.js:not(.motion-off) .stitch[data-sew].is-in { clip-path: inset(0); }

/* ---------- Couches fixes ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 6%); } 80% { transform: translate(5%, 2%); } 100% { transform: translate(0, 0); }
}

/* mètre ruban : il défile avec la page et mesure la descente */
.tape {
  --ty: 0px;
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--tape-w); z-index: 45;
  background-color: var(--tape);
  background-image:
    repeating-linear-gradient(to bottom, #1b1b1b 0 1.5px, transparent 1.5px 40px),
    repeating-linear-gradient(to bottom, #1b1b1b 0 1px, transparent 1px 8px);
  background-size: 16px calc(100% + 40px), 8px calc(100% + 40px);
  background-position: right var(--ty), right var(--ty);
  background-repeat: no-repeat;
  box-shadow: 2px 0 12px rgb(0 0 0 / 0.35), inset -1px 0 0 rgb(11 11 13 / 0.25);
}
.tape-reading {
  position: fixed; left: calc(var(--tape-w) + 0.75rem); bottom: 1rem; z-index: 45;
  font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums;
  color: #fff; mix-blend-mode: difference; pointer-events: none;
}

.cursor {
  position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: #fff; mix-blend-mode: difference;
  pointer-events: none; z-index: 70; opacity: 0;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), opacity 0.3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 72px; height: 72px; margin: -36px 0 0 -36px; }

/* rideau d'ouverture : trois lés d'étoffe */
.curtain { position: fixed; inset: 0; z-index: 80; display: flex; pointer-events: none; }
.curtain span { flex: 1; transform-origin: 50% 0; animation: lift 1s cubic-bezier(0.7, 0, 0.2, 1) forwards; }
.curtain span:nth-child(1) { background: var(--cloth-2); animation-delay: 0.1s; }
.curtain span:nth-child(2) { background: var(--lining); animation-delay: 0.2s; }
.curtain span:nth-child(3) { background: var(--paper); animation-delay: 0.3s; }
@keyframes lift { to { transform: scaleY(0); } }
html:not(.js) .curtain, .motion-off .curtain { display: none; }

/* ---------- En-tête ---------- */
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.4rem var(--gutter) 1.4rem calc(var(--gutter) + var(--tape-w));
  padding-block: 0.9rem;
  font-size: 0.95rem; font-weight: 500; color: var(--chalk);
  background: rgb(11 11 13 / 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform 0.5s var(--ease);
}
.masthead.is-hidden:not(:focus-within) { transform: translateY(-110%); }
.masthead a { text-decoration: none; position: relative; }
.masthead-nav a::after, .masthead-lang::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 8px);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.4s var(--ease);
}
.masthead-nav a:hover::after, .masthead-lang:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.masthead-name { margin-right: auto; display: inline-flex; align-items: center; }
.masthead-name img { display: block; height: 2.6rem; width: auto; }
.masthead-nav { display: flex; gap: 1.5rem; }

/* sigle : un bouton à trois trous */
.mark { position: relative; width: 1.5em; height: 1.5em; margin-right: 0.6em; border-radius: 50%; border: 1.5px solid currentColor; transition: transform 0.8s var(--ease); }
.mark i { position: absolute; width: 0.24em; height: 0.24em; border-radius: 50%; background: currentColor; }
.mark i:nth-child(1) { left: 0.33em; top: 0.38em; }
.mark i:nth-child(2) { right: 0.33em; top: 0.38em; }
.mark i:nth-child(3) { left: calc(50% - 0.12em); bottom: 0.3em; }
.masthead-name:hover .mark { transform: rotate(240deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  padding: clamp(5.5rem, 12vh, 8rem) var(--gutter) clamp(2rem, 5vh, 3.5rem) calc(var(--gutter) + var(--tape-w));
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: clip;
}
.threads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* bande vide réservée aux fils : le texte ne s'y trouve jamais */
.thread-line { height: clamp(4rem, 11vh, 7rem); margin-top: clamp(2rem, 5vh, 3.5rem); }
.contact .thread-line { width: 100%; margin-top: clamp(2rem, 6vh, 5rem); }
.hero-title {
  position: relative;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.5rem, 7.2vw, 9rem);
  line-height: 1; letter-spacing: -0.025em;
}
.line { display: block; overflow: clip; padding: 0.04em 0.08em 0.16em; margin: -0.04em -0.08em -0.16em; }
.line-in { display: block; }
.line:nth-child(n + 2) .line-in { font-style: italic; font-weight: 600; padding-left: 0.6em; }
.js:not(.motion-off) .line-in { animation: rise 1s var(--ease) both; animation-delay: calc(0.55s + var(--n) * 0.1s); }
@keyframes rise { from { transform: translateY(115%); } }

.hero-foot {
  position: relative; margin-top: clamp(1.5rem, 4vh, 3rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end;
}
.hero-lead { font-size: 1.15em; line-height: 1.5; max-width: 34rem; text-wrap: pretty; }
.hero-actions { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.monogram { grid-column: 2; grid-row: 1 / span 2; align-self: end; width: clamp(5.5rem, 9vw, 8rem); height: auto; overflow: visible; }
.monogram .bow { transform-box: fill-box; transform-origin: 50% 50%; }
.js:not(.motion-off) .monogram .bow { animation: adjust 1.6s var(--ease) 1.5s both; }
.monogram:hover .bow { animation: adjust 1.2s var(--ease); }
@keyframes adjust { 0% { transform: rotate(-24deg) scale(0.6); } 45% { transform: rotate(9deg) scale(1.08); } 70% { transform: rotate(-4deg); } 100% { transform: none; } }
.hero-hint {
  display: none;
  grid-column: 2; grid-row: 1 / span 2; align-self: end;
  font-size: 0.82rem; font-weight: 550; color: var(--mute);
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.hero-hint span { width: 2px; height: 4.5rem; position: relative; overflow: hidden; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 10px); }
.hero-hint span::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, var(--chalk) 0 6px, transparent 6px 10px); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* bouton : une étiquette tissée, cousue aux quatre côtés */
.button {
  position: relative; display: inline-block; isolation: isolate; overflow: hidden;
  font-weight: 650; font-size: 0.98rem; letter-spacing: 0.01em; text-decoration: none;
  background: var(--chalk); color: var(--ink);
  padding: 1.05rem 1.9rem; border-radius: 3px;
  outline: 1.5px dashed rgb(11 11 13 / 0.55); outline-offset: -7px;
  will-change: transform;
}
.button::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #e0313f; transform: translateY(101%); transition: transform 0.45s var(--ease);
}
.button:hover::before { transform: translateY(0); }
.button:focus-visible { outline: 2px dashed var(--accent); outline-offset: 5px; }
.button-large { font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.45rem); padding: 1.35rem 2.5rem; }
.textlink {
  font-weight: 550; font-size: 0.98rem; text-decoration: none; padding-bottom: 5px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 10px) 0 100% / 100% 2px no-repeat;
  transition: color 0.2s;
}
.textlink:hover { color: var(--accent); }

/* ---------- Lisière défilante ---------- */
.marquee {
  overflow: clip; background: var(--cloth-2);
  border-block: 1px solid var(--accent);
  box-shadow: inset 0 5px 0 var(--cloth-2), inset 0 6px 0 rgb(224 49 63 / 0.45), inset 0 -5px 0 var(--cloth-2), inset 0 -6px 0 rgb(224 49 63 / 0.45);
  padding: clamp(1.4rem, 2.6vw, 2.4rem) 0;
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item {
  font-family: var(--display); font-style: italic; font-weight: 650;
  font-size: clamp(2.2rem, 5.4vw, 5.25rem); line-height: 1.05; letter-spacing: -0.02em;
  white-space: nowrap; display: inline-flex; align-items: center; color: var(--chalk);
}
.marquee-item:nth-child(even) { font-style: normal; color: var(--accent); }
.marquee-item::after {
  content: ""; width: 0.24em; height: 0.24em; margin: 0 0.5em; border-radius: 50%;
  border: 0.035em solid var(--accent);
  background: radial-gradient(circle, var(--accent) 0 22%, transparent 24%);
}

/* ---------- Cas : la liasse d'échantillons ---------- */
.case { padding-top: var(--section); }
.case-head {
  padding: 0 var(--gutter) 0 calc(var(--gutter) + var(--tape-w));
  display: grid; gap: 2rem; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end;
}
.case-head p { max-width: 30rem; color: var(--chalk); opacity: 0.85; }

.hscroll-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: clip; }
.hscroll-track { display: flex; align-items: stretch; gap: clamp(1rem, 2vw, 2rem); padding: 0 var(--gutter) 0 calc(var(--gutter) + var(--tape-w)); will-change: transform; }
.panel {
  --pink: 16px;   /* dents des ciseaux cranteurs */
  position: relative; overflow: hidden; flex: none;
  width: min(68vw, 58rem); min-height: min(68svh, 40rem);
  padding: clamp(2.5rem, 4vw, 4rem) clamp(1.75rem, 3.5vw, 3.5rem);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  -webkit-mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--pink) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--pink) 51% repeat-x;
          mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--pink) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--pink) 51% repeat-x;
}
/* œillet de la liasse */
.panel::before {
  content: ""; position: absolute; top: 1.6rem; right: 1.8rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--cloth); box-shadow: 0 0 0 3px rgb(0 0 0 / 0.18), inset 0 2px 3px rgb(0 0 0 / 0.5);
}
.panel > :not(.panel-art) { position: relative; z-index: 1; }
.panel h3 {
  font-family: var(--display); font-weight: 650;
  font-size: clamp(2.3rem, 5.6vw, 6rem); line-height: 0.95; letter-spacing: -0.025em; text-wrap: balance; max-width: 88%;
}
.panel-text { max-width: min(29rem, 60%); font-size: 1.08em; line-height: 1.45; }
.panel-stat { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; max-width: 64%; }
.panel-figure { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(3.25rem, 7.5vw, 8rem); line-height: 0.85; letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; }
.panel-unit { font-weight: 600; font-size: 0.95rem; }

.cloth-pinstripe { color: var(--chalk); background: #1d1d21 repeating-linear-gradient(90deg, rgb(247 245 240 / 0.11) 0 1px, transparent 1px 26px); }
.cloth-linen {
  color: var(--ink); background-color: #f7f5f0;
  background-image: repeating-linear-gradient(0deg, rgb(11 11 13 / 0.06) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgb(11 11 13 / 0.06) 0 1px, transparent 1px 4px);
}
.cloth-twill { color: var(--ink); background: #e0313f repeating-linear-gradient(45deg, rgb(0 0 0 / 0.07) 0 2px, transparent 2px 6px); }
.cloth-check {
  color: var(--chalk); background-color: #37373c;
  background-image:
    linear-gradient(rgb(247 245 240 / 0.12) 1px, transparent 1px), linear-gradient(90deg, rgb(247 245 240 / 0.12) 1px, transparent 1px),
    repeating-linear-gradient(45deg, rgb(0 0 0 / 0.16) 0 2px, transparent 2px 5px);
  background-size: 4rem 4rem, 4rem 4rem, auto;
}
.cloth-camel {
  color: var(--ink); background-color: #b9b7b0;
  background-image: repeating-linear-gradient(60deg, rgb(0 0 0 / 0.09) 0 2px, transparent 2px 7px), repeating-linear-gradient(120deg, rgb(255 255 255 / 0.1) 0 2px, transparent 2px 7px);
}

.panel-art { position: absolute; right: 5%; bottom: 10%; width: 26%; height: auto; max-height: 42%; opacity: 0.8; will-change: transform; }
.panel-art * { vector-effect: non-scaling-stroke; }
.js:not(.motion-off) .panel-art .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease); transition-delay: calc(var(--d, 0) * 110ms + 150ms); }
.js:not(.motion-off) .panel.is-in .draw { stroke-dashoffset: 0; }
.js:not(.motion-off) .panel-art .grow { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms + 150ms); }
.js:not(.motion-off) .panel.is-in .grow { transform: none; }
.js:not(.motion-off) .panel-art .pop { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: 50% 50%; transition: opacity 0.5s, transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 110ms + 150ms); }
.js:not(.motion-off) .panel.is-in .pop { opacity: 1; transform: none; }

.panel-closing {
  flex: none; width: min(70vw, 46rem); align-self: center; padding: 0 clamp(1rem, 4vw, 4rem);
  font-family: var(--display); font-style: italic; font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.8rem); line-height: 1.1; text-wrap: balance;
}

/* ---------- Lecture croisée, sur papier de patron ---------- */
.reading {
  padding: var(--section) var(--gutter) var(--section) calc(var(--gutter) + var(--tape-w));
  display: grid; gap: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start;
}
.reading-head { display: grid; gap: 1.75rem; position: sticky; top: 6rem; }
.reading-head p { max-width: 26rem; }

/* trois bobines */
.venn { position: relative; width: 11rem; height: 10rem; isolation: isolate; }
.venn-dot {
  position: absolute; width: 6.2rem; height: 6.2rem; border-radius: 50%;
  mix-blend-mode: multiply; transition: opacity 0.4s, transform 0.6s var(--ease);
}
.venn-it        { background: var(--cobalt); left: 0;    top: 0; }
.venn-marketing { background: var(--tie);    left: 4rem; top: 0; }
.venn-sales     { background: var(--gold);   left: 2rem; top: 3.4rem; }
.venn-dot.is-off { opacity: 0.1; transform: scale(0.82); }

.reading-toggles { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.toggle {
  --c: var(--ink);
  display: inline-flex; align-items: center; gap: 0.6rem;
  font: inherit; font-weight: 650; font-size: 0.98rem;
  color: var(--ink); background: rgb(255 255 255 / 0.45);
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 0.65rem 1.2rem 0.65rem 0.85rem; cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease), background-color 0.25s;
}
.toggle:hover { transform: translateY(-2px); }
.toggle:active { transform: scale(0.96); }
.toggle:focus-visible, .lining :focus-visible { outline-color: var(--ink); }
.toggle-it { --c: var(--cobalt); } .toggle-marketing { --c: var(--tie); } .toggle-sales { --c: var(--gold); }
.swatch { width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--c); border: 2px solid var(--c); transition: background-color 0.25s; }
.toggle[aria-pressed="false"] { border-style: dashed; background: transparent; opacity: 0.6; text-decoration: line-through; }
.toggle[aria-pressed="false"] .swatch { background: transparent; }

.reading-list { border-top: 1.5px solid var(--ink); }
.topic {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem 2rem; flex-wrap: wrap;
  padding: 1.1rem 0;
  background: repeating-linear-gradient(90deg, rgb(11 11 13 / 0.4) 0 8px, transparent 8px 13px) 0 100% / 100% 1px no-repeat;
  transition: opacity 0.35s, transform 0.5s var(--ease);
}
.topic-label { font-weight: 550; font-size: 1.08em; line-height: 1.35; background: linear-gradient(currentColor, currentColor) 0 55% / 0 1px no-repeat; transition: background-size 0.45s var(--ease); }
.topic-needs { display: flex; gap: 1rem; font-size: 0.82rem; font-weight: 600; }
.need { display: inline-flex; align-items: center; gap: 0.4rem; }
.need::before { content: ""; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--c); }
.need-it { --c: var(--cobalt); } .need-marketing { --c: var(--tie); } .need-sales { --c: var(--gold); }
.topic.is-uncovered { opacity: 0.45; transform: translateX(1.25rem); }
.topic.is-uncovered .topic-label { background-size: 100% 1px; }
.reading-count { margin-top: 1.75rem; font-weight: 700; font-size: 1.1rem; }

/* ---------- Offres ---------- */
.offers { padding: var(--section) var(--gutter) var(--section) calc(var(--gutter) + var(--tape-w)); }
.offers h2 { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.offer {
  --c: var(--tie); --on: var(--ink);
  position: relative; isolation: isolate;
  display: grid; gap: 1.25rem 2rem; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  padding: clamp(2.25rem, 4vw, 3.75rem) 5rem clamp(2.25rem, 4vw, 3.75rem) 0;
  background: repeating-linear-gradient(90deg, var(--line) 0 12px, transparent 12px 20px) 0 0 / 100% 2px no-repeat;
}
.offer:nth-of-type(2) { --c: var(--cobalt); }
.offer:nth-of-type(3) { --c: var(--gold); }
.offer::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1) 0 calc((var(--gutter) + var(--tape-w)) * -1); z-index: -1;
  background: var(--c) repeating-linear-gradient(45deg, rgb(0 0 0 / 0.1) 0 2px, transparent 2px 7px);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.55s var(--ease);
}
.offer h3 {
  font-family: var(--display); font-weight: 650;
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3.3rem); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance;
  transition: transform 0.5s var(--ease);
}
.offer-aka { font-weight: 600; font-size: 0.92rem; margin-top: 1rem; display: flex; align-items: center; gap: 0.55rem; }
.offer-aka::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--c); flex: none; }
.offer-body { display: grid; gap: 1rem; max-width: 36rem; }
.offer-fit { font-style: italic; opacity: 0.85; }
.offer-arrow {
  position: absolute; right: 0; top: clamp(2.25rem, 4vw, 3.75rem); width: clamp(2.75rem, 4vw, 4rem); height: auto;
  opacity: 0.45; transform: rotate(-45deg); transition: transform 0.6s var(--ease), opacity 0.4s;
}
@media (hover: hover) {
  .offer:hover { color: var(--on); }
  .offer:hover .offer-aka::before { background: currentColor; }
  .offer:hover::before { transform: scaleY(1); }
  .offer:hover h3 { transform: translateX(1rem); }
  .offer:hover .offer-arrow { opacity: 1; transform: rotate(0deg) scale(1.1); }
}

/* ---------- Références : le carnet de commandes, sur papier ---------- */
.refs { padding: var(--section) var(--gutter) var(--section) calc(var(--gutter) + var(--tape-w)); }
.refs-head {
  display: grid; gap: 2rem; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.refs-head p { max-width: 30rem; }
.ref {
  position: relative;
  display: grid; gap: 0.75rem 2rem; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: baseline;
  padding: clamp(1.5rem, 2.6vw, 2.25rem) 0;
  background: repeating-linear-gradient(90deg, rgb(11 11 13 / 0.45) 0 12px, transparent 12px 20px) 0 0 / 100% 2px no-repeat;
}
.ref::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 4px; width: 0; background: var(--accent);
  transition: width 0.5s var(--ease);
}
.ref h3 {
  font-family: var(--display); font-weight: 650;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.9rem); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance;
  transition: transform 0.5s var(--ease);
}
.ref-kind { font-weight: 600; font-size: 0.92rem; margin-top: 0.6rem; display: flex; align-items: center; gap: 0.55rem; }
.ref-kind::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--accent); flex: none; }
.ref-text { max-width: 38rem; }
@media (hover: hover) {
  .ref:hover::before { width: 100%; }
  .ref:hover h3 { transform: translateX(0.75rem); }
}

/* ---------- Parcours, sur la doublure ---------- */
.path {
  padding: var(--section) var(--gutter) var(--section) calc(var(--gutter) + var(--tape-w));
  display: grid; gap: 2.5rem 2rem; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start;
}
.path h2 { position: sticky; top: 6rem; font-style: italic; }
.path-body { position: relative; padding-left: 2.5rem; }
/* la couture : un fil d'or tiré par le défilement */
.path-rail { position: absolute; left: 0; top: 0.5rem; bottom: 6.5rem; width: 2px; background: repeating-linear-gradient(to bottom, rgb(11 11 13 / 0.3) 0 8px, transparent 8px 14px); }
.path-fill { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, var(--accent) 0 8px, transparent 8px 14px); transform-origin: 50% 0; transform: scaleY(0); }
.path-steps li {
  position: relative; display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline;
  padding: 1.6rem 0; border-bottom: 1px solid rgb(11 11 13 / 0.25);
  opacity: 0.7; transition: opacity 0.4s;
}
/* un bouton par étape */
.path-steps li::before {
  content: ""; position: absolute; left: calc(-2.5rem - 7px); top: 2.2rem; width: 16px; height: 16px; border-radius: 50%;
  background-color: var(--lining); border: 2px solid rgb(11 11 13 / 0.55);
  transition: background-color 0.4s, border-color 0.4s, transform 0.6s var(--ease);
}
.path-steps li.is-on { opacity: 1; transform: none; }
.path-steps li.is-on::before { background-color: var(--accent); border-color: var(--accent); transform: scale(1.2); }
.path-steps time { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 0.9; font-variant-numeric: lining-nums; }
.path-missions { margin-top: 2.5rem; }
.path-missions strong { font-weight: 700; font-size: 0.9em; display: block; margin-bottom: 0.25rem; color: var(--accent); }
html:not(.js) .path-steps li { opacity: 1; transform: none; }

/* ---------- Recommandations ---------- */
.voices { padding: var(--section) var(--gutter) var(--section) calc(var(--gutter) + var(--tape-w)); display: grid; gap: clamp(3rem, 6vw, 6rem); }
.voices h2 { max-width: 16em; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); font-weight: 600; color: var(--accent); }
.voice blockquote { font-family: var(--display); font-style: italic; font-weight: 550; font-size: clamp(1.6rem, 1rem + 2.6vw, 3.4rem); line-height: 1.18; letter-spacing: -0.015em; max-width: 21em; }
.voice:nth-of-type(2) { justify-self: end; }
.voice figcaption { margin-top: 2rem; display: grid; gap: 0.15rem; font-size: 0.92rem; }
.voice figcaption strong { font-weight: 700; }
.voice figcaption span { color: var(--mute); }
.js:not(.motion-off) [data-scrub] .w { opacity: 0.45; transition: opacity 0.3s; }
.js:not(.motion-off) [data-scrub] .w.is-lit { opacity: 1; }
.voices-note { font-size: 0.9em; color: var(--mute); }

/* ---------- Contact ---------- */
.contact {
  position: relative; overflow: clip; min-height: 100svh;
  padding: var(--section) var(--gutter) var(--section) calc(var(--gutter) + var(--tape-w));
  display: grid; align-content: center; gap: 2.25rem; justify-items: start;
}
.contact > :not(.threads) { position: relative; }
.contact h2 { font-size: clamp(3rem, 1rem + 8.5vw, 10rem); font-style: italic; font-weight: 650; line-height: 0.92; letter-spacing: -0.035em; }
.contact p { max-width: 30rem; font-size: 1.15em; }

/* ---------- Signature géante, remplie par le défilement ---------- */
.wordmark { padding: clamp(3rem, 8vw, 7rem) var(--gutter) clamp(2rem, 5vw, 4rem) calc(var(--gutter) + var(--tape-w)); }
.wordmark img { display: block; width: min(100%, 46rem); height: auto; }
.wordmark span {
  display: block; font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 27vw; line-height: 0.86; letter-spacing: -0.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgb(224 49 63 / 0.55);
  background: linear-gradient(90deg, var(--cobalt), var(--tie) 55%, var(--accent)) 0 0 / var(--fill) 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
}
.motion-off .wordmark { --fill: 100%; }

.colophon {
  position: relative; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.5rem var(--gutter) 2.5rem calc(var(--gutter) + var(--tape-w));
  background: repeating-linear-gradient(90deg, var(--line) 0 12px, transparent 12px 20px) 0 0 / 100% 2px no-repeat;
  font-size: 0.88rem; color: var(--mute);
}
.colophon-links { display: flex; gap: 1.5rem; }
.motion-toggle { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; }

/* ---------- Apparitions au défilement ---------- */
.js:not(.motion-off) [data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.45s ease-out, transform 0.7s var(--ease); }
.js:not(.motion-off) [data-reveal].is-in { opacity: 1; transform: none; }
.js:not(.motion-off) .hero [data-reveal] { transition-delay: 1.1s; }
.js:not(.motion-off) .hero [data-reveal] + [data-reveal] { transition-delay: 1.2s; }
.w { display: inline-block; }
.js:not(.motion-off) [data-split] .w { overflow: clip; overflow-clip-margin: 0.2em; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.js:not(.motion-off) [data-split] .w-in { display: inline-block; transform: translateY(118%); transition: transform 0.65s var(--ease); transition-delay: calc(var(--i) * 22ms); }
.js:not(.motion-off) [data-split].is-in .w-in { transform: none; }

/* ---------- Animations coupées : réglage du système ou choix du visiteur ---------- */
html.motion-off { scroll-behavior: auto; }
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition: none !important; }
.motion-off .path-steps li { opacity: 1; transform: none; }
.motion-off .path-fill { transform: none; }
.motion-off .cursor, .motion-off .grain, .motion-off .tape-reading { display: none; }
.motion-off .hscroll { height: auto !important; }
.motion-off .hscroll-sticky { position: static; height: auto; padding-top: 3rem; overflow-x: auto; }
.motion-off .hscroll-track { transform: none !important; padding-bottom: 1.5rem; }

/* ---------- Petits écrans : tout s'empile, le mètre se range ---------- */
@media (max-width: 50rem) {
  :root { --tape-w: 0px; }
  .tape, .tape-reading, .cursor { display: none; }
  .masthead { gap: 1rem; }
  .masthead-nav { display: none; }
  .case-head, .reading, .offer, .path, .refs-head, .ref { grid-template-columns: minmax(0, 1fr); }
  .reading-head, .path h2 { position: static; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-hint { display: none; }
  .monogram { grid-column: 1; grid-row: auto; width: 6rem; }
  .masthead-name img { height: 2.2rem; }
  .line:nth-child(n + 2) .line-in { padding-left: 0; }
  .hscroll { height: auto !important; }
  .hscroll-sticky { position: static; height: auto; padding-top: 3rem; }
  .hscroll-track { flex-direction: column; transform: none !important; }
  .panel, .panel-closing { width: auto; }
  .panel { min-height: 22rem; }
  .panel-closing { padding: 2rem 0 0; }
  .panel-art { display: none; }
  .panel-text, .panel-stat { max-width: none; }
  .offer { padding-right: 0; }
  .offer-arrow { display: none; }
  .path-steps li { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .voice:nth-of-type(2) { justify-self: start; }
}
@media (pointer: coarse) { .cursor { display: none; } }

@media (forced-colors: active) {
  .threads, .grain, .cursor, .tape, .tape-reading, .curtain { display: none; }
}
