/* === PLC hero, focus text, and citation === */
.plc-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  padding: 76px var(--gap) 24px;
}

.plc-hero-single-image {
  position: relative;
  min-height: 200vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.plc-hero-image-wrapper {
  width: 100%;
  height: 170vh;
  min-height: 900px;
  overflow: hidden;
  position: relative;
}
.plc-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plc-hero-bottom {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 0 0 2vw;
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  margin-top: 0;
}
.plc-title {
  max-width: 100%;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-family: var(--font-title);
  font-weight: normal;
  line-height: 0.95;
  color: var(--fg);
  margin: 0 0 0.2em 0;
  letter-spacing: 0;
  position: relative;
  z-index: 2;
  margin-top: -0.19em;
}
.plc-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.16em;
  width: 100%;
  font-family: var(--font-subtitle);
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plc-hero-year,
.plc-hero-subtitle {
  display: block;
}
.light-theme {
  --bg: #fff;
  --fg: #111;
}

/* Section 2: Focus Text */
.plc-focus-text {
  background: var(--bg);
  color: var(--fg);
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.plc-focus-text-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
}
.plc-focus-text-image {
  flex: 1 1 50%;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.plc-focus-text-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plc-focus-text-content {
  flex: 1 1 50%;
  padding: 6vw 5vw 6vw 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.5;
  color: var(--fg);
}

/* Section 3: Punchline */
.plc-focus-citation,
.plc-focus-punchline {
  background: var(--bg);
  color: var(--fg);
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.plc-focus-citation-inner,
.plc-focus-punchline-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
}
.plc-focus-citation-text,
.plc-focus-punchline-text {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'PLAAK56', sans-serif;
  font-size: clamp(2.2rem, 2.2vw, 3.5rem);
  text-transform: uppercase;
  color: var(--fg);
  padding: 2vw 1vw 1vw 1vw;
  line-height: 1.1;
  letter-spacing: 0.03em;
}
.plc-focus-citation-quote {
  font-size: 1.5em;
  margin-right: 0.2em;
  color: #bbb;
}
.plc-focus-citation-image,
.plc-focus-punchline-image {
  flex: 1 1 50%;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  padding-left: var(--gap);
}
.plc-focus-citation-image img,
.plc-focus-punchline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plc-schema-section {
  background: #fff;
  color: #111;
  padding: clamp(48px, 8vw, 120px) var(--gap);
}

.plc-schema-inner {
  width: 100%;
  display: flex;
  justify-content: center;
}

.plc-schema-image {
  width: min(100%, var(--max-width-wide));
  height: auto;
  display: block;
}

.plc-gallery-section,
.plc-add-gallery {
  --manual-gallery-item-padding: 1em;
  background: var(--bg);
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.plc-gallery-overlay {
  position: absolute;
  z-index: 0;
  width: 60vw;
  height: 60vh;
  object-fit: cover;
  pointer-events: none;
}

.plc-gallery-overlay-top-left .plc-gallery-overlay {
  top: 0;
  left: 0;
}

.plc-gallery-overlay-top-right .plc-gallery-overlay {
  top: 0;
  right: 0;
}

.plc-gallery-overlay-bottom-left .plc-gallery-overlay {
  bottom: 0;
  left: 0;
}

.plc-gallery-overlay-bottom-right .plc-gallery-overlay {
  right: 0;
  bottom: 0;
}

@media (max-width: 959px) {
  .plc-hero {
    min-height: auto;
    padding: calc(var(--header-offset) + 8px) var(--gap) 28px;
  }

  .plc-hero-single-image {
    min-height: auto;
  }

  .plc-hero-image-wrapper {
    height: 48svh;
    min-height: 340px;
  }

  .plc-hero-bottom {
    padding: 20px 0 0;
    min-height: auto;
    gap: 12px;
    margin-top: 0;
  }

  .plc-title {
    font-size: clamp(50px, 10vw, 68px);
    line-height: 0.9;
    margin-top: 0;
  }

  .plc-hero-meta {
    gap: 0.12em;
    width: min(100%, 20rem);
    font-size: clamp(18px, 4.6vw, 20px);
  }

  .plc-focus-text-inner,
  .plc-focus-citation-inner,
  .plc-focus-punchline-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }

  .plc-focus-text-image,
  .plc-focus-citation-image,
  .plc-focus-punchline-image,
  .plc-focus-text-content,
  .plc-focus-citation-text,
  .plc-focus-punchline-text {
    flex: none;
    width: 100%;
    min-height: 0;
  }

  .plc-focus-text-image,
  .plc-focus-citation-image,
  .plc-focus-punchline-image {
    padding: 0;
  }

  .plc-focus-text-content {
    padding: 20px 0 24px;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: clamp(18px, 4.6vw, 20px);
    line-height: 1.4;
    gap: 0;
  }

  .plc-focus-citation-text,
  .plc-focus-punchline-text {
    padding: 20px 0 24px;
    justify-content: flex-start;
    font-size: clamp(20px, 5.6vw, 30px);
    line-height: 1.05;
  }

  .plc-focus-text,
  .plc-focus-citation,
  .plc-focus-punchline,
  .plc-focus-text-inner,
  .plc-focus-citation-inner,
  .plc-focus-punchline-inner {
    min-height: auto;
  }

  .plc-schema-section {
    padding: 24px var(--gap);
  }

  .plc-gallery-section,
  .plc-add-gallery {
    min-height: auto;
  }

  .plc-gallery-overlay {
    width: 72vw;
    height: 42vh;
  }

  .plc-focus-text-image img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
  }

  .plc-focus-citation-image img,
  .plc-focus-punchline-image img {
    aspect-ratio: 1.12 / 1;
    height: auto;
  }
}

@media (max-width: 420px) {
  .plc-focus-text-content,
  .plc-focus-citation-text,
  .plc-focus-punchline-text {
    padding: 18px 0 14px;
  }
}
/* ==========================================================================
   PAGE: PROJET-LIEUX-COMMUNS
   ========================================================================== */

.projet-lieux-communs {
  background: var(--bg);
  color: var(--fg);
}

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */

/* ==========================================================================
   SECTION 2: FOCUS IMAGE + CITATION
   ========================================================================== */

/* ==========================================================================
   SECTION 4: Split full-height image + right gallery (2/1/2)
   ========================================================================== */

/* ==========================================================================
   ADDITIONAL SECTIONS
   ========================================================================== */

.plc-add-gallery {
  background: var(--bg);
}

.plc-add-media {
  background-color: var(--bg);
  background-image: repeating-linear-gradient(
    to bottom,
    var(--fg),
    var(--fg) 1px,
    transparent 1px,
    transparent 5px
  );
}

/* Final credits section */
.plc-credits-section {
  background: var(--bg);
  color: var(--fg);
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
}

.plc-credits-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.plc-credits-image-column {
  position: relative;
  min-width: 0;
  overflow: visible;
}

.plc-credits-image-wrap {
  width: 100%;
  height: 100%;
}

.plc-credits-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plc-credits-card {
  position: absolute;
  top: clamp(20px, 2vw, 40px);
  right: -7%;
  z-index: 3;
  width: clamp(46%, 400px, 40vw);
  aspect-ratio: 1.2 / 1;
  padding: clamp(20px, 2vw, 28px);
  background-color: #fff;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.22) 0,
    rgba(0, 0, 0, 0.22) 2px,
    transparent 2px,
    transparent 5px
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #111;
}

.plc-credits-card-title,
.plc-credits-card-year,
.plc-credits-card-subtitle {
  margin: 0;
  font-family: var(--font-title);
  text-transform: uppercase;
  color: #111;
}

.plc-credits-card-title {
  font-size: clamp(2.8rem, 4.2vw, 5.2rem);
  line-height: 0.82;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}

/* Maquette (Bloom) : années et lieu en Plaak 56, 20px sur l'écran de 1600px,
   16px rapporté à 1280 */
.plc-credits-card-year,
.plc-credits-card-subtitle {
  font-family: 'Plaak56', var(--font-title);
}

.plc-credits-card-year {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.plc-credits-card-subtitle {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 0.92;
  letter-spacing: 0.03em;
  white-space: pre-line;
}

.plc-credits-content {
  min-width: 0;
  padding: 4vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  font-size: clamp(1.1rem, 1.4vw, 1.55rem);
  line-height: 1.35;
}

.plc-credits-content p {
  margin: 0 0 1rem;
}

.plc-credits-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 959px) {
  .plc-credits-section,
  .plc-credits-inner {
    min-height: auto;
  }

  .plc-credits-inner {
    grid-template-columns: 1fr;
  }

  .plc-credits-image-column {
    overflow: hidden;
  }

  /* A set height: with height 100% of the column, the image took the
     whole column and pushed the credits card out of it (clipped) */
  .plc-credits-image-wrap {
    height: 48vh;
  }

  /* No negative bottom margin: the column clips, it cut the card's last 48px */
  .plc-credits-card {
    position: relative;
    top: auto;
    right: auto;
    width: min(82vw, 360px);
    margin: 20px auto 0;
  }

  .plc-credits-content {
    padding: 8vw 0;
  }

  .plc-credits-content > * {
    max-width: none;
  }
}
