:root {
  --paper: #f7f1e7;
  --ink: #281c38;
  --purple: #512682;
  --light: #d9bbee;
  --dark: #35204a;
  --rule: #a798ae;
  --gutter: clamp(22px, 5vw, 90px);
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.52 Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
a { text-decoration: none; color: inherit; }
button { font: inherit; }
svg { flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 7px 12px; transform: translateY(-150%); color: white; background: var(--purple); }
.skip:focus { transform: translateY(0); }
.bar, .footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(10px, 2vw, 33px); align-items: center; padding-inline: var(--gutter); min-height: 68px; }
.bar { border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 7px; justify-self: start; font-size: clamp(1rem, 1.6vw, 1.31rem); font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.brand svg { width: 32px; color: var(--purple); }
.bar__link, .languages a { min-height: 44px; display: inline-grid; place-items: center; font-size: .83rem; font-weight: 800; }
.bar__link:hover, .footer a:last-child:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 5px; }
.languages { display: inline-flex; align-items: center; gap: 4px; justify-self: end; }
.languages a { min-width: 40px; color: var(--ink); }
.languages a[aria-current] { color: var(--purple); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.languages a:hover { color: var(--purple); }
.hero { padding: clamp(31px, 5.8vw, 95px) var(--gutter) 0; }
.masthead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .37fr); gap: 24px; align-items: end; margin-bottom: clamp(26px, 3.6vw, 58px); }
.eyebrow { color: var(--purple); letter-spacing: .14em; text-transform: uppercase; font-size: .74rem; font-weight: 800; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.065em; line-height: .97; font-family: Georgia, 'Times New Roman', serif; }
h1 { font-size: clamp(3.5rem, 7.8vw, 9.25rem); margin-top: 15px; animation: ink-rise .65s both; }
h1 i { font-weight: inherit; color: var(--purple); }
html[lang="fr"] h1 { font-size: clamp(3rem, 6.4vw, 7.75rem); }
@keyframes ink-rise { from { clip-path: inset(0 0 100% 0); transform: translateY(12px); } to { clip-path: inset(0); } }
.masthead__aside { border-left: 1px solid var(--rule); padding: 4px 0 0 clamp(13px, 2vw, 31px); }
.masthead__aside p { max-width: 30ch; font-size: clamp(1rem, 1.45vw, 1.24rem); }
.masthead__aside a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--purple); font-weight: 800; font-size: .94rem; border-bottom: 1px solid currentColor; }
.masthead__aside svg { transition: transform .2s; }
.masthead__aside a:hover svg { transform: translateY(3px); }
.cover { border-top: 2px solid var(--ink); padding-top: 9px; }
.cover__photo { position: relative; aspect-ratio: 2.42; overflow: hidden; background: var(--light); animation: print-in .78s .07s both; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; transform: scale(1.05) translateY(var(--photo-shift, 0px)); }
.cover figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: var(--purple); font-size: .85rem; border-bottom: 1px solid var(--rule); }
.cover figcaption span:first-child { font-weight: 800; }
@keyframes print-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
.editions {
  margin-top: clamp(65px, 8vw, 117px);
  padding: clamp(52px, 7vw, 114px) var(--gutter);
  background: var(--dark);
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 100px);
}
.editions .eyebrow { color: var(--light); }
.editions h2 { margin: 16px 0; font-size: clamp(2.75rem, 5.4vw, 6.5rem); }
.editions__heading > p:last-of-type { max-width: 37ch; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.edition-options { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.edition-options button { min-height: 44px; padding: 7px 13px; background: transparent; color: var(--paper); cursor: pointer; border: 1px solid #cdb5dd; font-weight: 770; font-size: .87rem; transition: color .2s, background .2s; }
.edition-options button:hover, .edition-options button[aria-pressed="true"] { background: var(--light); color: var(--dark); }
.print-desk { min-width: 0; display: grid; gap: 12px; perspective: 1000px; }
.print-desk.is-interactive { display: block; box-shadow: 6px 6px 0 -1px #a981cc, 12px 12px 0 -2px #8053ad; }
.edition {
  --edge: #9d70bf;
  --sheet: #f7f1e7;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  padding: clamp(23px, 4vw, 58px);
  min-height: clamp(255px, 29vw, 385px);
  background: var(--sheet);
  border-left: 6px solid var(--edge);
  transform-origin: 0 50%;
}
.edition:nth-child(2) { --sheet: #f2d8c9; --edge: #b76557; }
.edition:nth-child(3) { --sheet: #e7d7f2; --edge: #785490; }
.edition.is-turning { animation: page-turn .42s cubic-bezier(.2,.75,.22,1) both; }
.edition header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: baseline; padding-bottom: 9px; border-bottom: 1px solid #5b416d6e; font-size: clamp(.75rem, 1.15vw, .95rem); margin-bottom: clamp(16px, 3vw, 38px); }
.edition header p { color: var(--purple); font-weight: 800; }
.edition header span { color: #4b365a; }
.edition h3 { max-width: 15ch; margin-bottom: 15px; font-size: clamp(2rem, 4.55vw, 5.2rem); }
.edition > p { max-width: 47ch; }
.edition > svg { position: absolute; width: clamp(90px, 15vw, 240px); bottom: -15px; right: -12px; z-index: -1; opacity: .14; color: var(--edge); --paper: var(--sheet); }
@keyframes page-turn { from { transform: rotateY(-24deg) translateX(3px); opacity: .3; } }
.footer { min-height: 96px; }
.footer p { color: var(--purple); font-family: Georgia, 'Times New Roman', serif; font-style: italic; text-align: center; }
.footer a:last-child { justify-self: end; display: inline-flex; align-items: center; gap: 5px; font-weight: 750; font-size: .87rem; }
.footer a:last-child svg { transform: rotate(180deg); }
@media (max-width: 750px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar__link { display: none; }
  .masthead, .editions { grid-template-columns: 1fr; }
  .masthead { gap: 20px; }
  h1 { font-size: clamp(3.22rem, 10vw, 5.75rem); }
  html[lang="fr"] h1 { font-size: clamp(2.7rem, 8.55vw, 5.2rem); }
  .cover__photo { aspect-ratio: 1.43; }
  .cover figcaption { font-size: .73rem; }
  .print-desk { margin-right: 10px; }
  .footer { grid-template-columns: 1fr auto; padding-block: 16px; gap: 5px; }
  .footer p { grid-column: 1; grid-row: 2; text-align: left; font-size: .87rem; }
  .footer a:last-child { grid-column: 2; grid-row: 1 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cover img { transform: none; }
}
