/* Spatial system for the complete multi-page experience. */
:root {
  --studio-shell: rgba(240, 234, 223, 0.055);
  --studio-glow: rgba(182, 154, 104, 0.13);
  --studio-ease: cubic-bezier(0.32, 0.72, 0, 1);
}

/* Floating navigation and an actual morphing menu control. */
.site-nav,
.site-nav.is-scrolled {
  top: 0.9rem;
  left: max(1rem, calc((100vw - 1540px) / 2));
  right: max(1rem, calc((100vw - 1540px) / 2));
  width: auto;
  min-height: 4.35rem;
  padding-inline: clamp(1.2rem, 2.2vw, 2.4rem);
  border: 1px solid rgba(240, 234, 223, 0.11);
  border-radius: 0.7rem;
  background: rgba(8, 9, 10, 0.56);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 1.5rem 4rem rgba(29, 22, 14, 0.16);
  backdrop-filter: blur(20px) saturate(0.75);
  -webkit-backdrop-filter: blur(20px) saturate(0.75);
  transition: transform 0.7s var(--studio-ease), background 0.7s var(--studio-ease), border-color 0.7s var(--studio-ease);
}

.site-nav.is-scrolled { border-color: rgba(240, 234, 223, 0.17); background: rgba(8, 9, 10, 0.88); }
.nav-burger { position: relative; width: 2.2rem; height: 2.2rem; }
.nav-burger svg { display: none; }
.nav-burger::before,
.nav-burger::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  width: 1.25rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.65s var(--studio-ease), top 0.65s var(--studio-ease);
}
.nav-burger::before { top: 0.82rem; }
.nav-burger::after { top: 1.34rem; }
.nav-burger[aria-expanded="true"]::before { top: 1.08rem; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"]::after { top: 1.08rem; transform: rotate(-45deg); }

/* Inner heroes gain depth and a physical lower rail. */
.page-hero { isolation: isolate; }
.page-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 2.2rem;
  width: clamp(5rem, 10vw, 10rem);
  height: 1px;
  background: var(--brass-400);
  transform-origin: right;
  animation: heroRail 1.4s 1.3s both var(--studio-ease);
}
.page-hero-inner { z-index: 3; }
.page-hero .kicker {
  width: max-content;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(240, 234, 223, 0.16);
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.32);
  backdrop-filter: blur(12px);
}
@keyframes heroRail { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }

/* Consultation map: irregular, numbered and tactile. */
#accompagnement { position: relative; overflow: clip; }
#accompagnement::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -8rem;
  width: 28rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--studio-glow);
  filter: blur(1px);
}
#accompagnement .container {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}
#accompagnement .galerie-sub { position: sticky; top: 8rem; font-size: clamp(3rem, 6vw, 6.8rem); }
#accompagnement .page-intro { max-width: 48ch; }
#accompagnement .fiche-list {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.8rem;
  margin-top: 2rem;
  counter-reset: mission;
}
#accompagnement .fiche-list li {
  position: relative;
  min-height: 13rem;
  display: flex;
  align-items: flex-end;
  padding: 4.5rem 2rem 2rem;
  border: 1px solid rgba(240, 234, 223, 0.09);
  border-radius: 1.8rem;
  background: var(--studio-shell);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055);
  counter-increment: mission;
  transition: transform 0.8s var(--studio-ease), background 0.8s var(--studio-ease);
}
#accompagnement .fiche-list li::before {
  content: "0" counter(mission);
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  color: var(--brass-400);
  font-family: var(--font-display);
  font-size: 1.35rem;
}
#accompagnement .fiche-list li:first-child { grid-column: 1 / 3; min-height: 17rem; font-family: var(--font-display); font-size: 1.45rem; }
#accompagnement .fiche-list li:nth-child(4) { grid-row: span 2; min-height: 27rem; }
#accompagnement .fiche-list li:hover { transform: translateY(-0.5rem); background: rgba(240, 234, 223, 0.085); }

/* Consulting and art direction become two layered editorial spreads. */
#consulting > .container { overflow: visible; }
#consulting .fiche {
  min-height: 100svh;
  grid-template-columns: 0.72fr 1.1fr;
  gap: clamp(3rem, 8vw, 10rem);
  align-items: center;
  border: 0;
}
#consulting .fiche-body { position: relative; z-index: 2; }
#consulting .fiche-title { font-size: clamp(4.5rem, 9vw, 9.5rem); }
#consulting .fiche-media { min-height: 48rem; }
#consulting .fiche-media figure:first-child {
  width: 88%;
  margin-left: auto;
  padding: 0.65rem;
  border: 1px solid rgba(240, 234, 223, 0.1);
  border-radius: 2.8rem;
  background: rgba(240, 234, 223, 0.045);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 3rem 8rem rgba(54, 41, 24, 0.2);
  transform: rotate(1.5deg);
}
#consulting .fiche-media figure:first-child img { border-radius: 2.15rem; }
#consulting .fiche-media-second {
  width: 44%;
  margin: -12rem 0 0 -7%;
  padding: 0.45rem;
  border-radius: 50%;
  background: rgba(240, 234, 223, 0.1);
  box-shadow: 0 2rem 6rem rgba(54, 41, 24, 0.24);
  transform: rotate(-4deg) translateZ(0);
}
#consulting .fiche-media-second img { border-radius: 50%; }
#consulting .fiche:nth-of-type(2) { grid-template-columns: 1.1fr 0.72fr; }
#consulting .fiche:nth-of-type(2) .fiche-body { grid-column: 2; grid-row: 1; }
#consulting .fiche:nth-of-type(2) .fiche-media { grid-column: 1; grid-row: 1; }

.service-crosslink {
  margin-block: 3rem;
  padding: clamp(4rem, 8vw, 8rem);
  border: 1px solid rgba(240, 234, 223, 0.1);
  border-radius: 2.5rem;
  background: radial-gradient(circle at 92% 15%, rgba(182, 154, 104, 0.16), transparent 28rem), rgba(240, 234, 223, 0.045);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

/* Events: one operational panel, one manifesto-like light chapter. */
#deroule .signature-bloc { grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 8vw, 10rem); align-items: center; }
#deroule .fiche-list {
  padding: 0.65rem;
  border: 1px solid rgba(240, 234, 223, 0.09);
  border-radius: 2.3rem;
  background: rgba(240, 234, 223, 0.045);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}
#deroule .fiche-list li { padding: 1.35rem 1.5rem; border-radius: 1.5rem; transition: background 0.6s var(--studio-ease), transform 0.6s var(--studio-ease); }
#deroule .fiche-list li:hover { background: rgba(240, 234, 223, 0.07); transform: translateX(0.35rem); }
#deroule .signature-media { padding: 0.7rem; border-radius: 3rem; background: rgba(240, 234, 223, 0.055); transform: rotate(2deg); }
#deroule .signature-media img { border-radius: 2.3rem; }
#formats { margin-top: clamp(5rem, 9vw, 9rem); padding: clamp(7rem, 12vw, 13rem) 0 !important; background: var(--bone-100); color: var(--ink-950); }
#formats .galerie-sub { max-width: 11ch; color: var(--ink-950); font-size: clamp(4rem, 8vw, 9rem); }
#formats .partner-text, #formats .fiche-meta { color: rgba(8, 9, 10, 0.68); }
#formats .fiche-sub { color: #745f40; }

/* Journey and press are treated like cultural editorial pages. */
.timeline { border-top: 1px solid var(--line-dark); }
.tl-item { grid-template-columns: 0.35fr 1fr; min-height: 22rem; padding-block: clamp(3rem, 6vw, 6rem); }
.tl-year { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 5.5rem); letter-spacing: -0.035em; }
.tl-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 4.5rem); }
.quote-bloc { min-height: 80svh; align-items: center; }
.quote-media { width: 82%; transform: rotate(-2deg); }
.quote-text { position: relative; z-index: 2; margin-left: -16%; font-size: clamp(2.5rem, 5vw, 5.8rem); }

.presse-row { padding-block: 2.1rem; transition: padding 0.65s var(--studio-ease), background 0.65s var(--studio-ease); }
.presse-row:hover { padding-inline: 1.2rem; background: rgba(240, 234, 223, 0.045); }

/* Contact becomes a single decisive composition. */
.contact-grid { min-height: 90svh; align-items: center; }
.contact-photo { padding: 0.65rem; border-radius: 50% 50% 2.6rem 2.6rem / 22% 22% 2.6rem 2.6rem; background: rgba(240, 234, 223, 0.06); transform: rotate(-1.5deg); }
.contact-photo img { border-radius: inherit; }
.contact-coords li:first-child a { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 4.5rem); }
.contact-actions .btn-ghost { border-radius: 999px; transition: transform 0.55s var(--studio-ease), background 0.55s var(--studio-ease); }
.contact-actions .btn-ghost:active { transform: scale(0.98); }

/* Final call-to-action is an inset physical surface. */
.cta-band { margin: clamp(1rem, 2vw, 2rem); border-radius: 2.8rem; overflow: hidden; background: radial-gradient(circle at 85% 18%, rgba(182, 154, 104, 0.2), transparent 28rem), #151311; }
.cta-band-inner { padding-inline: clamp(1.5rem, 5vw, 5rem); }
.cta-band-btn { border: 1px solid rgba(240, 234, 223, 0.22); border-radius: 999px; padding: 0.85rem 1.35rem; }

@media (max-width: 1200px) {
  .nav-links.is-open {
    inset: 0;
    min-height: 100svh;
    justify-content: center;
    padding: 7rem var(--gutter) 3rem;
    background: rgba(8, 9, 10, 0.94);
    backdrop-filter: blur(24px);
  }
  .nav-links.is-open a { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 4rem); opacity: 0; transform: translateY(2rem); animation: navRise 0.8s both var(--studio-ease); }
  .nav-links.is-open a:nth-child(2) { animation-delay: 0.06s; }
  .nav-links.is-open a:nth-child(3) { animation-delay: 0.12s; }
  .nav-links.is-open a:nth-child(4) { animation-delay: 0.18s; }
  .nav-links.is-open a:nth-child(5) { animation-delay: 0.24s; }
}
@keyframes navRise { to { opacity: 1; transform: none; } }

@media (max-width: 768px) {
  .site-nav, .site-nav.is-scrolled { top: 0.65rem; left: 0.65rem; right: 0.65rem; padding-inline: 1rem; }
  .page-hero::after { right: 1.4rem; }
  .page-hero .page-title {
    max-width: 100%;
    font-size: clamp(3.1rem, 13.2vw, 4.6rem);
    line-height: 0.9;
  }
  #accompagnement .container, #deroule .signature-bloc { grid-template-columns: 1fr; }
  #accompagnement .galerie-sub { position: static; }
  #accompagnement .fiche-list { grid-column: 1; grid-template-columns: 1fr; }
  #accompagnement .fiche-list li, #accompagnement .fiche-list li:first-child, #accompagnement .fiche-list li:nth-child(4) { grid-column: 1; grid-row: auto; min-height: 12rem; }
  #consulting .fiche, #consulting .fiche:nth-of-type(2) { min-height: auto; grid-template-columns: 1fr; }
  #consulting .fiche:nth-of-type(2) .fiche-body, #consulting .fiche:nth-of-type(2) .fiche-media { grid-column: 1; grid-row: auto; }
  #consulting .fiche-title { font-size: clamp(3.8rem, 17vw, 6rem); }
  #consulting .fiche-media { min-height: 34rem; }
  .service-crosslink { margin-inline: 0; padding: 2rem; border-radius: 1.8rem; }
  #formats { padding-inline: 1.4rem !important; }
  .tl-item { grid-template-columns: 1fr; min-height: 0; }
  .quote-bloc { min-height: auto; }
  .quote-media { width: 88%; }
  .quote-text { margin: -3rem 0 0 8%; }
  .cta-band { margin: 0.7rem; border-radius: 2rem; }
}

@media (max-width: 560px) {
  .loader-status { grid-template-columns: 1fr; text-align: center; }
  .loader-status em { display: none; }
  .loader-object { width: 12rem; }
}
