@font-face {
  font-family: "PP Mori";
  src: url("fonts/PPMori-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ooze";
  src: url("fonts/ooze.otf") format("opentype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/geist:vf@5.2.8/latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #171717;
  --paper: #fff;
  --paper-solid: #fff;
  --muted: #77756f;
  --yellow: #dfad00;
  --head: rgba(255, 255, 255, .94);
  --home-title: #fff;
  --home-enter: #dfad00;
  --home-enter-ink: #fff;
}

html.is-dark {
  --ink: #f3f1eb;
  --paper: #1a1714;
  --paper-solid: #f3f1eb;
  --muted: #a39e96;
  --head: rgba(26, 23, 20, .94);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--paper); color: var(--ink); }
body {
  font-family: Geist, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  cursor: none;
}
button, a, img { cursor: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
img { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; }
em { font-style: italic; }

.home {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden;
  background: #242321;
  color: #fff;
}
.home-image {
  position: absolute;
  width: 280%;
  height: 280%;
  left: 0;
  top: 0;
  background: center / cover no-repeat;
  transform: translate(-32.14%, -32.14%);
  will-change: transform;
}
.home-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.12) 40%, rgba(0,0,0,.34));
}
.home-line {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(18px, 3vw, 42px);
  width: 100%;
  min-width: 0;
  padding: 18vh clamp(16px, 4vw, 8vw) 0;
}
.home h1 {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--home-title);
  opacity: .86;
  font-family: "Ooze", "PP Mori", sans-serif;
  font-size: clamp(14px, 4.4vw, 72px);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.enter {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: clamp(26px, 4.8vw, 74px);
  height: clamp(26px, 4.8vw, 74px);
  margin-top: clamp(4px, 0.7vw, 10px);
  border-radius: 50%;
  background: var(--home-enter);
  color: var(--home-enter-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.enter-dot {
  display: block;
  width: 26%;
  height: 26%;
  min-width: 5px;
  min-height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.enter-word {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  color: #fff;
  font-family: Geist, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.enter:hover .enter-word,
.enter:focus-visible .enter-word { display: block; }
.home.is-left {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  height: auto;
  padding: 25px 26px 24px;
  background: var(--head);
  backdrop-filter: blur(14px);
  transform: translateY(-100%);
  overflow: hidden;
}
.header.is-visible { transform: none; }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 42px;
}
.rule {
  display: block;
  align-self: flex-start;
  height: 7px;
  margin-top: 2px;
  background: url("images/ligne.svg") left center / 100% 100% no-repeat;
  mix-blend-mode: multiply;
}
html.is-dark .rule { filter: invert(1); mix-blend-mode: screen; }
.wander {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  pointer-events: auto;
  z-index: 6;
  padding: 0;
}
.wander::after {
  content: "";
  position: absolute;
  inset: -12px;
}
.brand { position: relative; z-index: 1; padding: 0; text-align: left; }
.logo {
  display: block;
  font-family: "Ooze", "PP Mori", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  font-synthesis: none;
  line-height: .9;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.burger {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.burger span { display: block; width: 100%; height: 2.5px; background: currentColor; }

.menu {
  position: fixed;
  z-index: 80;
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  padding: 0;
  background: transparent;
  white-space: nowrap;
}
.menu.open { display: flex; }
.menu button {
  padding: 0 clamp(3px, 1.1vw, 10px);
  font-family: Geist, sans-serif;
  font-size: clamp(10px, 1.65vw, 15px);
  font-weight: 400;
  letter-spacing: clamp(.01em, .08vw, .08em);
  line-height: 1.2;
  text-transform: uppercase;
}
.menu button:hover, .menu button:focus-visible { color: #9b7900; }

.view { display: none; }
.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 188px 28px 72px; }
.grid.is-on { display: grid; }
.page.is-on {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 28px 72px;
}
.page.bio.is-on {
  display: block;
  position: relative;
  height: 100vh;
  min-height: 100vh;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  padding: 118px 0 0;
  overflow: hidden;
}
.page div { max-width: 34rem; }
.page.bio,
.page.bio .lang,
.bio-cloud,
.bio-cloud p {
  font-family: Geist, sans-serif;
}
.page.bio p { margin: 0 0 1.15rem; line-height: 1.65; }
.page.bio .lang {
  position: relative;
  z-index: 6;
  margin: 0 28px;
  font-size: 13px;
  letter-spacing: .04em;
}
.lang button { padding: 0; color: var(--muted); }
.lang button.is-on { color: var(--ink); }
.bio-cloud {
  position: absolute;
  left: 0;
  right: 0;
  top: 156px;
  bottom: 0;
  max-width: none;
  pointer-events: none;
}
.page.bio .bio-cloud,
.page.bio #bio-en,
.page.bio #bio-fr {
  max-width: none;
}
#bio-en, #bio-fr { position: absolute; inset: 0; }
.bio-cloud p {
  position: absolute;
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}
.bio-cloud strong { font-weight: 650; }
.page.vrac img {
  width: min(90vw, 1180px);
  height: auto;
  max-height: calc(100vh - 140px);
  object-fit: contain;
}
.page .contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: min(72vw, 640px);
  font-family: Geist, sans-serif;
}
.contact-block img {
  width: auto;
  height: auto;
  max-width: min(70vw, 620px);
  max-height: 48vh;
  object-fit: contain;
}
.contact-info { max-width: 34rem; }
.contact-info p { margin: 0 0 1rem; }
.links a { color: inherit; }

.tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  background: var(--paper);
  overflow: hidden;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease, filter .4s; }
.tile.is-dragging { position: fixed; z-index: 30; margin: 0; transition: none; pointer-events: none; overflow: hidden; }
.tile.is-dragging img { transform: none; filter: none; opacity: 1; }
.tile-slot { aspect-ratio: 1; width: 100%; background: transparent; pointer-events: none; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.045); filter: brightness(.78); }
.museum { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
}
.lightbox[hidden] { display: none; }
.lb-bg { position: absolute; inset: 0; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(20px); }
.lb-figure {
  position: relative;
  z-index: 2;
  width: calc(100vw - 56px);
  height: calc(100vh - 56px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lb-figure img {
  max-width: 100%;
  max-height: calc(100% - 64px);
  object-fit: contain;
}
.lightbox.is-zoomed .lb-figure img { max-height: 100%; }
.lb-figure figcaption {
  flex: 0 0 auto;
  align-self: flex-end;
  margin: 0;
  max-width: 12rem;
  padding: 12px 14px 11px;
  background: var(--paper-solid);
  color: #171717;
  font-size: 13px;
  line-height: 1.35;
}
.lb-figure figcaption strong,
.lb-figure figcaption span { display: block; }
.lb-figure figcaption .line { margin-bottom: 6px; }
.lb-figure figcaption .line strong { display: inline; font-weight: 500; font-size: 15px; }
.lb-figure figcaption span:empty { display: none; }
.lightbox.is-zoomed figcaption { opacity: 0; pointer-events: none; }
.lb-close, .lb-arrow {
  position: fixed;
  z-index: 110;
  color: #171717;
  line-height: 1;
  opacity: 1;
  font-family: Geist, sans-serif;
}
.lb-close { top: 14px; right: 16px; padding: 6px; }
.lb-arrow { top: 50%; transform: translateY(-50%); padding: 10px 12px; }
.lb-mark { display: block; font-size: 42px; line-height: .8; color: var(--lb-prev, #d97757); }
.lb-arrow.next .lb-mark { color: var(--lb-next, #3f7f9f); }
.lb-close .lb-mark { color: var(--lb-close, #8a6fb0); }
.lb-close .lb-mark { font-size: 30px; }
.lb-label { display: block; margin-top: 8px; color: #171717; font-size: 12px; font-weight: 450; line-height: 1; white-space: nowrap; }
.lb-measure { position: fixed; z-index: 111; top: calc(50% + 62px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 3px; color: #171717; font-family: Geist, sans-serif; font-size: 11px; line-height: 1; }
.lb-measure-line { width: 1px; height: 22px; background: #171717; }
.lb-arrow.prev { left: 8px; }
.lb-arrow.next { right: 8px; }

.theme {
  position: fixed;
  z-index: 45;
  top: 100px;
  right: auto;
  left: auto;
  bottom: auto;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}
.home:not(.is-left) ~ .theme { visibility: hidden; }

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  opacity: .82;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease;
}
.cursor.is-off { opacity: 0; }
.cursor svg { position: absolute; inset: 50% auto auto 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); overflow: visible; }
.cursor svg path, .cursor svg line { fill: none; stroke: #171717; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cursor.is-closed svg path, .cursor.is-closed svg line { stroke-width: 1.8; }
.loupe {
  position: fixed;
  z-index: 105;
  width: 172px;
  height: 172px;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  background-color: transparent;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: translate(-50%, -50%);
  overflow: hidden;
}
.loupe[hidden] { display: none; }

@media (min-width: 561px) {
  .header-row { height: auto; align-items: center; }
  .logo { line-height: 1; }
  .rule { margin-top: 18px; }
}

@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; padding-left: 18px; padding-right: 18px; }
  .header { padding-left: 16px; padding-right: 16px; }
  .logo { font-size: 22px; }
  .theme { right: auto; }
  .menu { max-width: calc(100vw - 70px); overflow: auto; }
}
@media (pointer: coarse) {
  body, button, a, img { cursor: auto; }
  .cursor, .loupe { display: none; }
}
