/* Page « HIR posters explained » — partagée par explained.html et fr/explained.html. */
  :root {
    --bg: #0a0e17;
    --panel: rgba(12, 18, 30, 0.4);
    --panel-solid: #0f1522;
    --text: #c8d6e5;
    --text-dim: #7c8ba1;
    --accent: #4fc3f7;
    --border: rgba(255, 255, 255, 0.05);
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  a { color: var(--accent); }

  .back-link {
    display: block;
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 24px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    text-decoration: none;
  }

  header {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 24px 40px;
  }

  header .brand {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
  }

  header h1 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 700;
    margin: 12px 0 16px;
    letter-spacing: -0.01em;
  }

  header p {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.7;
    max-width: 620px;
  }

  main {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 80px;
  }

  section {
    margin-top: 56px;
    padding-top: 56px;
    border-top: 1px solid var(--border);
  }

  section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  section .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  section h2 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 24px;
    margin: 8px 0 18px;
  }

  section .crop-wrap {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 18px;
  }

  section .crop-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  section .crop-source {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    margin: -10px 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* légende / encart crédits : bandes larges et courtes, pas de ratio fixe */
  section .crop-wrap-wide {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
  }

  section .crop-wrap-wide img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* la légende est un petit panneau d'UI : à pleine largeur elle paraissait
     démesurée face aux autres extraits — on la borne à une taille modeste */
  section .crop-wrap-wide.legend {
    max-width: 420px;
  }


  section p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
  }

  footer {
    text-align: center;
    padding: 32px 24px 48px;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
  }

  footer a { text-decoration: none; }

  /* sélecteur de langue (pied de page) — même dispositif que nabiuhmaps.com :
     une URL par langue, la langue courante en `aria-current` (pas un lien) */
  footer .lang {
    margin-top: 10px;
    font-size: 11px;
    color: var(--border);
  }

  footer .lang a { color: var(--text-dim); text-decoration: none; margin: 0 6px; }
  footer .lang a:hover { color: var(--accent); text-decoration: underline; }
  footer .lang [aria-current] { color: var(--text); margin: 0 6px; }
