@font-face {
  font-family: "Cormorant Garamond";
  src: url("../pigment-lettres/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../pigment-lettres/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../pigment-lettres/atkinson-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../pigment-lettres/atkinson-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../pigment-lettres/atkinson-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --rust: #8b3a1a;
  --ochre: #c4843c;
  --chalk: #f4e6c8;
  --soot: #1c1612;
  --leaf: #4a5c32;
  --paper: #fbf4e6;
  --ink-soft: #3a2e26;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", "Helvetica Neue", sans-serif;
  --spine: 1.15rem;
}

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

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--soot);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-left: var(--spine);
}

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

a {
  color: var(--rust);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--leaf);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: var(--chalk);
  color: var(--soot);
  padding: 0.7rem 1rem;
}

.spine {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--spine);
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.spine i {
  flex: 1 1 auto;
  display: block;
}

.spine .s-rust { background: var(--rust); }
.spine .s-ochre { background: var(--ochre); }
.spine .s-chalk { background: var(--chalk); }
.spine .s-leaf { background: var(--leaf); }
.spine .s-soot { background: var(--soot); }

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem 0.7rem;
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 0.7rem 0.55rem 0.85rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--soot) 18%, transparent);
  backdrop-filter: blur(10px);
}

.mark {
  min-width: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 5vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--soot);
  text-decoration: none;
  line-height: 1.1;
}

.mark span {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
}

.nav-toggle {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--soot);
  background: var(--chalk);
  color: var(--soot);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

#nav-main {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  grid-column: 1 / -1;
  background: var(--paper);
  border-top: 1px solid color-mix(in srgb, var(--soot) 16%, transparent);
  padding: 0.35rem 0 0.55rem;
}

#nav-main.is-open {
  display: flex;
}

#nav-main a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--soot);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--soot) 12%, transparent);
  font-size: 0.95rem;
}

#nav-main a:hover {
  color: var(--rust);
}

#nav-main .cta {
  margin-top: 0.6rem;
  justify-content: center;
  border: 0;
  background: var(--ochre);
  color: var(--soot);
  font-weight: 700;
  padding: 0 1rem;
}

#nav-main .cta:hover {
  background: var(--chalk);
  color: var(--soot);
}

@media (min-width: 1120px) {
  .nav-toggle {
    display: none;
  }

  #nav-main,
  #nav-main.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.1rem 0.7rem;
    border-top: 1px solid color-mix(in srgb, var(--soot) 16%, transparent);
    padding: 0.15rem 0 0.2rem;
    background: transparent;
  }

  #nav-main a {
    border: 0;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    min-height: 44px;
  }

  #nav-main .cta {
    margin-top: 0;
    margin-left: auto;
    padding: 0 1rem;
  }
}

.folio {
  width: min(1080px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 2.2rem 0 4rem;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rust);
  margin: 0 0 0.8rem;
}

.display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  font-size: clamp(2.6rem, 8vw, 6.1rem);
}

.display em {
  font-style: italic;
  color: var(--rust);
}

.lede {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  max-width: 38rem;
  color: var(--ink-soft);
}

.cover {
  display: grid;
  gap: 1.6rem;
  padding: 1.6rem 0 2.4rem;
}

@media (min-width: 880px) {
  .cover {
    grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.55fr);
    align-items: stretch;
    min-height: calc(100vh - 5.5rem);
  }
}

.pigment-ruler {
  display: flex;
  min-height: 22rem;
}

.pigment-ruler b {
  flex: 1 1 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.7rem 0.15rem;
  color: var(--soot);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 700;
}

.pigment-ruler .n01 { background: #e2b15a; }
.pigment-ruler .n02 { background: var(--ochre); }
.pigment-ruler .n03 { background: var(--rust); color: var(--chalk); }
.pigment-ruler .n04 { background: #6b3a22; color: var(--chalk); }
.pigment-ruler .n05 { background: var(--leaf); color: var(--chalk); }

.plate {
  margin: 2.4rem 0;
}

.plate img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--soot);
}

.plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.sommaire {
  margin: 3rem 0 1rem;
  border-top: 2px solid var(--soot);
}

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

.sommaire li {
  border-bottom: 1px solid color-mix(in srgb, var(--soot) 22%, transparent);
}

.sommaire a {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  min-height: 56px;
  padding: 0.85rem 0;
  text-decoration: none;
  color: var(--soot);
}

.sommaire a:hover {
  color: var(--rust);
}

.sommaire .num {
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--rust);
}

.sommaire strong {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
}

.sommaire small {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.essay {
  display: grid;
  gap: 1.5rem 2.4rem;
}

@media (min-width: 800px) {
  .essay.split {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.drop::first-letter {
  font-family: var(--display);
  font-size: 4.2rem;
  float: left;
  line-height: 0.75;
  padding: 0.12em 0.12em 0 0;
  color: var(--rust);
}

.pull {
  margin: 2rem 0;
  padding: 1.2rem 0 1.2rem 1.1rem;
  border-left: 8px solid var(--ochre);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.2;
  font-style: italic;
}

.swatch-scale {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--soot);
  margin: 2rem 0 3rem;
}

.swatch-row {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  min-height: 72px;
  border-bottom: 1px solid var(--soot);
}

.swatch-row .idx {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  background: var(--paper);
  border-right: 1px solid var(--soot);
}

.swatch-row .chip {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  color: var(--soot);
  font-size: 0.92rem;
}

.swatch-row .chip strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.swatch-row .chip em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip.on-dark,
.chip.on-dark strong,
.chip.on-dark em {
  color: var(--chalk);
}

.geste-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 2rem 0;
}

.geste {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.8rem;
  padding: 1.1rem 0;
  border-top: 1px solid color-mix(in srgb, var(--soot) 20%, transparent);
}

.geste .idx {
  font-family: var(--display);
  font-size: 2rem;
  font-style: italic;
  color: var(--rust);
  line-height: 1;
}

.faq-list {
  margin: 0;
}

.faq-list dt {
  font-family: var(--display);
  font-size: 1.55rem;
  margin: 1.6rem 0 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--soot) 18%, transparent);
}

.faq-list dt:first-child {
  border-top: 0;
  margin-top: 0;
}

.faq-list dd {
  margin: 0 0 0.4rem;
  max-width: 42rem;
}

.note {
  background: var(--chalk);
  border: 1px solid var(--soot);
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
}

.form {
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.form input,
.form select,
.form textarea {
  min-height: 44px;
  border: 1px solid var(--soot);
  background: #fffdf8;
  color: var(--soot);
  font: inherit;
  padding: 0.55rem 0.7rem;
  width: 100%;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 1.15rem;
  border: 1px solid var(--soot);
  background: var(--ochre);
  color: var(--soot);
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--chalk);
  color: var(--soot);
}

.btn.ghost {
  background: var(--chalk);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 0;
}

.legal p,
.legal li {
  max-width: 44rem;
}

.site-foot {
  background: var(--soot);
  color: var(--chalk);
  padding: 2.4rem 1.25rem 5.5rem;
}

.site-foot a {
  color: var(--ochre);
}

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

.foot-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 760px) {
  .foot-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.site-foot h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--chalk);
}

.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-foot li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.copyright {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--chalk) 25%, transparent);
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  left: var(--spine);
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--chalk);
  color: var(--soot);
  border-top: 2px solid var(--soot);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.92rem;
}

.cookie-banner a {
  color: var(--rust);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions button {
  min-height: 44px;
  min-width: 44px;
  padding: 0 1rem;
  border: 1px solid var(--soot);
  font-family: var(--sans);
  font-weight: 700;
  cursor: pointer;
  color: var(--soot);
}

.cookie-actions .ok {
  background: var(--ochre);
}

.cookie-actions .no {
  background: var(--paper);
}

.journal-piece + .journal-piece {
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--soot);
}

.meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 700;
}
