/* ---------------------------------------------------------------------------
   Base — socle partagé par tous les thèmes.
   Ne contient aucune décision d'identité : uniquement la mécanique, les
   polices, les états et les surfaces du navigateur.
--------------------------------------------------------------------------- */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-100900-0.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage";
  src: url("../assets/fonts/bricolage-200800-0.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../assets/fonts/spectral-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../assets/fonts/spectral-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-normal-1.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../assets/fonts/spectral-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../assets/fonts/spectral-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-italic-0.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Anton";
  src: url("../assets/fonts/anton-400-0.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Spline Mono";
  src: url("../assets/fonts/spline-mono-400-0.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Spline Mono";
  src: url("../assets/fonts/spline-mono-500-1.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Le rebond élastique reste, le tirer-pour-recharger s'arrête ici. */
  overscroll-behavior-y: contain;
}

body {
  margin: 0;
  min-height: 100svh;
  overscroll-behavior-y: contain;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

picture {
  display: contents;
}

/* Protection des photos : pas de menu d'enregistrement à l'appui long.
   Le texte reste sélectionnable (aucun user-select:none global). */
img,
picture {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--select-bg, currentColor);
  color: var(--select-ink, Canvas);
}

:focus-visible {
  outline: 2px solid var(--focus, currentColor);
  outline-offset: 3px;
  border-radius: 1px;
}

* {
  scrollbar-color: var(--bar, #777) transparent;
  scrollbar-width: thin;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--skip-bg, #111);
  color: var(--skip-ink, #fff);
  font-size: 13px;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus-visible {
  transform: none;
}

/* Conteneur d'image : le LQIP est porté par le parent, l'image le recouvre. */
.frame {
  position: relative;
  overflow: hidden;
  background-color: var(--tint, #1a1a1a);
  background-size: cover;
  background-position: center;
}
.frame img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
}

/* Révélation au défilement : visible par défaut, animée seulement si JS. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Réglages d'aperçu. */
.no-lightbox [data-lb] {
  cursor: default;
}


.no-intro .intro {
  display: none !important;
}

.no-captions figcaption,
.no-captions .lb-cap,
.no-captions .cap,
.no-captions .cap-no,
.no-captions .cap-row,
.no-captions .fr-cap,
.no-captions .shot-cap,
.no-captions .spread-caption,
.no-captions .tile-cap,
.no-captions .project-hero-cap,
.no-captions .shot figcaption,
.no-captions .plate figcaption,
.no-captions .fr figcaption {
  display: none !important;
}

/* Lightbox commune. */
dialog.lb {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--lb-bg, #0a0a0a);
  color: var(--lb-ink, #f2f2f2);
  overscroll-behavior: contain;
}
dialog.lb::backdrop {
  background: rgb(0 0 0 / 0.6);
}
.lb[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  font-size: 12px;
}
.lb-stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 18px;
}
.lb-stage img {
  max-width: 100%;
  max-height: calc(100svh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px 22px;
  font-size: 12px;
}
.lb button {
  background: none;
  border: 1px solid currentColor;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}
.lb button:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}


/* Affiche */
/* ---------------------------------------------------------------------------
   Thème Affiche — programme imprimé, manchette condensée, bleu d'édition.
--------------------------------------------------------------------------- */

:root {
  --paper: #e4e0d4;
  --ink: #12100c;
  --blue: #1f2ee6;
  --muted: #5c574b;
  --rule: #b7b1a2;
  --focus: #1f2ee6;
  --select-bg: #1f2ee6;
  --select-ink: #e4e0d4;
  --bar: #a9a294;
  --soft: #3a362d;
  --lb-bg: #12100c;
  --lb-ink: #e4e0d4;
  --pad: clamp(16px, 3vw, 42px);
  --display: "Anton", "Archivo", sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Spline Mono", ui-monospace, monospace;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  padding: 0 var(--pad);
}

/* --- Manchette ---------------------------------------------------------- */

.masthead {
  padding-top: 0;
}

.edition {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 calc(var(--pad) * -1);
  padding: 9px var(--pad);
  background: var(--blue);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: edition-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.masthead h1 {
  margin: 0;
  padding: 0.36em 0 0.04em;
  overflow: hidden;
  font-family: var(--display);
  font-weight: 400;
  font-size: 18.4vw;
  line-height: 0.8;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: set-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.masthead h1 span:nth-child(2) {
  animation-delay: 0.08s;
}

.colophon {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1fr;
  gap: clamp(18px, 4vw, 60px);
  align-items: start;
  margin-top: clamp(26px, 4vw, 48px);
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}

.colophon p {
  margin: 0;
}

.colophon-role {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.colophon-tag {
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.45;
  max-width: 42ch;
}

.colophon-meta {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-align: right;
}

.colophon-meta a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.colophon-meta a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* --- Sommaire ----------------------------------------------------------- */

.contents {
  margin-top: clamp(44px, 8vw, 96px);
  border-top: 2px solid var(--ink);
}

.contents-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
}

.contents-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.contents-head p {
  margin: 0;
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.contents-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contents-list a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 0.8fr) 70px 80px;
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.contents-list a:hover {
  background: var(--blue);
  color: var(--paper);
}

.contents-list a:hover .c-credit,
.contents-list a:hover .c-year,
.contents-list a:hover .c-count {
  color: var(--paper);
}

.c-no {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.c-title {
  font-family: var(--display);
  font-size: clamp(18px, 2.1vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}

.c-credit,
.c-year,
.c-count {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.c-count {
  text-align: right;
}

/* --- Doubles pages ------------------------------------------------------ */

.spreads {
  margin-top: clamp(44px, 7vw, 92px);
}

.spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(34px, 5vw, 64px) 0;
  border-top: 1px solid var(--ink);
  align-items: start;
}

.spread-media {
  grid-column: 1 / span 7;
  display: block;
  text-decoration: none;
}

.spread--flip .spread-media {
  grid-column: 6 / span 7;
  grid-row: 1;
}

.spread-img {
  display: block;
  aspect-ratio: var(--ar);
}

.spread-img img {
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.spread-media:hover .spread-img img {
  transform: scale(1.015);
}

.spread-caption {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--muted);
}

.spread-text {
  grid-column: 9 / span 4;
  padding-top: 6px;
}

.spread--flip .spread-text {
  grid-column: 1 / span 4;
  grid-row: 1;
}

.spread-no {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.spread-text h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.spread-text h2 a {
  text-decoration: none;
}

.spread-text h2 a:hover {
  color: var(--blue);
}

.credits {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}

.credits div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
}

.credits dt {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.credits dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
}

.spread-sum {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--soft);
}

.spread-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

.spread-link:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* --- Pied --------------------------------------------------------------- */

.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
  margin-top: clamp(40px, 6vw, 80px);
  padding: 20px 0 30px;
  border-top: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.foot p {
  margin: 0;
}

.foot-name {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.foot a {
  color: var(--ink);
  text-decoration: none;
}

.foot a:hover {
  color: var(--blue);
}

/* --- Série -------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 12px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.topbar a {
  text-decoration: none;
}

.topbar a:hover {
  color: var(--blue);
}

.topbar span {
  color: var(--muted);
}

.serie-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px clamp(16px, 3vw, 44px);
  padding: clamp(30px, 5vw, 60px) 0 clamp(24px, 4vw, 44px);
}

.serie-no {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.serie-head h1 {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 0.26em;
  overflow: hidden;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 172px);
  line-height: 0.8;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.serie-credits {
  grid-column: 1 / span 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: clamp(16px, 2.5vw, 30px) 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}

.serie-credits dt {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.serie-credits dd {
  margin: 1px 0 0;
  font-size: 12.5px;
}

.serie-sum {
  grid-column: 7 / -1;
  margin: clamp(16px, 2.5vw, 30px) 0 0;
  max-width: 54ch;
  font-size: 14px;
  line-height: 1.62;
  color: var(--soft);
}

/* --- Planches ----------------------------------------------------------- */

.plates {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.plate {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 32px);
  align-items: start;
  margin: 0;
  padding: clamp(26px, 3.6vw, 48px) 0;
  border-bottom: 1px solid var(--rule);
}

.plate-link {
  grid-column: 4 / -1;
  display: block;
  text-align: right;
}

.plate-img {
  display: inline-block;
  max-width: 100%;
  background-size: cover;
  background-position: center;
}

.plate-img img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 74svh;
}

.plate figcaption {
  grid-column: 1 / span 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.55;
  color: var(--muted);
}

.plate-no {
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plate--wide .plate-link {
  grid-column: 4 / -1;
}

.suite {
  display: grid;
  gap: 8px;
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.suite p {
  margin: 0;
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.suite a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 90px);
  line-height: 0.9;
  text-transform: uppercase;
  text-decoration: none;
}

.suite a:hover {
  color: var(--blue);
}

/* --- Intro -------------------------------------------------------------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  background: var(--paper);
  pointer-events: none;
  animation: intro-out 0.55s cubic-bezier(0.76, 0, 0.24, 1) 0.85s forwards;
}

.intro span {
  width: 100%;
  height: clamp(40px, 8vh, 90px);
  background: var(--blue);
  transform-origin: left;
  animation: intro-bar 0.6s cubic-bezier(0.76, 0, 0.24, 1) both;
}

@keyframes intro-bar {
  from {
    transform: scaleX(0);
  }
}

@keyframes intro-out {
  to {
    transform: translateY(-101%);
  }
}

@keyframes edition-in {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
}

@keyframes set-in {
  from {
    opacity: 0;
    transform: translateY(0.14em);
  }
}

/* --- Adaptations -------------------------------------------------------- */

@media (max-width: 940px) {
  .colophon {
    grid-template-columns: 1fr 1fr;
  }
  .colophon-meta {
    grid-column: 1 / -1;
    text-align: left;
  }
  .contents-list a {
    grid-template-columns: 32px minmax(0, 1fr) 64px;
  }
  .c-credit,
  .c-count {
    display: none;
  }
  .spread,
  .spread--flip {
    grid-template-columns: 1fr;
  }
  .spread-media,
  .spread--flip .spread-media,
  .spread-text,
  .spread--flip .spread-text {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .spread-text {
    max-width: 62ch;
  }
  .serie-credits {
    grid-column: 1 / -1;
  }
  .serie-sum {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .masthead h1 {
    font-size: 17.8vw;
  }
  .colophon {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contents-list a {
    grid-template-columns: 28px minmax(0, 1fr) 52px;
    gap: 10px;
  }
  .c-title {
    font-size: 19px;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
  .plate {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
  }
  .plate figcaption {
    flex-direction: row;
    gap: 8px;
  }
}

.topbar {
  position: sticky;
}

.read-line {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--blue);
  transition: width 0.12s linear;
}

/* --- Options du thème --- */

[data-plates="left"] .plate-link {
  text-align: left;
}

[data-masthead="contained"] .masthead h1 {
  font-size: 12vw;
}

/* --- Mode clair / sombre --- */
html[data-mode="dark"] {
  --paper: #12100f;
  --ink: #ede8da;
  --blue: #7d8bff;
  --muted: #a8a293;
  --rule: #3a362e;
  --soft: #cfc9bb;
  --focus: #7d8bff;
  --select-bg: #7d8bff;
  --select-ink: #12100f;
  --bar: #4a463c;
  --lb-bg: #0b0a09;
  --lb-ink: #ede8da;
}

/* --- Intro (reprise) --------------------------------------------------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-content: center;
  justify-items: start;
  gap: 20px;
  padding: 0 var(--pad);
  background: var(--paper);
  color: var(--ink);
  pointer-events: none;
  animation: intro-out 0.65s cubic-bezier(0.76, 0, 0.24, 1) 1.25s forwards;
}

.intro-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 9vw, 132px);
  line-height: 0.8;
  text-transform: uppercase;
  animation: intro-rise 0.6s 0.1s both;
}

.intro > span {
  display: block;
  width: 100%;
  height: clamp(34px, 7vh, 78px);
  background: var(--blue);
  transform-origin: left;
  animation: intro-line 0.7s 0.35s both;
}

@keyframes intro-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes intro-line {
  from {
    transform: scaleX(0);
  }
}

@keyframes intro-out {
  to {
    transform: translateY(-101%);
  }
}

/* --- Sortie d'intro : page qui tombe vers le bas --- */

/* Sortie : la feuille tombe vers le bas. */
@keyframes intro-out {
  to {
    transform: translateY(101%);
  }
}


/* --- Palettes ----------------------------------------------------------- */



/* Palettes : variantes du mode opposé. */

/* --- Palettes ----------------------------------------------------------- */

html[data-palette="rouge"][data-mode="light"] {
  --paper: #e6e1d4;
  --ink: #12100c;
  --blue: #a81a12;
  --muted: #5c574b;
  --rule: #bdb6a6;
  --focus: #a81a12;
  --select-bg: #a81a12;
  --select-ink: #e6e1d4;
}

html[data-palette="rouge"][data-mode="dark"] {
  --paper: #16100e;
  --ink: #f0e6d8;
  --blue: #ff8a7a;
  --muted: #b3a497;
  --rule: #3d332c;
  --focus: #ff8a7a;
  --select-bg: #ff8a7a;
  --select-ink: #16100e;
}

html[data-palette="encre"][data-mode="light"] {
  --paper: #e8e4d8;
  --ink: #12100c;
  --blue: #12100c;
  --muted: #5c574b;
  --rule: #bdb6a6;
  --focus: #12100c;
  --select-bg: #12100c;
  --select-ink: #e8e4d8;
}

html[data-palette="encre"][data-mode="dark"] {
  --paper: #14120f;
  --ink: #ede8da;
  --blue: #ede8da;
  --muted: #a8a293;
  --rule: #3a362e;
  --focus: #ede8da;
  --select-bg: #ede8da;
  --select-ink: #14120f;
}
