/* ============================================================================
   CULT+MATH — Direction C opening band for the remaining pages  (cm-band.css)
   Ipalibo Da-Wariboko · November 20, 2026

   For pages outside the research, answer, decision and blog families: about, /ai,
   /agent, DEOS, frameworks, predictions, newsroom, tools, legal. Only the page's
   opening gets the dark band; the body keeps its own layout, because these pages
   carry tools and figures this file has not been checked against.

   Two hooks, both class names (machines ignore classes; scripts/machine_snapshot.mjs):
     .c-band   on the page's existing opening container (header.hero, a plain header ...)
     .c-strip  on each opening element (kicker, h1, lede) where there is no container,
               with .c-strip-first / .c-strip-last on the ends.
   Both paint ink behind themselves plus a 100vmax ink shadow, clipped to their own
   height, so the band runs full width from inside any column.
   Selectors double the class (.c-band.c-band) to outrank a page's own .hero rules.
   ============================================================================ */
.c-band.c-band,.c-strip.c-strip{
  background:#121212;color:#E4E4DE;box-shadow:0 0 0 100vmax #121212;clip-path:inset(0 -100vmax -1px);
}
.c-band.c-band{margin-top:0;padding-top:clamp(40px,6vw,64px);padding-bottom:clamp(48px,7vw,72px)}
/* A container that opens its parent: the parent's top padding would show paper above the band. */
:has(> .c-band:first-child){padding-top:0}
.c-strip.c-strip{margin-top:0;margin-bottom:0;padding-top:18px}
.c-strip.c-strip-first{padding-top:clamp(40px,6vw,64px)}
.c-strip.c-strip-last{padding-bottom:clamp(48px,7vw,72px)}

.c-band.c-band h1,h1.c-strip.c-strip{color:#FAFAF8;font-size:clamp(36px,5.6vw,64px);line-height:1.04;letter-spacing:-.026em;text-wrap:balance}
.c-band.c-band h1 em,h1.c-strip.c-strip em{color:#7FD3A6}
.c-band.c-band p,.c-band.c-band li,p.c-strip.c-strip{color:#E4E4DE}
.c-band.c-band strong,.c-band.c-band b,.c-strip.c-strip strong,.c-strip.c-strip b{color:#FAFAF8}
.c-band.c-band a:not([class*="btn"]),.c-strip.c-strip a:not([class*="btn"]){color:#7FD3A6}
/* Kicker / eyebrow / label, whatever the page calls it. */
.c-band.c-band :is(.label,.eyebrow,.kicker,.kick),:is(.label,.eyebrow,.kicker,.kick).c-strip.c-strip{color:#7FD3A6}
.c-band.c-band :is(.label,.eyebrow,.kicker,.kick)::before,.c-band.c-band :is(.label,.eyebrow,.kicker,.kick)::after{background:#7FD3A6}
.c-band.c-band [class*="btn"]{background:#7FD3A6;color:#121212;border-color:#7FD3A6;border-radius:999px}
.c-band.c-band [class*="btn"]:hover{background:#FAFAF8;color:#121212}

/* Boxes some pages keep inside their opening container. */
/* The summary box (/ai, /agent, DEOS, newsroom, legal): a paper card on the band. */
.c-band.c-band .summary{background:#FAFAF8;border:0;border-radius:10px;box-shadow:0 24px 48px rgba(0,0,0,.28)}
/* A light card on the band owns every color inside it. Listing li and p alone left <b> and <strong>
   painted band-white on the white card (/ai, /agent, DEOS, newsroom; Nov 20, 2026). */
.c-band.c-band .summary{color:#121212}
.c-band.c-band .summary :is(li,p,b,strong,em,span,dt,dd){color:#121212}
.c-band.c-band .summary h2{color:#085430}
.c-band.c-band .summary li::before{background:#0A6B3B}
.c-band.c-band .summary a:not([class*="btn"]){color:#085430}
.c-band.c-band .summary [class*="btn"]{background:#0A6B3B;border-color:#0A6B3B;color:#FAFAF8}
.c-band.c-band .summary [class*="btn"]:hover{background:#085430;color:#FAFAF8}
/* The figure row (IP Association Map): ink tiles split by a light hairline. */
.c-band.c-band .figs{background:rgba(250,250,248,.16);border-color:rgba(250,250,248,.16)}
.c-band.c-band .fig{background:#121212}
.c-band.c-band .fig .n{color:#FAFAF8}
.c-band.c-band .fig .l{color:#C4C4BD}
/* Small print in the opening: stamps, how-to rows, notes. */
.c-band.c-band :is(.stamp,.howto,.note,.meta),:is(.note,.meta).c-strip.c-strip{color:#C4C4BD}
.c-band.c-band .howto .key{color:#7FD3A6;border-color:rgba(127,211,166,.4)}

/* Long unbroken tokens (run seeds, URLs) wrap instead of widening the page on phones (Nov 20, 2026). */
body{overflow-wrap:break-word}  /* inherited; only breaks a token too long for its line */
