
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Young+Serif&display=swap');

:root {
  --white: #fff;
  --black: #171717;
  --muted: #888;
  --line: #e9e9e9;
  --side: 275px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: var(--black);
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  color: inherit;
}

/* COVER */

.cover {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: #222;
  color: #fff;
}

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

.cover-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .25);
}

.cover-content {
  position: absolute;
  left: 7vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: max-content;
  max-width: 86vw;
  align-items: stretch;
}

.artist-name {
  display: block;
  width: 100%;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: .13em;
  text-align: justify;
  text-align-last: justify;
}

.cover-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  width: 100%;
  justify-content: space-between;
}

.cover-categories a {
  font-size: 12px;
  letter-spacing: .035em;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  padding-bottom: 5px;
}

.cover-categories a:hover {
  opacity: .65;
}

.cover-index,
.cover-scroll {
  position: absolute;
  bottom: 30px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cover-index {
  left: 7vw;
  z-index: 2;
}

.cover-scroll {
  right: 7vw;
}

.cover-secondary {
  display: flex;
  gap: 22px;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .75);
}

.cover-secondary a {
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  padding-bottom: 4px;
  transition: opacity .25s;
}

.cover-secondary a:hover {
  opacity: .6;
}

.cover-social {
  position: absolute;
  right: 7vw;
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 19px;
}

.cover-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  color: rgba(255, 255, 255, .85);
  transition: opacity .25s;
}

.cover-social a:hover {
  opacity: .55;
}

.cover-social svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* PORTFOLIO SHELL */

.portfolio-page {
  height: 100vh;
  overflow: hidden;
}

.portfolio-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  padding: 38px 30px 28px 42px;
  background: #fff;
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.side-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .13em;
  white-space: nowrap;
}

.category-nav {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-category {
  width: 100%;
}

.category-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .015em;
}

.category-toggle .plus {
  font-size: 15px;
  font-weight: 300;
  color: #888;
  transition: transform .25s;
}

.nav-category.open .plus {
  transform: rotate(45deg);
}

.project-links {
  display: none;
  flex-direction: column;
  gap: 11px;
  padding: 14px 0 2px 12px;
}

.nav-category.open .project-links {
  display: flex;
}

.project-links a {
  font-size: 11px;
  line-height: 1.4;
  color: #777;
  transition: color .2s;
}

.project-links a:hover,
.project-links a.active {
  color: #111;
}

.sidebar-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 10px;
  color: #777;
}

.portfolio-main {
  position: relative;
  height: 100vh;
  margin-left: var(--side);
  padding: 45px 5vw 35px 3vw;
  overflow: auto;
  background: #fff;
}

/* RANDOM LANDING VIEW */

.random-view {
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.random-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.random-card {
  margin: 0;
  min-width: 0;
}

.random-card img {
  display: block;
  width: 100%;
  height: min(64vh, 680px);
  object-fit: cover;
  background: #f1f0ed;
  transition: opacity .55s;
}

.random-card figcaption {
  padding-top: 10px;
  font-size: 10px;
  letter-spacing: .03em;
  color: #777;
}

.random-note {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #aaa;
}

/* PROJECT INDEX */

.project-index {
  max-width: 1500px;
  margin: 0 auto;
  padding: 8px 0 55px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 42px;
}

.index-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.index-section-heading .eyebrow {
  margin: 0;
}

.index-mode-label {
  font-size: 8px;
  letter-spacing: .13em;
  color: #aaa;
}

.project-constellation {
  position: relative;
  height: min(48vh, 440px);
  min-height: 310px;
}

.constellation-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #dededb;
  border-radius: 50%;
  background: #fff;
  transition: background .25s, border-color .25s, transform .35s;
  color: #555;
  z-index: 1;
}

.constellation-node:hover {
  background: #f6f5f2;
  border-color: #aaa;
  transform: scale(1.035);
  color: #111;
}

.constellation-node .node-label {
  font-size: 11px;
  line-height: 1.45;
  max-width: 120px;
  padding: 12px;
}

.constellation-node:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #aaa;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.node-1 {
  width: 180px;
  height: 180px;
  left: 10%;
  top: 7%;
}

.node-2 {
  width: 145px;
  height: 145px;
  left: 47%;
  top: 2%;
}

.node-3 {
  width: 155px;
  height: 155px;
  left: 72%;
  top: 34%;
}

.node-4 {
  width: 135px;
  height: 135px;
  left: 31%;
  top: 56%;
}

.project-constellation:before,
.project-constellation:after {
  content: "";
  position: absolute;
  height: 1px;
  background: #e7e7e4;
  transform-origin: left center;
  z-index: 0;
}

.project-constellation:before {
  width: 44%;
  left: 21%;
  top: 31%;
  transform: rotate(-13deg);
}

.project-constellation:after {
  width: 48%;
  left: 42%;
  top: 48%;
  transform: rotate(19deg);
}

.project-strip-wrap {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 25px;
  gap: 12px;
  align-items: center;
}

.project-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  padding: 0 0 12px;
}

.strip-card {
  flex: 0 0 clamp(190px, 25vw, 310px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #555;
}

.strip-card img {
  width: 100%;
  height: clamp(125px, 19vh, 190px);
  object-fit: cover;
  background: #f1f0ed;
  filter: saturate(.85);
  transition: opacity .25s;
}

.strip-card:hover img {
  opacity: .78;
}

.strip-card span {
  font-size: 10px;
  line-height: 1.4;
}

.strip-arrow {
  border: 0;
  background: transparent;
  color: #777;
  font-size: 19px;
  cursor: pointer;
  padding: 8px 0;
}

/* PROJECT DETAIL */

.detail-view {
  max-width: 1500px;
  margin: 0 auto;
  padding-bottom: 50px;
}

.detail-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin: 12px 0 28px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 9px;
  letter-spacing: .13em;
  color: #999;
  text-transform: uppercase;
}

.detail-heading h1 {
  margin: 0;
  font-size: clamp(23px, 2.8vw, 38px);
  font-weight: 300;
  letter-spacing: .01em;
}

.detail-meta {
  margin: 9px 0 0;
  font-size: 10px;
  color: #999;
}

.image-modes {
  display: flex;
  gap: 18px;
  white-space: nowrap;
}

.mode-button {
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  font-size: 10px;
  color: #999;
  cursor: pointer;
}

.mode-button.active {
  color: #222;
  border-color: #222;
}

/* GENERAL PROJECT DESCRIPTION */

.detail-description {
  max-width: 620px;
  margin: 0 0 34px;
  font-size: 12px;
  line-height: 1.8;
  color: #555;
}
/* RELICS OF SELF — ENGLISH DESCRIPTION */

.english-description {
  color: rgba(0, 0, 0, 0.5);
  font-style: italic;
}
/* BIOGRAPHY & ARTIST STATEMENT */

.detail-description.bio-description {
  max-width: none;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* BIOGRAPHY: TEXT AND IMAGES IN TWO COLUMNS */

.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 45px;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bio-text,
.bio-images {
  min-width: 0;
  width: 100%;
}

/* BIOGRAPHY TEXT */

.bio-text h2 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--black);
}

.bio-text p {
  font-size: 12px;
  line-height: 1.8;
  color: #555;
  margin: 0 0 16px;
}

.bio-text p:last-child {
  margin-bottom: 0;
}

/* PORTRAITS: RIGHT COLUMN */

.bio-images {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 35px;
}

.bio-image {
  display: block;
  width: 400px;
  max-width: 100%;
  margin: 0;
}

.bio-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* SECOND PORTRAIT */

.bio-image-second {
  position: static;
  margin-top: 0;
}

/* QUOTE UNDER PORTRAIT */

.bio-quote {
  width: 400px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--black);
}

.bio-quote p {
  margin: 0;
  font: inherit;
}

.bio-quote cite {
  display: block;
  margin-top: 22px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: .04em;
  color: #888;
}

.bio-quote-en {
  margin: 24px 0 0;
  color: #b3b3b3;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

/* CONSTELLATION GALLERY — HORIZONTAL CAROUSEL */

.constellation-view {
  display: flex;
  gap: 20px;
  width: 100%;
  height: 65vh;
  min-height: 400px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  align-items: center;
  padding: 10px 0;
}

.constellation-item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  cursor: default;
  scroll-snap-align: center;
}

.constellation-item img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 75vw;
  min-height: 0;
  object-fit: contain;
}

/* Afficher toutes les images */

.constellation-item:nth-child(n) {
  display: flex;
}

/* HORIZONTAL GALLERY */

.horizontal-view {
  height: 65vh;
  min-height: 400px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 8px;
}

.horizontal-track {
  height: 100%;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.horizontal-slide {
  flex: 0 0 72%;
  height: 100%;
  margin: 0;
  scroll-snap-align: center;
}

.horizontal-image-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #f7f7f6;
  cursor: zoom-in;
}

.horizontal-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-arrow {
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: #777;
}

.gallery-empty {
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 11px;
  letter-spacing: .04em;
}

.detail-counter {
  text-align: right;
  margin-top: 12px;
  font-size: 9px;
  color: #aaa;
  letter-spacing: .08em;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, .96);
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 60px;
  align-items: center;
  justify-items: center;
  padding: 55px 25px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
}

.lightbox button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 12px;
}

.lightbox-close {
  position: absolute;
  right: 22px;
  top: 12px;
  font-size: 34px !important;
}

.lightbox-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

/* TABLET */

@media (max-width: 850px) {
  :root {
    --side: 220px;
  }

  .portfolio-sidebar {
    padding-left: 25px;
    padding-right: 22px;
  }

  .portfolio-main {
    padding-left: 25px;
    padding-right: 25px;
  }

  .random-images {
    gap: 12px;
  }

  .random-card img {
    height: 55vh;
  }

  .detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .constellation-view {
    min-height: 58vh;
  }

  .project-index {
    gap: 35px;
  }

  .project-constellation {
    height: 390px;
  }

  .node-1 {
    left: 5%;
  }

  .node-2 {
    left: 43%;
  }

  .node-3 {
    left: 70%;
  }

  .node-4 {
    left: 28%;
  }
}

/* BIOGRAPHY TABLET LAYOUT */

@media (max-width: 1000px) {
  .bio-layout {
    gap: 30px;
  }

  .bio-image {
    width: 400px;
    max-width: 100%;
  }

  .bio-quote {
    width: 400px;
    max-width: 100%;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .cover {
    min-height: 560px;
  }

  .cover-content {
    left: 7vw;
    right: 7vw;
  }

  .artist-name {
    font-size: 27px;
  }

  .cover-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }

  .cover-categories a {
    font-size: 11px;
  }

  .cover-index,
  .cover-scroll {
    font-size: 8px;
  }

  .cover-social {
    right: 7vw;
    bottom: 25px;
    gap: 14px;
  }

  .cover-social a {
    width: 15px;
    height: 15px;
  }

  .cover-index {
    left: 7vw;
    bottom: 25px;
    font-size: 8px;
  }

  .portfolio-page {
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }

  .portfolio-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 24px 7vw 18px;
    border-bottom: 1px solid var(--line);
  }

  .category-nav {
    margin-top: 27px;
    gap: 15px;
  }

  .sidebar-bottom {
    margin-top: 22px;
    flex-direction: row;
    gap: 20px;
  }

  .portfolio-main {
    margin: 0;
    height: auto;
    min-height: 65vh;
    padding: 25px 7vw 35px;
    overflow: visible;
  }

  .random-view {
    min-height: 60vh;
  }

  .random-images {
    gap: 9px;
  }

  .random-card img {
    height: 43vh;
  }

  .random-card figcaption {
    font-size: 9px;
  }

  .random-note {
    bottom: -4px;
  }

  .project-index {
    padding-top: 8px;
    gap: 32px;
  }

  .project-constellation {
    height: 390px;
    min-height: 390px;
  }

  .constellation-node .node-label {
    font-size: 9px;
  }

  .node-1 {
    width: 125px;
    height: 125px;
    left: 1%;
    top: 4%;
  }

  .node-2 {
    width: 112px;
    height: 112px;
    left: 46%;
    top: 0;
  }

  .node-3 {
    width: 120px;
    height: 120px;
    left: 59%;
    top: 49%;
  }

  .node-4 {
    width: 108px;
    height: 108px;
    left: 10%;
    top: 61%;
  }

  .project-constellation:before {
    width: 48%;
    left: 22%;
    top: 22%;
    transform: rotate(-8deg);
  }

  .project-constellation:after {
    width: 43%;
    left: 40%;
    top: 55%;
    transform: rotate(27deg);
  }

  .project-strip-wrap {
    grid-template-columns: 18px minmax(0, 1fr) 18px;
    gap: 5px;
  }

  .strip-card {
    flex-basis: 78%;
  }

  .strip-card img {
    height: 145px;
  }

  .index-mode-label {
    font-size: 7px;
  }

  .detail-heading h1 {
    font-size: 26px;
  }

  .image-modes {
    gap: 15px;
  }

  .constellation-view {
    min-height: 570px;
    grid-template-rows: repeat(10, 48px);
    gap: 7px;
  }

  .constellation-item:nth-child(1) {
    grid-column: 1 / 8;
    grid-row: 1 / 5;
  }

  .constellation-item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 2 / 5;
  }

  .constellation-item:nth-child(3) {
    grid-column: 2 / 7;
    grid-row: 6 / 9;
  }

  .constellation-item:nth-child(4) {
    grid-column: 8 / 13;
    grid-row: 6 / 9;
  }

  .constellation-item:nth-child(5) {
    grid-column: 4 / 10;
    grid-row: 9 / 11;
  }

  .constellation-item img {
    min-height: 100px;
  }

  .horizontal-view {
    height: 48vh;
    min-height: 300px;
    grid-template-columns: 22px minmax(0, 1fr) 22px;
    gap: 4px;
  }

  .horizontal-slide {
    flex-basis: 88%;
  }

  .lightbox {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    padding: 50px 5px;
  }

  .lightbox button {
    font-size: 22px;
    padding: 5px;
  }

  /* BIOGRAPHY MOBILE */

  .bio-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .bio-images {
    gap: 35px;
  }

  .bio-image {
    width: 400px;
    max-width: 100%;
  }

  .bio-quote {
    width: 100%;
    max-width: 400px;
    margin: 0;
    line-height: 1.3;
  }

  .bio-quote cite {
    margin-top: 18px;
    font-size: 10px;
  }

  .bio-text h2 {
    margin-bottom: 14px;
  }

  .bio-text p {
    font-size: 12px;
    line-height: 1.75;
  }
}

/* --------------------------------------------------
   LA VIE EN BLEU — POÈME
-------------------------------------------------- */

.poem-layout {
  width: 100%;
  max-width: 760px;
}

.poem-intro {
  max-width: 540px;
  margin-bottom: 20px;
}

.poem-intro p {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  line-height: 1.8;
  color: #555;
  margin: 0 0 16px;
}

/* TYPOGRAPHIE DU POÈME */

.poem-text {
  max-width: 620px;
  margin-left: 100px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.01em;
  color: #292f49;
}

/* TITRE */

.poem-text h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 23px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  margin: 0 0 45px;
  color: #292f49;
}

/* PARAGRAPHES */

.poem-text p {
  margin: 0 0 32px;
}

/* SIGNES GRAPHIQUES ET TYPOGRAPHIQUES */

.poem-text .poem-signs {
  font-family: monospace;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #52658e;
  overflow-wrap: anywhere;
  margin: 0 0 30px;
}

/* MOTS ET PASSAGES ACCENTUÉS */

.poem-text .poem-emphasis {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #52658e;
  margin: 45px 0;
}

/* MOTS EN GRAS */

.poem-text strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
}

/* POÈME — MOBILE */

@media (max-width: 700px) {
  .poem-layout {
    max-width: 100%;
  }

  .poem-intro {
    margin-bottom: 55px;
  }

  .poem-text {
    max-width: 100%;
    margin-left: 0;
    font-size: 15px;
  }

  .poem-text h2 {
    font-size: 21px;
  }
}
/* SOUVIENS-TOI : conserver la typographie et la taille existantes */

.poem-souviens-toi,
.poem-souviens-toi p,
.poem-souviens-toi h2,
.poem-souviens-toi em {
  color: #000000 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.poem-souviens-toi em {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
}
/* GOURMANDISE */

.gourmandise-text {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: var(--black);
}

.gourmandise-text h2 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.13em;
  margin: 0 0 55px;
  color: #888;
}

.gourmandise-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: start;
}

.gourmandise-columns p {
  margin: 0;
  font: inherit;
  line-height: inherit;
}

@media (max-width: 700px) {
  .gourmandise-text {
    font-size: 23px;
  }

  .gourmandise-text h2 {
    margin-bottom: 35px;
  }

  .gourmandise-columns {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}
/* WRITING VIDEO INDEX */

.writing-index[hidden] {
  display: none !important;
}

.writing-index {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  z-index: 1;
}

.writing-index video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* WORKSHOPS PAGE */

.workshops-page {
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

.workshops-intro {
  max-width: 760px;
  margin: 0 0 34px;
}

.workshops-intro h1 {
  font-family: 'Young Serif', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  margin: 20px 0;
}

.workshops-intro h2 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 30px;
}

.workshops-description {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.8;
}

.workshops-description p {
  margin-bottom: 18px;
}

/* IMAGE GRID */

.workshops-grid {
  max-width: 620px;
  margin-left: 100px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}


.workshop-image {
  margin: 0;
  width: 100%;
}


.workshop-image img {
  display: block;
  width: 100%;
  height: auto;
}


/* MOBILE */

@media (max-width: 700px) {

  .workshops-page {
    padding: 0;
  }

  .workshops-intro {
    margin-bottom: 34px;
  }

  .workshops-grid {
    max-width: 100%;
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

}
/* WORKSHOP POST */

.workshop-post {
  max-width: 620px;
  margin: 0 0 20px 100px;
}

.workshop-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 18px;
}

.workshop-post h2 {
  font-family: 'Young Serif', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 12px;
}

.workshop-subtitle {
  font-size: 16px;
  margin-bottom: 28px;
}

.workshop-text {
  font-size: 14px;
  line-height: 1.8;
}

.workshop-text p {
  margin-bottom: 18px;
}

.workshop-article-link {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 11px;
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  font-size: 11px;
  color: #777;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.workshop-article-link:hover {
  color: #171717;
  border-color: #171717;
}

@media (max-width: 700px) {
  .workshop-post {
    max-width: 100%;
    margin-left: 0;
  }
}
/* IMAGES CYANOTYPE EN DEUX COLONNES */

.cyanotype-images {
  width: 100%;
  max-width: 620px;
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cyanotype-images figure {
  margin: 0;
  width: 100%;
}

.cyanotype-images img {
  display: block;
  width: 100%;
  height: auto;
}

/* WRITING AND EDITIONS VIDEO INDEX */

.writing-index[hidden],
.editions-index[hidden] {
  display: none !important;
}

.writing-index,
.editions-index {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  z-index: 1;
}

.writing-index video,
.editions-index video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SHOP CALL TO ACTION */

.shop-cta {
  margin-top: 24px;
}

.shop-cta a {
  display: inline-block;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: inherit;
  transition: opacity .3s ease;
}

.shop-cta a:hover {
  opacity: .5;
}


/* --------------------------------------------------
   HABITER LE TROUBLE — EDITORIAL LAYOUT
-------------------------------------------------- */

/* CONTENEUR GÉNÉRAL */

.editorial-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding: 45px 0 100px;
}

/* --------------------------------------------------
   IMAGES INDIVIDUELLES
-------------------------------------------------- */

.editorial-image {
  display: flex;
  flex-direction: column;
  margin: 0;
  text-align: center;
}

.editorial-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
}

.editorial-image figcaption,
.editorial-caption {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .025em;
  color: #999;
  text-align: left;
}

/* POSITION DES IMAGES INDIVIDUELLES */

.editorial-image:nth-child(4n + 1 of .editorial-image) {
  width: 72%;
  margin-left: 14%;
}

.editorial-image:nth-child(4n + 2 of .editorial-image) {
  width: 39%;
  margin-left: 8%;
}

.editorial-image:nth-child(4n + 3 of .editorial-image) {
  width: 52%;
  margin-left: 43%;
}

.editorial-image:nth-child(4n of .editorial-image) {
  width: 64%;
  margin-left: 25%;
}

/* --------------------------------------------------
   GALERIES — COMPOSITION ASYMÉTRIQUE
-------------------------------------------------- */

.editorial-gallery {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  gap: 110px;
}

.editorial-gallery-group {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: 20px;
  row-gap: 75px;
  align-items: center;
}

.editorial-gallery-group img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  min-width: 0;
}

/* Grande image à gauche */

.gallery-image-1 {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}

/* Petite image en haut à droite */

.gallery-image-2 {
  grid-column: 9 / 13;
  grid-row: 1;
  margin-top: 45px;
}

/* Petite image en bas à droite */

.gallery-image-3 {
  grid-column: 9 / 13;
  grid-row: 2;
  margin-top: 35px;
}

/* Quatrième image : composition décalée */

.gallery-image-4 {
  grid-column: 3 / 9;
  grid-row: 3;
  margin-top: 50px;
}

/* RESPONSIVE */

@media (max-width: 700px) {

  .editorial-gallery {
    padding: 0 4%;
    gap: 65px;
  }

  .editorial-gallery-group {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto;
    row-gap: 45px;
    column-gap: 12px;
  }

  .gallery-image-1 {
    grid-column: 1 / 7;
    grid-row: 1;
  }

  .gallery-image-2 {
    grid-column: 3 / 7;
    grid-row: 2;
    margin-top: 0;
  }

  .gallery-image-3 {
    grid-column: 1 / 5;
    grid-row: 3;
    margin-top: 0;
  }

  .gallery-image-4 {
    grid-column: 2 / 7;
    grid-row: 4;
    margin-top: 0;
  }

  .editorial-gallery-group img {
    max-height: none;
  }
}

/* TEXTE BILINGUE — DEUX COLONNES */

.editorial-text-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;

  width: 100%;
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 4%;

  box-sizing: border-box;
  align-items: start;
}

.text-fr,
.text-en {
  min-width: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* TEXTE ANGLAIS — ITALIQUE ET GRIS */

.text-en {
  font-style: italic;
  color: #888888;
}


/* MOBILE */

@media (max-width: 700px) {
  .editorial-text-columns {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 60px auto;
  }
}

/* VIDEO MP4 — HABITER LE TROUBLE */

.editorial-video {
  width: 100%;
  max-width: none;
  margin: 60px auto;
}

.editorial-video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

@media (max-width: 700px) {
  .editorial-video {
    width: 100%;
  }
}

/* TEXTE EDITORIAL — YOUNG SERIF */

.editorial-text-serif {
  width: 65%;
  max-width: 850px;
  margin: 100px auto;
  font-family: 'Young Serif', Georgia, serif;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
}

.editorial-text-serif p {
  margin: 0 0 1.5em;
}

.editorial-text-serif-en {
  margin-top: 3em;
}

@media (max-width: 700px) {
  .editorial-text-serif {
    width: 88%;
    font-size: 13px;
    margin: 60px auto;
  }
}

/* VIDEOS — AVE MARIA UNIQUEMENT */

.editorial-video-ave {
  width: 40%;
  max-width: 500px;
  margin: 60px auto;
}

@media (max-width: 700px) {
  .editorial-video-ave {
    width: 85%;
  }
}

/* CITATION — J'AI DORMI SOUS L'EAU */

.editorial-text-serif {
  width: 75%;
  max-width: 600px;
  margin: 100px auto;
  font-family: 'Young Serif', Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  text-align: center;
  white-space: pre-line;
}

@media (max-width: 700px) {
  .editorial-text-serif {
    width: 88%;
    margin: 70px auto;
    font-size: 13px;
    line-height: 1.9;
  }
}

/* SPOTIFY EMBED — PROJECT PAGES */

.spotify-embed {
  width: 100%;
  max-width: 620px;
  margin: 32px 0 48px;
}

.spotify-embed iframe {
  display: block;
  width: 100%;
  height: 352px;
  border: 0;
  border-radius: 12px;
}

/* --------------------------------------------------
   WORKS AVAILABLE — ACQUISITION FORM
-------------------------------------------------- */

.acquisition-contact {
  width: 100%;
  max-width: 760px;
  margin: 140px auto 100px;
  padding-top: 45px;
  border-top: 1px solid #222;
}

.acquisition-contact .eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #888;
  margin-bottom: 35px;
}

.acquisition-contact h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 22px;
}

.acquisition-contact > p:not(.eyebrow) {
  max-width: 480px;
  font-size: 13px;
  line-height: 1.8;
  color: #777;
  margin-bottom: 55px;
}

#acquisition-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#acquisition-form label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #888;
  margin-bottom: 0;
}

#acquisition-form input,
#acquisition-form select,
#acquisition-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #bbb;
  border-radius: 0;
  background: transparent;
  padding: 5px 0 8px;
  font-family: inherit;
  font-size: 13px;
  color: #222;
  outline: none;
  box-shadow: none;
}

#acquisition-form input:focus,
#acquisition-form select:focus,
#acquisition-form textarea:focus {
  border-bottom-color: #111;
}

#acquisition-form textarea {
  min-height: 110px;
  resize: vertical;
}

#acquisition-form button {
  align-self: flex-end;
  border: 1px solid #171717;
  border-radius: 0;
  background: #171717;
  color: white;
  padding: 16px 30px;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

#acquisition-form button:hover {
  background: white;
  color: #171717;
}

@media (max-width: 700px) {
  .acquisition-contact {
    margin: 90px auto 60px;
  }

  #acquisition-form {
    gap: 10px;
  }

  #acquisition-form button {
    width: 100%;
  }
}

/* --------------------------------------------------
   WORKS AVAILABLE — ARTWORK GRID
-------------------------------------------------- */

.works-available-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 35px;
  row-gap: 65px;
  width: 100%;
}

.available-artwork {
  margin: 0;
  min-width: 0;
}

.available-artwork img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.available-artwork figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 14px;
}

.artwork-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #222;
}

.artwork-details {
  font-size: 10px;
  color: #888;
  letter-spacing: 0.02em;
}

.artwork-status {
  font-size: 9px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

@media (max-width: 700px) {
  .works-available-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
}

/* WORKS AVAILABLE — IMAGE SIZE */

.works-available-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 35px;
}

.available-artwork img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* WORKS AVAILABLE — ALIGN CAPTIONS */

.available-artwork {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.available-artwork img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.available-artwork figcaption {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-top: 0px;
}

.available-artwork figcaption span {
  display: block;
  width: 100%;
}