:root{
  --bg:#0b0b0b;
  --fg:#f4f1eb;
  --muted:rgba(244,241,235,.66);
  --soft:rgba(244,241,235,.42);
  --line:rgba(255,255,255,.12);
  --max:1280px;
}
*{box-sizing:border-box}
html,body{
  margin:0;background:var(--bg);color:var(--fg);
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
#progress{
  position:fixed;left:0;top:0;height:3px;width:0;background:#fff;z-index:200;
  mix-blend-mode:difference;
}
header{
  position:fixed;z-index:150;left:18px;right:18px;top:18px;
  display:flex;justify-content:center;pointer-events:none;
}
.nav{
  width:min(100%,var(--max));
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding:14px 18px;border:1px solid var(--line);border-radius:999px;
  background:rgba(8,8,8,.38);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  pointer-events:auto;
}
.brand{
  display:flex;align-items:center;gap:0;
  font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;
}
.brand img{
  width:28px;height:28px;object-fit:contain;display:block;flex:0 0 auto;
}
.brand span{display:block;white-space:nowrap;}
.navlinks{display:flex;gap:18px;flex-wrap:wrap}
.navlinks a{
  font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)
}
.navlinks a:hover{color:#fff}

.hero{
  position:relative;min-height:118vh;display:flex;align-items:flex-end;
  padding:120px 20px 70px;overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;inset:-12%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.14), transparent 24%),
    radial-gradient(circle at 76% 24%, rgba(255,255,255,.08), transparent 22%),
    linear-gradient(135deg,#121212 0%,#0a0a0a 52%,#161616 100%);
  transform:scale(1.08);
}
.hero::after{
  content:"";
  position:absolute;inset:0;opacity:.22;pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:48px 48px;
}
.hero-inner{
  position:relative;z-index:2;width:min(100%,var(--max));margin:0 auto;
}
.kicker{
  margin:0 0 14px;font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--soft)
}
h1,h2,h3,p{margin:0}
.hero h1{
  font-size:clamp(62px,10.5vw,156px);
  line-height:.84;letter-spacing:-.07em;font-weight:760;max-width:1120px;
}
.hero .intro{
  margin-top:26px;max-width:720px;font-size:clamp(19px,2vw,28px);
  line-height:1.38;color:var(--muted);
}
.scrollhint{
  position:absolute;right:26px;bottom:34px;z-index:3;
  font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--soft);
  writing-mode:vertical-rl;
}

.work{
  position:relative;z-index:5;
}
.work-intro{
  padding:110px 20px 54px;
}
.container{width:min(100%,var(--max));margin:0 auto}
.work-intro h2,.about h2,.contact h2{
  font-size:clamp(42px,6.2vw,88px);line-height:.9;letter-spacing:-.06em;font-weight:740
}
.lead{
  margin-top:18px;max-width:720px;font-size:18px;line-height:1.55;color:var(--muted)
}

.project{
  position:relative;
  min-height:155vh;
}
.sticky{
  position:sticky;top:0;height:100vh;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.poster{
  position:absolute;inset:5.5vh 3.5vw;
  border-radius:34px;overflow:hidden;border:1px solid rgba(255,255,255,.11);
  background:
    radial-gradient(circle at var(--x,28%) var(--y,24%),rgba(255,255,255,.17),transparent 18%),
    radial-gradient(circle at calc(var(--x,28%) + 46%) calc(var(--y,24%) + 34%),rgba(255,255,255,.08),transparent 20%),
    linear-gradient(var(--angle,135deg),var(--c1,#121212),var(--c2,#242424));
  transform:scale(.88) rotate(var(--r,-1deg));
  opacity:.32;
  will-change:transform,opacity,filter;
}
.poster::before{
  content:"";
  position:absolute;inset:0;opacity:.24;
  background:
    repeating-linear-gradient(0deg,rgba(255,255,255,.04) 0,rgba(255,255,255,.04) 1px,transparent 1px,transparent 4px);
}
.poster-index{
  position:absolute;left:28px;top:24px;z-index:2;
  font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.58)
}
.project-copy{
  position:absolute;z-index:4;left:max(6vw,24px);bottom:max(7vh,44px);
  max-width:620px;
  opacity:0;transform:translateY(28px);
  transition:opacity .45s ease,transform .7s cubic-bezier(.2,.85,.2,1);
}
.project.active .project-copy{opacity:1;transform:translateY(0)}
.project-copy h3{
  font-size:clamp(34px,4.6vw,64px);line-height:.92;letter-spacing:-.055em
}
.project-tags{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:16px
}
.project-tags span{
  display:inline-flex;align-items:center;
  padding:8px 11px;border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.24);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  font-size:12px;line-height:1;letter-spacing:.05em;color:rgba(255,255,255,.78)
}

.marquee{
  position:relative;z-index:10;padding:20px 0 60px;overflow:hidden;border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.marquee-track{
  display:flex;
  width:max-content;
  animation:marquee 34s linear infinite;
  will-change:transform;
}
.marquee-group{
  display:flex;
  flex-shrink:0;
  gap:54px;
  padding-right:54px;
}
.marquee span{
  font-size:clamp(32px,4vw,62px);letter-spacing:-.045em;white-space:nowrap;color:rgba(255,255,255,.76)
}
.marquee b{color:#fff}
@keyframes marquee{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}

.about{
  position:relative;z-index:10;padding:130px 20px;
  background:#f0ede7;color:#111;
}
.about .kicker{color:rgba(17,17,17,.48)}
.about h2,.about p,.about div,.about strong,.about span{color:inherit}
.about .kicker{color:rgba(17,17,17,.48)}
.about-grid{
  margin-top:36px;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:40px;
  align-items:end
}
.about-text{
  font-size:clamp(21px,2.5vw,34px);line-height:1.28;letter-spacing:-.03em
}
.about-small{
  font-size:15px;
  line-height:1.1;
  color:rgba(17,17,17,.68);
  margin:0 0 2px auto;
  max-width:220px;
  text-align:right;
  align-self:end;
}
.metrics{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:34px
}
.metric{
  border:1px solid rgba(0,0,0,.13);border-radius:20px;padding:18px
}
.metric strong{
  display:block;font-size:clamp(30px,4vw,52px);letter-spacing:-.05em
}
.metric span{display:block;margin-top:5px;font-size:13px;line-height:1.45;color:rgba(17,17,17,.58)}

.contact{
  position:relative;z-index:10;padding:130px 20px 100px;background:#0a0a0a
}
.contact-grid{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:30px;align-items:end
}
.contact p{
  margin-top:18px;font-size:18px;line-height:1.55;color:var(--muted);max-width:60ch
}

.contact-lead strong{
  display:block;color:#fff;font-size:clamp(20px,2.2vw,30px);line-height:1.15;letter-spacing:-.025em
}
.contact-lead span{
  display:block;margin-top:12px
}

.cta{
  display:inline-flex;margin-top:26px;padding:15px 20px;border-radius:999px;background:#fff;color:#111;
  font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase
}
.signature{
  display:flex;justify-content:flex-end;align-items:flex-end
}
.signature img{
  width:clamp(110px,14vw,190px);height:auto;display:block
}
footer{
  position:relative;z-index:10;padding:24px 20px 44px;background:#0a0a0a
}
.footer{
  width:min(100%,var(--max));margin:0 auto;border-top:1px solid var(--line);padding-top:20px;
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--soft);font-size:12px
}

@media(max-width:900px){
  .about-grid,.contact-grid,.metrics{grid-template-columns:1fr}
  .signature{justify-content:flex-start;margin-top:28px}
  .poster{inset:8vh 14px}
  .project-copy{left:26px;right:26px}
}
@media(max-width:720px){
  header{left:10px;right:10px;top:10px}
  .nav{border-radius:24px;align-items:flex-start;flex-direction:column}
  .navlinks{gap:9px 12px}
  .hero{padding-left:14px;padding-right:14px}
  .work-intro,.about,.contact,footer{padding-left:14px;padding-right:14px}
    .scrollhint{display:none}
}

.project-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
  z-index:0;
}
.poster-index{
  z-index:3;
}
.poster::before{
  z-index:1;
}

.brand a{display:flex;align-items:center}
.poster-link{
  position:absolute;
  inset:0;
  display:block;
  z-index:2;
}
.poster-link .poster{cursor:pointer}
.poster-link:focus-visible .poster{
  outline:2px solid #fff;
  outline-offset:4px;
}

.project-detail-image{
  position:relative;
  z-index:8;
  min-height:112vh;
  display:flex;
  align-items:center;
  padding:90px 20px;
  background:var(--bg);
}
.project-detail-image .detail-wrap{
  width:min(100%,var(--max));
  margin:0 auto;
}
.project-detail-image .detail-frame{
  width:100%;
  overflow:hidden;
  border-radius:34px;
  border:1px solid rgba(255,255,255,.11);
  box-shadow:0 30px 90px rgba(0,0,0,.28);
  background:#111;
}
.project-detail-image img{
  width:100%;
  height:auto;
  display:block;
}
@media(max-width:720px){
  .project-detail-image{padding:80px 14px;min-height:auto}
  .project-detail-image .detail-frame{border-radius:22px}
}


/* Craft Beer project page */
.project-hero{
  min-height:auto;
  padding-top:190px;
  padding-bottom:84px;
  align-items:flex-start;
}
.project-hero .hero-inner{
  margin-top:0;
}
.project-hero .intro{
  max-width:760px;
}
.project-detail-visual{
  position:relative;
  z-index:8;
  background:#f0ede7;
  padding:84px 20px 110px;
}
.project-detail-visual > div{
  width:min(100%,var(--max));
  margin:0 auto;
}
.project-detail-visual img{
  width:100%;
  height:auto;
  display:block;
  border-radius:28px;
}
.project-detail-visual + .contact{
  margin-top:0;
}
@media(max-width:720px){
  .project-hero{
    padding-top:165px;
    padding-bottom:64px;
  }
  .project-detail-visual{
    padding:64px 14px 84px;
  }
}

/* Craft Beer page only — off-white content, homepage unchanged */
.craftbeer-page{
  background:#f0ede7;
  color:#111;
}
.craftbeer-page .project-hero{
  background:#f0ede7;
  color:#111;
}
.craftbeer-page .project-hero::before,
.craftbeer-page .project-hero::after{
  display:none;
}
.craftbeer-page .project-hero .kicker{
  color:rgba(17,17,17,.48);
}
.craftbeer-page .project-hero .intro{
  color:rgba(17,17,17,.68);
}
.craftbeer-page .project-detail-image{
  background:#f0ede7;
}
.craftbeer-page .project-detail-image .detail-frame{
  border-color:rgba(0,0,0,.12);
  background:#f0ede7;
}
/* Keep contact/footer dark as on the homepage */
.craftbeer-page .contact,
.craftbeer-page footer{
  background:#0a0a0a;
  color:var(--fg);
}
.craftbeer-page .contact .kicker{color:var(--soft)}
.craftbeer-page .contact p{color:var(--muted)}
.craftbeer-page .contact-lead strong{color:#fff}
.craftbeer-page footer .footer{color:var(--soft)}


/* Homepage adjustments — V8 test */
.home-page .hero{
  min-height:100vh;
  align-items:center;
  padding-top:110px;
  padding-bottom:70px;
}

/* Slightly tighten the project rhythm. */
.home-page .project{
  min-height:148vh;
}


/* Homepage scroll pictogram */
.home-page .hero-inner{
  position:relative;
}
.home-page .hero-scroll-picto{
  position:fixed;
  left:var(--picto-left,auto);
  top:var(--picto-top,auto);
  right:auto;
  bottom:auto;
  width:clamp(21px,2vw,28px);
  height:auto;
  display:block;
  z-index:120;
  pointer-events:none;
}
@media(max-width:720px){
  .home-page .hero-scroll-picto{
    position:fixed;
    margin:0;
    width:21px;
  }
}


/* V14 — descriptor in homepage navigation */
.brand{
  gap:13px;
}
.brand-context{
  display:block;
  white-space:nowrap;
  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:#fff;
}

/* Craft Beer — project categories as outlined pills */
.craftbeer-page .project-hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 18px;
}
.craftbeer-page .project-hero-tags span{
  display:inline-flex;
  align-items:center;
  padding:8px 11px;
  border:1px solid rgba(17,17,17,.48);
  border-radius:999px;
  background:transparent;
  color:#111;
  font-size:12px;
  line-height:1;
  letter-spacing:.05em;
}

@media(max-width:900px){
  .brand-context{
    font-size:9px;
    letter-spacing:.1em;
  }
}
@media(max-width:720px){
  .brand{
    width:100%;
  }
  .brand-context{
    white-space:normal;
    line-height:1.35;
  }
}


/* V17 — local background video on homepage hero */
.home-page .hero{
  background:#0b0b0b;
}
.home-page .hero-video{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  background:#0b0b0b;
}
.home-page .hero-video video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  pointer-events:none;
}
.home-page .hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(0,0,0,.58) 0%,rgba(0,0,0,.36) 48%,rgba(0,0,0,.24) 100%),
    linear-gradient(0deg,rgba(0,0,0,.28),rgba(0,0,0,.12));
  transform:none;
}
.home-page .hero::after{
  z-index:1;
  opacity:.10;
}
.home-page .hero-inner{
  position:relative;
  z-index:2;
}
@media (prefers-reduced-motion: reduce){
  .home-page .hero-video{display:none;}
}


/* V18 — text placed to the left of the fixed mouse pictogram */
.home-page .hero-scroll-copy{
  position:fixed;
  left:var(--picto-copy-left,auto);
  top:var(--picto-top,auto);
  height:var(--picto-height,40px);
  display:grid;
  grid-template-rows:repeat(3,1fr);
  align-items:center;
  z-index:120;
  pointer-events:none;
  text-align:right;
  color:#fff;
  font-size:clamp(7px,calc(var(--picto-height,40px) / 5),9px);
  line-height:1;
  font-weight:700;
  letter-spacing:.10em;
  transition:opacity .38s ease, visibility .38s ease;
}
.home-page .hero-scroll-copy span{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  height:100%;
  white-space:nowrap;
}
.home-page.is-scrolled .hero-scroll-copy{
  opacity:0;
  visibility:hidden;
}



/* V24 — Craft Beer gallery rebuilt with separated, optimized images */
.project-gallery{
  position:relative;
  z-index:8;
  background:#f0ede7;
  padding:18px 20px 110px;
}
.project-gallery-wrap{
  width:min(100%,1200px);
  margin:0 auto;
}
.gallery-two-columns{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.gallery-top-mosaic{
  align-items:start;
}
.gallery-col{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.gallery-item{
  margin:0;
  display:block;
}
.gallery-item img{
  width:100%;
  height:auto;
  display:block;
}
.gallery-full{
  margin-top:10px;
}
.gallery-two-columns + .gallery-full,
.gallery-full + .gallery-two-columns,
.gallery-feature + .gallery-two-columns,
.gallery-two-columns + .gallery-two-columns,
.gallery-full + .gallery-full{
  margin-top:10px;
}
.gallery-feature{
  position:relative;
  margin-top:10px;
  padding-bottom:0;
}
.gallery-feature .feature-main{
  margin-top:0;
}
.gallery-poster-composition{
  position:relative;
  z-index:3;
  margin-top:10px;
  min-height:0;
}
.poster-licorne{
  position:relative;
  z-index:4;
  width:53%;
  margin-left:4%;
}
.poster-licorne img{
  width:100%;
  height:auto;
  display:block;
}
.poster-side-stack{
  position:absolute;
  z-index:5;
  top:calc(-1 * min(27.5vw,330px));
  right:3%;
  width:37%;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.poster-small img{
  width:100%;
  height:auto;
  display:block;
  background:transparent;
  box-shadow:none;
}
.gallery-coasters{
  position:relative;
  z-index:1;
  margin-top:-55px;
}

/* Other projects strip */
.more-projects{
  position:relative;
  z-index:9;
  overflow:hidden;
  background:#fff;
  color:#111;
  padding:104px 0 15px;
}
.more-projects-heading{
  width:min(calc(100% - 40px),1200px);
  margin:0 auto 28px;
}
.more-projects h2{
  margin:0;
  font-size:clamp(24px,2.2vw,34px);
  line-height:1.08;
  letter-spacing:-.035em;
  font-weight:740;
}
.more-projects-marquee{
  overflow:hidden;
}
.more-projects-track{
  display:flex;
  width:max-content;
  animation:moreProjectsMarquee 84s linear infinite;
  will-change:transform;
}
.more-projects-group{
  display:flex;
  flex-shrink:0;
  gap:12px;
  padding-right:12px;
}
.more-project-card{
  position:relative;
  flex:0 0 auto;
  width:clamp(180px,calc((100vw - 88px)/5),230px);
  aspect-ratio:16/9;
  margin:0;
  overflow:hidden;
  border-radius:11px;
  background:#e9e7e2;
}
.more-project-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1);
  transition:transform .35s cubic-bezier(.2,.75,.2,1);
}
.more-project-card::after{
  content:none;
}
.more-project-card:hover img{
  transform:scale(1.05);
}
@keyframes moreProjectsMarquee{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}

@media(max-width:900px){
  .project-gallery{
    padding:18px 14px 84px;
  }
  .poster-licorne{
    width:54%;
    margin-left:3%;
  }
  .poster-side-stack{
    top:calc(-1 * min(27.5vw,250px));
    right:2%;
    width:37%;
    gap:14px;
  }
  .gallery-coasters{
    margin-top:-42px;
  }
  .more-projects{
    padding:82px 0 15px;
  }
  .more-projects-heading{
    width:calc(100% - 28px);
    max-width:1200px;
    margin-bottom:24px;
  }
}
@media(max-width:720px){
  .gallery-two-columns{
    grid-template-columns:1fr;
  }
  .gallery-poster-composition{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }
  .poster-licorne{
    width:100%;
    margin-left:0;
  }
  .poster-side-stack{
    position:static;
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
  }
  .gallery-coasters{
    margin-top:10px;
  }
  .more-projects{
    padding:68px 0 15px;
  }
  .more-projects-heading{
    margin-bottom:20px;
  }
  .more-project-card{
    width:min(72vw,300px);
    border-radius:9px;
  }
}
@media (prefers-reduced-motion: reduce){
  .more-projects-track{
    animation:none;
  }
}

/* V31 — generic project pages derived from the Craft Beer page */
.project-page{
  background:#f0ede7;
  color:#111;
}
.project-page .project-hero{
  background:#f0ede7;
  color:#111;
}
.project-page .project-hero::before,
.project-page .project-hero::after{
  display:none;
}
.project-page .project-hero .intro{
  color:rgba(17,17,17,.68);
}
.project-page .project-hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 18px;
}
.project-page .project-hero-tags span{
  display:inline-flex;
  align-items:center;
  padding:8px 11px;
  border:1px solid rgba(17,17,17,.48);
  border-radius:999px;
  background:transparent;
  color:#111;
  font-size:12px;
  line-height:1;
  letter-spacing:.05em;
}
.project-page .project-gallery{
  background:#f0ede7;
}
.project-page .project-gallery-single{
  padding-top:18px;
}
.project-page .project-gallery-single .gallery-full{
  margin-top:0;
}
.project-page .project-gallery-single img{
  width:100%;
  height:auto;
  display:block;
}
.project-page .contact,
.project-page footer{
  background:#0a0a0a;
  color:var(--fg);
}
.project-page .contact .kicker{color:var(--soft)}
.project-page .contact p{color:var(--muted)}
.project-page .contact-lead strong{color:#fff}
.project-page footer .footer{color:var(--soft)}

/* Bottom-project cards are links on every project page. */
.more-project-card{
  display:block;
  text-decoration:none;
  color:inherit;
}

/* V32 — Nexans Vimeo films */
.nexans-videos{
  padding-top:18px;
}
.nexans-videos .project-gallery-wrap{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.video-embed{
  width:100%;
  max-width:1200px;
  aspect-ratio:16 / 9;
  background:#000;
  overflow:hidden;
}
.video-embed iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* V32 — footer BB logo links back home */
.footer-logo-link{
  display:inline-block;
  line-height:0;
}
.footer-logo-link img{
  display:block;
  transition:transform .25s ease;
  transform-origin:center;
}
.footer-logo-link:hover img,
.footer-logo-link:focus-visible img{
  transform:scale(1.10);
}

/* V33 — Nexans : texte plus large + vidéos alignées sur la largeur du menu */
.project-page .project-hero .nexans-intro{
  max-width:1140px;
}
.nexans-videos .project-gallery-wrap{
  width:min(100%,var(--max));
}
.nexans-videos .video-embed{
  max-width:none;
}

/* V34 — logo BB du menu : zoom + rotation au survol */
.nav .brand > a{
  display:inline-block;
  line-height:0;
}
.nav .brand > a img{
  display:block;
  transition:transform .35s ease;
  transform-origin:center;
}
.nav .brand > a:hover img,
.nav .brand > a:focus-visible img{
  transform:scale(1.05) rotate(90deg);
}

/* V35 — largeur standard des textes explicatifs sur toutes les pages projet */
.craftbeer-page .project-hero .intro,
.project-page .project-hero .intro{
  max-width:1140px;
}

/* V35 — logo BB du menu : +10 % et rotation 90° */
.nav .brand > a:hover img,
.nav .brand > a:focus-visible img{
  transform:scale(1.10) rotate(90deg);
}

/* V35 — logo BB du footer : +10 % et rotation 90° */
.footer-logo-link:hover img,
.footer-logo-link:focus-visible img{
  transform:scale(1.10) rotate(90deg);
}

/* V37 — Versailles Vimeo films aligned to the menu width */
.versailles-videos{
  padding-top:18px;
}
.versailles-videos .project-gallery-wrap{
  width:min(100%,var(--max));
  display:flex;
  flex-direction:column;
  gap:18px;
}
.versailles-videos .video-embed{
  max-width:none;
}

/* V38 — Ford stepped carousel */
.ford-carousel-section{
  padding-top:18px;
}
.ford-carousel-section .project-gallery-wrap{
  width:min(calc(100% - 40px),1200px);
}
.ford-carousel{
  width:100%;
  max-width:1200px;
  margin:0 auto;
}
.ford-carousel-viewport{
  width:100%;
  overflow:hidden;
  background:#fff;
}
.ford-carousel-track{
  display:flex;
  width:100%;
  transform:translate3d(0,0,0);
  transition:transform .65s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.ford-carousel-track.is-resetting{
  transition:none;
}
.ford-carousel-slide{
  flex:0 0 100%;
  width:100%;
  margin:0;
  aspect-ratio:16 / 9;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff;
}
.ford-carousel-slide img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}
@media(max-width:900px){
  .ford-carousel-section .project-gallery-wrap{
    width:calc(100% - 28px);
  }
}
@media (prefers-reduced-motion: reduce){
  .ford-carousel-track{
    transition:none;
  }
}

/* V39 — stepped carousels Ford + Net Entreprises */
.stepped-carousel-section{
  padding-top:18px;
  background:#f0ede7;
}
.stepped-carousel-section .project-gallery-wrap{
  width:min(calc(100% - 40px),1200px);
  max-width:1200px;
}
.stepped-carousel{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  background:transparent;
}
.stepped-carousel-viewport{
  width:100%;
  overflow:hidden;
  background:transparent;
}
.stepped-carousel-track{
  display:flex;
  align-items:flex-start;
  gap:15px;
  transform:translate3d(0,0,0);
  transition:transform .65s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.stepped-carousel-track.is-resetting{
  transition:none;
}
.stepped-carousel-slide{
  /* 2 slides + 1/4 of the third inside 1200 px, including the two 15 px gaps */
  flex:0 0 43.333333%;
  width:43.333333%;
  min-width:0;
  margin:0;
  background:transparent;
}
.stepped-carousel-slide img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  background:transparent;
}
@media(max-width:900px){
  .stepped-carousel-section .project-gallery-wrap{
    width:calc(100% - 28px);
  }
}
@media(max-width:720px){
  .stepped-carousel-slide{
    flex-basis:78%;
    width:78%;
  }
}
@media (prefers-reduced-motion: reduce){
  .stepped-carousel-track{
    transition:none;
  }
}

/* V40 — carrousels Ford + Net Entreprises : hauteur visuelle uniforme */
.stepped-carousel-slide{
  flex:0 0 auto;
  width:auto;
}
.stepped-carousel-slide img{
  width:auto;
  max-width:none;
  height:auto;
  object-fit:contain;
  background:transparent;
}

/* V41 — Craft Beer : centrage vertical de l'affiche rétro */
.craftbeer-page .poster-retro{
  transform:translateY(-10px);
}
@media(max-width:900px){
  .craftbeer-page .poster-retro{
    transform:translateY(-7px);
  }
}
@media(max-width:720px){
  .craftbeer-page .poster-retro{
    transform:none;
  }
}

/* V41 — Mairie de Versailles : titre sur une seule ligne */
.versailles-page .project-hero h1{
  max-width:none;
  white-space:nowrap;
  font-size:clamp(28px,6.9vw,102px);
  letter-spacing:-.065em;
}

/* V43 — Le Film Français : nouvelle composition selon la référence fournie */
.filmfrancais-gallery{
  padding:18px 20px 18px;
  background:#f0ede7;
}
.filmfrancais-gallery-wrap{
  width:min(100%,1200px);
  margin:0 auto;
}
.filmff-item{
  margin:0;
  position:relative;
}
.filmff-item img{
  display:block;
  width:100%;
  height:auto;
}

/* 002 à 005 : ensemble réduit de 9 % */
.filmff-editorial-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  align-items:start;
  width:91%;
  margin:0 auto 24px;
}
.filmff-editorial-col{
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* 001 : réduction de 15 % */
.filmff-covers{
  width:85%;
  margin:0 auto -60px;
  z-index:1;
}

/* 006 : réduction de 9 %, décalage de 15 px à droite,
   chevauche 001 et 007 */
.filmff-karmitz{
  width:91%;
  margin:0 auto -15px;
  transform:translateX(15px);
  z-index:4;
}

/* 007 : pleine largeur de la page */
.filmff-wide{
  width:100%;
  margin:0 auto;
}
.filmff-007{
  margin-bottom:-15px;
  z-index:1;
}

/* 008 à 011 : réduction de 9 % */
.filmff-reduced{
  width:91%;
  margin:0 auto 14px;
  z-index:2;
}
.filmff-008{
  margin-top:0;
}
.filmff-last{
  margin-bottom:0;
}

@media(max-width:900px){
  .filmfrancais-gallery{
    padding-left:14px;
    padding-right:14px;
  }
  .filmff-editorial-grid{
    width:91%;
    gap:10px;
  }
  .filmff-editorial-col{
    gap:10px;
  }
  .filmff-covers{
    width:85%;
    margin-bottom:-42px;
  }
  .filmff-karmitz{
    width:91%;
    transform:translateX(10px);
  }
  .filmff-reduced{
    width:91%;
  }
}
@media(max-width:640px){
  .filmff-editorial-grid{
    grid-template-columns:1fr;
    width:100%;
  }
  .filmff-covers,
  .filmff-karmitz,
  .filmff-reduced{
    width:100%;
  }
  .filmff-covers{
    margin-bottom:-24px;
  }
  .filmff-karmitz{
    transform:none;
    margin-bottom:-10px;
  }
  .filmff-007{
    margin-bottom:-10px;
  }
}

/* V44 — Le Film Français : réduction générale de 30 %, sauf 007 pleine largeur */

/* 002 à 005 : 91 % x 70 % = 63,7 % */
.filmfrancais-page .filmff-editorial-grid{
  width:63.7%;
}

/* 001 : 85 % x 70 % = 59,5 % */
.filmfrancais-page .filmff-covers{
  width:59.5%;
  margin-bottom:0;
}

/* 006 : 91 % x 70 % = 63,7 %
   remonté fortement pour que son bord supérieur passe au-dessus
   du cartouche rouge "+ HORS-SÉRIE SPÉCIAL CANNES" de 001 */
.filmfrancais-page .filmff-karmitz{
  width:63.7%;
  margin-top:-215px;
  margin-bottom:-15px;
  transform:translateX(15px);
  z-index:4;
}

/* 007 reste à 100 % de la largeur */
.filmfrancais-page .filmff-007{
  width:100%;
}

/* 008 à 011 : 91 % x 70 % = 63,7 % */
.filmfrancais-page .filmff-reduced{
  width:63.7%;
}

@media(max-width:900px){
  .filmfrancais-page .filmff-editorial-grid{
    width:63.7%;
  }
  .filmfrancais-page .filmff-covers{
    width:59.5%;
  }
  .filmfrancais-page .filmff-karmitz{
    width:63.7%;
    margin-top:-150px;
    transform:translateX(10px);
  }
  .filmfrancais-page .filmff-reduced{
    width:63.7%;
  }
}

@media(max-width:640px){
  .filmfrancais-page .filmff-editorial-grid,
  .filmfrancais-page .filmff-covers,
  .filmfrancais-page .filmff-karmitz,
  .filmfrancais-page .filmff-reduced{
    width:82%;
  }
  .filmfrancais-page .filmff-karmitz{
    margin-top:-70px;
    transform:none;
  }
}

/* V45 — même respiration sous le dernier visuel que sur Craft Beer */
.filmfrancais-page .filmfrancais-gallery{
  padding-bottom:110px;
}
@media(max-width:900px){
  .filmfrancais-page .filmfrancais-gallery{
    padding-bottom:84px;
  }
}

/* V45 — même corps de titre sur toutes les pages projet */
.craftbeer-page .project-hero h1,
.project-page .project-hero h1{
  max-width:none;
  white-space:nowrap;
  font-size:clamp(28px,7.4vw,110px);
  line-height:.84;
  letter-spacing:-.07em;
  font-weight:760;
}

/* V46 — Nicolas Champagne : vidéo alignée sur la largeur du menu */
.nicolaschampagne-video{
  padding-top:18px;
}
.nicolaschampagne-video .project-gallery-wrap{
  width:min(100%,var(--max));
}
.nicolaschampagne-video .video-embed{
  max-width:none;
}

/* V47 — Nicolas Champagne : 3 visuels d'aménagement sous la vidéo */
.nicolaschampagne-visuals{
  padding-top:15px;
}
.nicolaschampagne-visuals .project-gallery-wrap{
  width:min(100%,var(--max));
  display:flex;
  flex-direction:column;
  gap:15px;
}
.nicolaschampagne-visuals .gallery-full{
  margin-top:0;
}
.nicolaschampagne-visuals img{
  width:100%;
  height:auto;
  display:block;
}



/* V48 — Nicolas Champagne : ordre visuel + crédit graphiste 3D */
.inline-credit-link{
  color:inherit;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}
.inline-credit-link:hover,
.inline-credit-link:focus-visible{
  opacity:.65;
}
.nicolaschampagne-visual-first{
  padding-top:18px;
  padding-bottom:0;
}
.nicolaschampagne-visual-first .project-gallery-wrap{
  width:min(100%,var(--max));
}
.nicolaschampagne-visual-first .gallery-full{
  margin-top:0;
}
.nicolaschampagne-visual-first img{
  width:100%;
  height:auto;
  display:block;
}
.nicolaschampagne-visual-first + .nicolaschampagne-video{
  padding-top:15px;
}


/* V49 — crédit Emerick sur Nicolas Champagne */
.nicolaschampagne-intro .emerick-link{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}


/* V50 — Castel Afrique project page */
.castel-page .project-gallery{
  padding-bottom:110px;
}
.castel-gallery-wrap{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.castel-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
  align-items:start;
}
.castel-jpeg-card img{
  box-shadow:0 3px 3px rgba(0,0,0,.30);
}
.castel-page .gallery-item img{
  width:100%;
  height:auto;
  display:block;
}
.castel-laptop,
.castel-homepage{
  margin-top:0;
}
.castel-phone{
  align-self:start;
}
.castel-stark{
  align-self:start;
}
.castel-page .project-hero .intro.castel-intro{
  max-width:930px;
}
@media(max-width:900px){
  .castel-gallery-wrap,
  .castel-grid{
    gap:14px;
  }
}
@media(max-width:700px){
  .castel-grid{
    grid-template-columns:1fr;
  }
}


/* V51 — Castel Afrique : composition calée sur la référence */
.castel-page .project-hero .intro.castel-intro{
  max-width:1140px;
}
.castel-page .castel-gallery{
  padding-top:18px;
  padding-bottom:110px;
}
.castel-page .castel-gallery-wrap{
  width:min(100%,1200px);
  margin:0 auto;
  display:block;
  position:relative;
}
.castel-page .castel-laptop{
  width:91%;
  margin:0 auto 64px;
}
.castel-page .castel-columns{
  width:74.62%;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:68px;
  align-items:start;
  margin-bottom:150px;
}
.castel-page .castel-column{
  display:flex;
  flex-direction:column;
  gap:68px;
  min-width:0;
}
.castel-page .castel-jpeg-card{
  margin:0;
}
.castel-page .castel-jpeg-card img{
  width:100%;
  height:auto;
  display:block;
  box-shadow:0 3px 3px rgba(0,0,0,.30);
}
.castel-page .castel-phone{
  width:72%;
  margin:-470px auto 0;
  position:relative;
  left:-15px;
  z-index:6;
  pointer-events:none;
}
.castel-page .castel-phone img,
.castel-page .castel-laptop img{
  width:100%;
  height:auto;
  display:block;
  box-shadow:none;
}
.castel-page .castel-phone img{
  display:block;
}
@media(max-width:900px){
  .castel-page .castel-gallery{
    padding-bottom:84px;
  }
  .castel-page .castel-laptop{
    width:94%;
    margin-bottom:44px;
  }
  .castel-page .castel-columns{
    width:82%;
    gap:40px;
    margin-bottom:120px;
  }
  .castel-page .castel-column{
    gap:40px;
  }
  .castel-page .castel-phone{
    width:68%;
    margin-top:-320px;
    left:-10px;
  }
}
@media(max-width:700px){
  .castel-page .castel-columns{
    grid-template-columns:1fr;
    width:90%;
    gap:28px;
    margin-bottom:70px;
  }
  .castel-page .castel-column{
    gap:28px;
  }
  .castel-page .castel-laptop{
    width:100%;
    margin-bottom:32px;
  }
  .castel-page .castel-phone{
    width:90%;
    margin:-145px auto 0;
    left:-6px;
  }
}


/* V58 — Stärk project page */
.stark-page .project-hero .intro.stark-intro{
  max-width:1140px;
}
.stark-page .stark-gallery{
  padding-top:18px;
  padding-bottom:0;
}
.stark-page .stark-gallery-wrap{
  width:min(100%,960px);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.stark-page .stark-gallery .gallery-full,
.stark-page .stark-video .gallery-full{
  margin-top:0;
}
.stark-page .stark-visual{
  margin:0;
}
.stark-page .stark-visual img{
  width:100%;
  height:auto;
  display:block;
}
.stark-page .stark-visual-packshot{
  position:relative;
  z-index:2;
  margin-top:-315px;
}
.stark-page .stark-visual-van{
  margin-top:4px;
}
.stark-page .stark-video{
  padding-top:20px;
  padding-bottom:110px;
}
.stark-page .stark-video .project-gallery-wrap{
  width:min(100%,var(--max));
}
.stark-page .stark-video .video-embed{
  max-width:none;
}
@media(max-width:900px){
  .stark-page .stark-gallery-wrap{
    width:100%;
    gap:14px;
  }
  .stark-page .stark-visual-packshot{
    margin-top:-95px;
  }
  .stark-page .stark-visual-van{
    margin-top:6px;
  }
  .stark-page .stark-video{
    padding-top:20px;
    padding-bottom:84px;
  }
}


/* V64 — La clé des Châteaux : composition d'après la référence fournie */
.cledeschateaux-page .project-hero .cledeschateaux-intro{
  max-width:1140px;
}
.cledeschateaux-page .cledeschateaux-gallery{
  padding-top:26px;
  padding-bottom:110px;
}
.cledeschateaux-page .cledeschateaux-gallery-wrap{
  width:min(100%,1200px);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.cledeschateaux-page .cledeschateaux-gallery .gallery-item{
  margin:0;
}
.cledeschateaux-page .cledeschateaux-gallery img{
  width:100%;
  height:auto;
  display:block;
}
.cledeschateaux-page .cdc-cover{
  width:77.5%;
  margin-bottom:36px !important;
}
.cledeschateaux-page .cdc-redwines{
  width:80.5%;
  margin-bottom:4px !important;
}
.cledeschateaux-page .cdc-pages{
  width:100%;
  margin-bottom:42px !important;
}
.cledeschateaux-page .cdc-spread{
  width:80.5%;
}
.cledeschateaux-page .cdc-champagne-intro{
  margin-bottom:38px !important;
}
.cledeschateaux-page .cdc-champagnes{
  margin-bottom:0 !important;
}
@media(max-width:900px){
  .cledeschateaux-page .cledeschateaux-gallery{
    padding-top:18px;
    padding-bottom:84px;
  }
  .cledeschateaux-page .cdc-cover{
    width:82%;
    margin-bottom:26px !important;
  }
  .cledeschateaux-page .cdc-redwines,
  .cledeschateaux-page .cdc-spread{
    width:86%;
  }
  .cledeschateaux-page .cdc-pages{
    margin-bottom:30px !important;
  }
  .cledeschateaux-page .cdc-champagne-intro{
    margin-bottom:28px !important;
  }
}
@media(max-width:640px){
  .cledeschateaux-page .cledeschateaux-gallery{
    padding-left:10px;
    padding-right:10px;
    padding-bottom:84px;
  }
  .cledeschateaux-page .cdc-cover,
  .cledeschateaux-page .cdc-redwines,
  .cledeschateaux-page .cdc-spread{
    width:100%;
  }
}



/* V80 — descriptor identique desktop / mobile : 2 lignes, sans slash après Directeur artistique */
.brand-context{white-space:normal!important;line-height:1.25;}
.brand-context .brand-line-1,
.brand-context .brand-line-2{display:block!important;white-space:nowrap!important;}

/* V78 — Mobile navigation + final mobile harmonisation */
.mobile-menu-toggle,
.mobile-drawer{display:none;}
.mobile-brand-break{display:none;}
.project-end-spacer{display:none;}

@media(max-width:720px){
  :root{--mobile-drawer-width:100vw;}

  /* Menu compact : descriptor sur 2 lignes + hamburger */
  header{left:10px;right:10px;top:10px;}
  .nav{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    border-radius:999px;
    padding:10px 12px;
    min-height:54px;
  }
  .brand{width:auto;min-width:0;gap:10px;}
  .brand img{width:28px;height:28px;}
  .brand-context{font-size:8px;line-height:1.28;letter-spacing:.08em;white-space:normal;}
  .brand-line-1,.brand-line-2{display:block;white-space:nowrap;}
  .navlinks{display:none!important;}
  .mobile-menu-toggle{
    display:flex;
    flex:0 0 36px;
    width:36px;height:36px;
    border:0;
    border-radius:0;
    background:transparent;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:4px;
    padding:0;
    color:#fff;
    cursor:pointer;
  }
  .mobile-menu-toggle span{display:block;width:17px;height:1.5px;background:#fff;border-radius:999px;}

  .mobile-drawer{
    display:block;
    position:fixed;
    z-index:500;
    top:0;right:0;
    width:100vw;
    height:100dvh;
    background:rgba(0,0,0,.85);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    color:#fff;
    transform:translate3d(100%,0,0);
    transition:transform .42s cubic-bezier(.2,.8,.2,1);
    overflow-y:auto;
    box-shadow:-24px 0 70px rgba(0,0,0,.28);
  }
  .mobile-menu-open .mobile-drawer{transform:translate3d(0,0,0);}
  .mobile-drawer-close{
    position:absolute;right:18px;top:18px;
    width:42px;height:42px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:50%;
    background:transparent;color:#fff;
    font-size:30px;line-height:1;
    font-weight:200;
    cursor:pointer;
  }
  .mobile-drawer-inner{
    min-height:100%;
    padding:82px 26px 30px;
    display:flex;
    flex-direction:column;
  }
  .mobile-drawer-logo{
    display:inline-flex;
    align-items:center;
    width:max-content;
    margin:0 0 38px;
  }
  .mobile-drawer-logo img{
    display:block;
    width:56px;
    height:56px;
    object-fit:contain;
  }
  .mobile-drawer-links{display:flex;flex-direction:column;gap:13px;}
  .mobile-drawer-links a{
    font-size:clamp(34px,10vw,48px);
    line-height:.95;
    letter-spacing:-.055em;
    font-weight:760;
    text-transform:uppercase;
  }
  .mobile-drawer-contact{
    margin-top:auto;
    padding-top:52px;
    border-top:1px solid rgba(255,255,255,.14);
  }
  .mobile-drawer-kicker{
    font-size:22px;
    line-height:1;
    letter-spacing:-.035em;
    font-weight:760;
    text-transform:uppercase;
    color:#fff;
  }
  .mobile-drawer-copy{
    margin-top:12px;
    font-size:15px;
    line-height:1.35;
    color:rgba(255,255,255,.72);
  }
  .mobile-drawer-contact .cta{margin-top:20px;}

  body > header,
  body > section,
  body > main,
  body > footer,
  body > .marquee{
    transition:transform .42s cubic-bezier(.2,.8,.2,1);
    will-change:transform;
  }
  body.mobile-menu-open{overflow:hidden;}
  body.mobile-menu-open > header,
  body.mobile-menu-open > section,
  body.mobile-menu-open > main,
  body.mobile-menu-open > footer,
  body.mobile-menu-open > .marquee{
    transform:translate3d(calc(-1 * var(--mobile-drawer-width)),0,0);
  }

  /* Homepage : indicateur scroll sous le texte d'intro */
  .home-page .hero-scroll-picto{width:21px;}

  /* Homepage : visuels projets carrés + moitié moins de respiration verticale */
  .home-page .project{min-height:112vh;}
  .home-page .poster{
    left:14px;
    right:14px;
    top:50%;
    bottom:auto;
    height:calc(100vw - 28px);
    margin-top:calc(-50vw + 14px);
    border-radius:20px;
  }

  /* Contact : logo BB à droite du CTA */
  .contact-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 72px;
    column-gap:14px;
    align-items:end;
  }
  .contact-grid > div:first-child{min-width:0;}
  .signature{justify-content:flex-end;align-items:flex-end;margin-top:0;}
  .signature img{width:68px;max-width:68px;}

  /* Même respiration beige avant « Découvrez les autres projets » sur toutes les pages projet */
  .project-page .project-end-spacer{display:block;height:84px;background:#f0ede7;}
  .project-page .project-end-spacer + .more-projects{margin-top:0;}
  .project-page .project-end-spacer ~ .more-projects{border-top:0;}
  .project-page .project-end-content{padding-bottom:0!important;margin-bottom:0!important;}

  /* Le Film Français : 002/003 puis 004/005 restent côte à côte */
  .filmfrancais-page .filmff-editorial-grid{
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
    gap:8px!important;
  }
  .filmfrancais-page .filmff-editorial-col{gap:8px!important;}

  /* Socavins mobile : chevauchement réduit de moitié + décor Canto dédié */
  .socavins-page .socavins-rb-bottle,
  .socavins-page .socavins-ti-bottle{width:70%!important;transform:translateY(72px)!important;}
  .socavins-page .socavins-fullbleed{width:calc(100% - 28px)!important;margin:22px auto 0!important;}
  .socavins-page .socavins-fullbleed img{width:100%!important;height:auto!important;}
}
