/* ==========================================================
   Product theme - Cargo (/public/assets/css/theme-cargo.css)
   The only file that changes per product: accent variables, plus how the
   existing Cargo hero scene and Live Ops Board sit in their system frames.
   Other products later: Ryse #e8192c, Lyst #F507E2, Depot #F86200,
   Flow #7e22db, Tagz #111 with #FDC100.
   ========================================================== */
.ils.theme-cargo {
  --accent: #FDC100;        /* Cargo yellow. Text on it is --ink (11.5:1). Never yellow text on white (1.64:1). */
  --accent-ink: #0B0D10;
  --accent-soft: #FFF4CC;
  --accent-2: #001AFE;      /* Cargo logo tyre blue, second accent (white on it 8.6:1) */
  --accent-2-soft: #E9ECFF;
}

/* The hero scene keeps its own art, hotspots, cards and float window from cargo.css;
   here it just fills the P01 scene frame instead of bleeding past the column. */
.ils .p01__scene .cargo-scene { margin: 0; max-width: none; width: 100%; }

/* Cargo-only: an open hotspot card in the scene lifts the scene above the hero photos and chip */
.ils .p01__scene:has(.cargo-scene-card:not([hidden])) { z-index: 5; }

/* The Live Ops Board (cargo.css sizes it for a half column) fills the P05 showcase frame */
.ils .p05__stage .cargo-ops { margin: 0 auto; width: 100%; max-width: none; }

/* The CX animation (cargo.css sizes it for a half column) fills the light P05b frame */
.ils .p05__stage .cargo-cx { margin: 0 auto; width: 100%; max-width: none; }

/* The IoT scene ("Everything moving, one brain") runs full-bleed in P08; the system caps its width (1440px, and by height) */
.ils .p08__scene .cargo-iot-scene { margin: 0 auto; }

/* Width:height of each Cargo scene, so the system's height cap (--stage-h) can size it on short laptop screens */
.ils .p01__scene { --ils-scene-ar: 1.605; }
.ils .p05__stage:has(.cargo-ops) { --ils-scene-ar: 1.441; }
.ils .p05__stage:has(.cargo-cx) { --ils-scene-ar: 2.669; }
.ils .p08__scene { --ils-scene-ar: 1.2175; }

/* P04 journey is followed by the dark dispatch section: the strip under the pinned panel takes its colour */
.ils .p04 { --p04-next: var(--night); }
