/* Near Future Termination : encre noire, papier ivoire, orange */
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
:root {
  --bg: #ffffff;
  --ink: #0b0b0b;
  --paper: #fff4e4;
  --orange: #ff5a00;
  --on-orange: #0b0b0b;
  --m: clamp(16px, 2vw, 32px);
  --gap: clamp(96px, 13vw, 200px);
  --step-small: clamp(.8125rem, .79rem + .1vw, .875rem);
  --step-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --clean: brightness(1.12) contrast(1.04);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 "Archivo", "Helvetica Neue", Arial, sans-serif; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--on-orange); }
:lang(ja) body, body:lang(ja) { font-family: "Archivo", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif; line-break: strict; }
:lang(ja) h2, :lang(ja) h3, :lang(ja) .lead { line-height: 1.25; }
:lang(ko) body, body:lang(ko) { font-family: "Archivo", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; word-break: keep-all; }
:lang(ko) h2, :lang(ko) h3, :lang(ko) .lead { line-height: 1.25; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.giant, .name, .end-name, .entry-text h3 { font-weight: 800; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em; line-height: .86; font-kerning: normal; }
.giant { font-size: clamp(4.25rem, 11vw, 11rem); }
.lead { font-size: var(--step-lead); line-height: 1.3; }

.btn { display: inline-block; padding: .8em 1.3em; background: var(--orange); color: var(--on-orange); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease), background-color 160ms; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: scale(.97); }
.btn-paper { background: var(--ink); color: var(--bg); }
.btn-paper:hover { background: var(--bg); color: var(--ink); }

/* Premier écran */
.hero { min-height: 100svh; padding: 0 var(--m) clamp(14px, 2vh, 28px); display: flex; flex-direction: column; background: var(--ink); color: #fff; }
.hero ::selection { color: var(--on-orange); }
.hero .btn:hover { background: #fff; color: var(--ink); }
.bar { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-block: 16px; }
.mark { font-weight: 800; font-stretch: 62%; font-size: 1.75rem; line-height: 1; text-decoration: none; }
.links { display: flex; gap: clamp(14px, 2vw, 28px); font-size: var(--step-small); }
.links a { text-decoration: underline 2px transparent; text-underline-offset: .3em; padding-block: 6px; transition: text-decoration-color 200ms; }
.links a:hover { text-decoration-color: currentColor; }

.reel { flex: 1 1 0; min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: clamp(4px, .8vw, 12px); }
.reel-face { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; transition: transform 240ms var(--ease), opacity 240ms; }
.reel-face img { max-height: min(24svh, 240px); width: auto; filter: var(--clean); }
.reel:hover .reel-face:not(:hover) { opacity: .35; }
.reel-face:hover, .reel-face:focus-visible { transform: translateY(-6px); }

.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: 12px clamp(10px, 2vh, 20px); }
.hero-say { max-width: 44ch; }
.ticker { flex: 1 1 0; min-width: 0; max-width: none; overflow: hidden; color: var(--orange); font-size: var(--step-lead); line-height: 1.2; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; }
.ticker-track.on { animation: ticker var(--ticker-time, 40s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-item { flex: none; white-space: nowrap; padding-right: 2.5em; }
.ticker-item strong { color: #fff; font-weight: 800; font-stretch: 62%; text-transform: uppercase; letter-spacing: .01em; }
.ticker-dot { color: #fff; padding-inline: .35em; }
@keyframes ticker { to { transform: translateX(-50%); } }
.tonight { color: inherit; font-weight: 500; }
.tonight a { color: #fff; text-underline-offset: .15em; }

.name { font-size: min(calc((100vw - 2 * var(--m)) / 4.97), 33svh); white-space: nowrap; }
.name .l { display: block; }
.name .l:first-child { letter-spacing: .013em; }
.o { display: inline-block; position: relative; width: .62em; height: .72em; margin-inline: .02em; vertical-align: baseline; }
.o-stack { position: absolute; inset: -.02em 0; display: block; }
.o-face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: var(--clean); opacity: 0; transition: opacity 1600ms ease; }
.o-face.on { opacity: 1; }
html:not(.js) .o-face[data-face="moon"] { opacity: 1; }

/* Forêt de miroirs */
.intro { padding-top: var(--gap); }
.intro-text { padding-inline: var(--m); display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; padding-bottom: 40px; }
.intro h2 { font-size: var(--step-head); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .9; font-size: clamp(3.25rem, 8.6vw, 9rem); }
.intro-caps { display: grid; gap: 1em; }
.lens { overflow: hidden; height: min(62svh, 42vw); background: #000; }
.lens img { width: 100%; height: 130%; object-fit: cover; object-position: 30% 58%; will-change: transform; }

/* Mur */
.wall { background: var(--ink); color: var(--bg); padding: var(--gap) var(--m) calc(var(--gap) / 2); }
.wall-head { display: grid; grid-template-columns: 8fr 4fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.tiles { display: grid; gap: 8px; }
.tile-row { display: flex; gap: 8px; }
.tile { flex: var(--r) 1 0; min-width: 0; text-decoration: none; display: flex; flex-direction: column; transition: opacity 240ms; }
/* Proportions des vignettes (sorties du HTML pour la politique de sécurité) */
.tile[href="#initia"] { --r: 0.901; } .tile[href="#kanibale"] { --r: 1.028; } .tile[href="#deep-forest"] { --r: 0.564; }
.tile[href="#moon"] { --r: 0.975; } .tile[href="#seokga"] { --r: 0.616; } .tile[href="#kariba"] { --r: 0.761; }
.tile[href="#arawak"] { --r: 0.613; } .tile[href="#orinoko"] { --r: 1.070; } .tile[href="#zone-51"] { --r: 0.717; }
.tile[href="#deep-south"] { --r: 0.577; } .tile[href="#diamond-rock"] { --r: 0.905; } .tile[href="#kingston"] { --r: 0.399; }
.tile img { width: 100%; background: #fff; filter: var(--clean); }
.tile .cap { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px 14px; font-size: var(--step-small); }
.tile .cap span:last-child { color: var(--bg); }
.tiles:hover .tile:not(:hover) { opacity: .5; }
.tile:focus-visible { outline-color: var(--bg); }

/* Les douze */
.twelve { padding: calc(var(--gap) / 2) var(--m) 0; }
.twelve-head { display: grid; grid-template-columns: 34% 1fr; gap: 32px; margin-bottom: var(--gap); }
.twelve-head h2 { font-size: var(--step-lead); line-height: 1.2; font-weight: 500; }
.cols { columns: 2; column-gap: 40px; }
.cols p { break-inside: avoid; margin-bottom: 1em; }
.entry { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: clamp(96px, 11vw, 170px); scroll-margin-top: 24px; }
.entry:nth-of-type(even) .entry-face { order: 2; }
.entry-face { position: sticky; top: 24px; display: flex; justify-content: center; }
.entry-face img { max-height: 76svh; width: auto; filter: var(--clean); }
.entry-text { max-width: 62ch; }
.entry-text h3 { font-size: clamp(3.5rem, 10vw, 10rem); }
.entry-text > p { margin-bottom: 1em; }
.ipa { color: var(--ink); margin-top: .6em; margin-bottom: 1.6em !important; }
.entry blockquote { font-size: var(--step-lead); line-height: 1.3; margin-block: 1.4em; }
.today { color: var(--ink); font-weight: 500; }
.medium { color: var(--ink); font-size: var(--step-small); }
.entry-link { font-weight: 500; }
.entry-link a { text-underline-offset: .2em; }
.entry-link a:hover { color: var(--orange); }
#lighting { scroll-margin-top: 24px; }

/* Rectangles gris sous le nom des statuettes */
:root { --gris-clair: #dddddd; --anthracite: #333333; }
.entry:nth-of-type(odd) { --tache: var(--gris-clair); }
.entry:nth-of-type(even) { --tache: var(--anthracite); }
.entry:nth-of-type(even) .entry-text h3 { color: #fff; }
.entry-text h3 { position: relative; isolation: isolate; display: inline-block; padding: .14em .22em .04em; }
.entry-text h3::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--tache); pointer-events: none; }


/* Encre */
.ink { background: var(--paper); padding-top: var(--gap); }
.ink-head { padding-inline: var(--m); display: grid; grid-template-columns: 8fr 4fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.strip-nav { display: flex; justify-content: flex-end; gap: 8px; padding-inline: var(--m); margin: -24px 0 16px; }
html:not(.js) .strip-nav { display: none; }
.strip-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background-color 160ms, color 160ms, opacity 160ms; }
.strip-arrow svg { width: 22px; height: 22px; }
.strip-arrow:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.strip-arrow:active:not(:disabled) { transform: scale(.96); }
.strip-arrow:disabled { opacity: .25; cursor: default; }
.strip { display: flex; gap: 4vw; overflow-x: auto; padding: 0 var(--m) 24px; scrollbar-width: none; scroll-snap-type: x proximity; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: none; scroll-snap-align: start; scroll-margin-left: var(--m); }
.strip img { height: min(62svh, 620px); width: auto; transition: transform 250ms var(--ease); }
.strip figure:hover img { transform: scale(1.03); }
.strip figcaption { font-size: var(--step-small); padding-top: 8px; }
.band { margin-top: var(--gap); }
.band img { width: 100%; }

.flag { display: block; width: 24px; height: 16px; outline: 1px solid rgb(11 11 11 / .3); outline-offset: -1px; }
a:has(> .flag) { display: inline-block; padding-block: 6px; }

/* DNA12 */
.dna { background: var(--ink); color: var(--bg); padding: var(--gap) var(--m); }
.dna-row { display: grid; grid-template-columns: 34% 1fr; gap: 32px; margin-top: 56px; }
.facts { display: grid; gap: 20px; align-content: start; font-size: var(--step-small); max-width: 26ch; }
.facts dt { color: var(--bg); }
.dna-text { max-width: 68ch; display: grid; gap: 1em; }
.dna-pics { display: grid; grid-template-columns: 5fr 7fr; gap: 8px; margin-top: 96px; align-items: end; }
.dna-pics img { width: 100%; }
.dna-pics figcaption { font-size: var(--step-small); padding-top: 8px; }
.dna-vision { margin-top: 56px; display: grid; gap: 24px; }
.dna-vision-line { font-size: var(--step-head); line-height: 1.02; max-width: 18ch; }
.dna-vision .lead { max-width: 46ch; }
.dna-process { margin-top: 96px; display: grid; grid-template-columns: 34% minmax(0, 800px); gap: 32px; }
.dna-process > p { max-width: 68ch; }
.dna-steps { display: grid; grid-template-columns: 2fr 3fr 3fr; column-gap: 32px; align-items: end; }
.dna-steps figure { display: grid; grid-row: span 2; grid-template-rows: subgrid; align-items: end; }
.dna-steps figcaption { align-self: start; }
.dna-steps img { width: 100%; mix-blend-mode: lighten; }
.dna-steps figcaption, .dna-twelve figcaption { font-size: var(--step-small); padding-top: 8px; }
.dna-block { margin-top: 96px; display: grid; grid-template-columns: 34% minmax(0, 800px); grid-template-rows: auto 1fr; gap: 16px 32px; }
.dna-block > * { grid-column: 2; }
.dna-block > .dna-sub { grid-column: 1; grid-row: 1; }
.dna-block > p { grid-column: 1; grid-row: 2; }
.dna-block > .dna-mat, .dna-block > .dna-lamps { grid-row: 1 / 3; }
.dna-block > p { max-width: 34ch; }
.dna-sub { font-size: var(--step-lead); font-weight: 400; }
.dna-block img { width: 100%; }
.dna-block figcaption { font-size: var(--step-small); padding-top: 8px; }
.dna-mat { display: grid; grid-template-columns: .73fr 1.02fr .56fr; gap: 8px; }
.dna-mat img { height: 100%; object-fit: cover; }
.dna-mat figure { display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.dna-metals { display: grid; grid-template-columns: 364fr 234fr 194fr 248fr 292fr 228fr; gap: 16px; align-items: end; margin-top: 24px; }
.on-black img { mix-blend-mode: lighten; }
.dna-lamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.dna-twelve { margin-top: 96px; }
.dna-twelve img { width: 100%; }

/* Kariba, architecture */
.archi { padding: var(--gap) var(--m) 0; }
.archi-head { display: grid; gap: 24px; margin-bottom: 48px; }
.archi-head > * { min-width: 0; }
.archi-head .giant { font-size: clamp(3rem, 11vw, 11rem); }
.archi-text { display: grid; gap: 1em; max-width: 52ch; justify-self: end; }
.archi-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.archi-pics img { width: 100%; }
.archi-pics figcaption { font-size: var(--step-small); padding-top: 8px; }
.archi-foot { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; margin-top: 56px; }
.archi-foot > p { max-width: 62ch; }
.archi-call { display: grid; gap: 24px; align-content: start; max-width: 52ch; }
.archi-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.archi-links a:not(.btn) { text-underline-offset: .2em; }
.archi-links a:not(.btn):hover { color: var(--orange); }

/* Graphic art */
.graphic { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; padding: var(--gap) var(--m); align-items: end; }
.graphic-text .lead { margin-block: 20px 48px; }
.poster img { width: 100%; }
.graphic-posters { grid-column: 1 / -1; display: flex; gap: 40px; margin-top: 48px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.graphic-posters::-webkit-scrollbar { display: none; }
.graphic-posters figure { flex: none; scroll-snap-align: start; }
.zoom { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom img { height: min(44svh, 380px); width: auto; transition: transform 250ms var(--ease); }
.zoom:hover img { transform: scale(1.03); }
.zoom:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.lightbox { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 24px; border: 0; background: rgba(11, 11, 11, .94); display: none; place-items: center; cursor: zoom-out; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 48px); width: auto; height: auto; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid #fff; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: #fff; color: #0b0b0b; }

/* À propos */
.about { background: #000; color: var(--bg); display: grid; grid-template-columns: 7fr 5fr; align-items: stretch; }
.about-text { padding: var(--gap) var(--m); }
.readings { margin-top: 64px; display: grid; gap: 40px; }
.readings strong { display: block; font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.25rem, 4.6vw, 4.5rem); line-height: .95; }
.readings span { display: block; margin-top: 10px; max-width: 58ch; }
.about-pic { overflow: hidden; }
.about-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 60%; }

/* Fin */
.end { background: var(--orange); color: var(--on-orange); padding: var(--gap) var(--m) 0; overflow: hidden; }
.end-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.end-line { font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .9; font-size: clamp(3.25rem, 8.6vw, 9rem); margin-bottom: 28px; }
.end nav { display: grid; align-content: start; gap: 6px; }
.end nav a, .end-legal a { text-underline-offset: .2em; }
.end-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 96px; font-size: var(--step-small); }
.end-name { font-size: 62vw; line-height: .78; margin: .02em 0 -.2em; white-space: nowrap; text-align: center; }

/* Entrées */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease) var(--d, 0ms), transform 700ms var(--ease) var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero-foot { order: 3; padding-top: 18px; }
}
@media (max-width: 760px) {
  .graphic-posters { gap: 20px; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); scroll-padding-inline: var(--m); }
  .zoom img { height: 300px; }
  .bar { flex-direction: column; gap: 8px; }
  .bar .links { gap: 4px 14px; flex-wrap: wrap; }
  .reel { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; gap: 16px; margin-inline: calc(-1 * var(--m)); padding-inline: var(--m); }
  .reel::-webkit-scrollbar { display: none; }
  .reel-face { flex: none; }
  .reel-face img { max-height: 19svh; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ticker { align-self: stretch; flex: none; margin-inline: calc(-1 * var(--m)); }
  .tile .cap { flex-direction: column; gap: 0; }
  .name { font-size: calc((100vw - 2 * var(--m)) / 4.97); }
  .intro-text, .wall-head, .ink-head, .archi-head, .archi-foot, .twelve-head, .dna-row, .graphic, .about, .entry { grid-template-columns: 1fr; }
  .lens { height: 60svh; }
  .lens img { object-position: 25% 62%; }
  .cols { columns: 1; }
  .tile-row { flex-wrap: wrap; }
  .tile { flex: var(--r) 1 calc(var(--r) * 150px); }
  .entry-face { position: static; }
  .entry:nth-of-type(even) .entry-face { order: 0; }
  .entry-face img { max-height: 58svh; }
  .strip img { height: 52svh; }
  .strip { gap: 8vw; }
  .strip-nav { margin-top: -16px; }
  .strip-arrow { width: 44px; height: 44px; }
  .dna-pics { grid-template-columns: 1fr; margin-top: 56px; }
  .dna-process, .dna-twelve, .dna-block { margin-top: 56px; }
  .dna-process, .dna-block { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .dna-block > *, .dna-block > .dna-sub, .dna-block > p, .dna-block > .dna-mat, .dna-block > .dna-lamps { grid-column: 1; grid-row: auto; }
  .dna-mat { grid-template-columns: 1.02fr .56fr; }
  .dna-mat figure:first-child { grid-column: 1 / -1; }
  .dna-block > .on-black { overflow-x: auto; scrollbar-width: none; }
  .dna-metals { width: 560px; gap: 12px; }
  .dna-lamps { grid-template-columns: 1fr 1fr; }
  .dna-lamps figure:first-child { grid-column: 1 / -1; }
  .dna-steps { column-gap: 12px; }
  .about-pic { height: 80svh; }
  .archi-pics { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker-track { width: auto; }
  .ticker-item { white-space: normal; padding-right: 0; }
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .o-face, .reel-face, .tile, .btn, .strip img, .strip-arrow, .zoom img { transition: none; }
  .lens img { transform: none !important; }
}

/* Page des mentions légales */
.legal { padding: 0 var(--m) var(--gap); }
.legal h1 { margin-block: 64px 56px; }
.legal dl { display: grid; grid-template-columns: 34% 1fr; gap: 24px 32px; }
.legal dt { font-weight: 500; }
.legal dd { max-width: 68ch; }
@media (max-width: 760px) { .legal dl { grid-template-columns: 1fr; gap: 4px; } .legal dd { margin-bottom: 20px; } }
