/* ---------------------------------------------------------------------------
   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;
  }
}


/* Contact */
/* ---------------------------------------------------------------------------
   Thème Contact — papier, vues recadrées, annotations à la marge.
--------------------------------------------------------------------------- */

:root {
  --paper: #e8e5dd;
  --ink: #15140f;
  --muted: #5c574d;
  --rule: #c6c1b4;
  --mark: #d2371a;
  --focus: #d2371a;
  --select-bg: #15140f;
  --select-ink: #e8e5dd;
  --bar: #b9b3a4;
  --soft: #34322b;
  --lb-bg: #16150f;
  --lb-ink: #e8e5dd;
  --pad: clamp(16px, 3.2vw, 44px);
  --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-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  padding: 0 var(--pad);
}

/* --- Bandeau ------------------------------------------------------------ */

.mast {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--ink);
}

.mast-name {
  font-weight: 600;
  font-stretch: 88%;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-transform: uppercase;
}

.mast-role,
.mast-place {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}

.mast-place {
  text-align: right;
}

/* --- Ouverture ---------------------------------------------------------- */

.lede {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 6vw, 96px);
  padding: clamp(40px, 7vw, 96px) 0 clamp(36px, 5vw, 64px);
  align-items: start;
}

.lede h1 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.04;
  font-weight: 500;
  font-stretch: 92%;
  letter-spacing: -0.035em;
  max-width: 22ch;
  text-wrap: balance;
}

.lede-side {
  display: grid;
  gap: 18px;
  padding-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 38ch;
}

.lede-side p {
  margin: 0;
}

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

.lede-side a:hover {
  border-bottom-color: var(--mark);
  color: var(--mark);
}

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

.sheet {
  border-top: 1px solid var(--ink);
}

.row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px);
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--rule);
}

.row-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  align-self: start;
  padding-top: 2px;
}

.row-year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.row-title {
  margin: 0;
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 600;
  font-stretch: 94%;
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: relative;
}

.row-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--mark);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.row-rail:hover .row-title::after,
.row-rail:focus-visible .row-title::after {
  width: 100%;
}

.row-meta {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted);
}

.row-count {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
}

.row-go {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.row-rail:hover .row-go,
.row-rail:focus-visible .row-go {
  opacity: 1;
  transform: none;
}

.strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  align-items: flex-start;
  margin: -4px;
  padding: 4px 4px 6px;
}

.strip::-webkit-scrollbar {
  display: none;
}

@media (min-width: 861px) {
  .strip {
    mask-image: linear-gradient(to right, #000 90%, rgb(0 0 0 / 0.25) 100%);
  }
}

.fr {
  flex: 0 0 clamp(210px, 23vw, 330px);
  margin: 0;
  scroll-snap-align: start;
}

.fr-link {
  display: block;
  text-decoration: none;
}

.fr-img {
  display: block;
  aspect-ratio: 3 / 2;
}

/* Une planche verticale garde un cadre vertical : le sujet n'est pas rogné. */
.fr-img:has(img[data-orientation="portrait"]) {
  aspect-ratio: 2 / 3;
}

.fr-img:has(img[data-orientation="square"]) {
  aspect-ratio: 1;
}

.fr-img:has(img[data-orientation="portrait"]) {
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.fr-img img {
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fr-mark {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  background: var(--mark);
  opacity: 0;
  transform: scale(0.6);
  transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fr-link:hover .fr-img img,
.fr-link:focus-visible .fr-img img {
  transform: scale(1.035);
}

.fr-link:hover .fr-mark,
.fr-link:focus-visible .fr-mark {
  opacity: 1;
  transform: none;
}

.fr figcaption {
  display: flex;
  gap: 8px;
  padding-top: 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.45;
  color: var(--muted);
}

.fr-no {
  color: var(--ink);
  flex: none;
}

.fr-cap {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.foot {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: end;
  padding: 40px 0 32px;
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--ink);
}

.foot p {
  margin: 0;
}

.foot-mail a {
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 500;
  font-stretch: 90%;
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.foot-mail a:hover {
  border-bottom-color: var(--mark);
  color: var(--mark);
}

.foot-meta {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  text-align: right;
}

/* --- Page projet -------------------------------------------------------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bar-back {
  text-decoration: none;
  color: var(--ink);
}

.bar-back:hover {
  color: var(--mark);
}

.bar-count {
  color: var(--muted);
}

.head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(36px, 6vw, 84px) 0 clamp(28px, 4vw, 52px);
  align-items: end;
}

.head-kicker {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.head h1 {
  margin: 0;
  font-size: clamp(46px, 9.4vw, 148px);
  line-height: 0.86;
  font-weight: 600;
  font-stretch: 84%;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin: 0;
  align-self: end;
  padding-bottom: 6px;
}

.spec div {
  border-top: 1px solid var(--rule);
  padding-top: 8px;
}

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

.spec dd {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

.head-summary {
  grid-column: 1 / 2;
  margin: clamp(20px, 3vw, 36px) 0 0;
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--soft);
}

.plates {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 52px) clamp(12px, 2vw, 24px);
  padding: clamp(20px, 3vw, 40px) 0 0;
  border-top: 1px solid var(--ink);
  margin-top: clamp(20px, 4vw, 48px);
}

.plate {
  margin: 0;
}

.plate-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin: 0;
  grid-column: 1 / -1;
}

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

.plate-row--pair .plate {
  grid-column: span 6;
}

.plate-row--single .plate {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: inherit;
  align-items: end;
}

.plate-row--single .plate-link {
  grid-column: 1 / span 6;
}

.plate-row--single figcaption {
  grid-column: 8 / span 4;
  padding-top: 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink);
}

.plate-link {
  display: block;
}

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

.plate-img img {
  transition: opacity 0.4s ease;
}

.plate-link:hover .plate-img {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.plate figcaption {
  display: flex;
  gap: 10px;
  padding-top: 9px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}

.plate-no {
  color: var(--ink);
  flex: none;
}

.more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 32px);
  margin-top: clamp(48px, 8vw, 110px);
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}

.more a {
  text-decoration: none;
  display: grid;
  gap: 6px;
}

.more span {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.more strong {
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 500;
  font-stretch: 92%;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.more a:hover strong {
  color: var(--mark);
}

.more-next {
  text-align: right;
  justify-items: end;
}

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

.intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: var(--pad);
  background: var(--paper);
  pointer-events: none;
  animation: intro-out 0.6s cubic-bezier(0.76, 0, 0.24, 1) 0.95s forwards;
}

.intro-name {
  font-size: clamp(38px, 8vw, 96px);
  font-weight: 600;
  font-stretch: 84%;
  letter-spacing: -0.04em;
  line-height: 0.9;
  animation: intro-name 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-rule {
  display: block;
  height: 2px;
  background: var(--mark);
  transform-origin: left;
  animation: intro-rule 0.6s cubic-bezier(0.76, 0, 0.24, 1) 0.1s both;
}

.intro-meta {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  animation: intro-name 0.5s 0.16s both;
}

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

@keyframes intro-rule {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

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

@media (max-width: 860px) {
  .mast {
    grid-template-columns: 1fr auto;
  }
  .mast-role {
    display: none;
  }
  .lede,
  .head {
    grid-template-columns: 1fr;
  }
  .lede {
    gap: 22px;
    padding-top: 32px;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .row-rail {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: baseline;
  }
  .row-year {
    grid-row: span 2;
    align-self: start;
    padding-top: 3px;
  }
  .row-title {
    grid-column: 2;
  }
  .row-meta {
    grid-column: 2;
  }
  .row-count,
  .row-go {
    display: none;
  }
  .strip {
    margin-right: calc(var(--pad) * -1);
    padding-right: var(--pad);
  }
  .fr {
    flex-basis: 74vw;
  }
  .plate-row--pair .plate,
  .plate-row--single .plate {
    grid-column: 1 / -1;
    display: block;
  }

  .plate-row--single .plate-link {
    grid-column: auto;
  }

  .plate-row--single figcaption {
    grid-column: auto;
    padding-top: 9px;
    font-size: 10px;
    color: var(--muted);
  }
  .foot {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .foot-meta {
    text-align: left;
  }
  .more {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .more-next {
    text-align: left;
    justify-items: start;
  }
  .spec {
    grid-template-columns: 1fr 1fr;
    max-width: 420px;
  }
}

@media (max-width: 520px) {
  .fr {
    flex-basis: 84vw;
  }
  .strip {
    gap: 8px;
  }
}

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

[data-crop="native"] .fr-img {
  aspect-ratio: var(--ar);
}

/* --- Mode clair / sombre --- */
html[data-mode="dark"] {
  --paper: #14130f;
  --ink: #ede9df;
  --muted: #a19b8d;
  --rule: #3a372f;
  --mark: #e4552f;
  --soft: #cfc9bb;
  --lb-bg: #0c0b08;
  --lb-ink: #ede9df;
  --focus: #ede9df;
  --select-bg: #ede9df;
  --select-ink: #14130f;
  --bar: #4a463c;
}

/* --- Sortie d'intro : rideau tiré vers la gauche --- */

/* Sortie : la planche est tirée vers la gauche. */
@keyframes intro-out {
  to {
    transform: translateX(-101%);
  }
}

/* Pas de filet : la marque est un carré plein, comme un repère au crayon gras. */
.intro-rule {
  display: block;
  width: clamp(38px, 4vw, 54px);
  height: clamp(38px, 4vw, 54px);
  background: var(--mark);
  transform-origin: center;
  animation: intro-rule 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

@keyframes intro-rule {
  from {
    transform: scale(0);
  }
}


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



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

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

html[data-palette="blanc"][data-mode="light"] {
  --paper: #f7f6f1;
  --ink: #14130f;
  --muted: #5a574e;
  --rule: #dcd8cd;
  --mark: #b0301a;
}

html[data-palette="blanc"][data-mode="dark"] {
  --paper: #14161a;
  --ink: #f2f0ea;
  --muted: #b3aea3;
  --rule: #3b3933;
  --mark: #e4552f;
}

html[data-palette="sepia"][data-mode="light"] {
  --paper: #e6dcc6;
  --ink: #1b150e;
  --muted: #5f523f;
  --rule: #c7bba2;
  --mark: #9a3a20;
}

html[data-palette="sepia"][data-mode="dark"] {
  --paper: #1b1409;
  --ink: #f4e8d2;
  --muted: #b3a48c;
  --rule: #3f372b;
  --mark: #e0a04f;
}
