/* Oldies & Goodies — une rétrospective en chapitres : chaque marque dans sa propre bande de couleur */
html:has(body.og),body.og { overflow-x:clip; }
.og .project-page { padding-top:0; padding-bottom:0; }
.og .project-gallery { gap:0; }

/* Bandes pleine largeur : sortent de la colonne de page jusqu'aux bords de la fenêtre */
.og-hero,.og-chapter { margin-inline:calc(50% - 50vw); padding-inline:calc(50vw - 50%); }

/* Ouverture : noir, titre blanc, sommaire en pastilles */
.og .og-hero { background:#0b0b0c; color:#fff; display:block; margin-bottom:0; padding-block:clamp(70px,11vh,120px) clamp(60px,9vh,100px); }
.og ::selection { background:#fff; color:#0b0b0c; }
.og-hero-title { align-items:end; display:grid; gap:20px; grid-template-columns:repeat(12,1fr); }
.og-hero-title .project-title { grid-column:1 / span 8; }
.og-hero .project-info { color:#9a9995; grid-column:9 / span 4; }
.og-intro { display:grid; gap:20px; grid-template-columns:repeat(12,1fr); margin-top:clamp(50px,8vh,90px); }
.og-intro > p { color:#c9c8c4; font-size:15px; grid-column:1 / span 5; line-height:1.7; }
.og-hero .project-meta { border-top-color:#333; grid-column:7 / span 6; }
.og-hero .project-meta dt { color:#8b8a86; }

.og-index { border-top:1px solid #333; display:grid; gap:clamp(14px,2.4vw,34px); grid-template-columns:repeat(6,1fr); margin-top:clamp(50px,8vh,90px); padding-top:26px; }
.og-index a { display:block; }
.og-index img,.og-index b { aspect-ratio:1; border-radius:50%; display:block; height:auto; transition:transform .45s cubic-bezier(.16,1,.3,1); width:100%; }
/* Le détourage rogne le liseré blanc des JPG, juste à l'intérieur du disque */
.og-index img { clip-path:circle(48.4%); object-fit:cover; }
.og-index b { align-items:center; background:#1f1f21; clip-path:circle(48.4%); display:flex; font-size:clamp(22px,2.6vw,40px); font-weight:400; justify-content:center; letter-spacing:-.04em; }
.og-index span { color:#9a9995; display:block; font-family:"DM Mono",monospace; font-size:10px; line-height:1.5; margin-top:14px; text-transform:uppercase; transition:color .25s ease; }
.og-index a:hover img,.og-index a:hover b { transform:scale(1.06) rotate(-4deg); }
.og-index a:hover span { color:#fff; }
.og-hero a:focus-visible { outline-color:#fff; }

/* Chapitres : texte collant à gauche, visuels en quinconce à droite */
.og-chapter { align-items:start; background:var(--bg); color:var(--fg); column-gap:20px; display:grid; grid-template-columns:repeat(12,1fr); padding-block:clamp(80px,13vh,150px); scroll-margin-top:0; }
.og-copy { grid-column:1 / span 4; position:sticky; top:clamp(40px,8vh,90px); }
.og-chapter .eyebrow { color:var(--accent); margin-bottom:28px; }
.og-chapter h2,.og-more h2 { font-size:clamp(34px,4.6vw,72px); font-weight:400; letter-spacing:-.055em; line-height:.95; }
.og-copy > p:not(.eyebrow) { font-size:15px; line-height:1.7; margin-top:26px; max-width:34ch; opacity:.86; }
.og-copy > p.og-tags { border-top:1px solid color-mix(in srgb,var(--fg) 25%,transparent); font-family:"DM Mono",monospace; font-size:10px; line-height:1.7; margin-top:34px; opacity:.75; padding-top:14px; text-transform:uppercase; }
.og-shots { column-gap:20px; display:grid; grid-column:6 / span 7; grid-template-columns:1fr 1fr; row-gap:20px; }
.og-shots img { height:auto; }
.og-shots img:nth-child(even) { margin-top:clamp(40px,7vw,110px); }

.og-1818 { --bg:#4f1617; --fg:#f6e9e3; --accent:#ee3a44; }
.og-gcb { --bg:#123a7a; --fg:#fff; --accent:#f9b233; }
.og-ppr { --bg:#e8dfcb; --fg:#2a1814; --accent:#8f1d2c; }
.og-gemalto { --bg:#141517; --fg:#ededed; --accent:#ff8a1f; }
.og-jaude { --bg:#f6c915; --fg:#12314a; --accent:#12314a; }

/* Et aussi : retour au blanc, grands visuels alternés */
.og-more { display:flex; flex-direction:column; gap:clamp(60px,9vh,110px); padding-block:clamp(80px,13vh,150px) 120px; }
.og-more-head { border-top:1px solid var(--line); display:grid; gap:20px; grid-template-columns:repeat(12,1fr); padding-top:15px; }
.og-more-head .eyebrow { grid-column:1 / span 2; margin:0; }
.og-more-head > div { grid-column:3 / span 6; }
.og-more-head p:not(.eyebrow) { color:#4a4947; font-size:15px; line-height:1.7; margin-top:22px; max-width:44ch; }
.og-more figure { margin:0; width:72%; }
.og-more figure:nth-of-type(even) { align-self:flex-end; }
.og-more figure img { border:1px solid var(--line); }

@media (prefers-reduced-motion:reduce) {
  .og-index img,.og-index b { transition:none; }
}

@media (max-width:760px) {
  .og-hero-title,.og-intro,.og-chapter,.og-more-head { display:block; }
  .og-intro > p { margin-bottom:34px; }
  .og-index { grid-template-columns:repeat(3,1fr); row-gap:26px; }
  .og-copy { position:static; }
  .og-shots { margin-top:40px; }
  .og-shots img:nth-child(even) { margin-top:28px; }
  .og-more-head .eyebrow { margin-bottom:18px; }
  .og-more figure { width:100%; }
  .og-more { padding-bottom:80px; }
}
