/* jonuland guide heroes. One look in both themes: the hero root is pinned to data-theme="light",
   so the illo-* tokens never take their dark lifts and the band never swaps.
   Bands use the brand-* tokens from the design system's tokens.json (site.css doesn't mirror them),
   aliased here on the hero root only. Shapes reuse illo.css classes; the classes below are hero-only. */
.hero-root{
--brand-navy:#111d5e;--brand-magenta:#b21f66;--brand-coral:#f25757;--brand-yellow:#ffbd69;--brand-sky:#86a5d9;
--hero-band:var(--brand-sky)
}
.hero-root[data-hero="ai"]{--hero-band:var(--brand-sky)}
.hero-root[data-hero="mims"]{--hero-band:var(--brand-magenta)}
.hero-root[data-hero="value"]{--hero-band:var(--brand-coral)}
.hero-root[data-hero="team"]{--hero-band:var(--brand-yellow)}
.hero-root[data-hero="harness"]{--hero-band:#f1f2f7}
.hero-root[data-hero="llm"]{--hero-band:var(--brand-navy)}

/* What is an A.I. harness?: five squiggles; one navy line spirals in and becomes a circle around them, cinches to a dot,
   stretches into a line, opens to fill the frame with the colors inside, flushes down into one point, and bursts out as five chevrons.
   Drawn frame by frame from one timeline in the board's script. No outlines anywhere: flat color. */
.hero .hh-field{fill:var(--brand-navy)}
.hero .hh-pipe{fill:var(--brand-navy);opacity:0}
.hero .hh-navy{fill:none;stroke:var(--brand-navy);stroke-width:12;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.hero .hh-worm{fill:none;stroke-width:14;stroke-linecap:round;stroke-linejoin:round}

/* How LLMs function: a dartboard. Flat segments with thin wire lines; darts are outlined a little finer than the other heroes' props. */
/* Brand palette only (tokens.json): navy, magenta, coral, yellow, sky, ink and the neutral ramp. No green, no illo-* fills.
   Every value is a fixed hex or a --brand-* alias from .hero-root, so nothing here flips with the theme. */
[data-hero="llm"]{--llm-ink:#030510;--llm-n50:#f9fafd;--llm-n300:#d1d4dd;--llm-n400:#a6aab8;--llm-n600:#636878;--llm-n800:#313542}
[data-hero="llm"] .hero .k-ink{fill:var(--llm-ink)}
[data-hero="llm"] .hero .k-n50{fill:var(--llm-n50)}
[data-hero="llm"] .hero .k-n300{fill:var(--llm-n300)}
[data-hero="llm"] .hero .k-n400{fill:var(--llm-n400)}
[data-hero="llm"] .hero .k-n600{fill:var(--llm-n600)}
[data-hero="llm"] .hero .k-navy{fill:var(--brand-navy)}
[data-hero="llm"] .hero .k-mag{fill:var(--brand-magenta)}
[data-hero="llm"] .hero .k-coral{fill:var(--brand-coral)}
[data-hero="llm"] .hero .k-yel{fill:var(--brand-yellow)}
[data-hero="llm"] .hero .k-sky{fill:var(--brand-sky)}
[data-hero="llm"] .hero .sh{fill:var(--llm-ink);opacity:.4}
[data-hero="llm"] .hero .shine{fill:var(--llm-n50)}
[data-hero="llm"] .hero .wire{stroke:var(--llm-n800);stroke-width:1.5;stroke-linejoin:round}
[data-hero="llm"] .hero .dart .ol{stroke-width:2.5}
/* Pre-throw state: when motion will play, the script adds hero-pre from the first render so the darts (and their shadows, which live inside .dart) are never painted in place.
   The script removes the class the instant the throw animations exist; their backward fill then holds opacity 0 until each dart launches.
   No JS, no Motion or reduced motion: the class is never added and the finished frame shows. */
[data-hero="llm"].hero-pre .dart{opacity:0}

.hero{display:block;width:100%;height:auto}
.hero .band{fill:var(--hero-band)}
.hero .hole{fill:var(--hero-band)}
.hero .navy{fill:var(--brand-navy)}
.hero .sky{fill:var(--brand-sky)}
.hero .ink{fill:var(--illo-line)}

/* Lines drawn on objects */
.hero .grain{fill:none;stroke:var(--illo-crust-deep);stroke-width:4;stroke-linecap:round;opacity:.35}
.hero .groove{fill:none;stroke:var(--illo-crust-deep);stroke-width:6;opacity:.3}
.hero .wrap-line{fill:none;stroke:var(--illo-crust);stroke-width:3;stroke-linecap:round;opacity:.7}
.hero .strike{stroke:var(--illo-sauce);stroke-width:7}
.hero .flap{fill:none;stroke:var(--illo-stone-deep);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.hero .ring{fill:none;stroke:#ffffff;stroke-width:4;opacity:.35}
.hero .coin-rim{fill:none;stroke:var(--illo-crust);stroke-width:3;opacity:.55}
.hero .plate-ring{fill:var(--illo-stone);opacity:.3}
.hero .teeth{fill:none;stroke:var(--illo-stone-deep);stroke-width:2.5;stroke-linejoin:round}

/* Pivot-rotated parts (multitool): rotate about a point given in the element's own coordinates */
.hero .pivot{transform-box:view-box}

/* Canvas review frame and bare use */
.hero-board{width:1200px;height:630px;min-height:0;display:block;overflow:hidden;background:var(--hero-band)}
.jl-root.hero-bare{min-height:0;display:block;width:100%;background:transparent}

/* Square crop for narrow screens: the centred 630x630 of the 1200x630 frame */
.hero-square{aspect-ratio:1/1;overflow:hidden}
.hero-board.hero-square{width:630px;height:630px}
.hero-square .hero{width:190.476%;max-width:none;margin-left:-45.238%}
/* Site-authored (not a board port): placement of the guide hero below each guide's title and lede, and the
   phone crop, and its placement in the home featured card panel (D-116). hero.css stays verbatim; the square crop uses its own numbers (.hero-square) scoped to the guide hero. */
.glm [data-guide-hero]{margin-top:32px}
.gai-hero + [data-guide-hero]{margin-top:56px}
@media (max-width:899px){.gai-hero + [data-guide-hero]{margin-top:36px}}
.gm-hero-art [data-guide-hero]{margin-top:var(--space-7)}
.gv-hero-copy > [data-guide-hero]{align-self:stretch}
@media (max-width:899px){
[data-guide-hero]{aspect-ratio:1/1;overflow:hidden}
[data-guide-hero] .hero{width:190.476%;max-width:none;margin-left:-45.238%}
}
/* Cascade guard: illo.css ships as its own shared stylesheet that the page links after this bundle, and its
   `.illo .groove` has the same specificity as hero.css `.hero .groove`, so it would win. The board loads hero.css last;
   this restates the board's winning declarations (copied from hero.css) with higher specificity. */
.hero-root .hero .groove{fill:none;stroke:var(--illo-crust-deep);stroke-width:6;opacity:.3}
/* D-116: the home featured card shows the featured guide's hero edge to edge in .feat-art (band fill, full 1200 by 630
   frame centred vertically, no phone square crop). Specificity beats .jl-root.hero-bare and the 899px crop rules. */
.feat-art:has(> [data-guide-hero]){padding:0;place-items:stretch}
.feat-art > .hero-root[data-guide-hero]{display:flex;flex-direction:row;align-items:center;aspect-ratio:auto;overflow:hidden;background:var(--hero-band)}
.feat-art > .hero-root[data-guide-hero] .hero{width:100%;margin-left:0}
/* Harness guide (quick 261102-t9c, D-118): the HeroHarness board sits inside figure.gh-hero and is imported bare with no square, so at every
   width the board shows the full 1200 by 630 frame. These two rules cancel the phone square crop above for that figure only; `.gh-hero > ...`
   outranks `[data-guide-hero]` and `[data-guide-hero] .hero` in the 899px block by specificity. */
.gh-hero > [data-guide-hero]{aspect-ratio:auto}
.gh-hero > [data-guide-hero] .hero{width:100%;margin-left:0}
/* LLM guide (quick 261119-o6v, D-124): the HeroLLM board sits inside figure.gl-hero. The board's rendered DOM is figure > .sc-host > .jl-root > svg, all in
   normal flow (guide-llm.css's `.gl-hero > dc-import` absolute box never applies to the rendered tree), so our wrapper stays in flow too. That matters
   at 0 px: a positioned wrapper paints after the figure's own 1px inset outline (outline:1px solid var(--img-outline); outline-offset:-1px) and covers
   it, where the board paints the outline over the hero. Between 641px and 899px the site's 899px square crop above would crop the hero while the board
   shows the full frame, so it is cancelled there; at 640px and below the board's own guide-llm.css crop (`.gl-hero .hero`) applies and equals the site's
   numbers. `.gl-hero > [data-guide-hero]` (0,2,0) outranks the 899px `[data-guide-hero]` rule; the second rule is scoped to min-width:641px so it never
   outranks the board's 640px crop. */
.gl-hero > [data-guide-hero]{aspect-ratio:auto}
@media (min-width:641px){.gl-hero > [data-guide-hero] .hero{width:100%;margin-left:0}}
