/* ============================================================
   MARTH STUDIO — variante design-first
   Palette : ivoire / encre / chrome
   ============================================================ */

:root {
  --ivory: #f1efe9;
  --paper: #faf9f5;
  --ink: #111114;
  --ink-soft: #3c3c42;
  --steel: #8a8d93;
  --hairline: rgba(17, 17, 20, 0.14);
  --chrome: linear-gradient(120deg, #babdc4 0%, #eceef1 22%, #7e828b 48%, #d8dade 68%, #94979e 100%);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading { overflow: hidden; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

::selection { background: var(--ink); color: var(--ivory); }

/* Grain global */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-4%, 3%); }
  50% { transform: translate(3%, -4%); }
  75% { transform: translate(-2%, -2%); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader__inner { text-align: center; }
.preloader__wire {
  width: clamp(90px, 12vw, 150px);
  height: auto;
  margin: 0 auto 1.4rem;
  display: block;
}
.preloader__count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
}
.preloader__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--ivory); }

/* ---------- Curseur ---------- */
.cursor,
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9500;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor {
  width: 8px;
  height: 8px;
  background: var(--ink);
  transition: transform 0.15s;
}
.cursor-follower {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 17, 20, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s, border-color 0.3s;
}
.cursor-follower span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0;
  transition: opacity 0.2s;
}
body.cursor-hover .cursor { transform: translate(-50%, -50%) scale(2.4); }
body.cursor-hover .cursor-follower { width: 64px; height: 64px; border-color: transparent; background: rgba(17,17,20,0.08); }
body.cursor-view .cursor { transform: translate(-50%, -50%) scale(0); }
body.cursor-view .cursor-follower { width: 88px; height: 88px; background: var(--ink); border-color: var(--ink); }
body.cursor-view .cursor-follower span { opacity: 1; }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-follower { display: none !important; } }

/* ---------- Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 9600;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem var(--pad);
  transition: background 0.45s, box-shadow 0.45s, padding 0.45s;
}
.header.is-scrolled {
  background: rgba(241, 239, 233, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.header__brand { display: flex; align-items: center; gap: 0.7rem; }
.header__logo { width: 40px; height: 40px; object-fit: contain; }
.header__name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.32em;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header__name em {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.52rem;
  letter-spacing: 0.58em;
  color: var(--steel);
}
.header__nav { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); }
.header__nav a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.header__nav a:hover::after,
.header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__right { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.4rem); }
.lang-switch {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  padding: 0.3rem 0.15rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.lang-switch:hover { border-color: var(--ink); }
.mobile-menu__lang {
  font-size: 1rem !important;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241, 239, 233, 0.6) !important;
  margin-top: 1rem;
}

.btn-pill {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  transition: background 0.35s, color 0.35s;
  white-space: nowrap;
}
.btn-pill:hover { background: var(--ink); color: var(--ivory); }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}
.burger span { width: 26px; height: 1.5px; background: var(--ink); transition: transform 0.35s, opacity 0.35s; }
.burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 7900;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: circle(0% at calc(100% - 3rem) 2.5rem);
  transition: clip-path 0.7s var(--ease-out);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 3rem) 2.5rem); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.4rem; text-align: center; }
.mobile-menu a {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 700;
}

/* ---------- Têtes de section ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0 var(--pad);
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}
.section-head__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--steel);
}
.section-head__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-weight: 500;
}
.section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
  align-self: center;
}
.section-head--light .section-head__label { color: var(--ivory); }
.section-head--light::after { background: rgba(241, 239, 233, 0.2); }
.section-head--overlay { position: absolute; top: clamp(5.5rem, 10vh, 7rem); left: 0; right: 0; z-index: 5; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6.5rem var(--pad) 7.5rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 70% 20%, rgba(186, 189, 196, 0.35), transparent 70%),
    radial-gradient(45% 40% at 20% 80%, rgba(186, 189, 196, 0.28), transparent 70%);
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(1rem, 3vh, 2rem);
  position: relative;
  z-index: 2;
}
.hero__eyebrow .line { width: 42px; height: 1px; background: var(--ink); display: inline-block; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 14.5vw, 12.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  display: flex;
  position: relative;
  z-index: 2;
}
.hero__char {
  display: inline-block;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--ink-soft);
  margin-top: clamp(0.7rem, 1.8vh, 1.3rem);
  position: relative;
  z-index: 2;
}
.hero__frame {
  position: relative;
  z-index: 1;
  width: min(480px, 72vw);
  margin-top: clamp(1.4rem, 3.5vh, 2.6rem);
}
.hero__img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 30px 80px -20px rgba(17, 17, 20, 0.45);
}
.hero__img-wrap img { transform: scale(1.15); }
.hero__frame figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}
.hero__scroll {
  position: absolute;
  bottom: 5.4rem;
  right: var(--pad);
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hero__scroll span {
  width: 1px;
  height: 46px;
  background: var(--ink);
  animation: scrollHint 1.8s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes scrollHint { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

.marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--hairline);
  padding: 0.9rem 0;
  overflow: hidden;
  background: rgba(241, 239, 233, 0.6);
  backdrop-filter: blur(6px);
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- STUDIO ---------- */
.studio { padding: clamp(5rem, 12vh, 9rem) 0; }
.studio__manifesto {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  line-height: 1.25;
  max-width: 20ch;
  padding: 0 var(--pad);
  margin-bottom: clamp(3rem, 8vh, 6rem);
}
.studio__manifesto .word { opacity: 0.12; display: inline-block; transition: opacity 0.3s; }
.studio__manifesto em { font-style: italic; }
.studio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 0 var(--pad);
  align-items: start;
}
.studio__img { overflow: hidden; border-radius: 2px; }
.studio__img--a { aspect-ratio: 4 / 3; margin-top: 3rem; }
.studio__img--b { aspect-ratio: 3 / 4; max-width: 340px; justify-self: end; }
.studio__facts { display: flex; flex-direction: column; gap: clamp(1.6rem, 4vh, 3rem); padding-top: 1rem; }
.fact { border-top: 1px solid var(--hairline); padding-top: 1.1rem; }
.fact__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}
.fact__unit {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-left: 0.35rem;
  color: var(--steel);
}
.fact p { font-size: 0.86rem; color: var(--ink-soft); max-width: 24ch; margin-top: 0.4rem; }

/* Révélation image générique */
.reveal-img { position: relative; overflow: hidden; }
.reveal-img img { transform: scale(1.25); }
.reveal-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform: scaleY(1);
  transform-origin: top;
}
.reveal-img.is-inview::after { animation: unveil 1.1s var(--ease-out) forwards; }
.reveal-img.is-inview img { animation: settle 1.4s var(--ease-out) forwards; }
@keyframes unveil { to { transform: scaleY(0); } }
@keyframes settle { to { transform: scale(1.02); } }

/* ---------- UNIVERS ---------- */
.univers { position: relative; background: var(--paper); }
.univers__pin {
  height: 100svh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.univers__track {
  display: flex;
  gap: clamp(2rem, 6vw, 6rem);
  padding: 0 var(--pad);
  will-change: transform;
}
.upanel {
  flex: 0 0 auto;
  width: min(760px, 86vw);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
  position: relative;
}
.upanel__index {
  position: absolute;
  top: -1.2em;
  left: -0.1em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 9vw, 7rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 17, 20, 0.18);
  z-index: 0;
}
.upanel__img { aspect-ratio: 4 / 3.4; border-radius: 2px; z-index: 1; box-shadow: 0 24px 60px -24px rgba(17,17,20,0.35); }
.upanel__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.upanel__body p { font-size: 0.95rem; color: var(--ink-soft); max-width: 34ch; }
.univers__progress {
  position: absolute;
  bottom: clamp(1.6rem, 4vh, 3rem);
  left: var(--pad);
  right: var(--pad);
  height: 1px;
  background: var(--hairline);
}
.univers__progress span { display: block; height: 100%; width: 0; background: var(--ink); }

/* ---------- ŒUVRES ---------- */
.oeuvres { padding: clamp(5rem, 12vh, 9rem) 0 clamp(4rem, 9vh, 7rem); }
.oeuvres__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.05;
  padding: 0 var(--pad);
  margin-bottom: clamp(2.5rem, 7vh, 5rem);
}
.oeuvres__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  padding: 0 var(--pad);
}
.work { position: relative; }
.work:nth-child(6n + 1) { grid-column: span 3; }
.work:nth-child(6n + 2) { grid-column: span 3; margin-top: clamp(2rem, 6vh, 4.5rem); }
.work:nth-child(6n + 3) { grid-column: span 2; }
.work:nth-child(6n + 4) { grid-column: span 2; margin-top: clamp(1.4rem, 4vh, 3rem); }
.work:nth-child(6n + 5) { grid-column: span 2; margin-top: clamp(2.8rem, 8vh, 6rem); }
.work:nth-child(6n)     { grid-column: span 3; }
.work__img {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  filter: grayscale(0.35);
  transition: filter 0.6s var(--ease-out);
}
.work__img img { transition: transform 0.9s var(--ease-out); }
.work:hover .work__img { filter: grayscale(0); }
.work:hover .work__img img { transform: scale(1.07); }
.work figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.65rem;
  gap: 1rem;
}
.work figcaption span:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.work figcaption span:last-child {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
  text-align: right;
}
.oeuvres__note {
  padding: clamp(2.5rem, 6vh, 4rem) var(--pad) 0;
  font-size: 0.85rem;
  color: var(--steel);
  font-style: italic;
}

/* ---------- DÉMARCHE ---------- */
.demarche {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(5rem, 12vh, 9rem) 0;
}
.demarche__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 5rem);
  padding: 0 var(--pad);
  margin-bottom: clamp(3rem, 8vh, 6rem);
}
.demarche__title em {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.demarche__steps { position: relative; }
.step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vh, 3.2rem) var(--pad);
  border-top: 1px solid rgba(241, 239, 233, 0.14);
  position: relative;
  overflow: hidden;
}
.step:last-child { border-bottom: 1px solid rgba(241, 239, 233, 0.14); }
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 239, 233, 0.4);
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
}
.step:hover .step__num, .step.is-active .step__num { color: var(--ivory); -webkit-text-stroke-color: transparent; }
.step__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  margin-bottom: 0.5rem;
}
.step__body p { font-size: 0.92rem; color: rgba(241, 239, 233, 0.65); max-width: 52ch; }
.step__img {
  width: clamp(120px, 16vw, 220px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  opacity: 0.55;
  filter: grayscale(0.5);
  transform: scale(0.96);
  transition: opacity 0.6s, filter 0.6s, transform 0.6s var(--ease-out);
}
.step:hover .step__img, .step.is-active .step__img { opacity: 1; filter: grayscale(0); transform: scale(1); }

/* ---------- CITATION ---------- */
.citation {
  padding: clamp(6rem, 16vh, 11rem) var(--pad);
  display: flex;
  justify-content: center;
  background: var(--paper);
}
.citation__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  line-height: 1.35;
  max-width: 30ch;
  text-align: center;
}
.citation__text .word { opacity: 0.1; display: inline-block; transition: opacity 0.3s; }

/* ---------- CONTACT ---------- */
.contact { background: var(--ink); color: var(--ivory); padding-top: clamp(5rem, 12vh, 9rem); }
.contact__cta { text-align: center; padding: 0 var(--pad) clamp(4rem, 10vh, 7rem); }
.contact__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(241, 239, 233, 0.5);
  margin-bottom: 1.6rem;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 7.5rem);
  line-height: 1.02;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}
.contact__title span { display: block; }
.contact__title em {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.btn-big {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(241, 239, 233, 0.5);
  border-radius: 999px;
  padding: 1.15rem 2.6rem;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.btn-big svg { width: 22px; height: 22px; transition: transform 0.4s var(--ease-out); }
.btn-big:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn-big:hover svg { transform: translateX(6px); }
.contact__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: clamp(2.5rem, 6vh, 4rem) var(--pad);
  border-top: 1px solid rgba(241, 239, 233, 0.14);
}
.contact__col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(241, 239, 233, 0.45);
  margin-bottom: 0.9rem;
  font-weight: 500;
}
.contact__col p { font-size: 0.98rem; line-height: 1.9; }
.contact__col a { border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact__col a:hover { border-color: var(--ivory); }
.contact__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem var(--pad) 1.6rem;
  border-top: 1px solid rgba(241, 239, 233, 0.14);
  font-size: 0.78rem;
  color: rgba(241, 239, 233, 0.5);
}
.contact__logo { width: 34px; height: 34px; object-fit: contain; filter: invert(1) brightness(1.3); }
.contact__top { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; }

/* ---------- Traîne du curseur ---------- */
.trail-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #eceef1, #8a8d93);
  pointer-events: none;
  z-index: 9400;
  transform: translate(-50%, -50%);
  opacity: 0;
}

/* ---------- Tilt + reflet sur les œuvres ---------- */
.work { perspective: 900px; cursor: pointer; }
.work__img { position: relative; transform-style: preserve-3d; }
.work__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.work:hover .work__img::after { opacity: 1; }

/* ---------- Portail (transition vers la démarche) ---------- */
.portal {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  overflow: hidden;
}
.portal__frame {
  width: min(46vw, 560px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 30px 80px -24px rgba(17, 17, 20, 0.45);
  will-change: transform;
}
.portal__veil { position: absolute; inset: 0; background: var(--ink); opacity: 0; }
.portal__label {
  position: absolute;
  z-index: 2;
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(24px);
}
@media (max-width: 900px) { .portal__frame { width: 74vw; } }

/* ---------- Ligne de forge ---------- */
.demarche__steps { position: relative; }
.forge-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pad) * 0.5);
  width: 1px;
  background: rgba(241, 239, 233, 0.13);
}
.forge-line span {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(241, 239, 233, 0.35), var(--ivory));
  position: relative;
}
.forge-line span::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 3px rgba(255, 255, 255, 0.75);
}

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 9200; display: none; }
.lb.is-open { display: block; }
.lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 20, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
}
.lb__fig {
  position: fixed;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  z-index: 2;
}
.lb__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb__caption {
  position: fixed;
  left: 50%;
  bottom: 5vh;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 2.2rem;
  align-items: baseline;
  color: var(--ivory);
  opacity: 0;
  white-space: nowrap;
}
.lb__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.lb__spec, .lb__count { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(241, 239, 233, 0.6); }
.lb__btn {
  position: fixed;
  z-index: 4;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(241, 239, 233, 0.4);
  background: none;
  color: var(--ivory);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.lb__btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.lb__close { top: 1.8rem; right: 1.8rem; }
.lb__prev { left: 1.8rem; top: 50%; transform: translateY(-50%); }
.lb__next { right: 1.8rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lb__prev { left: 1rem; top: auto; bottom: 1.2rem; transform: none; }
  .lb__next { right: 1rem; top: auto; bottom: 1.2rem; transform: none; }
  .lb__caption { bottom: 12vh; gap: 1rem; flex-direction: column; align-items: center; text-align: center; white-space: normal; }
}

/* ---------- Split lines ---------- */
.split-lines .sl-line { display: block; overflow: hidden; }
.split-lines .sl-inner { display: block; transform: translateY(110%); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header__nav, .header .btn-pill { display: none; }
  .burger { display: flex; }
  .studio__grid { grid-template-columns: 1fr 1fr; }
  .studio__facts { grid-column: span 2; flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .fact { flex: 1 1 160px; }
  .upanel { grid-template-columns: 1fr; width: min(480px, 82vw); align-content: center; }
  .upanel__img { aspect-ratio: 16 / 10; }
  .work:nth-child(n) { grid-column: span 3; margin-top: 0; }
  .step { grid-template-columns: auto 1fr; }
  .step__img { display: none; }
  .contact__info { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 560px) {
  .studio__grid { grid-template-columns: 1fr; }
  .studio__img--b { justify-self: start; }
  .work:nth-child(n) { grid-column: span 6; }
  .hero__frame { width: 88vw; }
  .contact__bottom { flex-direction: column; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .split-lines .sl-inner { transform: none !important; }
  .studio__manifesto .word, .citation__text .word { opacity: 1 !important; }
  .reveal-img::after { display: none; }
  .reveal-img img { transform: none; }
  body::after { display: none; }
  .forge-line span { height: 100% !important; }
  .portal__label { opacity: 1 !important; transform: none !important; }
  .trail-dot { display: none; }
}
