/* ============================================================
   GHORA v2 — section styles
   ============================================================ */

/* ---------- Loader (compteur) ---------- */
.loader2 {
  position: fixed; inset: 0; z-index: 10001;
  background: #080706;
  display: flex; align-items: center; justify-content: center;
  transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1);
  clip-path: inset(0 0 0 0);
}
.loader2.out { clip-path: inset(0 0 100% 0); }
.loader2.gone { display: none; }
.loader2 .l2-mark { position: relative; width: 130px; height: 130px; }
.loader2 .l2-mark svg { width: 100%; height: 100%; overflow: visible; }
.loader2 .l2-mark .d1 {
  fill: none; stroke: var(--ink); stroke-width: 1.4;
  stroke-dasharray: 640; stroke-dashoffset: 640;
  animation: l2draw 1.4s 0.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.loader2 .l2-mark .g {
  font-family: var(--serif); font-size: 56px; font-weight: 500; fill: var(--ink);
  opacity: 0; animation: l2fade 0.5s 0.9s forwards;
}
.loader2 .l2-count {
  position: absolute; bottom: clamp(24px, 5vh, 48px); right: clamp(24px, 4vw, 56px);
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(80px, 12vw, 170px); line-height: 0.8;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.loader2 .l2-count sup { font-size: 0.25em; font-family: var(--mono); color: var(--muted); margin-left: 8px; }
.loader2 .l2-word {
  position: absolute; bottom: clamp(30px, 5.4vh, 54px); left: clamp(24px, 4vw, 56px);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted);
}
@keyframes l2draw { to { stroke-dashoffset: 0; } }
@keyframes l2fade { to { opacity: 1; } }
body.loading { overflow: hidden; }

/* ---------- Nav ---------- */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 3.4vw, 56px);
  mix-blend-mode: difference;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 34px; border-radius: 3px; }
.brand-text { font-family: var(--serif); font-size: 19px; letter-spacing: 0.16em; font-weight: 500; color: #fff; }
.brand-text span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.32em; color: rgba(255,255,255,0.55); margin-top: 1px; }
.nav-mid { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
@media (max-width: 700px) { .nav-mid { display: none; } }
.menu-btn {
  display: flex; align-items: center; gap: 12px;
  background: none; border: none; cursor: none; color: #fff;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  padding: 10px 0;
}
@media (pointer: coarse) { .menu-btn { cursor: pointer; } }
.menu-btn .lines { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.menu-btn .lines i { display: block; height: 1.5px; background: #fff; transition: transform 0.45s var(--ease), width 0.45s var(--ease); }
.menu-btn .lines i:nth-child(2) { width: 70%; align-self: flex-end; }
.menu-btn:hover .lines i:nth-child(2) { width: 100%; }

/* ---------- Fullscreen menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 290;
  background: #0a0908;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 0 clamp(20px, 3.4vw, 56px) 8vh;
  overflow-y: auto;
  visibility: hidden;
}
.menu-overlay.open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-links { display: flex; flex-direction: column; gap: 0; margin-top: auto; padding-top: 96px; }
.menu-link {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, min(8.5vw, 9.5vh), 120px); line-height: 1.06;
  letter-spacing: -0.02em; color: var(--ink);
  display: flex; align-items: baseline; gap: 22px;
  border: none; background: none; cursor: none; text-align: left;
  padding: 0.04em 0;
  transition: color 0.3s, transform 0.5s var(--ease);
}
@media (pointer: coarse) { .menu-link { cursor: pointer; } }
.menu-link .idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.menu-link:hover { color: var(--accent); transform: translateX(14px); }
.menu-link .mask-line > span { transition-duration: 0.9s; }
.menu-foot {
  margin-top: 7vh; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.menu-foot a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: 6vh; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.5) saturate(0.9) contrast(1.05);
  transform: scale(1.08);
  animation: heroKen 14s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
}
@keyframes heroKen { to { transform: scale(1); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,7,6,0.55) 0%, rgba(8,7,6,0) 34%, rgba(8,7,6,0.25) 62%, rgba(13,12,10,0.97) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-bottom: 3.4vh;
}
.hero-eyebrow { color: rgba(242,237,228,0.75); }
.hero-eyebrow.label::before { background: var(--accent); }
.hero-coords { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: rgba(242,237,228,0.45); text-transform: uppercase; text-align: right; line-height: 2; }
@media (max-width: 700px) { .hero-coords { display: none; } }
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(58px, 11.4vw, 205px);
  line-height: 0.9; letter-spacing: -0.025em;
  color: #f7f0e6;
}
.hero h1 .indent { padding-left: clamp(40px, 11vw, 240px); }
.hero-foot {
  margin-top: 4.6vh;
  display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap;
}
.hero-sub { max-width: 400px; font-size: 14.5px; line-height: 1.7; color: rgba(242,237,228,0.72); }
.hero-cta {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  color: #14110d; background: #f7f0e6;
  padding: 18px 30px; border-radius: 999px;
  transition: background 0.35s, color 0.35s, gap 0.35s;
}
.hero-cta:hover { background: var(--accent); gap: 20px; }
.hero-scroll {
  position: absolute; bottom: 6vh; right: clamp(20px, 3.4vw, 56px); z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(242,237,228,0.5);
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 12px;
}
.hero-scroll::after { content: ''; width: 1px; height: 54px; background: linear-gradient(to bottom, rgba(242,237,228,0.6), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 50% { transform: scaleY(0.45); transform-origin: top; opacity: 0.4; } }
@media (max-width: 900px) { .hero-scroll { display: none; } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 20px 0; position: relative; z-index: 1; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 36s linear infinite; font-family: var(--serif); font-size: clamp(26px, 3.6vw, 44px); font-style: italic; font-weight: 300; color: var(--ink-2); will-change: transform; }
.mq-group { display: inline-flex; align-items: center; }
.mq-item { padding: 0 34px; }
.mq-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------- Section scaffolding ---------- */
section { position: relative; padding: clamp(90px, 12vh, 150px) 0; z-index: 1; }
.section-head { margin-bottom: clamp(44px, 6vh, 72px); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 6.6vw, 104px); line-height: 0.96; letter-spacing: -0.02em;
  margin-top: 18px;
}
.section-desc { max-width: 360px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }

/* ---------- Featured work (éditorial) ---------- */
.feat-list { display: flex; flex-direction: column; gap: clamp(70px, 10vh, 130px); }
.feat {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end;
}
.feat-media {
  grid-column: 1 / 9; position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 16/10; background: var(--bg-2);
  clip-path: inset(10% 7% 10% 7% round 14px);
  transition: clip-path 1.3s var(--ease);
}
.feat.in .feat-media { clip-path: inset(0 0 0 0 round 4px); }
.feat:nth-child(even) .feat-media { grid-column: 5 / 13; order: 2; }
.feat-media img {
  width: 100%; height: 118%; object-fit: cover; will-change: transform;
  transition: filter 0.6s;
}
.feat-media:hover img { filter: brightness(1.06); }
.feat-info { grid-column: 9 / 13; padding-bottom: 8px; }
.feat:nth-child(even) .feat-info { grid-column: 1 / 5; order: 1; text-align: right; }
.feat-idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; color: var(--accent); }
.feat-title { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -0.015em; line-height: 1.02; margin-top: 14px; }
.feat-meta { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); line-height: 2; }
.feat-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); transition: color 0.3s, gap 0.3s; }
.feat-link:hover { color: var(--accent); gap: 16px; }
@media (max-width: 860px) {
  .feat, .feat:nth-child(even) { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .feat:nth-child(even) .feat-media { order: 0; } .feat:nth-child(even) .feat-info { order: 1; text-align: left; }
  .feat-media { aspect-ratio: 4/3; }
}

@media (prefers-reduced-motion: reduce) {
  .feat .feat-media, .feat.in .feat-media { clip-path: none; }
}

/* ---------- Index (liste + aperçu flottant) ---------- */
.windex { border-top: 1px solid var(--line); }
.windex-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.wf-btn {
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink-2);
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  cursor: none; transition: all 0.3s; white-space: nowrap;
}
@media (pointer: coarse) { .wf-btn { cursor: pointer; } }
.wf-btn:hover { border-color: var(--accent); color: var(--ink); }
.wf-btn.active { background: var(--accent); color: #14110d; border-color: var(--accent); }
.wf-btn .c { font-family: var(--mono); font-size: 9.5px; opacity: 0.55; margin-left: 7px; }

.wrow {
  display: grid; grid-template-columns: 64px 1fr auto auto; gap: 28px; align-items: baseline;
  padding: 26px 8px; border-bottom: 1px solid var(--line);
  position: relative; transition: padding 0.45s var(--ease), opacity 0.3s;
}
.wrow:first-of-type { border-top: 1px solid var(--line); }
.wrow:hover { padding-left: 26px; }
.windex-list:hover .wrow:not(:hover) { opacity: 0.32; }
.wrow-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.wrow-title { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.2vw, 48px); letter-spacing: -0.015em; line-height: 1; transition: color 0.3s; }
.wrow:hover .wrow-title { color: var(--accent); }
.wrow-cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.wrow-year { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }
@media (max-width: 700px) {
  .wrow { grid-template-columns: 40px 1fr auto; }
  .wrow-cat { display: none; }
}

.windex-preview {
  position: fixed; z-index: 60; top: 0; left: 0;
  width: min(380px, 30vw); aspect-ratio: 4/3;
  border-radius: 4px; overflow: hidden;
  pointer-events: none;
  opacity: 0; transform: scale(0.86) rotate(-2deg);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  will-change: transform;
}
.windex-preview.on { opacity: 1; }
.windex-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s; }
.windex-preview img.show { opacity: 1; }
@media (max-width: 900px), (pointer: coarse) { .windex-preview { display: none; } }

/* Barre outils : filtres + bascule d'affichage */
.windex-tools { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; }
.windex-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 0; }
.view-toggle { display: flex; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.vt-btn {
  padding: 8px 16px; border: none; border-radius: 999px;
  background: transparent; color: var(--muted);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  cursor: none; transition: all 0.3s; white-space: nowrap;
}
@media (pointer: coarse) { .vt-btn { cursor: pointer; } }
.vt-btn:hover { color: var(--ink); }
.vt-btn.active { background: var(--ink); color: var(--bg); }

/* Masonry */
.masonry { column-count: 3; column-gap: 18px; }
@media (max-width: 1000px) { .masonry { column-count: 2; } }
@media (max-width: 600px)  { .masonry { column-count: 1; } }
.tile {
  display: block; break-inside: avoid; margin-bottom: 18px;
  position: relative; overflow: hidden; border-radius: 4px;
  background: var(--bg-2);
}
.tile-inner { position: relative; overflow: hidden; }
.tile-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-overlay {
  position: absolute; inset: 0; padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(8,7,6,0.82) 0%, rgba(8,7,6,0) 55%);
  opacity: 0; transition: opacity 0.4s;
}
.tile-overlay > * { transform: translateY(12px); transition: transform 0.5s var(--ease); }
.tile:hover .tile-overlay { opacity: 1; }
.tile:hover .tile-overlay > * { transform: translateY(0); }
.tile-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in oklab, var(--accent) 85%, #fff); }
.tile-title { font-family: var(--serif); font-size: 26px; font-weight: 400; color: #f7f0e6; margin-top: 6px; }
.tile-loc { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 5px; }
.tile-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; padding-left: 3px;
  background: rgba(8,7,6,0.3); backdrop-filter: blur(3px);
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}
.tile:hover .tile-play { background: var(--accent); color: #14110d; transform: translate(-50%,-50%) scale(1.1); border-color: var(--accent); }
.more-wrap { display: flex; justify-content: center; margin-top: 44px; }
.more-btn {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  color: var(--ink); background: transparent; border: 1px solid var(--line);
  padding: 16px 36px; border-radius: 999px; cursor: none;
  transition: border-color 0.3s, color 0.3s;
}
@media (pointer: coarse) { .more-btn { cursor: pointer; } }
.more-btn span { color: var(--muted); }
.more-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Services accordéon ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-item { border-bottom: 1px solid var(--line); }
.svc-head {
  width: 100%; display: grid; grid-template-columns: 70px 1fr auto; gap: 26px; align-items: center;
  background: none; border: none; color: var(--ink); text-align: left;
  padding: 30px 8px; cursor: none;
  transition: padding 0.45s var(--ease);
}
@media (pointer: coarse) { .svc-head { cursor: pointer; } }
.svc-head:hover { padding-left: 26px; }
.svc-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--accent); }
.svc-name { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.6vw, 54px); letter-spacing: -0.015em; line-height: 1; transition: color 0.3s; }
.svc-item.open .svc-name, .svc-head:hover .svc-name { color: var(--accent); }
.svc-plus { position: relative; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; flex: none; transition: transform 0.5s var(--ease), border-color 0.3s, background 0.3s; }
.svc-plus::before, .svc-plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: background 0.3s; }
.svc-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc-item.open .svc-plus { transform: rotate(135deg); background: var(--accent); border-color: var(--accent); }
.svc-item.open .svc-plus::before, .svc-item.open .svc-plus::after { background: #14110d; }
.svc-body { overflow: hidden; height: 0; transition: height 0.6s var(--ease); }
.svc-body-in { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 2px 8px 34px; }
.svc-body-in p { grid-column: 2; max-width: 560px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
@media (max-width: 700px) {
  .svc-head, .svc-body-in { grid-template-columns: 44px 1fr; gap: 16px; }
}

/* ---------- Studio ---------- */
.studio-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(44px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .studio-grid { grid-template-columns: 1fr; } }
.studio-lead {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 3.1vw, 44px); line-height: 1.3; letter-spacing: -0.01em;
}
.studio-lead .w { opacity: 0.12; transition: opacity 0.5s ease; }
.studio-lead .w.lit { opacity: 1; }
.studio-body { margin-top: 28px; max-width: 520px; font-size: 15px; line-height: 1.78; color: var(--ink-2); }
.studio-stats { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.stat-num { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num sup { font-size: 0.4em; color: var(--accent); }
.stat-label { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.studio-visual { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4/5; background: var(--bg-2); }
.studio-visual img { width: 100%; height: 118%; object-fit: cover; }
.studio-visual .sv-tag {
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #f2ede4; background: rgba(8,7,6,0.55); backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 999px;
}

/* ---------- Méthode — défilement horizontal épinglé ---------- */
.method-pin { position: relative; height: 340vh; }
.method-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.method-head { position: absolute; top: clamp(70px, 10vh, 120px); left: 0; right: 0; }
.method-track { display: flex; gap: clamp(20px, 2.6vw, 44px); will-change: transform; padding-left: clamp(20px, 3.4vw, 56px); }
.mstep {
  flex: none; width: min(560px, 78vw);
  border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(26px, 3.4vh, 44px);
  background: color-mix(in oklab, var(--bg-2) 72%, transparent);
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column; min-height: min(400px, 52svh);
}
.mstep-num { font-family: var(--serif); font-weight: 300; font-size: clamp(60px, 8vh, 110px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px color-mix(in oklab, var(--accent) 80%, transparent); }
.mstep-title { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.4vh, 48px); margin-top: auto; padding-top: 40px; }
.mstep-desc { margin-top: 12px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); max-width: 420px; }
.method-progress { position: absolute; bottom: clamp(24px, 5vh, 48px); left: clamp(20px, 3.4vw, 56px); right: clamp(20px, 3.4vw, 56px); height: 1px; background: var(--line); }
.method-progress i { position: absolute; inset: 0; right: auto; width: 0%; background: var(--accent); }
@media (max-width: 860px) {
  .method-pin { height: auto; }
  .method-sticky { position: static; height: auto; overflow: visible; padding: 0; display: block; }
  .method-head { position: static; margin-bottom: 34px; }
  .method-track { flex-direction: column; transform: none !important; padding: 0 clamp(20px, 3.4vw, 56px); }
  .mstep { width: 100%; min-height: 0; }
  .method-progress { display: none; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(44px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-title { font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.02em; margin-top: 18px; }
.contact-email {
  display: inline-block; margin-top: 34px;
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line); padding-bottom: 5px;
  transition: color 0.3s, border-color 0.3s;
}
.contact-email:hover { color: var(--accent); border-color: var(--accent); }
.contact-rows { margin-top: 38px; display: flex; flex-direction: column; gap: 20px; }
.crow .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.crow .v { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.55; max-width: 380px; }
.contact-socials { margin-top: 36px; display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact-socials a:hover { color: var(--accent); }

.cform { display: flex; flex-direction: column; }
.cfield { position: relative; border-bottom: 1px solid var(--line); padding: 22px 0 14px; }
.cfield input, .cfield textarea {
  width: 100%; background: none; border: none; outline: none; resize: vertical;
  font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); font-weight: 300; color: var(--ink);
  padding-top: 16px;
}
.cfield label {
  position: absolute; top: 34px; left: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  transition: top 0.4s var(--ease), font-size 0.4s var(--ease), color 0.3s;
  pointer-events: none;
}
.cfield.filled label, .cfield:focus-within label { top: 12px; font-size: 9px; color: var(--accent); }
.cfield::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1px; background: var(--accent); transition: right 0.6s var(--ease); }
.cfield:focus-within::after { right: 0; }
.cform-submit {
  align-self: flex-start; margin-top: 34px;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  color: #14110d; background: var(--accent); border: none; border-radius: 999px;
  padding: 18px 34px; cursor: none;
  transition: background 0.3s, gap 0.3s, opacity 0.3s;
}
@media (pointer: coarse) { .cform-submit { cursor: pointer; } }
.cform-submit:hover { gap: 20px; }
.cform-submit:disabled { opacity: 0.55; }

/* ---------- Footer ---------- */
footer { position: relative; z-index: 1; padding-bottom: 30px; }
.foot-rule {
  border-top: 1px solid var(--line); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.foot-top { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); background: none; border: none; cursor: none; padding: 0; transition: color 0.25s; }
.foot-top:hover { color: var(--accent); }
@media (pointer: coarse) { .foot-top { cursor: pointer; } }
.foot-clock { color: var(--ink-2); }

/* ---------- Page projet ---------- */
.project-page { position: relative; z-index: 1; }
.project-hero { position: relative; width: 100%; height: 82svh; overflow: hidden; }
.project-hero img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62); will-change: transform; }
.project-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,6,0.5) 0, rgba(8,7,6,0) 32%, rgba(13,12,10,0.96) 100%); }
.project-back {
  position: absolute; top: 90px; left: clamp(20px, 3.4vw, 56px); z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #f2ede4; background: rgba(8,7,6,0.4); backdrop-filter: blur(8px);
  border: 1px solid rgba(245,236,224,0.25); border-radius: 999px; padding: 10px 18px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.project-back:hover { background: var(--accent); color: #14110d; border-color: var(--accent); }
.project-hero-title { position: absolute; bottom: 5vh; left: 0; right: 0; z-index: 2; }
.project-cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); }
.project-title { font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 8vw, 130px); line-height: 0.95; letter-spacing: -0.02em; color: #f7f0e6; margin-top: 12px; }
.project-title .mask-line > span { transform: translateY(0); animation: pTitle 1.1s var(--ease) both; }
@keyframes pTitle { from { transform: translateY(112%); } }

.project-head { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; padding: 48px 0 26px; }
@media (max-width: 860px) { .project-head { grid-template-columns: 1fr 1fr; } }
.pm { font-size: 15px; }
.pm span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.project-context { grid-column: -2; font-family: var(--serif); font-size: clamp(20px, 2.1vw, 28px); font-weight: 300; line-height: 1.42; color: var(--ink-2); max-width: 560px; }
@media (max-width: 860px) { .project-context { grid-column: 1 / -1; } }

.project-gallery { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.pg-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.pg-row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .pg-row.two { grid-template-columns: 1fr; } }
.pg-item { overflow: hidden; border-radius: 4px; background: var(--bg-2); cursor: none; }
@media (pointer: coarse) { .pg-item { cursor: pointer; } }
.pg-item img { width: 100%; display: block; transition: transform 1.1s var(--ease), filter 0.5s; }
.pg-item:hover img { transform: scale(1.035); }

.project-tools { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--line); }
.pt-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.pt-list { display: flex; gap: 10px; flex-wrap: wrap; }
.pt-chip { font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }

.project-next { display: block; margin: 76px 0 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.pn-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.pn-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 14px; }
.pn-title { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 5vw, 72px); letter-spacing: -0.015em; transition: color 0.3s; }
.pn-arrow { display: inline-block; transition: transform 0.35s var(--ease); }
.pn-thumb { width: 150px; aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; flex: none; }
.pn-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.project-next:hover .pn-title { color: var(--accent); }
.project-next:hover .pn-arrow { transform: translateX(12px); }
.project-next:hover .pn-thumb img { transform: scale(1.08); }
@media (max-width: 700px) { .pn-thumb { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(8,7,6,0.96); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 88vw; max-height: 84vh; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,0.6); border-radius: 2px; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,0.06); border: 1px solid rgba(245,236,224,0.25);
  color: #f2ede4; width: 52px; height: 52px; border-radius: 50%; cursor: none;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
@media (pointer: coarse) { .lb-btn { cursor: pointer; } }
.lb-btn:hover { background: var(--accent); color: #14110d; border-color: var(--accent); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-meta { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: rgba(242,237,228,0.7); }
@media (max-width: 700px) { .lb-prev { left: 12px; } .lb-next { right: 12px; } .lb-btn { width: 44px; height: 44px; } }

/* ---------- Tweaks panel ---------- */
.tweaks-panel {
  position: fixed; bottom: 20px; right: 20px; width: 280px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px; z-index: 10000; font-size: 13px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4); display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 16px; }
.tweak-row { margin-bottom: 14px; }
.tweak-row > label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tweak-row select { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); font-family: inherit; }
.tweak-swatches { display: flex; gap: 8px; }
.tweak-swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; transition: transform 0.2s; }
.tweak-swatch.active { border-color: var(--ink); transform: scale(1.12); }
