/* ==========================================================================
   FUBIZ STUDIO — style.css
   Absolute black #000 + the Fubiz magenta accent #C13584 (pink→violet gradient).
   Off-white #F2F0EB is text, not a color. Everything else comes from images.
   Display: Anton — Body: Inter — Labels: Space Mono.
   ========================================================================== */

:root {
  /* Fubiz brand accent — pink, magenta, violet + the signature gradient */
  --fubiz-pink: #E0315B;
  --fubiz-magenta: #C13584;
  --fubiz-violet: #833AB4;
  --fubiz-gradient: linear-gradient(90deg, #E0315B, #C13584, #833AB4);

  --c-black: #000000;
  /* accent token (was metallic amber) — now the brand magenta.
     Drives fills, borders, large display accents, selection, cursor. */
  --c-amber: #C13584;
  /* lightened magenta #E85FAE (6.7:1 on black) for small/normal accent TEXT
     where the deep magenta would drop under 4.5:1. */
  --c-accent: #E85FAE;
  --c-ivory: #F2F0EB;
  --c-ivory-72: rgba(242, 240, 235, 0.72);
  --c-ivory-50: rgba(242, 240, 235, 0.5);
  --c-ivory-30: rgba(242, 240, 235, 0.3);
  --c-line: rgba(242, 240, 235, 0.14);

  --font-display: 'Anton', 'Arial Narrow', 'Impact', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  /* CSS mirror of EASE_SIGNATURE (gsap power3.out) for hover transitions */
  --ease-signature: cubic-bezier(0.25, 1, 0.5, 1);

  --pad-x: clamp(1.5rem, 5vw, 6rem);
  --space-section: clamp(7rem, 18vh, 14rem);
}

/* ------------------------------------------------------------------ reset */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.is-locked,
html.is-locked body {
  overflow: hidden;
  height: 100%;
}

body {
  background: var(--c-black);
  color: var(--c-ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--c-amber);
  color: var(--c-black);
}

:focus-visible {
  outline: 1px solid var(--c-amber);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------- fond vivant */
/* Single fixed canvas behind all content (drifting Fubiz halos), painted by
   js/fond-vivant.js. Sits above the page's black base, below every section;
   opaque sections (hero, projecteur, orbit, mur de noms) cover it by design. */
.fond-vivant {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: #000;
}

/* ------------------------------------------------------------------ grain */
/* Very light SVG noise over every background, above everything. */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
}

/* ------------------------------------------------------------- typography */

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  line-height: 1.05;
}

.accent {
  color: var(--c-amber);
}

.label-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.section {
  padding: var(--space-section) var(--pad-x);
}

/* masked line reveals (global.js animates .line-inner) */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.line-inner {
  display: block;
  will-change: transform;
}

/* ----------------------------------------------------------------- loader */

.loader {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
  background: var(--c-black);
}

.loader-mark {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.4em;
  text-indent: 0.4em; /* optically recenter the tracked caps */
  text-transform: uppercase;
  color: var(--c-ivory);
}

.loader-bar {
  display: block;
  width: min(320px, 56vw);
  height: 1px;
  background: var(--c-ivory-30);
  overflow: hidden;
}

.loader-bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--c-amber);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* signature opening — viewfinder splash (built by createLoader in hero.js) */

.splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.4rem, 4vh, 2.4rem);
  --finder-w: 240px;
}

.splash-mark {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.55em;
  text-indent: 0.55em; /* optically recenter the wide tracking */
  text-transform: uppercase;
  color: var(--c-ivory);
}

.splash-finder {
  position: relative;
  width: var(--finder-w);
  aspect-ratio: 3 / 2;
  border: 1px solid var(--c-ivory);
  will-change: transform, opacity;
}

.splash-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--c-black);
}

.splash-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.splash-img.is-on {
  opacity: 1;
}

/* 4 viewfinder corners overshooting the frame, in magenta */
.vf-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--c-amber);
  will-change: transform;
}

.vf-tl { top: -4px; left: -4px; border-right: none; border-bottom: none; }
.vf-tr { top: -4px; right: -4px; border-left: none; border-bottom: none; }
.vf-bl { bottom: -4px; left: -4px; border-right: none; border-top: none; }
.vf-br { bottom: -4px; right: -4px; border-left: none; border-top: none; }

.splash-count {
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--c-ivory-50);
}

.splash-bar {
  display: block;
  width: var(--finder-w);
  height: 1px;
  background: var(--c-ivory-30);
  overflow: hidden;
}

.splash-bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--c-amber);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

@media (max-width: 768px) {
  .splash {
    --finder-w: 180px;
  }
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--c-black);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  will-change: transform;
  /* transform-origin center: final zoom scales from the middle of the frame */
}

/* GSAP/CDN failed but JS ran: collapse the hero to a readable static block,
   mirroring the <noscript> fallback so the h1 + captions stay visible. */
.no-gsap .hero {
  height: auto;
  overflow: visible;
}

.no-gsap .hero-canvas,
.no-gsap .choice-field,
.no-gsap .hero-glow,
.no-gsap .scroll-cue {
  display: none;
}

.no-gsap .hero-captions {
  position: static;
}

.no-gsap .hero-caption {
  position: static;
  opacity: 1;
  visibility: visible;
  padding: 3rem 6vw;
}

.choice-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  visibility: hidden;
  pointer-events: none;
}

.choice-item {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(72px, 9vw, 150px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.choice-item.is-landscape {
  width: clamp(88px, 11vw, 180px);
  aspect-ratio: 4 / 3;
}

.choice-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(193, 53, 132, 0.55) 0%,
    rgba(193, 53, 132, 0.22) 34%,
    rgba(0, 0, 0, 0) 68%
  );
  will-change: opacity;
}

.hero-captions {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6vw;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.08;
  font-size: clamp(2rem, 5.5vw, 5.6rem);
  color: var(--c-ivory);
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

/* the two "curation" lines sit low, like cinema intertitles */
.hero-caption--low {
  justify-content: flex-end;
  padding-bottom: 16vh;
  font-size: clamp(1.4rem, 3.4vw, 3.2rem);
}

.caption-kicker {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.3vw, 0.95rem);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--c-accent);
  margin-bottom: 1.5rem;
}

.caption-wordmark {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 21vw, 23rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.scroll-cue {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  color: var(--c-ivory-50);
  transition: opacity 0.8s var(--ease-signature);
}

.scroll-cue.is-hidden {
  opacity: 0;
}

/* stop compositing the infinite pulse for the rest of the ~450vh pin */
.scroll-cue.is-hidden .scroll-cue-line,
.scroll-cue.is-hidden .scroll-cue-arrow {
  animation-play-state: paused;
}

.scroll-cue-line {
  width: 1px;
  height: 44px;
  background: var(--c-ivory-50);
  transform-origin: top center;
  animation: cue-pulse 2.4s var(--ease-signature) infinite;
}

/* fine arrowhead under the line — two short rotated 1px segments */
.scroll-cue-arrow {
  position: relative;
  width: 9px;
  height: 9px;
  margin-top: -0.5rem;
  animation: cue-pulse 2.4s var(--ease-signature) infinite;
}

.scroll-cue-arrow::before,
.scroll-cue-arrow::after {
  content: '';
  position: absolute;
  top: 0;
  width: 7px;
  height: 1px;
  background: var(--c-ivory-50);
}

.scroll-cue-arrow::before {
  left: 0;
  transform: rotate(45deg);
  transform-origin: left center;
}

.scroll-cue-arrow::after {
  right: 0;
  transform: rotate(-45deg);
  transform-origin: right center;
}

@keyframes cue-pulse {
  0% { transform: scaleY(0); opacity: 0; }
  35% { opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* -------------------------------------------------------------- manifesto */

.manifesto {
  padding-top: calc(var(--space-section) * 1.25);
}

.manifesto-statement,
.studio-statement,
.stage-statement {
  font-size: clamp(2.4rem, 7.2vw, 7.4rem);
  max-width: 18ch;
}

.pillars {
  margin-top: clamp(5rem, 12vh, 9rem);
}

.pillar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(1.5rem, 3vh, 2.5rem) 0;
  border-top: 1px solid var(--c-line);
}

.pillar:last-child {
  border-bottom: 1px solid var(--c-line);
}

.pillar h3 {
  font-size: clamp(2rem, 5.4vw, 4.6rem);
}

.pillar-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--c-ivory-50);
}

/* ---------------------------------------------------------------- numbers */

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(4rem, 9vh, 7rem) clamp(2rem, 4vw, 4rem);
}

.number-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: clamp(3rem, 7.5vw, 7.8rem);
}

.number-label {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
}

/* ---------------------------------------------- work rows (home + projects) */

.work-intro {
  margin-bottom: clamp(3rem, 8vh, 6rem);
}

.work-list {
  border-bottom: 1px solid var(--c-line);
}

.work-row {
  display: grid;
  grid-template-columns: clamp(3.5rem, 9vw, 8rem) 1fr;
  align-items: baseline;
  padding: clamp(1.75rem, 4vh, 3rem) 0;
  border-top: 1px solid var(--c-line);
  transition: transform 0.7s var(--ease-signature);
}

li > a.work-row {
  border-top: none; /* border lives on the li when the row is a link */
}

.work-list > li > a {
  display: grid;
  grid-template-columns: clamp(3.5rem, 9vw, 8rem) 1fr;
  align-items: baseline;
}

.work-list > li {
  border-top: 1px solid var(--c-line);
}

.work-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--c-ivory-50);
  transition: color 0.5s var(--ease-signature);
}

.work-brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
  font-size: clamp(2rem, 5.6vw, 4.8rem);
  color: var(--c-ivory-72);
  transition: color 0.5s var(--ease-signature);
}

.work-project {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: var(--c-ivory-50);
  transition: color 0.5s var(--ease-signature);
}

.work-row:hover {
  transform: translateX(0.75rem);
}

.work-row:hover .work-index {
  color: var(--c-accent);
}

.work-row:hover .work-brand {
  color: var(--c-ivory);
}

.work-row:hover .work-project {
  color: var(--c-ivory-72);
}

.cta-line {
  display: inline-block;
  margin-top: clamp(3rem, 8vh, 5.5rem);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-ivory);
  transition: color 0.5s var(--ease-signature);
}

.cta-line .cta-arrow {
  display: inline-block;
  margin-left: 0.6rem;
  transition: transform 0.7s var(--ease-signature);
}

.cta-line:hover {
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cta-line:hover .cta-arrow {
  transform: translateX(0.5rem);
}

/* ------------------------------------------------------------- brand wall */

.brand-wall {
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 2.4;
  color: var(--c-ivory-50);
  max-width: 70rem;
}

/* ---------------------------------------------------------------- contact */

.contact {
  text-align: left;
}

.contact-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  font-size: clamp(3rem, 10.5vw, 10.5rem);
  color: var(--c-ivory);
  transition: color 0.6s var(--ease-signature), letter-spacing 0.6s var(--ease-signature);
}

.contact-link:hover {
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 0.05em;
}

.contact--xl .contact-link {
  font-size: clamp(3.4rem, 12.5vw, 12.5rem);
}

.contact-meta {
  margin-top: clamp(2rem, 5vh, 3.5rem);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
}

.contact-meta + .contact-meta {
  margin-top: 0.9rem;
}

a.contact-meta-link {
  transition: color 0.5s var(--ease-signature);
}

a.contact-meta-link:hover {
  color: var(--c-accent);
}

/* ---------------------------------------------------------- floating nav */

.floating-nav {
  position: fixed;
  top: 16px;
  left: var(--pad-x);
  right: var(--pad-x);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem clamp(1.1rem, 2vw, 1.75rem);
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(242, 240, 235, 0.12);
  border-radius: 7px;
  /* hidden by default; .is-visible fades it in with a soft -12px slide */
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.9s var(--ease-signature), opacity 0.9s var(--ease-signature);
  will-change: transform, opacity;
}

.floating-nav.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.fnav-brand {
  margin-right: auto; /* push links + sound toggle into a right-hand cluster */
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ivory);
  transition: color 0.5s var(--ease-signature);
}

.fnav-brand:hover {
  color: var(--c-accent);
}

/* ---- logo Fubiz : « f » serif dans un cercle au dégradé ---- */
.fnav-wordmark {
  line-height: 1;
}

.fnav-mark {
  height: 1.75em;
  width: 1.75em;
  overflow: visible;
  display: block;
  transition: transform 0.45s var(--ease-signature), filter 0.45s var(--ease-signature);
}

/* le disque dégradé entre en fondu + léger zoom */
.f-disk {
  transform-box: fill-box;
  transform-origin: center;
  animation: f-disk-in 0.7s var(--ease-signature);
}

@keyframes f-disk-in {
  from { opacity: 0; transform: scale(0.62); }
  to   { opacity: 1; transform: scale(1); }
}

/* le « f » serif crème (rendu en <text>) apparaît en fondu sur le disque.
   text-transform:none est indispensable : sans lui, le <text> hérite du
   text-transform:uppercase de .fnav-brand et le « f » minuscule s'affiche
   en « F » majuscule. Léger slant (skew 6°) pour le caractère « quasi droit ». */
.f-glyph {
  text-transform: none;
  transform: skewX(-6deg);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  opacity: 0;
  animation: f-fade 0.6s var(--ease-signature) 0.28s forwards;
}

@keyframes f-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* survol : le logo pulse doucement + halo dégradé */
.fnav-brand:hover .fnav-mark {
  transform: scale(1.07);
  filter: drop-shadow(0 4px 16px rgba(193, 53, 132, 0.55));
}

@media (prefers-reduced-motion: reduce) {
  .f-disk { animation: none; }
  .f-glyph { animation: none; opacity: 1; }
  .fnav-brand:hover .fnav-mark { transform: none; }
}

.fnav-links {
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
}

.fnav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
  transition: color 0.5s var(--ease-signature);
}

.fnav-links a:hover {
  color: var(--c-accent);
}

.fnav-links a[aria-current='page'] {
  color: var(--c-ivory);
}

/* hamburger — shown on mobile only */
.fnav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 22px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.fnav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-ivory);
  transition: background 0.4s var(--ease-signature);
}

.fnav-toggle:hover span {
  background: var(--c-amber);
}

/* sound opt-in toggle (js/sound.js) — discreet, off by default */
.sound-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: none;
  color: var(--c-ivory-50);
  cursor: pointer;
  transition: color 0.4s var(--ease-signature);
}

.sound-toggle:hover {
  color: var(--c-accent);
}

.sound-toggle.is-on {
  color: var(--c-ivory);
}

.sound-toggle svg {
  display: block;
  width: 18px;
  height: 18px;
}

.sound-toggle .icon-on {
  display: none;
}

.sound-toggle.is-on .icon-on {
  display: block;
}

.sound-toggle.is-on .icon-off {
  display: none;
}

/* ------------------------------------------------------- mobile nav menu */

.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad-x);
  background: var(--c-black);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.7s var(--ease-signature), visibility 0s linear 0.7s;
}

.nav-menu.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.7s var(--ease-signature), visibility 0s;
}

.nav-menu-close {
  position: absolute;
  top: clamp(1.5rem, 4vh, 2.5rem);
  right: var(--pad-x);
  width: 44px;
  height: 44px;
  font-family: var(--font-body);
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--c-ivory);
  cursor: pointer;
  transition: color 0.4s var(--ease-signature), transform 0.5s var(--ease-signature);
}

.nav-menu-close:hover {
  color: var(--c-amber);
  transform: rotate(90deg);
}

.nav-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-menu-link {
  display: block;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.08;
  font-size: clamp(2.6rem, 12vw, 5rem);
  color: var(--c-ivory);
  transition: color 0.4s var(--ease-signature);
}

.nav-menu-link[aria-current='page'] {
  color: var(--c-amber);
}

.nav-menu-link:hover {
  color: var(--c-amber);
}

body.menu-open {
  overflow: hidden;
}

/* ------------------------------------------------------------ page header */

.page-header {
  padding-top: clamp(10rem, 28vh, 16rem);
}

.page-title {
  margin-top: clamp(2rem, 5vh, 3.5rem);
  font-size: clamp(2.6rem, 8vw, 8rem);
  max-width: 16ch;
}

/* ---------------------------------------------------------------- talents */

/* infinite seamless marquee — two rows, opposite directions, transform only */
.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee + .marquee {
  margin-top: clamp(0.5rem, 2vh, 1.5rem);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-item {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  font-size: clamp(3rem, 9.5vw, 9.5rem);
  white-space: nowrap;
  color: var(--c-ivory);
  padding-right: clamp(2rem, 7vw, 7rem);
}

@supports ((-webkit-text-stroke: 1px #000) or (text-stroke: 1px #000)) {
  .marquee-item {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--c-ivory);
  }
}

.talent-meta {
  margin-top: clamp(3rem, 7vh, 5rem);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 2.2;
  color: var(--c-ivory-50);
}

.eco-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding: clamp(2rem, 5vh, 3.25rem) var(--pad-x);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.eco-strip li {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.7rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-ivory-72);
}

.eco-strip li:not(:last-child)::after {
  content: '·';
  margin-left: clamp(1.5rem, 5vw, 4.5rem);
  color: var(--c-amber);
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  padding: clamp(3.5rem, 8vh, 5.5rem) var(--pad-x);
  border-top: 1px solid var(--c-line);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-copy {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--c-ivory-50);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.footer-nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
  transition: color 0.5s var(--ease-signature);
}

.footer-nav a:hover {
  color: var(--c-accent);
}

.footer-credit {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ivory-30);
}

/* ----------------------------------------------------------- mono badges */
/* harmonized labels: fine 1px border, mono uppercase, tight padding */

.badge-mono {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid var(--c-line);
  border-radius: 3px;
  padding: 0.5rem 0.85rem;
}

.manifesto .badge-mono,
.page-header .badge-mono,
.capabilities .badge-mono {
  margin-bottom: clamp(2rem, 5vh, 3.25rem);
}

.work-intro.badge-mono {
  margin-bottom: clamp(3rem, 8vh, 6rem);
}

/* ----------------------------------------------------- capabilities (acc) */

.accordion {
  border-top: 1px solid var(--c-line);
}

.acc-item {
  border-bottom: 1px solid var(--c-line);
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 3.5vh, 2.4rem) 0;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.acc-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
  font-size: clamp(1.5rem, 4.2vw, 3rem);
  color: var(--c-ivory-72);
  transition: color 0.5s var(--ease-signature);
}

.acc-item.is-open .acc-title,
.acc-head:hover .acc-title {
  color: var(--c-ivory);
}

.acc-icon {
  flex: none;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--c-amber);
  transition: transform 0.5s var(--ease-signature);
}

/* a "+" rotated 45° reads as "×" */
.acc-item.is-open .acc-icon {
  transform: rotate(45deg);
}

.acc-panel {
  height: 0;
  overflow: hidden;
}

.acc-panel p {
  padding-bottom: clamp(1.5rem, 3.5vh, 2.4rem);
  max-width: 50ch;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: var(--c-ivory-50);
}

/* ------------------------------------------------------- back to top link */

.back-to-top {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
  transition: color 0.5s var(--ease-signature);
}

.back-to-top:hover {
  color: var(--c-accent);
}

.back-to-top .bt-arrow {
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.5s var(--ease-signature);
}

.back-to-top:hover .bt-arrow {
  transform: translateY(-0.3rem);
}

/* ---------------------------------------------------- page transition (viewfinder) */

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 5000;
  visibility: hidden;
  pointer-events: none;
}

.pt-bg {
  position: absolute;
  inset: 0;
  background: var(--c-black);
  opacity: 0;
  will-change: transform, opacity;
}

.pt-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(56vw, 60vh);
  height: min(38vw, 42vh);
  /* cadre au dégradé Fubiz — motif de la transition */
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #E0315B, #C13584, #833AB4) 1;
  opacity: 0;
  will-change: transform, opacity;
}

.pt-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--c-amber);
}

.pt-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.pt-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.pt-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.pt-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ----------------------------------------------------------- custom cursor */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-signature);
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-ivory);
  will-change: transform;
  transition: opacity 0.3s var(--ease-signature);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--c-ivory-50);
  border-radius: 50%;
  will-change: transform;
  transition: width 0.4s var(--ease-signature), height 0.4s var(--ease-signature),
    border-radius 0.4s var(--ease-signature), border-color 0.4s var(--ease-signature),
    background-color 0.4s var(--ease-signature), opacity 0.3s var(--ease-signature);
}

.cursor-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ivory);
  opacity: 0;
  transition: opacity 0.3s var(--ease-signature);
}

.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  border-color: var(--c-amber);
}

.cursor-ring.is-scroll {
  width: 96px;
  height: 48px;
  border-radius: 2px;
  border-color: var(--c-amber);
  background: rgba(193, 53, 132, 0.1);
}

.cursor-ring.is-scroll .cursor-label {
  opacity: 1;
}

/* viewfinder — four corner brackets that open out over an image (au lieu du
   point), with a VOIR label. The dot + ring fade out; the frame fades in. */
.cursor-frame {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  opacity: 0;
  will-change: transform, width, height, opacity;
  transition: width 0.45s var(--ease-signature), height 0.45s var(--ease-signature),
    opacity 0.3s var(--ease-signature);
}

.cursor-corner {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--c-amber);
}

.cursor-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.cursor-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.cursor-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.cursor-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.cursor-view-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  transition: opacity 0.3s var(--ease-signature);
}

.cursor.is-viewfinder .cursor-dot,
.cursor.is-viewfinder .cursor-ring {
  opacity: 0;
}

.cursor.is-viewfinder .cursor-frame {
  opacity: 1;
  width: 74px;
  height: 52px;
}

.cursor.is-viewfinder .cursor-view-label {
  opacity: 1;
}

/* hide the native cursor only while the custom one is active */
body.cursor-custom,
body.cursor-custom a,
body.cursor-custom button {
  cursor: none;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fnav-links {
    display: none;
  }

  .fnav-toggle {
    display: flex;
  }

  .choice-item {
    width: clamp(56px, 18vw, 120px);
  }

  .choice-item.is-landscape {
    width: clamp(68px, 22vw, 150px);
  }

  .hero-caption--low {
    padding-bottom: 13vh;
  }

  .pillar {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-right {
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .numbers-grid {
    gap: 3.5rem 1.5rem;
  }

  .floating-nav {
    top: 10px;
    padding: 0.7rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-cue-line,
  .scroll-cue-arrow {
    animation: none;
  }
}

/* ====================================================================== */
/* HERO FILM — new overlays, live counter, white flash relay.            */
/* Additive only. --fubiz-gradient is defined once in the root palette.   */
/* ====================================================================== */

/* --- new overlay kicker (gradient); titles stay ivory via .hero-caption --- */
.caption-kicker-grad {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.3vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* h1/h2 sitting directly inside a .hero-caption inherit its display size */
.hero-caption h1,
.hero-caption h2 {
  font-size: inherit;
  letter-spacing: inherit;
  line-height: 1.08;
}

/* --- live counter, discreet, top-center --- */
.hero-counter {
  position: absolute;
  top: clamp(4.5rem, 12vh, 7.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity;
}

.hero-counter-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4.4vw, 3.1rem);
  letter-spacing: 0.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-counter-label {
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 1.1vw, 0.72rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
}

/* --- white flash relay: full-screen, above the canvas, fades onto section 1 --- */
.hero-flash {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.hero-flash-text {
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.6vw, 1.05rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: #000000;
  opacity: 0;
  will-change: opacity;
}

/* GSAP/CDN failed: keep the new elements out of the static fallback */
.no-gsap .hero-counter,
.no-gsap .hero-flash {
  display: none;
}

@media (max-width: 768px) {
  .hero-counter {
    top: clamp(3.5rem, 10vh, 5.5rem);
  }
  .hero-counter-num {
    font-size: clamp(1.3rem, 7vw, 2.2rem);
  }
}

/* ====================================================================== */
/* LE PROJECTEUR — spotlight reveal section (built by js/projecteur.js).   */
/* Black 100vh field, images desaturated/near-invisible; a soft beam masks */
/* a colour layer to reveal them. Animations: transform + opacity only.    */
/* ====================================================================== */

.projecteur {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #000;
  --proj-beam-r: 280px;
}

/* sous-texte du Projecteur (contenu v2) — règle additive : la section est un
   canvas plein écran sans flux, le texte doit donc être positionné comme le
   titre. Aucune règle existante n'est modifiée. */
.proj-sub {
  position: absolute;
  top: clamp(7.25rem, 17vh, 11rem);
  /* centrage sans transform : laisse GSAP animer y au reveal sans conflit */
  left: 0;
  right: 0;
  width: fit-content;
  margin: 0 auto;
  z-index: 4;
  max-width: min(90vw, 44ch);
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  line-height: 1.5;
  color: var(--c-ivory-50);
  pointer-events: none;
}

.proj-title {
  position: absolute;
  top: clamp(5rem, 11vh, 7.5rem);
  /* centrage sans transform : laisse GSAP animer y au reveal sans conflit */
  left: 0;
  right: 0;
  width: fit-content;
  margin: 0 auto;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.5vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.proj-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.proj-grid {
  position: absolute;
  inset: 0;
}

.proj-item {
  position: absolute;
  width: calc(var(--w, 20) * 1vw);
  aspect-ratio: 440 / 285;
  overflow: hidden;
  transform: rotate(var(--r, 0deg));
  will-change: transform;
}

.proj-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

/* faint, desaturated base — barely there until the beam passes */
.proj-grid--base {
  z-index: 1;
}
.proj-grid--base .proj-item {
  opacity: 0.06;
}
.proj-grid--base .proj-item img {
  filter: grayscale(1) contrast(0.9);
}

/* full-colour layer, revealed only inside the beam via a radial mask */
.proj-grid--lit {
  z-index: 3;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    circle var(--proj-beam-r) at var(--bx, 50%) var(--by, 50%),
    #000 0%, #000 40%, rgba(0, 0, 0, 0) 78%
  );
  mask-image: radial-gradient(
    circle var(--proj-beam-r) at var(--bx, 50%) var(--by, 50%),
    #000 0%, #000 40%, rgba(0, 0, 0, 0) 78%
  );
}

/* the visible light itself — pure transform translate, screen blend */
.proj-beam {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: calc(var(--proj-beam-r) * 2.2);
  height: calc(var(--proj-beam-r) * 2.2);
  margin: calc(var(--proj-beam-r) * -1.1) 0 0 calc(var(--proj-beam-r) * -1.1);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(224, 49, 91, 0.20) 0%,
    rgba(131, 58, 180, 0.12) 38%,
    rgba(0, 0, 0, 0) 70%
  );
  transform: translate3d(var(--bx, 50vw), var(--by, 50vh), 0);
  will-change: transform, opacity;
  transition: opacity 0.4s var(--ease-signature);
}

.projecteur.is-lit .proj-beam {
  opacity: 1;
}

/* enlarge-on-click lightbox — darkens the rest, thin gradient frame */
.proj-lightbox {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 6vw, 6rem);
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-signature), visibility 0s linear 0.5s;
}

.proj-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s var(--ease-signature), visibility 0s;
}

.proj-lightbox-frame {
  margin: 0;
  padding: 3px;
  border-radius: 2px;
  background: var(--fubiz-gradient);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.55s var(--ease-signature), opacity 0.55s var(--ease-signature);
  will-change: transform, opacity;
}

.proj-lightbox.is-open .proj-lightbox-frame {
  transform: scale(1);
  opacity: 1;
}

.proj-lightbox-frame img {
  display: block;
  max-width: min(82vw, 1100px);
  max-height: 82vh;
  width: auto;
  height: auto;
  background: #000;
}

/* in the projecteur the beam is the pointer, so drop the dot + ring; only the
   viewfinder frame remains, marking the spot the beam aims at. */
body.in-projecteur .cursor-dot,
body.in-projecteur .cursor-ring {
  opacity: 0;
}

@media (max-width: 768px) {
  .projecteur {
    --proj-beam-r: 200px;
  }
  .proj-item {
    width: calc(var(--w, 20) * 1.9vw);
  }
}

/* ====================================================================== */
/* PORTFOLIO VISUALS — additive only. Project-row thumbnails (projects)    */
/* and talent portraits (talents). New classes; no existing rule touched.  */
/* ====================================================================== */

/* project row media strip — primary visual + optional secondary thumbs */
.work-media {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(0.5rem, 1vw, 0.85rem);
  margin-top: clamp(1.25rem, 3vh, 2rem);
}

.work-media img {
  display: block;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--c-line);
  border-radius: 3px;
  background: #0a0a0a;
}

.work-media-main {
  width: clamp(220px, 38vw, 460px);
  aspect-ratio: 16 / 10;
}

.work-media-thumb {
  width: clamp(82px, 12vw, 148px);
  aspect-ratio: 16 / 10;
}

/* talent portraits */
.talent-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  max-width: 640px;
  margin-top: clamp(2.5rem, 6vh, 4rem);
}

.talent-card {
  margin: 0;
}

.talent-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--c-line);
  border-radius: 3px;
  background: #0a0a0a;
}

.talent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talent-name {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ivory-72);
}

/* ====================================================================== */
/* LE MUR DE NOMS — talent name wall (additive; wired by talents-wall.js). */
/* Black field, giant serif names in columns; hover gradients the name and  */
/* dims the rest; photo cards follow the cursor. Transform/opacity only.    */
/* ====================================================================== */

.namewall {
  /* pas de fond : le canvas .fond-vivant fournit le noir + les halos */
}

.nw-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  margin-bottom: clamp(1.5rem, 3.5vh, 2.25rem);
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nw-title {
  font-size: clamp(2rem, 6vw, 4.4rem);
  max-width: 16ch;
}

.nw-sub {
  margin-top: clamp(1rem, 2.5vh, 1.5rem);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: var(--c-ivory-50);
  max-width: 48ch;
}

.nw-list {
  margin-top: clamp(3rem, 8vh, 6rem);
  column-count: 2;
  column-gap: clamp(2rem, 6vw, 6rem);
}

@media (min-width: 1200px) {
  .nw-list {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .nw-list {
    column-count: 1;
  }
}

.nw-item {
  break-inside: avoid;
  padding: 0.06em 0;
}

.nw-name {
  position: relative; /* containing block for the discipline tag */
  display: inline-block;
  font-family: Georgia, 'Times New Roman', 'Times', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--c-ivory);
  cursor: pointer;
  transition: opacity 0.3s var(--ease-signature);
  -webkit-text-fill-color: currentColor; /* normal fill until the gradient hover */
}

/* discipline tag — talents without a portrait. Absolutely placed so it never
   reflows the wall; fades + slides in beside the name on hover. */
.nw-discipline {
  position: absolute;
  left: 100%;
  top: 0.62em;
  margin-left: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s var(--ease-signature), transform 0.35s var(--ease-signature);
  pointer-events: none;
}

.nw-item:hover .nw-discipline {
  opacity: 1;
  transform: translateX(0);
}

/* hover: dim the others, gradient the one under the pointer */
.nw-list:hover .nw-name {
  opacity: 0.25;
}

.nw-item:hover .nw-name {
  opacity: 1;
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* WebGL image-trail (work-hover.js) — grand visuel distordu suivant le curseur
   sur la liste de projets. Plein viewport, jamais cliquable, sous le menu. */
.work-trail-gl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 70;
  pointer-events: none;
}

/* cursor-following photo cards — built once, only opacity/transform change */
.nw-photos {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
}

.nw-photo {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, opacity;
  transition: opacity 0.35s var(--ease-signature);
}

.nw-photo.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .nw-photo {
    display: none; /* no cursor-follow card when motion is reduced */
  }
  .nw-discipline {
    transform: none; /* fade only, no slide */
    transition: opacity 0.3s var(--ease-signature);
  }
  .nw-item:hover .nw-discipline {
    transform: none;
  }
}

/* ====================================================================== */
/* GALERIE EN ORBITE — vanilla CSS-3D port of the Cosmos orbit gallery.     */
/* Black space + Fubiz gradient. Items billboard via translate3d; depth via */
/* perspective. Built/driven by js/orbit-gallery.js. Transform/opacity only.*/
/* ====================================================================== */

.orbit {
  /* pas de fond : le canvas .fond-vivant fournit le noir + les halos */
  position: relative;
  overflow: hidden;
}

.orbit-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.orbit-title {
  font-size: clamp(2rem, 6vw, 4.4rem);
  max-width: 18ch;
}

.orbit-hint {
  margin-top: clamp(0.75rem, 2vh, 1.25rem);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
}

/* faint cosmos glow behind the sphere — pure paint, not animated */
.orbit-stage {
  position: relative;
  width: 100%;
  height: clamp(420px, 68vh, 760px);
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  perspective: 1100px;
  perspective-origin: 50% 50%;
  cursor: grab;
  touch-action: pan-y; /* horizontal drag rotates; vertical still scrolls the page */
  background:
    radial-gradient(circle at 50% 50%,
      rgba(193, 53, 132, 0.10) 0%,
      rgba(131, 58, 180, 0.05) 38%,
      rgba(0, 0, 0, 0) 68%);
}

.orbit-stage.is-grabbing {
  cursor: grabbing;
}

.orbit-world {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(116px, 15vw, 196px);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  background: #0a0a0a;
  cursor: pointer;
  backface-visibility: hidden;
  will-change: transform, opacity;
  /* transform + opacity are set every frame by the script */
}

.orbit-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
  pointer-events: none;
  -webkit-user-drag: none;
}

/* zoom overlay — darkens the rest, thin gradient frame + caption */
.orbit-zoom {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vh, 1.75rem);
  padding: clamp(1.5rem, 6vw, 6rem);
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-signature), visibility 0s linear 0.45s;
}

.orbit-zoom.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.45s var(--ease-signature), visibility 0s;
}

.orbit-zoom-frame {
  margin: 0;
  padding: 3px;
  border-radius: 3px;
  background: var(--fubiz-gradient);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.5s var(--ease-signature), opacity 0.5s var(--ease-signature);
}

.orbit-zoom.is-open .orbit-zoom-frame {
  transform: scale(1);
  opacity: 1;
}

.orbit-zoom-frame img {
  display: block;
  max-width: min(82vw, 1000px);
  max-height: 74vh;
  width: auto;
  height: auto;
  background: #000;
  border-radius: 2px;
}

.orbit-zoom-cap {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.5vw, 0.95rem);
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
  text-align: center;
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 768px) {
  .orbit-item {
    width: clamp(96px, 30vw, 150px);
  }
}

/* ====================================================================== */
/* PASSE ANIMATION GLOBALE — additif uniquement.                          */
/* ====================================================================== */

/* --- mur de marques : double marquee (moteur [data-marquee] existant) --- */
.brand-marquee + .brand-marquee {
  margin-top: clamp(1rem, 3vh, 1.75rem);
}

.bw-line {
  display: flex;
  width: max-content;
  white-space: nowrap;
}

.bw-item {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
  cursor: default;
  transition: color 0.3s var(--ease-signature);
}

/* séparateur médian, comme l'eco-strip */
.bw-item::after {
  content: '·';
  margin: 0 clamp(1.25rem, 3.5vw, 3rem);
  color: var(--c-line);
}

/* marque survolée : dégradé Fubiz (le ::after garde sa couleur) */
.bw-item:hover {
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.bw-item:hover::after {
  -webkit-text-fill-color: var(--c-line);
}

/* ---- Smooth scroll Lenis (accueil) : règles recommandées ------------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---- Marquee de marques dans le footer (même composant [data-marquee]) - */
.footer-marquee {
  width: 100%;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  padding-top: clamp(1.75rem, 4vh, 2.75rem);
  border-top: 1px solid var(--c-line);
}

/* --- vie des images : scale 1.06 au repos, 1 au survol (propriété scale,
       indépendante du transform GSAP du parallax) --- */
.work-media img,
.talent-photo img {
  scale: 1.06;
  transition: scale 0.6s var(--ease-signature);
}

.work-row:hover .work-media img,
.talent-card:hover .talent-photo img {
  scale: 1;
}

/* teaser de l'accueil (.selected) : même grammaire que les visuels de la page
   contact (tuiles logos / IG / flux) — désaturé au repos, couleur pleine +
   léger zoom au survol. Limité à .selected pour ne pas toucher la page projets.
   La parallaxe (transform sur .work-media via global.js) reste indépendante. */
.selected .work-media img {
  scale: 1;
  filter: grayscale(1) brightness(0.82) contrast(1.03);
  transition: filter 0.6s var(--ease-signature), scale 0.6s var(--ease-signature);
}
.selected .work-row:hover .work-media img {
  scale: 1.05;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .selected .work-media img { transition: filter 0.3s linear; }
  .selected .work-row:hover .work-media img { scale: 1; }
}

/* --- footer signature : FUBIZ géant outline, rempli lettre à lettre --- */
.footer-giant {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: clamp(2.5rem, 7vh, 5rem);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 17.5vw, 21rem);
  line-height: 0.9;
  text-transform: uppercase;
  user-select: none;
}

.fg-letter {
  position: relative;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-ivory);
  transition: color 0.4s var(--ease-signature);
}

/* duplicata en dégradé, fondu lettre à lettre via .is-filled */
.fg-letter::before {
  content: attr(data-letter);
  position: absolute;
  inset: 0;
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease-signature);
}

.fg-letter.is-filled::before {
  opacity: 1;
}

/* survol : la lettre se remplit en blanc (le dégradé s'efface) */
.fg-letter:hover {
  color: var(--c-ivory);
}
.fg-letter:hover::before {
  opacity: 0;
}

/* ====================================================================== */
/* QUICK-VIEW PROJETS — overlay plein écran (js/quickview.js, page projets) */
/* Visuels en grand dans un cadre dégradé, marque + projet, fond assombri.  */
/* Même grammaire visuelle que .proj-lightbox / .orbit-zoom.                */
/* ====================================================================== */

/* la ligne devient cliquable : on signale l'affordance discrètement */
.work-row.is-viewable {
  cursor: pointer;
}

.quickview {
  position: fixed;
  inset: 0;
  z-index: 7500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.5vh, 2.25rem);
  padding: clamp(1.5rem, 6vw, 5rem);
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-signature), visibility 0s linear 0.5s;
}

.quickview.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s var(--ease-signature), visibility 0s;
}

.quickview-close {
  position: absolute;
  top: clamp(1rem, 3vh, 2rem);
  right: clamp(1rem, 4vw, 3rem);
  width: 48px;
  height: 48px;
  font-family: var(--font-body);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--c-ivory);
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.4s var(--ease-signature), border-color 0.4s var(--ease-signature),
    transform 0.4s var(--ease-signature);
}

.quickview-close:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
  transform: rotate(90deg);
}

.quickview-media {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  max-width: 94vw;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.55s var(--ease-signature), opacity 0.55s var(--ease-signature);
  will-change: transform, opacity;
}

.quickview.is-open .quickview-media {
  transform: scale(1);
  opacity: 1;
}

.qv-frame {
  margin: 0;
  padding: 3px;
  border-radius: 2px;
  background: var(--fubiz-gradient);
}

.qv-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(82vw, 820px);
  max-height: 72vh;
  border-radius: 1px;
  background: #000;
}

/* plusieurs visuels : ils tiennent côte à côte */
.quickview-media.has-many .qv-frame img {
  max-width: min(44vw, 540px);
  max-height: 64vh;
}

.quickview-caption {
  text-align: center;
}

.qv-brand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--c-ivory);
}

.qv-project {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.4vw, 0.95rem);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* page verrouillée pendant l'aperçu */
body.quickview-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .quickview-media.has-many .qv-frame img {
    max-width: 82vw;
    max-height: 42vh;
  }
}

/* ====================================================================== */
/* PAGE 404 — même DA. Grand « 404 » outline + dégradé Fubiz (technique du    */
/* footer-giant), fond vivant inclus via le canvas partagé.                  */
/* ====================================================================== */

.err {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(6rem, 16vh, 10rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

/* « 404 » ajouré : tracé SVG au dégradé Fubiz (vrai outline, pas un remplissage) */
.err-num {
  display: block;
  width: min(82vw, 720px);
  height: auto;
  margin: clamp(1.5rem, 4vh, 3rem) 0 clamp(1.75rem, 4vh, 3rem);
  overflow: visible;
  user-select: none;
}

.err-text {
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--c-ivory);
  margin-bottom: clamp(2rem, 5vh, 3.25rem);
}

.err .cta-line {
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
}

/* ====================================================================== */
/* SECTIONS ACCUEIL — Le Studio · Ils nous font confiance · La Scène.       */
/* Additif. Réutilise .section, .badge-mono, .manifesto-statement,          */
/* .brand-marquee/.bw-item, le moteur [data-marquee] et les reveals.        */
/* ====================================================================== */

/* --- Le Studio : paragraphe de lecture sous le statement display --- */
.studio-text,
.stage-text {
  margin-top: clamp(1.75rem, 4vh, 2.75rem);
  max-width: 62ch;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.62;
  color: var(--c-ivory-72);
  text-wrap: pretty;
}

/* --- Ils nous font confiance : réutilise .brand-marquee + .bw-item --- */
.clients .brand-marquee:first-of-type {
  margin-top: clamp(2.5rem, 6vh, 4rem);
}

/* ====================================================================== */
/* SAVOIR-FAIRE — grille de 6 services (projects.html, remplace l'accordéon) */
/* ====================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 6vh, 4rem);
}

.service-card {
  padding-top: clamp(1.25rem, 2.5vh, 1.75rem);
  border-top: 1px solid var(--c-line);
  transition: transform 0.35s var(--ease-signature);
}

.service-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--c-accent);
}

.service-name {
  margin-top: clamp(0.9rem, 2vh, 1.4rem);
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.04;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  color: var(--c-ivory);
  /* dégradé Fubiz peint derrière le texte, masqué par le fill ivoire au repos ;
     au survol le fill devient transparent et le dégradé apparaît en fondu. */
  background-image: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--c-ivory);
  transition: -webkit-text-fill-color 0.35s var(--ease-signature), color 0.35s var(--ease-signature);
}

.service-desc {
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  line-height: 1.55;
  color: var(--c-ivory-50);
  max-width: 34ch;
}

/* hover (2 propriétés) : le nom passe en dégradé Fubiz + la carte se soulève */
.service-card:hover {
  transform: translateY(-4px);
}

.service-card:hover .service-name {
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ====================================================================== */
/* LA SCÈNE — marquee speakers + poster vidéo + lightbox (js/talks.js).      */
/* ====================================================================== */

.stage-speakers {
  margin-top: clamp(3rem, 7vh, 5rem);
}

.stage-speakers .marquee-item {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
}

/* poster cliquable — cadre 16:9, aucun layout shift (aspect-ratio réservé) */
.talks-poster {
  position: relative;
  display: block;
  width: 100%;
  max-width: 920px;
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  background: #0a0a0a;
  cursor: pointer;
}

.talks-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.04;
  transition: scale 0.6s var(--ease-signature);
}

.talks-poster:hover .talks-poster-img {
  scale: 1;
}

/* léger voile pour faire ressortir le bouton lecture */
.talks-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.talks-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 9vw, 92px);
  height: clamp(64px, 9vw, 92px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--fubiz-gradient);
  color: var(--c-ivory);
  box-shadow: 0 8px 40px rgba(193, 53, 132, 0.45);
  transition: transform 0.4s var(--ease-signature), box-shadow 0.4s var(--ease-signature);
}

.talks-play svg {
  width: 38%;
  height: 38%;
  margin-left: 8%; /* recentre le triangle optiquement */
}

.talks-poster:hover .talks-play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 10px 54px rgba(193, 53, 132, 0.6);
}

.talks-caption {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-ivory);
}

/* lightbox vidéo — même grammaire que .proj-lightbox / .quickview */
.talks-lightbox {
  position: fixed;
  inset: 0;
  z-index: 7600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 6vw, 5rem);
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-signature), visibility 0s linear 0.5s;
}

.talks-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease-signature), visibility 0s;
}

.talks-lightbox-frame {
  position: relative;
  width: min(90vw, 1280px);
  aspect-ratio: 16 / 9;
  max-height: 84vh;
  background: #000;
  border-radius: 3px;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.55s var(--ease-signature);
}

.talks-lightbox.is-open .talks-lightbox-frame {
  transform: scale(1);
}

.talks-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.talks-lightbox-close {
  position: absolute;
  top: clamp(1rem, 3vh, 2rem);
  right: clamp(1rem, 4vw, 3rem);
  width: 48px;
  height: 48px;
  font-family: var(--font-body);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--c-ivory);
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.4s var(--ease-signature), border-color 0.4s var(--ease-signature),
    transform 0.4s var(--ease-signature);
}

.talks-lightbox-close:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
  transform: rotate(90deg);
}

body.talks-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .talks-poster-img,
  .talks-poster:hover .talks-poster-img {
    scale: 1;
  }
  .talks-lightbox-frame {
    transform: none;
  }
}

/* ====================================================================== */
/* BANDEAU CITATION (accueil) — pleine largeur, fond noir, grande serif.    */
/* ====================================================================== */

.quote-banner {
  text-align: center;
}

.quote-fig {
  margin: 0 auto;
  max-width: 24ch;
}

.quote-text {
  margin: 0;
  font-family: Georgia, 'Times New Roman', 'Times', serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 5.2vw, 4.2rem);
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--c-ivory);
  text-wrap: balance;
}

.quote-cite {
  margin-top: clamp(1.75rem, 4vh, 2.75rem);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-ivory-72);
}

.quote-role {
  color: var(--c-ivory-30);
}

/* ====================================================================== */
/* DAILY DOSE OF INSPIRATION (3D Spline lazy + fallback) — accueil.         */
/* ====================================================================== */

.daily {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(520px, 82vh, 860px);
  overflow: hidden;
  padding-block: clamp(4rem, 10vh, 8rem);
}

.daily-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.daily-fallback,
.daily-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.daily-fallback {
  object-fit: cover;
  opacity: 0.5; /* assombri pour la lisibilité du texte par-dessus */
  transition: opacity 0.6s var(--ease-signature);
}

/* quand la 3D est chargée, le viewer apparaît en fondu et l'image s'efface */
.daily-viewer {
  opacity: 0;
  transition: opacity 0.8s var(--ease-signature);
}
.daily-3d.is-3d .daily-viewer {
  opacity: 1;
}
.daily-3d.is-3d .daily-fallback {
  opacity: 0;
}

/* voile pour garder le texte lisible quelle que soit la scène 3D */
.daily-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

.daily-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--pad-x);
  pointer-events: none; /* laisse l'interaction 3D passer dessous */
}

.daily-title {
  font-family: Georgia, 'Times New Roman', 'Times', serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--c-ivory);
}

.daily-sub {
  margin-top: clamp(1rem, 2.5vh, 1.75rem);
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ivory-72);
}

/* ====================================================================== */
/* CONTACT enrichi — titre « Bonjour. Hello. » + formulaire + bloc projet.  */
/* ====================================================================== */

.contact-hello {
  font-family: Georgia, 'Times New Roman', 'Times', serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 9.5vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--c-ivory);
  margin-bottom: clamp(2.75rem, 7vh, 5rem);
}

.contact-hello em {
  font-style: italic;
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: clamp(3rem, 8vh, 4.5rem);
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3.2vh, 2.1rem);
}

.cf-where {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  border: none;
  padding: 0;
  margin: 0;
}

.cf-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
  cursor: pointer;
  transition: color 0.35s var(--ease-signature);
}

.cf-radio input {
  accent-color: var(--fubiz-magenta);
  width: 14px;
  height: 14px;
}

.cf-radio input:checked + span {
  color: var(--c-ivory);
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cf-field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
}

.cf-field input,
.cf-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-line);
  border-radius: 0;
  color: var(--c-ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.55rem 0;
  transition: border-color 0.4s var(--ease-signature);
}

.cf-field textarea {
  resize: vertical;
  min-height: 3.4em;
}

.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
}

/* bouton ENVOYER : cercle dégradé Fubiz */
.cf-submit {
  align-self: flex-start;
  margin-top: clamp(0.75rem, 2vh, 1.5rem);
  width: clamp(112px, 13vw, 142px);
  height: clamp(112px, 13vw, 142px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: none;
  border-radius: 50%;
  background: var(--fubiz-gradient);
  color: var(--c-ivory);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: transform 0.4s var(--ease-signature), box-shadow 0.4s var(--ease-signature);
}

.cf-submit-arrow {
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.4s var(--ease-signature);
}

.cf-submit:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 44px rgba(193, 53, 132, 0.5);
}

.cf-submit:hover .cf-submit-arrow {
  transform: translateY(3px);
}

.contact-aside-title {
  font-family: Georgia, 'Times New Roman', 'Times', serif;
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--c-ivory);
}

.contact-blurb {
  margin-top: clamp(1.25rem, 3vh, 2rem);
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.62;
  color: var(--c-ivory-72);
  text-wrap: pretty;
}

.contact-cities {
  margin-top: clamp(1.75rem, 4vh, 2.75rem);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
}

.contact-cross {
  color: var(--c-accent);
}

@media (prefers-reduced-motion: reduce) {
  .daily-fallback { transition: none; }
  .cf-submit:hover { transform: none; }
}

/* ====================================================================
   PAGE CONTACT DÉDIÉE (contact.html)
   ==================================================================== */

/* Grille : aside gauche, formulaire droite (inverse des sections embarquées) */
.page-contact .contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

/* Coordonnées email + villes sous le texte aside */
.contact-coords {
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ivory-50);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

.contact-email {
  color: var(--c-ivory);
  text-decoration: none;
  transition: color 0.3s var(--ease-signature);
}

.contact-email:hover {
  background: var(--fubiz-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-email:focus-visible {
  outline: 2px solid #C13584;
  outline-offset: 4px;
  border-radius: 2px;
}

.contact-sep {
  color: var(--c-ivory-30);
}

/* Underline animé au focus : trait dégradé Fubiz scaleX 0→1 depuis la gauche */
.cf-field { position: relative; }

.cf-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--fubiz-gradient);
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.35s var(--ease-signature);
  pointer-events: none;
}

.cf-field:focus-within::after {
  transform: scaleX(1);
}

/* focus-visible clavier : outline dégradé sur les inputs */
.cf-field input:focus-visible,
.cf-field textarea:focus-visible {
  outline: 2px solid #C13584;
  outline-offset: 4px;
}

/* ====================================================================
   FOOTER — LIENS SOCIAUX
   ==================================================================== */

.footer-social {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vh, 2rem) var(--pad-x);
  border-top: 1px solid var(--c-line);
  margin-top: clamp(1rem, 2vh, 1.5rem);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ivory-50);
  text-decoration: none;
  position: relative;
}

.footer-social a svg {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.3s var(--ease-signature), color 0.25s var(--ease-signature);
}

.footer-social a:hover { color: #C13584; }
.footer-social a:hover svg { transform: translateY(-3px) scale(1.12); }

.footer-social a:focus-visible {
  outline: 2px solid #C13584;
  outline-offset: 4px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .cf-field::after { transition: none; }
  .footer-social a { transition: none; }
}
