/* ==========================================================================
   Antheiste, feuille de style principale.
   Aucune ressource externe : polices systeme, zero requete tierce.
   ========================================================================== */

:root {
  color-scheme: light dark;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --bg: #fbf8f4;
  --bg-soft: #f4ede4;
  --surface: #ffffff;
  --surface-alt: #f7f1e9;
  --ink: #191410;
  --ink-soft: #5c5149;
  --ink-faint: #8a7d72;
  --rule: #e5dbd0;
  --rule-strong: #d5c7b8;
  --accent: #a8402f;
  --accent-soft: #c9705a;
  --accent-wash: #f6e9e4;
  --focus: #1f6feb;

  --shadow-sm: 0 1px 2px rgba(25, 20, 16, .05), 0 2px 8px rgba(25, 20, 16, .04);
  --shadow-md: 0 2px 4px rgba(25, 20, 16, .06), 0 12px 32px rgba(25, 20, 16, .08);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --measure: 40rem;
  --page: 76rem;
  --gutter: clamp(1.15rem, 4vw, 3rem);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141110;
    --bg-soft: #1a1615;
    --surface: #1d1917;
    --surface-alt: #241f1c;
    --ink: #efe8e0;
    --ink-soft: #b3a79c;
    --ink-faint: #8b8078;
    --rule: #302a26;
    --rule-strong: #423a35;
    --accent: #e59277;
    --accent-soft: #eaa88f;
    --accent-wash: #2a1f1b;
    --focus: #79a9ff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .45);
  }
}

:root[data-theme="dark"] {
  --bg: #141110;
  --bg-soft: #1a1615;
  --surface: #1d1917;
  --surface-alt: #241f1c;
  --ink: #efe8e0;
  --ink-soft: #b3a79c;
  --ink-faint: #8b8078;
  --rule: #302a26;
  --rule-strong: #423a35;
  --accent: #e59277;
  --accent-soft: #eaa88f;
  --accent-wash: #2a1f1b;
  --focus: #79a9ff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .45);
}

/* --------------------------------------------------------------- socle -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, picture, video, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--accent-wash); color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: .7rem 1.1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------- entete -- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--rule);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand__mark { width: 30px; height: 30px; flex: none; color: var(--accent); }

.brand__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .01em;
  font-weight: 600;
  line-height: 1;
}

.brand__name em { font-style: normal; color: var(--accent); }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .15rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-size: .875rem;
  padding: .45rem .62rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}

.nav a:hover { color: var(--ink); background: var(--surface-alt); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.theme-toggle {
  margin-left: .35rem;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-soft);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  transition: color .18s ease, border-color .18s ease;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--rule-strong); }
.theme-toggle svg { width: 16px; height: 16px; }
:root[data-theme="dark"] .theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon,
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
}

.nav-toggle { display: none; }

@media (max-width: 56rem) {
  .nav a.nav__extra { display: none; }
}

@media (max-width: 40rem) {
  .masthead__inner { min-height: 3.75rem; }
  .brand__name { font-size: 1.2rem; }
  .nav { gap: 0; }
  .nav a { padding: .4rem .45rem; font-size: .8125rem; }
}

/* ------------------------------------------------------------ titrages -- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -.012em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}

.kicker {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 .6rem;
  display: block;
}

.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid var(--ink);
  padding-top: .8rem;
  margin-bottom: 1.75rem;
}

.section-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

.section-head a {
  font-size: .8125rem;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}
.section-head a:hover { color: var(--accent); }

.meta {
  font-size: .78rem;
  color: var(--ink-faint);
  letter-spacing: .02em;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin: 0;
}

.meta span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--rule-strong);
  margin-right: .55rem;
  vertical-align: middle;
}

/* --------------------------------------------------------------- hero  -- */

.hero { padding: clamp(2rem, 5vw, 3.75rem) 0 1rem; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-alt);
  box-shadow: var(--shadow-md);
}

.hero__figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.05rem);
  margin-bottom: .85rem;
}

.hero h1 a { text-decoration: none; }
.hero h1 a:hover { color: var(--accent); }

.hero__lede {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
  margin: 0 0 1.15rem;
  max-width: 34rem;
}

@media (max-width: 54rem) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
}

.intro-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.4rem 0;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.9vw, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.6;
  text-wrap: pretty;
}

.intro-band strong { color: var(--ink); font-weight: 600; }

/* -------------------------------------------------------------- cartes -- */

.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.6vw, 2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 62rem) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) {
  .grid, .grid--two { grid-template-columns: 1fr; }
}

.card { display: flex; flex-direction: column; min-width: 0; }

.card__figure {
  margin: 0 0 .95rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

.card__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}

.card:hover .card__figure img { transform: scale(1.035); }

.card h3 {
  font-size: 1.14rem;
  margin: 0 0 .5rem;
  line-height: 1.28;
}

.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent); }

.card p {
  margin: 0 0 .7rem;
  color: var(--ink-soft);
  font-size: .93rem;
  line-height: 1.62;
}

.card .meta { margin-top: auto; }

/* Liste compacte, sans image. */
.list { list-style: none; margin: 0; padding: 0; }

.list li {
  border-bottom: 1px solid var(--rule);
  padding: .95rem 0;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: .9rem;
  align-items: baseline;
}

.list li:first-child { border-top: 1px solid var(--rule); }

.list__num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.list h3 { font-size: 1.02rem; margin: 0 0 .3rem; line-height: 1.35; }
.list h3 a { text-decoration: none; }
.list h3 a:hover { color: var(--accent); }

/* ------------------------------------------------------------ rubriques -- */

.rubriques {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 62rem) { .rubriques { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .rubriques { grid-template-columns: 1fr; } }

.rubrique {
  background: var(--surface);
  padding: 1.4rem 1.35rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  transition: background-color .2s ease;
}

.rubrique:hover { background: var(--surface-alt); }

.rubrique h3 { font-size: 1.08rem; }
.rubrique p { margin: 0; font-size: .875rem; color: var(--ink-soft); line-height: 1.55; }
.rubrique span {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

/* ------------------------------------------------------------- article -- */

.article-head { padding: clamp(2rem, 5vw, 3.5rem) 0 0; }

.article-head h1 {
  font-size: clamp(1.85rem, 4.3vw, 2.9rem);
  margin-bottom: 1rem;
}

.article-head .lede {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  text-wrap: pretty;
}

.article-figure {
  margin: 2rem 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-alt);
}

.article-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.article-figure figcaption {
  font-size: .78rem;
  color: var(--ink-faint);
  padding: .6rem .2rem 0;
  line-height: 1.5;
}

.breadcrumb {
  font-size: .78rem;
  color: var(--ink-faint);
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.breadcrumb a { text-decoration: none; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--rule-strong); }

.prose { padding-top: .5rem; }

.prose > * { margin-inline: auto; max-width: var(--measure); }

.prose p, .prose ul, .prose ol, .prose dl {
  font-size: 1.0625rem;
  line-height: 1.78;
  margin: 0 0 1.35rem;
}

.prose h2 {
  font-size: clamp(1.4rem, 2.7vw, 1.72rem);
  margin: 2.9rem 0 .95rem;
  padding-top: .9rem;
  border-top: 1px solid var(--rule);
}

.prose h3 {
  font-size: clamp(1.13rem, 2vw, 1.28rem);
  margin: 2rem 0 .7rem;
}

.prose h4 {
  font-family: var(--font-body);
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 1.7rem 0 .55rem;
}

.prose a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.prose a:hover { text-decoration-color: currentColor; }

.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin-bottom: .55rem; }
.prose li::marker { color: var(--accent-soft); }

.prose strong { font-weight: 650; color: var(--ink); }

.prose blockquote {
  margin: 2rem auto;
  padding: .2rem 0 .2rem 1.5rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
}

.prose blockquote p { font-size: inherit; line-height: inherit; margin-bottom: .5rem; }
.prose blockquote cite { display: block; font-family: var(--font-body); font-size: .82rem; color: var(--ink-faint); font-style: normal; }

.prose hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.6rem auto;
  max-width: 8rem;
}

.prose figure { margin: 2rem auto; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { font-size: .78rem; color: var(--ink-faint); padding-top: .55rem; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  margin: 0 auto 1.6rem;
}
.prose thead th {
  text-align: left;
  border-bottom: 2px solid var(--ink);
  padding: .55rem .6rem;
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.prose td { border-bottom: 1px solid var(--rule); padding: .6rem; vertical-align: top; }

.table-scroll { overflow-x: auto; margin: 0 auto 1.6rem; max-width: var(--measure); }

/* Encadres editoriaux. */
.note, .reperes, .avert {
  max-width: var(--measure);
  margin: 2rem auto;
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius);
  background: var(--surface-alt);
  border: 1px solid var(--rule);
  font-size: .95rem;
  line-height: 1.65;
}

.note > :last-child, .reperes > :last-child, .avert > :last-child { margin-bottom: 0; }
.note p, .reperes p, .reperes li, .avert p { font-size: .95rem; line-height: 1.65; margin-bottom: .7rem; }

.note__title, .reperes__title, .avert__title {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 .55rem;
  display: block;
}

.reperes { background: var(--accent-wash); border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.reperes ul { margin: 0; padding-left: 1.15rem; }
.reperes li { margin-bottom: .45rem; }

.avert { border-left: 3px solid var(--accent); }

/* Sommaire. */
.toc {
  max-width: var(--measure);
  margin: 2rem auto 2.4rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem 1.2rem;
}

.toc > summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after { content: "+"; font-size: 1.1rem; color: var(--accent); line-height: 1; }
.toc[open] > summary::after { content: "\2212"; }

.toc ol { margin: .9rem 0 .2rem; padding-left: 1.2rem; }
.toc li { margin-bottom: .38rem; font-size: .92rem; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Questions frequentes. */
.faq { max-width: var(--measure); margin: 2.4rem auto; }
.faq h2 { border-top: 1px solid var(--rule); padding-top: .9rem; }

.faq details {
  border-bottom: 1px solid var(--rule);
  padding: .9rem 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--font-body); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { margin: .75rem 0 0; color: var(--ink-soft); font-size: .97rem; }

/* Pied d'article. */
.article-foot {
  max-width: var(--measure);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}

.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }

.tags a {
  font-size: .78rem;
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .28rem .72rem;
  color: var(--ink-soft);
  transition: border-color .18s ease, color .18s ease;
}
.tags a:hover { border-color: var(--accent); color: var(--accent); }

.byline {
  display: flex;
  gap: .95rem;
  align-items: flex-start;
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.byline__mark {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.byline__mark svg { width: 18px; height: 18px; }
.byline strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1rem; margin-bottom: .2rem; }
.byline p { margin: 0; }

/* ---------------------------------------------------------- navigation -- */

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: var(--measure);
  margin: 2.5rem auto 0;
}

@media (max-width: 40rem) { .pager { grid-template-columns: 1fr; } }

.pager a {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: .95rem 1.1rem;
  text-decoration: none;
  transition: border-color .18s ease;
}
.pager a:hover { border-color: var(--accent); }
.pager span {
  display: block;
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .35rem;
  font-weight: 700;
}
.pager strong { font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.35; display: block; }
.pager .pager__next { text-align: right; }

section.related { margin-top: 3.5rem; }

/* --------------------------------------------------------------- pieds -- */

.footer {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--rule);
  background: var(--bg-soft);
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 2rem;
  font-size: .9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 62rem) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; } }

.footer h2 {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 .85rem;
  font-weight: 700;
}

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .5rem; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.footer p { color: var(--ink-soft); margin: 0 0 .8rem; line-height: 1.6; max-width: 30rem; }

.footer__bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  color: var(--ink-faint);
  font-size: .8rem;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: .2rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------- divers -- */

.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 1.75rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem; }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.85rem); margin-bottom: .8rem; }
.page-head p { color: var(--ink-soft); max-width: 46rem; margin: 0; font-size: 1.03rem; }

.count { font-size: .78rem; color: var(--ink-faint); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }

.archive-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  border-top: 2px solid var(--ink);
  padding-top: .7rem;
  margin: 3rem 0 1.2rem;
}

.empty { color: var(--ink-soft); font-style: italic; }

.section { margin-top: clamp(3rem, 6vw, 4.5rem); }

.center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  transition: filter .18s ease;
}
.btn:hover { filter: brightness(1.08); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }

:root[data-theme="dark"] .btn { color: #1b1512; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn { color: #1b1512; }
}

.error-page { padding: clamp(3rem, 10vw, 7rem) 0; text-align: center; }
.error-page h1 { font-size: clamp(3rem, 12vw, 6rem); color: var(--accent); margin-bottom: .5rem; }
.error-page p { color: var(--ink-soft); max-width: 34rem; margin: 0 auto 1.8rem; }
