:root { --ink: #101820; --slate: #344956; --mineral: #718995; --ivory: #F0EDE7; --champagne: #D5B58F; color-scheme: light; background: var(--ivory); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 400 1rem/1.65 'Instrument Sans', sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: 'Syne', sans-serif; font-weight: 600; }
a { color: inherit; text-underline-offset: .3em; }
a:focus-visible { outline: 2px solid var(--slate); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
.page-width { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 16px; padding: 10px 16px; color: var(--ink); background: var(--ivory); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--ink); color: var(--ivory); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; width: 164px; flex-shrink: 0; padding: 7px 12px; border-radius: 3px; background: var(--ivory); }
.brand img { width: 100%; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 14px 30px; font-size: .8125rem; }
.site-header nav a { padding-block: 10px; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.site-header nav a span { color: var(--champagne); margin-left: 10px; }
.site-header a:focus-visible, .it-hero a:focus-visible { outline-color: var(--champagne); }
/* Bandeau indépendant : aucune règle de carte ou de grille éditoriale ici. */
.it-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 640px; background: var(--ink); color: var(--ivory); }
.hero-landscape { position: absolute; z-index: -4; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.it-hero::before { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgb(16 24 32 / .66) 0%, rgb(16 24 32 / .58) 34%, rgb(20 47 53 / .12) 72%, rgb(16 24 32 / .08)), linear-gradient(0deg, rgb(16 24 32 / .72), transparent 50%); }
.hero-pixels { position: absolute; z-index: -3; inset: 0; pointer-events: none; opacity: .9; mask-image: linear-gradient(90deg, transparent 52%, rgb(0 0 0 / .55) 68%, #000 84%); }
.hero-pixels img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 50%; image-rendering: pixelated; }
.hero-grid { position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .6; background-image: linear-gradient(rgb(240 237 231 / .17) 1px, transparent 1px), linear-gradient(90deg, rgb(240 237 231 / .17) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, transparent 52%, #000 94%); }
.hero-content { position: relative; padding-block: 64px 98px; }
.hero-eyebrow { color: var(--champagne); margin-bottom: 24px; }
.hero-eyebrow span { margin-inline: 12px; color: var(--mineral); }
h1 { font-size: clamp(3.4rem, 7.7vw, 7.1rem); line-height: 1.02; letter-spacing: -.065em; }
h1 > span { color: var(--champagne); }
.it-hero h2 { margin-top: 30px; max-width: 25ch; font-size: clamp(1.45rem, 2.6vw, 2.35rem); line-height: 1.25; letter-spacing: -.03em; }
.hero-introduction { margin-top: 26px; max-width: 49ch; font-size: 1rem; line-height: 1.85; color: #d2d9d8; }
.hero-link { display: inline-flex; align-items: center; gap: 26px; margin-top: 32px; padding-block: 8px; font-size: .8125rem; text-decoration: none; }
.hero-link span { color: var(--champagne); }
.hero-link:hover { text-decoration: underline; }
.hero-interface { position: absolute; top: 180px; right: max(48px, calc((100vw - 1200px) / 2)); width: clamp(250px, 23vw, 310px); color: var(--ivory); padding: 20px; border: 1px solid rgb(240 237 231 / .22); background: rgb(16 24 32 / .76); font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; }
.interface-heading { display: flex; align-items: center; gap: 8px; font-size: .625rem; letter-spacing: .12em; }
.signal { width: 4px; height: 4px; border-radius: 50%; background: var(--champagne); }
.interface-notice { margin-top: 6px; color: var(--champagne); font-size: .5625rem; line-height: 1.5; }
.interface-data { margin: 18px 0 0; font-size: .625rem; line-height: 1.7; }
.interface-data > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; margin-top: 5px; }
.interface-data dt { color: #b3c2c7; }
.interface-data dd { margin: 0; overflow-wrap: anywhere; }
/* L'état de base est statique. Sans support du média scripting, il le reste.
   En présence de scripts autorisés, CSS seul joue une révélation unique. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .hero-pixels { animation: hero-pixels-reveal 5.4s ease-in-out 1 both; }
  .hero-grid { animation: hero-grid-reveal 5.4s ease-in-out 1 both; }
  .hero-interface { animation: hero-data-reveal 5.4s ease-in-out 1 both; }
}
@keyframes hero-pixels-reveal {
  0%, 22% { opacity: 0; }
  65%, 100% { opacity: .9; }
}
@keyframes hero-grid-reveal {
  0%, 44% { opacity: 0; }
  86%, 100% { opacity: .6; }
}
@keyframes hero-data-reveal {
  0%, 66% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-caption { position: absolute; right: max(48px, calc((100vw - 1200px) / 2)); bottom: 30px; font-size: .625rem; letter-spacing: .05em; color: #c0d0d0; }
.editorial-intro { padding-block: 76px 72px; text-align: center; }
.editorial-intro .eyebrow { color: var(--slate); margin-bottom: 24px; }
.editorial-intro blockquote { max-width: 900px; margin-inline: auto; font-family: 'Syne', sans-serif; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.65; letter-spacing: -.02em; }
.intro-copy { max-width: 72ch; margin: 24px auto 0; color: var(--slate); font-size: .9375rem; line-height: 1.8; }
.chapters { scroll-margin-top: 28px; }
.chapters-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; border-top: 1px solid rgb(113 137 149 / .35); padding-top: 26px; margin-bottom: 32px; }
.chapters-heading .eyebrow { color: var(--slate); margin-bottom: 12px; }
.chapters-heading h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.04em; }
.chapter-count { color: var(--slate); font-size: .6875rem; padding-bottom: 5px; }
.chapter-count span { margin-inline: 8px; color: var(--mineral); }
.chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.chapter { min-width: 0; display: flex; flex-direction: column; background: #f8f5ef; box-shadow: 0 5px 20px rgb(16 24 32 / .035); }
.chapter-image { width: 100%; aspect-ratio: 8 / 5; object-fit: contain; background: var(--ink); }
.chapter-copy { position: relative; flex: 1; display: flex; flex-direction: column; align-items: start; padding: 28px; }
.chapter-number { font-size: .6875rem; color: #5c717c; letter-spacing: .1em; margin-bottom: 12px; }
.chapter h3 { font-size: 1.3125rem; line-height: 1.3; letter-spacing: -.025em; max-width: 25ch; }
.chapter-copy > p { margin-top: 16px; margin-bottom: 24px; font-size: .875rem; line-height: 1.8; color: var(--slate); }
.discover { display: flex; align-items: center; justify-content: space-between; align-self: stretch; gap: 20px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgb(113 137 149 / .25); text-decoration: none; font-size: .75rem; }
.discover span { color: #665038; font-size: 1.1rem; transition: transform 180ms ease; }
.discover:hover { text-decoration: underline; }
.discover:hover span { transform: translate(2px, -2px); }
.closing { padding-block: 72px 64px; text-align: center; }
.closing-mark { display: inline-block; margin-bottom: 16px; color: #806342; font-size: 1.5rem; }
.closing blockquote { font: 600 clamp(1.15rem, 2.2vw, 1.7rem)/1.6 'Syne', sans-serif; letter-spacing: -.025em; }
.site-footer { border-top: 1px solid rgb(113 137 149 / .35); padding-block: 24px 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: .75rem; color: var(--slate); }
.site-footer p span { margin-inline: 10px; color: var(--mineral); }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .chapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-interface { top: 245px; right: 32px; width: 250px; }
  .hero-introduction { max-width: 43ch; }
}
@media (max-width: 900px) {
  .page-width { width: calc(100% - 64px); }
  .hero-interface { width: 230px; top: 350px; padding: 14px; }
  .it-hero { min-height: 620px; }
  .hero-caption { right: 32px; font-size: .5625rem; }
}
@media (max-width: 650px) {
  .page-width { width: calc(100% - 40px); }
  .header-inner { min-height: 112px; flex-wrap: wrap; justify-content: center; gap: 12px; padding-block: 16px; }
  .brand { width: 140px; }
  .site-header nav { justify-content: center; gap: 20px; font-size: .75rem; }
  .site-header nav a { padding-block: 5px; }
  .it-hero { min-height: 600px; }
  .hero-content { padding-block: 48px 28px; }
  h1 { font-size: clamp(2.65rem, 10.3vw, 4.1rem); }
  .it-hero h2 { font-size: 1.5rem; margin-top: 26px; }
  .hero-introduction { font-size: .9375rem; max-width: 40ch; }
  .it-hero::before { background: linear-gradient(90deg, rgb(16 24 32 / .78), rgb(16 24 32 / .64)), linear-gradient(0deg, rgb(16 24 32 / .8), transparent); }
  .hero-landscape, .hero-pixels img { object-position: 68% 50%; }
  .hero-interface { position: relative; top: auto; right: auto; width: min(250px, calc(100% - 40px)); margin: 0 20px 76px auto; padding: 14px; }
  .hero-caption { left: 20px; right: 20px; bottom: 25px; font-size: .5rem; }
  .hero-grid { background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent 35%, #000); }
  .hero-pixels { mask-image: linear-gradient(90deg, transparent 38%, rgb(0 0 0 / .6) 68%, #000 88%); opacity: .9; }
  .editorial-intro { padding-block: 48px; }
  .editorial-intro blockquote br { display: none; }
  .intro-copy { font-size: .875rem; }
  .chapters-heading { display: block; }
  .chapter-count { display: block; margin-top: 16px; }
  .chapter-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .chapter-copy { padding: 24px; }
  .chapter h3 { font-size: 1.375rem; }
  .closing { padding-block: 48px; }
  .site-footer { align-items: start; }
  .site-footer nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
