@import url("/lucid-chrome.css?v=20261125a");
/* ===========================================================================
   lucid.css — the one thing every page on this site shares.

   The site had grown four separate design languages: the entrance and the
   SP-404 tool on Orbitron and cyan, the gallery on Courier with its own black,
   DrumSeek on red and yellow, and SynthSoup on pink, lime and Shrikhand. Five
   body fonts, four backgrounds, five Google Fonts requests.

   This file holds what they should agree on — the palette, the type, and the
   way back into the gallery — and nothing else. Every token is prefixed
   --lucid- so it cannot collide with a page's own variables; SynthSoup already
   defines --display, and overwriting that would break it.

   SynthSoup keeps its own interior on purpose. It is a separate instrument with
   a deliberate identity, and repainting it cyan would destroy something that
   works. Cohesion there means shared chrome, not a shared skin.
   =========================================================================== */

:root {
    /* Surfaces */
    --lucid-bg:        #06060b;
    --lucid-bg-deep:   #05050a;   /* inside the gallery's rooms */
    --lucid-panel:     #0b0b14;
    --lucid-line:      rgba(255, 255, 255, .12);

    /* Ink */
    --lucid-ink:       #e8e8f0;
    --lucid-dim:       #7a7a8c;

    /* Accents, taken from the artwork rather than chosen beside it.
       Sampling a finished piece: 48% violet, 24% acid green, 7% blue, 4.5%
       magenta — and no cyan at all beyond one small focal eye. The site had
       been built the other way round, cyan everywhere, so it did not look like
       the work it exists to show. These are the artwork's own hues, lifted to
       the lightness that reads on black.

       Roles, not colour names, so this can be re-anchored again without the
       names becoming lies. */
    --lucid-accent:    #9b7bff;   /* violet — the dominant one, hue 257 */
    --lucid-accent-2:  #8ae04b;   /* acid green, hue 102 */
    --lucid-accent-3:  #d44fb0;   /* magenta, hue 312 */
    --lucid-focal:     #6fe3e8;   /* the cyan of that one eye: used sparingly */
    --lucid-warn:      #ffd34d;

    /* Kept so anything still asking for them resolves, but prefer the roles. */
    --lucid-cyan:      var(--lucid-focal);
    --lucid-magenta:   var(--lucid-accent-3);
    --lucid-green:     var(--lucid-accent-2);

    /* Type */
    --lucid-display:   'Orbitron', 'Arial Black', sans-serif;
    --lucid-mono:      ui-monospace, SFMono-Regular, Menlo, 'Courier New', monospace;
    --lucid-sans:      system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* Rhythm */
    --lucid-radius:    3px;
    --lucid-track:     .18em;     /* the letter-spacing used on small caps */

    /* ===== the liquid =====
       The site is called a soup and was drawn like a spreadsheet: flat
       panels, hairline grey borders, hard corners. These are the tokens
       that make a panel read as something suspended in liquid rather than
       ruled onto a page, and every page's own stylesheet pulls from them,
       so the look is one decision instead of six.

       The edge is tinted rather than grey because a neutral hairline on a
       violet-black ground reads as a seam; a violet one reads as the thing
       catching the light around it. */
    /* ===== ink =====
       Measured, not chosen. Against this page (#05040f) and against a pane
       sitting on it, white text needs alpha >= .449 to clear 4.5:1 and >= .336
       to clear 3:1 at large sizes. Everything below sits above those floors
       with room to spare, and --lucid-ink-faint IS the floor: there is no
       dimmer step, because a dimmer step would fail.

       The same measurement is why labels are a lifted violet rather than the
       accent at 75% opacity. #9b7bff is 6.2:1 and fine; the moment it was
       faded to rgba(139,108,245,.75) it fell to 3.4:1, which is where most of
       this site's contrast failures came from. Fading ink is the bug. */
    --lucid-ink:       rgba(255, 255, 255, .93);   /* 18.9:1 — body copy     */
    --lucid-ink-dim:   rgba(255, 255, 255, .74);   /*  11.4:1 — secondary    */
    --lucid-ink-faint: rgba(255, 255, 255, .54);   /*   5.6:1 — the floor    */
    --lucid-ink-label: #b49cff;                    /*   8.5:1 — small caps   */

    --lucid-pane:        rgba(255, 255, 255, .028);
    --lucid-pane-edge:   rgba(155, 123, 255, .16);
    --lucid-pane-lit:    rgba(155, 123, 255, .42);
    --lucid-pane-radius: 18px;
    --lucid-pane-glow:   inset 0 1px 0 rgba(255, 255, 255, .05),
                         inset 0 0 40px rgba(155, 123, 255, .045),
                         0 14px 40px rgba(0, 0, 0, .34);

}

/* ===== the broth =====
   A slow drift of colour behind every page that does not already own its
   background. Three soft radial fields in the artwork's own hues, rotating
   against each other at different rates so the pattern never quite repeats
   — which is the whole difference between a background and a backdrop.

   Deliberately no blur filter. A full-screen `filter: blur(60px)` has to be
   recomputed whenever the layer moves, and this layer is always moving; the
   gradients are soft enough already, and animating only `transform` keeps
   the whole thing on the compositor.

   Pages that draw their own full-screen background opt out with
   data-lucid-no-broth, because a layer nobody can see is still a layer the
   GPU is painting. */
body::after {
    content: '';
    position: fixed;
    inset: -40vmax;
    z-index: -1;
    pointer-events: none;
    opacity: .5;
    background:
        radial-gradient(closest-side at 28% 32%, rgba(155, 123, 255, .30), transparent 70%),
        radial-gradient(closest-side at 74% 28%, rgba(212,  79, 176, .22), transparent 70%),
        radial-gradient(closest-side at 54% 76%, rgba(138, 224,  75, .16), transparent 70%),
        radial-gradient(closest-side at 16% 82%, rgba(111, 227, 232, .13), transparent 70%);
    animation: lucid-drift 96s linear infinite;
    will-change: transform;
}
body[data-lucid-no-broth]::after { content: none; }
@keyframes lucid-drift {
    from { transform: rotate(0deg)   scale(1);    }
    50%  { transform: rotate(180deg) scale(1.12); }
    to   { transform: rotate(360deg) scale(1);    }
}

/* ===== the small print, in the site's own colours =====
   Selection, focus and scrollbars are the three bits of chrome every page
   has and nobody styles, and leaving them at the browser default is what
   makes an otherwise-considered page feel like a document. */
::selection      { background: rgba(138, 224, 75, .30); color: #fff; }
::-moz-selection { background: rgba(138, 224, 75, .30); color: #fff; }

:focus-visible {
    outline: 2px solid var(--lucid-accent-2, #8ae04b);
    outline-offset: 2px;
}

* { scrollbar-color: rgba(155, 123, 255, .45) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(155, 123, 255, .34);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(155, 123, 255, .6); background-clip: content-box; }

@media (prefers-reduced-motion: reduce) {
    body::after { animation: none; }
}


/* =======================================================================
   Shared accessibility layer
   Loaded by every page, so these are the guarantees the whole site makes
   rather than promises each page has to keep on its own.
   ======================================================================= */

/* ----- focus you can actually see -------------------------------------
   Ten rules across this site set `outline: none` on :focus, which is how
   the audit found 56 controls that changed nothing at all when focused.
   Rather than hunt each one down and risk the next one reintroducing it,
   the ring is drawn with box-shadow — which `outline: none` cannot remove —
   and marked important, because lucid.css loads before every page's own
   <style> block and would otherwise lose the cascade on its own site.

   Two rings, light inside dark, so it stays visible on the acid green of a
   panel edge and on the near-black of the page alike. :focus-visible, so it
   appears for a keyboard and not for a mouse. */
:focus-visible {
    outline: 2px solid var(--lucid-focal, #6fe3e8) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 2px rgba(4, 4, 10, .92),
                0 0 0 5px var(--lucid-focal, #6fe3e8),
                0 0 18px rgba(111, 227, 232, .55) !important;
    border-radius: inherit;
}
/* A canvas or a scroll container takes focus programmatically; ringing it
   is noise, not information. */
canvas:focus-visible, [tabindex="-1"]:focus-visible { box-shadow: none !important; outline: none !important; }

/* ----- said, not drawn ------------------------------------------------
   For a heading or a label that a screen reader needs and the design does
   not. Not display:none and not visibility:hidden — both of those take it
   out of the accessibility tree too, which defeats the point. */
.lucid-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}


/* ----- for anyone who has asked the OS to calm things down -------------
   A blanket, on purpose. The audit found animation still running under
   prefers-reduced-motion on three pages — including a scanline overlay
   cycling at 0.1s, which is a flicker fast enough to be a seizure risk, not
   a style choice. Catching those one at a time means missing the next one,
   so everything stops unless it is explicitly marked as carrying meaning. */
@media (prefers-reduced-motion: reduce) {
    *:not([data-lucid-keep-motion]),
    *:not([data-lucid-keep-motion])::before,
    *:not([data-lucid-keep-motion])::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
        scroll-behavior: auto !important;
    }
    html { scroll-behavior: auto !important; }
}

/* ----- when the OS asks for more contrast ------------------------------ */
@media (prefers-contrast: more) {
    :root {
        --lucid-ink:       #ffffff;
        --lucid-ink-dim:   rgba(255, 255, 255, .88);
        --lucid-ink-faint: rgba(255, 255, 255, .76);
        --lucid-ink-label: #d7caff;
        --lucid-pane-edge: rgba(180, 156, 255, .55);
    }
    body::after { opacity: .22; }      /* the broth stops competing */
}
/* Some people turn transparency off at the OS; glass is the first thing to go. */
@media (prefers-reduced-transparency: reduce) {
    :root { --lucid-pane: rgba(16, 14, 30, .96); }
    body::after { opacity: .25; }
}


/* =======================================================================
   The liquid, part two: making the whole site feel like it is in the bowl
   rather than only the two pages the backdrop happens to show on.

   Every colour used here is one of the palette's full-strength accents,
   each of which was measured against the pane and clears AA on its own:
   #9b7bff 6.2:1, #d44fb0 5.2:1, #8ae04b 12.0:1, #6fe3e8 12.9:1. Nothing in
   this section fades ink to get an effect, which is the mistake that put 43
   text colours below the floor in the first place. Everything that moves is
   caught by the prefers-reduced-motion blanket above.
   ======================================================================= */

/* ----- things you can actually hit ------------------------------------
   A slider painted as a 6px bar is a 6px target, and the audit found 99 of
   them across the site. The padding grows the box the pointer is tested
   against; background-clip keeps the paint inside the original content box,
   so the bar still looks like a hairline and is three times easier to grab.
   content-box is needed because most of these pages set `height` on the
   input and a global `* { box-sizing: border-box }` would eat the padding.

   Checkboxes get a smaller bump: most of them sit inside a <label>, which is
   the real target and is already comfortably bigger than the box. */
input[type="range"] {
    box-sizing: content-box;
    padding-block: 9px;
    background-clip: content-box;
}
input[type="checkbox"], input[type="radio"] { min-width: 18px; min-height: 18px; }
select { min-height: 24px; }

/* ----- type that will not sit still -----------------------------------
   Several pages already paint their headings with a clipped gradient. This
   puts the gradient in motion: three times the width, slid slowly across,
   so the colour crawls through the letterforms. The text itself never
   changes position or size — only which part of the ramp each letter is
   standing in — so it stays as readable as a static heading, which an
   animated heading usually is not. */
.lucid-liquid-type,
.panel h2, .card h1 {
    background: linear-gradient(100deg,
        var(--lucid-accent,   #9b7bff), var(--lucid-accent-3, #d44fb0),
        var(--lucid-accent-2, #8ae04b), var(--lucid-focal,    #6fe3e8),
        var(--lucid-accent,   #9b7bff)) 0 0 / 300% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: lucid-flow 18s linear infinite;
}
@keyframes lucid-flow { to { background-position: 300% 0; } }
/* Clipped text has no colour of its own, so a forced-colours mode would
   render it invisible. Hand it back. */
@media (forced-colors: active) {
    .lucid-liquid-type, .panel h2, .card h1 {
        -webkit-text-fill-color: currentColor; color: CanvasText; animation: none;
    }
}

/* ----- panes that are wet ---------------------------------------------
   The edge drifts through the palette and a slow sheen crosses the surface.
   Both are on the border and the background, never on the text, so the copy
   inside a panel reads at exactly the ratio it was measured at. */
.lucid-liquid-pane,
.panel, .about, .contact {
    position: relative;
    animation: lucid-edge 24s ease-in-out infinite;
}
@keyframes lucid-edge {
    0%, 100% { border-color: rgba(155, 123, 255, .16); }
    33%      { border-color: rgba(212,  79, 176, .17); }
    66%      { border-color: rgba(111, 227, 232, .15); }
}
.lucid-liquid-pane::after,
.panel::after, .about::after, .contact::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: .5;
    background: linear-gradient(115deg, transparent 38%,
                rgba(180, 156, 255, .09) 48%, rgba(111, 227, 232, .07) 54%,
                transparent 64%) 0 0 / 280% 100%;
    animation: lucid-sheen 19s linear infinite;
}
/* The sheen is a child, so everything else in the panel has to be above it. */
.lucid-liquid-pane > *, .panel > *, .about > *, .contact > * { position: relative; z-index: 1; }
@keyframes lucid-sheen { to { background-position: 280% 0; } }

/* ----- links with a meniscus ------------------------------------------
   The underline grows out from where the pointer is rather than appearing
   all at once, which is the closest a line can get to surface tension.
   Underline, not colour alone, so the link is still identifiable to anyone
   who cannot pick it out by hue. */
a:not(.lucid-return):not(.lucid-skip):not([class*="btn"]):not(.lucid-menu a) {
    text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
    text-underline-offset: .22em;
    text-decoration-thickness: from-font;
    transition: text-decoration-color .18s ease, text-shadow .18s ease;
}
a:not(.lucid-return):not(.lucid-skip):not([class*="btn"]):not(.lucid-menu a):hover {
    text-decoration-color: currentColor;
    text-shadow: 0 0 14px color-mix(in srgb, currentColor 55%, transparent);
}


