/*
Copyright (c) 2025-2026 Systèmes Calibre Inc. All rights reserved.
Proprietary and confidential. See LICENSE at the repository root.

Articles (2026-09-29): the index (/articles/, /fr/articles/) and each article, linked after style.css.
The article body is the shared long-read style (.prose in style.css); this file adds only:
  1  The article's title band: a smaller title than a page's (headlines run long), and the byline
  2  The body column, a prompt box, and the author note that closes it
  3  The index list
*/

/* ---------- 1  Title band ---------- */
.article-hero { padding-block: 96px 80px; }
.article-title { font-size: clamp(2.25rem, 4.4vw, 3.75rem); max-width: 22ch; line-height: 1.08; }
.article-byline { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.article-byline .avatar { width: 56px; height: 56px; box-shadow: 0 0 0 3px var(--amber); }
.article-byline p { margin: 0; line-height: 1.35; }
.article-byline strong { display: block; font-weight: 600; color: var(--on-forest); }
.article-byline time { font-size: var(--fs-small); color: var(--on-forest-dim); }
@media (max-width: 640px) { .article-hero { padding-block: 64px 56px; } }

/* ---------- 2  Body and author note ---------- */
.article-body { padding-top: 72px; }
.article-prose { margin-inline: auto; }
.article-prose h2 { font-family: var(--display); color: var(--forest); font-size: 1.875rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
/* A prompt for the reader to copy into their own AI (Markdown "> …"), set apart on the quiet sage ground */
.article-prose blockquote {
  margin: 1.6em 0; padding: 22px 26px;
  background: var(--sage); border-radius: var(--radius-input);
  font-size: var(--fs-body); line-height: 1.6; color: var(--ink);
}
.article-prose blockquote p { margin: 0; }
.article-author {
  display: flex; align-items: center; gap: 20px;
  max-width: var(--measure); margin: 64px auto 0; padding-top: 28px;
  border-top: 2px solid var(--forest); font-size: var(--fs-prose);
}
.article-author .avatar { flex: none; width: 72px; height: 72px; }
.article-author p { margin: 0; line-height: 1.55; }
.article-author strong { color: var(--forest); }
@media (max-width: 640px) {
  .article-body { padding-top: 48px; }
  .article-prose h2 { font-size: 1.5rem; }
  .article-prose blockquote { padding: 18px 20px; }
  .article-author { align-items: flex-start; }
  .article-author .avatar { width: 56px; height: 56px; }
}

/* ---------- 3  Index ---------- */
.article-list { list-style: none; margin: 0; padding: 0; max-width: 52rem; }
.article-list li { padding-block: 32px; border-top: 1px solid var(--line); }
.article-list li:last-child { border-bottom: 1px solid var(--line); }
.article-list time { font-size: var(--fs-small); color: var(--muted); }
.article-list h2 { margin-top: 8px; }
.article-list p { margin-top: 10px; max-width: var(--measure); font-size: var(--fs-body); line-height: 1.6; color: var(--ink); }
.article-list-link { color: inherit; text-decoration: underline; text-decoration-color: var(--amber-dot); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.article-list-link:hover { text-decoration-color: var(--forest); }
