/* ============================================================
   SKEION: use cases (/use-cases.html), what belongs to this page only.
   Loaded after /assets/site/site.css. Shared (page head, stats and sources, badges, scene figure, cards, facts, callout,
   lists, links): see docs/build/13-design-system.md and docs/build/49-instrument-systeme.md. Prefix: .uc-
   Instrument rewrite of 14 November 2026: satellites first (before / during / after, flying lower, what SKEION Ops
   does, the pilot project), then power grids, then three other sectors. Rules: no turquoise in the interface, no
   gradient, no capitals, rules of 1 px, no shadow.
   ============================================================ */

/* ---------- 01 Header: the sectors of the page, as plain links under the call to action ---------- */
.uc-jump { margin-top: 20px; }
.uc-jump ul { display: flex; flex-wrap: wrap; column-gap: 24px; }
.uc-jump a {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 500 0.98rem/1.3 var(--f-text); letter-spacing: 0; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 6px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
@media (hover: hover) { .uc-jump a:hover { color: var(--ink); text-decoration-color: currentColor; } }
@media (max-width: 767px) { .uc-jump { margin-top: 14px; } .uc-jump ul { column-gap: 18px; } }
.page-head .h1 { max-width: 24ch; font-size: clamp(32px, 4vw, 58px); }

/* ---------- Sector blocks: text (left, 7 columns), the scene (right, 5 columns). Below 1024 px: text, then scene ---------- */
@media (min-width: 1024px) {
  .uc-grid { row-gap: 40px; align-items: start; }   /* the 24 px column gap of .sec-grid: every right column starts on column 7 */
  .uc-risk { grid-column: 1 / span 6; grid-row: 1; }
  .uc-brings { grid-column: 1 / span 6; grid-row: 2; }
  .uc-fig { grid-column: 7 / -1; grid-row: 1 / span 2; }   /* the scene takes half the width */
}
/* satellites: the scene opens the page, so the text and the three moments share the two halves */
@media (min-width: 1024px) {
  .uc-grid--text .uc-risk { grid-column: 1 / span 5; grid-row: 1; }
  .uc-grid--text .uc-brings { grid-column: 7 / -1; grid-row: 1; }
}
/* the scene in the page head: it takes the right column */
@media (max-width: 767px) { .fig--scene.uc-fig.page-head-media { margin-top: 28px; } }
@media (min-width: 1024px) {
  .page-head .uc-fig { max-width: none; }
  .page-head .fig--scene.uc-fig { padding-left: 48px; }   /* the 528 px media of the other page heads */
  .uc-grid .uc-fig { max-width: none; }                    /* the power-grid scene fills its column, to the right edge */
  /* the scene and the head of « What SKEION Ops does » stay in view while the longer column is read */
  .uc-grid .uc-fig, .uc-ops-head { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; }
}
.uc-risk .body + .stats, .uc-risk .body + .facts { margin-top: clamp(24px, 2.4vw, 32px); }
.uc-case { margin-top: clamp(24px, 2.4vw, 32px); max-width: 560px; }
.uc-case + .sources { max-width: 560px; }
/* phones: the date above its sentence, so that the sentence keeps the whole width */
@media (max-width: 767px) {
  .uc-case .stat { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .uc-case .stat dd { max-width: none; font-size: 1rem; }
}

/* before, during, after: term and value in the shared .facts layout, a narrower term column */
.uc-when { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); }
.uc-when dd { max-width: 62ch; }
@media (max-width: 767px) { .uc-when { grid-template-columns: minmax(0, 1fr); } }

/* small headings (grey, text face, lowercase) and a plain sentence-case heading */
.uc-k { font: 500 0.98rem/1.35 var(--f-text); letter-spacing: 0; color: var(--ink-3); }
.uc-k--gap { margin-top: 28px; }
.uc-h3 { font: 500 clamp(19px, calc(0.5vw + 15px), 23px)/1.25 var(--f-display); letter-spacing: -0.012em; color: var(--ink); }
.uc-status { margin-top: 14px; }
.uc-status .badge { white-space: normal; }

/* flying lower: heading, callout, then the survey fact */
.uc-lower { margin-top: clamp(40px, 4vw, 64px); }
.uc-lower-in { grid-column: 1 / -1; max-width: 62ch; }
@media (min-width: 1024px) { .uc-lower-in { grid-column: 1 / span 7; } }
.uc-lower-in .callout { margin-top: 14px; }

/* the scene: 4:3, 470 px at most between 768 and 1023 px (from 1024 px it fills its column: page head and power grids);
   caption under it, the pause mark in its bottom right corner; the poster stands in until the scene is ready */
.fig--scene.uc-fig { margin-top: 0; padding-left: 0; grid-template-columns: minmax(0, 1fr); }
.uc-fig .fig-cap > .fig-n, .uc-fig .fig-cap > .fig-d { display: inline; }
.uc-fig > figcaption { grid-column: 1; grid-row: 2; }
/* the pause mark (.ico-pause, site.css) sits in the bottom right corner of the scene */
.fig--scene.uc-fig .sk-stage { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .uc-fig { max-width: 470px; } }
.uc-fig[data-skeion-scene="leo-drag"] { --poster: image-set(url("/assets/img/scenes/leo-drag-mobile.avif") type("image/avif"), url("/assets/img/scenes/leo-drag-mobile.jpg") type("image/jpeg")); }
.uc-fig[data-skeion-scene="grid-gic"] { --poster: image-set(url("/assets/img/scenes/grid-gic-mobile.avif") type("image/avif"), url("/assets/img/scenes/grid-gic-mobile.jpg") type("image/jpeg")); }
html[lang="fr"] .uc-fig[data-skeion-scene="leo-drag"] { --poster: image-set(url("/assets/img/scenes/leo-drag-fr-mobile.avif") type("image/avif"), url("/assets/img/scenes/leo-drag-fr-mobile.jpg") type("image/jpeg")); }
html[lang="fr"] .uc-fig[data-skeion-scene="grid-gic"] { --poster: image-set(url("/assets/img/scenes/grid-gic-fr-mobile.avif") type("image/avif"), url("/assets/img/scenes/grid-gic-fr-mobile.jpg") type("image/jpeg")); }
.fig--scene.uc-fig[data-scene-status="ready"] .sk-stage { background-image: none; }

/* ---------- What SKEION Ops does: head on the left, lists on the right ---------- */
@media (min-width: 1024px) {
  .uc-ops-head { grid-column: 1 / span 5; }
  .uc-ops-do { grid-column: 7 / -1; }
}
.uc-ops-head .body { margin-top: 18px; }
.uc-list { margin-top: 14px; max-width: 62ch; }
.uc-not { margin-top: 10px; }
.uc-ops-cta { margin-top: 28px; }
.uc-ops-do .note { margin-top: 14px; max-width: 62ch; }
@media (max-width: 1023px) { .uc-ops-do { margin-top: 28px; } }
html[lang="fr"] .uc-list li, html[lang="fr"] .uc-when dd, html[lang="fr"] .uc-pilot-a p, html[lang="fr"] .uc-pilot-b .body, html[lang="fr"] .uc-pilot-grid, html[lang="fr"] .uc-cards .card-b, html[lang="fr"] .uc-note, html[lang="fr"] .uc-lower-in .callout { hyphens: manual; -webkit-hyphens: manual; }

/* ---------- The pilot projects ---------- */
.uc-pilot-h { grid-column: 1 / -1; }
.uc-pilot-a p + p { margin-top: 14px; }
@media (min-width: 1024px) {
  .uc-pilot-a { grid-column: 1 / span 8; }
  .uc-pilot-b { grid-column: 7 / -1; }
}
@media (max-width: 1023px) { .uc-pilot-b { margin-top: 28px; } }
.uc-pilot-b .body { margin-top: 12px; }
.uc-pilot-cta, .uc-grid-cta { margin-top: 28px; }
@media (max-width: 767px) { .uc-pilot-cta .btn, .uc-grid-cta .btn { flex: 1 1 220px; } }
.uc-pilot-grid { margin-top: 14px; }
.uc-note { margin-top: 22px; max-width: 62ch; font-size: 0.94rem; line-height: 1.55; color: var(--ink-2); }

/* ---------- Other sectors ---------- */
.uc-cards { margin-top: clamp(28px, 2.6vw, 40px); }
.uc-gives { color: var(--ink); }
.uc-cards .card-f { margin-top: auto; padding-top: 4px; }

/* the animated SKEION Ops logo above the section title (<skeion-ops-logo>, assets/js/skeion-ops-logo.js); site.js plays
   its reveal when the section comes into view */
.uc-ops-logo { height: 30px; margin-bottom: 20px; }
.uc-ops-logo skeion-ops-logo { display: block; height: 30px; --ops-logo-h: 30px; }
skeion-ops-logo[data-reveal-on-view]:not(.is-revealed) { visibility: hidden; }

/* power grids: the action column now starts with its button (the status block was removed on 14/11/2026) */
.uc-brings > .uc-grid-cta:first-child { margin-top: 0; }
@media (min-width: 1024px) { #grid .uc-grid { row-gap: 32px; } }
