:root {
  --color-page: #f4efe6;
  --color-surface: #fffaf3;
  --color-ink: #241c14;
  --color-muted: #5e5145;
  --color-line: #e3d3bf;
  --color-accent: #7a4e24;
  --color-night: #10192b;
  --color-night-2: #1b2942;
  --color-gold: #f0d7a2;
  --color-header: #10192b;
  --color-header-text: #f6efe4;
  --color-header-muted: #d9cbb8;
  --shadow: 0 28px 60px rgba(8, 12, 22, 0.38);
  --max: 1120px;
  --header-progress: 0;
  --ease-header: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  background: var(--color-page);
  color: var(--color-ink);
  line-height: 1.55;
}

a { color: var(--color-accent); }

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--color-surface);
  color: var(--color-ink);
  padding: 8px 12px;
  z-index: 5;
}

.skip:focus { top: 12px; }

.site-header {
  --header-progress: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: calc(10px - 2px * var(--header-progress)) 18px calc(12px - 4px * var(--header-progress));
  background: transparent;
  color: var(--color-header-text);
  pointer-events: none;
}

.header-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: max-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  min-height: calc(52px - 6px * var(--header-progress));
  padding: 4px calc(10px + 8px * var(--header-progress));
  background: color-mix(in srgb, #10192b calc(var(--header-progress) * 90%), transparent);
  border: calc(1px * var(--header-progress)) solid color-mix(in srgb, var(--color-gold) calc(var(--header-progress) * 48%), transparent);
  border-radius: calc(999px * var(--header-progress));
  box-shadow: 0 calc(10px * var(--header-progress)) calc(32px * var(--header-progress)) rgba(8, 12, 22, calc(0.38 * var(--header-progress)));
  backdrop-filter: blur(calc(16px * var(--header-progress)));
  -webkit-backdrop-filter: blur(calc(16px * var(--header-progress)));
  transform: translate3d(0, calc(8px * var(--header-progress)), 0);
  transition:
    max-width 0.3s var(--ease-header),
    padding 0.3s var(--ease-header),
    min-height 0.3s var(--ease-header),
    background 0.3s var(--ease-header),
    border-radius 0.3s var(--ease-header),
    box-shadow 0.3s var(--ease-header),
    backdrop-filter 0.3s var(--ease-header),
    transform 0.3s var(--ease-header);
}

body.page-read .site-header { --header-progress: 1; }

.band,
.close { scroll-margin-top: 96px; }

.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-header-text);
  text-decoration: none;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 650;
}

.iris {
  width: 26px;
  height: 26px;
  flex: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-header nav a {
  color: var(--color-header-muted);
  text-decoration: none;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 999px;
}

.site-header nav a:hover,
.site-header nav a:focus { color: var(--color-header-text); }

.site-header nav a.lire,
.btn-gold {
  color: var(--color-night);
  background: var(--color-gold);
  text-decoration: none;
}

.site-header nav a.lire:hover,
.site-header nav a.lire:focus,
.btn-gold:hover,
.btn-gold:focus { background: #ffe7bc; }

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  display: block;
  overflow: hidden;
  color: var(--color-header-text);
  background: #070b14;
}

img.stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.stage-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.28) 0%, transparent 16%, transparent 78%, rgba(6, 10, 18, 0.28) 100%);
  pointer-events: none;
}

@keyframes stage-drift {
  to { transform: scale(1.1) translate3d(-1.2%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .stage { animation: none; }
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 84px 0 72px;
}

.hero-copy {
  width: min(34rem, 100%);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.mark,
.site-header nav a {
  text-shadow: 0 1px 8px rgba(0, 0, 0, calc(0.8 * (1 - var(--header-progress))));
}

.book {
  position: absolute;
  z-index: 1;
  right: max(28px, calc((100% - 1180px) / 2));
  top: 46%;
  margin: 0;
  perspective: 1400px;
  transform: translateY(-50%);
}

.book-3d {
  position: relative;
  height: min(50vh, 440px);
  width: auto;
  aspect-ratio: 618 / 720;
  transform: rotateY(-18deg) rotateX(3deg);
  transform-style: preserve-3d;
  border-radius: 3px 10px 10px 3px;
  box-shadow:
    1px 0 0 rgba(255, 236, 200, 0.25),
    28px 36px 48px rgba(0, 0, 0, 0.55);
  animation: book-rest 7s ease-in-out infinite;
}

.book-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 16px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, #140e0a 0%, #6a4a32 42%, #2a1b14 100%);
}

.book-pages {
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: -11px;
  width: 12px;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(
    90deg,
    #f7f1e6 0 1px,
    #e7dcc8 1px 2px
  );
}

.book-ribbon {
  position: absolute;
  top: -1px;
  right: 22%;
  width: 11px;
  height: 112%;
  background: linear-gradient(#9d2433, #6e1522);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
  box-shadow: 2px 8px 10px rgba(0, 0, 0, 0.28);
}

@keyframes book-rest {
  50% { transform: rotateY(-14deg) rotateX(2deg) translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .book-3d { animation: none; }
}

.kicker {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 14px;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  font-size: clamp(3.6rem, 6vw, 6.1rem);
  line-height: 0.84;
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}

.hero h1 .of {
  margin: 10px 0 6px;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.16em;
  font-weight: 650;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #d9cbb8;
}

.hero h1 .senne {
  color: var(--color-gold);
  font-style: italic;
  letter-spacing: -0.04em;
}

.lede {
  font-size: 1.16rem;
  color: #efe4d4;
  margin: 0 0 18px;
  max-width: 38rem;
}

.quote {
  margin: 0 0 26px;
  padding-left: 14px;
  border-left: 2px solid var(--color-gold);
  color: var(--color-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 650;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
}

.status {
  margin: 14px 0 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
  color: #d9cbb8;
}

.status.on-paper { color: var(--color-muted); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn.btn-line {
  color: var(--color-gold);
  background: transparent;
  border: 1px solid rgba(240, 215, 162, 0.75);
  text-decoration: none;
}

.btn.btn-line:hover,
.btn.btn-line:focus { background: rgba(240, 215, 162, 0.16); }

#chapitres,
#auteur { scroll-margin-top: 96px; }

.chapters-actions { margin: 22px 0 0; }

.close .bio { max-width: 40rem; }

.close .bio p { margin: 0 0 14px; }

.close h2 { margin: 0 0 16px; }

.book-block {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.7fr);
  gap: 36px 64px;
  align-items: end;
}

.book-pitch {
  margin: 0 0 22px;
  max-width: 38rem;
  font-size: 1.28rem;
}

.book-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.book-facts li {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--color-line);
  font-size: 1.05rem;
}

.book-facts span {
  display: block;
  margin-bottom: 2px;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.under {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-gold);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.under-arrow {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  transform: rotate(45deg);
  animation: under-bob 1.5s ease-in-out infinite;
}

.under:hover,
.under:focus { color: #ffe7bc; }

.under:hover .under-arrow,
.under:focus .under-arrow { border-color: #ffe7bc; }

@keyframes under-bob {
  50% { transform: translateY(6px) rotate(45deg); }
}

.band { padding: 88px 0; }

.band-below {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  padding-top: 96px;
  pointer-events: none;
  overflow: hidden;
  color: #f6efe4;
  background: #10192b;
}

.band-below::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  width: 100%;
  height: calc(100vw * 389 / 1280);
  top: calc((100svh - 100vw * 720 / 1280) / 2 + 100vw * 650 / 1280 - 100svh + 2px);
  background: url("../../images/tunnel_suite.jpg?v=9") center top / 100% 100% no-repeat;
  pointer-events: none;
}

.band-below::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.28), transparent);
  pointer-events: none;
}

.band-below .wrap { position: relative; z-index: 1; pointer-events: auto; }

.band-below .book-pitch { color: #efe4d4; }

.band-below .book-facts li { border-top-color: rgba(240, 215, 162, 0.32); }

.band-below .book-facts span,
.band-below .kicker { color: var(--color-gold); }

.band-below .status.on-paper { color: #d9cbb8; }

.band h2,
.close h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin: 0 0 10px;
}

.section-lead {
  margin: 0 0 28px;
  max-width: 38rem;
  color: var(--color-muted);
}

.people,
.cards,
.openings {
  display: grid;
  gap: 18px;
}

.people { grid-template-columns: 1fr 1fr; }

.people article {
  padding: 8px 8px 8px 0;
}

.people h3,
.cards h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 500;
}

.people p,
.cards p { margin: 0; }

.band-night {
  background: var(--color-night);
  color: #f6efe4;
}

#personnages.band-night {
  background-color: #10192b;
  background-image:
    linear-gradient(180deg, rgba(8, 12, 22, 0.5) 0%, rgba(8, 12, 22, 0.08) 24%, rgba(8, 12, 22, 0) 46%, rgba(8, 12, 22, 0.2) 100%),
    url("../../images/rue_maisons.jpg?v=1");
  background-repeat: no-repeat;
  background-size: auto, cover;
  background-position: center, center 46%;
}

.band-night .section-lead { color: #d9cbb8; }

#personnages { scroll-margin-top: 96px; }

.cast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "prev stage next"
    ". count .";
  gap: 14px 18px;
  align-items: center;
}

.cast-viewport {
  grid-area: stage;
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: transparent;
}

.cast-arrow {
  grid-area: prev;
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(240, 215, 162, 0.75);
  background: transparent;
  color: var(--color-gold);
  cursor: pointer;
}

.cast-arrow-next { grid-area: next; }

.cast-arrow::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 22px;
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.cast-arrow-next::before {
  left: 18px;
  border-left: 0;
  border-right: 2px solid currentColor;
  transform: rotate(-45deg);
}

.cast-arrow:hover,
.cast-arrow:focus {
  background: var(--color-gold);
  color: var(--color-night);
}

.cast-card { display: none; }

.cast-card.is-on {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: cast-in 0.35s var(--ease-header);
}

.cast-card img {
  width: min(460px, 100%);
  height: min(58vh, 520px);
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
}

.cast-copy { max-width: 34rem; padding: 4px 8px 0; }

.cast-role {
  margin: 0 0 8px;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.cast-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 500;
  color: #f6efe4;
}

@keyframes cast-in {
  from { opacity: 0; transform: translateX(28px); }
}

.cast-copy p:last-child {
  margin: 0;
  color: #efe4d4;
  font-size: 1.08rem;
}

.cast-count {
  grid-area: count;
  justify-self: center;
  margin: 4px 0 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.band-tint { background: #e9dfd0; }

#bruxelles {
  position: relative;
  overflow: hidden;
  background: var(--color-page);
  min-height: calc(100vw * 720 / 1280);
  padding-bottom: 48px;
}

.bruxelles-carte {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  transform: none;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 64px), transparent 100%);
}

#bruxelles::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 239, 230, 0.16);
  pointer-events: none;
  z-index: 1;
}

#bruxelles .wrap {
  position: relative;
  z-index: 2;
}

#bruxelles .bruxelles-intro {
  width: fit-content;
  max-width: min(38rem, 100%);
  margin: 0 0 6px;
  padding: 10px 18px 2px;
  background: rgba(244, 239, 230, 0.92);
  border-radius: 14px;
}

#bruxelles .bruxelles-intro .section-lead {
  margin-bottom: 12px;
}

#bruxelles .folio-count {
  padding: 4px 12px 3px;
  background: rgba(244, 239, 230, 0.92);
  border-radius: 999px;
}

#bruxelles .debut-block {
  margin-top: 10px;
  scroll-margin-top: 96px;
}

#bruxelles .debut-intro {
  width: fit-content;
  max-width: min(40rem, 100%);
  margin: 0 0 18px;
  padding: 12px 18px 2px;
  background: rgba(244, 239, 230, 0.92);
  border-radius: 14px;
}

#bruxelles .debut-intro .section-lead {
  margin-bottom: 12px;
}

#bruxelles .opening img { height: 184px; }

.folio {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "prev stage next"
    ". count .";
  gap: 14px 18px;
  align-items: center;
}

.folio-stage {
  grid-area: stage;
  display: grid;
  min-width: 0;
  perspective: 1800px;
  position: relative;
  outline: none;
}

.folio-stage:focus-visible {
  border-radius: 16px;
  box-shadow: 0 0 0 3px rgba(122, 78, 36, 0.35);
}

.folio-page {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: center;
  background: var(--color-surface);
  border-radius: 16px;
  overflow: hidden;
  transform-origin: left center;
  backface-visibility: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: transform 1.7s cubic-bezier(0.55, 0.08, 0.2, 1);
}

.folio-page.is-on,
.folio-page.is-under,
.folio-page.is-turn,
.folio-page.is-from-left,
.folio-page.is-arrive {
  visibility: visible;
}

.folio-page.is-on { pointer-events: auto; z-index: 1; }

.folio-page.is-under { z-index: 1; }

.folio-page.is-turn,
.folio-page.is-from-left,
.folio-page.is-arrive { z-index: 3; }

.folio-page.is-turn { transform: rotateY(-172deg); }

.folio-page.is-from-left {
  transform: rotateY(-172deg);
  transition: none;
}

.folio-page.is-arrive { transform: rotateY(0deg); }

.folio-page img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.folio-copy { padding: 22px 28px 26px 8px; }

.folio-copy .step {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.folio-copy h3 {
  margin: 4px 0 8px;
  font-size: 1.45rem;
  font-weight: 500;
}

.folio-copy p:last-child { margin: 0; }

.folio-arrow {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-accent);
  cursor: pointer;
}

.folio-prev { grid-area: prev; }
.folio-next { grid-area: next; }

.folio-arrow::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 22px;
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.folio-next::before {
  left: 18px;
  border-left: 0;
  border-right: 2px solid currentColor;
  transform: rotate(-45deg);
}

.folio-arrow:hover,
.folio-arrow:focus-visible {
  background: var(--color-accent);
  color: var(--color-surface);
}

.folio-count {
  grid-area: count;
  justify-self: center;
  margin: 4px 0 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .folio-page { transition: none; }
}

.chapter-figure { margin: 8px 0 26px; }

.chapter-figure img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.cards { grid-template-columns: repeat(3, 1fr); }

.cards article {
  min-height: 100%;
  padding: 22px 22px 26px;
  background: var(--color-surface);
  border-radius: 16px;
}

.openings {
  list-style: none;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(4, 1fr);
}

.openings li {
  background: var(--color-surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(36, 28, 20, 0.06);
}

.opening {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.opening img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.opening .label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 18px;
}

.opening .num {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.opening .title { font-size: 1.15rem; }

.openings a:hover .title,
.openings a:focus .title { text-decoration: underline; }

.close {
  background: var(--color-night);
  color: var(--color-header-text);
  padding: 72px 0;
}

.close p { margin: 0; color: #efe4d4; max-width: 36rem; }

.close-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer {
  background: #0c1320;
  color: var(--color-header-muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.88rem;
}

.footer-inner,
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.site-footer p { margin: 0; }

.site-footer strong { color: var(--color-header-text); font-weight: 650; }

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-footer a {
  color: var(--color-gold);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus { color: #ffe7bc; }

.reading {
  width: min(42rem, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 36px;
}

.reading h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 22px;
}

.reading p { font-size: 1.12rem; }

.book-ui {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 56px;
}

.book-ui .reading {
  width: auto;
  margin: 0;
  padding: 28px 32px 40px;
  background: var(--color-surface);
  border-radius: 18px;
}

.book-sheet { --read: 1.12rem; }
.book-sheet[data-text="s"] { --read: 1rem; }
.book-sheet[data-text="l"] { --read: 1.28rem; }
.book-ui .reading p { font-size: var(--read); }
.book-ui .sms { background: var(--color-page); }
.book-ui .sms p { font-size: calc(var(--read) * 0.92); }

.book-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.book-ui .book-tools p {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.book-size { display: flex; gap: 6px; }

.book-size button {
  width: 40px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-page);
  color: var(--color-ink);
  font: 650 0.95rem "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
}

.book-size button:hover,
.book-size button:focus { border-color: var(--color-accent); }

.book-toc {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding-right: 4px;
}

.toc-cover {
  width: 132px;
  margin: 0 0 16px;
  border-radius: 3px 10px 10px 3px;
  box-shadow: 8px 14px 28px rgba(8, 12, 22, 0.28);
}

.toc-note,
.toc-rest {
  margin: 0 0 12px;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.book-toc ol {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.book-toc a,
.book-toc li p {
  display: block;
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--color-ink);
  text-decoration: none;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
}

.book-toc a {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
}

.book-toc li p { color: var(--color-muted); }

.book-toc span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.toc-back {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.88rem;
}

.faq-list { display: grid; gap: 10px; }

.faq-list details {
  background: var(--color-surface);
  border-radius: 14px;
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 18px;
  font-size: 1.08rem;
  list-style: none;
}

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

.faq-list details p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--color-muted);
}

.contact-block { max-width: 38rem; }

.contact-block p { margin: 0 0 12px; font-size: 1.12rem; }

.legal {
  width: min(42rem, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 64px;
}

.legal h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 8px;
}

.legal h2 {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 1.6em 0 0.4em;
}

.legal p { font-size: 1.05rem; }

.legal-updated {
  margin: 0 0 8px;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.kicker.dark,
.reading .kicker { color: var(--color-accent); }

.map-line {
  font-style: italic;
  color: var(--color-accent);
}

.sms {
  margin: 8px 0 22px;
  padding: 8px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 14px;
}

.sms p { margin: 10px 0; font-size: 1.02rem; }

.sms span {
  display: block;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.end-note {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.95rem !important;
  color: var(--color-muted);
}

.btn-ghost.dark {
  color: var(--color-ink);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

.btn-ghost.dark:hover,
.btn-ghost.dark:focus {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

@media (max-width: 980px) {
  .openings { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .header-shell { transition: none; }
  .under-arrow { animation: none; }
  .cast-card.is-on { animation: none; }
}

@media (max-width: 980px) {
  .header-shell {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2px;
  }

  .site-header nav {
    justify-content: center;
  }
}

@media (max-width: 800px) {
  .site-header { padding-left: 10px; padding-right: 10px; }

  .header-shell {
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc(100% - 16px);
    border-radius: calc(22px * var(--header-progress));
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header nav a {
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 8px 8px;
  }
  .cast {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "stage stage"
      "prev next"
      "count count";
  }

  .cast-arrow { justify-self: center; }

  .folio {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "stage stage"
      "prev next"
      "count count";
  }

  .folio-arrow { justify-self: center; }

  #bruxelles {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 56px;
  }

  #bruxelles .debut-block { margin-top: 36px; }

  #bruxelles .debut-intro {
    width: auto;
    max-width: none;
    margin: 0 0 8px;
    padding: 0;
    background: none;
    border-radius: 0;
  }

  #bruxelles .opening img { height: 180px; }

  .bruxelles-carte {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .bruxelles-carte {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    margin-bottom: 28px;
    transform: none;
  }

  #bruxelles::after { display: none; }

  .folio-page { grid-template-columns: 1fr; }

  .folio-copy { padding: 16px 18px 22px; }

  .cast-card img { height: 340px; }

  #personnages,
  .band,
  .close { scroll-margin-top: 180px; }

  .cast-copy { padding: 18px 18px 22px; }

  .hero,
  .hero-layout { min-height: 100svh; }
  .hero-layout {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 92px 0 88px;
  }
  .stage { object-position: center 62%; }
  .book {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    justify-self: end;
  }
  .book-3d { height: auto; width: min(46vw, 190px); }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 4.2rem); }
  .under { bottom: 14px; }
  .people,
  .cards,
  .book-block,
  .book-ui,
  .close-inner,
  .footer-inner { grid-template-columns: 1fr; display: grid; }
  .book-ui { width: min(1120px, calc(100% - 32px)); padding-top: 148px; }
  .book-toc { position: static; max-height: none; }
  .book-ui .reading { padding: 20px 16px 32px; }
  .band { padding: 56px 0; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .close-inner,
  .footer-inner { display: grid; }
  .opening img { height: 180px; }
}

@media (max-aspect-ratio: 16/9) {
  .band-below::before {
    width: calc(100svh * 1280 / 720);
    height: calc(100svh * 389 / 720);
    left: 50%;
    transform: translateX(-50%);
    top: calc(100svh * -70 / 720 + 2px);
  }
}
