/* Feuillet : ivoire chaud, encre presque noire, un seul vermillon de tampon. */

:root {
  --paper: #f3ecdf;
  --paper-hi: #fbf6ec;
  --paper-lo: #e7dfce;
  --ink: #17140e;
  --ink-soft: #4b4438;
  --rule: rgba(23, 20, 14, 0.26);
  --verm: #c8321a;
  --verm-ink: #a82711;
  --ivory: #efe8d9;

  --display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --text: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --hand: 'La Belle Aurore', 'Bradley Hand', cursive;

  --gut: clamp(18px, 3.2vw, 56px);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .22 0 0 0 0 .17 0 0 0 0 .1 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --speckle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='180'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -7 4.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}

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

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text);
  font-size: clamp(17px, 0.5vw + 13px, 21px);
  font-optical-sizing: auto;
  line-height: 1.42;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'kern', 'liga', 'onum' 0;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}
ol,
ul {
  list-style: none;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
  color: inherit;
}
em {
  font-style: italic;
}

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

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
}
.skip:focus {
  top: 12px;
}

#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100lvh;
}

main,
.mast,
.colophon {
  position: relative;
  z-index: 1;
}

/* Le folio courant, à la verticale dans la marge. */
.running {
  position: fixed;
  z-index: 4;
  left: calc((var(--gut) - 16px) / 2);
  bottom: 22px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  color: var(--ink-soft);
  opacity: 0;
  transition: opacity 0.4s, color 0.3s;
  pointer-events: none;
}
.running.on {
  opacity: 1;
}
.running.ink {
  color: #cfc7b5;
}
@media (max-width: 860px) {
  .running {
    display: none;
  }
}

/* ────────── éléments communs ────────── */

.kicker {
  display: flex;
  align-items: center;
  gap: 0.9em;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.kicker span {
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
  color: var(--verm-ink);
}
.kicker::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.32;
}

h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 0.96;
}

.lead {
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.26;
  font-weight: 300;
  letter-spacing: -0.006em;
}

.marginal {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.42;
  color: var(--ink-soft);
}

/* ────────── manchette ────────── */

.mast {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 18px var(--gut) 12px;
  border-bottom: 1px solid var(--ink);
  margin: 0;
  /* La manchette est un bandeau de papier : elle ne lit jamais la tempête en transparence. */
  background: var(--paper) var(--grain);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
}
.mast-brand {
  font-family: var(--display);
  font-size: 23px;
  font-style: italic;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mast-mid {
  color: var(--ink-soft);
  font-weight: 400;
}
.mast-cta {
  justify-self: end;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--verm);
}

/* ────────── la une ────────── */

.une {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(58px, 7.5vh, 76px) var(--gut) clamp(16px, 3vh, 30px);
  display: flex;
  flex-direction: column;
}

.poster {
  --size: min(20.2vw, 41vh);
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--size);
  line-height: 0.86;
  letter-spacing: -0.038em;
  margin-top: 0.02em;
  font-variation-settings: 'opsz' 96;
}
.poster span,
.poster em {
  display: block;
}
.poster-l1 {
  margin-left: -0.035em;
}
.poster-l2 {
  text-align: right;
  margin-top: -0.02em;
  padding-right: 0.02em;
}
.poster-l2 em {
  display: inline-block;
}
.poster .ch {
  display: inline-block;
  will-change: transform;
  transform-origin: 50% 100%;
}
.poster .mask {
  display: inline-block;
  overflow: hidden;
  /* Le q d'Unique descend sous la ligne : on lui laisse la place. */
  padding: 0.04em 0.05em 0.26em;
  margin: -0.04em -0.05em -0.26em;
  vertical-align: top;
}

.une-deck {
  position: absolute;
  left: var(--gut);
  top: calc(clamp(58px, 7.5vh, 76px) + min(20.2vw, 41vh) * 0.97);
  width: min(23vw, 42vh);
}
.deck {
  font-family: var(--display);
  font-size: clamp(19px, 1.62vw, 27px);
  line-height: 1.16;
  letter-spacing: -0.012em;
  padding: 2px 0;
  background: radial-gradient(closest-side, rgba(243, 236, 223, 0.86) 40%, rgba(243, 236, 223, 0));
}
.deck em {
  color: var(--verm-ink);
}

.une-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

/* Le texte de la une est posé sur une vraie feuille, jamais sur la tempête. */
.slip {
  position: relative;
  max-width: 520px;
  padding: 16px 18px 16px;
  background: var(--paper-hi) var(--grain);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 1px 2px rgba(60, 44, 20, 0.2),
    0 12px 26px -10px rgba(60, 44, 20, 0.34);
  transform: rotate(-0.7deg);
}
.slip p {
  font-size: 17px;
  line-height: 1.3;
}

.seal {
  --c: var(--verm-ink);
  position: relative;
  display: inline-block;
  align-self: start;
  justify-self: start;
  padding: 11px 16px 10px;
  border: 2px solid var(--c);
  background: transparent;
  color: var(--c);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s,
    color 0.18s,
    transform 0.36s cubic-bezier(0.2, 1.8, 0.4, 1);
}
.seal:hover,
.seal:focus-visible {
  background: var(--verm-ink);
  color: #fff8ee;
  transform: rotate(-1.4deg) scale(1.025);
}
.seal:active {
  transform: scale(0.96);
}

.une-hint {
  font-family: var(--sans);
  font-size: 13px;
  padding: 6px 10px;
  background: rgba(243, 236, 223, 0.86);
}
.une-hint em {
  font-family: var(--display);
  font-size: 16px;
}

html.pre .poster,
html.pre .une-deck,
html.pre .une-foot {
  visibility: hidden;
}

/* ────────── I. la loi : des feuilles dans le vent, le texte à l'abri dessus ────────── */

.loi {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: clamp(36px, 8vh, 96px);
  padding: 14vh var(--gut) 34vh;
}

.loi-head {
  position: relative;
  grid-column: 1 / -1;
}
.loi-head::before {
  /* Protection du titre, sans cadre : un air plus dense, en plus du voile de la scène. */
  content: '';
  position: absolute;
  inset: -22% -8%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(243, 236, 223, 0.86) 55%, rgba(243, 236, 223, 0));
}
.loi-head h2 {
  margin-top: 16px;
  font-size: clamp(50px, 10.4vw, 180px);
}
.loi-head h2 em {
  display: block;
  text-align: right;
}

.leaf {
  position: relative;
  padding: clamp(18px, 2vw, 34px);
  background: var(--paper-hi) var(--grain);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 1px rgba(60, 44, 20, 0.18),
    0 22px 40px -18px rgba(60, 44, 20, 0.42),
    0 50px 80px -40px rgba(60, 44, 20, 0.3);
  transform-origin: 50% 0;
  will-change: transform;
}
.leaf-folio {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.leaf-big {
  font-family: var(--display);
  font-size: clamp(84px, 13vw, 210px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.leaf-big sup {
  font-size: 0.34em;
  vertical-align: 1.2em;
  line-height: 0;
  letter-spacing: 0;
  font-style: italic;
}
.leaf-big small {
  font-size: 0.42em;
  font-style: italic;
  letter-spacing: -0.02em;
}
.leaf h3 {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 2.5vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.leaf h3 sup {
  font-size: 0.6em;
  line-height: 0;
}
.leaf hr {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 18px 0;
}
.leaf-note {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--verm);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.38;
}
.leaf-a {
  grid-column: 1 / span 4;
}
.leaf-b {
  grid-column: 7 / span 6;
  margin-top: 12vh;
}
.leaf-c {
  grid-column: 2 / span 5;
}
.leaf-d {
  grid-column: 6 / span 7;
  margin-top: 6vh;
}
.leaf-d .leaf-big {
  font-size: clamp(66px, 12.4vw, 200px);
  color: var(--ink);
}
.leaf-e {
  grid-column: 1 / span 4;
}

/* ────────── scènes épinglées ────────── */

.stage {
  position: relative;
}
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: clip;
}
.stage-un {
  height: 360vh;
}
.stage-flip {
  height: 320vh;
}
.stage-pile {
  height: 440vh;
}
.stage-dive {
  height: 240vh;
}

.un-words {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gut);
  font-family: var(--display);
  font-size: clamp(44px, 7.2vw, 128px);
  letter-spacing: -0.03em;
  line-height: 1;
  opacity: var(--o, 0);
  transform: translateY(var(--y, 0));
}

/* ────────── II. le document ────────── */

.doc {
  position: relative;
  padding: 11vh var(--gut) 6vh;
}

.doc-open h2 {
  margin-top: 18px;
  font-size: clamp(76px, 19vw, 340px);
  line-height: 0.86;
  letter-spacing: -0.04em;
}
.doc-open-text {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: 5vh;
}
.doc-open .lead {
  grid-column: 5 / span 6;
}
.doc-open .marginal {
  grid-column: 11 / span 2;
  padding-top: 6px;
}

.spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  margin-top: 13vh;
}
.art {
  padding: 18px 0 8px;
  min-width: 0;
}
.spread .art + .art {
  border-left: 1px solid var(--rule);
  padding-left: 28px;
}
.spread .art:first-child {
  padding-right: 28px;
}

.art-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.art-n {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--verm-ink);
}
.art-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 4.5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.024em;
}
.art-text {
  max-width: 34em;
  margin-top: 12px;
  color: var(--ink-soft);
}

.art-1 {
  grid-column: span 8;
}
.art-2 {
  grid-column: span 4;
}
.art-3 {
  grid-column: span 5;
}
.art-4 {
  grid-column: span 7;
}
.art-5 {
  grid-column: span 7;
}
.art-6 {
  grid-column: span 5;
}
.art-7 {
  grid-column: span 5;
}
.art-8 {
  grid-column: span 7;
}

/* Page 1 : cotation */

.cot {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-top: 8px;
}
.cot-numbers {
  position: relative;
  height: clamp(190px, 25vw, 400px);
  overflow: visible;
}
.cot-now {
  position: absolute;
  left: -0.04em;
  bottom: -0.1em;
  display: block;
  font-family: var(--display);
  font-size: clamp(190px, 27vw, 450px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: lining-nums;
}
.cot-old {
  position: absolute;
  right: 6%;
  top: 8%;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 60px);
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: var(--verm);
  text-decoration-thickness: 2px;
}
.cot-strike {
  position: absolute;
  left: 0;
  right: 0;
  top: 8%;
  width: 100%;
  height: 84%;
  overflow: visible;
  pointer-events: none;
}
.cot-strike path {
  fill: none;
  stroke: var(--verm);
  stroke-width: 7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.cot-formula {
  font-family: var(--sans);
  font-size: 15px;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
  display: flex;
  gap: 0.5em;
  align-items: baseline;
}
.cot-formula b {
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
}
.cot-formula [data-label] {
  margin-left: auto;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
}
.cot-side {
  display: grid;
  gap: 10px;
  padding-bottom: 2px;
}
.cot-risk {
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
  margin-bottom: 8px;
}
.cot-risk span {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.tick {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 0;
  border-top: 1px solid var(--rule);
  font-size: 17px;
  line-height: 1.16;
  cursor: pointer;
}
.tick input {
  position: absolute;
  width: 26px;
  height: 26px;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.tick .box {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--ink);
  position: relative;
}
.tick .box svg {
  position: absolute;
  inset: -7px -5px -3px -3px;
  overflow: visible;
}
.tick .box path {
  fill: none;
  stroke: var(--verm);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  transition: stroke-dashoffset 0.34s cubic-bezier(0.6, 0, 0.3, 1);
}
.tick input:checked + .box path {
  stroke-dashoffset: 0;
}
.tick input:focus-visible + .box {
  outline: 2px solid var(--verm);
  outline-offset: 2px;
}
.tick em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  color: var(--verm-ink);
}

/* Page 2 : la note en marge */

.ai {
  margin-top: 20px;
}
.ai-doc {
  counter-reset: l;
}
.ai-doc li {
  counter-increment: l;
  display: grid;
  grid-template-columns: 1.6em 1fr;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  font-size: 18px;
  line-height: 1.2;
}
.ai-doc li::before {
  content: counter(l);
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  padding-top: 3px;
}
.ai-doc li.new {
  color: var(--ink);
  font-weight: 500;
}
.ai-note {
  position: relative;
  margin-top: 16px;
  padding: 6px 0 0 8px;
  min-height: 190px;
  color: var(--verm-ink);
}
.ai-arrow {
  position: absolute;
  top: -22px;
  right: 8px;
  width: 92px;
  height: 54px;
  overflow: visible;
}
.ai-arrow path {
  fill: none;
  stroke: var(--verm);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ai-hand {
  font-family: var(--hand);
  font-size: clamp(25px, 2.15vw, 33px);
  line-height: 1.16;
  min-height: 3.5em;
  padding-top: 26px;
  transform: rotate(-1.1deg);
}
.ai-hand.struck {
  text-decoration: line-through;
  text-decoration-color: var(--ink);
}
.ai-actions {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
.ai-actions button {
  min-height: 44px;
  padding: 0 2px;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s;
}
.ai-actions button:hover {
  color: var(--verm-ink);
  border-color: var(--verm-ink);
}

/* Page 3 : le pli */

.pli {
  --h: clamp(72px, 7.2vw, 108px);
  position: relative;
  height: calc(var(--h) * 4);
  margin-top: 22px;
  perspective: 1300px;
  perspective-origin: 50% 0;
}
.pli-base,
.pli-fold {
  height: var(--h);
  background: var(--paper-hi) var(--grain);
}
.pli-base {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 1px 2px rgba(60, 44, 20, 0.22);
  font-family: var(--sans);
  font-size: 13px;
}
.pli-base b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 36px);
}
.pli-fold {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  transform-origin: 50% 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.pli > .pli-fold.f1 {
  top: var(--h);
}
.pli-fold::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(50, 36, 16, calc(var(--shade, 0) * 0.34)), rgba(50, 36, 16, calc(var(--shade, 0) * 0.06)));
}
.pli-face {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-content: center;
  height: 100%;
  padding: 0 16px;
  column-gap: 12px;
  border-top: 1px dashed rgba(23, 20, 14, 0.2);
  backface-visibility: hidden;
}
.pli-face span {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
}
.pli-face b {
  grid-row: 2;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.08;
}
.pli-face i {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
}
.pli-fold.f2 > .pli-face i {
  color: var(--verm-ink);
  font-weight: 600;
}

/* Page 4 : le tampon */

.fige {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 22px;
}
.fige-page {
  position: relative;
  min-height: clamp(300px, 28vw, 440px);
  padding: 22px;
  background: var(--paper-hi) var(--grain);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(60, 44, 20, 0.2),
    0 26px 44px -22px rgba(60, 44, 20, 0.4),
    6px 6px 0 -1px var(--paper-hi),
    6px 6px 0 0 rgba(23, 20, 14, 0.16),
    12px 12px 0 -1px var(--paper-hi),
    12px 12px 0 0 rgba(23, 20, 14, 0.14);
  will-change: transform;
}
.fige-title {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.fige-v {
  font-family: var(--sans);
  font-size: 13px;
  margin-top: 6px;
  color: var(--ink-soft);
}
.fige-lines {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}
.fige-lines i {
  height: 3px;
  background: rgba(23, 20, 14, 0.22);
}
.fige-lines i:nth-child(3n) {
  width: 72%;
}
.fige-lines i:nth-child(4n) {
  width: 88%;
}
.fige-stamp {
  position: absolute;
  left: 50%;
  top: 58%;
  padding: 14px 18px 12px;
  border: 5px solid var(--verm);
  color: var(--verm);
  font-family: var(--sans);
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-9deg);
  opacity: 0;
  -webkit-mask-image: var(--speckle);
  mask-image: var(--speckle);
  mix-blend-mode: multiply;
}
.fige-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.fige-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 14px;
}
.fige-list li b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
}
.fige-list li:first-child {
  color: var(--verm-ink);
}
.fige-list li span {
  align-self: center;
  color: var(--ink-soft);
}
.ink-btn {
  align-self: start;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper-hi);
  border: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 1.8, 0.4, 1), background-color 0.16s;
}
.ink-btn:hover {
  background: var(--verm-ink);
  transform: translateY(-2px);
}
.ink-btn:active {
  transform: translateY(2px) scale(0.98);
}

/* Page 5 : actions */

.acts {
  margin-top: 22px;
}
.act {
  display: grid;
  grid-template-columns: 44px minmax(0, 1.7fr) minmax(0, 1fr) 70px 78px;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  border-top: 1px solid var(--rule);
}
.act:last-child {
  border-bottom: 1px solid var(--rule);
}
.act-check {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
}
.act-check svg {
  position: absolute;
  inset: -8px -6px -2px -2px;
  overflow: visible;
}
.act-check path {
  fill: none;
  stroke: var(--verm);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 62;
  stroke-dashoffset: 62;
  transition: stroke-dashoffset 0.4s cubic-bezier(0.6, 0, 0.3, 1);
}
.act[data-s='2'] .act-check path {
  stroke-dashoffset: 0;
}
.act[data-s='1'] .act-check {
  background: linear-gradient(90deg, rgba(200, 50, 26, 0.16) 50%, transparent 50%);
}
.act-what {
  position: relative;
  font-family: var(--display);
  font-size: clamp(21px, 1.9vw, 30px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  background: linear-gradient(var(--verm), var(--verm)) no-repeat 0 56% / 0 2px;
  transition: background-size 0.5s 0.16s cubic-bezier(0.6, 0, 0.3, 1);
  width: fit-content;
}
.act[data-s='2'] .act-what {
  background-size: 100% 2px;
}
.act-who,
.act-when,
.act-state {
  font-family: var(--sans);
  font-size: 13px;
}
.act-who {
  color: var(--ink-soft);
}
.act-state {
  font-weight: 600;
  text-align: right;
}
.act[data-s='2'] .act-state {
  color: var(--verm-ink);
}

/* Page 6 : l'éphéméride */

.eph {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 22px;
  margin-top: 24px;
  min-height: 300px;
}
.eph-block {
  position: relative;
  width: 100%;
  max-width: 210px;
  aspect-ratio: 5 / 6;
}
.eph-holes {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background: var(--ink);
}
.eph-holes i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper);
}
.eph-stack {
  position: absolute;
  inset: 22px 0 0;
  box-shadow:
    3px 3px 0 -1px var(--paper-hi),
    3px 3px 0 0 rgba(23, 20, 14, 0.2),
    0 22px 34px -18px rgba(60, 44, 20, 0.5);
}
.eph-leaf {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--paper-hi) var(--grain);
  transform-origin: 50% 0;
  will-change: transform;
}
.eph-leaf b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.eph-leaf span {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
}
.eph-leaf.today b {
  font-style: italic;
  color: var(--verm-ink);
  font-size: clamp(36px, 3.6vw, 56px);
}
.eph-slip {
  position: relative;
  align-self: start;
  padding: 20px 14px 14px;
  margin-top: 10px;
  background: var(--paper-hi) var(--grain);
  box-shadow:
    0 1px 2px rgba(60, 44, 20, 0.22),
    0 16px 26px -12px rgba(60, 44, 20, 0.42);
  transform-origin: 50% 6px;
  font-size: 18px;
  line-height: 1.2;
  opacity: 0;
}
.eph-slip b {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--verm-ink);
  margin-bottom: 4px;
}
.eph-pin {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--verm);
  box-shadow: 0 2px 2px rgba(40, 20, 0, 0.4);
}
.switch {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 44px;
  height: 24px;
  margin: 0;
  cursor: pointer;
}
.switch span {
  position: relative;
  width: 44px;
  height: 24px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  transition: background-color 0.2s;
}
.switch span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.36s cubic-bezier(0.2, 1.8, 0.4, 1);
}
.switch input:checked + span {
  background: rgba(200, 50, 26, 0.14);
}
.switch input:checked + span::after {
  transform: translateX(20px);
  background: var(--verm);
}
.switch input:focus-visible + span {
  outline: 2px solid var(--verm);
  outline-offset: 2px;
}

/* Page 7 : le PDF se reforme */

.pdf {
  margin-top: 22px;
}
.pdf-page {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1 / 1.4142;
  padding: 7%;
  display: grid;
  grid-template-rows: auto auto 1fr 1.3fr 1fr 1fr;
  gap: 4%;
  background: rgba(23, 20, 14, 0.035);
  outline: 1px dashed var(--rule);
  outline-offset: -1px;
}
.pdf-frag {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 8px 10px;
  background: var(--paper-hi) var(--grain);
  box-shadow: 0 1px 2px rgba(60, 44, 20, 0.2), 0 8px 14px -8px rgba(60, 44, 20, 0.36);
  will-change: transform;
  font-family: var(--sans);
  font-size: 12px;
}
.pdf-frag i {
  height: 2.5px;
  background: rgba(23, 20, 14, 0.24);
}
.pdf-frag i:nth-of-type(2n) {
  width: 76%;
}
.pdf-frag.fa {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.pdf-frag.fa b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(19px, 1.7vw, 26px);
  letter-spacing: -0.02em;
}
.pdf-frag.ff {
  grid-auto-flow: column;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 12px;
  align-items: center;
}
.pdf-frag.ff em {
  font-family: var(--display);
  font-size: 16px;
}
.pdf-name {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
}

/* Page 8 : le registre */

.host {
  margin: 22px 0 0;
}
.host div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 16px;
  align-items: baseline;
  padding: 7px 0 8px;
  border-top: 1px solid var(--rule);
}
.host dt {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
}
.host dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 2.9vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.host div:nth-child(3) dd {
  font-style: italic;
}
.host-ai dd {
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.26;
  letter-spacing: 0;
}
.reg {
  margin-top: 26px;
}
.reg-title {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}
.reg-lines {
  height: calc(6 * 44px);
  overflow: hidden;
}
.reg-lines li {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 12px;
  align-items: center;
  height: 44px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 14px;
}
.reg-lines li time {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.reg-lines li .hand {
  font-family: var(--hand);
  font-size: 21px;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
}
.reg-lines li b {
  font-weight: 500;
  color: var(--ink-soft);
}
.tsvp {
  text-align: right;
  margin-top: 14vh;
  font-family: var(--display);
  font-size: clamp(56px, 11vw, 200px);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ────────── III. verso ────────── */

.verso {
  position: relative;
  padding: 10vh var(--gut) 16vh;
  color: var(--ivory);
}
.verso .kicker span {
  color: #f2755c;
}
.verso h2 {
  margin-top: 18px;
  font-size: clamp(76px, 17vw, 310px);
  letter-spacing: -0.04em;
  line-height: 0.88;
}
.steps {
  margin-top: 9vh;
}
.step {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
  padding: 26px 0 40px;
  border-top: 1px solid rgba(239, 232, 217, 0.34);
}
.step-n {
  grid-column: 1 / span 4;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(90px, 14vw, 240px);
  line-height: 0.86;
  letter-spacing: -0.03em;
}
.step > div {
  grid-column: 6 / span 6;
}
.step h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step p {
  max-width: 34em;
  color: #d2cab8;
}
.formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 40px);
}
.formats li + li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 22px 0 0;
  transform: translateY(-0.28em);
  border-radius: 50%;
  background: #f2755c;
}
.step[data-reveal] .step-n,
.step[data-reveal] > div {
  transform: translateY(46px);
  opacity: 0;
  transition:
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s;
}
.step[data-reveal] > div {
  transition-delay: 0.1s;
}
.step[data-reveal].in .step-n,
.step[data-reveal].in > div {
  transform: none;
  opacity: 1;
}

/* ────────── IV. la pile ────────── */

.pile-text {
  position: absolute;
  left: var(--gut);
  top: 50%;
  width: min(40vw, 620px);
  transform: translateY(-50%);
  opacity: var(--o, 0);
}
.pile-count {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(100px, 15.5vw, 280px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-variant-numeric: lining-nums;
}
.pile-count small {
  font-size: 0.26em;
  font-style: italic;
  letter-spacing: -0.02em;
}
.pile-text h2 {
  font-size: clamp(32px, 3.8vw, 64px);
  line-height: 1;
  margin: 10px 0 14px;
}
.pile-text .marginal {
  margin-top: 12px;
}
.pile-fallback {
  display: none;
}

/* ────────── V. la dernière ligne ────────── */

.liste {
  position: relative;
  padding: 9vh var(--gut) 8vh;
}
.liste h2 {
  margin-top: 18px;
  font-size: clamp(56px, 10vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  max-width: 11.5em;
}
.liste .lead {
  margin-top: 5.5vh;
  max-width: 26em;
}

.plume {
  position: relative;
  margin-top: 6vh;
  max-width: 1100px;
}
.plume-label {
  display: block;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.2;
}
.plume-line {
  position: relative;
  margin-top: 6px;
  height: clamp(74px, 8vw, 116px);
}
.plume-line input {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0 0 8px 46px;
  background: none;
  border: 0;
  outline: 0;
  font-family: var(--hand);
  font-size: clamp(36px, 4.6vw, 70px);
  line-height: 1;
  color: #1d2a55;
  caret-color: transparent;
}
.plume-line input::placeholder {
  color: #6c6556;
  opacity: 1;
}
.plume-line:focus-within .plume-rule path {
  stroke: var(--verm);
}
.plume-mirror {
  position: absolute;
  left: 0;
  bottom: 0;
  visibility: hidden;
  white-space: pre;
  font-family: var(--hand);
  font-size: clamp(36px, 4.6vw, 70px);
}
.plume-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 12px;
  overflow: visible;
}
.plume-rule path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--draw, 1);
  transition: stroke 0.2s;
}
.plume-nib {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 26px;
  height: 52px;
  overflow: visible;
  pointer-events: none;
  transform-origin: 50% 100%;
  transform: translateX(var(--x, 0)) rotate(34deg);
  transition: transform 0.26s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.plume-nib path {
  fill: var(--ink);
}
.plume-nib .slit {
  fill: none;
  stroke: var(--paper);
  stroke-width: 1;
}
.plume-nib circle {
  fill: var(--paper);
}
.plume-line:focus-within .plume-nib {
  transform: translateX(var(--x, 0)) rotate(24deg);
}
.plume.sent .plume-nib {
  opacity: 0 !important;
}

.plume-send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 24px;
}
.plume-note {
  font-family: var(--hand);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.1;
  color: var(--verm-ink);
}
.plume-stamp {
  position: absolute;
  right: 3%;
  top: -18%;
  padding: 12px 20px 10px;
  border: 5px solid var(--verm);
  color: var(--verm);
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 64px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: rotate(7deg);
  opacity: 0;
  -webkit-mask-image: var(--speckle);
  mask-image: var(--speckle);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ────────── VI. questions ────────── */

.faq {
  position: relative;
  padding: 8vh var(--gut) 10vh;
}
.faq h2 {
  margin-top: 18px;
  font-style: italic;
  font-size: clamp(44px, 6vw, 110px);
}
.faq-list {
  margin-top: 4vh;
}
details {
  border-top: 1px solid var(--ink);
}
details:last-child {
  border-bottom: 1px solid var(--ink);
}
summary {
  display: grid;
  grid-template-columns: 1fr 36px;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 0;
  font-family: var(--display);
  font-size: clamp(23px, 2.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '';
  justify-self: end;
  width: 20px;
  height: 20px;
  background:
    linear-gradient(var(--verm-ink), var(--verm-ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--verm-ink), var(--verm-ink)) center / 2px 100% no-repeat;
  transition: transform 0.45s cubic-bezier(0.2, 1.6, 0.4, 1);
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  max-width: 40em;
  padding: 0 0 22px;
  color: var(--ink-soft);
}

.colophon {
  padding: 0 var(--gut) 18px;
}
.colophon p {
  font-family: var(--display);
  font-size: clamp(70px, 21.4vw, 440px);
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-align: center;
  white-space: nowrap;
}

/* ────────── repli : sans WebGL, ou mouvement réduit ────────── */

.fallback-storm {
  display: none;
}
html.no-webgl #scene {
  display: none;
}
html.no-webgl body {
  background-image: var(--grain);
}
html.no-webgl .fallback-storm {
  display: block;
  position: absolute;
  inset: 0 0 auto;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(90% 90% at 22% 8%, #f7f1e6, #dcd3c1);
}
.fallback-storm i {
  position: absolute;
  width: 15vmin;
  aspect-ratio: 1 / 1.414;
  background: var(--paper-hi) var(--grain);
  box-shadow: 0 16px 24px -12px rgba(60, 44, 20, 0.46);
}
.fallback-storm i:nth-child(1) { left: 4%; top: 58%; transform: rotate(-24deg) skewY(6deg); }
.fallback-storm i:nth-child(2) { left: 18%; top: 72%; transform: rotate(34deg) skewY(-9deg); }
.fallback-storm i:nth-child(3) { left: 36%; top: 80%; transform: rotate(-11deg); }
.fallback-storm i:nth-child(4) { left: 58%; top: 74%; transform: rotate(52deg) skewX(8deg); }
.fallback-storm i:nth-child(5) { left: 76%; top: 60%; transform: rotate(-38deg) skewY(11deg); }
.fallback-storm i:nth-child(6) { left: 88%; top: 26%; transform: rotate(16deg); }
.fallback-storm i:nth-child(7) { left: 66%; top: -8%; transform: rotate(-62deg) skewY(9deg); }
.fallback-storm i:nth-child(8) { left: 28%; top: -10%; transform: rotate(28deg); }
.fallback-storm i:nth-child(9) { left: 2%; top: 8%; transform: rotate(74deg) skewX(-7deg); }

html.reduced #scene {
  position: absolute;
  height: 100vh;
  height: 100svh;
}
html.static .stage-un,
html.static .stage-flip,
html.static .stage-dive {
  height: auto;
}
html.static .stage-flip,
html.static .stage-dive {
  display: none;
}
html.static .sticky {
  position: relative;
  height: auto;
  overflow: visible;
}
html.static .un-words {
  position: static;
  opacity: 1;
  padding: 10vh var(--gut) 0;
  justify-content: flex-start;
  gap: 0.28em;
}
html.static .loi {
  padding-bottom: 8vh;
}
html.static .verso {
  background: #16130e;
  margin-top: 8vh;
  padding-top: 12vh;
}
html.static .step[data-reveal] .step-n,
html.static .step[data-reveal] > div {
  transform: none;
  opacity: 1;
}
html.static .stage-pile {
  height: auto;
  padding: 10vh var(--gut);
}
html.static .stage-pile .sticky {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
html.static .pile-text {
  position: static;
  transform: none;
  width: auto;
  opacity: 1;
}
html.static .pile-fallback {
  display: block;
  height: 52vh;
  min-height: 300px;
  background:
    repeating-linear-gradient(0deg, #f7f1e4 0 3px, #d2c8b4 3px 4px, #ece4d3 4px 7px, #c9bea8 7px 8px);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  box-shadow: inset 0 0 40px rgba(60, 44, 20, 0.2);
}
html.pile-still .pile-fallback {
  height: 62vh;
  background-position: 88% 72%;
  background-size: auto 150%;
  background-repeat: no-repeat;
  clip-path: none;
  box-shadow: none;
}
html.static .eph-slip,
html.static .fige-stamp {
  opacity: 1;
}

/* ────────── téléphone ────────── */

@media (max-width: 860px) {
  .mast {
    grid-template-columns: 1fr auto;
  }
  .mast-mid {
    display: none;
  }

  .poster {
    --size: 20.4vw;
    margin-top: 5vh;
  }
  .une-deck {
    position: static;
    width: auto;
    max-width: 22em;
    margin-top: 4vh;
  }
  .deck {
    font-size: 23px;
    background: rgba(243, 236, 223, 0.8);
    box-shadow: 0 0 18px 12px rgba(243, 236, 223, 0.8);
  }
  .une-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .une-hint {
    align-self: flex-end;
  }

  .loi {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-bottom: 26vh;
  }
  .leaf-b,
  .leaf-d {
    margin-top: 0;
    margin-left: 7%;
  }
  .leaf-a,
  .leaf-c,
  .leaf-e {
    margin-right: 7%;
  }
  .leaf-big {
    font-size: 24vw;
  }
  .leaf-d .leaf-big {
    font-size: 19.5vw;
  }

  .un-words {
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 9vh var(--gut);
    font-size: 16vw;
  }
  .un-words em {
    text-align: right;
  }

  .doc-open .lead,
  .doc-open .marginal {
    grid-column: 1 / -1;
  }
  .doc-open .marginal {
    margin-top: 12px;
  }

  .spread {
    display: block;
    margin-top: 9vh;
  }
  .spread .art,
  .spread .art + .art,
  .spread .art:first-child {
    padding: 16px 0 8px;
    border-left: 0;
  }
  .spread .art + .art {
    border-top: 1px solid var(--ink);
    margin-top: 44px;
  }

  .cot {
    grid-template-columns: 1fr;
  }
  .cot-numbers {
    height: 52vw;
  }
  .cot-now {
    font-size: 58vw;
  }
  .cot-old {
    font-size: 11vw;
  }

  .fige {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .fige-page {
    margin-right: 12px;
    min-height: 320px;
  }
  .fige-stamp {
    font-size: 25px;
  }

  .act {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    row-gap: 2px;
    padding: 12px 0;
  }
  .act-check {
    grid-row: 1 / span 2;
  }
  .act-what {
    grid-column: 2 / span 2;
  }
  .act-who {
    grid-column: 2;
  }
  .act-when {
    display: none;
  }

  .reg-lines li {
    grid-template-columns: 52px 1fr;
  }
  .reg-lines li b {
    display: none;
  }

  .tsvp {
    margin-top: 10vh;
  }

  .step {
    display: block;
    padding-bottom: 30px;
  }
  .step-n {
    display: block;
    margin-bottom: 12px;
  }

  .pile-text {
    top: 10vh;
    left: var(--gut);
    right: var(--gut);
    width: auto;
    transform: none;
  }
  .pile-count {
    font-size: 26vw;
  }
  .pile-text p:not(.pile-count):not(.kicker) {
    display: none;
  }
  .pile-text h2 {
    font-size: 9vw;
  }

  html.static .stage-pile .sticky {
    grid-template-columns: 1fr;
  }
  html.static .pile-text p:not(.pile-count):not(.kicker) {
    display: block;
  }

  .plume-stamp {
    top: -38%;
  }
}

@media (max-width: 860px) and (max-height: 640px) {
  .une-deck {
    display: none;
  }
}
