:root {
  --paper: #FAF9F6;
  --brown: #352319;
  --muted: #131313;
  --sans: 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(1rem, 4.5vw, 5rem);
  --section-space: clamp(2.8rem, 6vw, 6rem);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--paper); color: #131313; font: 1rem/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
h1 { font-size: clamp(2.25rem, 5vw, 4.9rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.65rem); }
h3 { font-size: clamp(1.1rem, 1.9vw, 1.55rem); }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1420px); margin-inline: auto; }

.masthead { position: sticky; top: 0; z-index: 3; background: var(--paper); }
.header-row { height: 4.7rem; display: flex; align-items: center; gap: 1.5rem; }
.logo { margin-right: auto; }
.logo img { width: clamp(6.6rem, 10vw, 8.25rem); }
.contact-link, .about-link, summary { font-size: .92rem; cursor: pointer; }
.contact-link:hover, .about-link:hover, .mobile-nav a:hover, .jump a:hover { text-decoration: underline; text-underline-offset: .3em; }
.mobile-nav summary { list-style: none; display: inline-flex; align-items: center; gap: .45rem; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after {
  content: '';
  width: .32rem;
  height: .32rem;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: translateY(-.13rem) rotate(45deg);
}
.mobile-nav[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
.mobile-nav nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .65rem clamp(1rem, 3vw, 3rem);
  padding: .95rem max(var(--gutter), calc((100vw - 1420px)/2)) 1.5rem;
  box-shadow: 0 .9rem 1.2rem -.95rem #35231940;
  font-size: .92rem;
}
.mobile-nav:not([open]) nav { display: none; }

.intro { padding-block: clamp(3.3rem, 8vw, 7.5rem) clamp(3.7rem, 7vw, 7rem); }
.intro h1 { max-width: 23ch; }
.collection { padding-block: clamp(1.8rem, 4vw, 4rem) var(--section-space); }
.collection h2 { margin-bottom: clamp(1.2rem, 2.7vw, 2.7rem); }
.theme-campagnes { background: var(--paper); color: inherit; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(1rem, 2.4vw, 2.4rem); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card a { display: block; }
.card-image { aspect-ratio: 1.18; overflow: hidden; }
.card-image>img { height: 100%; object-fit: cover; }
.theme-campagnes .card-image, .theme-reseaux .card-image { aspect-ratio: 1; }
.visual-cap-web img, .visual-cap-campaign img, .visual-lr-social img { object-fit: contain; }
.card-copy { padding-top: .85rem; }
.card-copy p { margin-top: .35rem; font-size: .92rem; }
.card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }

.project-cover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.project-cover.wrap { column-gap: clamp(1.4rem, 6vw, 6rem); margin-top: clamp(1.4rem, 4vw, 3rem); }
.project-media { width: 100%; min-width: 0; align-self: center; aspect-ratio: 1.2; overflow: hidden; }
.project-media img { height: 100%; object-fit: cover; }
.project-media.visual-cap-web img, .project-media.visual-lr-social img { object-fit: contain; }
.project-intro { align-self: center; padding-block: 1rem; }
.project-intro>p { color: var(--muted); margin-top: .8rem; }
.jump { display: flex; flex-wrap: wrap; gap: .45rem .6rem; margin-top: 1.4rem; font-size: .92rem; }
.project-back { margin-top: clamp(2rem, 5vw, 4rem); }
.back, .site-link { text-decoration: underline; text-underline-offset: .25em; font-size: .9rem; }
.project-role, .project-section { padding-block: var(--section-space); }
.project-role .back { display: inline-block; margin-bottom: 1.4rem; }
.project-copy { max-width: min(50%, 40rem); margin-top: .9rem; }
.project-copy p+p { margin-top: .65rem; }
.project-section :is(h2, h3) { margin-bottom: .85rem; }
.mission-text { max-width: 40rem; }
.eyebrow { font-size: .87rem; color: var(--muted); margin-bottom: .5rem; }
.site-link { display: inline-block; margin-top: 1rem; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.65rem; }
.gallery.count-1 { grid-template-columns: minmax(0, 1fr); }
.gallery figure img { max-height: 43rem; object-fit: contain; }
.gallery .feed-crop img { max-height: none; object-fit: initial; }
.social-section, #reseaux.project-section {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
  gap: clamp(1rem, 6vw, 6rem);
  align-items: start;
}
.social-section .gallery { margin: 0; }
.social-copy { max-width: 33ch; }
.social-feed { width: min(100%, 42rem); }
.feed-crop {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1179 / 1570;
}
.feed-crop img { position: absolute; width: 100%; height: auto; top: 0; transform: translateY(var(--feed-cut)); }
.feed-aure { --feed-cut: -25.98%; }
.feed-lwl { --feed-cut: -29.15%; }
.feed-lauren { --feed-cut: -28.95%; }
.feed-mys { --feed-cut: -28.83%; }
.card-image .feed-crop { height: 100%; aspect-ratio: auto; }

.carousel-header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.carousel-controls { display: flex; gap: .5rem; white-space: nowrap; }
.carousel-controls[hidden] { display: none; }
.carousel-controls button { background: var(--paper); color: inherit; border: 0; padding: .2rem .65rem; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.carousel-controls button:disabled { opacity: .3; cursor: default; }
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(68%, 42rem);
  gap: clamp(.85rem, 2vw, 1.65rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: .65rem;
}
.carousel figure { min-width: 0; scroll-snap-align: start; }
.carousel img { aspect-ratio: 4 / 5; object-fit: cover; }

.skip { position: absolute; left: .7rem; top: -10rem; z-index: 5; background: var(--paper); padding: .5rem; }
.skip:focus { top: .7rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 900px) {
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .header-row { height: 4rem; gap: clamp(.45rem, 2.6vw, 1rem); }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.7rem; }
  .project-cover.wrap, .social-section, #reseaux.project-section { grid-template-columns: minmax(0, 1fr); }
  .project-cover.wrap { gap: 1rem; }
  .project-copy { max-width: 38ch; }
  .carousel { grid-auto-columns: 81%; }
}

body { color: #131313; }

.intro h1 { max-width: none; }
.intro h1 span { display: block; }
.intro h1 span:last-child { animation: intro-in .65s ease-out both; }
@keyframes intro-in {
  from { opacity: 0; transform: translateY(.65rem); }
  to { opacity: 1; transform: translateY(0); }
}
.card a { display: flex; flex-direction: column; }
.card .card-image { order: -1; }
.site-rows {
  position: relative;
  min-height: clamp(12rem, 25vw, 22rem);
  padding-right: 40%;
}
.site-row a { display: block; padding: 1rem 0; }
.site-row .card-copy { padding: 0; }
.site-row .card-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  aspect-ratio: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.site-row a:hover h3, .site-row a:focus-visible h3 { text-decoration: underline; text-underline-offset: .17em; }
.site-row a:hover .card-image, .site-row a:focus-visible .card-image,
.site-rows:not(:has(a:hover, a:focus-visible)) .site-row:first-child .card-image { opacity: 1; }
.project-back { margin-top: clamp(.8rem, 2vw, 1.75rem); }
.project-cover.wrap { margin-top: clamp(1.25rem, 3vw, 2.3rem); }
.project-intro h1 { font-size: clamp(2.4rem, 4.4vw, 4.6rem); }
.project-intro .project-category { color: #131313; font-weight: 600; margin-top: .8rem; }
.project-intro .project-description { color: #131313; margin-top: .65rem; max-width: 46ch; }
.carousel { margin-top: 1.4rem; }
@media (max-width: 650px) {
  .intro h1 { font-size: clamp(1.55rem, 6vw, 2.55rem); }
  .site-rows { padding-right: 0; min-height: 0; }
  .site-row a { display: grid; grid-template-columns: minmax(0, 1fr) 5rem; align-items: center; gap: 1rem; }
  .site-row .card-image { position: static; width: 100%; opacity: 1; aspect-ratio: 1.2; }
  .project-intro { padding-top: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .intro h1 span:last-child { animation: none; }
  .site-row .card-image { transition: none; }
}

.carousel .visual-mys-portrait img { object-position: center 78%; }

.project-media.visual-mayami { aspect-ratio: 4 / 5; }
.mayami-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mayami-gallery img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 650px) {
  .mayami-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.project-media.visual-cap-portrait { aspect-ratio: 4 / 5; }
.card-image.visual-cap-portrait img { object-position: center 34%; }
.cap-gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cap-gallery figure { grid-column: span 2; }
.cap-gallery figure:nth-last-child(-n+2) { grid-column: span 3; }
.cap-gallery figure img { max-height: none; }
@media (max-width: 650px) {
  .cap-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-gallery figure, .cap-gallery figure:nth-last-child(-n+2) { grid-column: auto; }
  .cap-gallery figure:last-child { grid-column: 1 / -1; }
}

.project-media.visual-lr-fond { aspect-ratio: 4 / 5; }
.lr-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lr-gallery figure img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 650px) {
  .lr-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.visual-aure-niche img, .visual-aure-relief img,
.visual-aure-vitrail img, .visual-aure-texture img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.project-media.visual-lwl-web { aspect-ratio: 4 / 5; }
.visual-lwl-web img { object-position: center 56%; }
.social-section .lwl-supports {
  grid-column: 1 / -1;
  width: min(100%, 48rem);
  margin: 0 auto;
}
.lwl-supports figure img { aspect-ratio: 4 / 5; object-fit: cover; }

.project-cover .project-media { aspect-ratio: 4 / 5; }
.project-cover .visual-mys-gamme img { object-position: center 80%; }
.project-cover .visual-aure-vitrail img { object-position: center; }
.collection .site-rows { min-height: 0; }
.client-preview { aspect-ratio: 4 / 3 !important; }
.client-preview img { height: 100%; object-fit: cover; }
.client-preview.preview-slides img { position: absolute; inset: 0; }
.client-preview.preview-slides img:first-child { z-index: 1; }
.client-preview.preview-slides img:nth-child(2), .client-preview.preview-slides img:nth-child(3) { opacity: 0; z-index: 2; }
.site-row a:is(:hover, :focus-visible) .preview-slides img:nth-child(2) { animation: preview-second 4.8s ease both; }
.site-row a:is(:hover, :focus-visible) .preview-slides img:nth-child(3) { animation: preview-third 4.8s ease both; }
@keyframes preview-second {
  0%, 30% { opacity: 0; }
  36%, 100% { opacity: 1; }
}
@keyframes preview-third {
  0%, 63% { opacity: 0; }
  70%, 100% { opacity: 1; }
}
.social-row a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-block: .85rem;
}
.social-row .card-copy { display: contents; }
.social-row p { margin: 0; }
.social-row a:hover h3 { text-decoration: underline; text-underline-offset: .16em; }
@media (min-width: 651px) {
  .project-section:is(.copy-right,.copy-left) .carousel-header { justify-self: stretch; }
  .project-section.copy-right:not(.social-section) .carousel-header { margin-left: calc(50% + 1.5rem); }
  .project-section.copy-left .mission-text { max-width: min(100%, 36rem); }
}
@media (max-width: 650px) {
  .client-preview.preview-slides { position: relative; }
  .social-row a { grid-template-columns: 1fr; gap: .22rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-row a:is(:hover, :focus-visible) .preview-slides img { animation: none; }
}

.aure-gallery, .cap-gallery, .mayami-gallery, .lr-gallery {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 3rem);
  margin-block-start: clamp(2.3rem, 5vw, 5rem);
  align-items: start;
}
:is(.aure-gallery, .cap-gallery, .mayami-gallery, .lr-gallery, .lwl-supports) figure img {
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}
.aure-gallery figure:nth-child(1) { grid-column: 1 / span 7; }
.aure-gallery figure:nth-child(2) { grid-column: 9 / span 4; margin-top: 14%; }
.aure-gallery figure:nth-child(3) { grid-column: 2 / span 4; }
.aure-gallery figure:nth-child(4) { grid-column: 7 / span 5; margin-top: 9%; }
.cap-gallery figure:nth-child(-n+3) { grid-column: span 4; }
.cap-gallery figure:nth-child(4) { grid-column: 2 / span 4; margin-top: 9%; }
.cap-gallery figure:nth-child(5) { grid-column: 8 / span 5; }
.mayami-gallery figure:nth-child(-n+3) { grid-column: span 4; }
.mayami-gallery figure:nth-child(4) { grid-column: span 5; }
.mayami-gallery figure:nth-child(5) { grid-column: 7 / span 3; margin-top: 24%; }
.mayami-gallery figure:nth-child(6) { grid-column: 10 / span 3; margin-top: 8%; }
.lr-gallery figure:nth-child(1) { grid-column: 2 / span 5; }
.lr-gallery figure:nth-child(2) { grid-column: 8 / span 4; margin-top: 12%; }
.lr-gallery figure:nth-child(n+3) { grid-column: span 3; }
.lr-gallery figure:nth-child(even):nth-child(n+3) { margin-top: 10%; }
.lwl-supports { align-items: start; }
.lwl-supports figure:last-child { margin-top: 13%; }
.carousel { grid-auto-columns: min(53%, 36rem); align-items: center; }

@media (max-width: 650px) {
  :is(.aure-gallery, .cap-gallery, .mayami-gallery, .lr-gallery) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :is(.aure-gallery, .cap-gallery, .mayami-gallery, .lr-gallery) figure:nth-child(n) { grid-column: auto; margin-top: 0; }
  .aure-gallery figure:first-child, .cap-gallery figure:last-child { grid-column: 1/-1; }
  .carousel { grid-auto-columns: 79%; }
}

.project-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem clamp(1rem, 3vw, 3rem);
}
.client-link a, .social-row a { display: block; }
.client-link p, .social-row p { margin: .35rem 0 0; }
.client-link a:hover h3 { text-decoration: underline; text-underline-offset: .16em; }
.social-section .gallery.count-1 { width: min(100%, 34rem); justify-self: end; }
.social-section .lwl-supports { margin-inline: 0 auto; }
.project-intro .project-scope { font-weight: 500; }
.project-platform { font-size: .88rem; font-weight: 600; margin-bottom: .6rem; }
.instagram-link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-top: 1rem;
  padding: 0 .65rem;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  font-size: .84rem;
}
.instagram-link:hover { border-color: currentColor; }
.carousel .visual-mys-fan img { aspect-ratio: auto; object-fit: contain; }
@media (max-width: 650px) {
  .social-section .gallery.count-1 { justify-self: start; }
}

.lr-gallery figure:nth-child(n+3) { grid-column: span 4; }
@media (max-width: 650px) {
  .project-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lr-gallery figure:nth-child(n+3) { grid-column: auto; }
}

.campaign-strip {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 5);
  grid-template-columns: none;
  gap: .5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.campaign-strip figure {
  min-width: 0;
  aspect-ratio: 16 / 25;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
}
.campaign-strip figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
.mayami-campaign-strip figure:first-child img { object-position: left center; }
.cap-campaign-strip figure:last-child img { object-position: right center; }
@media (max-width: 680px) {
  .campaign-strip { grid-auto-columns: 44%; }
}

.project-pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem clamp(2.4rem, 6vw, 5rem);
}
.project-step {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.project-step-next { flex-direction: row-reverse; text-align: end; }
.project-step strong { font-size: clamp(.85rem, 1.5vw, 1rem); font-weight: 400; }
.project-step-dot {
  flex: 0 0 .26rem;
  width: .26rem;
  height: .26rem;
  border-radius: 50%;
  background: currentColor;
}
.project-step:hover strong { text-decoration: underline; }
.project-gallery-after-missions { margin-block-end: clamp(2.4rem, 6vw, 5rem); }

.project-section h3[id^="mission-"] { font-size: clamp(1.55rem, 3vw, 2.65rem); }
.project-photo-strip figure { aspect-ratio: 3 / 4; }
.project-photo-strip figure img { object-fit: cover; }
.project-section[aria-labelledby="project-missions"] { padding-block-start: clamp(1.7rem, 4vw, 3.4rem); }
