@font-face {
  font-family:Akrobat;
  src:url(../fonts/Akrobat-Black.otf) format("opentype");
  font-weight:900;
  font-display:swap;
}

@font-face {
  font-family:Akrobat;
  src:url(../fonts/Akrobat-ExtraBold.otf) format("opentype");
  font-weight:800;
  font-display:swap;
}

@font-face {
  font-family:Akrobat;
  src:url(../fonts/Akrobat-Bold.otf) format("opentype");
  font-weight:700;
  font-display:swap;
}

:root {
  --ink:#151513;
  --paper:#f7f5ed;
  --red:#ee4036;
  --sun:#ffbd48;
  --blue:#6073fa;
  --mint:#39c69d;
  --lilac:#bd97f3;
  --pad:clamp(24px,5vw,96px);
  --mast:74px;
  --foot:58px;
  --mono:"Courier New",monospace;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.55 "Open Sans",Arial,sans-serif;
}

a {
  color:inherit;
  text-decoration:none;
}

button,summary {
  font:inherit;
  cursor:pointer;
}

a:focus-visible,summary:focus-visible {
  outline:3px solid currentColor;
  outline-offset:4px;
}

h1,h2,h3,p,figure {
  margin:0;
}

h1,h2,h3 {
  font-family:Akrobat,"Arial Narrow",sans-serif;
  font-weight:900;
}

.skip {
  position:fixed;
  top:8px;
  left:8px;
  z-index:100;
  background:white;
  color:black;
  padding:10px;
  transform:translateY(-160%);
}

.skip:focus {
  transform:none;
}

.mast,.reader {
  position:fixed;
  left:0;
  right:0;
  z-index:20;
  display:flex;
  align-items:center;
  background:var(--paper);
  color:var(--ink);
  padding-inline:var(--pad);
}

.mast {
  top:0;
  height:var(--mast);
  gap:2.5vw;
  border-bottom:1px solid #c6c5bc;
}

.brand {
  display:flex;
  align-items:center;
  gap:8px;
  font:900 28px/1 Akrobat,sans-serif;
  letter-spacing:-1.2px;
  text-transform:uppercase;
  white-space:nowrap;
}

.brand-symbol {
  width:24px;
  height:24px;
  background:var(--red);
  clip-path:polygon(0 100%,0 25%,25% 0,25% 75%,38% 62%,38% 25%,63% 0,63% 39%,76% 26%,76% 14%,100% 0,100% 44%,45% 100%,45% 75%,20% 100%);
}

.primary,.mast-tools {
  display:flex;
  align-items:center;
}

.primary {
  margin:auto;
  gap:clamp(14px,2vw,36px);
  font-size:13px;
  font-weight:650;
}

.primary a:hover,.menu nav a:hover,.textlink:hover {
  text-decoration:underline;
  text-underline-offset:4px;
}

.mast-tools {
  gap:16px;
  margin-left:auto;
}

.test-link,.button,.textlink,.next,.menu summary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  font-size:13px;
  font-weight:750;
}

.test-link {
  padding:9px 15px;
  background:var(--ink);
  color:white;
  border-radius:4px;
}

.menu summary {
  list-style:none;
  height:42px;
  width:40px;
  border:1px solid #aaa99e;
  border-radius:4px;
}

.menu summary::-webkit-details-marker {
  display:none;
}

.menu summary span {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}

.menu summary i {
  width:16px;
  height:9px;
  border-block:1.5px solid;
}

.menu nav {
  position:absolute;
  right:var(--pad);
  top:calc(var(--mast) - 6px);
  width:min(290px,90vw);
  max-height:calc(100dvh - var(--mast) - 14px);
  overflow:auto;
  display:grid;
  padding:12px 20px;
  background:var(--paper);
  border:1px solid;
  box-shadow:5px 5px 0 var(--ink);
}

.menu nav a,.languages {
  padding:8px 0;
  font-size:14px;
  font-weight:650;
}

.menu hr {
  width:100%;
  border:0;
  border-top:1px solid #aaa;
}

.languages abbr {
  text-decoration:none;
  color:#56554e;
}

.reader {
  bottom:0;
  height:var(--foot);
  justify-content:space-between;
  border-top:1px solid #bcbab1;
}

.location,.markers,.next,.board-meta span,.eyebrow,.swatches,.entry-key,.evidence-top,.study-note {
  display:flex;
  align-items:center;
}

.location {
  gap:8px;
  font:12px var(--mono);
  width:30%;
}

.location>b {
  font-weight:bold;
}

.location>span {
  color:#64635e;
}

.location strong {
  margin-left:9px;
  padding-left:15px;
  border-left:1px solid #bcbab1;
  font:650 12px "Open Sans",sans-serif;
}

.markers {
  gap:5px;
}

.markers a {
  width:clamp(20px,2.5vw,42px);
  height:34px;
  display:grid;
  align-items:center;
}

.markers i {
  height:3px;
  background:#cecfc5;
}

.markers [aria-current] i {
  background:var(--red);
}

.next {
  justify-content:end;
  width:30%;
  font-size:12px;
}

.next b {
  border:1px solid #aaa99e;
  width:27px;
  height:27px;
  border-radius:50%;
  display:grid;
  place-content:center;
}

.board {
  position:relative;
  isolation:isolate;
  min-height:100vh;
  min-height:100svh;
  padding:calc(var(--mast) + 22px) var(--pad) calc(var(--foot) + 22px);
  display:flex;
  flex-direction:column;
  background:var(--bg);
  color:var(--fg,var(--ink));
  outline:0;
}

.board:focus-visible {
  outline:2px solid currentColor;
  outline-offset:-5px;
}

.paper {
  --bg:var(--paper);
}

.night {
  --bg:#1d211f;
  --fg:var(--paper);
}

.saffron {
  --bg:var(--sun);
}

.mint {
  --bg:var(--mint);
}

.lilac {
  --bg:var(--lilac);
}

.blue {
  --bg:var(--blue);
  --fg:#080914;
}

.periwinkle {
  --bg:#b7c2ff;
}

.vermilion {
  --bg:var(--red);
}

.peach {
  --bg:#ffba98;
}

.sport {
  --color:var(--red);
}

.famille {
  --color:var(--sun);
}

.pro {
  --color:var(--blue);
}

.club {
  --color:var(--mint);
}

.coach {
  --color:var(--lilac);
}

.board-meta,.tiny,.eyebrow,.file-code,.seq,.print-label,.print-foot,.folder-tab,.artfield figcaption {
  font:700 11px/1.3 var(--mono);
  letter-spacing:.075em;
  text-transform:uppercase;
}

.board-meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding-bottom:13px;
  border-bottom:1px solid color-mix(in srgb,currentColor 32%,transparent);
  font-size:10px;
}

.board-meta span {
  gap:10px;
}

.board-meta em {
  font-style:normal;
  opacity:.55;
}

.mini-file {
  display:inline-block;
  width:15px;
  height:11px;
  background:currentColor;
  clip-path:polygon(0 0,43% 0,57% 22%,100% 22%,100% 100%,0 100%);
}

.board-content {
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:28px 0;
}

.cover-layout,.spread {
  display:grid;
  grid-template-columns:1fr 1.13fr;
  align-items:center;
  gap:clamp(25px,4.6vw,95px);
}

.cover-layout {
  grid-template-columns:.87fr 1.13fr;
}

.story,.detail {
  min-width:0;
}

.eyebrow {
  gap:9px;
  line-height:1.6;
}

.eyebrow>i {
  width:9px;
  height:9px;
  background:currentColor;
  border-radius:50%;
}

.cover.paper .eyebrow>i {
  background:var(--red);
}

.display {
  font-size:clamp(70px,min(8.1vw,13vh),175px);
  font-weight:900;
  line-height:.91;
  letter-spacing:-.048em;
  text-transform:uppercase;
  margin:24px 0 0;
}

.cover .display {
  font-size:clamp(100px,min(11.7vw,20vh),216px);
  line-height:.82;
  letter-spacing:-.055em;
  margin:32px 0;
}

.cover.solo .display {
  font-size:clamp(83px,min(9vw,17vh),180px);
}

.period {
  color:var(--red);
  font-weight:inherit;
}

.vermilion .period,.blue .period,.saffron .period,.mint .period {
  color:var(--paper);
}

.lead {
  font-size:clamp(16px,1.28vw,22px);
  line-height:1.56;
  max-width:44ch;
  margin:24px 0 0;
}

.actions {
  display:flex;
  gap:15px 22px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:28px;
}

.button {
  background:var(--ink);
  color:white;
  border-radius:4px;
  padding:14px 20px;
  min-height:48px;
}

.button span,.test-link span {
  font-size:1.3em;
  line-height:1;
}

.button:hover,.test-link:hover {
  background:#343530;
}

.textlink {
  border-bottom:1px solid;
  padding:6px 0;
  justify-content:start;
  gap:10px;
}

.story>.textlink {
  margin-top:21px;
}

.artfield {
  position:relative;
  aspect-ratio:1.17;
  width:100%;
  max-height:66vh;
  min-height:260px;
  color:var(--ink);
  background-image:radial-gradient(color-mix(in srgb,currentColor 17%,transparent) .7px,transparent .9px);
  background-size:11px 11px;
}

.register {
  position:absolute;
  width:14px;
  height:14px;
}

.register:before,.register:after {
  content:"";
  position:absolute;
  background:currentColor;
  opacity:.6;
}

.register:before {
  width:100%;
  height:1px;
  top:50%;
}

.register:after {
  height:100%;
  width:1px;
  left:50%;
}

.tl {
  top:0;
  left:0;
}

.tr {
  top:0;
  right:0;
}

.bl {
  bottom:32px;
  left:0;
}

.br {
  bottom:32px;
  right:0;
}

.artfield figcaption {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  background:var(--bg);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:10px;
  font-size:10px;
}

.swatches i {
  height:7px;
  width:17px;
  background:var(--color);
}

.figure-key {
  display:flex;
  align-items:center;
  gap:8px;
}

.figure-key .mascot {
  width:29px;
  height:30px;
}

.directory .panel-head .display {
  font-size:clamp(52px,min(5.55vw,10vh),110px);
}

.backdrop-folio {
  position:absolute;
  inset:calc(var(--mast) + 45px) 0 var(--foot);
  overflow:hidden;
  pointer-events:none;
  z-index:-1;
}

.backdrop-folio span {
  position:absolute;
  right:2%;
  top:0;
  font:900 clamp(200px,25vw,520px)/.83 Akrobat,sans-serif;
  letter-spacing:-.075em;
  opacity:.065;
}

.markers i {
  background:#87877e;
}

.markers [aria-current] i {
  height:5px;
}

.object-stage {
  position:absolute;
  inset:0 0 34px;
  display:grid;
  place-items:center;
}

.sheet-object {
  --tilt:calc(-12deg + var(--order)*8deg);
  width:49%;
  max-width:340px;
  aspect-ratio:.78;
  grid-area:1/1;
  transform:translate(calc(-12% + var(--order)*7%),calc(6% - var(--order)*2.3%)) rotate(var(--tilt));
  filter:drop-shadow(2px 6px 3px #27251d35);
  transform-origin:45% 85%;
}

.folder-body {
  height:100%;
  position:relative;
  clip-path:polygon(0 0,35% 0,42% 7%,100% 7%,100% 100%,0 100%);
  background:var(--color);
  border-radius:3px;
}

.folder-tab {
  position:absolute;
  left:7%;
  top:1.9%;
  font-size:clamp(7px,.72vw,11px);
}

.folder-face {
  position:absolute;
  inset:8% 0 0;
  background:var(--color);
  border:1px solid #17170e64;
  border-radius:3px;
  display:flex;
  flex-direction:column;
  padding:6% 7% 4%;
  color:#10120f;
  box-shadow:inset 0 3px 0 #ffffff70;
}

.print-label,.print-foot {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:clamp(7px,.66vw,11px);
  border-bottom:1px solid;
  padding-bottom:6px;
}

.print-label span:first-child {
  font-weight:bold;
}

.print-foot {
  border:0;
  border-top:1px solid;
  padding:6px 0 0;
}

.barcode {
  width:20%;
  height:9px;
  background:repeating-linear-gradient(90deg,var(--ink) 0 1px,transparent 1px 3px,var(--ink) 3px 5px,transparent 5px 7px);
}

.print-title {
  font:900 clamp(18px,3.6vw,66px)/1 Akrobat,sans-serif;
  text-transform:uppercase;
  letter-spacing:-.045em;
  margin-bottom:4%;
}

.motif {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  width:100%;
  color:#161714;
}

.folder-face>.motif {
  flex:1;
  margin:5% 0 2%;
}

.motif i {
  display:block;
  position:absolute;
}

.motif-0 i {
  width:59%;
  height:66%;
  border:clamp(1.5px,.18vw,3px) solid currentColor;
  border-radius:50%;
  left:calc(3% + var(--j)*2.45%);
  top:calc(25% - var(--j)*1.42%);
  transform:rotate(-37deg);
}

.motif-1 i {
  width:75%;
  aspect-ratio:1;
  border:3px solid;
  border-radius:50%;
  left:calc(-35% + var(--j)*10%);
  bottom:-21%;
}

.motif-2 i {
  height:78%;
  width:7%;
  left:calc(1% + var(--j)*9.1%);
  top:calc(17% - var(--j)*1%);
  background:currentColor;
  clip-path:polygon(0 22%,100% 0,100% 78%,0 100%);
}

.motif-3 i {
  height:43%;
  width:43%;
  border-radius:0 100% 0 0;
  background:currentColor;
  top:6%;
  left:6%;
}

.motif-3 i:nth-child(2) {
  left:51%;
  transform:rotate(90deg);
}

.motif-3 i:nth-child(3) {
  top:51%;
  transform:rotate(-90deg);
}

.motif-3 i:nth-child(4) {
  left:51%;
  top:51%;
  transform:rotate(180deg);
}

.motif-4 i {
  width:48%;
  height:55%;
  border:3px solid;
  left:calc(3% + var(--j)*7%);
  top:calc(39% - var(--j)*5%);
  transform:skewY(-12deg);
}

.solo .sheet-object {
  width:56%;
  transform:rotate(-8deg);
}

.solo .folder-body {
  background:var(--paper);
}

.solo .folder-face {
  background:var(--paper);
}

.solo .folder-face .motif {
  color:var(--bg);
}

.panel-head .display {
  font-size:clamp(52px,min(6.2vw,11vh),115px);
  margin-top:12px;
}

.files {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin-top:clamp(24px,5vh,54px);
}

.file {
  position:relative;
  color:var(--ink);
  background:var(--color);
  padding:26px 18px 18px;
  display:flex;
  flex-direction:column;
  clip-path:polygon(0 0,40% 0,48% 10px,100% 10px,100% 100%,0 100%);
  min-height:285px;
}

.file:focus-visible {
  outline:0;
  box-shadow:inset 0 0 0 5px white;
}

.file:hover .file-arrow {
  transform:translate(2px,-2px);
}

.file-arrow {
  align-self:end;
  font-size:24px;
  margin-top:auto;
}

.file .motif {
  height:clamp(75px,13vh,130px);
  margin:15px 0;
}

.file h3,.plates h3,.closing h3,.study-note h3 {
  font-size:clamp(26px,2.2vw,46px);
  line-height:1.05;
}

.file p,.plates p,.evidence p,.study-note p,.closing p {
  font-size:clamp(14px,1.04vw,18px);
  line-height:1.5;
  margin-top:8px;
}

.file h3 {
  line-height:.98;
  text-transform:uppercase;
}

.index-list,.plates {
  border-top:1px solid currentColor;
}

.index-row {
  display:grid;
  grid-template-columns:minmax(110px,.72fr) 1.25fr auto;
  gap:12px;
  align-items:center;
  padding:clamp(14px,2.5vh,26px) 0;
  border-bottom:1px solid color-mix(in srgb,currentColor 44%,transparent);
}

.entry-key {
  font-size:13px;
  font-weight:700;
  gap:9px;
}

.chip {
  width:13px;
  height:15px;
  flex:none;
  background:var(--color);
  border:1px solid #171713;
  clip-path:polygon(0 0,60% 0,80% 20%,100% 20%,100% 100%,0 100%);
}

.index-row strong {
  font:800 clamp(20px,1.7vw,30px)/1.05 Akrobat,sans-serif;
}

.index-row:hover strong {
  text-decoration:underline;
}

.row-arrow {
  font-size:22px;
}

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

.plates li {
  display:flex;
  gap:clamp(16px,2vw,32px);
  align-items:baseline;
  padding:clamp(9px,1.65vh,23px) 0;
  border-bottom:1px solid color-mix(in srgb,currentColor 40%,transparent);
}

.seq {
  font-size:12px;
}

.plates p {
  margin-top:4px;
}

.study {
  border:1px solid;
  padding:6%;
  background:var(--paper);
  color:var(--ink);
  transform:rotate(2deg);
}

.study-art {
  height:clamp(120px,24vh,270px);
  background:var(--bg);
  overflow:hidden;
}

.study-art .motif,.large-symbol .motif {
  height:100%;
}

.study-art .motif {
  width:72%;
  margin:auto;
}

.study-note {
  margin-top:18px;
  gap:20px;
}

.mascot {
  width:76px;
  height:84px;
  object-fit:contain;
  object-position:center bottom;
}

.story>.mascot {
  margin-top:20px;
}

.evidence {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(14px,1.7vw,30px);
  margin-top:clamp(24px,5vh,54px);
}

.evidence article {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:start;
  background:var(--paper);
  color:var(--ink);
  padding:clamp(22px,2.2vw,44px);
  border-top:7px solid var(--ink);
  min-height:260px;
}

.evidence article:nth-child(2) {
  background:#e8e3d7;
}

.evidence article:nth-child(3) {
  background:#f9e2c7;
}

.evidence-top {
  width:100%;
  justify-content:space-between;
  gap:5px;
  border-bottom:1px solid #98978e;
  padding-bottom:12px;
}

.evidence h3 {
  font-size:clamp(30px,3vw,53px);
  line-height:1.03;
  margin:26px 0 4px;
}

.evidence p {
  margin:8px 0 18px;
}

.evidence .textlink {
  margin-top:auto;
}

.detail .evidence {
  grid-template-columns:1fr;
  margin:0;
}

.closing {
  padding:clamp(22px,3vw,56px);
  background:var(--paper);
  color:var(--ink);
  border-top:7px solid var(--ink);
}

.large-symbol {
  height:clamp(75px,15vh,160px);
  width:50%;
  margin-bottom:24px;
}

.large-symbol .motif {
  color:var(--blue);
}

.closing .actions {
  margin-top:20px;
}

.coach-link {
  display:inline-flex;
  align-items:end;
  gap:7px;
}

.coach-link .mascot {
  width:44px;
  height:53px;
}

.test-closing>.mascot {
  width:140px;
  height:145px;
}

.is-deck .book {
  height:100vh;
  height:100svh;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}

.is-deck .board {
  position:absolute;
  inset:0;
  height:100%;
  min-height:0;
  overflow:hidden;
}

@media(min-width:901px) and (max-height:740px) {
  :root {
    --mast:58px;
    --foot:46px;
  }
  .board {
    padding-top:calc(var(--mast) + 12px);
    padding-bottom:calc(var(--foot) + 8px);
  }
  .board-content {
    padding-block:15px;
  }
  .artfield {
    max-height:61vh;
  }
  .object-stage .sheet-object {
    max-height:46vh;
    width:auto;
    height:85%;
  }
  .cover .display {
    margin:20px 0;
  }
  .actions {
    margin-top:20px;
  }
  .evidence article {
    min-height:210px;
  }
  .file {
    min-height:240px;
  }
}

@media(max-width:1120px) {
  .primary {
    gap:14px;
    font-size:12px;
  }
  .mast {
    gap:16px;
  }
  .mast-tools {
    gap:8px;
  }
  .brand {
    font-size:24px;
  }
}

@media(max-width:1000px) {
  .primary {
    display:none;
  }
}

@media(max-width:900px) {
  :root {
    --pad:clamp(20px,5vw,40px);
    --mast:60px;
    --foot:48px;
  }
  .board {
    padding-top:calc(var(--mast) + 18px);
    padding-bottom:calc(var(--foot) + 18px);
  }
  .cover-layout,.spread {
    grid-template-columns:1fr;
    gap:28px;
  }
  .cover-layout {
    gap:18px;
  }
  .display,.cover .display,.cover.solo .display {
    font-size:clamp(60px,12vw,104px);
    margin:12px 0 0;
    line-height:.88;
  }
  .cover:not(.solo) h1 {
    word-spacing:-.03em;
  }
  .story .lead {
    font-size:16px;
    line-height:1.45;
    margin-top:14px;
    max-width:48ch;
  }
  .artfield {
    aspect-ratio:1.75;
    min-height:200px;
    max-height:40vh;
    max-width:550px;
    align-self:center;
    justify-self:center;
  }
  .object-stage {
    inset:0 0 22px;
  }
  .sheet-object,.solo .sheet-object {
    width:auto;
    height:78%;
    max-width:none;
  }
  .artfield figcaption {
    font-size:8px;
    padding-top:5px;
  }
  .bl,.br {
    bottom:19px;
  }
  .folder-tab,.print-label,.print-foot {
    font-size:6px;
  }
  .print-title {
    font-size:clamp(22px,6vw,37px);
  }
  .print-foot {
    padding-top:3px;
  }
  .print-label {
    padding-bottom:2px;
  }
  .board-content {
    padding:18px 0;
  }
  .actions {
    gap:10px 18px;
    margin-top:16px;
  }
  .button {
    padding:11px 14px;
    min-height:43px;
  }
  .panel-head .display {
    font-size:clamp(42px,8.4vw,75px);
    line-height:.94;
  }
  .files {
    grid-template-columns:1fr;
    gap:5px;
    margin-top:18px;
  }
  .file {
    display:grid;
    grid-template-columns:44px 1fr auto;
    column-gap:12px;
    align-items:center;
    min-height:0;
    padding:9px 14px;
    clip-path:none;
    border-left:4px solid #ffffff70;
  }
  .file-code {
    display:none;
  }
  .file .motif {
    height:40px;
    width:44px;
    margin:0;
    grid-row:1/3;
  }
  .file h3 {
    font-size:23px;
  }
  .file p {
    font-size:12px;
    margin:2px 0 0;
    grid-column:2;
    grid-row:2;
  }
  .file-arrow {
    grid-column:3;
    grid-row:1/3;
    align-self:center;
    margin:0;
  }
  .evidence {
    grid-template-columns:1fr;
    gap:8px;
    margin-top:16px;
  }
  .evidence article {
    min-height:0;
    padding:12px 16px;
    border-top:0;
    border-left:5px solid;
  }
  .evidence-top {
    padding-bottom:0;
    border:0;
  }
  .evidence h3 {
    font-size:25px;
    margin:5px 0 0;
  }
  .evidence p {
    margin:4px 0;
    font-size:13px;
  }
  .evidence .textlink {
    font-size:12px;
    padding-block:2px;
  }
  .plates li {
    padding:10px 0;
  }
  .plates p {
    font-size:14px;
  }
  .plates h3,.study-note h3 {
    font-size:24px;
  }
  .study {
    padding:4%;
    transform:rotate(1.5deg);
    max-width:500px;
  }
  .study-art {
    height:16vh;
    min-height:90px;
  }
  .study-note {
    margin-top:12px;
    gap:12px;
  }
  .study-note .mascot {
    width:55px;
    height:63px;
  }
  .study-note p {
    margin-top:4px;
  }
  .index-row {
    padding:14px 0;
    grid-template-columns:110px 1fr auto;
    gap:8px;
  }
  .index-row strong {
    font-size:20px;
  }
  .entry-key {
    font-size:12px;
  }
  .markers {
    gap:4px;
  }
  .markers a {
    width:18px;
  }
  .location {
    width:auto;
    gap:4px;
  }
  .location strong {
    display:none;
  }
  .next {
    width:auto;
  }
  .next span {
    display:none;
  }
  .mast-tools .test-link {
    font-size:12px;
  }
  .brand-symbol {
    width:20px;
    height:20px;
  }
  .menu summary {
    width:36px;
    height:36px;
  }
}

@media(max-width:520px) {
  .board-meta {
    font-size:8.5px;
    padding-bottom:10px;
  }
  .board-meta span {
    gap:6px;
  }
  .cover:not(.solo) .display {
    font-size:clamp(82px,22vw,111px);
  }
  .cover:not(.solo) h1 br {
    display:initial;
  }
  .solo .display {
    max-width:15ch;
  }
  .cover .eyebrow {
    font-size:10px;
  }
  .mast {
    gap:8px;
  }
  .brand {
    font-size:23px;
    letter-spacing:-1px;
    gap:5px;
  }
  .test-link {
    padding:8px 10px;
    gap:7px;
  }
  .artfield {
    aspect-ratio:1.48;
    max-height:32vh;
  }
  .board-content {
    padding:16px 0;
  }
  .cover-layout {
    gap:24px;
  }
  .location {
    font-size:10px;
  }
  .next b {
    width:26px;
    height:26px;
  }
  .index-row {
    grid-template-columns:92px 1fr 18px;
  }
  .entry-key {
    align-items:start;
  }
  .chip {
    width:10px;
    height:12px;
    margin-top:3px;
  }
  .textlink,.button {
    font-size:12px;
  }
  .coach-link {
    gap:3px;
  }
  .coach-link .mascot {
    width:35px;
    height:42px;
  }
}

@media(max-width:365px) {
  .mast-tools .test-link {
    font-size:10px;
  }
  .brand {
    font-size:20px;
  }
  .mast-tools {
    gap:5px;
  }
}

@media(max-width:900px) {
  .markers a {
    width:24px;
  }
  .directory .panel-head .display {
    font-size:clamp(40px,8.4vw,75px);
  }
  #deroulement .story>.mascot {
    height:42px;
    width:42px;
    margin-top:6px;
  }
  #deroulement .spread {
    gap:15px;
  }
  .board-meta {
    font-size:10px;
  }
  .figure-key .mascot {
    width:18px;
    height:19px;
  }
}

@media(max-width:900px) and (prefers-reduced-motion:no-preference) {
  .board+.board::before {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:100%;
    height:22px;
    background:var(--bg);
    clip-path:polygon(0 100%,100% 0,100% 100%);
  }
  .board[data-fx="slide"]::before,.board[data-fx="fold"]::before {
    clip-path:polygon(0 0,33% 0,40% 100%,100% 100%,0 100%);
  }
  .board[data-fx="iris"]::before {
    clip-path:ellipse(36% 100% at 72% 100%);
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important;
  }
}

/* Logo officiel (version blanche du site public) posé sur une pastille noire. */
.brand-logo { display:block; height:44px; width:auto; padding:6px 10px; background:#111; border-radius:3px }
@media (max-width:760px) { .brand-logo { height:36px; padding:4px 7px } }

/* Les rubriques reprennent le papier, les onglets et les filets des dossiers. */
.home-cover.cover .display {
  max-width:10ch;
  font-size:clamp(68px,min(7.7vw,12vh),152px);
  line-height:.92;
}
.edition .story .display,.edition .publication .display {
  font-size:clamp(56px,min(6.9vw,11vh),128px);
  line-height:.93;
  overflow-wrap:break-word;
}
.edition .panel-head .display {font-size:clamp(44px,min(5.5vw,9vh),100px)}
.edition .lead {max-width:42ch}
.primary [aria-current],.menu [aria-current="page"] {text-decoration:underline;text-underline-offset:5px}
.local-index summary {display:flex;justify-content:space-between;border:0;border-block:1px solid #b6b4a8;border-radius:0;width:100%;height:auto;padding:9px 0}
.local-index summary::after {content:"+"}
.local-index[open] summary::after {content:"−"}
.local-index a {display:block;margin-left:12px}
.menu nav {overscroll-behavior:contain}
.slip dl {margin:0}
.slip dt {font:700 11px/1.4 var(--mono);text-transform:uppercase;margin-top:10px}
.slip dd {margin:0}
.colophon {
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  flex-wrap:wrap; background:var(--ink); color:var(--paper);
  padding:32px var(--pad) calc(var(--foot) + 32px);
}
.colophon nav {display:flex;flex-wrap:wrap;gap:10px 24px}
.specimen {padding:6%;background:var(--paper);color:var(--ink);border:1px solid;transform:rotate(2deg);box-shadow:7px 8px 0 #17171318}
.specimen .print-frame {border-top:5px solid;border-bottom:1px solid}
.specimen figcaption {display:flex;align-items:center;gap:10px;margin-top:12px;font:700 11px var(--mono);text-transform:uppercase;letter-spacing:.06em}
.specimen figcaption img {width:35px;height:40px}
.index-print nav a {
  display:grid;grid-template-columns:2em 1fr auto;align-items:center;gap:8px;
  padding:clamp(12px,2.6vh,28px) 0;border-bottom:1px solid #aba99e;
}
.index-print nav a:last-child {border:0}
.index-print strong {font:800 clamp(22px,2.3vw,40px)/1.05 Akrobat,sans-serif}
.index-print nav span,.slip .meta,.slip .status,.proof-note>.label,.library .label {
  display:block;font:700 11px/1.4 var(--mono);text-transform:uppercase;letter-spacing:.04em;
}
.index-print nav a:hover strong {text-decoration:underline}
.index-print {position:relative}
.index-print::before {content:"";position:absolute;top:-10px;left:-1px;height:10px;width:36%;background:var(--ink);clip-path:polygon(0 0,91% 0,100% 100%,0 100%)}
.initials {font:900 clamp(100px,14vw,260px)/1 Akrobat,sans-serif;letter-spacing:-.055em;padding:7% 0;color:var(--ink)}
.initials span {display:block;font:700 18px var(--mono);letter-spacing:.1em;text-transform:uppercase}
.profile-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--ink);border:1px solid}
.profile-grid span {text-align:center;background:var(--lilac);font:900 clamp(30px,4.4vw,80px)/1.3 Akrobat,sans-serif}
.profile-grid b {font:700 .4em var(--mono);vertical-align:super}
.profile-grid span:nth-child(n+5) {background:#dbc5fa}
.profile-grid span:nth-child(n+9) {background:#e9ddfa}
.profile-grid span:nth-child(n+13) {background:var(--paper)}
.offer-grid,.slips {display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));grid-auto-flow:column;gap:clamp(14px,1.8vw,32px);margin-top:clamp(18px,3.5vh,42px)}
.offer,.slip {min-width:0;background:var(--paper);color:var(--ink);border-top:5px solid;padding:clamp(14px,1.7vw,32px);display:flex;flex-direction:column;align-items:start}
.paper :is(.offer,.slip) {background:#eae7da}
.offer-grid:has(.offer:only-child) {max-width:900px}
.offer,.slip,.proof-note,.questions,.comparison {font-size:clamp(14px,1.04vw,18px);line-height:1.42}
.offer h3,.slip h3 {font-size:clamp(25px,2.45vw,42px);line-height:1.03;margin:4px 0 9px}
.offer dl {display:grid;grid-template-columns:minmax(95px,.65fr) 1.5fr;width:100%;margin:0}
.offer dt,.offer dd {margin:0;padding:5px 0;border-bottom:1px solid #b6b4a8}
.offer dt {padding-right:10px;font-weight:bold}
.offer .actions {margin-top:9px}
.proof-note {border-left:3px solid var(--red);padding-left:12px;margin-top:15px}
.proof-note h3 {font-size:1.4em}
.proof-note .mascot {float:left;width:38px;height:44px;margin-right:8px}
.slip p+p,.slip .textlink,.slip .status {margin-top:10px}
.slip .source,.slip .status {color:#4c4d45}
.questions {border-top:2px solid}
.questions details {border-bottom:1px solid}
.questions summary {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;font:800 clamp(22px,2vw,32px)/1.12 Akrobat,sans-serif;list-style:none}
.questions summary::after {content:"+";font:400 24px var(--mono)}
.questions details[open] summary::after {content:"−"}
.questions details p {padding-bottom:16px}
.comparison {width:100%;border-collapse:collapse;text-align:left;margin-top:26px;table-layout:fixed}
.comparison th,.comparison td {text-align:left;vertical-align:top;border-bottom:1px solid #17171350;padding:13px 8px;overflow-wrap:break-word}
.comparison thead th {font:700 11px var(--mono);text-transform:uppercase;border-block:1px solid}
.comparison tbody th {font:800 clamp(20px,1.7vw,32px)/1.04 Akrobat,sans-serif}
.comparison small {display:block;font:normal 12px/1.3 Arial,sans-serif;margin-top:5px}
.comparison td .textlink {display:inline;font:700 13px/1.6 Arial,sans-serif}
.comparison:has(th:nth-child(8)) th:nth-child(4) {width:20%}
.comparison:has(th:nth-child(8)) th:nth-child(6),.comparison:has(th:nth-child(8)) th:nth-child(7) {width:9%}
.filter-bar {display:flex;align-items:end;flex-wrap:wrap;gap:14px 24px;margin-top:20px}
.filter-bar fieldset {border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:5px}
.filter-bar legend,.filter-bar label {font:700 11px var(--mono);text-transform:uppercase}
.filter-bar legend {margin-bottom:7px}
.filter-bar button,.catalog-nav button,.filter-bar select {background:var(--paper);color:var(--ink);border:1px solid #7d7d74;border-radius:2px;padding:8px;font:650 13px/1.2 Arial,sans-serif;min-height:38px}
.filter-bar select {display:block;margin-top:7px;max-width:100%}
.filter-bar button {display:inline-flex;align-items:center;gap:6px}
.filter-bar button[aria-pressed="true"] {color:var(--paper);background:var(--ink)}
.library {grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr))}
.library .slip[hidden] {display:none}
.library .slip {border-top-color:var(--ink)}
.library .meta {font-size:10px;margin:4px 0 8px}
.library .actions {margin-top:auto;padding-top:10px}
.catalog-nav {margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}
.catalog-nav button:disabled {opacity:.5;cursor:default}
.sr-only {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
button:focus-visible,select:focus-visible {outline:3px solid currentColor;outline-offset:3px}
@media(max-width:900px) {
  .board {padding-inline:clamp(26px,6.8vw,42px)}
  .edition .story .display,.edition .publication .display,.home-cover.cover .display {font-size:clamp(48px,13.8vw,88px);line-height:.95}
  .edition .panel-head .display {font-size:clamp(40px,10vw,75px)}
  .edition .offer-grid,.edition .slips {grid-auto-flow:row;grid-template-columns:1fr}
  .edition .comparison,.comparison tbody,.comparison tr {display:block}
  .comparison thead {position:absolute;clip-path:inset(100%);width:1px;height:1px;overflow:hidden}
  .comparison tbody th {display:block;background:var(--ink);color:var(--paper);padding:12px;margin-top:15px}
  .comparison td {display:grid;grid-template-columns:36% 1fr;gap:8px;padding:7px 0}
  .comparison td::before {content:attr(data-label);font-weight:700}
  .comparison td .textlink {justify-self:start}
  .filter-bar {display:grid}
  .catalog-nav {flex-wrap:wrap}
  .markers {gap:2px}
  .markers a {width:clamp(14px,4.7vw,24px)}
  .specimen {transform:rotate(1deg)}
  .edition .solo .display {max-width:none}
}

/* ——— Tirages ———
   Les photos du client s’impriment en bichromie dans la couleur du dossier : l’image passe en
   niveaux de gris et se multiplie sur la couleur (ombres à l’encre, lumières dans la couleur).
   .clair inverse le tirage (couleur → blanc) ; .brut garde les bandeaux d’analyse d’origine.
   .print ajoute la marge papier, .glisse sort le tirage d’une chemise, .agrafe l’épingle à une fiche. */
.tirage {
  --tint:var(--color,var(--red));
  position:relative;
  isolation:isolate;
  overflow:hidden;
  aspect-ratio:var(--ratio,3/2);
  margin:0;
  background:var(--tint);
}
.tirage img {
  position:absolute;
  left:0;
  top:-8%;
  width:100%;
  height:116%;
  object-fit:cover;
  object-position:var(--focus,50% 50%);
  filter:grayscale(1) contrast(var(--contrast,1.28)) brightness(var(--light,1.1));
  mix-blend-mode:multiply;
}
.tirage::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(#1515133d .55px,transparent .9px) 0 0/4px 4px;
  mix-blend-mode:multiply;
}
.tirage.clair img {mix-blend-mode:screen;filter:grayscale(1) contrast(var(--contrast,1.15)) brightness(var(--light,.9))}
.tirage.brut {background:#0b0b0a}
.tirage.brut img {filter:none;mix-blend-mode:normal}
.tirage.brut::after {display:none}
.print {
  position:relative;
  margin:0;
  padding:7px 7px 0;
  background:var(--paper);
  color:var(--ink);
  border:1px solid #17171326;
  box-shadow:5px 7px 0 #17171320;
  transform:rotate(var(--tilt,-2deg));
}
.print>figcaption {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:6px 1px 7px;
  font:700 9px/1 var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.print .barcode {width:24%}
.sheet-object:has(>.glisse) {position:relative}
.sheet-object>.glisse {position:absolute;z-index:-1;width:76%;right:-17%;top:-14%;--tilt:8deg}
.sheet-object>.glisse .tirage {--ratio:4/3}
.object-stage>.glisse {grid-area:1/1;width:42%;max-width:290px;transform:translate(62%,-80%) rotate(8deg)}
.pair {display:flex;align-items:end;margin-top:clamp(18px,3.4vh,34px)}
.pair>.print {width:min(78%,390px,calc(36vh - 60px));flex:none}
.pair.large>.print {width:min(78%,400px,calc(46vh - 60px))}
.pair>.mascot {position:relative;z-index:1;margin-left:-26px;margin-bottom:-12px}
.detail>.print {width:86%;margin:0 0 clamp(12px,2.6vh,28px) auto;--tilt:1.5deg}
.detail>.print .tirage {--ratio:5/2;max-height:calc(100vh - 560px)}
.study-art:has(>.tirage) {position:relative}
.study-art>.tirage,.file-visual>.tirage,.large-symbol>.tirage {position:absolute;inset:0;aspect-ratio:auto}
.study-art>.tirage~.motif,.large-symbol>.tirage~.motif {position:relative;z-index:1;color:var(--paper)}
.large-symbol:has(>.tirage) {position:relative;width:100%;height:clamp(100px,20vh,200px)}
.file-visual {position:relative;height:clamp(75px,13vh,130px);margin:15px 0}
.file .file-visual>.motif {position:relative;z-index:1;height:100%;margin:0;color:var(--paper)}
.fiche-tete {display:flex;align-items:start;justify-content:space-between;gap:14px;width:100%}
.fiche-tete>:first-child {min-width:0}
.agrafe {flex:none;width:clamp(74px,7.4vw,118px);margin-top:16px;--tilt:3deg}
.agrafe::before {
  content:"";
  position:absolute;
  z-index:1;
  left:50%;
  top:-9px;
  width:52%;
  height:17px;
  translate:-50% 0;
  rotate:-5deg;
  background:#fffdf2c4;
  border:1px solid #1717131a;
}
.agrafe .tirage {--ratio:1}
.specimen:has(>.agrafe) {position:relative}
.specimen>.agrafe {position:absolute;z-index:2;margin:0;top:-7%;right:-4%;width:36%;max-width:210px;--tilt:5deg}
.specimen>.agrafe .tirage {--ratio:4/5}
.detail:has(>.derriere) {position:relative}
.detail>.derriere {position:absolute;z-index:0;width:min(52%,320px);right:-2%;top:-15%;--tilt:-6deg}
.detail>.derriere~.specimen {position:relative;z-index:1}
.offer-grid.with-print {grid-auto-flow:row;grid-template-columns:minmax(0,900px) minmax(0,1fr);align-items:center}
.offer-grid.with-print>.print {--tilt:2.5deg}
.fan {display:flex;align-items:end;flex:none}
.fan>.print {width:clamp(100px,10.4vw,176px);--tilt:-5deg}
.fan>.print+.print {margin-left:-14px;--tilt:2.5deg;margin-bottom:12px}
.fan>.print:last-child {--tilt:-1.5deg;margin-bottom:0}
.fan .tirage {--ratio:3/4}
.slip>.tirage.bande {--ratio:16/7;width:100%;margin-bottom:12px}
.temoins {display:grid;gap:clamp(12px,2vh,20px);margin-top:clamp(14px,2.4vh,24px)}
.temoin {display:grid;grid-template-columns:clamp(56px,4.6vw,80px) minmax(0,1fr);gap:5px 14px;align-items:start;margin:0}
.temoin .tirage {--ratio:4/5;--focus:50% 22%;grid-row:1/3;rotate:-2deg;box-shadow:0 0 0 4px var(--paper),3px 6px 0 4px #17171322}
.temoin blockquote {margin:0;font-size:clamp(13px,.96vw,16px);line-height:1.42}
.temoin blockquote p {margin:0}
.temoin figcaption {display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px}
.temoin figcaption strong {font:800 clamp(17px,1.3vw,22px)/1.05 Akrobat,sans-serif}
.temoin figcaption span,.credit {font:700 10px/1.35 var(--mono);letter-spacing:.05em;text-transform:uppercase}
.credit {margin-top:10px;opacity:.72}
.trombi {list-style:none;margin:clamp(16px,3vh,34px) 0 0;padding:0;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:clamp(8px,.9vw,14px)}
.trombi li {display:flex;flex-direction:column;gap:7px;min-width:0}
.trombi .tirage {aspect-ratio:auto;height:clamp(88px,15vh,180px);--focus:50% 16%}
.trombi strong {font:800 clamp(15px,1.12vw,20px)/1.02 Akrobat,sans-serif}
.trombi span {font:700 9px/1.3 var(--mono);letter-spacing:.04em;text-transform:uppercase;overflow-wrap:break-word}
.temoins.bande {grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,1.8vw,32px)}
@media(min-width:901px) and (max-height:820px) {
  .temoin blockquote {font-size:13px;line-height:1.38}
  .temoins {gap:10px;margin-top:12px}
  .temoin {grid-template-columns:52px minmax(0,1fr)}
  .trombi {margin-top:12px}
  .trombi .tirage {height:12vh}
  .spread:has(+.trombi) .plates li {padding-block:8px}
}
@media(max-width:900px) {
  .object-stage>.glisse {width:38%}
  .pair>.print,.pair.large>.print {width:min(74%,340px)}
  .detail>.print {width:100%;--tilt:1deg}
  .file .file-visual {grid-row:1/3;width:44px;height:40px;margin:0}
  .agrafe {width:64px;margin-top:6px}
  .specimen>.agrafe {width:30%}
  .detail>.derriere {position:relative;top:auto;right:auto;width:62%;margin:0 0 -34px auto;--tilt:-4deg}
  .offer-grid.with-print {grid-template-columns:1fr}
  .trombi {grid-template-columns:repeat(3,minmax(0,1fr))}
  .temoin blockquote {font-size:14px}
  .temoins.bande,.temoins.seul {grid-template-columns:1fr}
}
.temoins.seul {grid-template-columns:minmax(0,760px) auto;align-items:end;column-gap:28px}
.temoins.seul .credit {margin:0;max-width:28ch}

/* Entreprise et Sportif n'ont pas la classe .edition : fiches empilées sur mobile comme ailleurs. */
@media (max-width:900px) {
  body:not(.edition) .slips,body:not(.edition) .offer-grid {grid-auto-flow:row;grid-template-columns:1fr}
}
