/* Changed for Gould: the shared gradient set (spec decision 66 item 5; plan
   decision 12). Five tokens, named by job (the glass-button two were deleted
   with the glass buttons, spec decision 69). Each holds a list of colour stops;
   the block says only which way it runs, for example
     background: linear-gradient(to right, var(--gradient-text-side));
   Every strength is one step of the alpha scale (decision 67 item 1). */
:root {
  /* Darkens the side the text sits on (hero) */
  --gradient-text-side:
    hsl(var(--color-bg-base-hsl)) 0%,
    hsl(var(--color-bg-base-hsl) / var(--alpha-80)) 32%,
    hsl(var(--color-bg-base-hsl) / var(--alpha-40)) 62%,
    hsl(var(--color-bg-base-hsl) / var(--alpha-20)) 100%;

  /* Solid navy at an edge, clear by 75% of its reach (hero and industries
     blends, the industries photo mask, card top and bottom). Each use sets
     its reach with background-size (or mask-size), e.g.
       linear-gradient(to bottom, var(--gradient-edge-fade)) top / 100% 30% no-repeat
     so one shape serves short and long fades (Mitchell's choice A). */
  --gradient-edge-fade:
    hsl(var(--color-bg-base-hsl)) 0%,
    hsl(var(--color-bg-base-hsl) / var(--alpha-80)) 30%,
    hsl(var(--color-bg-base-hsl) / var(--alpha-20)) 60%,
    hsl(var(--color-bg-base-hsl) / 0) 75%;

  /* Past 1920 the page box's backgrounds fade into the navy at its left and right (hero picture,
     blueprint; Mitchell 2026-11-12: one fade for the whole site), over --side-fade-reach
     (measure.css): 0 up to 1920, so no media query (a 0-wide fade paints nothing). Runs to right. */
  --gradient-side-fade:
    hsl(var(--color-bg-base-hsl)) 0%,
    hsl(var(--color-bg-base-hsl) / 0) var(--side-fade-reach),
    hsl(var(--color-bg-base-hsl) / 0) calc(100% - var(--side-fade-reach)),
    hsl(var(--color-bg-base-hsl)) 100%;

  /* Art fading away from the text (the dotted wave; CTA spec decision 30): solid at the start,
     clear at the end. A mask layer that takes strength away (blocks/wave.css), so the art is
     faintest on the text's side. Each use sets its reach and how faint it gets by mask-size and
     mask-position (a :root token cannot hold a per-use value). Runs to right. */
  --gradient-art-fade:
    hsl(var(--color-black-hsl)) 0%,
    hsl(var(--color-black-hsl) / 0) 100%;

  /* A thin white line fading out (card edge line) */
  --gradient-sheen:
    hsl(var(--color-white-hsl) / var(--alpha-30)) 0%,
    hsl(var(--color-white-hsl) / var(--alpha-10)) 60%,
    hsl(var(--color-white-hsl) / 0) 100%;
}
