/* Graphen Studio — article du Journal (Publications) */

.p-foot { display: none; }

/* L'en-tête passe au-dessus de la photo d'ouverture : il s'inverse, comme
   sur la page Archive, pour rester lisible sur le clair comme sur le sombre. */
.menu-btn { mix-blend-mode: difference; --c1: #fff; }

/* Sans fond sur html, le blanc de body part sur le canevas, hors du groupe
   où joue le « difference » : l'en-tête resterait blanc sur blanc. */
html { background: #fff; }

.page--jnl {
  display: block;
  padding: 0;
  overflow-x: clip;
}

/* ---------- Titre ---------- */

/* Titre posé à 394 px, métadonnées 28 px dessous, photo à 453 px : le bloc
   finit donc au milieu de l'écran. */
.jnl-head {
  min-height: 50vh;
  min-height: 50svh;
  padding: 120px 20px 13px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.jnl-head h1 {
  max-width: 860px;
  font-size: 20px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0;
}
.jnl-head__meta { display: flex; gap: 10px; color: #4a4a4a; }

/* ---------- Photo d'ouverture ---------- */

/* Cadre héro extensible au défilement */
.jnl-hero {
  position: relative;
  aspect-ratio: 1440 / 990;
}
.jnl-hero__frame {
  --s: .2;
  --k: -25.25%;
  position: absolute;
  inset: 0;
  transform: translate3d(0, calc(var(--k) * (1 - var(--s))), 0) scale(var(--s));
  transform-origin: 50% 50%;
  will-change: transform;
  overflow: hidden;
}
.jnl-hero__frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Texte ---------- */

/* Deux moitiés, 5 px de marge : l'intertitre à gauche (710 px de large), les
   paragraphes à droite, sur 600 px au plus. */
.jnl-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 200px 5px 0;
}
.jnl-row + .jnl-row { padding-top: 160px; }

.jnl-row__side { display: flex; flex-direction: column; gap: 2px; }
.jnl-row__tag { color: #a1a1a1; }
.jnl-row__side h2 {
  max-width: 560px;
  margin: 0;
  font: inherit;
}

.jnl-row__text {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.jnl-row__text p {
  font-size: 16px;
  line-height: 20.8px;
  letter-spacing: .03em;
}

.jnl-quote { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.jnl-quote p { font-style: italic; }
.jnl-quote cite { font-style: normal; color: #a1a1a1; }

.jnl-row--credit .jnl-row__text p { font-size: inherit; line-height: inherit; letter-spacing: inherit; }

/* ---------- Photos ---------- */

/* 720 × 600 au centre, à 1440 px ; 240 px sous le texte, 200 px avant le
   suivant. */
.jnl-shot {
  width: 50%;
  margin: 240px auto 0;
  aspect-ratio: 720 / 600;
  overflow: hidden;
  background: var(--line);
}
.jnl-shot + .jnl-shot { margin-top: 3px; }
.jnl-shot img { width: 100%; height: 100%; object-fit: cover; }

.jnl-body { padding-bottom: 200px; }

/* ================= Tablette et mobile ================= */

@media (max-width: 1199px) {
  .m-header { mix-blend-mode: difference; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .m-header .wordmark__g, .m-header .wordmark__s { color: #fff; }
}

@media (max-width: 809px) {
  .jnl-head { min-height: 0; padding: 332px 10px 0; gap: 8px; }
  .jnl-head h1 { max-width: 290px; }
  .jnl-head__meta { font-size: 12px; line-height: 15.6px; }

  /* Vignette d'ouverture mobile */
  .jnl-hero { aspect-ratio: 380 / 422; margin: 115px 5px 0; }
  .jnl-hero__frame { --k: 29.6%; }

  .jnl-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 40px 10px 0; }
  .jnl-row + .jnl-row { padding-top: 60px; }
  .jnl-row__side, .jnl-row__text p, .jnl-quote cite { font-size: 12px; line-height: 15.6px; }
  .jnl-row__text { max-width: none; gap: 39px; }

  .jnl-shot { width: auto; margin: 43px 5px 0; aspect-ratio: 380 / 317; }
  .jnl-shot + .jnl-shot { margin-top: 3px; }

  .jnl-body { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .jnl-hero__frame { --s: 1 !important; }
}
