/* ==========================================================================
   THE REPAIR BENCH : design system
   Metaphore de nommage : le coffre a outils traditionnel et sa quincaillerie.
   Prefixe unique : tch-  (tool chest)
   Aucune requete externe. Piles de polices systeme uniquement.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }

/* --------------------------------------------------------------------------
   2. Jetons
   -------------------------------------------------------------------------- */
:root {
  /* Papier et matiere */
  --paper:        #e9e2d1;
  --paper-raised: #f4efe2;
  --paper-sunk:   #ded5c0;
  --paper-deep:   #d5cab1;

  /* Filets */
  --rule:      #cdc3ab;
  --rule-soft: #dbd3bf;
  --rule-firm: #b8ac90;

  /* Encre */
  --ink:       #26281f;
  --ink-soft:  #55584a;
  --ink-faint: #7d8072;
  --ink-rev:   #f4efe2;

  /* Accent : vert olive sourd */
  --olive:      #5e6b33;
  --olive-deep: #414b22;
  --olive-lit:  #8b9758;
  --olive-wash: #e0e2c5;

  /* Contrepoint : brun de fer */
  --iron: #9a5a2c;

  /* Rayons : signature 6px */
  --r:       6px;
  --r-inner: 3px;
  --r-pill:  6px;

  /* Ombres tres discretes, trois niveaux */
  --lift-1: 0 1px 2px rgba(38, 40, 31, 0.055);
  --lift-2: 0 2px 8px rgba(38, 40, 31, 0.075);
  --lift-3: 0 12px 30px rgba(38, 40, 31, 0.105);

  /* Mouvement */
  --ease:      0.24s cubic-bezier(0.32, 0.06, 0.24, 1);
  --ease-slow: 0.45s cubic-bezier(0.32, 0.06, 0.24, 1);

  /* Mesures */
  --chest:   1220px;
  --chest-t: 880px;
  --measure: 40rem;
  --gap:     26px;

  /* Polices : couple inedit au registre (Georgia en tete d'affichage,
     Helvetica Neue en tete de lecture, Courier New en tete d'etiquette) */
  --f-face:  Georgia, "Droid Serif", "Noto Serif", "Liberation Serif", "Times New Roman", serif;
  --f-read:  "Helvetica Neue", "Nimbus Sans", Helvetica, "Liberation Sans", Arial, sans-serif;
  --f-stamp: "Courier New", "Nimbus Mono PS", "Liberation Mono", Courier, monospace;
}

/* --------------------------------------------------------------------------
   3. Fond et texture
   -------------------------------------------------------------------------- */
body {
  font-family: var(--f-read);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, rgba(38, 40, 31, 0.018) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(244, 239, 226, 0.75) 0%, transparent 60%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* --------------------------------------------------------------------------
   4. Typographie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-face);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.008em;
  color: var(--ink);
}
h1 { font-size: clamp(36px, 5vw, 60px); }
h2 { font-size: clamp(27px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2.1vw, 25px); line-height: 1.24; }
h4 { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.3; }
p  { line-height: 1.72; }

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

.tch-skip {
  position: absolute; top: -120%; left: 18px; z-index: 999;
  background: var(--olive-deep); color: var(--ink-rev);
  font-family: var(--f-stamp); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 12px 20px;
  border-radius: 0 0 var(--r) var(--r); transition: top var(--ease);
}
.tch-skip:focus { top: 0; }

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

/* Filet decoratif : le trait de scie */
.tch-kerf {
  height: 1px; border: 0; background: var(--rule);
  position: relative; margin: 0;
}
.tch-kerf::after {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 74px; height: 2px; background: var(--olive); border-radius: var(--r-pill);
}

/* --------------------------------------------------------------------------
   5. Coffre : conteneurs
   -------------------------------------------------------------------------- */
.tch-chest { width: 100%; max-width: var(--chest); margin: 0 auto; padding: 0 20px; }
.tch-chest--tight { max-width: var(--chest-t); }
@media (min-width: 768px) { .tch-chest { padding: 0 34px; } }

/* Rythme de section : le tiroir coulissant */
.tch-till { padding: 80px 0; }
@media (min-width: 1024px) { .tch-till { padding: 120px 0; } }
.tch-till--planed {
  background: var(--paper-raised);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.tch-till--shallow { padding: 56px 0; }
@media (min-width: 1024px) { .tch-till--shallow { padding: 76px 0; } }

/* Premier tiroir sous le reglet : on colle la grille au premier ecran */
.tch-tally + .tch-till { padding-top: 26px; }
@media (min-width: 1024px) { .tch-tally + .tch-till { padding-top: 24px; } }
@media (min-width: 900px) {
  .tch-tally + .tch-till .tch-till__head { padding-bottom: 16px; margin-bottom: 22px; }
  .tch-tally + .tch-till .tch-till__brief { max-width: none; }
}

/* Tete de section : deux colonnes asymetriques, titre a gauche, brief a droite */
.tch-till__head {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  padding-bottom: 26px; margin-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .tch-till__head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 52px; align-items: end; margin-bottom: 54px;
  }
}
.tch-till__title { margin-top: 10px; }
.tch-till__brief { font-size: 16px; color: var(--ink-soft); max-width: 46ch; }

/* Etiquette de section : petite capitale espacee + filet */
.tch-stamp {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--f-stamp); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.19em; text-transform: uppercase; color: var(--olive-deep);
}
.tch-stamp::before {
  content: ""; width: 30px; height: 2px; background: var(--olive);
  border-radius: var(--r-pill); flex: none;
}
.tch-stamp--bare::before { display: none; }

/* --------------------------------------------------------------------------
   6. Couvercle : en-tete du site
   -------------------------------------------------------------------------- */
.tch-lid {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--rule);
  position: relative; z-index: 20;
}
.tch-lid__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; padding: 12px 0 10px;
}
.tch-lid__maker {
  font-family: var(--f-face); font-size: clamp(25px, 3vw, 33px);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.05; color: var(--ink);
  display: block;
}
.tch-lid__maker span { color: var(--olive-deep); }
.tch-lid__motto {
  font-size: 14px; color: var(--ink-soft); margin-top: 7px; max-width: 52ch;
}
.tch-lid__stampline {
  font-family: var(--f-stamp); font-size: 11.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-faint); text-align: right;
  line-height: 1.8; padding-bottom: 3px;
}
.tch-lid__stampline b { color: var(--olive-deep); font-weight: 700; }

/* Ferrure : la navigation */
.tch-hasp {
  border-top: 1px solid var(--rule-soft);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.tch-hasp__list { display: flex; align-items: stretch; min-width: max-content; }
.tch-hasp__pin {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--f-stamp); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
  padding: 15px 17px 13px; border-bottom: 3px solid transparent;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.tch-hasp__pin:first-child { padding-left: 0; }
.tch-hasp__pin:hover { color: var(--olive-deep); border-bottom-color: var(--rule-firm); }
.tch-hasp__pin--set { color: var(--olive-deep); border-bottom-color: var(--olive); }

/* --------------------------------------------------------------------------
   7. Plateau : le heros
   -------------------------------------------------------------------------- */
.tch-benchtop { position: relative; isolation: isolate; overflow: hidden; }
.tch-benchtop__grain {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
/* Voile : couleurs EN DUR, jamais une variable */
.tch-benchtop__shellac {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(102deg, rgba(24, 26, 18, 0.88) 0%, rgba(24, 26, 18, 0.72) 42%, rgba(24, 26, 18, 0.38) 78%, rgba(24, 26, 18, 0.30) 100%),
    linear-gradient(0deg, rgba(20, 22, 15, 0.55) 0%, rgba(20, 22, 15, 0.00) 46%);
}
.tch-benchtop__inscribe {
  position: relative; z-index: 2;
  padding: 40px 0 36px; max-width: 44rem;
}
@media (min-width: 1024px) { .tch-benchtop__inscribe { padding: 16px 0 14px; } }
.tch-benchtop__kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--f-stamp); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: #cdd4a8;
  margin-bottom: 10px;
}
.tch-benchtop__kicker::before {
  content: ""; width: 30px; height: 2px; background: #8b9758; border-radius: 6px;
}
.tch-benchtop h1 {
  color: #f6f2e6; text-shadow: 0 2px 18px rgba(16, 18, 12, 0.45);
  font-size: clamp(30px, 2.7vw, 39px);
}
.tch-benchtop__lede {
  margin-top: 12px; font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 1.62; color: #ded8c6; max-width: 38rem;
}

/* Reglet : les trois chiffres */
.tch-tally {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--rule);
}
.tch-tally__row {
  display: grid; grid-template-columns: 1fr; gap: 0;
}
@media (min-width: 720px) { .tch-tally__row { grid-template-columns: repeat(3, 1fr); } }
.tch-tally__mark {
  padding: 24px 0 22px; border-bottom: 1px solid var(--rule-soft);
}
.tch-tally__mark:last-child { border-bottom: 0; }
@media (min-width: 720px) {
  .tch-tally__mark {
    border-bottom: 0; border-right: 1px solid var(--rule-soft); padding: 11px 30px 10px;
    display: flex; align-items: baseline; gap: 14px;
  }
  .tch-tally__mark:first-child { padding-left: 0; }
  .tch-tally__mark:last-child { border-right: 0; }
  .tch-tally__legend { margin-top: 0; }
}
.tch-tally__figure {
  font-family: var(--f-face); font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700; line-height: 1; color: var(--olive-deep); letter-spacing: -0.02em;
}
.tch-tally__figure--span { font-size: clamp(21px, 2.1vw, 27px); line-height: 1.15; }
.tch-tally__legend {
  font-family: var(--f-stamp); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); margin-top: 11px;
}

/* --------------------------------------------------------------------------
   8. Cadre d'image : 4/3, fine bordure, papier autour
   -------------------------------------------------------------------------- */
.tch-panel {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--paper-sunk);
  border: 1px solid var(--rule-firm); border-radius: var(--r);
  padding: 4px;
}
.tch-panel img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-inner);
  transition: transform var(--ease-slow), filter var(--ease);
}
.tch-panel--flush { padding: 0; }
.tch-panel--flush img { border-radius: var(--r-inner); }

/* --------------------------------------------------------------------------
   9. Casier : la grille des rubriques
   -------------------------------------------------------------------------- */
.tch-rack { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 620px) { .tch-rack { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tch-rack { grid-template-columns: repeat(3, 1fr); } }

.tch-drawer {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--paper-raised);
  border: 1px solid var(--rule); border-radius: var(--r);
  padding: 14px 14px 22px;
  box-shadow: var(--lift-1);
  transition: box-shadow var(--ease), border-color var(--ease), transform var(--ease);
}
.tch-drawer:hover {
  box-shadow: var(--lift-2); border-color: var(--rule-firm); transform: translateY(-2px);
}
.tch-drawer:hover .tch-panel img { transform: scale(1.028); }
.tch-drawer__face { padding: 0 6px; }
.tch-drawer__pull {
  font-family: var(--f-face); font-size: 21px; font-weight: 700; line-height: 1.2;
  color: var(--ink); display: inline-block; margin-bottom: 9px;
  transition: color var(--ease);
}
.tch-drawer:hover .tch-drawer__pull { color: var(--olive-deep); }
.tch-drawer__note { font-size: 15px; color: var(--ink-soft); }
.tch-drawer__more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-family: var(--f-stamp); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive-deep);
  transition: gap var(--ease);
}
.tch-drawer__more::after { content: "\203A"; font-size: 15px; line-height: 1; }
.tch-drawer:hover .tch-drawer__more { gap: 12px; }

/* Tiroir de tete : couche a l'horizontale sur grand ecran */
@media (min-width: 1000px) {
  .tch-drawer--wide {
    grid-column: 1 / -1;
    flex-direction: row; align-items: center; gap: 38px;
    padding: 16px;
  }
  .tch-drawer--wide .tch-panel { flex: 0 0 36%; aspect-ratio: 4 / 3; }
  .tch-drawer--wide .tch-drawer__face {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    padding: 12px 20px 12px 6px;
  }
  .tch-drawer--wide .tch-drawer__pull { font-size: 30px; }
  .tch-drawer--wide .tch-drawer__note { font-size: 16.5px; max-width: 54ch; }
}

/* --------------------------------------------------------------------------
   10. Etagere : la bande matiere
   -------------------------------------------------------------------------- */
.tch-shelf { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 700px) { .tch-shelf { grid-template-columns: repeat(3, 1fr); } }
.tch-jar__caption {
  font-family: var(--f-stamp); font-size: 12.5px; line-height: 1.7;
  color: var(--ink-soft); margin-top: 14px; padding-left: 13px;
  border-left: 2px solid var(--olive);
}

/* --------------------------------------------------------------------------
   11. Livre de bord : le fil date
   -------------------------------------------------------------------------- */
.tch-log { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 620px) { .tch-log { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tch-log { grid-template-columns: repeat(3, 1fr); } }

.tch-slat {
  display: flex; flex-direction: column;
  background: var(--paper-raised);
  border: 1px solid var(--rule); border-radius: var(--r);
  padding: 13px 13px 20px;
  transition: box-shadow var(--ease), border-color var(--ease), transform var(--ease);
}
.tch-slat:hover {
  box-shadow: var(--lift-2); border-color: var(--rule-firm); transform: translateY(-2px);
}
.tch-slat:hover .tch-panel img { transform: scale(1.028); }
.tch-slat__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 16px 5px 10px;
}
.tch-slat__title {
  font-family: var(--f-face); font-size: 20px; font-weight: 700; line-height: 1.24;
  margin: 0 5px 9px;
}
.tch-slat__title a { transition: color var(--ease); }
.tch-slat:hover .tch-slat__title a { color: var(--olive-deep); }
.tch-slat__lede { font-size: 15px; color: var(--ink-soft); margin: 0 5px; }

/* Entree de tete : deux colonnes sur grand ecran */
@media (min-width: 1000px) {
  .tch-slat--lead {
    grid-column: span 2; align-self: start;
    flex-direction: row; align-items: center; gap: 30px; padding: 15px;
  }
  .tch-slat--lead .tch-panel { flex: 0 0 46%; }
  .tch-slat--lead > div {
    flex: 1; display: flex; flex-direction: column; justify-content: center; padding-right: 14px;
  }
  .tch-slat--lead .tch-slat__meta { margin-top: 0; }
  .tch-slat--lead .tch-slat__title { font-size: 27px; }
  .tch-slat--lead .tch-slat__lede { font-size: 16.5px; }
}

/* Poincon : l'etiquette de rubrique */
.tch-punch {
  display: inline-block;
  font-family: var(--f-stamp); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--olive-deep); background: var(--olive-wash);
  border: 1px solid #cbd0a8; border-radius: var(--r-pill);
  padding: 4px 9px 3px;
  transition: background var(--ease), color var(--ease);
}
.tch-punch:hover { background: var(--olive); color: var(--ink-rev); border-color: var(--olive); }

/* Marque de date */
.tch-date {
  font-family: var(--f-stamp); font-size: 12px; letter-spacing: 0.09em;
  color: var(--ink-faint); font-variant-numeric: tabular-nums;
}

/* Renvoi de fin de fil */
.tch-more {
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.tch-more p { font-size: 15px; color: var(--ink-soft); max-width: 52ch; }

/* --------------------------------------------------------------------------
   12. Poignees : liens d'action
   -------------------------------------------------------------------------- */
.tch-handle {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-stamp); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--rule-firm); border-radius: var(--r);
  padding: 12px 20px; color: var(--ink);
  background: var(--paper-raised);
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.tch-handle:hover { border-color: var(--olive); color: var(--olive-deep); box-shadow: var(--lift-1); }
.tch-handle--filled {
  background: var(--olive-deep); border-color: var(--olive-deep); color: var(--ink-rev);
}
.tch-handle--filled:hover { background: var(--olive); border-color: var(--olive); color: var(--ink-rev); }

/* --------------------------------------------------------------------------
   13. Pages interieures : trace de scribe, fronton, planche
   -------------------------------------------------------------------------- */
.tch-scribe {
  font-family: var(--f-stamp); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
  padding: 20px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
}
.tch-scribe a { transition: color var(--ease); }
.tch-scribe a:hover { color: var(--olive-deep); }
.tch-scribe span { color: var(--rule-firm); }
.tch-scribe b { font-weight: 400; color: var(--ink-soft); }

.tch-crown { padding: 34px 0 52px; border-bottom: 1px solid var(--rule); }
@media (min-width: 1024px) { .tch-crown { padding: 44px 0 66px; } }
.tch-crown__title { margin: 16px 0 0; max-width: 22ch; }
.tch-crown__lede {
  margin-top: 22px; font-size: clamp(16.5px, 1.5vw, 19px);
  color: var(--ink-soft); max-width: 56ch;
}
.tch-crown__byline {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  font-family: var(--f-stamp); font-size: 11.5px; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--ink-faint);
}
.tch-crown__byline b { color: var(--olive-deep); font-weight: 700; }

/* Planche : la colonne de lecture */
.tch-board { max-width: var(--measure); padding: 54px 0 0; }
.tch-board > p { margin-bottom: 20px; font-size: 17px; color: #33362b; }
.tch-board > h2 {
  font-size: clamp(23px, 2.6vw, 30px); margin: 46px 0 16px;
  padding-top: 18px; border-top: 1px solid var(--rule);
}
.tch-board > h3 { margin: 34px 0 12px; }
.tch-board a:not(.tch-handle):not(.tch-punch) {
  color: var(--olive-deep); text-decoration: underline;
  text-decoration-color: var(--olive-lit); text-underline-offset: 3px;
  text-decoration-thickness: 1px; transition: color var(--ease);
}
.tch-board a:not(.tch-handle):not(.tch-punch):hover { color: var(--iron); text-decoration-color: var(--iron); }
.tch-board strong { font-weight: 700; color: var(--ink); }
.tch-board__drop::first-letter {
  float: left; font-family: var(--f-face); font-size: 62px; line-height: 0.82;
  font-weight: 700; color: var(--olive-deep); padding: 6px 12px 0 0;
}
.tch-board ol { counter-reset: tchstep; margin: 0 0 24px; }
.tch-board ol > li {
  counter-increment: tchstep; position: relative;
  padding: 0 0 16px 44px; font-size: 17px; color: #33362b;
}
.tch-board ol > li::before {
  content: counter(tchstep, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-family: var(--f-stamp); font-size: 12px; font-weight: 700;
  color: var(--olive-deep); background: var(--olive-wash);
  border: 1px solid #cbd0a8; border-radius: var(--r-pill);
  padding: 3px 6px 2px; line-height: 1;
}

/* Planche pleine largeur */
.tch-plate { margin: 34px 0 30px; max-width: var(--measure); }
.tch-plate--wide { max-width: 56rem; }

/* Preface de rubrique : la planche a gauche, les deux paragraphes a droite */
.tch-preface { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 44px 0 10px; }
@media (min-width: 960px) {
  .tch-preface {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 58px; align-items: start; padding: 56px 0 12px;
  }
}
.tch-preface .tch-plate { margin: 0; max-width: 100%; }
.tch-preface__text p { margin-bottom: 18px; font-size: 17px; color: #33362b; }
.tch-preface__text p:last-child { margin-bottom: 0; }
.tch-plate__caption {
  font-family: var(--f-stamp); font-size: 12.5px; line-height: 1.65;
  color: var(--ink-faint); margin-top: 12px; padding-left: 13px; max-width: 42rem;
  border-left: 2px solid var(--rule-firm);
}

/* Cale : l'encadre */
.tch-shim {
  background: var(--paper-raised); border: 1px solid var(--rule);
  border-left: 3px solid var(--olive); border-radius: var(--r);
  padding: 22px 24px; margin: 30px 0 32px; box-shadow: var(--lift-1);
}
.tch-shim h4 { margin-bottom: 9px; }
.tch-shim p { font-size: 15.5px; color: var(--ink-soft); }

/* Coches : la liste de controle */
.tch-ticks { margin: 6px 0 26px; }
.tch-tick {
  position: relative; padding: 10px 0 10px 30px;
  font-size: 16.5px; color: #33362b; border-bottom: 1px solid var(--rule-soft);
}
.tch-tick:last-child { border-bottom: 0; }
.tch-tick::before {
  content: ""; position: absolute; left: 3px; top: 19px;
  width: 9px; height: 9px; background: var(--olive);
  border-radius: var(--r-inner); transform: rotate(45deg);
}

/* Bordereau : le tableau */
.tch-bill {
  margin: 26px 0 32px; font-size: 15.5px;
  border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden;
  background: var(--paper-raised);
}
.tch-bill th, .tch-bill td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rule-soft); }
.tch-bill th {
  font-family: var(--f-stamp); font-size: 11px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--olive-deep);
  background: var(--paper-sunk);
}
.tch-bill tr:last-child td { border-bottom: 0; }
.tch-bill td:first-child { font-weight: 700; }

/* Queue d'aronde : le bloc de renvois internes */
.tch-dovetail {
  margin: 46px 0 0; padding: 26px 0 0; border-top: 1px solid var(--rule);
  max-width: var(--measure);
}
.tch-dovetail__list { margin-top: 18px; display: grid; gap: 2px; }
.tch-dovetail__pin {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding: 13px 0; border-bottom: 1px solid var(--rule-soft);
  transition: padding-left var(--ease), color var(--ease);
}
.tch-dovetail__pin:hover { padding-left: 8px; color: var(--olive-deep); }
.tch-dovetail__pin b { font-family: var(--f-face); font-size: 17px; font-weight: 700; }
.tch-dovetail__pin em { font-style: normal; font-size: 14.5px; color: var(--ink-soft); }

/* Liste de rubrique : les entrees en rangee */
.tch-course { display: grid; gap: 0; margin-top: 8px; }
.tch-course__item {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  padding: 30px 0; border-bottom: 1px solid var(--rule);
}
.tch-course__item:first-child { padding-top: 6px; }
@media (min-width: 700px) {
  .tch-course__item { grid-template-columns: 190px minmax(0, 1fr); gap: 30px; align-items: start; }
}
@media (min-width: 1100px) {
  .tch-course__item { grid-template-columns: 240px minmax(0, 1fr); gap: 38px; }
}
.tch-course__item:hover .tch-panel img { transform: scale(1.028); }
.tch-course__title { font-family: var(--f-face); font-size: clamp(21px, 2.2vw, 26px); font-weight: 700; line-height: 1.22; margin: 12px 0 10px; }
.tch-course__title a { transition: color var(--ease); }
.tch-course__item:hover .tch-course__title a { color: var(--olive-deep); }
.tch-course__lede { font-size: 16px; color: var(--ink-soft); max-width: 62ch; }

/* --------------------------------------------------------------------------
   14. Piètement : le pied de page
   -------------------------------------------------------------------------- */
.tch-footing {
  background: #22241c;
  color: #cfcbba;
  padding: 64px 0 26px;
  border-top: 3px solid var(--olive-deep);
}
.tch-footing__grid {
  display: grid; grid-template-columns: 1fr; gap: 38px; padding-bottom: 44px;
}
@media (min-width: 640px) { .tch-footing__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tch-footing__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 48px; } }
.tch-footing__maker {
  font-family: var(--f-face); font-size: 25px; font-weight: 700; color: #f2eddf; line-height: 1.1;
}
.tch-footing__maker span { color: var(--olive-lit); }
.tch-footing__blurb { font-size: 14.5px; margin-top: 14px; color: #a9a696; max-width: 38ch; }
.tch-footing__head {
  font-family: var(--f-stamp); font-size: 11px; font-weight: 700;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--olive-lit);
  margin-bottom: 16px;
}
.tch-footing__list li { margin-bottom: 10px; }
.tch-footing__list a { font-size: 14.5px; color: #cfcbba; transition: color var(--ease); }
.tch-footing__list a:hover { color: #f2eddf; }
.tch-footing__note { font-size: 14px; color: #a9a696; line-height: 1.7; }
.tch-footing__base {
  border-top: 1px solid #3a3d30; padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.tch-footing__seal {
  font-family: var(--f-stamp); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #8b8878;
}
.tch-footing__seal b { color: var(--olive-lit); font-weight: 700; }
.tch-footing a:focus-visible { outline-color: var(--olive-lit); }

/* --------------------------------------------------------------------------
   15. Confort
   -------------------------------------------------------------------------- */
@media (pointer: coarse) {
  .tch-hasp__pin { min-height: 46px; }
  .tch-handle { min-height: 46px; }
}
@media (max-width: 619px) {
  body { font-size: 16px; }
  .tch-lid__row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tch-lid__stampline { text-align: left; }
  .tch-more { flex-direction: column; align-items: flex-start; }
  .tch-footing__base { flex-direction: column; align-items: flex-start; }
  .tch-board__drop::first-letter { font-size: 52px; }
}
@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;
  }
}
@media print {
  .tch-hasp, .tch-footing, .tch-benchtop__shellac { display: none; }
  body { background: #fff; color: #000; }
}
