/* Rubrique Articles : même charte et mêmes animations que l'accueil (encre, papier, cuivre). */
.blog { background: var(--ink); color: var(--paper); }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--copper); transform: scaleX(0); transform-origin: left; }

/* En-tête fixe, couleur inverse de la section survolée (comme l'accueil) */
.bhdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 16px max(var(--gutter), env(safe-area-inset-left, 0px));
  color: var(--paper); pointer-events: none; transition: color .45s ease;
}
.bhdr[data-on="light"] { color: var(--ink); }
.bhdr a { pointer-events: auto; }
.bhdr-brand { display: flex; font-size: clamp(58px, 5.6vw, 80px); line-height: 0; }
.bhdr nav { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); font-size: .95rem; }
.bhdr nav a { position: relative; }
.bhdr nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.bhdr nav a:hover::after, .bhdr nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 640px) { .bhdr nav a:not(.bhdr-cta):not([aria-current]) { display: none; } }

/* Liste : mêmes cartes empilées que les projets */
.blist-page { padding-top: 10vh; }
.h1-like { margin: 0; font-size: clamp(2.2rem, 5vw, 5.2rem); line-height: .94; letter-spacing: -0.05em; font-weight: 500; text-wrap: balance; }
.h1-like em { font-style: italic; font-weight: 300; color: var(--copper); }
.bempty { color: var(--mute-on-ink); }
.pmore { padding-top: 12vh; border-top: 1px solid var(--line-ink); }

/* Article : titre épinglé qui s'efface au scroll, comme l'ouverture de l'accueil */
.ahero { height: 175vh; background: var(--ink); }
.ahero-pin { display: grid; place-items: center; text-align: center; padding: 6rem max(var(--gutter), env(safe-area-inset-right, 0px)) 4rem max(var(--gutter), env(safe-area-inset-left, 0px)); }
.ahero-in { width: min(100%, 1100px); will-change: transform, opacity; }
.ahero-meta { color: var(--mute-on-ink); margin: 0 0 2rem; }
.ahero-meta a { border-bottom: 1px solid currentColor; }
.ahero h1 { margin: 0; font-size: clamp(2.4rem, min(7vw, 11vh), 7.5rem); line-height: .95; letter-spacing: -0.055em; font-weight: 500; text-wrap: balance; }
.aw { display: inline-block; animation: wIn 1s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--k) * 55ms + 120ms); }
@keyframes wIn { from { opacity: 0; transform: translate3d(0, .5em, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.ahero-lead { margin: 2rem auto 0; max-width: 44ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: rgba(236,233,227,.72); animation: wIn 1.1s .6s cubic-bezier(.2,.7,.2,1) both; }
.ahero-hint { position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%); color: var(--mute-on-ink); }
.ahero-hint::after { content: ""; display: block; width: 1px; height: 2.6rem; margin: .7rem auto 0; background: currentColor; animation: hintY 2.2s cubic-bezier(.6,0,.2,1) infinite; transform-origin: top; }
@keyframes hintY { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .aw, .ahero-lead { animation: none; } }

.abody { background: var(--paper); color: var(--ink); padding: 8rem max(var(--gutter), env(safe-area-inset-right, 0px)) 6rem max(var(--gutter), env(safe-area-inset-left, 0px)); }
.prose { max-width: 44rem; margin: 0 auto; font-size: clamp(1.08rem, 1.3vw, 1.2rem); line-height: 1.75; }
.prose > * { margin: 0 0 1.4rem; }
.prose h2 { margin: 3.5rem 0 1rem; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -0.045em; font-weight: 500; }
.prose h3 { margin: 2rem 0 .5rem; font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 600; }
.prose strong { font-weight: 600; }
.prose a { border-bottom: 1px solid var(--copper); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--copper); }
.prose blockquote { margin: 3rem 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--copper); }
.prose blockquote p { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -0.035em; font-weight: 500; }
.prose figure { margin: 3rem -6vw; }
.prose figure img { width: 100%; border-radius: 16px; box-shadow: 0 30px 60px -35px rgba(0,0,0,.45); background: #fff; }
.prose figcaption { margin: .8rem 6vw 0; font-size: .9rem; color: var(--mute-on-paper); }
@media (max-width: 900px) { .prose figure { margin: 2.5rem 0; } .prose figcaption { margin: .6rem 0 0; } }
.bc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .75rem; margin: 2.5rem 0; }
.bc-cards.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .bc-cards.n4 { grid-template-columns: 1fr; } }
.bc-card { background: var(--ink); color: var(--paper); border-radius: 16px; padding: 1.2rem 1.3rem; }
.bc-card strong { display: block; font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: .35rem; color: var(--copper); font-weight: 600; }
.bc-card p { margin: 0; font-size: .95rem; line-height: 1.5; color: rgba(236,233,227,.8); }
.bc-figure { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 3rem 0; padding: 1.5rem 0; border-top: 1px solid var(--line-paper); border-bottom: 1px solid var(--line-paper); }
.bc-figure strong { font-size: clamp(3rem, 7vw, 5.5rem); line-height: .9; letter-spacing: -0.06em; font-weight: 300; color: var(--copper); }
.bc-figure span { max-width: 30ch; font-size: 1.05rem; line-height: 1.4; }

.pshare { max-width: 44rem; margin: 4rem auto 0; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line-paper); }
.pshare .mono { color: var(--mute-on-paper); margin-right: .5rem; }
.pshare a, .pshare button { font-size: .92rem; padding: .5rem 1rem; border-radius: 99px; border: 1px solid var(--line-paper); background: transparent; cursor: pointer; }
.pshare a:hover, .pshare button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Pied de page : celui de l'accueil (.outro, défini dans site.css) */
