/* ============================================================
   SKEION · home page (index.html and fr/index.html), design « Instrument » (refonte of November 2026)
   From the finished mock-up versions/refonte-2026-11/instrument/instrument.css, on the tokens of /assets/site/site.css
   (loaded first). Eight blocks (block 1 promise, 2 problem, 3 demonstrator, 4 why SKEION, 5 science and team,
   6 three steps, 7 who it is for, 8 contact); the three Nature papers (#papers, block 5) are linked from the credentials strip.
   Grid: from 1024 px every block starts on the column of the rest of the site (.wrap + --idx, as the footer, the newsletter
   and the inner pages), i.e. 188 px from the left at 1440 px (jury retouches, 14/11/2026).
   Rules: turquoise (--phys) only inside figures; buttons, links and titles in --ink and greys; 1 px rules, no gradient,
   halo, shadow, rounded card or pill; no spaced capitals. Guide: docs/build/49-instrument-systeme.md.
   ============================================================ */

/* ONE short type scale for the whole home (coherence pass of 14/11/2026, Sofiane: « too many fonts, underlines, text sizes »):
   main title (.b1-title) · section title (.h-h2, .b3-title, block 4 included) · subtitle (--fs-h3, Spline Sans 500) ·
   text (--fs-text, Barlow 400; 500 in --ink for the few emphasised lines) · caption and source (--fs-cap, Barlow 400, --ink-3).
   Buttons and standalone links (.link) keep the interface size of site.css. One underlined-link style (below). No italic,
   no monospace. */
:root {
  --fs-h3: clamp(19px, calc(14px + 0.6vw), 23px);
  --fs-text: clamp(17px, calc(15px + 0.25vw), 18.5px);
  --fs-cap: 14.5px;
}
.h-in { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; padding-left: var(--idx); }
.h-cap, main .fig-cap { font: 400 var(--fs-cap)/1.5 var(--f-text); color: var(--ink-3); }
/* the one underlined-link style of the page: a 1 px grey underline that turns off-white on hover */
main .link, .h-src a, .pp-title a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line-3); text-underline-offset: 4px; }
.h-src a { color: inherit; }
@media (hover: hover) { main .link:hover, .h-src a:hover, .pp-title a:hover { color: var(--ink); text-decoration-color: currentColor; } }
main cite, main em { font-style: normal; }
.h-sec { padding: clamp(72px, 9vw, 136px) 0; scroll-margin-top: -12px; }   /* html already pads by --hdr + 12px: the section starts right under the header */
.h-sec--tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-h2 { max-width: 19em; font: 600 clamp(27px, 2.9vw, 42px)/1.08 var(--f-display); letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
html[lang="fr"] .b1-lead, html[lang="fr"] .b3-text, html[lang="fr"] .b3-does, html[lang="fr"] .b3-not, html[lang="fr"] .b3-note, html[lang="fr"] .b3-status, html[lang="fr"] .b1-proof, html[lang="fr"] .b2-fact dd, html[lang="fr"] .h-h2, html[lang="fr"] .b1-title, html[lang="fr"] .b3-title, html[lang="fr"] .b2-fact dt, html[lang="fr"] .b7-sector h3, html[lang="fr"] .b6-step h3, html[lang="fr"] .b6-explorer, html[lang="fr"] .b5-role { hyphens: manual; -webkit-hyphens: manual; }
.b1-lead, .b2-fact dd, .b3-honest, .b3-does, .b3-text, .b4-text, .b5-text, .b6-step p, .b6-explorer, .b7-sector > p, .b8-text, .h-cap, .fig-cap, .pp-who { text-wrap: pretty; }
.b5-role { text-wrap: balance; }
/* type scale (art direction of 14/11/2026): the title of block 1 is the largest (up to 72 px), the title of block 4 a second
   high point (up to 58 px), every other section title a step below (up to 42 px) */
/* blocks 1, 3 and 4 run figures to the edge of the window: --bleed is the distance from the content box to that edge
   (container units, so a classic scrollbar never makes the page scroll sideways) */
.b1, .b3, .b4 { container-type: inline-size; overflow-x: clip; --bleed: calc((100cqw - min(100cqw - 2 * var(--gut), var(--maxw))) / 2); }
.h-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; }

/* ---------- block 1: copy on the left, the globe in its own column (no overlap with the title or the menu) ---------- */
.b1 { position: relative; padding-top: var(--hdr); }
/* the sky behind the first screen (assets/home/hero-sky.js): the Sun far away at the top left (the WebGL Sun of
   skeion-sun.js, framed by the page: its flux rope turned towards the Earth, it breaks its cage), then the solar wind
   running straight to the globe, behind the copy; nothing is drawn over the credentials strip */
.b1-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.b1-sky > .b1-sun, .b1-sky > canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.b1-sun canvas { opacity: 0; transition: opacity 0.8s; }
.b1-sun.is-live canvas { opacity: 1; }
.b1-in, .b1-proof { position: relative; z-index: 1; }
.b1-in {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 8fr); column-gap: clamp(28px, 4vw, 64px);
  min-height: calc(max(600px, min(100svh, 940px)) - var(--hdr) - 132px);
  width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; padding-left: var(--idx);
}
.b1-copy { align-self: center; padding: 40px 0 44px; }
.b1-title { max-width: 11em; font: 600 clamp(38px, 4.9vw, 72px)/1.03 var(--f-display); letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
html[lang="fr"] .b1-title { max-width: 15em; font-size: clamp(36px, 4.6vw, 68px); }
.b1-lead { margin-top: 24px; max-width: 34em; font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); }
.b1-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; }

.b1-fig { position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; }
/* the canvas runs from its column to the right edge of the window (fleet-globe.js, view « hero », mode « sky »: at rest the
   whole globe and its orbits, made smaller or moved if they would leave the canvas, which never reaches the text column, the
   header or the credentials strip; hero-sky.js brings it in along its orbit and takes it out by the right edge on scroll) */
.b1-media { --globe-mode: sky; position: relative; flex: 1 1 auto; min-height: 340px; margin-right: calc(-1 * var(--bleed)); overflow: hidden; }
.globe { position: absolute; inset: 0; }
.globe canvas { display: block; width: 100%; height: 100%; }
/* the pause mark (.ico-pause, site.css) in the bottom right corner of the globe, on the right edge of the content column */
.b1-fig > .ico-pause { bottom: 8px; }
/* the Earth comes in from the left edge of the window on a circular orbit round the Sun: the globe's canvas spans the whole
   first screen, from under the header to the credentials strip, behind the copy (title and buttons stay above it; the
   paragraph is never crossed, hero-sky.js chooses the orbit for that). The pause mark is placed beside the resting globe
   by hero-sky.js. */
.b1-fig, .b1-media { position: static; }
.b1 .globe { inset: 0 calc(-1 * var(--bleed)); z-index: 0; pointer-events: none; }
.b1-copy { position: relative; z-index: 2; }
.b1-actions .btn-ghost { background-color: var(--bg); }   /* the outlined button keeps an opaque ground over the passing Earth */
@media (hover: hover) { .b1-actions .btn-ghost:hover { background-color: #181729; } }   /* = the 6 % white of .btn-ghost:hover on --bg */

/* credentials strip (coherence pass of 14/11/2026): three cells, one rule. Each cell: a visual of one height (--pv) in the
   same place, a one-line title (subtitle level), a grey line (caption level). Wide screens: the visual on top, bottom-aligned
   on one line, then the title and the line on shared rows (subgrid). Phones: the text on the left, the visual on the right.
   The whole cell is the link: its title is stretched over it (::after), no underline (on hover the title takes the one
   underline of the page); the two covers sit above that layer and link to their papers. */
.b1-proof { --pv: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100% - 2 * var(--gut), var(--maxw)); margin: 0 auto; padding: 0 0 0 var(--idx); list-style: none; }
.b1-pf { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; padding: 22px 24px 24px 0; border-top: 1px solid var(--line-2); }
.b1-pf + .b1-pf { padding-left: 24px; border-left: 1px solid var(--line); }
.b1-pf-vis { display: flex; align-items: flex-end; gap: 8px; height: var(--pv); margin-bottom: 16px; }
.b1-pf-vis picture { display: block; height: 100%; }
.b1-pf-vis img { display: block; width: auto; height: 100%; }
.b1-covers a { position: relative; z-index: 2; display: block; height: 100%; border: 1px solid var(--line-2); }
@media (hover: hover) { .b1-covers a:hover { border-color: var(--ink); } }
.b1-pf-logos { align-items: center; gap: 14px; }
.b1-pf-logos .logo-cnrs { height: 100%; }
.b1-pf-logos .logo-rise { height: 52%; }
.b1-pf-logos .logos-sep { width: 1px; height: 66%; background: var(--line-2); }
.b1-pf-t { font: 500 var(--fs-h3)/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.b1-pf-t cite { font-style: normal; }
.b1-pf-t::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) { .b1-pf:hover .b1-pf-t { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line-3); text-underline-offset: 0.22em; } }
.b1-pf-d { margin-top: 6px; font: 400 var(--fs-cap)/1.5 var(--f-text); color: var(--ink-3); text-wrap: pretty; }
@media (min-width: 900px) {
  .b1-proof { grid-template-rows: auto auto auto; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .b1-proof { --pv: 40px; }
  .b1-pf { padding-right: 18px; }
  .b1-pf + .b1-pf { padding-left: 18px; }
}

/* ---------- the three papers in Nature, with the two covers (block 5) ---------- */
.pp-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; margin: clamp(48px, 5vw, 72px) 0 0; padding: 0; list-style: none; scroll-margin-top: calc(var(--hdr) + 24px); }
.pp-item { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 18px; align-items: start; padding-top: 16px; border-top: 1px solid var(--line); }
.pp-item--nocover { grid-template-columns: minmax(0, 1fr); }
.pp-item--nocover .pp-ref { min-height: 3em; }   /* the « Cover, … » line of its neighbours: the three titles start on one line */
.pp-cover { display: block; border: 1px solid var(--line-2); }
.pp-cover img { display: block; width: 100%; height: auto; }
.pp-ref { font: 400 var(--fs-cap)/1.5 var(--f-text); color: var(--ink-3); }
.pp-note { display: block; }
.pp-title { margin-top: 6px; font: 500 var(--fs-text)/1.45 var(--f-text); }
.pp-who { margin-top: 4px; font: 400 var(--fs-cap)/1.5 var(--f-text); color: var(--ink-3); }

/* ---------- block 2: the problem ---------- */
.b2 { padding-bottom: clamp(64px, 8vw, 120px); }
.b2-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin: clamp(40px, 5vw, 72px) 0 0; }
.b2-fact { padding-top: 20px; border-top: 1px solid var(--line-2); }
/* the facts of one row share two rows (title, text): titles bottom-aligned, texts start on one line */
.b2-fact { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.b2-fact dt { display: flex; align-items: flex-end; font: 500 var(--fs-h3)/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.b2-fact dd { margin: 14px 0 0; font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); }
.h-src { margin-top: 30px; font: 400 var(--fs-cap)/1.5 var(--f-text); color: var(--ink-3); }
/* the alert moment of block 2 (assets/home/home.js adds .is-hot once per visit of the block; never under reduced motion):
   « Warnings » blinks three times in the alert red (about 1.4 blinks a second, far under the 3 flashes a second of WCAG
   2.3.1) and comes back to --ink; under the key words of the facts a 2 px alert-red line traces from the left, holds, then
   withdraws to the right, one fact after the other. A flat line, no glow; nothing stays red. */
@keyframes b2-blink { 0%, 24%, 48%, 72%, 100% { color: var(--ink); } 10%, 34%, 58% { color: var(--alert); } }
@keyframes b2-trace {
  0% { background-size: 0 2px; background-position: 0 100%; }
  30%, 70% { background-size: 100% 2px; background-position: 0 100%; }
  70.01% { background-position: 100% 100%; }
  100% { background-size: 0 2px; background-position: 100% 100%; }
}
.b2-key { background: linear-gradient(var(--alert), var(--alert)) 0 100% / 0 2px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.b2.is-hot .b2-hot { animation: b2-blink 2.1s ease-in-out 1; }
.b2.is-hot .b2-key { animation: b2-trace 2.4s cubic-bezier(0.4, 0, 0.2, 1) 2.6s 1 both; }   /* after « Warnings » has stopped blinking (2.1 s) and a short breath */
.b2.is-hot .b2-fact:nth-child(2) .b2-key { animation-delay: 2.95s; }
.b2.is-hot .b2-fact:nth-child(3) .b2-key { animation-delay: 3.3s; }
.b2.is-hot .b2-fact:nth-child(4) .b2-key { animation-delay: 3.65s; }
@media (prefers-reduced-motion: reduce) { .b2.is-hot .b2-hot, .b2.is-hot .b2-key { animation: none; } }
.motion-paused .b2.is-hot .b2-hot, .motion-paused .b2.is-hot .b2-key { animation: none; }
/* from 1100 px: two balanced columns, the title (and the sources at the foot) on the left, the four facts two by two on the right */
@media (min-width: 1100px) {
  .b2 .h-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 24px; }
  .b2 .h-h2 { grid-column: 1 / span 5; grid-row: 1; max-width: 12em; }
  .b2-facts { grid-column: 7 / -1; grid-row: 1 / span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin: 0; }
  .b2-fact dt { min-height: 0; }
  .b2 .h-src { grid-column: 1 / span 5; grid-row: 2; align-self: end; margin: 0; max-width: 30em; }
}

/* ---------- block 3: the demonstrator (Product) ---------- */
.b3-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
/* the real Sun, unframed and large: a square of --sun, its disk (77.5 % of the square) cut by the left edge of the window.
   The plate spans from that edge to the end of the column; the square overhangs it above and below into the section padding.
   The corona fades out before the edges of the photograph (mask), and « lighten » lets the black sky of the photograph
   take the colour of the band, so no frame or edge shows. */
.b3 { --sun: 64cqw; }
.b3-fig { margin: 0; min-width: 0; }
.b3-plate { position: relative; height: calc(0.835 * var(--sun)); margin-left: calc(-1 * (var(--bleed) + var(--idx))); }   /* ends just under the disk: the caption sits against the image */
.b3-still { position: absolute; left: calc(-0.25 * var(--sun)); top: calc(-0.07 * var(--sun)); width: var(--sun); height: var(--sun); mix-blend-mode: lighten; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 93%); mask-image: radial-gradient(closest-side, #000 80%, transparent 93%); }
.b3-still img { display: block; width: 100%; height: 100%; }
.b3-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--bg-2); }
.b3-fig > .h-cap { position: relative; margin-top: 0; }
.b3-plate > .ico-pause { right: 0; bottom: 0; }
.b3-kicker { margin-bottom: 14px; font: 400 var(--fs-cap)/1.5 var(--f-text); color: var(--ink-3); }
.b3-title { font: 600 clamp(27px, 2.9vw, 42px)/1.08 var(--f-display); letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.b3-honest { margin-top: 16px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 500 var(--fs-text)/1.5 var(--f-text); color: var(--ink); }
.b3-text { margin-top: 20px; font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); }
.b3-three { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); counter-reset: three; }
.b3-three li { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font: 500 var(--fs-h3)/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); counter-increment: three; }
.b3-three li::before { content: counter(three); width: 0.8em; flex: none; color: var(--ink-3); }
.b3-h3 { margin-top: 28px; font: 500 var(--fs-text)/1.5 var(--f-text); color: var(--ink); }
.b3-does, .b3-not { margin-top: 8px; font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); }
.b3-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }
.b3-note { max-width: 24em; font: 400 var(--fs-cap)/1.5 var(--f-text); color: var(--ink-3); }

/* ---------- block 4: why SKEION ---------- */
.b4-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 3.4vw, 48px) clamp(32px, 5vw, 80px); align-items: start; }
/* the second high point of the page: the title on the left, « Why now » facing its last line on the right, the text and the
   link under the title (no empty band above « Why now ») */
.b4 { padding-top: clamp(56px, 6vw, 96px); }
.b4-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.b4-grid > .h-h2 { grid-column: 1; grid-row: 1; max-width: 17em; }   /* the section-title size, as every other block (coherence pass) */
.b4-grid > .b4-now { grid-column: 2; grid-row: 1; align-self: end; margin-top: 0; }
.b4-grid > .b4-body { grid-column: 1; grid-row: 2; }
.b4-body > .h-links { margin-top: 24px; }
.b4-text { font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); }
.b4-now { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.b4-now dt { font: 400 var(--fs-cap)/1.5 var(--f-text); color: var(--ink-3); }
.b4-now dd { margin: 6px 0 0; font: 500 var(--fs-h3)/1.3 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
/* the Sun to Earth band (SkeionScenes sun-earth) from edge to edge of the window, 3:1 (taller than the 4:1 of the other
   pages); caption and pause control stay on the content column. No poster image (the canvas labels changed case), the
   stage stays on the page background until the first frame */
.fig--scene.b4-fig { margin-top: clamp(48px, 5vw, 72px); padding-left: 0; }
.fig--scene.b4-fig > .sk-stage { width: auto; margin-left: calc(-1 * (var(--bleed) + var(--idx))); margin-right: calc(-1 * var(--bleed)); aspect-ratio: 3 / 1; }
.b4-fig .sk-stage { background-color: var(--bg); }
/* caption on the left, pause control on the right, as in block 5 */
.fig--scene.b4-fig { grid-template-columns: minmax(0, 1fr) auto; }
.fig--scene.b4-fig > .fig-cap { max-width: none; }
/* the pause mark in the bottom right corner of the band, on the right edge of the content column, above the scene's axis */
.b4-fig .sk-stage > .ico-pause { right: calc(var(--bleed) - 12px); bottom: 26px; }
@media (max-width: 1023px) {
  /* stacked: the band, then its caption on the full content width (a row-wrap here left the caption 14 px wide) */
  .fig--scene.b4-fig { flex-direction: column; align-items: stretch; }
  .fig--scene.b4-fig > .sk-stage { order: -1; }
  .fig--scene.b4-fig > .fig-cap { width: auto; margin-top: 12px; }
}

/* ---------- block 5: science and team; the flux rope arched above the Sun (assets/js/skeion-sun.js) ---------- */
.b5-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(32px, 5vw, 72px);
  grid-template-areas: "title fig" "copy fig";
  align-items: start;
}
.b5-grid .h-h2 { grid-area: title; }
.b5-copy { grid-area: copy; margin-top: 24px; }
.b5-fig { grid-area: fig; margin: 0; }
.b5-text { font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); }

.b5-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); border: 1px solid var(--line-2); }
.sun-stage { position: absolute; inset: 0; }
.sun-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/assets/img/sun/sun-poster-mobile-v5.jpg") center bottom / 100% auto no-repeat;
  background-image: image-set(url("/assets/img/sun/sun-poster-mobile-v5.avif") type("image/avif"), url("/assets/img/sun/sun-poster-mobile-v5.jpg") type("image/jpeg"));
}
.sun-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; outline: none; }
.sun-stage.is-live::before { opacity: 0; }
.sun-stage.is-live canvas { opacity: 1; }
.b5-cap { margin-top: 12px; }
.b5-cap .fig-cap { margin: 0; }
/* from 900 px the title runs across both columns (two lines), the text and the team face the figure */
@media (min-width: 900px) {
  .b5-grid { grid-template-areas: "title title" "copy fig"; }
  .b5-grid .h-s { display: block; }   /* one sentence per line */
  .b5-fig { margin-top: 24px; }
}

.b5-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.b5-person { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 14px; align-items: start; }   /* portraits and names on shared rows */
.b5-person picture { width: 128px; aspect-ratio: 4 / 5; overflow: hidden; }
/* one filter for both portraits (same photo, same exposure): contrasted black and white, toned down for the dark page */
.b5-person picture img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.22) brightness(0.8); }
.b5-more { margin-top: 28px; }
.b5-person picture { display: block; border: 1px solid var(--line-2); }
.b5-person img { display: block; width: 100%; height: auto; }
.b5-name { font: 500 var(--fs-h3)/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.b5-role { margin-top: 6px; font: 400 var(--fs-cap)/1.5 var(--f-text); color: var(--ink-3); }

/* ---------- block 6: three steps and Explorer ---------- */
/* a compact horizontal frieze: one rule, three columns, a tick on the rule above each step */
.b6-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line-2); }
.b6-step { position: relative; padding-top: 18px; counter-increment: step; }
.b6-step::before { content: ""; position: absolute; left: 0; top: -5px; width: 1px; height: 9px; background: var(--ink-2); }
.b6-step h3 { display: flex; align-items: baseline; gap: 12px; font: 500 var(--fs-h3)/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.b6-step h3::before { content: counter(step); min-width: 0.8em; color: var(--ink-3); }
.b6-step .badge { margin-top: 10px; font: 400 var(--fs-cap)/1.5 var(--f-text); }
.b6-step p:last-child { margin-top: 10px; font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); }
.b6-explorer { margin-top: clamp(20px, 2vw, 28px); }

/* ---------- block 7: who it is for ---------- */
.b7-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); }
/* the two sectors share their rows (figure, title, text, source, action), so figures, titles and texts line up */
.b7-sector { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; padding-top: 24px; border-top: 1px solid var(--line-2); }
.b7-sector > * { align-self: start; }
.b7-sector h3 { font: 500 var(--fs-h3)/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.b7-sector > p { margin-top: 14px; font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); }
.b7-sector > p.h-src { margin-top: 12px; font: 400 var(--fs-cap)/1.5 var(--f-text); color: var(--ink-3); }
.b7-actions { grid-row: 5; align-self: start;   /* the two buttons on one line, a wrapped link under its button */
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 22px; }
/* the animated scene of each sector (SkeionScenes leo-drag and grid-gic): the whole width of its column, one 4:3 frame for
   both (the same size side by side), the 4:3 still as poster; caption under it, pause mark in its bottom right corner */
.fig--scene.b7-fig { display: block; margin: 0 0 24px; padding-left: 0; }
.fig--scene.b7-fig > .sk-stage { aspect-ratio: 4 / 3; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.fig--scene.b7-fig > .fig-cap { margin-top: 10px; max-width: none; }
.fig--scene.b7-fig.is-drawn > .sk-stage { background-image: none; }   /* home.js, once the scene has drawn its first frame */

/* ---------- block 8: contact ---------- */
.b8-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 1024px) {
  .b8-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .b8-grid > :first-child { grid-column: 1 / span 5; }
  .b8-grid > .form { grid-column: 7 / -1; }
}
.b8-text { margin-top: 20px; font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); }

/* ---------- the newsletter band (partial tools/partials/newsletter.html) on the home: a separate, compact band after the
   contact form, on the tint of the page, so it never reads as a second form glued to the contact one ---------- */
.nl { padding: clamp(32px, 3.4vw, 48px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.nl-t { font-size: clamp(19px, calc(0.4vw + 15.5px), 22px); }
.nl-consent { margin-top: 12px; }

/* ---------- medium screens ---------- */
@media (max-width: 1099px) {
  .b1-in { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .b1-media { min-height: 300px; }
  .fig--scene.b4-fig > .sk-stage { aspect-ratio: 5 / 2; }
  .b2-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-fact dt { min-height: 0; }
  .pp-list { grid-template-columns: minmax(0, 1fr); }
  .pp-item--nocover { grid-template-columns: 124px minmax(0, 1fr); }
  .pp-item--nocover .pp-txt { grid-column: 2; }
  .pp-item--nocover .pp-ref { min-height: 0; }
}
/* phones and portrait tablets: a band above the title, short enough for the title to stay on the first screen. Not
   centred: the Sun high on the left of the band, its wind runs right to the whole globe (its orbits and the tracked
   satellite SKN-A named), right of centre (fleet-globe.js, --globe-mode: skyband; hero-sky.js draws nothing under the
   band); its pause mark in the bottom right corner of the band */
@media (max-width: 899px) {
  .b1 { --band: clamp(210px, 57vw, 340px); }
  .b1-in { display: flex; flex-direction: column; min-height: 0; width: 100%; padding-left: 0; }
  .b1-fig { order: -1; height: var(--band); }
  .b1-media { --globe-mode: skyband; position: static; min-height: 0; margin: 0; }
  .b1 .globe { inset: 0; }
  .b1-fig > .ico-pause { right: calc(var(--gut) - 12px); bottom: 0; }
  .b1-copy { align-self: stretch; padding: 8px var(--gut) 32px; }   /* left edge on the gutter, like the strip and the sections below */
  .b1-copy > * { max-width: 620px; }
  .b3-in, .b4-grid, .b7-grid, .b8-grid { grid-template-columns: minmax(0, 1fr); }
  .b7-sector + .b7-sector { margin-top: 48px; }   /* stacked sectors: room between a button and the next rule (not row-gap: the subgrid would inherit it) */
  .b4-grid > .h-h2, .b4-grid > .b4-now, .b4-grid > .b4-body { grid-column: 1; grid-row: auto; }
  .b4-grid > .b4-body { order: 1; }
  .b4-grid > .b4-now { order: 2; }
  .b4-body > .h-links { margin-top: 28px; }
  .b3 { --sun: 112cqw; }
  .b3-plate { height: calc(0.835 * var(--sun)); margin-inline: calc(-1 * var(--bleed)); }
  .b3-plate > .ico-pause { right: calc(var(--bleed) - 12px); }
  .b3-still { left: calc(-0.2 * var(--sun)); }
  .b5-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "fig" "copy"; }
  .b5-fig { margin-top: 28px; }
  .pp-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .fig--scene.b4-fig > .sk-stage { aspect-ratio: 5 / 4; }
  .b5-stage { aspect-ratio: auto; height: clamp(240px, 64vw, 380px); }
}
@media (max-width: 599px) {
  .b1-title { font-size: clamp(32px, 9vw, 40px); }
  .b1-lead { margin-top: 16px; }
  .b1-actions .btn { flex: 1 1 100%; }
  .pp-item { grid-template-columns: 92px minmax(0, 1fr); }
  .pp-item--nocover { grid-template-columns: 92px minmax(0, 1fr); }
  .b2-facts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .b6-steps { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 0; border-left: 1px solid var(--line-2); }
  .b6-step { padding: 0 0 20px 20px; }
  .b6-step::before { left: -5px; top: 13px; width: 9px; height: 1px; }
  .b6-step:last-child { padding-bottom: 0; }
  .b5-person picture { width: 112px; }
  .fig--scene.b4-fig > .fig-cap { flex: 1 0 100%; }
}

/* phones and small tablets: one column; in every cell the title and its line on the left, the visual in a right-hand
   column, centred on the two lines (the rule Sofiane validated for the covers, applied to the three cells) */
@media (max-width: 899px) {
  .b1-proof { --pv: 46px; grid-template-columns: minmax(0, 1fr); }
  .b1-pf, .b1-pf + .b1-pf { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; grid-row: auto; column-gap: 16px; align-content: center; padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .b1-pf:first-child { border-top-color: var(--line-2); }
  .b1-pf-vis { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; margin: 0; }
  .b1-pf-t { grid-column: 1; grid-row: 1; align-self: end; }
  .b1-pf-d { grid-column: 1; grid-row: 2; align-self: start; }
}

/* the first words of the lead say what SKEION is: a company, not a lab */
.b1-who { font-weight: 500; color: var(--ink); }

/* block 3: the animated SKEION Ops logo (<skeion-ops-logo>, the component of the app, assets/js/skeion-ops-logo.js);
   its reveal is played when the block comes into view (home.js) */
.b3-logo { margin-bottom: 18px; height: 30px; }
.b3-logo skeion-ops-logo { display: block; height: 30px; --ops-logo-h: 30px; }
.b3-logo skeion-ops-logo:not(.is-revealed) { visibility: hidden; }

/* the 2015 paper had no cover: a plain tile the size of the covers, so the three papers line up (not an imitation of a cover) */
.pp-plain { position: relative; aspect-ratio: 440 / 578; background: #000; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 6% 6% 9%; }
.pp-plain-n { display: block; width: 76%; }   /* the « nature » logotype cut from a real cover, at the same place and size */
.pp-plain-n img { display: block; width: 100%; height: auto; }
.pp-plain-p { font: 500 clamp(15px, 1.4vw, 20px)/1.25 var(--f-display); text-align: center; color: var(--ink); font-variant-numeric: tabular-nums; }
.pp-plain-y { font: 400 var(--fs-cap)/1 var(--f-text); color: var(--ink-3); }
@media (hover: hover) { .pp-plain:hover { border-color: var(--ink); } }

/* block 3: one honest status line at the end of the block */
.b3-status { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font: 400 var(--fs-cap)/1.5 var(--f-text); color: var(--ink-3); }

/* block 7: one line under the title, pilots in both fields */
.b7-lead { margin-top: 14px; max-width: 62ch; font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); }

/* block 6: the three steps arrive one after the other with the scroll (left to right), each as a whole, and the tick of
   each step on the rule grows in with it; same scroll-driven rule as the titles (site.css .tw-i), no JS */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .b6-step { animation: b6-in linear both; animation-timeline: view(); animation-range: entry calc(6% + var(--s, 0) * 7%) cover calc(26% + var(--s, 0) * 7%); }
    .b6-step::before { animation: b6-tick linear both; animation-timeline: view(); animation-range: entry calc(6% + var(--s, 0) * 7%) cover calc(20% + var(--s, 0) * 7%); transform-origin: 0 50%; }
    .b6-step:nth-child(2) { --s: 1; }
    .b6-step:nth-child(3) { --s: 2; }
    @keyframes b6-in { from { opacity: 0; transform: translateY(28px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
    @keyframes b6-tick { from { transform: scale(0); } to { transform: none; } }
  }
}
@media (max-width: 599px) { .b6-step:nth-child(n) { --s: 0; } }   /* stacked: each step arrives on its own scroll position */
